]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sys/contrib/dev/acpica/changes.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 23 August 2013. Summary of changes for version 20130823:
3
4 1) ACPICA kernel-resident subsystem:
5
6 Implemented support for host-installed System Control Interrupt (SCI) 
7 handlers. Certain ACPI functionality requires the host to handle raw 
8 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
9 state support requires the host device driver to handle SCIs to examine 
10 if the doorbell has been activated. Multiple SCI handlers can be 
11 installed to allow for future expansion. New external interfaces are 
12 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
13 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
14
15 Operation region support: Never locally free the handler "context" 
16 pointer. This change removes some dangerous code that attempts to free 
17 the handler context pointer in some (rare) circumstances. The owner of 
18 the handler owns this pointer and the ACPICA code should never touch it. 
19 Although not seen to be an issue in any kernel, it did show up as a 
20 problem (fault) under AcpiExec. Also, set the internal storage field for 
21 the context pointer to zero when the region is deactivated, simply for 
22 sanity. David Box. ACPICA BZ 1039.
23
24 AcpiRead: On error, do not modify the return value target location. If an 
25 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
26 modify the target of the return value pointer. Makes the code consistent 
27 with the rest of ACPICA. Bjorn Helgaas.
28
29 Example Code and Data Size: These are the sizes for the OS-independent 
30 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
31 debug version of the code includes the debug output trace mechanism and 
32 has a much larger code and data size.
33
34   Current Release:
35     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
36     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
37   Previous Release:
38     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
39     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
40
41
42 2) iASL Compiler/Disassembler and Tools:
43
44 AcpiDump: Implemented several new features and fixed some problems:
45 1) Added support to dump the RSDP, RSDT, and XSDT tables.
46 2) Added support for multiple table instances (SSDT, UEFI).
47 3) Added option to dump "customized" (overridden) tables (-c).
48 4) Fixed a problem where some table filenames were improperly 
49 constructed.
50 5) Improved some error messages, removed some unnecessary messages.
51
52 iASL: Implemented additional support for disassembly of ACPI tables that 
53 contain invocations of external control methods. The -fe<file> option 
54 allows the import of a file that specifies the external methods along 
55 with the required number of arguments for each -- allowing for the 
56 correct disassembly of the table. This is a workaround for a limitation 
57 of AML code where the disassembler often cannot determine the number of 
58 arguments required for an external control method and generates incorrect 
59 ASL code. See the iASL reference for details. ACPICA BZ 1030.
60
61 Debugger: Implemented a new command (paths) that displays the full 
62 pathnames (namepaths) and object types of all objects in the namespace. 
63 This is an alternative to the namespace command.
64
65 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
66 mechanism and any installed handlers.
67
68 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
69 This can occur if there are too many parent prefixes in a namepath (for 
70 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
71
72 Application OSLs: Set the return value for the PCI read functions. These 
73 functions simply return AE_OK, but should set the return value to zero 
74 also. This change implements this. ACPICA BZ 1038.
75
76 Debugger: Prevent possible command line buffer overflow. Increase the 
77 size of a couple of the debugger line buffers, and ensure that overflow 
78 cannot happen. ACPICA BZ 1037.
79
80 iASL: Changed to abort immediately on serious errors during the parsing 
81 phase. Due to the nature of ASL, there is no point in attempting to 
82 compile these types of errors, and they typically end up causing a 
83 cascade of hundreds of errors which obscure the original problem.
84
85 ----------------------------------------
86 25 July 2013. Summary of changes for version 20130725:
87
88 1) ACPICA kernel-resident subsystem:
89
90 Fixed a problem with the DerefOf operator where references to FieldUnits 
91 and BufferFields incorrectly returned the parent object, not the actual 
92 value of the object. After this change, a dereference of a FieldUnit 
93 reference results in a read operation on the field to get the value, and 
94 likewise, the appropriate BufferField value is extracted from the target 
95 buffer.
96
97 Fixed a problem where the _WAK method could cause a fault under these 
98 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
99 method returned no value. The problem is rarely seen because most kernels 
100 run ACPICA in slack mode.
101
102 For the DerefOf operator, a fatal error now results if an attempt is made 
103 to dereference a reference (created by the Index operator) to a NULL 
104 package element. Provides compatibility with other ACPI implementations, 
105 and this behavior will be added to a future version of the ACPI 
106 specification.
107
108 The ACPI Power Management Timer (defined in the FADT) is now optional. 
109 This provides compatibility with other ACPI implementations and will 
110 appear in the next version of the ACPI specification. If there is no PM 
111 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
112 zero in the FADT indicates no PM timer.
113
114 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
115 allows the host to globally enable/disable all vendor strings, all 
116 feature strings, or both. Intended to be primarily used for debugging 
117 purposes only. Lv Zheng.
118
119 Expose the collected _OSI data to the host via a global variable. This 
120 data tracks the highest level vendor ID that has been invoked by the BIOS 
121 so that the host (and potentially ACPICA itself) can change behaviors 
122 based upon the age of the BIOS.
123
124 Example Code and Data Size: These are the sizes for the OS-independent 
125 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
126 debug version of the code includes the debug output trace mechanism and 
127 has a much larger code and data size.
128
129   Current Release:
130     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
131     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
132   Previous Release:
133     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
134     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
135
136
137 2) iASL Compiler/Disassembler and Tools:
138
139 iASL: Created the following enhancements for the -so option (create 
140 offset table):
141 1)Add offsets for the last nameseg in each namepath for every supported 
142 object type
143 2)Add support for Processor, Device, Thermal Zone, and Scope objects
144 3)Add the actual AML opcode for the parent object of every supported 
145 object type
146 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
147
148 Disassembler: Emit all unresolved external symbols in a single block. 
149 These are external references to control methods that could not be 
150 resolved, and thus, the disassembler had to make a guess at the number of 
151 arguments to parse.
152
153 iASL: The argument to the -T option (create table template) is now 
154 optional. If not specified, the default table is a DSDT, typically the 
155 most common case.
156
157 ----------------------------------------
158 26 June 2013. Summary of changes for version 20130626:
159
160 1) ACPICA kernel-resident subsystem:
161
162 Fixed an issue with runtime repair of the _CST object. Null or invalid 
163 elements were not always removed properly. Lv Zheng. 
164
165 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
166 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
167 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
168 makes the system-wide number of GPEs essentially unlimited.
169
170 Example Code and Data Size: These are the sizes for the OS-independent 
171 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
172 debug version of the code includes the debug output trace mechanism and 
173 has a much larger code and data size.
174
175   Current Release:
176     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
177     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
178   Previous Release:
179     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
180     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
181
182
183 2) iASL Compiler/Disassembler and Tools:
184
185 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
186 hosts. Now supports Linux, FreeBSD, and Windows.
187
188 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
189 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
190
191 iASL/Preprocessor: Implemented full support for nested 
192 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
193
194 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
195 max. The original purpose of this constraint was to limit the amount of 
196 debug output. However, the string function in question (UtPrintString) is 
197 now used for the disassembler also, where 256 bytes is insufficient. 
198 Reported by RehabMan@GitHub.
199
200 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
201 tables. ACPICA BZ 999. Lv Zheng.
202
203 iASL: Fixed a couple of error exit issues that could result in a "Could 
204 not delete <file>" message during ASL compilation.
205
206 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
207 the actual signatures for these tables are "FACP" and "APIC", 
208 respectively.
209
210 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
211 tables are allowed to have multiple instances.
212
213 ----------------------------------------
214 17 May 2013. Summary of changes for version 20130517:
215
216 1) ACPICA kernel-resident subsystem:
217
218 Fixed a regression introduced in version 20130328 for _INI methods. This 
219 change fixes a problem introduced in 20130328 where _INI methods are no 
220 longer executed properly because of a memory block that was not 
221 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
222 <tomasz.nowicki@linaro.org>.
223
224 Fixed a possible problem with the new extended sleep registers in the 
225 ACPI 
226 5.0 FADT. Do not use these registers (even if populated) unless the HW-
227 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
228 1020. Lv Zheng.
229
230 Implemented return value repair code for _CST predefined objects: Sort 
231 the 
232 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
233
234 Implemented a debug-only option to disable loading of SSDTs from the 
235 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
236 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
237 acglobal.h - ACPICA BZ 1005. Lv Zheng.
238
239 Fixed some issues in the ACPICA initialization and termination code: 
240 Tomasz Nowicki <tomasz.nowicki@linaro.org>
241 1) Clear events initialized flag upon event component termination. ACPICA 
242 BZ 1013.
243 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
244 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
245 4) Clear debug buffer global on termination to prevent possible multiple 
246 delete. ACPICA BZ 1010.
247
248 Standardized all switch() blocks across the entire source base. After 
249 many 
250 years, different formatting for switch() had crept in. This change makes 
251 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
252
253 Split some files to enhance ACPICA modularity and configurability:
254 1) Split buffer dump routines into utilities/utbuffer.c
255 2) Split internal error message routines into utilities/uterror.c
256 3) Split table print utilities into tables/tbprint.c
257 4) Split iASL command-line option processing into asloptions.c
258
259 Makefile enhancements:
260 1) Support for all new files above.
261 2) Abort make on errors from any subcomponent. Chao Guan.
262 3) Add build support for Apple Mac OS X. Liang Qi.
263
264 Example Code and Data Size: These are the sizes for the OS-independent 
265 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
266 debug version of the code includes the debug output trace mechanism and 
267 has a much larger code and data size.
268
269   Current Release:
270     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
271     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
272   Previous Release:
273     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
274     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
275
276
277 2) iASL Compiler/Disassembler and Tools:
278
279 New utility: Implemented an easily portable version of the acpidump 
280 utility to extract ACPI tables from the system (or a file) in an ASCII 
281 hex 
282 dump format. The top-level code implements the various command line 
283 options, file I/O, and table dump routines. To port to a new host, only 
284 three functions need to be implemented to get tables -- since this 
285 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
286 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
287 1) The Windows version obtains the ACPI tables from the Registry.
288 2) The Linux version is under development.
289 3) Other hosts - If an OS-dependent module is submitted, it will be 
290 distributed with ACPICA.
291
292 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
293 restructuring/change to the initialization sequence caused this option to 
294 no longer work properly.
295
296 iASL: Implemented a mechanism to disable specific warnings and remarks. 
297 Adds a new command line option, "-vw <messageid> as well as "#pragma 
298 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
299
300 iASL: Fix for too-strict package object validation. The package object 
301 validation for return values from the predefined names is a bit too 
302 strict, it does not allow names references within the package (which will 
303 be resolved at runtime.) These types of references cannot be validated at 
304 compile time. This change ignores named references within package objects 
305 for names that return or define static packages.
306
307 Debugger: Fixed the 80-character command line limitation for the History 
308 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
309
310 iASL: Added control method and package support for the -so option 
311 (generates AML offset table for BIOS support.)
312
313 iASL: issue a remark if a non-serialized method creates named objects. If 
314 a thread blocks within the method for any reason, and another thread 
315 enters the method, the method will fail because an attempt will be made 
316 to 
317 create the same (named) object twice. In this case, issue a remark that 
318 the method should be marked serialized. NOTE: may become a warning later. 
319 ACPICA BZ 909.
320
321 ----------------------------------------
322 18 April 2013. Summary of changes for version 20130418:
323
324 1) ACPICA kernel-resident subsystem:
325
326 Fixed a possible buffer overrun during some rare but specific field unit 
327 read operations. This overrun can only happen if the DSDT version is 1 -- 
328 meaning that all AML integers are 32 bits -- and the field length is 
329 between 33 and 55 bits long. During the read, an internal buffer object 
330 is 
331 created for the field unit because the field is larger than an integer 
332 (32 
333 bits). However, in this case, the buffer will be incorrectly written 
334 beyond the end because the buffer length is less than the internal 
335 minimum 
336 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
337 long, but a full 8 bytes will be written.
338
339 Updated the Embedded Controller "orphan" _REG method support. This refers 
340 to _REG methods under the EC device that have no corresponding operation 
341 region. This is allowed by the ACPI specification. This update removes a 
342 dependency on the existence an ECDT table. It will execute an orphan _REG 
343 method as long as the operation region handler for the EC is installed at 
344 the EC device node and not the namespace root. Rui Zhang (original 
345 update), Bob Moore (update/integrate).
346
347 Implemented run-time argument typechecking for all predefined ACPI names 
348 (_STA, _BIF, etc.) This change performs object typechecking on all 
349 incoming arguments for all predefined names executed via 
350 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
351 passing correct object types as well as the correct number of arguments 
352 (therefore identifying any issues immediately). Also, the ASL/namespace 
353 definition of the predefined name is checked against the ACPI 
354 specification for the proper argument count. Adds one new file, 
355 nsarguments.c
356
357 Changed an exception code for the ASL UnLoad() operator. Changed the 
358 exception code for the case where the input DdbHandle is invalid, from 
359 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
360
361 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
362 global makefile. The use of this flag causes compiler errors on earlier 
363 versions of GCC, so it has been removed for compatibility.
364
365 Miscellaneous cleanup:
366 1) Removed some unused/obsolete macros
367 2) Fixed a possible memory leak in the _OSI support
368 3) Removed an unused variable in the predefined name support
369 4) Windows OSL: remove obsolete reference to a memory list field
370
371 Example Code and Data Size: These are the sizes for the OS-independent 
372 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
373 debug version of the code includes the debug output trace mechanism and 
374 has a much larger code and data size.
375
376   Current Release:
377     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
378     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
379   Previous Release:
380     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
381     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
382
383
384 2) iASL Compiler/Disassembler and Tools:
385
386 AcpiExec: Added installation of a handler for the SystemCMOS address 
387 space. This prevents control method abort if a method accesses this 
388 space.
389
390 AcpiExec: Added support for multiple EC devices, and now install EC 
391 operation region handler(s) at the actual EC device instead of the 
392 namespace root. This reflects the typical behavior of host operating 
393 systems.
394
395 AcpiExec: Updated to ensure that all operation region handlers are 
396 installed before the _REG methods are executed. This prevents a _REG 
397 method from aborting if it accesses an address space has no handler. 
398 AcpiExec installs a handler for every possible address space.
399
400 Debugger: Enhanced the "handlers" command to display non-root handlers. 
401 This change enhances the handlers command to display handlers associated 
402 with individual devices throughout the namespace, in addition to the 
403 currently supported display of handlers associated with the root 
404 namespace 
405 node.
406
407 ASL Test Suite: Several test suite errors have been identified and 
408 resolved, reducing the total error count during execution. Chao Guan.
409
410 ----------------------------------------
411 28 March 2013. Summary of changes for version 20130328:
412
413 1) ACPICA kernel-resident subsystem:
414
415 Fixed several possible race conditions with the internal object reference 
416 counting mechanism. Some of the external ACPICA interfaces update object 
417 reference counts without holding the interpreter or namespace lock. This 
418 change adds a spinlock to protect reference count updates on the internal 
419 ACPICA objects. Reported by and with assistance from Andriy Gapon 
420 (avg@FreeBSD.org).
421
422 FADT support: Removed an extraneous warning for very large GPE register 
423 sets. This change removes a size mismatch warning if the legacy length 
424 field for a GPE register set is larger than the 64-bit GAS structure can 
425 accommodate. GPE register sets can be larger than the 255-bit width 
426 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
427
428 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
429 return from this interface. Handles a possible timeout case if 
430 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
431 "forever". Jung-uk Kim.
432
433 Predefined name support: Add allowed/required argument type information 
434 to 
435 the master predefined info table. This change adds the infrastructure to 
436 enable typechecking on incoming arguments for all predefined 
437 methods/objects. It does not actually contain the code that will fully 
438 utilize this information, this is still under development. Also condenses 
439 some duplicate code for the predefined names into a new module, 
440 utilities/utpredef.c
441
442 Example Code and Data Size: These are the sizes for the OS-independent 
443 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
444 debug version of the code includes the debug output trace mechanism and 
445 has a much larger code and data size.
446
447   Previous Release:
448     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
449     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
450   Current Release:
451     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
452     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
453
454
455 2) iASL Compiler/Disassembler and Tools:
456
457 iASL: Implemented a new option to simplify the development of ACPI-
458 related 
459 BIOS code. Adds support for a new "offset table" output file. The -so 
460 option will create a C table containing the AML table offsets of various 
461 named objects in the namespace so that BIOS code can modify them easily 
462 at 
463 boot time. This can simplify BIOS runtime code by eliminating expensive 
464 searches for "magic values", enhancing boot times and adding greater 
465 reliability. With assistance from Lee Hamel.
466
467 iASL: Allow additional predefined names to return zero-length packages. 
468 Now, all predefined names that are defined by the ACPI specification to 
469 return a "variable-length package of packages" are allowed to return a 
470 zero length top-level package. This allows the BIOS to tell the host that 
471 the requested feature is not supported, and supports existing BIOS/ASL 
472 code and practices.
473
474 iASL: Changed the "result not used" warning to an error. This is the case 
475 where an ASL operator is effectively a NOOP because the result of the 
476 operation is not stored anywhere. For example:
477     Add (4, Local0)
478 There is no target (missing 3rd argument), nor is the function return 
479 value used. This is potentially a very serious problem -- since the code 
480 was probably intended to do something, but for whatever reason, the value 
481 was not stored. Therefore, this issue has been upgraded from a warning to 
482 an error.
483
484 AcpiHelp: Added allowable/required argument types to the predefined names 
485 info display. This feature utilizes the recent update to the predefined 
486 names table (above).
487
488 ----------------------------------------
489 14 February 2013. Summary of changes for version 20130214:
490
491 1) ACPICA Kernel-resident Subsystem:
492
493 Fixed a possible regression on some hosts: Reinstated the safe return 
494 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
495 evaluated only once. Although these macros are not needed for the ACPICA 
496 code itself, they are often used by ACPI-related host device drivers 
497 where 
498 the safe feature may be necessary.
499
500 Fixed several issues related to the ACPI 5.0 reduced hardware support 
501 (SOC): Now ensure that if the platform declares itself as hardware-
502 reduced 
503 via the FADT, the following functions become NOOPs (and always return 
504 AE_OK) because ACPI is always enabled by definition on these machines:
505   AcpiEnable
506   AcpiDisable
507   AcpiHwGetMode
508   AcpiHwSetMode
509
510 Dynamic Object Repair: Implemented additional runtime repairs for 
511 predefined name return values. Both of these repairs can simplify code in 
512 the related device drivers that invoke these methods:
513 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
514 string to a Unicode buffer. 
515 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
516
517 lone end tag descriptor in the following cases: A Return(0) was executed, 
518 a null buffer was returned, or no object at all was returned (non-slack 
519 mode only). Adds a new file, nsconvert.c
520 ACPICA BZ 998. Bob Moore, Lv Zheng.
521
522 Resource Manager: Added additional code to prevent possible infinite 
523 loops 
524 while traversing corrupted or ill-formed resource template buffers. Check 
525 for zero-length resource descriptors in all code that loops through 
526 resource templates (the length field is used to index through the 
527 template). This change also hardens the external AcpiWalkResources and 
528 AcpiWalkResourceBuffer interfaces.
529
530 Local Cache Manager: Enhanced the main data structure to eliminate an 
531 unnecessary mechanism to access the next object in the list. Actually 
532 provides a small performance enhancement for hosts that use the local 
533 ACPICA cache manager. Jung-uk Kim.
534
535 Example Code and Data Size: These are the sizes for the OS-independent 
536 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
537 debug version of the code includes the debug output trace mechanism and 
538 has a much larger code and data size.
539
540   Previous Release:
541     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
542     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
543   Current Release:
544     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
545     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
546
547
548 2) iASL Compiler/Disassembler and Tools:
549
550 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
551 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
552 that were made to the ACPI 5.0 specification.
553
554 iASL/Disassembler: Added full support for the following new ACPI tables:
555   1) The MTMR table (MID Timer Table)
556   2) The VRTC table (Virtual Real Time Clock Table).
557 Includes header file, disassembler, table compiler, and template support 
558 for both tables.
559
560 iASL: Implemented compile-time validation of package objects returned by 
561 predefined names. This new feature validates static package objects 
562 returned by the various predefined names defined to return packages. Both 
563 object types and package lengths are validated, for both parent packages 
564 and sub-packages, if any. The code is similar in structure and behavior 
565 to 
566 the runtime repair mechanism within the AML interpreter and uses the 
567 existing predefined name information table. Adds a new file, aslprepkg.c. 
568 ACPICA BZ 938.
569
570 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
571 This feature detects a binary file with a valid ACPI table header and 
572 invokes the disassembler automatically. Eliminates the need to 
573 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
574
575 iASL/Disassembler: Added several warnings for the case where there are 
576 unresolved control methods during the disassembly. This can potentially 
577 cause errors when the output file is compiled, because the disassembler 
578 assumes zero method arguments in these cases (it cannot determine the 
579 actual number of arguments without resolution/definition of the method).
580
581 Debugger: Added support to display all resources with a single command. 
582 Invocation of the resources command with no arguments will now display 
583 all 
584 resources within the current namespace.
585
586 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
587 via the -e option.
588
589 ----------------------------------------
590 17 January 2013. Summary of changes for version 20130117:
591
592 1) ACPICA Kernel-resident Subsystem:
593
594 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
595 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
596 objects to return a package containing one integer, most BIOS code 
597 returns 
598 two integers and the previous code reflects that. However, we also need 
599 to 
600 support BIOS code that actually implements to the ACPI spec, and this 
601 change reflects this.
602
603 Fixed two issues with the ACPI_DEBUG_PRINT macros:
604 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
605 C compilers that require this support.
606 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
607 ACPI_DEBUG is already used by many of the various hosts.
608
609 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
610 copyright to all module headers and signons, including the standard Linux 
611 header. This affects virtually every file in the ACPICA core subsystem, 
612 iASL compiler, all ACPICA utilities, and the test suites.
613
614 Example Code and Data Size: These are the sizes for the OS-independent 
615 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
616 debug version of the code includes the debug output trace mechanism and 
617 has a much larger code and data size.
618
619   Previous Release:
620     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
621     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
622   Current Release:
623     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
624     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
625
626
627 2) iASL Compiler/Disassembler and Tools:
628
629 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
630 prevent a possible fault on some hosts. Some C libraries modify the arg 
631 pointer parameter to vfprintf making it difficult to call it twice in the 
632 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
633 does not affect the Windows OSL since the Win C library does not modify 
634 the arg pointer. Chao Guan, Bob Moore.
635
636 iASL: Fixed a possible infinite loop when the maximum error count is 
637 reached. If an output file other than the .AML file is specified (such as 
638 a listing file), and the maximum number of errors is reached, do not 
639 attempt to flush data to the output file(s) as the compiler is aborting. 
640 This can cause an infinite loop as the max error count code essentially 
641 keeps calling itself.
642
643 iASL/Disassembler: Added an option (-in) to ignore NOOP 
644 opcodes/operators. 
645 Implemented for both the compiler and the disassembler. Often, the NOOP 
646 opcode is used as padding for packages that are changed dynamically by 
647 the 
648 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
649 errors. This option causes the disassembler to ignore all NOOP opcodes 
650 (0xA3), and it also causes the compiler to ignore all ASL source code 
651 NOOP 
652 statements as well.
653
654 Debugger: Enhanced the Sleep command to execute all sleep states. This 
655 change allows Sleep to be invoked with no arguments and causes the 
656 debugger to execute all of the sleep states, 0-5, automatically.
657
658 ----------------------------------------
659 20 December 2012. Summary of changes for version 20121220:
660
661 1) ACPICA Kernel-resident Subsystem:
662
663 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
664 alternate entry point for AcpiWalkResources and improves the usability of 
665 the resource manager by accepting as input a buffer containing the output 
666 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
667 input buffer is not deleted by this interface so that it can be used by 
668 the host later. See the ACPICA reference for details.
669
670 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
671 (DSDT version < 2). The constant will be truncated and this warning 
672 reflects that behavior.
673
674 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
675 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
676 both get and set the new wake bit in these descriptors, separately from 
677 the existing share bit. Reported by Aaron Lu.
678
679 Interpreter: Fix Store() when an implicit conversion is not possible. For 
680 example, in the cases such as a store of a string to an existing package 
681 object, implement the store as a CopyObject(). This is a small departure 
682 from the ACPI specification which states that the control method should 
683 be 
684 aborted in this case. However, the ASLTS suite depends on this behavior.
685
686 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
687 macros: check if debug output is currently enabled as soon as possible to 
688 minimize performance impact if debug is in fact not enabled.
689
690 Source code restructuring: Cleanup to improve modularity. The following 
691 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
692 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
693 Associated makefiles and project files have been updated.
694
695 Changed an exception code for LoadTable operator. For the case where one 
696 of the input strings is too long, change the returned exception code from 
697 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
698
699 Fixed a possible memory leak in dispatcher error path. On error, delete 
700 the mutex object created during method mutex creation. Reported by 
701 tim.gardner@canonical.com.
702
703 Example Code and Data Size: These are the sizes for the OS-independent 
704 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
705 debug version of the code includes the debug output trace mechanism and 
706 has a much larger code and data size.
707
708   Previous Release:
709     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
710     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
711   Current Release:
712     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
713     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
714
715
716 2) iASL Compiler/Disassembler and Tools:
717
718 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
719 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
720 will not allow the interpreter to differentiate between a method and a 
721 method invocation when these are used as an argument to the ObjectType 
722 operator. The ACPI specification change is to disallow a method 
723 invocation 
724 (UserTerm) for the ObjectType operator.
725
726 Finish support for the TPM2 and CSRT tables in the headers, table 
727 compiler, and disassembler.
728
729 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
730 always expires immediately if the semaphore is not available. The 
731 original 
732 code was using a relative-time timeout, but sem_timedwait requires the 
733 use 
734 of an absolute time.
735
736 iASL: Added a remark if the Timer() operator is used within a 32-bit 
737 table. This operator returns a 64-bit time value that will be truncated 
738 within a 32-bit table.
739
740 iASL Source code restructuring: Cleanup to improve modularity. The 
741 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
742 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
743 been updated.
744
745
746 ----------------------------------------
747 14 November 2012. Summary of changes for version 20121114:
748
749 1) ACPICA Kernel-resident Subsystem:
750
751 Implemented a performance enhancement for ACPI/AML Package objects. This 
752 change greatly increases the performance of Package objects within the 
753 interpreter. It changes the processing of reference counts for packages 
754 by 
755 optimizing for the most common case where the package sub-objects are 
756 either Integers, Strings, or Buffers. Increases the overall performance 
757 of 
758 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
759 2X.) 
760 Chao Guan. ACPICA BZ 943.
761
762 Implemented and deployed common macros to extract flag bits from resource 
763 descriptors. Improves readability and maintainability of the code. Fixes 
764
765 problem with the UART serial bus descriptor for the number of data bits 
766 flags (was incorrectly 2 bits, should be 3).
767
768 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
769 of the macros and changed the SETx macros to the style of (destination, 
770 source). Also added ACPI_CASTx companion macros. Lv Zheng.
771
772 Example Code and Data Size: These are the sizes for the OS-independent 
773 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
774 debug version of the code includes the debug output trace mechanism and 
775 has a much larger code and data size.
776
777   Previous Release:
778     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
779     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
780   Current Release:
781     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
782     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
783
784
785 2) iASL Compiler/Disassembler and Tools:
786
787 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
788 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
789 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
790
791 Disassembler: Fixed a problem with external declaration generation. Fixes 
792 a problem where an incorrect pathname could be generated for an external 
793 declaration if the original reference to the object includes leading 
794 carats (^). ACPICA BZ 984.
795
796 Debugger: Completed a major update for the Disassemble<method> command. 
797 This command was out-of-date and did not properly disassemble control 
798 methods that had any reasonable complexity. This fix brings the command 
799 up 
800 to the same level as the rest of the disassembler. Adds one new file, 
801 dmdeferred.c, which is existing code that is now common with the main 
802 disassembler and the debugger disassemble command. ACPICA MZ 978.
803
804 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
805 Newer versions of Bison emit this prototype, so moved the prototype out 
806 of 
807 the iASL header to where it is actually used in order to avoid a 
808 duplicate 
809 declaration.
810
811 iASL/Tools: Standardized use of the stream I/O functions:
812   1) Ensure check for I/O error after every fopen/fread/fwrite
813   2) Ensure proper order of size/count arguments for fread/fwrite
814   3) Use test of (Actual != Requested) after all fwrite, and most fread
815   4) Standardize I/O error messages
816 Improves reliability and maintainability of the code. Bob Moore, Lv 
817 Zheng. 
818 ACPICA BZ 981.
819
820 Disassembler: Prevent duplicate External() statements. During generation 
821 of external statements, detect similar pathnames that are actually 
822 duplicates such as these:
823   External (\ABCD)
824   External (ABCD)
825 Remove all leading '\' characters from pathnames during the external 
826 statement generation so that duplicates will be detected and tossed. 
827 ACPICA BZ 985.
828
829 Tools: Replace low-level I/O with stream I/O functions. Replace 
830 open/read/write/close with the stream I/O equivalents 
831 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
832 Moore.
833
834 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
835 name header so that AcpiXtract recognizes the output file/table.
836
837 iASL: Remove obsolete -2 option flag. Originally intended to force the 
838 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
839 and the entire concept is now obsolete.
840
841 ----------------------------------------
842 18 October 2012. Summary of changes for version 20121018:
843
844
845 1) ACPICA Kernel-resident Subsystem:
846
847 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
848 introduced by late changes to the table as it was added to the ACPI 5.0 
849 specification. Includes header, disassembler, and data table compiler 
850 support as well as a new version of the MPST template.
851
852 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
853 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
854 methods: _HID, _CID, and _UID.
855
856 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
857 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
858 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
859 names for their various drivers. Affects the AcpiGetObjectInfo external 
860 interface, and other internal interfaces as well.
861
862 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
863 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
864 on machines that support non-aligned transfers. Optimizes for this case 
865 rather than using a strncpy. With assistance from Zheng Lv.
866
867 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
868 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
869
870 Added a new debug print message for AML mutex objects that are force-
871 released. At control method termination, any currently acquired mutex 
872 objects are force-released. Adds a new debug-only message for each one 
873 that is released.
874
875 Audited/updated all ACPICA return macros and the function debug depth 
876 counter: 1) Ensure that all functions that use the various TRACE macros 
877 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
878 return statements surround the return expression (value) with parens to 
879 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
880 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
881
882 Global source code changes/maintenance: All extra lines at the start and 
883 end of each source file have been removed for consistency. Also, within 
884 comments, all new sentences start with a single space instead of a double 
885 space, again for consistency across the code base.
886
887 Example Code and Data Size: These are the sizes for the OS-independent 
888 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
889 debug version of the code includes the debug output trace mechanism and 
890 has a much larger code and data size.
891
892   Previous Release:
893     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
894     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
895   Current Release:
896     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
897     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
898
899
900 2) iASL Compiler/Disassembler and Tools:
901
902 AcpiExec: Improved the algorithm used for memory leak/corruption 
903 detection. Added some intelligence to the code that maintains the global 
904 list of allocated memory. The list is now ordered by allocated memory 
905 address, significantly improving performance. When running AcpiExec on 
906 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
907 on the platform and/or the environment. Note, this performance 
908 enhancement affects the AcpiExec utility only, not the kernel-resident 
909 ACPICA code.
910
911 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
912 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
913 incorrect table offset reported for invalid opcodes. Report the original 
914 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
915
916 Disassembler: Enhanced the -vt option to emit the binary table data in 
917 hex format to assist with debugging.
918
919 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
920 size of file structure. Colin Ian King.
921
922 ----------------------------------------
923 13 September 2012. Summary of changes for version 20120913:
924
925
926 1) ACPICA Kernel-resident Subsystem:
927
928 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
929 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
930 and 
931 MCE(6).
932  
933 Table Manager: Merged/removed duplicate code in the root table resize 
934 functions. One function is external, the other is internal. Lv Zheng, 
935 ACPICA 
936 BZ 846.
937
938 Makefiles: Completely removed the obsolete "Linux" makefiles under 
939 acpica/generate/linux. These makefiles are obsolete and have been 
940 replaced 
941 by 
942 the generic unix makefiles under acpica/generate/unix.
943
944 Makefiles: Ensure that binary files always copied properly. Minor rule 
945 change 
946 to ensure that the final binary output files are always copied up to the 
947 appropriate binary directory (bin32 or bin64.)
948
949 Example Code and Data Size: These are the sizes for the OS-independent 
950 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
951 debug 
952 version of the code includes the debug output trace mechanism and has a 
953 much 
954 larger code and data size.
955
956   Previous Release:
957     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
958     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
959   Current Release:
960     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
961     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
962
963
964 2) iASL Compiler/Disassembler and Tools:
965
966 Disassembler: Fixed a possible fault during the disassembly of resource 
967 descriptors when a second parse is required because of the invocation of 
968 external control methods within the table. With assistance from 
969 adq@lidskialf.net. ACPICA BZ 976.
970
971 iASL: Fixed a namepath optimization problem. An error can occur if the 
972 parse 
973 node that contains the namepath to be optimized does not have a parent 
974 node 
975 that is a named object. This change fixes the problem.
976
977 iASL: Fixed a regression where the AML file is not deleted on errors. The 
978 AML 
979 output file should be deleted if there are any errors during the 
980 compiler. 
981 The 
982 only exception is if the -f (force output) option is used. ACPICA BZ 974.
983
984 iASL: Added a feature to automatically increase internal line buffer 
985 sizes. 
986 Via realloc(), automatically increase the internal line buffer sizes as 
987 necessary to support very long source code lines. The current version of 
988 the 
989 preprocessor requires a buffer long enough to contain full source code 
990 lines. 
991 This change increases the line buffer(s) if the input lines go beyond the 
992 current buffer size. This eliminates errors that occurred when a source 
993 code 
994 line was longer than the buffer.
995
996 iASL: Fixed a problem with constant folding in method declarations. The 
997 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
998 if a 
999 Type3 opcode was used.
1000
1001 Debugger: Improved command help support. For incorrect argument count, 
1002 display 
1003 full help for the command. For help command itself, allow an argument to 
1004 specify a command.
1005
1006 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
1007 errors during execution of the suite. Guan Chao.
1008
1009 ----------------------------------------
1010 16 August 2012. Summary of changes for version 20120816:
1011
1012
1013 1) ACPICA Kernel-resident Subsystem:
1014
1015 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
1016 _GTS 
1017 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
1018 deprecated and will probably be removed from the ACPI specification. 
1019 Windows 
1020 does not invoke them, and reportedly never will. The final nail in the 
1021 coffin 
1022 is that the ACPI specification states that these methods must be run with 
1023 interrupts off, which is not going to happen in a kernel interpreter. 
1024 Note: 
1025 Linux has removed all use of the methods also. It was discovered that 
1026 invoking these functions caused failures on some machines, probably 
1027 because 
1028 they were never tested since Windows does not call them. Affects two 
1029 external 
1030 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
1031 ACPICA BZ 969.
1032
1033 Implemented support for complex bit-packed buffers returned from the _PLD 
1034 (Physical Location of Device) predefined method. Adds a new external 
1035 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
1036
1037 structure. Note: C Bitfields cannot be used for this type of predefined 
1038 structure since the memory layout of individual bitfields is not defined 
1039 by 
1040 the C language. In addition, there are endian concerns where a compiler 
1041 will 
1042 change the bitfield ordering based on the machine type. The new ACPICA 
1043 interface eliminates these issues, and should be called after _PLD is 
1044 executed. ACPICA BZ 954.
1045
1046 Implemented a change to allow a scope change to root (via "Scope (\)") 
1047 during 
1048 execution of module-level ASL code (code that is executed at table load 
1049 time.) Lin Ming.
1050
1051 Added the Windows8/Server2012 string for the _OSI method. This change 
1052 adds 
1053
1054 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
1055 2012.
1056
1057 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
1058 2) 
1059 and CSRT (Core System Resource Table).
1060
1061 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
1062 names. This simplifies access to the buffers returned by these predefined 
1063 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
1064
1065 GPE support: Removed an extraneous parameter from the various low-level 
1066 internal GPE functions. Tang Feng.
1067
1068 Removed the linux makefiles from the unix packages. The generate/linux 
1069 makefiles are obsolete and have been removed from the unix tarball 
1070 release 
1071 packages. The replacement makefiles are under generate/unix, and there is 
1072
1073 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
1074
1075 Updates for Unix makefiles:
1076 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
1077 2) Update linker flags (move to end of command line) for AcpiExec 
1078 utility. 
1079 Guan Chao.
1080
1081 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
1082 utxface.c to improve modularity and reduce file size.
1083
1084 Example Code and Data Size: These are the sizes for the OS-independent 
1085 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1086 debug version of the code includes the debug output trace mechanism and 
1087 has a 
1088 much larger code and data size.
1089
1090   Previous Release:
1091     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
1092     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
1093   Current Release:
1094     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
1095     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
1096
1097
1098 2) iASL Compiler/Disassembler and Tools:
1099
1100 iASL: Fixed a problem with constant folding for fixed-length constant 
1101 expressions. The constant-folding code was not being invoked for constant 
1102 expressions that allow the use of type 3/4/5 opcodes to generate 
1103 constants 
1104 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
1105 result 
1106 in the generation of invalid AML bytecode. ACPICA BZ 970.
1107
1108 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
1109 apparently automatically emit some of the necessary externals. This 
1110 change 
1111 handles these versions in order to eliminate generation warnings.
1112
1113 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
1114
1115 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
1116 appears 
1117 within comments in the output file.
1118
1119 Debugger: Fixed a regression with the "Threads" command where 
1120 AE_BAD_PARAMETER was always returned.
1121
1122 ----------------------------------------
1123 11 July 2012. Summary of changes for version 20120711:
1124
1125 1) ACPICA Kernel-resident Subsystem:
1126
1127 Fixed a possible fault in the return package object repair code. Fixes a 
1128 problem that can occur when a lone package object is wrapped with an 
1129 outer 
1130 package object in order to force conformance to the ACPI specification. 
1131 Can 
1132 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
1133 _DLM, 
1134 _CSD, _PSD, _TSD.
1135
1136 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
1137 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
1138 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
1139 state 
1140 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
1141 both 
1142 Intel and other vendors. (for Intel: ICH4-M and earlier)
1143
1144 This change removes the code to disable/enable bus master arbitration 
1145 during 
1146 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
1147 causes 
1148 resume problems on some machines. The change has been in use for over 
1149 seven 
1150 years within Linux.
1151
1152 Implemented two new external interfaces to support host-directed dynamic 
1153 ACPI 
1154 table load and unload. They are intended to simplify the host 
1155 implementation 
1156 of hot-plug support:
1157   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
1158   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
1159 table.
1160 See the ACPICA reference for additional details. Adds one new file, 
1161 components/tables/tbxfload.c
1162
1163 Implemented and deployed two new interfaces for errors and warnings that 
1164 are 
1165 known to be caused by BIOS/firmware issues:
1166   AcpiBiosError: Prints "ACPI Firmware Error" message.
1167   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
1168 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
1169 table 
1170 and FADT errors. Additional deployment to be completed as appropriate in 
1171 the 
1172 future. The associated conditional macros are ACPI_BIOS_ERROR and 
1173 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
1174 ACPICA 
1175 BZ 
1176 843.
1177
1178 Implicit notify support: ensure that no memory allocation occurs within a 
1179 critical region. This fix moves a memory allocation outside of the time 
1180 that a 
1181 spinlock is held. Fixes issues on systems that do not allow this 
1182 behavior. 
1183 Jung-uk Kim.
1184
1185 Split exception code utilities and tables into a new file, 
1186 utilities/utexcep.c
1187
1188 Example Code and Data Size: These are the sizes for the OS-independent 
1189 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1190 debug 
1191 version of the code includes the debug output trace mechanism and has a 
1192 much 
1193 larger code and data size.
1194
1195   Previous Release:
1196     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
1197     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
1198   Current Release:
1199     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
1200     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
1201
1202
1203 2) iASL Compiler/Disassembler and Tools:
1204
1205 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
1206 of 
1207 0. Jung-uk Kim.
1208
1209 Debugger: Enhanced the "tables" command to emit additional information 
1210 about 
1211 the current set of ACPI tables, including the owner ID and flags decode.
1212
1213 Debugger: Reimplemented the "unload" command to use the new 
1214 AcpiUnloadParentTable external interface. This command was disable 
1215 previously 
1216 due to need for an unload interface.
1217
1218 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
1219 option 
1220 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
1221
1222 ----------------------------------------
1223 20 June 2012. Summary of changes for version 20120620:
1224
1225
1226 1) ACPICA Kernel-resident Subsystem:
1227
1228 Implemented support to expand the "implicit notify" feature to allow 
1229 multiple 
1230 devices to be notified by a single GPE. This feature automatically 
1231 generates a 
1232 runtime device notification in the absence of a BIOS-provided GPE control 
1233 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
1234 notify is 
1235 provided by ACPICA for Windows compatibility, and is a workaround for 
1236 BIOS 
1237 AML 
1238 code errors. See the description of the AcpiSetupGpeForWake interface in 
1239 the 
1240 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
1241
1242 Changed some comments and internal function names to simplify and ensure 
1243 correctness of the Linux code translation. No functional changes.
1244
1245 Example Code and Data Size: These are the sizes for the OS-independent 
1246 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1247 debug 
1248 version of the code includes the debug output trace mechanism and has a 
1249 much 
1250 larger code and data size.
1251
1252   Previous Release:
1253     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
1254     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
1255   Current Release:
1256     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
1257     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
1258
1259
1260 2) iASL Compiler/Disassembler and Tools:
1261
1262 Disassembler: Added support to emit short, commented descriptions for the 
1263 ACPI 
1264 predefined names in order to improve the readability of the disassembled 
1265 output. ACPICA BZ 959. Changes include:
1266   1) Emit descriptions for all standard predefined names (_INI, _STA, 
1267 _PRW, 
1268 etc.)
1269   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
1270   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
1271 etc.)
1272
1273 AcpiSrc: Fixed several long-standing Linux code translation issues. 
1274 Argument 
1275 descriptions in function headers are now translated properly to lower 
1276 case 
1277 and 
1278 underscores. ACPICA BZ 961. Also fixes translation problems such as 
1279 these: 
1280 (old -> new)
1281   i_aSL -> iASL
1282   00-7_f -> 00-7F
1283   16_k -> 16K
1284   local_fADT -> local_FADT
1285   execute_oSI -> execute_OSI
1286
1287 iASL: Fixed a problem where null bytes were inadvertently emitted into 
1288 some 
1289 listing files.
1290
1291 iASL: Added the existing debug options to the standard help screen. There 
1292 are 
1293 no longer two different help screens. ACPICA BZ 957.
1294
1295 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
1296 Also 
1297 expand some of the descriptions where appropriate.
1298
1299 iASL: Fixed the -ot option (display compile times/statistics). Was not 
1300 working 
1301 properly for standard output; only worked for the debug file case.
1302
1303 ----------------------------------------
1304 18 May 2012. Summary of changes for version 20120518:
1305
1306
1307 1) ACPICA Core Subsystem:
1308
1309 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
1310 defined 
1311 to block until asynchronous events such as notifies and GPEs have 
1312 completed. 
1313 Within ACPICA, it is only called before a notify or GPE handler is 
1314 removed/uninstalled. It also may be useful for the host OS within related 
1315 drivers such as the Embedded Controller driver. See the ACPICA reference 
1316 for 
1317 additional information. ACPICA BZ 868.
1318
1319 ACPI Tables: Added a new error message for a possible overflow failure 
1320 during 
1321 the conversion of FADT 32-bit legacy register addresses to internal 
1322 common 
1323 64-
1324 bit GAS structure representation. The GAS has a one-byte "bit length" 
1325 field, 
1326 thus limiting the register length to 255 bits. ACPICA BZ 953.
1327
1328 Example Code and Data Size: These are the sizes for the OS-independent 
1329 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1330 debug 
1331 version of the code includes the debug output trace mechanism and has a 
1332 much 
1333 larger code and data size.
1334
1335   Previous Release:
1336     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1337     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
1338   Current Release:
1339     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
1340     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
1341
1342
1343 2) iASL Compiler/Disassembler and Tools:
1344
1345 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
1346 macro. 
1347 This keyword was added late in the ACPI 5.0 release cycle and was not 
1348 implemented until now.
1349
1350 Disassembler: Added support for Operation Region externals. Adds missing 
1351 support for operation regions that are defined in another table, and 
1352 referenced locally via a Field or BankField ASL operator. Now generates 
1353 the 
1354 correct External statement.
1355
1356 Disassembler: Several additional fixes for the External() statement 
1357 generation 
1358 related to some ASL operators. Also, order the External() statements 
1359 alphabetically in the disassembler output. Fixes the External() 
1360 generation 
1361 for 
1362 the Create* field, Alias, and Scope operators:
1363  1) Create* buffer field operators - fix type mismatch warning on 
1364 disassembly
1365  2) Alias - implement missing External support
1366  3) Scope - fix to make sure all necessary externals are emitted.
1367
1368 iASL: Improved pathname support. For include files, merge the prefix 
1369 pathname 
1370 with the file pathname and eliminate unnecessary components. Convert 
1371 backslashes in all pathnames to forward slashes, for readability. Include 
1372 file 
1373 pathname changes affect both #include and Include() type operators.
1374
1375 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
1376 end 
1377 of a valid line by inserting a newline and then returning the EOF during 
1378 the 
1379 next call to GetNextLine. Prevents the line from being ignored due to EOF 
1380 condition.
1381
1382 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
1383 Error 
1384 and Warning messages are now correctly recognized for both the source 
1385 code 
1386 browser and the global error and warning counts.
1387
1388 ----------------------------------------
1389 20 April 2012. Summary of changes for version 20120420:
1390
1391
1392 1) ACPICA Core Subsystem:
1393
1394 Implemented support for multiple notify handlers. This change adds 
1395 support 
1396 to 
1397 allow multiple system and device notify handlers on Device, Thermal Zone, 
1398 and 
1399 Processor objects. This can simplify the host OS notification 
1400 implementation. 
1401 Also re-worked and restructured the entire notify support code to 
1402 simplify 
1403 handler installation, handler removal, notify event queuing, and notify 
1404 dispatch to handler(s). Note: there can still only be two global notify 
1405 handlers - one for system notifies and one for device notifies. There are 
1406 no 
1407 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
1408 Moore, Rafael Wysocki.
1409
1410 Fixed a regression in the package repair code where the object reference 
1411 count was calculated incorrectly. Regression was introduced in the commit 
1412 "Support to add Package wrappers".
1413
1414 Fixed a couple possible memory leaks in the AML parser, in the error 
1415 recovery 
1416 path. Jesper Juhl, Lin Ming.
1417
1418 Example Code and Data Size: These are the sizes for the OS-independent 
1419 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1420 debug version of the code includes the debug output trace mechanism and 
1421 has a 
1422 much larger code and data size.
1423
1424   Previous Release:
1425     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1426     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1427   Current Release:
1428     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1429     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
1430
1431
1432 2) iASL Compiler/Disassembler and Tools:
1433
1434 iASL: Fixed a problem with the resource descriptor support where the 
1435 length 
1436 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
1437 included in cumulative descriptor offset, resulting in incorrect values 
1438 for 
1439 resource tags within resource descriptors appearing after a 
1440 StartDependent* 
1441 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
1442
1443 iASL and Preprocessor: Implemented full support for the #line directive 
1444 to 
1445 correctly track original source file line numbers through the .i 
1446 preprocessor 
1447 output file - for error and warning messages.
1448
1449 iASL: Expand the allowable byte constants for address space IDs. 
1450 Previously, 
1451 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
1452 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
1453
1454 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
1455
1456 iASL: Add option to completely disable the preprocessor (-Pn).
1457
1458 iASL: Now emit all error/warning messages to standard error (stderr) by 
1459 default (instead of the previous stdout).
1460
1461 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
1462 Update 
1463 for resource descriptor offset fix above. Update/cleanup error output 
1464 routines. Enable and send iASL errors/warnings to an error logfile 
1465 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
1466 Fixed 
1467 several extraneous "unrecognized operator" messages.
1468
1469 ----------------------------------------
1470 20 March 2012. Summary of changes for version 20120320:
1471
1472
1473 1) ACPICA Core Subsystem:
1474
1475 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
1476 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
1477 apparently 
1478 does not execute these methods, and therefore these methods are often 
1479 untested. It has been seen on some systems where the execution of these 
1480 methods causes errors and also prevents the machine from entering S5. It 
1481 is 
1482 therefore suggested that host operating systems do not execute these 
1483 methods 
1484 by default. In the future, perhaps these methods can be optionally 
1485 executed 
1486 based on the age of the system and/or what is the newest version of 
1487 Windows 
1488 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
1489 and 
1490 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
1491 Ming.
1492
1493 Fixed a problem where the length of the local/common FADT was set too 
1494 early. 
1495 The local FADT table length cannot be set to the common length until the 
1496 original length has been examined. There is code that checks the table 
1497 length 
1498 and sets various fields appropriately. This can affect older machines 
1499 with 
1500 early FADT versions. For example, this can cause inadvertent writes to 
1501 the 
1502 CST_CNT register. Julian Anastasov.
1503
1504 Fixed a mapping issue related to a physical table override. Use the 
1505 deferred 
1506 mapping mechanism for tables loaded via the physical override OSL 
1507 interface. 
1508 This allows for early mapping before the virtual memory manager is 
1509 available. 
1510 Thomas Renninger, Bob Moore.
1511
1512 Enhanced the automatic return-object repair code: Repair a common problem 
1513 with 
1514 predefined methods that are defined to return a variable-length Package 
1515 of 
1516 sub-objects. If there is only one sub-object, some BIOS ASL code 
1517 mistakenly 
1518 simply returns the single object instead of a Package with one sub-
1519 object. 
1520 This new support will repair this error by wrapping a Package object 
1521 around 
1522 the original object, creating the correct and expected Package with one 
1523 sub-
1524 object. Names that can be repaired in this manner include: _ALR, _CSD, 
1525 _HPX, 
1526 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
1527 939.
1528
1529 Changed the exception code returned for invalid ACPI paths passed as 
1530 parameters to external interfaces such as AcpiEvaluateObject. Was 
1531 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
1532
1533 Example Code and Data Size: These are the sizes for the OS-independent 
1534 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1535 debug 
1536 version of the code includes the debug output trace mechanism and has a 
1537 much 
1538 larger code and data size.
1539
1540   Previous Release:
1541     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
1542     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1543   Current Release:
1544     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
1545     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1546
1547
1548 2) iASL Compiler/Disassembler and Tools:
1549
1550 iASL: Added the infrastructure and initial implementation of a integrated 
1551 C-
1552 like preprocessor. This will simplify BIOS development process by 
1553 eliminating 
1554 the need for a separate preprocessing step during builds. On Windows, it 
1555 also 
1556 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
1557 features including full #define() macro support are still under 
1558 development. 
1559 These preprocessor directives are supported:
1560     #define
1561     #elif
1562     #else
1563     #endif
1564     #error
1565     #if
1566     #ifdef
1567     #ifndef
1568     #include
1569     #pragma message
1570     #undef
1571     #warning
1572 In addition, these new command line options are supported:
1573     -D <symbol> Define symbol for preprocessor use
1574     -li         Create preprocessed output file (*.i)
1575     -P          Preprocess only and create preprocessor output file (*.i)
1576
1577 Table Compiler: Fixed a problem where the equals operator within an 
1578 expression 
1579 did not work properly.
1580
1581 Updated iASL to use the current versions of Bison/Flex. Updated the 
1582 Windows 
1583 project file to invoke these tools from the standard location. ACPICA BZ 
1584 904. 
1585 Versions supported:
1586     Flex for Windows:  V2.5.4
1587     Bison for Windows: V2.4.1
1588
1589 ----------------------------------------
1590 15 February 2012. Summary of changes for version 20120215:
1591
1592
1593 1) ACPICA Core Subsystem:
1594
1595 There have been some major changes to the sleep/wake support code, as 
1596 described below (a - e).
1597
1598 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
1599 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
1600 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
1601 the 
1602 time the _BFS method is called and the _WAK method is called. NOTE: all 
1603 hosts 
1604 must update their wake/resume code or else sleep/wake will not work 
1605 properly. 
1606 Rafael Wysocki.
1607
1608 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
1609 _WAK 
1610 method. Some machines require that the GPEs are enabled before the _WAK 
1611 method 
1612 is executed. Thomas Renninger.
1613
1614 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
1615 bit. 
1616 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
1617 to 
1618 determine whether the system is rebooting or resuming. Matthew Garrett.
1619
1620 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
1621 Sleep) to 
1622 match the ACPI specification requirement. Rafael Wysocki.
1623
1624 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
1625 registers within the V5 FADT. This support adds two new files: 
1626 hardware/hwesleep.c implements the support for the new registers. Moved 
1627 all 
1628 sleep/wake external interfaces to hardware/hwxfsleep.c.
1629
1630
1631 Added a new OSL interface for ACPI table overrides, 
1632 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
1633 table via a physical address, instead of the logical address required by 
1634 AcpiOsTableOverride. This simplifies the host implementation. Initial 
1635 implementation by Thomas Renninger. The ACPICA implementation creates a 
1636 single 
1637 shared function for table overrides that attempts both a logical and a 
1638 physical override.
1639
1640 Expanded the OSL memory read/write interfaces to 64-bit data 
1641 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
1642 transfer support for GAS register structures passed to AcpiRead and 
1643 AcpiWrite.
1644
1645 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
1646 custom 
1647 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
1648 model. 
1649 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
1650 about 
1651 10% of the code and 5% of the static data, and the following hardware 
1652 ACPI 
1653 features become unavailable:
1654     PM Event and Control registers
1655     SCI interrupt (and handler)
1656     Fixed Events
1657     General Purpose Events (GPEs)
1658     Global Lock
1659     ACPI PM timer
1660     FACS table (Waking vectors and Global Lock)
1661
1662 Updated the unix tarball directory structure to match the ACPICA git 
1663 source 
1664 tree. This ensures that the generic unix makefiles work properly (in 
1665 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
1666 867.
1667
1668 Updated the return value of the _REV predefined method to integer value 5 
1669 to 
1670 reflect ACPI 5.0 support.
1671
1672 Moved the external ACPI PM timer interface prototypes to the public 
1673 acpixf.h 
1674 file where they belong.
1675
1676 Example Code and Data Size: These are the sizes for the OS-independent 
1677 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1678 debug 
1679 version of the code includes the debug output trace mechanism and has a 
1680 much 
1681 larger code and data size.
1682
1683   Previous Release:
1684     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1685     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1686   Current Release:
1687     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
1688     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
1689
1690
1691 2) iASL Compiler/Disassembler and Tools:
1692
1693 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
1694 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
1695 incorrectly displayed.
1696
1697 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
1698 specification.
1699
1700 ----------------------------------------
1701 11 January 2012. Summary of changes for version 20120111:
1702
1703
1704 1) ACPICA Core Subsystem:
1705
1706 Implemented a new mechanism to allow host device drivers to check for 
1707 address 
1708 range conflicts with ACPI Operation Regions. Both SystemMemory and 
1709 SystemIO 
1710 address spaces are supported. A new external interface, 
1711 AcpiCheckAddressRange, 
1712 allows drivers to check an address range against the ACPI namespace. See 
1713 the 
1714 ACPICA reference for additional details. Adds one new file, 
1715 utilities/utaddress.c. Lin Ming, Bob Moore.
1716
1717 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
1718 Control 
1719 and 
1720 Status registers, update the ACPI 5.0 flags, and update internal data 
1721 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
1722 5.0 
1723 FADT is 268 bytes.
1724
1725 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
1726 copyright to 
1727 all module headers and signons, including the standard Linux header. This 
1728 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
1729 and 
1730 all ACPICA utilities.
1731
1732 Example Code and Data Size: These are the sizes for the OS-independent 
1733 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1734 debug 
1735 version of the code includes the debug output trace mechanism and has a 
1736 much 
1737 larger code and data size.
1738
1739   Previous Release:
1740     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
1741     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
1742   Current Release:
1743     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
1744     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
1745
1746
1747 2) iASL Compiler/Disassembler and Tools:
1748
1749 Disassembler: fixed a problem with the automatic resource tag generation 
1750 support. Fixes a problem where the resource tags are inadvertently not 
1751 constructed if the table being disassembled contains external references 
1752 to 
1753 control methods. Moved the actual construction of the tags to after the 
1754 final 
1755 namespace is constructed (after 2nd parse is invoked due to external 
1756 control 
1757 method references.) ACPICA BZ 941.
1758
1759 Table Compiler: Make all "generic" operators caseless. These are the 
1760 operators 
1761 like UINT8, String, etc. Making these caseless improves ease-of-use. 
1762 ACPICA BZ 
1763 934.
1764
1765 ----------------------------------------
1766 23 November 2011. Summary of changes for version 20111123:
1767
1768 0) ACPI 5.0 Support:
1769
1770 This release contains full support for the ACPI 5.0 specification, as 
1771 summarized below.
1772
1773 Reduced Hardware Support:
1774 -------------------------
1775
1776 This support allows for ACPI systems without the usual ACPI hardware. 
1777 This 
1778 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
1779 will 
1780 not attempt to initialize or use any of the usual ACPI hardware. Note, 
1781 when 
1782 this flag is set, all of the following ACPI hardware is assumed to be not 
1783 present and is not initialized or accessed:
1784
1785     General Purpose Events (GPEs)
1786     Fixed Events (PM1a/PM1b and PM Control)
1787     Power Management Timer and Console Buttons (power/sleep)
1788     Real-time Clock Alarm
1789     Global Lock
1790     System Control Interrupt (SCI)
1791     The FACS is assumed to be non-existent
1792
1793 ACPI Tables:
1794 ------------
1795
1796 All new tables and updates to existing tables are fully supported in the 
1797 ACPICA headers (for use by device drivers), the disassembler, and the 
1798 iASL 
1799 Data Table Compiler. ACPI 5.0 defines these new tables:
1800
1801     BGRT        /* Boot Graphics Resource Table */
1802     DRTM        /* Dynamic Root of Trust for Measurement table */
1803     FPDT        /* Firmware Performance Data Table */
1804     GTDT        /* Generic Timer Description Table */
1805     MPST        /* Memory Power State Table */
1806     PCCT        /* Platform Communications Channel Table */
1807     PMTT        /* Platform Memory Topology Table */
1808     RASF        /* RAS Feature table */
1809
1810 Operation Regions/SpaceIDs:
1811 ---------------------------
1812
1813 All new operation regions are fully supported by the iASL compiler, the 
1814 disassembler, and the ACPICA runtime code (for dispatch to region 
1815 handlers.) 
1816 The new operation region Space IDs are:
1817
1818     GeneralPurposeIo
1819     GenericSerialBus
1820
1821 Resource Descriptors:
1822 ---------------------
1823
1824 All new ASL resource descriptors are fully supported by the iASL 
1825 compiler, 
1826 the 
1827 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
1828 (including 
1829 all new predefined resource tags). New descriptors are:
1830
1831     FixedDma
1832     GpioIo
1833     GpioInt
1834     I2cSerialBus
1835     SpiSerialBus
1836     UartSerialBus
1837
1838 ASL/AML Operators, New and Modified:
1839 ------------------------------------
1840
1841 One new operator is added, the Connection operator, which is used to 
1842 associate 
1843 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
1844 individual 
1845 field objects within an operation region. Several new protocols are 
1846 associated 
1847 with the AccessAs operator. All are fully supported by the iASL compiler, 
1848 disassembler, and runtime ACPICA AML interpreter:
1849
1850     Connection                      // Declare Field Connection 
1851 attributes
1852     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
1853     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
1854 Protocol
1855     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
1856     RawDataBuffer                       // Data type for Vendor Data 
1857 fields
1858
1859 Predefined ASL/AML Objects:
1860 ---------------------------
1861
1862 All new predefined objects/control-methods are supported by the iASL 
1863 compiler 
1864 and the ACPICA runtime validation/repair (arguments and return values.) 
1865 New 
1866 predefined names include the following:
1867
1868 Standard Predefined Names (Objects or Control Methods):
1869     _AEI, _CLS, _CPC, _CWS, _DEP,
1870     _DLM, _EVT, _GCP, _CRT, _GWS,
1871     _HRV, _PRE, _PSE, _SRT, _SUB.
1872
1873 Resource Tags (Names used to access individual fields within resource 
1874 descriptors):
1875     _DBT, _DPL, _DRS, _END, _FLC,
1876     _IOR, _LIN, _MOD, _PAR, _PHA,
1877     _PIN, _PPI, _POL, _RXL, _SLV,
1878     _SPE, _STB, _TXL, _VEN.
1879
1880 ACPICA External Interfaces:
1881 ---------------------------
1882
1883 Several new interfaces have been defined for use by ACPI-related device 
1884 drivers and other host OS services:
1885
1886 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
1887 to 
1888 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
1889 provided by the BIOS. They are intended to be used in conjunction with 
1890 the 
1891 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
1892 mutual exclusion with the AML code/interpreter.
1893
1894 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
1895 defined 
1896 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
1897 provides 
1898 resource descriptors associated with hardware-reduced platform events, 
1899 similar 
1900 to the AcpiGetCurrentResources interface.
1901
1902 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
1903 operation regions, information about the Connection() object and any 
1904 optional 
1905 length information is passed to the region handler within the Context 
1906 parameter.
1907
1908 AcpiBufferToResource: This interface converts a raw AML buffer containing 
1909
1910 resource template or resource descriptor to the ACPI_RESOURCE internal 
1911 format 
1912 suitable for use by device drivers. Can be used by an operation region 
1913 handler 
1914 to convert the Connection() buffer object into a ACPI_RESOURCE.
1915
1916 Miscellaneous/Tools/TestSuites: 
1917 -------------------------------
1918
1919 Support for extended _HID names (Four alpha characters instead of three).
1920 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
1921 Support for ACPI 5.0 features in the ASLTS test suite.
1922 Fully updated documentation (ACPICA and iASL reference documents.)
1923
1924 ACPI Table Definition Language:
1925 -------------------------------
1926
1927 Support for this language was implemented and released as a subsystem of 
1928 the 
1929 iASL compiler in 2010. (See the iASL compiler User Guide.)
1930
1931
1932 Non-ACPI 5.0 changes for this release:
1933 --------------------------------------
1934
1935 1) ACPICA Core Subsystem:
1936
1937 Fix a problem with operation region declarations where a failure can 
1938 occur 
1939 if 
1940 the region name and an argument that evaluates to an object (such as the 
1941 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
1942 937.
1943
1944 Do not abort an ACPI table load if an invalid space ID is found within. 
1945 This 
1946 will be caught later if the offending method is executed. ACPICA BZ 925.
1947
1948 Fixed an issue with the FFixedHW space ID where the ID was not always 
1949 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
1950
1951 Fixed a problem with the 32-bit generation of the unix-specific OSL 
1952 (osunixxf.c). Lin Ming, ACPICA BZ 936.
1953
1954 Several changes made to enable generation with the GCC 4.6 compiler. 
1955 ACPICA BZ 
1956 935.
1957
1958 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
1959 Index/Bank 
1960 field registers out-of-range.
1961
1962 2) iASL Compiler/Disassembler and Tools:
1963
1964 iASL: Implemented the __PATH__ operator, which returns the full pathname 
1965 of 
1966 the current source file.
1967
1968 AcpiHelp: Automatically display expanded keyword information for all ASL 
1969 operators.
1970
1971 Debugger: Add "Template" command to disassemble/dump resource template 
1972 buffers.
1973
1974 Added a new master script to generate and execute the ASLTS test suite. 
1975 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
1976
1977 iASL: Fix problem with listing generation during processing of the 
1978 Switch() 
1979 operator where AML listing was disabled until the entire Switch block was 
1980 completed.
1981
1982 iASL: Improve support for semicolon statement terminators. Fix "invalid 
1983 character" message for some cases when the semicolon is used. Semicolons 
1984 are 
1985 now allowed after every <Term> grammar element. ACPICA BZ 927.
1986
1987 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
1988 923.
1989
1990 Disassembler: Fix problem with disassembly of the DataTableRegion 
1991 operator 
1992 where an inadvertent "Unhandled deferred opcode" message could be 
1993 generated.
1994
1995 3) Example Code and Data Size
1996
1997 These are the sizes for the OS-independent acpica.lib produced by the 
1998 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
1999 includes the debug output trace mechanism and has a much larger code and 
2000 data 
2001 size.
2002
2003   Previous Release:
2004     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
2005     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2006   Current Release:
2007     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
2008     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
2009
2010 ----------------------------------------
2011 22 September 2011. Summary of changes for version 20110922:
2012
2013 0) ACPI 5.0 News:
2014
2015 Support for ACPI 5.0 in ACPICA has been underway for several months and 
2016 will 
2017 be released at the same time that ACPI 5.0 is officially released.
2018
2019 The ACPI 5.0 specification is on track for release in the next few 
2020 months.
2021  
2022 1) ACPICA Core Subsystem:
2023
2024 Fixed a problem where the maximum sleep time for the Sleep() operator was 
2025 intended to be limited to two seconds, but was inadvertently limited to 
2026 20 
2027 seconds instead.
2028
2029 Linux and Unix makefiles: Added header file dependencies to ensure 
2030 correct 
2031 generation of ACPICA core code and utilities. Also simplified the 
2032 makefiles 
2033 considerably through the use of the vpath variable to specify search 
2034 paths. 
2035 ACPICA BZ 924.
2036
2037 2) iASL Compiler/Disassembler and Tools:
2038
2039 iASL: Implemented support to check the access length for all fields 
2040 created to 
2041 access named Resource Descriptor fields. For example, if a resource field 
2042 is 
2043 defined to be two bits, a warning is issued if a CreateXxxxField() is 
2044 used 
2045 with an incorrect bit length. This is implemented for all current 
2046 resource 
2047 descriptor names. ACPICA BZ 930.
2048   
2049 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
2050 56-
2051 bit integers.
2052
2053 iASL: Fixed a couple of issues associated with variable-length package 
2054 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
2055
2056 VAR_PACKAGE when these are used as a package length. 2) Allow the 
2057 VAR_PACKAGE 
2058 opcode (in addition to PACKAGE) when validating object types for 
2059 predefined 
2060 names.
2061
2062 iASL: Emit statistics for all output files (instead of just the ASL input 
2063 and 
2064 AML output). Includes listings, hex files, etc.
2065
2066 iASL: Added -G option to the table compiler to allow the compilation of 
2067 custom 
2068 ACPI tables. The only part of a table that is required is the standard 
2069 36-
2070 byte 
2071 ACPI header.
2072
2073 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
2074 headers), 
2075 which also adds correct 64-bit support. Also, now all output filenames 
2076 are 
2077 completely lower case.
2078
2079 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
2080 loading table files. A warning is issued for any such tables. The only 
2081 exception is an FADT. This also fixes a possible fault when attempting to 
2082 load 
2083 non-AML tables. ACPICA BZ 932.
2084
2085 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
2086
2087 missing table terminator could cause a fault when using the -p option.
2088
2089 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
2090 statistics.
2091
2092 3) Example Code and Data Size
2093
2094 These are the sizes for the OS-independent acpica.lib produced by the 
2095 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
2096 includes the debug output trace mechanism and has a much larger code and 
2097 data 
2098 size.
2099
2100   Previous Release (VC 9.0):
2101     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
2102     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2103   Current Release (VC 9.0):
2104     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
2105     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2106
2107
2108 ----------------------------------------
2109 23 June 2011. Summary of changes for version 20110623:
2110
2111 1) ACPI CA Core Subsystem:
2112
2113 Updated the predefined name repair mechanism to not attempt repair of a 
2114 _TSS 
2115 return object if a _PSS object is present. We can only sort the _TSS 
2116 return 
2117 package if there is no _PSS within the same scope. This is because if 
2118 _PSS 
2119 is 
2120 present, the ACPI specification dictates that the _TSS Power Dissipation 
2121 field 
2122 is to be ignored, and therefore some BIOSs leave garbage values in the 
2123 _TSS 
2124 Power field(s). In this case, it is best to just return the _TSS package 
2125 as-
2126 is. Reported by, and fixed with assistance from Fenghua Yu.
2127
2128 Added an option to globally disable the control method return value 
2129 validation 
2130 and repair. This runtime option can be used to disable return value 
2131 repair 
2132 if 
2133 this is causing a problem on a particular machine. Also added an option 
2134 to 
2135 AcpiExec (-dr) to set this disable flag.
2136
2137 All makefiles and project files: Major changes to improve generation of 
2138 ACPICA 
2139 tools. ACPICA BZ 912:
2140     Reduce default optimization levels to improve compatibility
2141     For Linux, add strict-aliasing=0 for gcc 4
2142     Cleanup and simplify use of command line defines
2143     Cleanup multithread library support
2144     Improve usage messages
2145
2146 Linux-specific header: update handling of THREAD_ID and pthread. For the 
2147 32-
2148 bit case, improve casting to eliminate possible warnings, especially with 
2149 the 
2150 acpica tools.
2151
2152 Example Code and Data Size: These are the sizes for the OS-independent 
2153 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2154 debug 
2155 version of the code includes the debug output trace mechanism and has a 
2156 much 
2157 larger code and data size.
2158
2159   Previous Release (VC 9.0):
2160     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
2161     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2162   Current Release (VC 9.0):
2163     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
2164     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2165
2166 2) iASL Compiler/Disassembler and Tools:
2167
2168 With this release, a new utility named "acpihelp" has been added to the 
2169 ACPICA 
2170 package. This utility summarizes the ACPI specification chapters for the 
2171 ASL 
2172 and AML languages. It generates under Linux/Unix as well as Windows, and 
2173 provides the following functionality:
2174     Find/display ASL operator(s) -- with description and syntax.
2175     Find/display ASL keyword(s) -- with exact spelling and descriptions.
2176     Find/display ACPI predefined name(s) -- with description, number
2177         of arguments, and the return value data type.
2178     Find/display AML opcode name(s) -- with opcode, arguments, and 
2179 grammar.
2180     Decode/display AML opcode -- with opcode name, arguments, and 
2181 grammar.
2182
2183 Service Layers: Make multi-thread support configurable. Conditionally 
2184 compile 
2185 the multi-thread support so that threading libraries will not be linked 
2186 if 
2187 not 
2188 necessary. The only tool that requires multi-thread support is AcpiExec.
2189
2190 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
2191 of 
2192 Bison appear to want the interface to yyerror to be a const char * (or at 
2193 least this is a problem when generating iASL on some systems.) ACPICA BZ 
2194 923 
2195 Pierre Lejeune.
2196
2197 Tools: Fix for systems where O_BINARY is not defined. Only used for 
2198 Windows 
2199 versions of the tools.
2200
2201 ----------------------------------------
2202 27 May 2011. Summary of changes for version 20110527:
2203
2204 1) ACPI CA Core Subsystem:
2205
2206 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
2207 table 
2208 signature. Now, only allow SSDT, OEMx, and a null signature. History:
2209     1) Originally, we checked the table signature for "SSDT" or "PSDT".
2210        (PSDT is now obsolete.)
2211     2) We added support for OEMx tables, signature "OEM" plus a fourth
2212        "don't care" character.
2213     3) Valid tables were encountered with a null signature, so we just
2214        gave up on validating the signature, (05/2008).
2215     4) We encountered non-AML tables such as the MADT, which caused
2216        interpreter errors and kernel faults. So now, we once again allow
2217        only SSDT, OEMx, and now, also a null signature. (05/2011).
2218
2219 Added the missing _TDL predefined name to the global name list in order 
2220 to 
2221 enable validation. Affects both the core ACPICA code and the iASL 
2222 compiler.
2223
2224 Example Code and Data Size: These are the sizes for the OS-independent 
2225 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2226 debug 
2227 version of the code includes the debug output trace mechanism and has a 
2228 much 
2229 larger code and data size.
2230
2231   Previous Release (VC 9.0):
2232     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
2233     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
2234   Current Release (VC 9.0):
2235     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
2236     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
2237
2238 2) iASL Compiler/Disassembler and Tools:
2239
2240 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
2241 the 
2242 debugger command line. This adds support beyond simple integers -- 
2243 including 
2244 Strings, Buffers, and Packages. Includes support for nested packages. 
2245 Increased the default command line buffer size to accommodate these 
2246 arguments. 
2247 See the ACPICA reference for details and syntax. ACPICA BZ 917.
2248  
2249 Debugger/AcpiExec: Implemented support for "default" method arguments for 
2250 the 
2251 Execute/Debug command. Now, the debugger will always invoke a control 
2252 method 
2253 with the required number of arguments -- even if the command line 
2254 specifies 
2255 none or insufficient arguments. It uses default integer values for any 
2256 missing 
2257 arguments. Also fixes a bug where only six method arguments maximum were 
2258 supported instead of the required seven.
2259
2260 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
2261 and 
2262 also return status in order to prevent buffer overruns. See the ACPICA 
2263 reference for details and syntax. ACPICA BZ 921
2264
2265 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
2266 makefiles to simplify support for the two different but similar parser 
2267 generators, bison and yacc.
2268
2269 Updated the generic unix makefile for gcc 4. The default gcc version is 
2270 now 
2271 expected to be 4 or greater, since options specific to gcc 4 are used.
2272
2273 ----------------------------------------
2274 13 April 2011. Summary of changes for version 20110413:
2275
2276 1) ACPI CA Core Subsystem:
2277
2278 Implemented support to execute a so-called "orphan" _REG method under the 
2279 EC 
2280 device. This change will force the execution of a _REG method underneath 
2281 the 
2282 EC 
2283 device even if there is no corresponding operation region of type 
2284 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
2285 compatible with Windows behavior. ACPICA BZ 875.
2286
2287 Added more predefined methods that are eligible for automatic NULL 
2288 package 
2289 element removal. This change adds another group of predefined names to 
2290 the 
2291 list 
2292 of names that can be repaired by having NULL package elements dynamically 
2293 removed. This group are those methods that return a single variable-
2294 length 
2295 package containing simple data types such as integers, buffers, strings. 
2296 This 
2297 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
2298 _PSL, 
2299 _Sx, 
2300 and _TZD. ACPICA BZ 914.
2301
2302 Split and segregated all internal global lock functions to a new file, 
2303 evglock.c.
2304
2305 Updated internal address SpaceID for DataTable regions. Moved this 
2306 internal 
2307 space 
2308 id in preparation for ACPI 5.0 changes that will include some new space 
2309 IDs. 
2310 This 
2311 change should not affect user/host code.
2312
2313 Example Code and Data Size: These are the sizes for the OS-independent 
2314 acpica.lib 
2315 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
2316 version of 
2317 the code includes the debug output trace mechanism and has a much larger 
2318 code 
2319 and 
2320 data size.
2321
2322   Previous Release (VC 9.0):
2323     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
2324     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
2325   Current Release (VC 9.0):
2326     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
2327     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
2328
2329 2) iASL Compiler/Disassembler and Tools:
2330
2331 iASL/DTC: Major update for new grammar features. Allow generic data types 
2332 in 
2333 custom ACPI tables. Field names are now optional. Any line can be split 
2334 to 
2335 multiple lines using the continuation char (\). Large buffers now use 
2336 line-
2337 continuation character(s) and no colon on the continuation lines. See the 
2338 grammar 
2339 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
2340 Moore.
2341
2342 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
2343 statements. 
2344 Since the parser stuffs a "zero" as the return value for these statements 
2345 (due 
2346 to 
2347 the underlying AML grammar), they were seen as "return with value" by the 
2348 iASL 
2349 semantic checking. They are now seen correctly as "null" return 
2350 statements.
2351
2352 iASL: Check if a_REG declaration has a corresponding Operation Region. 
2353 Adds a 
2354 check for each _REG to ensure that there is in fact a corresponding 
2355 operation 
2356 region declaration in the same scope. If not, the _REG method is not very 
2357 useful 
2358 since it probably won't be executed. ACPICA BZ 915.
2359
2360 iASL/DTC: Finish support for expression evaluation. Added a new 
2361 expression 
2362 parser 
2363 that implements c-style operator precedence and parenthesization. ACPICA 
2364 bugzilla 
2365 908.
2366
2367 Disassembler/DTC: Remove support for () and <> style comments in data 
2368 tables. 
2369 Now 
2370 that DTC has full expression support, we don't want to have comment 
2371 strings 
2372 that 
2373 start with a parentheses or a less-than symbol. Now, only the standard /* 
2374 and 
2375 // 
2376 comments are supported, as well as the bracket [] comments.
2377
2378 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
2379 "unusual" 
2380 headers in the acpidump file. Update the header validation to support 
2381 these 
2382 tables. Problem introduced in previous AcpiXtract version in the change 
2383 to 
2384 support "wrong checksum" error messages emitted by acpidump utility.
2385
2386 iASL: Add a * option to generate all template files (as a synonym for 
2387 ALL) 
2388 as 
2389 in 
2390 "iasl -T *" or "iasl -T ALL".
2391
2392 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
2393 completely 
2394 abort the compiler on "fatal" errors, simply should abort the current 
2395 compile. 
2396 This allows multiple compiles with a single (possibly wildcard) compiler 
2397 invocation.
2398
2399 ----------------------------------------
2400 16 March 2011. Summary of changes for version 20110316:
2401
2402 1) ACPI CA Core Subsystem:
2403
2404 Fixed a problem caused by a _PRW method appearing at the namespace root 
2405 scope 
2406 during the setup of wake GPEs. A fault could occur if a _PRW directly 
2407 under 
2408 the 
2409 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
2410
2411 Implemented support for "spurious" Global Lock interrupts. On some 
2412 systems, a 
2413 global lock interrupt can occur without the pending flag being set. Upon 
2414
2415 GL 
2416 interrupt, we now ensure that a thread is actually waiting for the lock 
2417 before 
2418 signaling GL availability. Rafael Wysocki, Bob Moore.
2419
2420 Example Code and Data Size: These are the sizes for the OS-independent 
2421 acpica.lib 
2422 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
2423 version of 
2424 the code includes the debug output trace mechanism and has a much larger 
2425 code 
2426 and 
2427 data size.
2428
2429   Previous Release (VC 9.0):
2430     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2431     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2432   Current Release (VC 9.0):
2433     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
2434     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
2435
2436 2) iASL Compiler/Disassembler and Tools:
2437
2438 Implemented full support for the "SLIC" ACPI table. Includes support in 
2439 the 
2440 header files, disassembler, table compiler, and template generator. Bob 
2441 Moore, 
2442 Lin Ming.
2443
2444 AcpiXtract: Correctly handle embedded comments and messages from 
2445 AcpiDump. 
2446 Apparently some or all versions of acpidump will occasionally emit a 
2447 comment 
2448 like 
2449 "Wrong checksum", etc., into the dump file. This was causing problems for 
2450 AcpiXtract. ACPICA BZ 905.
2451
2452 iASL: Fix the Linux makefile by removing an inadvertent double file 
2453 inclusion. 
2454 ACPICA BZ 913.
2455
2456 AcpiExec: Update installation of operation region handlers. Install one 
2457 handler 
2458 for a user-defined address space. This is used by the ASL test suite 
2459 (ASLTS).
2460
2461 ----------------------------------------
2462 11 February 2011. Summary of changes for version 20110211:
2463
2464 1) ACPI CA Core Subsystem:
2465
2466 Added a mechanism to defer _REG methods for some early-installed 
2467 handlers. 
2468 Most user handlers should be installed before call to 
2469 AcpiEnableSubsystem. 
2470 However, Event handlers and region handlers should be installed after 
2471 AcpiInitializeObjects. Override handlers for the "default" regions should 
2472 be 
2473 installed early, however. This change executes all _REG methods for the 
2474 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
2475 chicken/egg issues between them. ACPICA BZ 848.
2476
2477 Implemented an optimization for GPE detection. This optimization will 
2478 simply 
2479 ignore GPE registers that contain no enabled GPEs -- there is no need to 
2480 read the register since this information is available internally. This 
2481 becomes more important on machines with a large GPE space. ACPICA 
2482 bugzilla 
2483 884. Lin Ming. Suggestion from Joe Liu.
2484
2485 Removed all use of the highly unreliable FADT revision field. The 
2486 revision 
2487 number in the FADT has been found to be completely unreliable and cannot 
2488 be 
2489 trusted. Only the actual table length can be used to infer the version. 
2490 This 
2491 change updates the ACPICA core and the disassembler so that both no 
2492 longer 
2493 even look at the FADT version and instead depend solely upon the FADT 
2494 length.
2495
2496 Fix an unresolved name issue for the no-debug and no-error-message source 
2497 generation cases. The _AcpiModuleName was left undefined in these cases, 
2498 but 
2499 it is actually needed as a parameter to some interfaces. Define 
2500 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
2501
2502 Split several large files (makefiles and project files updated)
2503   utglobal.c   -> utdecode.c
2504   dbcomds.c    -> dbmethod.c dbnames.c
2505   dsopcode.c   -> dsargs.c dscontrol.c
2506   dsload.c     -> dsload2.c
2507   aslanalyze.c -> aslbtypes.c aslwalks.c
2508
2509 Example Code and Data Size: These are the sizes for the OS-independent 
2510 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2511 debug version of the code includes the debug output trace mechanism and 
2512 has 
2513 a much larger code and data size.
2514
2515   Previous Release (VC 9.0):
2516     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2517     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2518   Current Release (VC 9.0):
2519     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2520     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2521
2522 2) iASL Compiler/Disassembler and Tools:
2523
2524 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
2525 These are useful C-style macros with the standard definitions. ACPICA 
2526 bugzilla 898.
2527
2528 iASL/DTC: Added support for integer expressions and labels. Support for 
2529 full 
2530 expressions for all integer fields in all ACPI tables. Support for labels 
2531 in 
2532 "generic" portions of tables such as UEFI. See the iASL reference manual.
2533
2534 Debugger: Added a command to display the status of global handlers. The 
2535 "handlers" command will display op region, fixed event, and miscellaneous 
2536 global handlers. installation status -- and for op regions, whether 
2537 default 
2538 or user-installed handler will be used.
2539
2540 iASL: Warn if reserved method incorrectly returns a value. Many 
2541 predefined 
2542 names are defined such that they do not return a value. If implemented as 
2543
2544 method, issue a warning if such a name explicitly returns a value. ACPICA 
2545 Bugzilla 855.
2546
2547 iASL: Added detection of GPE method name conflicts. Detects a conflict 
2548 where 
2549 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
2550 (For 
2551 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
2552
2553 iASL/DTC: Fixed a couple input scanner issues with comments and line 
2554 numbers. Comment remover could get confused and miss a comment ending. 
2555 Fixed 
2556 a problem with line counter maintenance.
2557
2558 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
2559 is 
2560 no need to abort on simple errors within a field definition.
2561
2562 Debugger: Simplified the output of the help command. All help output now 
2563 in 
2564 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
2565
2566 ----------------------------------------
2567 12 January 2011. Summary of changes for version 20110112:
2568
2569 1) ACPI CA Core Subsystem:
2570
2571 Fixed a race condition between method execution and namespace walks that 
2572 can 
2573 possibly cause a fault. The problem was apparently introduced in version 
2574 20100528 as a result of a performance optimization that reduces the 
2575 number 
2576 of 
2577 namespace walks upon method exit by using the delete_namespace_subtree 
2578 function instead of the delete_namespace_by_owner function used 
2579 previously. 
2580 Bug is a missing namespace lock in the delete_namespace_subtree function. 
2581 dana.myers@oracle.com
2582
2583 Fixed several issues and a possible fault with the automatic "serialized" 
2584 method support. History: This support changes a method to "serialized" on 
2585 the 
2586 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
2587 possibility that it cannot handle reentrancy. This fix repairs a couple 
2588 of 
2589 issues seen in the field, especially on machines with many cores:
2590
2591     1) Delete method children only upon the exit of the last thread,
2592        so as to not delete objects out from under other running threads
2593       (and possibly causing a fault.)
2594     2) Set the "serialized" bit for the method only upon the exit of the
2595        Last thread, so as to not cause deadlock when running threads
2596        attempt to exit.
2597     3) Cleanup the use of the AML "MethodFlags" and internal method flags
2598        so that there is no longer any confusion between the two.
2599
2600     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
2601
2602 Debugger: Now lock the namespace for duration of a namespace dump. 
2603 Prevents 
2604 issues if the namespace is changing dynamically underneath the debugger. 
2605 Especially affects temporary namespace nodes, since the debugger displays 
2606 these also.
2607
2608 Updated the ordering of include files. The ACPICA headers should appear 
2609 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
2610 set 
2611 any necessary compiler-specific defines, etc. Affects the ACPI-related 
2612 tools 
2613 and utilities.
2614
2615 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
2616 copyright 
2617 to all module headers and signons, including the Linux header. This 
2618 affects 
2619 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
2620 utilities.
2621
2622 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
2623 project files for VC++ 6.0 are now obsolete. New project files can be 
2624 found 
2625 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
2626 details.
2627
2628 Example Code and Data Size: These are the sizes for the OS-independent 
2629 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2630 debug version of the code includes the debug output trace mechanism and 
2631 has a 
2632 much larger code and data size.
2633
2634   Previous Release (VC 6.0):
2635     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
2636     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
2637   Current Release (VC 9.0):
2638     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
2639     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
2640
2641 2) iASL Compiler/Disassembler and Tools:
2642
2643 iASL: Added generic data types to the Data Table compiler. Add "generic" 
2644 data 
2645 types such as UINT32, String, Unicode, etc., to simplify the generation 
2646 of 
2647 platform-defined tables such as UEFI. Lin Ming.
2648
2649 iASL: Added listing support for the Data Table Compiler. Adds listing 
2650 support 
2651 (-l) to display actual binary output for each line of input code.
2652
2653 ----------------------------------------
2654 09 December 2010. Summary of changes for version 20101209:
2655
2656 1) ACPI CA Core Subsystem:
2657
2658 Completed the major overhaul of the GPE support code that was begun in 
2659 July 
2660 2010. Major features include: removal of _PRW execution in ACPICA (host 
2661 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
2662 changes to existing interfaces, simplification of GPE handler operation, 
2663 and 
2664 a handful of new interfaces:
2665
2666     AcpiUpdateAllGpes
2667     AcpiFinishGpe
2668     AcpiSetupGpeForWake
2669     AcpiSetGpeWakeMask
2670     One new file, evxfgpe.c to consolidate all external GPE interfaces.
2671
2672 See the ACPICA Programmer Reference for full details and programming 
2673 information. See the new section 4.4 "General Purpose Event (GPE) 
2674 Support" 
2675 for a full overview, and section 8.7 "ACPI General Purpose Event 
2676 Management" 
2677 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
2678 Ming, 
2679 Bob Moore, Rafael Wysocki.
2680
2681 Implemented a new GPE feature for Windows compatibility, the "Implicit 
2682 Wake 
2683 GPE Notify". This feature will automatically issue a Notify(2) on a 
2684 device 
2685 when a Wake GPE is received if there is no corresponding GPE method or 
2686 handler. ACPICA BZ 870.
2687
2688 Fixed a problem with the Scope() operator during table parse and load 
2689 phase. 
2690 During load phase (table load or method execution), the scope operator 
2691 should 
2692 not enter the target into the namespace. Instead, it should open a new 
2693 scope 
2694 at the target location. Linux BZ 19462, ACPICA BZ 882.
2695
2696 Example Code and Data Size: These are the sizes for the OS-independent 
2697 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2698 debug version of the code includes the debug output trace mechanism and 
2699 has a 
2700 much larger code and data size.
2701
2702   Previous Release:
2703     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
2704     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
2705   Current Release:
2706     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2707     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2708
2709 2) iASL Compiler/Disassembler and Tools:
2710
2711 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
2712 are 
2713 "bus-specific" per the ACPI specification, and therefore any characters 
2714 are 
2715 acceptable. The only checks that can be performed are for a null string 
2716 and 
2717 perhaps for a leading asterisk. ACPICA BZ 886.
2718
2719 iASL: Fixed a problem where a syntax error that caused a premature EOF 
2720 condition on the source file emitted a very confusing error message. The 
2721 premature EOF is now detected correctly. ACPICA BZ 891.
2722
2723 Disassembler: Decode the AccessSize within a Generic Address Structure 
2724 (byte 
2725 access, word access, etc.) Note, this field does not allow arbitrary bit 
2726 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
2727
2728 New: AcpiNames utility - Example namespace dump utility. Shows an example 
2729 of 
2730 ACPICA configuration for a minimal namespace dump utility. Uses table and 
2731 namespace managers, but no AML interpreter. Does not add any 
2732 functionality 
2733 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
2734 partition and configure ACPICA. ACPICA BZ 883.
2735
2736 AML Debugger: Increased the debugger buffer size for method return 
2737 objects. 
2738 Was 4K, increased to 16K. Also enhanced error messages for debugger 
2739 method 
2740 execution, including the buffer overflow case.
2741
2742 ----------------------------------------
2743 13 October 2010. Summary of changes for version 20101013:
2744
2745 1) ACPI CA Core Subsystem:
2746
2747 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
2748 now 
2749 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
2750 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
2751
2752 Changed the type of the predefined namespace object _TZ from ThermalZone 
2753 to 
2754 Device. This was found to be confusing to the host software that 
2755 processes 
2756 the various thermal zones, since _TZ is not really a ThermalZone. 
2757 However, 
2758
2759 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
2760 Zhang.
2761
2762 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
2763 string is "Windows 2006 SP2".
2764
2765 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
2766 nsrepair 
2767 code automatically repairs _HID-related strings, this type of code is no 
2768 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
2769 878.
2770
2771 Example Code and Data Size: These are the sizes for the OS-independent 
2772 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2773 debug version of the code includes the debug output trace mechanism and 
2774 has a 
2775 much larger code and data size.
2776
2777   Previous Release:
2778     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2779     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2780   Current Release:
2781     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2782     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2783
2784 2) iASL Compiler/Disassembler and Tools:
2785
2786 iASL: Implemented additional compile-time validation for _HID strings. 
2787 The 
2788 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
2789 length 
2790 of 
2791 the string must be exactly seven or eight characters. For both _HID and 
2792 _CID 
2793 strings, all characters must be alphanumeric. ACPICA BZ 874.
2794
2795 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
2796 descriptors that are mostly or all zeros, with the expectation that they 
2797 will 
2798 be filled in at runtime. iASL now allows this as long as there is a 
2799 "resource 
2800 tag" (name) associated with the descriptor, which gives the ASL a handle 
2801 needed to modify the descriptor. ACPICA BZ 873.
2802
2803 Added single-thread support to the generic Unix application OSL. 
2804 Primarily 
2805 for iASL support, this change removes the use of semaphores in the 
2806 single-
2807 threaded ACPICA tools/applications - increasing performance. The 
2808 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
2809 option. ACPICA BZ 879.
2810
2811 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
2812 support 
2813 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
2814
2815 iASL: Moved all compiler messages to a new file, aslmessages.h.
2816
2817 ----------------------------------------
2818 15 September 2010. Summary of changes for version 20100915:
2819
2820 1) ACPI CA Core Subsystem:
2821
2822 Removed the AcpiOsDerivePciId OSL interface. The various host 
2823 implementations 
2824 of this function were not OS-dependent and are now obsolete and can be 
2825 removed from all host OSLs. This function has been replaced by 
2826 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
2827 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
2828 module, hwpci.c. ACPICA BZ 857.
2829
2830 Implemented a dynamic repair for _HID and _CID strings. The following 
2831 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
2832 string, and 2) the entire string is uppercased. Both repairs are in 
2833 accordance with the ACPI specification and will simplify host driver 
2834 code. 
2835 ACPICA BZ 871.
2836
2837 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
2838 always UINT64. This simplifies the ACPICA code, especially any printf 
2839 output. 
2840 UINT64 is the only common data type for all thread_id types across all 
2841 operating systems. It is now up to the host OSL to cast the native 
2842 thread_id 
2843 type to UINT64 before returning the value to ACPICA (via 
2844 AcpiOsGetThreadId). 
2845 Lin Ming, Bob Moore.
2846
2847 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
2848 "inline" 
2849 keyword is not standard across compilers, and this type allows inline to 
2850 be 
2851 configured on a per-compiler basis. Lin Ming.
2852
2853 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
2854 available. 
2855 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
2856 value 
2857 during suspend/restore operations. ACPICA BZ 869.
2858
2859 All code that implements error/warning messages with the "ACPI:" prefix 
2860 has 
2861 been moved to a new module, utxferror.c.
2862
2863 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
2864 it 
2865 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
2866
2867 Example Code and Data Size: These are the sizes for the OS-independent 
2868 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2869 debug version of the code includes the debug output trace mechanism and 
2870 has a 
2871 much larger code and data size.
2872
2873   Previous 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   Current Release:
2877     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
2878     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
2879
2880 2) iASL Compiler/Disassembler and Tools:
2881
2882 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
2883 file. 
2884 This keeps the output files free of random error messages that may 
2885 originate 
2886 from within the namespace/interpreter code. Used this opportunity to 
2887 merge 
2888 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
2889 866. Lin Ming, Bob Moore.
2890
2891 Tools: update some printfs for ansi warnings on size_t. Handle width 
2892 change 
2893 of size_t on 32-bit versus 64-bit generations. Lin Ming.
2894
2895 ----------------------------------------
2896 06 August 2010. Summary of changes for version 20100806:
2897
2898 1) ACPI CA Core Subsystem:
2899
2900 Designed and implemented a new host interface to the _OSI support code. 
2901 This 
2902 will allow the host to dynamically add or remove multiple _OSI strings, 
2903 as 
2904 well as install an optional handler that is called for each _OSI 
2905 invocation. 
2906 Also added a new AML debugger command, 'osi' to display and modify the 
2907 global 
2908 _OSI string table, and test support in the AcpiExec utility. See the 
2909 ACPICA 
2910 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
2911 New Functions:
2912     AcpiInstallInterface - Add an _OSI string.
2913     AcpiRemoveInterface - Delete an _OSI string.
2914     AcpiInstallInterfaceHandler - Install optional _OSI handler.
2915 Obsolete Functions:
2916     AcpiOsValidateInterface - no longer used.
2917 New Files:
2918     source/components/utilities/utosi.c
2919
2920 Re-introduced the support to enable multi-byte transfers for Embedded 
2921 Controller (EC) operation regions. A reported problem was found to be a 
2922 bug 
2923 in the host OS, not in the multi-byte support. Previously, the maximum 
2924 data 
2925 size passed to the EC operation region handler was a single byte. There 
2926 are 
2927 often EC Fields larger than one byte that need to be transferred, and it 
2928 is 
2929 useful for the EC driver to lock these as a single transaction. This 
2930 change 
2931 enables single transfers larger than 8 bits. This effectively changes the 
2932 access to the EC space from ByteAcc to AnyAcc, and will probably require 
2933 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
2934 bit 
2935 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
2936
2937 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
2938 prototype in acpiosxf.h had the output value pointer as a (void *).
2939 It should be a (UINT64 *). This may affect some host OSL code.
2940
2941 Fixed a couple problems with the recently modified Linux makefiles for 
2942 iASL 
2943 and AcpiExec. These new makefiles place the generated object files in the 
2944 local directory so that there can be no collisions between the files that 
2945 are 
2946 shared between them that are compiled with different options.
2947
2948 Example Code and Data Size: These are the sizes for the OS-independent 
2949 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
2950 debug version of the code includes the debug output trace mechanism and 
2951 has a 
2952 much larger code and data size.
2953
2954   Previous Release:
2955     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
2956     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
2957   Current Release:
2958     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
2959     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
2960
2961 2) iASL Compiler/Disassembler and Tools:
2962
2963 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
2964 the 
2965 namespace from and disassemble an entire group of AML files. Useful for 
2966 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
2967 and 
2968 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
2969
2970 iASL: Allow multiple invocations of -e option. This change allows 
2971 multiple 
2972 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
2973 834. 
2974 Lin Ming.
2975
2976 ----------------------------------------
2977 02 July 2010. Summary of changes for version 20100702:
2978
2979 1) ACPI CA Core Subsystem:
2980
2981 Implemented several updates to the recently added GPE reference count 
2982 support. The model for "wake" GPEs is changing to give the host OS 
2983 complete 
2984 control of these GPEs. Eventually, the ACPICA core will not execute any 
2985 _PRW 
2986 methods, since the host already must execute them. Also, additional 
2987 changes 
2988 were made to help ensure that the reference counts are kept in proper 
2989 synchronization with reality. Rafael J. Wysocki.
2990
2991 1) Ensure that GPEs are not enabled twice during initialization.
2992 2) Ensure that GPE enable masks stay in sync with the reference count.
2993 3) Do not inadvertently enable GPEs when writing GPE registers.
2994 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
2995 interface. This interface will set or clear individual GPEs for wakeup.
2996 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
2997 interfaces 
2998 are now used for "runtime" GPEs only.
2999
3000 Changed the behavior of the GPE install/remove handler interfaces. The 
3001 GPE 
3002 is 
3003 no longer disabled during this process, as it was found to cause problems 
3004 on 
3005 some machines. Rafael J. Wysocki.
3006
3007 Reverted a change introduced in version 20100528 to enable Embedded 
3008 Controller multi-byte transfers. This change was found to cause problems 
3009 with 
3010 Index Fields and possibly Bank Fields. It will be reintroduced when these 
3011 problems have been resolved.
3012
3013 Fixed a problem with references to Alias objects within Package Objects. 
3014
3015 reference to an Alias within the definition of a Package was not always 
3016 resolved properly. Aliases to objects like Processors, Thermal zones, 
3017 etc. 
3018 were resolved to the actual object instead of a reference to the object 
3019 as 
3020 it 
3021 should be. Package objects are only allowed to contain integer, string, 
3022 buffer, package, and reference objects. Redhat bugzilla 608648.
3023
3024 Example Code and Data Size: These are the sizes for the OS-independent 
3025 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3026 debug version of the code includes the debug output trace mechanism and 
3027 has a 
3028 much larger code and data size.
3029
3030   Previous Release:
3031     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
3032     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
3033   Current Release:
3034     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
3035     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
3036
3037 2) iASL Compiler/Disassembler and Tools:
3038
3039 iASL: Implemented a new compiler subsystem to allow definition and 
3040 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
3041 These 
3042 are called "ACPI Data Tables", and the new compiler is the "Data Table 
3043 Compiler". This compiler is intended to simplify the existing error-prone 
3044 process of creating these tables for the BIOS, as well as allowing the 
3045 disassembly, modification, recompilation, and override of existing ACPI 
3046 data 
3047 tables. See the iASL User Guide for detailed information.
3048
3049 iASL: Implemented a new Template Generator option in support of the new 
3050 Data 
3051 Table Compiler. This option will create examples of all known ACPI tables 
3052 that can be used as the basis for table development. See the iASL 
3053 documentation and the -T option.
3054
3055 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
3056 Descriptor Table).
3057
3058 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
3059 object files in the local directory so that there can be no collisions 
3060 between the shared files between them that are generated with different 
3061 options.
3062
3063 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
3064 Use 
3065 the #define __APPLE__ to enable this support.
3066
3067 ----------------------------------------
3068 28 May 2010. Summary of changes for version 20100528:
3069
3070 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
3071 available at www.acpi.info. This is primarily an errata release.
3072
3073 1) ACPI CA Core Subsystem:
3074
3075 Undefined ACPI tables: We are looking for the definitions for the 
3076 following 
3077 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
3078
3079 Implemented support to enable multi-byte transfers for Embedded 
3080 Controller 
3081 (EC) operation regions. Previously, the maximum data size passed to the 
3082 EC 
3083 operation region handler was a single byte. There are often EC Fields 
3084 larger 
3085 than one byte that need to be transferred, and it is useful for the EC 
3086 driver 
3087 to lock these as a single transaction. This change enables single 
3088 transfers 
3089 larger than 8 bits. This effectively changes the access to the EC space 
3090 from 
3091 ByteAcc to AnyAcc, and will probably require changes to the host OS 
3092 Embedded 
3093 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
3094 bit 
3095 transfers. Alexey Starikovskiy, Lin Ming
3096
3097 Implemented a performance enhancement for namespace search and access. 
3098 This 
3099 change enhances the performance of namespace searches and walks by adding 
3100
3101 backpointer to the parent in each namespace node. On large namespaces, 
3102 this 
3103 change can improve overall ACPI performance by up to 9X. Adding a pointer 
3104 to 
3105 each namespace node increases the overall size of the internal namespace 
3106 by 
3107 about 5%, since each namespace entry usually consists of both a namespace 
3108 node and an ACPI operand object. However, this is the first growth of the 
3109 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
3110
3111 Implemented a performance optimization that reduces the number of 
3112 namespace 
3113 walks. On control method exit, only walk the namespace if the method is 
3114 known 
3115 to have created namespace objects outside of its local scope. Previously, 
3116 the 
3117 entire namespace was traversed on each control method exit. This change 
3118 can 
3119 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
3120 Moore.
3121
3122 Added support to truncate I/O addresses to 16 bits for Windows 
3123 compatibility. 
3124 Some ASL code has been seen in the field that inadvertently has bits set 
3125 above bit 15. This feature is optional and is enabled if the BIOS 
3126 requests 
3127 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
3128 Garrett, Bob Moore.
3129
3130 Added support to limit the maximum time for the ASL Sleep() operator. To 
3131 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
3132 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
3133 bugzilla 854.
3134
3135 Added run-time validation support for the _WDG and_WED Microsoft 
3136 predefined 
3137 methods. These objects are defined by "Windows Instrumentation", and are 
3138 not 
3139 part of the ACPI spec. ACPICA BZ 860.
3140
3141 Expanded all statistic counters used during namespace and device 
3142 initialization from 16 to 32 bits in order to support very large 
3143 namespaces.
3144
3145 Replaced all instances of %d in printf format specifiers with %u since 
3146 nearly 
3147 all integers in ACPICA are unsigned.
3148
3149 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
3150 returned 
3151 as AE_NO_HANDLER.
3152
3153 Example Code and Data Size: These are the sizes for the OS-independent 
3154 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3155 debug version of the code includes the debug output trace mechanism and 
3156 has a 
3157 much larger code and data size.
3158
3159   Previous Release:
3160     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
3161     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
3162   Current Release:
3163     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
3164     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
3165
3166 2) iASL Compiler/Disassembler and Tools:
3167
3168 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
3169 methods. These objects are defined by "Windows Instrumentation", and are 
3170 not 
3171 part of the ACPI spec. ACPICA BZ 860.
3172
3173 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
3174 option will disable the tracking mechanism, which improves performance 
3175 considerably.
3176
3177 AcpiExec: Restructured the command line options into -d (disable) and -e 
3178 (enable) options.
3179
3180 ----------------------------------------
3181 28 April 2010. Summary of changes for version 20100428:
3182
3183 1) ACPI CA Core Subsystem:
3184
3185 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
3186 including FADT-based and GPE Block Devices, execute any _PRW methods in 
3187 the 
3188 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
3189 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
3190 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
3191 Devices. Provides compatibility with other ACPI implementations. Two new 
3192 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
3193 Moore.
3194
3195 Fixed a regression introduced in version 20100331 within the table 
3196 manager 
3197 where initial table loading could fail. This was introduced in the fix 
3198 for 
3199 AcpiReallocateRootTable. Also, renamed some of fields in the table 
3200 manager 
3201 data structures to clarify their meaning and use.
3202
3203 Fixed a possible allocation overrun during internal object copy in 
3204 AcpiUtCopySimpleObject. The original code did not correctly handle the 
3205 case 
3206 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
3207 847.
3208
3209 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
3210 possible access beyond end-of-allocation. Also, now fully validate 
3211 descriptor 
3212 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
3213
3214 Example Code and Data Size: These are the sizes for the OS-independent 
3215 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3216 debug version of the code includes the debug output trace mechanism and 
3217 has a 
3218 much larger code and data size.
3219
3220   Previous Release:
3221     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
3222     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
3223   Current Release:
3224     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
3225     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
3226
3227 2) iASL Compiler/Disassembler and Tools:
3228
3229 iASL: Implemented Min/Max/Len/Gran validation for address resource 
3230 descriptors. This change implements validation for the address fields 
3231 that 
3232 are common to all address-type resource descriptors. These checks are 
3233 implemented: Checks for valid Min/Max, length within the Min/Max window, 
3234 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
3235 per 
3236 table 6-40 in the ACPI 4.0a specification. Also split the large 
3237 aslrestype1.c 
3238 and aslrestype2.c files into five new files. ACPICA BZ 840.
3239
3240 iASL: Added support for the _Wxx predefined names. This support was 
3241 missing 
3242 and these names were not recognized by the compiler as valid predefined 
3243 names. ACPICA BZ 851.
3244
3245 iASL: Added an error for all predefined names that are defined to return 
3246 no 
3247 value and thus must be implemented as Control Methods. These include all 
3248 of 
3249 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
3250 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
3251
3252 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
3253 an 
3254 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
3255 be 
3256 dynamically loaded via the Load() operator. Also cleaned up output for 
3257 the 
3258 -
3259 ta and -tc options. ACPICA BZ 853.
3260
3261 Tests: Added a new file with examples of extended iASL error checking. 
3262 Demonstrates the advanced error checking ability of the iASL compiler. 
3263 Available at tests/misc/badcode.asl.
3264
3265 ----------------------------------------
3266 31 March 2010. Summary of changes for version 20100331:
3267
3268 1) ACPI CA Core Subsystem:
3269
3270 Completed a major update for the GPE support in order to improve support 
3271 for 
3272 shared GPEs and to simplify both host OS and ACPICA code. Added a 
3273 reference 
3274 count mechanism to support shared GPEs that require multiple device 
3275 drivers. 
3276 Several external interfaces have changed. One external interface has been 
3277 removed. One new external interface was added. Most of the GPE external 
3278 interfaces now use the GPE spinlock instead of the events mutex (and the 
3279 Flags parameter for many GPE interfaces has been removed.) See the 
3280 updated 
3281 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
3282 Rafael 
3283 Wysocki. ACPICA BZ 831.
3284
3285 Changed:
3286     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
3287 Removed:
3288     AcpiSetGpeType
3289 New:
3290     AcpiSetGpe
3291
3292 Implemented write support for DataTable operation regions. These regions 
3293 are 
3294 defined via the DataTableRegion() operator. Previously, only read support 
3295 was 
3296 implemented. The ACPI specification allows DataTableRegions to be 
3297 read/write, 
3298 however.
3299
3300 Implemented a new subsystem option to force a copy of the DSDT to local 
3301 memory. Optionally copy the entire DSDT to local memory (instead of 
3302 simply 
3303 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
3304 replace 
3305 the original DSDT, creating the need for this option. Default is FALSE, 
3306 do 
3307 not copy the DSDT.
3308
3309 Implemented detection of a corrupted or replaced DSDT. This change adds 
3310 support to detect a DSDT that has been corrupted and/or replaced from 
3311 outside 
3312 the OS (by firmware). This is typically catastrophic for the system, but 
3313 has 
3314 been seen on some machines. Once this problem has been detected, the DSDT 
3315 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
3316
3317 Fixed two problems with AcpiReallocateRootTable during the root table 
3318 copy. 
3319 When copying the root table to the new allocation, the length used was 
3320 incorrect. The new size was used instead of the current table size, 
3321 meaning 
3322 too much data was copied. Also, the count of available slots for ACPI 
3323 tables 
3324 was not set correctly. Alexey Starikovskiy, Bob Moore.
3325
3326 Example Code and Data Size: These are the sizes for the OS-independent 
3327 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3328 debug version of the code includes the debug output trace mechanism and 
3329 has a 
3330 much larger code and data size.
3331
3332   Previous Release:
3333     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
3334     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
3335   Current Release:
3336     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
3337     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
3338
3339 2) iASL Compiler/Disassembler and Tools:
3340
3341 iASL: Implement limited typechecking for values returned from predefined 
3342 control methods. The type of any returned static (unnamed) object is now 
3343 validated. For example, Return(1). ACPICA BZ 786.
3344
3345 iASL: Fixed a predefined name object verification regression. Fixes a 
3346 problem 
3347 introduced in version 20100304. An error is incorrectly generated if a 
3348 predefined name is declared as a static named object with a value defined 
3349 using the keywords "Zero", "One", or "Ones". Lin Ming.
3350
3351 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
3352 by 
3353 reducing the requested registry access rights. ACPICA BZ 842.
3354
3355 Disassembler: fixed a possible fault when generating External() 
3356 statements. 
3357 Introduced in commit ae7d6fd: Properly handle externals with parent-
3358 prefix 
3359 (carat). Fixes a string length allocation calculation. Lin Ming.
3360
3361 ----------------------------------------
3362 04 March 2010. Summary of changes for version 20100304:
3363
3364 1) ACPI CA Core Subsystem:
3365
3366 Fixed a possible problem with the AML Mutex handling function 
3367 AcpiExReleaseMutex where the function could fault under the very rare 
3368 condition when the interpreter has blocked, the interpreter lock is 
3369 released, 
3370 the interpreter is then reentered via the same thread, and attempts to 
3371 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
3372 Lin 
3373 Ming.
3374
3375 Implemented additional configuration support for the AML "Debug Object". 
3376 Output from the debug object can now be enabled via a global variable, 
3377 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
3378 debugging. 
3379 This debug output is now available in the release version of ACPICA 
3380 instead 
3381 of just the debug version. Also, the entire debug output module can now 
3382 be 
3383 configured out of the ACPICA build if desired. One new file added, 
3384 executer/exdebug.c. Lin Ming, Bob Moore.
3385
3386 Added header support for the ACPI MCHI table (Management Controller Host 
3387 Interface Table). This table was added in ACPI 4.0, but the defining 
3388 document 
3389 has only recently become available.
3390
3391 Standardized output of integer values for ACPICA warnings/errors. Always 
3392 use 
3393 0x prefix for hex output, always use %u for unsigned integer decimal 
3394 output. 
3395 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
3396 400 
3397 invocations.) These invocations were converted from the original 
3398 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
3399
3400 Example Code and Data Size: These are the sizes for the OS-independent 
3401 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3402 debug version of the code includes the debug output trace mechanism and 
3403 has a 
3404 much larger code and data size.
3405
3406   Previous Release:
3407     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
3408     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
3409   Current Release:
3410     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
3411     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
3412
3413 2) iASL Compiler/Disassembler and Tools:
3414
3415 iASL: Implemented typechecking support for static (non-control method) 
3416 predefined named objects that are declared with the Name() operator. For 
3417 example, the type of this object is now validated to be of type Integer: 
3418 Name(_BBN, 1). This change migrates the compiler to using the core 
3419 predefined 
3420 name table instead of maintaining a local version. Added a new file, 
3421 aslpredef.c. ACPICA BZ 832.
3422
3423 Disassembler: Added support for the ACPI 4.0 MCHI table.
3424
3425 ----------------------------------------
3426 21 January 2010. Summary of changes for version 20100121:
3427
3428 1) ACPI CA Core Subsystem:
3429
3430 Added the 2010 copyright to all module headers and signons. This affects 
3431 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
3432 tools/utilities, and the test suites.
3433
3434 Implemented a change to the AcpiGetDevices interface to eliminate 
3435 unnecessary 
3436 invocations of the _STA method. In the case where a specific _HID is 
3437 requested, do not run _STA until a _HID match is found. This eliminates 
3438 potentially dozens of _STA calls during a search for a particular 
3439 device/HID, 
3440 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
3441
3442 Implemented an additional repair for predefined method return values. 
3443 Attempt 
3444 to repair unexpected NULL elements within returned Package objects. 
3445 Create 
3446 an 
3447 Integer of value zero, a NULL String, or a zero-length Buffer as 
3448 appropriate. 
3449 ACPICA BZ 818. Lin Ming, Bob Moore.
3450
3451 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
3452 the 
3453 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
3454 (with 
3455 64-bit AML integers). It is now obsolete and this change removes it from 
3456 the 
3457 ACPICA code base, replaced by UINT64. The original typedef has been 
3458 retained 
3459 for now for compatibility with existing device driver code. ACPICA BZ 
3460 824.
3461
3462 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
3463 in 
3464 the parse tree object.
3465
3466 Added additional warning options for the gcc-4 generation. Updated the 
3467 source 
3468 accordingly. This includes some code restructuring to eliminate 
3469 unreachable 
3470 code, elimination of some gotos, elimination of unused return values, 
3471 some 
3472 additional casting, and removal of redundant declarations.
3473
3474 Example Code and Data Size: These are the sizes for the OS-independent 
3475 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3476 debug version of the code includes the debug output trace mechanism and 
3477 has a 
3478 much larger code and data size.
3479
3480   Previous Release:
3481     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
3482     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
3483   Current Release:
3484     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
3485     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
3486
3487 2) iASL Compiler/Disassembler and Tools:
3488
3489 No functional changes for this release.
3490
3491 ----------------------------------------
3492 14 December 2009. Summary of changes for version 20091214:
3493
3494 1) ACPI CA Core Subsystem:
3495
3496 Enhanced automatic data type conversions for predefined name repairs. 
3497 This 
3498 change expands the automatic repairs/conversions for predefined name 
3499 return 
3500 values to make Integers, Strings, and Buffers fully interchangeable. 
3501 Also, 
3502
3503 Buffer can be converted to a Package of Integers if necessary. The 
3504 nsrepair.c 
3505 module was completely restructured. Lin Ming, Bob Moore.
3506
3507 Implemented automatic removal of null package elements during predefined 
3508 name 
3509 repairs. This change will automatically remove embedded and trailing NULL 
3510 package elements from returned package objects that are defined to 
3511 contain 
3512
3513 variable number of sub-packages. The driver is then presented with a 
3514 package 
3515 with no null elements to deal with. ACPICA BZ 819.
3516
3517 Implemented a repair for the predefined _FDE and _GTM names. The expected 
3518 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
3519 two 
3520 possible problems (both seen in the field), where a package of integers 
3521 is 
3522 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
3523 Kim.
3524
3525 Implemented additional module-level code support. This change will 
3526 properly 
3527 execute module-level code that is not at the root of the namespace (under 
3528
3529 Device object, etc.). Now executes the code within the current scope 
3530 instead 
3531 of the root. ACPICA BZ 762. Lin Ming.
3532
3533 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
3534
3535 problem where mutex errors can occur when running a _REG method that is 
3536 in 
3537 the same scope as a method-defined operation region or an operation 
3538 region 
3539 under a module-level IF block. This type of code is rare, so the problem 
3540 has 
3541 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
3542
3543 Fixed a possible memory leak during module-level code execution. An 
3544 object 
3545 could be leaked for each block of executed module-level code if the 
3546 interpreter slack mode is enabled This change deletes any implicitly 
3547 returned 
3548 object from the module-level code block. Lin Ming.
3549
3550 Removed messages for successful predefined repair(s). The repair 
3551 mechanism 
3552 was considered too wordy. Now, messages are only unconditionally emitted 
3553 if 
3554 the return object cannot be repaired. Existing messages for successful 
3555 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
3556 827.
3557
3558 Example Code and Data Size: These are the sizes for the OS-independent 
3559 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3560 debug version of the code includes the debug output trace mechanism and 
3561 has a 
3562 much larger code and data size.
3563
3564   Previous Release:
3565     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
3566     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
3567   Current Release:
3568     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
3569     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
3570
3571 2) iASL Compiler/Disassembler and Tools:
3572
3573 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
3574 files 
3575 were no longer automatically removed at the termination of the compile.
3576
3577 acpiexec: Implemented the -f option to specify default region fill value. 
3578 This option specifies the value used to initialize buffers that simulate 
3579 operation regions. Default value is zero. Useful for debugging problems 
3580 that 
3581 depend on a specific initial value for a region or field.
3582
3583 ----------------------------------------
3584 12 November 2009. Summary of changes for version 20091112:
3585
3586 1) ACPI CA Core Subsystem:
3587
3588 Implemented a post-order callback to AcpiWalkNamespace. The existing 
3589 interface only has a pre-order callback. This change adds an additional 
3590 parameter for a post-order callback which will be more useful for bus 
3591 scans. 
3592 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
3593
3594 Modified the behavior of the operation region memory mapping cache for 
3595 SystemMemory. Ensure that the memory mappings created for operation 
3596 regions 
3597 do not cross 4K page boundaries. Crossing a page boundary while mapping 
3598 regions can cause kernel warnings on some hosts if the pages have 
3599 different 
3600 attributes. Such regions are probably BIOS bugs, and this is the 
3601 workaround. 
3602 Linux BZ 14445. Lin Ming.
3603
3604 Implemented an automatic repair for predefined methods that must return 
3605 sorted lists. This change will repair (by sorting) packages returned by 
3606 _ALR, 
3607 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
3608 sorted 
3609 and do not contain NULL package elements. Adds one new file, 
3610 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
3611
3612 Fixed a possible fault during predefined name validation if a return 
3613 Package 
3614 object contains NULL elements. Also adds a warning if a NULL element is 
3615 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
3616 may 
3617 include repair or removal of all such NULL elements where possible.
3618
3619 Implemented additional module-level executable AML code support. This 
3620 change 
3621 will execute module-level code that is not at the root of the namespace 
3622 (under a Device object, etc.) at table load time. Module-level executable 
3623 AML 
3624 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
3625
3626 Implemented a new internal function to create Integer objects. This 
3627 function 
3628 simplifies miscellaneous object creation code. ACPICA BZ 823.
3629
3630 Reduced the severity of predefined repair messages, Warning to Info. 
3631 Since 
3632 the object was successfully repaired, a warning is too severe. Reduced to 
3633 an 
3634 info message for now. These messages may eventually be changed to debug-
3635 only. 
3636 ACPICA BZ 812.
3637
3638 Example Code and Data Size: These are the sizes for the OS-independent 
3639 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3640 debug version of the code includes the debug output trace mechanism and 
3641 has a 
3642 much larger code and data size.
3643
3644   Previous Release:
3645     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
3646     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
3647   Current Release:
3648     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
3649     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
3650
3651 2) iASL Compiler/Disassembler and Tools:
3652
3653 iASL: Implemented Switch() with While(1) so that Break works correctly. 
3654 This 
3655 change correctly implements the Switch operator with a surrounding 
3656 While(1) 
3657 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
3658
3659 iASL: Added a message if a package initializer list is shorter than 
3660 package 
3661 length. Adds a new remark for a Package() declaration if an initializer 
3662 list 
3663 exists, but is shorter than the declared length of the package. Although 
3664 technically legal, this is probably a coding error and it is seen in the 
3665 field. ACPICA BZ 815. Lin Ming, Bob Moore.
3666
3667 iASL: Fixed a problem where the compiler could fault after the maximum 
3668 number 
3669 of errors was reached (200).
3670
3671 acpixtract: Fixed a possible warning for pointer cast if the compiler 
3672 warning 
3673 level set very high.
3674
3675 ----------------------------------------
3676 13 October 2009. Summary of changes for version 20091013:
3677
3678 1) ACPI CA Core Subsystem:
3679
3680 Fixed a problem where an Operation Region _REG method could be executed 
3681 more 
3682 than once. If a custom address space handler is installed by the host 
3683 before 
3684 the "initialize operation regions" phase of the ACPICA initialization, 
3685 any 
3686 _REG methods for that address space could be executed twice. This change 
3687 fixes the problem. ACPICA BZ 427. Lin Ming.
3688
3689 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
3690 invocation of "Scope(\)" is executed (change scope to root), one internal 
3691 operand object was leaked. Lin Ming.
3692
3693 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
3694 return value is defined as a Field object in the AML, and the field
3695 size is less than or equal to the default width of an integer (32 or 
3696 64),_MAT 
3697 can incorrectly return an Integer instead of a Buffer. ACPICA now 
3698 automatically repairs this problem. ACPICA BZ 810.
3699
3700 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
3701 The 
3702 "OEM Information" field is often incorrectly returned as an Integer with 
3703 value zero if the field is not supported by the platform. This is due to 
3704 an 
3705 ambiguity in the ACPI specification. The field should always be a string. 
3706 ACPICA now automatically repairs this problem by returning a NULL string 
3707 within the returned Package. ACPICA BZ 807.
3708
3709 Example Code and Data Size: These are the sizes for the OS-independent 
3710 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3711 debug version of the code includes the debug output trace mechanism and 
3712 has a 
3713 much larger code and data size.
3714
3715   Previous Release:
3716     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
3717     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
3718   Current Release:
3719     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
3720     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
3721
3722 2) iASL Compiler/Disassembler and Tools:
3723
3724 Disassembler: Fixed a problem where references to external symbols that 
3725 contained one or more parent-prefixes (carats) were not handled 
3726 correctly, 
3727 possibly causing a fault. ACPICA BZ 806. Lin Ming.
3728
3729 Disassembler: Restructured the code so that all functions that handle 
3730 external symbols are in a single module. One new file is added, 
3731 common/dmextern.c.
3732
3733 AML Debugger: Added a max count argument for the Batch command (which 
3734 executes multiple predefined methods within the namespace.)
3735
3736 iASL: Updated the compiler documentation (User Reference.) Available at 
3737 http://www.acpica.org/documentation/. ACPICA BZ 750.
3738
3739 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
3740 files.
3741
3742 ----------------------------------------
3743 03 September 2009. Summary of changes for version 20090903:
3744
3745 1) ACPI CA Core Subsystem:
3746
3747 For Windows Vista compatibility, added the automatic execution of an _INI 
3748 method located at the namespace root (\_INI). This method is executed at 
3749 table load time. This support is in addition to the automatic execution 
3750 of 
3751 \_SB._INI. Lin Ming.
3752
3753 Fixed a possible memory leak in the interpreter for AML package objects 
3754 if 
3755 the package initializer list is longer than the defined size of the 
3756 package. 
3757 This apparently can only happen if the BIOS changes the package size on 
3758 the 
3759 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
3760 interpreter will truncate the package to the defined size (and issue an 
3761 error 
3762 message), but previously could leave the extra objects undeleted if they 
3763 were 
3764 pre-created during the argument processing (such is the case if the 
3765 package 
3766 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
3767
3768 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
3769 This has been reported in the field. Previously, ACPICA would zero out 
3770 the 
3771 buffer/string. Now, the operation is treated as a noop. Provides Windows 
3772 compatibility. ACPICA BZ 803. Lin Ming.
3773
3774 Removed an extraneous error message for ASL constructs of the form 
3775 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
3776 statements 
3777 are seen in many BIOSs and are once again treated as NOOPs and no error 
3778 is 
3779 emitted when they are encountered. ACPICA BZ 785.
3780
3781 Fixed an extraneous warning message if a _DSM reserved method returns a 
3782 Package object. _DSM can return any type of object, so validation on the 
3783 return type cannot be performed. ACPICA BZ 802.
3784
3785 Example Code and Data Size: These are the sizes for the OS-independent 
3786 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3787 debug version of the code includes the debug output trace mechanism and 
3788 has a 
3789 much larger code and data size.
3790
3791   Previous Release:
3792     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3793     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3794   Current Release:
3795     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
3796     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
3797
3798 2) iASL Compiler/Disassembler and Tools:
3799
3800 iASL: Fixed a problem with the use of the Alias operator and Resource 
3801 Templates. The correct alias is now constructed and no error is emitted. 
3802 ACPICA BZ 738.
3803
3804 iASL: Implemented the -I option to specify additional search directories 
3805 for 
3806 include files. Allows multiple additional search paths for include files. 
3807 Directories are searched in the order specified on the command line 
3808 (after 
3809 the local directory is searched.) ACPICA BZ 800.
3810
3811 iASL: Fixed a problem where the full pathname for include files was not 
3812 emitted for warnings/errors. This caused the IDE support to not work 
3813 properly. ACPICA BZ 765.
3814
3815 iASL: Implemented the -@ option to specify a Windows-style response file 
3816 containing additional command line options. ACPICA BZ 801.
3817
3818 AcpiExec: Added support to load multiple AML files simultaneously (such 
3819 as 
3820
3821 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
3822 pathname. These features allow all machine tables to be easily loaded and 
3823 debugged together. ACPICA BZ 804.
3824
3825 Disassembler: Added missing support for disassembly of HEST table Error 
3826 Bank 
3827 subtables. 
3828
3829 ----------------------------------------
3830 30 July 2009. Summary of changes for version 20090730:
3831
3832 The ACPI 4.0 implementation for ACPICA is complete with this release.
3833
3834 1) ACPI CA Core Subsystem:
3835
3836 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
3837 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
3838 new 
3839 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
3840 BERT, 
3841 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
3842 There 
3843 have been some ACPI 4.0 changes to other existing tables. Split the large 
3844 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
3845
3846 ACPI 4.0: Implemented predefined name validation for all new names. There 
3847 are 
3848 31 new names in ACPI 4.0. The predefined validation module was split into 
3849 two 
3850 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
3851
3852 Implemented support for so-called "module-level executable code". This is 
3853 executable AML code that exists outside of any control method and is 
3854 intended 
3855 to be executed at table load time. Although illegal since ACPI 2.0, this 
3856 type 
3857 of code still exists and is apparently still being created. Blocks of 
3858 this 
3859 code are now detected and executed as intended. Currently, the code 
3860 blocks 
3861 must exist under either an If, Else, or While construct; these are the 
3862 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
3863
3864 Implemented an automatic dynamic repair for predefined names that return 
3865 nested Package objects. This applies to predefined names that are defined 
3866 to 
3867 return a variable-length Package of sub-packages. If the number of sub-
3868 packages is one, BIOS code is occasionally seen that creates a simple 
3869 single 
3870 package with no sub-packages. This code attempts to fix the problem by 
3871 wrapping a new package object around the existing package. These methods 
3872 can 
3873 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
3874 BZ 
3875 790.
3876
3877 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
3878 interface. 
3879 The _HID/_CID matching was broken and no longer matched IDs correctly. 
3880 ACPICA 
3881 BZ 793.
3882
3883 Fixed a problem with AcpiReset where the reset would silently fail if the 
3884 register was one of the protected I/O ports. AcpiReset now bypasses the 
3885 port 
3886 validation mechanism. This may eventually be driven into the 
3887 AcpiRead/Write 
3888 interfaces.
3889
3890 Fixed a regression related to the recent update of the AcpiRead/Write 
3891 interfaces. A sleep/suspend could fail if the optional PM2 Control 
3892 register 
3893 does not exist during an attempt to write the Bus Master Arbitration bit. 
3894 (However, some hosts already delete the code that writes this bit, and 
3895 the 
3896 code may in fact be obsolete at this date.) ACPICA BZ 799.
3897
3898 Fixed a problem where AcpiTerminate could fault if inadvertently called 
3899 twice 
3900 in succession. ACPICA BZ 795.
3901
3902 Example Code and Data Size: These are the sizes for the OS-independent 
3903 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3904 debug version of the code includes the debug output trace mechanism and 
3905 has a 
3906 much larger code and data size.
3907
3908   Previous Release:
3909     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
3910     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
3911   Current Release:
3912     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
3913     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
3914
3915 2) iASL Compiler/Disassembler and Tools:
3916
3917 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
3918 changes to existing tables. ACPICA BZ 775.
3919
3920 ----------------------------------------
3921 25 June 2009. Summary of changes for version 20090625:
3922
3923 The ACPI 4.0 Specification was released on June 16 and is available at 
3924 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
3925 continue for the next few releases.
3926
3927 1) ACPI CA Core Subsystem:
3928
3929 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
3930 address space. Includes support for bi-directional data buffers and an 
3931 IPMI 
3932 address space handler (to be installed by an IPMI device driver.) ACPICA 
3933 BZ 
3934 773. Lin Ming.
3935
3936 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
3937 Includes 
3938 support in both the header files and the disassembler.
3939
3940 Completed a major update for the AcpiGetObjectInfo external interface. 
3941 Changes include:
3942  - Support for variable, unlimited length HID, UID, and CID strings.
3943  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
3944 etc.)
3945  - Call the _SxW power methods on behalf of a device object.
3946  - Determine if a device is a PCI root bridge.
3947  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
3948 These changes will require an update to all callers of this interface. 
3949 See 
3950 the updated ACPICA Programmer Reference for details. One new source file 
3951 has 
3952 been added - utilities/utids.c. ACPICA BZ 368, 780.
3953
3954 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
3955 transfers. The Value parameter has been extended from 32 bits to 64 bits 
3956 in 
3957 order to support new ACPI 4.0 tables. These changes will require an 
3958 update 
3959 to 
3960 all callers of these interfaces. See the ACPICA Programmer Reference for 
3961 details. ACPICA BZ 768.
3962
3963 Fixed several problems with AcpiAttachData. The handler was not invoked 
3964 when 
3965 the host node was deleted. The data sub-object was not automatically 
3966 deleted 
3967 when the host node was deleted. The interface to the handler had an 
3968 unused 
3969 parameter, this was removed. ACPICA BZ 778.
3970
3971 Enhanced the function that dumps ACPI table headers. All non-printable 
3972 characters in the string fields are now replaced with '?' (Signature, 
3973 OemId, 
3974 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
3975 these fields are occasionally seen in the field. ACPICA BZ 788.
3976
3977 Fixed a problem with predefined method repair code where the code that 
3978 attempts to repair/convert an object of incorrect type is only executed 
3979 on 
3980 the first time the predefined method is called. The mechanism that 
3981 disables 
3982 warnings on subsequent calls was interfering with the repair mechanism. 
3983 ACPICA BZ 781.
3984
3985 Fixed a possible memory leak in the predefined validation/repair code 
3986 when 
3987
3988 buffer is automatically converted to an expected string object.
3989
3990 Removed obsolete 16-bit files from the distribution and from the current 
3991 git 
3992 tree head. ACPICA BZ 776.
3993
3994 Example Code and Data Size: These are the sizes for the OS-independent 
3995 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
3996 debug version of the code includes the debug output trace mechanism and 
3997 has a 
3998 much larger code and data size.
3999
4000   Previous Release:
4001     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
4002     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
4003   Current Release:
4004     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
4005     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
4006
4007 2) iASL Compiler/Disassembler and Tools:
4008
4009 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
4010 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
4011
4012 ACPI 4.0: iASL - implemented compile-time validation support for all new 
4013 predefined names and control methods (31 total). ACPICA BZ 769.
4014
4015 ----------------------------------------
4016 21 May 2009. Summary of changes for version 20090521:
4017
4018 1) ACPI CA Core Subsystem:
4019
4020 Disabled the preservation of the SCI enable bit in the PM1 control 
4021 register. 
4022 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
4023 to 
4024 be 
4025 a "preserved" bit - "OSPM always preserves this bit position", section 
4026 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
4027 because the bit needs to be explicitly set by the OS as a workaround. No 
4028 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
4029 attempts to preserve this bit.
4030
4031 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
4032 incorrectly formed _PRT package could cause a fault. Added validation to 
4033 ensure that each package element is actually a sub-package.
4034
4035 Implemented a new interface to install or override a single control 
4036 method, 
4037 AcpiInstallMethod. This interface is useful when debugging in order to 
4038 repair 
4039 an existing method or to install a missing method without having to 
4040 override 
4041 the entire ACPI table. See the ACPICA Programmer Reference for use and 
4042 examples. Lin Ming, Bob Moore.
4043
4044 Fixed several reference count issues with the DdbHandle object that is 
4045 created from a Load or LoadTable operator. Prevent premature deletion of 
4046 the 
4047 object. Also, mark the object as invalid once the table has been 
4048 unloaded. 
4049 This is needed because the handle itself may not be deleted after the 
4050 table 
4051 unload, depending on whether it has been stored in a named object by the 
4052 caller. Lin Ming.
4053
4054 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
4055 mutexes of the same sync level are acquired but then not released in 
4056 strict 
4057 opposite order, the internally maintained Current Sync Level becomes 
4058 confused 
4059 and can cause subsequent execution errors. ACPICA BZ 471.
4060
4061 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
4062 specification has been changed to make the SyncLevel for mutex objects 
4063 more 
4064 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
4065 the 
4066 same as the current sync level. This makes more sense than the previous 
4067 rule 
4068 (SyncLevel less than or equal). This change updates the code to match the 
4069 specification.
4070
4071 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
4072 The 
4073 (local) cache must be locked during all cache object deletions. Andrew 
4074 Baumann.
4075
4076 Updated the Load operator to use operation region interfaces. This 
4077 replaces 
4078 direct memory mapping with region access calls. Now, all region accesses 
4079 go 
4080 through the installed region handler as they should.
4081
4082 Simplified and optimized the NsGetNextNode function. Reduced parameter 
4083 count 
4084 and reduced code for this frequently used function.
4085
4086 Example Code and Data Size: These are the sizes for the OS-independent 
4087 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4088 debug version of the code includes the debug output trace mechanism and 
4089 has a 
4090 much larger code and data size.
4091
4092   Previous Release:
4093     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
4094     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
4095   Current Release:
4096     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
4097     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
4098
4099 2) iASL Compiler/Disassembler and Tools:
4100
4101 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
4102 problems 
4103 with sub-table disassembly and handling invalid sub-tables. Attempt 
4104 recovery 
4105 after an invalid sub-table ID.
4106
4107 ----------------------------------------
4108 22 April 2009. Summary of changes for version 20090422:
4109
4110 1) ACPI CA Core Subsystem:
4111
4112 Fixed a compatibility issue with the recently released I/O port 
4113 protection 
4114 mechanism. For windows compatibility, 1) On a port protection violation, 
4115 simply ignore the request and do not return an exception (allow the 
4116 control 
4117 method to continue execution.) 2) If only part of the request overlaps a 
4118 protected port, read/write the individual ports that are not protected. 
4119 Linux 
4120 BZ 13036. Lin Ming
4121
4122 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
4123 actually 
4124 breaks into the AML debugger if the debugger is present. This matches the 
4125 ACPI-defined behavior.
4126
4127 Fixed several possible warnings related to the use of the configurable 
4128 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
4129 pointer with no warnings. Also fixes several warnings in printf-like 
4130 statements for the 64-bit build when the type is configured as a pointer. 
4131 ACPICA BZ 766, 767.
4132
4133 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
4134 on 
4135 warning options.) Examples include printf formats, aliasing, unused 
4136 globals, 
4137 missing prototypes, missing switch default statements, use of non-ANSI 
4138 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
4139 for 
4140 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
4141
4142 Example Code and Data Size: These are the sizes for the OS-independent 
4143 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4144 debug version of the code includes the debug output trace mechanism and 
4145 has a 
4146 much larger code and data size.
4147
4148   Previous Release:
4149     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
4150     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
4151   Current Release:
4152     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
4153     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
4154
4155 2) iASL Compiler/Disassembler and Tools:
4156
4157 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
4158 warnings 
4159 on 
4160 the 64-bit build.
4161
4162 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
4163 not 
4164 correctly digest Windows/DOS formatted files (with CR/LF).
4165
4166 iASL: Added a new option for "quiet mode" (-va) that produces only the 
4167 compilation summary, not individual errors and warnings. Useful for large 
4168 batch compilations.
4169
4170 AcpiExec: Implemented a new option (-z) to enable a forced 
4171 semaphore/mutex 
4172 timeout that can be used to detect hang conditions during execution of 
4173 AML 
4174 code (includes both internal semaphores and AML-defined mutexes and 
4175 events.)
4176
4177 Added new makefiles for the generation of acpica in a generic unix-like 
4178 environment. These makefiles are intended to generate the acpica tools 
4179 and 
4180 utilities from the original acpica git source tree structure.
4181
4182 Test Suites: Updated and cleaned up the documentation files. Updated the 
4183 copyrights to 2009, affecting all source files. Use the new version of 
4184 iASL 
4185 with quiet mode. Increased the number of available semaphores in the 
4186 Windows 
4187 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
4188 added 
4189 an alternate implementation of the semaphore timeout to allow aslts to 
4190 execute fully on Cygwin.
4191
4192 ----------------------------------------
4193 20 March 2009. Summary of changes for version 20090320:
4194
4195 1) ACPI CA Core Subsystem:
4196
4197 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
4198 table 
4199 unloads. Added a reader/writer locking mechanism to allow multiple 
4200 concurrent 
4201 namespace walks (readers), but block a dynamic table unload until it can 
4202 gain 
4203 exclusive write access to the namespace. This fixes a problem where a 
4204 table 
4205 unload could (possibly catastrophically) delete the portion of the 
4206 namespace 
4207 that is currently being examined by a walk. Adds a new file, utlock.c, 
4208 that 
4209 implements the reader/writer lock mechanism. ACPICA BZ 749.
4210
4211 Fixed a regression introduced in version 20090220 where a change to the 
4212 FADT 
4213 handling could cause the ACPICA subsystem to access non-existent I/O 
4214 ports.
4215
4216 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
4217 The 
4218 FADT can contain both 32-bit and 64-bit versions of these addresses. 
4219 Previously, the 64-bit versions were favored, meaning that if both 32 and 
4220 64 
4221 versions were valid, but not equal, the 64-bit version was used. This was 
4222 found to cause some machines to fail. Now, in this case, the 32-bit 
4223 version 
4224 is used instead. This now matches the Windows behavior.
4225
4226 Implemented a new mechanism to protect certain I/O ports. Provides 
4227 Microsoft 
4228 compatibility and protects the standard PC I/O ports from access via AML 
4229 code. Adds a new file, hwvalid.c
4230
4231 Fixed a possible extraneous warning message from the FADT support. The 
4232 message warns of a 32/64 length mismatch between the legacy and GAS 
4233 definitions for a register.
4234
4235 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
4236 is 
4237 made obsolete by the port protection mechanism above. It was previously 
4238 used 
4239 to validate the entire address range of an operation region, which could 
4240 be 
4241 incorrect if the range included illegal ports, but fields within the 
4242 operation region did not actually access those ports. Validation is now 
4243 performed on a per-field basis instead of the entire region.
4244
4245 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
4246 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
4247 this 
4248 means a read/modify/write when writing to the register. However, for 
4249 status 
4250 registers, writing a one means clear the event. Writing a zero means 
4251 preserve 
4252 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
4253 spec, 
4254 and the ACPICA code now simply always writes a zero to the ignored bit.
4255
4256 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
4257 As 
4258 per the ACPI specification, for the control registers, preserve 
4259 (read/modify/write) all bits that are defined as either reserved or 
4260 ignored.
4261
4262 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
4263 When reading the register, zero the write-only bits as per the ACPI spec. 
4264 ACPICA BZ 443. Lin Ming.
4265
4266 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
4267 wants to reply true to this request. The Windows strings are the only 
4268 paths 
4269 through the AML that are tested and known to work properly.
4270
4271   Previous Release:
4272     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
4273     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
4274   Current Release:
4275     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
4276     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
4277
4278 2) iASL Compiler/Disassembler and Tools:
4279
4280 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
4281 and 
4282 aetables.c
4283
4284 ----------------------------------------
4285 20 February 2009. Summary of changes for version 20090220:
4286
4287 1) ACPI CA Core Subsystem:
4288
4289 Optimized the ACPI register locking. Removed locking for reads from the 
4290 ACPI 
4291 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
4292 is 
4293 not required when reading the single-bit registers. The 
4294 AcpiGetRegisterUnlocked function is no longer needed and has been 
4295 removed. 
4296 This will improve performance for reads on these registers. ACPICA BZ 
4297 760.
4298
4299 Fixed the parameter validation for AcpiRead/Write. Now return 
4300 AE_BAD_PARAMETER if the input register pointer is null, and 
4301 AE_BAD_ADDRESS 
4302 if 
4303 the register has an address of zero. Previously, these cases simply 
4304 returned 
4305 AE_OK. For optional registers such as PM1B status/enable/control, the 
4306 caller 
4307 should check for a valid register address before calling. ACPICA BZ 748.
4308
4309 Renamed the external ACPI bit register access functions. Renamed 
4310 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
4311 functions. The new names are AcpiReadBitRegister and 
4312 AcpiWriteBitRegister. 
4313 Also, restructured the code for these functions by simplifying the code 
4314 path 
4315 and condensing duplicate code to reduce code size.
4316
4317 Added new functions to transparently handle the possibly split PM1 A/B 
4318 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
4319 functions 
4320 now handle the split registers for PM1 Status, Enable, and Control. 
4321 ACPICA 
4322 BZ 
4323 746.
4324
4325 Added a function to handle the PM1 control registers, 
4326 AcpiHwWritePm1Control. 
4327 This function writes both of the PM1 control registers (A/B). These 
4328 registers 
4329 are different than the PM1 A/B status and enable registers in that 
4330 different 
4331 values can be written to the A/B registers. Most notably, the SLP_TYP 
4332 bits 
4333 can be different, as per the values returned from the _Sx predefined 
4334 methods.
4335
4336 Removed an extra register write within AcpiHwClearAcpiStatus. This 
4337 function 
4338 was writing an optional PM1B status register twice. The existing call to 
4339 the 
4340 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
4341 A/B 
4342 register. ACPICA BZ 751.
4343
4344 Split out the PM1 Status registers from the FADT. Added new globals for 
4345 these 
4346 registers (A/B), similar to the way the PM1 Enable registers are handled. 
4347 Instead of overloading the FADT Event Register blocks. This makes the 
4348 code 
4349 clearer and less prone to error.
4350
4351 Fixed the warning message for when the platform contains too many ACPI 
4352 tables 
4353 for the default size of the global root table data structure. The 
4354 calculation 
4355 for the truncation value was incorrect.
4356
4357 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
4358 obsolete macro, since it is now a simple reference to ->common.type. 
4359 There 
4360 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
4361
4362 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
4363 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
4364 simply SLEEP_TYPE. ACPICA BZ 754.
4365
4366 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
4367 function is only needed on 64-bit host operating systems and is thus not 
4368 included for 32-bit hosts.
4369
4370 Debug output: print the input and result for invocations of the _OSI 
4371 reserved 
4372 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
4373 the 
4374 verbosity of this debug level. Len Brown.
4375
4376 Example Code and Data Size: These are the sizes for the OS-independent 
4377 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4378 debug version of the code includes the debug output trace mechanism and 
4379 has a 
4380 much larger code and data size.
4381
4382   Previous Release:
4383     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
4384     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
4385   Current Release:
4386     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
4387     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
4388
4389 2) iASL Compiler/Disassembler and Tools:
4390
4391 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
4392 various legal performance profiles.
4393
4394 ----------------------------------------
4395 23 January 2009. Summary of changes for version 20090123:
4396
4397 1) ACPI CA Core Subsystem:
4398
4399 Added the 2009 copyright to all module headers and signons. This affects 
4400 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
4401 the tools/utilities.
4402
4403 Implemented a change to allow the host to override any ACPI table, 
4404 including 
4405 dynamically loaded tables. Previously, only the DSDT could be replaced by 
4406 the 
4407 host. With this change, the AcpiOsTableOverride interface is called for 
4408 each 
4409 table found in the RSDT/XSDT during ACPICA initialization, and also 
4410 whenever 
4411 a table is dynamically loaded via the AML Load operator.
4412
4413 Updated FADT flag definitions, especially the Boot Architecture flags.
4414
4415 Debugger: For the Find command, automatically pad the input ACPI name 
4416 with 
4417 underscores if the name is shorter than 4 characters. This enables a 
4418 match 
4419 with the actual namespace entry which is itself padded with underscores.
4420
4421 Example Code and Data Size: These are the sizes for the OS-independent 
4422 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4423 debug version of the code includes the debug output trace mechanism and 
4424 has a 
4425 much larger code and data size.
4426
4427   Previous Release:
4428     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
4429     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
4430   Current Release:
4431     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
4432     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
4433
4434 2) iASL Compiler/Disassembler and Tools:
4435
4436 Fix build error under Bison-2.4.
4437
4438 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
4439 Architecture 
4440 flags. Now decode all flags, regardless of the FADT version. Flag output 
4441 includes the FADT version which first defined each flag.
4442
4443 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
4444 and 
4445 DSDT). Windows only.
4446
4447 ----------------------------------------
4448 04 December 2008. Summary of changes for version 20081204:
4449
4450 1) ACPI CA Core Subsystem:
4451
4452 The ACPICA Programmer Reference has been completely updated and revamped 
4453 for 
4454 this release. This includes updates to the external interfaces, OSL 
4455 interfaces, the overview sections, and the debugger reference.
4456
4457 Several new ACPICA interfaces have been implemented and documented in the 
4458 programmer reference:
4459 AcpiReset - Writes the reset value to the FADT-defined reset register.
4460 AcpiDisableAllGpes - Disable all available GPEs.
4461 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
4462 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
4463 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
4464 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
4465 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
4466
4467 Most of the public ACPI hardware-related interfaces have been moved to a 
4468 new 
4469 file, components/hardware/hwxface.c
4470
4471 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
4472 register lengths within the FADT are now used, and the low level ACPI 
4473 register access no longer hardcodes the ACPI register lengths. Given that 
4474 there may be some risk in actually trusting the FADT register lengths, a 
4475 run-
4476 time option was added to fall back to the default hardcoded lengths if 
4477 the 
4478 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
4479 option is set to true for now, and a warning is issued if a suspicious 
4480 FADT 
4481 register length is overridden with the default value.
4482
4483 Fixed a reference count issue in NsRepairObject. This problem was 
4484 introduced 
4485 in version 20081031 as part of a fix to repair Buffer objects within 
4486 Packages. Lin Ming.
4487
4488 Added semaphore support to the Linux/Unix application OS-services layer 
4489 (OSL). ACPICA BZ 448. Lin Ming.
4490
4491 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
4492 will 
4493 be implemented in the OSL, or will binary semaphores be used instead.
4494
4495 Example Code and Data Size: These are the sizes for the OS-independent 
4496 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4497 debug version of the code includes the debug output trace mechanism and 
4498 has a 
4499 much larger code and data size.
4500
4501   Previous Release:
4502     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
4503     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
4504   Current Release:
4505     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
4506     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
4507
4508 2) iASL Compiler/Disassembler and Tools:
4509
4510 iASL: Completed the '-e' option to include additional ACPI tables in 
4511 order 
4512 to 
4513 aid with disassembly and External statement generation. ACPICA BZ 742. 
4514 Lin 
4515 Ming.
4516
4517 iASL: Removed the "named object in while loop" error. The compiler cannot 
4518 determine how many times a loop will execute. ACPICA BZ 730.
4519
4520 Disassembler: Implemented support for FADT revision 2 (MS extension). 
4521 ACPICA 
4522 BZ 743.
4523
4524 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
4525 MCFG).
4526
4527 ----------------------------------------
4528 31 October 2008. Summary of changes for version 20081031:
4529
4530 1) ACPI CA Core Subsystem:
4531
4532 Restructured the ACPICA header files into public/private. acpi.h now 
4533 includes 
4534 only the "public" acpica headers. All other acpica headers are "private" 
4535 and 
4536 should not be included by acpica users. One new file, accommon.h is used 
4537 to 
4538 include the commonly used private headers for acpica code generation. 
4539 Future 
4540 plans include moving all private headers to a new subdirectory.
4541
4542 Implemented an automatic Buffer->String return value conversion for 
4543 predefined ACPI methods. For these methods (such as _BIF), added 
4544 automatic 
4545 conversion for return objects that are required to be a String, but a 
4546 Buffer 
4547 was found instead. This can happen when reading string battery data from 
4548 an 
4549 operation region, because it used to be difficult to convert the data 
4550 from 
4551 buffer to string from within the ASL. Ensures that the host OS is 
4552 provided 
4553 with a valid null-terminated string. Linux BZ 11822.
4554
4555 Updated the FACS waking vector interfaces. Split 
4556 AcpiSetFirmwareWakingVector 
4557 into two: one for the 32-bit vector, another for the 64-bit vector. This 
4558 is 
4559 required because the host OS must setup the wake much differently for 
4560 each 
4561 vector (real vs. protected mode, etc.) and the interface itself should 
4562 not 
4563 be 
4564 deciding which vector to use. Also, eliminated the 
4565 GetFirmwareWakingVector 
4566 interface, as it served no purpose (only the firmware reads the vector, 
4567 OS 
4568 only writes the vector.) ACPICA BZ 731.
4569
4570 Implemented a mechanism to escape infinite AML While() loops. Added a 
4571 loop 
4572 counter to force exit from AML While loops if the count becomes too 
4573 large. 
4574 This can occur in poorly written AML when the hardware does not respond 
4575 within a while loop and the loop does not implement a timeout. The 
4576 maximum 
4577 loop count is configurable. A new exception code is returned when a loop 
4578 is 
4579 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
4580
4581 Optimized the execution of AML While loops. Previously, a control state 
4582 object was allocated and freed for each execution of the loop. The 
4583 optimization is to simply reuse the control state for each iteration. 
4584 This 
4585 speeds up the raw loop execution time by about 5%.
4586
4587 Enhanced the implicit return mechanism. For Windows compatibility, return 
4588 an 
4589 implicit integer of value zero for methods that contain no executable 
4590 code. 
4591 Such methods are seen in the field as stubs (presumably), and can cause 
4592 drivers to fail if they expect a return value. Lin Ming.
4593
4594 Allow multiple backslashes as root prefixes in namepaths. In a fully 
4595 qualified namepath, allow multiple backslash prefixes. This can happen 
4596 (and 
4597 is seen in the field) because of the use of a double-backslash in strings 
4598 (since backslash is the escape character) causing confusion. ACPICA BZ 
4599 739 
4600 Lin Ming.
4601
4602 Emit a warning if two different FACS or DSDT tables are discovered in the 
4603 FADT. Checks if there are two valid but different addresses for the FACS 
4604 and 
4605 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
4606
4607 Consolidated the method argument count validation code. Merged the code 
4608 that 
4609 validates control method argument counts into the predefined validation 
4610 module. Eliminates possible multiple warnings for incorrect argument 
4611 counts.
4612
4613 Implemented ACPICA example code. Includes code for ACPICA initialization, 
4614 handler installation, and calling a control method. Available at 
4615 source/tools/examples.
4616
4617 Added a global pointer for FACS table to simplify internal FACS access. 
4618 Use 
4619 the global pointer instead of using AcpiGetTableByIndex for each FACS 
4620 access. 
4621 This simplifies the code for the Global Lock and the Firmware Waking 
4622 Vector(s).
4623
4624 Example Code and Data Size: These are the sizes for the OS-independent 
4625 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4626 debug version of the code includes the debug output trace mechanism and 
4627 has a 
4628 much larger code and data size.
4629
4630   Previous Release:
4631     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
4632     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
4633   Current Release:
4634     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
4635     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
4636
4637 2) iASL Compiler/Disassembler and Tools:
4638
4639 iASL: Improved disassembly of external method calls. Added the -e option 
4640 to 
4641 allow the inclusion of additional ACPI tables to help with the 
4642 disassembly 
4643 of 
4644 method invocations and the generation of external declarations during the 
4645 disassembly. Certain external method invocations cannot be disassembled 
4646 properly without the actual declaration of the method. Use the -e option 
4647 to 
4648 include the table where the external method(s) are actually declared. 
4649 Most 
4650 useful for disassembling SSDTs that make method calls back to the master 
4651 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
4652 -d 
4653 -e dsdt.aml ssdt1.aml
4654
4655 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
4656 problem where the use of an alias within a namepath would result in a not 
4657 found error or cause the compiler to fault. Also now allows forward 
4658 references from the Alias operator itself. ACPICA BZ 738.
4659
4660 ----------------------------------------
4661 26 September 2008. Summary of changes for version 20080926:
4662
4663 1) ACPI CA Core Subsystem:
4664
4665 Designed and implemented a mechanism to validate predefined ACPI methods 
4666 and 
4667 objects. This code validates the predefined ACPI objects (objects whose 
4668 names 
4669 start with underscore) that appear in the namespace, at the time they are 
4670 evaluated. The argument count and the type of the returned object are 
4671 validated against the ACPI specification. The purpose of this validation 
4672 is 
4673 to detect problems with the BIOS-implemented predefined ACPI objects 
4674 before 
4675 the results are returned to the ACPI-related drivers. Future enhancements 
4676 may 
4677 include actual repair of incorrect return objects where possible. Two new 
4678 files are nspredef.c and acpredef.h.
4679
4680 Fixed a fault in the AML parser if a memory allocation fails during the 
4681 Op 
4682 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
4683
4684 Fixed an issue with implicit return compatibility. This change improves 
4685 the 
4686 implicit return mechanism to be more compatible with the MS interpreter. 
4687 Lin 
4688 Ming, ACPICA BZ 349.
4689
4690 Implemented support for zero-length buffer-to-string conversions. Allow 
4691 zero 
4692 length strings during interpreter buffer-to-string conversions. For 
4693 example, 
4694 during the ToDecimalString and ToHexString operators, as well as implicit 
4695 conversions. Fiodor Suietov, ACPICA BZ 585.
4696
4697 Fixed two possible memory leaks in the error exit paths of 
4698 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
4699 are 
4700 similar in that they use a stack of state objects in order to eliminate 
4701 recursion. The stack must be fully unwound and deallocated if an error 
4702 occurs. Lin Ming. ACPICA BZ 383.
4703
4704 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
4705 global 
4706 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
4707 Moore ACPICA BZ 442.
4708
4709 Removed the obsolete version number in module headers. Removed the 
4710 "$Revision" number that appeared in each module header. This version 
4711 number 
4712 was useful under SourceSafe and CVS, but has no meaning under git. It is 
4713 not 
4714 only incorrect, it could also be misleading.
4715
4716 Example Code and Data Size: These are the sizes for the OS-independent 
4717 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4718 debug version of the code includes the debug output trace mechanism and 
4719 has a 
4720 much larger code and data size.
4721
4722   Previous Release:
4723     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4724     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
4725   Current Release:
4726     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
4727     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
4728
4729 ----------------------------------------
4730 29 August 2008. Summary of changes for version 20080829:
4731
4732 1) ACPI CA Core Subsystem:
4733
4734 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
4735 Reference. Changes include the elimination of cheating on the Object 
4736 field 
4737 for the DdbHandle subtype, addition of a reference class field to 
4738 differentiate the various reference types (instead of an AML opcode), and 
4739 the 
4740 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
4741
4742 Reduce an error to a warning for an incorrect method argument count. 
4743 Previously aborted with an error if too few arguments were passed to a 
4744 control method via the external ACPICA interface. Now issue a warning 
4745 instead 
4746 and continue. Handles the case where the method inadvertently declares 
4747 too 
4748 many arguments, but does not actually use the extra ones. Applies mainly 
4749 to 
4750 the predefined methods. Lin Ming. Linux BZ 11032.
4751
4752 Disallow the evaluation of named object types with no intrinsic value. 
4753 Return 
4754 AE_TYPE for objects that have no value and therefore evaluation is 
4755 undefined: 
4756 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
4757 of 
4758 these types were allowed, but an exception would be generated at some 
4759 point 
4760 during the evaluation. Now, the error is generated up front.
4761
4762 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
4763 (nsnames.c). Fixes a leak in the error exit path.
4764
4765 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
4766 debug 
4767 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
4768 ACPI_EXCEPTION 
4769 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
4770 ACPI_LV_EVENTS.
4771
4772 Removed obsolete and/or unused exception codes from the acexcep.h header. 
4773 There is the possibility that certain device drivers may be affected if 
4774 they 
4775 use any of these exceptions.
4776
4777 The ACPICA documentation has been added to the public git source tree, 
4778 under 
4779 acpica/documents. Included are the ACPICA programmer reference, the iASL 
4780 compiler reference, and the changes.txt release logfile.
4781
4782 Example Code and Data Size: These are the sizes for the OS-independent 
4783 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4784 debug version of the code includes the debug output trace mechanism and 
4785 has a 
4786 much larger code and data size.
4787
4788   Previous Release:
4789     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4790     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
4791   Current Release:
4792     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4793     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
4794
4795 2) iASL Compiler/Disassembler and Tools:
4796
4797 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
4798 defines _SCP with 3 arguments. Previous versions defined it with only 1 
4799 argument. iASL now allows both definitions.
4800
4801 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
4802 zero-
4803 length subtables when disassembling ACPI tables. Also fixed a couple of 
4804 errors where a full 16-bit table type field was not extracted from the 
4805 input 
4806 properly.
4807
4808 acpisrc: Improve comment counting mechanism for generating source code 
4809 statistics. Count first and last lines of multi-line comments as 
4810 whitespace, 
4811 not comment lines. Handle Linux legal header in addition to standard 
4812 acpica 
4813 header.
4814
4815 ----------------------------------------
4816
4817 29 July 2008. Summary of changes for version 20080729:
4818
4819 1) ACPI CA Core Subsystem:
4820
4821 Fix a possible deadlock in the GPE dispatch. Remove call to 
4822 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
4823 attempt 
4824 to acquire the GPE lock but can deadlock since the GPE lock is already 
4825 held 
4826 at dispatch time. This code was introduced in version 20060831 as a 
4827 response 
4828 to Linux BZ 6881 and has since been removed from Linux.
4829
4830 Add a function to dereference returned reference objects. Examines the 
4831 return 
4832 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
4833 are 
4834 automatically dereferenced in an attempt to return something useful 
4835 (these 
4836 reference types cannot be converted into an external ACPI_OBJECT.) 
4837 Provides 
4838 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
4839
4840 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
4841 subtables for the MADT and one new subtable for the SRAT. Includes 
4842 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
4843 x2APIC 
4844 Specification, June 2008.
4845
4846 Additional error checking for pathname utilities. Add error check after 
4847 all 
4848 calls to AcpiNsGetPathnameLength. Add status return from 
4849 AcpiNsBuildExternalPath and check after all calls. Add parameter 
4850 validation 
4851 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
4852
4853 Return status from the global init function AcpiUtGlobalInitialize. This 
4854 is 
4855 used by both the kernel subsystem and the utilities such as iASL 
4856 compiler. 
4857 The function could possibly fail when the caches are initialized. Yang 
4858 Yi.
4859
4860 Add a function to decode reference object types to strings. Created for 
4861 improved error messages. 
4862
4863 Improve object conversion error messages. Better error messages during 
4864 object 
4865 conversion from internal to the external ACPI_OBJECT. Used for external 
4866 calls 
4867 to AcpiEvaluateObject.
4868
4869 Example Code and Data Size: These are the sizes for the OS-independent 
4870 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
4871 debug version of the code includes the debug output trace mechanism and 
4872 has a 
4873 much larger code and data size.
4874
4875   Previous Release:
4876     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
4877     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
4878   Current Release:
4879     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
4880     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
4881
4882 2) iASL Compiler/Disassembler and Tools:
4883
4884 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
4885 problem 
4886 introduced in version 20080701. If the object being evaluated (via 
4887 execute 
4888 command) is not a method, the debugger can hang while trying to obtain 
4889 non-
4890 existent parameters.
4891
4892 iASL: relax error for using reserved "_T_x" identifiers. These names can 
4893 appear in a disassembled ASL file if they were emitted by the original 
4894 compiler. Instead of issuing an error or warning and forcing the user to 
4895 manually change these names, issue a remark instead.
4896
4897 iASL: error if named object created in while loop. Emit an error if any 
4898 named 
4899 object is created within a While loop. If allowed, this code will 
4900 generate 
4901
4902 run-time error on the second iteration of the loop when an attempt is 
4903 made 
4904 to 
4905 create the same named object twice. ACPICA bugzilla 730.
4906
4907 iASL: Support absolute pathnames for include files. Add support for 
4908 absolute 
4909 pathnames within the Include operator. previously, only relative 
4910 pathnames 
4911 were supported.
4912
4913 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
4914 Descriptor. 
4915 The ACPI spec requires one interrupt minimum. BZ 423
4916
4917 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
4918 Handles the case for the Interrupt Resource Descriptor where
4919 the ResourceSource argument is omitted but ResourceSourceIndex
4920 is present. Now leave room for the Index. BZ 426
4921
4922 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
4923 cases 
4924 where an error message is emitted if the target does not exist. BZ 516
4925
4926 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
4927 (get ACPI tables on Windows). This was apparently broken in version 
4928 20070919.
4929
4930 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
4931 where 
4932 the EOF happens immediately after the last table in the input file. Print 
4933 completion message. Previously, no message was displayed in this case.
4934
4935 ----------------------------------------
4936 01 July 2008. Summary of changes for version 20080701:
4937
4938 0) Git source tree / acpica.org
4939
4940 Fixed a problem where a git-clone from http would not transfer the entire 
4941 source tree.
4942
4943 1) ACPI CA Core Subsystem:
4944
4945 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
4946 enable bit. Now performs a read-change-write of the enable register 
4947 instead 
4948 of simply writing out the cached enable mask. This will prevent 
4949 inadvertent 
4950 enabling of GPEs if a rogue GPE is received during initialization (before 
4951 GPE 
4952 handlers are installed.)
4953
4954 Implemented a copy for dynamically loaded tables. Previously, dynamically 
4955 loaded tables were simply mapped - but on some machines this memory is 
4956 corrupted after suspend. Now copy the table to a local buffer. For the 
4957 OpRegion case, added checksum verify. Use the table length from the table 
4958 header, not the region length. For the Buffer case, use the table length 
4959 also. Dennis Noordsij, Bob Moore. BZ 10734
4960
4961 Fixed a problem where the same ACPI table could not be dynamically loaded 
4962 and 
4963 unloaded more than once. Without this change, a table cannot be loaded 
4964 again 
4965 once it has been loaded/unloaded one time. The current mechanism does not 
4966 unregister a table upon an unload. During a load, if the same table is 
4967 found, 
4968 this no longer returns an exception. BZ 722
4969
4970 Fixed a problem where the wrong descriptor length was calculated for the 
4971 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
4972 EndTag 
4973 are calculated as 12 bytes long, but the actual length in the internal 
4974 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
4975 Reported 
4976 by Linn Crosetto. BZ 728
4977
4978 Fixed a possible memory leak in the Unload operator. The DdbHandle 
4979 returned 
4980 by Load() did not have its reference count decremented during unload, 
4981 leading 
4982 to a memory leak. Lin Ming. BZ 727
4983
4984 Fixed a possible memory leak when deleting thermal/processor objects. Any 
4985 associated notify handlers (and objects) were not being deleted. Fiodor 
4986 Suietov. BZ 506
4987
4988 Fixed the ordering of the ASCII names in the global mutex table to match 
4989 the 
4990 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
4991 only. 
4992 Vegard Nossum. BZ 726
4993
4994 Enhanced the AcpiGetObjectInfo interface to return the number of required 
4995 arguments if the object is a control method. Added this call to the 
4996 debugger 
4997 so the proper number of default arguments are passed to a method. This 
4998 prevents a warning when executing methods from AcpiExec.
4999
5000 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
5001 AE_BAD_PARAMETER if input handle is invalid. BZ 474
5002
5003 Fixed an extraneous warning from exconfig.c on the 64-bit build.
5004
5005 Example Code and Data Size: These are the sizes for the OS-independent 
5006 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5007 debug version of the code includes the debug output trace mechanism and 
5008 has a 
5009 much larger code and data size.
5010
5011   Previous Release:
5012     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
5013     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
5014   Current Release:
5015     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
5016     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
5017
5018 2) iASL Compiler/Disassembler and Tools:
5019
5020 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
5021 resource descriptor names.
5022
5023 iASL: Detect invalid ASCII characters in input (windows version). Removed 
5024 the 
5025 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
5026 characters in the input. BZ 441
5027
5028 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
5029 the 
5030 "result of operation not used" warning when the DDB handle returned from 
5031 LoadTable is not used. The warning is not needed. BZ 590
5032
5033 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
5034 method 
5035 to 
5036 pass address of table to the AML. Added option to disable OpRegion 
5037 simulation 
5038 to allow creation of an OpRegion with a real address that was passed to 
5039 _CFG. 
5040 All of this allows testing of the Load and Unload operators from 
5041 AcpiExec.
5042
5043 Debugger: update tables command for unloaded tables. Handle unloaded 
5044 tables 
5045 and use the standard table header output routine.
5046
5047 ----------------------------------------
5048 09 June 2008. Summary of changes for version 20080609:
5049
5050 1) ACPI CA Core Subsystem:
5051
5052 Implemented a workaround for reversed _PRT entries. A significant number 
5053 of 
5054 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
5055 change dynamically detects and repairs this problem. Provides 
5056 compatibility 
5057 with MS ACPI. BZ 6859
5058
5059 Simplified the internal ACPI hardware interfaces to eliminate the locking 
5060 flag parameter from Register Read/Write. Added a new external interface, 
5061 AcpiGetRegisterUnlocked.
5062
5063 Fixed a problem where the invocation of a GPE control method could hang. 
5064 This 
5065 was a regression introduced in 20080514. The new method argument count 
5066 validation mechanism can enter an infinite loop when a GPE method is 
5067 dispatched. Problem fixed by removing the obsolete code that passed GPE 
5068 block 
5069 information to the notify handler via the control method parameter 
5070 pointer.
5071
5072 Fixed a problem where the _SST execution status was incorrectly returned 
5073 to 
5074 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
5075 in 
5076 20080514. _SST is optional and a NOT_FOUND exception should never be 
5077 returned. BZ 716
5078
5079 Fixed a problem where a deleted object could be accessed from within the 
5080 AML 
5081 parser. This was a regression introduced in version 20080123 as a fix for 
5082 the 
5083 Unload operator. Lin Ming. BZ 10669
5084
5085 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
5086 operands 
5087 and eliminated the use of a negative index in a loop. Operands are now 
5088 displayed in the correct order, not backwards. This also fixes a 
5089 regression 
5090 introduced in 20080514 on 64-bit systems where the elimination of 
5091 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
5092 715
5093
5094 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
5095 exit 
5096 path did not delete a locally allocated structure.
5097
5098 Updated definitions for the DMAR and SRAT tables to synchronize with the 
5099 current specifications. Includes disassembler support.
5100
5101 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
5102 loop termination value was used. Loop terminated on iteration early, 
5103 missing 
5104 one mutex. Linn Crosetto
5105
5106 Example Code and Data Size: These are the sizes for the OS-independent 
5107 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5108 debug version of the code includes the debug output trace mechanism and 
5109 has a 
5110 much larger code and data size.
5111
5112   Previous Release:
5113     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
5114     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
5115   Current Release:
5116     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
5117     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
5118
5119 2) iASL Compiler/Disassembler and Tools:
5120
5121 Disassembler: Implemented support for EisaId() within _CID objects. Now 
5122 disassemble integer _CID objects back to EisaId invocations, including 
5123 multiple integers within _CID packages. Includes single-step support for 
5124 debugger also.
5125
5126 Disassembler: Added support for DMAR and SRAT table definition changes.
5127
5128 ----------------------------------------
5129 14 May 2008. Summary of changes for version 20080514:
5130
5131 1) ACPI CA Core Subsystem:
5132
5133 Fixed a problem where GPEs were enabled too early during the ACPICA 
5134 initialization. This could lead to "handler not installed" errors on some 
5135 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
5136 This 
5137 ensures that all operation regions and devices throughout the namespace 
5138 have 
5139 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
5140
5141 Implemented a change to the enter sleep code. Moved execution of the _GTS 
5142 method to just before setting sleep enable bit. The execution was moved 
5143 from 
5144 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
5145 immediately before the SLP_EN bit is set, as per the ACPI specification. 
5146 Luming Yu, BZ 1653.
5147
5148 Implemented a fix to disable unknown GPEs (2nd version). Now always 
5149 disable 
5150 the GPE, even if ACPICA thinks that that it is already disabled. It is 
5151 possible that the AML or some other code has enabled the GPE unbeknownst 
5152 to 
5153 the ACPICA code.
5154
5155 Fixed a problem with the Field operator where zero-length fields would 
5156 return 
5157 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
5158 ASL 
5159 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
5160
5161 Implemented a fix for the Load operator, now load the table at the 
5162 namespace 
5163 root. This reverts a change introduced in version 20071019. The table is 
5164 now 
5165 loaded at the namespace root even though this goes against the ACPI 
5166 specification. This provides compatibility with other ACPI 
5167 implementations. 
5168 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
5169 Ming.
5170
5171 Fixed a problem where ACPICA would not Load() tables with unusual 
5172 signatures. 
5173 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
5174 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
5175 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
5176 such 
5177 signatures, ACPICA must be compatible. BZ 10454.
5178
5179 Fixed a possible negative array index in AcpiUtValidateException. Added 
5180 NULL 
5181 fields to the exception string arrays to eliminate a -1 subtraction on 
5182 the 
5183 SubStatus field.
5184
5185 Updated the debug tracking macros to reduce overall code and data size. 
5186 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
5187 instead of pointers to static strings. Jan Beulich and Bob Moore.
5188
5189 Implemented argument count checking in control method invocation via 
5190 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
5191 too 
5192 many. This applies only to extern programmatic control method execution, 
5193 not 
5194 method-to-method calls within the AML. Lin Ming.
5195
5196 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
5197 no 
5198 longer needed, especially with the removal of 16-bit support. It was 
5199 replaced 
5200 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
5201 bit 
5202 on 
5203 32/64-bit platforms is required.
5204
5205 Added the C const qualifier for appropriate string constants -- mostly 
5206 MODULE_NAME and printf format strings. Jan Beulich.
5207
5208 Example Code and Data Size: These are the sizes for the OS-independent 
5209 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5210 debug version of the code includes the debug output trace mechanism and 
5211 has a 
5212 much larger code and data size.
5213
5214   Previous Release:
5215     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
5216     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
5217   Current Release:
5218     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
5219     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
5220
5221 2) iASL Compiler/Disassembler and Tools:
5222
5223 Implemented ACPI table revision ID validation in the disassembler. Zero 
5224 is 
5225 always invalid. For DSDTs, the ID controls the interpreter integer width. 
5226
5227 means 32-bit and this is unusual. 2 or greater is 64-bit.
5228
5229 ----------------------------------------
5230 21 March 2008. Summary of changes for version 20080321:
5231
5232 1) ACPI CA Core Subsystem:
5233
5234 Implemented an additional change to the GPE support in order to suppress 
5235 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
5236 permanently 
5237 disable incoming GPEs that are neither enabled nor disabled -- meaning 
5238 that 
5239 the GPE is unknown to the system. This should prevent future interrupt 
5240 floods 
5241 from that GPE. BZ 6217 (Zhang Rui)
5242
5243 Fixed a problem where NULL package elements were not returned to the 
5244 AcpiEvaluateObject interface correctly. The element was simply ignored 
5245 instead of returning a NULL ACPI_OBJECT package element, potentially 
5246 causing 
5247 a buffer overflow and/or confusing the caller who expected a fixed number 
5248 of 
5249 elements. BZ 10132 (Lin Ming, Bob Moore)
5250
5251 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
5252 Dword, 
5253 Qword), Field, BankField, and IndexField operators when invoked from 
5254 inside 
5255 an executing control method. In this case, these operators created 
5256 namespace 
5257 nodes that were incorrectly left marked as permanent nodes instead of 
5258 temporary nodes. This could cause a problem if there is race condition 
5259 between an exiting control method and a running namespace walk. (Reported 
5260 by 
5261 Linn Crosetto)
5262
5263 Fixed a problem where the CreateField and CreateXXXField operators would 
5264 incorrectly allow duplicate names (the name of the field) with no 
5265 exception 
5266 generated.
5267
5268 Implemented several changes for Notify handling. Added support for new 
5269 Notify 
5270 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
5271 PowerResource objects is no longer allowed, as per the ACPI 
5272 specification. 
5273 (Bob Moore, Zhang Rui)
5274
5275 All Reference Objects returned via the AcpiEvaluateObject interface are 
5276 now 
5277 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
5278 for 
5279 NULL objects - either NULL package elements or unresolved named 
5280 references.
5281
5282 Fixed a problem where an extraneous debug message was produced for 
5283 package 
5284 objects (when debugging enabled). The message "Package List length larger 
5285 than NumElements count" is now produced in the correct case, and is now 
5286 an 
5287 error message rather than a debug message. Added a debug message for the 
5288 opposite case, where NumElements is larger than the Package List (the 
5289 package 
5290 will be padded out with NULL elements as per the ACPI spec.)
5291
5292 Implemented several improvements for the output of the ASL "Debug" object 
5293 to 
5294 clarify and keep all data for a given object on one output line.
5295
5296 Fixed two size calculation issues with the variable-length Start 
5297 Dependent 
5298 resource descriptor.
5299
5300 Example Code and Data Size: These are the sizes for the OS-independent 
5301 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5302 debug version of the code includes the debug output trace mechanism and 
5303 has 
5304 a much larger code and data size.
5305
5306   Previous Release:
5307     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
5308     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
5309   Current Release:
5310     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
5311     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
5312
5313 2) iASL Compiler/Disassembler and Tools:
5314
5315 Fixed a problem with the use of the Switch operator where execution of 
5316 the 
5317 containing method by multiple concurrent threads could cause an 
5318 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
5319 actual Switch opcode, it must be simulated with local named temporary 
5320 variables and if/else pairs. The solution chosen was to mark any method 
5321 that 
5322 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
5323 469.
5324
5325 ----------------------------------------
5326 13 February 2008. Summary of changes for version 20080213:
5327
5328 1) ACPI CA Core Subsystem:
5329
5330 Implemented another MS compatibility design change for GPE/Notify 
5331 handling. 
5332 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
5333 to 
5334 complete first. It is expected that the OSL will queue the enable request 
5335 behind all pending notify requests (may require changes to the local host 
5336 OSL 
5337 in AcpiOsExecute). Alexey Starikovskiy.
5338
5339 Fixed a problem where buffer and package objects passed as arguments to a 
5340 control method via the external AcpiEvaluateObject interface could cause 
5341 an 
5342 AE_AML_INTERNAL exception depending on the order and type of operators 
5343 executed by the target control method.
5344
5345 Fixed a problem where resource descriptor size optimization could cause a 
5346 problem when a _CRS resource template is passed to a _SRS method. The 
5347 _SRS 
5348 resource template must use the same descriptors (with the same size) as 
5349 returned from _CRS. This change affects the following resource 
5350 descriptors: 
5351 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
5352 9487)
5353
5354 Fixed a problem where a CopyObject to RegionField, BankField, and 
5355 IndexField 
5356 objects did not perform an implicit conversion as it should. These types 
5357 must 
5358 retain their initial type permanently as per the ACPI specification. 
5359 However, 
5360 a CopyObject to all other object types should not perform an implicit 
5361 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
5362
5363 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
5364 match device CIDs did not examine the entire list of available CIDs, but 
5365 instead aborted on the first non-matching CID. Andrew Patterson.
5366
5367 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
5368 was 
5369 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
5370 truncating the upper dword of a 64-bit value. This macro is only used to 
5371 display debug output, so no incorrect calculations were made. Also, 
5372 reimplemented the macro so that a 64-bit shift is not performed by 
5373 inefficient compilers.
5374
5375 Added missing va_end statements that should correspond with each va_start 
5376 statement.
5377
5378 Example Code and Data Size: These are the sizes for the OS-independent 
5379 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5380 debug version of the code includes the debug output trace mechanism and 
5381 has 
5382 a much larger code and data size.
5383
5384   Previous Release:
5385     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
5386     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
5387   Current Release:
5388     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
5389     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
5390
5391 2) iASL Compiler/Disassembler and Tools:
5392
5393 Implemented full disassembler support for the following new ACPI tables: 
5394 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
5395 complicated HEST table. These tables support the Windows Hardware Error 
5396 Architecture (WHEA).
5397
5398 ----------------------------------------
5399 23 January 2008. Summary of changes for version 20080123:
5400
5401 1) ACPI CA Core Subsystem:
5402
5403 Added the 2008 copyright to all module headers and signons. This affects 
5404 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
5405 the tools/utilities.
5406
5407 Fixed a problem with the SizeOf operator when used with Package and 
5408 Buffer 
5409 objects. These objects have deferred execution for some arguments, and 
5410 the 
5411 execution is now completed before the SizeOf is executed. This problem 
5412 caused 
5413 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
5414 BZ 
5415 9558
5416
5417 Implemented an enhancement to the interpreter "slack mode". In the 
5418 absence 
5419 of 
5420 an explicit return or an implicitly returned object from the last 
5421 executed 
5422 opcode, a control method will now implicitly return an integer of value 0 
5423 for 
5424 Microsoft compatibility. (Lin Ming) BZ 392
5425
5426 Fixed a problem with the Load operator where an exception was not 
5427 returned 
5428 in 
5429 the case where the table is already loaded. (Lin Ming) BZ 463
5430
5431 Implemented support for the use of DDBHandles as an Indexed Reference, as 
5432 per 
5433 the ACPI spec. (Lin Ming) BZ 486
5434
5435 Implemented support for UserTerm (Method invocation) for the Unload 
5436 operator 
5437 as per the ACPI spec. (Lin Ming) BZ 580
5438
5439 Fixed a problem with the LoadTable operator where the OemId and 
5440 OemTableId 
5441 input strings could cause unexpected failures if they were shorter than 
5442 the 
5443 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
5444
5445 Implemented support for UserTerm (Method invocation) for the Unload 
5446 operator 
5447 as per the ACPI spec. (Lin Ming) BZ 580
5448
5449 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
5450 HEST, 
5451 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
5452
5453 Example Code and Data Size: These are the sizes for the OS-independent 
5454 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5455 debug version of the code includes the debug output trace mechanism and 
5456 has 
5457 a much larger code and data size.
5458
5459   Previous Release:
5460     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
5461     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
5462   Current Release:
5463     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
5464     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
5465
5466 2) iASL Compiler/Disassembler and Tools:
5467
5468 Implemented support in the disassembler for checksum validation on 
5469 incoming 
5470 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
5471 table 
5472 header dump at the start of the disassembly.
5473
5474 Implemented additional debugging information in the namespace listing 
5475 file 
5476 created during compilation. In addition to the namespace hierarchy, the 
5477 full 
5478 pathname to each namespace object is displayed.
5479
5480 Fixed a problem with the disassembler where invalid ACPI tables could 
5481 cause 
5482 faults or infinite loops.
5483
5484 Fixed an unexpected parse error when using the optional "parameter types" 
5485 list in a control method declaration. (Lin Ming) BZ 397
5486
5487 Fixed a problem where two External declarations with the same name did 
5488 not 
5489 cause an error (Lin Ming) BZ 509
5490
5491 Implemented support for full TermArgs (adding Argx, Localx and method 
5492 invocation) for the ParameterData parameter to the LoadTable operator. 
5493 (Lin 
5494 Ming) BZ 583,587
5495
5496 ----------------------------------------
5497 19 December 2007. Summary of changes for version 20071219:
5498
5499 1) ACPI CA Core Subsystem:
5500
5501 Implemented full support for deferred execution for the TermArg string 
5502 arguments for DataTableRegion. This enables forward references and full 
5503 operand resolution for the three string arguments. Similar to 
5504 OperationRegion 
5505 deferred argument execution.) Lin Ming. BZ 430
5506
5507 Implemented full argument resolution support for the BankValue argument 
5508 to 
5509 BankField. Previously, only constants were supported, now any TermArg may 
5510 be 
5511 used. Lin Ming BZ 387, 393
5512
5513 Fixed a problem with AcpiGetDevices where the search of a branch of the 
5514 device tree could be terminated prematurely. In accordance with the ACPI 
5515 specification, the search down the current branch is terminated if a 
5516 device 
5517 is both not present and not functional (instead of just not present.) 
5518 Yakui 
5519 Zhao.
5520
5521 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
5522 if 
5523 the underlying AML code changed the GPE enable registers. Now, any 
5524 unknown 
5525 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
5526 disabled 
5527 instead of simply ignored. Rui Zhang.
5528
5529 Fixed a problem with Index Fields where the Index register was 
5530 incorrectly 
5531 limited to a maximum of 32 bits. Now any size may be used.
5532
5533 Fixed a couple memory leaks associated with "implicit return" objects 
5534 when 
5535 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
5536
5537 Example Code and Data Size: These are the sizes for the OS-independent 
5538 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5539 debug version of the code includes the debug output trace mechanism and 
5540 has 
5541 a much larger code and data size.
5542
5543   Previous Release:
5544     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
5545     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
5546   Current Release:
5547     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
5548     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
5549
5550 ----------------------------------------
5551 14 November 2007. Summary of changes for version 20071114:
5552
5553 1) ACPI CA Core Subsystem:
5554
5555 Implemented event counters for each of the Fixed Events, the ACPI SCI 
5556 (interrupt) itself, and control methods executed. Named 
5557 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
5558 These 
5559 should be useful for debugging and statistics.
5560
5561 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
5562 contents of the various event counters. Returns the current values for 
5563 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
5564 AcpiMethodCount. The interface can be expanded in the future if new 
5565 counters 
5566 are added. Device drivers should use this interface rather than access 
5567 the 
5568 counters directly.
5569
5570 Fixed a problem with the FromBCD and ToBCD operators. With some 
5571 compilers, 
5572 the ShortDivide function worked incorrectly, causing problems with the 
5573 BCD 
5574 functions with large input values. A truncation from 64-bit to 32-bit 
5575 inadvertently occurred. Internal BZ 435. Lin Ming
5576
5577 Fixed a problem with Index references passed as method arguments. 
5578 References 
5579 passed as arguments to control methods were dereferenced immediately 
5580 (before 
5581 control was passed to the called method). The references are now 
5582 correctly 
5583 passed directly to the called method. BZ 5389. Lin Ming
5584
5585 Fixed a problem with CopyObject used in conjunction with the Index 
5586 operator. 
5587 The reference was incorrectly dereferenced before the copy. The reference 
5588 is 
5589 now correctly copied. BZ 5391. Lin Ming
5590
5591 Fixed a problem with Control Method references within Package objects. 
5592 These 
5593 references are now correctly generated. This completes the package 
5594 construction overhaul that began in version 20071019.
5595
5596 Example Code and Data Size: These are the sizes for the OS-independent 
5597 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5598 debug version of the code includes the debug output trace mechanism and 
5599 has 
5600 a much larger code and data size.
5601
5602   Previous Release:
5603     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
5604     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
5605   Current Release:
5606     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
5607     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
5608
5609
5610 2) iASL Compiler/Disassembler and Tools:
5611
5612 The AcpiExec utility now installs handlers for all of the predefined 
5613 Operation Region types. New types supported are: PCI_Config, CMOS, and 
5614 PCIBARTarget.
5615
5616 Fixed a problem with the 64-bit version of AcpiExec where the extended 
5617 (64-
5618 bit) address fields for the DSDT and FACS within the FADT were not being 
5619 used, causing truncation of the upper 32-bits of these addresses. Lin 
5620 Ming 
5621 and Bob Moore
5622
5623 ----------------------------------------
5624 19 October 2007. Summary of changes for version 20071019:
5625
5626 1) ACPI CA Core Subsystem:
5627
5628 Fixed a problem with the Alias operator when the target of the alias is a 
5629 named ASL operator that opens a new scope -- Scope, Device, 
5630 PowerResource, 
5631 Processor, and ThermalZone. In these cases, any children of the original 
5632 operator could not be accessed via the alias, potentially causing 
5633 unexpected 
5634 AE_NOT_FOUND exceptions. (BZ 9067)
5635
5636 Fixed a problem with the Package operator where all named references were 
5637 created as object references and left otherwise unresolved. According to 
5638 the 
5639 ACPI specification, a Package can only contain Data Objects or references 
5640 to 
5641 control methods. The implication is that named references to Data Objects 
5642 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
5643 immediately upon package creation. This is the approach taken with this 
5644 change. References to all other named objects (Methods, Devices, Scopes, 
5645 etc.) are all now properly created as reference objects. (BZ 5328)
5646
5647 Reverted a change to Notify handling that was introduced in version 
5648 20070508. This version changed the Notify handling from asynchronous to 
5649 fully synchronous (Device driver Notify handling with respect to the 
5650 Notify 
5651 ASL operator). It was found that this change caused more problems than it 
5652 solved and was removed by most users.
5653
5654 Fixed a problem with the Increment and Decrement operators where the type 
5655 of 
5656 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
5657 Lin Ming.
5658
5659 Fixed a problem with the Load and LoadTable operators where the table 
5660 location within the namespace was ignored. Instead, the table was always 
5661 loaded into the root or current scope. Lin Ming.
5662
5663 Fixed a problem with the Load operator when loading a table from a buffer 
5664 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
5665
5666 Fixed a problem with the Debug object where a store of a DdbHandle 
5667 reference 
5668 object to the Debug object could cause a fault.
5669
5670 Added a table checksum verification for the Load operator, in the case 
5671 where 
5672 the load is from a buffer. (BZ 578).
5673
5674 Implemented additional parameter validation for the LoadTable operator. 
5675 The 
5676 length of the input strings SignatureString, OemIdString, and OemTableId 
5677 are 
5678 now checked for maximum lengths. (BZ 582) Lin Ming.
5679
5680 Example Code and Data Size: These are the sizes for the OS-independent 
5681 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5682 debug version of the code includes the debug output trace mechanism and 
5683 has 
5684 a much larger code and data size.
5685
5686   Previous Release:
5687     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
5688     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
5689   Current Release:
5690     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
5691     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
5692
5693
5694 2) iASL Compiler/Disassembler:
5695
5696 Fixed a problem where if a single file was specified and the file did not 
5697 exist, no error message was emitted. (Introduced with wildcard support in 
5698 version 20070917.)
5699
5700 ----------------------------------------
5701 19 September 2007. Summary of changes for version 20070919:
5702
5703 1) ACPI CA Core Subsystem:
5704
5705 Designed and implemented new external interfaces to install and remove 
5706 handlers for ACPI table-related events. Current events that are defined 
5707 are 
5708 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
5709 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
5710 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
5711
5712 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
5713 (acpi_serialized option on Linux) could cause some systems to hang during 
5714 initialization. (Bob Moore) BZ 8171
5715
5716 Fixed a problem where objects of certain types (Device, ThermalZone, 
5717 Processor, PowerResource) can be not found if they are declared and 
5718 referenced from within the same control method (Lin Ming) BZ 341
5719
5720 Example Code and Data Size: These are the sizes for the OS-independent 
5721 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5722 debug version of the code includes the debug output trace mechanism and 
5723 has 
5724 a much larger code and data size.
5725
5726   Previous Release:
5727     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
5728     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
5729   Current Release:
5730     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
5731     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
5732
5733
5734 2) iASL Compiler/Disassembler:
5735
5736 Implemented support to allow multiple files to be compiled/disassembled 
5737 in 
5738
5739 single invocation. This includes command line wildcard support for both 
5740 the 
5741 Windows and Unix versions of the compiler. This feature simplifies the 
5742 disassembly and compilation of multiple ACPI tables in a single 
5743 directory.
5744
5745 ----------------------------------------
5746 08 May 2007. Summary of changes for version 20070508:
5747
5748 1) ACPI CA Core Subsystem:
5749
5750 Implemented a Microsoft compatibility design change for the handling of 
5751 the 
5752 Notify AML operator. Previously, notify handlers were dispatched and 
5753 executed completely asynchronously in a deferred thread. The new design 
5754 still executes the notify handlers in a different thread, but the 
5755 original 
5756 thread that executed the Notify() now waits at a synchronization point 
5757 for 
5758 the notify handler to complete. Some machines depend on a synchronous 
5759 Notify 
5760 operator in order to operate correctly.
5761
5762 Implemented support to allow Package objects to be passed as method 
5763 arguments to the external AcpiEvaluateObject interface. Previously, this 
5764 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
5765 implemented since there were no reserved control methods that required it 
5766 until recently.
5767
5768 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
5769 that 
5770 contained invalid non-zero values in reserved fields could cause later 
5771 failures because these fields have meaning in later revisions of the 
5772 FADT. 
5773 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
5774 fields 
5775 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
5776
5777 Fixed a problem where the Global Lock handle was not properly updated if 
5778
5779 thread that acquired the Global Lock via executing AML code then 
5780 attempted 
5781 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
5782 Joe 
5783 Liu.
5784
5785 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
5786 could be corrupted if the interrupt being removed was at the head of the 
5787 list. Reported by Linn Crosetto.
5788
5789 Example Code and Data Size: These are the sizes for the OS-independent 
5790 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5791 debug version of the code includes the debug output trace mechanism and 
5792 has 
5793 a much larger code and data size.
5794
5795   Previous Release:
5796     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5797     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
5798   Current Release:
5799     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
5800     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
5801
5802 ----------------------------------------
5803 20 March 2007. Summary of changes for version 20070320:
5804
5805 1) ACPI CA Core Subsystem:
5806
5807 Implemented a change to the order of interpretation and evaluation of AML 
5808 operand objects within the AML interpreter. The interpreter now evaluates 
5809 operands in the order that they appear in the AML stream (and the 
5810 corresponding ASL code), instead of in the reverse order (after the 
5811 entire 
5812 operand list has been parsed). The previous behavior caused several 
5813 subtle 
5814 incompatibilities with the Microsoft AML interpreter as well as being 
5815 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
5816
5817 Implemented a change to the ACPI Global Lock support. All interfaces to 
5818 the 
5819 global lock now allow the same thread to acquire the lock multiple times. 
5820 This affects the AcpiAcquireGlobalLock external interface to the global 
5821 lock 
5822 as well as the internal use of the global lock to support AML fields -- a 
5823 control method that is holding the global lock can now simultaneously 
5824 access 
5825 AML fields that require global lock protection. Previously, in both 
5826 cases, 
5827 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
5828 to 
5829 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
5830 Controller. There is no change to the behavior of the AML Acquire 
5831 operator, 
5832 as this can already be used to acquire a mutex multiple times by the same 
5833 thread. BZ 8066. With assistance from Alexey Starikovskiy.
5834
5835 Fixed a problem where invalid objects could be referenced in the AML 
5836 Interpreter after error conditions. During operand evaluation, ensure 
5837 that 
5838 the internal "Return Object" field is cleared on error and only valid 
5839 pointers are stored there. Caused occasional access to deleted objects 
5840 that 
5841 resulted in "large reference count" warning messages. Valery Podrezov.
5842
5843 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
5844 on 
5845 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
5846 Podrezov.
5847
5848 Fixed an internal problem with the handling of result objects on the 
5849 interpreter result stack. BZ 7872. Valery Podrezov.
5850
5851 Removed obsolete code that handled the case where AML_NAME_OP is the 
5852 target 
5853 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
5854 7874. Valery Podrezov.
5855
5856 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
5857 was 
5858
5859 remnant from the previously discontinued 16-bit support.
5860
5861 Example Code and Data Size: These are the sizes for the OS-independent 
5862 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5863 debug version of the code includes the debug output trace mechanism and 
5864 has 
5865 a much larger code and data size.
5866
5867   Previous Release:
5868     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5869     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5870   Current Release:
5871     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5872     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
5873
5874 ----------------------------------------
5875 26 January 2007. Summary of changes for version 20070126:
5876
5877 1) ACPI CA Core Subsystem:
5878
5879 Added the 2007 copyright to all module headers and signons. This affects 
5880 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
5881 the utilities.
5882
5883 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
5884 during a table load. A bad pointer was passed in the case where the DSDT 
5885 is 
5886 overridden, causing a fault in this case.
5887
5888 Example Code and Data Size: These are the sizes for the OS-independent 
5889 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5890 debug version of the code includes the debug output trace mechanism and 
5891 has 
5892 a much larger code and data size.
5893
5894   Previous Release:
5895     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5896     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5897   Current Release:
5898     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5899     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5900
5901 ----------------------------------------
5902 15 December 2006. Summary of changes for version 20061215:
5903
5904 1) ACPI CA Core Subsystem:
5905
5906 Support for 16-bit ACPICA has been completely removed since it is no 
5907 longer 
5908 necessary and it clutters the code. All 16-bit macros, types, and 
5909 conditional compiles have been removed, cleaning up and simplifying the 
5910 code 
5911 across the entire subsystem. DOS support is no longer needed since the 
5912 bootable Linux firmware kit is now available.
5913
5914 The handler for the Global Lock is now removed during AcpiTerminate to 
5915 enable a clean subsystem restart, via the implementation of the 
5916 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
5917 HP)
5918
5919 Implemented enhancements to the multithreading support within the 
5920 debugger 
5921 to enable improved multithreading debugging and evaluation of the 
5922 subsystem. 
5923 (Valery Podrezov)
5924
5925 Debugger: Enhanced the Statistics/Memory command to emit the total 
5926 (maximum) 
5927 memory used during the execution, as well as the maximum memory consumed 
5928 by 
5929 each of the various object types. (Valery Podrezov)
5930
5931 Example Code and Data Size: These are the sizes for the OS-independent 
5932 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5933 debug version of the code includes the debug output trace mechanism and 
5934 has 
5935 a much larger code and data size.
5936
5937   Previous Release:
5938     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5939     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5940   Current Release:
5941     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
5942     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
5943
5944
5945 2) iASL Compiler/Disassembler and Tools:
5946
5947 AcpiExec: Implemented a new option (-m) to display full memory use 
5948 statistics upon subsystem/program termination. (Valery Podrezov)
5949
5950 ----------------------------------------
5951 09 November 2006. Summary of changes for version 20061109:
5952
5953 1) ACPI CA Core Subsystem:
5954
5955 Optimized the Load ASL operator in the case where the source operand is 
5956 an 
5957 operation region. Simply map the operation region memory, instead of 
5958 performing a bytewise read. (Region must be of type SystemMemory, see 
5959 below.)
5960
5961 Fixed the Load ASL operator for the case where the source operand is a 
5962 region field. A buffer object is also allowed as the source operand. BZ 
5963 480
5964
5965 Fixed a problem where the Load ASL operator allowed the source operand to 
5966 be 
5967 an operation region of any type. It is now restricted to regions of type 
5968 SystemMemory, as per the ACPI specification. BZ 481
5969
5970 Additional cleanup and optimizations for the new Table Manager code.
5971
5972 AcpiEnable will now fail if all of the required ACPI tables are not 
5973 loaded 
5974 (FADT, FACS, DSDT). BZ 477
5975
5976 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
5977 this 
5978 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
5979 manually optimized to be aligned and will not work if it is byte-packed. 
5980
5981 Example Code and Data Size: These are the sizes for the OS-independent 
5982 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5983 debug version of the code includes the debug output trace mechanism and 
5984 has 
5985 a much larger code and data size.
5986
5987   Previous Release:
5988     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
5989     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
5990   Current Release:
5991     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
5992     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
5993
5994
5995 2) iASL Compiler/Disassembler and Tools:
5996
5997 Fixed a problem where the presence of the _OSI predefined control method 
5998 within complex expressions could cause an internal compiler error.
5999
6000 AcpiExec: Implemented full region support for multiple address spaces. 
6001 SpaceId is now part of the REGION object. BZ 429
6002
6003 ----------------------------------------
6004 11 October 2006. Summary of changes for version 20061011:
6005
6006 1) ACPI CA Core Subsystem:
6007
6008 Completed an AML interpreter performance enhancement for control method 
6009 execution. Previously a 2-pass parse/execution, control methods are now 
6010 completely parsed and executed in a single pass. This improves overall 
6011 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
6012 use. (Valery Podrezov + interpreter changes in version 20051202 that 
6013 eliminated namespace loading during the pass one parse.)
6014
6015 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
6016 not 
6017 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
6018 now 
6019 obtained and also checked for an ID match.
6020
6021 Implemented additional support for the PCI _ADR execution: upsearch until 
6022
6023 device scope is found before executing _ADR. This allows PCI_Config 
6024 operation regions to be declared locally within control methods 
6025 underneath 
6026 PCI device objects.
6027
6028 Fixed a problem with a possible race condition between threads executing 
6029 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
6030 modifying AcpiWalkNamespace to (by default) ignore all temporary 
6031 namespace 
6032 entries created during any concurrent control method execution. An 
6033 additional namespace race condition is known to exist between 
6034 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
6035 investigation.
6036
6037 Restructured the AML ParseLoop function, breaking it into several 
6038 subfunctions in order to reduce CPU stack use and improve 
6039 maintainability. 
6040 (Mikhail Kouzmich)
6041
6042 AcpiGetHandle: Fix for parameter validation to detect invalid 
6043 combinations 
6044 of prefix handle and pathname. BZ 478
6045
6046 Example Code and Data Size: These are the sizes for the OS-independent 
6047 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6048 debug version of the code includes the debug output trace mechanism and 
6049 has 
6050 a much larger code and data size.
6051
6052   Previous Release:
6053     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
6054     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
6055   Current Release:
6056     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
6057     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
6058
6059 2) iASL Compiler/Disassembler and Tools:
6060
6061 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
6062 Manager 
6063 to restore original behavior.
6064
6065 ----------------------------------------
6066 27 September 2006. Summary of changes for version 20060927:
6067
6068 1) ACPI CA Core Subsystem:
6069
6070 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
6071 These functions now use a spinlock for mutual exclusion and the interrupt 
6072 level indication flag is not needed.
6073
6074 Fixed a problem with the Global Lock where the lock could appear to be 
6075 obtained before it is actually obtained. The global lock semaphore was 
6076 inadvertently created with one unit instead of zero units. (BZ 464) 
6077 Fiodor 
6078 Suietov.
6079
6080 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
6081 during 
6082 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
6083
6084 Example Code and Data Size: These are the sizes for the OS-independent 
6085 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6086 debug version of the code includes the debug output trace mechanism and 
6087 has 
6088 a much larger code and data size.
6089
6090   Previous Release:
6091     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
6092     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
6093   Current Release:
6094     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
6095     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
6096
6097
6098 2) iASL Compiler/Disassembler and Tools:
6099
6100 Fixed a compilation problem with the pre-defined Resource Descriptor 
6101 field 
6102 names where an "object does not exist" error could be incorrectly 
6103 generated 
6104 if the parent ResourceTemplate pathname places the template within a 
6105 different namespace scope than the current scope. (BZ 7212)
6106
6107 Fixed a problem where the compiler could hang after syntax errors 
6108 detected 
6109 in an ElseIf construct. (BZ 453)
6110
6111 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
6112 operator. An incorrect output filename was produced when this parameter 
6113 was 
6114 a null string (""). Now, the original input filename is used as the AML 
6115 output filename, with an ".aml" extension.
6116
6117 Implemented a generic batch command mode for the AcpiExec utility 
6118 (execute 
6119 any AML debugger command) (Valery Podrezov).
6120
6121 ----------------------------------------
6122 12 September 2006. Summary of changes for version 20060912:
6123
6124 1) ACPI CA Core Subsystem:
6125
6126 Enhanced the implementation of the "serialized mode" of the interpreter 
6127 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
6128 specified, instead of creating a serialization semaphore per control 
6129 method, 
6130 the interpreter lock is simply no longer released before a blocking 
6131 operation during control method execution. This effectively makes the AML 
6132 Interpreter single-threaded. The overhead of a semaphore per-method is 
6133 eliminated.
6134
6135 Fixed a regression where an error was no longer emitted if a control 
6136 method 
6137 attempts to create 2 objects of the same name. This once again returns 
6138 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
6139 that 
6140 will dynamically serialize the control method to possible prevent future 
6141 errors. (BZ 440)
6142
6143 Integrated a fix for a problem with PCI Express HID detection in the PCI 
6144 Config Space setup procedure. (BZ 7145)
6145
6146 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
6147 AcpiHwInitialize function - the FADT registers are now validated when the 
6148 table is loaded.
6149
6150 Added two new warnings during FADT verification - 1) if the FADT is 
6151 larger 
6152 than the largest known FADT version, and 2) if there is a mismatch 
6153 between 
6154
6155 32-bit block address and the 64-bit X counterpart (when both are non-
6156 zero.)
6157
6158 Example Code and Data Size: These are the sizes for the OS-independent 
6159 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6160 debug version of the code includes the debug output trace mechanism and 
6161 has 
6162 a much larger code and data size.
6163
6164   Previous Release:
6165     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
6166     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
6167   Current Release:
6168     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
6169     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
6170
6171
6172 2) iASL Compiler/Disassembler and Tools:
6173
6174 Fixed a problem with the implementation of the Switch() operator where 
6175 the 
6176 temporary variable was declared too close to the actual Switch, instead 
6177 of 
6178 at method level. This could cause a problem if the Switch() operator is 
6179 within a while loop, causing an error on the second iteration. (BZ 460)
6180
6181 Disassembler - fix for error emitted for unknown type for target of scope 
6182 operator. Now, ignore it and continue.
6183
6184 Disassembly of an FADT now verifies the input FADT and reports any errors 
6185 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
6186
6187 Disassembly of raw data buffers with byte initialization data now 
6188 prefixes 
6189 each output line with the current buffer offset.
6190
6191 Disassembly of ASF! table now includes all variable-length data fields at 
6192 the end of some of the subtables.
6193
6194 The disassembler now emits a comment if a buffer appears to be a 
6195 ResourceTemplate, but cannot be disassembled as such because the EndTag 
6196 does 
6197 not appear at the very end of the buffer.
6198
6199 AcpiExec - Added the "-t" command line option to enable the serialized 
6200 mode 
6201 of the AML interpreter.
6202
6203 ----------------------------------------
6204 31 August 2006. Summary of changes for version 20060831:
6205
6206 1) ACPI CA Core Subsystem:
6207
6208 Miscellaneous fixes for the Table Manager:
6209 - Correctly initialize internal common FADT for all 64-bit "X" fields
6210 - Fixed a couple table mapping issues during table load
6211 - Fixed a couple alignment issues for IA64
6212 - Initialize input array to zero in AcpiInitializeTables
6213 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
6214 AcpiGetTableByIndex
6215
6216 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
6217 now 
6218 immediately disabled to prevent the waking GPE from firing again and to 
6219 prevent other wake GPEs from interrupting the wake process.
6220
6221 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
6222 to 
6223 be used for debugging systems with a large number of ACPI interrupts.
6224
6225 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
6226 both the ACPICA headers and the disassembler.
6227
6228 Example Code and Data Size: These are the sizes for the OS-independent 
6229 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6230 debug version of the code includes the debug output trace mechanism and 
6231 has 
6232 a much larger code and data size.
6233
6234   Previous Release:
6235     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
6236     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
6237   Current Release:
6238     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
6239     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
6240
6241
6242 2) iASL Compiler/Disassembler and Tools:
6243
6244 Disassembler support for the DMAR ACPI table.
6245
6246 ----------------------------------------
6247 23 August 2006. Summary of changes for version 20060823:
6248
6249 1) ACPI CA Core Subsystem:
6250
6251 The Table Manager component has been completely redesigned and 
6252 reimplemented. The new design is much simpler, and reduces the overall 
6253 code 
6254 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
6255 is 
6256 now possible to obtain the ACPI tables very early during kernel 
6257 initialization, even before dynamic memory management is initialized. 
6258 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
6259
6260 Obsolete ACPICA interfaces:
6261
6262 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
6263 init 
6264 time).
6265 - AcpiLoadTable: Not needed.
6266 - AcpiUnloadTable: Not needed.
6267
6268 New ACPICA interfaces:
6269
6270 - AcpiInitializeTables: Must be called before the table manager can be 
6271 used.
6272 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
6273 allocated memory after it becomes available.
6274 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
6275 tables 
6276 in the RSDT/XSDT.
6277
6278 Other ACPICA changes:
6279
6280 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
6281 Use 
6282 AcpiOsUnmapMemory to free this mapping.
6283 - AcpiGetTable returns the actual mapped table. The mapping is managed 
6284 internally and must not be deleted by the caller. Use of this interface 
6285 causes no additional dynamic memory allocation.
6286 - AcpiFindRootPointer: Support for physical addressing has been 
6287 eliminated, 
6288 it appeared to be unused.
6289 - The interface to AcpiOsMapMemory has changed to be consistent with the 
6290 other allocation interfaces.
6291 - The interface to AcpiOsGetRootPointer has changed to eliminate 
6292 unnecessary 
6293 parameters.
6294 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
6295 64-
6296 bit platforms. Was previously 64 bits on all platforms.
6297 - The interface to the ACPI Global Lock acquire/release macros have 
6298 changed 
6299 slightly since ACPICA no longer keeps a local copy of the FACS with a 
6300 constructed pointer to the actual global lock.
6301
6302 Porting to the new table manager:
6303
6304 - AcpiInitializeTables: Must be called once, and can be called anytime 
6305 during the OS initialization process. It allows the host to specify an 
6306 area 
6307 of memory to be used to store the internal version of the RSDT/XSDT (root 
6308 table). This allows the host to access ACPI tables before memory 
6309 management 
6310 is initialized and running.
6311 - AcpiReallocateRootTable: Can be called after memory management is 
6312 running 
6313 to copy the root table to a dynamically allocated array, freeing up the 
6314 scratch memory specified in the call to AcpiInitializeTables.
6315 - AcpiSubsystemInitialize: This existing interface is independent of the 
6316 Table Manager, and does not have to be called before the Table Manager 
6317 can 
6318 be used, it only must be called before the rest of ACPICA can be used.
6319 - ACPI Tables: Some changes have been made to the names and structure of 
6320 the 
6321 actbl.h and actbl1.h header files and may require changes to existing 
6322 code. 
6323 For example, bitfields have been completely removed because of their lack 
6324 of 
6325 portability across C compilers.
6326 - Update interfaces to the Global Lock acquire/release macros if local 
6327 versions are used. (see acwin.h)
6328
6329 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
6330
6331 New files: tbfind.c
6332
6333 Example Code and Data Size: These are the sizes for the OS-independent 
6334 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6335 debug version of the code includes the debug output trace mechanism and 
6336 has 
6337 a much larger code and data size.
6338
6339   Previous Release:
6340     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
6341     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
6342   Current Release:
6343     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
6344     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
6345
6346
6347 2) iASL Compiler/Disassembler and Tools:
6348
6349 No changes for this release.
6350
6351 ----------------------------------------
6352 21 July 2006. Summary of changes for version 20060721:
6353
6354 1) ACPI CA Core Subsystem:
6355
6356 The full source code for the ASL test suite used to validate the iASL 
6357 compiler and the ACPICA core subsystem is being released with the ACPICA 
6358 source for the first time. The source is contained in a separate package 
6359 and 
6360 consists of over 1100 files that exercise all ASL/AML operators. The 
6361 package 
6362 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
6363 Fiodor 
6364 Suietov)
6365
6366 Completed a new design and implementation for support of the ACPI Global 
6367 Lock. On the OS side, the global lock is now treated as a standard AML 
6368 mutex. Previously, multiple OS threads could "acquire" the global lock 
6369 simultaneously. However, this could cause the BIOS to be starved out of 
6370 the 
6371 lock - especially in cases such as the Embedded Controller driver where 
6372 there is a tight coupling between the OS and the BIOS.
6373
6374 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
6375 The Global Lock interrupt handler no longer queues the execution of a 
6376 separate thread to signal the global lock semaphore. Instead, the 
6377 semaphore 
6378 is signaled directly from the interrupt handler.
6379
6380 Implemented support within the AML interpreter for package objects that 
6381 contain a larger AML length (package list length) than the package 
6382 element 
6383 count. In this case, the length of the package is truncated to match the 
6384 package element count. Some BIOS code apparently modifies the package 
6385 length 
6386 on the fly, and this change supports this behavior. Provides 
6387 compatibility 
6388 with the MS AML interpreter. (With assistance from Fiodor Suietov)
6389
6390 Implemented a temporary fix for the BankValue parameter of a Bank Field 
6391 to 
6392 support all constant values, now including the Zero and One opcodes. 
6393 Evaluation of this parameter must eventually be converted to a full 
6394 TermArg 
6395 evaluation. A not-implemented error is now returned (temporarily) for 
6396 non-
6397 constant values for this parameter.
6398
6399 Fixed problem reports (Fiodor Suietov) integrated:
6400 - Fix for premature object deletion after CopyObject on Operation Region 
6401 (BZ 
6402 350)
6403
6404 Example Code and Data Size: These are the sizes for the OS-independent 
6405 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6406 debug version of the code includes the debug output trace mechanism and 
6407 has 
6408 a much larger code and data size.
6409
6410   Previous Release:
6411     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
6412     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
6413   Current Release:
6414     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
6415     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
6416
6417
6418 2) iASL Compiler/Disassembler and Tools:
6419
6420 No changes for this release.
6421
6422 ----------------------------------------
6423 07 July 2006. Summary of changes for version 20060707:
6424
6425 1) ACPI CA Core Subsystem:
6426
6427 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
6428 that do not allow the initialization of address pointers within packed 
6429 structures - even though the hardware itself may support misaligned 
6430 transfers. Some of the debug data structures are packed by default to 
6431 minimize size.
6432
6433 Added an error message for the case where AcpiOsGetThreadId() returns 
6434 zero. 
6435 A non-zero value is required by the core ACPICA code to ensure the proper 
6436 operation of AML mutexes and recursive control methods.
6437
6438 The DSDT is now the only ACPI table that determines whether the AML 
6439 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
6440 but 
6441 the hooks for per-table 32/64 switching have been removed from the code. 
6442
6443 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
6444
6445 Fixed a possible leak of an OwnerID in the error path of 
6446 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
6447 deletion to a single place in AcpiTbUninstallTable to correct possible 
6448 leaks 
6449 when using the AcpiTbDeleteTablesByType interface (with assistance from 
6450 Lance Ortiz.)
6451
6452 Fixed a problem with Serialized control methods where the semaphore 
6453 associated with the method could be over-signaled after multiple method 
6454 invocations.
6455
6456 Fixed two issues with the locking of the internal namespace data 
6457 structure. 
6458 Both the Unload() operator and AcpiUnloadTable interface now lock the 
6459 namespace during the namespace deletion associated with the table unload 
6460 (with assistance from Linn Crosetto.)
6461
6462 Fixed problem reports (Valery Podrezov) integrated:
6463 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
6464
6465 Fixed problem reports (Fiodor Suietov) integrated:
6466 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
6467 - On Address Space handler deletion, needless deactivation call (BZ 374)
6468 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
6469 375)
6470 - Possible memory leak, Notify sub-objects of Processor, Power, 
6471 ThermalZone 
6472 (BZ 376)
6473 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
6474 - Minimum Length of RSDT should be validated (BZ 379)
6475 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
6476 Handler (BZ (380)
6477 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
6478 loaded 
6479 (BZ 381)
6480
6481 Example Code and Data Size: These are the sizes for the OS-independent 
6482 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6483 debug version of the code includes the debug output trace mechanism and 
6484 has 
6485 a much larger code and data size.
6486
6487   Previous Release:
6488     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
6489     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
6490   Current Release:
6491     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
6492     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
6493
6494
6495 2) iASL Compiler/Disassembler and Tools:
6496
6497 Fixed problem reports:
6498 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
6499 436)
6500
6501 ----------------------------------------
6502 23 June 2006. Summary of changes for version 20060623:
6503
6504 1) ACPI CA Core Subsystem:
6505
6506 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
6507 allows the type to be customized to the host OS for improved efficiency 
6508 (since a spinlock is usually a very small object.)
6509
6510 Implemented support for "ignored" bits in the ACPI registers. According 
6511 to 
6512 the ACPI specification, these bits should be preserved when writing the 
6513 registers via a read/modify/write cycle. There are 3 bits preserved in 
6514 this 
6515 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
6516
6517 Implemented the initial deployment of new OSL mutex interfaces. Since 
6518 some 
6519 host operating systems have separate mutex and semaphore objects, this 
6520 feature was requested. The base code now uses mutexes (and the new mutex 
6521 interfaces) wherever a binary semaphore was used previously. However, for 
6522 the current release, the mutex interfaces are defined as macros to map 
6523 them 
6524 to the existing semaphore interfaces. Therefore, no OSL changes are 
6525 required 
6526 at this time. (See acpiosxf.h)
6527
6528 Fixed several problems with the support for the control method SyncLevel 
6529 parameter. The SyncLevel now works according to the ACPI specification 
6530 and 
6531 in concert with the Mutex SyncLevel parameter, since the current 
6532 SyncLevel 
6533 is a property of the executing thread. Mutual exclusion for control 
6534 methods 
6535 is now implemented with a mutex instead of a semaphore.
6536
6537 Fixed three instances of the use of the C shift operator in the bitfield 
6538 support code (exfldio.c) to avoid the use of a shift value larger than 
6539 the 
6540 target data width. The behavior of C compilers is undefined in this case 
6541 and 
6542 can cause unpredictable results, and therefore the case must be detected 
6543 and 
6544 avoided. (Fiodor Suietov)
6545
6546 Added an info message whenever an SSDT or OEM table is loaded dynamically 
6547 via the Load() or LoadTable() ASL operators. This should improve 
6548 debugging 
6549 capability since it will show exactly what tables have been loaded 
6550 (beyond 
6551 the tables present in the RSDT/XSDT.)
6552
6553 Example Code and Data Size: These are the sizes for the OS-independent 
6554 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6555 debug version of the code includes the debug output trace mechanism and 
6556 has 
6557 a much larger code and data size.
6558
6559   Previous Release:
6560     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
6561     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
6562   Current Release:
6563     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
6564     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
6565
6566
6567 2) iASL Compiler/Disassembler and Tools:
6568
6569 No changes for this release.
6570
6571 ----------------------------------------
6572 08 June 2006. Summary of changes for version 20060608:
6573
6574 1) ACPI CA Core Subsystem:
6575
6576 Converted the locking mutex used for the ACPI hardware to a spinlock. 
6577 This 
6578 change should eliminate all problems caused by attempting to acquire a 
6579 semaphore at interrupt level, and it means that all ACPICA external 
6580 interfaces that directly access the ACPI hardware can be safely called 
6581 from 
6582 interrupt level. OSL code that implements the semaphore interfaces should 
6583 be 
6584 able to eliminate any workarounds for being called at interrupt level.
6585
6586 Fixed a regression introduced in 20060526 where the ACPI device 
6587 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
6588 device 
6589 did not have an optional _INI method.
6590
6591 Fixed an IndexField issue where a write to the Data Register should be 
6592 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
6593 433, 
6594 Fiodor Suietov)
6595
6596 Fixed problem reports (Valery Podrezov) integrated:
6597 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
6598
6599 Fixed problem reports (Fiodor Suietov) integrated:
6600 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
6601
6602 Removed four global mutexes that were obsolete and were no longer being 
6603 used.
6604
6605 Example Code and Data Size: These are the sizes for the OS-independent 
6606 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6607 debug version of the code includes the debug output trace mechanism and 
6608 has 
6609 a much larger code and data size.
6610
6611   Previous Release:
6612     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
6613     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
6614   Current Release:
6615     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
6616     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
6617
6618
6619 2) iASL Compiler/Disassembler and Tools:
6620
6621 Fixed a fault when using -g option (get tables from registry) on Windows 
6622 machines.
6623
6624 Fixed problem reports integrated:
6625 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
6626 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
6627 Suietov)
6628 - Global table revision override (-r) is ignored (BZ 413)
6629
6630 ----------------------------------------
6631 26 May 2006. Summary of changes for version 20060526:
6632
6633 1) ACPI CA Core Subsystem:
6634
6635 Restructured, flattened, and simplified the internal interfaces for 
6636 namespace object evaluation - resulting in smaller code, less CPU stack 
6637 use, 
6638 and fewer interfaces. (With assistance from Mikhail Kouzmich)
6639
6640 Fixed a problem with the CopyObject operator where the first parameter 
6641 was 
6642 not typed correctly for the parser, interpreter, compiler, and 
6643 disassembler. 
6644 Caused various errors and unexpected behavior.
6645
6646 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
6647 produced incorrect results with some C compilers. Since the behavior of C 
6648 compilers when the shift value is larger than the datatype width is 
6649 apparently not well defined, the interpreter now detects this condition 
6650 and 
6651 simply returns zero as expected in all such cases. (BZ 395)
6652
6653 Fixed problem reports (Valery Podrezov) integrated:
6654 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
6655 - Allow interpreter to handle nested method declarations (BZ 5361)
6656
6657 Fixed problem reports (Fiodor Suietov) integrated:
6658 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
6659 355)
6660 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
6661 356)
6662 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
6663 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
6664 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
6665 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
6666 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
6667 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
6668 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
6669 365)
6670 - Status of the Global Initialization Handler call not used (BZ 366)
6671 - Incorrect object parameter to Global Initialization Handler (BZ 367)
6672
6673 Example Code and Data Size: These are the sizes for the OS-independent 
6674 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6675 debug version of the code includes the debug output trace mechanism and 
6676 has 
6677 a much larger code and data size.
6678
6679   Previous Release:
6680     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
6681     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
6682   Current Release:
6683     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
6684     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
6685
6686
6687 2) iASL Compiler/Disassembler and Tools:
6688
6689 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
6690 namespace identifiers with no collision with existing resource descriptor 
6691 macro names. This provides compatibility with other ASL compilers and is 
6692 most useful for disassembly/recompilation of existing tables without 
6693 parse 
6694 errors. (With assistance from Thomas Renninger)
6695
6696 Disassembler: fixed an incorrect disassembly problem with the 
6697 DataTableRegion and CopyObject operators. Fixed a possible fault during 
6698 disassembly of some Alias operators.
6699
6700 ----------------------------------------
6701 12 May 2006. Summary of changes for version 20060512:
6702
6703 1) ACPI CA Core Subsystem:
6704
6705 Replaced the AcpiOsQueueForExecution interface with a new interface named 
6706 AcpiOsExecute. The major difference is that the new interface does not 
6707 have 
6708 a Priority parameter, this appeared to be useless and has been replaced 
6709 by 
6710
6711 Type parameter. The Type tells the host what type of execution is being 
6712 requested, such as global lock handler, notify handler, GPE handler, etc. 
6713 This allows the host to queue and execute the request as appropriate for 
6714 the 
6715 request type, possibly using different work queues and different 
6716 priorities 
6717 for the various request types. This enables fixes for multithreading 
6718 deadlock problems such as BZ #5534, and will require changes to all 
6719 existing 
6720 OS interface layers. (Alexey Starikovskiy and Bob Moore)
6721
6722 Fixed a possible memory leak associated with the support for the so-
6723 called 
6724 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
6725 Suietov)
6726
6727 Fixed a problem with the Load() operator where a table load from an 
6728 operation region could overwrite an internal table buffer by up to 7 
6729 bytes 
6730 and cause alignment faults on IPF systems. (With assistance from Luming 
6731 Yu)
6732
6733 Example Code and Data Size: These are the sizes for the OS-independent 
6734 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6735 debug version of the code includes the debug output trace mechanism and 
6736 has 
6737 a much larger code and data size.
6738
6739   Previous Release:
6740     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
6741     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
6742   Current Release:
6743     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
6744     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
6745
6746
6747
6748 2) iASL Compiler/Disassembler and Tools:
6749
6750 Disassembler: Implemented support to cross reference the internal 
6751 namespace 
6752 and automatically generate ASL External() statements for symbols not 
6753 defined 
6754 within the current table being disassembled. This will simplify the 
6755 disassembly and recompilation of interdependent tables such as SSDTs 
6756 since 
6757 these statements will no longer have to be added manually.
6758
6759 Disassembler: Implemented experimental support to automatically detect 
6760 invocations of external control methods and generate appropriate 
6761 External() 
6762 statements. This is problematic because the AML cannot be correctly 
6763 parsed 
6764 until the number of arguments for each control method is known. 
6765 Currently, 
6766 standalone method invocations and invocations as the source operand of a 
6767 Store() statement are supported.
6768
6769 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
6770 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
6771 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
6772 more readable and likely closer to the original ASL source.
6773
6774 ----------------------------------------
6775 21 April 2006. Summary of changes for version 20060421:
6776
6777 1) ACPI CA Core Subsystem:
6778
6779 Removed a device initialization optimization introduced in 20051216 where 
6780 the _STA method was not run unless an _INI was also present for the same 
6781 device. This optimization could cause problems because it could allow 
6782 _INI 
6783 methods to be run within a not-present device subtree. (If a not-present 
6784 device had no _INI, _STA would not be run, the not-present status would 
6785 not 
6786 be discovered, and the children of the device would be incorrectly 
6787 traversed.)
6788
6789 Implemented a new _STA optimization where namespace subtrees that do not 
6790 contain _INI are identified and ignored during device initialization. 
6791 Selectively running _STA can significantly improve boot time on large 
6792 machines (with assistance from Len Brown.)
6793
6794 Implemented support for the device initialization case where the returned 
6795 _STA flags indicate a device not-present but functioning. In this case, 
6796 _INI 
6797 is not run, but the device children are examined for presence, as per the 
6798 ACPI specification.
6799
6800 Implemented an additional change to the IndexField support in order to 
6801 conform to MS behavior. The value written to the Index Register is not 
6802 simply a byte offset, it is a byte offset in units of the access width of 
6803 the parent Index Field. (Fiodor Suietov)
6804
6805 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
6806 interface is called during the creation of all AML operation regions, and 
6807 allows the host OS to exert control over what addresses it will allow the 
6808 AML code to access. Operation Regions whose addresses are disallowed will 
6809 cause a runtime exception when they are actually accessed (will not 
6810 affect 
6811 or abort table loading.) See oswinxf or osunixxf for an example 
6812 implementation.
6813
6814 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
6815 interface allows the host OS to match the various "optional" 
6816 interface/behavior strings for the _OSI predefined control method as 
6817 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
6818 for an example implementation.
6819
6820 Restructured and corrected various problems in the exception handling 
6821 code 
6822 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
6823 (with assistance from Takayoshi Kochi.)
6824
6825 Modified the Linux source converter to ignore quoted string literals 
6826 while 
6827 converting identifiers from mixed to lower case. This will correct 
6828 problems 
6829 with the disassembler and other areas where such strings must not be 
6830 modified.
6831
6832 The ACPI_FUNCTION_* macros no longer require quotes around the function 
6833 name. This allows the Linux source converter to convert the names, now 
6834 that 
6835 the converter ignores quoted strings.
6836
6837 Example Code and Data Size: These are the sizes for the OS-independent 
6838 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6839 debug version of the code includes the debug output trace mechanism and 
6840 has 
6841 a much larger code and data size.
6842
6843   Previous Release:
6844
6845     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
6846     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
6847   Current Release:
6848     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
6849     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
6850
6851
6852 2) iASL Compiler/Disassembler and Tools:
6853
6854 Implemented 3 new warnings for iASL, and implemented multiple warning 
6855 levels 
6856 (w2 flag).
6857
6858 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
6859 not 
6860 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
6861 check for the possible timeout, a warning is issued.
6862
6863 2) Useless operators: If an ASL operator does not specify an optional 
6864 target 
6865 operand and it also does not use the function return value from the 
6866 operator, a warning is issued since the operator effectively does 
6867 nothing.
6868
6869 3) Unreferenced objects: If a namespace object is created, but never 
6870 referenced, a warning is issued. This is a warning level 2 since there 
6871 are 
6872 cases where this is ok, such as when a secondary table is loaded that 
6873 uses 
6874 the unreferenced objects. Even so, care is taken to only flag objects 
6875 that 
6876 don't look like they will ever be used. For example, the reserved methods 
6877 (starting with an underscore) are usually not referenced because it is 
6878 expected that the OS will invoke them.
6879
6880 ----------------------------------------
6881 31 March 2006. Summary of changes for version 20060331:
6882
6883 1) ACPI CA Core Subsystem:
6884
6885 Implemented header file support for the following additional ACPI tables: 
6886 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
6887 support, 
6888 all current and known ACPI tables are now defined in the ACPICA headers 
6889 and 
6890 are available for use by device drivers and other software.
6891
6892 Implemented support to allow tables that contain ACPI names with invalid 
6893 characters to be loaded. Previously, this would cause the table load to 
6894 fail, but since there are several known cases of such tables on existing 
6895 machines, this change was made to enable ACPI support for them. Also, 
6896 this 
6897 matches the behavior of the Microsoft ACPI implementation.
6898
6899 Fixed a couple regressions introduced during the memory optimization in 
6900 the 
6901 20060317 release. The namespace node definition required additional 
6902 reorganization and an internal datatype that had been changed to 8-bit 
6903 was 
6904 restored to 32-bit. (Valery Podrezov)
6905
6906 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
6907 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
6908 null pointers are now trapped and ignored, matching the behavior of the 
6909 previous implementation before the deployment of AcpiOsReleaseObject.
6910 (Valery Podrezov, Fiodor Suietov)
6911
6912 Fixed a memory mapping leak during the deletion of a SystemMemory 
6913 operation 
6914 region where a cached memory mapping was not deleted. This became a 
6915 noticeable problem for operation regions that are defined within 
6916 frequently 
6917 used control methods. (Dana Meyers)
6918
6919 Reorganized the ACPI table header files into two main files: one for the 
6920 ACPI tables consumed by the ACPICA core, and another for the 
6921 miscellaneous 
6922 ACPI tables that are consumed by the drivers and other software. The 
6923 various 
6924 FADT definitions were merged into one common section and three different 
6925 tables (ACPI 1.0, 1.0+, and 2.0)
6926
6927 Example Code and Data Size: These are the sizes for the OS-independent 
6928 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6929 debug version of the code includes the debug output trace mechanism and 
6930 has 
6931 a much larger code and data size.
6932
6933   Previous Release:
6934     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
6935     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
6936   Current Release:
6937     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
6938     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
6939
6940
6941 2) iASL Compiler/Disassembler and Tools:
6942
6943 Disassembler: Implemented support to decode and format all non-AML ACPI 
6944 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
6945 added to the ACPICA headers, therefore all current and known ACPI tables 
6946 are 
6947 supported.
6948
6949 Disassembler: The change to allow ACPI names with invalid characters also 
6950 enables the disassembly of such tables. Invalid characters within names 
6951 are 
6952 changed to '*' to make the name printable; the iASL compiler will still 
6953 generate an error for such names, however, since this is an invalid ACPI 
6954 character.
6955
6956 Implemented an option for AcpiXtract (-a) to extract all tables found in 
6957 the 
6958 input file. The default invocation extracts only the DSDTs and SSDTs.
6959
6960 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
6961 makefile for the AcpiXtract utility.
6962
6963 ----------------------------------------
6964 17 March 2006. Summary of changes for version 20060317:
6965
6966 1) ACPI CA Core Subsystem:
6967
6968 Implemented the use of a cache object for all internal namespace nodes. 
6969 Since there are about 1000 static nodes in a typical system, this will 
6970 decrease memory use for cache implementations that minimize per-
6971 allocation 
6972 overhead (such as a slab allocator.)
6973
6974 Removed the reference count mechanism for internal namespace nodes, since 
6975 it 
6976 was deemed unnecessary. This reduces the size of each namespace node by 
6977 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
6978 case, 
6979 and 32 bytes for the 64-bit case.
6980
6981 Optimized several internal data structures to reduce object size on 64-
6982 bit 
6983 platforms by packing data within the 64-bit alignment. This includes the 
6984 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
6985 instances corresponding to the namespace objects.
6986
6987 Added two new strings for the predefined _OSI method: "Windows 2001.1 
6988 SP1" 
6989 and "Windows 2006".
6990
6991 Split the allocation tracking mechanism out to a separate file, from 
6992 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
6993 application-level code. Kernels may wish to not include uttrack.c in 
6994 distributions.
6995
6996 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
6997 associated 
6998 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
6999 macros.)
7000
7001 Code and Data Size: These are the sizes for the acpica.lib produced by 
7002 the 
7003 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
7004 ACPI 
7005 driver or OSPM code. The debug version of the code includes the debug 
7006 output 
7007 trace mechanism and has a much larger code and data size. Note that these 
7008 values will vary depending on the efficiency of the compiler and the 
7009 compiler options used during generation.
7010
7011   Previous Release:
7012     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
7013     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
7014   Current Release:
7015     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
7016     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
7017
7018
7019 2) iASL Compiler/Disassembler and Tools:
7020
7021 Implemented an ANSI C version of the acpixtract utility. This version 
7022 will 
7023 automatically extract the DSDT and all SSDTs from the input acpidump text 
7024 file and dump the binary output to separate files. It can also display a 
7025 summary of the input file including the headers for each table found and 
7026 will extract any single ACPI table, with any signature. (See 
7027 source/tools/acpixtract)
7028
7029 ----------------------------------------
7030 10 March 2006. Summary of changes for version 20060310:
7031
7032 1) ACPI CA Core Subsystem:
7033
7034 Tagged all external interfaces to the subsystem with the new 
7035 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
7036 assist 
7037 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
7038 macro. The default definition is NULL.
7039
7040 Added the ACPI_THREAD_ID type for the return value from 
7041 AcpiOsGetThreadId. 
7042 This allows the host to define this as necessary to simplify kernel 
7043 integration. The default definition is ACPI_NATIVE_UINT.
7044
7045 Fixed two interpreter problems related to error processing, the deletion 
7046 of 
7047 objects, and placing invalid pointers onto the internal operator result 
7048 stack. BZ 6028, 6151 (Valery Podrezov)
7049
7050 Increased the reference count threshold where a warning is emitted for 
7051 large 
7052 reference counts in order to eliminate unnecessary warnings on systems 
7053 with 
7054 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
7055 0x800.
7056
7057 Due to universal disagreement as to the meaning of the 'c' in the 
7058 calloc() 
7059 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
7060 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
7061 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
7062 ACPI_FREE.
7063
7064 Code and Data Size: These are the sizes for the acpica.lib produced by 
7065 the 
7066 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
7067 ACPI 
7068 driver or OSPM code. The debug version of the code includes the debug 
7069 output 
7070 trace mechanism and has a much larger code and data size. Note that these 
7071 values will vary depending on the efficiency of the compiler and the 
7072 compiler options used during generation.
7073
7074   Previous Release:
7075     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
7076     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
7077   Current Release:
7078     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
7079     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
7080
7081
7082 2) iASL Compiler/Disassembler:
7083
7084 Disassembler: implemented support for symbolic resource descriptor 
7085 references. If a CreateXxxxField operator references a fixed offset 
7086 within 
7087
7088 resource descriptor, a name is assigned to the descriptor and the offset 
7089 is 
7090 translated to the appropriate resource tag and pathname. The addition of 
7091 this support brings the disassembled code very close to the original ASL 
7092 source code and helps eliminate run-time errors when the disassembled 
7093 code 
7094 is modified (and recompiled) in such a way as to invalidate the original 
7095 fixed offsets.
7096
7097 Implemented support for a Descriptor Name as the last parameter to the 
7098 ASL 
7099 Register() macro. This parameter was inadvertently left out of the ACPI 
7100 specification, and will be added for ACPI 3.0b.
7101
7102 Fixed a problem where the use of the "_OSI" string (versus the full path 
7103 "\_OSI") caused an internal compiler error. ("No back ptr to op")
7104
7105 Fixed a problem with the error message that occurs when an invalid string 
7106 is 
7107 used for a _HID object (such as one with an embedded asterisk: 
7108 "*PNP010A".) 
7109 The correct message is now displayed.
7110
7111 ----------------------------------------
7112 17 February 2006. Summary of changes for version 20060217:
7113
7114 1) ACPI CA Core Subsystem:
7115
7116 Implemented a change to the IndexField support to match the behavior of 
7117 the 
7118 Microsoft AML interpreter. The value written to the Index register is now 
7119
7120 byte offset, no longer an index based upon the width of the Data 
7121 register. 
7122 This should fix IndexField problems seen on some machines where the Data 
7123 register is not exactly one byte wide. The ACPI specification will be 
7124 clarified on this point.
7125
7126 Fixed a problem where several resource descriptor types could overrun the 
7127 internal descriptor buffer due to size miscalculation: VendorShort, 
7128 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
7129 affect all platforms.
7130
7131 Fixed a problem where individual resource descriptors were misaligned 
7132 within 
7133 the internal buffer, causing alignment faults on IA64 platforms.
7134
7135 Code and Data Size: These are the sizes for the acpica.lib produced by 
7136 the 
7137 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
7138 ACPI 
7139 driver or OSPM code. The debug version of the code includes the debug 
7140 output 
7141 trace mechanism and has a much larger code and data size. Note that these 
7142 values will vary depending on the efficiency of the compiler and the 
7143 compiler options used during generation.
7144
7145   Previous Release:
7146     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
7147     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
7148   Current Release:
7149     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
7150     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
7151
7152
7153 2) iASL Compiler/Disassembler:
7154
7155 Implemented support for new reserved names: _WDG and _WED are Microsoft 
7156 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
7157 defined method (Throttling Depth Limit.)
7158
7159 Fixed a problem where a zero-length VendorShort or VendorLong resource 
7160 descriptor was incorrectly emitted as a descriptor of length one.
7161
7162 ----------------------------------------
7163 10 February 2006. Summary of changes for version 20060210:
7164
7165 1) ACPI CA Core Subsystem:
7166
7167 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
7168 normal execution. These became apparent after the conversion from 
7169 ACPI_DEBUG_PRINT.
7170
7171 Fixed a problem where the CreateField operator could hang if the BitIndex 
7172 or 
7173 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
7174
7175 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
7176 failed with an exception. This also fixes a couple of related RefOf and 
7177 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
7178
7179 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
7180 of 
7181 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
7182 BZ 
7183 5480)
7184
7185 Implemented a memory cleanup at the end of the execution of each 
7186 iteration 
7187 of an AML While() loop, preventing the accumulation of outstanding 
7188 objects. 
7189 (Valery Podrezov, BZ 5427)
7190
7191 Eliminated a chunk of duplicate code in the object resolution code. 
7192 (Valery 
7193 Podrezov, BZ 5336)
7194
7195 Fixed several warnings during the 64-bit code generation.
7196
7197 The AcpiSrc source code conversion tool now inserts one line of 
7198 whitespace 
7199 after an if() statement that is followed immediately by a comment, 
7200 improving 
7201 readability of the Linux code.
7202
7203 Code and Data Size: The current and previous library sizes for the core 
7204 subsystem are shown below. These are the code and data sizes for the 
7205 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7206 These 
7207 values do not include any ACPI driver or OSPM code. The debug version of 
7208 the 
7209 code includes the debug output trace mechanism and has a much larger code 
7210 and data size. Note that these values will vary depending on the 
7211 efficiency 
7212 of the compiler and the compiler options used during generation.
7213
7214   Previous Release:
7215     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
7216     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
7217   Current Release:
7218     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
7219     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
7220
7221
7222 2) iASL Compiler/Disassembler:
7223
7224 Fixed a problem with the disassembly of a BankField operator with a 
7225 complex 
7226 expression for the BankValue parameter.
7227
7228 ----------------------------------------
7229 27 January 2006. Summary of changes for version 20060127:
7230
7231 1) ACPI CA Core Subsystem:
7232
7233 Implemented support in the Resource Manager to allow unresolved 
7234 namestring 
7235 references within resource package objects for the _PRT method. This 
7236 support 
7237 is in addition to the previously implemented unresolved reference support 
7238 within the AML parser. If the interpreter slack mode is enabled, these 
7239 unresolved references will be passed through to the caller as a NULL 
7240 package 
7241 entry.
7242
7243 Implemented and deployed new macros and functions for error and warning 
7244 messages across the subsystem. These macros are simpler and generate less 
7245 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
7246 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
7247 macros remain defined to allow ACPI drivers time to migrate to the new 
7248 macros.
7249
7250 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
7251 the 
7252 Acquire/Release Lock OSL interfaces.
7253
7254 Fixed a problem where Alias ASL operators are sometimes not correctly 
7255 resolved, in both the interpreter and the iASL compiler.
7256
7257 Fixed several problems with the implementation of the 
7258 ConcatenateResTemplate 
7259 ASL operator. As per the ACPI specification, zero length buffers are now 
7260 treated as a single EndTag. One-length buffers always cause a fatal 
7261 exception. Non-zero length buffers that do not end with a full 2-byte 
7262 EndTag 
7263 cause a fatal exception.
7264
7265 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
7266 interface. (With assistance from Thomas Renninger)
7267
7268 Code and Data Size: The current and previous library sizes for the core 
7269 subsystem are shown below. These are the code and data sizes for the 
7270 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7271 These 
7272 values do not include any ACPI driver or OSPM code. The debug version of 
7273 the 
7274 code includes the debug output trace mechanism and has a much larger code 
7275 and data size. Note that these values will vary depending on the 
7276 efficiency 
7277 of the compiler and the compiler options used during generation.
7278
7279   Previous Release:
7280     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
7281     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
7282   Current Release:
7283     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
7284     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
7285
7286
7287 2) iASL Compiler/Disassembler:
7288
7289 Fixed an internal error that was generated for any forward references to 
7290 ASL 
7291 Alias objects.
7292
7293 ----------------------------------------
7294 13 January 2006. Summary of changes for version 20060113:
7295
7296 1) ACPI CA Core Subsystem:
7297
7298 Added 2006 copyright to all module headers and signons. This affects 
7299 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
7300 utilities.
7301  
7302 Enhanced the ACPICA error reporting in order to simplify user migration 
7303 to 
7304 the non-debug version of ACPICA. Replaced all instances of the 
7305 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
7306 debug 
7307 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
7308 respectively. This preserves all error and warning messages in the non-
7309 debug 
7310 version of the ACPICA code (this has been referred to as the "debug lite" 
7311 option.) Over 200 cases were converted to create a total of over 380 
7312 error/warning messages across the ACPICA code. This increases the code 
7313 and 
7314 data size of the default non-debug version of the code somewhat (about 
7315 13K), 
7316 but all error/warning reporting may be disabled if desired (and code 
7317 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
7318 configuration option. The size of the debug version of ACPICA remains 
7319 about 
7320 the same.
7321
7322 Fixed a memory leak within the AML Debugger "Set" command. One object was 
7323 not properly deleted for every successful invocation of the command.
7324
7325 Code and Data Size: The current and previous library sizes for the core 
7326 subsystem are shown below. These are the code and data sizes for the 
7327 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7328 These 
7329 values do not include any ACPI driver or OSPM code. The debug version of 
7330 the 
7331 code includes the debug output trace mechanism and has a much larger code 
7332 and data size. Note that these values will vary depending on the 
7333 efficiency 
7334 of the compiler and the compiler options used during generation.
7335
7336   Previous Release:
7337     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
7338     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
7339   Current Release:
7340     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
7341     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
7342
7343
7344 2) iASL Compiler/Disassembler:
7345
7346 The compiler now officially supports the ACPI 3.0a specification that was 
7347 released on December 30, 2005. (Specification is available at 
7348 www.acpi.info)
7349
7350 ----------------------------------------
7351 16 December 2005. Summary of changes for version 20051216:
7352
7353 1) ACPI CA Core Subsystem:
7354
7355 Implemented optional support to allow unresolved names within ASL Package 
7356 objects. A null object is inserted in the package when a named reference 
7357 cannot be located in the current namespace. Enabled via the interpreter 
7358 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
7359 machines 
7360 that contain such code.
7361
7362 Implemented an optimization to the initialization sequence that can 
7363 improve 
7364 boot time. During ACPI device initialization, the _STA method is now run 
7365 if 
7366 and only if the _INI method exists. The _STA method is used to determine 
7367 if 
7368 the device is present; An _INI can only be run if _STA returns present, 
7369 but 
7370 it is a waste of time to run the _STA method if the _INI does not exist. 
7371 (Prototype and assistance from Dong Wei)
7372
7373 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
7374 is 
7375 available in the current compiler. Otherwise, the default (void *) cast 
7376 is 
7377 used as before.
7378
7379 Fixed some possible memory leaks found within the execution path of the 
7380 Break, Continue, If, and CreateField operators. (Valery Podrezov)
7381
7382 Fixed a problem introduced in the 20051202 release where an exception is 
7383 generated during method execution if a control method attempts to declare 
7384 another method.
7385
7386 Moved resource descriptor string constants that are used by both the AML 
7387 disassembler and AML debugger to the common utilities directory so that 
7388 these components are independent.
7389
7390 Implemented support in the AcpiExec utility (-e switch) to globally 
7391 ignore 
7392 exceptions during control method execution (method is not aborted.)
7393
7394 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
7395 generation.
7396
7397 Code and Data Size: The current and previous library sizes for the core 
7398 subsystem are shown below. These are the code and data sizes for the 
7399 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7400 These 
7401 values do not include any ACPI driver or OSPM code. The debug version of 
7402 the 
7403 code includes the debug output trace mechanism and has a much larger code 
7404 and data size. Note that these values will vary depending on the 
7405 efficiency 
7406 of the compiler and the compiler options used during generation.
7407
7408   Previous Release:
7409     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
7410     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
7411   Current Release:
7412     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
7413     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
7414
7415
7416 2) iASL Compiler/Disassembler:
7417
7418 Fixed a problem where a CPU stack overflow fault could occur if a 
7419 recursive 
7420 method call was made from within a Return statement.
7421
7422 ----------------------------------------
7423 02 December 2005. Summary of changes for version 20051202:
7424
7425 1) ACPI CA Core Subsystem:
7426
7427 Modified the parsing of control methods to no longer create namespace 
7428 objects during the first pass of the parse. Objects are now created only 
7429 during the execute phase, at the moment the namespace creation operator 
7430 is 
7431 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
7432 This 
7433 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
7434 reentrant control methods are protected by an AML mutex. The mutex will 
7435 now 
7436 correctly block multiple threads from attempting to create the same 
7437 object 
7438 more than once.
7439
7440 Increased the number of available Owner Ids for namespace object tracking 
7441 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
7442 on 
7443 some machines with a large number of ACPI tables (either static or 
7444 dynamic).
7445
7446 Fixed a problem with the AcpiExec utility where a fault could occur when 
7447 the 
7448 -b switch (batch mode) is used.
7449
7450 Enhanced the namespace dump routine to output the owner ID for each 
7451 namespace object.
7452
7453 Code and Data Size: The current and previous library sizes for the core 
7454 subsystem are shown below. These are the code and data sizes for the 
7455 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7456 These 
7457 values do not include any ACPI driver or OSPM code. The debug version of 
7458 the 
7459 code includes the debug output trace mechanism and has a much larger code 
7460 and data size. Note that these values will vary depending on the 
7461 efficiency 
7462 of the compiler and the compiler options used during generation.
7463
7464   Previous 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   Current Release:
7468     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
7469     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
7470
7471
7472 2) iASL Compiler/Disassembler:
7473
7474 Fixed a parse error during compilation of certain Switch/Case constructs. 
7475 To 
7476 simplify the parse, the grammar now allows for multiple Default 
7477 statements 
7478 and this error is now detected and flagged during the analysis phase.
7479
7480 Disassembler: The disassembly now includes the contents of the original 
7481 table header within a comment at the start of the file. This includes the 
7482 name and version of the original ASL compiler.
7483
7484 ----------------------------------------
7485 17 November 2005. Summary of changes for version 20051117:
7486
7487 1) ACPI CA Core Subsystem:
7488
7489 Fixed a problem in the AML parser where the method thread count could be 
7490 decremented below zero if any errors occurred during the method parse 
7491 phase. 
7492 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
7493 machines. 
7494 This also fixed a related regression with the mechanism that detects and 
7495 corrects methods that cannot properly handle reentrancy (related to the 
7496 deployment of the new OwnerId mechanism.)
7497
7498 Eliminated the pre-parsing of control methods (to detect errors) during 
7499 table load. Related to the problem above, this was causing unwind issues 
7500 if 
7501 any errors occurred during the parse, and it seemed to be overkill. A 
7502 table 
7503 load should not be aborted if there are problems with any single control 
7504 method, thus rendering this feature rather pointless.
7505
7506 Fixed a problem with the new table-driven resource manager where an 
7507 internal 
7508 buffer overflow could occur for small resource templates.
7509
7510 Implemented a new external interface, AcpiGetVendorResource. This 
7511 interface 
7512 will find and return a vendor-defined resource descriptor within a _CRS 
7513 or 
7514 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
7515 Helgaas.
7516
7517 Removed the length limit (200) on string objects as per the upcoming ACPI 
7518 3.0A specification. This affects the following areas of the interpreter: 
7519 1) 
7520 any implicit conversion of a Buffer to a String, 2) a String object 
7521 result 
7522 of the ASL Concatentate operator, 3) the String object result of the ASL 
7523 ToString operator.
7524
7525 Fixed a problem in the Windows OS interface layer (OSL) where a 
7526 WAIT_FOREVER 
7527 on a semaphore object would incorrectly timeout. This allows the 
7528 multithreading features of the AcpiExec utility to work properly under 
7529 Windows.
7530
7531 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
7532 the recently added file named "utresrc.c".
7533
7534 Code and Data Size: The current and previous library sizes for the core 
7535 subsystem are shown below. These are the code and data sizes for the 
7536 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7537 These 
7538 values do not include any ACPI driver or OSPM code. The debug version of 
7539 the 
7540 code includes the debug output trace mechanism and has a much larger code 
7541 and data size. Note that these values will vary depending on the 
7542 efficiency 
7543 of the compiler and the compiler options used during generation.
7544
7545   Previous Release:
7546     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
7547     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7548   Current Release:
7549     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
7550     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7551
7552
7553 2) iASL Compiler/Disassembler:
7554
7555 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
7556 specification. For the iASL compiler, this means that string literals 
7557 within 
7558 the source ASL can be of any length. 
7559
7560 Enhanced the listing output to dump the AML code for resource descriptors 
7561 immediately after the ASL code for each descriptor, instead of in a block 
7562 at 
7563 the end of the entire resource template.
7564
7565 Enhanced the compiler debug output to dump the entire original parse tree 
7566 constructed during the parse phase, before any transforms are applied to 
7567 the 
7568 tree. The transformed tree is dumped also.
7569
7570 ----------------------------------------
7571 02 November 2005. Summary of changes for version 20051102:
7572
7573 1) ACPI CA Core Subsystem:
7574
7575 Modified the subsystem initialization sequence to improve GPE support. 
7576 The 
7577 GPE initialization has been split into two parts in order to defer 
7578 execution 
7579 of the _PRW methods (Power Resources for Wake) until after the hardware 
7580 is 
7581 fully initialized and the SCI handler is installed. This allows the _PRW 
7582 methods to access fields protected by the Global Lock. This will fix 
7583 systems 
7584 where a NO_GLOBAL_LOCK exception has been seen during initialization.
7585
7586 Converted the ACPI internal object disassemble and display code within 
7587 the 
7588 AML debugger to fully table-driven operation, reducing code size and 
7589 increasing maintainability.
7590
7591 Fixed a regression with the ConcatenateResTemplate() ASL operator 
7592 introduced 
7593 in the 20051021 release.
7594
7595 Implemented support for "local" internal ACPI object types within the 
7596 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
7597 These local types include RegionFields, BankFields, IndexFields, Alias, 
7598 and 
7599 reference objects.
7600
7601 Moved common AML resource handling code into a new file, "utresrc.c". 
7602 This 
7603 code is shared by both the Resource Manager and the AML Debugger.
7604
7605 Code and Data Size: The current and previous library sizes for the core 
7606 subsystem are shown below. These are the code and data sizes for the 
7607 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7608 These 
7609 values do not include any ACPI driver or OSPM code. The debug version of 
7610 the 
7611 code includes the debug output trace mechanism and has a much larger code 
7612 and data size. Note that these values will vary depending on the 
7613 efficiency 
7614 of the compiler and the compiler options used during generation.
7615
7616   Previous Release:
7617     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
7618     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
7619   Current Release:
7620     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
7621     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
7622
7623
7624 2) iASL Compiler/Disassembler:
7625
7626 Fixed a problem with very large initializer lists (more than 4000 
7627 elements) 
7628 for both Buffer and Package objects where the parse stack could overflow.
7629
7630 Enhanced the pre-compile source code scan for non-ASCII characters to 
7631 ignore 
7632 characters within comment fields. The scan is now always performed and is 
7633 no 
7634 longer optional, detecting invalid characters within a source file 
7635 immediately rather than during the parse phase or later.
7636
7637 Enhanced the ASL grammar definition to force early reductions on all 
7638 list-
7639 style grammar elements so that the overall parse stack usage is greatly 
7640 reduced. This should improve performance and reduce the possibility of 
7641 parse 
7642 stack overflow.
7643
7644 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
7645 Also, 
7646 with the addition of a %expected statement, the compiler generates from 
7647 source with no warnings.
7648
7649 Fixed a possible segment fault in the disassembler if the input filename 
7650 does not contain a "dot" extension (Thomas Renninger).
7651
7652 ----------------------------------------
7653 21 October 2005. Summary of changes for version 20051021:
7654
7655 1) ACPI CA Core Subsystem:
7656
7657 Implemented support for the EM64T and other x86-64 processors. This 
7658 essentially entails recognizing that these processors support non-aligned 
7659 memory transfers. Previously, all 64-bit processors were assumed to lack 
7660 hardware support for non-aligned transfers.
7661
7662 Completed conversion of the Resource Manager to nearly full table-driven 
7663 operation. Specifically, the resource conversion code (convert AML to 
7664 internal format and the reverse) and the debug code to dump internal 
7665 resource descriptors are fully table-driven, reducing code and data size 
7666 and 
7667 improving maintainability.
7668
7669 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
7670 word 
7671 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
7672 from 
7673 Alexey Starikovskiy)
7674
7675 Implemented support within the resource conversion code for the Type-
7676 Specific byte within the various ACPI 3.0 *WordSpace macros.
7677
7678 Fixed some issues within the resource conversion code for the type-
7679 specific 
7680 flags for both Memory and I/O address resource descriptors. For Memory, 
7681 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
7682 TTP flags into two separate fields.
7683
7684 Code and Data Size: The current and previous library sizes for the core 
7685 subsystem are shown below. These are the code and data sizes for the 
7686 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7687 These 
7688 values do not include any ACPI driver or OSPM code. The debug version of 
7689 the 
7690 code includes the debug output trace mechanism and has a much larger code 
7691 and data size. Note that these values will vary depending on the 
7692 efficiency 
7693 of the compiler and the compiler options used during generation.
7694
7695   Previous Release:
7696     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
7697     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
7698   Current Release:
7699     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
7700     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
7701
7702
7703
7704 2) iASL Compiler/Disassembler:
7705
7706 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
7707 the 
7708 corresponding ResourceSource string was not also present in a resource 
7709 descriptor declaration. This restriction caused problems with existing 
7710 AML/ASL code that includes the Index byte without the string. When such 
7711 AML 
7712 was disassembled, it could not be compiled without modification. Further, 
7713 the modified code created a resource template with a different size than 
7714 the 
7715 original, breaking code that used fixed offsets into the resource 
7716 template 
7717 buffer.
7718
7719 Removed a recent feature of the disassembler to ignore a lone 
7720 ResourceIndex 
7721 byte. This byte is now emitted if present so that the exact AML can be 
7722 reproduced when the disassembled code is recompiled.
7723
7724 Improved comments and text alignment for the resource descriptor code 
7725 emitted by the disassembler.
7726
7727 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
7728
7729 Register() resource descriptor.
7730
7731 ----------------------------------------
7732 30 September 2005. Summary of changes for version 20050930:
7733
7734 1) ACPI CA Core Subsystem:
7735
7736 Completed a major overhaul of the Resource Manager code - specifically, 
7737 optimizations in the area of the AML/internal resource conversion code. 
7738 The 
7739 code has been optimized to simplify and eliminate duplicated code, CPU 
7740 stack 
7741 use has been decreased by optimizing function parameters and local 
7742 variables, and naming conventions across the manager have been 
7743 standardized 
7744 for clarity and ease of maintenance (this includes function, parameter, 
7745 variable, and struct/typedef names.) The update may force changes in some 
7746 driver code, depending on how resources are handled by the host OS.
7747
7748 All Resource Manager dispatch and information tables have been moved to a 
7749 single location for clarity and ease of maintenance. One new file was 
7750 created, named "rsinfo.c".
7751
7752 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
7753 guarantee that the argument is not evaluated twice, making them less 
7754 prone 
7755 to macro side-effects. However, since there exists the possibility of 
7756 additional stack use if a particular compiler cannot optimize them (such 
7757 as 
7758 in the debug generation case), the original macros are optionally 
7759 available.  
7760 Note that some invocations of the return_VALUE macro may now cause size 
7761 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
7762 to 
7763 eliminate these. (From Randy Dunlap)
7764
7765 Implemented a new mechanism to enable debug tracing for individual 
7766 control 
7767 methods. A new external interface, AcpiDebugTrace, is provided to enable 
7768 this mechanism. The intent is to allow the host OS to easily enable and 
7769 disable tracing for problematic control methods. This interface can be 
7770 easily exposed to a user or debugger interface if desired. See the file 
7771 psxface.c for details.
7772
7773 AcpiUtCallocate will now return a valid pointer if a length of zero is 
7774 specified - a length of one is used and a warning is issued. This matches 
7775 the behavior of AcpiUtAllocate.
7776
7777 Code and Data Size: The current and previous library sizes for the core 
7778 subsystem are shown below. These are the code and data sizes for the 
7779 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7780 These 
7781 values do not include any ACPI driver or OSPM code. The debug version of 
7782 the 
7783 code includes the debug output trace mechanism and has a much larger code 
7784 and data size. Note that these values will vary depending on the 
7785 efficiency 
7786 of the compiler and the compiler options used during generation.
7787
7788   Previous Release:
7789     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
7790     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
7791   Current Release:
7792     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
7793     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
7794
7795
7796 2) iASL Compiler/Disassembler:
7797
7798 A remark is issued if the effective compile-time length of a package or 
7799 buffer is zero. Previously, this was a warning.
7800
7801 ----------------------------------------
7802 16 September 2005. Summary of changes for version 20050916:
7803
7804 1) ACPI CA Core Subsystem:
7805
7806 Fixed a problem within the Resource Manager where support for the Generic 
7807 Register descriptor was not fully implemented. This descriptor is now 
7808 fully 
7809 recognized, parsed, disassembled, and displayed.
7810
7811 Completely restructured the Resource Manager code to utilize table-driven 
7812 dispatch and lookup, eliminating many of the large switch() statements. 
7813 This 
7814 reduces overall subsystem code size and code complexity. Affects the 
7815 resource parsing and construction, disassembly, and debug dump output.
7816
7817 Cleaned up and restructured the debug dump output for all resource 
7818 descriptors. Improved readability of the output and reduced code size.
7819
7820 Fixed a problem where changes to internal data structures caused the 
7821 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
7822
7823 Code and Data Size: The current and previous library sizes for the core 
7824 subsystem are shown below. These are the code and data sizes for the 
7825 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
7826 These 
7827 values do not include any ACPI driver or OSPM code. The debug version of 
7828 the 
7829 code includes the debug output trace mechanism and has a much larger code 
7830 and data size. Note that these values will vary depending on the 
7831 efficiency 
7832 of the compiler and the compiler options used during generation.
7833
7834   Previous Release:
7835     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
7836     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
7837   Current Release:
7838     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
7839     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
7840
7841
7842 2) iASL Compiler/Disassembler:
7843
7844 Updated the disassembler to automatically insert an EndDependentFn() 
7845 macro 
7846 into the ASL stream if this macro is missing in the original AML code, 
7847 simplifying compilation of the resulting ASL module.
7848
7849 Fixed a problem in the disassembler where a disassembled ResourceSource 
7850 string (within a large resource descriptor) was not surrounded by quotes 
7851 and 
7852 not followed by a comma, causing errors when the resulting ASL module was 
7853 compiled. Also, escape sequences within a ResourceSource string are now 
7854 handled correctly (especially "\\")
7855
7856 ----------------------------------------
7857 02 September 2005. Summary of changes for version 20050902:
7858
7859 1) ACPI CA Core Subsystem:
7860
7861 Fixed a problem with the internal Owner ID allocation and deallocation 
7862 mechanisms for control method execution and recursive method invocation. 
7863 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
7864 messages seen on some systems. Recursive method invocation depth is 
7865 currently limited to 255. (Alexey Starikovskiy)
7866
7867 Completely eliminated all vestiges of support for the "module-level 
7868 executable code" until this support is fully implemented and debugged. 
7869 This 
7870 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
7871 some systems that invoke this support.
7872
7873 Fixed a problem within the resource manager code where the transaction 
7874 flags 
7875 for a 64-bit address descriptor were handled incorrectly in the type-
7876 specific flag byte.
7877
7878 Consolidated duplicate code within the address descriptor resource 
7879 manager 
7880 code, reducing overall subsystem code size.
7881
7882 Fixed a fault when using the AML debugger "disassemble" command to 
7883 disassemble individual control methods.
7884
7885 Removed references to the "release_current" directory within the Unix 
7886 release package.
7887
7888 Code and Data Size: The current and previous core subsystem library sizes 
7889 are shown below. These are the code and data sizes for the acpica.lib 
7890 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
7891 include any ACPI driver or OSPM code. The debug version of the code 
7892 includes 
7893 the debug output trace mechanism and has a much larger code and data 
7894 size. 
7895 Note that these values will vary depending on the efficiency of the 
7896 compiler 
7897 and the compiler options used during generation.
7898
7899   Previous Release:
7900     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7901     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
7902   Current Release:
7903     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
7904     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
7905
7906
7907 2) iASL Compiler/Disassembler:
7908
7909 Implemented an error check for illegal duplicate values in the interrupt 
7910 and 
7911 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
7912 Interrupt().
7913
7914 Implemented error checking for the Irq() and IrqNoFlags() macros to 
7915 detect 
7916 too many values in the interrupt list (16 max) and invalid values in the 
7917 list (range 0 - 15)
7918
7919 The maximum length string literal within an ASL file is now restricted to 
7920 200 characters as per the ACPI specification.
7921
7922 Fixed a fault when using the -ln option (generate namespace listing).
7923
7924 Implemented an error check to determine if a DescriptorName within a 
7925 resource descriptor has already been used within the current scope.
7926
7927 ----------------------------------------
7928 15 August 2005.  Summary of changes for version 20050815:
7929  
7930 1) ACPI CA Core Subsystem:
7931  
7932 Implemented a full bytewise compare to determine if a table load request 
7933 is 
7934 attempting to load a duplicate table. The compare is performed if the 
7935 table 
7936 signatures and table lengths match. This will allow different tables with 
7937 the same OEM Table ID and revision to be loaded - probably against the 
7938 ACPI 
7939 specification, but discovered in the field nonetheless.
7940  
7941 Added the changes.txt logfile to each of the zipped release packages.
7942  
7943 Code and Data Size: Current and previous core subsystem library sizes are 
7944 shown below. These are the code and data sizes for the acpica.lib 
7945 produced 
7946 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
7947 any ACPI driver or OSPM code. The debug version of the code includes the 
7948 debug output trace mechanism and has a much larger code and data size. 
7949 Note 
7950 that these values will vary depending on the efficiency of the compiler 
7951 and 
7952 the compiler options used during generation.
7953  
7954   Previous Release:
7955     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7956     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
7957   Current Release:
7958     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
7959     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
7960  
7961  
7962 2) iASL Compiler/Disassembler:
7963  
7964 Fixed a problem where incorrect AML code could be generated for Package 
7965 objects if optimization is disabled (via the -oa switch).
7966  
7967 Fixed a problem with where incorrect AML code is generated for variable-
7968 length packages when the package length is not specified and the number 
7969 of 
7970 initializer values is greater than 255.
7971  
7972
7973 ----------------------------------------
7974 29 July 2005.  Summary of changes for version 20050729:
7975
7976 1) ACPI CA Core Subsystem:
7977
7978 Implemented support to ignore an attempt to install/load a particular 
7979 ACPI 
7980 table more than once. Apparently there exists BIOS code that repeatedly 
7981 attempts to load the same SSDT upon certain events. With assistance from 
7982 Venkatesh Pallipadi.
7983
7984 Restructured the main interface to the AML parser in order to correctly 
7985 handle all exceptional conditions. This will prevent leakage of the 
7986 OwnerId 
7987 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
7988 some 
7989 machines. With assistance from Alexey Starikovskiy.
7990
7991 Support for "module level code" has been disabled in this version due to 
7992
7993 number of issues that have appeared on various machines. The support can 
7994 be 
7995 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
7996 compilation. When the issues are fully resolved, the code will be enabled 
7997 by 
7998 default again.
7999
8000 Modified the internal functions for debug print support to define the 
8001 FunctionName parameter as a (const char *) for compatibility with 
8002 compiler 
8003 built-in macros such as __FUNCTION__, etc.
8004
8005 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
8006
8007 Implemented support to display an object count summary for the AML 
8008 Debugger 
8009 commands Object and Methods.
8010
8011 Code and Data Size: Current and previous core subsystem library sizes are 
8012 shown below. These are the code and data sizes for the acpica.lib 
8013 produced 
8014 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8015 any ACPI driver or OSPM code. The debug version of the code includes the 
8016 debug output trace mechanism and has a much larger code and data size. 
8017 Note 
8018 that these values will vary depending on the efficiency of the compiler 
8019 and 
8020 the compiler options used during generation.
8021
8022   Previous Release:
8023     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
8024     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
8025   Current Release:
8026     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
8027     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
8028
8029
8030 2) iASL Compiler/Disassembler:
8031
8032 Fixed a regression that appeared in the 20050708 version of the compiler 
8033 where an error message was inadvertently emitted for invocations of the 
8034 _OSI 
8035 reserved control method.
8036
8037 ----------------------------------------
8038 08 July 2005.  Summary of changes for version 20050708:
8039
8040 1) ACPI CA Core Subsystem:
8041
8042 The use of the CPU stack in the debug version of the subsystem has been 
8043 considerably reduced. Previously, a debug structure was declared in every 
8044 function that used the debug macros. This structure has been removed in 
8045 favor of declaring the individual elements as parameters to the debug 
8046 functions. This reduces the cumulative stack use during nested execution 
8047 of 
8048 ACPI function calls at the cost of a small increase in the code size of 
8049 the 
8050 debug version of the subsystem. With assistance from Alexey Starikovskiy 
8051 and 
8052 Len Brown.
8053
8054 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
8055 headers to define a macro that will return the current function name at 
8056 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
8057 by 
8058 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
8059 compiler-dependent header, the function name is saved on the CPU stack 
8060 (one 
8061 pointer per function.) This mechanism is used because apparently there 
8062 exists no standard ANSI-C defined macro that that returns the function 
8063 name.
8064
8065 Redesigned and reimplemented the "Owner ID" mechanism used to track 
8066 namespace objects created/deleted by ACPI tables and control method 
8067 execution. A bitmap is now used to allocate and free the IDs, thus 
8068 solving 
8069 the wraparound problem present in the previous implementation. The size 
8070 of 
8071 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
8072 Starikovskiy).
8073
8074 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
8075 bitfield 
8076 flag definitions within the headers for the predefined ACPI tables. These 
8077 have been replaced by UINT8_BIT in order to increase the code portability 
8078 of 
8079 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
8080 eliminate bitfields entirely because of a lack of portability.
8081
8082 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
8083 This 
8084 is a frequently used function and this improvement increases the 
8085 performance 
8086 of the entire subsystem (Alexey Starikovskiy).
8087
8088 Fixed several possible memory leaks and the inverse - premature object 
8089 deletion (Alexey Starikovskiy).
8090
8091 Code and Data Size: Current and previous core subsystem library sizes are 
8092 shown below. These are the code and data sizes for the acpica.lib 
8093 produced 
8094 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8095 any ACPI driver or OSPM code. The debug version of the code includes the 
8096 debug output trace mechanism and has a much larger code and data size. 
8097 Note 
8098 that these values will vary depending on the efficiency of the compiler 
8099 and 
8100 the compiler options used during generation.
8101
8102   Previous Release:
8103     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
8104     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
8105   Current Release:
8106     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
8107     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
8108
8109 ----------------------------------------
8110 24 June 2005.  Summary of changes for version 20050624:
8111
8112 1) ACPI CA Core Subsystem:
8113
8114 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
8115 the host-defined cache object. This allows the OSL implementation to 
8116 define 
8117 and type this object in any manner desired, simplifying the OSL 
8118 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
8119 Linux, and should be defined in the OS-specific header file for other 
8120 operating systems as required.
8121
8122 Changed the interface to AcpiOsAcquireObject to directly return the 
8123 requested object as the function return (instead of ACPI_STATUS.) This 
8124 change was made for performance reasons, since this is the purpose of the 
8125 interface in the first place. AcpiOsAcquireObject is now similar to the 
8126 AcpiOsAllocate interface.
8127
8128 Implemented a new AML debugger command named Businfo. This command 
8129 displays 
8130 information about all devices that have an associate _PRT object. The 
8131 _ADR, 
8132 _HID, _UID, and _CID are displayed for these devices.
8133
8134 Modified the initialization sequence in AcpiInitializeSubsystem to call 
8135 the 
8136 OSL interface AcpiOslInitialize first, before any local initialization. 
8137 This 
8138 change was required because the global initialization now calls OSL 
8139 interfaces.
8140
8141 Enhanced the Dump command to display the entire contents of Package 
8142 objects 
8143 (including all sub-objects and their values.) 
8144
8145 Restructured the code base to split some files because of size and/or 
8146 because the code logically belonged in a separate file. New files are 
8147 listed 
8148 below. All makefiles and project files included in the ACPI CA release 
8149 have 
8150 been updated.
8151     utilities/utcache.c           /* Local cache interfaces */
8152     utilities/utmutex.c           /* Local mutex support */
8153     utilities/utstate.c           /* State object support */
8154     interpreter/parser/psloop.c   /* Main AML parse loop */
8155
8156 Code and Data Size: Current and previous core subsystem library sizes are 
8157 shown below. These are the code and data sizes for the acpica.lib 
8158 produced 
8159 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8160 any ACPI driver or OSPM code. The debug version of the code includes the 
8161 debug output trace mechanism and has a much larger code and data size. 
8162 Note 
8163 that these values will vary depending on the efficiency of the compiler 
8164 and 
8165 the compiler options used during generation.
8166
8167   Previous Release:
8168     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
8169     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
8170   Current Release:
8171     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
8172     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
8173
8174
8175 2) iASL Compiler/Disassembler:
8176
8177 Fixed a regression introduced in version 20050513 where the use of a 
8178 Package 
8179 object within a Case() statement caused a compile time exception. The 
8180 original behavior has been restored (a Match() operator is emitted.)
8181
8182 ----------------------------------------
8183 17 June 2005.  Summary of changes for version 20050617:
8184
8185 1) ACPI CA Core Subsystem:
8186
8187 Moved the object cache operations into the OS interface layer (OSL) to 
8188 allow 
8189 the host OS to handle these operations if desired (for example, the Linux 
8190 OSL will invoke the slab allocator). This support is optional; the 
8191 compile 
8192 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
8193 cache 
8194 code in the ACPI CA core. The new OSL interfaces are shown below. See 
8195 utalloc.c for an example implementation, and acpiosxf.h for the exact 
8196 interface definitions. With assistance from Alexey Starikovskiy.
8197     AcpiOsCreateCache
8198     AcpiOsDeleteCache
8199     AcpiOsPurgeCache
8200     AcpiOsAcquireObject
8201     AcpiOsReleaseObject
8202
8203 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
8204 return 
8205 and restore a flags parameter. This fits better with many OS lock models. 
8206 Note: the current execution state (interrupt handler or not) is no longer 
8207 passed to these interfaces. If necessary, the OSL must determine this 
8208 state 
8209 by itself, a simple and fast operation. With assistance from Alexey 
8210 Starikovskiy.
8211
8212 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
8213 present if the revision of the RSDP was 2 or greater. According to the 
8214 ACPI 
8215 specification, the XSDT is optional in all cases, and the table manager 
8216 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
8217 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
8218 contain 
8219 only the RSDT.
8220
8221 Fixed an interpreter problem with the Mid() operator in the case of an 
8222 input 
8223 string where the resulting output string is of zero length. It now 
8224 correctly 
8225 returns a valid, null terminated string object instead of a string object 
8226 with a null pointer.
8227
8228 Fixed a problem with the control method argument handling to allow a 
8229 store 
8230 to an Arg object that already contains an object of type Device. The 
8231 Device 
8232 object is now correctly overwritten. Previously, an error was returned.
8233
8234
8235 Enhanced the debugger Find command to emit object values in addition to 
8236 the 
8237 found object pathnames. The output format is the same as the dump 
8238 namespace 
8239 command.
8240
8241 Enhanced the debugger Set command. It now has the ability to set the 
8242 value 
8243 of any Named integer object in the namespace (Previously, only method 
8244 locals 
8245 and args could be set.)
8246
8247 Code and Data Size: Current and previous core subsystem library sizes are 
8248 shown below. These are the code and data sizes for the acpica.lib 
8249 produced 
8250 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8251 any ACPI driver or OSPM code. The debug version of the code includes the 
8252 debug output trace mechanism and has a much larger code and data size. 
8253 Note 
8254 that these values will vary depending on the efficiency of the compiler 
8255 and 
8256 the compiler options used during generation.
8257
8258   Previous Release:
8259     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
8260     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
8261   Current Release:
8262     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
8263     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
8264
8265
8266 2) iASL Compiler/Disassembler:
8267
8268 Fixed a regression in the disassembler where if/else/while constructs 
8269 were 
8270 output incorrectly. This problem was introduced in the previous release 
8271 (20050526). This problem also affected the single-step disassembly in the 
8272 debugger.
8273
8274 Fixed a problem where compiling the reserved _OSI method would randomly 
8275 (but 
8276 rarely) produce compile errors.
8277
8278 Enhanced the disassembler to emit compilable code in the face of 
8279 incorrect 
8280 AML resource descriptors. If the optional ResourceSourceIndex is present, 
8281 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
8282 disassembly. Otherwise, the resulting code cannot be compiled without 
8283 errors.
8284
8285 ----------------------------------------
8286 26 May 2005.  Summary of changes for version 20050526:
8287
8288 1) ACPI CA Core Subsystem:
8289
8290 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
8291 the module level (not within a control method.) These opcodes are 
8292 executed 
8293 exactly once at the time the table is loaded. This type of code was legal 
8294 up 
8295 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
8296 in 
8297 order to provide backwards compatibility with earlier BIOS 
8298 implementations. 
8299 This eliminates the "Encountered executable code at module level" warning 
8300 that was previously generated upon detection of such code.
8301
8302 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
8303 inadvertently be generated during the lookup of namespace objects in the 
8304 second pass parse of ACPI tables and control methods. It appears that 
8305 this 
8306 problem could occur during the resolution of forward references to 
8307 namespace 
8308 objects.
8309
8310 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
8311 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
8312 allows the deadlock detection debug code to be compiled out in the normal 
8313 case, improving mutex performance (and overall subsystem performance) 
8314 considerably.
8315
8316 Implemented a handful of miscellaneous fixes for possible memory leaks on 
8317 error conditions and error handling control paths. These fixes were 
8318 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
8319
8320 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
8321 (tbxfroot.c) 
8322 to prevent a fault in this error case.
8323
8324 Code and Data Size: Current and previous core subsystem library sizes are 
8325 shown below. These are the code and data sizes for the acpica.lib 
8326 produced 
8327 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8328 any ACPI driver or OSPM code. The debug version of the code includes the 
8329 debug output trace mechanism and has a much larger code and data size. 
8330 Note 
8331 that these values will vary depending on the efficiency of the compiler 
8332 and 
8333 the compiler options used during generation.
8334
8335   Previous Release:
8336     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8337     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8338   Current Release:
8339     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
8340     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
8341
8342
8343 2) iASL Compiler/Disassembler:
8344
8345 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
8346 the module level (not within a control method.) These operators will be 
8347 executed once at the time the table is loaded. This type of code was 
8348 legal 
8349 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
8350 compiler in order to provide backwards compatibility with earlier BIOS 
8351 ASL 
8352 code.
8353
8354 The ACPI integer width (specified via the table revision ID or the -r 
8355 override, 32 or 64 bits) is now used internally during compile-time 
8356 constant 
8357 folding to ensure that constants are truncated to 32 bits if necessary. 
8358 Previously, the revision ID value was only emitted in the AML table 
8359 header.
8360
8361 An error message is now generated for the Mutex and Method operators if 
8362 the 
8363 SyncLevel parameter is outside the legal range of 0 through 15.
8364
8365 Fixed a problem with the Method operator ParameterTypes list handling 
8366 (ACPI 
8367 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
8368 error.  
8369 The actual underlying implementation of method argument typechecking is 
8370 still under development, however.
8371
8372 ----------------------------------------
8373 13 May 2005.  Summary of changes for version 20050513:
8374
8375 1) ACPI CA Core Subsystem:
8376
8377 Implemented support for PCI Express root bridges -- added support for 
8378 device 
8379 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
8380
8381 The interpreter now automatically truncates incoming 64-bit constants to 
8382 32 
8383 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
8384 This 
8385 also affects the iASL compiler constant folding. (Note: as per below, the 
8386 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
8387
8388 Fixed a problem where string and buffer objects with "static" pointers 
8389 (pointers to initialization data within an ACPI table) were not handled 
8390 consistently. The internal object copy operation now always copies the 
8391 data 
8392 to a newly allocated buffer, regardless of whether the source object is 
8393 static or not.
8394
8395 Fixed a problem with the FromBCD operator where an implicit result 
8396 conversion was improperly performed while storing the result to the 
8397 target 
8398 operand. Since this is an "explicit conversion" operator, the implicit 
8399 conversion should never be performed on the output.
8400
8401 Fixed a problem with the CopyObject operator where a copy to an existing 
8402 named object did not always completely overwrite the existing object 
8403 stored 
8404 at name. Specifically, a buffer-to-buffer copy did not delete the 
8405 existing 
8406 buffer.
8407
8408 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
8409 and 
8410 structs for consistency.
8411
8412 Code and Data Size: Current and previous core subsystem library sizes are 
8413 shown below. These are the code and data sizes for the acpica.lib 
8414 produced 
8415 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8416 any ACPI driver or OSPM code. The debug version of the code includes the 
8417 debug output trace mechanism and has a much larger code and data size. 
8418 Note 
8419 that these values will vary depending on the efficiency of the compiler 
8420 and 
8421 the compiler options used during generation.
8422
8423   Previous Release:
8424     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8425     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8426   Current Release: (Same sizes)
8427     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8428     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8429
8430
8431 2) iASL Compiler/Disassembler:
8432
8433 The compiler now emits a warning if an attempt is made to generate a 64-
8434 bit 
8435 integer constant from within a 32-bit ACPI table (Revision < 2). The 
8436 integer 
8437 is truncated to 32 bits.
8438
8439 Fixed a problem with large package objects: if the static length of the 
8440 package is greater than 255, the "variable length package" opcode is 
8441 emitted. Previously, this caused an error. This requires an update to the 
8442 ACPI spec, since it currently (incorrectly) states that packages larger 
8443 than 
8444 255 elements are not allowed.
8445
8446 The disassembler now correctly handles variable length packages and 
8447 packages 
8448 larger than 255 elements.
8449
8450 ----------------------------------------
8451 08 April 2005.  Summary of changes for version 20050408:
8452
8453 1) ACPI CA Core Subsystem:
8454
8455 Fixed three cases in the interpreter where an "index" argument to an ASL 
8456 function was still (internally) 32 bits instead of the required 64 bits. 
8457 This was the Index argument to the Index, Mid, and Match operators.
8458
8459 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
8460 is 
8461 not a POSIX-defined function and not present in most kernel-level C 
8462 libraries. All references to the C library strupr function have been 
8463 removed 
8464 from the headers.
8465
8466 Completed the deployment of static functions/prototypes. All prototypes 
8467 with 
8468 the static attribute have been moved from the headers to the owning C 
8469 file.
8470
8471 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
8472 utility). This option allows the utility to extract individual ACPI 
8473 tables 
8474 from the output of AcpiDmp. It provides the same functionality of the 
8475 acpixtract.pl perl script without the worry of setting the correct perl 
8476 options. AcpiBin runs on Windows and has not yet been generated/validated 
8477 in 
8478 the Linux/Unix environment (but should be soon).
8479  
8480 Updated and fixed the table dump option for AcpiBin (-d). This option 
8481 converts a single ACPI table to a hex/ascii file, similar to the output 
8482 of 
8483 AcpiDmp.
8484
8485 Code and Data Size: Current and previous core subsystem library sizes are 
8486 shown below. These are the code and data sizes for the acpica.lib 
8487 produced 
8488 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8489 any ACPI driver or OSPM code. The debug version of the code includes the 
8490 debug output trace mechanism and has a much larger code and data size. 
8491 Note 
8492 that these values will vary depending on the efficiency of the compiler 
8493 and 
8494 the compiler options used during generation.
8495
8496   Previous Release:
8497     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
8498     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
8499   Current Release:
8500     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
8501     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
8502
8503
8504 2) iASL Compiler/Disassembler:
8505
8506 Disassembler fix: Added a check to ensure that the table length found in 
8507 the 
8508 ACPI table header within the input file is not longer than the actual 
8509 input 
8510 file size. This indicates some kind of file or table corruption.
8511
8512 ----------------------------------------
8513 29 March 2005.  Summary of changes for version 20050329:
8514
8515 1) ACPI CA Core Subsystem:
8516
8517 An error is now generated if an attempt is made to create a Buffer Field 
8518 of 
8519 length zero (A CreateField with a length operand of zero.)
8520
8521 The interpreter now issues a warning whenever executable code at the 
8522 module 
8523 level is detected during ACPI table load. This will give some idea of the 
8524 prevalence of this type of code.
8525
8526 Implemented support for references to named objects (other than control 
8527 methods) within package objects.
8528
8529 Enhanced package object output for the debug object. Package objects are 
8530 now 
8531 completely dumped, showing all elements.
8532
8533 Enhanced miscellaneous object output for the debug object. Any object can 
8534 now be written to the debug object (for example, a device object can be 
8535 written, and the type of the object will be displayed.)
8536
8537 The "static" qualifier has been added to all local functions across both 
8538 the 
8539 core subsystem and the iASL compiler.
8540
8541 The number of "long" lines (> 80 chars) within the source has been 
8542 significantly reduced, by about 1/3.
8543
8544 Cleaned up all header files to ensure that all CA/iASL functions are 
8545 prototyped (even static functions) and the formatting is consistent.
8546
8547 Two new header files have been added, acopcode.h and acnames.h.
8548
8549 Removed several obsolete functions that were no longer used.
8550
8551 Code and Data Size: Current and previous core subsystem library sizes are 
8552 shown below. These are the code and data sizes for the acpica.lib 
8553 produced 
8554 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8555 any ACPI driver or OSPM code. The debug version of the code includes the 
8556 debug output trace mechanism and has a much larger code and data size. 
8557 Note 
8558 that these values will vary depending on the efficiency of the compiler 
8559 and 
8560 the compiler options used during generation.
8561
8562   Previous Release:
8563     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8564     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
8565   Current Release:
8566     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
8567     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
8568
8569
8570
8571 2) iASL Compiler/Disassembler:
8572
8573 Fixed a problem with the resource descriptor generation/support. For the 
8574 ResourceSourceIndex and the ResourceSource fields, both must be present, 
8575 or 
8576 both must be not present - can't have one without the other.
8577
8578 The compiler now returns non-zero from the main procedure if any errors 
8579 have 
8580 occurred during the compilation.
8581
8582
8583 ----------------------------------------
8584 09 March 2005.  Summary of changes for version 20050309:
8585
8586 1) ACPI CA Core Subsystem:
8587
8588 The string-to-buffer implicit conversion code has been modified again 
8589 after 
8590 a change to the ACPI specification.  In order to match the behavior of 
8591 the 
8592 other major ACPI implementation, the target buffer is no longer truncated 
8593 if 
8594 the source string is smaller than an existing target buffer. This change 
8595 requires an update to the ACPI spec, and should eliminate the recent 
8596 AE_AML_BUFFER_LIMIT issues.
8597
8598 The "implicit return" support was rewritten to a new algorithm that 
8599 solves 
8600 the general case. Rather than attempt to determine when a method is about 
8601 to 
8602 exit, the result of every ASL operator is saved momentarily until the 
8603 very 
8604 next ASL operator is executed. Therefore, no matter how the method exits, 
8605 there will always be a saved implicit return value. This feature is only 
8606 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
8607 eliminate 
8608 AE_AML_NO_RETURN_VALUE errors when enabled.
8609
8610 Implemented implicit conversion support for the predicate (operand) of 
8611 the 
8612 If, Else, and While operators. String and Buffer arguments are 
8613 automatically 
8614 converted to Integers.
8615
8616 Changed the string-to-integer conversion behavior to match the new ACPI 
8617 errata: "If no integer object exists, a new integer is created. The ASCII 
8618 string is interpreted as a hexadecimal constant. Each string character is 
8619 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
8620 with the first character as the most significant digit, and ending with 
8621 the 
8622 first non-hexadecimal character or end-of-string." This means that the 
8623 first 
8624 non-hex character terminates the conversion and this is the code that was 
8625 changed.
8626
8627 Fixed a problem where the ObjectType operator would fail (fault) when 
8628 used 
8629 on an Index of a Package which pointed to a null package element. The 
8630 operator now properly returns zero (Uninitialized) in this case.
8631
8632 Fixed a problem where the While operator used excessive memory by not 
8633 properly popping the result stack during execution. There was no memory 
8634 leak 
8635 after execution, however. (Code provided by Valery Podrezov.)
8636
8637 Fixed a problem where references to control methods within Package 
8638 objects 
8639 caused the method to be invoked, instead of producing a reference object 
8640 pointing to the method.
8641
8642 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
8643 to 
8644 improve performance and reduce code size. (Code provided by Alexey 
8645 Starikovskiy.)
8646
8647 Code and Data Size: Current and previous core subsystem library sizes are 
8648 shown below. These are the code and data sizes for the acpica.lib 
8649 produced 
8650 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8651 any ACPI driver or OSPM code. The debug version of the code includes the 
8652 debug output trace mechanism and has a much larger code and data size. 
8653 Note 
8654 that these values will vary depending on the efficiency of the compiler 
8655 and 
8656 the compiler options used during generation.
8657
8658   Previous Release:
8659     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8660     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
8661   Current Release:
8662     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8663     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
8664
8665
8666 2) iASL Compiler/Disassembler:
8667
8668 Fixed a problem with the Return operator with no arguments. Since the AML 
8669 grammar for the byte encoding requires an operand for the Return opcode, 
8670 the 
8671 compiler now emits a Return(Zero) for this case.  An ACPI specification 
8672 update has been written for this case.
8673
8674 For tables other than the DSDT, namepath optimization is automatically 
8675 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
8676 the 
8677 compiler has no knowledge of where, and thus cannot optimize namepaths.
8678
8679 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
8680 inadvertently omitted from the ACPI specification, and will require an 
8681 update to the spec.
8682
8683 The source file scan for ASCII characters is now optional (-a). This 
8684 change 
8685 was made because some vendors place non-ascii characters within comments. 
8686 However, the scan is simply a brute-force byte compare to ensure all 
8687 characters in the file are in the range 0x00 to 0x7F.
8688
8689 Fixed a problem with the CondRefOf operator where the compiler was 
8690 inappropriately checking for the existence of the target. Since the point 
8691 of 
8692 the operator is to check for the existence of the target at run-time, the 
8693 compiler no longer checks for the target existence.
8694
8695 Fixed a problem where errors generated from the internal AML interpreter 
8696 during constant folding were not handled properly, causing a fault.
8697
8698 Fixed a problem with overly aggressive range checking for the Stall 
8699 operator. The valid range (max 255) is now only checked if the operand is 
8700 of 
8701 type Integer. All other operand types cannot be statically checked.
8702
8703 Fixed a problem where control method references within the RefOf, 
8704 DeRefOf, 
8705 and ObjectType operators were not treated properly. They are now treated 
8706 as 
8707 actual references, not method invocations.
8708
8709 Fixed and enhanced the "list namespace" option (-ln). This option was 
8710 broken 
8711 a number of releases ago.
8712
8713 Improved error handling for the Field, IndexField, and BankField 
8714 operators. 
8715 The compiler now cleanly reports and recovers from errors in the field 
8716 component (FieldUnit) list.
8717
8718 Fixed a disassembler problem where the optional ResourceDescriptor fields 
8719 TRS and TTP were not always handled correctly.
8720
8721 Disassembler - Comments in output now use "//" instead of "/*"
8722
8723 ----------------------------------------
8724 28 February 2005.  Summary of changes for version 20050228:
8725
8726 1) ACPI CA Core Subsystem:
8727
8728 Fixed a problem where the result of an Index() operator (an object 
8729 reference) must increment the reference count on the target object for 
8730 the 
8731 life of the object reference.
8732
8733 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
8734 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
8735 WordSpace 
8736 resource descriptors.
8737
8738 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
8739 Space Descriptor" string, indicating interpreter support for the 
8740 descriptors 
8741 above.
8742
8743 Implemented header support for the new ACPI 3.0 FADT flag bits.
8744
8745 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
8746 PM1 
8747 status/enable registers.
8748
8749 Updated header support for the MADT processor local Apic struct and MADT 
8750 platform interrupt source struct for new ACPI 3.0 fields.
8751
8752 Implemented header support for the SRAT and SLIT ACPI tables.
8753
8754 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
8755 flag 
8756 at runtime.
8757
8758 Code and Data Size: Current and previous core subsystem library sizes are 
8759 shown below. These are the code and data sizes for the acpica.lib 
8760 produced 
8761 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8762 any ACPI driver or OSPM code. The debug version of the code includes the 
8763 debug output trace mechanism and has a much larger code and data size. 
8764 Note 
8765 that these values will vary depending on the efficiency of the compiler 
8766 and 
8767 the compiler options used during generation.
8768
8769   Previous Release:
8770     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
8771     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
8772   Current Release:
8773     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
8774     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
8775
8776
8777 2) iASL Compiler/Disassembler:
8778
8779 Fixed a problem with the internal 64-bit String-to-integer conversion 
8780 with 
8781 strings less than two characters long.
8782
8783 Fixed a problem with constant folding where the result of the Index() 
8784 operator can not be considered a constant. This means that Index() cannot 
8785 be 
8786 a type3 opcode and this will require an update to the ACPI specification.
8787
8788 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
8789 descriptor fields. These fields were inadvertently ignored and not output 
8790 in 
8791 the disassembly of the resource descriptor.
8792
8793
8794  ----------------------------------------
8795 11 February 2005.  Summary of changes for version 20050211:
8796
8797 1) ACPI CA Core Subsystem:
8798
8799 Implemented ACPI 3.0 support for implicit conversion within the Match() 
8800 operator. MatchObjects can now be of type integer, buffer, or string 
8801 instead 
8802 of just type integer.  Package elements are implicitly converted to the 
8803 type 
8804 of the MatchObject. This change aligns the behavior of Match() with the 
8805 behavior of the other logical operators (LLess(), etc.) It also requires 
8806 an 
8807 errata change to the ACPI specification as this support was intended for 
8808 ACPI 3.0, but was inadvertently omitted.
8809
8810 Fixed a problem with the internal implicit "to buffer" conversion. 
8811 Strings 
8812 that are converted to buffers will cause buffer truncation if the string 
8813 is 
8814 smaller than the target buffer. Integers that are converted to buffers 
8815 will 
8816 not cause buffer truncation, only zero extension (both as per the ACPI 
8817 spec.) The problem was introduced when code was added to truncate the 
8818 buffer, but this should not be performed in all cases, only the string 
8819 case.
8820
8821 Fixed a problem with the Buffer and Package operators where the 
8822 interpreter 
8823 would get confused if two such operators were used as operands to an ASL 
8824 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
8825 stack was not being popped after the execution of these operators, 
8826 resulting 
8827 in an AE_NO_RETURN_VALUE exception.
8828
8829 Fixed a problem with constructs of the form Store(Index(...),...). The 
8830 reference object returned from Index was inadvertently resolved to an 
8831 actual 
8832 value. This problem was introduced in version 20050114 when the behavior 
8833 of 
8834 Store() was modified to restrict the object types that can be used as the 
8835 source operand (to match the ACPI specification.)
8836
8837 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
8838
8839 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
8840
8841 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
8842
8843 Code and Data Size: Current and previous core subsystem library sizes are 
8844 shown below. These are the code and data sizes for the acpica.lib 
8845 produced 
8846 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8847 any ACPI driver or OSPM code. The debug version of the code includes the 
8848 debug output trace mechanism and has a much larger code and data size. 
8849 Note 
8850 that these values will vary depending on the efficiency of the compiler 
8851 and 
8852 the compiler options used during generation.
8853
8854   Previous Release:
8855     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
8856     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
8857   Current Release:
8858     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
8859     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
8860
8861
8862 2) iASL Compiler/Disassembler:
8863
8864 Fixed a code generation problem in the constant folding optimization code 
8865 where incorrect code was generated if a constant was reduced to a buffer 
8866 object (i.e., a reduced type 5 opcode.)
8867
8868 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
8869 incorrect return type in the internal opcode information table.
8870
8871 ----------------------------------------
8872 25 January 2005.  Summary of changes for version 20050125:
8873
8874 1) ACPI CA Core Subsystem:
8875
8876 Fixed a recently introduced problem with the Global Lock where the 
8877 underlying semaphore was not created.  This problem was introduced in 
8878 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
8879 Acquire() operation on _GL.
8880
8881 The local object cache is now optional, and is disabled by default. Both 
8882 AcpiExec and the iASL compiler enable the cache because they run in user 
8883 mode and this enhances their performance. #define 
8884 ACPI_ENABLE_OBJECT_CACHE 
8885 to enable the local cache.
8886
8887 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
8888 the 
8889 optional "implicit return" support where an error was returned if no 
8890 return 
8891 object was expected, but one was implicitly returned. AE_OK is now 
8892 returned 
8893 in this case and the implicitly returned object is deleted. 
8894 AcpiUtEvaluateObject is only occasionally used, and only to execute 
8895 reserved 
8896 methods such as _STA and _INI where the return type is known up front.
8897
8898 Fixed a few issues with the internal convert-to-integer code. It now 
8899 returns 
8900 an error if an attempt is made to convert a null string, a string of only 
8901 blanks/tabs, or a zero-length buffer. This affects both implicit 
8902 conversion 
8903 and explicit conversion via the ToInteger() operator.
8904
8905 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
8906 is 
8907 not needed for normal operation and should increase the performance of 
8908 the 
8909 entire subsystem. The code remains in case it is needed for debug 
8910 purposes 
8911 again.
8912
8913 The AcpiExec source and makefile are included in the Unix/Linux package 
8914 for 
8915 the first time.
8916
8917 Code and Data Size: Current and previous core subsystem library sizes are 
8918 shown below. These are the code and data sizes for the acpica.lib 
8919 produced 
8920 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
8921 any ACPI driver or OSPM code. The debug version of the code includes the 
8922 debug output trace mechanism and has a much larger code and data size. 
8923 Note 
8924 that these values will vary depending on the efficiency of the compiler 
8925 and 
8926 the compiler options used during generation.
8927
8928   Previous Release:
8929     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
8930     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
8931   Current Release:
8932     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
8933     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
8934
8935 2) iASL Compiler/Disassembler:
8936
8937 Switch/Case support: A warning is now issued if the type of the Switch 
8938 value 
8939 cannot be determined at compile time. For example, Switch(Arg0) will 
8940 generate the warning, and the type is assumed to be an integer. As per 
8941 the 
8942 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
8943 the 
8944 warning.
8945
8946 Switch/Case support: Implemented support for buffer and string objects as 
8947 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
8948 buffers and strings.
8949
8950 Switch/Case support: The emitted code for the LEqual() comparisons now 
8951 uses 
8952 the switch value as the first operand, not the second. The case value is 
8953 now 
8954 the second operand, and this allows the case value to be implicitly 
8955 converted to the type of the switch value, not the other way around.
8956
8957 Switch/Case support: Temporary variables are now emitted immediately 
8958 within 
8959 the control method, not at the global level. This means that there are 
8960 now 
8961 36 temps available per-method, not 36 temps per-module as was the case 
8962 with 
8963 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
8964
8965 ----------------------------------------
8966 14 January 2005.  Summary of changes for version 20050114:
8967
8968 Added 2005 copyright to all module headers.  This affects every module in 
8969 the core subsystem, iASL compiler, and the utilities.
8970
8971 1) ACPI CA Core Subsystem:
8972
8973 Fixed an issue with the String-to-Buffer conversion code where the string 
8974 null terminator was not included in the buffer after conversion, but 
8975 there 
8976 is existing ASL that assumes the string null terminator is included. This 
8977 is 
8978 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
8979 introduced in the previous version when the code was updated to correctly 
8980 set the converted buffer size as per the ACPI specification. The ACPI 
8981 spec 
8982 is ambiguous and will be updated to specify that the null terminator must 
8983 be 
8984 included in the converted buffer. This also affects the ToBuffer() ASL 
8985 operator.
8986
8987 Fixed a problem with the Mid() ASL/AML operator where it did not work 
8988 correctly on Buffer objects. Newly created sub-buffers were not being 
8989 marked 
8990 as initialized.
8991
8992
8993 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
8994 performed on the OemId and OemTableId table header fields.  These fields 
8995 are 
8996 not null terminated, so strncmp is now used instead of strcmp.
8997
8998 Implemented a restriction on the Store() ASL/AML operator to align the 
8999 behavior with the ACPI specification.  Previously, any object could be 
9000 used 
9001 as the source operand.  Now, the only objects that may be used are 
9002 Integers, 
9003 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
9004 necessary, the original behavior can be restored by enabling the 
9005 EnableInterpreterSlack flag.
9006
9007 Enhanced the optional "implicit return" support to allow an implicit 
9008 return 
9009 value from methods that are invoked externally via the AcpiEvaluateObject 
9010 interface.  This enables implicit returns from the _STA and _INI methods, 
9011 for example.
9012
9013 Changed the Revision() ASL/AML operator to return the current version of 
9014 the 
9015 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
9016 returned 
9017 the supported ACPI version (This is the function of the _REV method).
9018
9019 Updated the _REV predefined method to return the currently supported 
9020 version 
9021 of ACPI, now 3.
9022
9023 Implemented batch mode option for the AcpiExec utility (-b).
9024
9025 Code and Data Size: Current and previous core subsystem library sizes are 
9026 shown below. These are the code and data sizes for the acpica.lib 
9027 produced 
9028 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9029 any ACPI driver or OSPM code. The debug version of the code includes the 
9030 debug output trace mechanism and has a much larger code and data size. 
9031 Note 
9032 that these values will vary depending on the efficiency of the compiler 
9033 and 
9034 the compiler options used during generation.
9035
9036   Previous Release:
9037     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
9038     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
9039   Current Release:
9040     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
9041     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
9042
9043 ----------------------------------------
9044 10 December 2004.  Summary of changes for version 20041210:
9045
9046 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
9047 ACPI CA core subsystem.
9048
9049 1) ACPI CA Core Subsystem:
9050
9051 Fixed a problem in the ToDecimalString operator where the resulting 
9052 string 
9053 length was incorrectly calculated. The length is now calculated exactly, 
9054 eliminating incorrect AE_STRING_LIMIT exceptions.
9055
9056 Fixed a problem in the ToHexString operator to allow a maximum 200 
9057 character 
9058 string to be produced.
9059
9060 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
9061 copy 
9062 routine where the length of the resulting buffer was not truncated to the 
9063 new size (if the target buffer already existed).
9064
9065 Code and Data Size: Current and previous core subsystem library sizes are 
9066 shown below. These are the code and data sizes for the acpica.lib 
9067 produced 
9068 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9069 any ACPI driver or OSPM code. The debug version of the code includes the 
9070 debug output trace mechanism and has a much larger code and data size. 
9071 Note 
9072 that these values will vary depending on the efficiency of the compiler 
9073 and 
9074 the compiler options used during generation.
9075
9076   Previous Release:
9077     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
9078     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
9079   Current Release:
9080     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
9081     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
9082
9083
9084 2) iASL Compiler/Disassembler:
9085
9086 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
9087 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
9088 Includes support in the disassembler.
9089
9090 Implemented support for the new (ACPI 3.0) parameter to the Register 
9091 macro, 
9092 AccessSize.
9093
9094 Fixed a problem where the _HE resource name for the Interrupt macro was 
9095 referencing bit 0 instead of bit 1.
9096
9097 Implemented check for maximum 255 interrupts in the Interrupt macro.
9098
9099 Fixed a problem with the predefined resource descriptor names where 
9100 incorrect AML code was generated if the offset within the resource buffer 
9101 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
9102 but did not update the surrounding package lengths.
9103
9104 Changes to the Dma macro:  All channels within the channel list must be 
9105 in 
9106 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
9107 optional (default is BusMaster).
9108
9109 Implemented check for maximum 7 data bytes for the VendorShort macro.
9110
9111 The ReadWrite parameter is now optional for the Memory32 and similar 
9112 macros.
9113
9114 ----------------------------------------
9115 03 December 2004.  Summary of changes for version 20041203:
9116
9117 1) ACPI CA Core Subsystem:
9118
9119 The low-level field insertion/extraction code (exfldio) has been 
9120 completely 
9121 rewritten to eliminate unnecessary complexity, bugs, and boundary 
9122 conditions.
9123
9124 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
9125 ToDecimalString 
9126 operators where the input operand could be inadvertently deleted if no 
9127 conversion was necessary (e.g., if the input to ToInteger was an Integer 
9128 object.)
9129
9130 Fixed a problem with the ToDecimalString and ToHexString where an 
9131 incorrect 
9132 exception code was returned if the resulting string would be > 200 chars.  
9133 AE_STRING_LIMIT is now returned.
9134
9135 Fixed a problem with the Concatenate operator where AE_OK was always 
9136 returned, even if the operation failed.
9137
9138 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
9139 semaphores to be allocated.
9140
9141 Code and Data Size: Current and previous core subsystem library sizes are 
9142 shown below. These are the code and data sizes for the acpica.lib 
9143 produced 
9144 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9145 any ACPI driver or OSPM code. The debug version of the code includes the 
9146 debug output trace mechanism and has a much larger code and data size. 
9147 Note 
9148 that these values will vary depending on the efficiency of the compiler 
9149 and 
9150 the compiler options used during generation.
9151
9152   Previous Release:
9153     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9154     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9155   Current Release:
9156     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
9157     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
9158
9159
9160 2) iASL Compiler/Disassembler:
9161
9162 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
9163 recently introduced in 20041119.
9164
9165 Fixed a problem with the ToUUID macro where the upper nybble of each 
9166 buffer 
9167 byte was inadvertently set to zero.
9168
9169 ----------------------------------------
9170 19 November 2004.  Summary of changes for version 20041119:
9171
9172 1) ACPI CA Core Subsystem:
9173
9174 Fixed a problem in the internal ConvertToInteger routine where new 
9175 integers 
9176 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
9177 converts 
9178 buffers and strings to integers.
9179
9180 Implemented support to store a value to an Index() on a String object. 
9181 This 
9182 is an ACPI 2.0 feature that had not yet been implemented.
9183
9184 Implemented new behavior for storing objects to individual package 
9185 elements 
9186 (via the Index() operator). The previous behavior was to invoke the 
9187 implicit 
9188 conversion rules if an object was already present at the index.  The new 
9189 behavior is to simply delete any existing object and directly store the 
9190 new 
9191 object. Although the ACPI specification seems unclear on this subject, 
9192 other 
9193 ACPI implementations behave in this manner.  (This is the root of the 
9194 AE_BAD_HEX_CONSTANT issue.)
9195
9196 Modified the RSDP memory scan mechanism to support the extended checksum 
9197 for 
9198 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
9199 RSDP signature is found with a valid checksum.
9200
9201 Code and Data Size: Current and previous core subsystem library sizes are 
9202 shown below. These are the code and data sizes for the acpica.lib 
9203 produced 
9204 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9205 any ACPI driver or OSPM code. The debug version of the code includes the 
9206 debug output trace mechanism and has a much larger code and data size. 
9207 Note 
9208 that these values will vary depending on the efficiency of the compiler 
9209 and 
9210 the compiler options used during generation.
9211
9212   Previous Release:
9213     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9214     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9215   Current Release:
9216     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9217     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9218
9219
9220 2) iASL Compiler/Disassembler:
9221
9222 Fixed a missing semicolon in the aslcompiler.y file.
9223
9224 ----------------------------------------
9225 05 November 2004.  Summary of changes for version 20041105:
9226
9227 1) ACPI CA Core Subsystem:
9228
9229 Implemented support for FADT revision 2.  This was an interim table 
9230 (between 
9231 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
9232
9233 Implemented optional support to allow uninitialized LocalX and ArgX 
9234 variables in a control method.  The variables are initialized to an 
9235 Integer 
9236 object with a value of zero.  This support is enabled by setting the 
9237 AcpiGbl_EnableInterpreterSlack flag to TRUE.
9238
9239 Implemented support for Integer objects for the SizeOf operator.  Either 
9240
9241 or 8 is returned, depending on the current integer size (32-bit or 64-
9242 bit, 
9243 depending on the parent table revision).
9244
9245 Fixed a problem in the implementation of the SizeOf and ObjectType 
9246 operators 
9247 where the operand was resolved to a value too early, causing incorrect 
9248 return values for some objects.
9249
9250 Fixed some possible memory leaks during exceptional conditions.
9251
9252 Code and Data Size: Current and previous core subsystem library sizes are 
9253 shown below. These are the code and data sizes for the acpica.lib 
9254 produced 
9255 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9256 any ACPI driver or OSPM code. The debug version of the code includes the 
9257 debug output trace mechanism and has a much larger code and data size. 
9258 Note 
9259 that these values will vary depending on the efficiency of the compiler 
9260 and 
9261 the compiler options used during generation.
9262
9263   Previous Release:
9264     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9265     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
9266   Current Release:
9267     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
9268     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
9269
9270
9271 2) iASL Compiler/Disassembler:
9272
9273 Implemented support for all ACPI 3.0 reserved names and methods.
9274
9275 Implemented all ACPI 3.0 grammar elements in the front-end, including 
9276 support for semicolons.
9277
9278 Implemented the ACPI 3.0 Function() and ToUUID() macros
9279
9280 Fixed a problem in the disassembler where a Scope() operator would not be 
9281 emitted properly if the target of the scope was in another table.
9282
9283 ----------------------------------------
9284 15 October 2004.  Summary of changes for version 20041015:
9285
9286 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
9287 evaluation to test/verify the following areas. Other suggestions are 
9288 welcome. This will result in an increase in the frequency of releases and 
9289 the number of bug fixes in the next few months.
9290   - Functional tests for all ASL/AML operators
9291   - All implicit/explicit type conversions
9292   - Bit fields and operation regions
9293   - 64-bit math support and 32-bit-only "truncated" math support
9294   - Exceptional conditions, both compiler and interpreter
9295   - Dynamic object deletion and memory leaks
9296   - ACPI 3.0 support when implemented
9297   - External interfaces to the ACPI subsystem
9298
9299
9300 1) ACPI CA Core Subsystem:
9301
9302 Fixed two alignment issues on 64-bit platforms - within debug statements 
9303 in 
9304 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
9305 Address 
9306 field within the non-aligned ACPI generic address structure.
9307
9308 Fixed a problem in the Increment and Decrement operators where incorrect 
9309 operand resolution could result in the inadvertent modification of the 
9310 original integer when the integer is passed into another method as an 
9311 argument and the arg is then incremented/decremented.
9312
9313 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
9314 bit 
9315 BCD number were truncated during conversion.
9316
9317 Fixed a problem in the ToDecimal operator where the length of the 
9318 resulting 
9319 string could be set incorrectly too long if the input operand was a 
9320 Buffer 
9321 object.
9322
9323 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
9324 (0) 
9325 within a buffer would prematurely terminate a compare between buffer 
9326 objects.
9327
9328 Added a check for string overflow (>200 characters as per the ACPI 
9329 specification) during the Concatenate operator with two string operands.
9330
9331 Code and Data Size: Current and previous core subsystem library sizes are 
9332 shown below. These are the code and data sizes for the acpica.lib 
9333 produced 
9334 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9335 any ACPI driver or OSPM code. The debug version of the code includes the 
9336 debug output trace mechanism and has a much larger code and data size. 
9337 Note 
9338 that these values will vary depending on the efficiency of the compiler 
9339 and 
9340 the compiler options used during generation.
9341
9342   Previous Release:
9343     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9344     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
9345   Current Release:
9346     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9347     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
9348
9349
9350
9351 2) iASL Compiler/Disassembler:
9352
9353 Allow the use of the ObjectType operator on uninitialized Locals and Args 
9354 (returns 0 as per the ACPI specification).
9355
9356 Fixed a problem where the compiler would fault if there was a syntax 
9357 error 
9358 in the FieldName of all of the various CreateXXXField operators.
9359
9360 Disallow the use of lower case letters within the EISAID macro, as per 
9361 the 
9362 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
9363 Where 
9364 U is an uppercase letter and N is a hex digit.
9365
9366
9367 ----------------------------------------
9368 06 October 2004.  Summary of changes for version 20041006:
9369
9370 1) ACPI CA Core Subsystem:
9371
9372 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
9373 implements a 64-bit timer with 100 nanosecond granularity.
9374
9375 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
9376 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
9377 implement 
9378 the timer with the best clock available. Also, it keeps the core 
9379 subsystem 
9380 out of the clock handling business, since the host OS (usually) performs 
9381 this function.
9382
9383 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
9384 functions use a 64-bit address which is part of the packed ACPI Generic 
9385 Address Structure. Since the structure is non-aligned, the alignment 
9386 macros 
9387 are now used to extract the address to a local variable before use.
9388
9389 Fixed a problem where the ToInteger operator assumed all input strings 
9390 were 
9391 hexadecimal. The operator now handles both decimal strings and hex 
9392 strings 
9393 (prefixed with "0x").
9394
9395 Fixed a problem where the string length in the string object created as a 
9396 result of the internal ConvertToString procedure could be incorrect. This 
9397 potentially affected all implicit conversions and also the 
9398 ToDecimalString 
9399 and ToHexString operators.
9400
9401 Fixed two problems in the ToString operator. If the length parameter was 
9402 zero, an incorrect string object was created and the value of the input 
9403 length parameter was inadvertently changed from zero to Ones.
9404
9405 Fixed a problem where the optional ResourceSource string in the 
9406 ExtendedIRQ 
9407 resource macro was ignored.
9408
9409 Simplified the interfaces to the internal division functions, reducing 
9410 code 
9411 size and complexity.
9412
9413 Code and Data Size: Current and previous core subsystem library sizes are 
9414 shown below. These are the code and data sizes for the acpica.lib 
9415 produced 
9416 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9417 any ACPI driver or OSPM code. The debug version of the code includes the 
9418 debug output trace mechanism and has a much larger code and data size. 
9419 Note 
9420 that these values will vary depending on the efficiency of the compiler 
9421 and 
9422 the compiler options used during generation.
9423
9424   Previous Release:
9425     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
9426     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
9427   Current Release:
9428     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9429     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
9430
9431
9432 2) iASL Compiler/Disassembler:
9433
9434 Implemented support for the ACPI 3.0 Timer operator.
9435
9436 Fixed a problem where the Default() operator was inadvertently ignored in 
9437
9438 Switch/Case block.  This was a problem in the translation of the Switch 
9439 statement to If...Else pairs.
9440
9441 Added support to allow a standalone Return operator, with no parentheses 
9442 (or 
9443 operands).
9444
9445 Fixed a problem with code generation for the ElseIf operator where the 
9446 translated Else...If parse tree was improperly constructed leading to the 
9447 loss of some code.
9448
9449 ----------------------------------------
9450 22 September 2004.  Summary of changes for version 20040922:
9451
9452 1) ACPI CA Core Subsystem:
9453
9454 Fixed a problem with the implementation of the LNot() operator where 
9455 "Ones" 
9456 was not returned for the TRUE case. Changed the code to return Ones 
9457 instead 
9458 of (!Arg) which was usually 1. This change affects iASL constant folding 
9459 for 
9460 this operator also.
9461
9462 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
9463 not 
9464 initialized properly -- Now zero the entire buffer in this case where the 
9465 buffer already exists.
9466
9467 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
9468 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
9469 related code considerably. This will require changes/updates to all OS 
9470 interface layers (OSLs.)
9471
9472 Implemented a new external interface, AcpiInstallExceptionHandler, to 
9473 allow 
9474 a system exception handler to be installed. This handler is invoked upon 
9475 any 
9476 run-time exception that occurs during control method execution.
9477
9478 Added support for the DSDT in AcpiTbFindTable. This allows the 
9479 DataTableRegion() operator to access the local copy of the DSDT.
9480
9481 Code and Data Size: Current and previous core subsystem library sizes are 
9482 shown below. These are the code and data sizes for the acpica.lib 
9483 produced 
9484 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9485 any ACPI driver or OSPM code. The debug version of the code includes the 
9486 debug output trace mechanism and has a much larger code and data size. 
9487 Note 
9488 that these values will vary depending on the efficiency of the compiler 
9489 and 
9490 the compiler options used during generation.
9491
9492   Previous Release:
9493     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
9494     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
9495   Current Release:
9496     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
9497     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
9498
9499
9500 2) iASL Compiler/Disassembler:
9501
9502 Fixed a problem with constant folding and the LNot operator. LNot was 
9503 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
9504 This 
9505 could result in the generation of an incorrect folded/reduced constant.
9506
9507 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
9508 longer occurs if such a comment is at the very end of the input ASL 
9509 source 
9510 file.
9511
9512 Implemented the "-r" option to override the Revision in the table header. 
9513 The initial use of this option will be to simplify the evaluation of the 
9514 AML 
9515 interpreter by allowing a single ASL source module to be compiled for 
9516 either 
9517 32-bit or 64-bit integers.
9518
9519
9520 ----------------------------------------
9521 27 August 2004.  Summary of changes for version 20040827:
9522
9523 1) ACPI CA Core Subsystem:
9524
9525 - Implemented support for implicit object conversion in the non-numeric 
9526 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
9527 and 
9528 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
9529 the second operand is implicitly converted on the fly to match the type 
9530 of 
9531 the first operand.  For example:
9532
9533     LEqual (Source1, Source2)
9534
9535 Source1 and Source2 must each evaluate to an integer, a string, or a 
9536 buffer. 
9537 The data type of Source1 dictates the required type of Source2. Source2 
9538 is 
9539 implicitly converted if necessary to match the type of Source1.
9540
9541 - Updated and corrected the behavior of the string conversion support.  
9542 The 
9543 rules concerning conversion of buffers to strings (according to the ACPI 
9544 specification) are as follows:
9545
9546 ToDecimalString - explicit byte-wise conversion of buffer to string of 
9547 decimal values (0-255) separated by commas. ToHexString - explicit byte-
9548 wise 
9549 conversion of buffer to string of hex values (0-FF) separated by commas. 
9550 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
9551 byte 
9552 copy with no transform except NULL terminated. Any other implicit buffer-
9553 to-
9554 string conversion - byte-wise conversion of buffer to string of hex 
9555 values 
9556 (0-FF) separated by spaces.
9557
9558 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
9559
9560 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
9561 was 
9562 one byte too short in the case of a node in the root scope.  This could 
9563 cause a fault during debug output.
9564
9565 - Code and Data Size: Current and previous core subsystem library sizes 
9566 are 
9567 shown below.  These are the code and data sizes for the acpica.lib 
9568 produced 
9569 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9570 any ACPI driver or OSPM code.  The debug version of the code includes the 
9571 debug output trace mechanism and has a much larger code and data size.  
9572 Note 
9573 that these values will vary depending on the efficiency of the compiler 
9574 and 
9575 the compiler options used during generation.
9576
9577   Previous Release:
9578     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
9579     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
9580   Current Release:
9581     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
9582     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
9583
9584
9585 2) iASL Compiler/Disassembler:
9586
9587 - Fixed a Linux generation error.
9588
9589
9590 ----------------------------------------
9591 16 August 2004.  Summary of changes for version 20040816:
9592
9593 1) ACPI CA Core Subsystem:
9594
9595 Designed and implemented support within the AML interpreter for the so-
9596 called "implicit return".  This support returns the result of the last 
9597 ASL 
9598 operation within a control method, in the absence of an explicit Return() 
9599 operator.  A few machines depend on this behavior, even though it is not 
9600 explicitly supported by the ASL language.  It is optional support that 
9601 can 
9602 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
9603
9604 Removed support for the PCI_Config address space from the internal low 
9605 level 
9606 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
9607 support was not used internally, and would not work correctly anyway 
9608 because 
9609 the PCI bus number and segment number were not supported.  There are 
9610 separate interfaces for PCI configuration space access because of the 
9611 unique 
9612 interface.
9613
9614 Code and Data Size: Current and previous core subsystem library sizes are 
9615 shown below.  These are the code and data sizes for the acpica.lib 
9616 produced 
9617 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9618 any ACPI driver or OSPM code.  The debug version of the code includes the 
9619 debug output trace mechanism and has a much larger code and data size.  
9620 Note 
9621 that these values will vary depending on the efficiency of the compiler 
9622 and 
9623 the compiler options used during generation.
9624
9625   Previous Release:
9626     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9627     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
9628   Current Release:
9629     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
9630     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
9631
9632
9633 2) iASL Compiler/Disassembler:
9634
9635 Fixed a problem where constants in ASL expressions at the root level (not 
9636 within a control method) could be inadvertently truncated during code 
9637 generation.  This problem was introduced in the 20040715 release.
9638
9639
9640 ----------------------------------------
9641 15 July 2004.  Summary of changes for version 20040715:
9642
9643 1) ACPI CA Core Subsystem:
9644
9645 Restructured the internal HW GPE interfaces to pass/track the current 
9646 state 
9647 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
9648 increase flexibility of the interfaces.
9649
9650 Implemented a "lexicographical compare" for String and Buffer objects 
9651 within 
9652 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
9653
9654 as per further clarification to the ACPI specification.  Behavior is 
9655 similar 
9656 to C library "strcmp".
9657
9658 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
9659 external function.  In the 32-bit non-debug case, the stack use has been 
9660 reduced from 168 bytes to 32 bytes.
9661
9662 Deployed a new run-time configuration flag, 
9663 AcpiGbl_EnableInterpreterSlack, 
9664 whose purpose is to allow the AML interpreter to forgive certain bad AML 
9665 constructs.  Default setting is FALSE.
9666
9667 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
9668 IO 
9669 support code.  If enabled, it allows field access to go beyond the end of 
9670
9671 region definition if the field is within the region length rounded up to 
9672 the 
9673 next access width boundary (a common coding error.)
9674
9675 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
9676 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
9677 these 
9678 symbols are lowercased by the latest version of the AcpiSrc tool.
9679
9680 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
9681 rename "Register" to simply "Reg" to prevent certain compilers from 
9682 complaining.
9683
9684 Code and Data Size: Current and previous core subsystem library sizes are 
9685 shown below.  These are the code and data sizes for the acpica.lib 
9686 produced 
9687 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9688 any ACPI driver or OSPM code.  The debug version of the code includes the 
9689 debug output trace mechanism and has a much larger code and data size.  
9690 Note 
9691 that these values will vary depending on the efficiency of the compiler 
9692 and 
9693 the compiler options used during generation.
9694
9695   Previous Release:
9696     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9697     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
9698   Current Release:
9699     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
9700     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
9701
9702
9703 2) iASL Compiler/Disassembler:
9704
9705 Implemented full support for Package objects within the Case() operator.  
9706 Note: The Break() operator is currently not supported within Case blocks 
9707 (TermLists) as there is some question about backward compatibility with 
9708 ACPI 
9709 1.0 interpreters.
9710
9711
9712 Fixed a problem where complex terms were not supported properly within 
9713 the 
9714 Switch() operator.
9715
9716 Eliminated extraneous warning for compiler-emitted reserved names of the 
9717 form "_T_x".  (Used in Switch/Case operators.)
9718
9719 Eliminated optimization messages for "_T_x" objects and small constants 
9720 within the DefinitionBlock operator.
9721
9722
9723 ----------------------------------------
9724 15 June 2004.  Summary of changes for version 20040615:
9725
9726 1) ACPI CA Core Subsystem:
9727
9728 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
9729 the 
9730 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
9731 LLessEqual.
9732
9733 All directory names in the entire source package are lower case, as they 
9734 were in earlier releases.
9735
9736 Implemented "Disassemble" command in the AML debugger that will 
9737 disassemble 
9738 a single control method.
9739
9740 Code and Data Size: Current and previous core subsystem library sizes are 
9741 shown below.  These are the code and data sizes for the acpica.lib 
9742 produced 
9743 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9744 any ACPI driver or OSPM code.  The debug version of the code includes the 
9745 debug output trace mechanism and has a much larger code and data size.  
9746 Note 
9747 that these values will vary depending on the efficiency of the compiler 
9748 and 
9749 the compiler options used during generation.
9750
9751   Previous Release:
9752     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
9753     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
9754
9755   Current Release:
9756     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
9757     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
9758
9759
9760 2) iASL Compiler/Disassembler:
9761
9762 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
9763 the 
9764 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
9765 LLessEqual.
9766
9767 All directory names in the entire source package are lower case, as they 
9768 were in earlier releases.
9769
9770 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
9771 not found.
9772
9773 Fixed an issue with the Windows version of the compiler where later 
9774 versions 
9775 of Windows place the FADT in the registry under the name "FADT" and not 
9776 "FACP" as earlier versions did.  This applies when using the -g or -
9777 d<nofilename> options.  The compiler now looks for both strings as 
9778 necessary.
9779
9780 Fixed a problem with compiler namepath optimization where a namepath 
9781 within 
9782 the Scope() operator could not be optimized if the namepath was a subpath 
9783 of 
9784 the current scope path.
9785
9786 ----------------------------------------
9787 27 May 2004.  Summary of changes for version 20040527:
9788
9789 1) ACPI CA Core Subsystem:
9790
9791 Completed a new design and implementation for EBDA (Extended BIOS Data 
9792 Area) 
9793 support in the RSDP scan code.  The original code improperly scanned for 
9794 the 
9795 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
9796 method 
9797 is to first obtain the EBDA pointer from within the BIOS data area, then 
9798 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
9799 if 
9800 any machines that place the RSDP in the EBDA, however.
9801
9802 Integrated a fix for a possible fault during evaluation of BufferField 
9803 arguments.  Obsolete code that was causing the problem was removed.
9804
9805 Found and fixed a problem in the Field Support Code where data could be 
9806 corrupted on a bit field read that starts on an aligned boundary but does 
9807 not end on an aligned boundary.  Merged the read/write "datum length" 
9808 calculation code into a common procedure.
9809
9810 Rolled in a couple of changes to the FreeBSD-specific header.
9811
9812
9813 Code and Data Size: Current and previous core subsystem library sizes are 
9814 shown below.  These are the code and data sizes for the acpica.lib 
9815 produced 
9816 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9817 any ACPI driver or OSPM code.  The debug version of the code includes the 
9818 debug output trace mechanism and has a much larger code and data size.  
9819 Note 
9820 that these values will vary depending on the efficiency of the compiler 
9821 and 
9822 the compiler options used during generation.
9823
9824   Previous Release:
9825     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9826     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
9827   Current Release:
9828     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
9829     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
9830
9831
9832 2) iASL Compiler/Disassembler:
9833
9834 Fixed a generation warning produced by some overly-verbose compilers for 
9835
9836 64-bit constant.
9837
9838 ----------------------------------------
9839 14 May 2004.  Summary of changes for version 20040514:
9840
9841 1) ACPI CA Core Subsystem:
9842
9843 Fixed a problem where hardware GPE enable bits sometimes not set properly 
9844 during and after GPE method execution.  Result of 04/27 changes.
9845
9846 Removed extra "clear all GPEs" when sleeping/waking.
9847
9848 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
9849 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
9850 to 
9851 the new AcpiEv* calls as appropriate.
9852
9853 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
9854 is 
9855 now "Microsoft Windows NT" for maximum compatibility.  However this can 
9856 be 
9857 changed by modifying the acconfig.h file.
9858
9859 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
9860 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
9861
9862 Run _INI methods on ThermalZone objects.  This is against the ACPI 
9863 specification, but there is apparently ASL code in the field that has 
9864 these 
9865 _INI methods, and apparently "other" AML interpreters execute them.
9866
9867 Performed a full 16/32/64 bit lint that resulted in some small changes.
9868
9869 Added a sleep simulation command to the AML debugger to test sleep code. 
9870
9871 Code and Data Size: Current and previous core subsystem library sizes are 
9872 shown below.  These are the code and data sizes for the acpica.lib 
9873 produced 
9874 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
9875 any ACPI driver or OSPM code.  The debug version of the code includes the 
9876 debug output trace mechanism and has a much larger code and data size.  
9877 Note 
9878 that these values will vary depending on the efficiency of the compiler 
9879 and 
9880 the compiler options used during generation.
9881
9882   Previous Release:
9883     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9884     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
9885   Current Release:
9886     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
9887     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
9888
9889 ----------------------------------------
9890 27 April 2004.  Summary of changes for version 20040427:
9891
9892 1) ACPI CA Core Subsystem:
9893
9894 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
9895 now three types of GPEs:  wake-only, runtime-only, and combination 
9896 wake/run.  
9897 The only GPEs allowed to be combination wake/run are for button-style 
9898 devices such as a control-method power button, control-method sleep 
9899 button, 
9900 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
9901 not 
9902 referenced by any _PRW methods are marked for "runtime" and hardware 
9903 enabled.  Any GPE that is referenced by a _PRW method is marked for 
9904 "wake" 
9905 (and disabled at runtime).  However, at sleep time, only those GPEs that 
9906 have been specifically enabled for wake via the AcpiEnableGpe interface 
9907 will 
9908 actually be hardware enabled.
9909
9910 A new external interface has been added, AcpiSetGpeType(), that is meant 
9911 to 
9912 be used by device drivers to force a GPE to a particular type.  It will 
9913 be 
9914 especially useful for the drivers for the button devices mentioned above.
9915
9916 Completed restructuring of the ACPI CA initialization sequence so that 
9917 default operation region handlers are installed before GPEs are 
9918 initialized 
9919 and the _PRW methods are executed.  This will prevent errors when the 
9920 _PRW 
9921 methods attempt to access system memory or I/O space.
9922
9923 GPE enable/disable no longer reads the GPE enable register.  We now keep 
9924 the 
9925 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
9926 thus no longer depend on the hardware to maintain these bits.
9927
9928 Always clear the wake status and fixed/GPE status bits before sleep, even 
9929 for state S5.
9930
9931 Improved the AML debugger output for displaying the GPE blocks and their 
9932 current status.
9933
9934 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
9935 where 
9936 x = 0,1,2,3,4.
9937
9938 Fixed a problem where the physical address was incorrectly calculated 
9939 when 
9940 the Load() operator was used to directly load from an Operation Region 
9941 (vs. 
9942 loading from a Field object.)  Also added check for minimum table length 
9943 for 
9944 this case.
9945
9946 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
9947 mutex release.
9948
9949 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
9950 consistency with the other fields returned.
9951
9952 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
9953 structure for each GPE in the system, so the size of this structure is 
9954 important.
9955
9956 CPU stack requirement reduction:  Cleaned up the method execution and 
9957 object 
9958 evaluation paths so that now a parameter structure is passed, instead of 
9959 copying the various method parameters over and over again.
9960
9961 In evregion.c:  Correctly exit and reenter the interpreter region if and 
9962 only if dispatching an operation region request to a user-installed 
9963 handler.  
9964 Do not exit/reenter when dispatching to a default handler (e.g., default 
9965 system memory or I/O handlers)
9966
9967
9968 Notes for updating drivers for the new GPE support.  The following 
9969 changes 
9970 must be made to ACPI-related device drivers that are attached to one or 
9971 more 
9972 GPEs: (This information will be added to the ACPI CA Programmer 
9973 Reference.)
9974
9975 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
9976 must 
9977 explicitly call AcpiEnableGpe.
9978 2) There is a new interface called AcpiSetGpeType. This should be called 
9979 before enabling the GPE.  Also, this interface will automatically disable 
9980 the GPE if it is currently enabled.
9981 3) AcpiEnableGpe no longer supports a GPE type flag.
9982
9983 Specific drivers that must be changed:
9984 1) EC driver:
9985     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
9986 AeGpeHandler, NULL);
9987     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
9988     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
9989
9990 2) Button Drivers (Power, Lid, Sleep):
9991 Run _PRW method under parent device
9992 If _PRW exists: /* This is a control-method button */
9993     Extract GPE number and possibly GpeDevice
9994     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
9995     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
9996
9997 For all other devices that have _PRWs, we automatically set the GPE type 
9998 to 
9999 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
10000 This 
10001 must be done on a selective basis, usually requiring some kind of user 
10002 app 
10003 to allow the user to pick the wake devices.
10004
10005
10006 Code and Data Size: Current and previous core subsystem library sizes are 
10007 shown below.  These are the code and data sizes for the acpica.lib 
10008 produced 
10009 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
10010 any ACPI driver or OSPM code.  The debug version of the code includes the 
10011 debug output trace mechanism and has a much larger code and data size.  
10012 Note 
10013 that these values will vary depending on the efficiency of the compiler 
10014 and 
10015 the compiler options used during generation.
10016
10017   Previous Release:
10018     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
10019     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
10020   Current Release:
10021
10022     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
10023     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
10024
10025
10026
10027 ----------------------------------------
10028 02 April 2004.  Summary of changes for version 20040402:
10029
10030 1) ACPI CA Core Subsystem:
10031
10032 Fixed an interpreter problem where an indirect store through an ArgX 
10033 parameter was incorrectly applying the "implicit conversion rules" during 
10034 the store.  From the ACPI specification: "If the target is a method local 
10035 or 
10036 argument (LocalX or ArgX), no conversion is performed and the result is 
10037 stored directly to the target".  The new behavior is to disable implicit 
10038 conversion during ALL stores to an ArgX.
10039
10040 Changed the behavior of the _PRW method scan to ignore any and all errors 
10041 returned by a given _PRW.  This prevents the scan from aborting from the 
10042 failure of any single _PRW.
10043
10044 Moved the runtime configuration parameters from the global init procedure 
10045 to 
10046 static variables in acglobal.h.  This will allow the host to override the 
10047 default values easily.
10048
10049 Code and Data Size: Current and previous core subsystem library sizes are 
10050 shown below.  These are the code and data sizes for the acpica.lib 
10051 produced 
10052 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
10053 any ACPI driver or OSPM code.  The debug version of the code includes the 
10054 debug output trace mechanism and has a much larger code and data size.  
10055 Note 
10056 that these values will vary depending on the efficiency of the compiler 
10057 and 
10058 the compiler options used during generation.
10059
10060   Previous Release:
10061     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
10062     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
10063   Current Release:
10064     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
10065     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
10066
10067
10068 2) iASL Compiler/Disassembler:
10069
10070 iASL now fully disassembles SSDTs.  However, External() statements are 
10071 not 
10072 generated automatically for unresolved symbols at this time.  This is a 
10073 planned feature for future implementation.
10074
10075 Fixed a scoping problem in the disassembler that occurs when the type of 
10076 the 
10077 target of a Scope() operator is overridden.  This problem caused an 
10078 incorrectly nested internal namespace to be constructed.
10079
10080 Any warnings or errors that are emitted during disassembly are now 
10081 commented 
10082 out automatically so that the resulting file can be recompiled without 
10083 any 
10084 hand editing.
10085
10086 ----------------------------------------
10087 26 March 2004.  Summary of changes for version 20040326:
10088
10089 1) ACPI CA Core Subsystem:
10090
10091 Implemented support for "wake" GPEs via interaction between GPEs and the 
10092 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
10093 identified as a WAKE GPE and by default will no longer be enabled at 
10094 runtime.  Previously, we were blindly enabling all GPEs with a 
10095 corresponding 
10096 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
10097 We 
10098 believe this has been the cause of thousands of "spurious" GPEs on some 
10099 systems.
10100
10101 This new GPE behavior is can be reverted to the original behavior (enable 
10102 ALL GPEs at runtime) via a runtime flag.
10103
10104 Fixed a problem where aliased control methods could not access objects 
10105 properly.  The proper scope within the namespace was not initialized 
10106 (transferred to the target of the aliased method) before executing the 
10107 target method.
10108
10109 Fixed a potential race condition on internal object deletion on the 
10110 return 
10111 object in AcpiEvaluateObject. 
10112
10113 Integrated a fix for resource descriptors where both _MEM and _MTP were 
10114 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
10115 wide, 0x0F instead of 0x03.)
10116
10117 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
10118 preventing 
10119
10120 fault in some cases.
10121
10122 Updated Notify() values for debug statements in evmisc.c
10123
10124 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
10125
10126 Code and Data Size: Current and previous core subsystem library sizes are 
10127 shown below.  These are the code and data sizes for the acpica.lib 
10128 produced 
10129 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
10130 any ACPI driver or OSPM code.  The debug version of the code includes the 
10131 debug output trace mechanism and has a much larger code and data size.  
10132 Note 
10133 that these values will vary depending on the efficiency of the compiler 
10134 and 
10135 the compiler options used during generation.
10136
10137   Previous Release:
10138
10139     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
10140     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
10141   Current Release:
10142     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
10143     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
10144
10145 ----------------------------------------
10146 11 March 2004.  Summary of changes for version 20040311:
10147
10148 1) ACPI CA Core Subsystem:
10149
10150 Fixed a problem where errors occurring during the parse phase of control 
10151 method execution did not abort cleanly.  For example, objects created and 
10152 installed in the namespace were not deleted.  This caused all subsequent 
10153 invocations of the method to return the AE_ALREADY_EXISTS exception.
10154
10155 Implemented a mechanism to force a control method to "Serialized" 
10156 execution 
10157 if the method attempts to create namespace objects. (The root of the 
10158 AE_ALREADY_EXISTS problem.)
10159
10160 Implemented support for the predefined _OSI "internal" control method.  
10161 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
10162 and 
10163 "Windows 2001.1", and can be easily upgraded for new strings as 
10164 necessary.  
10165 This feature will allow "other" operating systems to execute the fully 
10166 tested, "Windows" code path through the ASL code
10167
10168 Global Lock Support:  Now allows multiple acquires and releases with any 
10169 internal thread.  Removed concept of "owning thread" for this special 
10170 mutex.
10171
10172 Fixed two functions that were inappropriately declaring large objects on 
10173 the 
10174 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
10175 during 
10176 method execution considerably.
10177
10178 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
10179 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
10180
10181 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
10182 defined on the machine.
10183
10184 Implemented two runtime options:  One to force all control method 
10185 execution 
10186 to "Serialized" to mimic Windows behavior, another to disable _OSI 
10187 support 
10188 if it causes problems on a given machine.
10189
10190 Code and Data Size: Current and previous core subsystem library sizes are 
10191 shown below.  These are the code and data sizes for the acpica.lib 
10192 produced 
10193 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
10194 any ACPI driver or OSPM code.  The debug version of the code includes the 
10195 debug output trace mechanism and has a much larger code and data size.  
10196 Note 
10197 that these values will vary depending on the efficiency of the compiler 
10198 and 
10199 the compiler options used during generation.
10200
10201   Previous Release:
10202     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
10203     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
10204   Current Release:
10205     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
10206     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
10207
10208 2) iASL Compiler/Disassembler:
10209
10210 Fixed an array size problem for FreeBSD that would cause the compiler to 
10211 fault.
10212
10213 ----------------------------------------
10214 20 February 2004.  Summary of changes for version 20040220:
10215
10216
10217 1) ACPI CA Core Subsystem:
10218
10219 Implemented execution of _SxD methods for Device objects in the 
10220 GetObjectInfo interface.
10221
10222 Fixed calls to _SST method to pass the correct arguments.
10223
10224 Added a call to _SST on wake to restore to "working" state.
10225
10226 Check for End-Of-Buffer failure case in the WalkResources interface.
10227
10228 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
10229 structures to the beginning of the file.
10230
10231 After wake, clear GPE status register(s) before enabling GPEs.
10232
10233 After wake, clear/enable power button.  (Perhaps we should clear/enable 
10234 all 
10235 fixed events upon wake.)
10236
10237 Fixed a couple of possible memory leaks in the Namespace manager.
10238
10239 Integrated latest acnetbsd.h file.
10240
10241 ----------------------------------------
10242 11 February 2004.  Summary of changes for version 20040211:
10243
10244
10245 1) ACPI CA Core Subsystem:
10246
10247 Completed investigation and implementation of the call-by-reference 
10248 mechanism for control method arguments.
10249
10250 Fixed a problem where a store of an object into an indexed package could 
10251 fail if the store occurs within a different method than the method that 
10252 created the package.
10253
10254 Fixed a problem where the ToDecimal operator could return incorrect 
10255 results.
10256
10257 Fixed a problem where the CopyObject operator could fail on some of the 
10258 more 
10259 obscure objects (e.g., Reference objects.)
10260
10261 Improved the output of the Debug object to display buffer, package, and 
10262 index objects.
10263
10264 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
10265 return 
10266 the expected result.
10267
10268 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
10269 ACPI_AML_INTERNAL exception.
10270
10271 Integrated latest version of acfreebsd.h
10272
10273 ----------------------------------------
10274 16 January 2004.  Summary of changes for version 20040116:
10275
10276 The purpose of this release is primarily to update the copyright years in 
10277 each module, thus causing a huge number of diffs.  There are a few small 
10278 functional changes, however.
10279
10280 1) ACPI CA Core Subsystem:
10281
10282 Improved error messages when there is a problem finding one or more of 
10283 the 
10284 required base ACPI tables
10285
10286 Reintroduced the definition of APIC_HEADER in actbl.h
10287
10288 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
10289
10290 Removed extraneous reference to NewObj in dsmthdat.c
10291
10292 2) iASL compiler
10293
10294 Fixed a problem introduced in December that disabled the correct 
10295 disassembly 
10296 of Resource Templates
10297
10298
10299 ----------------------------------------
10300 03 December 2003.  Summary of changes for version 20031203:
10301
10302 1) ACPI CA Core Subsystem:
10303
10304 Changed the initialization of Operation Regions during subsystem
10305 init to perform two entire walks of the ACPI namespace; The first
10306 to initialize the regions themselves, the second to execute the
10307 _REG methods.  This fixed some interdependencies across _REG
10308 methods found on some machines.
10309
10310 Fixed a problem where a Store(Local0, Local1) could simply update
10311 the object reference count, and not create a new copy of the
10312 object if the Local1 is uninitialized.
10313
10314 Implemented support for the _SST reserved method during sleep
10315 transitions.
10316
10317 Implemented support to clear the SLP_TYP and SLP_EN bits when
10318 waking up, this is apparently required by some machines.
10319
10320 When sleeping, clear the wake status only if SleepState is not S5.
10321
10322 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
10323 pointer arithmetic advanced a string pointer too far.
10324
10325 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
10326 could be returned if the requested table has not been loaded.
10327
10328 Within the support for IRQ resources, restructured the handling of
10329 the active and edge/level bits.
10330
10331 Fixed a few problems in AcpiPsxExecute() where memory could be
10332 leaked under certain error conditions.
10333
10334 Improved error messages for the cases where the ACPI mode could
10335 not be entered.
10336
10337 Code and Data Size: Current and previous core subsystem library
10338 sizes are shown below.  These are the code and data sizes for the
10339 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10340 these values do not include any ACPI driver or OSPM code.  The
10341 debug version of the code includes the debug output trace
10342 mechanism and has a much larger code and data size.  Note that
10343 these values will vary depending on the efficiency of the compiler
10344 and the compiler options used during generation.
10345
10346   Previous Release (20031029):
10347     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
10348     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
10349   Current Release:
10350     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
10351     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
10352
10353 2) iASL Compiler/Disassembler:
10354
10355 Implemented a fix for the iASL disassembler where a bad index was
10356 generated.  This was most noticeable on 64-bit platforms
10357
10358
10359 ----------------------------------------
10360 29 October 2003.  Summary of changes for version 20031029:
10361
10362 1) ACPI CA Core Subsystem:
10363
10364
10365 Fixed a problem where a level-triggered GPE with an associated
10366 _Lxx control method was incorrectly cleared twice.
10367
10368 Fixed a problem with the Field support code where an access can
10369 occur beyond the end-of-region if the field is non-aligned but
10370 extends to the very end of the parent region (resulted in an
10371 AE_AML_REGION_LIMIT exception.)
10372
10373 Fixed a problem with ACPI Fixed Events where an RT Clock handler
10374 would not get invoked on an RTC event.  The RTC event bitmasks for
10375 the PM1 registers were not being initialized properly.
10376
10377 Implemented support for executing _STA and _INI methods for
10378 Processor objects.  Although this is currently not part of the
10379 ACPI specification, there is existing ASL code that depends on the
10380 init-time execution of these methods.
10381
10382 Implemented and deployed a GetDescriptorName function to decode
10383 the various types of internal descriptors.  Guards against null
10384 descriptors during debug output also.
10385
10386 Implemented and deployed a GetNodeName function to extract the 4-
10387 character namespace node name.  This function simplifies the debug
10388 and error output, as well as guarding against null pointers during
10389 output.
10390
10391 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
10392 simplify the debug and error output of 64-bit integers.  This
10393 macro replaces the HIDWORD and LODWORD macros for dumping these
10394 integers.
10395
10396 Updated the implementation of the Stall() operator to only call
10397 AcpiOsStall(), and also return an error if the operand is larger
10398 than 255.  This preserves the required behavior of not
10399 relinquishing the processor, as would happen if AcpiOsSleep() was
10400 called for "long stalls".
10401
10402 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
10403 initialized are now treated as NOOPs.
10404
10405 Cleaned up a handful of warnings during 64-bit generation.
10406
10407 Fixed a reported error where and incorrect GPE number was passed
10408 to the GPE dispatch handler.  This value is only used for error
10409 output, however.  Used this opportunity to clean up and streamline
10410 the GPE dispatch code.
10411
10412 Code and Data Size: Current and previous core subsystem library
10413 sizes are shown below.  These are the code and data sizes for the
10414 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10415 these values do not include any ACPI driver or OSPM code.  The
10416
10417 debug version of the code includes the debug output trace
10418 mechanism and has a much larger code and data size.  Note that
10419 these values will vary depending on the efficiency of the compiler
10420 and the compiler options used during generation.
10421
10422   Previous Release (20031002):
10423     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
10424     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
10425   Current Release:
10426     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
10427     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
10428
10429
10430 2) iASL Compiler/Disassembler:
10431
10432 Updated the iASL compiler to return an error if the operand to the
10433 Stall() operator is larger than 255.
10434
10435
10436 ----------------------------------------
10437 02 October 2003.  Summary of changes for version 20031002:
10438
10439
10440 1) ACPI CA Core Subsystem:
10441
10442 Fixed a problem with Index Fields where the index was not
10443 incremented for fields that require multiple writes to the
10444 index/data registers (Fields that are wider than the data
10445 register.)
10446
10447 Fixed a problem with all Field objects where a write could go
10448 beyond the end-of-field if the field was larger than the access
10449 granularity and therefore required multiple writes to complete the
10450 request.  An extra write beyond the end of the field could happen
10451 inadvertently.
10452
10453 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
10454 would incorrectly be returned if the width of the Data Register
10455 was larger than the specified field access width.
10456
10457 Completed fixes for LoadTable() and Unload() and verified their
10458 operation.  Implemented full support for the "DdbHandle" object
10459 throughout the ACPI CA subsystem.
10460
10461 Implemented full support for the MADT and ECDT tables in the ACPI
10462 CA header files.  Even though these tables are not directly
10463 consumed by ACPI CA, the header definitions are useful for ACPI
10464 device drivers.
10465
10466 Integrated resource descriptor fixes posted to the Linux ACPI
10467 list.  This included checks for minimum descriptor length, and
10468 support for trailing NULL strings within descriptors that have
10469 optional string elements.
10470
10471 Code and Data Size: Current and previous core subsystem library
10472 sizes are shown below.  These are the code and data sizes for the
10473 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10474 these values do not include any ACPI driver or OSPM code.  The
10475 debug version of the code includes the debug output trace
10476 mechanism and has a much larger code and data size.  Note that
10477 these values will vary depending on the efficiency of the compiler
10478 and the compiler options used during generation.
10479
10480   Previous Release (20030918):
10481     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
10482     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
10483   Current Release:
10484     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
10485     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
10486
10487
10488 2) iASL Compiler:
10489
10490 Implemented detection of non-ASCII characters within the input
10491 source ASL file.  This catches attempts to compile binary (AML)
10492 files early in the compile, with an informative error message.
10493
10494 Fixed a problem where the disassembler would fault if the output
10495 filename could not be generated or if the output file could not be
10496 opened.
10497
10498 ----------------------------------------
10499 18 September 2003.  Summary of changes for version 20030918:
10500
10501
10502 1) ACPI CA Core Subsystem:
10503
10504 Found and fixed a longstanding problem with the late execution of
10505 the various deferred AML opcodes (such as Operation Regions,
10506 Buffer Fields, Buffers, and Packages).  If the name string
10507 specified for the name of the new object placed the object in a
10508 scope other than the current scope, the initialization/execution
10509 of the opcode failed.  The solution to this problem was to
10510 implement a mechanism where the late execution of such opcodes
10511 does not attempt to lookup/create the name a second time in an
10512 incorrect scope.  This fixes the "region size computed
10513 incorrectly" problem.
10514
10515 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
10516 Global Lock AE_BAD_PARAMETER error.
10517
10518 Fixed several 64-bit issues with prototypes, casting and data
10519 types.
10520
10521 Removed duplicate prototype from acdisasm.h
10522
10523 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
10524
10525 Code and Data Size: Current and previous core subsystem library
10526 sizes are shown below.  These are the code and data sizes for the
10527 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10528 these values do not include any ACPI driver or OSPM code.  The
10529 debug version of the code includes the debug output trace
10530 mechanism and has a much larger code and data size.  Note that
10531 these values will vary depending on the efficiency of the compiler
10532 and the compiler options used during generation.
10533
10534   Previous Release:
10535
10536     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
10537     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
10538   Current Release:
10539     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
10540     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
10541
10542
10543 2) Linux:
10544
10545 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
10546 correct sleep time in seconds.
10547
10548 ----------------------------------------
10549 14 July 2003.  Summary of changes for version 20030619:
10550
10551 1) ACPI CA Core Subsystem:
10552
10553 Parse SSDTs in order discovered, as opposed to reverse order
10554 (Hrvoje Habjanic)
10555
10556 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
10557 Klausner,
10558    Nate Lawson)
10559
10560
10561 2) Linux:
10562
10563 Dynamically allocate SDT list (suggested by Andi Kleen)
10564
10565 proc function return value cleanups (Andi Kleen)
10566
10567 Correctly handle NMI watchdog during long stalls (Andrew Morton)
10568
10569 Make it so acpismp=force works (reported by Andrew Morton)
10570
10571
10572 ----------------------------------------
10573 19 June 2003.  Summary of changes for version 20030619:
10574
10575 1) ACPI CA Core Subsystem:
10576
10577 Fix To/FromBCD, eliminating the need for an arch-specific #define.
10578
10579 Do not acquire a semaphore in the S5 shutdown path.
10580
10581 Fix ex_digits_needed for 0. (Takayoshi Kochi)
10582
10583 Fix sleep/stall code reversal. (Andi Kleen)
10584
10585 Revert a change having to do with control method calling
10586 semantics.
10587
10588 2) Linux:
10589
10590 acpiphp update (Takayoshi Kochi)
10591
10592 Export acpi_disabled for sonypi (Stelian Pop)
10593
10594 Mention acpismp=force in config help
10595
10596 Re-add acpitable.c and acpismp=force. This improves backwards
10597
10598 compatibility and also cleans up the code to a significant degree.
10599
10600 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
10601
10602 ----------------------------------------
10603 22 May 2003.  Summary of changes for version 20030522:
10604
10605 1) ACPI CA Core Subsystem:
10606
10607 Found and fixed a reported problem where an AE_NOT_FOUND error
10608 occurred occasionally during _BST evaluation.  This turned out to
10609 be an Owner ID allocation issue where a called method did not get
10610 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
10611 ID UINT16 would wraparound so that the ID would be the same as the
10612 caller's and the called method would delete the caller's
10613 namespace.
10614
10615 Implemented extended error reporting for control methods that are
10616 aborted due to a run-time exception.  Output includes the exact
10617 AML instruction that caused the method abort, a dump of the method
10618 locals and arguments at the time of the abort, and a trace of all
10619 nested control method calls.
10620
10621 Modified the interpreter to allow the creation of buffers of zero
10622 length from the AML code. Implemented new code to ensure that no
10623 attempt is made to actually allocate a memory buffer (of length
10624 zero) - instead, a simple buffer object with a NULL buffer pointer
10625 and length zero is created.  A warning is no longer issued when
10626 the AML attempts to create a zero-length buffer.
10627
10628 Implemented a workaround for the "leading asterisk issue" in
10629 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
10630 asterisk is automatically removed if present in any HID, UID, or
10631 CID strings.  The iASL compiler will still flag this asterisk as
10632 an error, however.
10633
10634 Implemented full support for _CID methods that return a package of
10635 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
10636 now additionally returns a device _CID list if present.  This
10637 required a change to the external interface in order to pass an
10638 ACPI_BUFFER object as a parameter since the _CID list is of
10639 variable length.
10640
10641 Fixed a problem with the new AE_SAME_HANDLER exception where
10642 handler initialization code did not know about this exception.
10643
10644 Code and Data Size: Current and previous core subsystem library
10645 sizes are shown below.  These are the code and data sizes for the
10646 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10647 these values do not include any ACPI driver or OSPM code.  The
10648 debug version of the code includes the debug output trace
10649 mechanism and has a much larger code and data size.  Note that
10650 these values will vary depending on the efficiency of the compiler
10651 and the compiler options used during generation.
10652
10653   Previous Release (20030509):
10654     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
10655     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
10656   Current Release:
10657     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
10658     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
10659
10660
10661 2) Linux:
10662
10663 Fixed a bug in which we would reinitialize the ACPI interrupt
10664 after it was already working, thus disabling all ACPI and the IRQs
10665 for any other device sharing the interrupt. (Thanks to Stian
10666 Jordet)
10667
10668 Toshiba driver update (John Belmonte)
10669
10670 Return only 0 or 1 for our interrupt handler status (Andrew
10671 Morton)
10672
10673
10674 3) iASL Compiler:
10675
10676 Fixed a reported problem where multiple (nested) ElseIf()
10677 statements were not handled correctly by the compiler, resulting
10678 in incorrect warnings and incorrect AML code.  This was a problem
10679 in both the ASL parser and the code generator.
10680
10681
10682 4) Documentation:
10683
10684 Added changes to existing interfaces, new exception codes, and new
10685 text concerning reference count object management versus garbage
10686 collection.
10687
10688 ----------------------------------------
10689 09 May 2003.  Summary of changes for version 20030509.
10690
10691
10692 1) ACPI CA Core Subsystem:
10693
10694 Changed the subsystem initialization sequence to hold off
10695 installation of address space handlers until the hardware has been
10696 initialized and the system has entered ACPI mode.  This is because
10697 the installation of space handlers can cause _REG methods to be
10698 run.  Previously, the _REG methods could potentially be run before
10699 ACPI mode was enabled.
10700
10701 Fixed some memory leak issues related to address space handler and
10702 notify handler installation.  There were some problems with the
10703 reference count mechanism caused by the fact that the handler
10704 objects are shared across several namespace objects.
10705
10706 Fixed a reported problem where reference counts within the
10707 namespace were not properly updated when named objects created by
10708 method execution were deleted.
10709
10710 Fixed a reported problem where multiple SSDTs caused a deletion
10711 issue during subsystem termination.  Restructured the table data
10712 structures to simplify the linked lists and the related code.
10713
10714 Fixed a problem where the table ID associated with secondary
10715 tables (SSDTs) was not being propagated into the namespace objects
10716 created by those tables.  This would only present a problem for
10717 tables that are unloaded at run-time, however.
10718
10719 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
10720 type as the length parameter (instead of UINT32).
10721
10722 Solved a long-standing problem where an ALREADY_EXISTS error
10723 appears on various systems.  This problem could happen when there
10724 are multiple PCI_Config operation regions under a single PCI root
10725 bus.  This doesn't happen very frequently, but there are some
10726 systems that do this in the ASL.
10727
10728 Fixed a reported problem where the internal DeleteNode function
10729 was incorrectly handling the case where a namespace node was the
10730 first in the parent's child list, and had additional peers (not
10731 the only child, but first in the list of children.)
10732
10733 Code and Data Size: Current core subsystem library sizes are shown
10734 below.  These are the code and data sizes for the acpica.lib
10735 produced by the Microsoft Visual C++ 6.0 compiler, and these
10736 values do not include any ACPI driver or OSPM code.  The debug
10737 version of the code includes the debug output trace mechanism and
10738 has a much larger code and data size.  Note that these values will
10739 vary depending on the efficiency of the compiler and the compiler
10740 options used during generation.
10741
10742   Previous Release
10743     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
10744     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
10745   Current Release:
10746     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
10747     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
10748
10749
10750 2) Linux:
10751
10752 Allow ":" in OS override string (Ducrot Bruno)
10753
10754 Kobject fix (Greg KH)
10755
10756
10757 3 iASL Compiler/Disassembler:
10758
10759 Fixed a problem in the generation of the C source code files (AML
10760 is emitted in C source statements for BIOS inclusion) where the
10761 Ascii dump that appears within a C comment at the end of each line
10762 could cause a compile time error if the AML sequence happens to
10763 have an open comment or close comment sequence embedded.
10764
10765
10766 ----------------------------------------
10767 24 April 2003.  Summary of changes for version 20030424.
10768
10769
10770 1) ACPI CA Core Subsystem:
10771
10772 Support for big-endian systems has been implemented.  Most of the
10773 support has been invisibly added behind big-endian versions of the
10774 ACPI_MOVE_* macros.
10775
10776 Fixed a problem in AcpiHwDisableGpeBlock() and
10777 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
10778 low level hardware write routine.  The offset parameter was
10779 actually eliminated from the low level read/write routines because
10780 they had become obsolete.
10781
10782 Fixed a problem where a handler object was deleted twice during
10783 the removal of a fixed event handler.
10784
10785
10786 2) Linux:
10787
10788 A fix for SMP systems with link devices was contributed by
10789
10790 Compaq's Dan Zink.
10791
10792 (2.5) Return whether we handled the interrupt in our IRQ handler.
10793 (Linux ISRs no longer return void, so we can propagate the handler
10794 return value from the ACPI CA core back to the OS.)
10795
10796
10797
10798 3) Documentation:
10799
10800 The ACPI CA Programmer Reference has been updated to reflect new
10801 interfaces and changes to existing interfaces.
10802
10803 ----------------------------------------
10804 28 March 2003.  Summary of changes for version 20030328.
10805
10806 1) ACPI CA Core Subsystem:
10807
10808 The GPE Block Device support has been completed.  New interfaces
10809 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
10810 interfaces (enable, disable, clear, getstatus) have been split
10811 into separate interfaces for Fixed Events and General Purpose
10812 Events (GPEs) in order to support GPE Block Devices properly.
10813
10814 Fixed a problem where the error message "Failed to acquire
10815 semaphore" would appear during operations on the embedded
10816 controller (EC).
10817
10818 Code and Data Size: Current core subsystem library sizes are shown
10819 below.  These are the code and data sizes for the acpica.lib
10820 produced by the Microsoft Visual C++ 6.0 compiler, and these
10821 values do not include any ACPI driver or OSPM code.  The debug
10822 version of the code includes the debug output trace mechanism and
10823 has a much larger code and data size.  Note that these values will
10824 vary depending on the efficiency of the compiler and the compiler
10825 options used during generation.
10826
10827   Previous Release
10828     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
10829     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
10830   Current Release:
10831     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
10832     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
10833
10834
10835 ----------------------------------------
10836 28 February 2003.  Summary of changes for version 20030228.
10837
10838
10839 1) ACPI CA Core Subsystem:
10840
10841 The GPE handling and dispatch code has been completely overhauled
10842 in preparation for support of GPE Block Devices (ID ACPI0006).
10843 This affects internal data structures and code only; there should
10844 be no differences visible externally.  One new file has been
10845 added, evgpeblk.c
10846
10847 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
10848 fields that are used to determine the GPE block lengths.  The
10849 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
10850 structures are ignored.  This is per the ACPI specification but it
10851 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
10852 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
10853
10854 In the SCI interrupt handler, removed the read of the PM1_CONTROL
10855 register to look at the SCI_EN bit.  On some machines, this read
10856 causes an SMI event and greatly slows down SCI events.  (This may
10857 in fact be the cause of slow battery status response on some
10858 systems.)
10859
10860 Fixed a problem where a store of a NULL string to a package object
10861 could cause the premature deletion of the object.  This was seen
10862 during execution of the battery _BIF method on some systems,
10863 resulting in no battery data being returned.
10864
10865 Added AcpiWalkResources interface to simplify parsing of resource
10866 lists.
10867
10868 Code and Data Size: Current core subsystem library sizes are shown
10869 below.  These are the code and data sizes for the acpica.lib
10870 produced by the Microsoft Visual C++ 6.0 compiler, and these
10871 values do not include any ACPI driver or OSPM code.  The debug
10872 version of the code includes the debug output trace mechanism and
10873 has a much larger code and data size.  Note that these values will
10874 vary depending on the efficiency of the compiler and the compiler
10875 options used during generation.
10876
10877   Previous Release
10878     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
10879     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
10880   Current Release:
10881     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
10882     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
10883
10884
10885 2) Linux
10886
10887 S3 fixes (Ole Rohne)
10888
10889 Update ACPI PHP driver with to use new acpi_walk_resource API
10890 (Bjorn Helgaas)
10891
10892 Add S4BIOS support (Pavel Machek)
10893
10894 Map in entire table before performing checksum (John Stultz)
10895
10896 Expand the mem= cmdline to allow the specification of reserved and
10897 ACPI DATA blocks (Pavel Machek)
10898
10899 Never use ACPI on VISWS
10900
10901 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
10902
10903 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
10904 causing us to think that some systems support C2 when they really
10905 don't.
10906
10907 Do not count processor objects for non-present CPUs (Thanks to
10908 Dominik Brodowski)
10909
10910
10911 3) iASL Compiler:
10912
10913 Fixed a problem where ASL include files could not be found and
10914 opened.
10915
10916 Added support for the _PDC reserved name.
10917
10918
10919 ----------------------------------------
10920 22 January 2003.  Summary of changes for version 20030122.
10921
10922
10923 1) ACPI CA Core Subsystem:
10924
10925 Added a check for constructs of the form:  Store (Local0, Local0)
10926 where Local0 is not initialized.  Apparently, some BIOS
10927 programmers believe that this is a NOOP.  Since this store doesn't
10928 do anything anyway, the new prototype behavior will ignore this
10929 error.  This is a case where we can relax the strict checking in
10930 the interpreter in the name of compatibility.
10931
10932
10933 2) Linux
10934
10935 The AcpiSrc Source Conversion Utility has been released with the
10936 Linux package for the first time.  This is the utility that is
10937 used to convert the ACPI CA base source code to the Linux version.
10938
10939 (Both) Handle P_BLK lengths shorter than 6 more gracefully
10940
10941 (Both) Move more headers to include/acpi, and delete an unused
10942 header.
10943
10944 (Both) Move drivers/acpi/include directory to include/acpi
10945
10946 (Both) Boot functions don't use cmdline, so don't pass it around
10947
10948 (Both) Remove include of unused header (Adrian Bunk)
10949
10950 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
10951 the
10952 former now also includes the latter, acpiphp.h only needs the one,
10953 now.
10954
10955 (2.5) Make it possible to select method of bios restoring after S3
10956 resume. [=> no more ugly ifdefs] (Pavel Machek)
10957
10958 (2.5) Make proc write interfaces work (Pavel Machek)
10959
10960 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
10961
10962 (2.5) Break out ACPI Perf code into its own module, under cpufreq
10963 (Dominik Brodowski)
10964
10965 (2.4) S4BIOS support (Ducrot Bruno)
10966
10967 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
10968 Visinoni)
10969
10970
10971 3) iASL Compiler:
10972
10973 Added support to disassemble SSDT and PSDTs.
10974
10975 Implemented support to obtain SSDTs from the Windows registry if
10976 available.
10977
10978
10979 ----------------------------------------
10980 09 January 2003.  Summary of changes for version 20030109.
10981
10982 1) ACPI CA Core Subsystem:
10983
10984 Changed the behavior of the internal Buffer-to-String conversion
10985 function.  The current ACPI specification states that the contents
10986 of the buffer are "converted to a string of two-character
10987 hexadecimal numbers, each separated by a space".  Unfortunately,
10988 this definition is not backwards compatible with existing ACPI 1.0
10989 implementations (although the behavior was not defined in the ACPI
10990 1.0 specification).  The new behavior simply copies data from the
10991 buffer to the string until a null character is found or the end of
10992 the buffer is reached.  The new String object is always null
10993 terminated.  This problem was seen during the generation of _BIF
10994 battery data where incorrect strings were returned for battery
10995 type, etc.  This will also require an errata to the ACPI
10996 specification.
10997
10998 Renamed all instances of NATIVE_UINT and NATIVE_INT to
10999 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
11000
11001 Copyright in all module headers (both Linux and non-Linux) has be
11002 updated to 2003.
11003
11004 Code and Data Size: Current core subsystem library sizes are shown
11005 below.  These are the code and data sizes for the acpica.lib
11006 produced by the Microsoft Visual C++ 6.0 compiler, and these
11007 values do not include any ACPI driver or OSPM code.  The debug
11008 version of the code includes the debug output trace mechanism and
11009 has a much larger code and data size.  Note that these values will
11010 vary depending on the efficiency of the compiler and the compiler
11011 options used during generation.
11012
11013   Previous Release
11014     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
11015     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
11016   Current Release:
11017     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
11018     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
11019
11020
11021 2) Linux
11022
11023 Fixed an oops on module insertion/removal (Matthew Tippett)
11024
11025 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
11026
11027 (2.5) Replace pr_debug (Randy Dunlap)
11028
11029 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
11030
11031 (Both) Eliminate spawning of thread from timer callback, in favor
11032 of schedule_work()
11033
11034 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
11035
11036 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
11037
11038 (Both) Add missing statics to button.c (Pavel Machek)
11039
11040 Several changes have been made to the source code translation
11041 utility that generates the Linux Code in order to make the code
11042 more "Linux-like":
11043
11044 All typedefs on structs and unions have been removed in keeping
11045 with the Linux coding style.
11046
11047 Removed the non-Linux SourceSafe module revision number from each
11048 module header.
11049
11050 Completed major overhaul of symbols to be lowercased for linux.
11051 Doubled the number of symbols that are lowercased.
11052
11053 Fixed a problem where identifiers within procedure headers and
11054 within quotes were not fully lower cased (they were left with a
11055 starting capital.)
11056
11057 Some C macros whose only purpose is to allow the generation of 16-
11058 bit code are now completely removed in the Linux code, increasing
11059 readability and maintainability.
11060
11061 ----------------------------------------
11062
11063 12 December 2002.  Summary of changes for version 20021212.
11064
11065
11066 1) ACPI CA Core Subsystem:
11067
11068 Fixed a problem where the creation of a zero-length AML Buffer
11069 would cause a fault.
11070
11071 Fixed a problem where a Buffer object that pointed to a static AML
11072 buffer (in an ACPI table) could inadvertently be deleted, causing
11073 memory corruption.
11074
11075 Fixed a problem where a user buffer (passed in to the external
11076 ACPI CA interfaces) could be overwritten if the buffer was too
11077 small to complete the operation, causing memory corruption.
11078
11079 Fixed a problem in the Buffer-to-String conversion code where a
11080 string of length one was always returned, regardless of the size
11081 of the input Buffer object.
11082
11083 Removed the NATIVE_CHAR data type across the entire source due to
11084 lack of need and lack of consistent use.
11085
11086 Code and Data Size: Current core subsystem library sizes are shown
11087 below.  These are the code and data sizes for the acpica.lib
11088 produced by the Microsoft Visual C++ 6.0 compiler, and these
11089 values do not include any ACPI driver or OSPM code.  The debug
11090 version of the code includes the debug output trace mechanism and
11091 has a much larger code and data size.  Note that these values will
11092 vary depending on the efficiency of the compiler and the compiler
11093 options used during generation.
11094
11095   Previous Release
11096     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
11097     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
11098   Current Release:
11099     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
11100     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
11101
11102
11103 ----------------------------------------
11104 05 December 2002.  Summary of changes for version 20021205.
11105
11106 1) ACPI CA Core Subsystem:
11107
11108 Fixed a problem where a store to a String or Buffer object could
11109 cause corruption of the DSDT if the object type being stored was
11110 the same as the target object type and the length of the object
11111 being stored was equal to or smaller than the original (existing)
11112 target object.  This was seen to cause corruption of battery _BIF
11113 buffers if the _BIF method modified the buffer on the fly.
11114
11115 Fixed a problem where an internal error was generated if a control
11116 method invocation was used in an OperationRegion, Buffer, or
11117 Package declaration.  This was caused by the deferred parsing of
11118 the control method and thus the deferred creation of the internal
11119 method object.  The solution to this problem was to create the
11120 internal method object at the moment the method is encountered in
11121 the first pass - so that subsequent references to the method will
11122 able to obtain the required parameter count and thus properly
11123 parse the method invocation.  This problem presented itself as an
11124 AE_AML_INTERNAL during the pass 1 parse phase during table load.
11125
11126 Fixed a problem where the internal String object copy routine did
11127 not always allocate sufficient memory for the target String object
11128 and caused memory corruption.  This problem was seen to cause
11129 "Allocation already present in list!" errors as memory allocation
11130 became corrupted.
11131
11132 Implemented a new function for the evaluation of namespace objects
11133 that allows the specification of the allowable return object
11134 types.  This simplifies a lot of code that checks for a return
11135 object of one or more specific objects returned from the
11136 evaluation (such as _STA, etc.)  This may become and external
11137 function if it would be useful to ACPI-related drivers.
11138
11139 Completed another round of prefixing #defines with "ACPI_" for
11140 clarity.
11141
11142 Completed additional code restructuring to allow more modular
11143 linking for iASL compiler and AcpiExec.  Several files were split
11144 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
11145
11146 Implemented an abort mechanism to terminate an executing control
11147 method via the AML debugger.  This feature is useful for debugging
11148 control methods that depend (wait) for specific hardware
11149 responses.
11150
11151 Code and Data Size: Current core subsystem library sizes are shown
11152 below.  These are the code and data sizes for the acpica.lib
11153 produced by the Microsoft Visual C++ 6.0 compiler, and these
11154 values do not include any ACPI driver or OSPM code.  The debug
11155 version of the code includes the debug output trace mechanism and
11156 has a much larger code and data size.  Note that these values will
11157 vary depending on the efficiency of the compiler and the compiler
11158 options used during generation.
11159
11160   Previous Release
11161     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11162     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
11163   Current Release:
11164     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
11165     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
11166
11167
11168 2) iASL Compiler/Disassembler
11169
11170 Fixed a compiler code generation problem for "Interrupt" Resource
11171 Descriptors.  If specified in the ASL, the optional "Resource
11172 Source Index" and "Resource Source" fields were not inserted into
11173 the correct location within the AML resource descriptor, creating
11174 an invalid descriptor.
11175
11176 Fixed a disassembler problem for "Interrupt" resource descriptors.
11177 The optional "Resource Source Index" and "Resource Source" fields
11178 were ignored.
11179
11180
11181 ----------------------------------------
11182 22 November 2002.  Summary of changes for version 20021122.
11183
11184
11185 1) ACPI CA Core Subsystem:
11186
11187 Fixed a reported problem where an object stored to a Method Local
11188 or Arg was not copied to a new object during the store - the
11189 object pointer was simply copied to the Local/Arg.  This caused
11190 all subsequent operations on the Local/Arg to also affect the
11191 original source of the store operation.
11192
11193 Fixed a problem where a store operation to a Method Local or Arg
11194 was not completed properly if the Local/Arg contained a reference
11195 (from RefOf) to a named field.  The general-purpose store-to-
11196 namespace-node code is now used so that this case is handled
11197 automatically.
11198
11199 Fixed a problem where the internal object copy routine would cause
11200 a protection fault if the object being copied was a Package and
11201 contained either 1) a NULL package element or 2) a nested sub-
11202 package.
11203
11204 Fixed a problem with the GPE initialization that resulted from an
11205 ambiguity in the ACPI specification.  One section of the
11206 specification states that both the address and length of the GPE
11207 block must be zero if the block is not supported.  Another section
11208 implies that only the address need be zero if the block is not
11209 supported.  The code has been changed so that both the address and
11210 the length must be non-zero to indicate a valid GPE block (i.e.,
11211 if either the address or the length is zero, the GPE block is
11212 invalid.)
11213
11214 Code and Data Size: Current core subsystem library sizes are shown
11215 below.  These are the code and data sizes for the acpica.lib
11216 produced by the Microsoft Visual C++ 6.0 compiler, and these
11217 values do not include any ACPI driver or OSPM code.  The debug
11218 version of the code includes the debug output trace mechanism and
11219 has a much larger code and data size.  Note that these values will
11220 vary depending on the efficiency of the compiler and the compiler
11221 options used during generation.
11222
11223   Previous Release
11224     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
11225     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
11226   Current Release:
11227     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11228     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
11229
11230
11231 2) Linux
11232
11233 Cleaned up EC driver. Exported an external EC read/write
11234 interface. By going through this, other drivers (most notably
11235 sonypi) will be able to serialize access to the EC.
11236
11237
11238 3) iASL Compiler/Disassembler
11239
11240 Implemented support to optionally generate include files for both
11241 ASM and C (the -i switch).  This simplifies BIOS development by
11242 automatically creating include files that contain external
11243 declarations for the symbols that are created within the
11244
11245 (optionally generated) ASM and C AML source files.
11246
11247
11248 ----------------------------------------
11249 15 November 2002.  Summary of changes for version 20021115.
11250
11251 1) ACPI CA Core Subsystem:
11252
11253 Fixed a memory leak problem where an error during resolution of
11254
11255 method arguments during a method invocation from another method
11256 failed to cleanup properly by deleting all successfully resolved
11257 argument objects.
11258
11259 Fixed a problem where the target of the Index() operator was not
11260 correctly constructed if the source object was a package.  This
11261 problem has not been detected because the use of a target operand
11262 with Index() is very rare.
11263
11264 Fixed a problem with the Index() operator where an attempt was
11265 made to delete the operand objects twice.
11266
11267 Fixed a problem where an attempt was made to delete an operand
11268 twice during execution of the CondRefOf() operator if the target
11269 did not exist.
11270
11271 Implemented the first of perhaps several internal create object
11272 functions that create and initialize a specific object type.  This
11273 consolidates duplicated code wherever the object is created, thus
11274 shrinking the size of the subsystem.
11275
11276 Implemented improved debug/error messages for errors that occur
11277 during nested method invocations.  All executing method pathnames
11278 are displayed (with the error) as the call stack is unwound - thus
11279 simplifying debug.
11280
11281 Fixed a problem introduced in the 10/02 release that caused
11282 premature deletion of a buffer object if a buffer was used as an
11283 ASL operand where an integer operand is required (Thus causing an
11284 implicit object conversion from Buffer to Integer.)  The change in
11285 the 10/02 release was attempting to fix a memory leak (albeit
11286 incorrectly.)
11287
11288 Code and Data Size: Current core subsystem library sizes are shown
11289 below.  These are the code and data sizes for the acpica.lib
11290 produced by the Microsoft Visual C++ 6.0 compiler, and these
11291 values do not include any ACPI driver or OSPM code.  The debug
11292 version of the code includes the debug output trace mechanism and
11293 has a much larger code and data size.  Note that these values will
11294 vary depending on the efficiency of the compiler and the compiler
11295 options used during generation.
11296
11297   Previous Release
11298     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
11299     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
11300   Current Release:
11301     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
11302     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
11303
11304
11305 2) Linux
11306
11307 Changed the implementation of the ACPI semaphores to use down()
11308 instead of down_interruptable().  It is important that the
11309 execution of ACPI control methods not be interrupted by signals.
11310 Methods must run to completion, or the system may be left in an
11311 unknown/unstable state.
11312
11313 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
11314 (Shawn Starr)
11315
11316
11317 3) iASL Compiler/Disassembler
11318
11319
11320 Changed the default location of output files.  All output files
11321 are now placed in the current directory by default instead of in
11322 the directory of the source file.  This change may affect some
11323 existing makefiles, but it brings the behavior of the compiler in
11324 line with other similar tools.  The location of the output files
11325 can be overridden with the -p command line switch.
11326
11327
11328 ----------------------------------------
11329 11 November 2002.  Summary of changes for version 20021111.
11330
11331
11332 0) ACPI Specification 2.0B is released and is now available at:
11333 http://www.acpi.info/index.html
11334
11335
11336 1) ACPI CA Core Subsystem:
11337
11338 Implemented support for the ACPI 2.0 SMBus Operation Regions.
11339 This includes the early detection and handoff of the request to
11340 the SMBus region handler (avoiding all of the complex field
11341 support code), and support for the bidirectional return packet
11342 from an SMBus write operation.  This paves the way for the
11343 development of SMBus drivers in each host operating system.
11344
11345 Fixed a problem where the semaphore WAIT_FOREVER constant was
11346 defined as 32 bits, but must be 16 bits according to the ACPI
11347 specification.  This had the side effect of causing ASL
11348 Mutex/Event timeouts even though the ASL code requested a wait
11349 forever.  Changed all internal references to the ACPI timeout
11350 parameter to 16 bits to prevent future problems.  Changed the name
11351 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
11352
11353 Code and Data Size: Current core subsystem library sizes are shown
11354 below.  These are the code and data sizes for the acpica.lib
11355 produced by the Microsoft Visual C++ 6.0 compiler, and these
11356 values do not include any ACPI driver or OSPM code.  The debug
11357 version of the code includes the debug output trace mechanism and
11358 has a much larger code and data size.  Note that these values will
11359 vary depending on the efficiency of the compiler and the compiler
11360 options used during generation.
11361
11362   Previous Release
11363     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11364     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
11365   Current Release:
11366     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
11367     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
11368
11369
11370 2) Linux
11371
11372 Module loading/unloading fixes (John Cagle)
11373
11374
11375 3) iASL Compiler/Disassembler
11376
11377 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
11378
11379 Implemented support for the disassembly of all SMBus protocol
11380 keywords (SMBQuick, SMBWord, etc.)
11381
11382 ----------------------------------------
11383 01 November 2002.  Summary of changes for version 20021101.
11384
11385
11386 1) ACPI CA Core Subsystem:
11387
11388 Fixed a problem where platforms that have a GPE1 block but no GPE0
11389 block were not handled correctly.  This resulted in a "GPE
11390 overlap" error message.  GPE0 is no longer required.
11391
11392 Removed code added in the previous release that inserted nodes
11393 into the namespace in alphabetical order.  This caused some side-
11394 effects on various machines.  The root cause of the problem is
11395 still under investigation since in theory, the internal ordering
11396 of the namespace nodes should not matter.
11397
11398
11399 Enhanced error reporting for the case where a named object is not
11400 found during control method execution.  The full ACPI namepath
11401 (name reference) of the object that was not found is displayed in
11402 this case.
11403
11404 Note: as a result of the overhaul of the namespace object types in
11405 the previous release, the namespace nodes for the predefined
11406 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
11407 instead of ACPI_TYPE_ANY.  This simplifies the namespace
11408 management code but may affect code that walks the namespace tree
11409 looking for specific object types.
11410
11411 Code and Data Size: Current core subsystem library sizes are shown
11412 below.  These are the code and data sizes for the acpica.lib
11413 produced by the Microsoft Visual C++ 6.0 compiler, and these
11414 values do not include any ACPI driver or OSPM code.  The debug
11415 version of the code includes the debug output trace mechanism and
11416 has a much larger code and data size.  Note that these values will
11417 vary depending on the efficiency of the compiler and the compiler
11418 options used during generation.
11419
11420   Previous Release
11421     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
11422     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
11423   Current Release:
11424     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
11425     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
11426
11427
11428 2) Linux
11429
11430 Fixed a problem introduced in the previous release where the
11431 Processor and Thermal objects were not recognized and installed in
11432 /proc.  This was related to the scope type change described above.
11433
11434
11435 3) iASL Compiler/Disassembler
11436
11437 Implemented the -g option to get all of the required ACPI tables
11438 from the registry and save them to files (Windows version of the
11439 compiler only.)  The required tables are the FADT, FACS, and DSDT.
11440
11441 Added ACPI table checksum validation during table disassembly in
11442 order to catch corrupted tables.
11443
11444
11445 ----------------------------------------
11446 22 October 2002.  Summary of changes for version 20021022.
11447
11448 1) ACPI CA Core Subsystem:
11449
11450 Implemented a restriction on the Scope operator that the target
11451 must already exist in the namespace at the time the operator is
11452 encountered (during table load or method execution).  In other
11453 words, forward references are not allowed and Scope() cannot
11454 create a new object. This changes the previous behavior where the
11455 interpreter would create the name if not found.  This new behavior
11456 correctly enables the search-to-root algorithm during namespace
11457 lookup of the target name.  Because of this upsearch, this fixes
11458 the known Compaq _SB_.OKEC problem and makes both the AML
11459 interpreter and iASL compiler compatible with other ACPI
11460 implementations.
11461
11462 Completed a major overhaul of the internal ACPI object types for
11463 the ACPI Namespace and the associated operand objects.  Many of
11464 these types had become obsolete with the introduction of the two-
11465 pass namespace load.  This cleanup simplifies the code and makes
11466 the entire namespace load mechanism much clearer and easier to
11467 understand.
11468
11469 Improved debug output for tracking scope opening/closing to help
11470 diagnose scoping issues.  The old scope name as well as the new
11471 scope name are displayed.  Also improved error messages for
11472 problems with ASL Mutex objects and error messages for GPE
11473 problems.
11474
11475 Cleaned up the namespace dump code, removed obsolete code.
11476
11477 All string output (for all namespace/object dumps) now uses the
11478 common ACPI string output procedure which handles escapes properly
11479 and does not emit non-printable characters.
11480
11481 Fixed some issues with constants in the 64-bit version of the
11482 local C library (utclib.c)
11483
11484
11485 2) Linux
11486
11487 EC Driver:  No longer attempts to acquire the Global Lock at
11488 interrupt level.
11489
11490
11491 3) iASL Compiler/Disassembler
11492
11493 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
11494 2 opcodes outside of a control method.  This means that the
11495 "executable" operators (versus the "namespace" operators) cannot
11496 be used at the table level; they can only be used within a control
11497 method.
11498
11499 Implemented the restriction on the Scope() operator where the
11500 target must already exist in the namespace at the time the
11501 operator is encountered (during ASL compilation). In other words,
11502 forward references are not allowed and Scope() cannot create a new
11503 object.  This makes the iASL compiler compatible with other ACPI
11504 implementations and makes the Scope() implementation adhere to the
11505 ACPI specification.
11506
11507 Fixed a problem where namepath optimization for the Alias operator
11508 was optimizing the wrong path (of the two namepaths.)  This caused
11509 a "Missing alias link" error message.
11510
11511 Fixed a problem where an "unknown reserved name" warning could be
11512 incorrectly generated for names like "_SB" when the trailing
11513 underscore is not used in the original ASL.
11514
11515 Fixed a problem where the reserved name check did not handle
11516 NamePaths with multiple NameSegs correctly.  The first nameseg of
11517 the NamePath was examined instead of the last NameSeg.
11518
11519
11520 ----------------------------------------
11521
11522 02 October 2002.  Summary of changes for this release.
11523
11524
11525 1) ACPI CA Core Subsystem version 20021002:
11526
11527 Fixed a problem where a store/copy of a string to an existing
11528 string did not always set the string length properly in the String
11529 object.
11530
11531 Fixed a reported problem with the ToString operator where the
11532 behavior was identical to the ToHexString operator instead of just
11533 simply converting a raw buffer to a string data type.
11534
11535 Fixed a problem where CopyObject and the other "explicit"
11536 conversion operators were not updating the internal namespace node
11537 type as part of the store operation.
11538
11539 Fixed a memory leak during implicit source operand conversion
11540 where the original object was not deleted if it was converted to a
11541 new object of a different type.
11542
11543 Enhanced error messages for all problems associated with namespace
11544 lookups.  Common procedure generates and prints the lookup name as
11545 well as the formatted status.
11546
11547 Completed implementation of a new design for the Alias support
11548 within the namespace.  The existing design did not handle the case
11549 where a new object was assigned to one of the two names due to the
11550 use of an explicit conversion operator, resulting in the two names
11551 pointing to two different objects.  The new design simply points
11552 the Alias name to the original name node - not to the object.
11553 This results in a level of indirection that must be handled in the
11554 name resolution mechanism.
11555
11556 Code and Data Size: Current core subsystem library sizes are shown
11557 below.  These are the code and data sizes for the acpica.lib
11558 produced by the Microsoft Visual C++ 6.0 compiler, and these
11559 values do not include any ACPI driver or OSPM code.  The debug
11560 version of the code includes the debug output trace mechanism and
11561 has a larger code and data size.  Note that these values will vary
11562 depending on the efficiency of the compiler and the compiler
11563 options used during generation.
11564
11565   Previous Release
11566     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
11567     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
11568   Current Release:
11569     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
11570     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
11571
11572
11573 2) Linux
11574
11575 Initialize thermal driver's timer before it is used. (Knut
11576 Neumann)
11577
11578 Allow handling negative celsius values. (Kochi Takayoshi)
11579
11580 Fix thermal management and make trip points. R/W (Pavel Machek)
11581
11582 Fix /proc/acpi/sleep. (P. Christeas)
11583
11584 IA64 fixes. (David Mosberger)
11585
11586 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
11587
11588 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
11589 Brodowski)
11590
11591
11592 3) iASL Compiler/Disassembler
11593
11594 Clarified some warning/error messages.
11595
11596
11597 ----------------------------------------
11598 18 September 2002.  Summary of changes for this release.
11599
11600
11601 1) ACPI CA Core Subsystem version 20020918:
11602
11603 Fixed a reported problem with reference chaining (via the Index()
11604 and RefOf() operators) in the ObjectType() and SizeOf() operators.
11605 The definition of these operators includes the dereferencing of
11606 all chained references to return information on the base object.
11607
11608 Fixed a problem with stores to indexed package elements - the
11609 existing code would not complete the store if an "implicit
11610 conversion" was not performed.  In other words, if the existing
11611 object (package element) was to be replaced completely, the code
11612 didn't handle this case.
11613
11614 Relaxed typechecking on the ASL "Scope" operator to allow the
11615 target name to refer to an object of type Integer, String, or
11616 Buffer, in addition to the scoping object types (Device,
11617 predefined Scopes, Processor, PowerResource, and ThermalZone.)
11618 This allows existing AML code that has workarounds for a bug in
11619 Windows to function properly.  A warning is issued, however.  This
11620 affects both the AML interpreter and the iASL compiler. Below is
11621 an example of this type of ASL code:
11622
11623       Name(DEB,0x00)
11624       Scope(DEB)
11625       {
11626
11627 Fixed some reported problems with 64-bit integer support in the
11628 local implementation of C library functions (clib.c)
11629
11630
11631 2) Linux
11632
11633 Use ACPI fix map region instead of IOAPIC region, since it is
11634 undefined in non-SMP.
11635
11636 Ensure that the SCI has the proper polarity and trigger, even on
11637 systems that do not have an interrupt override entry in the MADT.
11638
11639 2.5 big driver reorganization (Pat Mochel)
11640
11641 Use early table mapping code from acpitable.c (Andi Kleen)
11642
11643 New blacklist entries (Andi Kleen)
11644
11645 Blacklist improvements. Split blacklist code out into a separate
11646 file. Move checking the blacklist to very early. Previously, we
11647 would use ACPI tables, and then halfway through init, check the
11648 blacklist -- too late. Now, it's early enough to completely fall-
11649 back to non-ACPI.
11650
11651
11652 3) iASL Compiler/Disassembler version 20020918:
11653
11654 Fixed a problem where the typechecking code didn't know that an
11655 alias could point to a method.  In other words, aliases were not
11656 being dereferenced during typechecking.
11657
11658
11659 ----------------------------------------
11660 29 August 2002.  Summary of changes for this release.
11661
11662 1) ACPI CA Core Subsystem Version 20020829:
11663
11664 If the target of a Scope() operator already exists, it must be an
11665 object type that actually opens a scope -- such as a Device,
11666 Method, Scope, etc.  This is a fatal runtime error.  Similar error
11667 check has been added to the iASL compiler also.
11668
11669 Tightened up the namespace load to disallow multiple names in the
11670 same scope.  This previously was allowed if both objects were of
11671 the same type.  (i.e., a lookup was the same as entering a new
11672 name).
11673
11674
11675 2) Linux
11676
11677 Ensure that the ACPI interrupt has the proper trigger and
11678 polarity.
11679
11680 local_irq_disable is extraneous. (Matthew Wilcox)
11681
11682 Make "acpi=off" actually do what it says, and not use the ACPI
11683 interpreter *or* the tables.
11684
11685 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
11686 Takayoshi)
11687
11688
11689 3) iASL Compiler/Disassembler  Version 20020829:
11690
11691 Implemented namepath optimization for name declarations.  For
11692 example, a declaration like "Method (\_SB_.ABCD)" would get
11693 optimized to "Method (ABCD)" if the declaration is within the
11694 \_SB_ scope.  This optimization is in addition to the named
11695 reference path optimization first released in the previous
11696 version. This would seem to complete all possible optimizations
11697 for namepaths within the ASL/AML.
11698
11699 If the target of a Scope() operator already exists, it must be an
11700 object type that actually opens a scope -- such as a Device,
11701 Method, Scope, etc.
11702
11703 Implemented a check and warning for unreachable code in the same
11704 block below a Return() statement.
11705
11706 Fixed a problem where the listing file was not generated if the
11707 compiler aborted if the maximum error count was exceeded (200).
11708
11709 Fixed a problem where the typechecking of method return values was
11710 broken.  This includes the check for a return value when the
11711 method is invoked as a TermArg (a return value is expected.)
11712
11713 Fixed a reported problem where EOF conditions during a quoted
11714 string or comment caused a fault.
11715
11716
11717 ----------------------------------------
11718 15 August 2002.  Summary of changes for this release.
11719
11720 1) ACPI CA Core Subsystem Version 20020815:
11721
11722 Fixed a reported problem where a Store to a method argument that
11723 contains a reference did not perform the indirect store correctly.
11724 This problem was created during the conversion to the new
11725 reference object model - the indirect store to a method argument
11726 code was not updated to reflect the new model.
11727
11728 Reworked the ACPI mode change code to better conform to ACPI 2.0,
11729 handle corner cases, and improve code legibility (Kochi Takayoshi)
11730
11731 Fixed a problem with the pathname parsing for the carat (^)
11732 prefix.  The heavy use of the carat operator by the new namepath
11733 optimization in the iASL compiler uncovered a problem with the AML
11734 interpreter handling of this prefix.  In the case where one or
11735 more carats precede a single nameseg, the nameseg was treated as
11736 standalone and the search rule (to root) was inadvertently
11737 applied.  This could cause both the iASL compiler and the
11738 interpreter to find the wrong object or to miss the error that
11739 should occur if the object does not exist at that exact pathname.
11740
11741 Found and fixed the problem where the HP Pavilion DSDT would not
11742 load.  This was a relatively minor tweak to the table loading code
11743 (a problem caused by the unexpected encounter with a method
11744 invocation not within a control method), but it does not solve the
11745 overall issue of the execution of AML code at the table level.
11746 This investigation is still ongoing.
11747
11748 Code and Data Size: Current core subsystem library sizes are shown
11749 below.  These are the code and data sizes for the acpica.lib
11750 produced by the Microsoft Visual C++ 6.0 compiler, and these
11751 values do not include any ACPI driver or OSPM code.  The debug
11752 version of the code includes the debug output trace mechanism and
11753 has a larger code and data size.  Note that these values will vary
11754 depending on the efficiency of the compiler and the compiler
11755 options used during generation.
11756
11757   Previous Release
11758     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
11759     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
11760   Current Release:
11761     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
11762     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
11763
11764
11765 2) Linux
11766
11767 Remove redundant slab.h include (Brad Hards)
11768
11769 Fix several bugs in thermal.c (Herbert Nachtnebel)
11770
11771 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
11772
11773 Change acpi_system_suspend to use updated irq functions (Pavel
11774 Machek)
11775
11776 Export acpi_get_firmware_table (Matthew Wilcox)
11777
11778 Use proper root proc entry for ACPI (Kochi Takayoshi)
11779
11780 Fix early-boot table parsing (Bjorn Helgaas)
11781
11782
11783 3) iASL Compiler/Disassembler
11784
11785 Reworked the compiler options to make them more consistent and to
11786 use two-letter options where appropriate.  We were running out of
11787 sensible letters.   This may break some makefiles, so check the
11788 current options list by invoking the compiler with no parameters.
11789
11790 Completed the design and implementation of the ASL namepath
11791 optimization option for the compiler.  This option optimizes all
11792 references to named objects to the shortest possible path.  The
11793 first attempt tries to utilize a single nameseg (4 characters) and
11794 the "search-to-root" algorithm used by the interpreter.  If that
11795 cannot be used (because either the name is not in the search path
11796 or there is a conflict with another object with the same name),
11797 the pathname is optimized using the carat prefix (usually a
11798 shorter string than specifying the entire path from the root.)
11799
11800 Implemented support to obtain the DSDT from the Windows registry
11801 (when the disassembly option is specified with no input file).
11802 Added this code as the implementation for AcpiOsTableOverride in
11803 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
11804 utility) to scan memory for the DSDT to the AcpiOsTableOverride
11805 function in the DOS OSL to make the disassembler truly OS
11806 independent.
11807
11808 Implemented a new option to disassemble and compile in one step.
11809 When used without an input filename, this option will grab the
11810 DSDT from the local machine, disassemble it, and compile it in one
11811 step.
11812
11813 Added a warning message for invalid escapes (a backslash followed
11814 by any character other than the allowable escapes).  This catches
11815 the quoted string error "\_SB_" (which should be "\\_SB_" ).
11816
11817 Also, there are numerous instances in the ACPI specification where
11818 this error occurs.
11819
11820 Added a compiler option to disable all optimizations.  This is
11821 basically the "compatibility mode" because by using this option,
11822 the AML code will come out exactly the same as other ASL
11823 compilers.
11824
11825 Added error messages for incorrectly ordered dependent resource
11826 functions.  This includes: missing EndDependentFn macro at end of
11827 dependent resource list, nested dependent function macros (both
11828 start and end), and missing StartDependentFn macro.  These are
11829 common errors that should be caught at compile time.
11830
11831 Implemented _OSI support for the disassembler and compiler.  _OSI
11832 must be included in the namespace for proper disassembly (because
11833 the disassembler must know the number of arguments.)
11834
11835 Added an "optimization" message type that is optional (off by
11836 default).  This message is used for all optimizations - including
11837 constant folding, integer optimization, and namepath optimization.
11838
11839 ----------------------------------------
11840 25 July 2002.  Summary of changes for this release.
11841
11842
11843 1) ACPI CA Core Subsystem Version 20020725:
11844
11845 The AML Disassembler has been enhanced to produce compilable ASL
11846 code and has been integrated into the iASL compiler (see below) as
11847 well as the single-step disassembly for the AML debugger and the
11848 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
11849 resource templates and macros are fully supported.  The
11850 disassembler has been tested on over 30 different AML files,
11851 producing identical AML when the resulting disassembled ASL file
11852 is recompiled with the same ASL compiler.
11853
11854 Modified the Resource Manager to allow zero interrupts and zero
11855 dma channels during the GetCurrentResources call.  This was
11856 causing problems on some platforms.
11857
11858 Added the AcpiOsRedirectOutput interface to the OSL to simplify
11859 output redirection for the AcpiOsPrintf and AcpiOsVprintf
11860 interfaces.
11861
11862 Code and Data Size: Current core subsystem library sizes are shown
11863 below.  These are the code and data sizes for the acpica.lib
11864 produced by the Microsoft Visual C++ 6.0 compiler, and these
11865 values do not include any ACPI driver or OSPM code.  The debug
11866 version of the code includes the debug output trace mechanism and
11867 has a larger code and data size.  Note that these values will vary
11868 depending on the efficiency of the compiler and the compiler
11869 options used during generation.
11870
11871   Previous Release
11872     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
11873     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
11874   Current Release:
11875     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
11876     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
11877
11878
11879 2) Linux
11880
11881 Fixed a panic in the EC driver (Dominik Brodowski)
11882
11883 Implemented checksum of the R/XSDT itself during Linux table scan
11884 (Richard Schaal)
11885
11886
11887 3) iASL compiler
11888
11889 The AML disassembler is integrated into the compiler.  The "-d"
11890 option invokes the disassembler  to completely disassemble an
11891 input AML file, producing as output a text ASL file with the
11892 extension ".dsl" (to avoid name collisions with existing .asl
11893 source files.)  A future enhancement will allow the disassembler
11894 to obtain the BIOS DSDT from the registry under Windows.
11895
11896 Fixed a problem with the VendorShort and VendorLong resource
11897 descriptors where an invalid AML sequence was created.
11898
11899 Implemented a fix for BufferData term in the ASL parser.  It was
11900 inadvertently defined twice, allowing invalid syntax to pass and
11901 causing reduction conflicts.
11902
11903 Fixed a problem where the Ones opcode could get converted to a
11904 value of zero if "Ones" was used where a byte, word or dword value
11905 was expected.  The 64-bit value is now truncated to the correct
11906 size with the correct value.
11907
11908
11909
11910 ----------------------------------------
11911 02 July 2002.  Summary of changes for this release.
11912
11913
11914 1) ACPI CA Core Subsystem Version 20020702:
11915
11916 The Table Manager code has been restructured to add several new
11917 features.  Tables that are not required by the core subsystem
11918 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
11919 validated in any way and are returned from AcpiGetFirmwareTable if
11920 requested.  The AcpiOsTableOverride interface is now called for
11921 each table that is loaded by the subsystem in order to allow the
11922 host to override any table it chooses.  Previously, only the DSDT
11923 could be overridden.  Added one new files, tbrsdt.c and
11924 tbgetall.c.
11925
11926 Fixed a problem with the conversion of internal package objects to
11927 external objects (when a package is returned from a control
11928 method.)  The return buffer length was set to zero instead of the
11929 proper length of the package object.
11930
11931 Fixed a reported problem with the use of the RefOf and DeRefOf
11932 operators when passing reference arguments to control methods.  A
11933 new type of Reference object is used internally for references
11934 produced by the RefOf operator.
11935
11936 Added additional error messages in the Resource Manager to explain
11937 AE_BAD_DATA errors when they occur during resource parsing.
11938
11939 Split the AcpiEnableSubsystem into two primitives to enable a
11940 finer granularity initialization sequence.  These two calls should
11941 be called in this order: AcpiEnableSubsystem (flags),
11942 AcpiInitializeObjects (flags).  The flags parameter remains the
11943 same.
11944
11945
11946 2) Linux
11947
11948 Updated the ACPI utilities module to understand the new style of
11949 fully resolved package objects that are now returned from the core
11950 subsystem.  This eliminates errors of the form:
11951
11952     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
11953     acpi_utils-0430 [145] acpi_evaluate_reference:
11954         Invalid element in package (not a device reference)
11955
11956 The method evaluation utility uses the new buffer allocation
11957 scheme instead of calling AcpiEvaluate Object twice.
11958
11959 Added support for ECDT. This allows the use of the Embedded
11960
11961 Controller before the namespace has been fully initialized, which
11962 is necessary for ACPI 2.0 support, and for some laptops to
11963 initialize properly. (Laptops using ECDT are still rare, so only
11964 limited testing was performed of the added functionality.)
11965
11966 Fixed memory leaks in the EC driver.
11967
11968 Eliminated a brittle code structure in acpi_bus_init().
11969
11970 Eliminated the acpi_evaluate() helper function in utils.c. It is
11971 no longer needed since acpi_evaluate_object can optionally
11972 allocate memory for the return object.
11973
11974 Implemented fix for keyboard hang when getting battery readings on
11975 some systems (Stephen White)
11976
11977 PCI IRQ routing update (Dominik Brodowski)
11978
11979 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
11980 support
11981
11982 ----------------------------------------
11983 11 June 2002.  Summary of changes for this release.
11984
11985
11986 1) ACPI CA Core Subsystem Version 20020611:
11987
11988 Fixed a reported problem where constants such as Zero and One
11989 appearing within _PRT packages were not handled correctly within
11990 the resource manager code.  Originally reported against the ASL
11991 compiler because the code generator now optimizes integers to
11992 their minimal AML representation (i.e. AML constants if possible.)
11993 The _PRT code now handles all AML constant opcodes correctly
11994 (Zero, One, Ones, Revision).
11995
11996 Fixed a problem with the Concatenate operator in the AML
11997 interpreter where a buffer result object was incorrectly marked as
11998 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
11999
12000 All package sub-objects are now fully resolved before they are
12001 returned from the external ACPI interfaces.  This means that name
12002 strings are resolved to object handles, and constant operators
12003 (Zero, One, Ones, Revision) are resolved to Integers.
12004
12005 Implemented immediate resolution of the AML Constant opcodes
12006 (Zero, One, Ones, Revision) to Integer objects upon detection
12007 within the AML stream. This has simplified and reduced the
12008 generated code size of the subsystem by eliminating about 10
12009 switch statements for these constants (which previously were
12010 contained in Reference objects.)  The complicating issues are that
12011 the Zero opcode is used as a "placeholder" for unspecified
12012 optional target operands and stores to constants are defined to be
12013 no-ops.
12014
12015 Code and Data Size: Current core subsystem library sizes are shown
12016 below. These are the code and data sizes for the acpica.lib
12017 produced by the Microsoft Visual C++ 6.0 compiler, and these
12018 values do not include any ACPI driver or OSPM code.  The debug
12019 version of the code includes the debug output trace mechanism and
12020 has a larger code and data size.  Note that these values will vary
12021 depending on the efficiency of the compiler and the compiler
12022 options used during generation.
12023
12024   Previous Release
12025     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
12026     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
12027   Current Release:
12028     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
12029     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
12030
12031
12032 2) Linux
12033
12034
12035 Added preliminary support for obtaining _TRA data for PCI root
12036 bridges (Bjorn Helgaas).
12037
12038
12039 3) iASL Compiler Version X2046:
12040
12041 Fixed a problem where the "_DDN" reserved name was defined to be a
12042 control method with one argument.  There are no arguments, and
12043 _DDN does not have to be a control method.
12044
12045 Fixed a problem with the Linux version of the compiler where the
12046 source lines printed with error messages were the wrong lines.
12047 This turned out to be the "LF versus CR/LF" difference between
12048 Windows and Unix.  This appears to be the longstanding issue
12049 concerning listing output and error messages.
12050
12051 Fixed a problem with the Linux version of compiler where opcode
12052 names within error messages were wrong.  This was caused by a
12053 slight difference in the output of the Flex tool on Linux versus
12054 Windows.
12055
12056 Fixed a problem with the Linux compiler where the hex output files
12057 contained some garbage data caused by an internal buffer overrun.
12058
12059
12060 ----------------------------------------
12061 17 May 2002.  Summary of changes for this release.
12062
12063
12064 1) ACPI CA Core Subsystem Version 20020517:
12065
12066 Implemented a workaround to an BIOS bug discovered on the HP
12067 OmniBook where the FADT revision number and the table size are
12068 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
12069 behavior is to fallback to using only the ACPI 1.0 fields of the
12070 FADT if the table is too small to be a ACPI 2.0 table as claimed
12071 by the revision number.  Although this is a BIOS bug, this is a
12072 case where the workaround is simple enough and with no side
12073 effects, so it seemed prudent to add it.  A warning message is
12074 issued, however.
12075
12076 Implemented minimum size checks for the fixed-length ACPI tables -
12077 - the FADT and FACS, as well as consistency checks between the
12078 revision number and the table size.
12079
12080 Fixed a reported problem in the table override support where the
12081 new table pointer was incorrectly treated as a physical address
12082 instead of a logical address.
12083
12084 Eliminated the use of the AE_AML_ERROR exception and replaced it
12085 with more descriptive codes.
12086
12087 Fixed a problem where an exception would occur if an ASL Field was
12088 defined with no named Field Units underneath it (used by some
12089 index fields).
12090
12091 Code and Data Size: Current core subsystem library sizes are shown
12092 below.  These are the code and data sizes for the acpica.lib
12093 produced by the Microsoft Visual C++ 6.0 compiler, and these
12094 values do not include any ACPI driver or OSPM code.  The debug
12095 version of the code includes the debug output trace mechanism and
12096 has a larger code and data size.  Note that these values will vary
12097 depending on the efficiency of the compiler and the compiler
12098 options used during generation.
12099
12100   Previous Release
12101     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
12102     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
12103   Current Release:
12104     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
12105     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
12106
12107
12108
12109 2) Linux
12110
12111 Much work done on ACPI init (MADT and PCI IRQ routing support).
12112 (Paul D. and Dominik Brodowski)
12113
12114 Fix PCI IRQ-related panic on boot (Sam Revitch)
12115
12116 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
12117
12118 Fix "MHz" typo (Dominik Brodowski)
12119
12120 Fix RTC year 2000 issue (Dominik Brodowski)
12121
12122 Preclude multiple button proc entries (Eric Brunet)
12123
12124 Moved arch-specific code out of include/platform/aclinux.h
12125
12126 3) iASL Compiler Version X2044:
12127
12128 Implemented error checking for the string used in the EISAID macro
12129 (Usually used in the definition of the _HID object.)  The code now
12130 strictly enforces the PnP format - exactly 7 characters, 3
12131 uppercase letters and 4 hex digits.
12132
12133 If a raw string is used in the definition of the _HID object
12134 (instead of the EISAID macro), the string must contain all
12135 alphanumeric characters (e.g., "*PNP0011" is not allowed because
12136 of the asterisk.)
12137
12138 Implemented checking for invalid use of ACPI reserved names for
12139 most of the name creation operators (Name, Device, Event, Mutex,
12140 OperationRegion, PowerResource, Processor, and ThermalZone.)
12141 Previously, this check was only performed for control methods.
12142
12143 Implemented an additional check on the Name operator to emit an
12144 error if a reserved name that must be implemented in ASL as a
12145 control method is used.  We know that a reserved name must be a
12146 method if it is defined with input arguments.
12147
12148 The warning emitted when a namespace object reference is not found
12149 during the cross reference phase has been changed into an error.
12150 The "External" directive should be used for names defined in other
12151 modules.
12152
12153
12154 4) Tools and Utilities
12155
12156 The 16-bit tools (adump16 and aexec16) have been regenerated and
12157 tested.
12158
12159 Fixed a problem with the output of both acpidump and adump16 where
12160 the indentation of closing parentheses and brackets was not
12161
12162 aligned properly with the parent block.
12163
12164
12165 ----------------------------------------
12166 03 May 2002.  Summary of changes for this release.
12167
12168
12169 1) ACPI CA Core Subsystem Version 20020503:
12170
12171 Added support a new OSL interface that allows the host operating
12172
12173 system software to override the DSDT found in the firmware -
12174 AcpiOsTableOverride.  With this interface, the OSL can examine the
12175 version of the firmware DSDT and replace it with a different one
12176 if desired.
12177
12178 Added new external interfaces for accessing ACPI registers from
12179 device drivers and other system software - AcpiGetRegister and
12180 AcpiSetRegister.  This was simply an externalization of the
12181 existing AcpiHwBitRegister interfaces.
12182
12183 Fixed a regression introduced in the previous build where the
12184 ASL/AML CreateField operator always returned an error,
12185 "destination must be a NS Node".
12186
12187 Extended the maximum time (before failure) to successfully enable
12188 ACPI mode to 3 seconds.
12189
12190 Code and Data Size: Current core subsystem library sizes are shown
12191 below.  These are the code and data sizes for the acpica.lib
12192 produced by the Microsoft Visual C++ 6.0 compiler, and these
12193 values do not include any ACPI driver or OSPM code.  The debug
12194 version of the code includes the debug output trace mechanism and
12195 has a larger code and data size.  Note that these values will vary
12196 depending on the efficiency of the compiler and the compiler
12197 options used during generation.
12198
12199   Previous Release
12200     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
12201     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
12202   Current Release:
12203     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
12204     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
12205
12206
12207 2) Linux
12208
12209 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
12210 free. While 3 out of 4 of our in-house systems work fine, the last
12211 one still hangs when testing the LAPIC timer.
12212
12213 Renamed many files in 2.5 kernel release to omit "acpi_" from the
12214 name.
12215
12216 Added warning on boot for Presario 711FR.
12217
12218 Sleep improvements (Pavel Machek)
12219
12220 ACPI can now be built without CONFIG_PCI enabled.
12221
12222 IA64: Fixed memory map functions (JI Lee)
12223
12224
12225 3) iASL Compiler Version X2043:
12226
12227 Added support to allow the compiler to be integrated into the MS
12228 VC++ development environment for one-button compilation of single
12229 files or entire projects -- with error-to-source-line mapping.
12230
12231 Implemented support for compile-time constant folding for the
12232 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
12233 specification.  This allows the ASL writer to use expressions
12234 instead of Integer/Buffer/String constants in terms that must
12235 evaluate to constants at compile time and will also simplify the
12236 emitted AML in any such sub-expressions that can be folded
12237 (evaluated at compile-time.)  This increases the size of the
12238 compiler significantly because a portion of the ACPI CA AML
12239 interpreter is included within the compiler in order to pre-
12240 evaluate constant expressions.
12241
12242
12243 Fixed a problem with the "Unicode" ASL macro that caused the
12244 compiler to fault.  (This macro is used in conjunction with the
12245 _STR reserved name.)
12246
12247 Implemented an AML opcode optimization to use the Zero, One, and
12248 Ones opcodes where possible to further reduce the size of integer
12249 constants and thus reduce the overall size of the generated AML
12250 code.
12251
12252 Implemented error checking for new reserved terms for ACPI version
12253 2.0A.
12254
12255 Implemented the -qr option to display the current list of ACPI
12256 reserved names known to the compiler.
12257
12258 Implemented the -qc option to display the current list of ASL
12259 operators that are allowed within constant expressions and can
12260 therefore be folded at compile time if the operands are constants.
12261
12262
12263 4) Documentation
12264
12265 Updated the Programmer's Reference for new interfaces, data types,
12266 and memory allocation model options.
12267
12268 Updated the iASL Compiler User Reference to apply new format and
12269 add information about new features and options.
12270
12271 ----------------------------------------
12272 19 April 2002.  Summary of changes for this release.
12273
12274 1) ACPI CA Core Subsystem Version 20020419:
12275
12276 The source code base for the Core Subsystem has been completely
12277 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
12278 versions.  The Lint option files used are included in the
12279 /acpi/generate/lint directory.
12280
12281 Implemented enhanced status/error checking across the entire
12282 Hardware manager subsystem.  Any hardware errors (reported from
12283 the OSL) are now bubbled up and will abort a running control
12284 method.
12285
12286
12287 Fixed a problem where the per-ACPI-table integer width (32 or 64)
12288 was stored only with control method nodes, causing a fault when
12289 non-control method code was executed during table loading.  The
12290 solution implemented uses a global variable to indicate table
12291 width across the entire ACPI subsystem.  Therefore, ACPI CA does
12292 not support mixed integer widths across different ACPI tables
12293 (DSDT, SSDT).
12294
12295 Fixed a problem where NULL extended fields (X fields) in an ACPI
12296 2.0 ACPI FADT caused the table load to fail.  Although the
12297 existing ACPI specification is a bit fuzzy on this topic, the new
12298 behavior is to fall back on a ACPI 1.0 field if the corresponding
12299 ACPI 2.0 X field is zero (even though the table revision indicates
12300 a full ACPI 2.0 table.)  The ACPI specification will be updated to
12301 clarify this issue.
12302
12303 Fixed a problem with the SystemMemory operation region handler
12304 where memory was always accessed byte-wise even if the AML-
12305 specified access width was larger than a byte.  This caused
12306 problems on systems with memory-mapped I/O.  Memory is now
12307 accessed with the width specified.  On systems that do not support
12308 non-aligned transfers, a check is made to guarantee proper address
12309 alignment before proceeding in order to avoid an AML-caused
12310 alignment fault within the kernel.
12311
12312
12313 Fixed a problem with the ExtendedIrq resource where only one byte
12314 of the 4-byte Irq field was extracted.
12315
12316 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
12317 function was out of date and required a rewrite.
12318
12319 Code and Data Size: Current core subsystem library sizes are shown
12320 below.  These are the code and data sizes for the acpica.lib
12321 produced by the Microsoft Visual C++ 6.0 compiler, and these
12322 values do not include any ACPI driver or OSPM code.  The debug
12323 version of the code includes the debug output trace mechanism and
12324 has a larger code and data size.  Note that these values will vary
12325 depending on the efficiency of the compiler and the compiler
12326 options used during generation.
12327
12328   Previous Release
12329     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
12330     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
12331   Current Release:
12332     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
12333     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
12334
12335
12336 2) Linux
12337
12338 PCI IRQ routing fixes (Dominik Brodowski)
12339
12340
12341 3) iASL Compiler Version X2042:
12342
12343 Implemented an additional compile-time error check for a field
12344 unit whose size + minimum access width would cause a run-time
12345 access beyond the end-of-region.  Previously, only the field size
12346 itself was checked.
12347
12348 The Core subsystem and iASL compiler now share a common parse
12349 object in preparation for compile-time evaluation of the type
12350 3/4/5 ASL operators.
12351
12352
12353 ----------------------------------------
12354 Summary of changes for this release: 03_29_02
12355
12356 1) ACPI CA Core Subsystem Version 20020329:
12357
12358 Implemented support for late evaluation of TermArg operands to
12359 Buffer and Package objects.  This allows complex expressions to be
12360 used in the declarations of these object types.
12361
12362 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
12363 1.0, if the field was larger than 32 bits, it was returned as a
12364 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
12365 the field is returned as a buffer only if the field is larger than
12366 64 bits.  The TableRevision is now considered when making this
12367 conversion to avoid incompatibility with existing ASL code.
12368
12369 Implemented logical addressing for AcpiOsGetRootPointer.  This
12370 allows an RSDP with either a logical or physical address.  With
12371 this support, the host OS can now override all ACPI tables with
12372 one logical RSDP.  Includes implementation of  "typed" pointer
12373 support to allow a common data type for both physical and logical
12374 pointers internally.  This required a change to the
12375 AcpiOsGetRootPointer interface.
12376
12377 Implemented the use of ACPI 2.0 Generic Address Structures for all
12378 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
12379 mapped I/O for these ACPI features.
12380
12381 Initialization now ignores not only non-required tables (All
12382 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
12383 not validate the table headers of unrecognized tables.
12384
12385 Fixed a problem where a notify handler could only be
12386 installed/removed on an object of type Device.  All "notify"
12387
12388 objects are now supported -- Devices, Processor, Power, and
12389 Thermal.
12390
12391 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
12392 critical information is returned when this debug level is enabled.
12393
12394 Code and Data Size: Current core subsystem library sizes are shown
12395 below.  These are the code and data sizes for the acpica.lib
12396 produced by the Microsoft Visual C++ 6.0 compiler, and these
12397 values do not include any ACPI driver or OSPM code.  The debug
12398 version of the code includes the debug output trace mechanism and
12399 has a larger code and data size.  Note that these values will vary
12400 depending on the efficiency of the compiler and the compiler
12401 options used during generation.
12402
12403   Previous Release
12404     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
12405     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
12406   Current Release:
12407     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
12408     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
12409
12410
12411 2) Linux:
12412
12413 The processor driver (acpi_processor.c) now fully supports ACPI
12414 2.0-based processor performance control (e.g. Intel(R)
12415 SpeedStep(TM) technology) Note that older laptops that only have
12416 the Intel "applet" interface are not supported through this.  The
12417 'limit' and 'performance' interface (/proc) are fully functional.
12418 [Note that basic policy for controlling performance state
12419 transitions will be included in the next version of ospmd.]  The
12420 idle handler was modified to more aggressively use C2, and PIIX4
12421 errata handling underwent a complete overhaul (big thanks to
12422 Dominik Brodowski).
12423
12424 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
12425 based devices in the ACPI namespace are now dynamically bound
12426 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
12427 This allows, among other things, ACPI to resolve bus numbers for
12428 subordinate PCI bridges.
12429
12430 Enhanced PCI IRQ routing to get the proper bus number for _PRT
12431 entries defined underneath PCI bridges.
12432
12433 Added IBM 600E to bad bios list due to invalid _ADR value for
12434 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
12435
12436 In the process of adding full MADT support (e.g. IOAPIC) for IA32
12437 (acpi.c, mpparse.c) -- stay tuned.
12438
12439 Added back visual differentiation between fixed-feature and
12440 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
12441 button/power/PWRF) to simplify button identification.
12442
12443 We no longer use -Wno-unused when compiling debug. Please ignore
12444 any "_THIS_MODULE defined but not used" messages.
12445
12446 Can now shut down the system using "magic sysrq" key.
12447
12448
12449 3) iASL Compiler version 2041:
12450
12451 Fixed a problem where conversion errors for hex/octal/decimal
12452 constants were not reported.
12453
12454 Implemented a fix for the General Register template Address field.
12455 This field was 8 bits when it should be 64.
12456
12457 Fixed a problem where errors/warnings were no longer being emitted
12458 within the listing output file.
12459
12460 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
12461 exactly 4 characters, alphanumeric only.
12462
12463
12464
12465
12466 ----------------------------------------
12467 Summary of changes for this release: 03_08_02
12468
12469
12470 1) ACPI CA Core Subsystem Version 20020308:
12471
12472 Fixed a problem with AML Fields where the use of the "AccessAny"
12473 keyword could cause an interpreter error due to attempting to read
12474 or write beyond the end of the parent Operation Region.
12475
12476 Fixed a problem in the SystemMemory Operation Region handler where
12477 an attempt was made to map memory beyond the end of the region.
12478 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
12479 errors on some Linux systems.
12480
12481 Fixed a problem where the interpreter/namespace "search to root"
12482 algorithm was not functioning for some object types.  Relaxed the
12483 internal restriction on the search to allow upsearches for all
12484 external object types as well as most internal types.
12485
12486
12487 2) Linux:
12488
12489 We now use safe_halt() macro versus individual calls to sti | hlt.
12490
12491 Writing to the processor limit interface should now work. "echo 1"
12492 will increase the limit, 2 will decrease, and 0 will reset to the
12493
12494 default.
12495
12496
12497 3) ASL compiler:
12498
12499 Fixed segfault on Linux version.
12500
12501
12502 ----------------------------------------
12503 Summary of changes for this release: 02_25_02
12504
12505 1) ACPI CA Core Subsystem:
12506
12507
12508 Fixed a problem where the GPE bit masks were not initialized
12509 properly, causing erratic GPE behavior.
12510
12511 Implemented limited support for multiple calling conventions.  The
12512 code can be generated with either the VPL (variable parameter
12513 list, or "C") convention, or the FPL (fixed parameter list, or
12514 "Pascal") convention.  The core subsystem is about 3.4% smaller
12515 when generated with FPL.
12516
12517
12518 2) Linux
12519
12520 Re-add some /proc/acpi/event functionality that was lost during
12521 the rewrite
12522
12523 Resolved issue with /proc events for fixed-feature buttons showing
12524 up as the system device.
12525
12526 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
12527
12528 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
12529
12530 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
12531
12532 Fixed limit interface & usage to fix bugs with passive cooling
12533 hysterisis.
12534
12535 Restructured PRT support.
12536
12537
12538 ----------------------------------------
12539 Summary of changes for this label: 02_14_02
12540
12541
12542 1) ACPI CA Core Subsystem:
12543
12544 Implemented support in AcpiLoadTable to allow loading of FACS and
12545 FADT tables.
12546
12547 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
12548 been removed.  All 64-bit platforms should be migrated to the ACPI
12549 2.0 tables.  The actbl71.h header has been removed from the source
12550 tree.
12551
12552 All C macros defined within the subsystem have been prefixed with
12553 "ACPI_" to avoid collision with other system include files.
12554
12555 Removed the return value for the two AcpiOsPrint interfaces, since
12556 it is never used and causes lint warnings for ignoring the return
12557 value.
12558
12559 Added error checking to all internal mutex acquire and release
12560 calls.  Although a failure from one of these interfaces is
12561 probably a fatal system error, these checks will cause the
12562 immediate abort of the currently executing method or interface.
12563
12564 Fixed a problem where the AcpiSetCurrentResources interface could
12565 fault.  This was a side effect of the deployment of the new memory
12566 allocation model.
12567
12568 Fixed a couple of problems with the Global Lock support introduced
12569 in the last major build.  The "common" (1.0/2.0) internal FACS was
12570 being overwritten with the FACS signature and clobbering the
12571 Global Lock pointer.  Also, the actual firmware FACS was being
12572 unmapped after construction of the "common" FACS, preventing
12573 access to the actual Global Lock field within it.  The "common"
12574 internal FACS is no longer installed as an actual ACPI table; it
12575 is used simply as a global.
12576
12577 Code and Data Size: Current core subsystem library sizes are shown
12578 below.  These are the code and data sizes for the acpica.lib
12579 produced by the Microsoft Visual C++ 6.0 compiler, and these
12580 values do not include any ACPI driver or OSPM code.  The debug
12581 version of the code includes the debug output trace mechanism and
12582 has a larger code and data size.  Note that these values will vary
12583 depending on the efficiency of the compiler and the compiler
12584 options used during generation.
12585
12586   Previous Release (02_07_01)
12587     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
12588     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
12589   Current Release:
12590     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
12591     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
12592
12593
12594 2) Linux
12595
12596 Updated Linux-specific code for core macro and OSL interface
12597 changes described above.
12598
12599 Improved /proc/acpi/event. It now can be opened only once and has
12600 proper poll functionality.
12601
12602 Fixed and restructured power management (acpi_bus).
12603
12604 Only create /proc "view by type" when devices of that class exist.
12605
12606 Fixed "charging/discharging" bug (and others) in acpi_battery.
12607
12608 Improved thermal zone code.
12609
12610
12611 3) ASL Compiler, version X2039:
12612
12613
12614 Implemented the new compiler restriction on ASL String hex/octal
12615 escapes to non-null, ASCII values.  An error results if an invalid
12616 value is used.  (This will require an ACPI 2.0 specification
12617 change.)
12618
12619 AML object labels that are output to the optional C and ASM source
12620 are now prefixed with both the ACPI table signature and table ID
12621 to help guarantee uniqueness within a large BIOS project.
12622
12623
12624 ----------------------------------------
12625 Summary of changes for this label: 02_01_02
12626
12627 1) ACPI CA Core Subsystem:
12628
12629 ACPI 2.0 support is complete in the entire Core Subsystem and the
12630 ASL compiler. All new ACPI 2.0 operators are implemented and all
12631 other changes for ACPI 2.0 support are complete.  With
12632 simultaneous code and data optimizations throughout the subsystem,
12633 ACPI 2.0 support has been implemented with almost no additional
12634 cost in terms of code and data size.
12635
12636 Implemented a new mechanism for allocation of return buffers.  If
12637 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
12638 be allocated on behalf of the caller.  Consolidated all return
12639 buffer validation and allocation to a common procedure.  Return
12640 buffers will be allocated via the primary OSL allocation interface
12641 since it appears that a separate pool is not needed by most users.
12642 If a separate pool is required for these buffers, the caller can
12643 still use the original mechanism and pre-allocate the buffer(s).
12644
12645 Implemented support for string operands within the DerefOf
12646 operator.
12647
12648 Restructured the Hardware and Event managers to be table driven,
12649 simplifying the source code and reducing the amount of generated
12650 code.
12651
12652 Split the common read/write low-level ACPI register bitfield
12653 procedure into a separate read and write, simplifying the code
12654 considerably.
12655
12656 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
12657 used only a handful of times and didn't have enough critical mass
12658 for a separate interface.  Replaced with a common calloc procedure
12659 in the core.
12660
12661 Fixed a reported problem with the GPE number mapping mechanism
12662 that allows GPE1 numbers to be non-contiguous with GPE0.
12663 Reorganized the GPE information and shrunk a large array that was
12664 originally large enough to hold info for all possible GPEs (256)
12665 to simply large enough to hold all GPEs up to the largest GPE
12666 number on the machine.
12667
12668 Fixed a reported problem with resource structure alignment on 64-
12669 bit platforms.
12670
12671 Changed the AcpiEnableEvent and AcpiDisableEvent external
12672 interfaces to not require any flags for the common case of
12673 enabling/disabling a GPE.
12674
12675 Implemented support to allow a "Notify" on a Processor object.
12676
12677 Most TBDs in comments within the source code have been resolved
12678 and eliminated.
12679
12680
12681 Fixed a problem in the interpreter where a standalone parent
12682 prefix (^) was not handled correctly in the interpreter and
12683 debugger.
12684
12685 Removed obsolete and unnecessary GPE save/restore code.
12686
12687 Implemented Field support in the ASL Load operator.  This allows a
12688 table to be loaded from a named field, in addition to loading a
12689 table directly from an Operation Region.
12690
12691 Implemented timeout and handle support in the external Global Lock
12692 interfaces.
12693
12694 Fixed a problem in the AcpiDump utility where pathnames were no
12695 longer being generated correctly during the dump of named objects.
12696
12697 Modified the AML debugger to give a full display of if/while
12698 predicates instead of just one AML opcode at a time.  (The
12699 predicate can have several nested ASL statements.)  The old method
12700 was confusing during single stepping.
12701
12702 Code and Data Size: Current core subsystem library sizes are shown
12703 below. These are the code and data sizes for the acpica.lib
12704 produced by the Microsoft Visual C++ 6.0 compiler, and these
12705 values do not include any ACPI driver or OSPM code.  The debug
12706 version of the code includes the debug output trace mechanism and
12707 has a larger code and data size.  Note that these values will vary
12708 depending on the efficiency of the compiler and the compiler
12709 options used during generation.
12710
12711   Previous Release (12_18_01)
12712      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
12713      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
12714    Current Release:
12715      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
12716      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
12717
12718 2) Linux
12719
12720  Implemented fix for PIIX reverse throttling errata (Processor
12721 driver)
12722
12723 Added new Limit interface (Processor and Thermal drivers)
12724
12725 New thermal policy (Thermal driver)
12726
12727 Many updates to /proc
12728
12729 Battery "low" event support (Battery driver)
12730
12731 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
12732
12733 IA32 - IA64 initialization unification, no longer experimental
12734
12735 Menuconfig options redesigned
12736
12737 3) ASL Compiler, version X2037:
12738
12739 Implemented several new output features to simplify integration of
12740 AML code into  firmware: 1) Output the AML in C source code with
12741 labels for each named ASL object.  The    original ASL source code
12742 is interleaved as C comments. 2) Output the AML in ASM source code
12743 with labels and interleaved ASL    source. 3) Output the AML in
12744 raw hex table form, in either C or ASM.
12745
12746 Implemented support for optional string parameters to the
12747 LoadTable operator.
12748
12749 Completed support for embedded escape sequences within string
12750 literals.  The compiler now supports all single character escapes
12751 as well as the Octal and Hex escapes.  Note: the insertion of a
12752 null byte into a string literal (via the hex/octal escape) causes
12753 the string to be immediately terminated.  A warning is issued.
12754
12755 Fixed a problem where incorrect AML was generated for the case
12756 where an ASL namepath consists of a single parent prefix (
12757
12758 ) with no trailing name segments.
12759
12760 The compiler has been successfully generated with a 64-bit C
12761 compiler.
12762
12763
12764
12765
12766 ----------------------------------------
12767 Summary of changes for this label: 12_18_01
12768
12769 1) Linux
12770
12771 Enhanced blacklist with reason and severity fields. Any table's
12772 signature may now be used to identify a blacklisted system.
12773
12774 Call _PIC control method to inform the firmware which interrupt
12775 model the OS is using. Turn on any disabled link devices.
12776
12777 Cleaned up busmgr /proc error handling (Andreas Dilger)
12778
12779  2) ACPI CA Core Subsystem:
12780
12781 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
12782 while loop)
12783
12784 Completed implementation of the ACPI 2.0 "Continue",
12785 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
12786 operators.  All new ACPI 2.0 operators are now implemented in both
12787 the ASL compiler and the AML interpreter.  The only remaining ACPI
12788 2.0 task is support for the String data type in the DerefOf
12789 operator.  Fixed a problem with AcquireMutex where the status code
12790 was lost if the caller had to actually wait for the mutex.
12791
12792 Increased the maximum ASL Field size from 64K bits to 4G bits.
12793
12794 Completed implementation of the external Global Lock interfaces --
12795 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
12796 Handler parameters were added.
12797
12798 Completed another pass at removing warnings and issues when
12799 compiling with 64-bit compilers.  The code now compiles cleanly
12800 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
12801 add and subtract (diff) macros have changed considerably.
12802
12803
12804 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
12805 64-bit platforms, 32-bits on all others.  This type is used
12806 wherever memory allocation and/or the C sizeof() operator is used,
12807 and affects the OSL memory allocation interfaces AcpiOsAllocate
12808 and AcpiOsCallocate.
12809
12810 Implemented sticky user breakpoints in the AML debugger.
12811
12812 Code and Data Size: Current core subsystem library sizes are shown
12813 below. These are the code and data sizes for the acpica.lib
12814 produced by the Microsoft Visual C++ 6.0 compiler, and these
12815 values do not include any ACPI driver or OSPM code.  The debug
12816 version of the code includes the debug output trace mechanism and
12817 has a larger code and data size. Note that these values will vary
12818 depending on the efficiency of the compiler and the compiler
12819 options used during generation.
12820
12821   Previous Release (12_05_01)
12822      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
12823      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
12824    Current Release:
12825      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
12826      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
12827
12828  3) ASL Compiler, version X2034:
12829
12830 Now checks for (and generates an error if detected) the use of a
12831 Break or Continue statement without an enclosing While statement.
12832
12833
12834 Successfully generated the compiler with the Intel 64-bit C
12835 compiler.
12836
12837  ----------------------------------------
12838 Summary of changes for this label: 12_05_01
12839
12840  1) ACPI CA Core Subsystem:
12841
12842 The ACPI 2.0 CopyObject operator is fully implemented.  This
12843 operator creates a new copy of an object (and is also used to
12844 bypass the "implicit conversion" mechanism of the Store operator.)
12845
12846 The ACPI 2.0 semantics for the SizeOf operator are fully
12847 implemented.  The change is that performing a SizeOf on a
12848 reference object causes an automatic dereference of the object to
12849 tha actual value before the size is evaluated. This behavior was
12850 undefined in ACPI 1.0.
12851
12852 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
12853 have been implemented.  The interrupt polarity and mode are now
12854 independently set.
12855
12856 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
12857 appearing in Package objects were not properly converted to
12858 integers when the internal Package was converted to an external
12859 object (via the AcpiEvaluateObject interface.)
12860
12861 Fixed a problem with the namespace object deletion mechanism for
12862 objects created by control methods.  There were two parts to this
12863 problem: 1) Objects created during the initialization phase method
12864 parse were not being deleted, and 2) The object owner ID mechanism
12865 to track objects was broken.
12866
12867 Fixed a problem where the use of the ASL Scope operator within a
12868 control method would result in an invalid opcode exception.
12869
12870 Fixed a problem introduced in the previous label where the buffer
12871 length required for the _PRT structure was not being returned
12872 correctly.
12873
12874 Code and Data Size: Current core subsystem library sizes are shown
12875 below. These are the code and data sizes for the acpica.lib
12876 produced by the Microsoft Visual C++ 6.0 compiler, and these
12877 values do not include any ACPI driver or OSPM code.  The debug
12878 version of the code includes the debug output trace mechanism and
12879 has a larger code and data size.  Note that these values will vary
12880 depending on the efficiency of the compiler and the compiler
12881 options used during generation.
12882
12883   Previous Release (11_20_01)
12884      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
12885      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
12886
12887   Current Release:
12888      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
12889      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
12890
12891  2) Linux:
12892
12893 Updated all files to apply cleanly against 2.4.16.
12894
12895 Added basic PCI Interrupt Routing Table (PRT) support for IA32
12896 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
12897 version supports both static and dyanmic PRT entries, but dynamic
12898 entries are treated as if they were static (not yet
12899 reconfigurable).  Architecture- specific code to use this data is
12900 absent on IA32 but should be available shortly.
12901
12902 Changed the initialization sequence to start the ACPI interpreter
12903 (acpi_init) prior to initialization of the PCI driver (pci_init)
12904 in init/main.c.  This ordering is required to support PRT and
12905 facilitate other (future) enhancement.  A side effect is that the
12906 ACPI bus driver and certain device drivers can no longer be loaded
12907 as modules.
12908
12909 Modified the 'make menuconfig' options to allow PCI Interrupt
12910 Routing support to be included without the ACPI Bus and other
12911 device drivers.
12912
12913  3) ASL Compiler, version X2033:
12914
12915 Fixed some issues with the use of the new CopyObject and
12916 DataTableRegion operators.  Both are fully functional.
12917
12918  ----------------------------------------
12919 Summary of changes for this label: 11_20_01
12920
12921  20 November 2001.  Summary of changes for this release.
12922
12923  1) ACPI CA Core Subsystem:
12924
12925 Updated Index support to match ACPI 2.0 semantics.  Storing a
12926 Integer, String, or Buffer to an Index of a Buffer will store only
12927 the least-significant byte of the source to the Indexed buffer
12928 byte.  Multiple writes are not performed.
12929
12930 Fixed a problem where the access type used in an AccessAs ASL
12931 operator was not recorded correctly into the field object.
12932
12933 Fixed a problem where ASL Event objects were created in a
12934 signalled state. Events are now created in an unsignalled state.
12935
12936 The internal object cache is now purged after table loading and
12937 initialization to reduce the use of dynamic kernel memory -- on
12938 the assumption that object use is greatest during the parse phase
12939 of the entire table (versus the run-time use of individual control
12940 methods.)
12941
12942 ACPI 2.0 variable-length packages are now fully operational.
12943
12944 Code and Data Size: Code and Data optimizations have permitted new
12945 feature development with an actual reduction in the library size.
12946 Current core subsystem library sizes are shown below.  These are
12947 the code and data sizes for the acpica.lib produced by the
12948 Microsoft Visual C++ 6.0 compiler, and these values do not include
12949 any ACPI driver or OSPM code.  The debug version of the code
12950 includes the debug output trace mechanism and has a larger code
12951 and data size.  Note that these values will vary depending on the
12952 efficiency of the compiler and the compiler options used during
12953 generation.
12954
12955   Previous Release (11_09_01):
12956      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
12957      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
12958
12959   Current Release:
12960      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
12961      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
12962
12963  2) Linux:
12964
12965 Enhanced the ACPI boot-time initialization code to allow the use
12966 of Local APIC tables for processor enumeration on IA-32, and to
12967 pave the way for a fully MPS-free boot (on SMP systems) in the
12968 near future.  This functionality replaces
12969 arch/i386/kernel/acpitables.c, which was introduced in an earlier
12970 2.4.15-preX release.  To enable this feature you must add
12971 "acpi_boot=on" to the kernel command line -- see the help entry
12972 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
12973 the works...
12974
12975 Restructured the configuration options to allow boot-time table
12976 parsing support without inclusion of the ACPI Interpreter (and
12977 other) code.
12978
12979 NOTE: This release does not include fixes for the reported events,
12980 power-down, and thermal passive cooling issues (coming soon).
12981
12982  3) ASL Compiler:
12983
12984 Added additional typechecking for Fields within restricted access
12985 Operation Regions.  All fields within EC and CMOS regions must be
12986 declared with ByteAcc. All fields withing SMBus regions must be
12987 declared with the BufferAcc access type.
12988
12989 Fixed a problem where the listing file output of control methods
12990 no longer interleaved the actual AML code with the ASL source
12991 code.
12992
12993
12994
12995
12996 ----------------------------------------
12997 Summary of changes for this label: 11_09_01
12998
12999 1) ACPI CA Core Subsystem:
13000
13001 Implemented ACPI 2.0-defined support for writes to fields with a
13002 Buffer, String, or Integer source operand that is smaller than the
13003 target field. In these cases, the source operand is zero-extended
13004 to fill the target field.
13005
13006 Fixed a problem where a Field starting bit offset (within the
13007 parent operation region) was calculated incorrectly if the
13008
13009 alignment of the field differed from the access width.  This
13010 affected CreateWordField, CreateDwordField, CreateQwordField, and
13011 possibly other fields that use the "AccessAny" keyword.
13012
13013 Fixed a problem introduced in the 11_02_01 release where indirect
13014 stores through method arguments did not operate correctly.
13015
13016 2) Linux:
13017
13018 Implemented boot-time ACPI table parsing support
13019 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
13020 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
13021 legacy BIOS interfaces (e.g. MPS) for the configuration of system
13022 processors, memory, and interrupts during setup_arch().  Note that
13023 this patch does not include the required architecture-specific
13024 changes required to apply this information -- subsequent patches
13025 will be posted for both IA32 and IA64 to achieve this.
13026
13027 Added low-level sleep support for IA32 platforms, courtesy of Pat
13028 Mochel. This allows IA32 systems to transition to/from various
13029 sleeping states (e.g. S1, S3), although the lack of a centralized
13030 driver model and power-manageable drivers will prevent its
13031 (successful) use on most systems.
13032
13033 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
13034 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
13035 tables" option, etc.
13036
13037 Increased the default timeout for the EC driver from 1ms to 10ms
13038 (1000 cycles of 10us) to try to address AE_TIME errors during EC
13039 transactions.
13040
13041  ----------------------------------------
13042 Summary of changes for this label: 11_02_01
13043
13044 1) ACPI CA Core Subsystem:
13045
13046 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
13047 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
13048 implemented.
13049
13050 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
13051 changes to support ACPI 2.0 Qword field access.  Read/Write
13052 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
13053 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
13054 the value parameter for the address space handler interface is now
13055 an ACPI_INTEGER.  OSL implementations of these interfaces must now
13056 handle the case where the Width parameter is 64.
13057
13058 Index Fields: Fixed a problem where unaligned bit assembly and
13059 disassembly for IndexFields was not supported correctly.
13060
13061 Index and Bank Fields:  Nested Index and Bank Fields are now
13062 supported. During field access, a check is performed to ensure
13063 that the value written to an Index or Bank register is not out of
13064 the range of the register.  The Index (or Bank) register is
13065 written before each access to the field data. Future support will
13066 include allowing individual IndexFields to be wider than the
13067 DataRegister width.
13068
13069 Fields: Fixed a problem where the AML interpreter was incorrectly
13070 attempting to write beyond the end of a Field/OpRegion.  This was
13071 a boundary case that occurred when a DWORD field was written to a
13072 BYTE access OpRegion, forcing multiple writes and causing the
13073 interpreter to write one datum too many.
13074
13075 Fields: Fixed a problem with Field/OpRegion access where the
13076 starting bit address of a field was incorrectly calculated if the
13077 current access type was wider than a byte (WordAcc, DwordAcc, or
13078 QwordAcc).
13079
13080 Fields: Fixed a problem where forward references to individual
13081 FieldUnits (individual Field names within a Field definition) were
13082 not resolved during the AML table load.
13083
13084 Fields: Fixed a problem where forward references from a Field
13085 definition to the parent Operation Region definition were not
13086 resolved during the AML table load.
13087
13088 Fields: Duplicate FieldUnit names within a scope are now detected
13089 during AML table load.
13090
13091 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
13092 returned an incorrect name for the root node.
13093
13094 Code and Data Size: Code and Data optimizations have permitted new
13095 feature development with an actual reduction in the library size.
13096 Current core subsystem library sizes are shown below.  These are
13097 the code and data sizes for the acpica.lib produced by the
13098 Microsoft Visual C++ 6.0 compiler, and these values do not include
13099 any ACPI driver or OSPM code.  The debug version of the code
13100 includes the debug output trace mechanism and has a larger code
13101 and data size.  Note that these values will vary depending on the
13102 efficiency of the compiler and the compiler options used during
13103 generation.
13104
13105   Previous Release (10_18_01):
13106      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
13107      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
13108
13109   Current Release:
13110      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
13111      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
13112
13113  2) Linux:
13114
13115 Improved /proc processor output (Pavel Machek) Re-added
13116 MODULE_LICENSE("GPL") to all modules.
13117
13118  3) ASL Compiler version X2030:
13119
13120 Duplicate FieldUnit names within a scope are now detected and
13121 flagged as errors.
13122
13123  4) Documentation:
13124
13125 Programmer Reference updated to reflect OSL and address space
13126 handler interface changes described above.
13127
13128 ----------------------------------------
13129 Summary of changes for this label: 10_18_01
13130
13131 ACPI CA Core Subsystem:
13132
13133 Fixed a problem with the internal object reference count mechanism
13134 that occasionally caused premature object deletion. This resolves
13135 all of the outstanding problem reports where an object is deleted
13136 in the middle of an interpreter evaluation.  Although this problem
13137 only showed up in rather obscure cases, the solution to the
13138 problem involved an adjustment of all reference counts involving
13139 objects attached to namespace nodes.
13140
13141 Fixed a problem with Field support in the interpreter where
13142 writing to an aligned field whose length is an exact multiple (2
13143 or greater) of the field access granularity would cause an attempt
13144 to write beyond the end of the field.
13145
13146 The top level AML opcode execution functions within the
13147 interpreter have been renamed with a more meaningful and
13148 consistent naming convention.  The modules exmonad.c and
13149 exdyadic.c were eliminated.  New modules are exoparg1.c,
13150 exoparg2.c, exoparg3.c, and exoparg6.c.
13151
13152 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
13153
13154 Fixed a problem where the AML debugger was causing some internal
13155 objects to not be deleted during subsystem termination.
13156
13157 Fixed a problem with the external AcpiEvaluateObject interface
13158 where the subsystem would fault if the named object to be
13159 evaluated refered to a constant such as Zero, Ones, etc.
13160
13161 Fixed a problem with IndexFields and BankFields where the
13162 subsystem would fault if the index, data, or bank registers were
13163 not defined in the same scope as the field itself.
13164
13165 Added printf format string checking for compilers that support
13166 this feature.  Corrected more than 50 instances of issues with
13167 format specifiers within invocations of ACPI_DEBUG_PRINT
13168 throughout the core subsystem code.
13169
13170 The ASL "Revision" operator now returns the ACPI support level
13171 implemented in the core - the value "2" since the ACPI 2.0 support
13172 is more than 50% implemented.
13173
13174 Enhanced the output of the AML debugger "dump namespace" command
13175 to output in a more human-readable form.
13176
13177 Current core subsystem library code sizes are shown below.  These
13178
13179 are the code and data sizes for the acpica.lib produced by the
13180 Microsoft Visual C++ 6.0 compiler, and these values do not include
13181 any ACPI driver or OSPM code.  The debug version of the code
13182 includes the full debug trace mechanism -- leading to a much
13183
13184 larger code and data size.  Note that these values will vary
13185 depending on the efficiency of the compiler and the compiler
13186 options used during generation.
13187
13188      Previous Label (09_20_01):
13189      Non-Debug Version:    65K Code,     5K Data,     70K Total
13190      Debug Version:       138K Code,    58K Data,    196K Total
13191
13192      This Label:
13193
13194      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
13195      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
13196
13197 Linux:
13198
13199 Implemented a "Bad BIOS Blacklist" to track machines that have
13200 known ASL/AML problems.
13201
13202 Enhanced the /proc interface for the thermal zone driver and added
13203 support for _HOT (the critical suspend trip point).  The 'info'
13204 file now includes threshold/policy information, and allows setting
13205 of _SCP (cooling preference) and _TZP (polling frequency) values
13206 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
13207 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
13208 preference to the passive/quiet mode (if supported by the ASL).
13209
13210 Implemented a workaround for a gcc bug that resuted in an OOPs
13211 when loading the control method battery driver.
13212
13213  ----------------------------------------
13214 Summary of changes for this label: 09_20_01
13215
13216  ACPI CA Core Subsystem:
13217
13218 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
13219 modified to allow individual GPE levels to be flagged as wake-
13220 enabled (i.e., these GPEs are to remain enabled when the platform
13221 sleeps.)
13222
13223 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
13224 support wake-enabled GPEs.  This means that upon entering the
13225 sleep state, all GPEs that are not wake-enabled are disabled.
13226 When leaving the sleep state, these GPEs are reenabled.
13227
13228 A local double-precision divide/modulo module has been added to
13229 enhance portability to OS kernels where a 64-bit math library is
13230 not available.  The new module is "utmath.c".
13231
13232 Several optimizations have been made to reduce the use of CPU
13233 stack.  Originally over 2K, the maximum stack usage is now below
13234 2K at 1860  bytes (1.82k)
13235
13236 Fixed a problem with the AcpiGetFirmwareTable interface where the
13237 root table pointer was not mapped into a logical address properly.
13238
13239 Fixed a problem where a NULL pointer was being dereferenced in the
13240 interpreter code for the ASL Notify operator.
13241
13242 Fixed a problem where the use of the ASL Revision operator
13243 returned an error. This operator now returns the current version
13244 of the ACPI CA core subsystem.
13245
13246 Fixed a problem where objects passed as control method parameters
13247 to AcpiEvaluateObject were always deleted at method termination.
13248 However, these objects may end up being stored into the namespace
13249 by the called method.  The object reference count mechanism was
13250 applied to these objects instead of a force delete.
13251
13252 Fixed a problem where static strings or buffers (contained in the
13253 AML code) that are declared as package elements within the ASL
13254 code could cause a fault because the interpreter would attempt to
13255 delete them.  These objects are now marked with the "static
13256 object" flag to prevent any attempt to delete them.
13257
13258 Implemented an interpreter optimization to use operands directly
13259 from the state object instead of extracting the operands to local
13260 variables.  This reduces stack use and code size, and improves
13261 performance.
13262
13263 The module exxface.c was eliminated as it was an unnecessary extra
13264 layer of code.
13265
13266 Current core subsystem library code sizes are shown below.  These
13267 are the code and data sizes for the acpica.lib produced by the
13268 Microsoft Visual C++ 6.0 compiler, and these values do not include
13269 any ACPI driver or OSPM code.  The debug version of the code
13270 includes the full debug trace mechanism -- leading to a much
13271 larger code and data size.  Note that these values will vary
13272 depending on the efficiency of the compiler and the compiler
13273 options used during generation.
13274
13275   Non-Debug Version:  65K Code,   5K Data,   70K Total
13276 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
13277 Total  (Previously 195K)
13278
13279 Linux:
13280
13281 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
13282 Integer objects are now 64 bits wide
13283
13284 All Acpi data types and structures are now in lower case.  Only
13285 Acpi macros are upper case for differentiation.
13286
13287  Documentation:
13288
13289 Changes to the external interfaces as described above.
13290
13291  ----------------------------------------
13292 Summary of changes for this label: 08_31_01
13293
13294  ACPI CA Core Subsystem:
13295
13296 A bug with interpreter implementation of the ASL Divide operator
13297 was found and fixed.  The implicit function return value (not the
13298 explicit store operands) was returning the remainder instead of
13299 the quotient.  This was a longstanding bug and it fixes several
13300 known outstanding issues on various platforms.
13301
13302 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
13303 been further optimized for size.  There are 700 invocations of the
13304 DEBUG_PRINT macro alone, so each optimization reduces the size of
13305 the debug version of the subsystem significantly.
13306
13307 A stack trace mechanism has been implemented.  The maximum stack
13308 usage is about 2K on 32-bit platforms.  The debugger command "stat
13309 stack" will display the current maximum stack usage.
13310
13311 All public symbols and global variables within the subsystem are
13312 now prefixed with the string "Acpi".  This keeps all of the
13313 symbols grouped together in a kernel map, and avoids conflicts
13314 with other kernel subsystems.
13315
13316 Most of the internal fixed lookup tables have been moved into the
13317 code segment via the const operator.
13318
13319 Several enhancements have been made to the interpreter to both
13320 reduce the code size and improve performance.
13321
13322 Current core subsystem library code sizes are shown below.  These
13323 are the code and data sizes for the acpica.lib produced by the
13324 Microsoft Visual C++ 6.0 compiler, and these values do not include
13325 any ACPI driver or OSPM code.  The debug version of the code
13326 includes the full debug trace mechanism which contains over 700
13327 invocations of the DEBUG_PRINT macro, 500 function entry macro
13328 invocations, and over 900 function exit macro invocations --
13329 leading to a much larger code and data size.  Note that these
13330 values will vary depending on the efficiency of the compiler and
13331 the compiler options used during generation.
13332
13333         Non-Debug Version:  64K Code,   5K Data,   69K Total
13334 Debug Version:     137K Code,  58K Data,  195K Total
13335
13336  Linux:
13337
13338 Implemented wbinvd() macro, pending a kernel-wide definition.
13339
13340 Fixed /proc/acpi/event to handle poll() and short reads.
13341
13342  ASL Compiler, version X2026:
13343
13344 Fixed a problem introduced in the previous label where the AML
13345
13346 code emitted for package objects produced packages with zero
13347 length.
13348
13349  ----------------------------------------
13350 Summary of changes for this label: 08_16_01
13351
13352 ACPI CA Core Subsystem:
13353
13354 The following ACPI 2.0 ASL operators have been implemented in the
13355 AML interpreter (These are already supported by the Intel ASL
13356 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
13357 ToBuffer.  Support for 64-bit AML constants is implemented in the
13358 AML parser, debugger, and disassembler.
13359
13360 The internal memory tracking mechanism (leak detection code) has
13361 been upgraded to reduce the memory overhead (a separate tracking
13362 block is no longer allocated for each memory allocation), and now
13363 supports all of the internal object caches.
13364
13365 The data structures and code for the internal object caches have
13366 been coelesced and optimized so that there is a single cache and
13367 memory list data structure and a single group of functions that
13368 implement generic cache management.  This has reduced the code
13369 size in both the debug and release versions of the subsystem.
13370
13371 The DEBUG_PRINT macro(s) have been optimized for size and replaced
13372 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
13373 different, because it generates a single call to an internal
13374 function.  This results in a savings of about 90 bytes per
13375 invocation, resulting in an overall code and data savings of about
13376 16% in the debug version of the subsystem.
13377
13378  Linux:
13379
13380 Fixed C3 disk corruption problems and re-enabled C3 on supporting
13381 machines.
13382
13383 Integrated low-level sleep code by Patrick Mochel.
13384
13385 Further tweaked source code Linuxization.
13386
13387 Other minor fixes.
13388
13389  ASL Compiler:
13390
13391 Support for ACPI 2.0 variable length packages is fixed/completed.
13392
13393 Fixed a problem where the optional length parameter for the ACPI
13394 2.0 ToString operator.
13395
13396 Fixed multiple extraneous error messages when a syntax error is
13397 detected within the declaration line of a control method.
13398
13399  ----------------------------------------
13400 Summary of changes for this label: 07_17_01
13401
13402 ACPI CA Core Subsystem:
13403
13404 Added a new interface named AcpiGetFirmwareTable to obtain any
13405 ACPI table via the ACPI signature.  The interface can be called at
13406 any time during kernel initialization, even before the kernel
13407 virtual memory manager is initialized and paging is enabled.  This
13408 allows kernel subsystems to obtain ACPI tables very early, even
13409 before the ACPI CA subsystem is initialized.
13410
13411 Fixed a problem where Fields defined with the AnyAcc attribute
13412 could be resolved to the incorrect address under the following
13413 conditions: 1) the field width is larger than 8 bits and 2) the
13414 parent operation region is not defined on a DWORD boundary.
13415
13416 Fixed a problem where the interpreter is not being locked during
13417 namespace initialization (during execution of the _INI control
13418 methods), causing an error when an attempt is made to release it
13419 later.
13420
13421 ACPI 2.0 support in the AML Interpreter has begun and will be
13422 ongoing throughout the rest of this year.  In this label, The Mod
13423 operator is implemented.
13424
13425 Added a new data type to contain full PCI addresses named
13426 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
13427 and Function values.
13428
13429  Linux:
13430
13431 Enhanced the Linux version of the source code to change most
13432 capitalized ACPI type names to lowercase. For example, all
13433 instances of ACPI_STATUS are changed to acpi_status.  This will
13434 result in a large diff, but the change is strictly cosmetic and
13435 aligns the CA code closer to the Linux coding standard.
13436
13437 OSL Interfaces:
13438
13439 The interfaces to the PCI configuration space have been changed to
13440 add the PCI Segment number and to split the single 32-bit combined
13441 DeviceFunction field into two 16-bit fields.  This was
13442 accomplished by moving the four values that define an address in
13443 PCI configuration space (segment, bus, device, and function) to
13444 the new ACPI_PCI_ID structure.
13445
13446 The changes to the PCI configuration space interfaces led to a
13447 reexamination of the complete set of address space access
13448 interfaces for PCI, I/O, and Memory.  The previously existing 18
13449 interfaces have proven difficult to maintain (any small change
13450 must be propagated across at least 6 interfaces) and do not easily
13451 allow for future expansion to 64 bits if necessary.  Also, on some
13452 systems, it would not be appropriate to demultiplex the access
13453 width (8, 16, 32,or 64) before calling the OSL if the
13454 corresponding native OS interfaces contain a similar access width
13455 parameter.  For these reasons, the 18 address space interfaces
13456 have been replaced by these 6 new ones:
13457
13458 AcpiOsReadPciConfiguration
13459 AcpiOsWritePciConfiguration
13460 AcpiOsReadMemory
13461 AcpiOsWriteMemory
13462 AcpiOsReadPort
13463 AcpiOsWritePort
13464
13465 Added a new interface named AcpiOsGetRootPointer to allow the OSL
13466 to perform the platform and/or OS-specific actions necessary to
13467 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
13468 interface will simply call down to the CA core to perform the low-
13469 memory search for the table.  On IA-64, the RSDP is obtained from
13470 EFI.  Migrating this interface to the OSL allows the CA core to
13471
13472 remain OS and platform independent.
13473
13474 Added a new interface named AcpiOsSignal to provide a generic
13475 "function code and pointer" interface for various miscellaneous
13476 signals and notifications that must be made to the host OS.   The
13477 first such signals are intended to support the ASL Fatal and
13478 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
13479 interface has been obsoleted.
13480
13481 The definition of the AcpiFormatException interface has been
13482 changed to simplify its use.  The caller no longer must supply a
13483 buffer to the call; A pointer to a const string is now returned
13484 directly.  This allows the call to be easily used in printf
13485 statements, etc. since the caller does not have to manage a local
13486 buffer.
13487
13488
13489  ASL Compiler, Version X2025:
13490
13491 The ACPI 2.0 Switch/Case/Default operators have been implemented
13492 and are fully functional.  They will work with all ACPI 1.0
13493 interpreters, since the operators are simply translated to If/Else
13494 pairs.
13495
13496 The ACPI 2.0 ElseIf operator is implemented and will also work
13497 with 1.0 interpreters, for the same reason.
13498
13499 Implemented support for ACPI 2.0 variable-length packages.  These
13500 packages have a separate opcode, and their size is determined by
13501 the interpreter at run-time.
13502
13503 Documentation The ACPI CA Programmer Reference has been updated to
13504 reflect the new interfaces and changes to existing interfaces.
13505
13506  ------------------------------------------
13507 Summary of changes for this label: 06_15_01
13508
13509  ACPI CA Core Subsystem:
13510
13511 Fixed a problem where a DWORD-accessed field within a Buffer
13512 object would get its byte address inadvertently rounded down to
13513 the nearest DWORD.  Buffers are always Byte-accessible.
13514
13515  ASL Compiler, version X2024:
13516
13517 Fixed a problem where the Switch() operator would either fault or
13518 hang the compiler.  Note however, that the AML code for this ACPI
13519 2.0 operator is not yet implemented.
13520
13521 Compiler uses the new AcpiOsGetTimer interface to obtain compile
13522 timings.
13523
13524 Implementation of the CreateField operator automatically converts
13525 a reference to a named field within a resource descriptor from a
13526 byte offset to a bit offset if required.
13527
13528 Added some missing named fields from the resource descriptor
13529 support. These are the names that are automatically created by the
13530 compiler to reference fields within a descriptor.  They are only
13531 valid at compile time and are not passed through to the AML
13532 interpreter.
13533
13534 Resource descriptor named fields are now typed as Integers and
13535 subject to compile-time typechecking when used in expressions.
13536
13537  ------------------------------------------
13538 Summary of changes for this label: 05_18_01
13539
13540  ACPI CA Core Subsystem:
13541
13542 Fixed a couple of problems in the Field support code where bits
13543 from adjacent fields could be returned along with the proper field
13544 bits. Restructured the field support code to improve performance,
13545 readability and maintainability.
13546
13547 New DEBUG_PRINTP macro automatically inserts the procedure name
13548 into the output, saving hundreds of copies of procedure name
13549 strings within the source, shrinking the memory footprint of the
13550 debug version of the core subsystem.
13551
13552  Source Code Structure:
13553
13554 The source code directory tree was restructured to reflect the
13555 current organization of the component architecture.  Some files
13556 and directories have been moved and/or renamed.
13557
13558  Linux:
13559
13560 Fixed leaking kacpidpc processes.
13561
13562 Fixed queueing event data even when /proc/acpi/event is not
13563 opened.
13564
13565  ASL Compiler, version X2020:
13566
13567 Memory allocation performance enhancement - over 24X compile time
13568 improvement on large ASL files.  Parse nodes and namestring
13569 buffers are now allocated from a large internal compiler buffer.
13570
13571 The temporary .SRC file is deleted unless the "-s" option is
13572 specified
13573
13574 The "-d" debug output option now sends all output to the .DBG file
13575 instead of the console.
13576
13577 "External" second parameter is now optional
13578
13579 "ElseIf" syntax now properly allows the predicate
13580
13581 Last operand to "Load" now recognized as a Target operand
13582
13583 Debug object can now be used anywhere as a normal object.
13584
13585 ResourceTemplate now returns an object of type BUFFER
13586
13587 EISAID now returns an object of type INTEGER
13588
13589 "Index" now works with a STRING operand
13590
13591 "LoadTable" now accepts optional parameters
13592
13593 "ToString" length parameter is now optional
13594
13595 "Interrupt (ResourceType," parse error fixed.
13596
13597 "Register" with a user-defined region space parse error fixed
13598
13599 Escaped backslash at the end of a string ("\\") scan/parse error
13600 fixed
13601
13602 "Revision" is now an object of type INTEGER.
13603
13604
13605
13606 ------------------------------------------
13607 Summary of changes for this label: 05_02_01
13608
13609 Linux:
13610
13611 /proc/acpi/event now blocks properly.
13612
13613 Removed /proc/sys/acpi. You can still dump your DSDT from
13614 /proc/acpi/dsdt.
13615
13616  ACPI CA Core Subsystem:
13617
13618 Fixed a problem introduced in the previous label where some of the
13619 "small" resource descriptor types were not recognized.
13620
13621 Improved error messages for the case where an ASL Field is outside
13622 the range of the parent operation region.
13623
13624  ASL Compiler, version X2018:
13625
13626
13627 Added error detection for ASL Fields that extend beyond the length
13628 of the parent operation region (only if the length of the region
13629 is known at compile time.)  This includes fields that have a
13630 minimum access width that is smaller than the parent region, and
13631 individual field units that are partially or entirely beyond the
13632 extent of the parent.
13633
13634
13635
13636 ------------------------------------------
13637 Summary of changes for this label: 04_27_01
13638
13639  ACPI CA Core Subsystem:
13640
13641 Fixed a problem where the namespace mutex could be released at the
13642 wrong time during execution of AcpiRemoveAddressSpaceHandler.
13643
13644 Added optional thread ID output for debug traces, to simplify
13645 debugging of multiple threads.  Added context switch notification
13646 when the debug code realizes that a different thread is now
13647 executing ACPI code.
13648
13649 Some additional external data types have been prefixed with the
13650 string "ACPI_" for consistency.  This may effect existing code.
13651 The data types affected are the external callback typedefs - e.g.,
13652
13653 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
13654
13655  Linux:
13656
13657 Fixed an issue with the OSL semaphore implementation where a
13658 thread was waking up with an error from receiving a SIGCHLD
13659 signal.
13660
13661 Linux version of ACPI CA now uses the system C library for string
13662 manipulation routines instead of a local implementation.
13663
13664 Cleaned up comments and removed TBDs.
13665
13666  ASL Compiler, version X2017:
13667
13668 Enhanced error detection and reporting for all file I/O
13669 operations.
13670
13671  Documentation:
13672
13673 Programmer Reference updated to version 1.06.
13674
13675
13676
13677 ------------------------------------------
13678 Summary of changes for this label: 04_13_01
13679
13680  ACPI CA Core Subsystem:
13681
13682 Restructured support for BufferFields and RegionFields.
13683 BankFields support is now fully operational.  All known 32-bit
13684 limitations on field sizes have been removed.  Both BufferFields
13685 and (Operation) RegionFields are now supported by the same field
13686 management code.
13687
13688 Resource support now supports QWORD address and IO resources. The
13689 16/32/64 bit address structures and the Extended IRQ structure
13690 have been changed to properly handle Source Resource strings.
13691
13692 A ThreadId of -1 is now used to indicate a "mutex not acquired"
13693 condition internally and must never be returned by AcpiOsThreadId.
13694 This reserved value was changed from 0 since Unix systems allow a
13695 thread ID of 0.
13696
13697 Linux:
13698
13699 Driver code reorganized to enhance portability
13700
13701 Added a kernel configuration option to control ACPI_DEBUG
13702
13703 Fixed the EC driver to honor _GLK.
13704
13705 ASL Compiler, version X2016:
13706
13707 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
13708 address space was set to 0, not 0x7f as it should be.
13709
13710  ------------------------------------------
13711 Summary of changes for this label: 03_13_01
13712
13713  ACPI CA Core Subsystem:
13714
13715 During ACPI initialization, the _SB_._INI method is now run if
13716 present.
13717
13718 Notify handler fix - notifies are deferred until the parent method
13719 completes execution.  This fixes the "mutex already acquired"
13720 issue seen occasionally.
13721
13722 Part of the "implicit conversion" rules in ACPI 2.0 have been
13723 found to cause compatibility problems with existing ASL/AML.  The
13724 convert "result-to-target-type" implementation has been removed
13725 for stores to method Args and Locals.  Source operand conversion
13726 is still fully implemented.  Possible changes to ACPI 2.0
13727 specification pending.
13728
13729 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
13730 length.
13731
13732 Fix for compiler warnings for 64-bit compiles.
13733
13734  Linux:
13735
13736 /proc output aligned for easier parsing.
13737
13738 Release-version compile problem fixed.
13739
13740 New kernel configuration options documented in Configure.help.
13741
13742 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
13743 context" message.
13744
13745  OSPM:
13746
13747 Power resource driver integrated with bus manager.
13748
13749 Fixed kernel fault during active cooling for thermal zones.
13750
13751 Source Code:
13752
13753 The source code tree has been restructured.
13754
13755
13756
13757 ------------------------------------------
13758 Summary of changes for this label: 03_02_01
13759
13760  Linux OS Services Layer (OSL):
13761
13762 Major revision of all Linux-specific code.
13763
13764 Modularized all ACPI-specific drivers.
13765
13766 Added new thermal zone and power resource drivers.
13767
13768 Revamped /proc interface (new functionality is under /proc/acpi).
13769
13770 New kernel configuration options.
13771
13772  Linux known issues:
13773
13774 New kernel configuration options not documented in Configure.help
13775 yet.
13776
13777
13778 Module dependencies not currently implemented. If used, they
13779 should be loaded in this order: busmgr, power, ec, system,
13780 processor, battery, ac_adapter, button, thermal.
13781
13782 Modules will not load if CONFIG_MODVERSION is set.
13783
13784 IBM 600E - entering S5 may reboot instead of shutting down.
13785
13786 IBM 600E - Sleep button may generate "Invalid <NULL> context"
13787 message.
13788
13789 Some systems may fail with "execution mutex already acquired"
13790 message.
13791
13792  ACPI CA Core Subsystem:
13793
13794 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
13795 for the  deadlock detection code. Defined to return a non-zero, 32-
13796 bit thread ID for the currently executing thread.  May be a non-
13797 zero constant integer on single-thread systems.
13798
13799 Implemented deadlock detection for internal subsystem mutexes.  We
13800 may add conditional compilation for this code (debug only) later.
13801
13802 ASL/AML Mutex object semantics are now fully supported.  This
13803 includes multiple acquires/releases by owner and support for the
13804
13805 Mutex SyncLevel parameter.
13806
13807 A new "Force Release" mechanism automatically frees all ASL
13808 Mutexes that have been acquired but not released when a thread
13809 exits the interpreter.  This forces conformance to the ACPI spec
13810 ("All mutexes must be released when an invocation exits") and
13811 prevents deadlocked ASL threads.  This mechanism can be expanded
13812 (later) to monitor other resource acquisitions if OEM ASL code
13813 continues to misbehave (which it will).
13814
13815 Several new ACPI exception codes have been added for the Mutex
13816 support.
13817
13818 Recursive method calls are now allowed and supported (the ACPI
13819 spec does in fact allow recursive method calls.)  The number of
13820 recursive calls is subject to the restrictions imposed by the
13821 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
13822 parameter.
13823
13824 Implemented support for the SyncLevel parameter for control
13825 methods (ACPI 2.0 feature)
13826
13827 Fixed a deadlock problem when multiple threads attempted to use
13828 the interpreter.
13829
13830 Fixed a problem where the string length of a String package
13831 element was not always set in a package returned from
13832 AcpiEvaluateObject.
13833
13834 Fixed a problem where the length of a String package element was
13835 not always included in the length of the overall package returned
13836 from AcpiEvaluateObject.
13837
13838 Added external interfaces (Acpi*) to the ACPI debug memory
13839 manager.  This manager keeps a list of all outstanding
13840 allocations, and can therefore detect memory leaks and attempts to
13841 free memory blocks more than once. Useful for code such as the
13842 power manager, etc.  May not be appropriate for device drivers.
13843 Performance with the debug code enabled is slow.
13844
13845 The ACPI Global Lock is now an optional hardware element.
13846
13847  ASL Compiler Version X2015:
13848
13849 Integrated changes to allow the compiler to be generated on
13850 multiple platforms.
13851
13852 Linux makefile added to generate the compiler on Linux
13853
13854  Source Code:
13855
13856 All platform-specific headers have been moved to their own
13857 subdirectory, Include/Platform.
13858
13859 New source file added, Interpreter/ammutex.c
13860
13861 New header file, Include/acstruct.h
13862
13863  Documentation:
13864
13865 The programmer reference has been updated for the following new
13866 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
13867
13868  ------------------------------------------
13869 Summary of changes for this label: 02_08_01
13870
13871 Core ACPI CA Subsystem: Fixed a problem where an error was
13872 incorrectly returned if the return resource buffer was larger than
13873 the actual data (in the resource interfaces).
13874
13875 References to named objects within packages are resolved to the
13876
13877 full pathname string before packages are returned directly (via
13878 the AcpiEvaluateObject interface) or indirectly via the resource
13879 interfaces.
13880
13881 Linux OS Services Layer (OSL):
13882
13883 Improved /proc battery interface.
13884
13885
13886 Added C-state debugging output and other miscellaneous fixes.
13887
13888 ASL Compiler Version X2014:
13889
13890 All defined method arguments can now be used as local variables,
13891 including the ones that are not actually passed in as parameters.
13892 The compiler tracks initialization of the arguments and issues an
13893 exception if they are used without prior assignment (just like
13894 locals).
13895
13896 The -o option now specifies a filename prefix that is used for all
13897 output files, including the AML output file.  Otherwise, the
13898 default behavior is as follows:  1) the AML goes to the file
13899 specified in the DSDT.  2) all other output files use the input
13900 source filename as the base.
13901
13902  ------------------------------------------
13903 Summary of changes for this label: 01_25_01
13904
13905 Core ACPI CA Subsystem: Restructured the implementation of object
13906 store support within the  interpreter.  This includes support for
13907 the Store operator as well  as any ASL operators that include a
13908 target operand.
13909
13910 Partially implemented support for Implicit Result-to-Target
13911 conversion. This is when a result object is converted on the fly
13912 to the type of  an existing target object.  Completion of this
13913 support is pending  further analysis of the ACPI specification
13914 concerning this matter.
13915
13916 CPU-specific code has been removed from the subsystem (hardware
13917 directory).
13918
13919 New Power Management Timer functions added
13920
13921 Linux OS Services Layer (OSL): Moved system state transition code
13922 to the core, fixed it, and modified  Linux OSL accordingly.
13923
13924 Fixed C2 and C3 latency calculations.
13925
13926
13927 We no longer use the compilation date for the version message on
13928 initialization, but retrieve the version from AcpiGetSystemInfo().
13929
13930 Incorporated for fix Sony VAIO machines.
13931
13932 Documentation:  The Programmer Reference has been updated and
13933 reformatted.
13934
13935
13936 ASL Compiler:  Version X2013: Fixed a problem where the line
13937 numbering and error reporting could get out  of sync in the
13938 presence of multiple include files.
13939
13940  ------------------------------------------
13941 Summary of changes for this label: 01_15_01
13942
13943 Core ACPI CA Subsystem:
13944
13945 Implemented support for type conversions in the execution of the
13946 ASL  Concatenate operator (The second operand is converted to
13947 match the type  of the first operand before concatenation.)
13948
13949 Support for implicit source operand conversion is partially
13950 implemented.   The ASL source operand types Integer, Buffer, and
13951 String are freely  interchangeable for most ASL operators and are
13952 converted by the interpreter  on the fly as required.  Implicit
13953 Target operand conversion (where the  result is converted to the
13954 target type before storing) is not yet implemented.
13955
13956 Support for 32-bit and 64-bit BCD integers is implemented.
13957
13958 Problem fixed where a field read on an aligned field could cause a
13959 read  past the end of the field.
13960
13961 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
13962 does not return a value, but the caller expects one.  (The ASL
13963 compiler flags this as a warning.)
13964
13965 ASL Compiler:
13966
13967 Version X2011:
13968 1. Static typechecking of all operands is implemented. This
13969 prevents the use of invalid objects (such as using a Package where
13970 an Integer is required) at compile time instead of at interpreter
13971 run-time.
13972 2. The ASL source line is printed with ALL errors and warnings.
13973 3. Bug fix for source EOF without final linefeed.
13974 4. Debug option is split into a parse trace and a namespace trace.
13975 5. Namespace output option (-n) includes initial values for
13976 integers and strings.
13977 6. Parse-only option added for quick syntax checking.
13978 7. Compiler checks for duplicate ACPI name declarations
13979
13980 Version X2012:
13981 1. Relaxed typechecking to allow interchangeability between
13982 strings, integers, and buffers.  These types are now converted by
13983 the interpreter at runtime.
13984 2. Compiler reports time taken by each internal subsystem in the
13985 debug         output file.
13986
13987
13988  ------------------------------------------
13989 Summary of changes for this label: 12_14_00
13990
13991 ASL Compiler:
13992
13993 This is the first official release of the compiler. Since the
13994 compiler requires elements of the Core Subsystem, this label
13995 synchronizes everything.
13996
13997 ------------------------------------------
13998 Summary of changes for this label: 12_08_00
13999
14000
14001 Fixed a problem where named references within the ASL definition
14002 of both OperationRegions and CreateXXXFields did not work
14003 properly.  The symptom was an AE_AML_OPERAND_TYPE during
14004 initialization of the region/field. This is similar (but not
14005 related internally) to the problem that was fixed in the last
14006 label.
14007
14008 Implemented both 32-bit and 64-bit support for the BCD ASL
14009 functions ToBCD and FromBCD.
14010
14011 Updated all legal headers to include "2000" in the copyright
14012 years.
14013
14014  ------------------------------------------
14015 Summary of changes for this label: 12_01_00
14016
14017 Fixed a problem where method invocations within the ASL definition
14018 of both OperationRegions and CreateXXXFields did not work
14019 properly.  The symptom was an AE_AML_OPERAND_TYPE during
14020 initialization of the region/field:
14021
14022   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
14023 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
14024 (0x3005)
14025
14026 Fixed a problem where operators with more than one nested
14027 subexpression would fail.  The symptoms were varied, by mostly
14028 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
14029 problem that has gone unnoticed until now.
14030
14031   Subtract (Add (1,2), Multiply (3,4))
14032
14033 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
14034 previous build (The prefix part of a relative path was handled
14035 incorrectly).
14036
14037 Fixed a problem where Operation Region initialization failed if
14038 the operation region name was a "namepath" instead of a simple
14039 "nameseg". Symptom was an AE_NO_OPERAND error.
14040
14041 Fixed a problem where an assignment to a local variable via the
14042 indirect RefOf mechanism only worked for the first such
14043 assignment.  Subsequent assignments were ignored.
14044
14045  ------------------------------------------
14046 Summary of changes for this label: 11_15_00
14047
14048 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
14049 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
14050 the AML  interpreter does NOT have support for the new 2.0 ASL
14051 grammar terms at this time.
14052
14053 All ACPI hardware access is via the GAS structures in the ACPI 2.0
14054 FADT.
14055
14056 All physical memory addresses across all platforms are now 64 bits
14057 wide. Logical address width remains dependent on the platform
14058 (i.e., "void *").
14059
14060 AcpiOsMapMemory interface changed to a 64-bit physical address.
14061
14062 The AML interpreter integer size is now 64 bits, as per the ACPI
14063 2.0 specification.
14064
14065 For backwards compatibility with ACPI 1.0, ACPI tables with a
14066 revision number less than 2 use 32-bit integers only.
14067
14068 Fixed a problem where the evaluation of OpRegion operands did not
14069 always resolve them to numbers properly.
14070
14071 ------------------------------------------
14072 Summary of changes for this label: 10_20_00
14073
14074 Fix for CBN_._STA issue.  This fix will allow correct access to
14075 CBN_ OpRegions when the _STA returns 0x8.
14076
14077 Support to convert ACPI constants (Ones, Zeros, One) to actual
14078 values before a package object is returned
14079
14080 Fix for method call as predicate to if/while construct causing
14081 incorrect if/while behavior
14082
14083 Fix for Else block package lengths sometimes calculated wrong (if
14084 block > 63 bytes)
14085
14086 Fix for Processor object length field, was always zero
14087
14088 Table load abort if FACP sanity check fails
14089
14090 Fix for problem with Scope(name) if name already exists
14091
14092 Warning emitted if a named object referenced cannot be found
14093 (resolved) during method execution.
14094
14095
14096
14097
14098
14099 ------------------------------------------
14100 Summary of changes for this label: 9_29_00
14101
14102 New table initialization interfaces: AcpiInitializeSubsystem no
14103 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
14104 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
14105 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
14106 AcpiLoadTables
14107
14108 Note: These interface changes require changes to all existing OSDs
14109
14110 The PCI_Config default address space handler is always installed
14111 at the root namespace object.
14112
14113 -------------------------------------------
14114 Summary of changes for this label: 09_15_00
14115
14116 The new initialization architecture is implemented.  New
14117 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
14118 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
14119
14120 (Namespace is automatically loaded when a table is loaded)
14121
14122 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
14123 52 bytes to 32 bytes.  There is usually one of these for every
14124 namespace object, so the memory savings is significant.
14125
14126 Implemented just-in-time evaluation of the CreateField operators.
14127
14128 Bug fixes for IA-64 support have been integrated.
14129
14130 Additional code review comments have been implemented
14131
14132 The so-called "third pass parse" has been replaced by a final walk
14133 through the namespace to initialize all operation regions (address
14134 spaces) and fields that have not yet been initialized during the
14135 execution of the various _INI and REG methods.
14136
14137 New file - namespace/nsinit.c
14138
14139 -------------------------------------------
14140 Summary of changes for this label: 09_01_00
14141
14142 Namespace manager data structures have been reworked to change the
14143 primary  object from a table to a single object.  This has
14144 resulted in dynamic memory  savings of 3X within the namespace and
14145 2X overall in the ACPI CA subsystem.
14146
14147 Fixed problem where the call to AcpiEvFindPciRootBuses was
14148 inadvertently left  commented out.
14149
14150 Reduced the warning count when generating the source with the GCC
14151 compiler.
14152
14153 Revision numbers added to each module header showing the
14154 SourceSafe version of the file.  Please refer to this version
14155 number when giving us feedback or comments on individual modules.
14156
14157 The main object types within the subsystem have been renamed to
14158 clarify their  purpose:
14159
14160 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
14161 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
14162 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
14163
14164 NOTE: no changes to the initialization sequence are included in
14165 this label.
14166
14167 -------------------------------------------
14168 Summary of changes for this label: 08_23_00
14169
14170 Fixed problem where TerminateControlMethod was being called
14171 multiple times per  method
14172
14173 Fixed debugger problem where single stepping caused a semaphore to
14174 be  oversignalled
14175
14176 Improved performance through additional parse object caching -
14177 added  ACPI_EXTENDED_OP type
14178
14179 -------------------------------------------
14180 Summary of changes for this label: 08_10_00
14181
14182 Parser/Interpreter integration:  Eliminated the creation of
14183 complete parse trees  for ACPI tables and control methods.
14184 Instead, parse subtrees are created and  then deleted as soon as
14185 they are processed (Either entered into the namespace or  executed
14186 by the interpreter).  This reduces the use of dynamic kernel
14187 memory  significantly. (about 10X)
14188
14189 Exception codes broken into classes and renumbered.  Be sure to
14190 recompile all  code that includes acexcep.h.  Hopefully we won't
14191 have to renumber the codes  again now that they are split into
14192 classes (environment, programmer, AML code,  ACPI table, and
14193 internal).
14194
14195 Fixed some additional alignment issues in the Resource Manager
14196 subcomponent
14197
14198 Implemented semaphore tracking in the AcpiExec utility, and fixed
14199 several places  where mutexes/semaphores were being unlocked
14200 without a corresponding lock  operation.  There are no known
14201 semaphore or mutex "leaks" at this time.
14202
14203 Fixed the case where an ASL Return operator is used to return an
14204 unnamed  package.
14205
14206 -------------------------------------------
14207 Summary of changes for this label: 07_28_00
14208
14209 Fixed a problem with the way addresses were calculated in
14210 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
14211 manifested itself when a Field was  created with WordAccess or
14212 DwordAccess, but the field unit defined within the  Field was less
14213
14214 than a Word or Dword.
14215
14216 Fixed a problem in AmlDumpOperands() module's loop to pull
14217 operands off of the  operand stack to display information. The
14218 problem manifested itself as a TLB  error on 64-bit systems when
14219 accessing an operand stack with two or more  operands.
14220
14221 Fixed a problem with the PCI configuration space handlers where
14222 context was  getting confused between accesses. This required a
14223 change to the generic address  space handler and address space
14224 setup definitions. Handlers now get both a  global handler context
14225 (this is the one passed in by the user when executing
14226 AcpiInstallAddressSpaceHandler() and a specific region context
14227 that is unique to  each region (For example, the _ADR, _SEG and
14228 _BBN values associated with a  specific region). The generic
14229 function definitions have changed to the  following:
14230
14231 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
14232 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
14233 *HandlerContext, // This used to be void *Context void
14234 *RegionContext); // This is an additional parameter
14235
14236 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
14237 RegionHandle, UINT32 Function, void *HandlerContext,  void
14238 **RegionContext); // This used to be **ReturnContext
14239
14240 -------------------------------------------
14241 Summary of changes for this label: 07_21_00
14242
14243 Major file consolidation and rename.  All files within the
14244 interpreter have been  renamed as well as most header files.  This
14245 was done to prevent collisions with  existing files in the host
14246 OSs -- filenames such as "config.h" and "global.h"  seem to be
14247 quite common.  The VC project files have been updated.  All
14248 makefiles  will require modification.
14249
14250 The parser/interpreter integration continues in Phase 5 with the
14251 implementation  of a complete 2-pass parse (the AML is parsed
14252 twice) for each table;  This  avoids the construction of a huge
14253 parse tree and therefore reduces the amount of  dynamic memory
14254 required by the subsystem.  Greater use of the parse object cache
14255 means that performance is unaffected.
14256
14257 Many comments from the two code reviews have been rolled in.
14258
14259 The 64-bit alignment support is complete.
14260
14261 -------------------------------------------
14262 Summary of changes for this label: 06_30_00
14263
14264 With a nod and a tip of the hat to the technology of yesteryear,
14265 we've added  support in the source code for 80 column output
14266 devices.  The code is now mostly  constrained to 80 columns or
14267 less to support environments and editors that 1)  cannot display
14268 or print more than 80 characters on a single line, and 2) cannot
14269 disable line wrapping.
14270
14271 A major restructuring of the namespace data structure has been
14272 completed.  The  result is 1) cleaner and more
14273 understandable/maintainable code, and 2) a  significant reduction
14274 in the dynamic memory requirement for each named ACPI  object
14275 (almost half).
14276
14277 -------------------------------------------
14278 Summary of changes for this label: 06_23_00
14279
14280 Linux support has been added.  In order to obtain approval to get
14281 the ACPI CA  subsystem into the Linux kernel, we've had to make
14282 quite a few changes to the  base subsystem that will affect all
14283 users (all the changes are generic and OS- independent).  The
14284 effects of these global changes have been somewhat far  reaching.
14285 Files have been merged and/or renamed and interfaces have been
14286 renamed.   The major changes are described below.
14287
14288 Osd* interfaces renamed to AcpiOs* to eliminate namespace
14289 pollution/confusion  within our target kernels.  All OSD
14290 interfaces must be modified to match the new  naming convention.
14291
14292 Files merged across the subsystem.  A number of the smaller source
14293 and header  files have been merged to reduce the file count and
14294 increase the density of the  existing files.  There are too many
14295 to list here.  In general, makefiles that  call out individual
14296 files will require rebuilding.
14297
14298 Interpreter files renamed.  All interpreter files now have the
14299 prefix am*  instead of ie* and is*.
14300
14301 Header files renamed:  The acapi.h file is now acpixf.h.  The
14302 acpiosd.h file is  now acpiosxf.h.  We are removing references to
14303 the acronym "API" since it is  somewhat windowsy. The new name is
14304 "external interface" or xface or xf in the  filenames.j
14305
14306
14307 All manifest constants have been forced to upper case (some were
14308 mixed case.)   Also, the string "ACPI_" has been prepended to many
14309 (not all) of the constants,  typedefs, and structs.
14310
14311 The globals "DebugLevel" and "DebugLayer" have been renamed
14312 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
14313
14314 All other globals within the subsystem are now prefixed with
14315 "AcpiGbl_" Internal procedures within the subsystem are now
14316 prefixed with "Acpi" (with only  a few exceptions).  The original
14317 two-letter abbreviation for the subcomponent  remains after "Acpi"
14318 - for example, CmCallocate became AcpiCmCallocate.
14319
14320 Added a source code translation/conversion utility.  Used to
14321 generate the Linux  source code, it can be modified to generate
14322 other types of source as well. Can  also be used to cleanup
14323 existing source by removing extraneous spaces and blank  lines.
14324 Found in tools/acpisrc/*
14325
14326 OsdUnMapMemory was renamed to OsdUnmapMemory and then
14327 AcpiOsUnmapMemory.  (UnMap  became Unmap).
14328
14329 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
14330 When set to  one, this indicates that the caller wants to use the
14331
14332 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
14333 both types.  However, implementers of this  call may want to use
14334 different OS primitives depending on the type of semaphore
14335 requested.  For example, some operating systems provide separate
14336
14337 "mutex" and  "semaphore" interfaces - where the mutex interface is
14338 much faster because it  doesn't have all the overhead of a full
14339 semaphore implementation.
14340
14341 Fixed a deadlock problem where a method that accesses the PCI
14342 address space can  block forever if it is the first access to the
14343 space.
14344
14345 -------------------------------------------
14346 Summary of changes for this label: 06_02_00
14347
14348 Support for environments that cannot handle unaligned data
14349 accesses (e.g.  firmware and OS environments devoid of alignment
14350 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
14351 been added (via configurable macros) in  these three areas: -
14352 Transfer of data from the raw AML byte stream is done via byte
14353 moves instead of    word/dword/qword moves. - External objects are
14354 aligned within the user buffer, including package   elements (sub-
14355 objects). - Conversion of name strings to UINT32 Acpi Names is now
14356 done byte-wise.
14357
14358 The Store operator was modified to mimic Microsoft's
14359 implementation when storing  to a Buffer Field.
14360
14361 Added a check of the BM_STS bit before entering C3.
14362
14363 The methods subdirectory has been obsoleted and removed.  A new
14364 file, cmeval.c  subsumes the functionality.
14365
14366 A 16-bit (DOS) version of AcpiExec has been developed.  The
14367 makefile is under  the acpiexec directory.