Sync ACPICA with Intel's version 20170629.
[dragonfly.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 29 June 2017. Summary of changes for version 20170629:
3
4
5 1) ACPICA kernel-resident subsystem:
6
7 Tables: Implemented a deferred ACPI table verification. This is useful 
8 for operating systems where the tables cannot be verified in the early 
9 initialization stage due to early memory mapping limitations on some 
10 architectures. Lv Zheng.
11
12 Tables: Removed the signature validation for dynamically loaded tables. 
13 Provides compatibility with other ACPI implementations. Previously, only 
14 SSDT tables were allowed, as per the ACPI specification. Now, any table 
15 signature can be used via the Load() operator. Lv Zheng.
16
17 Tables: Fixed several mutex issues that could cause errors during table 
18 acquisition. Lv Zheng.
19
20 Tables: Fixed a problem where an ACPI warning could be generated if a 
21 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
22
23 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
24 AcpiPutTable interfaces. This applies to the "late stage" table loading 
25 when the use of AcpiPutTable is no longer required (since the system 
26 memory manager is fully running and available). Lv Zheng.
27
28 Fixed/Reverted a regression during processing of resource descriptors 
29 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
30 exception in this case.
31
32 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
33 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
34
35 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
36 or duplicate target is encountered during Alias creation in 
37 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
38
39 Added an option to use designated initializers for function pointers. 
40 Kees Cook <keescook@google.com>
41
42
43 2) iASL Compiler/Disassembler and Tools:
44
45 iASL: Allow compilation of External declarations with target pathnames 
46 that refer to existing named objects within the table. Erik Schmauss.
47
48 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
49 FieldUnit name also is declared via External in the same table. Erik 
50 Schmauss.
51
52 iASL: Allow existing scope names within pathnames used in External 
53 statements. For example:
54     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
55     Device (ABCD)
56
57 iASL: IORT ACPI table: Implemented changes required to decode the new 
58 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
59 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
60
61 Disassembler: Don't abort disassembly on errors from External() 
62 statements. Erik Schmauss.
63
64 Disassembler: fixed a possible fault when one of the Create*Field 
65 operators references a Resource Template. ACPICA Bugzilla 1396.
66
67 iASL: In the source code, resolved some naming inconsistences across the 
68 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
69 Adds a new file, aslparseop.c
70
71 ----------------------------------------
72 31 May 2017. Summary of changes for version 20170531:
73
74
75 0) ACPI 6.2 support:
76
77 The ACPI specification version 6.2 has been released and is available at
78 http://uefi.org/specifications
79
80 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
81 are summarized below.
82
83 New ACPI tables (Table Compiler/Disassembler/Templates):
84     HMAT (Heterogeneous Memory Attributes Table)
85     WSMT (Windows SMM Security Mitigation Table)
86     PPTT (Processor Properties Topology Table)
87
88 New subtables for existing ACPI tables:
89     HEST (New subtable, Arch-deferred machine check)
90     SRAT (New subtable, Arch-specific affinity structure)
91     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
92
93 Simple updates for existing ACPI tables:
94     BGRT (two new flag bits)
95     HEST (New bit defined for several subtables, GHES_ASSIST)
96
97 New Resource Descriptors and Resource macros (Compiler/Disassembler):
98     PinConfig()
99     PinFunction()
100     PinGroup()
101     PinGroupConfig()
102     PinGroupFunction()
103     New type for hardware error notification (section 18.3.2.9)
104
105 New predefined names/methods (Compiler/Interpreter):
106     _HMA (Heterogeneous Memory Attributes)
107     _LSI (Label Storage Information)
108     _LSR (Label Storage Read)
109     _LSW (Label Storage Write)
110
111 ASL grammar/macro changes (Compiler):
112     For() ASL macro, implemented with the AML while operator
113     Extensions to Concatenate operator
114     Support for multiple definition blocks in same ASL file
115     Clarification for Buffer operator
116     Allow executable AML code underneath all scopes (Devices, etc.)
117     Clarification/change for the _OSI return value
118     ASL grammar update for reference operators
119     Allow a zero-length string for AML filename in DefinitionBlock
120
121 Miscellaneous:
122     New device object notification value
123     Remove a notify value (0x0C) for graceful shutdown
124     New UUIDs for processor/cache properties and
125         physical package property
126     New _HID, ACPI0014 (Wireless Power Calibration Device)
127
128
129 1) ACPICA kernel-resident subsystem:
130
131 Added support to disable ACPI events on hardware-reduced platforms. 
132 Eliminates error messages of the form "Could not enable fixed event". Lv 
133 Zheng
134
135 Fixed a problem using Device/Thermal objects with the ObjectType and 
136 DerefOf ASL operators. This support had not been fully/properly 
137 implemented.
138
139 Fixed a problem where if a Buffer object containing a resource template 
140 was longer than the actual resource template, an error was generated -- 
141 even though the AML is legal. This case has been seen in the field.
142
143 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
144 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
145
146 Added header file changes for the TPM2 ACPI table. Update to new version 
147 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
148
149 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
150 These interfaces are intended to be used only in conjunction with the 
151 predefined _DLM method (Device Lock Method). "This object appears in a 
152 device scope when AML access to the device must be synchronized with the 
153 OS environment".
154
155 Example Code and Data Size: These are the sizes for the OS-independent 
156 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
157 debug version of the code includes the debug output trace mechanism and 
158 has a much larger code and data size.
159
160   Current Release:
161     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
162     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
163   Previous Release:
164     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
165     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
166
167
168 2) iASL Compiler/Disassembler and Tools:
169
170 iASL: Fixed a problem where an External() declaration could not refer to 
171 a Field Unit. Erik Schmauss.
172
173 Disassembler: Improved support for the Switch/Case operators. This 
174 feature will disassemble AML code back to the original Switch operators 
175 when possible, instead of an If..Else sequence. David Box
176
177 iASL and disassembler: Improved the handling of multiple extraneous 
178 parentheses for both ASL input and disassembled ASL output.
179
180 Improved the behavior of the iASL compiler and disassembler to detect 
181 improper use of external declarations
182
183 Disassembler: Now aborts immediately upon detection of an unknown AML 
184 opcode. The AML parser has no real way to recover from this, and can 
185 result in the creation of an ill-formed parse tree that causes errors 
186 later during the disassembly.
187
188 All tools: Fixed a problem where the Unix application OSL did not handle 
189 control-c correctly. For example, a control-c could incorrectly wake the 
190 debugger.
191
192 AcpiExec: Improved the Control-C handling and added a handler for 
193 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
194 environments.
195
196 Reduced the verbosity of the generic unix makefiles. Previously, each 
197 compilation displayed the full set of compiler options. This has been 
198 eliminated as the options are easily inspected within the makefiles. Each 
199 compilation now results in a single line of output.
200
201 ----------------------------------------
202 03 March 2017. Summary of changes for version 20170303:
203
204
205 0) ACPICA licensing:
206
207 The licensing information at the start of each source code module has 
208 been updated. In addition to the Intel license, the dual GPLv2/BSD 
209 license has been added for completeness. Now, a single version of the 
210 source code should be suitable for all ACPICA customers. This is the 
211 major change for this release since it affects all source code modules.
212
213
214 1) ACPICA kernel-resident subsystem: 
215
216 Fixed two issues with the common asltypes.h header that could cause 
217 problems in some environments: (Kim Jung-uk)
218     Removed typedef for YY_BUFFER_STATE ?
219        Fixes an error with earlier versions of Flex.
220     Removed use of FILE typedef (which is only defined in stdio.h)
221
222
223 2) iASL Compiler/Disassembler and Tools: 
224
225 Disassembler: fixed a regression introduced in 20170224. A fix for a 
226 memory leak related to resource descriptor tags (names) could fault when 
227 the disassembler was generated with 64-bit compilers.
228
229 The ASLTS test suite has been updated to implement a new testing 
230 architecture. During generation of the suite from ASL source, both the 
231 ASL and ASL+ compilers are now validated, as well as the disassembler 
232 itself (Erik Schmauss). The architecture executes as follows:
233
234     For every ASL source module:
235         Compile (legacy ASL compilation)
236         Disassemble the resulting AML to ASL+ source code
237         Compile the new ASL+ module
238         Perform a binary compare on the legacy AML and the new ASL+ AML
239     The ASLTS suite then executes normally using the AML binaries.
240
241 ----------------------------------------
242 24 February 2017. Summary of changes for version 20170224:
243
244
245 1) ACPICA kernel-resident subsystem:
246
247 Interpreter: Fixed two issues with the control method return value auto-
248 repair feature, where an attempt to double-delete an internal object 
249 could result in an ACPICA warning (for _CID repair and others). No fault 
250 occurs, however, because the attempted deletion (actually a release to an 
251 internal cache) is detected and ignored via object poisoning.
252
253 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
254 of control methods. If certain debugger commands are executed during 
255 stepping, a mutex aquire/release error could occur. Lv Zheng.
256
257 Fixed some issues generating ACPICA with the Intel C compiler by 
258 restoring the original behavior and compiler-specific include file in 
259 acenv.h. Lv Zheng.
260
261 Example Code and Data Size: These are the sizes for the OS-independent 
262 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
263 debug version of the code includes the debug output trace mechanism and 
264 has a much larger code and data size.
265
266   Current Release:
267     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
268     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
269   Previous Release:
270     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
271     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
272
273
274 2) iASL Compiler/Disassembler and Tools:
275
276 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
277 tool has been designed, implemented, and included in this release. The 
278 key feature of this utility is that the original comments within the 
279 input ASL file are preserved during the conversion process, and included 
280 within the converted ASL+ file -- thus creating a transparent conversion 
281 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
282
283     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
284 converted code
285
286 iASL/Disassembler: Improved the detection and correct disassembly of 
287 Switch/Case operators. This feature detects sequences of if/elseif/else 
288 operators that originated from ASL Switch/Case/Default operators and 
289 emits the original operators. David Box.
290
291 iASL: Improved the IORT ACPI table support in the following areas. Lv 
292 Zheng:
293     Clear MappingOffset if the MappingCount is zero.
294     Fix the disassembly of the SMMU GSU interrupt offset.
295     Update the template file for the IORT table.
296
297 Disassembler: Enhanced the detection and disassembly of resource 
298 template/descriptor within a Buffer object. An EndTag descriptor is now 
299 required to have a zero second byte, since all known ASL compilers emit 
300 this. This helps eliminate incorrect decisions when a buffer is 
301 disassembled (false positives on resource templates).
302
303 ----------------------------------------
304 19 January 2017. Summary of changes for version 20170119:
305
306
307 1) General ACPICA software:
308
309 Entire source code base: Added the 2017 copyright to all source code 
310 legal/licensing module headers and utility/tool signons. This includes 
311 the standard Linux dual-license header. This affects virtually every file 
312 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
313 the ACPICA test suite.
314
315
316 2) iASL Compiler/Disassembler and Tools:
317
318 iASL: Removed/fixed an inadvertent remark when a method argument 
319 containing a reference is used as a target operand within the method (and 
320 never used as a simple argument), as in the example below. Jeffrey Hugo.
321
322     dsdt.asl   1507:    Store(0x1, Arg0)
323     Remark   2146 -                ^ Method Argument is never used (Arg0)
324
325 All tools: Removed the bit width of the compiler that generated the tool 
326 from the common signon for all user space tools. This proved to be 
327 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
328 from the generic makefiles (Thomas Petazzoni). Example below.
329
330     Old:
331     ASL+ Optimizing Compiler version 20170119-32
332     ASL+ Optimizing Compiler version 20170119-64
333
334     New:
335     ASL+ Optimizing Compiler version 20170119
336
337 ----------------------------------------
338 22 December 2016. Summary of changes for version 20161222:
339
340
341 1) ACPICA kernel-resident subsystem:
342
343 AML Debugger: Implemented a new mechanism to simplify and enhance 
344 debugger integration into all environments, including kernel debuggers 
345 and user-space utilities, as well as remote debug services. This 
346 mechanism essentially consists of new OSL interfaces to support debugger 
347 initialization/termination, as well as wait/notify interfaces to perform 
348 the debugger handshake with the host. Lv Zheng.
349
350     New OSL interfaces:
351         AcpiOsInitializeDebugger (void)
352         AcpiOsTerminateDebugger (void)
353         AcpiOsWaitCommandReady (void)
354         AcpiOsNotifyCommandComplete (void)
355
356     New OS services layer:
357         osgendbg.c -- Example implementation, and used for AcpiExec
358
359 Update for Generic Address Space (GAS) support: Although the AccessWidth 
360 and/or BitOffset fields of the GAS are not often used, this change now 
361 fully supports these fields. This affects the internal support for FADT 
362 registers, registers in other ACPI data tables, and the AcpiRead and 
363 AcpiWrite public interfaces. Lv Zheng.
364
365 Sleep support: In order to simplify integration of ACPI sleep for the 
366 various host operating systems, a new OSL interface has been introduced. 
367 AcpiOsEnterSleep allows the host to perform any required operations 
368 before the final write to the sleep control register(s) is performed by 
369 ACPICA. Lv Zheng.
370
371     New OSL interface:
372         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
373
374     Called from these internal interfaces:
375         AcpiHwLegacySleep
376         AcpiHwExtendedSleep
377
378 EFI support: Added a very small EFI/ACPICA example application. Provides 
379 a simple demo for EFI integration, as well as assisting with resolution 
380 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
381
382     source/tools/efihello/efihello.c
383
384 Local C library: Implemented several new functions to enhance ACPICA 
385 portability, for environments where these clib functions are not 
386 available (such as EFI). Lv Zheng:
387     putchar
388     getchar
389     strpbrk
390     strtok
391     memmove
392
393 Fixed a regression where occasionally a valid resource descriptor was 
394 incorrectly detected as invalid at runtime, and a 
395 AE_AML_NO_RESOURCE_END_TAG was returned.
396
397 Fixed a problem with the recently implemented support that enables 
398 control method invocations as Target operands to many ASL operators. 
399 Warnings of this form: "Needed type [Reference], found [Processor]" were 
400 seen at runtime for some method invocations.
401
402 Example Code and Data Size: These are the sizes for the OS-independent 
403 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
404 debug version of the code includes the debug output trace mechanism and 
405 has a much larger code and data size.
406
407   Current Release:
408     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
409     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
410   Previous Release:
411     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
412     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
413
414
415 2) iASL Compiler/Disassembler and Tools:
416
417 Disassembler: Enhanced output by adding the capability to detect and 
418 disassemble ASL Switch/Case statements back to the original ASL source 
419 code instead of if/else blocks. David Box.
420
421 AcpiHelp: Split a large file into separate files based upon 
422 functionality/purpose. New files are:
423     ahaml.c
424     ahasl.c
425
426 ----------------------------------------
427 17 November 2016. Summary of changes for version 20161117:
428
429
430 1) ACPICA kernel-resident subsystem:
431
432 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
433 cleanup". This was an attempt to remove all references in the source to 
434 the FADT version 2, which never was a legal version number. It was 
435 skipped because it was an early version of 64-bit support that was 
436 eventually abandoned for the current 64-bit support.
437
438 Interpreter: Fixed a problem where runtime implicit conversion was 
439 incorrectly disabled for the ASL operators below. This brings the 
440 behavior into compliance with the ACPI specification:
441     FromBCD
442     ToBCD
443     ToDecimalString
444     ToHexString
445     ToInteger
446     ToBuffer
447
448 Table Manager: Added a new public interface, AcpiPutTable, used to 
449 release and free an ACPI table returned by AcpiGetTable and related 
450 interfaces. Lv Zheng.
451
452 Example Code and Data Size: These are the sizes for the OS-independent 
453 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
454 debug version of the code includes the debug output trace mechanism and 
455 has a much larger code and data size.
456
457   Current Release:
458     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
459     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
460   Previous Release:
461     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
462     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
463
464
465 2) iASL Compiler/Disassembler and Tools:
466
467 Disassembler: Fixed a regression for disassembly of Resource Template. 
468 Detection of templates in the AML stream missed some types of templates.
469
470 iASL: Fixed a problem where an Access Size error was returned for the PCC 
471 address space when the AccessSize of the GAS register is greater than a 
472 DWORD. Hoan Tran.
473
474 iASL: Implemented several grammar changes for the operators below. These 
475 changes are slated for the next version of the ACPI specification:
476     RefOf        - Disallow method invocation as an operand
477     CondRefOf    - Disallow method invocation as an operand
478     DerefOf      - Disallow operands that use the result from operators 
479 that
480                    do not return a reference (Changed TermArg to 
481 SuperName).
482
483 iASL: Control method invocations are now allowed for Target operands, as 
484 per the ACPI specification. Removed error for using a control method 
485 invocation as a Target operand.
486
487 Disassembler: Improved detection of Resource Templates, Unicode, and 
488 Strings within Buffer objects. These subtypes do not contain a specific 
489 opcode to indicate the originating ASL code, and they must be detected by 
490 other means within the disassembler. 
491
492 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
493 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
494 only after 64-bit to 32-bit truncation. A truncation warning message is 
495 still emitted, however.
496
497 AcpiXtract: Implemented handling for both types of line terminators (LF 
498 or CR/LF) so that it can accept AcpiDump output files from any system. 
499 Peter Wu.
500
501 AcpiBin: Added two new options for comparing AML files:
502     -a: compare and display ALL mismatches
503     -o: start compare at this offset into the second file
504
505 ----------------------------------------
506 30 September 2016. Summary of changes for version 20160930:
507
508
509 1) ACPICA kernel-resident subsystem:
510
511 Fixed a regression in the internal AcpiTbFindTable function where a non 
512 AE_OK exception could inadvertently be returned even if the function did 
513 not fail. This problem affects the following operators:
514     DataTableRegion
515     LoadTable
516
517 Fixed a regression in the LoadTable operator where a load to any 
518 namespace location other than the root no longer worked properly.
519
520 Increased the maximum loop count value that will result in the 
521 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
522 prevent infinite loops within the AML interpreter and thus the host OS 
523 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
524 1,048,575).
525
526 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
527 acpixf.h file. This allows hosts to easily configure the maximum loop 
528 count at runtime.
529
530 Removed an illegal character in the strtoul64.c file. This character 
531 caused errors with some C compilers.
532
533 Example Code and Data Size: These are the sizes for the OS-independent 
534 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
535 debug version of the code includes the debug output trace mechanism and 
536 has a much larger code and data size.
537
538   Current Release:
539     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
540     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
541   Previous Release:
542     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
543     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
544
545
546 2) iASL Compiler/Disassembler and Tools:
547
548 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
549 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
550 block could be lost and missing from the disassembled output.
551
552 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
553 the missing rule caused a parse error when using the Index operator as an 
554 operand to ObjectType. This construct now compiles properly. Example:
555     ObjectType(PKG1[4]).
556
557 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
558 option). Previously, unresolved symbols could cause a protection fault. 
559 Such symbols are now marked as unresolved in the map file.
560
561 iASL: Implemented support to allow control method invocations as an 
562 operand to the ASL DeRefOf operator. Example:
563     DeRefOf(MTH1(Local0))
564
565 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
566 possible _PLD buffer now includes examination of both the normal buffer 
567 length (16 or 20) as well as the surrounding AML package length.
568
569 Disassembler: Fixed a problem with the decoding of complex expressions 
570 within the Divide operator for ASL+. For the case where both the quotient 
571 and remainder targets are specified, the entire statement cannot be 
572 disassembled. Previously, the output incorrectly contained a mix of ASL- 
573 and ASL+ operators. This mixed statement causes a syntax error when 
574 compiled. Example:
575     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
576 disassembled to:
577     Divide (INT1 + 6, 128, RSLT, QUOT)
578
579 iASL/Tools: Added support to process AML and non-AML ACPI tables 
580 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
581 tables (AML and data tables). For the iASL -e option, allow only AML 
582 tables (DSDT/SSDT).
583
584 ----------------------------------------
585 31 August 2016. Summary of changes for version 20160831:
586
587
588 1) ACPICA kernel-resident subsystem:
589
590 Improve support for the so-called "module-level code", which is defined 
591 to be math, logical and control AML opcodes that appear outside of any 
592 control method. This change improves the support by adding more opcodes 
593 that can be executed in the manner. Some other issues have been solved, 
594 and the ASL grammar changes to support such code under all scope 
595 operators (Device, etc.) are complete. Lv Zheng.
596
597 UEFI support: these OSL functions have been implemented. This is an 
598 additional step toward supporting the AcpiExec utility natively (with 
599 full hardware access) under UEFI. Marcelo Ferreira.
600     AcpiOsReadPciConfiguration
601     AcpiOsWritePciConfiguration
602
603 Fixed a possible mutex error during control method auto-serialization. Lv 
604 Zheng. 
605
606 Updated support for the Generic Address Structure by fully implementing 
607 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
608 Zheng.
609
610 Updated the return value for the internal _OSI method. Instead of 
611 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
612 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
613 implementations, and will be reflected and clarified in the next version 
614 of the ACPI specification.
615
616 Implemented two new table events that can be passed to an ACPICA table 
617 handler. These events are used to indicate a table installation or 
618 uninstallation. These events are used in addition to existed table load 
619 and unload events. Lv Zheng.
620
621 Implemented a cleanup for all internal string-to-integer conversions. 
622 Consolidate multiple versions of this functionality and limit possible 
623 bases to either 10 or 16 to simplify the code. Adds a new file, 
624 utstrtoul64.
625
626 Cleanup the inclusion order of the various compiler-specific headers. 
627 This simplifies build configuration management. The compiler-specific 
628 headers are now split out from the host-specific headers. Lv Zheng.
629
630 Example Code and Data Size: These are the sizes for the OS-independent 
631 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
632 debug version of the code includes the debug output trace mechanism and 
633 has a much larger code and data size.
634
635   Current Release:
636     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
637     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
638
639
640 2) iASL Compiler/Disassembler and Tools:
641
642 iASL/AcpiExec: Added a command line option to display the build date/time 
643 of the tool (-vd). This can be useful to verify that the correct version 
644 of the tools are being used.
645
646 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
647 all predefined control methods and names within the current namespace. 
648 This can be useful for debugging problems with ACPI tables and the ACPI 
649 namespace.
650
651 ----------------------------------------
652 29 July 2016. Summary of changes for version 20160729:
653
654
655 1) ACPICA kernel-resident subsystem:
656
657 Implemented basic UEFI support for the various ACPICA tools. This 
658 includes:
659 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
660 2) Support to obtain the ACPI tables on UEFI.
661 3) Local implementation of required C library functions not available on 
662 UEFI.
663 4) A front-end (main) function for the tools for UEFI-related 
664 initialization.
665
666 The initial deployment of this support is the AcpiDump utility executing 
667 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
668 Current environments supported are Linux/Unix. MSVC generation is not 
669 supported at this time. See the generate/efi/README file for build 
670 instructions. Lv Zheng.
671
672 Future plans include porting the AcpiExec utility to execute natively on 
673 the platform with I/O and memory access. This will allow viewing/dump of 
674 the platform namespace and native execution of ACPI control methods that 
675 access the actual hardware. To fully implement this support, the OSL 
676 functions below must be implemented with UEFI interfaces. Any community 
677 help in the implementation of these functions would be appreciated:
678     AcpiOsReadPort
679     AcpiOsWritePort
680     AcpiOsReadMemory
681     AcpiOsWriteMemory
682     AcpiOsReadPciConfiguration
683     AcpiOsWritePciConfiguration
684
685 Restructured and standardized the C library configuration for ACPICA, 
686 resulting in the various configuration options below. This includes a 
687 global restructuring of the compiler-dependent and platform-dependent 
688 include files. These changes may affect the existing platform-dependent 
689 configuration files on some hosts. Lv Zheng. 
690
691 The current C library configuration options appear below. For any issues, 
692 it may be helpful to examine the existing compiler-dependent and 
693 platform-dependent files as examples. Lv Zheng. 
694
695 1) Linux kernel:
696     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
697 library.
698     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
699 2) Unix/Windows/BSD applications:
700     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
701 library.
702     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
703 3) UEFI applications:
704     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
705 library.
706     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
707 4) UEFI applications (EDK2/StdLib):
708     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
709     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
710
711
712 AML interpreter: "module-level code" support. Allows for execution of so-
713 called "executable" AML code (math/logical operations, etc.) outside of 
714 control methods not just at the module level (top level) but also within 
715 any scope declared outside of a control method - Scope{}, Device{}, 
716 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
717
718 Simplified the configuration of the "maximum AML loops" global option by 
719 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
720 modified at runtime.
721
722
723 Example Code and Data Size: These are the sizes for the OS-independent 
724 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
725 debug version of the code includes the debug output trace mechanism and 
726 has a much larger code and data size.
727
728   Current Release:
729     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
730     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
731
732
733 2) iASL Compiler/Disassembler and Tools:
734
735 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
736 Includes disassembler, data table compiler, and header support.
737
738 iASL Expand "module-level code" support. Allows for 
739 compilation/disassembly of so-called "executable" AML code (math/logical 
740 operations, etc.) outside of control methods not just at the module level 
741 (top level) but also within any scope declared outside of a control 
742 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
743 ThermalZone{}.
744
745 AcpiDump: Added support for dumping all SSDTs on newer versions of 
746 Windows. These tables are now easily available -- SSDTs are not available 
747 through the registry on older versions.
748
749 ----------------------------------------
750 27 May 2016. Summary of changes for version 20160527:
751
752
753 1) ACPICA kernel-resident subsystem:
754
755 Temporarily reverted the new arbitrary bit length/alignment support in 
756 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
757 a number of regressions with the new code that need to be fully resolved 
758 and tested before this support can be finally integrated into ACPICA. 
759 Apologies for any inconveniences these issues may have caused.
760
761 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
762 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
763 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
764
765 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
766 option. Adds a new return macro, return_STR. Junk-uk Kim.
767
768 Example Code and Data Size: These are the sizes for the OS-independent 
769 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
770 debug version of the code includes the debug output trace mechanism and 
771 has a much larger code and data size.
772
773   Current Release:
774     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
775     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
776   Previous Release:
777     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
778     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
779
780 ----------------------------------------
781 22 April 2016. Summary of changes for version 20160422:
782
783 1) ACPICA kernel-resident subsystem:
784
785 Fixed a regression in the GAS (generic address structure) arbitrary bit 
786 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
787 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
788
789 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
790 was added to each of these macros, and the original name has been 
791 deprecated. The AML disassembler will always disassemble to the new 
792 names. Support for the new macros was added to iASL, disassembler, 
793 resource manager, and the acpihelp utility. ACPICA BZ 1274.
794
795     I2cSerialBus  -> I2cSerialBusV2
796     SpiSerialBus  -> SpiSerialBusV2
797     UartSerialBus -> UartSerialBusV2
798
799 ACPI 6.0: Added support for a new integer field that was appended to the 
800 package object returned by the _BIX method. This adds iASL compile-time 
801 and AML runtime error checking. ACPICA BZ 1273.
802
803 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
804 Subspace Type2" (Headers, Disassembler, and data table compiler).
805
806 Example Code and Data Size: These are the sizes for the OS-independent 
807 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
808 debug version of the code includes the debug output trace mechanism and 
809 has a much larger code and data size.
810
811   Current Release:
812     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
813     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
814   Previous Release:
815     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
816     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
817
818
819 2) iASL Compiler/Disassembler and Tools:
820
821 iASL: Implemented an ASL grammar extension to allow/enable executable 
822 "module-level code" to be created and executed under the various 
823 operators that create new scopes. This type of AML code is already 
824 supported in all known AML interpreters, and the grammar change will 
825 appear in the next version of the ACPI specification. Simplifies the 
826 conditional runtime creation of named objects under these object types: 
827
828     Device
829     PowerResource
830     Processor
831     Scope
832     ThermalZone
833
834 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
835 ease-of-use to the ASL language. The syntax is similar to the 
836 corresponding C operator, and is implemented with the existing AML While 
837 opcode -- thus requiring no changes to existing AML interpreters.
838
839     For (Initialize, Predicate, Update) {TermList}
840
841 Grammar:
842     ForTerm :=
843         For (
844             Initializer    // Nothing | TermArg => ComputationalData
845             Predicate      // Nothing | TermArg => ComputationalData
846             Update         // Nothing | TermArg => ComputationalData
847         ) {TermList}
848
849
850 iASL: The _HID/_ADR detection and validation has been enhanced to search 
851 under conditionals in order to allow these objects to be conditionally 
852 created at runtime.
853
854 iASL: Fixed several issues with the constant folding feature. The 
855 improvement allows better detection and resolution of statements that can 
856 be folded at compile time. ACPICA BZ 1266. 
857
858 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
859 conversion to the ASL ElseIf operator where incorrect ASL code could be 
860 generated.
861
862 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
863 sometimes an extra (and extraneous) set of parentheses were emitted for 
864 some combinations of operators. Although this did not cause any problems 
865 with recompilation of the disassembled code, it made the code more 
866 difficult to read. David Box. ACPICA BZ 1231.
867
868 iASL: Changed to ignore the unreferenced detection for predefined names 
869 of resource descriptor elements, when the resource descriptor is 
870 created/defined within a control method.
871
872 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
873 objects.
874
875 ----------------------------------------
876 18 March 2016. Summary of changes for version 20160318:
877
878 1) ACPICA kernel-resident subsystem:
879
880 Added support for arbitrary bit lengths and bit offsets for registers 
881 defined by the Generic Address Structure. Previously, only aligned bit 
882 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
883 but recently some machines have been seen that require arbitrary bit-
884 level support. ACPICA BZ 1240. Lv Zheng.
885
886 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
887 before any _REG methods are evaluated. Lv Zheng.
888
889 Implemented several changes related to ACPI table support 
890 (Headers/Disassembler/TableCompiler):
891 NFIT: For ACPI 6.1, updated to add some additional new fields and 
892 constants.
893 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
894 6).
895 DMAR: Added new constants per the 10/2014 DMAR spec.
896 IORT: Added new subtable per the 10/2015 IORT spec.
897 HEST: For ACPI 6.1, added new constants and new subtable.
898 DBG2: Added new constants per the 12/2015 DBG2 spec.
899 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
900 ACPICA BZ 1249.
901 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
902
903 Updated header support for the DMAR table to match the current version of 
904 the related spec.
905
906 Added extensions to the ASL Concatenate operator to allow any ACPI object 
907 to be passed as an operand. Any object other than Integer/String/Buffer 
908 simply returns a string containing the object type. This extends the 
909 usefulness of the Printf macros. Previously, Concatenate would abort the 
910 control method if a non-data object was encountered.
911
912 ACPICA source code: Deployed the C "const" keyword across the source code 
913 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
914
915 Example Code and Data Size: These are the sizes for the OS-independent 
916 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
917 debug version of the code includes the debug output trace mechanism and 
918 has a much larger code and data size.
919
920   Current Release:
921     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
922     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
923   Previous Release:
924     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
925     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
926
927
928 2) iASL Compiler/Disassembler and Tools:
929
930 iASL/Disassembler: Improved the heuristic used to determine the number of 
931 arguments for an externally defined control method (a method in another 
932 table). Although this is an improvement, there is no deterministic way to 
933 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
934 will completely solve this problem as it is deployed (automatically) in 
935 newer BIOS code.
936
937 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
938 statements that could cause errors when the disassembled file is 
939 compiled. ACPICA BZ 1243. David Box.
940
941 iASL: Fixed a regression caused by the merger of the two versions of the 
942 local strtoul64. Because of a dependency on a global variable, strtoul64 
943 could return an error for integers greater than a 32-bit value. ACPICA BZ 
944 1260.
945
946 iASL: Fixed a regression where a fault could occur for an ASL Return 
947 statement if it invokes a control method that is not resolved. ACPICA BZ 
948 1264.
949
950 AcpiXtract: Improved input file validation: detection of binary files and 
951 non-acpidump text files.
952
953 ----------------------------------------
954 12 February 2016. Summary of changes for version 20160212:
955
956 1) ACPICA kernel-resident subsystem:
957
958 Implemented full support for the ACPI 6.1 specification (released in 
959 January). This version of the specification is available at:  
960 http://www.uefi.org/specifications
961
962 Only a relatively small number of changes were required in ACPICA to 
963 support ACPI 6.1, in these areas:
964 - New predefined names
965 - New _HID values
966 - A new subtable for HEST
967 - A few other header changes for new values
968
969 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
970 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
971
972 Reverted a change made in version 20151218 which enabled method 
973 invocations to be targets of various ASL operators (SuperName and Target 
974 grammar elements). While the new behavior is supported by the ACPI 
975 specification, other AML interpreters do not support this behavior and 
976 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
977 this support. Therefore, the change was reverted to the original ACPICA 
978 behavior.
979
980 ACPICA now supports the GCC 6 compiler.
981
982 Current Release: (Note: build changes increased sizes)
983     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
984     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
985 Previous Release:
986     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
987     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
988
989
990 2) iASL Compiler/Disassembler and Tools:
991
992 Completed full support for the ACPI 6.0 External() AML opcode. The 
993 compiler emits an external AML opcode for each ASL External statement. 
994 This opcode is used by the disassembler to assist with the disassembly of 
995 external control methods by specifying the required number of arguments 
996 for the method. AML interpreters do not use this opcode. To ensure that 
997 interpreters do not even see the opcode, a block of one or more external 
998 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
999 commonly deployed in BIOS code, the ability of disassemblers to correctly 
1000 disassemble AML code will be greatly improved. David Box.
1001
1002 iASL: Implemented support for an optional cross-reference output file. 
1003 The -lx option will create a the cross-reference file with the suffix 
1004 "xrf". Three different types of cross-reference are created in this file:
1005 - List of object references made from within each control method
1006 - Invocation (caller) list for each user-defined control method
1007 - List of references to each non-method object in the namespace
1008
1009 iASL: Method invocations as ASL Target operands are now disallowed and 
1010 flagged as errors in preparation for ACPI 6.2 (see the description of the 
1011 problem above).
1012
1013 ----------------------------------------
1014 8 January 2016. Summary of changes for version 20160108:
1015
1016 1) ACPICA kernel-resident subsystem:
1017
1018 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
1019 copyright to all source code module headers and utility/tool signons. 
1020 This includes the standard Linux dual-license header. This affects 
1021 virtually every file in the ACPICA core subsystem, iASL compiler, all 
1022 ACPICA utilities, and the ACPICA test suite.
1023
1024 Fixed a regression introduced in version 20151218 concerning the 
1025 execution of so-called module-level ASL/AML code. Namespace objects 
1026 created under a module-level If() construct were not properly/fully 
1027 entered into the namespace and could cause an interpreter fault when 
1028 accessed.
1029
1030 Example Code and Data Size: These are the sizes for the OS-independent 
1031 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1032 debug version of the code includes the debug output trace mechanism and 
1033 has a much larger code and data size.
1034
1035 Current Release:
1036     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1037     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
1038   Previous Release:
1039     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1040     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1041
1042
1043 2) iASL Compiler/Disassembler and Tools:
1044
1045 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
1046 descriptors. The _PIN field name was incorrectly defined to be an array 
1047 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
1048 would cause incorrect bit width warnings when using Word (16-bit) fields 
1049 to access the descriptors.
1050
1051
1052 ----------------------------------------
1053 18 December 2015. Summary of changes for version 20151218:
1054
1055 1) ACPICA kernel-resident subsystem:
1056
1057 Implemented per-AML-table execution of "module-level code" as individual 
1058 ACPI tables are loaded into the namespace during ACPICA initialization. 
1059 In other words, any module-level code within an AML table is executed 
1060 immediately after the table is loaded, instead of batched and executed 
1061 after all of the tables have been loaded. This provides compatibility 
1062 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
1063 David Box.
1064
1065 To fully support the feature above, the default operation region handlers 
1066 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
1067 installed before any ACPI tables are loaded. This enables module-level 
1068 code to access these address spaces during the table load and module-
1069 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
1070 Box.
1071
1072 Implemented several changes to the internal _REG support in conjunction 
1073 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
1074 utilities for the changes above. Although these tools were changed, host 
1075 operating systems that simply use the default handlers for SystemMemory, 
1076 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
1077
1078 For example, in the code below, DEV1 is conditionally added to the 
1079 namespace by the DSDT via module-level code that accesses an operation 
1080 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
1081 created immediately after the DSDT is loaded in order for the SSDT to 
1082 successfully reference DEV1. Previously, this code would cause an 
1083 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
1084 fully supported by ACPICA.
1085
1086     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
1087     {
1088         OperationRegion (OPR1, SystemMemory, 0x400, 32)
1089         Field (OPR1, AnyAcc, NoLock, Preserve)
1090         {
1091             FLD1, 1
1092         }
1093         If (FLD1)
1094         {
1095             Device (\DEV1)
1096             {
1097             }
1098         }
1099     }
1100     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
1101     {
1102         External (\DEV1, DeviceObj)
1103         Scope (\DEV1)
1104         {
1105         }
1106     }
1107
1108 Fixed an AML interpreter problem where control method invocations were 
1109 not handled correctly when the invocation was itself a SuperName argument 
1110 to another ASL operator. In these cases, the method was not invoked. 
1111 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
1112 argument:
1113     Store
1114     Acquire, Wait
1115     CondRefOf, RefOf
1116     Decrement, Increment
1117     Load, Unload
1118     Notify
1119     Signal, Release, Reset
1120     SizeOf
1121
1122 Implemented automatic String-to-ObjectReference conversion support for 
1123 packages returned by predefined names (such as _DEP). A common BIOS error 
1124 is to add double quotes around an ObjectReference namepath, which turns 
1125 the reference into an unexpected string object. This support detects the 
1126 problem and corrects it before the package is returned to the caller that 
1127 invoked the method. Lv Zheng.
1128
1129 Implemented extensions to the Concatenate operator. Concatenate now 
1130 accepts any type of object, it is not restricted to simply 
1131 Integer/String/Buffer. For objects other than these 3 basic data types, 
1132 the argument is treated as a string containing the name of the object 
1133 type. This expands the utility of Concatenate and the Printf/Fprintf 
1134 macros. ACPICA BZ 1222.
1135
1136 Cleaned up the output of the ASL Debug object. The timer() value is now 
1137 optional and no longer emitted by default. Also, the basic data types of 
1138 Integer/String/Buffer are simply emitted as their values, without a data 
1139 type string -- since the data type is obvious from the output. ACPICA BZ 
1140 1221.
1141
1142 Example Code and Data Size: These are the sizes for the OS-independent 
1143 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1144 debug version of the code includes the debug output trace mechanism and 
1145 has a much larger code and data size.
1146
1147   Current Release:
1148     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1149     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1150   Previous Release:
1151     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1152     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1153
1154
1155 2) iASL Compiler/Disassembler and Tools:
1156
1157 iASL: Fixed some issues with the ASL Include() operator. This operator 
1158 was incorrectly defined in the iASL parser rules, causing a new scope to 
1159 be opened for the code within the include file. This could lead to 
1160 several issues, including allowing ASL code that is technically illegal 
1161 and not supported by AML interpreters. Note, this does not affect the 
1162 related #include preprocessor operator. ACPICA BZ 1212.
1163
1164 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
1165 operator is essentially an ASL macro since there is no AML opcode 
1166 associated with it. The code emitted by the iASL compiler for ElseIf is 
1167 an Else opcode followed immediately by an If opcode. The disassembler 
1168 will now emit an ElseIf if it finds an Else immediately followed by an 
1169 If. This simplifies the decoded ASL, especially for deeply nested 
1170 If..Else and large Switch constructs. Thus, the disassembled code more 
1171 closely follows the original source ASL. ACPICA BZ 1211. Example:
1172
1173     Old disassembly:
1174         Else
1175         {
1176             If (Arg0 == 0x02)
1177             {
1178                 Local0 = 0x05
1179             }
1180         }
1181
1182     New disassembly:
1183         ElseIf (Arg0 == 0x02)
1184         {
1185             Local0 = 0x05
1186         }
1187
1188 AcpiExec: Added support for the new module level code behavior and the 
1189 early region installation. This required a small change to the 
1190 initialization, since AcpiExec must install its own operation region 
1191 handlers.
1192
1193 AcpiExec: Added support to make the debug object timer optional. Default 
1194 is timer disabled. This cleans up the debug object output -- the timer 
1195 data is rarely used.
1196
1197 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
1198 appear on the command line. This can be important when there are 
1199 interdependencies/references between the tables.
1200
1201 iASL/Templates. Add support to generate template files with multiple 
1202 SSDTs within a single output file. Also added ommand line support to 
1203 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
1204 1223, 1225.
1205
1206
1207 ----------------------------------------
1208 24 November 2015. Summary of changes for version 20151124:
1209
1210 1) ACPICA kernel-resident subsystem:
1211
1212 Fixed a possible regression for a previous update to FADT handling. The 
1213 FADT no longer has a fixed table ID, causing some issues with code that 
1214 was hardwired to a specific ID. Lv Zheng.
1215
1216 Fixed a problem where the method auto-serialization could interfere with 
1217 the current SyncLevel. This change makes the auto-serialization support 
1218 transparent to the SyncLevel support and management.
1219
1220 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
1221 interface is intended for early access to the namespace during the 
1222 initial namespace device discovery walk. The _SUB method has been seen to 
1223 access operation regions in some cases, causing errors because the 
1224 operation regions are not fully initialized.
1225
1226 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
1227 that can cause faults. Lv Zheng.
1228
1229 AML Debugger: Add thread ID support so that single-step mode only applies 
1230 to the AML Debugger thread. This prevents runtime errors within some 
1231 kernels. Lv Zheng. 
1232
1233 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
1234 methods that are invoked by this interface are optional, removed warnings 
1235 emitted for the case where one or more of these methods do not exist. 
1236 ACPICA BZ 1208, original change by Prarit Bhargava.
1237
1238 Made a major pass through the entire ACPICA source code base to 
1239 standardize formatting that has diverged a bit over time. There are no 
1240 functional changes, but this will of course cause quite a few code 
1241 differences from the previous ACPICA release.
1242
1243 Example Code and Data Size: These are the sizes for the OS-independent 
1244 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1245 debug version of the code includes the debug output trace mechanism and 
1246 has a much larger code and data size.
1247
1248   Current Release:
1249     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1250     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1251   Previous Release:
1252     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1253     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1254
1255
1256 2) iASL Compiler/Disassembler and Tools:
1257
1258 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
1259 definition blocks within a single ASL file and the resulting AML file. 
1260 Support for this type of file was also added to the various tools that 
1261 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
1262 example code below shows two definition blocks within the same file:
1263
1264     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
1265 0x12345678)
1266     {
1267     }
1268     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
1269     {
1270     }
1271
1272 iASL: Enhanced typechecking for the Name() operator. All expressions for 
1273 the value of the named object must be reduced/folded to a single constant 
1274 at compile time, as per the ACPI specification (the AML definition of 
1275 Name()).
1276
1277 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
1278 and assembly headers). Now all emitted code correctly begins in column 1.
1279
1280 iASL: Added an error message for an attempt to open a Scope() on an 
1281 object defined in an SSDT. The DSDT is always loaded into the namespace 
1282 first, so any attempt to open a Scope on an SSDT object will fail at 
1283 runtime.
1284
1285
1286 ----------------------------------------
1287 30 September 2015. Summary of changes for version 20150930:
1288
1289 1) ACPICA kernel-resident subsystem:
1290
1291 Debugger: Implemented several changes and bug fixes to assist support for 
1292 the in-kernel version of the AML debugger. Lv Zheng.
1293 - Fix the "predefined" command for in-kernel debugger.
1294 - Do not enter debug command loop for the help and version commands.
1295 - Disallow "execute" command during execution/single-step of a method.
1296
1297 Interpreter: Updated runtime typechecking for all operators that have 
1298 target operands. The operand is resolved and validated that it is legal. 
1299 For example, the target cannot be a non-data object such as a Device, 
1300 Mutex, ThermalZone, etc., as per the ACPI specification.
1301
1302 Debugger: Fixed the double-mutex user I/O handshake to work when local 
1303 deadlock detection is enabled.
1304
1305 Debugger: limited display of method locals and arguments (LocalX and 
1306 ArgX) to only those that have actually been initialized. This prevents 
1307 lines of extraneous output.
1308
1309 Updated the definition of the NFIT table to correct the bit polarity of 
1310 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
1311
1312 Example Code and Data Size: These are the sizes for the OS-independent 
1313 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1314 debug version of the code includes the debug output trace mechanism and 
1315 has a much larger code and data size.
1316
1317   Current Release:
1318     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1319     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1320   Previous Release:
1321     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1322     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1323
1324
1325 2) iASL Compiler/Disassembler and Tools:
1326
1327 iASL: Improved the compile-time typechecking for operands of many of the 
1328 ASL operators:
1329
1330 -- Added an option to disable compiler operand/operator typechecking (-
1331 ot).
1332
1333 -- For the following operators, the TermArg operands are now validated 
1334 when possible to be Integer data objects: BankField, OperationRegion, 
1335 DataTableRegion, Buffer, and Package.
1336
1337 -- Store (Source, Target): Both the source and target operands are 
1338 resolved and checked that the operands are both legal. For example, 
1339 neither operand can be a non-data object such as a Device, Mutex, 
1340 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
1341 operator can be used to store an object to any type of target object.
1342
1343 -- Store (Source, Target): If the source is a Package object, the target 
1344 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
1345 is a Package, the source must also be a Package.
1346
1347 -- Store (Source, Target): A warning is issued if the source and target 
1348 resolve to the identical named object.
1349
1350 -- Store (Source, <method invocation>): An error is generated for the 
1351 target method invocation, as this construct is not supported by the AML 
1352 interpreter.
1353
1354 -- For all ASL math and logic operators, the target operand must be a 
1355 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
1356 includes the function return value also.
1357
1358 -- External declarations are also included in the typechecking where 
1359 possible. External objects defined using the UnknownObj keyword cannot be 
1360 typechecked, however.
1361
1362 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
1363 operator:
1364 - Legacy code: Index(PKG1, 3)
1365 - New ASL+ code: PKG1[3]
1366 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
1367 supported.
1368
1369 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
1370 spaces were inadvertently appended to the filename, causing file access 
1371 and deletion problems on some systems.
1372
1373 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
1374 possible compiler output files when building the test suite -- thus 
1375 exercising these features of the compiler. These files are automatically 
1376 deleted when the test suite exits.
1377
1378
1379 ----------------------------------------
1380 18 August 2015. Summary of changes for version 20150818:
1381
1382 1) ACPICA kernel-resident subsystem:
1383
1384 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
1385 Zheng. ACPICA BZ 1186.
1386
1387 Completed development to ensure that the ACPICA Disassembler and Debugger 
1388 are fully standalone components of ACPICA. Removed cross-component 
1389 dependences. Lv Zheng.
1390
1391 The max-number-of-AML-loops is now runtime configurable (previously was 
1392 compile-time only). This is essentially a loop timeout to force-abort 
1393 infinite AML loops. ACPCIA BZ 1192.
1394
1395 Debugger: Cleanup output to dump ACPI names and namepaths without any 
1396 trailing underscores. Lv Zheng. ACPICA BZ 1135.
1397
1398 Removed unnecessary conditional compilations across the Debugger and 
1399 Disassembler components where entire modules could be left uncompiled.
1400
1401 The aapits test is deprecated and has been removed from the ACPICA git 
1402 tree. The test has never been completed and has not been maintained, thus 
1403 becoming rather useless. ACPICA BZ 1015, 794.
1404
1405 A batch of small changes to close bugzilla and other reports:
1406 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
1407 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
1408 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
1409 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
1410 Moore.
1411 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
1412 ACPICA BZ 1184.
1413 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
1414 operators.
1415 - Debugger: Split debugger initialization/termination interfaces. Lv 
1416 Zheng.
1417 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
1418 identification.
1419 - AcpiExec: Add debug message during _REG method phase during table 
1420 load/init.
1421 - AcpiNames: Fix a regression where some output was missing and no longer 
1422 emitted.
1423 - Debugger: General cleanup and simplification. Lv Zheng.
1424 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
1425
1426 Example Code and Data Size: These are the sizes for the OS-independent 
1427 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1428 debug version of the code includes the debug output trace mechanism and 
1429 has a much larger code and data size.
1430
1431   Current Release:
1432     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1433     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1434   Previous Release:
1435     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1436     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1437
1438
1439 2) iASL Compiler/Disassembler and Tools:
1440
1441 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
1442 were not handled properly and caused load errors. Now, properly invoke 
1443 and use the ACPICA auto-reallocate mechanism for ACPI table data 
1444 structures. ACPICA BZ 1188
1445
1446 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
1447 BZ 1190.
1448
1449 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
1450 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
1451 executed during initialization. ACPICA BZ 1187, 1189.
1452
1453 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
1454 that corresponds to each disassembled ASL statement, to simplify 
1455 debugging. ACPICA BZ 1191.
1456
1457 Debugger: Add option to the "objects" command to display a summary of the 
1458 current namespace objects (Object type and count). This is displayed if 
1459 the command is entered with no arguments.
1460
1461 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
1462
1463
1464 ----------------------------------------
1465 17 July 2015. Summary of changes for version 20150717:
1466
1467 1) ACPICA kernel-resident subsystem:
1468
1469 Improved the partitioning between the Debugger and Disassembler 
1470 components. This allows the Debugger to be used standalone within kernel 
1471 code without the Disassembler (which is used for single stepping also). 
1472 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
1473
1474 Debugger: Implemented a new command to trace the execution of control 
1475 methods (Trace). This is especially useful for the in-kernel version of 
1476 the debugger when file I/O may not be available for method trace output. 
1477 See the ACPICA reference for more information. Lv Zheng.
1478
1479 Moved all C library prototypes (used for the local versions of these 
1480 functions when requested) to a new header, acclib.h
1481 Cleaned up the use of non-ANSI C library functions. These functions are 
1482 implemented locally in ACPICA. Moved all such functions to a common 
1483 source file, utnonansi.c
1484
1485 Debugger: Fixed a problem with the "!!" command (get last command 
1486 executed) where the debugger could enter an infinite loop and eventually 
1487 crash.
1488
1489 Removed the use of local macros that were used for some of the standard C 
1490 library functions to automatically cast input parameters. This mostly 
1491 affected the is* functions where the input parameter is defined to be an 
1492 int. This required a few modifications to the main ACPICA source code to 
1493 provide casting for these functions and eliminate possible compiler 
1494 warnings for these parameters.
1495
1496 Across the source code, added additional status/error checking to resolve 
1497 issues discovered by static source code analysis tools such as Coverity.
1498
1499 Example Code and Data Size: These are the sizes for the OS-independent 
1500 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1501 debug version of the code includes the debug output trace mechanism and 
1502 has a much larger code and data size.
1503
1504   Current Release:
1505     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1506     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1507   Previous Release:
1508     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1509     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
1510
1511
1512 2) iASL Compiler/Disassembler and Tools:
1513
1514 iASL: Fixed a regression where the device map file feature no longer 
1515 worked properly when used in conjunction with the disassembler. It only 
1516 worked properly with the compiler itself.
1517
1518 iASL: Implemented a new warning for method LocalX variables that are set 
1519 but never used (similar to a C compiler such as gcc). This also applies 
1520 to ArgX variables that are not defined by the parent method, and are 
1521 instead (legally) used as local variables.
1522
1523 iASL/Preprocessor: Finished the pass-through of line numbers from the 
1524 preprocessor to the compiler. This ensures that compiler errors/warnings 
1525 have the correct original line numbers and filenames, regardless of any 
1526 #include files.
1527
1528 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
1529 pass-through of comments to the preprocessor output file (which becomes 
1530 the compiler input file). Also fixed a problem with // comments that 
1531 appear after a math expression.
1532
1533 iASL: Added support for the TCPA server table to the table compiler and 
1534 template generator. (The client table was already previously supported)
1535
1536 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
1537 identify the iASL compiler.
1538
1539 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
1540 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
1541 ACPI_SIGN_POSITIVE.
1542
1543 AcpiHelp: Update to expand help messages for the iASL preprocessor 
1544 directives.
1545
1546
1547 ----------------------------------------
1548 19 June 2015. Summary of changes for version 20150619:
1549
1550 Two regressions in version 20150616 have been addressed:
1551
1552 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
1553 etc.) This update changes ACPICA to only use the standard headers for 
1554 functions, or the prototypes for the local versions of the C library 
1555 functions. Across the source code, this required some additional casts 
1556 for some Clib invocations for portability. Moved all local prototypes to 
1557 a new file, acclib.h
1558
1559 Fixes several problems with recent changes to the handling of the FACS 
1560 table that could cause some systems not to boot.
1561
1562
1563 ----------------------------------------
1564 16 June 2015. Summary of changes for version 20150616:
1565
1566
1567 1) ACPICA kernel-resident subsystem:
1568
1569 Across the entire ACPICA source code base, the various macros for the C 
1570 library functions (such as ACPI_STRLEN, etc.) have been removed and 
1571 replaced by the standard C library names (strlen, etc.) The original 
1572 purpose for these macros is no longer applicable. This simplification 
1573 reduces the number of macros used in the ACPICA source code 
1574 significantly, improving readability and maintainability.
1575
1576 Implemented support for a new ACPI table, the OSDT. This table, the 
1577 "override" SDT, can be loaded directly by the host OS at boot time. It 
1578 enables the replacement of existing namespace objects that were installed 
1579 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
1580 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
1581 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
1582 Moore.
1583
1584 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
1585 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
1586 X field). This change will support both automatically. There continues to 
1587 be systems found with this issue. This support requires a change to the 
1588 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
1589 been added to allow the host to select which FACS is desired 
1590 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
1591 details Lv Zheng.
1592
1593 Added a new feature to allow for systems that do not contain an FACS. 
1594 Although this is already supported on hardware-reduced platforms, the 
1595 feature has been extended for all platforms. The reasoning is that we do 
1596 not want to abort the entire ACPICA initialization just because the 
1597 system is seriously buggy and has no FACS.
1598
1599 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
1600 not correctly transcribed from the ACPI specification in ACPICA version 
1601 20150515.
1602
1603 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
1604 interface.
1605
1606 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
1607 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
1608 compiler also updated. Note: The TCPA "server" table is not supported by 
1609 the disassembler/table-compiler at this time.
1610
1611 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
1612
1613 Example Code and Data Size: These are the sizes for the OS-independent 
1614 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1615 debug version of the code includes the debug output trace mechanism and 
1616 has a much larger code and data size.
1617
1618   Current Release:
1619     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1620     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
1621   Previous Release:
1622     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
1623     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
1624
1625
1626 2) iASL Compiler/Disassembler and Tools:
1627
1628 Disassembler: Fixed a problem with the new symbolic operator disassembler 
1629 where incorrect ASL code could be emitted in some cases for the "non-
1630 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
1631 ShiftRight. The actual problem cases seem to be rather unusual in common 
1632 ASL code, however. David Box.
1633
1634 Modified the linux version of acpidump to obtain ACPI tables from not 
1635 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
1636 Zheng.
1637
1638 iASL: Fixed a problem where the user preprocessor output file (.i) 
1639 contained extra data that was not expected. The compiler was using this 
1640 file as a temporary file and passed through #line directives in order to 
1641 keep compiler error messages in sync with the input file and line number 
1642 across multiple include files. The (.i) is no longer a temporary file as 
1643 the compiler uses a new, different file for the original purpose.
1644
1645 iASL: Fixed a problem where comments within the original ASL source code 
1646 file were not passed through to the preprocessor output file, nor any 
1647 listing files.
1648
1649 iASL: Fixed some issues for the handling of the "#include" preprocessor 
1650 directive and the similar (but not the same) "Include" ASL operator.
1651
1652 iASL: Add support for the new OSDT in both the disassembler and compiler.
1653
1654 iASL: Fixed a problem with the constant folding support where a Buffer 
1655 object could be incorrectly generated (incorrectly formed) during a 
1656 conversion to a Store() operator.
1657
1658 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
1659 description text for the _REV predefined name. _REV now permanently 
1660 returns 2, as per the ACPI 6.0 specification.
1661
1662 Debugger: Enhanced the output of the Debug ASL object for references 
1663 produced by the Index operator. For Buffers and strings, only output the 
1664 actual byte pointed to by the index. For packages, only print the single 
1665 package element decoded by the index. Previously, the entire 
1666 buffer/string/package was emitted.
1667
1668 iASL/Table-compiler: Fixed a regression where the "generic" data types 
1669 were no longer recognized, causing errors.
1670
1671
1672 ----------------------------------------
1673 15 May 2015. Summary of changes for version 20150515:
1674
1675 This release implements most of ACPI 6.0 as described below.
1676
1677 1) ACPICA kernel-resident subsystem:
1678
1679 Implemented runtime argument checking and return value checking for all 
1680 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
1681 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
1682
1683 Example Code and Data Size: These are the sizes for the OS-independent 
1684 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1685 debug version of the code includes the debug output trace mechanism and 
1686 has a much larger code and data size.
1687
1688   Current Release:
1689     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
1690     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
1691   Previous Release:
1692     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
1693     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
1694
1695
1696 2) iASL Compiler/Disassembler and Tools:
1697
1698 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
1699 names (argument count validation and return value typechecking.)
1700
1701 iASL disassembler and table compiler: implemented support for all new 
1702 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
1703
1704 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
1705 tables: FADT, MADT.
1706
1707 iASL preprocessor: Added a new directive to enable inclusion of binary 
1708 blobs into ASL code. The new directive is #includebuffer. It takes a 
1709 binary file as input and emits a named ascii buffer object into the ASL 
1710 code.
1711
1712 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
1713
1714 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
1715 directives.
1716
1717 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
1718 tables.
1719
1720
1721 ----------------------------------------
1722 10 April 2015. Summary of changes for version 20150410:
1723
1724 Reverted a change introduced in version 20150408 that caused
1725 a regression in the disassembler where incorrect operator
1726 symbols could be emitted.
1727
1728
1729 ----------------------------------------
1730 08 April 2015. Summary of changes for version 20150408:
1731
1732
1733 1) ACPICA kernel-resident subsystem:
1734
1735 Permanently set the return value for the _REV predefined name. It now 
1736 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
1737 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
1738 for ACPI 2.0 and later. It should never be used to differentiate or 
1739 identify operating systems.
1740
1741 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
1742 return TRUE to a query with this string.
1743
1744 Fixed several issues with the local version of the printf function.
1745
1746 Added the C99 compiler option (-std=c99) to the Unix makefiles.
1747
1748   Current Release:
1749     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
1750     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
1751   Previous Release:
1752     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
1753     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
1754
1755
1756 2) iASL Compiler/Disassembler and Tools:
1757
1758 iASL: Implemented an enhancement to the constant folding feature to 
1759 transform the parse tree to a simple Store operation whenever possible:
1760     Add (2, 3, X) ==> is converted to: Store (5, X)
1761     X = 2 + 3     ==> is converted to: Store (5, X)
1762
1763 Updated support for the SLIC table (Software Licensing Description Table) 
1764 in both the Data Table compiler and the disassembler. The SLIC table 
1765 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
1766 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
1767 following the ACPI header is now defined to be "Proprietary Data", and as 
1768 such, can only be entered or displayed as a hex data block.
1769
1770 Implemented full support for the MSDM table as described in the document 
1771 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
1772 following the ACPI header is defined to be "Proprietary Data", and can 
1773 only be entered or displayed as a hex data block.
1774
1775 Implemented the -Pn option for the iASL Table Compiler (was only 
1776 implemented for the ASL compiler). This option disables the iASL 
1777 preprocessor.
1778
1779 Disassembler: For disassembly of Data Tables, added a comment field 
1780 around the Ascii equivalent data that is emitted as part of the "Raw 
1781 Table Data" block. This prevents the iASL Preprocessor from possible 
1782 confusion if/when the table is compiled.
1783
1784 Disassembler: Added an option (-df) to force the disassembler to assume 
1785 that the table being disassembled contains valid AML. This feature is 
1786 useful for disassembling AML files that contain ACPI signatures other 
1787 than DSDT or SSDT (such as OEMx or other signatures).
1788
1789 Changes for the EFI version of the tools:
1790 1) Fixed a build error/issue
1791 2) Fixed a cast warning
1792
1793 iASL: Fixed a path issue with the __FILE__ operator by making the 
1794 directory prefix optional within the internal SplitInputFilename 
1795 function.
1796
1797 Debugger: Removed some unused global variables.
1798
1799 Tests: Updated the makefile for proper generation of the AAPITS suite.
1800
1801
1802 ----------------------------------------
1803 04 February 2015. Summary of changes for version 20150204:
1804
1805 ACPICA kernel-resident subsystem:
1806
1807 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
1808 copyright to all module headers and signons, including the standard Linux 
1809 header. This affects virtually every file in the ACPICA core subsystem, 
1810 iASL compiler, all ACPICA utilities, and the test suites.
1811
1812 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
1813 A raw gpe handling mechanism was created to allow better handling of GPE
1814 storms that aren't easily managed by the normal handler. The raw handler
1815 allows disabling/renabling of the the GPE so that interrupt storms can be
1816 avoided in cases where events cannot be timely serviced. In this 
1817 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
1818 GPE. This API will leave the reference counts undisturbed, thereby 
1819 preventing unintentional clearing of the GPE when the intent in only to 
1820 temporarily disable it. Raw handlers allow enabling and disabling of a 
1821 GPE by removing GPE register locking. As such, raw handlers much provide 
1822 their own locks while using GPE API's to protect access to GPE data 
1823 structures.
1824 Lv Zheng
1825
1826 Events: Always modify GPE registers under the GPE lock.
1827 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
1828 values. Reported as bug by joe.liu@apple.com.
1829
1830 Unix makefiles: Separate option to disable optimizations and 
1831 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
1832 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
1833 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
1834 errors when building ACPICA. This allows disabling the option without 
1835 also having to disable optimazations.
1836 David Box
1837
1838   Current Release:
1839     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1840     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
1841
1842 --
1843 --------------------------------------
1844 07 November 2014. Summary of changes for version 20141107:
1845
1846 This release is available at https://acpica.org/downloads
1847
1848 This release introduces and implements language extensions to ASL that 
1849 provide support for symbolic ("C-style") operators and expressions. These 
1850 language extensions are known collectively as ASL+.
1851
1852
1853 1) iASL Compiler/Disassembler and Tools:
1854
1855 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
1856 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
1857 Box.
1858
1859 Disassembler: Fixed the Unicode macro support to add escape sequences. 
1860 All non-printable ASCII values are emitted as escape sequences, as well 
1861 as the standard escapes for quote and backslash. Ensures that the 
1862 disassembled macro can be correctly recompiled.
1863
1864 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
1865 translated to existing AML Concatenate and Store operations. Printf 
1866 writes to the ASL Debug object. Fprintf allows the specification of an 
1867 ASL name as the target. Only a single format specifier is required, %o, 
1868 since the AML interpreter dynamically converts objects to the required 
1869 type. David E. Box.
1870
1871     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
1872                  (Concatenate (Concatenate (Concatenate ("", Arg0),
1873                  ": Unexpected value for "), Arg1), ", "), Arg2),
1874                  " at line "), Arg3), Debug)
1875
1876     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
1877                  Arg0, Arg1, Arg2, Arg3)
1878
1879     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
1880                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
1881
1882     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
1883
1884 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
1885 ASL parse tree before the AML code is generated. This allows blocks of 
1886 ASL code to be removed in order to help locate and identify problem 
1887 devices and/or code. David E. Box.
1888
1889 AcpiExec: Added support (-fi) for an optional namespace object 
1890 initialization file. This file specifies initial values for namespace 
1891 objects as necessary for debugging and testing different ASL code paths 
1892 that may be taken as a result of BIOS options.
1893
1894
1895 2) Overview of symbolic operator support for ASL (ASL+)
1896 -------------------------------------------------------
1897
1898 As an extension to the ASL language, iASL implements support for symbolic 
1899 (C-style) operators for math and logical expressions. This can greatly 
1900 simplify ASL code as well as improve both readability and 
1901 maintainability. These language extensions can exist concurrently with 
1902 all legacy ASL code and expressions.
1903
1904 The symbolic extensions are 100% compatible with existing AML 
1905 interpreters, since no new AML opcodes are created. To implement the 
1906 extensions, the iASL compiler transforms the symbolic expressions into 
1907 the legacy ASL/AML equivalents at compile time.
1908
1909 Full symbolic expressions are supported, along with the standard C 
1910 precedence and associativity rules.
1911
1912 Full disassembler support for the symbolic expressions is provided, and 
1913 creates an automatic migration path for existing ASL code to ASL+ code 
1914 via the disassembly process. By default, the disassembler now emits ASL+ 
1915 code with symbolic expressions. An option (-dl) is provided to force the 
1916 disassembler to emit legacy ASL code if desired.
1917
1918 Below is the complete list of the currently supported symbolic operators 
1919 with examples. See the iASL User Guide for additional information.
1920
1921
1922 ASL+ Syntax      Legacy ASL Equivalent
1923 -----------      ---------------------
1924
1925     // Math operators
1926
1927 Z = X + Y        Add (X, Y, Z)
1928 Z = X - Y        Subtract (X, Y, Z)
1929 Z = X * Y        Multiply (X, Y, Z)
1930 Z = X / Y        Divide (X, Y, , Z)
1931 Z = X % Y        Mod (X, Y, Z)
1932 Z = X << Y       ShiftLeft (X, Y, Z)
1933 Z = X >> Y       ShiftRight (X, Y, Z)
1934 Z = X & Y        And (X, Y, Z)
1935 Z = X | Y        Or (X, Y, Z)
1936 Z = X ^ Y        Xor (X, Y, Z)
1937 Z = ~X           Not (X, Z)
1938 X++              Increment (X)
1939 X--              Decrement (X)
1940
1941     // Logical operators
1942
1943 (X == Y)         LEqual (X, Y)
1944 (X != Y)         LNotEqual (X, Y)
1945 (X < Y)          LLess (X, Y)
1946 (X > Y)          LGreater (X, Y)
1947 (X <= Y)         LLessEqual (X, Y)
1948 (X >= Y)         LGreaterEqual (X, Y)
1949 (X && Y)         LAnd (X, Y)
1950 (X || Y)         LOr (X, Y)
1951 (!X)             LNot (X)
1952
1953     // Assignment and compound assignment operations
1954
1955 X = Y           Store (Y, X)
1956 X += Y          Add (X, Y, X)
1957 X -= Y          Subtract (X, Y, X)
1958 X *= Y          Multiply (X, Y, X)
1959 X /= Y          Divide (X, Y, , X)
1960 X %= Y          Mod (X, Y, X)
1961 X <<= Y         ShiftLeft (X, Y, X)
1962 X >>= Y         ShiftRight (X, Y, X)
1963 X &= Y          And (X, Y, X)
1964 X |= Y          Or (X, Y, X)
1965 X ^= Y          Xor (X, Y, X)
1966
1967
1968 3) ASL+ Examples:
1969 -----------------
1970
1971 Legacy ASL:
1972         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
1973             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
1974 0x03FB), 
1975             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
1976         {
1977             And (MEMB, 0xFFFFFFF0, SRMB)
1978             Store (MEMB, Local2)
1979             Store (PDBM, Local1)
1980             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
1981             Store (SRMB, MEMB)
1982             Or (PDBM, 0x02, PDBM)
1983         }
1984
1985 ASL+ version:
1986         If (((R510 & 0x03FB) == 0x02E0) ||
1987             ((R520 & 0x03FB) == 0x02E0) ||
1988             ((R530 & 0x03FB) == 0x02E0) || 
1989             ((R540 & 0x03FB) == 0x02E0))
1990         {
1991             SRMB = (MEMB & 0xFFFFFFF0)
1992             Local2 = MEMB
1993             Local1 = PDBM
1994             PDBM &= 0xFFFFFFFFFFFFFFF9
1995             MEMB = SRMB
1996             PDBM |= 0x02
1997         }
1998
1999 Legacy ASL:
2000         Store (0x1234, Local1)
2001         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2002         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2003         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2004         Store (Index (PKG1, 0x03), Local6)
2005         Store (Add (Local3, Local2), Debug)
2006         Add (Local1, 0x0F, Local2)
2007         Add (Local1, Multiply (Local2, Local3), Local2)
2008         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2009
2010 ASL+ version:
2011         Local1 = 0x1234
2012         Local3 = (((Local1 + TEST) + 0x20) * Local2)
2013         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2014         Local3 = (Local1 + (TEST + (0x20 * Local2)))
2015         Local6 = Index (PKG1, 0x03)
2016         Debug = (Local3 + Local2)
2017         Local2 = (Local1 + 0x0F)
2018         Local2 = (Local1 + (Local2 * Local3))
2019         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2020
2021
2022 ----------------------------------------
2023 26 September 2014. Summary of changes for version 20140926:
2024
2025 1) ACPICA kernel-resident subsystem:
2026
2027 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
2028 In order to support GPIO Connection objects with multiple pins, along 
2029 with the related Field objects, the following changes to the interface 
2030 have been made: The Address is now defined to be the offset in bits of 
2031 the field unit from the previous invocation of a Connection. It can be 
2032 viewed as a "Pin Number Index" into the connection resource descriptor. 
2033 The BitWidth is the exact bit width of the field. It is usually one bit, 
2034 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
2035 additional information and examples.
2036
2037 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
2038 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
2039 by the firmware), so that they cannot fire until they are enabled via 
2040 AcpiUpdateAllGpes. Rafael J. Wysocki.
2041
2042 Added a new return flag for the Event/GPE status interfaces -- 
2043 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
2044 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
2045 GPE currently has a handler associated with it, and can thus actually 
2046 affect the system. Lv Zheng.
2047
2048 Example Code and Data Size: These are the sizes for the OS-independent 
2049 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2050 debug version of the code includes the debug output trace mechanism and 
2051 has a much larger code and data size.
2052
2053   Current Release:
2054     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2055     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2056   Previous Release:
2057     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2058     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2059
2060 2) iASL Compiler/Disassembler and Tools:
2061
2062 iASL: Fixed a memory allocation/free regression introduced in 20140828 
2063 that could cause the compiler to crash. This was introduced inadvertently 
2064 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
2065 1113.
2066
2067 iASL: Removed two error messages that have been found to create false 
2068 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
2069 1) Illegal forward reference within a method
2070 2) Illegal reference across two methods
2071
2072 iASL: Implemented a new option (-lm) to create a hardware mapping file 
2073 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
2074 works for both the compiler and disassembler. See the iASL compiler user 
2075 guide for additional information and examples (section 6.4.6).
2076
2077 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
2078 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
2079 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
2080
2081 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
2082 unless STDIN is actually a terminal. Assists with batch-mode processing. 
2083 ACPICA BZ 1114.
2084
2085 Disassembler/AcpiHelp: Added another large group of recognized _HID 
2086 values.
2087
2088
2089 ----------------------------------------
2090 28 August 2014. Summary of changes for version 20140828:
2091
2092 1) ACPICA kernel-resident subsystem:
2093
2094 Fixed a problem related to the internal use of the Timer() operator where 
2095 a 64-bit divide could cause an attempted link to a double-precision math 
2096 library. This divide is not actually necessary, so the code was 
2097 restructured to eliminate it. Lv Zheng.
2098
2099 ACPI 5.1: Added support for the runtime validation of the _DSD package 
2100 (similar to the iASL support).
2101
2102 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
2103 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
2104
2105 Example Code and Data Size: These are the sizes for the OS-independent 
2106 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2107 debug version of the code includes the debug output trace mechanism and 
2108 has a much larger code and data size.
2109
2110   Current Release:
2111     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2112     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2113   Previous Release:
2114     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
2115     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2116
2117 2) iASL Compiler/Disassembler and Tools:
2118
2119 AcpiExec: Fixed a problem on unix systems where the original terminal 
2120 state was not always properly restored upon exit. Seen when using the -v 
2121 option. ACPICA BZ 1104.
2122
2123 iASL: Fixed a problem with the validation of the ranges/length within the 
2124 Memory24 resource descriptor. There was a boundary condition when the 
2125 range was equal to the (length -1) caused by the fact that these values 
2126 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
2127
2128 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
2129 polarity 
2130 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
2131 is 
2132 now supported properly.
2133
2134 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
2135 in the disassembler, data table compiler, and table template generator.
2136
2137 iASL: Added a requirement for Device() objects that one of either a _HID 
2138 or _ADR must exist within the scope of a Device, as per the ACPI 
2139 specification. Remove a similar requirement that was incorrectly in place 
2140 for the _DSD object.
2141
2142 iASL: Added error detection for illegal named references within control 
2143 methods that would cause runtime failures. Now trapped as errors are: 1) 
2144 References to objects within a non-parent control method. 2) Forward 
2145 references (within a method) -- for control methods, AML interpreters use 
2146 a one-pass parse of control methods. ACPICA BZ 1008.
2147
2148 iASL: Added error checking for dependencies related to the _PSx power 
2149 methods. ACPICA BZ 1029.
2150 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
2151 _PS3.
2152 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
2153 scope.
2154
2155 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
2156 deploying the existing object and string caches and adding new caches for 
2157 the table compiler.
2158
2159 iASL: Split the huge parser source file into multiple subfiles to improve 
2160 manageability. Generation now requires the M4 macro preprocessor, which 
2161 is part of the Bison distribution on both unix and windows platforms.
2162
2163 AcpiSrc: Fixed and removed all extraneous warnings generated during 
2164 entire ACPICA source code scan and/or conversion.
2165
2166
2167 ----------------------------------------
2168
2169 24 July 2014. Summary of changes for version 20140724: 
2170
2171 The ACPI 5.1 specification has been released and is available at: 
2172 http://uefi.org/specs/access
2173
2174
2175 0) ACPI 5.1 support in ACPICA:
2176
2177 ACPI 5.1 is fully supported in ACPICA as of this release.
2178
2179 New predefined names. Support includes iASL and runtime ACPICA 
2180 validation.
2181     _CCA (Cache Coherency Attribute).
2182     _DSD (Device-Specific Data). David Box.
2183
2184 Modifications to existing ACPI tables. Support includes headers, iASL 
2185 Data Table compiler, disassembler, and the template generator.
2186     FADT - New fields and flags. Graeme Gregory.
2187     GTDT - One new subtable and new fields. Tomasz Nowicki.
2188     MADT - Two new subtables. Tomasz Nowicki.
2189     PCCT - One new subtable.
2190
2191 Miscellaneous.
2192     New notification type for System Resource Affinity change events.
2193
2194
2195 1) ACPICA kernel-resident subsystem:
2196
2197 Fixed a regression introduced in 20140627 where a fault can happen during 
2198 the deletion of Alias AML namespace objects. The problem affected both 
2199 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
2200
2201 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
2202 simple mechanism to enable wake GPEs that have no associated handler or 
2203 control method. Rafael Wysocki.
2204
2205 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
2206 handler or control method associated with the particular GPE. This will 
2207 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
2208
2209 Updated GPE handling and dispatch by disabling the GPE before clearing 
2210 the status bit for edge-triggered GPEs. Lv Zheng.
2211
2212 Added Timer() support to the AML Debug object. The current timer value is 
2213 now displayed with each invocation of (Store to) the debug object to 
2214 enable simple generation of execution times for AML code (method 
2215 execution for example.) ACPICA BZ 1093.
2216
2217 Example Code and Data Size: These are the sizes for the OS-independent 
2218 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2219 debug version of the code includes the debug output trace mechanism and 
2220 has a much larger code and data size.
2221
2222   Current Release:
2223     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
2224     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2225   Previous Release:
2226     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2227     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2228
2229
2230 2) iASL Compiler/Disassembler and Tools:
2231
2232 Fixed an issue with the recently added local printf implementation, 
2233 concerning width/precision specifiers that could cause incorrect output. 
2234 Lv Zheng. ACPICA BZ 1094.
2235
2236 Disassembler: Added support to detect buffers that contain UUIDs and 
2237 disassemble them to an invocation of the ToUUID operator. Also emit 
2238 commented descriptions of known ACPI-related UUIDs.
2239
2240 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
2241 -u. Adds three new files. 
2242
2243 iASL: Update table compiler and disassembler for DMAR table changes that 
2244 were introduced in September 2013. With assistance by David Woodhouse.
2245
2246 ----------------------------------------
2247 27 June 2014. Summary of changes for version 20140627:
2248
2249 1) ACPICA kernel-resident subsystem:
2250
2251 Formatted Output: Implemented local versions of standard formatted output 
2252 utilities such as printf, etc. Over time, it has been discovered that 
2253 there are in fact many portability issues with printf, and the addition 
2254 of this feature will fix/prevent these issues once and for all. Some 
2255 known issues are summarized below:
2256
2257 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
2258 for the Linux kernel and is %uI64 for some MSVC versions.
2259 2) Invoking printf consistently in a manner that is portable across both 
2260 32-bit and 64-bit platforms is difficult at best in many situations.
2261 3) The output format for pointers varies from system to system (leading 
2262 zeros especially), and leads to inconsistent output from ACPICA across 
2263 platforms.
2264 4) Certain platform-specific printf formats may conflict with ACPICA use.
2265 5) If there is no local C library available, ACPICA now has local support 
2266 for printf.
2267
2268 -- To address these printf issues in a complete manner, ACPICA now 
2269 directly implements a small subset of printf format specifiers, only 
2270 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
2271
2272 Implemented support for ACPICA generation within the EFI environment. 
2273 Initially, the AcpiDump utility is supported in the UEFI shell 
2274 environment. Lv Zheng.
2275
2276 Added a new external interface, AcpiLogError, to improve ACPICA 
2277 portability. This allows the host to redirect error messages from the 
2278 ACPICA utilities. Lv Zheng.
2279
2280 Added and deployed new OSL file I/O interfaces to improve ACPICA 
2281 portability:
2282   AcpiOsOpenFile
2283   AcpiOsCloseFile
2284   AcpiOsReadFile
2285   AcpiOsWriteFile
2286   AcpiOsGetFileOffset
2287   AcpiOsSetFileOffset
2288 There are C library implementations of these functions in the new file 
2289 service_layers/oslibcfs.c -- however, the functions can be implemented by 
2290 the local host in any way necessary. Lv Zheng.
2291
2292 Implemented a mechanism to disable/enable ACPI table checksum validation 
2293 at runtime. This can be useful when loading tables very early during OS 
2294 initialization when it may not be possible to map the entire table in 
2295 order to compute the checksum. Lv Zheng.
2296
2297 Fixed a buffer allocation issue for the Generic Serial Bus support. 
2298 Originally, a fixed buffer length was used. This change allows for 
2299 variable-length buffers based upon the protocol indicated by the field 
2300 access attributes. Reported by Lan Tianyu. Lv Zheng.
2301
2302 Fixed a problem where an object detached from a namespace node was not 
2303 properly terminated/cleared and could cause a circular list problem if 
2304 reattached. ACPICA BZ 1063. David Box.
2305
2306 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
2307
2308 Fixed a possible memory leak in an error return path within the function 
2309 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
2310
2311 Example Code and Data Size: These are the sizes for the OS-independent 
2312 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2313 debug version of the code includes the debug output trace mechanism and 
2314 has a much larger code and data size.
2315
2316   Current Release:
2317     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2318     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2319   Previous Release:
2320     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2321     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2322
2323
2324 2) iASL Compiler/Disassembler and Tools:
2325
2326 Disassembler: Add dump of ASCII equivalent text within a comment at the 
2327 end of each line of the output for the Buffer() ASL operator.
2328
2329 AcpiDump: Miscellaneous changes:
2330   Fixed repetitive table dump in -n mode.
2331   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
2332 the ACPI 2.0 GUID fails.
2333
2334 iASL: Fixed a problem where the compiler could fault if incorrectly given 
2335 an acpidump output file as input. ACPICA BZ 1088. David Box.
2336
2337 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
2338 they are invoked without any arguments.
2339
2340 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
2341 1086. Colin Ian King.
2342
2343 Disassembler: Cleaned up a block of code that extracts a parent Op 
2344 object. Added a comment that explains that the parent is guaranteed to be 
2345 valid in this case. ACPICA BZ 1069.
2346
2347
2348 ----------------------------------------
2349 24 April 2014. Summary of changes for version 20140424:
2350
2351 1) ACPICA kernel-resident subsystem:
2352
2353 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
2354 Some of these tables are known to contain a trailing NULL entry. Lv 
2355 Zheng.
2356
2357 Removed an extraneous error message for the case where there are a large 
2358 number of system GPEs (> 124). This was the "32-bit FADT register is too 
2359 long to convert to GAS struct" message, which is irrelevant for GPEs 
2360 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
2361 (limited capacity) GAS bit length. Also, several changes to ensure proper 
2362 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
2363 internally.
2364
2365 Implemented and deployed additional configuration support for the public 
2366 ACPICA external interfaces. Entire classes of interfaces can now be 
2367 easily modified or configured out, replaced by stubbed inline functions 
2368 by default. Lv Zheng.
2369
2370 Moved all public ACPICA runtime configuration globals to the public 
2371 ACPICA external interface file for convenience. Also, removed some 
2372 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
2373
2374 Documentation: Added a new section to the ACPICA reference describing the 
2375 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
2376 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
2377 reference.
2378
2379 Example Code and Data Size: These are the sizes for the OS-independent 
2380 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2381 debug version of the code includes the debug output trace mechanism and 
2382 has a much larger code and data size.
2383
2384   Current Release:
2385     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2386     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2387   Previous Release:
2388     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2389     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2390
2391
2392 2) iASL Compiler/Disassembler and Tools:
2393
2394 iASL and disassembler: Add full support for the LPIT table (Low Power 
2395 Idle Table). Includes support in the disassembler, data table compiler, 
2396 and template generator.
2397
2398 AcpiDump utility:
2399 1) Add option to force the use of the RSDT (over the XSDT).
2400 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
2401
2402 iASL: Add check for predefined packages that are too large.  For 
2403 predefined names that contain subpackages, check if each subpackage is 
2404 too large. (Check for too small already exists.)
2405
2406 Debugger: Updated the GPE command (which simulates a GPE by executing the 
2407 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
2408 to the GPE 0/1 FADT-defined blocks.
2409
2410 Unix application OSL: Update line-editing support. Add additional error 
2411 checking and take care not to reset terminal attributes on exit if they 
2412 were never set. This should help guarantee that the terminal is always 
2413 left in the previous state on program exit.
2414
2415
2416 ----------------------------------------
2417 25 March 2014. Summary of changes for version 20140325:
2418
2419 1) ACPICA kernel-resident subsystem:
2420
2421 Updated the auto-serialize feature for control methods. This feature 
2422 automatically serializes all methods that create named objects in order 
2423 to prevent runtime errors. The update adds support to ignore the 
2424 currently executing AML SyncLevel when invoking such a method, in order 
2425 to prevent disruption of any existing SyncLevel priorities that may exist 
2426 in the AML code. Although the use of SyncLevels is relatively rare, this 
2427 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
2428 appear on some machines starting with the 20140214 release.
2429
2430 Added a new external interface to allow the host to install ACPI tables 
2431 very early, before the namespace is even created. AcpiInstallTable gives 
2432 the host additional flexibility for ACPI table management. Tables can be 
2433 installed directly by the host as if they had originally appeared in the 
2434 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
2435 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
2436 with additional internal restructuring and cleanup. See the ACPICA 
2437 Reference for interface details. Lv Zheng.
2438
2439 Added validation of the checksum for all incoming dynamically loaded 
2440 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
2441 Zheng.
2442
2443 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
2444 and GPE handler removal. Restructured calls to eliminate possible race 
2445 conditions. Lv Zheng.
2446
2447 Added a warning for the use/execution of the ASL/AML Unload (table) 
2448 operator. This will help detect and identify machines that use this 
2449 operator if and when it is ever used. This operator has never been seen 
2450 in the field and the usage model and possible side-effects of the drastic 
2451 runtime action of a full table removal are unknown.
2452
2453 Reverted the use of #pragma push/pop which was introduced in the 20140214 
2454 release. It appears that push and pop are not implemented by enough 
2455 compilers to make the use of this feature feasible for ACPICA at this 
2456 time. However, these operators may be deployed in a future ACPICA 
2457 release.
2458
2459 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
2460 handler interfaces.
2461
2462 Source code generation:
2463 1) Disabled the use of the "strchr" macro for the gcc-specific 
2464 generation. For some versions of gcc, this macro can periodically expose 
2465 a compiler bug which in turn causes compile-time error(s).
2466 2) Added support for PPC64 compilation. Colin Ian King.
2467
2468 Example Code and Data Size: These are the sizes for the OS-independent 
2469 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2470 debug version of the code includes the debug output trace mechanism and 
2471 has a much larger code and data size.
2472
2473   Current Release:
2474     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2475     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2476   Previous Release:
2477     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
2478     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
2479
2480
2481 2) iASL Compiler/Disassembler and Tools:
2482
2483 Disassembler: Added several new features to improve the readability of 
2484 the resulting ASL code. Extra information is emitted within comment 
2485 fields in the ASL code:
2486 1) Known _HID/_CID values are decoded to descriptive text.
2487 2) Standard values for the Notify() operator are decoded to descriptive 
2488 text.
2489 3) Target operands are expanded to full pathnames (in a comment) when 
2490 possible.
2491
2492 Disassembler: Miscellaneous updates for extern() handling:
2493 1) Abort compiler if file specified by -fe option does not exist.
2494 2) Silence unnecessary warnings about argument count mismatches.
2495 3) Update warning messages concerning unresolved method externals.
2496 4) Emit "UnknownObj" keyword for externals whose type cannot be 
2497 determined.
2498
2499 AcpiHelp utility:
2500 1) Added the -a option to display both the ASL syntax and the AML 
2501 encoding for an input ASL operator. This effectively displays all known 
2502 information about an ASL operator with one AcpiHelp invocation.
2503 2) Added substring match support (similar to a wildcard) for the -i 
2504 (_HID/PNP IDs) option.
2505
2506 iASL/Disassembler: Since this tool does not yet support execution on big-
2507 endian machines, added detection of endianness and an error message if 
2508 execution is attempted on big-endian. Support for big-endian within iASL 
2509 is a feature that is on the ACPICA to-be-done list.
2510
2511 AcpiBin utility:
2512 1) Remove option to extract binary files from an acpidump; this function 
2513 is made obsolete by the AcpiXtract utility.
2514 2) General cleanup of open files and allocated buffers.
2515
2516
2517 ----------------------------------------
2518 14 February 2014. Summary of changes for version 20140214:
2519
2520 1) ACPICA kernel-resident subsystem:
2521
2522 Implemented a new mechanism to proactively prevent problems with ill-
2523 behaved reentrant control methods that create named ACPI objects. This 
2524 behavior is illegal as per the ACPI specification, but is nonetheless 
2525 frequently seen in the field. Previously, this could lead to an 
2526 AE_ALREADY_EXISTS exception if the method was actually entered by more 
2527 than one thread. This new mechanism detects such methods at table load 
2528 time and marks them "serialized" to prevent reentrancy. A new global 
2529 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
2530 feature if desired. This mechanism and global option obsoletes and 
2531 supersedes the previous AcpiGbl_SerializeAllMethods option.
2532
2533 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
2534 respond TRUE to _OSI queries with this string. It is the stated policy of 
2535 ACPICA to add new strings to the _OSI support as soon as possible after 
2536 they are defined. See the full ACPICA _OSI policy which has been added to 
2537 the utilities/utosi.c file.
2538
2539 Hardened/updated the _PRT return value auto-repair code:
2540 1) Do not abort the repair on a single subpackage failure, continue to 
2541 check all subpackages.
2542 2) Add check for the minimum subpackage length (4).
2543 3) Properly handle extraneous NULL package elements.
2544
2545 Added support to avoid the possibility of infinite loops when traversing 
2546 object linked lists. Never allow an infinite loop, even in the face of 
2547 corrupted object lists.
2548
2549 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
2550 pack(pop) directives to ensure that the ACPICA headers are independent of 
2551 compiler settings or other host headers.
2552
2553 Example Code and Data Size: These are the sizes for the OS-independent 
2554 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2555 debug version of the code includes the debug output trace mechanism and 
2556 has a much larger code and data size.
2557
2558   Current Release:
2559     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
2560     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
2561   Previous Release:
2562     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
2563     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
2564
2565
2566 2) iASL Compiler/Disassembler and Tools:
2567
2568 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
2569 first reserved field was incorrectly forced to have a value of zero. This 
2570 change correctly forces the field to have a value of one. ACPICA BZ 1081.
2571
2572 Debugger: Added missing support for the "Extra" and "Data" subobjects 
2573 when displaying object data.
2574
2575 Debugger: Added support to display entire object linked lists when 
2576 displaying object data.
2577
2578 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
2579 Windows registry. This feature has been superseded by the acpidump 
2580 utility. 
2581
2582
2583 ----------------------------------------
2584 14 January 2014. Summary of changes for version 20140114:
2585
2586 1) ACPICA kernel-resident subsystem:
2587
2588 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
2589 copyright to all module headers and signons, including the standard Linux 
2590 header. This affects virtually every file in the ACPICA core subsystem, 
2591 iASL compiler, all ACPICA utilities, and the test suites.
2592
2593 Improved parameter validation for AcpiInstallGpeBlock. Added the 
2594 following checks:
2595 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
2596 2) There is not already a GPE block attached to the device.
2597 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
2598 device.
2599
2600 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
2601 support to allow references (namespace nodes) to be passed as arguments 
2602 to control methods via the evaluate object interface. This is probably 
2603 most useful for testing purposes, however.
2604
2605 Improved support for 32/64 bit physical addresses in printf()-like 
2606 output. This change improves the support for physical addresses in printf 
2607 debug statements and other output on both 32-bit and 64-bit hosts. It 
2608 consistently outputs the appropriate number of bytes for each host. The 
2609 %p specifier is unsatisfactory since it does not emit uniform output on 
2610 all hosts/clib implementations (on some, leading zeros are not supported, 
2611 leading to difficult-to-read output).
2612
2613 Example Code and Data Size: These are the sizes for the OS-independent 
2614 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2615 debug version of the code includes the debug output trace mechanism and 
2616 has a much larger code and data size.
2617
2618   Current Release:
2619     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
2620     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
2621   Previous Release:
2622     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
2623     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
2624
2625
2626 2) iASL Compiler/Disassembler and Tools:
2627
2628 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
2629 problem if the parent Field definition for the Connection operator refers 
2630 to an operation region that does not exist. ACPICA BZ 1064.
2631
2632 AcpiExec: Load of local test tables is now optional. The utility has the 
2633 capability to load some various tables to test features of ACPICA. 
2634 However, there are enough of them that the output of the utility became 
2635 confusing. With this change, only the required local tables are displayed 
2636 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
2637 line specification. This makes the default output simler and easier to 
2638 understand. The -el command line option restores the original behavior 
2639 for testing purposes.
2640
2641 AcpiExec: Added support for overlapping operation regions. This change 
2642 expands the simulation of operation regions by supporting regions that 
2643 overlap within the given address space. Supports SystemMemory and 
2644 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
2645
2646 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
2647 allows AcpiExec to simulate these address spaces, similar to the current 
2648 support for SystemMemory and SystemIO.
2649
2650 Debugger: Added new command to read/write/compare all namespace objects. 
2651 The command "test objects" will exercise the entire namespace by writing 
2652 new values to each data object, and ensuring that the write was 
2653 successful. The original value is then restored and verified.
2654
2655 Debugger: Added the "test predefined" command. This change makes this 
2656 test public and puts it under the new "test" command. The test executes 
2657 each and every predefined name within the current namespace.
2658
2659
2660 ----------------------------------------
2661 18 December 2013. Summary of changes for version 20131218:
2662
2663 Global note: The ACPI 5.0A specification was released this month. There 
2664 are no changes needed for ACPICA since this release of ACPI is an 
2665 errata/clarification release. The specification is available at 
2666 acpi.info. 
2667
2668
2669 1) ACPICA kernel-resident subsystem:
2670
2671 Added validation of the XSDT root table if it is present. Some older 
2672 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
2673 as containing some or all entries that are NULL pointers). This change 
2674 adds a new function to validate the XSDT before actually using it. If the 
2675 XSDT is found to be invalid, ACPICA will now automatically fall back to 
2676 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
2677 ACPICA and enhanced by Lv Zheng and Bob Moore.
2678
2679 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
2680 This change adds a runtime option that will force ACPICA to use the RSDT 
2681 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
2682 requires that an XSDT be used instead of the RSDT, the XSDT has been 
2683 found to be corrupt or ill-formed on some machines. Lv Zheng.
2684
2685 Added a runtime option to favor 32-bit FADT register addresses over the 
2686 64-bit addresses. This change adds an option to favor 32-bit FADT 
2687 addresses when there is a conflict between the 32-bit and 64-bit versions 
2688 of the same register. The default behavior is to use the 64-bit version 
2689 in accordance with the ACPI specification. This can now be overridden via 
2690 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
2691
2692 During the change above, the internal "Convert FADT" and "Verify FADT" 
2693 functions have been merged to simplify the code, making it easier to 
2694 understand and maintain. ACPICA BZ 933.
2695
2696 Improve exception reporting and handling for GPE block installation. 
2697 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
2698 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
2699
2700 Added helper macros to extract bus/segment numbers from the HEST table. 
2701 This change adds two macros to extract the encoded bus and segment 
2702 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
2703 Betty Dall <betty.dall@hp.com>
2704
2705 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
2706 by ACPICA. It is not a public macro, so it should have no effect on 
2707 existing OSV code. Lv Zheng.
2708
2709 Example Code and Data Size: These are the sizes for the OS-independent 
2710 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2711 debug version of the code includes the debug output trace mechanism and 
2712 has a much larger code and data size.
2713
2714   Current Release:
2715     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
2716     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
2717   Previous Release:
2718     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
2719     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
2720
2721
2722 2) iASL Compiler/Disassembler and Tools:
2723
2724 Disassembler: Improved pathname support for emitted External() 
2725 statements. This change adds full pathname support for external names 
2726 that have been resolved internally by the inclusion of additional ACPI 
2727 tables (via the iASL -e option). Without this change, the disassembler 
2728 can emit multiple externals for the same object, or it become confused 
2729 when the Scope() operator is used on an external object. Overall, greatly 
2730 improves the ability to actually recompile the emitted ASL code when 
2731 objects a referenced across multiple ACPI tables. Reported by Michael 
2732 Tsirkin (mst@redhat.com).
2733
2734 Tests/ASLTS: Updated functional control suite to execute with no errors. 
2735 David Box. Fixed several errors related to the testing of the interpreter 
2736 slack mode. Lv Zheng.
2737
2738 iASL: Added support to detect names that are declared within a control 
2739 method, but are unused (these are temporary names that are only valid 
2740 during the time the method is executing). A remark is issued for these 
2741 cases. ACPICA BZ 1022.
2742
2743 iASL: Added full support for the DBG2 table. Adds full disassembler, 
2744 table compiler, and template generator support for the DBG2 table (Debug 
2745 Port 2 table).
2746
2747 iASL: Added full support for the PCCT table, update the table definition. 
2748 Updates the PCCT table definition in the actbl3.h header and adds table 
2749 compiler and template generator support.
2750
2751 iASL: Added an option to emit only error messages (no warnings/remarks). 
2752 The -ve option will enable only error messages, warnings and remarks are 
2753 suppressed. This can simplify debugging when only the errors are 
2754 important, such as when an ACPI table is disassembled and there are many 
2755 warnings and remarks -- but only the actual errors are of real interest.
2756
2757 Example ACPICA code (source/tools/examples): Updated the example code so 
2758 that it builds to an actual working program, not just example code. Added 
2759 ACPI tables and execution of an example control method in the DSDT. Added 
2760 makefile support for Unix generation.
2761
2762
2763 ----------------------------------------
2764 15 November 2013. Summary of changes for version 20131115:
2765
2766 This release is available at https://acpica.org/downloads
2767
2768
2769 1) ACPICA kernel-resident subsystem:
2770
2771 Resource Manager: Fixed loop termination for the "get AML length" 
2772 function. The loop previously had an error termination on a NULL resource 
2773 pointer, which can never happen since the loop simply increments a valid 
2774 resource pointer. This fix changes the loop to terminate with an error on 
2775 an invalid end-of-buffer condition. The problem can be seen as an 
2776 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
2777 corrupted resource descriptor, or a resource descriptor that is missing 
2778 an END_TAG descriptor. Reported by Dan Carpenter 
2779 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
2780
2781 Table unload and ACPICA termination: Delete all attached data objects 
2782 during namespace node deletion. This fix updates namespace node deletion 
2783 to delete the entire list of attached objects (attached via 
2784 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
2785 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
2786
2787 ACPICA termination: Added support to delete all objects attached to the 
2788 root namespace node. This fix deletes any and all objects that have been 
2789 attached to the root node via AcpiAttachData. Previously, none of these 
2790 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
2791
2792 Debug output: Do not emit the function nesting level for the in-kernel 
2793 build. The nesting level is really only useful during a single-thread 
2794 execution. Therefore, only enable this output for the AcpiExec utility. 
2795 Also, only emit the thread ID when executing under AcpiExec (Context 
2796 switches are still always detected and a message is emitted). ACPICA BZ 
2797 972.
2798
2799 Example Code and Data Size: These are the sizes for the OS-independent 
2800 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2801 debug version of the code includes the debug output trace mechanism and 
2802 has a much larger code and data size.
2803
2804   Current Release:
2805     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
2806     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
2807   Previous Release:
2808     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
2809     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
2810
2811
2812 2) iASL Compiler/Disassembler and Tools:
2813
2814 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
2815 correct portable POSIX header for terminal control functions.
2816
2817 Disassembler: Fixed control method invocation issues related to the use 
2818 of the CondRefOf() operator. The problem is seen in the disassembly where 
2819 control method invocations may not be disassembled properly if the 
2820 control method name has been used previously as an argument to CondRefOf. 
2821 The solution is to not attempt to emit an external declaration for the 
2822 CondRefOf target (it is not necessary in the first place). This prevents 
2823 disassembler object type confusion. ACPICA BZ 988.
2824
2825 Unix Makefiles: Added an option to disable compiler optimizations and the 
2826 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
2827 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
2828 command line option for make (NOOPT) that disables all compiler 
2829 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
2830 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
2831 1034. Lv Zheng, Bob Moore.
2832
2833 Tests/ASLTS: Added options to specify individual test cases and modes. 
2834 This allows testers running aslts.sh to optionally specify individual 
2835 test modes and test cases. Also added an option to disable the forced 
2836 generation of the ACPICA tools from source if desired. Lv Zheng.
2837
2838 ----------------------------------------
2839 27 September 2013. Summary of changes for version 20130927:
2840
2841 This release is available at https://acpica.org/downloads
2842
2843
2844 1) ACPICA kernel-resident subsystem:
2845
2846 Fixed a problem with store operations to reference objects. This change 
2847 fixes a problem where a Store operation to an ArgX object that contained 
2848
2849 reference to a field object did not complete the automatic dereference 
2850 and 
2851 then write to the actual field object. Instead, the object type of the 
2852 field object was inadvertently changed to match the type of the source 
2853 operand. The new behavior will actually write to the field object (buffer 
2854 field or field unit), thus matching the correct ACPI-defined behavior.
2855
2856 Implemented support to allow the host to redefine individual OSL 
2857 prototypes. This change enables the host to redefine OSL prototypes found 
2858 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
2859 with a macro or inlined function. Further, it allows the host to add any 
2860 additional required modifiers such as __iomem, __init, __exit, etc., as 
2861 necessary on a per-interface basis. Enables maximum flexibility for the 
2862 OSL interfaces. Lv Zheng.
2863
2864 Hardcoded the access width for the FADT-defined reset register. The ACPI 
2865 specification requires the reset register width to be 8 bits. ACPICA now 
2866 hardcodes the width to 8 and ignores the FADT width value. This provides 
2867 compatibility with other ACPI implementations that have allowed BIOS code 
2868 with bad register width values to go unnoticed. Matthew Garett, Bob 
2869 Moore, 
2870 Lv Zheng.
2871
2872 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
2873 used 
2874 in the OSL header (acpiosxf). The change modifies the position of this 
2875 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
2876 build issues if the OSL defines the implementation of the interface to be 
2877 an inline stub function. Lv Zheng.
2878
2879 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
2880 initialization interfaces. This change adds a new macro for the main init 
2881 and terminate external interfaces in order to support hosts that require 
2882 additional or different processing for these functions. Changed from 
2883 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
2884 Zheng, Bob Moore.
2885
2886 Cleaned up the memory allocation macros for configurability. In the 
2887 common 
2888 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
2889 respective AcpiOs* OSL interfaces. Two options:
2890 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
2891 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
2892 2) For AcpiExec (and for debugging), the macros can optionally be 
2893 resolved 
2894 to the local ACPICA interfaces that track each allocation (local tracking 
2895 is used to immediately detect memory leaks).
2896 Lv Zheng.
2897
2898 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
2899 to predefine this macro to either TRUE or FALSE during the system build.
2900
2901 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
2902
2903 Example Code and Data Size: These are the sizes for the OS-independent 
2904 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2905 debug version of the code includes the debug output trace mechanism and 
2906 has a much larger code and data size.
2907
2908   Current Release:
2909     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
2910     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
2911   Previous Release:
2912     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
2913     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
2914
2915
2916 2) iASL Compiler/Disassembler and Tools:
2917
2918 iASL: Implemented wildcard support for the -e option. This simplifies use 
2919 when there are many SSDTs that must be included to resolve external 
2920 method 
2921 declarations. ACPICA BZ 1041. Example:
2922     iasl -e ssdt*.dat -d dsdt.dat
2923
2924 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
2925 adds a portable module that implements full history and limited line 
2926 editing for Unix and Linux systems. It does not use readline() due to 
2927 portability issues. Instead it uses the POSIX termio interface to put the 
2928 terminal in raw input mode so that the various special keys can be 
2929 trapped 
2930 (such as up/down-arrow for history support and left/right-arrow for line 
2931 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
2932
2933 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
2934 one or more spaces. This provides compatible with early or different 
2935 versions of the AcpiDump utility. ACPICA BZ 1044.
2936
2937 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
2938 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
2939 no other data. This change adds support to dump these tables. Any tables 
2940 shorter than the length of an ACPI table header remain in error (an error 
2941 message is emitted). Reported by Yi Li.
2942
2943 Debugger: Echo actual command along with the "unknown command" message.
2944
2945 ----------------------------------------
2946 23 August 2013. Summary of changes for version 20130823:
2947
2948 1) ACPICA kernel-resident subsystem:
2949
2950 Implemented support for host-installed System Control Interrupt (SCI) 
2951 handlers. Certain ACPI functionality requires the host to handle raw 
2952 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
2953 state support requires the host device driver to handle SCIs to examine 
2954 if the doorbell has been activated. Multiple SCI handlers can be 
2955 installed to allow for future expansion. New external interfaces are 
2956 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
2957 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
2958
2959 Operation region support: Never locally free the handler "context" 
2960 pointer. This change removes some dangerous code that attempts to free 
2961 the handler context pointer in some (rare) circumstances. The owner of 
2962 the handler owns this pointer and the ACPICA code should never touch it. 
2963 Although not seen to be an issue in any kernel, it did show up as a 
2964 problem (fault) under AcpiExec. Also, set the internal storage field for 
2965 the context pointer to zero when the region is deactivated, simply for 
2966 sanity. David Box. ACPICA BZ 1039.
2967
2968 AcpiRead: On error, do not modify the return value target location. If an 
2969 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
2970 modify the target of the return value pointer. Makes the code consistent 
2971 with the rest of ACPICA. Bjorn Helgaas.
2972
2973 Example Code and Data Size: These are the sizes for the OS-independent 
2974 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2975 debug version of the code includes the debug output trace mechanism and 
2976 has a much larger code and data size.
2977
2978   Current Release:
2979     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
2980     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
2981   Previous Release:
2982     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
2983     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
2984
2985
2986 2) iASL Compiler/Disassembler and Tools:
2987
2988 AcpiDump: Implemented several new features and fixed some problems:
2989 1) Added support to dump the RSDP, RSDT, and XSDT tables.
2990 2) Added support for multiple table instances (SSDT, UEFI).
2991 3) Added option to dump "customized" (overridden) tables (-c).
2992 4) Fixed a problem where some table filenames were improperly 
2993 constructed.
2994 5) Improved some error messages, removed some unnecessary messages.
2995
2996 iASL: Implemented additional support for disassembly of ACPI tables that 
2997 contain invocations of external control methods. The -fe<file> option 
2998 allows the import of a file that specifies the external methods along 
2999 with the required number of arguments for each -- allowing for the 
3000 correct disassembly of the table. This is a workaround for a limitation 
3001 of AML code where the disassembler often cannot determine the number of 
3002 arguments required for an external control method and generates incorrect 
3003 ASL code. See the iASL reference for details. ACPICA BZ 1030.
3004
3005 Debugger: Implemented a new command (paths) that displays the full 
3006 pathnames (namepaths) and object types of all objects in the namespace. 
3007 This is an alternative to the namespace command.
3008
3009 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
3010 mechanism and any installed handlers.
3011
3012 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
3013 This can occur if there are too many parent prefixes in a namepath (for 
3014 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3015
3016 Application OSLs: Set the return value for the PCI read functions. These 
3017 functions simply return AE_OK, but should set the return value to zero 
3018 also. This change implements this. ACPICA BZ 1038.
3019
3020 Debugger: Prevent possible command line buffer overflow. Increase the 
3021 size of a couple of the debugger line buffers, and ensure that overflow 
3022 cannot happen. ACPICA BZ 1037.
3023
3024 iASL: Changed to abort immediately on serious errors during the parsing 
3025 phase. Due to the nature of ASL, there is no point in attempting to 
3026 compile these types of errors, and they typically end up causing a 
3027 cascade of hundreds of errors which obscure the original problem.
3028
3029 ----------------------------------------
3030 25 July 2013. Summary of changes for version 20130725:
3031
3032 1) ACPICA kernel-resident subsystem:
3033
3034 Fixed a problem with the DerefOf operator where references to FieldUnits 
3035 and BufferFields incorrectly returned the parent object, not the actual 
3036 value of the object. After this change, a dereference of a FieldUnit 
3037 reference results in a read operation on the field to get the value, and 
3038 likewise, the appropriate BufferField value is extracted from the target 
3039 buffer.
3040
3041 Fixed a problem where the _WAK method could cause a fault under these 
3042 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
3043 method returned no value. The problem is rarely seen because most kernels 
3044 run ACPICA in slack mode.
3045
3046 For the DerefOf operator, a fatal error now results if an attempt is made 
3047 to dereference a reference (created by the Index operator) to a NULL 
3048 package element. Provides compatibility with other ACPI implementations, 
3049 and this behavior will be added to a future version of the ACPI 
3050 specification.
3051
3052 The ACPI Power Management Timer (defined in the FADT) is now optional. 
3053 This provides compatibility with other ACPI implementations and will 
3054 appear in the next version of the ACPI specification. If there is no PM 
3055 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
3056 zero in the FADT indicates no PM timer.
3057
3058 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
3059 allows the host to globally enable/disable all vendor strings, all 
3060 feature strings, or both. Intended to be primarily used for debugging 
3061 purposes only. Lv Zheng.
3062
3063 Expose the collected _OSI data to the host via a global variable. This 
3064 data tracks the highest level vendor ID that has been invoked by the BIOS 
3065 so that the host (and potentially ACPICA itself) can change behaviors 
3066 based upon the age of the BIOS.
3067
3068 Example Code and Data Size: These are the sizes for the OS-independent 
3069 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3070 debug version of the code includes the debug output trace mechanism and 
3071 has a much larger code and data size.
3072
3073   Current Release:
3074     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3075     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3076   Previous Release:
3077     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3078     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3079
3080
3081 2) iASL Compiler/Disassembler and Tools:
3082
3083 iASL: Created the following enhancements for the -so option (create 
3084 offset table):
3085 1)Add offsets for the last nameseg in each namepath for every supported 
3086 object type
3087 2)Add support for Processor, Device, Thermal Zone, and Scope objects
3088 3)Add the actual AML opcode for the parent object of every supported 
3089 object type
3090 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
3091
3092 Disassembler: Emit all unresolved external symbols in a single block. 
3093 These are external references to control methods that could not be 
3094 resolved, and thus, the disassembler had to make a guess at the number of 
3095 arguments to parse.
3096
3097 iASL: The argument to the -T option (create table template) is now 
3098 optional. If not specified, the default table is a DSDT, typically the 
3099 most common case.
3100
3101 ----------------------------------------
3102 26 June 2013. Summary of changes for version 20130626:
3103
3104 1) ACPICA kernel-resident subsystem:
3105
3106 Fixed an issue with runtime repair of the _CST object. Null or invalid 
3107 elements were not always removed properly. Lv Zheng. 
3108
3109 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
3110 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
3111 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
3112 makes the system-wide number of GPEs essentially unlimited.
3113
3114 Example Code and Data Size: These are the sizes for the OS-independent 
3115 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3116 debug version of the code includes the debug output trace mechanism and 
3117 has a much larger code and data size.
3118
3119   Current Release:
3120     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3121     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3122   Previous Release:
3123     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3124     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3125
3126
3127 2) iASL Compiler/Disassembler and Tools:
3128
3129 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
3130 hosts. Now supports Linux, FreeBSD, and Windows.
3131
3132 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
3133 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
3134
3135 iASL/Preprocessor: Implemented full support for nested 
3136 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
3137
3138 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
3139 max. The original purpose of this constraint was to limit the amount of 
3140 debug output. However, the string function in question (UtPrintString) is 
3141 now used for the disassembler also, where 256 bytes is insufficient. 
3142 Reported by RehabMan@GitHub.
3143
3144 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
3145 tables. ACPICA BZ 999. Lv Zheng.
3146
3147 iASL: Fixed a couple of error exit issues that could result in a "Could 
3148 not delete <file>" message during ASL compilation.
3149
3150 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
3151 the actual signatures for these tables are "FACP" and "APIC", 
3152 respectively.
3153
3154 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
3155 tables are allowed to have multiple instances.
3156
3157 ----------------------------------------
3158 17 May 2013. Summary of changes for version 20130517:
3159
3160 1) ACPICA kernel-resident subsystem:
3161
3162 Fixed a regression introduced in version 20130328 for _INI methods. This 
3163 change fixes a problem introduced in 20130328 where _INI methods are no 
3164 longer executed properly because of a memory block that was not 
3165 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
3166 <tomasz.nowicki@linaro.org>.
3167
3168 Fixed a possible problem with the new extended sleep registers in the 
3169 ACPI 
3170 5.0 FADT. Do not use these registers (even if populated) unless the HW-
3171 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
3172 1020. Lv Zheng.
3173
3174 Implemented return value repair code for _CST predefined objects: Sort 
3175 the 
3176 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
3177
3178 Implemented a debug-only option to disable loading of SSDTs from the 
3179 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
3180 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
3181 acglobal.h - ACPICA BZ 1005. Lv Zheng.
3182
3183 Fixed some issues in the ACPICA initialization and termination code: 
3184 Tomasz Nowicki <tomasz.nowicki@linaro.org>
3185 1) Clear events initialized flag upon event component termination. ACPICA 
3186 BZ 1013.
3187 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
3188 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
3189 4) Clear debug buffer global on termination to prevent possible multiple 
3190 delete. ACPICA BZ 1010.
3191
3192 Standardized all switch() blocks across the entire source base. After 
3193 many 
3194 years, different formatting for switch() had crept in. This change makes 
3195 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
3196
3197 Split some files to enhance ACPICA modularity and configurability:
3198 1) Split buffer dump routines into utilities/utbuffer.c
3199 2) Split internal error message routines into utilities/uterror.c
3200 3) Split table print utilities into tables/tbprint.c
3201 4) Split iASL command-line option processing into asloptions.c
3202
3203 Makefile enhancements:
3204 1) Support for all new files above.
3205 2) Abort make on errors from any subcomponent. Chao Guan.
3206 3) Add build support for Apple Mac OS X. Liang Qi.
3207
3208 Example Code and Data Size: These are the sizes for the OS-independent 
3209 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3210 debug version of the code includes the debug output trace mechanism and 
3211 has a much larger code and data size.
3212
3213   Current Release:
3214     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3215     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3216   Previous Release:
3217     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3218     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3219
3220
3221 2) iASL Compiler/Disassembler and Tools:
3222
3223 New utility: Implemented an easily portable version of the acpidump 
3224 utility to extract ACPI tables from the system (or a file) in an ASCII 
3225 hex 
3226 dump format. The top-level code implements the various command line 
3227 options, file I/O, and table dump routines. To port to a new host, only 
3228 three functions need to be implemented to get tables -- since this 
3229 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
3230 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
3231 1) The Windows version obtains the ACPI tables from the Registry.
3232 2) The Linux version is under development.
3233 3) Other hosts - If an OS-dependent module is submitted, it will be 
3234 distributed with ACPICA.
3235
3236 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
3237 restructuring/change to the initialization sequence caused this option to 
3238 no longer work properly.
3239
3240 iASL: Implemented a mechanism to disable specific warnings and remarks. 
3241 Adds a new command line option, "-vw <messageid> as well as "#pragma 
3242 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
3243
3244 iASL: Fix for too-strict package object validation. The package object 
3245 validation for return values from the predefined names is a bit too 
3246 strict, it does not allow names references within the package (which will 
3247 be resolved at runtime.) These types of references cannot be validated at 
3248 compile time. This change ignores named references within package objects 
3249 for names that return or define static packages.
3250
3251 Debugger: Fixed the 80-character command line limitation for the History 
3252 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
3253
3254 iASL: Added control method and package support for the -so option 
3255 (generates AML offset table for BIOS support.)
3256
3257 iASL: issue a remark if a non-serialized method creates named objects. If 
3258 a thread blocks within the method for any reason, and another thread 
3259 enters the method, the method will fail because an attempt will be made 
3260 to 
3261 create the same (named) object twice. In this case, issue a remark that 
3262 the method should be marked serialized. NOTE: may become a warning later. 
3263 ACPICA BZ 909.
3264
3265 ----------------------------------------
3266 18 April 2013. Summary of changes for version 20130418:
3267
3268 1) ACPICA kernel-resident subsystem:
3269
3270 Fixed a possible buffer overrun during some rare but specific field unit 
3271 read operations. This overrun can only happen if the DSDT version is 1 -- 
3272 meaning that all AML integers are 32 bits -- and the field length is 
3273 between 33 and 55 bits long. During the read, an internal buffer object 
3274 is 
3275 created for the field unit because the field is larger than an integer 
3276 (32 
3277 bits). However, in this case, the buffer will be incorrectly written 
3278 beyond the end because the buffer length is less than the internal 
3279 minimum 
3280 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
3281 long, but a full 8 bytes will be written.
3282
3283 Updated the Embedded Controller "orphan" _REG method support. This refers 
3284 to _REG methods under the EC device that have no corresponding operation 
3285 region. This is allowed by the ACPI specification. This update removes a 
3286 dependency on the existence an ECDT table. It will execute an orphan _REG 
3287 method as long as the operation region handler for the EC is installed at 
3288 the EC device node and not the namespace root. Rui Zhang (original 
3289 update), Bob Moore (update/integrate).
3290
3291 Implemented run-time argument typechecking for all predefined ACPI names 
3292 (_STA, _BIF, etc.) This change performs object typechecking on all 
3293 incoming arguments for all predefined names executed via 
3294 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
3295 passing correct object types as well as the correct number of arguments 
3296 (therefore identifying any issues immediately). Also, the ASL/namespace 
3297 definition of the predefined name is checked against the ACPI 
3298 specification for the proper argument count. Adds one new file, 
3299 nsarguments.c
3300
3301 Changed an exception code for the ASL UnLoad() operator. Changed the 
3302 exception code for the case where the input DdbHandle is invalid, from 
3303 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
3304
3305 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
3306 global makefile. The use of this flag causes compiler errors on earlier 
3307 versions of GCC, so it has been removed for compatibility.
3308
3309 Miscellaneous cleanup:
3310 1) Removed some unused/obsolete macros
3311 2) Fixed a possible memory leak in the _OSI support
3312 3) Removed an unused variable in the predefined name support
3313 4) Windows OSL: remove obsolete reference to a memory list field
3314
3315 Example Code and Data Size: These are the sizes for the OS-independent 
3316 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3317 debug version of the code includes the debug output trace mechanism and 
3318 has a much larger code and data size.
3319
3320   Current Release:
3321     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3322     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3323   Previous Release:
3324     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3325     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3326
3327
3328 2) iASL Compiler/Disassembler and Tools:
3329
3330 AcpiExec: Added installation of a handler for the SystemCMOS address 
3331 space. This prevents control method abort if a method accesses this 
3332 space.
3333
3334 AcpiExec: Added support for multiple EC devices, and now install EC 
3335 operation region handler(s) at the actual EC device instead of the 
3336 namespace root. This reflects the typical behavior of host operating 
3337 systems.
3338
3339 AcpiExec: Updated to ensure that all operation region handlers are 
3340 installed before the _REG methods are executed. This prevents a _REG 
3341 method from aborting if it accesses an address space has no handler. 
3342 AcpiExec installs a handler for every possible address space.
3343
3344 Debugger: Enhanced the "handlers" command to display non-root handlers. 
3345 This change enhances the handlers command to display handlers associated 
3346 with individual devices throughout the namespace, in addition to the 
3347 currently supported display of handlers associated with the root 
3348 namespace 
3349 node.
3350
3351 ASL Test Suite: Several test suite errors have been identified and 
3352 resolved, reducing the total error count during execution. Chao Guan.
3353
3354 ----------------------------------------
3355 28 March 2013. Summary of changes for version 20130328:
3356
3357 1) ACPICA kernel-resident subsystem:
3358
3359 Fixed several possible race conditions with the internal object reference 
3360 counting mechanism. Some of the external ACPICA interfaces update object 
3361 reference counts without holding the interpreter or namespace lock. This 
3362 change adds a spinlock to protect reference count updates on the internal 
3363 ACPICA objects. Reported by and with assistance from Andriy Gapon 
3364 (avg@FreeBSD.org).
3365
3366 FADT support: Removed an extraneous warning for very large GPE register 
3367 sets. This change removes a size mismatch warning if the legacy length 
3368 field for a GPE register set is larger than the 64-bit GAS structure can 
3369 accommodate. GPE register sets can be larger than the 255-bit width 
3370 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
3371
3372 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
3373 return from this interface. Handles a possible timeout case if 
3374 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
3375 "forever". Jung-uk Kim.
3376
3377 Predefined name support: Add allowed/required argument type information 
3378 to 
3379 the master predefined info table. This change adds the infrastructure to 
3380 enable typechecking on incoming arguments for all predefined 
3381 methods/objects. It does not actually contain the code that will fully 
3382 utilize this information, this is still under development. Also condenses 
3383 some duplicate code for the predefined names into a new module, 
3384 utilities/utpredef.c
3385
3386 Example Code and Data Size: These are the sizes for the OS-independent 
3387 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3388 debug version of the code includes the debug output trace mechanism and 
3389 has a much larger code and data size.
3390
3391   Previous Release:
3392     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3393     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3394   Current Release:
3395     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3396     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3397
3398
3399 2) iASL Compiler/Disassembler and Tools:
3400
3401 iASL: Implemented a new option to simplify the development of ACPI-
3402 related 
3403 BIOS code. Adds support for a new "offset table" output file. The -so 
3404 option will create a C table containing the AML table offsets of various 
3405 named objects in the namespace so that BIOS code can modify them easily 
3406 at 
3407 boot time. This can simplify BIOS runtime code by eliminating expensive 
3408 searches for "magic values", enhancing boot times and adding greater 
3409 reliability. With assistance from Lee Hamel.
3410
3411 iASL: Allow additional predefined names to return zero-length packages. 
3412 Now, all predefined names that are defined by the ACPI specification to 
3413 return a "variable-length package of packages" are allowed to return a 
3414 zero length top-level package. This allows the BIOS to tell the host that 
3415 the requested feature is not supported, and supports existing BIOS/ASL 
3416 code and practices.
3417
3418 iASL: Changed the "result not used" warning to an error. This is the case 
3419 where an ASL operator is effectively a NOOP because the result of the 
3420 operation is not stored anywhere. For example:
3421     Add (4, Local0)
3422 There is no target (missing 3rd argument), nor is the function return 
3423 value used. This is potentially a very serious problem -- since the code 
3424 was probably intended to do something, but for whatever reason, the value 
3425 was not stored. Therefore, this issue has been upgraded from a warning to 
3426 an error.
3427
3428 AcpiHelp: Added allowable/required argument types to the predefined names 
3429 info display. This feature utilizes the recent update to the predefined 
3430 names table (above).
3431
3432 ----------------------------------------
3433 14 February 2013. Summary of changes for version 20130214:
3434
3435 1) ACPICA Kernel-resident Subsystem:
3436
3437 Fixed a possible regression on some hosts: Reinstated the safe return 
3438 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
3439 evaluated only once. Although these macros are not needed for the ACPICA 
3440 code itself, they are often used by ACPI-related host device drivers 
3441 where 
3442 the safe feature may be necessary.
3443
3444 Fixed several issues related to the ACPI 5.0 reduced hardware support 
3445 (SOC): Now ensure that if the platform declares itself as hardware-
3446 reduced 
3447 via the FADT, the following functions become NOOPs (and always return 
3448 AE_OK) because ACPI is always enabled by definition on these machines:
3449   AcpiEnable
3450   AcpiDisable
3451   AcpiHwGetMode
3452   AcpiHwSetMode
3453
3454 Dynamic Object Repair: Implemented additional runtime repairs for 
3455 predefined name return values. Both of these repairs can simplify code in 
3456 the related device drivers that invoke these methods:
3457 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
3458 string to a Unicode buffer. 
3459 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
3460
3461 lone end tag descriptor in the following cases: A Return(0) was executed, 
3462 a null buffer was returned, or no object at all was returned (non-slack 
3463 mode only). Adds a new file, nsconvert.c
3464 ACPICA BZ 998. Bob Moore, Lv Zheng.
3465
3466 Resource Manager: Added additional code to prevent possible infinite 
3467 loops 
3468 while traversing corrupted or ill-formed resource template buffers. Check 
3469 for zero-length resource descriptors in all code that loops through 
3470 resource templates (the length field is used to index through the 
3471 template). This change also hardens the external AcpiWalkResources and 
3472 AcpiWalkResourceBuffer interfaces.
3473
3474 Local Cache Manager: Enhanced the main data structure to eliminate an 
3475 unnecessary mechanism to access the next object in the list. Actually 
3476 provides a small performance enhancement for hosts that use the local 
3477 ACPICA cache manager. Jung-uk Kim.
3478
3479 Example Code and Data Size: These are the sizes for the OS-independent 
3480 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3481 debug version of the code includes the debug output trace mechanism and 
3482 has a much larger code and data size.
3483
3484   Previous Release:
3485     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
3486     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
3487   Current Release:
3488     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3489     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3490
3491
3492 2) iASL Compiler/Disassembler and Tools:
3493
3494 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
3495 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
3496 that were made to the ACPI 5.0 specification.
3497
3498 iASL/Disassembler: Added full support for the following new ACPI tables:
3499   1) The MTMR table (MID Timer Table)
3500   2) The VRTC table (Virtual Real Time Clock Table).
3501 Includes header file, disassembler, table compiler, and template support 
3502 for both tables.
3503
3504 iASL: Implemented compile-time validation of package objects returned by 
3505 predefined names. This new feature validates static package objects 
3506 returned by the various predefined names defined to return packages. Both 
3507 object types and package lengths are validated, for both parent packages 
3508 and sub-packages, if any. The code is similar in structure and behavior 
3509 to 
3510 the runtime repair mechanism within the AML interpreter and uses the 
3511 existing predefined name information table. Adds a new file, aslprepkg.c. 
3512 ACPICA BZ 938.
3513
3514 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
3515 This feature detects a binary file with a valid ACPI table header and 
3516 invokes the disassembler automatically. Eliminates the need to 
3517 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
3518
3519 iASL/Disassembler: Added several warnings for the case where there are 
3520 unresolved control methods during the disassembly. This can potentially 
3521 cause errors when the output file is compiled, because the disassembler 
3522 assumes zero method arguments in these cases (it cannot determine the 
3523 actual number of arguments without resolution/definition of the method).
3524
3525 Debugger: Added support to display all resources with a single command. 
3526 Invocation of the resources command with no arguments will now display 
3527 all 
3528 resources within the current namespace.
3529
3530 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
3531 via the -e option.
3532
3533 ----------------------------------------
3534 17 January 2013. Summary of changes for version 20130117:
3535
3536 1) ACPICA Kernel-resident Subsystem:
3537
3538 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
3539 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
3540 objects to return a package containing one integer, most BIOS code 
3541 returns 
3542 two integers and the previous code reflects that. However, we also need 
3543 to 
3544 support BIOS code that actually implements to the ACPI spec, and this 
3545 change reflects this.
3546
3547 Fixed two issues with the ACPI_DEBUG_PRINT macros:
3548 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
3549 C compilers that require this support.
3550 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
3551 ACPI_DEBUG is already used by many of the various hosts.
3552
3553 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
3554 copyright to all module headers and signons, including the standard Linux 
3555 header. This affects virtually every file in the ACPICA core subsystem, 
3556 iASL compiler, all ACPICA utilities, and the test suites.
3557
3558 Example Code and Data Size: These are the sizes for the OS-independent 
3559 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3560 debug version of the code includes the debug output trace mechanism and 
3561 has a much larger code and data size.
3562
3563   Previous Release:
3564     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
3565     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
3566   Current Release:
3567     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
3568     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
3569
3570
3571 2) iASL Compiler/Disassembler and Tools:
3572
3573 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
3574 prevent a possible fault on some hosts. Some C libraries modify the arg 
3575 pointer parameter to vfprintf making it difficult to call it twice in the 
3576 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
3577 does not affect the Windows OSL since the Win C library does not modify 
3578 the arg pointer. Chao Guan, Bob Moore.
3579
3580 iASL: Fixed a possible infinite loop when the maximum error count is 
3581 reached. If an output file other than the .AML file is specified (such as 
3582 a listing file), and the maximum number of errors is reached, do not 
3583 attempt to flush data to the output file(s) as the compiler is aborting. 
3584 This can cause an infinite loop as the max error count code essentially 
3585 keeps calling itself.
3586
3587 iASL/Disassembler: Added an option (-in) to ignore NOOP 
3588 opcodes/operators. 
3589 Implemented for both the compiler and the disassembler. Often, the NOOP 
3590 opcode is used as padding for packages that are changed dynamically by 
3591 the 
3592 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
3593 errors. This option causes the disassembler to ignore all NOOP opcodes 
3594 (0xA3), and it also causes the compiler to ignore all ASL source code 
3595 NOOP 
3596 statements as well.
3597
3598 Debugger: Enhanced the Sleep command to execute all sleep states. This 
3599 change allows Sleep to be invoked with no arguments and causes the 
3600 debugger to execute all of the sleep states, 0-5, automatically.
3601
3602 ----------------------------------------
3603 20 December 2012. Summary of changes for version 20121220:
3604
3605 1) ACPICA Kernel-resident Subsystem:
3606
3607 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
3608 alternate entry point for AcpiWalkResources and improves the usability of 
3609 the resource manager by accepting as input a buffer containing the output 
3610 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
3611 input buffer is not deleted by this interface so that it can be used by 
3612 the host later. See the ACPICA reference for details.
3613
3614 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
3615 (DSDT version < 2). The constant will be truncated and this warning 
3616 reflects that behavior.
3617
3618 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
3619 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
3620 both get and set the new wake bit in these descriptors, separately from 
3621 the existing share bit. Reported by Aaron Lu.
3622
3623 Interpreter: Fix Store() when an implicit conversion is not possible. For 
3624 example, in the cases such as a store of a string to an existing package 
3625 object, implement the store as a CopyObject(). This is a small departure 
3626 from the ACPI specification which states that the control method should 
3627 be 
3628 aborted in this case. However, the ASLTS suite depends on this behavior.
3629
3630 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
3631 macros: check if debug output is currently enabled as soon as possible to 
3632 minimize performance impact if debug is in fact not enabled.
3633
3634 Source code restructuring: Cleanup to improve modularity. The following 
3635 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
3636 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
3637 Associated makefiles and project files have been updated.
3638
3639 Changed an exception code for LoadTable operator. For the case where one 
3640 of the input strings is too long, change the returned exception code from 
3641 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
3642
3643 Fixed a possible memory leak in dispatcher error path. On error, delete 
3644 the mutex object created during method mutex creation. Reported by 
3645 tim.gardner@canonical.com.
3646
3647 Example Code and Data Size: These are the sizes for the OS-independent 
3648 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3649 debug version of the code includes the debug output trace mechanism and 
3650 has a much larger code and data size.
3651
3652   Previous Release:
3653     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
3654     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3655   Current Release:
3656     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
3657     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
3658
3659
3660 2) iASL Compiler/Disassembler and Tools:
3661
3662 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
3663 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
3664 will not allow the interpreter to differentiate between a method and a 
3665 method invocation when these are used as an argument to the ObjectType 
3666 operator. The ACPI specification change is to disallow a method 
3667 invocation 
3668 (UserTerm) for the ObjectType operator.
3669
3670 Finish support for the TPM2 and CSRT tables in the headers, table 
3671 compiler, and disassembler.
3672
3673 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
3674 always expires immediately if the semaphore is not available. The 
3675 original 
3676 code was using a relative-time timeout, but sem_timedwait requires the 
3677 use 
3678 of an absolute time.
3679
3680 iASL: Added a remark if the Timer() operator is used within a 32-bit 
3681 table. This operator returns a 64-bit time value that will be truncated 
3682 within a 32-bit table.
3683
3684 iASL Source code restructuring: Cleanup to improve modularity. The 
3685 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
3686 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
3687 been updated.
3688
3689
3690 ----------------------------------------
3691 14 November 2012. Summary of changes for version 20121114:
3692
3693 1) ACPICA Kernel-resident Subsystem:
3694
3695 Implemented a performance enhancement for ACPI/AML Package objects. This 
3696 change greatly increases the performance of Package objects within the 
3697 interpreter. It changes the processing of reference counts for packages 
3698 by 
3699 optimizing for the most common case where the package sub-objects are 
3700 either Integers, Strings, or Buffers. Increases the overall performance 
3701 of 
3702 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
3703 2X.) 
3704 Chao Guan. ACPICA BZ 943.
3705
3706 Implemented and deployed common macros to extract flag bits from resource 
3707 descriptors. Improves readability and maintainability of the code. Fixes 
3708
3709 problem with the UART serial bus descriptor for the number of data bits 
3710 flags (was incorrectly 2 bits, should be 3).
3711
3712 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
3713 of the macros and changed the SETx macros to the style of (destination, 
3714 source). Also added ACPI_CASTx companion macros. Lv Zheng.
3715
3716 Example Code and Data Size: These are the sizes for the OS-independent 
3717 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3718 debug version of the code includes the debug output trace mechanism and 
3719 has a much larger code and data size.
3720
3721   Previous Release:
3722     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
3723     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3724   Current Release:
3725     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
3726     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3727
3728
3729 2) iASL Compiler/Disassembler and Tools:
3730
3731 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
3732 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
3733 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
3734
3735 Disassembler: Fixed a problem with external declaration generation. Fixes 
3736 a problem where an incorrect pathname could be generated for an external 
3737 declaration if the original reference to the object includes leading 
3738 carats (^). ACPICA BZ 984.
3739
3740 Debugger: Completed a major update for the Disassemble<method> command. 
3741 This command was out-of-date and did not properly disassemble control 
3742 methods that had any reasonable complexity. This fix brings the command 
3743 up 
3744 to the same level as the rest of the disassembler. Adds one new file, 
3745 dmdeferred.c, which is existing code that is now common with the main 
3746 disassembler and the debugger disassemble command. ACPICA MZ 978.
3747
3748 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
3749 Newer versions of Bison emit this prototype, so moved the prototype out 
3750 of 
3751 the iASL header to where it is actually used in order to avoid a 
3752 duplicate 
3753 declaration.
3754
3755 iASL/Tools: Standardized use of the stream I/O functions:
3756   1) Ensure check for I/O error after every fopen/fread/fwrite
3757   2) Ensure proper order of size/count arguments for fread/fwrite
3758   3) Use test of (Actual != Requested) after all fwrite, and most fread
3759   4) Standardize I/O error messages
3760 Improves reliability and maintainability of the code. Bob Moore, Lv 
3761 Zheng. 
3762 ACPICA BZ 981.
3763
3764 Disassembler: Prevent duplicate External() statements. During generation 
3765 of external statements, detect similar pathnames that are actually 
3766 duplicates such as these:
3767   External (\ABCD)
3768   External (ABCD)
3769 Remove all leading '\' characters from pathnames during the external 
3770 statement generation so that duplicates will be detected and tossed. 
3771 ACPICA BZ 985.
3772
3773 Tools: Replace low-level I/O with stream I/O functions. Replace 
3774 open/read/write/close with the stream I/O equivalents 
3775 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
3776 Moore.
3777
3778 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
3779 name header so that AcpiXtract recognizes the output file/table.
3780
3781 iASL: Remove obsolete -2 option flag. Originally intended to force the 
3782 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
3783 and the entire concept is now obsolete.
3784
3785 ----------------------------------------
3786 18 October 2012. Summary of changes for version 20121018:
3787
3788
3789 1) ACPICA Kernel-resident Subsystem:
3790
3791 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
3792 introduced by late changes to the table as it was added to the ACPI 5.0 
3793 specification. Includes header, disassembler, and data table compiler 
3794 support as well as a new version of the MPST template.
3795
3796 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
3797 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
3798 methods: _HID, _CID, and _UID.
3799
3800 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
3801 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
3802 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
3803 names for their various drivers. Affects the AcpiGetObjectInfo external 
3804 interface, and other internal interfaces as well.
3805
3806 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
3807 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
3808 on machines that support non-aligned transfers. Optimizes for this case 
3809 rather than using a strncpy. With assistance from Zheng Lv.
3810
3811 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
3812 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
3813
3814 Added a new debug print message for AML mutex objects that are force-
3815 released. At control method termination, any currently acquired mutex 
3816 objects are force-released. Adds a new debug-only message for each one 
3817 that is released.
3818
3819 Audited/updated all ACPICA return macros and the function debug depth 
3820 counter: 1) Ensure that all functions that use the various TRACE macros 
3821 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
3822 return statements surround the return expression (value) with parens to 
3823 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
3824 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
3825
3826 Global source code changes/maintenance: All extra lines at the start and 
3827 end of each source file have been removed for consistency. Also, within 
3828 comments, all new sentences start with a single space instead of a double 
3829 space, again for consistency across the code base.
3830
3831 Example Code and Data Size: These are the sizes for the OS-independent 
3832 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3833 debug version of the code includes the debug output trace mechanism and 
3834 has a much larger code and data size.
3835
3836   Previous Release:
3837     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
3838     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
3839   Current Release:
3840     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
3841     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3842
3843
3844 2) iASL Compiler/Disassembler and Tools:
3845
3846 AcpiExec: Improved the algorithm used for memory leak/corruption 
3847 detection. Added some intelligence to the code that maintains the global 
3848 list of allocated memory. The list is now ordered by allocated memory 
3849 address, significantly improving performance. When running AcpiExec on 
3850 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
3851 on the platform and/or the environment. Note, this performance 
3852 enhancement affects the AcpiExec utility only, not the kernel-resident 
3853 ACPICA code.
3854
3855 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
3856 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
3857 incorrect table offset reported for invalid opcodes. Report the original 
3858 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
3859
3860 Disassembler: Enhanced the -vt option to emit the binary table data in 
3861 hex format to assist with debugging.
3862
3863 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
3864 size of file structure. Colin Ian King.
3865
3866 ----------------------------------------
3867 13 September 2012. Summary of changes for version 20120913:
3868
3869
3870 1) ACPICA Kernel-resident Subsystem:
3871
3872 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
3873 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
3874 and 
3875 MCE(6).
3876  
3877 Table Manager: Merged/removed duplicate code in the root table resize 
3878 functions. One function is external, the other is internal. Lv Zheng, 
3879 ACPICA 
3880 BZ 846.
3881
3882 Makefiles: Completely removed the obsolete "Linux" makefiles under 
3883 acpica/generate/linux. These makefiles are obsolete and have been 
3884 replaced 
3885 by 
3886 the generic unix makefiles under acpica/generate/unix.
3887
3888 Makefiles: Ensure that binary files always copied properly. Minor rule 
3889 change 
3890 to ensure that the final binary output files are always copied up to the 
3891 appropriate binary directory (bin32 or bin64.)
3892
3893 Example Code and Data Size: These are the sizes for the OS-independent 
3894 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3895 debug 
3896 version of the code includes the debug output trace mechanism and has a 
3897 much 
3898 larger code and data size.
3899
3900   Previous Release:
3901     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
3902     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
3903   Current Release:
3904     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
3905     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
3906
3907
3908 2) iASL Compiler/Disassembler and Tools:
3909
3910 Disassembler: Fixed a possible fault during the disassembly of resource 
3911 descriptors when a second parse is required because of the invocation of 
3912 external control methods within the table. With assistance from 
3913 adq@lidskialf.net. ACPICA BZ 976.
3914
3915 iASL: Fixed a namepath optimization problem. An error can occur if the 
3916 parse 
3917 node that contains the namepath to be optimized does not have a parent 
3918 node 
3919 that is a named object. This change fixes the problem.
3920
3921 iASL: Fixed a regression where the AML file is not deleted on errors. The 
3922 AML 
3923 output file should be deleted if there are any errors during the 
3924 compiler. 
3925 The 
3926 only exception is if the -f (force output) option is used. ACPICA BZ 974.
3927
3928 iASL: Added a feature to automatically increase internal line buffer 
3929 sizes. 
3930 Via realloc(), automatically increase the internal line buffer sizes as 
3931 necessary to support very long source code lines. The current version of 
3932 the 
3933 preprocessor requires a buffer long enough to contain full source code 
3934 lines. 
3935 This change increases the line buffer(s) if the input lines go beyond the 
3936 current buffer size. This eliminates errors that occurred when a source 
3937 code 
3938 line was longer than the buffer.
3939
3940 iASL: Fixed a problem with constant folding in method declarations. The 
3941 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
3942 if a 
3943 Type3 opcode was used.
3944
3945 Debugger: Improved command help support. For incorrect argument count, 
3946 display 
3947 full help for the command. For help command itself, allow an argument to 
3948 specify a command.
3949
3950 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
3951 errors during execution of the suite. Guan Chao.
3952
3953 ----------------------------------------
3954 16 August 2012. Summary of changes for version 20120816:
3955
3956
3957 1) ACPICA Kernel-resident Subsystem:
3958
3959 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
3960 _GTS 
3961 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
3962 deprecated and will probably be removed from the ACPI specification. 
3963 Windows 
3964 does not invoke them, and reportedly never will. The final nail in the 
3965 coffin 
3966 is that the ACPI specification states that these methods must be run with 
3967 interrupts off, which is not going to happen in a kernel interpreter. 
3968 Note: 
3969 Linux has removed all use of the methods also. It was discovered that 
3970 invoking these functions caused failures on some machines, probably 
3971 because 
3972 they were never tested since Windows does not call them. Affects two 
3973 external 
3974 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
3975 ACPICA BZ 969.
3976
3977 Implemented support for complex bit-packed buffers returned from the _PLD 
3978 (Physical Location of Device) predefined method. Adds a new external 
3979 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
3980
3981 structure. Note: C Bitfields cannot be used for this type of predefined 
3982 structure since the memory layout of individual bitfields is not defined 
3983 by 
3984 the C language. In addition, there are endian concerns where a compiler 
3985 will 
3986 change the bitfield ordering based on the machine type. The new ACPICA 
3987 interface eliminates these issues, and should be called after _PLD is 
3988 executed. ACPICA BZ 954.
3989
3990 Implemented a change to allow a scope change to root (via "Scope (\)") 
3991 during 
3992 execution of module-level ASL code (code that is executed at table load 
3993 time.) Lin Ming.
3994
3995 Added the Windows8/Server2012 string for the _OSI method. This change 
3996 adds 
3997
3998 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
3999 2012.
4000
4001 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
4002 2) 
4003 and CSRT (Core System Resource Table).
4004
4005 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
4006 names. This simplifies access to the buffers returned by these predefined 
4007 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4008
4009 GPE support: Removed an extraneous parameter from the various low-level 
4010 internal GPE functions. Tang Feng.
4011
4012 Removed the linux makefiles from the unix packages. The generate/linux 
4013 makefiles are obsolete and have been removed from the unix tarball 
4014 release 
4015 packages. The replacement makefiles are under generate/unix, and there is 
4016
4017 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4018
4019 Updates for Unix makefiles:
4020 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
4021 2) Update linker flags (move to end of command line) for AcpiExec 
4022 utility. 
4023 Guan Chao.
4024
4025 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
4026 utxface.c to improve modularity and reduce file size.
4027
4028 Example Code and Data Size: These are the sizes for the OS-independent 
4029 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4030 debug version of the code includes the debug output trace mechanism and 
4031 has a 
4032 much larger code and data size.
4033
4034   Previous Release:
4035     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4036     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4037   Current Release:
4038     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4039     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4040
4041
4042 2) iASL Compiler/Disassembler and Tools:
4043
4044 iASL: Fixed a problem with constant folding for fixed-length constant 
4045 expressions. The constant-folding code was not being invoked for constant 
4046 expressions that allow the use of type 3/4/5 opcodes to generate 
4047 constants 
4048 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
4049 result 
4050 in the generation of invalid AML bytecode. ACPICA BZ 970.
4051
4052 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
4053 apparently automatically emit some of the necessary externals. This 
4054 change 
4055 handles these versions in order to eliminate generation warnings.
4056
4057 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
4058
4059 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
4060 appears 
4061 within comments in the output file.
4062
4063 Debugger: Fixed a regression with the "Threads" command where 
4064 AE_BAD_PARAMETER was always returned.
4065
4066 ----------------------------------------
4067 11 July 2012. Summary of changes for version 20120711:
4068
4069 1) ACPICA Kernel-resident Subsystem:
4070
4071 Fixed a possible fault in the return package object repair code. Fixes a 
4072 problem that can occur when a lone package object is wrapped with an 
4073 outer 
4074 package object in order to force conformance to the ACPI specification. 
4075 Can 
4076 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
4077 _DLM, 
4078 _CSD, _PSD, _TSD.
4079
4080 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
4081 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
4082 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
4083 state 
4084 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
4085 both 
4086 Intel and other vendors. (for Intel: ICH4-M and earlier)
4087
4088 This change removes the code to disable/enable bus master arbitration 
4089 during 
4090 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
4091 causes 
4092 resume problems on some machines. The change has been in use for over 
4093 seven 
4094 years within Linux.
4095
4096 Implemented two new external interfaces to support host-directed dynamic 
4097 ACPI 
4098 table load and unload. They are intended to simplify the host 
4099 implementation 
4100 of hot-plug support:
4101   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
4102   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
4103 table.
4104 See the ACPICA reference for additional details. Adds one new file, 
4105 components/tables/tbxfload.c
4106
4107 Implemented and deployed two new interfaces for errors and warnings that 
4108 are 
4109 known to be caused by BIOS/firmware issues:
4110   AcpiBiosError: Prints "ACPI Firmware Error" message.
4111   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
4112 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
4113 table 
4114 and FADT errors. Additional deployment to be completed as appropriate in 
4115 the 
4116 future. The associated conditional macros are ACPI_BIOS_ERROR and 
4117 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
4118 ACPICA 
4119 BZ 
4120 843.
4121
4122 Implicit notify support: ensure that no memory allocation occurs within a 
4123 critical region. This fix moves a memory allocation outside of the time 
4124 that a 
4125 spinlock is held. Fixes issues on systems that do not allow this 
4126 behavior. 
4127 Jung-uk Kim.
4128
4129 Split exception code utilities and tables into a new file, 
4130 utilities/utexcep.c
4131
4132 Example Code and Data Size: These are the sizes for the OS-independent 
4133 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4134 debug 
4135 version of the code includes the debug output trace mechanism and has a 
4136 much 
4137 larger code and data size.
4138
4139   Previous Release:
4140     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4141     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4142   Current Release:
4143     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4144     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4145
4146
4147 2) iASL Compiler/Disassembler and Tools:
4148
4149 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
4150 of 
4151 0. Jung-uk Kim.
4152
4153 Debugger: Enhanced the "tables" command to emit additional information 
4154 about 
4155 the current set of ACPI tables, including the owner ID and flags decode.
4156
4157 Debugger: Reimplemented the "unload" command to use the new 
4158 AcpiUnloadParentTable external interface. This command was disable 
4159 previously 
4160 due to need for an unload interface.
4161
4162 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
4163 option 
4164 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
4165
4166 ----------------------------------------
4167 20 June 2012. Summary of changes for version 20120620:
4168
4169
4170 1) ACPICA Kernel-resident Subsystem:
4171
4172 Implemented support to expand the "implicit notify" feature to allow 
4173 multiple 
4174 devices to be notified by a single GPE. This feature automatically 
4175 generates a 
4176 runtime device notification in the absence of a BIOS-provided GPE control 
4177 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
4178 notify is 
4179 provided by ACPICA for Windows compatibility, and is a workaround for 
4180 BIOS 
4181 AML 
4182 code errors. See the description of the AcpiSetupGpeForWake interface in 
4183 the 
4184 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
4185
4186 Changed some comments and internal function names to simplify and ensure 
4187 correctness of the Linux code translation. No functional changes.
4188
4189 Example Code and Data Size: These are the sizes for the OS-independent 
4190 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4191 debug 
4192 version of the code includes the debug output trace mechanism and has a 
4193 much 
4194 larger code and data size.
4195
4196   Previous Release:
4197     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4198     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4199   Current Release:
4200     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4201     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4202
4203
4204 2) iASL Compiler/Disassembler and Tools:
4205
4206 Disassembler: Added support to emit short, commented descriptions for the 
4207 ACPI 
4208 predefined names in order to improve the readability of the disassembled 
4209 output. ACPICA BZ 959. Changes include:
4210   1) Emit descriptions for all standard predefined names (_INI, _STA, 
4211 _PRW, 
4212 etc.)
4213   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
4214   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
4215 etc.)
4216
4217 AcpiSrc: Fixed several long-standing Linux code translation issues. 
4218 Argument 
4219 descriptions in function headers are now translated properly to lower 
4220 case 
4221 and 
4222 underscores. ACPICA BZ 961. Also fixes translation problems such as 
4223 these: 
4224 (old -> new)
4225   i_aSL -> iASL
4226   00-7_f -> 00-7F
4227   16_k -> 16K
4228   local_fADT -> local_FADT
4229   execute_oSI -> execute_OSI
4230
4231 iASL: Fixed a problem where null bytes were inadvertently emitted into 
4232 some 
4233 listing files.
4234
4235 iASL: Added the existing debug options to the standard help screen. There 
4236 are 
4237 no longer two different help screens. ACPICA BZ 957.
4238
4239 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
4240 Also 
4241 expand some of the descriptions where appropriate.
4242
4243 iASL: Fixed the -ot option (display compile times/statistics). Was not 
4244 working 
4245 properly for standard output; only worked for the debug file case.
4246
4247 ----------------------------------------
4248 18 May 2012. Summary of changes for version 20120518:
4249
4250
4251 1) ACPICA Core Subsystem:
4252
4253 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
4254 defined 
4255 to block until asynchronous events such as notifies and GPEs have 
4256 completed. 
4257 Within ACPICA, it is only called before a notify or GPE handler is 
4258 removed/uninstalled. It also may be useful for the host OS within related 
4259 drivers such as the Embedded Controller driver. See the ACPICA reference 
4260 for 
4261 additional information. ACPICA BZ 868.
4262
4263 ACPI Tables: Added a new error message for a possible overflow failure 
4264 during 
4265 the conversion of FADT 32-bit legacy register addresses to internal 
4266 common 
4267 64-
4268 bit GAS structure representation. The GAS has a one-byte "bit length" 
4269 field, 
4270 thus limiting the register length to 255 bits. ACPICA BZ 953.
4271
4272 Example Code and Data Size: These are the sizes for the OS-independent 
4273 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4274 debug 
4275 version of the code includes the debug output trace mechanism and has a 
4276 much 
4277 larger code and data size.
4278
4279   Previous Release:
4280     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4281     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4282   Current Release:
4283     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4284     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4285
4286
4287 2) iASL Compiler/Disassembler and Tools:
4288
4289 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
4290 macro. 
4291 This keyword was added late in the ACPI 5.0 release cycle and was not 
4292 implemented until now.
4293
4294 Disassembler: Added support for Operation Region externals. Adds missing 
4295 support for operation regions that are defined in another table, and 
4296 referenced locally via a Field or BankField ASL operator. Now generates 
4297 the 
4298 correct External statement.
4299
4300 Disassembler: Several additional fixes for the External() statement 
4301 generation 
4302 related to some ASL operators. Also, order the External() statements 
4303 alphabetically in the disassembler output. Fixes the External() 
4304 generation 
4305 for 
4306 the Create* field, Alias, and Scope operators:
4307  1) Create* buffer field operators - fix type mismatch warning on 
4308 disassembly
4309  2) Alias - implement missing External support
4310  3) Scope - fix to make sure all necessary externals are emitted.
4311
4312 iASL: Improved pathname support. For include files, merge the prefix 
4313 pathname 
4314 with the file pathname and eliminate unnecessary components. Convert 
4315 backslashes in all pathnames to forward slashes, for readability. Include 
4316 file 
4317 pathname changes affect both #include and Include() type operators.
4318
4319 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
4320 end 
4321 of a valid line by inserting a newline and then returning the EOF during 
4322 the 
4323 next call to GetNextLine. Prevents the line from being ignored due to EOF 
4324 condition.
4325
4326 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
4327 Error 
4328 and Warning messages are now correctly recognized for both the source 
4329 code 
4330 browser and the global error and warning counts.
4331
4332 ----------------------------------------
4333 20 April 2012. Summary of changes for version 20120420:
4334
4335
4336 1) ACPICA Core Subsystem:
4337
4338 Implemented support for multiple notify handlers. This change adds 
4339 support 
4340 to 
4341 allow multiple system and device notify handlers on Device, Thermal Zone, 
4342 and 
4343 Processor objects. This can simplify the host OS notification 
4344 implementation. 
4345 Also re-worked and restructured the entire notify support code to 
4346 simplify 
4347 handler installation, handler removal, notify event queuing, and notify 
4348 dispatch to handler(s). Note: there can still only be two global notify 
4349 handlers - one for system notifies and one for device notifies. There are 
4350 no 
4351 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
4352 Moore, Rafael Wysocki.
4353
4354 Fixed a regression in the package repair code where the object reference 
4355 count was calculated incorrectly. Regression was introduced in the commit 
4356 "Support to add Package wrappers".
4357
4358 Fixed a couple possible memory leaks in the AML parser, in the error 
4359 recovery 
4360 path. Jesper Juhl, Lin Ming.
4361
4362 Example Code and Data Size: These are the sizes for the OS-independent 
4363 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4364 debug version of the code includes the debug output trace mechanism and 
4365 has a 
4366 much larger code and data size.
4367
4368   Previous Release:
4369     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4370     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4371   Current Release:
4372     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4373     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4374
4375
4376 2) iASL Compiler/Disassembler and Tools:
4377
4378 iASL: Fixed a problem with the resource descriptor support where the 
4379 length 
4380 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
4381 included in cumulative descriptor offset, resulting in incorrect values 
4382 for 
4383 resource tags within resource descriptors appearing after a 
4384 StartDependent* 
4385 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
4386
4387 iASL and Preprocessor: Implemented full support for the #line directive 
4388 to 
4389 correctly track original source file line numbers through the .i 
4390 preprocessor 
4391 output file - for error and warning messages.
4392
4393 iASL: Expand the allowable byte constants for address space IDs. 
4394 Previously, 
4395 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
4396 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
4397
4398 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
4399
4400 iASL: Add option to completely disable the preprocessor (-Pn).
4401
4402 iASL: Now emit all error/warning messages to standard error (stderr) by 
4403 default (instead of the previous stdout).
4404
4405 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
4406 Update 
4407 for resource descriptor offset fix above. Update/cleanup error output 
4408 routines. Enable and send iASL errors/warnings to an error logfile 
4409 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
4410 Fixed 
4411 several extraneous "unrecognized operator" messages.
4412
4413 ----------------------------------------
4414 20 March 2012. Summary of changes for version 20120320:
4415
4416
4417 1) ACPICA Core Subsystem:
4418
4419 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
4420 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
4421 apparently 
4422 does not execute these methods, and therefore these methods are often 
4423 untested. It has been seen on some systems where the execution of these 
4424 methods causes errors and also prevents the machine from entering S5. It 
4425 is 
4426 therefore suggested that host operating systems do not execute these 
4427 methods 
4428 by default. In the future, perhaps these methods can be optionally 
4429 executed 
4430 based on the age of the system and/or what is the newest version of 
4431 Windows 
4432 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
4433 and 
4434 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
4435 Ming.
4436
4437 Fixed a problem where the length of the local/common FADT was set too 
4438 early. 
4439 The local FADT table length cannot be set to the common length until the 
4440 original length has been examined. There is code that checks the table 
4441 length 
4442 and sets various fields appropriately. This can affect older machines 
4443 with 
4444 early FADT versions. For example, this can cause inadvertent writes to 
4445 the 
4446 CST_CNT register. Julian Anastasov.
4447
4448 Fixed a mapping issue related to a physical table override. Use the 
4449 deferred 
4450 mapping mechanism for tables loaded via the physical override OSL 
4451 interface. 
4452 This allows for early mapping before the virtual memory manager is 
4453 available. 
4454 Thomas Renninger, Bob Moore.
4455
4456 Enhanced the automatic return-object repair code: Repair a common problem 
4457 with 
4458 predefined methods that are defined to return a variable-length Package 
4459 of 
4460 sub-objects. If there is only one sub-object, some BIOS ASL code 
4461 mistakenly 
4462 simply returns the single object instead of a Package with one sub-
4463 object. 
4464 This new support will repair this error by wrapping a Package object 
4465 around 
4466 the original object, creating the correct and expected Package with one 
4467 sub-
4468 object. Names that can be repaired in this manner include: _ALR, _CSD, 
4469 _HPX, 
4470 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
4471 939.
4472
4473 Changed the exception code returned for invalid ACPI paths passed as 
4474 parameters to external interfaces such as AcpiEvaluateObject. Was 
4475 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
4476
4477 Example Code and Data Size: These are the sizes for the OS-independent 
4478 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4479 debug 
4480 version of the code includes the debug output trace mechanism and has a 
4481 much 
4482 larger code and data size.
4483
4484   Previous Release:
4485     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
4486     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4487   Current Release:
4488     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4489     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4490
4491
4492 2) iASL Compiler/Disassembler and Tools:
4493
4494 iASL: Added the infrastructure and initial implementation of a integrated 
4495 C-
4496 like preprocessor. This will simplify BIOS development process by 
4497 eliminating 
4498 the need for a separate preprocessing step during builds. On Windows, it 
4499 also 
4500 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
4501 features including full #define() macro support are still under 
4502 development. 
4503 These preprocessor directives are supported:
4504     #define
4505     #elif
4506     #else
4507     #endif
4508     #error
4509     #if
4510     #ifdef
4511     #ifndef
4512     #include
4513     #pragma message
4514     #undef
4515     #warning
4516 In addition, these new command line options are supported:
4517     -D <symbol> Define symbol for preprocessor use
4518     -li         Create preprocessed output file (*.i)
4519     -P          Preprocess only and create preprocessor output file (*.i)
4520
4521 Table Compiler: Fixed a problem where the equals operator within an 
4522 expression 
4523 did not work properly.
4524
4525 Updated iASL to use the current versions of Bison/Flex. Updated the 
4526 Windows 
4527 project file to invoke these tools from the standard location. ACPICA BZ 
4528 904. 
4529 Versions supported:
4530     Flex for Windows:  V2.5.4
4531     Bison for Windows: V2.4.1
4532
4533 ----------------------------------------
4534 15 February 2012. Summary of changes for version 20120215:
4535
4536
4537 1) ACPICA Core Subsystem:
4538
4539 There have been some major changes to the sleep/wake support code, as 
4540 described below (a - e).
4541
4542 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
4543 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
4544 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
4545 the 
4546 time the _BFS method is called and the _WAK method is called. NOTE: all 
4547 hosts 
4548 must update their wake/resume code or else sleep/wake will not work 
4549 properly. 
4550 Rafael Wysocki.
4551
4552 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
4553 _WAK 
4554 method. Some machines require that the GPEs are enabled before the _WAK 
4555 method 
4556 is executed. Thomas Renninger.
4557
4558 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
4559 bit. 
4560 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
4561 to 
4562 determine whether the system is rebooting or resuming. Matthew Garrett.
4563
4564 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
4565 Sleep) to 
4566 match the ACPI specification requirement. Rafael Wysocki.
4567
4568 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
4569 registers within the V5 FADT. This support adds two new files: 
4570 hardware/hwesleep.c implements the support for the new registers. Moved 
4571 all 
4572 sleep/wake external interfaces to hardware/hwxfsleep.c.
4573
4574
4575 Added a new OSL interface for ACPI table overrides, 
4576 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
4577 table via a physical address, instead of the logical address required by 
4578 AcpiOsTableOverride. This simplifies the host implementation. Initial 
4579 implementation by Thomas Renninger. The ACPICA implementation creates a 
4580 single 
4581 shared function for table overrides that attempts both a logical and a 
4582 physical override.
4583
4584 Expanded the OSL memory read/write interfaces to 64-bit data 
4585 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
4586 transfer support for GAS register structures passed to AcpiRead and 
4587 AcpiWrite.
4588
4589 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
4590 custom 
4591 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
4592 model. 
4593 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
4594 about 
4595 10% of the code and 5% of the static data, and the following hardware 
4596 ACPI 
4597 features become unavailable:
4598     PM Event and Control registers
4599     SCI interrupt (and handler)
4600     Fixed Events
4601     General Purpose Events (GPEs)
4602     Global Lock
4603     ACPI PM timer
4604     FACS table (Waking vectors and Global Lock)
4605
4606 Updated the unix tarball directory structure to match the ACPICA git 
4607 source 
4608 tree. This ensures that the generic unix makefiles work properly (in 
4609 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
4610 867.
4611
4612 Updated the return value of the _REV predefined method to integer value 5 
4613 to 
4614 reflect ACPI 5.0 support.
4615
4616 Moved the external ACPI PM timer interface prototypes to the public 
4617 acpixf.h 
4618 file where they belong.
4619
4620 Example Code and Data Size: These are the sizes for the OS-independent 
4621 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4622 debug 
4623 version of the code includes the debug output trace mechanism and has a 
4624 much 
4625 larger code and data size.
4626
4627   Previous Release:
4628     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
4629     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
4630   Current Release:
4631     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
4632     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4633
4634
4635 2) iASL Compiler/Disassembler and Tools:
4636
4637 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
4638 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
4639 incorrectly displayed.
4640
4641 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
4642 specification.
4643
4644 ----------------------------------------
4645 11 January 2012. Summary of changes for version 20120111:
4646
4647
4648 1) ACPICA Core Subsystem:
4649
4650 Implemented a new mechanism to allow host device drivers to check for 
4651 address 
4652 range conflicts with ACPI Operation Regions. Both SystemMemory and 
4653 SystemIO 
4654 address spaces are supported. A new external interface, 
4655 AcpiCheckAddressRange, 
4656 allows drivers to check an address range against the ACPI namespace. See 
4657 the 
4658 ACPICA reference for additional details. Adds one new file, 
4659 utilities/utaddress.c. Lin Ming, Bob Moore.
4660
4661 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
4662 Control 
4663 and 
4664 Status registers, update the ACPI 5.0 flags, and update internal data 
4665 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
4666 5.0 
4667 FADT is 268 bytes.
4668
4669 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
4670 copyright to 
4671 all module headers and signons, including the standard Linux header. This 
4672 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
4673 and 
4674 all ACPICA utilities.
4675
4676 Example Code and Data Size: These are the sizes for the OS-independent 
4677 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4678 debug 
4679 version of the code includes the debug output trace mechanism and has a 
4680 much 
4681 larger code and data size.
4682
4683   Previous Release:
4684     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
4685     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
4686   Current Release:
4687     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
4688     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
4689
4690
4691 2) iASL Compiler/Disassembler and Tools:
4692
4693 Disassembler: fixed a problem with the automatic resource tag generation 
4694 support. Fixes a problem where the resource tags are inadvertently not 
4695 constructed if the table being disassembled contains external references 
4696 to 
4697 control methods. Moved the actual construction of the tags to after the 
4698 final 
4699 namespace is constructed (after 2nd parse is invoked due to external 
4700 control 
4701 method references.) ACPICA BZ 941.
4702
4703 Table Compiler: Make all "generic" operators caseless. These are the 
4704 operators 
4705 like UINT8, String, etc. Making these caseless improves ease-of-use. 
4706 ACPICA BZ 
4707 934.
4708
4709 ----------------------------------------
4710 23 November 2011. Summary of changes for version 20111123:
4711
4712 0) ACPI 5.0 Support:
4713
4714 This release contains full support for the ACPI 5.0 specification, as 
4715 summarized below.
4716
4717 Reduced Hardware Support:
4718 -------------------------
4719
4720 This support allows for ACPI systems without the usual ACPI hardware. 
4721 This 
4722 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
4723 will 
4724 not attempt to initialize or use any of the usual ACPI hardware. Note, 
4725 when 
4726 this flag is set, all of the following ACPI hardware is assumed to be not 
4727 present and is not initialized or accessed:
4728
4729     General Purpose Events (GPEs)
4730     Fixed Events (PM1a/PM1b and PM Control)
4731     Power Management Timer and Console Buttons (power/sleep)
4732     Real-time Clock Alarm
4733     Global Lock
4734     System Control Interrupt (SCI)
4735     The FACS is assumed to be non-existent
4736
4737 ACPI Tables:
4738 ------------
4739
4740 All new tables and updates to existing tables are fully supported in the 
4741 ACPICA headers (for use by device drivers), the disassembler, and the 
4742 iASL 
4743 Data Table Compiler. ACPI 5.0 defines these new tables:
4744
4745     BGRT        /* Boot Graphics Resource Table */
4746     DRTM        /* Dynamic Root of Trust for Measurement table */
4747     FPDT        /* Firmware Performance Data Table */
4748     GTDT        /* Generic Timer Description Table */
4749     MPST        /* Memory Power State Table */
4750     PCCT        /* Platform Communications Channel Table */
4751     PMTT        /* Platform Memory Topology Table */
4752     RASF        /* RAS Feature table */
4753
4754 Operation Regions/SpaceIDs:
4755 ---------------------------
4756
4757 All new operation regions are fully supported by the iASL compiler, the 
4758 disassembler, and the ACPICA runtime code (for dispatch to region 
4759 handlers.) 
4760 The new operation region Space IDs are:
4761
4762     GeneralPurposeIo
4763     GenericSerialBus
4764
4765 Resource Descriptors:
4766 ---------------------
4767
4768 All new ASL resource descriptors are fully supported by the iASL 
4769 compiler, 
4770 the 
4771 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
4772 (including 
4773 all new predefined resource tags). New descriptors are:
4774
4775     FixedDma
4776     GpioIo
4777     GpioInt
4778     I2cSerialBus
4779     SpiSerialBus
4780     UartSerialBus
4781
4782 ASL/AML Operators, New and Modified:
4783 ------------------------------------
4784
4785 One new operator is added, the Connection operator, which is used to 
4786 associate 
4787 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
4788 individual 
4789 field objects within an operation region. Several new protocols are 
4790 associated 
4791 with the AccessAs operator. All are fully supported by the iASL compiler, 
4792 disassembler, and runtime ACPICA AML interpreter:
4793
4794     Connection                      // Declare Field Connection 
4795 attributes
4796     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
4797     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
4798 Protocol
4799     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
4800     RawDataBuffer                       // Data type for Vendor Data 
4801 fields
4802
4803 Predefined ASL/AML Objects:
4804 ---------------------------
4805
4806 All new predefined objects/control-methods are supported by the iASL 
4807 compiler 
4808 and the ACPICA runtime validation/repair (arguments and return values.) 
4809 New 
4810 predefined names include the following:
4811
4812 Standard Predefined Names (Objects or Control Methods):
4813     _AEI, _CLS, _CPC, _CWS, _DEP,
4814     _DLM, _EVT, _GCP, _CRT, _GWS,
4815     _HRV, _PRE, _PSE, _SRT, _SUB.
4816
4817 Resource Tags (Names used to access individual fields within resource 
4818 descriptors):
4819     _DBT, _DPL, _DRS, _END, _FLC,
4820     _IOR, _LIN, _MOD, _PAR, _PHA,
4821     _PIN, _PPI, _POL, _RXL, _SLV,
4822     _SPE, _STB, _TXL, _VEN.
4823
4824 ACPICA External Interfaces:
4825 ---------------------------
4826
4827 Several new interfaces have been defined for use by ACPI-related device 
4828 drivers and other host OS services:
4829
4830 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
4831 to 
4832 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
4833 provided by the BIOS. They are intended to be used in conjunction with 
4834 the 
4835 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
4836 mutual exclusion with the AML code/interpreter.
4837
4838 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
4839 defined 
4840 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
4841 provides 
4842 resource descriptors associated with hardware-reduced platform events, 
4843 similar 
4844 to the AcpiGetCurrentResources interface.
4845
4846 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
4847 operation regions, information about the Connection() object and any 
4848 optional 
4849 length information is passed to the region handler within the Context 
4850 parameter.
4851
4852 AcpiBufferToResource: This interface converts a raw AML buffer containing 
4853
4854 resource template or resource descriptor to the ACPI_RESOURCE internal 
4855 format 
4856 suitable for use by device drivers. Can be used by an operation region 
4857 handler 
4858 to convert the Connection() buffer object into a ACPI_RESOURCE.
4859
4860 Miscellaneous/Tools/TestSuites: 
4861 -------------------------------
4862
4863 Support for extended _HID names (Four alpha characters instead of three).
4864 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
4865 Support for ACPI 5.0 features in the ASLTS test suite.
4866 Fully updated documentation (ACPICA and iASL reference documents.)
4867
4868 ACPI Table Definition Language:
4869 -------------------------------
4870
4871 Support for this language was implemented and released as a subsystem of 
4872 the 
4873 iASL compiler in 2010. (See the iASL compiler User Guide.)
4874
4875
4876 Non-ACPI 5.0 changes for this release:
4877 --------------------------------------
4878
4879 1) ACPICA Core Subsystem:
4880
4881 Fix a problem with operation region declarations where a failure can 
4882 occur 
4883 if 
4884 the region name and an argument that evaluates to an object (such as the 
4885 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
4886 937.
4887
4888 Do not abort an ACPI table load if an invalid space ID is found within. 
4889 This 
4890 will be caught later if the offending method is executed. ACPICA BZ 925.
4891
4892 Fixed an issue with the FFixedHW space ID where the ID was not always 
4893 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
4894
4895 Fixed a problem with the 32-bit generation of the unix-specific OSL 
4896 (osunixxf.c). Lin Ming, ACPICA BZ 936.
4897
4898 Several changes made to enable generation with the GCC 4.6 compiler. 
4899 ACPICA BZ 
4900 935.
4901
4902 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
4903 Index/Bank 
4904 field registers out-of-range.
4905
4906 2) iASL Compiler/Disassembler and Tools:
4907
4908 iASL: Implemented the __PATH__ operator, which returns the full pathname 
4909 of 
4910 the current source file.
4911
4912 AcpiHelp: Automatically display expanded keyword information for all ASL 
4913 operators.
4914
4915 Debugger: Add "Template" command to disassemble/dump resource template 
4916 buffers.
4917
4918 Added a new master script to generate and execute the ASLTS test suite. 
4919 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
4920
4921 iASL: Fix problem with listing generation during processing of the 
4922 Switch() 
4923 operator where AML listing was disabled until the entire Switch block was 
4924 completed.
4925
4926 iASL: Improve support for semicolon statement terminators. Fix "invalid 
4927 character" message for some cases when the semicolon is used. Semicolons 
4928 are 
4929 now allowed after every <Term> grammar element. ACPICA BZ 927.
4930
4931 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
4932 923.
4933
4934 Disassembler: Fix problem with disassembly of the DataTableRegion 
4935 operator 
4936 where an inadvertent "Unhandled deferred opcode" message could be 
4937 generated.
4938
4939 3) Example Code and Data Size
4940
4941 These are the sizes for the OS-independent acpica.lib produced by the 
4942 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
4943 includes the debug output trace mechanism and has a much larger code and 
4944 data 
4945 size.
4946
4947   Previous Release:
4948     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
4949     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
4950   Current Release:
4951     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
4952     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
4953
4954 ----------------------------------------
4955 22 September 2011. Summary of changes for version 20110922:
4956
4957 0) ACPI 5.0 News:
4958
4959 Support for ACPI 5.0 in ACPICA has been underway for several months and 
4960 will 
4961 be released at the same time that ACPI 5.0 is officially released.
4962
4963 The ACPI 5.0 specification is on track for release in the next few 
4964 months.
4965  
4966 1) ACPICA Core Subsystem:
4967
4968 Fixed a problem where the maximum sleep time for the Sleep() operator was 
4969 intended to be limited to two seconds, but was inadvertently limited to 
4970 20 
4971 seconds instead.
4972
4973 Linux and Unix makefiles: Added header file dependencies to ensure 
4974 correct 
4975 generation of ACPICA core code and utilities. Also simplified the 
4976 makefiles 
4977 considerably through the use of the vpath variable to specify search 
4978 paths. 
4979 ACPICA BZ 924.
4980
4981 2) iASL Compiler/Disassembler and Tools:
4982
4983 iASL: Implemented support to check the access length for all fields 
4984 created to 
4985 access named Resource Descriptor fields. For example, if a resource field 
4986 is 
4987 defined to be two bits, a warning is issued if a CreateXxxxField() is 
4988 used 
4989 with an incorrect bit length. This is implemented for all current 
4990 resource 
4991 descriptor names. ACPICA BZ 930.
4992   
4993 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
4994 56-
4995 bit integers.
4996
4997 iASL: Fixed a couple of issues associated with variable-length package 
4998 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
4999
5000 VAR_PACKAGE when these are used as a package length. 2) Allow the 
5001 VAR_PACKAGE 
5002 opcode (in addition to PACKAGE) when validating object types for 
5003 predefined 
5004 names.
5005
5006 iASL: Emit statistics for all output files (instead of just the ASL input 
5007 and 
5008 AML output). Includes listings, hex files, etc.
5009
5010 iASL: Added -G option to the table compiler to allow the compilation of 
5011 custom 
5012 ACPI tables. The only part of a table that is required is the standard 
5013 36-
5014 byte 
5015 ACPI header.
5016
5017 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
5018 headers), 
5019 which also adds correct 64-bit support. Also, now all output filenames 
5020 are 
5021 completely lower case.
5022
5023 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
5024 loading table files. A warning is issued for any such tables. The only 
5025 exception is an FADT. This also fixes a possible fault when attempting to 
5026 load 
5027 non-AML tables. ACPICA BZ 932.
5028
5029 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
5030
5031 missing table terminator could cause a fault when using the -p option.
5032
5033 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
5034 statistics.
5035
5036 3) Example Code and Data Size
5037
5038 These are the sizes for the OS-independent acpica.lib produced by the 
5039 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5040 includes the debug output trace mechanism and has a much larger code and 
5041 data 
5042 size.
5043
5044   Previous Release (VC 9.0):
5045     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5046     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5047   Current Release (VC 9.0):
5048     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5049     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5050
5051
5052 ----------------------------------------
5053 23 June 2011. Summary of changes for version 20110623:
5054
5055 1) ACPI CA Core Subsystem:
5056
5057 Updated the predefined name repair mechanism to not attempt repair of a 
5058 _TSS 
5059 return object if a _PSS object is present. We can only sort the _TSS 
5060 return 
5061 package if there is no _PSS within the same scope. This is because if 
5062 _PSS 
5063 is 
5064 present, the ACPI specification dictates that the _TSS Power Dissipation 
5065 field 
5066 is to be ignored, and therefore some BIOSs leave garbage values in the 
5067 _TSS 
5068 Power field(s). In this case, it is best to just return the _TSS package 
5069 as-
5070 is. Reported by, and fixed with assistance from Fenghua Yu.
5071
5072 Added an option to globally disable the control method return value 
5073 validation 
5074 and repair. This runtime option can be used to disable return value 
5075 repair 
5076 if 
5077 this is causing a problem on a particular machine. Also added an option 
5078 to 
5079 AcpiExec (-dr) to set this disable flag.
5080
5081 All makefiles and project files: Major changes to improve generation of 
5082 ACPICA 
5083 tools. ACPICA BZ 912:
5084     Reduce default optimization levels to improve compatibility
5085     For Linux, add strict-aliasing=0 for gcc 4
5086     Cleanup and simplify use of command line defines
5087     Cleanup multithread library support
5088     Improve usage messages
5089
5090 Linux-specific header: update handling of THREAD_ID and pthread. For the 
5091 32-
5092 bit case, improve casting to eliminate possible warnings, especially with 
5093 the 
5094 acpica tools.
5095
5096 Example Code and Data Size: These are the sizes for the OS-independent 
5097 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5098 debug 
5099 version of the code includes the debug output trace mechanism and has a 
5100 much 
5101 larger code and data size.
5102
5103   Previous Release (VC 9.0):
5104     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5105     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5106   Current Release (VC 9.0):
5107     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5108     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5109
5110 2) iASL Compiler/Disassembler and Tools:
5111
5112 With this release, a new utility named "acpihelp" has been added to the 
5113 ACPICA 
5114 package. This utility summarizes the ACPI specification chapters for the 
5115 ASL 
5116 and AML languages. It generates under Linux/Unix as well as Windows, and 
5117 provides the following functionality:
5118     Find/display ASL operator(s) -- with description and syntax.
5119     Find/display ASL keyword(s) -- with exact spelling and descriptions.
5120     Find/display ACPI predefined name(s) -- with description, number
5121         of arguments, and the return value data type.
5122     Find/display AML opcode name(s) -- with opcode, arguments, and 
5123 grammar.
5124     Decode/display AML opcode -- with opcode name, arguments, and 
5125 grammar.
5126
5127 Service Layers: Make multi-thread support configurable. Conditionally 
5128 compile 
5129 the multi-thread support so that threading libraries will not be linked 
5130 if 
5131 not 
5132 necessary. The only tool that requires multi-thread support is AcpiExec.
5133
5134 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
5135 of 
5136 Bison appear to want the interface to yyerror to be a const char * (or at 
5137 least this is a problem when generating iASL on some systems.) ACPICA BZ 
5138 923 
5139 Pierre Lejeune.
5140
5141 Tools: Fix for systems where O_BINARY is not defined. Only used for 
5142 Windows 
5143 versions of the tools.
5144
5145 ----------------------------------------
5146 27 May 2011. Summary of changes for version 20110527:
5147
5148 1) ACPI CA Core Subsystem:
5149
5150 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
5151 table 
5152 signature. Now, only allow SSDT, OEMx, and a null signature. History:
5153     1) Originally, we checked the table signature for "SSDT" or "PSDT".
5154        (PSDT is now obsolete.)
5155     2) We added support for OEMx tables, signature "OEM" plus a fourth
5156        "don't care" character.
5157     3) Valid tables were encountered with a null signature, so we just
5158        gave up on validating the signature, (05/2008).
5159     4) We encountered non-AML tables such as the MADT, which caused
5160        interpreter errors and kernel faults. So now, we once again allow
5161        only SSDT, OEMx, and now, also a null signature. (05/2011).
5162
5163 Added the missing _TDL predefined name to the global name list in order 
5164 to 
5165 enable validation. Affects both the core ACPICA code and the iASL 
5166 compiler.
5167
5168 Example Code and Data Size: These are the sizes for the OS-independent 
5169 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5170 debug 
5171 version of the code includes the debug output trace mechanism and has a 
5172 much 
5173 larger code and data size.
5174
5175   Previous Release (VC 9.0):
5176     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5177     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5178   Current Release (VC 9.0):
5179     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5180     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5181
5182 2) iASL Compiler/Disassembler and Tools:
5183
5184 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
5185 the 
5186 debugger command line. This adds support beyond simple integers -- 
5187 including 
5188 Strings, Buffers, and Packages. Includes support for nested packages. 
5189 Increased the default command line buffer size to accommodate these 
5190 arguments. 
5191 See the ACPICA reference for details and syntax. ACPICA BZ 917.
5192  
5193 Debugger/AcpiExec: Implemented support for "default" method arguments for 
5194 the 
5195 Execute/Debug command. Now, the debugger will always invoke a control 
5196 method 
5197 with the required number of arguments -- even if the command line 
5198 specifies 
5199 none or insufficient arguments. It uses default integer values for any 
5200 missing 
5201 arguments. Also fixes a bug where only six method arguments maximum were 
5202 supported instead of the required seven.
5203
5204 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
5205 and 
5206 also return status in order to prevent buffer overruns. See the ACPICA 
5207 reference for details and syntax. ACPICA BZ 921
5208
5209 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
5210 makefiles to simplify support for the two different but similar parser 
5211 generators, bison and yacc.
5212
5213 Updated the generic unix makefile for gcc 4. The default gcc version is 
5214 now 
5215 expected to be 4 or greater, since options specific to gcc 4 are used.
5216
5217 ----------------------------------------
5218 13 April 2011. Summary of changes for version 20110413:
5219
5220 1) ACPI CA Core Subsystem:
5221
5222 Implemented support to execute a so-called "orphan" _REG method under the 
5223 EC 
5224 device. This change will force the execution of a _REG method underneath 
5225 the 
5226 EC 
5227 device even if there is no corresponding operation region of type 
5228 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
5229 compatible with Windows behavior. ACPICA BZ 875.
5230
5231 Added more predefined methods that are eligible for automatic NULL 
5232 package 
5233 element removal. This change adds another group of predefined names to 
5234 the 
5235 list 
5236 of names that can be repaired by having NULL package elements dynamically 
5237 removed. This group are those methods that return a single variable-
5238 length 
5239 package containing simple data types such as integers, buffers, strings. 
5240 This 
5241 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
5242 _PSL, 
5243 _Sx, 
5244 and _TZD. ACPICA BZ 914.
5245
5246 Split and segregated all internal global lock functions to a new file, 
5247 evglock.c.
5248
5249 Updated internal address SpaceID for DataTable regions. Moved this 
5250 internal 
5251 space 
5252 id in preparation for ACPI 5.0 changes that will include some new space 
5253 IDs. 
5254 This 
5255 change should not affect user/host code.
5256
5257 Example Code and Data Size: These are the sizes for the OS-independent 
5258 acpica.lib 
5259 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
5260 version of 
5261 the code includes the debug output trace mechanism and has a much larger 
5262 code 
5263 and 
5264 data size.
5265
5266   Previous Release (VC 9.0):
5267     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5268     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5269   Current Release (VC 9.0):
5270     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5271     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5272
5273 2) iASL Compiler/Disassembler and Tools:
5274
5275 iASL/DTC: Major update for new grammar features. Allow generic data types 
5276 in 
5277 custom ACPI tables. Field names are now optional. Any line can be split 
5278 to 
5279 multiple lines using the continuation char (\). Large buffers now use 
5280 line-
5281 continuation character(s) and no colon on the continuation lines. See the 
5282 grammar 
5283 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
5284 Moore.
5285
5286 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
5287 statements. 
5288 Since the parser stuffs a "zero" as the return value for these statements 
5289 (due 
5290 to 
5291 the underlying AML grammar), they were seen as "return with value" by the 
5292 iASL 
5293 semantic checking. They are now seen correctly as "null" return 
5294 statements.
5295
5296 iASL: Check if a_REG declaration has a corresponding Operation Region. 
5297 Adds a 
5298 check for each _REG to ensure that there is in fact a corresponding 
5299 operation 
5300 region declaration in the same scope. If not, the _REG method is not very 
5301 useful 
5302 since it probably won't be executed. ACPICA BZ 915.
5303
5304 iASL/DTC: Finish support for expression evaluation. Added a new 
5305 expression 
5306 parser 
5307 that implements c-style operator precedence and parenthesization. ACPICA 
5308 bugzilla 
5309 908.
5310
5311 Disassembler/DTC: Remove support for () and <> style comments in data 
5312 tables. 
5313 Now 
5314 that DTC has full expression support, we don't want to have comment 
5315 strings 
5316 that 
5317 start with a parentheses or a less-than symbol. Now, only the standard /* 
5318 and 
5319 // 
5320 comments are supported, as well as the bracket [] comments.
5321
5322 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
5323 "unusual" 
5324 headers in the acpidump file. Update the header validation to support 
5325 these 
5326 tables. Problem introduced in previous AcpiXtract version in the change 
5327 to 
5328 support "wrong checksum" error messages emitted by acpidump utility.
5329
5330 iASL: Add a * option to generate all template files (as a synonym for 
5331 ALL) 
5332 as 
5333 in 
5334 "iasl -T *" or "iasl -T ALL".
5335
5336 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
5337 completely 
5338 abort the compiler on "fatal" errors, simply should abort the current 
5339 compile. 
5340 This allows multiple compiles with a single (possibly wildcard) compiler 
5341 invocation.
5342
5343 ----------------------------------------
5344 16 March 2011. Summary of changes for version 20110316:
5345
5346 1) ACPI CA Core Subsystem:
5347
5348 Fixed a problem caused by a _PRW method appearing at the namespace root 
5349 scope 
5350 during the setup of wake GPEs. A fault could occur if a _PRW directly 
5351 under 
5352 the 
5353 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
5354
5355 Implemented support for "spurious" Global Lock interrupts. On some 
5356 systems, a 
5357 global lock interrupt can occur without the pending flag being set. Upon 
5358
5359 GL 
5360 interrupt, we now ensure that a thread is actually waiting for the lock 
5361 before 
5362 signaling GL availability. Rafael Wysocki, Bob Moore.
5363
5364 Example Code and Data Size: These are the sizes for the OS-independent 
5365 acpica.lib 
5366 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
5367 version of 
5368 the code includes the debug output trace mechanism and has a much larger 
5369 code 
5370 and 
5371 data size.
5372
5373   Previous Release (VC 9.0):
5374     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5375     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5376   Current Release (VC 9.0):
5377     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5378     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5379
5380 2) iASL Compiler/Disassembler and Tools:
5381
5382 Implemented full support for the "SLIC" ACPI table. Includes support in 
5383 the 
5384 header files, disassembler, table compiler, and template generator. Bob 
5385 Moore, 
5386 Lin Ming.
5387
5388 AcpiXtract: Correctly handle embedded comments and messages from 
5389 AcpiDump. 
5390 Apparently some or all versions of acpidump will occasionally emit a 
5391 comment 
5392 like 
5393 "Wrong checksum", etc., into the dump file. This was causing problems for 
5394 AcpiXtract. ACPICA BZ 905.
5395
5396 iASL: Fix the Linux makefile by removing an inadvertent double file 
5397 inclusion. 
5398 ACPICA BZ 913.
5399
5400 AcpiExec: Update installation of operation region handlers. Install one 
5401 handler 
5402 for a user-defined address space. This is used by the ASL test suite 
5403 (ASLTS).
5404
5405 ----------------------------------------
5406 11 February 2011. Summary of changes for version 20110211:
5407
5408 1) ACPI CA Core Subsystem:
5409
5410 Added a mechanism to defer _REG methods for some early-installed 
5411 handlers. 
5412 Most user handlers should be installed before call to 
5413 AcpiEnableSubsystem. 
5414 However, Event handlers and region handlers should be installed after 
5415 AcpiInitializeObjects. Override handlers for the "default" regions should 
5416 be 
5417 installed early, however. This change executes all _REG methods for the 
5418 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
5419 chicken/egg issues between them. ACPICA BZ 848.
5420
5421 Implemented an optimization for GPE detection. This optimization will 
5422 simply 
5423 ignore GPE registers that contain no enabled GPEs -- there is no need to 
5424 read the register since this information is available internally. This 
5425 becomes more important on machines with a large GPE space. ACPICA 
5426 bugzilla 
5427 884. Lin Ming. Suggestion from Joe Liu.
5428
5429 Removed all use of the highly unreliable FADT revision field. The 
5430 revision 
5431 number in the FADT has been found to be completely unreliable and cannot 
5432 be 
5433 trusted. Only the actual table length can be used to infer the version. 
5434 This 
5435 change updates the ACPICA core and the disassembler so that both no 
5436 longer 
5437 even look at the FADT version and instead depend solely upon the FADT 
5438 length.
5439
5440 Fix an unresolved name issue for the no-debug and no-error-message source 
5441 generation cases. The _AcpiModuleName was left undefined in these cases, 
5442 but 
5443 it is actually needed as a parameter to some interfaces. Define 
5444 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
5445
5446 Split several large files (makefiles and project files updated)
5447   utglobal.c   -> utdecode.c
5448   dbcomds.c    -> dbmethod.c dbnames.c
5449   dsopcode.c   -> dsargs.c dscontrol.c
5450   dsload.c     -> dsload2.c
5451   aslanalyze.c -> aslbtypes.c aslwalks.c
5452
5453 Example Code and Data Size: These are the sizes for the OS-independent 
5454 acpica.lib produced by the Microsoft Visual C++ 9.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 (VC 9.0):
5460     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5461     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5462   Current Release (VC 9.0):
5463     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5464     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5465
5466 2) iASL Compiler/Disassembler and Tools:
5467
5468 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
5469 These are useful C-style macros with the standard definitions. ACPICA 
5470 bugzilla 898.
5471
5472 iASL/DTC: Added support for integer expressions and labels. Support for 
5473 full 
5474 expressions for all integer fields in all ACPI tables. Support for labels 
5475 in 
5476 "generic" portions of tables such as UEFI. See the iASL reference manual.
5477
5478 Debugger: Added a command to display the status of global handlers. The 
5479 "handlers" command will display op region, fixed event, and miscellaneous 
5480 global handlers. installation status -- and for op regions, whether 
5481 default 
5482 or user-installed handler will be used.
5483
5484 iASL: Warn if reserved method incorrectly returns a value. Many 
5485 predefined 
5486 names are defined such that they do not return a value. If implemented as 
5487
5488 method, issue a warning if such a name explicitly returns a value. ACPICA 
5489 Bugzilla 855.
5490
5491 iASL: Added detection of GPE method name conflicts. Detects a conflict 
5492 where 
5493 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
5494 (For 
5495 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
5496
5497 iASL/DTC: Fixed a couple input scanner issues with comments and line 
5498 numbers. Comment remover could get confused and miss a comment ending. 
5499 Fixed 
5500 a problem with line counter maintenance.
5501
5502 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
5503 is 
5504 no need to abort on simple errors within a field definition.
5505
5506 Debugger: Simplified the output of the help command. All help output now 
5507 in 
5508 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
5509
5510 ----------------------------------------
5511 12 January 2011. Summary of changes for version 20110112:
5512
5513 1) ACPI CA Core Subsystem:
5514
5515 Fixed a race condition between method execution and namespace walks that 
5516 can 
5517 possibly cause a fault. The problem was apparently introduced in version 
5518 20100528 as a result of a performance optimization that reduces the 
5519 number 
5520 of 
5521 namespace walks upon method exit by using the delete_namespace_subtree 
5522 function instead of the delete_namespace_by_owner function used 
5523 previously. 
5524 Bug is a missing namespace lock in the delete_namespace_subtree function. 
5525 dana.myers@oracle.com
5526
5527 Fixed several issues and a possible fault with the automatic "serialized" 
5528 method support. History: This support changes a method to "serialized" on 
5529 the 
5530 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
5531 possibility that it cannot handle reentrancy. This fix repairs a couple 
5532 of 
5533 issues seen in the field, especially on machines with many cores:
5534
5535     1) Delete method children only upon the exit of the last thread,
5536        so as to not delete objects out from under other running threads
5537       (and possibly causing a fault.)
5538     2) Set the "serialized" bit for the method only upon the exit of the
5539        Last thread, so as to not cause deadlock when running threads
5540        attempt to exit.
5541     3) Cleanup the use of the AML "MethodFlags" and internal method flags
5542        so that there is no longer any confusion between the two.
5543
5544     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
5545
5546 Debugger: Now lock the namespace for duration of a namespace dump. 
5547 Prevents 
5548 issues if the namespace is changing dynamically underneath the debugger. 
5549 Especially affects temporary namespace nodes, since the debugger displays 
5550 these also.
5551
5552 Updated the ordering of include files. The ACPICA headers should appear 
5553 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
5554 set 
5555 any necessary compiler-specific defines, etc. Affects the ACPI-related 
5556 tools 
5557 and utilities.
5558
5559 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
5560 copyright 
5561 to all module headers and signons, including the Linux header. This 
5562 affects 
5563 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
5564 utilities.
5565
5566 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
5567 project files for VC++ 6.0 are now obsolete. New project files can be 
5568 found 
5569 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
5570 details.
5571
5572 Example Code and Data Size: These are the sizes for the OS-independent 
5573 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5574 debug version of the code includes the debug output trace mechanism and 
5575 has a 
5576 much larger code and data size.
5577
5578   Previous Release (VC 6.0):
5579     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
5580     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
5581   Current Release (VC 9.0):
5582     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5583     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5584
5585 2) iASL Compiler/Disassembler and Tools:
5586
5587 iASL: Added generic data types to the Data Table compiler. Add "generic" 
5588 data 
5589 types such as UINT32, String, Unicode, etc., to simplify the generation 
5590 of 
5591 platform-defined tables such as UEFI. Lin Ming.
5592
5593 iASL: Added listing support for the Data Table Compiler. Adds listing 
5594 support 
5595 (-l) to display actual binary output for each line of input code.
5596
5597 ----------------------------------------
5598 09 December 2010. Summary of changes for version 20101209:
5599
5600 1) ACPI CA Core Subsystem:
5601
5602 Completed the major overhaul of the GPE support code that was begun in 
5603 July 
5604 2010. Major features include: removal of _PRW execution in ACPICA (host 
5605 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
5606 changes to existing interfaces, simplification of GPE handler operation, 
5607 and 
5608 a handful of new interfaces:
5609
5610     AcpiUpdateAllGpes
5611     AcpiFinishGpe
5612     AcpiSetupGpeForWake
5613     AcpiSetGpeWakeMask
5614     One new file, evxfgpe.c to consolidate all external GPE interfaces.
5615
5616 See the ACPICA Programmer Reference for full details and programming 
5617 information. See the new section 4.4 "General Purpose Event (GPE) 
5618 Support" 
5619 for a full overview, and section 8.7 "ACPI General Purpose Event 
5620 Management" 
5621 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
5622 Ming, 
5623 Bob Moore, Rafael Wysocki.
5624
5625 Implemented a new GPE feature for Windows compatibility, the "Implicit 
5626 Wake 
5627 GPE Notify". This feature will automatically issue a Notify(2) on a 
5628 device 
5629 when a Wake GPE is received if there is no corresponding GPE method or 
5630 handler. ACPICA BZ 870.
5631
5632 Fixed a problem with the Scope() operator during table parse and load 
5633 phase. 
5634 During load phase (table load or method execution), the scope operator 
5635 should 
5636 not enter the target into the namespace. Instead, it should open a new 
5637 scope 
5638 at the target location. Linux BZ 19462, ACPICA BZ 882.
5639
5640 Example Code and Data Size: These are the sizes for the OS-independent 
5641 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5642 debug version of the code includes the debug output trace mechanism and 
5643 has a 
5644 much larger code and data size.
5645
5646   Previous Release:
5647     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
5648     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
5649   Current Release:
5650     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5651     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5652
5653 2) iASL Compiler/Disassembler and Tools:
5654
5655 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
5656 are 
5657 "bus-specific" per the ACPI specification, and therefore any characters 
5658 are 
5659 acceptable. The only checks that can be performed are for a null string 
5660 and 
5661 perhaps for a leading asterisk. ACPICA BZ 886.
5662
5663 iASL: Fixed a problem where a syntax error that caused a premature EOF 
5664 condition on the source file emitted a very confusing error message. The 
5665 premature EOF is now detected correctly. ACPICA BZ 891.
5666
5667 Disassembler: Decode the AccessSize within a Generic Address Structure 
5668 (byte 
5669 access, word access, etc.) Note, this field does not allow arbitrary bit 
5670 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
5671
5672 New: AcpiNames utility - Example namespace dump utility. Shows an example 
5673 of 
5674 ACPICA configuration for a minimal namespace dump utility. Uses table and 
5675 namespace managers, but no AML interpreter. Does not add any 
5676 functionality 
5677 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
5678 partition and configure ACPICA. ACPICA BZ 883.
5679
5680 AML Debugger: Increased the debugger buffer size for method return 
5681 objects. 
5682 Was 4K, increased to 16K. Also enhanced error messages for debugger 
5683 method 
5684 execution, including the buffer overflow case.
5685
5686 ----------------------------------------
5687 13 October 2010. Summary of changes for version 20101013:
5688
5689 1) ACPI CA Core Subsystem:
5690
5691 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
5692 now 
5693 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
5694 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
5695
5696 Changed the type of the predefined namespace object _TZ from ThermalZone 
5697 to 
5698 Device. This was found to be confusing to the host software that 
5699 processes 
5700 the various thermal zones, since _TZ is not really a ThermalZone. 
5701 However, 
5702
5703 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
5704 Zhang.
5705
5706 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
5707 string is "Windows 2006 SP2".
5708
5709 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
5710 nsrepair 
5711 code automatically repairs _HID-related strings, this type of code is no 
5712 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
5713 878.
5714
5715 Example Code and Data Size: These are the sizes for the OS-independent 
5716 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5717 debug version of the code includes the debug output trace mechanism and 
5718 has a 
5719 much larger code and data size.
5720
5721   Previous Release:
5722     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5723     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5724   Current Release:
5725     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5726     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5727
5728 2) iASL Compiler/Disassembler and Tools:
5729
5730 iASL: Implemented additional compile-time validation for _HID strings. 
5731 The 
5732 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
5733 length 
5734 of 
5735 the string must be exactly seven or eight characters. For both _HID and 
5736 _CID 
5737 strings, all characters must be alphanumeric. ACPICA BZ 874.
5738
5739 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
5740 descriptors that are mostly or all zeros, with the expectation that they 
5741 will 
5742 be filled in at runtime. iASL now allows this as long as there is a 
5743 "resource 
5744 tag" (name) associated with the descriptor, which gives the ASL a handle 
5745 needed to modify the descriptor. ACPICA BZ 873.
5746
5747 Added single-thread support to the generic Unix application OSL. 
5748 Primarily 
5749 for iASL support, this change removes the use of semaphores in the 
5750 single-
5751 threaded ACPICA tools/applications - increasing performance. The 
5752 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
5753 option. ACPICA BZ 879.
5754
5755 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
5756 support 
5757 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
5758
5759 iASL: Moved all compiler messages to a new file, aslmessages.h.
5760
5761 ----------------------------------------
5762 15 September 2010. Summary of changes for version 20100915:
5763
5764 1) ACPI CA Core Subsystem:
5765
5766 Removed the AcpiOsDerivePciId OSL interface. The various host 
5767 implementations 
5768 of this function were not OS-dependent and are now obsolete and can be 
5769 removed from all host OSLs. This function has been replaced by 
5770 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
5771 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
5772 module, hwpci.c. ACPICA BZ 857.
5773
5774 Implemented a dynamic repair for _HID and _CID strings. The following 
5775 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
5776 string, and 2) the entire string is uppercased. Both repairs are in 
5777 accordance with the ACPI specification and will simplify host driver 
5778 code. 
5779 ACPICA BZ 871.
5780
5781 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
5782 always UINT64. This simplifies the ACPICA code, especially any printf 
5783 output. 
5784 UINT64 is the only common data type for all thread_id types across all 
5785 operating systems. It is now up to the host OSL to cast the native 
5786 thread_id 
5787 type to UINT64 before returning the value to ACPICA (via 
5788 AcpiOsGetThreadId). 
5789 Lin Ming, Bob Moore.
5790
5791 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
5792 "inline" 
5793 keyword is not standard across compilers, and this type allows inline to 
5794 be 
5795 configured on a per-compiler basis. Lin Ming.
5796
5797 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
5798 available. 
5799 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
5800 value 
5801 during suspend/restore operations. ACPICA BZ 869.
5802
5803 All code that implements error/warning messages with the "ACPI:" prefix 
5804 has 
5805 been moved to a new module, utxferror.c.
5806
5807 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
5808 it 
5809 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
5810
5811 Example Code and Data Size: These are the sizes for the OS-independent 
5812 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5813 debug version of the code includes the debug output trace mechanism and 
5814 has a 
5815 much larger code and data size.
5816
5817   Previous Release:
5818     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
5819     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
5820   Current Release:
5821     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5822     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5823
5824 2) iASL Compiler/Disassembler and Tools:
5825
5826 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
5827 file. 
5828 This keeps the output files free of random error messages that may 
5829 originate 
5830 from within the namespace/interpreter code. Used this opportunity to 
5831 merge 
5832 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
5833 866. Lin Ming, Bob Moore.
5834
5835 Tools: update some printfs for ansi warnings on size_t. Handle width 
5836 change 
5837 of size_t on 32-bit versus 64-bit generations. Lin Ming.
5838
5839 ----------------------------------------
5840 06 August 2010. Summary of changes for version 20100806:
5841
5842 1) ACPI CA Core Subsystem:
5843
5844 Designed and implemented a new host interface to the _OSI support code. 
5845 This 
5846 will allow the host to dynamically add or remove multiple _OSI strings, 
5847 as 
5848 well as install an optional handler that is called for each _OSI 
5849 invocation. 
5850 Also added a new AML debugger command, 'osi' to display and modify the 
5851 global 
5852 _OSI string table, and test support in the AcpiExec utility. See the 
5853 ACPICA 
5854 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
5855 New Functions:
5856     AcpiInstallInterface - Add an _OSI string.
5857     AcpiRemoveInterface - Delete an _OSI string.
5858     AcpiInstallInterfaceHandler - Install optional _OSI handler.
5859 Obsolete Functions:
5860     AcpiOsValidateInterface - no longer used.
5861 New Files:
5862     source/components/utilities/utosi.c
5863
5864 Re-introduced the support to enable multi-byte transfers for Embedded 
5865 Controller (EC) operation regions. A reported problem was found to be a 
5866 bug 
5867 in the host OS, not in the multi-byte support. Previously, the maximum 
5868 data 
5869 size passed to the EC operation region handler was a single byte. There 
5870 are 
5871 often EC Fields larger than one byte that need to be transferred, and it 
5872 is 
5873 useful for the EC driver to lock these as a single transaction. This 
5874 change 
5875 enables single transfers larger than 8 bits. This effectively changes the 
5876 access to the EC space from ByteAcc to AnyAcc, and will probably require 
5877 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
5878 bit 
5879 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
5880
5881 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
5882 prototype in acpiosxf.h had the output value pointer as a (void *).
5883 It should be a (UINT64 *). This may affect some host OSL code.
5884
5885 Fixed a couple problems with the recently modified Linux makefiles for 
5886 iASL 
5887 and AcpiExec. These new makefiles place the generated object files in the 
5888 local directory so that there can be no collisions between the files that 
5889 are 
5890 shared between them that are compiled with different options.
5891
5892 Example Code and Data Size: These are the sizes for the OS-independent 
5893 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5894 debug version of the code includes the debug output trace mechanism and 
5895 has a 
5896 much larger code and data size.
5897
5898   Previous Release:
5899     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
5900     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
5901   Current Release:
5902     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
5903     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
5904
5905 2) iASL Compiler/Disassembler and Tools:
5906
5907 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
5908 the 
5909 namespace from and disassemble an entire group of AML files. Useful for 
5910 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
5911 and 
5912 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
5913
5914 iASL: Allow multiple invocations of -e option. This change allows 
5915 multiple 
5916 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
5917 834. 
5918 Lin Ming.
5919
5920 ----------------------------------------
5921 02 July 2010. Summary of changes for version 20100702:
5922
5923 1) ACPI CA Core Subsystem:
5924
5925 Implemented several updates to the recently added GPE reference count 
5926 support. The model for "wake" GPEs is changing to give the host OS 
5927 complete 
5928 control of these GPEs. Eventually, the ACPICA core will not execute any 
5929 _PRW 
5930 methods, since the host already must execute them. Also, additional 
5931 changes 
5932 were made to help ensure that the reference counts are kept in proper 
5933 synchronization with reality. Rafael J. Wysocki.
5934
5935 1) Ensure that GPEs are not enabled twice during initialization.
5936 2) Ensure that GPE enable masks stay in sync with the reference count.
5937 3) Do not inadvertently enable GPEs when writing GPE registers.
5938 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
5939 interface. This interface will set or clear individual GPEs for wakeup.
5940 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
5941 interfaces 
5942 are now used for "runtime" GPEs only.
5943
5944 Changed the behavior of the GPE install/remove handler interfaces. The 
5945 GPE 
5946 is 
5947 no longer disabled during this process, as it was found to cause problems 
5948 on 
5949 some machines. Rafael J. Wysocki.
5950
5951 Reverted a change introduced in version 20100528 to enable Embedded 
5952 Controller multi-byte transfers. This change was found to cause problems 
5953 with 
5954 Index Fields and possibly Bank Fields. It will be reintroduced when these 
5955 problems have been resolved.
5956
5957 Fixed a problem with references to Alias objects within Package Objects. 
5958
5959 reference to an Alias within the definition of a Package was not always 
5960 resolved properly. Aliases to objects like Processors, Thermal zones, 
5961 etc. 
5962 were resolved to the actual object instead of a reference to the object 
5963 as 
5964 it 
5965 should be. Package objects are only allowed to contain integer, string, 
5966 buffer, package, and reference objects. Redhat bugzilla 608648.
5967
5968 Example Code and Data Size: These are the sizes for the OS-independent 
5969 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5970 debug version of the code includes the debug output trace mechanism and 
5971 has a 
5972 much larger code and data size.
5973
5974   Previous Release:
5975     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
5976     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
5977   Current Release:
5978     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
5979     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
5980
5981 2) iASL Compiler/Disassembler and Tools:
5982
5983 iASL: Implemented a new compiler subsystem to allow definition and 
5984 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
5985 These 
5986 are called "ACPI Data Tables", and the new compiler is the "Data Table 
5987 Compiler". This compiler is intended to simplify the existing error-prone 
5988 process of creating these tables for the BIOS, as well as allowing the 
5989 disassembly, modification, recompilation, and override of existing ACPI 
5990 data 
5991 tables. See the iASL User Guide for detailed information.
5992
5993 iASL: Implemented a new Template Generator option in support of the new 
5994 Data 
5995 Table Compiler. This option will create examples of all known ACPI tables 
5996 that can be used as the basis for table development. See the iASL 
5997 documentation and the -T option.
5998
5999 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
6000 Descriptor Table).
6001
6002 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
6003 object files in the local directory so that there can be no collisions 
6004 between the shared files between them that are generated with different 
6005 options.
6006
6007 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
6008 Use 
6009 the #define __APPLE__ to enable this support.
6010
6011 ----------------------------------------
6012 28 May 2010. Summary of changes for version 20100528:
6013
6014 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
6015 available at www.acpi.info. This is primarily an errata release.
6016
6017 1) ACPI CA Core Subsystem:
6018
6019 Undefined ACPI tables: We are looking for the definitions for the 
6020 following 
6021 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6022
6023 Implemented support to enable multi-byte transfers for Embedded 
6024 Controller 
6025 (EC) operation regions. Previously, the maximum data size passed to the 
6026 EC 
6027 operation region handler was a single byte. There are often EC Fields 
6028 larger 
6029 than one byte that need to be transferred, and it is useful for the EC 
6030 driver 
6031 to lock these as a single transaction. This change enables single 
6032 transfers 
6033 larger than 8 bits. This effectively changes the access to the EC space 
6034 from 
6035 ByteAcc to AnyAcc, and will probably require changes to the host OS 
6036 Embedded 
6037 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
6038 bit 
6039 transfers. Alexey Starikovskiy, Lin Ming
6040
6041 Implemented a performance enhancement for namespace search and access. 
6042 This 
6043 change enhances the performance of namespace searches and walks by adding 
6044
6045 backpointer to the parent in each namespace node. On large namespaces, 
6046 this 
6047 change can improve overall ACPI performance by up to 9X. Adding a pointer 
6048 to 
6049 each namespace node increases the overall size of the internal namespace 
6050 by 
6051 about 5%, since each namespace entry usually consists of both a namespace 
6052 node and an ACPI operand object. However, this is the first growth of the 
6053 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
6054
6055 Implemented a performance optimization that reduces the number of 
6056 namespace 
6057 walks. On control method exit, only walk the namespace if the method is 
6058 known 
6059 to have created namespace objects outside of its local scope. Previously, 
6060 the 
6061 entire namespace was traversed on each control method exit. This change 
6062 can 
6063 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
6064 Moore.
6065
6066 Added support to truncate I/O addresses to 16 bits for Windows 
6067 compatibility. 
6068 Some ASL code has been seen in the field that inadvertently has bits set 
6069 above bit 15. This feature is optional and is enabled if the BIOS 
6070 requests 
6071 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
6072 Garrett, Bob Moore.
6073
6074 Added support to limit the maximum time for the ASL Sleep() operator. To 
6075 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
6076 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
6077 bugzilla 854.
6078
6079 Added run-time validation support for the _WDG and_WED Microsoft 
6080 predefined 
6081 methods. These objects are defined by "Windows Instrumentation", and are 
6082 not 
6083 part of the ACPI spec. ACPICA BZ 860.
6084
6085 Expanded all statistic counters used during namespace and device 
6086 initialization from 16 to 32 bits in order to support very large 
6087 namespaces.
6088
6089 Replaced all instances of %d in printf format specifiers with %u since 
6090 nearly 
6091 all integers in ACPICA are unsigned.
6092
6093 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
6094 returned 
6095 as AE_NO_HANDLER.
6096
6097 Example Code and Data Size: These are the sizes for the OS-independent 
6098 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6099 debug version of the code includes the debug output trace mechanism and 
6100 has a 
6101 much larger code and data size.
6102
6103   Previous Release:
6104     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6105     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6106   Current Release:
6107     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6108     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6109
6110 2) iASL Compiler/Disassembler and Tools:
6111
6112 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
6113 methods. These objects are defined by "Windows Instrumentation", and are 
6114 not 
6115 part of the ACPI spec. ACPICA BZ 860.
6116
6117 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
6118 option will disable the tracking mechanism, which improves performance 
6119 considerably.
6120
6121 AcpiExec: Restructured the command line options into -d (disable) and -e 
6122 (enable) options.
6123
6124 ----------------------------------------
6125 28 April 2010. Summary of changes for version 20100428:
6126
6127 1) ACPI CA Core Subsystem:
6128
6129 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
6130 including FADT-based and GPE Block Devices, execute any _PRW methods in 
6131 the 
6132 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
6133 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
6134 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
6135 Devices. Provides compatibility with other ACPI implementations. Two new 
6136 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
6137 Moore.
6138
6139 Fixed a regression introduced in version 20100331 within the table 
6140 manager 
6141 where initial table loading could fail. This was introduced in the fix 
6142 for 
6143 AcpiReallocateRootTable. Also, renamed some of fields in the table 
6144 manager 
6145 data structures to clarify their meaning and use.
6146
6147 Fixed a possible allocation overrun during internal object copy in 
6148 AcpiUtCopySimpleObject. The original code did not correctly handle the 
6149 case 
6150 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
6151 847.
6152
6153 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
6154 possible access beyond end-of-allocation. Also, now fully validate 
6155 descriptor 
6156 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
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 a 
6162 much larger code and data size.
6163
6164   Previous Release:
6165     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6166     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6167   Current Release:
6168     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6169     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6170
6171 2) iASL Compiler/Disassembler and Tools:
6172
6173 iASL: Implemented Min/Max/Len/Gran validation for address resource 
6174 descriptors. This change implements validation for the address fields 
6175 that 
6176 are common to all address-type resource descriptors. These checks are 
6177 implemented: Checks for valid Min/Max, length within the Min/Max window, 
6178 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
6179 per 
6180 table 6-40 in the ACPI 4.0a specification. Also split the large 
6181 aslrestype1.c 
6182 and aslrestype2.c files into five new files. ACPICA BZ 840.
6183
6184 iASL: Added support for the _Wxx predefined names. This support was 
6185 missing 
6186 and these names were not recognized by the compiler as valid predefined 
6187 names. ACPICA BZ 851.
6188
6189 iASL: Added an error for all predefined names that are defined to return 
6190 no 
6191 value and thus must be implemented as Control Methods. These include all 
6192 of 
6193 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
6194 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
6195
6196 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
6197 an 
6198 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
6199 be 
6200 dynamically loaded via the Load() operator. Also cleaned up output for 
6201 the 
6202 -
6203 ta and -tc options. ACPICA BZ 853.
6204
6205 Tests: Added a new file with examples of extended iASL error checking. 
6206 Demonstrates the advanced error checking ability of the iASL compiler. 
6207 Available at tests/misc/badcode.asl.
6208
6209 ----------------------------------------
6210 31 March 2010. Summary of changes for version 20100331:
6211
6212 1) ACPI CA Core Subsystem:
6213
6214 Completed a major update for the GPE support in order to improve support 
6215 for 
6216 shared GPEs and to simplify both host OS and ACPICA code. Added a 
6217 reference 
6218 count mechanism to support shared GPEs that require multiple device 
6219 drivers. 
6220 Several external interfaces have changed. One external interface has been 
6221 removed. One new external interface was added. Most of the GPE external 
6222 interfaces now use the GPE spinlock instead of the events mutex (and the 
6223 Flags parameter for many GPE interfaces has been removed.) See the 
6224 updated 
6225 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
6226 Rafael 
6227 Wysocki. ACPICA BZ 831.
6228
6229 Changed:
6230     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
6231 Removed:
6232     AcpiSetGpeType
6233 New:
6234     AcpiSetGpe
6235
6236 Implemented write support for DataTable operation regions. These regions 
6237 are 
6238 defined via the DataTableRegion() operator. Previously, only read support 
6239 was 
6240 implemented. The ACPI specification allows DataTableRegions to be 
6241 read/write, 
6242 however.
6243
6244 Implemented a new subsystem option to force a copy of the DSDT to local 
6245 memory. Optionally copy the entire DSDT to local memory (instead of 
6246 simply 
6247 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
6248 replace 
6249 the original DSDT, creating the need for this option. Default is FALSE, 
6250 do 
6251 not copy the DSDT.
6252
6253 Implemented detection of a corrupted or replaced DSDT. This change adds 
6254 support to detect a DSDT that has been corrupted and/or replaced from 
6255 outside 
6256 the OS (by firmware). This is typically catastrophic for the system, but 
6257 has 
6258 been seen on some machines. Once this problem has been detected, the DSDT 
6259 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
6260
6261 Fixed two problems with AcpiReallocateRootTable during the root table 
6262 copy. 
6263 When copying the root table to the new allocation, the length used was 
6264 incorrect. The new size was used instead of the current table size, 
6265 meaning 
6266 too much data was copied. Also, the count of available slots for ACPI 
6267 tables 
6268 was not set correctly. Alexey Starikovskiy, Bob Moore.
6269
6270 Example Code and Data Size: These are the sizes for the OS-independent 
6271 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6272 debug version of the code includes the debug output trace mechanism and 
6273 has a 
6274 much larger code and data size.
6275
6276   Previous Release:
6277     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6278     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6279   Current Release:
6280     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6281     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6282
6283 2) iASL Compiler/Disassembler and Tools:
6284
6285 iASL: Implement limited typechecking for values returned from predefined 
6286 control methods. The type of any returned static (unnamed) object is now 
6287 validated. For example, Return(1). ACPICA BZ 786.
6288
6289 iASL: Fixed a predefined name object verification regression. Fixes a 
6290 problem 
6291 introduced in version 20100304. An error is incorrectly generated if a 
6292 predefined name is declared as a static named object with a value defined 
6293 using the keywords "Zero", "One", or "Ones". Lin Ming.
6294
6295 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
6296 by 
6297 reducing the requested registry access rights. ACPICA BZ 842.
6298
6299 Disassembler: fixed a possible fault when generating External() 
6300 statements. 
6301 Introduced in commit ae7d6fd: Properly handle externals with parent-
6302 prefix 
6303 (carat). Fixes a string length allocation calculation. Lin Ming.
6304
6305 ----------------------------------------
6306 04 March 2010. Summary of changes for version 20100304:
6307
6308 1) ACPI CA Core Subsystem:
6309
6310 Fixed a possible problem with the AML Mutex handling function 
6311 AcpiExReleaseMutex where the function could fault under the very rare 
6312 condition when the interpreter has blocked, the interpreter lock is 
6313 released, 
6314 the interpreter is then reentered via the same thread, and attempts to 
6315 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
6316 Lin 
6317 Ming.
6318
6319 Implemented additional configuration support for the AML "Debug Object". 
6320 Output from the debug object can now be enabled via a global variable, 
6321 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
6322 debugging. 
6323 This debug output is now available in the release version of ACPICA 
6324 instead 
6325 of just the debug version. Also, the entire debug output module can now 
6326 be 
6327 configured out of the ACPICA build if desired. One new file added, 
6328 executer/exdebug.c. Lin Ming, Bob Moore.
6329
6330 Added header support for the ACPI MCHI table (Management Controller Host 
6331 Interface Table). This table was added in ACPI 4.0, but the defining 
6332 document 
6333 has only recently become available.
6334
6335 Standardized output of integer values for ACPICA warnings/errors. Always 
6336 use 
6337 0x prefix for hex output, always use %u for unsigned integer decimal 
6338 output. 
6339 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
6340 400 
6341 invocations.) These invocations were converted from the original 
6342 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
6343
6344 Example Code and Data Size: These are the sizes for the OS-independent 
6345 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6346 debug version of the code includes the debug output trace mechanism and 
6347 has a 
6348 much larger code and data size.
6349
6350   Previous Release:
6351     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6352     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6353   Current Release:
6354     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6355     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6356
6357 2) iASL Compiler/Disassembler and Tools:
6358
6359 iASL: Implemented typechecking support for static (non-control method) 
6360 predefined named objects that are declared with the Name() operator. For 
6361 example, the type of this object is now validated to be of type Integer: 
6362 Name(_BBN, 1). This change migrates the compiler to using the core 
6363 predefined 
6364 name table instead of maintaining a local version. Added a new file, 
6365 aslpredef.c. ACPICA BZ 832.
6366
6367 Disassembler: Added support for the ACPI 4.0 MCHI table.
6368
6369 ----------------------------------------
6370 21 January 2010. Summary of changes for version 20100121:
6371
6372 1) ACPI CA Core Subsystem:
6373
6374 Added the 2010 copyright to all module headers and signons. This affects 
6375 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
6376 tools/utilities, and the test suites.
6377
6378 Implemented a change to the AcpiGetDevices interface to eliminate 
6379 unnecessary 
6380 invocations of the _STA method. In the case where a specific _HID is 
6381 requested, do not run _STA until a _HID match is found. This eliminates 
6382 potentially dozens of _STA calls during a search for a particular 
6383 device/HID, 
6384 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
6385
6386 Implemented an additional repair for predefined method return values. 
6387 Attempt 
6388 to repair unexpected NULL elements within returned Package objects. 
6389 Create 
6390 an 
6391 Integer of value zero, a NULL String, or a zero-length Buffer as 
6392 appropriate. 
6393 ACPICA BZ 818. Lin Ming, Bob Moore.
6394
6395 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
6396 the 
6397 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
6398 (with 
6399 64-bit AML integers). It is now obsolete and this change removes it from 
6400 the 
6401 ACPICA code base, replaced by UINT64. The original typedef has been 
6402 retained 
6403 for now for compatibility with existing device driver code. ACPICA BZ 
6404 824.
6405
6406 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
6407 in 
6408 the parse tree object.
6409
6410 Added additional warning options for the gcc-4 generation. Updated the 
6411 source 
6412 accordingly. This includes some code restructuring to eliminate 
6413 unreachable 
6414 code, elimination of some gotos, elimination of unused return values, 
6415 some 
6416 additional casting, and removal of redundant declarations.
6417
6418 Example Code and Data Size: These are the sizes for the OS-independent 
6419 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6420 debug version of the code includes the debug output trace mechanism and 
6421 has a 
6422 much larger code and data size.
6423
6424   Previous Release:
6425     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6426     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6427   Current Release:
6428     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6429     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6430
6431 2) iASL Compiler/Disassembler and Tools:
6432
6433 No functional changes for this release.
6434
6435 ----------------------------------------
6436 14 December 2009. Summary of changes for version 20091214:
6437
6438 1) ACPI CA Core Subsystem:
6439
6440 Enhanced automatic data type conversions for predefined name repairs. 
6441 This 
6442 change expands the automatic repairs/conversions for predefined name 
6443 return 
6444 values to make Integers, Strings, and Buffers fully interchangeable. 
6445 Also, 
6446
6447 Buffer can be converted to a Package of Integers if necessary. The 
6448 nsrepair.c 
6449 module was completely restructured. Lin Ming, Bob Moore.
6450
6451 Implemented automatic removal of null package elements during predefined 
6452 name 
6453 repairs. This change will automatically remove embedded and trailing NULL 
6454 package elements from returned package objects that are defined to 
6455 contain 
6456
6457 variable number of sub-packages. The driver is then presented with a 
6458 package 
6459 with no null elements to deal with. ACPICA BZ 819.
6460
6461 Implemented a repair for the predefined _FDE and _GTM names. The expected 
6462 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
6463 two 
6464 possible problems (both seen in the field), where a package of integers 
6465 is 
6466 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
6467 Kim.
6468
6469 Implemented additional module-level code support. This change will 
6470 properly 
6471 execute module-level code that is not at the root of the namespace (under 
6472
6473 Device object, etc.). Now executes the code within the current scope 
6474 instead 
6475 of the root. ACPICA BZ 762. Lin Ming.
6476
6477 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
6478
6479 problem where mutex errors can occur when running a _REG method that is 
6480 in 
6481 the same scope as a method-defined operation region or an operation 
6482 region 
6483 under a module-level IF block. This type of code is rare, so the problem 
6484 has 
6485 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
6486
6487 Fixed a possible memory leak during module-level code execution. An 
6488 object 
6489 could be leaked for each block of executed module-level code if the 
6490 interpreter slack mode is enabled This change deletes any implicitly 
6491 returned 
6492 object from the module-level code block. Lin Ming.
6493
6494 Removed messages for successful predefined repair(s). The repair 
6495 mechanism 
6496 was considered too wordy. Now, messages are only unconditionally emitted 
6497 if 
6498 the return object cannot be repaired. Existing messages for successful 
6499 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
6500 827.
6501
6502 Example Code and Data Size: These are the sizes for the OS-independent 
6503 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6504 debug version of the code includes the debug output trace mechanism and 
6505 has a 
6506 much larger code and data size.
6507
6508   Previous Release:
6509     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
6510     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
6511   Current Release:
6512     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6513     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6514
6515 2) iASL Compiler/Disassembler and Tools:
6516
6517 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
6518 files 
6519 were no longer automatically removed at the termination of the compile.
6520
6521 acpiexec: Implemented the -f option to specify default region fill value. 
6522 This option specifies the value used to initialize buffers that simulate 
6523 operation regions. Default value is zero. Useful for debugging problems 
6524 that 
6525 depend on a specific initial value for a region or field.
6526
6527 ----------------------------------------
6528 12 November 2009. Summary of changes for version 20091112:
6529
6530 1) ACPI CA Core Subsystem:
6531
6532 Implemented a post-order callback to AcpiWalkNamespace. The existing 
6533 interface only has a pre-order callback. This change adds an additional 
6534 parameter for a post-order callback which will be more useful for bus 
6535 scans. 
6536 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
6537
6538 Modified the behavior of the operation region memory mapping cache for 
6539 SystemMemory. Ensure that the memory mappings created for operation 
6540 regions 
6541 do not cross 4K page boundaries. Crossing a page boundary while mapping 
6542 regions can cause kernel warnings on some hosts if the pages have 
6543 different 
6544 attributes. Such regions are probably BIOS bugs, and this is the 
6545 workaround. 
6546 Linux BZ 14445. Lin Ming.
6547
6548 Implemented an automatic repair for predefined methods that must return 
6549 sorted lists. This change will repair (by sorting) packages returned by 
6550 _ALR, 
6551 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
6552 sorted 
6553 and do not contain NULL package elements. Adds one new file, 
6554 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
6555
6556 Fixed a possible fault during predefined name validation if a return 
6557 Package 
6558 object contains NULL elements. Also adds a warning if a NULL element is 
6559 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
6560 may 
6561 include repair or removal of all such NULL elements where possible.
6562
6563 Implemented additional module-level executable AML code support. This 
6564 change 
6565 will execute module-level code that is not at the root of the namespace 
6566 (under a Device object, etc.) at table load time. Module-level executable 
6567 AML 
6568 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
6569
6570 Implemented a new internal function to create Integer objects. This 
6571 function 
6572 simplifies miscellaneous object creation code. ACPICA BZ 823.
6573
6574 Reduced the severity of predefined repair messages, Warning to Info. 
6575 Since 
6576 the object was successfully repaired, a warning is too severe. Reduced to 
6577 an 
6578 info message for now. These messages may eventually be changed to debug-
6579 only. 
6580 ACPICA BZ 812.
6581
6582 Example Code and Data Size: These are the sizes for the OS-independent 
6583 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6584 debug version of the code includes the debug output trace mechanism and 
6585 has a 
6586 much larger code and data size.
6587
6588   Previous Release:
6589     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
6590     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
6591   Current Release:
6592     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
6593     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
6594
6595 2) iASL Compiler/Disassembler and Tools:
6596
6597 iASL: Implemented Switch() with While(1) so that Break works correctly. 
6598 This 
6599 change correctly implements the Switch operator with a surrounding 
6600 While(1) 
6601 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
6602
6603 iASL: Added a message if a package initializer list is shorter than 
6604 package 
6605 length. Adds a new remark for a Package() declaration if an initializer 
6606 list 
6607 exists, but is shorter than the declared length of the package. Although 
6608 technically legal, this is probably a coding error and it is seen in the 
6609 field. ACPICA BZ 815. Lin Ming, Bob Moore.
6610
6611 iASL: Fixed a problem where the compiler could fault after the maximum 
6612 number 
6613 of errors was reached (200).
6614
6615 acpixtract: Fixed a possible warning for pointer cast if the compiler 
6616 warning 
6617 level set very high.
6618
6619 ----------------------------------------
6620 13 October 2009. Summary of changes for version 20091013:
6621
6622 1) ACPI CA Core Subsystem:
6623
6624 Fixed a problem where an Operation Region _REG method could be executed 
6625 more 
6626 than once. If a custom address space handler is installed by the host 
6627 before 
6628 the "initialize operation regions" phase of the ACPICA initialization, 
6629 any 
6630 _REG methods for that address space could be executed twice. This change 
6631 fixes the problem. ACPICA BZ 427. Lin Ming.
6632
6633 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
6634 invocation of "Scope(\)" is executed (change scope to root), one internal 
6635 operand object was leaked. Lin Ming.
6636
6637 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
6638 return value is defined as a Field object in the AML, and the field
6639 size is less than or equal to the default width of an integer (32 or 
6640 64),_MAT 
6641 can incorrectly return an Integer instead of a Buffer. ACPICA now 
6642 automatically repairs this problem. ACPICA BZ 810.
6643
6644 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
6645 The 
6646 "OEM Information" field is often incorrectly returned as an Integer with 
6647 value zero if the field is not supported by the platform. This is due to 
6648 an 
6649 ambiguity in the ACPI specification. The field should always be a string. 
6650 ACPICA now automatically repairs this problem by returning a NULL string 
6651 within the returned Package. ACPICA BZ 807.
6652
6653 Example Code and Data Size: These are the sizes for the OS-independent 
6654 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6655 debug version of the code includes the debug output trace mechanism and 
6656 has a 
6657 much larger code and data size.
6658
6659   Previous Release:
6660     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
6661     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
6662   Current Release:
6663     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
6664     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
6665
6666 2) iASL Compiler/Disassembler and Tools:
6667
6668 Disassembler: Fixed a problem where references to external symbols that 
6669 contained one or more parent-prefixes (carats) were not handled 
6670 correctly, 
6671 possibly causing a fault. ACPICA BZ 806. Lin Ming.
6672
6673 Disassembler: Restructured the code so that all functions that handle 
6674 external symbols are in a single module. One new file is added, 
6675 common/dmextern.c.
6676
6677 AML Debugger: Added a max count argument for the Batch command (which 
6678 executes multiple predefined methods within the namespace.)
6679
6680 iASL: Updated the compiler documentation (User Reference.) Available at 
6681 http://www.acpica.org/documentation/. ACPICA BZ 750.
6682
6683 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
6684 files.
6685
6686 ----------------------------------------
6687 03 September 2009. Summary of changes for version 20090903:
6688
6689 1) ACPI CA Core Subsystem:
6690
6691 For Windows Vista compatibility, added the automatic execution of an _INI 
6692 method located at the namespace root (\_INI). This method is executed at 
6693 table load time. This support is in addition to the automatic execution 
6694 of 
6695 \_SB._INI. Lin Ming.
6696
6697 Fixed a possible memory leak in the interpreter for AML package objects 
6698 if 
6699 the package initializer list is longer than the defined size of the 
6700 package. 
6701 This apparently can only happen if the BIOS changes the package size on 
6702 the 
6703 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
6704 interpreter will truncate the package to the defined size (and issue an 
6705 error 
6706 message), but previously could leave the extra objects undeleted if they 
6707 were 
6708 pre-created during the argument processing (such is the case if the 
6709 package 
6710 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
6711
6712 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
6713 This has been reported in the field. Previously, ACPICA would zero out 
6714 the 
6715 buffer/string. Now, the operation is treated as a noop. Provides Windows 
6716 compatibility. ACPICA BZ 803. Lin Ming.
6717
6718 Removed an extraneous error message for ASL constructs of the form 
6719 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
6720 statements 
6721 are seen in many BIOSs and are once again treated as NOOPs and no error 
6722 is 
6723 emitted when they are encountered. ACPICA BZ 785.
6724
6725 Fixed an extraneous warning message if a _DSM reserved method returns a 
6726 Package object. _DSM can return any type of object, so validation on the 
6727 return type cannot be performed. ACPICA BZ 802.
6728
6729 Example Code and Data Size: These are the sizes for the OS-independent 
6730 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6731 debug version of the code includes the debug output trace mechanism and 
6732 has a 
6733 much larger code and data size.
6734
6735   Previous Release:
6736     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
6737     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
6738   Current Release:
6739     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
6740     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
6741
6742 2) iASL Compiler/Disassembler and Tools:
6743
6744 iASL: Fixed a problem with the use of the Alias operator and Resource 
6745 Templates. The correct alias is now constructed and no error is emitted. 
6746 ACPICA BZ 738.
6747
6748 iASL: Implemented the -I option to specify additional search directories 
6749 for 
6750 include files. Allows multiple additional search paths for include files. 
6751 Directories are searched in the order specified on the command line 
6752 (after 
6753 the local directory is searched.) ACPICA BZ 800.
6754
6755 iASL: Fixed a problem where the full pathname for include files was not 
6756 emitted for warnings/errors. This caused the IDE support to not work 
6757 properly. ACPICA BZ 765.
6758
6759 iASL: Implemented the -@ option to specify a Windows-style response file 
6760 containing additional command line options. ACPICA BZ 801.
6761
6762 AcpiExec: Added support to load multiple AML files simultaneously (such 
6763 as 
6764
6765 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
6766 pathname. These features allow all machine tables to be easily loaded and 
6767 debugged together. ACPICA BZ 804.
6768
6769 Disassembler: Added missing support for disassembly of HEST table Error 
6770 Bank 
6771 subtables. 
6772
6773 ----------------------------------------
6774 30 July 2009. Summary of changes for version 20090730:
6775
6776 The ACPI 4.0 implementation for ACPICA is complete with this release.
6777
6778 1) ACPI CA Core Subsystem:
6779
6780 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
6781 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
6782 new 
6783 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
6784 BERT, 
6785 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
6786 There 
6787 have been some ACPI 4.0 changes to other existing tables. Split the large 
6788 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
6789
6790 ACPI 4.0: Implemented predefined name validation for all new names. There 
6791 are 
6792 31 new names in ACPI 4.0. The predefined validation module was split into 
6793 two 
6794 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
6795
6796 Implemented support for so-called "module-level executable code". This is 
6797 executable AML code that exists outside of any control method and is 
6798 intended 
6799 to be executed at table load time. Although illegal since ACPI 2.0, this 
6800 type 
6801 of code still exists and is apparently still being created. Blocks of 
6802 this 
6803 code are now detected and executed as intended. Currently, the code 
6804 blocks 
6805 must exist under either an If, Else, or While construct; these are the 
6806 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
6807
6808 Implemented an automatic dynamic repair for predefined names that return 
6809 nested Package objects. This applies to predefined names that are defined 
6810 to 
6811 return a variable-length Package of sub-packages. If the number of sub-
6812 packages is one, BIOS code is occasionally seen that creates a simple 
6813 single 
6814 package with no sub-packages. This code attempts to fix the problem by 
6815 wrapping a new package object around the existing package. These methods 
6816 can 
6817 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
6818 BZ 
6819 790.
6820
6821 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
6822 interface. 
6823 The _HID/_CID matching was broken and no longer matched IDs correctly. 
6824 ACPICA 
6825 BZ 793.
6826
6827 Fixed a problem with AcpiReset where the reset would silently fail if the 
6828 register was one of the protected I/O ports. AcpiReset now bypasses the 
6829 port 
6830 validation mechanism. This may eventually be driven into the 
6831 AcpiRead/Write 
6832 interfaces.
6833
6834 Fixed a regression related to the recent update of the AcpiRead/Write 
6835 interfaces. A sleep/suspend could fail if the optional PM2 Control 
6836 register 
6837 does not exist during an attempt to write the Bus Master Arbitration bit. 
6838 (However, some hosts already delete the code that writes this bit, and 
6839 the 
6840 code may in fact be obsolete at this date.) ACPICA BZ 799.
6841
6842 Fixed a problem where AcpiTerminate could fault if inadvertently called 
6843 twice 
6844 in succession. ACPICA BZ 795.
6845
6846 Example Code and Data Size: These are the sizes for the OS-independent 
6847 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6848 debug version of the code includes the debug output trace mechanism and 
6849 has a 
6850 much larger code and data size.
6851
6852   Previous Release:
6853     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
6854     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
6855   Current Release:
6856     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
6857     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
6858
6859 2) iASL Compiler/Disassembler and Tools:
6860
6861 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
6862 changes to existing tables. ACPICA BZ 775.
6863
6864 ----------------------------------------
6865 25 June 2009. Summary of changes for version 20090625:
6866
6867 The ACPI 4.0 Specification was released on June 16 and is available at 
6868 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
6869 continue for the next few releases.
6870
6871 1) ACPI CA Core Subsystem:
6872
6873 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
6874 address space. Includes support for bi-directional data buffers and an 
6875 IPMI 
6876 address space handler (to be installed by an IPMI device driver.) ACPICA 
6877 BZ 
6878 773. Lin Ming.
6879
6880 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
6881 Includes 
6882 support in both the header files and the disassembler.
6883
6884 Completed a major update for the AcpiGetObjectInfo external interface. 
6885 Changes include:
6886  - Support for variable, unlimited length HID, UID, and CID strings.
6887  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
6888 etc.)
6889  - Call the _SxW power methods on behalf of a device object.
6890  - Determine if a device is a PCI root bridge.
6891  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
6892 These changes will require an update to all callers of this interface. 
6893 See 
6894 the updated ACPICA Programmer Reference for details. One new source file 
6895 has 
6896 been added - utilities/utids.c. ACPICA BZ 368, 780.
6897
6898 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
6899 transfers. The Value parameter has been extended from 32 bits to 64 bits 
6900 in 
6901 order to support new ACPI 4.0 tables. These changes will require an 
6902 update 
6903 to 
6904 all callers of these interfaces. See the ACPICA Programmer Reference for 
6905 details. ACPICA BZ 768.
6906
6907 Fixed several problems with AcpiAttachData. The handler was not invoked 
6908 when 
6909 the host node was deleted. The data sub-object was not automatically 
6910 deleted 
6911 when the host node was deleted. The interface to the handler had an 
6912 unused 
6913 parameter, this was removed. ACPICA BZ 778.
6914
6915 Enhanced the function that dumps ACPI table headers. All non-printable 
6916 characters in the string fields are now replaced with '?' (Signature, 
6917 OemId, 
6918 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
6919 these fields are occasionally seen in the field. ACPICA BZ 788.
6920
6921 Fixed a problem with predefined method repair code where the code that 
6922 attempts to repair/convert an object of incorrect type is only executed 
6923 on 
6924 the first time the predefined method is called. The mechanism that 
6925 disables 
6926 warnings on subsequent calls was interfering with the repair mechanism. 
6927 ACPICA BZ 781.
6928
6929 Fixed a possible memory leak in the predefined validation/repair code 
6930 when 
6931
6932 buffer is automatically converted to an expected string object.
6933
6934 Removed obsolete 16-bit files from the distribution and from the current 
6935 git 
6936 tree head. ACPICA BZ 776.
6937
6938 Example Code and Data Size: These are the sizes for the OS-independent 
6939 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6940 debug version of the code includes the debug output trace mechanism and 
6941 has a 
6942 much larger code and data size.
6943
6944   Previous Release:
6945     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
6946     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
6947   Current Release:
6948     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
6949     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
6950
6951 2) iASL Compiler/Disassembler and Tools:
6952
6953 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
6954 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
6955
6956 ACPI 4.0: iASL - implemented compile-time validation support for all new 
6957 predefined names and control methods (31 total). ACPICA BZ 769.
6958
6959 ----------------------------------------
6960 21 May 2009. Summary of changes for version 20090521:
6961
6962 1) ACPI CA Core Subsystem:
6963
6964 Disabled the preservation of the SCI enable bit in the PM1 control 
6965 register. 
6966 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
6967 to 
6968 be 
6969 a "preserved" bit - "OSPM always preserves this bit position", section 
6970 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
6971 because the bit needs to be explicitly set by the OS as a workaround. No 
6972 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
6973 attempts to preserve this bit.
6974
6975 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
6976 incorrectly formed _PRT package could cause a fault. Added validation to 
6977 ensure that each package element is actually a sub-package.
6978
6979 Implemented a new interface to install or override a single control 
6980 method, 
6981 AcpiInstallMethod. This interface is useful when debugging in order to 
6982 repair 
6983 an existing method or to install a missing method without having to 
6984 override 
6985 the entire ACPI table. See the ACPICA Programmer Reference for use and 
6986 examples. Lin Ming, Bob Moore.
6987
6988 Fixed several reference count issues with the DdbHandle object that is 
6989 created from a Load or LoadTable operator. Prevent premature deletion of 
6990 the 
6991 object. Also, mark the object as invalid once the table has been 
6992 unloaded. 
6993 This is needed because the handle itself may not be deleted after the 
6994 table 
6995 unload, depending on whether it has been stored in a named object by the 
6996 caller. Lin Ming.
6997
6998 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
6999 mutexes of the same sync level are acquired but then not released in 
7000 strict 
7001 opposite order, the internally maintained Current Sync Level becomes 
7002 confused 
7003 and can cause subsequent execution errors. ACPICA BZ 471.
7004
7005 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
7006 specification has been changed to make the SyncLevel for mutex objects 
7007 more 
7008 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
7009 the 
7010 same as the current sync level. This makes more sense than the previous 
7011 rule 
7012 (SyncLevel less than or equal). This change updates the code to match the 
7013 specification.
7014
7015 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
7016 The 
7017 (local) cache must be locked during all cache object deletions. Andrew 
7018 Baumann.
7019
7020 Updated the Load operator to use operation region interfaces. This 
7021 replaces 
7022 direct memory mapping with region access calls. Now, all region accesses 
7023 go 
7024 through the installed region handler as they should.
7025
7026 Simplified and optimized the NsGetNextNode function. Reduced parameter 
7027 count 
7028 and reduced code for this frequently used function.
7029
7030 Example Code and Data Size: These are the sizes for the OS-independent 
7031 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7032 debug version of the code includes the debug output trace mechanism and 
7033 has a 
7034 much larger code and data size.
7035
7036   Previous Release:
7037     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7038     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7039   Current Release:
7040     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7041     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7042
7043 2) iASL Compiler/Disassembler and Tools:
7044
7045 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
7046 problems 
7047 with sub-table disassembly and handling invalid sub-tables. Attempt 
7048 recovery 
7049 after an invalid sub-table ID.
7050
7051 ----------------------------------------
7052 22 April 2009. Summary of changes for version 20090422:
7053
7054 1) ACPI CA Core Subsystem:
7055
7056 Fixed a compatibility issue with the recently released I/O port 
7057 protection 
7058 mechanism. For windows compatibility, 1) On a port protection violation, 
7059 simply ignore the request and do not return an exception (allow the 
7060 control 
7061 method to continue execution.) 2) If only part of the request overlaps a 
7062 protected port, read/write the individual ports that are not protected. 
7063 Linux 
7064 BZ 13036. Lin Ming
7065
7066 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
7067 actually 
7068 breaks into the AML debugger if the debugger is present. This matches the 
7069 ACPI-defined behavior.
7070
7071 Fixed several possible warnings related to the use of the configurable 
7072 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
7073 pointer with no warnings. Also fixes several warnings in printf-like 
7074 statements for the 64-bit build when the type is configured as a pointer. 
7075 ACPICA BZ 766, 767.
7076
7077 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
7078 on 
7079 warning options.) Examples include printf formats, aliasing, unused 
7080 globals, 
7081 missing prototypes, missing switch default statements, use of non-ANSI 
7082 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
7083 for 
7084 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
7085
7086 Example Code and Data Size: These are the sizes for the OS-independent 
7087 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7088 debug version of the code includes the debug output trace mechanism and 
7089 has a 
7090 much larger code and data size.
7091
7092   Previous Release:
7093     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7094     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7095   Current Release:
7096     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7097     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7098
7099 2) iASL Compiler/Disassembler and Tools:
7100
7101 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
7102 warnings 
7103 on 
7104 the 64-bit build.
7105
7106 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
7107 not 
7108 correctly digest Windows/DOS formatted files (with CR/LF).
7109
7110 iASL: Added a new option for "quiet mode" (-va) that produces only the 
7111 compilation summary, not individual errors and warnings. Useful for large 
7112 batch compilations.
7113
7114 AcpiExec: Implemented a new option (-z) to enable a forced 
7115 semaphore/mutex 
7116 timeout that can be used to detect hang conditions during execution of 
7117 AML 
7118 code (includes both internal semaphores and AML-defined mutexes and 
7119 events.)
7120
7121 Added new makefiles for the generation of acpica in a generic unix-like 
7122 environment. These makefiles are intended to generate the acpica tools 
7123 and 
7124 utilities from the original acpica git source tree structure.
7125
7126 Test Suites: Updated and cleaned up the documentation files. Updated the 
7127 copyrights to 2009, affecting all source files. Use the new version of 
7128 iASL 
7129 with quiet mode. Increased the number of available semaphores in the 
7130 Windows 
7131 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
7132 added 
7133 an alternate implementation of the semaphore timeout to allow aslts to 
7134 execute fully on Cygwin.
7135
7136 ----------------------------------------
7137 20 March 2009. Summary of changes for version 20090320:
7138
7139 1) ACPI CA Core Subsystem:
7140
7141 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
7142 table 
7143 unloads. Added a reader/writer locking mechanism to allow multiple 
7144 concurrent 
7145 namespace walks (readers), but block a dynamic table unload until it can 
7146 gain 
7147 exclusive write access to the namespace. This fixes a problem where a 
7148 table 
7149 unload could (possibly catastrophically) delete the portion of the 
7150 namespace 
7151 that is currently being examined by a walk. Adds a new file, utlock.c, 
7152 that 
7153 implements the reader/writer lock mechanism. ACPICA BZ 749.
7154
7155 Fixed a regression introduced in version 20090220 where a change to the 
7156 FADT 
7157 handling could cause the ACPICA subsystem to access non-existent I/O 
7158 ports.
7159
7160 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
7161 The 
7162 FADT can contain both 32-bit and 64-bit versions of these addresses. 
7163 Previously, the 64-bit versions were favored, meaning that if both 32 and 
7164 64 
7165 versions were valid, but not equal, the 64-bit version was used. This was 
7166 found to cause some machines to fail. Now, in this case, the 32-bit 
7167 version 
7168 is used instead. This now matches the Windows behavior.
7169
7170 Implemented a new mechanism to protect certain I/O ports. Provides 
7171 Microsoft 
7172 compatibility and protects the standard PC I/O ports from access via AML 
7173 code. Adds a new file, hwvalid.c
7174
7175 Fixed a possible extraneous warning message from the FADT support. The 
7176 message warns of a 32/64 length mismatch between the legacy and GAS 
7177 definitions for a register.
7178
7179 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
7180 is 
7181 made obsolete by the port protection mechanism above. It was previously 
7182 used 
7183 to validate the entire address range of an operation region, which could 
7184 be 
7185 incorrect if the range included illegal ports, but fields within the 
7186 operation region did not actually access those ports. Validation is now 
7187 performed on a per-field basis instead of the entire region.
7188
7189 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
7190 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
7191 this 
7192 means a read/modify/write when writing to the register. However, for 
7193 status 
7194 registers, writing a one means clear the event. Writing a zero means 
7195 preserve 
7196 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
7197 spec, 
7198 and the ACPICA code now simply always writes a zero to the ignored bit.
7199
7200 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
7201 As 
7202 per the ACPI specification, for the control registers, preserve 
7203 (read/modify/write) all bits that are defined as either reserved or 
7204 ignored.
7205
7206 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
7207 When reading the register, zero the write-only bits as per the ACPI spec. 
7208 ACPICA BZ 443. Lin Ming.
7209
7210 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
7211 wants to reply true to this request. The Windows strings are the only 
7212 paths 
7213 through the AML that are tested and known to work properly.
7214
7215   Previous Release:
7216     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7217     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7218   Current Release:
7219     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7220     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7221
7222 2) iASL Compiler/Disassembler and Tools:
7223
7224 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
7225 and 
7226 aetables.c
7227
7228 ----------------------------------------
7229 20 February 2009. Summary of changes for version 20090220:
7230
7231 1) ACPI CA Core Subsystem:
7232
7233 Optimized the ACPI register locking. Removed locking for reads from the 
7234 ACPI 
7235 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
7236 is 
7237 not required when reading the single-bit registers. The 
7238 AcpiGetRegisterUnlocked function is no longer needed and has been 
7239 removed. 
7240 This will improve performance for reads on these registers. ACPICA BZ 
7241 760.
7242
7243 Fixed the parameter validation for AcpiRead/Write. Now return 
7244 AE_BAD_PARAMETER if the input register pointer is null, and 
7245 AE_BAD_ADDRESS 
7246 if 
7247 the register has an address of zero. Previously, these cases simply 
7248 returned 
7249 AE_OK. For optional registers such as PM1B status/enable/control, the 
7250 caller 
7251 should check for a valid register address before calling. ACPICA BZ 748.
7252
7253 Renamed the external ACPI bit register access functions. Renamed 
7254 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
7255 functions. The new names are AcpiReadBitRegister and 
7256 AcpiWriteBitRegister. 
7257 Also, restructured the code for these functions by simplifying the code 
7258 path 
7259 and condensing duplicate code to reduce code size.
7260
7261 Added new functions to transparently handle the possibly split PM1 A/B 
7262 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
7263 functions 
7264 now handle the split registers for PM1 Status, Enable, and Control. 
7265 ACPICA 
7266 BZ 
7267 746.
7268
7269 Added a function to handle the PM1 control registers, 
7270 AcpiHwWritePm1Control. 
7271 This function writes both of the PM1 control registers (A/B). These 
7272 registers 
7273 are different than the PM1 A/B status and enable registers in that 
7274 different 
7275 values can be written to the A/B registers. Most notably, the SLP_TYP 
7276 bits 
7277 can be different, as per the values returned from the _Sx predefined 
7278 methods.
7279
7280 Removed an extra register write within AcpiHwClearAcpiStatus. This 
7281 function 
7282 was writing an optional PM1B status register twice. The existing call to 
7283 the 
7284 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
7285 A/B 
7286 register. ACPICA BZ 751.
7287
7288 Split out the PM1 Status registers from the FADT. Added new globals for 
7289 these 
7290 registers (A/B), similar to the way the PM1 Enable registers are handled. 
7291 Instead of overloading the FADT Event Register blocks. This makes the 
7292 code 
7293 clearer and less prone to error.
7294
7295 Fixed the warning message for when the platform contains too many ACPI 
7296 tables 
7297 for the default size of the global root table data structure. The 
7298 calculation 
7299 for the truncation value was incorrect.
7300
7301 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
7302 obsolete macro, since it is now a simple reference to ->common.type. 
7303 There 
7304 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
7305
7306 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
7307 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
7308 simply SLEEP_TYPE. ACPICA BZ 754.
7309
7310 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
7311 function is only needed on 64-bit host operating systems and is thus not 
7312 included for 32-bit hosts.
7313
7314 Debug output: print the input and result for invocations of the _OSI 
7315 reserved 
7316 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
7317 the 
7318 verbosity of this debug level. Len Brown.
7319
7320 Example Code and Data Size: These are the sizes for the OS-independent 
7321 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7322 debug version of the code includes the debug output trace mechanism and 
7323 has a 
7324 much larger code and data size.
7325
7326   Previous Release:
7327     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7328     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7329   Current Release:
7330     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7331     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7332
7333 2) iASL Compiler/Disassembler and Tools:
7334
7335 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
7336 various legal performance profiles.
7337
7338 ----------------------------------------
7339 23 January 2009. Summary of changes for version 20090123:
7340
7341 1) ACPI CA Core Subsystem:
7342
7343 Added the 2009 copyright to all module headers and signons. This affects 
7344 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
7345 the tools/utilities.
7346
7347 Implemented a change to allow the host to override any ACPI table, 
7348 including 
7349 dynamically loaded tables. Previously, only the DSDT could be replaced by 
7350 the 
7351 host. With this change, the AcpiOsTableOverride interface is called for 
7352 each 
7353 table found in the RSDT/XSDT during ACPICA initialization, and also 
7354 whenever 
7355 a table is dynamically loaded via the AML Load operator.
7356
7357 Updated FADT flag definitions, especially the Boot Architecture flags.
7358
7359 Debugger: For the Find command, automatically pad the input ACPI name 
7360 with 
7361 underscores if the name is shorter than 4 characters. This enables a 
7362 match 
7363 with the actual namespace entry which is itself padded with underscores.
7364
7365 Example Code and Data Size: These are the sizes for the OS-independent 
7366 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7367 debug version of the code includes the debug output trace mechanism and 
7368 has a 
7369 much larger code and data size.
7370
7371   Previous Release:
7372     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7373     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7374   Current Release:
7375     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7376     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7377
7378 2) iASL Compiler/Disassembler and Tools:
7379
7380 Fix build error under Bison-2.4.
7381
7382 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
7383 Architecture 
7384 flags. Now decode all flags, regardless of the FADT version. Flag output 
7385 includes the FADT version which first defined each flag.
7386
7387 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
7388 and 
7389 DSDT). Windows only.
7390
7391 ----------------------------------------
7392 04 December 2008. Summary of changes for version 20081204:
7393
7394 1) ACPI CA Core Subsystem:
7395
7396 The ACPICA Programmer Reference has been completely updated and revamped 
7397 for 
7398 this release. This includes updates to the external interfaces, OSL 
7399 interfaces, the overview sections, and the debugger reference.
7400
7401 Several new ACPICA interfaces have been implemented and documented in the 
7402 programmer reference:
7403 AcpiReset - Writes the reset value to the FADT-defined reset register.
7404 AcpiDisableAllGpes - Disable all available GPEs.
7405 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
7406 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
7407 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
7408 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
7409 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
7410
7411 Most of the public ACPI hardware-related interfaces have been moved to a 
7412 new 
7413 file, components/hardware/hwxface.c
7414
7415 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
7416 register lengths within the FADT are now used, and the low level ACPI 
7417 register access no longer hardcodes the ACPI register lengths. Given that 
7418 there may be some risk in actually trusting the FADT register lengths, a 
7419 run-
7420 time option was added to fall back to the default hardcoded lengths if 
7421 the 
7422 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
7423 option is set to true for now, and a warning is issued if a suspicious 
7424 FADT 
7425 register length is overridden with the default value.
7426
7427 Fixed a reference count issue in NsRepairObject. This problem was 
7428 introduced 
7429 in version 20081031 as part of a fix to repair Buffer objects within 
7430 Packages. Lin Ming.
7431
7432 Added semaphore support to the Linux/Unix application OS-services layer 
7433 (OSL). ACPICA BZ 448. Lin Ming.
7434
7435 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
7436 will 
7437 be implemented in the OSL, or will binary semaphores be used instead.
7438
7439 Example Code and Data Size: These are the sizes for the OS-independent 
7440 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7441 debug version of the code includes the debug output trace mechanism and 
7442 has a 
7443 much larger code and data size.
7444
7445   Previous Release:
7446     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
7447     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
7448   Current Release:
7449     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7450     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7451
7452 2) iASL Compiler/Disassembler and Tools:
7453
7454 iASL: Completed the '-e' option to include additional ACPI tables in 
7455 order 
7456 to 
7457 aid with disassembly and External statement generation. ACPICA BZ 742. 
7458 Lin 
7459 Ming.
7460
7461 iASL: Removed the "named object in while loop" error. The compiler cannot 
7462 determine how many times a loop will execute. ACPICA BZ 730.
7463
7464 Disassembler: Implemented support for FADT revision 2 (MS extension). 
7465 ACPICA 
7466 BZ 743.
7467
7468 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
7469 MCFG).
7470
7471 ----------------------------------------
7472 31 October 2008. Summary of changes for version 20081031:
7473
7474 1) ACPI CA Core Subsystem:
7475
7476 Restructured the ACPICA header files into public/private. acpi.h now 
7477 includes 
7478 only the "public" acpica headers. All other acpica headers are "private" 
7479 and 
7480 should not be included by acpica users. One new file, accommon.h is used 
7481 to 
7482 include the commonly used private headers for acpica code generation. 
7483 Future 
7484 plans include moving all private headers to a new subdirectory.
7485
7486 Implemented an automatic Buffer->String return value conversion for 
7487 predefined ACPI methods. For these methods (such as _BIF), added 
7488 automatic 
7489 conversion for return objects that are required to be a String, but a 
7490 Buffer 
7491 was found instead. This can happen when reading string battery data from 
7492 an 
7493 operation region, because it used to be difficult to convert the data 
7494 from 
7495 buffer to string from within the ASL. Ensures that the host OS is 
7496 provided 
7497 with a valid null-terminated string. Linux BZ 11822.
7498
7499 Updated the FACS waking vector interfaces. Split 
7500 AcpiSetFirmwareWakingVector 
7501 into two: one for the 32-bit vector, another for the 64-bit vector. This 
7502 is 
7503 required because the host OS must setup the wake much differently for 
7504 each 
7505 vector (real vs. protected mode, etc.) and the interface itself should 
7506 not 
7507 be 
7508 deciding which vector to use. Also, eliminated the 
7509 GetFirmwareWakingVector 
7510 interface, as it served no purpose (only the firmware reads the vector, 
7511 OS 
7512 only writes the vector.) ACPICA BZ 731.
7513
7514 Implemented a mechanism to escape infinite AML While() loops. Added a 
7515 loop 
7516 counter to force exit from AML While loops if the count becomes too 
7517 large. 
7518 This can occur in poorly written AML when the hardware does not respond 
7519 within a while loop and the loop does not implement a timeout. The 
7520 maximum 
7521 loop count is configurable. A new exception code is returned when a loop 
7522 is 
7523 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
7524
7525 Optimized the execution of AML While loops. Previously, a control state 
7526 object was allocated and freed for each execution of the loop. The 
7527 optimization is to simply reuse the control state for each iteration. 
7528 This 
7529 speeds up the raw loop execution time by about 5%.
7530
7531 Enhanced the implicit return mechanism. For Windows compatibility, return 
7532 an 
7533 implicit integer of value zero for methods that contain no executable 
7534 code. 
7535 Such methods are seen in the field as stubs (presumably), and can cause 
7536 drivers to fail if they expect a return value. Lin Ming.
7537
7538 Allow multiple backslashes as root prefixes in namepaths. In a fully 
7539 qualified namepath, allow multiple backslash prefixes. This can happen 
7540 (and 
7541 is seen in the field) because of the use of a double-backslash in strings 
7542 (since backslash is the escape character) causing confusion. ACPICA BZ 
7543 739 
7544 Lin Ming.
7545
7546 Emit a warning if two different FACS or DSDT tables are discovered in the 
7547 FADT. Checks if there are two valid but different addresses for the FACS 
7548 and 
7549 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
7550
7551 Consolidated the method argument count validation code. Merged the code 
7552 that 
7553 validates control method argument counts into the predefined validation 
7554 module. Eliminates possible multiple warnings for incorrect argument 
7555 counts.
7556
7557 Implemented ACPICA example code. Includes code for ACPICA initialization, 
7558 handler installation, and calling a control method. Available at 
7559 source/tools/examples.
7560
7561 Added a global pointer for FACS table to simplify internal FACS access. 
7562 Use 
7563 the global pointer instead of using AcpiGetTableByIndex for each FACS 
7564 access. 
7565 This simplifies the code for the Global Lock and the Firmware Waking 
7566 Vector(s).
7567
7568 Example Code and Data Size: These are the sizes for the OS-independent 
7569 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7570 debug version of the code includes the debug output trace mechanism and 
7571 has a 
7572 much larger code and data size.
7573
7574   Previous Release:
7575     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
7576     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
7577   Current Release:
7578     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
7579     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
7580
7581 2) iASL Compiler/Disassembler and Tools:
7582
7583 iASL: Improved disassembly of external method calls. Added the -e option 
7584 to 
7585 allow the inclusion of additional ACPI tables to help with the 
7586 disassembly 
7587 of 
7588 method invocations and the generation of external declarations during the 
7589 disassembly. Certain external method invocations cannot be disassembled 
7590 properly without the actual declaration of the method. Use the -e option 
7591 to 
7592 include the table where the external method(s) are actually declared. 
7593 Most 
7594 useful for disassembling SSDTs that make method calls back to the master 
7595 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
7596 -d 
7597 -e dsdt.aml ssdt1.aml
7598
7599 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
7600 problem where the use of an alias within a namepath would result in a not 
7601 found error or cause the compiler to fault. Also now allows forward 
7602 references from the Alias operator itself. ACPICA BZ 738.
7603
7604 ----------------------------------------
7605 26 September 2008. Summary of changes for version 20080926:
7606
7607 1) ACPI CA Core Subsystem:
7608
7609 Designed and implemented a mechanism to validate predefined ACPI methods 
7610 and 
7611 objects. This code validates the predefined ACPI objects (objects whose 
7612 names 
7613 start with underscore) that appear in the namespace, at the time they are 
7614 evaluated. The argument count and the type of the returned object are 
7615 validated against the ACPI specification. The purpose of this validation 
7616 is 
7617 to detect problems with the BIOS-implemented predefined ACPI objects 
7618 before 
7619 the results are returned to the ACPI-related drivers. Future enhancements 
7620 may 
7621 include actual repair of incorrect return objects where possible. Two new 
7622 files are nspredef.c and acpredef.h.
7623
7624 Fixed a fault in the AML parser if a memory allocation fails during the 
7625 Op 
7626 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
7627
7628 Fixed an issue with implicit return compatibility. This change improves 
7629 the 
7630 implicit return mechanism to be more compatible with the MS interpreter. 
7631 Lin 
7632 Ming, ACPICA BZ 349.
7633
7634 Implemented support for zero-length buffer-to-string conversions. Allow 
7635 zero 
7636 length strings during interpreter buffer-to-string conversions. For 
7637 example, 
7638 during the ToDecimalString and ToHexString operators, as well as implicit 
7639 conversions. Fiodor Suietov, ACPICA BZ 585.
7640
7641 Fixed two possible memory leaks in the error exit paths of 
7642 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
7643 are 
7644 similar in that they use a stack of state objects in order to eliminate 
7645 recursion. The stack must be fully unwound and deallocated if an error 
7646 occurs. Lin Ming. ACPICA BZ 383.
7647
7648 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
7649 global 
7650 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
7651 Moore ACPICA BZ 442.
7652
7653 Removed the obsolete version number in module headers. Removed the 
7654 "$Revision" number that appeared in each module header. This version 
7655 number 
7656 was useful under SourceSafe and CVS, but has no meaning under git. It is 
7657 not 
7658 only incorrect, it could also be misleading.
7659
7660 Example Code and Data Size: These are the sizes for the OS-independent 
7661 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7662 debug version of the code includes the debug output trace mechanism and 
7663 has a 
7664 much larger code and data size.
7665
7666   Previous Release:
7667     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7668     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
7669   Current Release:
7670     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
7671     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
7672
7673 ----------------------------------------
7674 29 August 2008. Summary of changes for version 20080829:
7675
7676 1) ACPI CA Core Subsystem:
7677
7678 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
7679 Reference. Changes include the elimination of cheating on the Object 
7680 field 
7681 for the DdbHandle subtype, addition of a reference class field to 
7682 differentiate the various reference types (instead of an AML opcode), and 
7683 the 
7684 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
7685
7686 Reduce an error to a warning for an incorrect method argument count. 
7687 Previously aborted with an error if too few arguments were passed to a 
7688 control method via the external ACPICA interface. Now issue a warning 
7689 instead 
7690 and continue. Handles the case where the method inadvertently declares 
7691 too 
7692 many arguments, but does not actually use the extra ones. Applies mainly 
7693 to 
7694 the predefined methods. Lin Ming. Linux BZ 11032.
7695
7696 Disallow the evaluation of named object types with no intrinsic value. 
7697 Return 
7698 AE_TYPE for objects that have no value and therefore evaluation is 
7699 undefined: 
7700 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
7701 of 
7702 these types were allowed, but an exception would be generated at some 
7703 point 
7704 during the evaluation. Now, the error is generated up front.
7705
7706 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
7707 (nsnames.c). Fixes a leak in the error exit path.
7708
7709 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
7710 debug 
7711 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
7712 ACPI_EXCEPTION 
7713 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
7714 ACPI_LV_EVENTS.
7715
7716 Removed obsolete and/or unused exception codes from the acexcep.h header. 
7717 There is the possibility that certain device drivers may be affected if 
7718 they 
7719 use any of these exceptions.
7720
7721 The ACPICA documentation has been added to the public git source tree, 
7722 under 
7723 acpica/documents. Included are the ACPICA programmer reference, the iASL 
7724 compiler reference, and the changes.txt release logfile.
7725
7726 Example Code and Data Size: These are the sizes for the OS-independent 
7727 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7728 debug version of the code includes the debug output trace mechanism and 
7729 has a 
7730 much larger code and data size.
7731
7732   Previous Release:
7733     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7734     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
7735   Current Release:
7736     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7737     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
7738
7739 2) iASL Compiler/Disassembler and Tools:
7740
7741 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
7742 defines _SCP with 3 arguments. Previous versions defined it with only 1 
7743 argument. iASL now allows both definitions.
7744
7745 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
7746 zero-
7747 length subtables when disassembling ACPI tables. Also fixed a couple of 
7748 errors where a full 16-bit table type field was not extracted from the 
7749 input 
7750 properly.
7751
7752 acpisrc: Improve comment counting mechanism for generating source code 
7753 statistics. Count first and last lines of multi-line comments as 
7754 whitespace, 
7755 not comment lines. Handle Linux legal header in addition to standard 
7756 acpica 
7757 header.
7758
7759 ----------------------------------------
7760
7761 29 July 2008. Summary of changes for version 20080729:
7762
7763 1) ACPI CA Core Subsystem:
7764
7765 Fix a possible deadlock in the GPE dispatch. Remove call to 
7766 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
7767 attempt 
7768 to acquire the GPE lock but can deadlock since the GPE lock is already 
7769 held 
7770 at dispatch time. This code was introduced in version 20060831 as a 
7771 response 
7772 to Linux BZ 6881 and has since been removed from Linux.
7773
7774 Add a function to dereference returned reference objects. Examines the 
7775 return 
7776 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
7777 are 
7778 automatically dereferenced in an attempt to return something useful 
7779 (these 
7780 reference types cannot be converted into an external ACPI_OBJECT.) 
7781 Provides 
7782 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
7783
7784 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
7785 subtables for the MADT and one new subtable for the SRAT. Includes 
7786 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
7787 x2APIC 
7788 Specification, June 2008.
7789
7790 Additional error checking for pathname utilities. Add error check after 
7791 all 
7792 calls to AcpiNsGetPathnameLength. Add status return from 
7793 AcpiNsBuildExternalPath and check after all calls. Add parameter 
7794 validation 
7795 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
7796
7797 Return status from the global init function AcpiUtGlobalInitialize. This 
7798 is 
7799 used by both the kernel subsystem and the utilities such as iASL 
7800 compiler. 
7801 The function could possibly fail when the caches are initialized. Yang 
7802 Yi.
7803
7804 Add a function to decode reference object types to strings. Created for 
7805 improved error messages. 
7806
7807 Improve object conversion error messages. Better error messages during 
7808 object 
7809 conversion from internal to the external ACPI_OBJECT. Used for external 
7810 calls 
7811 to AcpiEvaluateObject.
7812
7813 Example Code and Data Size: These are the sizes for the OS-independent 
7814 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7815 debug version of the code includes the debug output trace mechanism and 
7816 has a 
7817 much larger code and data size.
7818
7819   Previous Release:
7820     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
7821     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
7822   Current Release:
7823     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7824     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
7825
7826 2) iASL Compiler/Disassembler and Tools:
7827
7828 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
7829 problem 
7830 introduced in version 20080701. If the object being evaluated (via 
7831 execute 
7832 command) is not a method, the debugger can hang while trying to obtain 
7833 non-
7834 existent parameters.
7835
7836 iASL: relax error for using reserved "_T_x" identifiers. These names can 
7837 appear in a disassembled ASL file if they were emitted by the original 
7838 compiler. Instead of issuing an error or warning and forcing the user to 
7839 manually change these names, issue a remark instead.
7840
7841 iASL: error if named object created in while loop. Emit an error if any 
7842 named 
7843 object is created within a While loop. If allowed, this code will 
7844 generate 
7845
7846 run-time error on the second iteration of the loop when an attempt is 
7847 made 
7848 to 
7849 create the same named object twice. ACPICA bugzilla 730.
7850
7851 iASL: Support absolute pathnames for include files. Add support for 
7852 absolute 
7853 pathnames within the Include operator. previously, only relative 
7854 pathnames 
7855 were supported.
7856
7857 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
7858 Descriptor. 
7859 The ACPI spec requires one interrupt minimum. BZ 423
7860
7861 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
7862 Handles the case for the Interrupt Resource Descriptor where
7863 the ResourceSource argument is omitted but ResourceSourceIndex
7864 is present. Now leave room for the Index. BZ 426
7865
7866 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
7867 cases 
7868 where an error message is emitted if the target does not exist. BZ 516
7869
7870 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
7871 (get ACPI tables on Windows). This was apparently broken in version 
7872 20070919.
7873
7874 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
7875 where 
7876 the EOF happens immediately after the last table in the input file. Print 
7877 completion message. Previously, no message was displayed in this case.
7878
7879 ----------------------------------------
7880 01 July 2008. Summary of changes for version 20080701:
7881
7882 0) Git source tree / acpica.org
7883
7884 Fixed a problem where a git-clone from http would not transfer the entire 
7885 source tree.
7886
7887 1) ACPI CA Core Subsystem:
7888
7889 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
7890 enable bit. Now performs a read-change-write of the enable register 
7891 instead 
7892 of simply writing out the cached enable mask. This will prevent 
7893 inadvertent 
7894 enabling of GPEs if a rogue GPE is received during initialization (before 
7895 GPE 
7896 handlers are installed.)
7897
7898 Implemented a copy for dynamically loaded tables. Previously, dynamically 
7899 loaded tables were simply mapped - but on some machines this memory is 
7900 corrupted after suspend. Now copy the table to a local buffer. For the 
7901 OpRegion case, added checksum verify. Use the table length from the table 
7902 header, not the region length. For the Buffer case, use the table length 
7903 also. Dennis Noordsij, Bob Moore. BZ 10734
7904
7905 Fixed a problem where the same ACPI table could not be dynamically loaded 
7906 and 
7907 unloaded more than once. Without this change, a table cannot be loaded 
7908 again 
7909 once it has been loaded/unloaded one time. The current mechanism does not 
7910 unregister a table upon an unload. During a load, if the same table is 
7911 found, 
7912 this no longer returns an exception. BZ 722
7913
7914 Fixed a problem where the wrong descriptor length was calculated for the 
7915 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
7916 EndTag 
7917 are calculated as 12 bytes long, but the actual length in the internal 
7918 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
7919 Reported 
7920 by Linn Crosetto. BZ 728
7921
7922 Fixed a possible memory leak in the Unload operator. The DdbHandle 
7923 returned 
7924 by Load() did not have its reference count decremented during unload, 
7925 leading 
7926 to a memory leak. Lin Ming. BZ 727
7927
7928 Fixed a possible memory leak when deleting thermal/processor objects. Any 
7929 associated notify handlers (and objects) were not being deleted. Fiodor 
7930 Suietov. BZ 506
7931
7932 Fixed the ordering of the ASCII names in the global mutex table to match 
7933 the 
7934 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
7935 only. 
7936 Vegard Nossum. BZ 726
7937
7938 Enhanced the AcpiGetObjectInfo interface to return the number of required 
7939 arguments if the object is a control method. Added this call to the 
7940 debugger 
7941 so the proper number of default arguments are passed to a method. This 
7942 prevents a warning when executing methods from AcpiExec.
7943
7944 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
7945 AE_BAD_PARAMETER if input handle is invalid. BZ 474
7946
7947 Fixed an extraneous warning from exconfig.c on the 64-bit build.
7948
7949 Example Code and Data Size: These are the sizes for the OS-independent 
7950 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7951 debug version of the code includes the debug output trace mechanism and 
7952 has a 
7953 much larger code and data size.
7954
7955   Previous Release:
7956     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
7957     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
7958   Current Release:
7959     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
7960     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
7961
7962 2) iASL Compiler/Disassembler and Tools:
7963
7964 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
7965 resource descriptor names.
7966
7967 iASL: Detect invalid ASCII characters in input (windows version). Removed 
7968 the 
7969 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
7970 characters in the input. BZ 441
7971
7972 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
7973 the 
7974 "result of operation not used" warning when the DDB handle returned from 
7975 LoadTable is not used. The warning is not needed. BZ 590
7976
7977 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
7978 method 
7979 to 
7980 pass address of table to the AML. Added option to disable OpRegion 
7981 simulation 
7982 to allow creation of an OpRegion with a real address that was passed to 
7983 _CFG. 
7984 All of this allows testing of the Load and Unload operators from 
7985 AcpiExec.
7986
7987 Debugger: update tables command for unloaded tables. Handle unloaded 
7988 tables 
7989 and use the standard table header output routine.
7990
7991 ----------------------------------------
7992 09 June 2008. Summary of changes for version 20080609:
7993
7994 1) ACPI CA Core Subsystem:
7995
7996 Implemented a workaround for reversed _PRT entries. A significant number 
7997 of 
7998 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
7999 change dynamically detects and repairs this problem. Provides 
8000 compatibility 
8001 with MS ACPI. BZ 6859
8002
8003 Simplified the internal ACPI hardware interfaces to eliminate the locking 
8004 flag parameter from Register Read/Write. Added a new external interface, 
8005 AcpiGetRegisterUnlocked.
8006
8007 Fixed a problem where the invocation of a GPE control method could hang. 
8008 This 
8009 was a regression introduced in 20080514. The new method argument count 
8010 validation mechanism can enter an infinite loop when a GPE method is 
8011 dispatched. Problem fixed by removing the obsolete code that passed GPE 
8012 block 
8013 information to the notify handler via the control method parameter 
8014 pointer.
8015
8016 Fixed a problem where the _SST execution status was incorrectly returned 
8017 to 
8018 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
8019 in 
8020 20080514. _SST is optional and a NOT_FOUND exception should never be 
8021 returned. BZ 716
8022
8023 Fixed a problem where a deleted object could be accessed from within the 
8024 AML 
8025 parser. This was a regression introduced in version 20080123 as a fix for 
8026 the 
8027 Unload operator. Lin Ming. BZ 10669
8028
8029 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
8030 operands 
8031 and eliminated the use of a negative index in a loop. Operands are now 
8032 displayed in the correct order, not backwards. This also fixes a 
8033 regression 
8034 introduced in 20080514 on 64-bit systems where the elimination of 
8035 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
8036 715
8037
8038 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
8039 exit 
8040 path did not delete a locally allocated structure.
8041
8042 Updated definitions for the DMAR and SRAT tables to synchronize with the 
8043 current specifications. Includes disassembler support.
8044
8045 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
8046 loop termination value was used. Loop terminated on iteration early, 
8047 missing 
8048 one mutex. Linn Crosetto
8049
8050 Example Code and Data Size: These are the sizes for the OS-independent 
8051 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8052 debug version of the code includes the debug output trace mechanism and 
8053 has a 
8054 much larger code and data size.
8055
8056   Previous Release:
8057     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8058     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8059   Current Release:
8060     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8061     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8062
8063 2) iASL Compiler/Disassembler and Tools:
8064
8065 Disassembler: Implemented support for EisaId() within _CID objects. Now 
8066 disassemble integer _CID objects back to EisaId invocations, including 
8067 multiple integers within _CID packages. Includes single-step support for 
8068 debugger also.
8069
8070 Disassembler: Added support for DMAR and SRAT table definition changes.
8071
8072 ----------------------------------------
8073 14 May 2008. Summary of changes for version 20080514:
8074
8075 1) ACPI CA Core Subsystem:
8076
8077 Fixed a problem where GPEs were enabled too early during the ACPICA 
8078 initialization. This could lead to "handler not installed" errors on some 
8079 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
8080 This 
8081 ensures that all operation regions and devices throughout the namespace 
8082 have 
8083 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
8084
8085 Implemented a change to the enter sleep code. Moved execution of the _GTS 
8086 method to just before setting sleep enable bit. The execution was moved 
8087 from 
8088 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
8089 immediately before the SLP_EN bit is set, as per the ACPI specification. 
8090 Luming Yu, BZ 1653.
8091
8092 Implemented a fix to disable unknown GPEs (2nd version). Now always 
8093 disable 
8094 the GPE, even if ACPICA thinks that that it is already disabled. It is 
8095 possible that the AML or some other code has enabled the GPE unbeknownst 
8096 to 
8097 the ACPICA code.
8098
8099 Fixed a problem with the Field operator where zero-length fields would 
8100 return 
8101 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
8102 ASL 
8103 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
8104
8105 Implemented a fix for the Load operator, now load the table at the 
8106 namespace 
8107 root. This reverts a change introduced in version 20071019. The table is 
8108 now 
8109 loaded at the namespace root even though this goes against the ACPI 
8110 specification. This provides compatibility with other ACPI 
8111 implementations. 
8112 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
8113 Ming.
8114
8115 Fixed a problem where ACPICA would not Load() tables with unusual 
8116 signatures. 
8117 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
8118 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
8119 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
8120 such 
8121 signatures, ACPICA must be compatible. BZ 10454.
8122
8123 Fixed a possible negative array index in AcpiUtValidateException. Added 
8124 NULL 
8125 fields to the exception string arrays to eliminate a -1 subtraction on 
8126 the 
8127 SubStatus field.
8128
8129 Updated the debug tracking macros to reduce overall code and data size. 
8130 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
8131 instead of pointers to static strings. Jan Beulich and Bob Moore.
8132
8133 Implemented argument count checking in control method invocation via 
8134 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
8135 too 
8136 many. This applies only to extern programmatic control method execution, 
8137 not 
8138 method-to-method calls within the AML. Lin Ming.
8139
8140 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
8141 no 
8142 longer needed, especially with the removal of 16-bit support. It was 
8143 replaced 
8144 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
8145 bit 
8146 on 
8147 32/64-bit platforms is required.
8148
8149 Added the C const qualifier for appropriate string constants -- mostly 
8150 MODULE_NAME and printf format strings. Jan Beulich.
8151
8152 Example Code and Data Size: These are the sizes for the OS-independent 
8153 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8154 debug version of the code includes the debug output trace mechanism and 
8155 has a 
8156 much larger code and data size.
8157
8158   Previous Release:
8159     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8160     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8161   Current Release:
8162     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8163     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8164
8165 2) iASL Compiler/Disassembler and Tools:
8166
8167 Implemented ACPI table revision ID validation in the disassembler. Zero 
8168 is 
8169 always invalid. For DSDTs, the ID controls the interpreter integer width. 
8170
8171 means 32-bit and this is unusual. 2 or greater is 64-bit.
8172
8173 ----------------------------------------
8174 21 March 2008. Summary of changes for version 20080321:
8175
8176 1) ACPI CA Core Subsystem:
8177
8178 Implemented an additional change to the GPE support in order to suppress 
8179 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
8180 permanently 
8181 disable incoming GPEs that are neither enabled nor disabled -- meaning 
8182 that 
8183 the GPE is unknown to the system. This should prevent future interrupt 
8184 floods 
8185 from that GPE. BZ 6217 (Zhang Rui)
8186
8187 Fixed a problem where NULL package elements were not returned to the 
8188 AcpiEvaluateObject interface correctly. The element was simply ignored 
8189 instead of returning a NULL ACPI_OBJECT package element, potentially 
8190 causing 
8191 a buffer overflow and/or confusing the caller who expected a fixed number 
8192 of 
8193 elements. BZ 10132 (Lin Ming, Bob Moore)
8194
8195 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
8196 Dword, 
8197 Qword), Field, BankField, and IndexField operators when invoked from 
8198 inside 
8199 an executing control method. In this case, these operators created 
8200 namespace 
8201 nodes that were incorrectly left marked as permanent nodes instead of 
8202 temporary nodes. This could cause a problem if there is race condition 
8203 between an exiting control method and a running namespace walk. (Reported 
8204 by 
8205 Linn Crosetto)
8206
8207 Fixed a problem where the CreateField and CreateXXXField operators would 
8208 incorrectly allow duplicate names (the name of the field) with no 
8209 exception 
8210 generated.
8211
8212 Implemented several changes for Notify handling. Added support for new 
8213 Notify 
8214 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
8215 PowerResource objects is no longer allowed, as per the ACPI 
8216 specification. 
8217 (Bob Moore, Zhang Rui)
8218
8219 All Reference Objects returned via the AcpiEvaluateObject interface are 
8220 now 
8221 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
8222 for 
8223 NULL objects - either NULL package elements or unresolved named 
8224 references.
8225
8226 Fixed a problem where an extraneous debug message was produced for 
8227 package 
8228 objects (when debugging enabled). The message "Package List length larger 
8229 than NumElements count" is now produced in the correct case, and is now 
8230 an 
8231 error message rather than a debug message. Added a debug message for the 
8232 opposite case, where NumElements is larger than the Package List (the 
8233 package 
8234 will be padded out with NULL elements as per the ACPI spec.)
8235
8236 Implemented several improvements for the output of the ASL "Debug" object 
8237 to 
8238 clarify and keep all data for a given object on one output line.
8239
8240 Fixed two size calculation issues with the variable-length Start 
8241 Dependent 
8242 resource descriptor.
8243
8244 Example Code and Data Size: These are the sizes for the OS-independent 
8245 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8246 debug version of the code includes the debug output trace mechanism and 
8247 has 
8248 a much larger code and data size.
8249
8250   Previous Release:
8251     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8252     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8253   Current Release:
8254     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8255     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8256
8257 2) iASL Compiler/Disassembler and Tools:
8258
8259 Fixed a problem with the use of the Switch operator where execution of 
8260 the 
8261 containing method by multiple concurrent threads could cause an 
8262 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
8263 actual Switch opcode, it must be simulated with local named temporary 
8264 variables and if/else pairs. The solution chosen was to mark any method 
8265 that 
8266 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
8267 469.
8268
8269 ----------------------------------------
8270 13 February 2008. Summary of changes for version 20080213:
8271
8272 1) ACPI CA Core Subsystem:
8273
8274 Implemented another MS compatibility design change for GPE/Notify 
8275 handling. 
8276 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
8277 to 
8278 complete first. It is expected that the OSL will queue the enable request 
8279 behind all pending notify requests (may require changes to the local host 
8280 OSL 
8281 in AcpiOsExecute). Alexey Starikovskiy.
8282
8283 Fixed a problem where buffer and package objects passed as arguments to a 
8284 control method via the external AcpiEvaluateObject interface could cause 
8285 an 
8286 AE_AML_INTERNAL exception depending on the order and type of operators 
8287 executed by the target control method.
8288
8289 Fixed a problem where resource descriptor size optimization could cause a 
8290 problem when a _CRS resource template is passed to a _SRS method. The 
8291 _SRS 
8292 resource template must use the same descriptors (with the same size) as 
8293 returned from _CRS. This change affects the following resource 
8294 descriptors: 
8295 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
8296 9487)
8297
8298 Fixed a problem where a CopyObject to RegionField, BankField, and 
8299 IndexField 
8300 objects did not perform an implicit conversion as it should. These types 
8301 must 
8302 retain their initial type permanently as per the ACPI specification. 
8303 However, 
8304 a CopyObject to all other object types should not perform an implicit 
8305 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
8306
8307 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
8308 match device CIDs did not examine the entire list of available CIDs, but 
8309 instead aborted on the first non-matching CID. Andrew Patterson.
8310
8311 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
8312 was 
8313 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
8314 truncating the upper dword of a 64-bit value. This macro is only used to 
8315 display debug output, so no incorrect calculations were made. Also, 
8316 reimplemented the macro so that a 64-bit shift is not performed by 
8317 inefficient compilers.
8318
8319 Added missing va_end statements that should correspond with each va_start 
8320 statement.
8321
8322 Example Code and Data Size: These are the sizes for the OS-independent 
8323 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8324 debug version of the code includes the debug output trace mechanism and 
8325 has 
8326 a much larger code and data size.
8327
8328   Previous Release:
8329     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8330     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8331   Current Release:
8332     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8333     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8334
8335 2) iASL Compiler/Disassembler and Tools:
8336
8337 Implemented full disassembler support for the following new ACPI tables: 
8338 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
8339 complicated HEST table. These tables support the Windows Hardware Error 
8340 Architecture (WHEA).
8341
8342 ----------------------------------------
8343 23 January 2008. Summary of changes for version 20080123:
8344
8345 1) ACPI CA Core Subsystem:
8346
8347 Added the 2008 copyright to all module headers and signons. This affects 
8348 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
8349 the tools/utilities.
8350
8351 Fixed a problem with the SizeOf operator when used with Package and 
8352 Buffer 
8353 objects. These objects have deferred execution for some arguments, and 
8354 the 
8355 execution is now completed before the SizeOf is executed. This problem 
8356 caused 
8357 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
8358 BZ 
8359 9558
8360
8361 Implemented an enhancement to the interpreter "slack mode". In the 
8362 absence 
8363 of 
8364 an explicit return or an implicitly returned object from the last 
8365 executed 
8366 opcode, a control method will now implicitly return an integer of value 0 
8367 for 
8368 Microsoft compatibility. (Lin Ming) BZ 392
8369
8370 Fixed a problem with the Load operator where an exception was not 
8371 returned 
8372 in 
8373 the case where the table is already loaded. (Lin Ming) BZ 463
8374
8375 Implemented support for the use of DDBHandles as an Indexed Reference, as 
8376 per 
8377 the ACPI spec. (Lin Ming) BZ 486
8378
8379 Implemented support for UserTerm (Method invocation) for the Unload 
8380 operator 
8381 as per the ACPI spec. (Lin Ming) BZ 580
8382
8383 Fixed a problem with the LoadTable operator where the OemId and 
8384 OemTableId 
8385 input strings could cause unexpected failures if they were shorter than 
8386 the 
8387 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
8388
8389 Implemented support for UserTerm (Method invocation) for the Unload 
8390 operator 
8391 as per the ACPI spec. (Lin Ming) BZ 580
8392
8393 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
8394 HEST, 
8395 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
8396
8397 Example Code and Data Size: These are the sizes for the OS-independent 
8398 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8399 debug version of the code includes the debug output trace mechanism and 
8400 has 
8401 a much larger code and data size.
8402
8403   Previous Release:
8404     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8405     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8406   Current Release:
8407     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8408     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8409
8410 2) iASL Compiler/Disassembler and Tools:
8411
8412 Implemented support in the disassembler for checksum validation on 
8413 incoming 
8414 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
8415 table 
8416 header dump at the start of the disassembly.
8417
8418 Implemented additional debugging information in the namespace listing 
8419 file 
8420 created during compilation. In addition to the namespace hierarchy, the 
8421 full 
8422 pathname to each namespace object is displayed.
8423
8424 Fixed a problem with the disassembler where invalid ACPI tables could 
8425 cause 
8426 faults or infinite loops.
8427
8428 Fixed an unexpected parse error when using the optional "parameter types" 
8429 list in a control method declaration. (Lin Ming) BZ 397
8430
8431 Fixed a problem where two External declarations with the same name did 
8432 not 
8433 cause an error (Lin Ming) BZ 509
8434
8435 Implemented support for full TermArgs (adding Argx, Localx and method 
8436 invocation) for the ParameterData parameter to the LoadTable operator. 
8437 (Lin 
8438 Ming) BZ 583,587
8439
8440 ----------------------------------------
8441 19 December 2007. Summary of changes for version 20071219:
8442
8443 1) ACPI CA Core Subsystem:
8444
8445 Implemented full support for deferred execution for the TermArg string 
8446 arguments for DataTableRegion. This enables forward references and full 
8447 operand resolution for the three string arguments. Similar to 
8448 OperationRegion 
8449 deferred argument execution.) Lin Ming. BZ 430
8450
8451 Implemented full argument resolution support for the BankValue argument 
8452 to 
8453 BankField. Previously, only constants were supported, now any TermArg may 
8454 be 
8455 used. Lin Ming BZ 387, 393
8456
8457 Fixed a problem with AcpiGetDevices where the search of a branch of the 
8458 device tree could be terminated prematurely. In accordance with the ACPI 
8459 specification, the search down the current branch is terminated if a 
8460 device 
8461 is both not present and not functional (instead of just not present.) 
8462 Yakui 
8463 Zhao.
8464
8465 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
8466 if 
8467 the underlying AML code changed the GPE enable registers. Now, any 
8468 unknown 
8469 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
8470 disabled 
8471 instead of simply ignored. Rui Zhang.
8472
8473 Fixed a problem with Index Fields where the Index register was 
8474 incorrectly 
8475 limited to a maximum of 32 bits. Now any size may be used.
8476
8477 Fixed a couple memory leaks associated with "implicit return" objects 
8478 when 
8479 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
8480
8481 Example Code and Data Size: These are the sizes for the OS-independent 
8482 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8483 debug version of the code includes the debug output trace mechanism and 
8484 has 
8485 a much larger code and data size.
8486
8487   Previous Release:
8488     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
8489     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
8490   Current Release:
8491     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8492     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8493
8494 ----------------------------------------
8495 14 November 2007. Summary of changes for version 20071114:
8496
8497 1) ACPI CA Core Subsystem:
8498
8499 Implemented event counters for each of the Fixed Events, the ACPI SCI 
8500 (interrupt) itself, and control methods executed. Named 
8501 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
8502 These 
8503 should be useful for debugging and statistics.
8504
8505 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
8506 contents of the various event counters. Returns the current values for 
8507 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
8508 AcpiMethodCount. The interface can be expanded in the future if new 
8509 counters 
8510 are added. Device drivers should use this interface rather than access 
8511 the 
8512 counters directly.
8513
8514 Fixed a problem with the FromBCD and ToBCD operators. With some 
8515 compilers, 
8516 the ShortDivide function worked incorrectly, causing problems with the 
8517 BCD 
8518 functions with large input values. A truncation from 64-bit to 32-bit 
8519 inadvertently occurred. Internal BZ 435. Lin Ming
8520
8521 Fixed a problem with Index references passed as method arguments. 
8522 References 
8523 passed as arguments to control methods were dereferenced immediately 
8524 (before 
8525 control was passed to the called method). The references are now 
8526 correctly 
8527 passed directly to the called method. BZ 5389. Lin Ming
8528
8529 Fixed a problem with CopyObject used in conjunction with the Index 
8530 operator. 
8531 The reference was incorrectly dereferenced before the copy. The reference 
8532 is 
8533 now correctly copied. BZ 5391. Lin Ming
8534
8535 Fixed a problem with Control Method references within Package objects. 
8536 These 
8537 references are now correctly generated. This completes the package 
8538 construction overhaul that began in version 20071019.
8539
8540 Example Code and Data Size: These are the sizes for the OS-independent 
8541 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8542 debug version of the code includes the debug output trace mechanism and 
8543 has 
8544 a much larger code and data size.
8545
8546   Previous Release:
8547     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
8548     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
8549   Current Release:
8550     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
8551     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
8552
8553
8554 2) iASL Compiler/Disassembler and Tools:
8555
8556 The AcpiExec utility now installs handlers for all of the predefined 
8557 Operation Region types. New types supported are: PCI_Config, CMOS, and 
8558 PCIBARTarget.
8559
8560 Fixed a problem with the 64-bit version of AcpiExec where the extended 
8561 (64-
8562 bit) address fields for the DSDT and FACS within the FADT were not being 
8563 used, causing truncation of the upper 32-bits of these addresses. Lin 
8564 Ming 
8565 and Bob Moore
8566
8567 ----------------------------------------
8568 19 October 2007. Summary of changes for version 20071019:
8569
8570 1) ACPI CA Core Subsystem:
8571
8572 Fixed a problem with the Alias operator when the target of the alias is a 
8573 named ASL operator that opens a new scope -- Scope, Device, 
8574 PowerResource, 
8575 Processor, and ThermalZone. In these cases, any children of the original 
8576 operator could not be accessed via the alias, potentially causing 
8577 unexpected 
8578 AE_NOT_FOUND exceptions. (BZ 9067)
8579
8580 Fixed a problem with the Package operator where all named references were 
8581 created as object references and left otherwise unresolved. According to 
8582 the 
8583 ACPI specification, a Package can only contain Data Objects or references 
8584 to 
8585 control methods. The implication is that named references to Data Objects 
8586 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
8587 immediately upon package creation. This is the approach taken with this 
8588 change. References to all other named objects (Methods, Devices, Scopes, 
8589 etc.) are all now properly created as reference objects. (BZ 5328)
8590
8591 Reverted a change to Notify handling that was introduced in version 
8592 20070508. This version changed the Notify handling from asynchronous to 
8593 fully synchronous (Device driver Notify handling with respect to the 
8594 Notify 
8595 ASL operator). It was found that this change caused more problems than it 
8596 solved and was removed by most users.
8597
8598 Fixed a problem with the Increment and Decrement operators where the type 
8599 of 
8600 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
8601 Lin Ming.
8602
8603 Fixed a problem with the Load and LoadTable operators where the table 
8604 location within the namespace was ignored. Instead, the table was always 
8605 loaded into the root or current scope. Lin Ming.
8606
8607 Fixed a problem with the Load operator when loading a table from a buffer 
8608 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
8609
8610 Fixed a problem with the Debug object where a store of a DdbHandle 
8611 reference 
8612 object to the Debug object could cause a fault.
8613
8614 Added a table checksum verification for the Load operator, in the case 
8615 where 
8616 the load is from a buffer. (BZ 578).
8617
8618 Implemented additional parameter validation for the LoadTable operator. 
8619 The 
8620 length of the input strings SignatureString, OemIdString, and OemTableId 
8621 are 
8622 now checked for maximum lengths. (BZ 582) Lin Ming.
8623
8624 Example Code and Data Size: These are the sizes for the OS-independent 
8625 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8626 debug version of the code includes the debug output trace mechanism and 
8627 has 
8628 a much larger code and data size.
8629
8630   Previous Release:
8631     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
8632     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
8633   Current Release:
8634     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
8635     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
8636
8637
8638 2) iASL Compiler/Disassembler:
8639
8640 Fixed a problem where if a single file was specified and the file did not 
8641 exist, no error message was emitted. (Introduced with wildcard support in 
8642 version 20070917.)
8643
8644 ----------------------------------------
8645 19 September 2007. Summary of changes for version 20070919:
8646
8647 1) ACPI CA Core Subsystem:
8648
8649 Designed and implemented new external interfaces to install and remove 
8650 handlers for ACPI table-related events. Current events that are defined 
8651 are 
8652 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
8653 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
8654 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
8655
8656 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
8657 (acpi_serialized option on Linux) could cause some systems to hang during 
8658 initialization. (Bob Moore) BZ 8171
8659
8660 Fixed a problem where objects of certain types (Device, ThermalZone, 
8661 Processor, PowerResource) can be not found if they are declared and 
8662 referenced from within the same control method (Lin Ming) BZ 341
8663
8664 Example Code and Data Size: These are the sizes for the OS-independent 
8665 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8666 debug version of the code includes the debug output trace mechanism and 
8667 has 
8668 a much larger code and data size.
8669
8670   Previous Release:
8671     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
8672     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
8673   Current Release:
8674     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
8675     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
8676
8677
8678 2) iASL Compiler/Disassembler:
8679
8680 Implemented support to allow multiple files to be compiled/disassembled 
8681 in 
8682
8683 single invocation. This includes command line wildcard support for both 
8684 the 
8685 Windows and Unix versions of the compiler. This feature simplifies the 
8686 disassembly and compilation of multiple ACPI tables in a single 
8687 directory.
8688
8689 ----------------------------------------
8690 08 May 2007. Summary of changes for version 20070508:
8691
8692 1) ACPI CA Core Subsystem:
8693
8694 Implemented a Microsoft compatibility design change for the handling of 
8695 the 
8696 Notify AML operator. Previously, notify handlers were dispatched and 
8697 executed completely asynchronously in a deferred thread. The new design 
8698 still executes the notify handlers in a different thread, but the 
8699 original 
8700 thread that executed the Notify() now waits at a synchronization point 
8701 for 
8702 the notify handler to complete. Some machines depend on a synchronous 
8703 Notify 
8704 operator in order to operate correctly.
8705
8706 Implemented support to allow Package objects to be passed as method 
8707 arguments to the external AcpiEvaluateObject interface. Previously, this 
8708 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
8709 implemented since there were no reserved control methods that required it 
8710 until recently.
8711
8712 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
8713 that 
8714 contained invalid non-zero values in reserved fields could cause later 
8715 failures because these fields have meaning in later revisions of the 
8716 FADT. 
8717 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
8718 fields 
8719 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
8720
8721 Fixed a problem where the Global Lock handle was not properly updated if 
8722
8723 thread that acquired the Global Lock via executing AML code then 
8724 attempted 
8725 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
8726 Joe 
8727 Liu.
8728
8729 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
8730 could be corrupted if the interrupt being removed was at the head of the 
8731 list. Reported by Linn Crosetto.
8732
8733 Example Code and Data Size: These are the sizes for the OS-independent 
8734 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8735 debug version of the code includes the debug output trace mechanism and 
8736 has 
8737 a much larger code and data size.
8738
8739   Previous Release:
8740     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8741     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
8742   Current Release:
8743     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
8744     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
8745
8746 ----------------------------------------
8747 20 March 2007. Summary of changes for version 20070320:
8748
8749 1) ACPI CA Core Subsystem:
8750
8751 Implemented a change to the order of interpretation and evaluation of AML 
8752 operand objects within the AML interpreter. The interpreter now evaluates 
8753 operands in the order that they appear in the AML stream (and the 
8754 corresponding ASL code), instead of in the reverse order (after the 
8755 entire 
8756 operand list has been parsed). The previous behavior caused several 
8757 subtle 
8758 incompatibilities with the Microsoft AML interpreter as well as being 
8759 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
8760
8761 Implemented a change to the ACPI Global Lock support. All interfaces to 
8762 the 
8763 global lock now allow the same thread to acquire the lock multiple times. 
8764 This affects the AcpiAcquireGlobalLock external interface to the global 
8765 lock 
8766 as well as the internal use of the global lock to support AML fields -- a 
8767 control method that is holding the global lock can now simultaneously 
8768 access 
8769 AML fields that require global lock protection. Previously, in both 
8770 cases, 
8771 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
8772 to 
8773 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
8774 Controller. There is no change to the behavior of the AML Acquire 
8775 operator, 
8776 as this can already be used to acquire a mutex multiple times by the same 
8777 thread. BZ 8066. With assistance from Alexey Starikovskiy.
8778
8779 Fixed a problem where invalid objects could be referenced in the AML 
8780 Interpreter after error conditions. During operand evaluation, ensure 
8781 that 
8782 the internal "Return Object" field is cleared on error and only valid 
8783 pointers are stored there. Caused occasional access to deleted objects 
8784 that 
8785 resulted in "large reference count" warning messages. Valery Podrezov.
8786
8787 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
8788 on 
8789 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
8790 Podrezov.
8791
8792 Fixed an internal problem with the handling of result objects on the 
8793 interpreter result stack. BZ 7872. Valery Podrezov.
8794
8795 Removed obsolete code that handled the case where AML_NAME_OP is the 
8796 target 
8797 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
8798 7874. Valery Podrezov.
8799
8800 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
8801 was 
8802
8803 remnant from the previously discontinued 16-bit support.
8804
8805 Example Code and Data Size: These are the sizes for the OS-independent 
8806 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8807 debug version of the code includes the debug output trace mechanism and 
8808 has 
8809 a much larger code and data size.
8810
8811   Previous Release:
8812     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8813     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
8814   Current Release:
8815     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8816     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
8817
8818 ----------------------------------------
8819 26 January 2007. Summary of changes for version 20070126:
8820
8821 1) ACPI CA Core Subsystem:
8822
8823 Added the 2007 copyright to all module headers and signons. This affects 
8824 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
8825 the utilities.
8826
8827 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
8828 during a table load. A bad pointer was passed in the case where the DSDT 
8829 is 
8830 overridden, causing a fault in this case.
8831
8832 Example Code and Data Size: These are the sizes for the OS-independent 
8833 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8834 debug version of the code includes the debug output trace mechanism and 
8835 has 
8836 a much larger code and data size.
8837
8838   Previous Release:
8839     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8840     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
8841   Current Release:
8842     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8843     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
8844
8845 ----------------------------------------
8846 15 December 2006. Summary of changes for version 20061215:
8847
8848 1) ACPI CA Core Subsystem:
8849
8850 Support for 16-bit ACPICA has been completely removed since it is no 
8851 longer 
8852 necessary and it clutters the code. All 16-bit macros, types, and 
8853 conditional compiles have been removed, cleaning up and simplifying the 
8854 code 
8855 across the entire subsystem. DOS support is no longer needed since the 
8856 bootable Linux firmware kit is now available.
8857
8858 The handler for the Global Lock is now removed during AcpiTerminate to 
8859 enable a clean subsystem restart, via the implementation of the 
8860 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
8861 HP)
8862
8863 Implemented enhancements to the multithreading support within the 
8864 debugger 
8865 to enable improved multithreading debugging and evaluation of the 
8866 subsystem. 
8867 (Valery Podrezov)
8868
8869 Debugger: Enhanced the Statistics/Memory command to emit the total 
8870 (maximum) 
8871 memory used during the execution, as well as the maximum memory consumed 
8872 by 
8873 each of the various object types. (Valery Podrezov)
8874
8875 Example Code and Data Size: These are the sizes for the OS-independent 
8876 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8877 debug version of the code includes the debug output trace mechanism and 
8878 has 
8879 a much larger code and data size.
8880
8881   Previous Release:
8882     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
8883     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
8884   Current Release:
8885     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8886     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
8887
8888
8889 2) iASL Compiler/Disassembler and Tools:
8890
8891 AcpiExec: Implemented a new option (-m) to display full memory use 
8892 statistics upon subsystem/program termination. (Valery Podrezov)
8893
8894 ----------------------------------------
8895 09 November 2006. Summary of changes for version 20061109:
8896
8897 1) ACPI CA Core Subsystem:
8898
8899 Optimized the Load ASL operator in the case where the source operand is 
8900 an 
8901 operation region. Simply map the operation region memory, instead of 
8902 performing a bytewise read. (Region must be of type SystemMemory, see 
8903 below.)
8904
8905 Fixed the Load ASL operator for the case where the source operand is a 
8906 region field. A buffer object is also allowed as the source operand. BZ 
8907 480
8908
8909 Fixed a problem where the Load ASL operator allowed the source operand to 
8910 be 
8911 an operation region of any type. It is now restricted to regions of type 
8912 SystemMemory, as per the ACPI specification. BZ 481
8913
8914 Additional cleanup and optimizations for the new Table Manager code.
8915
8916 AcpiEnable will now fail if all of the required ACPI tables are not 
8917 loaded 
8918 (FADT, FACS, DSDT). BZ 477
8919
8920 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
8921 this 
8922 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
8923 manually optimized to be aligned and will not work if it is byte-packed. 
8924
8925 Example Code and Data Size: These are the sizes for the OS-independent 
8926 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8927 debug version of the code includes the debug output trace mechanism and 
8928 has 
8929 a much larger code and data size.
8930
8931   Previous Release:
8932     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
8933     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
8934   Current Release:
8935     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
8936     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
8937
8938
8939 2) iASL Compiler/Disassembler and Tools:
8940
8941 Fixed a problem where the presence of the _OSI predefined control method 
8942 within complex expressions could cause an internal compiler error.
8943
8944 AcpiExec: Implemented full region support for multiple address spaces. 
8945 SpaceId is now part of the REGION object. BZ 429
8946
8947 ----------------------------------------
8948 11 October 2006. Summary of changes for version 20061011:
8949
8950 1) ACPI CA Core Subsystem:
8951
8952 Completed an AML interpreter performance enhancement for control method 
8953 execution. Previously a 2-pass parse/execution, control methods are now 
8954 completely parsed and executed in a single pass. This improves overall 
8955 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
8956 use. (Valery Podrezov + interpreter changes in version 20051202 that 
8957 eliminated namespace loading during the pass one parse.)
8958
8959 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
8960 not 
8961 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
8962 now 
8963 obtained and also checked for an ID match.
8964
8965 Implemented additional support for the PCI _ADR execution: upsearch until 
8966
8967 device scope is found before executing _ADR. This allows PCI_Config 
8968 operation regions to be declared locally within control methods 
8969 underneath 
8970 PCI device objects.
8971
8972 Fixed a problem with a possible race condition between threads executing 
8973 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
8974 modifying AcpiWalkNamespace to (by default) ignore all temporary 
8975 namespace 
8976 entries created during any concurrent control method execution. An 
8977 additional namespace race condition is known to exist between 
8978 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
8979 investigation.
8980
8981 Restructured the AML ParseLoop function, breaking it into several 
8982 subfunctions in order to reduce CPU stack use and improve 
8983 maintainability. 
8984 (Mikhail Kouzmich)
8985
8986 AcpiGetHandle: Fix for parameter validation to detect invalid 
8987 combinations 
8988 of prefix handle and pathname. BZ 478
8989
8990 Example Code and Data Size: These are the sizes for the OS-independent 
8991 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8992 debug version of the code includes the debug output trace mechanism and 
8993 has 
8994 a much larger code and data size.
8995
8996   Previous Release:
8997     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
8998     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
8999   Current Release:
9000     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9001     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9002
9003 2) iASL Compiler/Disassembler and Tools:
9004
9005 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
9006 Manager 
9007 to restore original behavior.
9008
9009 ----------------------------------------
9010 27 September 2006. Summary of changes for version 20060927:
9011
9012 1) ACPI CA Core Subsystem:
9013
9014 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
9015 These functions now use a spinlock for mutual exclusion and the interrupt 
9016 level indication flag is not needed.
9017
9018 Fixed a problem with the Global Lock where the lock could appear to be 
9019 obtained before it is actually obtained. The global lock semaphore was 
9020 inadvertently created with one unit instead of zero units. (BZ 464) 
9021 Fiodor 
9022 Suietov.
9023
9024 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
9025 during 
9026 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9027
9028 Example Code and Data Size: These are the sizes for the OS-independent 
9029 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9030 debug version of the code includes the debug output trace mechanism and 
9031 has 
9032 a much larger code and data size.
9033
9034   Previous Release:
9035     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9036     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9037   Current Release:
9038     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9039     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9040
9041
9042 2) iASL Compiler/Disassembler and Tools:
9043
9044 Fixed a compilation problem with the pre-defined Resource Descriptor 
9045 field 
9046 names where an "object does not exist" error could be incorrectly 
9047 generated 
9048 if the parent ResourceTemplate pathname places the template within a 
9049 different namespace scope than the current scope. (BZ 7212)
9050
9051 Fixed a problem where the compiler could hang after syntax errors 
9052 detected 
9053 in an ElseIf construct. (BZ 453)
9054
9055 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
9056 operator. An incorrect output filename was produced when this parameter 
9057 was 
9058 a null string (""). Now, the original input filename is used as the AML 
9059 output filename, with an ".aml" extension.
9060
9061 Implemented a generic batch command mode for the AcpiExec utility 
9062 (execute 
9063 any AML debugger command) (Valery Podrezov).
9064
9065 ----------------------------------------
9066 12 September 2006. Summary of changes for version 20060912:
9067
9068 1) ACPI CA Core Subsystem:
9069
9070 Enhanced the implementation of the "serialized mode" of the interpreter 
9071 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
9072 specified, instead of creating a serialization semaphore per control 
9073 method, 
9074 the interpreter lock is simply no longer released before a blocking 
9075 operation during control method execution. This effectively makes the AML 
9076 Interpreter single-threaded. The overhead of a semaphore per-method is 
9077 eliminated.
9078
9079 Fixed a regression where an error was no longer emitted if a control 
9080 method 
9081 attempts to create 2 objects of the same name. This once again returns 
9082 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
9083 that 
9084 will dynamically serialize the control method to possible prevent future 
9085 errors. (BZ 440)
9086
9087 Integrated a fix for a problem with PCI Express HID detection in the PCI 
9088 Config Space setup procedure. (BZ 7145)
9089
9090 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
9091 AcpiHwInitialize function - the FADT registers are now validated when the 
9092 table is loaded.
9093
9094 Added two new warnings during FADT verification - 1) if the FADT is 
9095 larger 
9096 than the largest known FADT version, and 2) if there is a mismatch 
9097 between 
9098
9099 32-bit block address and the 64-bit X counterpart (when both are non-
9100 zero.)
9101
9102 Example Code and Data Size: These are the sizes for the OS-independent 
9103 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9104 debug version of the code includes the debug output trace mechanism and 
9105 has 
9106 a much larger code and data size.
9107
9108   Previous Release:
9109     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9110     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9111   Current Release:
9112     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9113     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9114
9115
9116 2) iASL Compiler/Disassembler and Tools:
9117
9118 Fixed a problem with the implementation of the Switch() operator where 
9119 the 
9120 temporary variable was declared too close to the actual Switch, instead 
9121 of 
9122 at method level. This could cause a problem if the Switch() operator is 
9123 within a while loop, causing an error on the second iteration. (BZ 460)
9124
9125 Disassembler - fix for error emitted for unknown type for target of scope 
9126 operator. Now, ignore it and continue.
9127
9128 Disassembly of an FADT now verifies the input FADT and reports any errors 
9129 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
9130
9131 Disassembly of raw data buffers with byte initialization data now 
9132 prefixes 
9133 each output line with the current buffer offset.
9134
9135 Disassembly of ASF! table now includes all variable-length data fields at 
9136 the end of some of the subtables.
9137
9138 The disassembler now emits a comment if a buffer appears to be a 
9139 ResourceTemplate, but cannot be disassembled as such because the EndTag 
9140 does 
9141 not appear at the very end of the buffer.
9142
9143 AcpiExec - Added the "-t" command line option to enable the serialized 
9144 mode 
9145 of the AML interpreter.
9146
9147 ----------------------------------------
9148 31 August 2006. Summary of changes for version 20060831:
9149
9150 1) ACPI CA Core Subsystem:
9151
9152 Miscellaneous fixes for the Table Manager:
9153 - Correctly initialize internal common FADT for all 64-bit "X" fields
9154 - Fixed a couple table mapping issues during table load
9155 - Fixed a couple alignment issues for IA64
9156 - Initialize input array to zero in AcpiInitializeTables
9157 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
9158 AcpiGetTableByIndex
9159
9160 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
9161 now 
9162 immediately disabled to prevent the waking GPE from firing again and to 
9163 prevent other wake GPEs from interrupting the wake process.
9164
9165 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
9166 to 
9167 be used for debugging systems with a large number of ACPI interrupts.
9168
9169 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
9170 both the ACPICA headers and the disassembler.
9171
9172 Example Code and Data Size: These are the sizes for the OS-independent 
9173 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9174 debug version of the code includes the debug output trace mechanism and 
9175 has 
9176 a much larger code and data size.
9177
9178   Previous Release:
9179     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9180     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9181   Current Release:
9182     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9183     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9184
9185
9186 2) iASL Compiler/Disassembler and Tools:
9187
9188 Disassembler support for the DMAR ACPI table.
9189
9190 ----------------------------------------
9191 23 August 2006. Summary of changes for version 20060823:
9192
9193 1) ACPI CA Core Subsystem:
9194
9195 The Table Manager component has been completely redesigned and 
9196 reimplemented. The new design is much simpler, and reduces the overall 
9197 code 
9198 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
9199 is 
9200 now possible to obtain the ACPI tables very early during kernel 
9201 initialization, even before dynamic memory management is initialized. 
9202 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
9203
9204 Obsolete ACPICA interfaces:
9205
9206 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
9207 init 
9208 time).
9209 - AcpiLoadTable: Not needed.
9210 - AcpiUnloadTable: Not needed.
9211
9212 New ACPICA interfaces:
9213
9214 - AcpiInitializeTables: Must be called before the table manager can be 
9215 used.
9216 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
9217 allocated memory after it becomes available.
9218 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
9219 tables 
9220 in the RSDT/XSDT.
9221
9222 Other ACPICA changes:
9223
9224 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
9225 Use 
9226 AcpiOsUnmapMemory to free this mapping.
9227 - AcpiGetTable returns the actual mapped table. The mapping is managed 
9228 internally and must not be deleted by the caller. Use of this interface 
9229 causes no additional dynamic memory allocation.
9230 - AcpiFindRootPointer: Support for physical addressing has been 
9231 eliminated, 
9232 it appeared to be unused.
9233 - The interface to AcpiOsMapMemory has changed to be consistent with the 
9234 other allocation interfaces.
9235 - The interface to AcpiOsGetRootPointer has changed to eliminate 
9236 unnecessary 
9237 parameters.
9238 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
9239 64-
9240 bit platforms. Was previously 64 bits on all platforms.
9241 - The interface to the ACPI Global Lock acquire/release macros have 
9242 changed 
9243 slightly since ACPICA no longer keeps a local copy of the FACS with a 
9244 constructed pointer to the actual global lock.
9245
9246 Porting to the new table manager:
9247
9248 - AcpiInitializeTables: Must be called once, and can be called anytime 
9249 during the OS initialization process. It allows the host to specify an 
9250 area 
9251 of memory to be used to store the internal version of the RSDT/XSDT (root 
9252 table). This allows the host to access ACPI tables before memory 
9253 management 
9254 is initialized and running.
9255 - AcpiReallocateRootTable: Can be called after memory management is 
9256 running 
9257 to copy the root table to a dynamically allocated array, freeing up the 
9258 scratch memory specified in the call to AcpiInitializeTables.
9259 - AcpiSubsystemInitialize: This existing interface is independent of the 
9260 Table Manager, and does not have to be called before the Table Manager 
9261 can 
9262 be used, it only must be called before the rest of ACPICA can be used.
9263 - ACPI Tables: Some changes have been made to the names and structure of 
9264 the 
9265 actbl.h and actbl1.h header files and may require changes to existing 
9266 code. 
9267 For example, bitfields have been completely removed because of their lack 
9268 of 
9269 portability across C compilers.
9270 - Update interfaces to the Global Lock acquire/release macros if local 
9271 versions are used. (see acwin.h)
9272
9273 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
9274
9275 New files: tbfind.c
9276
9277 Example Code and Data Size: These are the sizes for the OS-independent 
9278 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9279 debug version of the code includes the debug output trace mechanism and 
9280 has 
9281 a much larger code and data size.
9282
9283   Previous Release:
9284     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9285     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9286   Current Release:
9287     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9288     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9289
9290
9291 2) iASL Compiler/Disassembler and Tools:
9292
9293 No changes for this release.
9294
9295 ----------------------------------------
9296 21 July 2006. Summary of changes for version 20060721:
9297
9298 1) ACPI CA Core Subsystem:
9299
9300 The full source code for the ASL test suite used to validate the iASL 
9301 compiler and the ACPICA core subsystem is being released with the ACPICA 
9302 source for the first time. The source is contained in a separate package 
9303 and 
9304 consists of over 1100 files that exercise all ASL/AML operators. The 
9305 package 
9306 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
9307 Fiodor 
9308 Suietov)
9309
9310 Completed a new design and implementation for support of the ACPI Global 
9311 Lock. On the OS side, the global lock is now treated as a standard AML 
9312 mutex. Previously, multiple OS threads could "acquire" the global lock 
9313 simultaneously. However, this could cause the BIOS to be starved out of 
9314 the 
9315 lock - especially in cases such as the Embedded Controller driver where 
9316 there is a tight coupling between the OS and the BIOS.
9317
9318 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
9319 The Global Lock interrupt handler no longer queues the execution of a 
9320 separate thread to signal the global lock semaphore. Instead, the 
9321 semaphore 
9322 is signaled directly from the interrupt handler.
9323
9324 Implemented support within the AML interpreter for package objects that 
9325 contain a larger AML length (package list length) than the package 
9326 element 
9327 count. In this case, the length of the package is truncated to match the 
9328 package element count. Some BIOS code apparently modifies the package 
9329 length 
9330 on the fly, and this change supports this behavior. Provides 
9331 compatibility 
9332 with the MS AML interpreter. (With assistance from Fiodor Suietov)
9333
9334 Implemented a temporary fix for the BankValue parameter of a Bank Field 
9335 to 
9336 support all constant values, now including the Zero and One opcodes. 
9337 Evaluation of this parameter must eventually be converted to a full 
9338 TermArg 
9339 evaluation. A not-implemented error is now returned (temporarily) for 
9340 non-
9341 constant values for this parameter.
9342
9343 Fixed problem reports (Fiodor Suietov) integrated:
9344 - Fix for premature object deletion after CopyObject on Operation Region 
9345 (BZ 
9346 350)
9347
9348 Example Code and Data Size: These are the sizes for the OS-independent 
9349 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9350 debug version of the code includes the debug output trace mechanism and 
9351 has 
9352 a much larger code and data size.
9353
9354   Previous Release:
9355     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
9356     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
9357   Current Release:
9358     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9359     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9360
9361
9362 2) iASL Compiler/Disassembler and Tools:
9363
9364 No changes for this release.
9365
9366 ----------------------------------------
9367 07 July 2006. Summary of changes for version 20060707:
9368
9369 1) ACPI CA Core Subsystem:
9370
9371 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
9372 that do not allow the initialization of address pointers within packed 
9373 structures - even though the hardware itself may support misaligned 
9374 transfers. Some of the debug data structures are packed by default to 
9375 minimize size.
9376
9377 Added an error message for the case where AcpiOsGetThreadId() returns 
9378 zero. 
9379 A non-zero value is required by the core ACPICA code to ensure the proper 
9380 operation of AML mutexes and recursive control methods.
9381
9382 The DSDT is now the only ACPI table that determines whether the AML 
9383 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
9384 but 
9385 the hooks for per-table 32/64 switching have been removed from the code. 
9386
9387 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
9388
9389 Fixed a possible leak of an OwnerID in the error path of 
9390 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
9391 deletion to a single place in AcpiTbUninstallTable to correct possible 
9392 leaks 
9393 when using the AcpiTbDeleteTablesByType interface (with assistance from 
9394 Lance Ortiz.)
9395
9396 Fixed a problem with Serialized control methods where the semaphore 
9397 associated with the method could be over-signaled after multiple method 
9398 invocations.
9399
9400 Fixed two issues with the locking of the internal namespace data 
9401 structure. 
9402 Both the Unload() operator and AcpiUnloadTable interface now lock the 
9403 namespace during the namespace deletion associated with the table unload 
9404 (with assistance from Linn Crosetto.)
9405
9406 Fixed problem reports (Valery Podrezov) integrated:
9407 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
9408
9409 Fixed problem reports (Fiodor Suietov) integrated:
9410 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
9411 - On Address Space handler deletion, needless deactivation call (BZ 374)
9412 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
9413 375)
9414 - Possible memory leak, Notify sub-objects of Processor, Power, 
9415 ThermalZone 
9416 (BZ 376)
9417 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
9418 - Minimum Length of RSDT should be validated (BZ 379)
9419 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
9420 Handler (BZ (380)
9421 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
9422 loaded 
9423 (BZ 381)
9424
9425 Example Code and Data Size: These are the sizes for the OS-independent 
9426 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9427 debug version of the code includes the debug output trace mechanism and 
9428 has 
9429 a much larger code and data size.
9430
9431   Previous Release:
9432     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9433     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9434   Current Release:
9435     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9436     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9437
9438
9439 2) iASL Compiler/Disassembler and Tools:
9440
9441 Fixed problem reports:
9442 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
9443 436)
9444
9445 ----------------------------------------
9446 23 June 2006. Summary of changes for version 20060623:
9447
9448 1) ACPI CA Core Subsystem:
9449
9450 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
9451 allows the type to be customized to the host OS for improved efficiency 
9452 (since a spinlock is usually a very small object.)
9453
9454 Implemented support for "ignored" bits in the ACPI registers. According 
9455 to 
9456 the ACPI specification, these bits should be preserved when writing the 
9457 registers via a read/modify/write cycle. There are 3 bits preserved in 
9458 this 
9459 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
9460
9461 Implemented the initial deployment of new OSL mutex interfaces. Since 
9462 some 
9463 host operating systems have separate mutex and semaphore objects, this 
9464 feature was requested. The base code now uses mutexes (and the new mutex 
9465 interfaces) wherever a binary semaphore was used previously. However, for 
9466 the current release, the mutex interfaces are defined as macros to map 
9467 them 
9468 to the existing semaphore interfaces. Therefore, no OSL changes are 
9469 required 
9470 at this time. (See acpiosxf.h)
9471
9472 Fixed several problems with the support for the control method SyncLevel 
9473 parameter. The SyncLevel now works according to the ACPI specification 
9474 and 
9475 in concert with the Mutex SyncLevel parameter, since the current 
9476 SyncLevel 
9477 is a property of the executing thread. Mutual exclusion for control 
9478 methods 
9479 is now implemented with a mutex instead of a semaphore.
9480
9481 Fixed three instances of the use of the C shift operator in the bitfield 
9482 support code (exfldio.c) to avoid the use of a shift value larger than 
9483 the 
9484 target data width. The behavior of C compilers is undefined in this case 
9485 and 
9486 can cause unpredictable results, and therefore the case must be detected 
9487 and 
9488 avoided. (Fiodor Suietov)
9489
9490 Added an info message whenever an SSDT or OEM table is loaded dynamically 
9491 via the Load() or LoadTable() ASL operators. This should improve 
9492 debugging 
9493 capability since it will show exactly what tables have been loaded 
9494 (beyond 
9495 the tables present in the RSDT/XSDT.)
9496
9497 Example Code and Data Size: These are the sizes for the OS-independent 
9498 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9499 debug version of the code includes the debug output trace mechanism and 
9500 has 
9501 a much larger code and data size.
9502
9503   Previous Release:
9504     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
9505     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
9506   Current Release:
9507     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9508     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9509
9510
9511 2) iASL Compiler/Disassembler and Tools:
9512
9513 No changes for this release.
9514
9515 ----------------------------------------
9516 08 June 2006. Summary of changes for version 20060608:
9517
9518 1) ACPI CA Core Subsystem:
9519
9520 Converted the locking mutex used for the ACPI hardware to a spinlock. 
9521 This 
9522 change should eliminate all problems caused by attempting to acquire a 
9523 semaphore at interrupt level, and it means that all ACPICA external 
9524 interfaces that directly access the ACPI hardware can be safely called 
9525 from 
9526 interrupt level. OSL code that implements the semaphore interfaces should 
9527 be 
9528 able to eliminate any workarounds for being called at interrupt level.
9529
9530 Fixed a regression introduced in 20060526 where the ACPI device 
9531 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
9532 device 
9533 did not have an optional _INI method.
9534
9535 Fixed an IndexField issue where a write to the Data Register should be 
9536 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
9537 433, 
9538 Fiodor Suietov)
9539
9540 Fixed problem reports (Valery Podrezov) integrated:
9541 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
9542
9543 Fixed problem reports (Fiodor Suietov) integrated:
9544 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
9545
9546 Removed four global mutexes that were obsolete and were no longer being 
9547 used.
9548
9549 Example Code and Data Size: These are the sizes for the OS-independent 
9550 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9551 debug version of the code includes the debug output trace mechanism and 
9552 has 
9553 a much larger code and data size.
9554
9555   Previous Release:
9556     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
9557     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
9558   Current Release:
9559     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
9560     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
9561
9562
9563 2) iASL Compiler/Disassembler and Tools:
9564
9565 Fixed a fault when using -g option (get tables from registry) on Windows 
9566 machines.
9567
9568 Fixed problem reports integrated:
9569 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
9570 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
9571 Suietov)
9572 - Global table revision override (-r) is ignored (BZ 413)
9573
9574 ----------------------------------------
9575 26 May 2006. Summary of changes for version 20060526:
9576
9577 1) ACPI CA Core Subsystem:
9578
9579 Restructured, flattened, and simplified the internal interfaces for 
9580 namespace object evaluation - resulting in smaller code, less CPU stack 
9581 use, 
9582 and fewer interfaces. (With assistance from Mikhail Kouzmich)
9583
9584 Fixed a problem with the CopyObject operator where the first parameter 
9585 was 
9586 not typed correctly for the parser, interpreter, compiler, and 
9587 disassembler. 
9588 Caused various errors and unexpected behavior.
9589
9590 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
9591 produced incorrect results with some C compilers. Since the behavior of C 
9592 compilers when the shift value is larger than the datatype width is 
9593 apparently not well defined, the interpreter now detects this condition 
9594 and 
9595 simply returns zero as expected in all such cases. (BZ 395)
9596
9597 Fixed problem reports (Valery Podrezov) integrated:
9598 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
9599 - Allow interpreter to handle nested method declarations (BZ 5361)
9600
9601 Fixed problem reports (Fiodor Suietov) integrated:
9602 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
9603 355)
9604 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
9605 356)
9606 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
9607 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
9608 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
9609 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
9610 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
9611 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
9612 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
9613 365)
9614 - Status of the Global Initialization Handler call not used (BZ 366)
9615 - Incorrect object parameter to Global Initialization Handler (BZ 367)
9616
9617 Example Code and Data Size: These are the sizes for the OS-independent 
9618 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9619 debug version of the code includes the debug output trace mechanism and 
9620 has 
9621 a much larger code and data size.
9622
9623   Previous Release:
9624     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
9625     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
9626   Current Release:
9627     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
9628     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
9629
9630
9631 2) iASL Compiler/Disassembler and Tools:
9632
9633 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
9634 namespace identifiers with no collision with existing resource descriptor 
9635 macro names. This provides compatibility with other ASL compilers and is 
9636 most useful for disassembly/recompilation of existing tables without 
9637 parse 
9638 errors. (With assistance from Thomas Renninger)
9639
9640 Disassembler: fixed an incorrect disassembly problem with the 
9641 DataTableRegion and CopyObject operators. Fixed a possible fault during 
9642 disassembly of some Alias operators.
9643
9644 ----------------------------------------
9645 12 May 2006. Summary of changes for version 20060512:
9646
9647 1) ACPI CA Core Subsystem:
9648
9649 Replaced the AcpiOsQueueForExecution interface with a new interface named 
9650 AcpiOsExecute. The major difference is that the new interface does not 
9651 have 
9652 a Priority parameter, this appeared to be useless and has been replaced 
9653 by 
9654
9655 Type parameter. The Type tells the host what type of execution is being 
9656 requested, such as global lock handler, notify handler, GPE handler, etc. 
9657 This allows the host to queue and execute the request as appropriate for 
9658 the 
9659 request type, possibly using different work queues and different 
9660 priorities 
9661 for the various request types. This enables fixes for multithreading 
9662 deadlock problems such as BZ #5534, and will require changes to all 
9663 existing 
9664 OS interface layers. (Alexey Starikovskiy and Bob Moore)
9665
9666 Fixed a possible memory leak associated with the support for the so-
9667 called 
9668 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
9669 Suietov)
9670
9671 Fixed a problem with the Load() operator where a table load from an 
9672 operation region could overwrite an internal table buffer by up to 7 
9673 bytes 
9674 and cause alignment faults on IPF systems. (With assistance from Luming 
9675 Yu)
9676
9677 Example Code and Data Size: These are the sizes for the OS-independent 
9678 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9679 debug version of the code includes the debug output trace mechanism and 
9680 has 
9681 a much larger code and data size.
9682
9683   Previous Release:
9684     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
9685     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
9686   Current Release:
9687     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
9688     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
9689
9690
9691
9692 2) iASL Compiler/Disassembler and Tools:
9693
9694 Disassembler: Implemented support to cross reference the internal 
9695 namespace 
9696 and automatically generate ASL External() statements for symbols not 
9697 defined 
9698 within the current table being disassembled. This will simplify the 
9699 disassembly and recompilation of interdependent tables such as SSDTs 
9700 since 
9701 these statements will no longer have to be added manually.
9702
9703 Disassembler: Implemented experimental support to automatically detect 
9704 invocations of external control methods and generate appropriate 
9705 External() 
9706 statements. This is problematic because the AML cannot be correctly 
9707 parsed 
9708 until the number of arguments for each control method is known. 
9709 Currently, 
9710 standalone method invocations and invocations as the source operand of a 
9711 Store() statement are supported.
9712
9713 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
9714 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
9715 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
9716 more readable and likely closer to the original ASL source.
9717
9718 ----------------------------------------
9719 21 April 2006. Summary of changes for version 20060421:
9720
9721 1) ACPI CA Core Subsystem:
9722
9723 Removed a device initialization optimization introduced in 20051216 where 
9724 the _STA method was not run unless an _INI was also present for the same 
9725 device. This optimization could cause problems because it could allow 
9726 _INI 
9727 methods to be run within a not-present device subtree. (If a not-present 
9728 device had no _INI, _STA would not be run, the not-present status would 
9729 not 
9730 be discovered, and the children of the device would be incorrectly 
9731 traversed.)
9732
9733 Implemented a new _STA optimization where namespace subtrees that do not 
9734 contain _INI are identified and ignored during device initialization. 
9735 Selectively running _STA can significantly improve boot time on large 
9736 machines (with assistance from Len Brown.)
9737
9738 Implemented support for the device initialization case where the returned 
9739 _STA flags indicate a device not-present but functioning. In this case, 
9740 _INI 
9741 is not run, but the device children are examined for presence, as per the 
9742 ACPI specification.
9743
9744 Implemented an additional change to the IndexField support in order to 
9745 conform to MS behavior. The value written to the Index Register is not 
9746 simply a byte offset, it is a byte offset in units of the access width of 
9747 the parent Index Field. (Fiodor Suietov)
9748
9749 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
9750 interface is called during the creation of all AML operation regions, and 
9751 allows the host OS to exert control over what addresses it will allow the 
9752 AML code to access. Operation Regions whose addresses are disallowed will 
9753 cause a runtime exception when they are actually accessed (will not 
9754 affect 
9755 or abort table loading.) See oswinxf or osunixxf for an example 
9756 implementation.
9757
9758 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
9759 interface allows the host OS to match the various "optional" 
9760 interface/behavior strings for the _OSI predefined control method as 
9761 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
9762 for an example implementation.
9763
9764 Restructured and corrected various problems in the exception handling 
9765 code 
9766 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
9767 (with assistance from Takayoshi Kochi.)
9768
9769 Modified the Linux source converter to ignore quoted string literals 
9770 while 
9771 converting identifiers from mixed to lower case. This will correct 
9772 problems 
9773 with the disassembler and other areas where such strings must not be 
9774 modified.
9775
9776 The ACPI_FUNCTION_* macros no longer require quotes around the function 
9777 name. This allows the Linux source converter to convert the names, now 
9778 that 
9779 the converter ignores quoted strings.
9780
9781 Example Code and Data Size: These are the sizes for the OS-independent 
9782 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9783 debug version of the code includes the debug output trace mechanism and 
9784 has 
9785 a much larger code and data size.
9786
9787   Previous Release:
9788
9789     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
9790     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
9791   Current Release:
9792     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
9793     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
9794
9795
9796 2) iASL Compiler/Disassembler and Tools:
9797
9798 Implemented 3 new warnings for iASL, and implemented multiple warning 
9799 levels 
9800 (w2 flag).
9801
9802 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
9803 not 
9804 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
9805 check for the possible timeout, a warning is issued.
9806
9807 2) Useless operators: If an ASL operator does not specify an optional 
9808 target 
9809 operand and it also does not use the function return value from the 
9810 operator, a warning is issued since the operator effectively does 
9811 nothing.
9812
9813 3) Unreferenced objects: If a namespace object is created, but never 
9814 referenced, a warning is issued. This is a warning level 2 since there 
9815 are 
9816 cases where this is ok, such as when a secondary table is loaded that 
9817 uses 
9818 the unreferenced objects. Even so, care is taken to only flag objects 
9819 that 
9820 don't look like they will ever be used. For example, the reserved methods 
9821 (starting with an underscore) are usually not referenced because it is 
9822 expected that the OS will invoke them.
9823
9824 ----------------------------------------
9825 31 March 2006. Summary of changes for version 20060331:
9826
9827 1) ACPI CA Core Subsystem:
9828
9829 Implemented header file support for the following additional ACPI tables: 
9830 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
9831 support, 
9832 all current and known ACPI tables are now defined in the ACPICA headers 
9833 and 
9834 are available for use by device drivers and other software.
9835
9836 Implemented support to allow tables that contain ACPI names with invalid 
9837 characters to be loaded. Previously, this would cause the table load to 
9838 fail, but since there are several known cases of such tables on existing 
9839 machines, this change was made to enable ACPI support for them. Also, 
9840 this 
9841 matches the behavior of the Microsoft ACPI implementation.
9842
9843 Fixed a couple regressions introduced during the memory optimization in 
9844 the 
9845 20060317 release. The namespace node definition required additional 
9846 reorganization and an internal datatype that had been changed to 8-bit 
9847 was 
9848 restored to 32-bit. (Valery Podrezov)
9849
9850 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
9851 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
9852 null pointers are now trapped and ignored, matching the behavior of the 
9853 previous implementation before the deployment of AcpiOsReleaseObject.
9854 (Valery Podrezov, Fiodor Suietov)
9855
9856 Fixed a memory mapping leak during the deletion of a SystemMemory 
9857 operation 
9858 region where a cached memory mapping was not deleted. This became a 
9859 noticeable problem for operation regions that are defined within 
9860 frequently 
9861 used control methods. (Dana Meyers)
9862
9863 Reorganized the ACPI table header files into two main files: one for the 
9864 ACPI tables consumed by the ACPICA core, and another for the 
9865 miscellaneous 
9866 ACPI tables that are consumed by the drivers and other software. The 
9867 various 
9868 FADT definitions were merged into one common section and three different 
9869 tables (ACPI 1.0, 1.0+, and 2.0)
9870
9871 Example Code and Data Size: These are the sizes for the OS-independent 
9872 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9873 debug version of the code includes the debug output trace mechanism and 
9874 has 
9875 a much larger code and data size.
9876
9877   Previous Release:
9878     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
9879     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
9880   Current Release:
9881     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
9882     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
9883
9884
9885 2) iASL Compiler/Disassembler and Tools:
9886
9887 Disassembler: Implemented support to decode and format all non-AML ACPI 
9888 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
9889 added to the ACPICA headers, therefore all current and known ACPI tables 
9890 are 
9891 supported.
9892
9893 Disassembler: The change to allow ACPI names with invalid characters also 
9894 enables the disassembly of such tables. Invalid characters within names 
9895 are 
9896 changed to '*' to make the name printable; the iASL compiler will still 
9897 generate an error for such names, however, since this is an invalid ACPI 
9898 character.
9899
9900 Implemented an option for AcpiXtract (-a) to extract all tables found in 
9901 the 
9902 input file. The default invocation extracts only the DSDTs and SSDTs.
9903
9904 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
9905 makefile for the AcpiXtract utility.
9906
9907 ----------------------------------------
9908 17 March 2006. Summary of changes for version 20060317:
9909
9910 1) ACPI CA Core Subsystem:
9911
9912 Implemented the use of a cache object for all internal namespace nodes. 
9913 Since there are about 1000 static nodes in a typical system, this will 
9914 decrease memory use for cache implementations that minimize per-
9915 allocation 
9916 overhead (such as a slab allocator.)
9917
9918 Removed the reference count mechanism for internal namespace nodes, since 
9919 it 
9920 was deemed unnecessary. This reduces the size of each namespace node by 
9921 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
9922 case, 
9923 and 32 bytes for the 64-bit case.
9924
9925 Optimized several internal data structures to reduce object size on 64-
9926 bit 
9927 platforms by packing data within the 64-bit alignment. This includes the 
9928 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
9929 instances corresponding to the namespace objects.
9930
9931 Added two new strings for the predefined _OSI method: "Windows 2001.1 
9932 SP1" 
9933 and "Windows 2006".
9934
9935 Split the allocation tracking mechanism out to a separate file, from 
9936 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
9937 application-level code. Kernels may wish to not include uttrack.c in 
9938 distributions.
9939
9940 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
9941 associated 
9942 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
9943 macros.)
9944
9945 Code and Data Size: These are the sizes for the acpica.lib produced by 
9946 the 
9947 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
9948 ACPI 
9949 driver or OSPM code. The debug version of the code includes the debug 
9950 output 
9951 trace mechanism and has a much larger code and data size. Note that these 
9952 values will vary depending on the efficiency of the compiler and the 
9953 compiler options used during generation.
9954
9955   Previous Release:
9956     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
9957     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
9958   Current Release:
9959     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
9960     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
9961
9962
9963 2) iASL Compiler/Disassembler and Tools:
9964
9965 Implemented an ANSI C version of the acpixtract utility. This version 
9966 will 
9967 automatically extract the DSDT and all SSDTs from the input acpidump text 
9968 file and dump the binary output to separate files. It can also display a 
9969 summary of the input file including the headers for each table found and 
9970 will extract any single ACPI table, with any signature. (See 
9971 source/tools/acpixtract)
9972
9973 ----------------------------------------
9974 10 March 2006. Summary of changes for version 20060310:
9975
9976 1) ACPI CA Core Subsystem:
9977
9978 Tagged all external interfaces to the subsystem with the new 
9979 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
9980 assist 
9981 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
9982 macro. The default definition is NULL.
9983
9984 Added the ACPI_THREAD_ID type for the return value from 
9985 AcpiOsGetThreadId. 
9986 This allows the host to define this as necessary to simplify kernel 
9987 integration. The default definition is ACPI_NATIVE_UINT.
9988
9989 Fixed two interpreter problems related to error processing, the deletion 
9990 of 
9991 objects, and placing invalid pointers onto the internal operator result 
9992 stack. BZ 6028, 6151 (Valery Podrezov)
9993
9994 Increased the reference count threshold where a warning is emitted for 
9995 large 
9996 reference counts in order to eliminate unnecessary warnings on systems 
9997 with 
9998 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
9999 0x800.
10000
10001 Due to universal disagreement as to the meaning of the 'c' in the 
10002 calloc() 
10003 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
10004 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
10005 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
10006 ACPI_FREE.
10007
10008 Code and Data Size: These are the sizes for the acpica.lib produced by 
10009 the 
10010 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10011 ACPI 
10012 driver or OSPM code. The debug version of the code includes the debug 
10013 output 
10014 trace mechanism and has a much larger code and data size. Note that these 
10015 values will vary depending on the efficiency of the compiler and the 
10016 compiler options used during generation.
10017
10018   Previous Release:
10019     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10020     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10021   Current Release:
10022     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10023     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10024
10025
10026 2) iASL Compiler/Disassembler:
10027
10028 Disassembler: implemented support for symbolic resource descriptor 
10029 references. If a CreateXxxxField operator references a fixed offset 
10030 within 
10031
10032 resource descriptor, a name is assigned to the descriptor and the offset 
10033 is 
10034 translated to the appropriate resource tag and pathname. The addition of 
10035 this support brings the disassembled code very close to the original ASL 
10036 source code and helps eliminate run-time errors when the disassembled 
10037 code 
10038 is modified (and recompiled) in such a way as to invalidate the original 
10039 fixed offsets.
10040
10041 Implemented support for a Descriptor Name as the last parameter to the 
10042 ASL 
10043 Register() macro. This parameter was inadvertently left out of the ACPI 
10044 specification, and will be added for ACPI 3.0b.
10045
10046 Fixed a problem where the use of the "_OSI" string (versus the full path 
10047 "\_OSI") caused an internal compiler error. ("No back ptr to op")
10048
10049 Fixed a problem with the error message that occurs when an invalid string 
10050 is 
10051 used for a _HID object (such as one with an embedded asterisk: 
10052 "*PNP010A".) 
10053 The correct message is now displayed.
10054
10055 ----------------------------------------
10056 17 February 2006. Summary of changes for version 20060217:
10057
10058 1) ACPI CA Core Subsystem:
10059
10060 Implemented a change to the IndexField support to match the behavior of 
10061 the 
10062 Microsoft AML interpreter. The value written to the Index register is now 
10063
10064 byte offset, no longer an index based upon the width of the Data 
10065 register. 
10066 This should fix IndexField problems seen on some machines where the Data 
10067 register is not exactly one byte wide. The ACPI specification will be 
10068 clarified on this point.
10069
10070 Fixed a problem where several resource descriptor types could overrun the 
10071 internal descriptor buffer due to size miscalculation: VendorShort, 
10072 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
10073 affect all platforms.
10074
10075 Fixed a problem where individual resource descriptors were misaligned 
10076 within 
10077 the internal buffer, causing alignment faults on IA64 platforms.
10078
10079 Code and Data Size: These are the sizes for the acpica.lib produced by 
10080 the 
10081 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10082 ACPI 
10083 driver or OSPM code. The debug version of the code includes the debug 
10084 output 
10085 trace mechanism and has a much larger code and data size. Note that these 
10086 values will vary depending on the efficiency of the compiler and the 
10087 compiler options used during generation.
10088
10089   Previous Release:
10090     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10091     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10092   Current Release:
10093     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10094     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10095
10096
10097 2) iASL Compiler/Disassembler:
10098
10099 Implemented support for new reserved names: _WDG and _WED are Microsoft 
10100 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
10101 defined method (Throttling Depth Limit.)
10102
10103 Fixed a problem where a zero-length VendorShort or VendorLong resource 
10104 descriptor was incorrectly emitted as a descriptor of length one.
10105
10106 ----------------------------------------
10107 10 February 2006. Summary of changes for version 20060210:
10108
10109 1) ACPI CA Core Subsystem:
10110
10111 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
10112 normal execution. These became apparent after the conversion from 
10113 ACPI_DEBUG_PRINT.
10114
10115 Fixed a problem where the CreateField operator could hang if the BitIndex 
10116 or 
10117 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
10118
10119 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
10120 failed with an exception. This also fixes a couple of related RefOf and 
10121 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
10122
10123 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
10124 of 
10125 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
10126 BZ 
10127 5480)
10128
10129 Implemented a memory cleanup at the end of the execution of each 
10130 iteration 
10131 of an AML While() loop, preventing the accumulation of outstanding 
10132 objects. 
10133 (Valery Podrezov, BZ 5427)
10134
10135 Eliminated a chunk of duplicate code in the object resolution code. 
10136 (Valery 
10137 Podrezov, BZ 5336)
10138
10139 Fixed several warnings during the 64-bit code generation.
10140
10141 The AcpiSrc source code conversion tool now inserts one line of 
10142 whitespace 
10143 after an if() statement that is followed immediately by a comment, 
10144 improving 
10145 readability of the Linux code.
10146
10147 Code and Data Size: The current and previous library sizes for the core 
10148 subsystem are shown below. These are the code and data sizes for the 
10149 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10150 These 
10151 values do not include any ACPI driver or OSPM code. The debug version of 
10152 the 
10153 code includes the debug output trace mechanism and has a much larger code 
10154 and data size. Note that these values will vary depending on the 
10155 efficiency 
10156 of the compiler and the compiler options used during generation.
10157
10158   Previous Release:
10159     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10160     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10161   Current Release:
10162     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10163     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10164
10165
10166 2) iASL Compiler/Disassembler:
10167
10168 Fixed a problem with the disassembly of a BankField operator with a 
10169 complex 
10170 expression for the BankValue parameter.
10171
10172 ----------------------------------------
10173 27 January 2006. Summary of changes for version 20060127:
10174
10175 1) ACPI CA Core Subsystem:
10176
10177 Implemented support in the Resource Manager to allow unresolved 
10178 namestring 
10179 references within resource package objects for the _PRT method. This 
10180 support 
10181 is in addition to the previously implemented unresolved reference support 
10182 within the AML parser. If the interpreter slack mode is enabled, these 
10183 unresolved references will be passed through to the caller as a NULL 
10184 package 
10185 entry.
10186
10187 Implemented and deployed new macros and functions for error and warning 
10188 messages across the subsystem. These macros are simpler and generate less 
10189 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
10190 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
10191 macros remain defined to allow ACPI drivers time to migrate to the new 
10192 macros.
10193
10194 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
10195 the 
10196 Acquire/Release Lock OSL interfaces.
10197
10198 Fixed a problem where Alias ASL operators are sometimes not correctly 
10199 resolved, in both the interpreter and the iASL compiler.
10200
10201 Fixed several problems with the implementation of the 
10202 ConcatenateResTemplate 
10203 ASL operator. As per the ACPI specification, zero length buffers are now 
10204 treated as a single EndTag. One-length buffers always cause a fatal 
10205 exception. Non-zero length buffers that do not end with a full 2-byte 
10206 EndTag 
10207 cause a fatal exception.
10208
10209 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
10210 interface. (With assistance from Thomas Renninger)
10211
10212 Code and Data Size: The current and previous library sizes for the core 
10213 subsystem are shown below. These are the code and data sizes for the 
10214 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10215 These 
10216 values do not include any ACPI driver or OSPM code. The debug version of 
10217 the 
10218 code includes the debug output trace mechanism and has a much larger code 
10219 and data size. Note that these values will vary depending on the 
10220 efficiency 
10221 of the compiler and the compiler options used during generation.
10222
10223   Previous Release:
10224     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10225     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10226   Current Release:
10227     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10228     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10229
10230
10231 2) iASL Compiler/Disassembler:
10232
10233 Fixed an internal error that was generated for any forward references to 
10234 ASL 
10235 Alias objects.
10236
10237 ----------------------------------------
10238 13 January 2006. Summary of changes for version 20060113:
10239
10240 1) ACPI CA Core Subsystem:
10241
10242 Added 2006 copyright to all module headers and signons. This affects 
10243 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
10244 utilities.
10245  
10246 Enhanced the ACPICA error reporting in order to simplify user migration 
10247 to 
10248 the non-debug version of ACPICA. Replaced all instances of the 
10249 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
10250 debug 
10251 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
10252 respectively. This preserves all error and warning messages in the non-
10253 debug 
10254 version of the ACPICA code (this has been referred to as the "debug lite" 
10255 option.) Over 200 cases were converted to create a total of over 380 
10256 error/warning messages across the ACPICA code. This increases the code 
10257 and 
10258 data size of the default non-debug version of the code somewhat (about 
10259 13K), 
10260 but all error/warning reporting may be disabled if desired (and code 
10261 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
10262 configuration option. The size of the debug version of ACPICA remains 
10263 about 
10264 the same.
10265
10266 Fixed a memory leak within the AML Debugger "Set" command. One object was 
10267 not properly deleted for every successful invocation of the command.
10268
10269 Code and Data Size: The current and previous library sizes for the core 
10270 subsystem are shown below. These are the code and data sizes for the 
10271 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10272 These 
10273 values do not include any ACPI driver or OSPM code. The debug version of 
10274 the 
10275 code includes the debug output trace mechanism and has a much larger code 
10276 and data size. Note that these values will vary depending on the 
10277 efficiency 
10278 of the compiler and the compiler options used during generation.
10279
10280   Previous Release:
10281     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10282     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10283   Current Release:
10284     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10285     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10286
10287
10288 2) iASL Compiler/Disassembler:
10289
10290 The compiler now officially supports the ACPI 3.0a specification that was 
10291 released on December 30, 2005. (Specification is available at 
10292 www.acpi.info)
10293
10294 ----------------------------------------
10295 16 December 2005. Summary of changes for version 20051216:
10296
10297 1) ACPI CA Core Subsystem:
10298
10299 Implemented optional support to allow unresolved names within ASL Package 
10300 objects. A null object is inserted in the package when a named reference 
10301 cannot be located in the current namespace. Enabled via the interpreter 
10302 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
10303 machines 
10304 that contain such code.
10305
10306 Implemented an optimization to the initialization sequence that can 
10307 improve 
10308 boot time. During ACPI device initialization, the _STA method is now run 
10309 if 
10310 and only if the _INI method exists. The _STA method is used to determine 
10311 if 
10312 the device is present; An _INI can only be run if _STA returns present, 
10313 but 
10314 it is a waste of time to run the _STA method if the _INI does not exist. 
10315 (Prototype and assistance from Dong Wei)
10316
10317 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
10318 is 
10319 available in the current compiler. Otherwise, the default (void *) cast 
10320 is 
10321 used as before.
10322
10323 Fixed some possible memory leaks found within the execution path of the 
10324 Break, Continue, If, and CreateField operators. (Valery Podrezov)
10325
10326 Fixed a problem introduced in the 20051202 release where an exception is 
10327 generated during method execution if a control method attempts to declare 
10328 another method.
10329
10330 Moved resource descriptor string constants that are used by both the AML 
10331 disassembler and AML debugger to the common utilities directory so that 
10332 these components are independent.
10333
10334 Implemented support in the AcpiExec utility (-e switch) to globally 
10335 ignore 
10336 exceptions during control method execution (method is not aborted.)
10337
10338 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
10339 generation.
10340
10341 Code and Data Size: The current and previous library sizes for the core 
10342 subsystem are shown below. These are the code and data sizes for the 
10343 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10344 These 
10345 values do not include any ACPI driver or OSPM code. The debug version of 
10346 the 
10347 code includes the debug output trace mechanism and has a much larger code 
10348 and data size. Note that these values will vary depending on the 
10349 efficiency 
10350 of the compiler and the compiler options used during generation.
10351
10352   Previous Release:
10353     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10354     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10355   Current Release:
10356     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10357     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10358
10359
10360 2) iASL Compiler/Disassembler:
10361
10362 Fixed a problem where a CPU stack overflow fault could occur if a 
10363 recursive 
10364 method call was made from within a Return statement.
10365
10366 ----------------------------------------
10367 02 December 2005. Summary of changes for version 20051202:
10368
10369 1) ACPI CA Core Subsystem:
10370
10371 Modified the parsing of control methods to no longer create namespace 
10372 objects during the first pass of the parse. Objects are now created only 
10373 during the execute phase, at the moment the namespace creation operator 
10374 is 
10375 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
10376 This 
10377 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
10378 reentrant control methods are protected by an AML mutex. The mutex will 
10379 now 
10380 correctly block multiple threads from attempting to create the same 
10381 object 
10382 more than once.
10383
10384 Increased the number of available Owner Ids for namespace object tracking 
10385 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
10386 on 
10387 some machines with a large number of ACPI tables (either static or 
10388 dynamic).
10389
10390 Fixed a problem with the AcpiExec utility where a fault could occur when 
10391 the 
10392 -b switch (batch mode) is used.
10393
10394 Enhanced the namespace dump routine to output the owner ID for each 
10395 namespace object.
10396
10397 Code and Data Size: The current and previous library sizes for the core 
10398 subsystem are shown below. These are the code and data sizes for the 
10399 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10400 These 
10401 values do not include any ACPI driver or OSPM code. The debug version of 
10402 the 
10403 code includes the debug output trace mechanism and has a much larger code 
10404 and data size. Note that these values will vary depending on the 
10405 efficiency 
10406 of the compiler and the compiler options used during generation.
10407
10408   Previous Release:
10409     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10410     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10411   Current Release:
10412     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10413     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10414
10415
10416 2) iASL Compiler/Disassembler:
10417
10418 Fixed a parse error during compilation of certain Switch/Case constructs. 
10419 To 
10420 simplify the parse, the grammar now allows for multiple Default 
10421 statements 
10422 and this error is now detected and flagged during the analysis phase.
10423
10424 Disassembler: The disassembly now includes the contents of the original 
10425 table header within a comment at the start of the file. This includes the 
10426 name and version of the original ASL compiler.
10427
10428 ----------------------------------------
10429 17 November 2005. Summary of changes for version 20051117:
10430
10431 1) ACPI CA Core Subsystem:
10432
10433 Fixed a problem in the AML parser where the method thread count could be 
10434 decremented below zero if any errors occurred during the method parse 
10435 phase. 
10436 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
10437 machines. 
10438 This also fixed a related regression with the mechanism that detects and 
10439 corrects methods that cannot properly handle reentrancy (related to the 
10440 deployment of the new OwnerId mechanism.)
10441
10442 Eliminated the pre-parsing of control methods (to detect errors) during 
10443 table load. Related to the problem above, this was causing unwind issues 
10444 if 
10445 any errors occurred during the parse, and it seemed to be overkill. A 
10446 table 
10447 load should not be aborted if there are problems with any single control 
10448 method, thus rendering this feature rather pointless.
10449
10450 Fixed a problem with the new table-driven resource manager where an 
10451 internal 
10452 buffer overflow could occur for small resource templates.
10453
10454 Implemented a new external interface, AcpiGetVendorResource. This 
10455 interface 
10456 will find and return a vendor-defined resource descriptor within a _CRS 
10457 or 
10458 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
10459 Helgaas.
10460
10461 Removed the length limit (200) on string objects as per the upcoming ACPI 
10462 3.0A specification. This affects the following areas of the interpreter: 
10463 1) 
10464 any implicit conversion of a Buffer to a String, 2) a String object 
10465 result 
10466 of the ASL Concatentate operator, 3) the String object result of the ASL 
10467 ToString operator.
10468
10469 Fixed a problem in the Windows OS interface layer (OSL) where a 
10470 WAIT_FOREVER 
10471 on a semaphore object would incorrectly timeout. This allows the 
10472 multithreading features of the AcpiExec utility to work properly under 
10473 Windows.
10474
10475 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
10476 the recently added file named "utresrc.c".
10477
10478 Code and Data Size: The current and previous library sizes for the core 
10479 subsystem are shown below. These are the code and data sizes for the 
10480 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10481 These 
10482 values do not include any ACPI driver or OSPM code. The debug version of 
10483 the 
10484 code includes the debug output trace mechanism and has a much larger code 
10485 and data size. Note that these values will vary depending on the 
10486 efficiency 
10487 of the compiler and the compiler options used during generation.
10488
10489   Previous Release:
10490     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
10491     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10492   Current Release:
10493     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10494     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10495
10496
10497 2) iASL Compiler/Disassembler:
10498
10499 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
10500 specification. For the iASL compiler, this means that string literals 
10501 within 
10502 the source ASL can be of any length. 
10503
10504 Enhanced the listing output to dump the AML code for resource descriptors 
10505 immediately after the ASL code for each descriptor, instead of in a block 
10506 at 
10507 the end of the entire resource template.
10508
10509 Enhanced the compiler debug output to dump the entire original parse tree 
10510 constructed during the parse phase, before any transforms are applied to 
10511 the 
10512 tree. The transformed tree is dumped also.
10513
10514 ----------------------------------------
10515 02 November 2005. Summary of changes for version 20051102:
10516
10517 1) ACPI CA Core Subsystem:
10518
10519 Modified the subsystem initialization sequence to improve GPE support. 
10520 The 
10521 GPE initialization has been split into two parts in order to defer 
10522 execution 
10523 of the _PRW methods (Power Resources for Wake) until after the hardware 
10524 is 
10525 fully initialized and the SCI handler is installed. This allows the _PRW 
10526 methods to access fields protected by the Global Lock. This will fix 
10527 systems 
10528 where a NO_GLOBAL_LOCK exception has been seen during initialization.
10529
10530 Converted the ACPI internal object disassemble and display code within 
10531 the 
10532 AML debugger to fully table-driven operation, reducing code size and 
10533 increasing maintainability.
10534
10535 Fixed a regression with the ConcatenateResTemplate() ASL operator 
10536 introduced 
10537 in the 20051021 release.
10538
10539 Implemented support for "local" internal ACPI object types within the 
10540 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
10541 These local types include RegionFields, BankFields, IndexFields, Alias, 
10542 and 
10543 reference objects.
10544
10545 Moved common AML resource handling code into a new file, "utresrc.c". 
10546 This 
10547 code is shared by both the Resource Manager and the AML Debugger.
10548
10549 Code and Data Size: The current and previous library sizes for the core 
10550 subsystem are shown below. These are the code and data sizes for the 
10551 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10552 These 
10553 values do not include any ACPI driver or OSPM code. The debug version of 
10554 the 
10555 code includes the debug output trace mechanism and has a much larger code 
10556 and data size. Note that these values will vary depending on the 
10557 efficiency 
10558 of the compiler and the compiler options used during generation.
10559
10560   Previous Release:
10561     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
10562     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
10563   Current Release:
10564     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
10565     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10566
10567
10568 2) iASL Compiler/Disassembler:
10569
10570 Fixed a problem with very large initializer lists (more than 4000 
10571 elements) 
10572 for both Buffer and Package objects where the parse stack could overflow.
10573
10574 Enhanced the pre-compile source code scan for non-ASCII characters to 
10575 ignore 
10576 characters within comment fields. The scan is now always performed and is 
10577 no 
10578 longer optional, detecting invalid characters within a source file 
10579 immediately rather than during the parse phase or later.
10580
10581 Enhanced the ASL grammar definition to force early reductions on all 
10582 list-
10583 style grammar elements so that the overall parse stack usage is greatly 
10584 reduced. This should improve performance and reduce the possibility of 
10585 parse 
10586 stack overflow.
10587
10588 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
10589 Also, 
10590 with the addition of a %expected statement, the compiler generates from 
10591 source with no warnings.
10592
10593 Fixed a possible segment fault in the disassembler if the input filename 
10594 does not contain a "dot" extension (Thomas Renninger).
10595
10596 ----------------------------------------
10597 21 October 2005. Summary of changes for version 20051021:
10598
10599 1) ACPI CA Core Subsystem:
10600
10601 Implemented support for the EM64T and other x86-64 processors. This 
10602 essentially entails recognizing that these processors support non-aligned 
10603 memory transfers. Previously, all 64-bit processors were assumed to lack 
10604 hardware support for non-aligned transfers.
10605
10606 Completed conversion of the Resource Manager to nearly full table-driven 
10607 operation. Specifically, the resource conversion code (convert AML to 
10608 internal format and the reverse) and the debug code to dump internal 
10609 resource descriptors are fully table-driven, reducing code and data size 
10610 and 
10611 improving maintainability.
10612
10613 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
10614 word 
10615 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
10616 from 
10617 Alexey Starikovskiy)
10618
10619 Implemented support within the resource conversion code for the Type-
10620 Specific byte within the various ACPI 3.0 *WordSpace macros.
10621
10622 Fixed some issues within the resource conversion code for the type-
10623 specific 
10624 flags for both Memory and I/O address resource descriptors. For Memory, 
10625 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
10626 TTP flags into two separate fields.
10627
10628 Code and Data Size: The current and previous library sizes for the core 
10629 subsystem are shown below. These are the code and data sizes for the 
10630 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10631 These 
10632 values do not include any ACPI driver or OSPM code. The debug version of 
10633 the 
10634 code includes the debug output trace mechanism and has a much larger code 
10635 and data size. Note that these values will vary depending on the 
10636 efficiency 
10637 of the compiler and the compiler options used during generation.
10638
10639   Previous Release:
10640     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
10641     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
10642   Current Release:
10643     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
10644     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
10645
10646
10647
10648 2) iASL Compiler/Disassembler:
10649
10650 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
10651 the 
10652 corresponding ResourceSource string was not also present in a resource 
10653 descriptor declaration. This restriction caused problems with existing 
10654 AML/ASL code that includes the Index byte without the string. When such 
10655 AML 
10656 was disassembled, it could not be compiled without modification. Further, 
10657 the modified code created a resource template with a different size than 
10658 the 
10659 original, breaking code that used fixed offsets into the resource 
10660 template 
10661 buffer.
10662
10663 Removed a recent feature of the disassembler to ignore a lone 
10664 ResourceIndex 
10665 byte. This byte is now emitted if present so that the exact AML can be 
10666 reproduced when the disassembled code is recompiled.
10667
10668 Improved comments and text alignment for the resource descriptor code 
10669 emitted by the disassembler.
10670
10671 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
10672
10673 Register() resource descriptor.
10674
10675 ----------------------------------------
10676 30 September 2005. Summary of changes for version 20050930:
10677
10678 1) ACPI CA Core Subsystem:
10679
10680 Completed a major overhaul of the Resource Manager code - specifically, 
10681 optimizations in the area of the AML/internal resource conversion code. 
10682 The 
10683 code has been optimized to simplify and eliminate duplicated code, CPU 
10684 stack 
10685 use has been decreased by optimizing function parameters and local 
10686 variables, and naming conventions across the manager have been 
10687 standardized 
10688 for clarity and ease of maintenance (this includes function, parameter, 
10689 variable, and struct/typedef names.) The update may force changes in some 
10690 driver code, depending on how resources are handled by the host OS.
10691
10692 All Resource Manager dispatch and information tables have been moved to a 
10693 single location for clarity and ease of maintenance. One new file was 
10694 created, named "rsinfo.c".
10695
10696 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
10697 guarantee that the argument is not evaluated twice, making them less 
10698 prone 
10699 to macro side-effects. However, since there exists the possibility of 
10700 additional stack use if a particular compiler cannot optimize them (such 
10701 as 
10702 in the debug generation case), the original macros are optionally 
10703 available.  
10704 Note that some invocations of the return_VALUE macro may now cause size 
10705 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
10706 to 
10707 eliminate these. (From Randy Dunlap)
10708
10709 Implemented a new mechanism to enable debug tracing for individual 
10710 control 
10711 methods. A new external interface, AcpiDebugTrace, is provided to enable 
10712 this mechanism. The intent is to allow the host OS to easily enable and 
10713 disable tracing for problematic control methods. This interface can be 
10714 easily exposed to a user or debugger interface if desired. See the file 
10715 psxface.c for details.
10716
10717 AcpiUtCallocate will now return a valid pointer if a length of zero is 
10718 specified - a length of one is used and a warning is issued. This matches 
10719 the behavior of AcpiUtAllocate.
10720
10721 Code and Data Size: The current and previous library sizes for the core 
10722 subsystem are shown below. These are the code and data sizes for the 
10723 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10724 These 
10725 values do not include any ACPI driver or OSPM code. The debug version of 
10726 the 
10727 code includes the debug output trace mechanism and has a much larger code 
10728 and data size. Note that these values will vary depending on the 
10729 efficiency 
10730 of the compiler and the compiler options used during generation.
10731
10732   Previous Release:
10733     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
10734     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
10735   Current Release:
10736     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
10737     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
10738
10739
10740 2) iASL Compiler/Disassembler:
10741
10742 A remark is issued if the effective compile-time length of a package or 
10743 buffer is zero. Previously, this was a warning.
10744
10745 ----------------------------------------
10746 16 September 2005. Summary of changes for version 20050916:
10747
10748 1) ACPI CA Core Subsystem:
10749
10750 Fixed a problem within the Resource Manager where support for the Generic 
10751 Register descriptor was not fully implemented. This descriptor is now 
10752 fully 
10753 recognized, parsed, disassembled, and displayed.
10754
10755 Completely restructured the Resource Manager code to utilize table-driven 
10756 dispatch and lookup, eliminating many of the large switch() statements. 
10757 This 
10758 reduces overall subsystem code size and code complexity. Affects the 
10759 resource parsing and construction, disassembly, and debug dump output.
10760
10761 Cleaned up and restructured the debug dump output for all resource 
10762 descriptors. Improved readability of the output and reduced code size.
10763
10764 Fixed a problem where changes to internal data structures caused the 
10765 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
10766
10767 Code and Data Size: The current and previous library sizes for the core 
10768 subsystem are shown below. These are the code and data sizes for the 
10769 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10770 These 
10771 values do not include any ACPI driver or OSPM code. The debug version of 
10772 the 
10773 code includes the debug output trace mechanism and has a much larger code 
10774 and data size. Note that these values will vary depending on the 
10775 efficiency 
10776 of the compiler and the compiler options used during generation.
10777
10778   Previous Release:
10779     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
10780     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
10781   Current Release:
10782     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
10783     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
10784
10785
10786 2) iASL Compiler/Disassembler:
10787
10788 Updated the disassembler to automatically insert an EndDependentFn() 
10789 macro 
10790 into the ASL stream if this macro is missing in the original AML code, 
10791 simplifying compilation of the resulting ASL module.
10792
10793 Fixed a problem in the disassembler where a disassembled ResourceSource 
10794 string (within a large resource descriptor) was not surrounded by quotes 
10795 and 
10796 not followed by a comma, causing errors when the resulting ASL module was 
10797 compiled. Also, escape sequences within a ResourceSource string are now 
10798 handled correctly (especially "\\")
10799
10800 ----------------------------------------
10801 02 September 2005. Summary of changes for version 20050902:
10802
10803 1) ACPI CA Core Subsystem:
10804
10805 Fixed a problem with the internal Owner ID allocation and deallocation 
10806 mechanisms for control method execution and recursive method invocation. 
10807 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
10808 messages seen on some systems. Recursive method invocation depth is 
10809 currently limited to 255. (Alexey Starikovskiy)
10810
10811 Completely eliminated all vestiges of support for the "module-level 
10812 executable code" until this support is fully implemented and debugged. 
10813 This 
10814 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
10815 some systems that invoke this support.
10816
10817 Fixed a problem within the resource manager code where the transaction 
10818 flags 
10819 for a 64-bit address descriptor were handled incorrectly in the type-
10820 specific flag byte.
10821
10822 Consolidated duplicate code within the address descriptor resource 
10823 manager 
10824 code, reducing overall subsystem code size.
10825
10826 Fixed a fault when using the AML debugger "disassemble" command to 
10827 disassemble individual control methods.
10828
10829 Removed references to the "release_current" directory within the Unix 
10830 release package.
10831
10832 Code and Data Size: The current and previous core subsystem library sizes 
10833 are shown below. These are the code and data sizes for the acpica.lib 
10834 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
10835 include any ACPI driver or OSPM code. The debug version of the code 
10836 includes 
10837 the debug output trace mechanism and has a much larger code and data 
10838 size. 
10839 Note that these values will vary depending on the efficiency of the 
10840 compiler 
10841 and the compiler options used during generation.
10842
10843   Previous Release:
10844     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
10845     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
10846   Current Release:
10847     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
10848     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
10849
10850
10851 2) iASL Compiler/Disassembler:
10852
10853 Implemented an error check for illegal duplicate values in the interrupt 
10854 and 
10855 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
10856 Interrupt().
10857
10858 Implemented error checking for the Irq() and IrqNoFlags() macros to 
10859 detect 
10860 too many values in the interrupt list (16 max) and invalid values in the 
10861 list (range 0 - 15)
10862
10863 The maximum length string literal within an ASL file is now restricted to 
10864 200 characters as per the ACPI specification.
10865
10866 Fixed a fault when using the -ln option (generate namespace listing).
10867
10868 Implemented an error check to determine if a DescriptorName within a 
10869 resource descriptor has already been used within the current scope.
10870
10871 ----------------------------------------
10872 15 August 2005.  Summary of changes for version 20050815:
10873  
10874 1) ACPI CA Core Subsystem:
10875  
10876 Implemented a full bytewise compare to determine if a table load request 
10877 is 
10878 attempting to load a duplicate table. The compare is performed if the 
10879 table 
10880 signatures and table lengths match. This will allow different tables with 
10881 the same OEM Table ID and revision to be loaded - probably against the 
10882 ACPI 
10883 specification, but discovered in the field nonetheless.
10884  
10885 Added the changes.txt logfile to each of the zipped release packages.
10886  
10887 Code and Data Size: Current and previous core subsystem library sizes are 
10888 shown below. These are the code and data sizes for the acpica.lib 
10889 produced 
10890 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
10891 any ACPI driver or OSPM code. The debug version of the code includes the 
10892 debug output trace mechanism and has a much larger code and data size. 
10893 Note 
10894 that these values will vary depending on the efficiency of the compiler 
10895 and 
10896 the compiler options used during generation.
10897  
10898   Previous Release:
10899     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
10900     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
10901   Current Release:
10902     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
10903     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
10904  
10905  
10906 2) iASL Compiler/Disassembler:
10907  
10908 Fixed a problem where incorrect AML code could be generated for Package 
10909 objects if optimization is disabled (via the -oa switch).
10910  
10911 Fixed a problem with where incorrect AML code is generated for variable-
10912 length packages when the package length is not specified and the number 
10913 of 
10914 initializer values is greater than 255.
10915  
10916
10917 ----------------------------------------
10918 29 July 2005.  Summary of changes for version 20050729:
10919
10920 1) ACPI CA Core Subsystem:
10921
10922 Implemented support to ignore an attempt to install/load a particular 
10923 ACPI 
10924 table more than once. Apparently there exists BIOS code that repeatedly 
10925 attempts to load the same SSDT upon certain events. With assistance from 
10926 Venkatesh Pallipadi.
10927
10928 Restructured the main interface to the AML parser in order to correctly 
10929 handle all exceptional conditions. This will prevent leakage of the 
10930 OwnerId 
10931 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
10932 some 
10933 machines. With assistance from Alexey Starikovskiy.
10934
10935 Support for "module level code" has been disabled in this version due to 
10936
10937 number of issues that have appeared on various machines. The support can 
10938 be 
10939 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
10940 compilation. When the issues are fully resolved, the code will be enabled 
10941 by 
10942 default again.
10943
10944 Modified the internal functions for debug print support to define the 
10945 FunctionName parameter as a (const char *) for compatibility with 
10946 compiler 
10947 built-in macros such as __FUNCTION__, etc.
10948
10949 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
10950
10951 Implemented support to display an object count summary for the AML 
10952 Debugger 
10953 commands Object and Methods.
10954
10955 Code and Data Size: Current and previous core subsystem library sizes are 
10956 shown below. These are the code and data sizes for the acpica.lib 
10957 produced 
10958 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
10959 any ACPI driver or OSPM code. The debug version of the code includes the 
10960 debug output trace mechanism and has a much larger code and data size. 
10961 Note 
10962 that these values will vary depending on the efficiency of the compiler 
10963 and 
10964 the compiler options used during generation.
10965
10966   Previous Release:
10967     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
10968     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
10969   Current Release:
10970     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
10971     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
10972
10973
10974 2) iASL Compiler/Disassembler:
10975
10976 Fixed a regression that appeared in the 20050708 version of the compiler 
10977 where an error message was inadvertently emitted for invocations of the 
10978 _OSI 
10979 reserved control method.
10980
10981 ----------------------------------------
10982 08 July 2005.  Summary of changes for version 20050708:
10983
10984 1) ACPI CA Core Subsystem:
10985
10986 The use of the CPU stack in the debug version of the subsystem has been 
10987 considerably reduced. Previously, a debug structure was declared in every 
10988 function that used the debug macros. This structure has been removed in 
10989 favor of declaring the individual elements as parameters to the debug 
10990 functions. This reduces the cumulative stack use during nested execution 
10991 of 
10992 ACPI function calls at the cost of a small increase in the code size of 
10993 the 
10994 debug version of the subsystem. With assistance from Alexey Starikovskiy 
10995 and 
10996 Len Brown.
10997
10998 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
10999 headers to define a macro that will return the current function name at 
11000 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
11001 by 
11002 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
11003 compiler-dependent header, the function name is saved on the CPU stack 
11004 (one 
11005 pointer per function.) This mechanism is used because apparently there 
11006 exists no standard ANSI-C defined macro that that returns the function 
11007 name.
11008
11009 Redesigned and reimplemented the "Owner ID" mechanism used to track 
11010 namespace objects created/deleted by ACPI tables and control method 
11011 execution. A bitmap is now used to allocate and free the IDs, thus 
11012 solving 
11013 the wraparound problem present in the previous implementation. The size 
11014 of 
11015 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
11016 Starikovskiy).
11017
11018 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
11019 bitfield 
11020 flag definitions within the headers for the predefined ACPI tables. These 
11021 have been replaced by UINT8_BIT in order to increase the code portability 
11022 of 
11023 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
11024 eliminate bitfields entirely because of a lack of portability.
11025
11026 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
11027 This 
11028 is a frequently used function and this improvement increases the 
11029 performance 
11030 of the entire subsystem (Alexey Starikovskiy).
11031
11032 Fixed several possible memory leaks and the inverse - premature object 
11033 deletion (Alexey Starikovskiy).
11034
11035 Code and Data Size: Current and previous core subsystem library sizes are 
11036 shown below. These are the code and data sizes for the acpica.lib 
11037 produced 
11038 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11039 any ACPI driver or OSPM code. The debug version of the code includes the 
11040 debug output trace mechanism and has a much larger code and data size. 
11041 Note 
11042 that these values will vary depending on the efficiency of the compiler 
11043 and 
11044 the compiler options used during generation.
11045
11046   Previous Release:
11047     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11048     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11049   Current Release:
11050     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11051     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11052
11053 ----------------------------------------
11054 24 June 2005.  Summary of changes for version 20050624:
11055
11056 1) ACPI CA Core Subsystem:
11057
11058 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
11059 the host-defined cache object. This allows the OSL implementation to 
11060 define 
11061 and type this object in any manner desired, simplifying the OSL 
11062 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
11063 Linux, and should be defined in the OS-specific header file for other 
11064 operating systems as required.
11065
11066 Changed the interface to AcpiOsAcquireObject to directly return the 
11067 requested object as the function return (instead of ACPI_STATUS.) This 
11068 change was made for performance reasons, since this is the purpose of the 
11069 interface in the first place. AcpiOsAcquireObject is now similar to the 
11070 AcpiOsAllocate interface.
11071
11072 Implemented a new AML debugger command named Businfo. This command 
11073 displays 
11074 information about all devices that have an associate _PRT object. The 
11075 _ADR, 
11076 _HID, _UID, and _CID are displayed for these devices.
11077
11078 Modified the initialization sequence in AcpiInitializeSubsystem to call 
11079 the 
11080 OSL interface AcpiOslInitialize first, before any local initialization. 
11081 This 
11082 change was required because the global initialization now calls OSL 
11083 interfaces.
11084
11085 Enhanced the Dump command to display the entire contents of Package 
11086 objects 
11087 (including all sub-objects and their values.) 
11088
11089 Restructured the code base to split some files because of size and/or 
11090 because the code logically belonged in a separate file. New files are 
11091 listed 
11092 below. All makefiles and project files included in the ACPI CA release 
11093 have 
11094 been updated.
11095     utilities/utcache.c           /* Local cache interfaces */
11096     utilities/utmutex.c           /* Local mutex support */
11097     utilities/utstate.c           /* State object support */
11098     interpreter/parser/psloop.c   /* Main AML parse loop */
11099
11100 Code and Data Size: Current and previous core subsystem library sizes are 
11101 shown below. These are the code and data sizes for the acpica.lib 
11102 produced 
11103 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11104 any ACPI driver or OSPM code. The debug version of the code includes the 
11105 debug output trace mechanism and has a much larger code and data size. 
11106 Note 
11107 that these values will vary depending on the efficiency of the compiler 
11108 and 
11109 the compiler options used during generation.
11110
11111   Previous Release:
11112     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11113     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11114   Current Release:
11115     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11116     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11117
11118
11119 2) iASL Compiler/Disassembler:
11120
11121 Fixed a regression introduced in version 20050513 where the use of a 
11122 Package 
11123 object within a Case() statement caused a compile time exception. The 
11124 original behavior has been restored (a Match() operator is emitted.)
11125
11126 ----------------------------------------
11127 17 June 2005.  Summary of changes for version 20050617:
11128
11129 1) ACPI CA Core Subsystem:
11130
11131 Moved the object cache operations into the OS interface layer (OSL) to 
11132 allow 
11133 the host OS to handle these operations if desired (for example, the Linux 
11134 OSL will invoke the slab allocator). This support is optional; the 
11135 compile 
11136 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
11137 cache 
11138 code in the ACPI CA core. The new OSL interfaces are shown below. See 
11139 utalloc.c for an example implementation, and acpiosxf.h for the exact 
11140 interface definitions. With assistance from Alexey Starikovskiy.
11141     AcpiOsCreateCache
11142     AcpiOsDeleteCache
11143     AcpiOsPurgeCache
11144     AcpiOsAcquireObject
11145     AcpiOsReleaseObject
11146
11147 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
11148 return 
11149 and restore a flags parameter. This fits better with many OS lock models. 
11150 Note: the current execution state (interrupt handler or not) is no longer 
11151 passed to these interfaces. If necessary, the OSL must determine this 
11152 state 
11153 by itself, a simple and fast operation. With assistance from Alexey 
11154 Starikovskiy.
11155
11156 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
11157 present if the revision of the RSDP was 2 or greater. According to the 
11158 ACPI 
11159 specification, the XSDT is optional in all cases, and the table manager 
11160 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
11161 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
11162 contain 
11163 only the RSDT.
11164
11165 Fixed an interpreter problem with the Mid() operator in the case of an 
11166 input 
11167 string where the resulting output string is of zero length. It now 
11168 correctly 
11169 returns a valid, null terminated string object instead of a string object 
11170 with a null pointer.
11171
11172 Fixed a problem with the control method argument handling to allow a 
11173 store 
11174 to an Arg object that already contains an object of type Device. The 
11175 Device 
11176 object is now correctly overwritten. Previously, an error was returned.
11177
11178
11179 Enhanced the debugger Find command to emit object values in addition to 
11180 the 
11181 found object pathnames. The output format is the same as the dump 
11182 namespace 
11183 command.
11184
11185 Enhanced the debugger Set command. It now has the ability to set the 
11186 value 
11187 of any Named integer object in the namespace (Previously, only method 
11188 locals 
11189 and args could be set.)
11190
11191 Code and Data Size: Current and previous core subsystem library sizes are 
11192 shown below. These are the code and data sizes for the acpica.lib 
11193 produced 
11194 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11195 any ACPI driver or OSPM code. The debug version of the code includes the 
11196 debug output trace mechanism and has a much larger code and data size. 
11197 Note 
11198 that these values will vary depending on the efficiency of the compiler 
11199 and 
11200 the compiler options used during generation.
11201
11202   Previous Release:
11203     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11204     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11205   Current Release:
11206     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11207     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11208
11209
11210 2) iASL Compiler/Disassembler:
11211
11212 Fixed a regression in the disassembler where if/else/while constructs 
11213 were 
11214 output incorrectly. This problem was introduced in the previous release 
11215 (20050526). This problem also affected the single-step disassembly in the 
11216 debugger.
11217
11218 Fixed a problem where compiling the reserved _OSI method would randomly 
11219 (but 
11220 rarely) produce compile errors.
11221
11222 Enhanced the disassembler to emit compilable code in the face of 
11223 incorrect 
11224 AML resource descriptors. If the optional ResourceSourceIndex is present, 
11225 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
11226 disassembly. Otherwise, the resulting code cannot be compiled without 
11227 errors.
11228
11229 ----------------------------------------
11230 26 May 2005.  Summary of changes for version 20050526:
11231
11232 1) ACPI CA Core Subsystem:
11233
11234 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
11235 the module level (not within a control method.) These opcodes are 
11236 executed 
11237 exactly once at the time the table is loaded. This type of code was legal 
11238 up 
11239 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
11240 in 
11241 order to provide backwards compatibility with earlier BIOS 
11242 implementations. 
11243 This eliminates the "Encountered executable code at module level" warning 
11244 that was previously generated upon detection of such code.
11245
11246 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
11247 inadvertently be generated during the lookup of namespace objects in the 
11248 second pass parse of ACPI tables and control methods. It appears that 
11249 this 
11250 problem could occur during the resolution of forward references to 
11251 namespace 
11252 objects.
11253
11254 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
11255 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
11256 allows the deadlock detection debug code to be compiled out in the normal 
11257 case, improving mutex performance (and overall subsystem performance) 
11258 considerably.
11259
11260 Implemented a handful of miscellaneous fixes for possible memory leaks on 
11261 error conditions and error handling control paths. These fixes were 
11262 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
11263
11264 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
11265 (tbxfroot.c) 
11266 to prevent a fault in this error case.
11267
11268 Code and Data Size: Current and previous core subsystem library sizes are 
11269 shown below. These are the code and data sizes for the acpica.lib 
11270 produced 
11271 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11272 any ACPI driver or OSPM code. The debug version of the code includes the 
11273 debug output trace mechanism and has a much larger code and data size. 
11274 Note 
11275 that these values will vary depending on the efficiency of the compiler 
11276 and 
11277 the compiler options used during generation.
11278
11279   Previous Release:
11280     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11281     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11282   Current Release:
11283     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11284     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11285
11286
11287 2) iASL Compiler/Disassembler:
11288
11289 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
11290 the module level (not within a control method.) These operators will be 
11291 executed once at the time the table is loaded. This type of code was 
11292 legal 
11293 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
11294 compiler in order to provide backwards compatibility with earlier BIOS 
11295 ASL 
11296 code.
11297
11298 The ACPI integer width (specified via the table revision ID or the -r 
11299 override, 32 or 64 bits) is now used internally during compile-time 
11300 constant 
11301 folding to ensure that constants are truncated to 32 bits if necessary. 
11302 Previously, the revision ID value was only emitted in the AML table 
11303 header.
11304
11305 An error message is now generated for the Mutex and Method operators if 
11306 the 
11307 SyncLevel parameter is outside the legal range of 0 through 15.
11308
11309 Fixed a problem with the Method operator ParameterTypes list handling 
11310 (ACPI 
11311 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
11312 error.  
11313 The actual underlying implementation of method argument typechecking is 
11314 still under development, however.
11315
11316 ----------------------------------------
11317 13 May 2005.  Summary of changes for version 20050513:
11318
11319 1) ACPI CA Core Subsystem:
11320
11321 Implemented support for PCI Express root bridges -- added support for 
11322 device 
11323 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
11324
11325 The interpreter now automatically truncates incoming 64-bit constants to 
11326 32 
11327 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
11328 This 
11329 also affects the iASL compiler constant folding. (Note: as per below, the 
11330 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
11331
11332 Fixed a problem where string and buffer objects with "static" pointers 
11333 (pointers to initialization data within an ACPI table) were not handled 
11334 consistently. The internal object copy operation now always copies the 
11335 data 
11336 to a newly allocated buffer, regardless of whether the source object is 
11337 static or not.
11338
11339 Fixed a problem with the FromBCD operator where an implicit result 
11340 conversion was improperly performed while storing the result to the 
11341 target 
11342 operand. Since this is an "explicit conversion" operator, the implicit 
11343 conversion should never be performed on the output.
11344
11345 Fixed a problem with the CopyObject operator where a copy to an existing 
11346 named object did not always completely overwrite the existing object 
11347 stored 
11348 at name. Specifically, a buffer-to-buffer copy did not delete the 
11349 existing 
11350 buffer.
11351
11352 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
11353 and 
11354 structs for consistency.
11355
11356 Code and Data Size: Current and previous core subsystem library sizes are 
11357 shown below. These are the code and data sizes for the acpica.lib 
11358 produced 
11359 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11360 any ACPI driver or OSPM code. The debug version of the code includes the 
11361 debug output trace mechanism and has a much larger code and data size. 
11362 Note 
11363 that these values will vary depending on the efficiency of the compiler 
11364 and 
11365 the compiler options used during generation.
11366
11367   Previous Release:
11368     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11369     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11370   Current Release: (Same sizes)
11371     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11372     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11373
11374
11375 2) iASL Compiler/Disassembler:
11376
11377 The compiler now emits a warning if an attempt is made to generate a 64-
11378 bit 
11379 integer constant from within a 32-bit ACPI table (Revision < 2). The 
11380 integer 
11381 is truncated to 32 bits.
11382
11383 Fixed a problem with large package objects: if the static length of the 
11384 package is greater than 255, the "variable length package" opcode is 
11385 emitted. Previously, this caused an error. This requires an update to the 
11386 ACPI spec, since it currently (incorrectly) states that packages larger 
11387 than 
11388 255 elements are not allowed.
11389
11390 The disassembler now correctly handles variable length packages and 
11391 packages 
11392 larger than 255 elements.
11393
11394 ----------------------------------------
11395 08 April 2005.  Summary of changes for version 20050408:
11396
11397 1) ACPI CA Core Subsystem:
11398
11399 Fixed three cases in the interpreter where an "index" argument to an ASL 
11400 function was still (internally) 32 bits instead of the required 64 bits. 
11401 This was the Index argument to the Index, Mid, and Match operators.
11402
11403 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
11404 is 
11405 not a POSIX-defined function and not present in most kernel-level C 
11406 libraries. All references to the C library strupr function have been 
11407 removed 
11408 from the headers.
11409
11410 Completed the deployment of static functions/prototypes. All prototypes 
11411 with 
11412 the static attribute have been moved from the headers to the owning C 
11413 file.
11414
11415 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
11416 utility). This option allows the utility to extract individual ACPI 
11417 tables 
11418 from the output of AcpiDmp. It provides the same functionality of the 
11419 acpixtract.pl perl script without the worry of setting the correct perl 
11420 options. AcpiBin runs on Windows and has not yet been generated/validated 
11421 in 
11422 the Linux/Unix environment (but should be soon).
11423  
11424 Updated and fixed the table dump option for AcpiBin (-d). This option 
11425 converts a single ACPI table to a hex/ascii file, similar to the output 
11426 of 
11427 AcpiDmp.
11428
11429 Code and Data Size: Current and previous core subsystem library sizes are 
11430 shown below. These are the code and data sizes for the acpica.lib 
11431 produced 
11432 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11433 any ACPI driver or OSPM code. The debug version of the code includes the 
11434 debug output trace mechanism and has a much larger code and data size. 
11435 Note 
11436 that these values will vary depending on the efficiency of the compiler 
11437 and 
11438 the compiler options used during generation.
11439
11440   Previous Release:
11441     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11442     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11443   Current Release:
11444     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11445     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11446
11447
11448 2) iASL Compiler/Disassembler:
11449
11450 Disassembler fix: Added a check to ensure that the table length found in 
11451 the 
11452 ACPI table header within the input file is not longer than the actual 
11453 input 
11454 file size. This indicates some kind of file or table corruption.
11455
11456 ----------------------------------------
11457 29 March 2005.  Summary of changes for version 20050329:
11458
11459 1) ACPI CA Core Subsystem:
11460
11461 An error is now generated if an attempt is made to create a Buffer Field 
11462 of 
11463 length zero (A CreateField with a length operand of zero.)
11464
11465 The interpreter now issues a warning whenever executable code at the 
11466 module 
11467 level is detected during ACPI table load. This will give some idea of the 
11468 prevalence of this type of code.
11469
11470 Implemented support for references to named objects (other than control 
11471 methods) within package objects.
11472
11473 Enhanced package object output for the debug object. Package objects are 
11474 now 
11475 completely dumped, showing all elements.
11476
11477 Enhanced miscellaneous object output for the debug object. Any object can 
11478 now be written to the debug object (for example, a device object can be 
11479 written, and the type of the object will be displayed.)
11480
11481 The "static" qualifier has been added to all local functions across both 
11482 the 
11483 core subsystem and the iASL compiler.
11484
11485 The number of "long" lines (> 80 chars) within the source has been 
11486 significantly reduced, by about 1/3.
11487
11488 Cleaned up all header files to ensure that all CA/iASL functions are 
11489 prototyped (even static functions) and the formatting is consistent.
11490
11491 Two new header files have been added, acopcode.h and acnames.h.
11492
11493 Removed several obsolete functions that were no longer used.
11494
11495 Code and Data Size: Current and previous core subsystem library sizes are 
11496 shown below. These are the code and data sizes for the acpica.lib 
11497 produced 
11498 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11499 any ACPI driver or OSPM code. The debug version of the code includes the 
11500 debug output trace mechanism and has a much larger code and data size. 
11501 Note 
11502 that these values will vary depending on the efficiency of the compiler 
11503 and 
11504 the compiler options used during generation.
11505
11506   Previous Release:
11507     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11508     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
11509   Current Release:
11510     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11511     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11512
11513
11514
11515 2) iASL Compiler/Disassembler:
11516
11517 Fixed a problem with the resource descriptor generation/support. For the 
11518 ResourceSourceIndex and the ResourceSource fields, both must be present, 
11519 or 
11520 both must be not present - can't have one without the other.
11521
11522 The compiler now returns non-zero from the main procedure if any errors 
11523 have 
11524 occurred during the compilation.
11525
11526
11527 ----------------------------------------
11528 09 March 2005.  Summary of changes for version 20050309:
11529
11530 1) ACPI CA Core Subsystem:
11531
11532 The string-to-buffer implicit conversion code has been modified again 
11533 after 
11534 a change to the ACPI specification.  In order to match the behavior of 
11535 the 
11536 other major ACPI implementation, the target buffer is no longer truncated 
11537 if 
11538 the source string is smaller than an existing target buffer. This change 
11539 requires an update to the ACPI spec, and should eliminate the recent 
11540 AE_AML_BUFFER_LIMIT issues.
11541
11542 The "implicit return" support was rewritten to a new algorithm that 
11543 solves 
11544 the general case. Rather than attempt to determine when a method is about 
11545 to 
11546 exit, the result of every ASL operator is saved momentarily until the 
11547 very 
11548 next ASL operator is executed. Therefore, no matter how the method exits, 
11549 there will always be a saved implicit return value. This feature is only 
11550 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
11551 eliminate 
11552 AE_AML_NO_RETURN_VALUE errors when enabled.
11553
11554 Implemented implicit conversion support for the predicate (operand) of 
11555 the 
11556 If, Else, and While operators. String and Buffer arguments are 
11557 automatically 
11558 converted to Integers.
11559
11560 Changed the string-to-integer conversion behavior to match the new ACPI 
11561 errata: "If no integer object exists, a new integer is created. The ASCII 
11562 string is interpreted as a hexadecimal constant. Each string character is 
11563 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
11564 with the first character as the most significant digit, and ending with 
11565 the 
11566 first non-hexadecimal character or end-of-string." This means that the 
11567 first 
11568 non-hex character terminates the conversion and this is the code that was 
11569 changed.
11570
11571 Fixed a problem where the ObjectType operator would fail (fault) when 
11572 used 
11573 on an Index of a Package which pointed to a null package element. The 
11574 operator now properly returns zero (Uninitialized) in this case.
11575
11576 Fixed a problem where the While operator used excessive memory by not 
11577 properly popping the result stack during execution. There was no memory 
11578 leak 
11579 after execution, however. (Code provided by Valery Podrezov.)
11580
11581 Fixed a problem where references to control methods within Package 
11582 objects 
11583 caused the method to be invoked, instead of producing a reference object 
11584 pointing to the method.
11585
11586 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
11587 to 
11588 improve performance and reduce code size. (Code provided by Alexey 
11589 Starikovskiy.)
11590
11591 Code and Data Size: Current and previous core subsystem library sizes are 
11592 shown below. These are the code and data sizes for the acpica.lib 
11593 produced 
11594 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11595 any ACPI driver or OSPM code. The debug version of the code includes the 
11596 debug output trace mechanism and has a much larger code and data size. 
11597 Note 
11598 that these values will vary depending on the efficiency of the compiler 
11599 and 
11600 the compiler options used during generation.
11601
11602   Previous Release:
11603     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11604     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
11605   Current Release:
11606     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11607     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
11608
11609
11610 2) iASL Compiler/Disassembler:
11611
11612 Fixed a problem with the Return operator with no arguments. Since the AML 
11613 grammar for the byte encoding requires an operand for the Return opcode, 
11614 the 
11615 compiler now emits a Return(Zero) for this case.  An ACPI specification 
11616 update has been written for this case.
11617
11618 For tables other than the DSDT, namepath optimization is automatically 
11619 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
11620 the 
11621 compiler has no knowledge of where, and thus cannot optimize namepaths.
11622
11623 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
11624 inadvertently omitted from the ACPI specification, and will require an 
11625 update to the spec.
11626
11627 The source file scan for ASCII characters is now optional (-a). This 
11628 change 
11629 was made because some vendors place non-ascii characters within comments. 
11630 However, the scan is simply a brute-force byte compare to ensure all 
11631 characters in the file are in the range 0x00 to 0x7F.
11632
11633 Fixed a problem with the CondRefOf operator where the compiler was 
11634 inappropriately checking for the existence of the target. Since the point 
11635 of 
11636 the operator is to check for the existence of the target at run-time, the 
11637 compiler no longer checks for the target existence.
11638
11639 Fixed a problem where errors generated from the internal AML interpreter 
11640 during constant folding were not handled properly, causing a fault.
11641
11642 Fixed a problem with overly aggressive range checking for the Stall 
11643 operator. The valid range (max 255) is now only checked if the operand is 
11644 of 
11645 type Integer. All other operand types cannot be statically checked.
11646
11647 Fixed a problem where control method references within the RefOf, 
11648 DeRefOf, 
11649 and ObjectType operators were not treated properly. They are now treated 
11650 as 
11651 actual references, not method invocations.
11652
11653 Fixed and enhanced the "list namespace" option (-ln). This option was 
11654 broken 
11655 a number of releases ago.
11656
11657 Improved error handling for the Field, IndexField, and BankField 
11658 operators. 
11659 The compiler now cleanly reports and recovers from errors in the field 
11660 component (FieldUnit) list.
11661
11662 Fixed a disassembler problem where the optional ResourceDescriptor fields 
11663 TRS and TTP were not always handled correctly.
11664
11665 Disassembler - Comments in output now use "//" instead of "/*"
11666
11667 ----------------------------------------
11668 28 February 2005.  Summary of changes for version 20050228:
11669
11670 1) ACPI CA Core Subsystem:
11671
11672 Fixed a problem where the result of an Index() operator (an object 
11673 reference) must increment the reference count on the target object for 
11674 the 
11675 life of the object reference.
11676
11677 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
11678 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
11679 WordSpace 
11680 resource descriptors.
11681
11682 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
11683 Space Descriptor" string, indicating interpreter support for the 
11684 descriptors 
11685 above.
11686
11687 Implemented header support for the new ACPI 3.0 FADT flag bits.
11688
11689 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
11690 PM1 
11691 status/enable registers.
11692
11693 Updated header support for the MADT processor local Apic struct and MADT 
11694 platform interrupt source struct for new ACPI 3.0 fields.
11695
11696 Implemented header support for the SRAT and SLIT ACPI tables.
11697
11698 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
11699 flag 
11700 at runtime.
11701
11702 Code and Data Size: Current and previous core subsystem library sizes are 
11703 shown below. These are the code and data sizes for the acpica.lib 
11704 produced 
11705 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11706 any ACPI driver or OSPM code. The debug version of the code includes the 
11707 debug output trace mechanism and has a much larger code and data size. 
11708 Note 
11709 that these values will vary depending on the efficiency of the compiler 
11710 and 
11711 the compiler options used during generation.
11712
11713   Previous Release:
11714     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
11715     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
11716   Current Release:
11717     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11718     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
11719
11720
11721 2) iASL Compiler/Disassembler:
11722
11723 Fixed a problem with the internal 64-bit String-to-integer conversion 
11724 with 
11725 strings less than two characters long.
11726
11727 Fixed a problem with constant folding where the result of the Index() 
11728 operator can not be considered a constant. This means that Index() cannot 
11729 be 
11730 a type3 opcode and this will require an update to the ACPI specification.
11731
11732 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
11733 descriptor fields. These fields were inadvertently ignored and not output 
11734 in 
11735 the disassembly of the resource descriptor.
11736
11737
11738  ----------------------------------------
11739 11 February 2005.  Summary of changes for version 20050211:
11740
11741 1) ACPI CA Core Subsystem:
11742
11743 Implemented ACPI 3.0 support for implicit conversion within the Match() 
11744 operator. MatchObjects can now be of type integer, buffer, or string 
11745 instead 
11746 of just type integer.  Package elements are implicitly converted to the 
11747 type 
11748 of the MatchObject. This change aligns the behavior of Match() with the 
11749 behavior of the other logical operators (LLess(), etc.) It also requires 
11750 an 
11751 errata change to the ACPI specification as this support was intended for 
11752 ACPI 3.0, but was inadvertently omitted.
11753
11754 Fixed a problem with the internal implicit "to buffer" conversion. 
11755 Strings 
11756 that are converted to buffers will cause buffer truncation if the string 
11757 is 
11758 smaller than the target buffer. Integers that are converted to buffers 
11759 will 
11760 not cause buffer truncation, only zero extension (both as per the ACPI 
11761 spec.) The problem was introduced when code was added to truncate the 
11762 buffer, but this should not be performed in all cases, only the string 
11763 case.
11764
11765 Fixed a problem with the Buffer and Package operators where the 
11766 interpreter 
11767 would get confused if two such operators were used as operands to an ASL 
11768 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
11769 stack was not being popped after the execution of these operators, 
11770 resulting 
11771 in an AE_NO_RETURN_VALUE exception.
11772
11773 Fixed a problem with constructs of the form Store(Index(...),...). The 
11774 reference object returned from Index was inadvertently resolved to an 
11775 actual 
11776 value. This problem was introduced in version 20050114 when the behavior 
11777 of 
11778 Store() was modified to restrict the object types that can be used as the 
11779 source operand (to match the ACPI specification.)
11780
11781 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
11782
11783 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
11784
11785 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
11786
11787 Code and Data Size: Current and previous core subsystem library sizes are 
11788 shown below. These are the code and data sizes for the acpica.lib 
11789 produced 
11790 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11791 any ACPI driver or OSPM code. The debug version of the code includes the 
11792 debug output trace mechanism and has a much larger code and data size. 
11793 Note 
11794 that these values will vary depending on the efficiency of the compiler 
11795 and 
11796 the compiler options used during generation.
11797
11798   Previous Release:
11799     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
11800     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
11801   Current Release:
11802     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
11803     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
11804
11805
11806 2) iASL Compiler/Disassembler:
11807
11808 Fixed a code generation problem in the constant folding optimization code 
11809 where incorrect code was generated if a constant was reduced to a buffer 
11810 object (i.e., a reduced type 5 opcode.)
11811
11812 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
11813 incorrect return type in the internal opcode information table.
11814
11815 ----------------------------------------
11816 25 January 2005.  Summary of changes for version 20050125:
11817
11818 1) ACPI CA Core Subsystem:
11819
11820 Fixed a recently introduced problem with the Global Lock where the 
11821 underlying semaphore was not created.  This problem was introduced in 
11822 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
11823 Acquire() operation on _GL.
11824
11825 The local object cache is now optional, and is disabled by default. Both 
11826 AcpiExec and the iASL compiler enable the cache because they run in user 
11827 mode and this enhances their performance. #define 
11828 ACPI_ENABLE_OBJECT_CACHE 
11829 to enable the local cache.
11830
11831 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
11832 the 
11833 optional "implicit return" support where an error was returned if no 
11834 return 
11835 object was expected, but one was implicitly returned. AE_OK is now 
11836 returned 
11837 in this case and the implicitly returned object is deleted. 
11838 AcpiUtEvaluateObject is only occasionally used, and only to execute 
11839 reserved 
11840 methods such as _STA and _INI where the return type is known up front.
11841
11842 Fixed a few issues with the internal convert-to-integer code. It now 
11843 returns 
11844 an error if an attempt is made to convert a null string, a string of only 
11845 blanks/tabs, or a zero-length buffer. This affects both implicit 
11846 conversion 
11847 and explicit conversion via the ToInteger() operator.
11848
11849 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
11850 is 
11851 not needed for normal operation and should increase the performance of 
11852 the 
11853 entire subsystem. The code remains in case it is needed for debug 
11854 purposes 
11855 again.
11856
11857 The AcpiExec source and makefile are included in the Unix/Linux package 
11858 for 
11859 the first time.
11860
11861 Code and Data Size: Current and previous core subsystem library sizes are 
11862 shown below. These are the code and data sizes for the acpica.lib 
11863 produced 
11864 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11865 any ACPI driver or OSPM code. The debug version of the code includes the 
11866 debug output trace mechanism and has a much larger code and data size. 
11867 Note 
11868 that these values will vary depending on the efficiency of the compiler 
11869 and 
11870 the compiler options used during generation.
11871
11872   Previous Release:
11873     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
11874     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
11875   Current Release:
11876     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
11877     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
11878
11879 2) iASL Compiler/Disassembler:
11880
11881 Switch/Case support: A warning is now issued if the type of the Switch 
11882 value 
11883 cannot be determined at compile time. For example, Switch(Arg0) will 
11884 generate the warning, and the type is assumed to be an integer. As per 
11885 the 
11886 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
11887 the 
11888 warning.
11889
11890 Switch/Case support: Implemented support for buffer and string objects as 
11891 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
11892 buffers and strings.
11893
11894 Switch/Case support: The emitted code for the LEqual() comparisons now 
11895 uses 
11896 the switch value as the first operand, not the second. The case value is 
11897 now 
11898 the second operand, and this allows the case value to be implicitly 
11899 converted to the type of the switch value, not the other way around.
11900
11901 Switch/Case support: Temporary variables are now emitted immediately 
11902 within 
11903 the control method, not at the global level. This means that there are 
11904 now 
11905 36 temps available per-method, not 36 temps per-module as was the case 
11906 with 
11907 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
11908
11909 ----------------------------------------
11910 14 January 2005.  Summary of changes for version 20050114:
11911
11912 Added 2005 copyright to all module headers.  This affects every module in 
11913 the core subsystem, iASL compiler, and the utilities.
11914
11915 1) ACPI CA Core Subsystem:
11916
11917 Fixed an issue with the String-to-Buffer conversion code where the string 
11918 null terminator was not included in the buffer after conversion, but 
11919 there 
11920 is existing ASL that assumes the string null terminator is included. This 
11921 is 
11922 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
11923 introduced in the previous version when the code was updated to correctly 
11924 set the converted buffer size as per the ACPI specification. The ACPI 
11925 spec 
11926 is ambiguous and will be updated to specify that the null terminator must 
11927 be 
11928 included in the converted buffer. This also affects the ToBuffer() ASL 
11929 operator.
11930
11931 Fixed a problem with the Mid() ASL/AML operator where it did not work 
11932 correctly on Buffer objects. Newly created sub-buffers were not being 
11933 marked 
11934 as initialized.
11935
11936
11937 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
11938 performed on the OemId and OemTableId table header fields.  These fields 
11939 are 
11940 not null terminated, so strncmp is now used instead of strcmp.
11941
11942 Implemented a restriction on the Store() ASL/AML operator to align the 
11943 behavior with the ACPI specification.  Previously, any object could be 
11944 used 
11945 as the source operand.  Now, the only objects that may be used are 
11946 Integers, 
11947 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
11948 necessary, the original behavior can be restored by enabling the 
11949 EnableInterpreterSlack flag.
11950
11951 Enhanced the optional "implicit return" support to allow an implicit 
11952 return 
11953 value from methods that are invoked externally via the AcpiEvaluateObject 
11954 interface.  This enables implicit returns from the _STA and _INI methods, 
11955 for example.
11956
11957 Changed the Revision() ASL/AML operator to return the current version of 
11958 the 
11959 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
11960 returned 
11961 the supported ACPI version (This is the function of the _REV method).
11962
11963 Updated the _REV predefined method to return the currently supported 
11964 version 
11965 of ACPI, now 3.
11966
11967 Implemented batch mode option for the AcpiExec utility (-b).
11968
11969 Code and Data Size: Current and previous core subsystem library sizes are 
11970 shown below. These are the code and data sizes for the acpica.lib 
11971 produced 
11972 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11973 any ACPI driver or OSPM code. The debug version of the code includes the 
11974 debug output trace mechanism and has a much larger code and data size. 
11975 Note 
11976 that these values will vary depending on the efficiency of the compiler 
11977 and 
11978 the compiler options used during generation.
11979
11980   Previous Release:
11981     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
11982     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
11983   Current Release:
11984     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
11985     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
11986
11987 ----------------------------------------
11988 10 December 2004.  Summary of changes for version 20041210:
11989
11990 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
11991 ACPI CA core subsystem.
11992
11993 1) ACPI CA Core Subsystem:
11994
11995 Fixed a problem in the ToDecimalString operator where the resulting 
11996 string 
11997 length was incorrectly calculated. The length is now calculated exactly, 
11998 eliminating incorrect AE_STRING_LIMIT exceptions.
11999
12000 Fixed a problem in the ToHexString operator to allow a maximum 200 
12001 character 
12002 string to be produced.
12003
12004 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
12005 copy 
12006 routine where the length of the resulting buffer was not truncated to the 
12007 new size (if the target buffer already existed).
12008
12009 Code and Data Size: Current and previous core subsystem library sizes are 
12010 shown below. These are the code and data sizes for the acpica.lib 
12011 produced 
12012 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12013 any ACPI driver or OSPM code. The debug version of the code includes the 
12014 debug output trace mechanism and has a much larger code and data size. 
12015 Note 
12016 that these values will vary depending on the efficiency of the compiler 
12017 and 
12018 the compiler options used during generation.
12019
12020   Previous Release:
12021     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12022     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12023   Current Release:
12024     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12025     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12026
12027
12028 2) iASL Compiler/Disassembler:
12029
12030 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
12031 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
12032 Includes support in the disassembler.
12033
12034 Implemented support for the new (ACPI 3.0) parameter to the Register 
12035 macro, 
12036 AccessSize.
12037
12038 Fixed a problem where the _HE resource name for the Interrupt macro was 
12039 referencing bit 0 instead of bit 1.
12040
12041 Implemented check for maximum 255 interrupts in the Interrupt macro.
12042
12043 Fixed a problem with the predefined resource descriptor names where 
12044 incorrect AML code was generated if the offset within the resource buffer 
12045 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
12046 but did not update the surrounding package lengths.
12047
12048 Changes to the Dma macro:  All channels within the channel list must be 
12049 in 
12050 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
12051 optional (default is BusMaster).
12052
12053 Implemented check for maximum 7 data bytes for the VendorShort macro.
12054
12055 The ReadWrite parameter is now optional for the Memory32 and similar 
12056 macros.
12057
12058 ----------------------------------------
12059 03 December 2004.  Summary of changes for version 20041203:
12060
12061 1) ACPI CA Core Subsystem:
12062
12063 The low-level field insertion/extraction code (exfldio) has been 
12064 completely 
12065 rewritten to eliminate unnecessary complexity, bugs, and boundary 
12066 conditions.
12067
12068 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
12069 ToDecimalString 
12070 operators where the input operand could be inadvertently deleted if no 
12071 conversion was necessary (e.g., if the input to ToInteger was an Integer 
12072 object.)
12073
12074 Fixed a problem with the ToDecimalString and ToHexString where an 
12075 incorrect 
12076 exception code was returned if the resulting string would be > 200 chars.  
12077 AE_STRING_LIMIT is now returned.
12078
12079 Fixed a problem with the Concatenate operator where AE_OK was always 
12080 returned, even if the operation failed.
12081
12082 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
12083 semaphores to be allocated.
12084
12085 Code and Data Size: Current and previous core subsystem library sizes are 
12086 shown below. These are the code and data sizes for the acpica.lib 
12087 produced 
12088 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12089 any ACPI driver or OSPM code. The debug version of the code includes the 
12090 debug output trace mechanism and has a much larger code and data size. 
12091 Note 
12092 that these values will vary depending on the efficiency of the compiler 
12093 and 
12094 the compiler options used during generation.
12095
12096   Previous Release:
12097     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12098     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12099   Current Release:
12100     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12101     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12102
12103
12104 2) iASL Compiler/Disassembler:
12105
12106 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
12107 recently introduced in 20041119.
12108
12109 Fixed a problem with the ToUUID macro where the upper nybble of each 
12110 buffer 
12111 byte was inadvertently set to zero.
12112
12113 ----------------------------------------
12114 19 November 2004.  Summary of changes for version 20041119:
12115
12116 1) ACPI CA Core Subsystem:
12117
12118 Fixed a problem in the internal ConvertToInteger routine where new 
12119 integers 
12120 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
12121 converts 
12122 buffers and strings to integers.
12123
12124 Implemented support to store a value to an Index() on a String object. 
12125 This 
12126 is an ACPI 2.0 feature that had not yet been implemented.
12127
12128 Implemented new behavior for storing objects to individual package 
12129 elements 
12130 (via the Index() operator). The previous behavior was to invoke the 
12131 implicit 
12132 conversion rules if an object was already present at the index.  The new 
12133 behavior is to simply delete any existing object and directly store the 
12134 new 
12135 object. Although the ACPI specification seems unclear on this subject, 
12136 other 
12137 ACPI implementations behave in this manner.  (This is the root of the 
12138 AE_BAD_HEX_CONSTANT issue.)
12139
12140 Modified the RSDP memory scan mechanism to support the extended checksum 
12141 for 
12142 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
12143 RSDP signature is found with a valid checksum.
12144
12145 Code and Data Size: Current and previous core subsystem library sizes are 
12146 shown below. These are the code and data sizes for the acpica.lib 
12147 produced 
12148 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12149 any ACPI driver or OSPM code. The debug version of the code includes the 
12150 debug output trace mechanism and has a much larger code and data size. 
12151 Note 
12152 that these values will vary depending on the efficiency of the compiler 
12153 and 
12154 the compiler options used during generation.
12155
12156   Previous Release:
12157     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12158     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12159   Current Release:
12160     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12161     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12162
12163
12164 2) iASL Compiler/Disassembler:
12165
12166 Fixed a missing semicolon in the aslcompiler.y file.
12167
12168 ----------------------------------------
12169 05 November 2004.  Summary of changes for version 20041105:
12170
12171 1) ACPI CA Core Subsystem:
12172
12173 Implemented support for FADT revision 2.  This was an interim table 
12174 (between 
12175 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
12176
12177 Implemented optional support to allow uninitialized LocalX and ArgX 
12178 variables in a control method.  The variables are initialized to an 
12179 Integer 
12180 object with a value of zero.  This support is enabled by setting the 
12181 AcpiGbl_EnableInterpreterSlack flag to TRUE.
12182
12183 Implemented support for Integer objects for the SizeOf operator.  Either 
12184
12185 or 8 is returned, depending on the current integer size (32-bit or 64-
12186 bit, 
12187 depending on the parent table revision).
12188
12189 Fixed a problem in the implementation of the SizeOf and ObjectType 
12190 operators 
12191 where the operand was resolved to a value too early, causing incorrect 
12192 return values for some objects.
12193
12194 Fixed some possible memory leaks during exceptional conditions.
12195
12196 Code and Data Size: Current and previous core subsystem library sizes are 
12197 shown below. These are the code and data sizes for the acpica.lib 
12198 produced 
12199 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12200 any ACPI driver or OSPM code. The debug version of the code includes the 
12201 debug output trace mechanism and has a much larger code and data size. 
12202 Note 
12203 that these values will vary depending on the efficiency of the compiler 
12204 and 
12205 the compiler options used during generation.
12206
12207   Previous Release:
12208     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12209     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12210   Current Release:
12211     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12212     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12213
12214
12215 2) iASL Compiler/Disassembler:
12216
12217 Implemented support for all ACPI 3.0 reserved names and methods.
12218
12219 Implemented all ACPI 3.0 grammar elements in the front-end, including 
12220 support for semicolons.
12221
12222 Implemented the ACPI 3.0 Function() and ToUUID() macros
12223
12224 Fixed a problem in the disassembler where a Scope() operator would not be 
12225 emitted properly if the target of the scope was in another table.
12226
12227 ----------------------------------------
12228 15 October 2004.  Summary of changes for version 20041015:
12229
12230 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
12231 evaluation to test/verify the following areas. Other suggestions are 
12232 welcome. This will result in an increase in the frequency of releases and 
12233 the number of bug fixes in the next few months.
12234   - Functional tests for all ASL/AML operators
12235   - All implicit/explicit type conversions
12236   - Bit fields and operation regions
12237   - 64-bit math support and 32-bit-only "truncated" math support
12238   - Exceptional conditions, both compiler and interpreter
12239   - Dynamic object deletion and memory leaks
12240   - ACPI 3.0 support when implemented
12241   - External interfaces to the ACPI subsystem
12242
12243
12244 1) ACPI CA Core Subsystem:
12245
12246 Fixed two alignment issues on 64-bit platforms - within debug statements 
12247 in 
12248 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
12249 Address 
12250 field within the non-aligned ACPI generic address structure.
12251
12252 Fixed a problem in the Increment and Decrement operators where incorrect 
12253 operand resolution could result in the inadvertent modification of the 
12254 original integer when the integer is passed into another method as an 
12255 argument and the arg is then incremented/decremented.
12256
12257 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
12258 bit 
12259 BCD number were truncated during conversion.
12260
12261 Fixed a problem in the ToDecimal operator where the length of the 
12262 resulting 
12263 string could be set incorrectly too long if the input operand was a 
12264 Buffer 
12265 object.
12266
12267 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
12268 (0) 
12269 within a buffer would prematurely terminate a compare between buffer 
12270 objects.
12271
12272 Added a check for string overflow (>200 characters as per the ACPI 
12273 specification) during the Concatenate operator with two string operands.
12274
12275 Code and Data Size: Current and previous core subsystem library sizes are 
12276 shown below. These are the code and data sizes for the acpica.lib 
12277 produced 
12278 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12279 any ACPI driver or OSPM code. The debug version of the code includes the 
12280 debug output trace mechanism and has a much larger code and data size. 
12281 Note 
12282 that these values will vary depending on the efficiency of the compiler 
12283 and 
12284 the compiler options used during generation.
12285
12286   Previous Release:
12287     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12288     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12289   Current Release:
12290     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12291     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12292
12293
12294
12295 2) iASL Compiler/Disassembler:
12296
12297 Allow the use of the ObjectType operator on uninitialized Locals and Args 
12298 (returns 0 as per the ACPI specification).
12299
12300 Fixed a problem where the compiler would fault if there was a syntax 
12301 error 
12302 in the FieldName of all of the various CreateXXXField operators.
12303
12304 Disallow the use of lower case letters within the EISAID macro, as per 
12305 the 
12306 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
12307 Where 
12308 U is an uppercase letter and N is a hex digit.
12309
12310
12311 ----------------------------------------
12312 06 October 2004.  Summary of changes for version 20041006:
12313
12314 1) ACPI CA Core Subsystem:
12315
12316 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
12317 implements a 64-bit timer with 100 nanosecond granularity.
12318
12319 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
12320 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
12321 implement 
12322 the timer with the best clock available. Also, it keeps the core 
12323 subsystem 
12324 out of the clock handling business, since the host OS (usually) performs 
12325 this function.
12326
12327 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
12328 functions use a 64-bit address which is part of the packed ACPI Generic 
12329 Address Structure. Since the structure is non-aligned, the alignment 
12330 macros 
12331 are now used to extract the address to a local variable before use.
12332
12333 Fixed a problem where the ToInteger operator assumed all input strings 
12334 were 
12335 hexadecimal. The operator now handles both decimal strings and hex 
12336 strings 
12337 (prefixed with "0x").
12338
12339 Fixed a problem where the string length in the string object created as a 
12340 result of the internal ConvertToString procedure could be incorrect. This 
12341 potentially affected all implicit conversions and also the 
12342 ToDecimalString 
12343 and ToHexString operators.
12344
12345 Fixed two problems in the ToString operator. If the length parameter was 
12346 zero, an incorrect string object was created and the value of the input 
12347 length parameter was inadvertently changed from zero to Ones.
12348
12349 Fixed a problem where the optional ResourceSource string in the 
12350 ExtendedIRQ 
12351 resource macro was ignored.
12352
12353 Simplified the interfaces to the internal division functions, reducing 
12354 code 
12355 size and complexity.
12356
12357 Code and Data Size: Current and previous core subsystem library sizes are 
12358 shown below. These are the code and data sizes for the acpica.lib 
12359 produced 
12360 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12361 any ACPI driver or OSPM code. The debug version of the code includes the 
12362 debug output trace mechanism and has a much larger code and data size. 
12363 Note 
12364 that these values will vary depending on the efficiency of the compiler 
12365 and 
12366 the compiler options used during generation.
12367
12368   Previous Release:
12369     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12370     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12371   Current Release:
12372     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12373     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12374
12375
12376 2) iASL Compiler/Disassembler:
12377
12378 Implemented support for the ACPI 3.0 Timer operator.
12379
12380 Fixed a problem where the Default() operator was inadvertently ignored in 
12381
12382 Switch/Case block.  This was a problem in the translation of the Switch 
12383 statement to If...Else pairs.
12384
12385 Added support to allow a standalone Return operator, with no parentheses 
12386 (or 
12387 operands).
12388
12389 Fixed a problem with code generation for the ElseIf operator where the 
12390 translated Else...If parse tree was improperly constructed leading to the 
12391 loss of some code.
12392
12393 ----------------------------------------
12394 22 September 2004.  Summary of changes for version 20040922:
12395
12396 1) ACPI CA Core Subsystem:
12397
12398 Fixed a problem with the implementation of the LNot() operator where 
12399 "Ones" 
12400 was not returned for the TRUE case. Changed the code to return Ones 
12401 instead 
12402 of (!Arg) which was usually 1. This change affects iASL constant folding 
12403 for 
12404 this operator also.
12405
12406 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
12407 not 
12408 initialized properly -- Now zero the entire buffer in this case where the 
12409 buffer already exists.
12410
12411 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
12412 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
12413 related code considerably. This will require changes/updates to all OS 
12414 interface layers (OSLs.)
12415
12416 Implemented a new external interface, AcpiInstallExceptionHandler, to 
12417 allow 
12418 a system exception handler to be installed. This handler is invoked upon 
12419 any 
12420 run-time exception that occurs during control method execution.
12421
12422 Added support for the DSDT in AcpiTbFindTable. This allows the 
12423 DataTableRegion() operator to access the local copy of the DSDT.
12424
12425 Code and Data Size: Current and previous core subsystem library sizes are 
12426 shown below. These are the code and data sizes for the acpica.lib 
12427 produced 
12428 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12429 any ACPI driver or OSPM code. The debug version of the code includes the 
12430 debug output trace mechanism and has a much larger code and data size. 
12431 Note 
12432 that these values will vary depending on the efficiency of the compiler 
12433 and 
12434 the compiler options used during generation.
12435
12436   Previous Release:
12437     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12438     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12439   Current Release:
12440     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12441     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12442
12443
12444 2) iASL Compiler/Disassembler:
12445
12446 Fixed a problem with constant folding and the LNot operator. LNot was 
12447 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
12448 This 
12449 could result in the generation of an incorrect folded/reduced constant.
12450
12451 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
12452 longer occurs if such a comment is at the very end of the input ASL 
12453 source 
12454 file.
12455
12456 Implemented the "-r" option to override the Revision in the table header. 
12457 The initial use of this option will be to simplify the evaluation of the 
12458 AML 
12459 interpreter by allowing a single ASL source module to be compiled for 
12460 either 
12461 32-bit or 64-bit integers.
12462
12463
12464 ----------------------------------------
12465 27 August 2004.  Summary of changes for version 20040827:
12466
12467 1) ACPI CA Core Subsystem:
12468
12469 - Implemented support for implicit object conversion in the non-numeric 
12470 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
12471 and 
12472 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
12473 the second operand is implicitly converted on the fly to match the type 
12474 of 
12475 the first operand.  For example:
12476
12477     LEqual (Source1, Source2)
12478
12479 Source1 and Source2 must each evaluate to an integer, a string, or a 
12480 buffer. 
12481 The data type of Source1 dictates the required type of Source2. Source2 
12482 is 
12483 implicitly converted if necessary to match the type of Source1.
12484
12485 - Updated and corrected the behavior of the string conversion support.  
12486 The 
12487 rules concerning conversion of buffers to strings (according to the ACPI 
12488 specification) are as follows:
12489
12490 ToDecimalString - explicit byte-wise conversion of buffer to string of 
12491 decimal values (0-255) separated by commas. ToHexString - explicit byte-
12492 wise 
12493 conversion of buffer to string of hex values (0-FF) separated by commas. 
12494 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
12495 byte 
12496 copy with no transform except NULL terminated. Any other implicit buffer-
12497 to-
12498 string conversion - byte-wise conversion of buffer to string of hex 
12499 values 
12500 (0-FF) separated by spaces.
12501
12502 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
12503
12504 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
12505 was 
12506 one byte too short in the case of a node in the root scope.  This could 
12507 cause a fault during debug output.
12508
12509 - Code and Data Size: Current and previous core subsystem library sizes 
12510 are 
12511 shown below.  These are the code and data sizes for the acpica.lib 
12512 produced 
12513 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12514 any ACPI driver or OSPM code.  The debug version of the code includes the 
12515 debug output trace mechanism and has a much larger code and data size.  
12516 Note 
12517 that these values will vary depending on the efficiency of the compiler 
12518 and 
12519 the compiler options used during generation.
12520
12521   Previous Release:
12522     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
12523     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
12524   Current Release:
12525     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12526     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12527
12528
12529 2) iASL Compiler/Disassembler:
12530
12531 - Fixed a Linux generation error.
12532
12533
12534 ----------------------------------------
12535 16 August 2004.  Summary of changes for version 20040816:
12536
12537 1) ACPI CA Core Subsystem:
12538
12539 Designed and implemented support within the AML interpreter for the so-
12540 called "implicit return".  This support returns the result of the last 
12541 ASL 
12542 operation within a control method, in the absence of an explicit Return() 
12543 operator.  A few machines depend on this behavior, even though it is not 
12544 explicitly supported by the ASL language.  It is optional support that 
12545 can 
12546 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
12547
12548 Removed support for the PCI_Config address space from the internal low 
12549 level 
12550 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
12551 support was not used internally, and would not work correctly anyway 
12552 because 
12553 the PCI bus number and segment number were not supported.  There are 
12554 separate interfaces for PCI configuration space access because of the 
12555 unique 
12556 interface.
12557
12558 Code and Data Size: Current and previous core subsystem library sizes are 
12559 shown below.  These are the code and data sizes for the acpica.lib 
12560 produced 
12561 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12562 any ACPI driver or OSPM code.  The debug version of the code includes the 
12563 debug output trace mechanism and has a much larger code and data size.  
12564 Note 
12565 that these values will vary depending on the efficiency of the compiler 
12566 and 
12567 the compiler options used during generation.
12568
12569   Previous Release:
12570     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12571     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
12572   Current Release:
12573     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
12574     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
12575
12576
12577 2) iASL Compiler/Disassembler:
12578
12579 Fixed a problem where constants in ASL expressions at the root level (not 
12580 within a control method) could be inadvertently truncated during code 
12581 generation.  This problem was introduced in the 20040715 release.
12582
12583
12584 ----------------------------------------
12585 15 July 2004.  Summary of changes for version 20040715:
12586
12587 1) ACPI CA Core Subsystem:
12588
12589 Restructured the internal HW GPE interfaces to pass/track the current 
12590 state 
12591 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
12592 increase flexibility of the interfaces.
12593
12594 Implemented a "lexicographical compare" for String and Buffer objects 
12595 within 
12596 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
12597
12598 as per further clarification to the ACPI specification.  Behavior is 
12599 similar 
12600 to C library "strcmp".
12601
12602 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
12603 external function.  In the 32-bit non-debug case, the stack use has been 
12604 reduced from 168 bytes to 32 bytes.
12605
12606 Deployed a new run-time configuration flag, 
12607 AcpiGbl_EnableInterpreterSlack, 
12608 whose purpose is to allow the AML interpreter to forgive certain bad AML 
12609 constructs.  Default setting is FALSE.
12610
12611 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
12612 IO 
12613 support code.  If enabled, it allows field access to go beyond the end of 
12614
12615 region definition if the field is within the region length rounded up to 
12616 the 
12617 next access width boundary (a common coding error.)
12618
12619 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
12620 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
12621 these 
12622 symbols are lowercased by the latest version of the AcpiSrc tool.
12623
12624 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
12625 rename "Register" to simply "Reg" to prevent certain compilers from 
12626 complaining.
12627
12628 Code and Data Size: Current and previous core subsystem library sizes are 
12629 shown below.  These are the code and data sizes for the acpica.lib 
12630 produced 
12631 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12632 any ACPI driver or OSPM code.  The debug version of the code includes the 
12633 debug output trace mechanism and has a much larger code and data size.  
12634 Note 
12635 that these values will vary depending on the efficiency of the compiler 
12636 and 
12637 the compiler options used during generation.
12638
12639   Previous Release:
12640     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12641     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
12642   Current Release:
12643     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12644     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
12645
12646
12647 2) iASL Compiler/Disassembler:
12648
12649 Implemented full support for Package objects within the Case() operator.  
12650 Note: The Break() operator is currently not supported within Case blocks 
12651 (TermLists) as there is some question about backward compatibility with 
12652 ACPI 
12653 1.0 interpreters.
12654
12655
12656 Fixed a problem where complex terms were not supported properly within 
12657 the 
12658 Switch() operator.
12659
12660 Eliminated extraneous warning for compiler-emitted reserved names of the 
12661 form "_T_x".  (Used in Switch/Case operators.)
12662
12663 Eliminated optimization messages for "_T_x" objects and small constants 
12664 within the DefinitionBlock operator.
12665
12666
12667 ----------------------------------------
12668 15 June 2004.  Summary of changes for version 20040615:
12669
12670 1) ACPI CA Core Subsystem:
12671
12672 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
12673 the 
12674 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
12675 LLessEqual.
12676
12677 All directory names in the entire source package are lower case, as they 
12678 were in earlier releases.
12679
12680 Implemented "Disassemble" command in the AML debugger that will 
12681 disassemble 
12682 a single control method.
12683
12684 Code and Data Size: Current and previous core subsystem library sizes are 
12685 shown below.  These are the code and data sizes for the acpica.lib 
12686 produced 
12687 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12688 any ACPI driver or OSPM code.  The debug version of the code includes the 
12689 debug output trace mechanism and has a much larger code and data size.  
12690 Note 
12691 that these values will vary depending on the efficiency of the compiler 
12692 and 
12693 the compiler options used during generation.
12694
12695   Previous Release:
12696     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
12697     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
12698
12699   Current Release:
12700     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12701     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
12702
12703
12704 2) iASL Compiler/Disassembler:
12705
12706 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
12707 the 
12708 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
12709 LLessEqual.
12710
12711 All directory names in the entire source package are lower case, as they 
12712 were in earlier releases.
12713
12714 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
12715 not found.
12716
12717 Fixed an issue with the Windows version of the compiler where later 
12718 versions 
12719 of Windows place the FADT in the registry under the name "FADT" and not 
12720 "FACP" as earlier versions did.  This applies when using the -g or -
12721 d<nofilename> options.  The compiler now looks for both strings as 
12722 necessary.
12723
12724 Fixed a problem with compiler namepath optimization where a namepath 
12725 within 
12726 the Scope() operator could not be optimized if the namepath was a subpath 
12727 of 
12728 the current scope path.
12729
12730 ----------------------------------------
12731 27 May 2004.  Summary of changes for version 20040527:
12732
12733 1) ACPI CA Core Subsystem:
12734
12735 Completed a new design and implementation for EBDA (Extended BIOS Data 
12736 Area) 
12737 support in the RSDP scan code.  The original code improperly scanned for 
12738 the 
12739 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
12740 method 
12741 is to first obtain the EBDA pointer from within the BIOS data area, then 
12742 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
12743 if 
12744 any machines that place the RSDP in the EBDA, however.
12745
12746 Integrated a fix for a possible fault during evaluation of BufferField 
12747 arguments.  Obsolete code that was causing the problem was removed.
12748
12749 Found and fixed a problem in the Field Support Code where data could be 
12750 corrupted on a bit field read that starts on an aligned boundary but does 
12751 not end on an aligned boundary.  Merged the read/write "datum length" 
12752 calculation code into a common procedure.
12753
12754 Rolled in a couple of changes to the FreeBSD-specific header.
12755
12756
12757 Code and Data Size: Current and previous core subsystem library sizes are 
12758 shown below.  These are the code and data sizes for the acpica.lib 
12759 produced 
12760 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12761 any ACPI driver or OSPM code.  The debug version of the code includes the 
12762 debug output trace mechanism and has a much larger code and data size.  
12763 Note 
12764 that these values will vary depending on the efficiency of the compiler 
12765 and 
12766 the compiler options used during generation.
12767
12768   Previous Release:
12769     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
12770     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
12771   Current Release:
12772     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
12773     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
12774
12775
12776 2) iASL Compiler/Disassembler:
12777
12778 Fixed a generation warning produced by some overly-verbose compilers for 
12779
12780 64-bit constant.
12781
12782 ----------------------------------------
12783 14 May 2004.  Summary of changes for version 20040514:
12784
12785 1) ACPI CA Core Subsystem:
12786
12787 Fixed a problem where hardware GPE enable bits sometimes not set properly 
12788 during and after GPE method execution.  Result of 04/27 changes.
12789
12790 Removed extra "clear all GPEs" when sleeping/waking.
12791
12792 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
12793 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
12794 to 
12795 the new AcpiEv* calls as appropriate.
12796
12797 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
12798 is 
12799 now "Microsoft Windows NT" for maximum compatibility.  However this can 
12800 be 
12801 changed by modifying the acconfig.h file.
12802
12803 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
12804 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
12805
12806 Run _INI methods on ThermalZone objects.  This is against the ACPI 
12807 specification, but there is apparently ASL code in the field that has 
12808 these 
12809 _INI methods, and apparently "other" AML interpreters execute them.
12810
12811 Performed a full 16/32/64 bit lint that resulted in some small changes.
12812
12813 Added a sleep simulation command to the AML debugger to test sleep code. 
12814
12815 Code and Data Size: Current and previous core subsystem library sizes are 
12816 shown below.  These are the code and data sizes for the acpica.lib 
12817 produced 
12818 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12819 any ACPI driver or OSPM code.  The debug version of the code includes the 
12820 debug output trace mechanism and has a much larger code and data size.  
12821 Note 
12822 that these values will vary depending on the efficiency of the compiler 
12823 and 
12824 the compiler options used during generation.
12825
12826   Previous Release:
12827     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
12828     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
12829   Current Release:
12830     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
12831     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
12832
12833 ----------------------------------------
12834 27 April 2004.  Summary of changes for version 20040427:
12835
12836 1) ACPI CA Core Subsystem:
12837
12838 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
12839 now three types of GPEs:  wake-only, runtime-only, and combination 
12840 wake/run.  
12841 The only GPEs allowed to be combination wake/run are for button-style 
12842 devices such as a control-method power button, control-method sleep 
12843 button, 
12844 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
12845 not 
12846 referenced by any _PRW methods are marked for "runtime" and hardware 
12847 enabled.  Any GPE that is referenced by a _PRW method is marked for 
12848 "wake" 
12849 (and disabled at runtime).  However, at sleep time, only those GPEs that 
12850 have been specifically enabled for wake via the AcpiEnableGpe interface 
12851 will 
12852 actually be hardware enabled.
12853
12854 A new external interface has been added, AcpiSetGpeType(), that is meant 
12855 to 
12856 be used by device drivers to force a GPE to a particular type.  It will 
12857 be 
12858 especially useful for the drivers for the button devices mentioned above.
12859
12860 Completed restructuring of the ACPI CA initialization sequence so that 
12861 default operation region handlers are installed before GPEs are 
12862 initialized 
12863 and the _PRW methods are executed.  This will prevent errors when the 
12864 _PRW 
12865 methods attempt to access system memory or I/O space.
12866
12867 GPE enable/disable no longer reads the GPE enable register.  We now keep 
12868 the 
12869 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
12870 thus no longer depend on the hardware to maintain these bits.
12871
12872 Always clear the wake status and fixed/GPE status bits before sleep, even 
12873 for state S5.
12874
12875 Improved the AML debugger output for displaying the GPE blocks and their 
12876 current status.
12877
12878 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
12879 where 
12880 x = 0,1,2,3,4.
12881
12882 Fixed a problem where the physical address was incorrectly calculated 
12883 when 
12884 the Load() operator was used to directly load from an Operation Region 
12885 (vs. 
12886 loading from a Field object.)  Also added check for minimum table length 
12887 for 
12888 this case.
12889
12890 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
12891 mutex release.
12892
12893 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
12894 consistency with the other fields returned.
12895
12896 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
12897 structure for each GPE in the system, so the size of this structure is 
12898 important.
12899
12900 CPU stack requirement reduction:  Cleaned up the method execution and 
12901 object 
12902 evaluation paths so that now a parameter structure is passed, instead of 
12903 copying the various method parameters over and over again.
12904
12905 In evregion.c:  Correctly exit and reenter the interpreter region if and 
12906 only if dispatching an operation region request to a user-installed 
12907 handler.  
12908 Do not exit/reenter when dispatching to a default handler (e.g., default 
12909 system memory or I/O handlers)
12910
12911
12912 Notes for updating drivers for the new GPE support.  The following 
12913 changes 
12914 must be made to ACPI-related device drivers that are attached to one or 
12915 more 
12916 GPEs: (This information will be added to the ACPI CA Programmer 
12917 Reference.)
12918
12919 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
12920 must 
12921 explicitly call AcpiEnableGpe.
12922 2) There is a new interface called AcpiSetGpeType. This should be called 
12923 before enabling the GPE.  Also, this interface will automatically disable 
12924 the GPE if it is currently enabled.
12925 3) AcpiEnableGpe no longer supports a GPE type flag.
12926
12927 Specific drivers that must be changed:
12928 1) EC driver:
12929     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
12930 AeGpeHandler, NULL);
12931     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
12932     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
12933
12934 2) Button Drivers (Power, Lid, Sleep):
12935 Run _PRW method under parent device
12936 If _PRW exists: /* This is a control-method button */
12937     Extract GPE number and possibly GpeDevice
12938     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
12939     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
12940
12941 For all other devices that have _PRWs, we automatically set the GPE type 
12942 to 
12943 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
12944 This 
12945 must be done on a selective basis, usually requiring some kind of user 
12946 app 
12947 to allow the user to pick the wake devices.
12948
12949
12950 Code and Data Size: Current and previous core subsystem library sizes are 
12951 shown below.  These are the code and data sizes for the acpica.lib 
12952 produced 
12953 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12954 any ACPI driver or OSPM code.  The debug version of the code includes the 
12955 debug output trace mechanism and has a much larger code and data size.  
12956 Note 
12957 that these values will vary depending on the efficiency of the compiler 
12958 and 
12959 the compiler options used during generation.
12960
12961   Previous Release:
12962     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
12963     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
12964   Current Release:
12965
12966     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
12967     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
12968
12969
12970
12971 ----------------------------------------
12972 02 April 2004.  Summary of changes for version 20040402:
12973
12974 1) ACPI CA Core Subsystem:
12975
12976 Fixed an interpreter problem where an indirect store through an ArgX 
12977 parameter was incorrectly applying the "implicit conversion rules" during 
12978 the store.  From the ACPI specification: "If the target is a method local 
12979 or 
12980 argument (LocalX or ArgX), no conversion is performed and the result is 
12981 stored directly to the target".  The new behavior is to disable implicit 
12982 conversion during ALL stores to an ArgX.
12983
12984 Changed the behavior of the _PRW method scan to ignore any and all errors 
12985 returned by a given _PRW.  This prevents the scan from aborting from the 
12986 failure of any single _PRW.
12987
12988 Moved the runtime configuration parameters from the global init procedure 
12989 to 
12990 static variables in acglobal.h.  This will allow the host to override the 
12991 default values easily.
12992
12993 Code and Data Size: Current and previous core subsystem library sizes are 
12994 shown below.  These are the code and data sizes for the acpica.lib 
12995 produced 
12996 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12997 any ACPI driver or OSPM code.  The debug version of the code includes the 
12998 debug output trace mechanism and has a much larger code and data size.  
12999 Note 
13000 that these values will vary depending on the efficiency of the compiler 
13001 and 
13002 the compiler options used during generation.
13003
13004   Previous Release:
13005     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13006     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13007   Current Release:
13008     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13009     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13010
13011
13012 2) iASL Compiler/Disassembler:
13013
13014 iASL now fully disassembles SSDTs.  However, External() statements are 
13015 not 
13016 generated automatically for unresolved symbols at this time.  This is a 
13017 planned feature for future implementation.
13018
13019 Fixed a scoping problem in the disassembler that occurs when the type of 
13020 the 
13021 target of a Scope() operator is overridden.  This problem caused an 
13022 incorrectly nested internal namespace to be constructed.
13023
13024 Any warnings or errors that are emitted during disassembly are now 
13025 commented 
13026 out automatically so that the resulting file can be recompiled without 
13027 any 
13028 hand editing.
13029
13030 ----------------------------------------
13031 26 March 2004.  Summary of changes for version 20040326:
13032
13033 1) ACPI CA Core Subsystem:
13034
13035 Implemented support for "wake" GPEs via interaction between GPEs and the 
13036 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
13037 identified as a WAKE GPE and by default will no longer be enabled at 
13038 runtime.  Previously, we were blindly enabling all GPEs with a 
13039 corresponding 
13040 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
13041 We 
13042 believe this has been the cause of thousands of "spurious" GPEs on some 
13043 systems.
13044
13045 This new GPE behavior is can be reverted to the original behavior (enable 
13046 ALL GPEs at runtime) via a runtime flag.
13047
13048 Fixed a problem where aliased control methods could not access objects 
13049 properly.  The proper scope within the namespace was not initialized 
13050 (transferred to the target of the aliased method) before executing the 
13051 target method.
13052
13053 Fixed a potential race condition on internal object deletion on the 
13054 return 
13055 object in AcpiEvaluateObject. 
13056
13057 Integrated a fix for resource descriptors where both _MEM and _MTP were 
13058 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
13059 wide, 0x0F instead of 0x03.)
13060
13061 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
13062 preventing 
13063
13064 fault in some cases.
13065
13066 Updated Notify() values for debug statements in evmisc.c
13067
13068 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
13069
13070 Code and Data Size: Current and previous core subsystem library sizes are 
13071 shown below.  These are the code and data sizes for the acpica.lib 
13072 produced 
13073 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13074 any ACPI driver or OSPM code.  The debug version of the code includes the 
13075 debug output trace mechanism and has a much larger code and data size.  
13076 Note 
13077 that these values will vary depending on the efficiency of the compiler 
13078 and 
13079 the compiler options used during generation.
13080
13081   Previous Release:
13082
13083     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13084     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13085   Current Release:
13086     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13087     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13088
13089 ----------------------------------------
13090 11 March 2004.  Summary of changes for version 20040311:
13091
13092 1) ACPI CA Core Subsystem:
13093
13094 Fixed a problem where errors occurring during the parse phase of control 
13095 method execution did not abort cleanly.  For example, objects created and 
13096 installed in the namespace were not deleted.  This caused all subsequent 
13097 invocations of the method to return the AE_ALREADY_EXISTS exception.
13098
13099 Implemented a mechanism to force a control method to "Serialized" 
13100 execution 
13101 if the method attempts to create namespace objects. (The root of the 
13102 AE_ALREADY_EXISTS problem.)
13103
13104 Implemented support for the predefined _OSI "internal" control method.  
13105 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
13106 and 
13107 "Windows 2001.1", and can be easily upgraded for new strings as 
13108 necessary.  
13109 This feature will allow "other" operating systems to execute the fully 
13110 tested, "Windows" code path through the ASL code
13111
13112 Global Lock Support:  Now allows multiple acquires and releases with any 
13113 internal thread.  Removed concept of "owning thread" for this special 
13114 mutex.
13115
13116 Fixed two functions that were inappropriately declaring large objects on 
13117 the 
13118 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
13119 during 
13120 method execution considerably.
13121
13122 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
13123 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
13124
13125 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
13126 defined on the machine.
13127
13128 Implemented two runtime options:  One to force all control method 
13129 execution 
13130 to "Serialized" to mimic Windows behavior, another to disable _OSI 
13131 support 
13132 if it causes problems on a given machine.
13133
13134 Code and Data Size: Current and previous core subsystem library sizes are 
13135 shown below.  These are the code and data sizes for the acpica.lib 
13136 produced 
13137 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13138 any ACPI driver or OSPM code.  The debug version of the code includes the 
13139 debug output trace mechanism and has a much larger code and data size.  
13140 Note 
13141 that these values will vary depending on the efficiency of the compiler 
13142 and 
13143 the compiler options used during generation.
13144
13145   Previous Release:
13146     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13147     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13148   Current Release:
13149     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13150     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13151
13152 2) iASL Compiler/Disassembler:
13153
13154 Fixed an array size problem for FreeBSD that would cause the compiler to 
13155 fault.
13156
13157 ----------------------------------------
13158 20 February 2004.  Summary of changes for version 20040220:
13159
13160
13161 1) ACPI CA Core Subsystem:
13162
13163 Implemented execution of _SxD methods for Device objects in the 
13164 GetObjectInfo interface.
13165
13166 Fixed calls to _SST method to pass the correct arguments.
13167
13168 Added a call to _SST on wake to restore to "working" state.
13169
13170 Check for End-Of-Buffer failure case in the WalkResources interface.
13171
13172 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
13173 structures to the beginning of the file.
13174
13175 After wake, clear GPE status register(s) before enabling GPEs.
13176
13177 After wake, clear/enable power button.  (Perhaps we should clear/enable 
13178 all 
13179 fixed events upon wake.)
13180
13181 Fixed a couple of possible memory leaks in the Namespace manager.
13182
13183 Integrated latest acnetbsd.h file.
13184
13185 ----------------------------------------
13186 11 February 2004.  Summary of changes for version 20040211:
13187
13188
13189 1) ACPI CA Core Subsystem:
13190
13191 Completed investigation and implementation of the call-by-reference 
13192 mechanism for control method arguments.
13193
13194 Fixed a problem where a store of an object into an indexed package could 
13195 fail if the store occurs within a different method than the method that 
13196 created the package.
13197
13198 Fixed a problem where the ToDecimal operator could return incorrect 
13199 results.
13200
13201 Fixed a problem where the CopyObject operator could fail on some of the 
13202 more 
13203 obscure objects (e.g., Reference objects.)
13204
13205 Improved the output of the Debug object to display buffer, package, and 
13206 index objects.
13207
13208 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
13209 return 
13210 the expected result.
13211
13212 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
13213 ACPI_AML_INTERNAL exception.
13214
13215 Integrated latest version of acfreebsd.h
13216
13217 ----------------------------------------
13218 16 January 2004.  Summary of changes for version 20040116:
13219
13220 The purpose of this release is primarily to update the copyright years in 
13221 each module, thus causing a huge number of diffs.  There are a few small 
13222 functional changes, however.
13223
13224 1) ACPI CA Core Subsystem:
13225
13226 Improved error messages when there is a problem finding one or more of 
13227 the 
13228 required base ACPI tables
13229
13230 Reintroduced the definition of APIC_HEADER in actbl.h
13231
13232 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
13233
13234 Removed extraneous reference to NewObj in dsmthdat.c
13235
13236 2) iASL compiler
13237
13238 Fixed a problem introduced in December that disabled the correct 
13239 disassembly 
13240 of Resource Templates
13241
13242
13243 ----------------------------------------
13244 03 December 2003.  Summary of changes for version 20031203:
13245
13246 1) ACPI CA Core Subsystem:
13247
13248 Changed the initialization of Operation Regions during subsystem
13249 init to perform two entire walks of the ACPI namespace; The first
13250 to initialize the regions themselves, the second to execute the
13251 _REG methods.  This fixed some interdependencies across _REG
13252 methods found on some machines.
13253
13254 Fixed a problem where a Store(Local0, Local1) could simply update
13255 the object reference count, and not create a new copy of the
13256 object if the Local1 is uninitialized.
13257
13258 Implemented support for the _SST reserved method during sleep
13259 transitions.
13260
13261 Implemented support to clear the SLP_TYP and SLP_EN bits when
13262 waking up, this is apparently required by some machines.
13263
13264 When sleeping, clear the wake status only if SleepState is not S5.
13265
13266 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
13267 pointer arithmetic advanced a string pointer too far.
13268
13269 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
13270 could be returned if the requested table has not been loaded.
13271
13272 Within the support for IRQ resources, restructured the handling of
13273 the active and edge/level bits.
13274
13275 Fixed a few problems in AcpiPsxExecute() where memory could be
13276 leaked under certain error conditions.
13277
13278 Improved error messages for the cases where the ACPI mode could
13279 not be entered.
13280
13281 Code and Data Size: Current and previous core subsystem library
13282 sizes are shown below.  These are the code and data sizes for the
13283 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13284 these values do not include any ACPI driver or OSPM code.  The
13285 debug version of the code includes the debug output trace
13286 mechanism and has a much larger code and data size.  Note that
13287 these values will vary depending on the efficiency of the compiler
13288 and the compiler options used during generation.
13289
13290   Previous Release (20031029):
13291     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13292     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13293   Current Release:
13294     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13295     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13296
13297 2) iASL Compiler/Disassembler:
13298
13299 Implemented a fix for the iASL disassembler where a bad index was
13300 generated.  This was most noticeable on 64-bit platforms
13301
13302
13303 ----------------------------------------
13304 29 October 2003.  Summary of changes for version 20031029:
13305
13306 1) ACPI CA Core Subsystem:
13307
13308
13309 Fixed a problem where a level-triggered GPE with an associated
13310 _Lxx control method was incorrectly cleared twice.
13311
13312 Fixed a problem with the Field support code where an access can
13313 occur beyond the end-of-region if the field is non-aligned but
13314 extends to the very end of the parent region (resulted in an
13315 AE_AML_REGION_LIMIT exception.)
13316
13317 Fixed a problem with ACPI Fixed Events where an RT Clock handler
13318 would not get invoked on an RTC event.  The RTC event bitmasks for
13319 the PM1 registers were not being initialized properly.
13320
13321 Implemented support for executing _STA and _INI methods for
13322 Processor objects.  Although this is currently not part of the
13323 ACPI specification, there is existing ASL code that depends on the
13324 init-time execution of these methods.
13325
13326 Implemented and deployed a GetDescriptorName function to decode
13327 the various types of internal descriptors.  Guards against null
13328 descriptors during debug output also.
13329
13330 Implemented and deployed a GetNodeName function to extract the 4-
13331 character namespace node name.  This function simplifies the debug
13332 and error output, as well as guarding against null pointers during
13333 output.
13334
13335 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
13336 simplify the debug and error output of 64-bit integers.  This
13337 macro replaces the HIDWORD and LODWORD macros for dumping these
13338 integers.
13339
13340 Updated the implementation of the Stall() operator to only call
13341 AcpiOsStall(), and also return an error if the operand is larger
13342 than 255.  This preserves the required behavior of not
13343 relinquishing the processor, as would happen if AcpiOsSleep() was
13344 called for "long stalls".
13345
13346 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
13347 initialized are now treated as NOOPs.
13348
13349 Cleaned up a handful of warnings during 64-bit generation.
13350
13351 Fixed a reported error where and incorrect GPE number was passed
13352 to the GPE dispatch handler.  This value is only used for error
13353 output, however.  Used this opportunity to clean up and streamline
13354 the GPE dispatch code.
13355
13356 Code and Data Size: Current and previous core subsystem library
13357 sizes are shown below.  These are the code and data sizes for the
13358 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13359 these values do not include any ACPI driver or OSPM code.  The
13360
13361 debug version of the code includes the debug output trace
13362 mechanism and has a much larger code and data size.  Note that
13363 these values will vary depending on the efficiency of the compiler
13364 and the compiler options used during generation.
13365
13366   Previous Release (20031002):
13367     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13368     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13369   Current Release:
13370     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13371     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13372
13373
13374 2) iASL Compiler/Disassembler:
13375
13376 Updated the iASL compiler to return an error if the operand to the
13377 Stall() operator is larger than 255.
13378
13379
13380 ----------------------------------------
13381 02 October 2003.  Summary of changes for version 20031002:
13382
13383
13384 1) ACPI CA Core Subsystem:
13385
13386 Fixed a problem with Index Fields where the index was not
13387 incremented for fields that require multiple writes to the
13388 index/data registers (Fields that are wider than the data
13389 register.)
13390
13391 Fixed a problem with all Field objects where a write could go
13392 beyond the end-of-field if the field was larger than the access
13393 granularity and therefore required multiple writes to complete the
13394 request.  An extra write beyond the end of the field could happen
13395 inadvertently.
13396
13397 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
13398 would incorrectly be returned if the width of the Data Register
13399 was larger than the specified field access width.
13400
13401 Completed fixes for LoadTable() and Unload() and verified their
13402 operation.  Implemented full support for the "DdbHandle" object
13403 throughout the ACPI CA subsystem.
13404
13405 Implemented full support for the MADT and ECDT tables in the ACPI
13406 CA header files.  Even though these tables are not directly
13407 consumed by ACPI CA, the header definitions are useful for ACPI
13408 device drivers.
13409
13410 Integrated resource descriptor fixes posted to the Linux ACPI
13411 list.  This included checks for minimum descriptor length, and
13412 support for trailing NULL strings within descriptors that have
13413 optional string elements.
13414
13415 Code and Data Size: Current and previous core subsystem library
13416 sizes are shown below.  These are the code and data sizes for the
13417 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13418 these values do not include any ACPI driver or OSPM code.  The
13419 debug version of the code includes the debug output trace
13420 mechanism and has a much larger code and data size.  Note that
13421 these values will vary depending on the efficiency of the compiler
13422 and the compiler options used during generation.
13423
13424   Previous Release (20030918):
13425     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13426     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13427   Current Release:
13428     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13429     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13430
13431
13432 2) iASL Compiler:
13433
13434 Implemented detection of non-ASCII characters within the input
13435 source ASL file.  This catches attempts to compile binary (AML)
13436 files early in the compile, with an informative error message.
13437
13438 Fixed a problem where the disassembler would fault if the output
13439 filename could not be generated or if the output file could not be
13440 opened.
13441
13442 ----------------------------------------
13443 18 September 2003.  Summary of changes for version 20030918:
13444
13445
13446 1) ACPI CA Core Subsystem:
13447
13448 Found and fixed a longstanding problem with the late execution of
13449 the various deferred AML opcodes (such as Operation Regions,
13450 Buffer Fields, Buffers, and Packages).  If the name string
13451 specified for the name of the new object placed the object in a
13452 scope other than the current scope, the initialization/execution
13453 of the opcode failed.  The solution to this problem was to
13454 implement a mechanism where the late execution of such opcodes
13455 does not attempt to lookup/create the name a second time in an
13456 incorrect scope.  This fixes the "region size computed
13457 incorrectly" problem.
13458
13459 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
13460 Global Lock AE_BAD_PARAMETER error.
13461
13462 Fixed several 64-bit issues with prototypes, casting and data
13463 types.
13464
13465 Removed duplicate prototype from acdisasm.h
13466
13467 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
13468
13469 Code and Data Size: Current and previous core subsystem library
13470 sizes are shown below.  These are the code and data sizes for the
13471 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13472 these values do not include any ACPI driver or OSPM code.  The
13473 debug version of the code includes the debug output trace
13474 mechanism and has a much larger code and data size.  Note that
13475 these values will vary depending on the efficiency of the compiler
13476 and the compiler options used during generation.
13477
13478   Previous Release:
13479
13480     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
13481     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
13482   Current Release:
13483     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13484     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13485
13486
13487 2) Linux:
13488
13489 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
13490 correct sleep time in seconds.
13491
13492 ----------------------------------------
13493 14 July 2003.  Summary of changes for version 20030619:
13494
13495 1) ACPI CA Core Subsystem:
13496
13497 Parse SSDTs in order discovered, as opposed to reverse order
13498 (Hrvoje Habjanic)
13499
13500 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
13501 Klausner,
13502    Nate Lawson)
13503
13504
13505 2) Linux:
13506
13507 Dynamically allocate SDT list (suggested by Andi Kleen)
13508
13509 proc function return value cleanups (Andi Kleen)
13510
13511 Correctly handle NMI watchdog during long stalls (Andrew Morton)
13512
13513 Make it so acpismp=force works (reported by Andrew Morton)
13514
13515
13516 ----------------------------------------
13517 19 June 2003.  Summary of changes for version 20030619:
13518
13519 1) ACPI CA Core Subsystem:
13520
13521 Fix To/FromBCD, eliminating the need for an arch-specific #define.
13522
13523 Do not acquire a semaphore in the S5 shutdown path.
13524
13525 Fix ex_digits_needed for 0. (Takayoshi Kochi)
13526
13527 Fix sleep/stall code reversal. (Andi Kleen)
13528
13529 Revert a change having to do with control method calling
13530 semantics.
13531
13532 2) Linux:
13533
13534 acpiphp update (Takayoshi Kochi)
13535
13536 Export acpi_disabled for sonypi (Stelian Pop)
13537
13538 Mention acpismp=force in config help
13539
13540 Re-add acpitable.c and acpismp=force. This improves backwards
13541
13542 compatibility and also cleans up the code to a significant degree.
13543
13544 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
13545
13546 ----------------------------------------
13547 22 May 2003.  Summary of changes for version 20030522:
13548
13549 1) ACPI CA Core Subsystem:
13550
13551 Found and fixed a reported problem where an AE_NOT_FOUND error
13552 occurred occasionally during _BST evaluation.  This turned out to
13553 be an Owner ID allocation issue where a called method did not get
13554 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
13555 ID UINT16 would wraparound so that the ID would be the same as the
13556 caller's and the called method would delete the caller's
13557 namespace.
13558
13559 Implemented extended error reporting for control methods that are
13560 aborted due to a run-time exception.  Output includes the exact
13561 AML instruction that caused the method abort, a dump of the method
13562 locals and arguments at the time of the abort, and a trace of all
13563 nested control method calls.
13564
13565 Modified the interpreter to allow the creation of buffers of zero
13566 length from the AML code. Implemented new code to ensure that no
13567 attempt is made to actually allocate a memory buffer (of length
13568 zero) - instead, a simple buffer object with a NULL buffer pointer
13569 and length zero is created.  A warning is no longer issued when
13570 the AML attempts to create a zero-length buffer.
13571
13572 Implemented a workaround for the "leading asterisk issue" in
13573 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
13574 asterisk is automatically removed if present in any HID, UID, or
13575 CID strings.  The iASL compiler will still flag this asterisk as
13576 an error, however.
13577
13578 Implemented full support for _CID methods that return a package of
13579 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
13580 now additionally returns a device _CID list if present.  This
13581 required a change to the external interface in order to pass an
13582 ACPI_BUFFER object as a parameter since the _CID list is of
13583 variable length.
13584
13585 Fixed a problem with the new AE_SAME_HANDLER exception where
13586 handler initialization code did not know about this exception.
13587
13588 Code and Data Size: Current and previous core subsystem library
13589 sizes are shown below.  These are the code and data sizes for the
13590 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13591 these values do not include any ACPI driver or OSPM code.  The
13592 debug version of the code includes the debug output trace
13593 mechanism and has a much larger code and data size.  Note that
13594 these values will vary depending on the efficiency of the compiler
13595 and the compiler options used during generation.
13596
13597   Previous Release (20030509):
13598     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
13599     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
13600   Current Release:
13601     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
13602     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
13603
13604
13605 2) Linux:
13606
13607 Fixed a bug in which we would reinitialize the ACPI interrupt
13608 after it was already working, thus disabling all ACPI and the IRQs
13609 for any other device sharing the interrupt. (Thanks to Stian
13610 Jordet)
13611
13612 Toshiba driver update (John Belmonte)
13613
13614 Return only 0 or 1 for our interrupt handler status (Andrew
13615 Morton)
13616
13617
13618 3) iASL Compiler:
13619
13620 Fixed a reported problem where multiple (nested) ElseIf()
13621 statements were not handled correctly by the compiler, resulting
13622 in incorrect warnings and incorrect AML code.  This was a problem
13623 in both the ASL parser and the code generator.
13624
13625
13626 4) Documentation:
13627
13628 Added changes to existing interfaces, new exception codes, and new
13629 text concerning reference count object management versus garbage
13630 collection.
13631
13632 ----------------------------------------
13633 09 May 2003.  Summary of changes for version 20030509.
13634
13635
13636 1) ACPI CA Core Subsystem:
13637
13638 Changed the subsystem initialization sequence to hold off
13639 installation of address space handlers until the hardware has been
13640 initialized and the system has entered ACPI mode.  This is because
13641 the installation of space handlers can cause _REG methods to be
13642 run.  Previously, the _REG methods could potentially be run before
13643 ACPI mode was enabled.
13644
13645 Fixed some memory leak issues related to address space handler and
13646 notify handler installation.  There were some problems with the
13647 reference count mechanism caused by the fact that the handler
13648 objects are shared across several namespace objects.
13649
13650 Fixed a reported problem where reference counts within the
13651 namespace were not properly updated when named objects created by
13652 method execution were deleted.
13653
13654 Fixed a reported problem where multiple SSDTs caused a deletion
13655 issue during subsystem termination.  Restructured the table data
13656 structures to simplify the linked lists and the related code.
13657
13658 Fixed a problem where the table ID associated with secondary
13659 tables (SSDTs) was not being propagated into the namespace objects
13660 created by those tables.  This would only present a problem for
13661 tables that are unloaded at run-time, however.
13662
13663 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
13664 type as the length parameter (instead of UINT32).
13665
13666 Solved a long-standing problem where an ALREADY_EXISTS error
13667 appears on various systems.  This problem could happen when there
13668 are multiple PCI_Config operation regions under a single PCI root
13669 bus.  This doesn't happen very frequently, but there are some
13670 systems that do this in the ASL.
13671
13672 Fixed a reported problem where the internal DeleteNode function
13673 was incorrectly handling the case where a namespace node was the
13674 first in the parent's child list, and had additional peers (not
13675 the only child, but first in the list of children.)
13676
13677 Code and Data Size: Current core subsystem library sizes are shown
13678 below.  These are the code and data sizes for the acpica.lib
13679 produced by the Microsoft Visual C++ 6.0 compiler, and these
13680 values do not include any ACPI driver or OSPM code.  The debug
13681 version of the code includes the debug output trace mechanism and
13682 has a much larger code and data size.  Note that these values will
13683 vary depending on the efficiency of the compiler and the compiler
13684 options used during generation.
13685
13686   Previous Release
13687     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
13688     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
13689   Current Release:
13690     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
13691     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
13692
13693
13694 2) Linux:
13695
13696 Allow ":" in OS override string (Ducrot Bruno)
13697
13698 Kobject fix (Greg KH)
13699
13700
13701 3 iASL Compiler/Disassembler:
13702
13703 Fixed a problem in the generation of the C source code files (AML
13704 is emitted in C source statements for BIOS inclusion) where the
13705 Ascii dump that appears within a C comment at the end of each line
13706 could cause a compile time error if the AML sequence happens to
13707 have an open comment or close comment sequence embedded.
13708
13709
13710 ----------------------------------------
13711 24 April 2003.  Summary of changes for version 20030424.
13712
13713
13714 1) ACPI CA Core Subsystem:
13715
13716 Support for big-endian systems has been implemented.  Most of the
13717 support has been invisibly added behind big-endian versions of the
13718 ACPI_MOVE_* macros.
13719
13720 Fixed a problem in AcpiHwDisableGpeBlock() and
13721 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
13722 low level hardware write routine.  The offset parameter was
13723 actually eliminated from the low level read/write routines because
13724 they had become obsolete.
13725
13726 Fixed a problem where a handler object was deleted twice during
13727 the removal of a fixed event handler.
13728
13729
13730 2) Linux:
13731
13732 A fix for SMP systems with link devices was contributed by
13733
13734 Compaq's Dan Zink.
13735
13736 (2.5) Return whether we handled the interrupt in our IRQ handler.
13737 (Linux ISRs no longer return void, so we can propagate the handler
13738 return value from the ACPI CA core back to the OS.)
13739
13740
13741
13742 3) Documentation:
13743
13744 The ACPI CA Programmer Reference has been updated to reflect new
13745 interfaces and changes to existing interfaces.
13746
13747 ----------------------------------------
13748 28 March 2003.  Summary of changes for version 20030328.
13749
13750 1) ACPI CA Core Subsystem:
13751
13752 The GPE Block Device support has been completed.  New interfaces
13753 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
13754 interfaces (enable, disable, clear, getstatus) have been split
13755 into separate interfaces for Fixed Events and General Purpose
13756 Events (GPEs) in order to support GPE Block Devices properly.
13757
13758 Fixed a problem where the error message "Failed to acquire
13759 semaphore" would appear during operations on the embedded
13760 controller (EC).
13761
13762 Code and Data Size: Current core subsystem library sizes are shown
13763 below.  These are the code and data sizes for the acpica.lib
13764 produced by the Microsoft Visual C++ 6.0 compiler, and these
13765 values do not include any ACPI driver or OSPM code.  The debug
13766 version of the code includes the debug output trace mechanism and
13767 has a much larger code and data size.  Note that these values will
13768 vary depending on the efficiency of the compiler and the compiler
13769 options used during generation.
13770
13771   Previous Release
13772     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
13773     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
13774   Current Release:
13775     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
13776     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
13777
13778
13779 ----------------------------------------
13780 28 February 2003.  Summary of changes for version 20030228.
13781
13782
13783 1) ACPI CA Core Subsystem:
13784
13785 The GPE handling and dispatch code has been completely overhauled
13786 in preparation for support of GPE Block Devices (ID ACPI0006).
13787 This affects internal data structures and code only; there should
13788 be no differences visible externally.  One new file has been
13789 added, evgpeblk.c
13790
13791 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
13792 fields that are used to determine the GPE block lengths.  The
13793 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
13794 structures are ignored.  This is per the ACPI specification but it
13795 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
13796 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
13797
13798 In the SCI interrupt handler, removed the read of the PM1_CONTROL
13799 register to look at the SCI_EN bit.  On some machines, this read
13800 causes an SMI event and greatly slows down SCI events.  (This may
13801 in fact be the cause of slow battery status response on some
13802 systems.)
13803
13804 Fixed a problem where a store of a NULL string to a package object
13805 could cause the premature deletion of the object.  This was seen
13806 during execution of the battery _BIF method on some systems,
13807 resulting in no battery data being returned.
13808
13809 Added AcpiWalkResources interface to simplify parsing of resource
13810 lists.
13811
13812 Code and Data Size: Current core subsystem library sizes are shown
13813 below.  These are the code and data sizes for the acpica.lib
13814 produced by the Microsoft Visual C++ 6.0 compiler, and these
13815 values do not include any ACPI driver or OSPM code.  The debug
13816 version of the code includes the debug output trace mechanism and
13817 has a much larger code and data size.  Note that these values will
13818 vary depending on the efficiency of the compiler and the compiler
13819 options used during generation.
13820
13821   Previous Release
13822     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
13823     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
13824   Current Release:
13825     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
13826     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
13827
13828
13829 2) Linux
13830
13831 S3 fixes (Ole Rohne)
13832
13833 Update ACPI PHP driver with to use new acpi_walk_resource API
13834 (Bjorn Helgaas)
13835
13836 Add S4BIOS support (Pavel Machek)
13837
13838 Map in entire table before performing checksum (John Stultz)
13839
13840 Expand the mem= cmdline to allow the specification of reserved and
13841 ACPI DATA blocks (Pavel Machek)
13842
13843 Never use ACPI on VISWS
13844
13845 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
13846
13847 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
13848 causing us to think that some systems support C2 when they really
13849 don't.
13850
13851 Do not count processor objects for non-present CPUs (Thanks to
13852 Dominik Brodowski)
13853
13854
13855 3) iASL Compiler:
13856
13857 Fixed a problem where ASL include files could not be found and
13858 opened.
13859
13860 Added support for the _PDC reserved name.
13861
13862
13863 ----------------------------------------
13864 22 January 2003.  Summary of changes for version 20030122.
13865
13866
13867 1) ACPI CA Core Subsystem:
13868
13869 Added a check for constructs of the form:  Store (Local0, Local0)
13870 where Local0 is not initialized.  Apparently, some BIOS
13871 programmers believe that this is a NOOP.  Since this store doesn't
13872 do anything anyway, the new prototype behavior will ignore this
13873 error.  This is a case where we can relax the strict checking in
13874 the interpreter in the name of compatibility.
13875
13876
13877 2) Linux
13878
13879 The AcpiSrc Source Conversion Utility has been released with the
13880 Linux package for the first time.  This is the utility that is
13881 used to convert the ACPI CA base source code to the Linux version.
13882
13883 (Both) Handle P_BLK lengths shorter than 6 more gracefully
13884
13885 (Both) Move more headers to include/acpi, and delete an unused
13886 header.
13887
13888 (Both) Move drivers/acpi/include directory to include/acpi
13889
13890 (Both) Boot functions don't use cmdline, so don't pass it around
13891
13892 (Both) Remove include of unused header (Adrian Bunk)
13893
13894 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
13895 the
13896 former now also includes the latter, acpiphp.h only needs the one,
13897 now.
13898
13899 (2.5) Make it possible to select method of bios restoring after S3
13900 resume. [=> no more ugly ifdefs] (Pavel Machek)
13901
13902 (2.5) Make proc write interfaces work (Pavel Machek)
13903
13904 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
13905
13906 (2.5) Break out ACPI Perf code into its own module, under cpufreq
13907 (Dominik Brodowski)
13908
13909 (2.4) S4BIOS support (Ducrot Bruno)
13910
13911 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
13912 Visinoni)
13913
13914
13915 3) iASL Compiler:
13916
13917 Added support to disassemble SSDT and PSDTs.
13918
13919 Implemented support to obtain SSDTs from the Windows registry if
13920 available.
13921
13922
13923 ----------------------------------------
13924 09 January 2003.  Summary of changes for version 20030109.
13925
13926 1) ACPI CA Core Subsystem:
13927
13928 Changed the behavior of the internal Buffer-to-String conversion
13929 function.  The current ACPI specification states that the contents
13930 of the buffer are "converted to a string of two-character
13931 hexadecimal numbers, each separated by a space".  Unfortunately,
13932 this definition is not backwards compatible with existing ACPI 1.0
13933 implementations (although the behavior was not defined in the ACPI
13934 1.0 specification).  The new behavior simply copies data from the
13935 buffer to the string until a null character is found or the end of
13936 the buffer is reached.  The new String object is always null
13937 terminated.  This problem was seen during the generation of _BIF
13938 battery data where incorrect strings were returned for battery
13939 type, etc.  This will also require an errata to the ACPI
13940 specification.
13941
13942 Renamed all instances of NATIVE_UINT and NATIVE_INT to
13943 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
13944
13945 Copyright in all module headers (both Linux and non-Linux) has be
13946 updated to 2003.
13947
13948 Code and Data Size: Current core subsystem library sizes are shown
13949 below.  These are the code and data sizes for the acpica.lib
13950 produced by the Microsoft Visual C++ 6.0 compiler, and these
13951 values do not include any ACPI driver or OSPM code.  The debug
13952 version of the code includes the debug output trace mechanism and
13953 has a much larger code and data size.  Note that these values will
13954 vary depending on the efficiency of the compiler and the compiler
13955 options used during generation.
13956
13957   Previous Release
13958     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
13959     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
13960   Current Release:
13961     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
13962     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
13963
13964
13965 2) Linux
13966
13967 Fixed an oops on module insertion/removal (Matthew Tippett)
13968
13969 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
13970
13971 (2.5) Replace pr_debug (Randy Dunlap)
13972
13973 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
13974
13975 (Both) Eliminate spawning of thread from timer callback, in favor
13976 of schedule_work()
13977
13978 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
13979
13980 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
13981
13982 (Both) Add missing statics to button.c (Pavel Machek)
13983
13984 Several changes have been made to the source code translation
13985 utility that generates the Linux Code in order to make the code
13986 more "Linux-like":
13987
13988 All typedefs on structs and unions have been removed in keeping
13989 with the Linux coding style.
13990
13991 Removed the non-Linux SourceSafe module revision number from each
13992 module header.
13993
13994 Completed major overhaul of symbols to be lowercased for linux.
13995 Doubled the number of symbols that are lowercased.
13996
13997 Fixed a problem where identifiers within procedure headers and
13998 within quotes were not fully lower cased (they were left with a
13999 starting capital.)
14000
14001 Some C macros whose only purpose is to allow the generation of 16-
14002 bit code are now completely removed in the Linux code, increasing
14003 readability and maintainability.
14004
14005 ----------------------------------------
14006
14007 12 December 2002.  Summary of changes for version 20021212.
14008
14009
14010 1) ACPI CA Core Subsystem:
14011
14012 Fixed a problem where the creation of a zero-length AML Buffer
14013 would cause a fault.
14014
14015 Fixed a problem where a Buffer object that pointed to a static AML
14016 buffer (in an ACPI table) could inadvertently be deleted, causing
14017 memory corruption.
14018
14019 Fixed a problem where a user buffer (passed in to the external
14020 ACPI CA interfaces) could be overwritten if the buffer was too
14021 small to complete the operation, causing memory corruption.
14022
14023 Fixed a problem in the Buffer-to-String conversion code where a
14024 string of length one was always returned, regardless of the size
14025 of the input Buffer object.
14026
14027 Removed the NATIVE_CHAR data type across the entire source due to
14028 lack of need and lack of consistent use.
14029
14030 Code and Data Size: Current core subsystem library sizes are shown
14031 below.  These are the code and data sizes for the acpica.lib
14032 produced by the Microsoft Visual C++ 6.0 compiler, and these
14033 values do not include any ACPI driver or OSPM code.  The debug
14034 version of the code includes the debug output trace mechanism and
14035 has a much larger code and data size.  Note that these values will
14036 vary depending on the efficiency of the compiler and the compiler
14037 options used during generation.
14038
14039   Previous Release
14040     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14041     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14042   Current Release:
14043     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14044     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14045
14046
14047 ----------------------------------------
14048 05 December 2002.  Summary of changes for version 20021205.
14049
14050 1) ACPI CA Core Subsystem:
14051
14052 Fixed a problem where a store to a String or Buffer object could
14053 cause corruption of the DSDT if the object type being stored was
14054 the same as the target object type and the length of the object
14055 being stored was equal to or smaller than the original (existing)
14056 target object.  This was seen to cause corruption of battery _BIF
14057 buffers if the _BIF method modified the buffer on the fly.
14058
14059 Fixed a problem where an internal error was generated if a control
14060 method invocation was used in an OperationRegion, Buffer, or
14061 Package declaration.  This was caused by the deferred parsing of
14062 the control method and thus the deferred creation of the internal
14063 method object.  The solution to this problem was to create the
14064 internal method object at the moment the method is encountered in
14065 the first pass - so that subsequent references to the method will
14066 able to obtain the required parameter count and thus properly
14067 parse the method invocation.  This problem presented itself as an
14068 AE_AML_INTERNAL during the pass 1 parse phase during table load.
14069
14070 Fixed a problem where the internal String object copy routine did
14071 not always allocate sufficient memory for the target String object
14072 and caused memory corruption.  This problem was seen to cause
14073 "Allocation already present in list!" errors as memory allocation
14074 became corrupted.
14075
14076 Implemented a new function for the evaluation of namespace objects
14077 that allows the specification of the allowable return object
14078 types.  This simplifies a lot of code that checks for a return
14079 object of one or more specific objects returned from the
14080 evaluation (such as _STA, etc.)  This may become and external
14081 function if it would be useful to ACPI-related drivers.
14082
14083 Completed another round of prefixing #defines with "ACPI_" for
14084 clarity.
14085
14086 Completed additional code restructuring to allow more modular
14087 linking for iASL compiler and AcpiExec.  Several files were split
14088 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
14089
14090 Implemented an abort mechanism to terminate an executing control
14091 method via the AML debugger.  This feature is useful for debugging
14092 control methods that depend (wait) for specific hardware
14093 responses.
14094
14095 Code and Data Size: Current core subsystem library sizes are shown
14096 below.  These are the code and data sizes for the acpica.lib
14097 produced by the Microsoft Visual C++ 6.0 compiler, and these
14098 values do not include any ACPI driver or OSPM code.  The debug
14099 version of the code includes the debug output trace mechanism and
14100 has a much larger code and data size.  Note that these values will
14101 vary depending on the efficiency of the compiler and the compiler
14102 options used during generation.
14103
14104   Previous Release
14105     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14106     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14107   Current Release:
14108     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14109     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14110
14111
14112 2) iASL Compiler/Disassembler
14113
14114 Fixed a compiler code generation problem for "Interrupt" Resource
14115 Descriptors.  If specified in the ASL, the optional "Resource
14116 Source Index" and "Resource Source" fields were not inserted into
14117 the correct location within the AML resource descriptor, creating
14118 an invalid descriptor.
14119
14120 Fixed a disassembler problem for "Interrupt" resource descriptors.
14121 The optional "Resource Source Index" and "Resource Source" fields
14122 were ignored.
14123
14124
14125 ----------------------------------------
14126 22 November 2002.  Summary of changes for version 20021122.
14127
14128
14129 1) ACPI CA Core Subsystem:
14130
14131 Fixed a reported problem where an object stored to a Method Local
14132 or Arg was not copied to a new object during the store - the
14133 object pointer was simply copied to the Local/Arg.  This caused
14134 all subsequent operations on the Local/Arg to also affect the
14135 original source of the store operation.
14136
14137 Fixed a problem where a store operation to a Method Local or Arg
14138 was not completed properly if the Local/Arg contained a reference
14139 (from RefOf) to a named field.  The general-purpose store-to-
14140 namespace-node code is now used so that this case is handled
14141 automatically.
14142
14143 Fixed a problem where the internal object copy routine would cause
14144 a protection fault if the object being copied was a Package and
14145 contained either 1) a NULL package element or 2) a nested sub-
14146 package.
14147
14148 Fixed a problem with the GPE initialization that resulted from an
14149 ambiguity in the ACPI specification.  One section of the
14150 specification states that both the address and length of the GPE
14151 block must be zero if the block is not supported.  Another section
14152 implies that only the address need be zero if the block is not
14153 supported.  The code has been changed so that both the address and
14154 the length must be non-zero to indicate a valid GPE block (i.e.,
14155 if either the address or the length is zero, the GPE block is
14156 invalid.)
14157
14158 Code and Data Size: Current core subsystem library sizes are shown
14159 below.  These are the code and data sizes for the acpica.lib
14160 produced by the Microsoft Visual C++ 6.0 compiler, and these
14161 values do not include any ACPI driver or OSPM code.  The debug
14162 version of the code includes the debug output trace mechanism and
14163 has a much larger code and data size.  Note that these values will
14164 vary depending on the efficiency of the compiler and the compiler
14165 options used during generation.
14166
14167   Previous Release
14168     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14169     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14170   Current Release:
14171     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14172     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14173
14174
14175 2) Linux
14176
14177 Cleaned up EC driver. Exported an external EC read/write
14178 interface. By going through this, other drivers (most notably
14179 sonypi) will be able to serialize access to the EC.
14180
14181
14182 3) iASL Compiler/Disassembler
14183
14184 Implemented support to optionally generate include files for both
14185 ASM and C (the -i switch).  This simplifies BIOS development by
14186 automatically creating include files that contain external
14187 declarations for the symbols that are created within the
14188
14189 (optionally generated) ASM and C AML source files.
14190
14191
14192 ----------------------------------------
14193 15 November 2002.  Summary of changes for version 20021115.
14194
14195 1) ACPI CA Core Subsystem:
14196
14197 Fixed a memory leak problem where an error during resolution of
14198
14199 method arguments during a method invocation from another method
14200 failed to cleanup properly by deleting all successfully resolved
14201 argument objects.
14202
14203 Fixed a problem where the target of the Index() operator was not
14204 correctly constructed if the source object was a package.  This
14205 problem has not been detected because the use of a target operand
14206 with Index() is very rare.
14207
14208 Fixed a problem with the Index() operator where an attempt was
14209 made to delete the operand objects twice.
14210
14211 Fixed a problem where an attempt was made to delete an operand
14212 twice during execution of the CondRefOf() operator if the target
14213 did not exist.
14214
14215 Implemented the first of perhaps several internal create object
14216 functions that create and initialize a specific object type.  This
14217 consolidates duplicated code wherever the object is created, thus
14218 shrinking the size of the subsystem.
14219
14220 Implemented improved debug/error messages for errors that occur
14221 during nested method invocations.  All executing method pathnames
14222 are displayed (with the error) as the call stack is unwound - thus
14223 simplifying debug.
14224
14225 Fixed a problem introduced in the 10/02 release that caused
14226 premature deletion of a buffer object if a buffer was used as an
14227 ASL operand where an integer operand is required (Thus causing an
14228 implicit object conversion from Buffer to Integer.)  The change in
14229 the 10/02 release was attempting to fix a memory leak (albeit
14230 incorrectly.)
14231
14232 Code and Data Size: Current core subsystem library sizes are shown
14233 below.  These are the code and data sizes for the acpica.lib
14234 produced by the Microsoft Visual C++ 6.0 compiler, and these
14235 values do not include any ACPI driver or OSPM code.  The debug
14236 version of the code includes the debug output trace mechanism and
14237 has a much larger code and data size.  Note that these values will
14238 vary depending on the efficiency of the compiler and the compiler
14239 options used during generation.
14240
14241   Previous Release
14242     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14243     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14244   Current Release:
14245     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14246     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14247
14248
14249 2) Linux
14250
14251 Changed the implementation of the ACPI semaphores to use down()
14252 instead of down_interruptable().  It is important that the
14253 execution of ACPI control methods not be interrupted by signals.
14254 Methods must run to completion, or the system may be left in an
14255 unknown/unstable state.
14256
14257 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
14258 (Shawn Starr)
14259
14260
14261 3) iASL Compiler/Disassembler
14262
14263
14264 Changed the default location of output files.  All output files
14265 are now placed in the current directory by default instead of in
14266 the directory of the source file.  This change may affect some
14267 existing makefiles, but it brings the behavior of the compiler in
14268 line with other similar tools.  The location of the output files
14269 can be overridden with the -p command line switch.
14270
14271
14272 ----------------------------------------
14273 11 November 2002.  Summary of changes for version 20021111.
14274
14275
14276 0) ACPI Specification 2.0B is released and is now available at:
14277 http://www.acpi.info/index.html
14278
14279
14280 1) ACPI CA Core Subsystem:
14281
14282 Implemented support for the ACPI 2.0 SMBus Operation Regions.
14283 This includes the early detection and handoff of the request to
14284 the SMBus region handler (avoiding all of the complex field
14285 support code), and support for the bidirectional return packet
14286 from an SMBus write operation.  This paves the way for the
14287 development of SMBus drivers in each host operating system.
14288
14289 Fixed a problem where the semaphore WAIT_FOREVER constant was
14290 defined as 32 bits, but must be 16 bits according to the ACPI
14291 specification.  This had the side effect of causing ASL
14292 Mutex/Event timeouts even though the ASL code requested a wait
14293 forever.  Changed all internal references to the ACPI timeout
14294 parameter to 16 bits to prevent future problems.  Changed the name
14295 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
14296
14297 Code and Data Size: Current core subsystem library sizes are shown
14298 below.  These are the code and data sizes for the acpica.lib
14299 produced by the Microsoft Visual C++ 6.0 compiler, and these
14300 values do not include any ACPI driver or OSPM code.  The debug
14301 version of the code includes the debug output trace mechanism and
14302 has a much larger code and data size.  Note that these values will
14303 vary depending on the efficiency of the compiler and the compiler
14304 options used during generation.
14305
14306   Previous Release
14307     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14308     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14309   Current Release:
14310     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14311     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14312
14313
14314 2) Linux
14315
14316 Module loading/unloading fixes (John Cagle)
14317
14318
14319 3) iASL Compiler/Disassembler
14320
14321 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
14322
14323 Implemented support for the disassembly of all SMBus protocol
14324 keywords (SMBQuick, SMBWord, etc.)
14325
14326 ----------------------------------------
14327 01 November 2002.  Summary of changes for version 20021101.
14328
14329
14330 1) ACPI CA Core Subsystem:
14331
14332 Fixed a problem where platforms that have a GPE1 block but no GPE0
14333 block were not handled correctly.  This resulted in a "GPE
14334 overlap" error message.  GPE0 is no longer required.
14335
14336 Removed code added in the previous release that inserted nodes
14337 into the namespace in alphabetical order.  This caused some side-
14338 effects on various machines.  The root cause of the problem is
14339 still under investigation since in theory, the internal ordering
14340 of the namespace nodes should not matter.
14341
14342
14343 Enhanced error reporting for the case where a named object is not
14344 found during control method execution.  The full ACPI namepath
14345 (name reference) of the object that was not found is displayed in
14346 this case.
14347
14348 Note: as a result of the overhaul of the namespace object types in
14349 the previous release, the namespace nodes for the predefined
14350 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
14351 instead of ACPI_TYPE_ANY.  This simplifies the namespace
14352 management code but may affect code that walks the namespace tree
14353 looking for specific object types.
14354
14355 Code and Data Size: Current core subsystem library sizes are shown
14356 below.  These are the code and data sizes for the acpica.lib
14357 produced by the Microsoft Visual C++ 6.0 compiler, and these
14358 values do not include any ACPI driver or OSPM code.  The debug
14359 version of the code includes the debug output trace mechanism and
14360 has a much larger code and data size.  Note that these values will
14361 vary depending on the efficiency of the compiler and the compiler
14362 options used during generation.
14363
14364   Previous Release
14365     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14366     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14367   Current Release:
14368     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14369     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14370
14371
14372 2) Linux
14373
14374 Fixed a problem introduced in the previous release where the
14375 Processor and Thermal objects were not recognized and installed in
14376 /proc.  This was related to the scope type change described above.
14377
14378
14379 3) iASL Compiler/Disassembler
14380
14381 Implemented the -g option to get all of the required ACPI tables
14382 from the registry and save them to files (Windows version of the
14383 compiler only.)  The required tables are the FADT, FACS, and DSDT.
14384
14385 Added ACPI table checksum validation during table disassembly in
14386 order to catch corrupted tables.
14387
14388
14389 ----------------------------------------
14390 22 October 2002.  Summary of changes for version 20021022.
14391
14392 1) ACPI CA Core Subsystem:
14393
14394 Implemented a restriction on the Scope operator that the target
14395 must already exist in the namespace at the time the operator is
14396 encountered (during table load or method execution).  In other
14397 words, forward references are not allowed and Scope() cannot
14398 create a new object. This changes the previous behavior where the
14399 interpreter would create the name if not found.  This new behavior
14400 correctly enables the search-to-root algorithm during namespace
14401 lookup of the target name.  Because of this upsearch, this fixes
14402 the known Compaq _SB_.OKEC problem and makes both the AML
14403 interpreter and iASL compiler compatible with other ACPI
14404 implementations.
14405
14406 Completed a major overhaul of the internal ACPI object types for
14407 the ACPI Namespace and the associated operand objects.  Many of
14408 these types had become obsolete with the introduction of the two-
14409 pass namespace load.  This cleanup simplifies the code and makes
14410 the entire namespace load mechanism much clearer and easier to
14411 understand.
14412
14413 Improved debug output for tracking scope opening/closing to help
14414 diagnose scoping issues.  The old scope name as well as the new
14415 scope name are displayed.  Also improved error messages for
14416 problems with ASL Mutex objects and error messages for GPE
14417 problems.
14418
14419 Cleaned up the namespace dump code, removed obsolete code.
14420
14421 All string output (for all namespace/object dumps) now uses the
14422 common ACPI string output procedure which handles escapes properly
14423 and does not emit non-printable characters.
14424
14425 Fixed some issues with constants in the 64-bit version of the
14426 local C library (utclib.c)
14427
14428
14429 2) Linux
14430
14431 EC Driver:  No longer attempts to acquire the Global Lock at
14432 interrupt level.
14433
14434
14435 3) iASL Compiler/Disassembler
14436
14437 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
14438 2 opcodes outside of a control method.  This means that the
14439 "executable" operators (versus the "namespace" operators) cannot
14440 be used at the table level; they can only be used within a control
14441 method.
14442
14443 Implemented the restriction on the Scope() operator where the
14444 target must already exist in the namespace at the time the
14445 operator is encountered (during ASL compilation). In other words,
14446 forward references are not allowed and Scope() cannot create a new
14447 object.  This makes the iASL compiler compatible with other ACPI
14448 implementations and makes the Scope() implementation adhere to the
14449 ACPI specification.
14450
14451 Fixed a problem where namepath optimization for the Alias operator
14452 was optimizing the wrong path (of the two namepaths.)  This caused
14453 a "Missing alias link" error message.
14454
14455 Fixed a problem where an "unknown reserved name" warning could be
14456 incorrectly generated for names like "_SB" when the trailing
14457 underscore is not used in the original ASL.
14458
14459 Fixed a problem where the reserved name check did not handle
14460 NamePaths with multiple NameSegs correctly.  The first nameseg of
14461 the NamePath was examined instead of the last NameSeg.
14462
14463
14464 ----------------------------------------
14465
14466 02 October 2002.  Summary of changes for this release.
14467
14468
14469 1) ACPI CA Core Subsystem version 20021002:
14470
14471 Fixed a problem where a store/copy of a string to an existing
14472 string did not always set the string length properly in the String
14473 object.
14474
14475 Fixed a reported problem with the ToString operator where the
14476 behavior was identical to the ToHexString operator instead of just
14477 simply converting a raw buffer to a string data type.
14478
14479 Fixed a problem where CopyObject and the other "explicit"
14480 conversion operators were not updating the internal namespace node
14481 type as part of the store operation.
14482
14483 Fixed a memory leak during implicit source operand conversion
14484 where the original object was not deleted if it was converted to a
14485 new object of a different type.
14486
14487 Enhanced error messages for all problems associated with namespace
14488 lookups.  Common procedure generates and prints the lookup name as
14489 well as the formatted status.
14490
14491 Completed implementation of a new design for the Alias support
14492 within the namespace.  The existing design did not handle the case
14493 where a new object was assigned to one of the two names due to the
14494 use of an explicit conversion operator, resulting in the two names
14495 pointing to two different objects.  The new design simply points
14496 the Alias name to the original name node - not to the object.
14497 This results in a level of indirection that must be handled in the
14498 name resolution mechanism.
14499
14500 Code and Data Size: Current core subsystem library sizes are shown
14501 below.  These are the code and data sizes for the acpica.lib
14502 produced by the Microsoft Visual C++ 6.0 compiler, and these
14503 values do not include any ACPI driver or OSPM code.  The debug
14504 version of the code includes the debug output trace mechanism and
14505 has a larger code and data size.  Note that these values will vary
14506 depending on the efficiency of the compiler and the compiler
14507 options used during generation.
14508
14509   Previous Release
14510     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
14511     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
14512   Current Release:
14513     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14514     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14515
14516
14517 2) Linux
14518
14519 Initialize thermal driver's timer before it is used. (Knut
14520 Neumann)
14521
14522 Allow handling negative celsius values. (Kochi Takayoshi)
14523
14524 Fix thermal management and make trip points. R/W (Pavel Machek)
14525
14526 Fix /proc/acpi/sleep. (P. Christeas)
14527
14528 IA64 fixes. (David Mosberger)
14529
14530 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
14531
14532 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
14533 Brodowski)
14534
14535
14536 3) iASL Compiler/Disassembler
14537
14538 Clarified some warning/error messages.
14539
14540
14541 ----------------------------------------
14542 18 September 2002.  Summary of changes for this release.
14543
14544
14545 1) ACPI CA Core Subsystem version 20020918:
14546
14547 Fixed a reported problem with reference chaining (via the Index()
14548 and RefOf() operators) in the ObjectType() and SizeOf() operators.
14549 The definition of these operators includes the dereferencing of
14550 all chained references to return information on the base object.
14551
14552 Fixed a problem with stores to indexed package elements - the
14553 existing code would not complete the store if an "implicit
14554 conversion" was not performed.  In other words, if the existing
14555 object (package element) was to be replaced completely, the code
14556 didn't handle this case.
14557
14558 Relaxed typechecking on the ASL "Scope" operator to allow the
14559 target name to refer to an object of type Integer, String, or
14560 Buffer, in addition to the scoping object types (Device,
14561 predefined Scopes, Processor, PowerResource, and ThermalZone.)
14562 This allows existing AML code that has workarounds for a bug in
14563 Windows to function properly.  A warning is issued, however.  This
14564 affects both the AML interpreter and the iASL compiler. Below is
14565 an example of this type of ASL code:
14566
14567       Name(DEB,0x00)
14568       Scope(DEB)
14569       {
14570
14571 Fixed some reported problems with 64-bit integer support in the
14572 local implementation of C library functions (clib.c)
14573
14574
14575 2) Linux
14576
14577 Use ACPI fix map region instead of IOAPIC region, since it is
14578 undefined in non-SMP.
14579
14580 Ensure that the SCI has the proper polarity and trigger, even on
14581 systems that do not have an interrupt override entry in the MADT.
14582
14583 2.5 big driver reorganization (Pat Mochel)
14584
14585 Use early table mapping code from acpitable.c (Andi Kleen)
14586
14587 New blacklist entries (Andi Kleen)
14588
14589 Blacklist improvements. Split blacklist code out into a separate
14590 file. Move checking the blacklist to very early. Previously, we
14591 would use ACPI tables, and then halfway through init, check the
14592 blacklist -- too late. Now, it's early enough to completely fall-
14593 back to non-ACPI.
14594
14595
14596 3) iASL Compiler/Disassembler version 20020918:
14597
14598 Fixed a problem where the typechecking code didn't know that an
14599 alias could point to a method.  In other words, aliases were not
14600 being dereferenced during typechecking.
14601
14602
14603 ----------------------------------------
14604 29 August 2002.  Summary of changes for this release.
14605
14606 1) ACPI CA Core Subsystem Version 20020829:
14607
14608 If the target of a Scope() operator already exists, it must be an
14609 object type that actually opens a scope -- such as a Device,
14610 Method, Scope, etc.  This is a fatal runtime error.  Similar error
14611 check has been added to the iASL compiler also.
14612
14613 Tightened up the namespace load to disallow multiple names in the
14614 same scope.  This previously was allowed if both objects were of
14615 the same type.  (i.e., a lookup was the same as entering a new
14616 name).
14617
14618
14619 2) Linux
14620
14621 Ensure that the ACPI interrupt has the proper trigger and
14622 polarity.
14623
14624 local_irq_disable is extraneous. (Matthew Wilcox)
14625
14626 Make "acpi=off" actually do what it says, and not use the ACPI
14627 interpreter *or* the tables.
14628
14629 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
14630 Takayoshi)
14631
14632
14633 3) iASL Compiler/Disassembler  Version 20020829:
14634
14635 Implemented namepath optimization for name declarations.  For
14636 example, a declaration like "Method (\_SB_.ABCD)" would get
14637 optimized to "Method (ABCD)" if the declaration is within the
14638 \_SB_ scope.  This optimization is in addition to the named
14639 reference path optimization first released in the previous
14640 version. This would seem to complete all possible optimizations
14641 for namepaths within the ASL/AML.
14642
14643 If the target of a Scope() operator already exists, it must be an
14644 object type that actually opens a scope -- such as a Device,
14645 Method, Scope, etc.
14646
14647 Implemented a check and warning for unreachable code in the same
14648 block below a Return() statement.
14649
14650 Fixed a problem where the listing file was not generated if the
14651 compiler aborted if the maximum error count was exceeded (200).
14652
14653 Fixed a problem where the typechecking of method return values was
14654 broken.  This includes the check for a return value when the
14655 method is invoked as a TermArg (a return value is expected.)
14656
14657 Fixed a reported problem where EOF conditions during a quoted
14658 string or comment caused a fault.
14659
14660
14661 ----------------------------------------
14662 15 August 2002.  Summary of changes for this release.
14663
14664 1) ACPI CA Core Subsystem Version 20020815:
14665
14666 Fixed a reported problem where a Store to a method argument that
14667 contains a reference did not perform the indirect store correctly.
14668 This problem was created during the conversion to the new
14669 reference object model - the indirect store to a method argument
14670 code was not updated to reflect the new model.
14671
14672 Reworked the ACPI mode change code to better conform to ACPI 2.0,
14673 handle corner cases, and improve code legibility (Kochi Takayoshi)
14674
14675 Fixed a problem with the pathname parsing for the carat (^)
14676 prefix.  The heavy use of the carat operator by the new namepath
14677 optimization in the iASL compiler uncovered a problem with the AML
14678 interpreter handling of this prefix.  In the case where one or
14679 more carats precede a single nameseg, the nameseg was treated as
14680 standalone and the search rule (to root) was inadvertently
14681 applied.  This could cause both the iASL compiler and the
14682 interpreter to find the wrong object or to miss the error that
14683 should occur if the object does not exist at that exact pathname.
14684
14685 Found and fixed the problem where the HP Pavilion DSDT would not
14686 load.  This was a relatively minor tweak to the table loading code
14687 (a problem caused by the unexpected encounter with a method
14688 invocation not within a control method), but it does not solve the
14689 overall issue of the execution of AML code at the table level.
14690 This investigation is still ongoing.
14691
14692 Code and Data Size: Current core subsystem library sizes are shown
14693 below.  These are the code and data sizes for the acpica.lib
14694 produced by the Microsoft Visual C++ 6.0 compiler, and these
14695 values do not include any ACPI driver or OSPM code.  The debug
14696 version of the code includes the debug output trace mechanism and
14697 has a larger code and data size.  Note that these values will vary
14698 depending on the efficiency of the compiler and the compiler
14699 options used during generation.
14700
14701   Previous Release
14702     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
14703     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
14704   Current Release:
14705     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
14706     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
14707
14708
14709 2) Linux
14710
14711 Remove redundant slab.h include (Brad Hards)
14712
14713 Fix several bugs in thermal.c (Herbert Nachtnebel)
14714
14715 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
14716
14717 Change acpi_system_suspend to use updated irq functions (Pavel
14718 Machek)
14719
14720 Export acpi_get_firmware_table (Matthew Wilcox)
14721
14722 Use proper root proc entry for ACPI (Kochi Takayoshi)
14723
14724 Fix early-boot table parsing (Bjorn Helgaas)
14725
14726
14727 3) iASL Compiler/Disassembler
14728
14729 Reworked the compiler options to make them more consistent and to
14730 use two-letter options where appropriate.  We were running out of
14731 sensible letters.   This may break some makefiles, so check the
14732 current options list by invoking the compiler with no parameters.
14733
14734 Completed the design and implementation of the ASL namepath
14735 optimization option for the compiler.  This option optimizes all
14736 references to named objects to the shortest possible path.  The
14737 first attempt tries to utilize a single nameseg (4 characters) and
14738 the "search-to-root" algorithm used by the interpreter.  If that
14739 cannot be used (because either the name is not in the search path
14740 or there is a conflict with another object with the same name),
14741 the pathname is optimized using the carat prefix (usually a
14742 shorter string than specifying the entire path from the root.)
14743
14744 Implemented support to obtain the DSDT from the Windows registry
14745 (when the disassembly option is specified with no input file).
14746 Added this code as the implementation for AcpiOsTableOverride in
14747 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
14748 utility) to scan memory for the DSDT to the AcpiOsTableOverride
14749 function in the DOS OSL to make the disassembler truly OS
14750 independent.
14751
14752 Implemented a new option to disassemble and compile in one step.
14753 When used without an input filename, this option will grab the
14754 DSDT from the local machine, disassemble it, and compile it in one
14755 step.
14756
14757 Added a warning message for invalid escapes (a backslash followed
14758 by any character other than the allowable escapes).  This catches
14759 the quoted string error "\_SB_" (which should be "\\_SB_" ).
14760
14761 Also, there are numerous instances in the ACPI specification where
14762 this error occurs.
14763
14764 Added a compiler option to disable all optimizations.  This is
14765 basically the "compatibility mode" because by using this option,
14766 the AML code will come out exactly the same as other ASL
14767 compilers.
14768
14769 Added error messages for incorrectly ordered dependent resource
14770 functions.  This includes: missing EndDependentFn macro at end of
14771 dependent resource list, nested dependent function macros (both
14772 start and end), and missing StartDependentFn macro.  These are
14773 common errors that should be caught at compile time.
14774
14775 Implemented _OSI support for the disassembler and compiler.  _OSI
14776 must be included in the namespace for proper disassembly (because
14777 the disassembler must know the number of arguments.)
14778
14779 Added an "optimization" message type that is optional (off by
14780 default).  This message is used for all optimizations - including
14781 constant folding, integer optimization, and namepath optimization.
14782
14783 ----------------------------------------
14784 25 July 2002.  Summary of changes for this release.
14785
14786
14787 1) ACPI CA Core Subsystem Version 20020725:
14788
14789 The AML Disassembler has been enhanced to produce compilable ASL
14790 code and has been integrated into the iASL compiler (see below) as
14791 well as the single-step disassembly for the AML debugger and the
14792 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
14793 resource templates and macros are fully supported.  The
14794 disassembler has been tested on over 30 different AML files,
14795 producing identical AML when the resulting disassembled ASL file
14796 is recompiled with the same ASL compiler.
14797
14798 Modified the Resource Manager to allow zero interrupts and zero
14799 dma channels during the GetCurrentResources call.  This was
14800 causing problems on some platforms.
14801
14802 Added the AcpiOsRedirectOutput interface to the OSL to simplify
14803 output redirection for the AcpiOsPrintf and AcpiOsVprintf
14804 interfaces.
14805
14806 Code and Data Size: Current core subsystem library sizes are shown
14807 below.  These are the code and data sizes for the acpica.lib
14808 produced by the Microsoft Visual C++ 6.0 compiler, and these
14809 values do not include any ACPI driver or OSPM code.  The debug
14810 version of the code includes the debug output trace mechanism and
14811 has a larger code and data size.  Note that these values will vary
14812 depending on the efficiency of the compiler and the compiler
14813 options used during generation.
14814
14815   Previous Release
14816     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
14817     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
14818   Current Release:
14819     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
14820     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
14821
14822
14823 2) Linux
14824
14825 Fixed a panic in the EC driver (Dominik Brodowski)
14826
14827 Implemented checksum of the R/XSDT itself during Linux table scan
14828 (Richard Schaal)
14829
14830
14831 3) iASL compiler
14832
14833 The AML disassembler is integrated into the compiler.  The "-d"
14834 option invokes the disassembler  to completely disassemble an
14835 input AML file, producing as output a text ASL file with the
14836 extension ".dsl" (to avoid name collisions with existing .asl
14837 source files.)  A future enhancement will allow the disassembler
14838 to obtain the BIOS DSDT from the registry under Windows.
14839
14840 Fixed a problem with the VendorShort and VendorLong resource
14841 descriptors where an invalid AML sequence was created.
14842
14843 Implemented a fix for BufferData term in the ASL parser.  It was
14844 inadvertently defined twice, allowing invalid syntax to pass and
14845 causing reduction conflicts.
14846
14847 Fixed a problem where the Ones opcode could get converted to a
14848 value of zero if "Ones" was used where a byte, word or dword value
14849 was expected.  The 64-bit value is now truncated to the correct
14850 size with the correct value.
14851
14852
14853
14854 ----------------------------------------
14855 02 July 2002.  Summary of changes for this release.
14856
14857
14858 1) ACPI CA Core Subsystem Version 20020702:
14859
14860 The Table Manager code has been restructured to add several new
14861 features.  Tables that are not required by the core subsystem
14862 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
14863 validated in any way and are returned from AcpiGetFirmwareTable if
14864 requested.  The AcpiOsTableOverride interface is now called for
14865 each table that is loaded by the subsystem in order to allow the
14866 host to override any table it chooses.  Previously, only the DSDT
14867 could be overridden.  Added one new files, tbrsdt.c and
14868 tbgetall.c.
14869
14870 Fixed a problem with the conversion of internal package objects to
14871 external objects (when a package is returned from a control
14872 method.)  The return buffer length was set to zero instead of the
14873 proper length of the package object.
14874
14875 Fixed a reported problem with the use of the RefOf and DeRefOf
14876 operators when passing reference arguments to control methods.  A
14877 new type of Reference object is used internally for references
14878 produced by the RefOf operator.
14879
14880 Added additional error messages in the Resource Manager to explain
14881 AE_BAD_DATA errors when they occur during resource parsing.
14882
14883 Split the AcpiEnableSubsystem into two primitives to enable a
14884 finer granularity initialization sequence.  These two calls should
14885 be called in this order: AcpiEnableSubsystem (flags),
14886 AcpiInitializeObjects (flags).  The flags parameter remains the
14887 same.
14888
14889
14890 2) Linux
14891
14892 Updated the ACPI utilities module to understand the new style of
14893 fully resolved package objects that are now returned from the core
14894 subsystem.  This eliminates errors of the form:
14895
14896     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
14897     acpi_utils-0430 [145] acpi_evaluate_reference:
14898         Invalid element in package (not a device reference)
14899
14900 The method evaluation utility uses the new buffer allocation
14901 scheme instead of calling AcpiEvaluate Object twice.
14902
14903 Added support for ECDT. This allows the use of the Embedded
14904
14905 Controller before the namespace has been fully initialized, which
14906 is necessary for ACPI 2.0 support, and for some laptops to
14907 initialize properly. (Laptops using ECDT are still rare, so only
14908 limited testing was performed of the added functionality.)
14909
14910 Fixed memory leaks in the EC driver.
14911
14912 Eliminated a brittle code structure in acpi_bus_init().
14913
14914 Eliminated the acpi_evaluate() helper function in utils.c. It is
14915 no longer needed since acpi_evaluate_object can optionally
14916 allocate memory for the return object.
14917
14918 Implemented fix for keyboard hang when getting battery readings on
14919 some systems (Stephen White)
14920
14921 PCI IRQ routing update (Dominik Brodowski)
14922
14923 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
14924 support
14925
14926 ----------------------------------------
14927 11 June 2002.  Summary of changes for this release.
14928
14929
14930 1) ACPI CA Core Subsystem Version 20020611:
14931
14932 Fixed a reported problem where constants such as Zero and One
14933 appearing within _PRT packages were not handled correctly within
14934 the resource manager code.  Originally reported against the ASL
14935 compiler because the code generator now optimizes integers to
14936 their minimal AML representation (i.e. AML constants if possible.)
14937 The _PRT code now handles all AML constant opcodes correctly
14938 (Zero, One, Ones, Revision).
14939
14940 Fixed a problem with the Concatenate operator in the AML
14941 interpreter where a buffer result object was incorrectly marked as
14942 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
14943
14944 All package sub-objects are now fully resolved before they are
14945 returned from the external ACPI interfaces.  This means that name
14946 strings are resolved to object handles, and constant operators
14947 (Zero, One, Ones, Revision) are resolved to Integers.
14948
14949 Implemented immediate resolution of the AML Constant opcodes
14950 (Zero, One, Ones, Revision) to Integer objects upon detection
14951 within the AML stream. This has simplified and reduced the
14952 generated code size of the subsystem by eliminating about 10
14953 switch statements for these constants (which previously were
14954 contained in Reference objects.)  The complicating issues are that
14955 the Zero opcode is used as a "placeholder" for unspecified
14956 optional target operands and stores to constants are defined to be
14957 no-ops.
14958
14959 Code and Data Size: Current core subsystem library sizes are shown
14960 below. These are the code and data sizes for the acpica.lib
14961 produced by the Microsoft Visual C++ 6.0 compiler, and these
14962 values do not include any ACPI driver or OSPM code.  The debug
14963 version of the code includes the debug output trace mechanism and
14964 has a larger code and data size.  Note that these values will vary
14965 depending on the efficiency of the compiler and the compiler
14966 options used during generation.
14967
14968   Previous Release
14969     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
14970     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
14971   Current Release:
14972     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
14973     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
14974
14975
14976 2) Linux
14977
14978
14979 Added preliminary support for obtaining _TRA data for PCI root
14980 bridges (Bjorn Helgaas).
14981
14982
14983 3) iASL Compiler Version X2046:
14984
14985 Fixed a problem where the "_DDN" reserved name was defined to be a
14986 control method with one argument.  There are no arguments, and
14987 _DDN does not have to be a control method.
14988
14989 Fixed a problem with the Linux version of the compiler where the
14990 source lines printed with error messages were the wrong lines.
14991 This turned out to be the "LF versus CR/LF" difference between
14992 Windows and Unix.  This appears to be the longstanding issue
14993 concerning listing output and error messages.
14994
14995 Fixed a problem with the Linux version of compiler where opcode
14996 names within error messages were wrong.  This was caused by a
14997 slight difference in the output of the Flex tool on Linux versus
14998 Windows.
14999
15000 Fixed a problem with the Linux compiler where the hex output files
15001 contained some garbage data caused by an internal buffer overrun.
15002
15003
15004 ----------------------------------------
15005 17 May 2002.  Summary of changes for this release.
15006
15007
15008 1) ACPI CA Core Subsystem Version 20020517:
15009
15010 Implemented a workaround to an BIOS bug discovered on the HP
15011 OmniBook where the FADT revision number and the table size are
15012 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
15013 behavior is to fallback to using only the ACPI 1.0 fields of the
15014 FADT if the table is too small to be a ACPI 2.0 table as claimed
15015 by the revision number.  Although this is a BIOS bug, this is a
15016 case where the workaround is simple enough and with no side
15017 effects, so it seemed prudent to add it.  A warning message is
15018 issued, however.
15019
15020 Implemented minimum size checks for the fixed-length ACPI tables -
15021 - the FADT and FACS, as well as consistency checks between the
15022 revision number and the table size.
15023
15024 Fixed a reported problem in the table override support where the
15025 new table pointer was incorrectly treated as a physical address
15026 instead of a logical address.
15027
15028 Eliminated the use of the AE_AML_ERROR exception and replaced it
15029 with more descriptive codes.
15030
15031 Fixed a problem where an exception would occur if an ASL Field was
15032 defined with no named Field Units underneath it (used by some
15033 index fields).
15034
15035 Code and Data Size: Current core subsystem library sizes are shown
15036 below.  These are the code and data sizes for the acpica.lib
15037 produced by the Microsoft Visual C++ 6.0 compiler, and these
15038 values do not include any ACPI driver or OSPM code.  The debug
15039 version of the code includes the debug output trace mechanism and
15040 has a larger code and data size.  Note that these values will vary
15041 depending on the efficiency of the compiler and the compiler
15042 options used during generation.
15043
15044   Previous Release
15045     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15046     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15047   Current Release:
15048     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15049     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15050
15051
15052
15053 2) Linux
15054
15055 Much work done on ACPI init (MADT and PCI IRQ routing support).
15056 (Paul D. and Dominik Brodowski)
15057
15058 Fix PCI IRQ-related panic on boot (Sam Revitch)
15059
15060 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
15061
15062 Fix "MHz" typo (Dominik Brodowski)
15063
15064 Fix RTC year 2000 issue (Dominik Brodowski)
15065
15066 Preclude multiple button proc entries (Eric Brunet)
15067
15068 Moved arch-specific code out of include/platform/aclinux.h
15069
15070 3) iASL Compiler Version X2044:
15071
15072 Implemented error checking for the string used in the EISAID macro
15073 (Usually used in the definition of the _HID object.)  The code now
15074 strictly enforces the PnP format - exactly 7 characters, 3
15075 uppercase letters and 4 hex digits.
15076
15077 If a raw string is used in the definition of the _HID object
15078 (instead of the EISAID macro), the string must contain all
15079 alphanumeric characters (e.g., "*PNP0011" is not allowed because
15080 of the asterisk.)
15081
15082 Implemented checking for invalid use of ACPI reserved names for
15083 most of the name creation operators (Name, Device, Event, Mutex,
15084 OperationRegion, PowerResource, Processor, and ThermalZone.)
15085 Previously, this check was only performed for control methods.
15086
15087 Implemented an additional check on the Name operator to emit an
15088 error if a reserved name that must be implemented in ASL as a
15089 control method is used.  We know that a reserved name must be a
15090 method if it is defined with input arguments.
15091
15092 The warning emitted when a namespace object reference is not found
15093 during the cross reference phase has been changed into an error.
15094 The "External" directive should be used for names defined in other
15095 modules.
15096
15097
15098 4) Tools and Utilities
15099
15100 The 16-bit tools (adump16 and aexec16) have been regenerated and
15101 tested.
15102
15103 Fixed a problem with the output of both acpidump and adump16 where
15104 the indentation of closing parentheses and brackets was not
15105
15106 aligned properly with the parent block.
15107
15108
15109 ----------------------------------------
15110 03 May 2002.  Summary of changes for this release.
15111
15112
15113 1) ACPI CA Core Subsystem Version 20020503:
15114
15115 Added support a new OSL interface that allows the host operating
15116
15117 system software to override the DSDT found in the firmware -
15118 AcpiOsTableOverride.  With this interface, the OSL can examine the
15119 version of the firmware DSDT and replace it with a different one
15120 if desired.
15121
15122 Added new external interfaces for accessing ACPI registers from
15123 device drivers and other system software - AcpiGetRegister and
15124 AcpiSetRegister.  This was simply an externalization of the
15125 existing AcpiHwBitRegister interfaces.
15126
15127 Fixed a regression introduced in the previous build where the
15128 ASL/AML CreateField operator always returned an error,
15129 "destination must be a NS Node".
15130
15131 Extended the maximum time (before failure) to successfully enable
15132 ACPI mode to 3 seconds.
15133
15134 Code and Data Size: Current core subsystem library sizes are shown
15135 below.  These are the code and data sizes for the acpica.lib
15136 produced by the Microsoft Visual C++ 6.0 compiler, and these
15137 values do not include any ACPI driver or OSPM code.  The debug
15138 version of the code includes the debug output trace mechanism and
15139 has a larger code and data size.  Note that these values will vary
15140 depending on the efficiency of the compiler and the compiler
15141 options used during generation.
15142
15143   Previous Release
15144     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15145     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15146   Current Release:
15147     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15148     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15149
15150
15151 2) Linux
15152
15153 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
15154 free. While 3 out of 4 of our in-house systems work fine, the last
15155 one still hangs when testing the LAPIC timer.
15156
15157 Renamed many files in 2.5 kernel release to omit "acpi_" from the
15158 name.
15159
15160 Added warning on boot for Presario 711FR.
15161
15162 Sleep improvements (Pavel Machek)
15163
15164 ACPI can now be built without CONFIG_PCI enabled.
15165
15166 IA64: Fixed memory map functions (JI Lee)
15167
15168
15169 3) iASL Compiler Version X2043:
15170
15171 Added support to allow the compiler to be integrated into the MS
15172 VC++ development environment for one-button compilation of single
15173 files or entire projects -- with error-to-source-line mapping.
15174
15175 Implemented support for compile-time constant folding for the
15176 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
15177 specification.  This allows the ASL writer to use expressions
15178 instead of Integer/Buffer/String constants in terms that must
15179 evaluate to constants at compile time and will also simplify the
15180 emitted AML in any such sub-expressions that can be folded
15181 (evaluated at compile-time.)  This increases the size of the
15182 compiler significantly because a portion of the ACPI CA AML
15183 interpreter is included within the compiler in order to pre-
15184 evaluate constant expressions.
15185
15186
15187 Fixed a problem with the "Unicode" ASL macro that caused the
15188 compiler to fault.  (This macro is used in conjunction with the
15189 _STR reserved name.)
15190
15191 Implemented an AML opcode optimization to use the Zero, One, and
15192 Ones opcodes where possible to further reduce the size of integer
15193 constants and thus reduce the overall size of the generated AML
15194 code.
15195
15196 Implemented error checking for new reserved terms for ACPI version
15197 2.0A.
15198
15199 Implemented the -qr option to display the current list of ACPI
15200 reserved names known to the compiler.
15201
15202 Implemented the -qc option to display the current list of ASL
15203 operators that are allowed within constant expressions and can
15204 therefore be folded at compile time if the operands are constants.
15205
15206
15207 4) Documentation
15208
15209 Updated the Programmer's Reference for new interfaces, data types,
15210 and memory allocation model options.
15211
15212 Updated the iASL Compiler User Reference to apply new format and
15213 add information about new features and options.
15214
15215 ----------------------------------------
15216 19 April 2002.  Summary of changes for this release.
15217
15218 1) ACPI CA Core Subsystem Version 20020419:
15219
15220 The source code base for the Core Subsystem has been completely
15221 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
15222 versions.  The Lint option files used are included in the
15223 /acpi/generate/lint directory.
15224
15225 Implemented enhanced status/error checking across the entire
15226 Hardware manager subsystem.  Any hardware errors (reported from
15227 the OSL) are now bubbled up and will abort a running control
15228 method.
15229
15230
15231 Fixed a problem where the per-ACPI-table integer width (32 or 64)
15232 was stored only with control method nodes, causing a fault when
15233 non-control method code was executed during table loading.  The
15234 solution implemented uses a global variable to indicate table
15235 width across the entire ACPI subsystem.  Therefore, ACPI CA does
15236 not support mixed integer widths across different ACPI tables
15237 (DSDT, SSDT).
15238
15239 Fixed a problem where NULL extended fields (X fields) in an ACPI
15240 2.0 ACPI FADT caused the table load to fail.  Although the
15241 existing ACPI specification is a bit fuzzy on this topic, the new
15242 behavior is to fall back on a ACPI 1.0 field if the corresponding
15243 ACPI 2.0 X field is zero (even though the table revision indicates
15244 a full ACPI 2.0 table.)  The ACPI specification will be updated to
15245 clarify this issue.
15246
15247 Fixed a problem with the SystemMemory operation region handler
15248 where memory was always accessed byte-wise even if the AML-
15249 specified access width was larger than a byte.  This caused
15250 problems on systems with memory-mapped I/O.  Memory is now
15251 accessed with the width specified.  On systems that do not support
15252 non-aligned transfers, a check is made to guarantee proper address
15253 alignment before proceeding in order to avoid an AML-caused
15254 alignment fault within the kernel.
15255
15256
15257 Fixed a problem with the ExtendedIrq resource where only one byte
15258 of the 4-byte Irq field was extracted.
15259
15260 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
15261 function was out of date and required a rewrite.
15262
15263 Code and Data Size: Current core subsystem library sizes are shown
15264 below.  These are the code and data sizes for the acpica.lib
15265 produced by the Microsoft Visual C++ 6.0 compiler, and these
15266 values do not include any ACPI driver or OSPM code.  The debug
15267 version of the code includes the debug output trace mechanism and
15268 has a larger code and data size.  Note that these values will vary
15269 depending on the efficiency of the compiler and the compiler
15270 options used during generation.
15271
15272   Previous Release
15273     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15274     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15275   Current Release:
15276     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15277     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15278
15279
15280 2) Linux
15281
15282 PCI IRQ routing fixes (Dominik Brodowski)
15283
15284
15285 3) iASL Compiler Version X2042:
15286
15287 Implemented an additional compile-time error check for a field
15288 unit whose size + minimum access width would cause a run-time
15289 access beyond the end-of-region.  Previously, only the field size
15290 itself was checked.
15291
15292 The Core subsystem and iASL compiler now share a common parse
15293 object in preparation for compile-time evaluation of the type
15294 3/4/5 ASL operators.
15295
15296
15297 ----------------------------------------
15298 Summary of changes for this release: 03_29_02
15299
15300 1) ACPI CA Core Subsystem Version 20020329:
15301
15302 Implemented support for late evaluation of TermArg operands to
15303 Buffer and Package objects.  This allows complex expressions to be
15304 used in the declarations of these object types.
15305
15306 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
15307 1.0, if the field was larger than 32 bits, it was returned as a
15308 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
15309 the field is returned as a buffer only if the field is larger than
15310 64 bits.  The TableRevision is now considered when making this
15311 conversion to avoid incompatibility with existing ASL code.
15312
15313 Implemented logical addressing for AcpiOsGetRootPointer.  This
15314 allows an RSDP with either a logical or physical address.  With
15315 this support, the host OS can now override all ACPI tables with
15316 one logical RSDP.  Includes implementation of  "typed" pointer
15317 support to allow a common data type for both physical and logical
15318 pointers internally.  This required a change to the
15319 AcpiOsGetRootPointer interface.
15320
15321 Implemented the use of ACPI 2.0 Generic Address Structures for all
15322 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
15323 mapped I/O for these ACPI features.
15324
15325 Initialization now ignores not only non-required tables (All
15326 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
15327 not validate the table headers of unrecognized tables.
15328
15329 Fixed a problem where a notify handler could only be
15330 installed/removed on an object of type Device.  All "notify"
15331
15332 objects are now supported -- Devices, Processor, Power, and
15333 Thermal.
15334
15335 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
15336 critical information is returned when this debug level is enabled.
15337
15338 Code and Data Size: Current core subsystem library sizes are shown
15339 below.  These are the code and data sizes for the acpica.lib
15340 produced by the Microsoft Visual C++ 6.0 compiler, and these
15341 values do not include any ACPI driver or OSPM code.  The debug
15342 version of the code includes the debug output trace mechanism and
15343 has a larger code and data size.  Note that these values will vary
15344 depending on the efficiency of the compiler and the compiler
15345 options used during generation.
15346
15347   Previous Release
15348     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
15349     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
15350   Current Release:
15351     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15352     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15353
15354
15355 2) Linux:
15356
15357 The processor driver (acpi_processor.c) now fully supports ACPI
15358 2.0-based processor performance control (e.g. Intel(R)
15359 SpeedStep(TM) technology) Note that older laptops that only have
15360 the Intel "applet" interface are not supported through this.  The
15361 'limit' and 'performance' interface (/proc) are fully functional.
15362 [Note that basic policy for controlling performance state
15363 transitions will be included in the next version of ospmd.]  The
15364 idle handler was modified to more aggressively use C2, and PIIX4
15365 errata handling underwent a complete overhaul (big thanks to
15366 Dominik Brodowski).
15367
15368 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
15369 based devices in the ACPI namespace are now dynamically bound
15370 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
15371 This allows, among other things, ACPI to resolve bus numbers for
15372 subordinate PCI bridges.
15373
15374 Enhanced PCI IRQ routing to get the proper bus number for _PRT
15375 entries defined underneath PCI bridges.
15376
15377 Added IBM 600E to bad bios list due to invalid _ADR value for
15378 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
15379
15380 In the process of adding full MADT support (e.g. IOAPIC) for IA32
15381 (acpi.c, mpparse.c) -- stay tuned.
15382
15383 Added back visual differentiation between fixed-feature and
15384 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
15385 button/power/PWRF) to simplify button identification.
15386
15387 We no longer use -Wno-unused when compiling debug. Please ignore
15388 any "_THIS_MODULE defined but not used" messages.
15389
15390 Can now shut down the system using "magic sysrq" key.
15391
15392
15393 3) iASL Compiler version 2041:
15394
15395 Fixed a problem where conversion errors for hex/octal/decimal
15396 constants were not reported.
15397
15398 Implemented a fix for the General Register template Address field.
15399 This field was 8 bits when it should be 64.
15400
15401 Fixed a problem where errors/warnings were no longer being emitted
15402 within the listing output file.
15403
15404 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
15405 exactly 4 characters, alphanumeric only.
15406
15407
15408
15409
15410 ----------------------------------------
15411 Summary of changes for this release: 03_08_02
15412
15413
15414 1) ACPI CA Core Subsystem Version 20020308:
15415
15416 Fixed a problem with AML Fields where the use of the "AccessAny"
15417 keyword could cause an interpreter error due to attempting to read
15418 or write beyond the end of the parent Operation Region.
15419
15420 Fixed a problem in the SystemMemory Operation Region handler where
15421 an attempt was made to map memory beyond the end of the region.
15422 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
15423 errors on some Linux systems.
15424
15425 Fixed a problem where the interpreter/namespace "search to root"
15426 algorithm was not functioning for some object types.  Relaxed the
15427 internal restriction on the search to allow upsearches for all
15428 external object types as well as most internal types.
15429
15430
15431 2) Linux:
15432
15433 We now use safe_halt() macro versus individual calls to sti | hlt.
15434
15435 Writing to the processor limit interface should now work. "echo 1"
15436 will increase the limit, 2 will decrease, and 0 will reset to the
15437
15438 default.
15439
15440
15441 3) ASL compiler:
15442
15443 Fixed segfault on Linux version.
15444
15445
15446 ----------------------------------------
15447 Summary of changes for this release: 02_25_02
15448
15449 1) ACPI CA Core Subsystem:
15450
15451
15452 Fixed a problem where the GPE bit masks were not initialized
15453 properly, causing erratic GPE behavior.
15454
15455 Implemented limited support for multiple calling conventions.  The
15456 code can be generated with either the VPL (variable parameter
15457 list, or "C") convention, or the FPL (fixed parameter list, or
15458 "Pascal") convention.  The core subsystem is about 3.4% smaller
15459 when generated with FPL.
15460
15461
15462 2) Linux
15463
15464 Re-add some /proc/acpi/event functionality that was lost during
15465 the rewrite
15466
15467 Resolved issue with /proc events for fixed-feature buttons showing
15468 up as the system device.
15469
15470 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
15471
15472 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
15473
15474 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
15475
15476 Fixed limit interface & usage to fix bugs with passive cooling
15477 hysterisis.
15478
15479 Restructured PRT support.
15480
15481
15482 ----------------------------------------
15483 Summary of changes for this label: 02_14_02
15484
15485
15486 1) ACPI CA Core Subsystem:
15487
15488 Implemented support in AcpiLoadTable to allow loading of FACS and
15489 FADT tables.
15490
15491 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
15492 been removed.  All 64-bit platforms should be migrated to the ACPI
15493 2.0 tables.  The actbl71.h header has been removed from the source
15494 tree.
15495
15496 All C macros defined within the subsystem have been prefixed with
15497 "ACPI_" to avoid collision with other system include files.
15498
15499 Removed the return value for the two AcpiOsPrint interfaces, since
15500 it is never used and causes lint warnings for ignoring the return
15501 value.
15502
15503 Added error checking to all internal mutex acquire and release
15504 calls.  Although a failure from one of these interfaces is
15505 probably a fatal system error, these checks will cause the
15506 immediate abort of the currently executing method or interface.
15507
15508 Fixed a problem where the AcpiSetCurrentResources interface could
15509 fault.  This was a side effect of the deployment of the new memory
15510 allocation model.
15511
15512 Fixed a couple of problems with the Global Lock support introduced
15513 in the last major build.  The "common" (1.0/2.0) internal FACS was
15514 being overwritten with the FACS signature and clobbering the
15515 Global Lock pointer.  Also, the actual firmware FACS was being
15516 unmapped after construction of the "common" FACS, preventing
15517 access to the actual Global Lock field within it.  The "common"
15518 internal FACS is no longer installed as an actual ACPI table; it
15519 is used simply as a global.
15520
15521 Code and Data Size: Current core subsystem library sizes are shown
15522 below.  These are the code and data sizes for the acpica.lib
15523 produced by the Microsoft Visual C++ 6.0 compiler, and these
15524 values do not include any ACPI driver or OSPM code.  The debug
15525 version of the code includes the debug output trace mechanism and
15526 has a larger code and data size.  Note that these values will vary
15527 depending on the efficiency of the compiler and the compiler
15528 options used during generation.
15529
15530   Previous Release (02_07_01)
15531     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
15532     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
15533   Current Release:
15534     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
15535     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
15536
15537
15538 2) Linux
15539
15540 Updated Linux-specific code for core macro and OSL interface
15541 changes described above.
15542
15543 Improved /proc/acpi/event. It now can be opened only once and has
15544 proper poll functionality.
15545
15546 Fixed and restructured power management (acpi_bus).
15547
15548 Only create /proc "view by type" when devices of that class exist.
15549
15550 Fixed "charging/discharging" bug (and others) in acpi_battery.
15551
15552 Improved thermal zone code.
15553
15554
15555 3) ASL Compiler, version X2039:
15556
15557
15558 Implemented the new compiler restriction on ASL String hex/octal
15559 escapes to non-null, ASCII values.  An error results if an invalid
15560 value is used.  (This will require an ACPI 2.0 specification
15561 change.)
15562
15563 AML object labels that are output to the optional C and ASM source
15564 are now prefixed with both the ACPI table signature and table ID
15565 to help guarantee uniqueness within a large BIOS project.
15566
15567
15568 ----------------------------------------
15569 Summary of changes for this label: 02_01_02
15570
15571 1) ACPI CA Core Subsystem:
15572
15573 ACPI 2.0 support is complete in the entire Core Subsystem and the
15574 ASL compiler. All new ACPI 2.0 operators are implemented and all
15575 other changes for ACPI 2.0 support are complete.  With
15576 simultaneous code and data optimizations throughout the subsystem,
15577 ACPI 2.0 support has been implemented with almost no additional
15578 cost in terms of code and data size.
15579
15580 Implemented a new mechanism for allocation of return buffers.  If
15581 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
15582 be allocated on behalf of the caller.  Consolidated all return
15583 buffer validation and allocation to a common procedure.  Return
15584 buffers will be allocated via the primary OSL allocation interface
15585 since it appears that a separate pool is not needed by most users.
15586 If a separate pool is required for these buffers, the caller can
15587 still use the original mechanism and pre-allocate the buffer(s).
15588
15589 Implemented support for string operands within the DerefOf
15590 operator.
15591
15592 Restructured the Hardware and Event managers to be table driven,
15593 simplifying the source code and reducing the amount of generated
15594 code.
15595
15596 Split the common read/write low-level ACPI register bitfield
15597 procedure into a separate read and write, simplifying the code
15598 considerably.
15599
15600 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
15601 used only a handful of times and didn't have enough critical mass
15602 for a separate interface.  Replaced with a common calloc procedure
15603 in the core.
15604
15605 Fixed a reported problem with the GPE number mapping mechanism
15606 that allows GPE1 numbers to be non-contiguous with GPE0.
15607 Reorganized the GPE information and shrunk a large array that was
15608 originally large enough to hold info for all possible GPEs (256)
15609 to simply large enough to hold all GPEs up to the largest GPE
15610 number on the machine.
15611
15612 Fixed a reported problem with resource structure alignment on 64-
15613 bit platforms.
15614
15615 Changed the AcpiEnableEvent and AcpiDisableEvent external
15616 interfaces to not require any flags for the common case of
15617 enabling/disabling a GPE.
15618
15619 Implemented support to allow a "Notify" on a Processor object.
15620
15621 Most TBDs in comments within the source code have been resolved
15622 and eliminated.
15623
15624
15625 Fixed a problem in the interpreter where a standalone parent
15626 prefix (^) was not handled correctly in the interpreter and
15627 debugger.
15628
15629 Removed obsolete and unnecessary GPE save/restore code.
15630
15631 Implemented Field support in the ASL Load operator.  This allows a
15632 table to be loaded from a named field, in addition to loading a
15633 table directly from an Operation Region.
15634
15635 Implemented timeout and handle support in the external Global Lock
15636 interfaces.
15637
15638 Fixed a problem in the AcpiDump utility where pathnames were no
15639 longer being generated correctly during the dump of named objects.
15640
15641 Modified the AML debugger to give a full display of if/while
15642 predicates instead of just one AML opcode at a time.  (The
15643 predicate can have several nested ASL statements.)  The old method
15644 was confusing during single stepping.
15645
15646 Code and Data Size: Current core subsystem library sizes are shown
15647 below. These are the code and data sizes for the acpica.lib
15648 produced by the Microsoft Visual C++ 6.0 compiler, and these
15649 values do not include any ACPI driver or OSPM code.  The debug
15650 version of the code includes the debug output trace mechanism and
15651 has a larger code and data size.  Note that these values will vary
15652 depending on the efficiency of the compiler and the compiler
15653 options used during generation.
15654
15655   Previous Release (12_18_01)
15656      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
15657      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
15658    Current Release:
15659      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
15660      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
15661
15662 2) Linux
15663
15664  Implemented fix for PIIX reverse throttling errata (Processor
15665 driver)
15666
15667 Added new Limit interface (Processor and Thermal drivers)
15668
15669 New thermal policy (Thermal driver)
15670
15671 Many updates to /proc
15672
15673 Battery "low" event support (Battery driver)
15674
15675 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
15676
15677 IA32 - IA64 initialization unification, no longer experimental
15678
15679 Menuconfig options redesigned
15680
15681 3) ASL Compiler, version X2037:
15682
15683 Implemented several new output features to simplify integration of
15684 AML code into  firmware: 1) Output the AML in C source code with
15685 labels for each named ASL object.  The    original ASL source code
15686 is interleaved as C comments. 2) Output the AML in ASM source code
15687 with labels and interleaved ASL    source. 3) Output the AML in
15688 raw hex table form, in either C or ASM.
15689
15690 Implemented support for optional string parameters to the
15691 LoadTable operator.
15692
15693 Completed support for embedded escape sequences within string
15694 literals.  The compiler now supports all single character escapes
15695 as well as the Octal and Hex escapes.  Note: the insertion of a
15696 null byte into a string literal (via the hex/octal escape) causes
15697 the string to be immediately terminated.  A warning is issued.
15698
15699 Fixed a problem where incorrect AML was generated for the case
15700 where an ASL namepath consists of a single parent prefix (
15701
15702 ) with no trailing name segments.
15703
15704 The compiler has been successfully generated with a 64-bit C
15705 compiler.
15706
15707
15708
15709
15710 ----------------------------------------
15711 Summary of changes for this label: 12_18_01
15712
15713 1) Linux
15714
15715 Enhanced blacklist with reason and severity fields. Any table's
15716 signature may now be used to identify a blacklisted system.
15717
15718 Call _PIC control method to inform the firmware which interrupt
15719 model the OS is using. Turn on any disabled link devices.
15720
15721 Cleaned up busmgr /proc error handling (Andreas Dilger)
15722
15723  2) ACPI CA Core Subsystem:
15724
15725 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
15726 while loop)
15727
15728 Completed implementation of the ACPI 2.0 "Continue",
15729 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
15730 operators.  All new ACPI 2.0 operators are now implemented in both
15731 the ASL compiler and the AML interpreter.  The only remaining ACPI
15732 2.0 task is support for the String data type in the DerefOf
15733 operator.  Fixed a problem with AcquireMutex where the status code
15734 was lost if the caller had to actually wait for the mutex.
15735
15736 Increased the maximum ASL Field size from 64K bits to 4G bits.
15737
15738 Completed implementation of the external Global Lock interfaces --
15739 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
15740 Handler parameters were added.
15741
15742 Completed another pass at removing warnings and issues when
15743 compiling with 64-bit compilers.  The code now compiles cleanly
15744 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
15745 add and subtract (diff) macros have changed considerably.
15746
15747
15748 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
15749 64-bit platforms, 32-bits on all others.  This type is used
15750 wherever memory allocation and/or the C sizeof() operator is used,
15751 and affects the OSL memory allocation interfaces AcpiOsAllocate
15752 and AcpiOsCallocate.
15753
15754 Implemented sticky user breakpoints in the AML debugger.
15755
15756 Code and Data Size: Current core subsystem library sizes are shown
15757 below. These are the code and data sizes for the acpica.lib
15758 produced by the Microsoft Visual C++ 6.0 compiler, and these
15759 values do not include any ACPI driver or OSPM code.  The debug
15760 version of the code includes the debug output trace mechanism and
15761 has a larger code and data size. Note that these values will vary
15762 depending on the efficiency of the compiler and the compiler
15763 options used during generation.
15764
15765   Previous Release (12_05_01)
15766      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
15767      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
15768    Current Release:
15769      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
15770      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
15771
15772  3) ASL Compiler, version X2034:
15773
15774 Now checks for (and generates an error if detected) the use of a
15775 Break or Continue statement without an enclosing While statement.
15776
15777
15778 Successfully generated the compiler with the Intel 64-bit C
15779 compiler.
15780
15781  ----------------------------------------
15782 Summary of changes for this label: 12_05_01
15783
15784  1) ACPI CA Core Subsystem:
15785
15786 The ACPI 2.0 CopyObject operator is fully implemented.  This
15787 operator creates a new copy of an object (and is also used to
15788 bypass the "implicit conversion" mechanism of the Store operator.)
15789
15790 The ACPI 2.0 semantics for the SizeOf operator are fully
15791 implemented.  The change is that performing a SizeOf on a
15792 reference object causes an automatic dereference of the object to
15793 tha actual value before the size is evaluated. This behavior was
15794 undefined in ACPI 1.0.
15795
15796 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
15797 have been implemented.  The interrupt polarity and mode are now
15798 independently set.
15799
15800 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
15801 appearing in Package objects were not properly converted to
15802 integers when the internal Package was converted to an external
15803 object (via the AcpiEvaluateObject interface.)
15804
15805 Fixed a problem with the namespace object deletion mechanism for
15806 objects created by control methods.  There were two parts to this
15807 problem: 1) Objects created during the initialization phase method
15808 parse were not being deleted, and 2) The object owner ID mechanism
15809 to track objects was broken.
15810
15811 Fixed a problem where the use of the ASL Scope operator within a
15812 control method would result in an invalid opcode exception.
15813
15814 Fixed a problem introduced in the previous label where the buffer
15815 length required for the _PRT structure was not being returned
15816 correctly.
15817
15818 Code and Data Size: Current core subsystem library sizes are shown
15819 below. These are the code and data sizes for the acpica.lib
15820 produced by the Microsoft Visual C++ 6.0 compiler, and these
15821 values do not include any ACPI driver or OSPM code.  The debug
15822 version of the code includes the debug output trace mechanism and
15823 has a larger code and data size.  Note that these values will vary
15824 depending on the efficiency of the compiler and the compiler
15825 options used during generation.
15826
15827   Previous Release (11_20_01)
15828      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
15829      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
15830
15831   Current Release:
15832      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
15833      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
15834
15835  2) Linux:
15836
15837 Updated all files to apply cleanly against 2.4.16.
15838
15839 Added basic PCI Interrupt Routing Table (PRT) support for IA32
15840 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
15841 version supports both static and dyanmic PRT entries, but dynamic
15842 entries are treated as if they were static (not yet
15843 reconfigurable).  Architecture- specific code to use this data is
15844 absent on IA32 but should be available shortly.
15845
15846 Changed the initialization sequence to start the ACPI interpreter
15847 (acpi_init) prior to initialization of the PCI driver (pci_init)
15848 in init/main.c.  This ordering is required to support PRT and
15849 facilitate other (future) enhancement.  A side effect is that the
15850 ACPI bus driver and certain device drivers can no longer be loaded
15851 as modules.
15852
15853 Modified the 'make menuconfig' options to allow PCI Interrupt
15854 Routing support to be included without the ACPI Bus and other
15855 device drivers.
15856
15857  3) ASL Compiler, version X2033:
15858
15859 Fixed some issues with the use of the new CopyObject and
15860 DataTableRegion operators.  Both are fully functional.
15861
15862  ----------------------------------------
15863 Summary of changes for this label: 11_20_01
15864
15865  20 November 2001.  Summary of changes for this release.
15866
15867  1) ACPI CA Core Subsystem:
15868
15869 Updated Index support to match ACPI 2.0 semantics.  Storing a
15870 Integer, String, or Buffer to an Index of a Buffer will store only
15871 the least-significant byte of the source to the Indexed buffer
15872 byte.  Multiple writes are not performed.
15873
15874 Fixed a problem where the access type used in an AccessAs ASL
15875 operator was not recorded correctly into the field object.
15876
15877 Fixed a problem where ASL Event objects were created in a
15878 signalled state. Events are now created in an unsignalled state.
15879
15880 The internal object cache is now purged after table loading and
15881 initialization to reduce the use of dynamic kernel memory -- on
15882 the assumption that object use is greatest during the parse phase
15883 of the entire table (versus the run-time use of individual control
15884 methods.)
15885
15886 ACPI 2.0 variable-length packages are now fully operational.
15887
15888 Code and Data Size: Code and Data optimizations have permitted new
15889 feature development with an actual reduction in the library size.
15890 Current core subsystem library sizes are shown below.  These are
15891 the code and data sizes for the acpica.lib produced by the
15892 Microsoft Visual C++ 6.0 compiler, and these values do not include
15893 any ACPI driver or OSPM code.  The debug version of the code
15894 includes the debug output trace mechanism and has a larger code
15895 and data size.  Note that these values will vary depending on the
15896 efficiency of the compiler and the compiler options used during
15897 generation.
15898
15899   Previous Release (11_09_01):
15900      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
15901      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
15902
15903   Current Release:
15904      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
15905      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
15906
15907  2) Linux:
15908
15909 Enhanced the ACPI boot-time initialization code to allow the use
15910 of Local APIC tables for processor enumeration on IA-32, and to
15911 pave the way for a fully MPS-free boot (on SMP systems) in the
15912 near future.  This functionality replaces
15913 arch/i386/kernel/acpitables.c, which was introduced in an earlier
15914 2.4.15-preX release.  To enable this feature you must add
15915 "acpi_boot=on" to the kernel command line -- see the help entry
15916 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
15917 the works...
15918
15919 Restructured the configuration options to allow boot-time table
15920 parsing support without inclusion of the ACPI Interpreter (and
15921 other) code.
15922
15923 NOTE: This release does not include fixes for the reported events,
15924 power-down, and thermal passive cooling issues (coming soon).
15925
15926  3) ASL Compiler:
15927
15928 Added additional typechecking for Fields within restricted access
15929 Operation Regions.  All fields within EC and CMOS regions must be
15930 declared with ByteAcc. All fields withing SMBus regions must be
15931 declared with the BufferAcc access type.
15932
15933 Fixed a problem where the listing file output of control methods
15934 no longer interleaved the actual AML code with the ASL source
15935 code.
15936
15937
15938
15939
15940 ----------------------------------------
15941 Summary of changes for this label: 11_09_01
15942
15943 1) ACPI CA Core Subsystem:
15944
15945 Implemented ACPI 2.0-defined support for writes to fields with a
15946 Buffer, String, or Integer source operand that is smaller than the
15947 target field. In these cases, the source operand is zero-extended
15948 to fill the target field.
15949
15950 Fixed a problem where a Field starting bit offset (within the
15951 parent operation region) was calculated incorrectly if the
15952
15953 alignment of the field differed from the access width.  This
15954 affected CreateWordField, CreateDwordField, CreateQwordField, and
15955 possibly other fields that use the "AccessAny" keyword.
15956
15957 Fixed a problem introduced in the 11_02_01 release where indirect
15958 stores through method arguments did not operate correctly.
15959
15960 2) Linux:
15961
15962 Implemented boot-time ACPI table parsing support
15963 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
15964 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
15965 legacy BIOS interfaces (e.g. MPS) for the configuration of system
15966 processors, memory, and interrupts during setup_arch().  Note that
15967 this patch does not include the required architecture-specific
15968 changes required to apply this information -- subsequent patches
15969 will be posted for both IA32 and IA64 to achieve this.
15970
15971 Added low-level sleep support for IA32 platforms, courtesy of Pat
15972 Mochel. This allows IA32 systems to transition to/from various
15973 sleeping states (e.g. S1, S3), although the lack of a centralized
15974 driver model and power-manageable drivers will prevent its
15975 (successful) use on most systems.
15976
15977 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
15978 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
15979 tables" option, etc.
15980
15981 Increased the default timeout for the EC driver from 1ms to 10ms
15982 (1000 cycles of 10us) to try to address AE_TIME errors during EC
15983 transactions.
15984
15985  ----------------------------------------
15986 Summary of changes for this label: 11_02_01
15987
15988 1) ACPI CA Core Subsystem:
15989
15990 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
15991 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
15992 implemented.
15993
15994 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
15995 changes to support ACPI 2.0 Qword field access.  Read/Write
15996 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
15997 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
15998 the value parameter for the address space handler interface is now
15999 an ACPI_INTEGER.  OSL implementations of these interfaces must now
16000 handle the case where the Width parameter is 64.
16001
16002 Index Fields: Fixed a problem where unaligned bit assembly and
16003 disassembly for IndexFields was not supported correctly.
16004
16005 Index and Bank Fields:  Nested Index and Bank Fields are now
16006 supported. During field access, a check is performed to ensure
16007 that the value written to an Index or Bank register is not out of
16008 the range of the register.  The Index (or Bank) register is
16009 written before each access to the field data. Future support will
16010 include allowing individual IndexFields to be wider than the
16011 DataRegister width.
16012
16013 Fields: Fixed a problem where the AML interpreter was incorrectly
16014 attempting to write beyond the end of a Field/OpRegion.  This was
16015 a boundary case that occurred when a DWORD field was written to a
16016 BYTE access OpRegion, forcing multiple writes and causing the
16017 interpreter to write one datum too many.
16018
16019 Fields: Fixed a problem with Field/OpRegion access where the
16020 starting bit address of a field was incorrectly calculated if the
16021 current access type was wider than a byte (WordAcc, DwordAcc, or
16022 QwordAcc).
16023
16024 Fields: Fixed a problem where forward references to individual
16025 FieldUnits (individual Field names within a Field definition) were
16026 not resolved during the AML table load.
16027
16028 Fields: Fixed a problem where forward references from a Field
16029 definition to the parent Operation Region definition were not
16030 resolved during the AML table load.
16031
16032 Fields: Duplicate FieldUnit names within a scope are now detected
16033 during AML table load.
16034
16035 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
16036 returned an incorrect name for the root node.
16037
16038 Code and Data Size: Code and Data optimizations have permitted new
16039 feature development with an actual reduction in the library size.
16040 Current core subsystem library sizes are shown below.  These are
16041 the code and data sizes for the acpica.lib produced by the
16042 Microsoft Visual C++ 6.0 compiler, and these values do not include
16043 any ACPI driver or OSPM code.  The debug version of the code
16044 includes the debug output trace mechanism and has a larger code
16045 and data size.  Note that these values will vary depending on the
16046 efficiency of the compiler and the compiler options used during
16047 generation.
16048
16049   Previous Release (10_18_01):
16050      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16051      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16052
16053   Current Release:
16054      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16055      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16056
16057  2) Linux:
16058
16059 Improved /proc processor output (Pavel Machek) Re-added
16060 MODULE_LICENSE("GPL") to all modules.
16061
16062  3) ASL Compiler version X2030:
16063
16064 Duplicate FieldUnit names within a scope are now detected and
16065 flagged as errors.
16066
16067  4) Documentation:
16068
16069 Programmer Reference updated to reflect OSL and address space
16070 handler interface changes described above.
16071
16072 ----------------------------------------
16073 Summary of changes for this label: 10_18_01
16074
16075 ACPI CA Core Subsystem:
16076
16077 Fixed a problem with the internal object reference count mechanism
16078 that occasionally caused premature object deletion. This resolves
16079 all of the outstanding problem reports where an object is deleted
16080 in the middle of an interpreter evaluation.  Although this problem
16081 only showed up in rather obscure cases, the solution to the
16082 problem involved an adjustment of all reference counts involving
16083 objects attached to namespace nodes.
16084
16085 Fixed a problem with Field support in the interpreter where
16086 writing to an aligned field whose length is an exact multiple (2
16087 or greater) of the field access granularity would cause an attempt
16088 to write beyond the end of the field.
16089
16090 The top level AML opcode execution functions within the
16091 interpreter have been renamed with a more meaningful and
16092 consistent naming convention.  The modules exmonad.c and
16093 exdyadic.c were eliminated.  New modules are exoparg1.c,
16094 exoparg2.c, exoparg3.c, and exoparg6.c.
16095
16096 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
16097
16098 Fixed a problem where the AML debugger was causing some internal
16099 objects to not be deleted during subsystem termination.
16100
16101 Fixed a problem with the external AcpiEvaluateObject interface
16102 where the subsystem would fault if the named object to be
16103 evaluated refered to a constant such as Zero, Ones, etc.
16104
16105 Fixed a problem with IndexFields and BankFields where the
16106 subsystem would fault if the index, data, or bank registers were
16107 not defined in the same scope as the field itself.
16108
16109 Added printf format string checking for compilers that support
16110 this feature.  Corrected more than 50 instances of issues with
16111 format specifiers within invocations of ACPI_DEBUG_PRINT
16112 throughout the core subsystem code.
16113
16114 The ASL "Revision" operator now returns the ACPI support level
16115 implemented in the core - the value "2" since the ACPI 2.0 support
16116 is more than 50% implemented.
16117
16118 Enhanced the output of the AML debugger "dump namespace" command
16119 to output in a more human-readable form.
16120
16121 Current core subsystem library code sizes are shown below.  These
16122
16123 are the code and data sizes for the acpica.lib produced by the
16124 Microsoft Visual C++ 6.0 compiler, and these values do not include
16125 any ACPI driver or OSPM code.  The debug version of the code
16126 includes the full debug trace mechanism -- leading to a much
16127
16128 larger code and data size.  Note that these values will vary
16129 depending on the efficiency of the compiler and the compiler
16130 options used during generation.
16131
16132      Previous Label (09_20_01):
16133      Non-Debug Version:    65K Code,     5K Data,     70K Total
16134      Debug Version:       138K Code,    58K Data,    196K Total
16135
16136      This Label:
16137
16138      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16139      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16140
16141 Linux:
16142
16143 Implemented a "Bad BIOS Blacklist" to track machines that have
16144 known ASL/AML problems.
16145
16146 Enhanced the /proc interface for the thermal zone driver and added
16147 support for _HOT (the critical suspend trip point).  The 'info'
16148 file now includes threshold/policy information, and allows setting
16149 of _SCP (cooling preference) and _TZP (polling frequency) values
16150 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
16151 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
16152 preference to the passive/quiet mode (if supported by the ASL).
16153
16154 Implemented a workaround for a gcc bug that resuted in an OOPs
16155 when loading the control method battery driver.
16156
16157  ----------------------------------------
16158 Summary of changes for this label: 09_20_01
16159
16160  ACPI CA Core Subsystem:
16161
16162 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
16163 modified to allow individual GPE levels to be flagged as wake-
16164 enabled (i.e., these GPEs are to remain enabled when the platform
16165 sleeps.)
16166
16167 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
16168 support wake-enabled GPEs.  This means that upon entering the
16169 sleep state, all GPEs that are not wake-enabled are disabled.
16170 When leaving the sleep state, these GPEs are reenabled.
16171
16172 A local double-precision divide/modulo module has been added to
16173 enhance portability to OS kernels where a 64-bit math library is
16174 not available.  The new module is "utmath.c".
16175
16176 Several optimizations have been made to reduce the use of CPU
16177 stack.  Originally over 2K, the maximum stack usage is now below
16178 2K at 1860  bytes (1.82k)
16179
16180 Fixed a problem with the AcpiGetFirmwareTable interface where the
16181 root table pointer was not mapped into a logical address properly.
16182
16183 Fixed a problem where a NULL pointer was being dereferenced in the
16184 interpreter code for the ASL Notify operator.
16185
16186 Fixed a problem where the use of the ASL Revision operator
16187 returned an error. This operator now returns the current version
16188 of the ACPI CA core subsystem.
16189
16190 Fixed a problem where objects passed as control method parameters
16191 to AcpiEvaluateObject were always deleted at method termination.
16192 However, these objects may end up being stored into the namespace
16193 by the called method.  The object reference count mechanism was
16194 applied to these objects instead of a force delete.
16195
16196 Fixed a problem where static strings or buffers (contained in the
16197 AML code) that are declared as package elements within the ASL
16198 code could cause a fault because the interpreter would attempt to
16199 delete them.  These objects are now marked with the "static
16200 object" flag to prevent any attempt to delete them.
16201
16202 Implemented an interpreter optimization to use operands directly
16203 from the state object instead of extracting the operands to local
16204 variables.  This reduces stack use and code size, and improves
16205 performance.
16206
16207 The module exxface.c was eliminated as it was an unnecessary extra
16208 layer of code.
16209
16210 Current core subsystem library code sizes are shown below.  These
16211 are the code and data sizes for the acpica.lib produced by the
16212 Microsoft Visual C++ 6.0 compiler, and these values do not include
16213 any ACPI driver or OSPM code.  The debug version of the code
16214 includes the full debug trace mechanism -- leading to a much
16215 larger code and data size.  Note that these values will vary
16216 depending on the efficiency of the compiler and the compiler
16217 options used during generation.
16218
16219   Non-Debug Version:  65K Code,   5K Data,   70K Total
16220 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
16221 Total  (Previously 195K)
16222
16223 Linux:
16224
16225 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
16226 Integer objects are now 64 bits wide
16227
16228 All Acpi data types and structures are now in lower case.  Only
16229 Acpi macros are upper case for differentiation.
16230
16231  Documentation:
16232
16233 Changes to the external interfaces as described above.
16234
16235  ----------------------------------------
16236 Summary of changes for this label: 08_31_01
16237
16238  ACPI CA Core Subsystem:
16239
16240 A bug with interpreter implementation of the ASL Divide operator
16241 was found and fixed.  The implicit function return value (not the
16242 explicit store operands) was returning the remainder instead of
16243 the quotient.  This was a longstanding bug and it fixes several
16244 known outstanding issues on various platforms.
16245
16246 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
16247 been further optimized for size.  There are 700 invocations of the
16248 DEBUG_PRINT macro alone, so each optimization reduces the size of
16249 the debug version of the subsystem significantly.
16250
16251 A stack trace mechanism has been implemented.  The maximum stack
16252 usage is about 2K on 32-bit platforms.  The debugger command "stat
16253 stack" will display the current maximum stack usage.
16254
16255 All public symbols and global variables within the subsystem are
16256 now prefixed with the string "Acpi".  This keeps all of the
16257 symbols grouped together in a kernel map, and avoids conflicts
16258 with other kernel subsystems.
16259
16260 Most of the internal fixed lookup tables have been moved into the
16261 code segment via the const operator.
16262
16263 Several enhancements have been made to the interpreter to both
16264 reduce the code size and improve performance.
16265
16266 Current core subsystem library code sizes are shown below.  These
16267 are the code and data sizes for the acpica.lib produced by the
16268 Microsoft Visual C++ 6.0 compiler, and these values do not include
16269 any ACPI driver or OSPM code.  The debug version of the code
16270 includes the full debug trace mechanism which contains over 700
16271 invocations of the DEBUG_PRINT macro, 500 function entry macro
16272 invocations, and over 900 function exit macro invocations --
16273 leading to a much larger code and data size.  Note that these
16274 values will vary depending on the efficiency of the compiler and
16275 the compiler options used during generation.
16276
16277         Non-Debug Version:  64K Code,   5K Data,   69K Total
16278 Debug Version:     137K Code,  58K Data,  195K Total
16279
16280  Linux:
16281
16282 Implemented wbinvd() macro, pending a kernel-wide definition.
16283
16284 Fixed /proc/acpi/event to handle poll() and short reads.
16285
16286  ASL Compiler, version X2026:
16287
16288 Fixed a problem introduced in the previous label where the AML
16289
16290 code emitted for package objects produced packages with zero
16291 length.
16292
16293  ----------------------------------------
16294 Summary of changes for this label: 08_16_01
16295
16296 ACPI CA Core Subsystem:
16297
16298 The following ACPI 2.0 ASL operators have been implemented in the
16299 AML interpreter (These are already supported by the Intel ASL
16300 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
16301 ToBuffer.  Support for 64-bit AML constants is implemented in the
16302 AML parser, debugger, and disassembler.
16303
16304 The internal memory tracking mechanism (leak detection code) has
16305 been upgraded to reduce the memory overhead (a separate tracking
16306 block is no longer allocated for each memory allocation), and now
16307 supports all of the internal object caches.
16308
16309 The data structures and code for the internal object caches have
16310 been coelesced and optimized so that there is a single cache and
16311 memory list data structure and a single group of functions that
16312 implement generic cache management.  This has reduced the code
16313 size in both the debug and release versions of the subsystem.
16314
16315 The DEBUG_PRINT macro(s) have been optimized for size and replaced
16316 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
16317 different, because it generates a single call to an internal
16318 function.  This results in a savings of about 90 bytes per
16319 invocation, resulting in an overall code and data savings of about
16320 16% in the debug version of the subsystem.
16321
16322  Linux:
16323
16324 Fixed C3 disk corruption problems and re-enabled C3 on supporting
16325 machines.
16326
16327 Integrated low-level sleep code by Patrick Mochel.
16328
16329 Further tweaked source code Linuxization.
16330
16331 Other minor fixes.
16332
16333  ASL Compiler:
16334
16335 Support for ACPI 2.0 variable length packages is fixed/completed.
16336
16337 Fixed a problem where the optional length parameter for the ACPI
16338 2.0 ToString operator.
16339
16340 Fixed multiple extraneous error messages when a syntax error is
16341 detected within the declaration line of a control method.
16342
16343  ----------------------------------------
16344 Summary of changes for this label: 07_17_01
16345
16346 ACPI CA Core Subsystem:
16347
16348 Added a new interface named AcpiGetFirmwareTable to obtain any
16349 ACPI table via the ACPI signature.  The interface can be called at
16350 any time during kernel initialization, even before the kernel
16351 virtual memory manager is initialized and paging is enabled.  This
16352 allows kernel subsystems to obtain ACPI tables very early, even
16353 before the ACPI CA subsystem is initialized.
16354
16355 Fixed a problem where Fields defined with the AnyAcc attribute
16356 could be resolved to the incorrect address under the following
16357 conditions: 1) the field width is larger than 8 bits and 2) the
16358 parent operation region is not defined on a DWORD boundary.
16359
16360 Fixed a problem where the interpreter is not being locked during
16361 namespace initialization (during execution of the _INI control
16362 methods), causing an error when an attempt is made to release it
16363 later.
16364
16365 ACPI 2.0 support in the AML Interpreter has begun and will be
16366 ongoing throughout the rest of this year.  In this label, The Mod
16367 operator is implemented.
16368
16369 Added a new data type to contain full PCI addresses named
16370 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
16371 and Function values.
16372
16373  Linux:
16374
16375 Enhanced the Linux version of the source code to change most
16376 capitalized ACPI type names to lowercase. For example, all
16377 instances of ACPI_STATUS are changed to acpi_status.  This will
16378 result in a large diff, but the change is strictly cosmetic and
16379 aligns the CA code closer to the Linux coding standard.
16380
16381 OSL Interfaces:
16382
16383 The interfaces to the PCI configuration space have been changed to
16384 add the PCI Segment number and to split the single 32-bit combined
16385 DeviceFunction field into two 16-bit fields.  This was
16386 accomplished by moving the four values that define an address in
16387 PCI configuration space (segment, bus, device, and function) to
16388 the new ACPI_PCI_ID structure.
16389
16390 The changes to the PCI configuration space interfaces led to a
16391 reexamination of the complete set of address space access
16392 interfaces for PCI, I/O, and Memory.  The previously existing 18
16393 interfaces have proven difficult to maintain (any small change
16394 must be propagated across at least 6 interfaces) and do not easily
16395 allow for future expansion to 64 bits if necessary.  Also, on some
16396 systems, it would not be appropriate to demultiplex the access
16397 width (8, 16, 32,or 64) before calling the OSL if the
16398 corresponding native OS interfaces contain a similar access width
16399 parameter.  For these reasons, the 18 address space interfaces
16400 have been replaced by these 6 new ones:
16401
16402 AcpiOsReadPciConfiguration
16403 AcpiOsWritePciConfiguration
16404 AcpiOsReadMemory
16405 AcpiOsWriteMemory
16406 AcpiOsReadPort
16407 AcpiOsWritePort
16408
16409 Added a new interface named AcpiOsGetRootPointer to allow the OSL
16410 to perform the platform and/or OS-specific actions necessary to
16411 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
16412 interface will simply call down to the CA core to perform the low-
16413 memory search for the table.  On IA-64, the RSDP is obtained from
16414 EFI.  Migrating this interface to the OSL allows the CA core to
16415
16416 remain OS and platform independent.
16417
16418 Added a new interface named AcpiOsSignal to provide a generic
16419 "function code and pointer" interface for various miscellaneous
16420 signals and notifications that must be made to the host OS.   The
16421 first such signals are intended to support the ASL Fatal and
16422 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
16423 interface has been obsoleted.
16424
16425 The definition of the AcpiFormatException interface has been
16426 changed to simplify its use.  The caller no longer must supply a
16427 buffer to the call; A pointer to a const string is now returned
16428 directly.  This allows the call to be easily used in printf
16429 statements, etc. since the caller does not have to manage a local
16430 buffer.
16431
16432
16433  ASL Compiler, Version X2025:
16434
16435 The ACPI 2.0 Switch/Case/Default operators have been implemented
16436 and are fully functional.  They will work with all ACPI 1.0
16437 interpreters, since the operators are simply translated to If/Else
16438 pairs.
16439
16440 The ACPI 2.0 ElseIf operator is implemented and will also work
16441 with 1.0 interpreters, for the same reason.
16442
16443 Implemented support for ACPI 2.0 variable-length packages.  These
16444 packages have a separate opcode, and their size is determined by
16445 the interpreter at run-time.
16446
16447 Documentation The ACPI CA Programmer Reference has been updated to
16448 reflect the new interfaces and changes to existing interfaces.
16449
16450  ------------------------------------------
16451 Summary of changes for this label: 06_15_01
16452
16453  ACPI CA Core Subsystem:
16454
16455 Fixed a problem where a DWORD-accessed field within a Buffer
16456 object would get its byte address inadvertently rounded down to
16457 the nearest DWORD.  Buffers are always Byte-accessible.
16458
16459  ASL Compiler, version X2024:
16460
16461 Fixed a problem where the Switch() operator would either fault or
16462 hang the compiler.  Note however, that the AML code for this ACPI
16463 2.0 operator is not yet implemented.
16464
16465 Compiler uses the new AcpiOsGetTimer interface to obtain compile
16466 timings.
16467
16468 Implementation of the CreateField operator automatically converts
16469 a reference to a named field within a resource descriptor from a
16470 byte offset to a bit offset if required.
16471
16472 Added some missing named fields from the resource descriptor
16473 support. These are the names that are automatically created by the
16474 compiler to reference fields within a descriptor.  They are only
16475 valid at compile time and are not passed through to the AML
16476 interpreter.
16477
16478 Resource descriptor named fields are now typed as Integers and
16479 subject to compile-time typechecking when used in expressions.
16480
16481  ------------------------------------------
16482 Summary of changes for this label: 05_18_01
16483
16484  ACPI CA Core Subsystem:
16485
16486 Fixed a couple of problems in the Field support code where bits
16487 from adjacent fields could be returned along with the proper field
16488 bits. Restructured the field support code to improve performance,
16489 readability and maintainability.
16490
16491 New DEBUG_PRINTP macro automatically inserts the procedure name
16492 into the output, saving hundreds of copies of procedure name
16493 strings within the source, shrinking the memory footprint of the
16494 debug version of the core subsystem.
16495
16496  Source Code Structure:
16497
16498 The source code directory tree was restructured to reflect the
16499 current organization of the component architecture.  Some files
16500 and directories have been moved and/or renamed.
16501
16502  Linux:
16503
16504 Fixed leaking kacpidpc processes.
16505
16506 Fixed queueing event data even when /proc/acpi/event is not
16507 opened.
16508
16509  ASL Compiler, version X2020:
16510
16511 Memory allocation performance enhancement - over 24X compile time
16512 improvement on large ASL files.  Parse nodes and namestring
16513 buffers are now allocated from a large internal compiler buffer.
16514
16515 The temporary .SRC file is deleted unless the "-s" option is
16516 specified
16517
16518 The "-d" debug output option now sends all output to the .DBG file
16519 instead of the console.
16520
16521 "External" second parameter is now optional
16522
16523 "ElseIf" syntax now properly allows the predicate
16524
16525 Last operand to "Load" now recognized as a Target operand
16526
16527 Debug object can now be used anywhere as a normal object.
16528
16529 ResourceTemplate now returns an object of type BUFFER
16530
16531 EISAID now returns an object of type INTEGER
16532
16533 "Index" now works with a STRING operand
16534
16535 "LoadTable" now accepts optional parameters
16536
16537 "ToString" length parameter is now optional
16538
16539 "Interrupt (ResourceType," parse error fixed.
16540
16541 "Register" with a user-defined region space parse error fixed
16542
16543 Escaped backslash at the end of a string ("\\") scan/parse error
16544 fixed
16545
16546 "Revision" is now an object of type INTEGER.
16547
16548
16549
16550 ------------------------------------------
16551 Summary of changes for this label: 05_02_01
16552
16553 Linux:
16554
16555 /proc/acpi/event now blocks properly.
16556
16557 Removed /proc/sys/acpi. You can still dump your DSDT from
16558 /proc/acpi/dsdt.
16559
16560  ACPI CA Core Subsystem:
16561
16562 Fixed a problem introduced in the previous label where some of the
16563 "small" resource descriptor types were not recognized.
16564
16565 Improved error messages for the case where an ASL Field is outside
16566 the range of the parent operation region.
16567
16568  ASL Compiler, version X2018:
16569
16570
16571 Added error detection for ASL Fields that extend beyond the length
16572 of the parent operation region (only if the length of the region
16573 is known at compile time.)  This includes fields that have a
16574 minimum access width that is smaller than the parent region, and
16575 individual field units that are partially or entirely beyond the
16576 extent of the parent.
16577
16578
16579
16580 ------------------------------------------
16581 Summary of changes for this label: 04_27_01
16582
16583  ACPI CA Core Subsystem:
16584
16585 Fixed a problem where the namespace mutex could be released at the
16586 wrong time during execution of AcpiRemoveAddressSpaceHandler.
16587
16588 Added optional thread ID output for debug traces, to simplify
16589 debugging of multiple threads.  Added context switch notification
16590 when the debug code realizes that a different thread is now
16591 executing ACPI code.
16592
16593 Some additional external data types have been prefixed with the
16594 string "ACPI_" for consistency.  This may effect existing code.
16595 The data types affected are the external callback typedefs - e.g.,
16596
16597 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
16598
16599  Linux:
16600
16601 Fixed an issue with the OSL semaphore implementation where a
16602 thread was waking up with an error from receiving a SIGCHLD
16603 signal.
16604
16605 Linux version of ACPI CA now uses the system C library for string
16606 manipulation routines instead of a local implementation.
16607
16608 Cleaned up comments and removed TBDs.
16609
16610  ASL Compiler, version X2017:
16611
16612 Enhanced error detection and reporting for all file I/O
16613 operations.
16614
16615  Documentation:
16616
16617 Programmer Reference updated to version 1.06.
16618
16619
16620
16621 ------------------------------------------
16622 Summary of changes for this label: 04_13_01
16623
16624  ACPI CA Core Subsystem:
16625
16626 Restructured support for BufferFields and RegionFields.
16627 BankFields support is now fully operational.  All known 32-bit
16628 limitations on field sizes have been removed.  Both BufferFields
16629 and (Operation) RegionFields are now supported by the same field
16630 management code.
16631
16632 Resource support now supports QWORD address and IO resources. The
16633 16/32/64 bit address structures and the Extended IRQ structure
16634 have been changed to properly handle Source Resource strings.
16635
16636 A ThreadId of -1 is now used to indicate a "mutex not acquired"
16637 condition internally and must never be returned by AcpiOsThreadId.
16638 This reserved value was changed from 0 since Unix systems allow a
16639 thread ID of 0.
16640
16641 Linux:
16642
16643 Driver code reorganized to enhance portability
16644
16645 Added a kernel configuration option to control ACPI_DEBUG
16646
16647 Fixed the EC driver to honor _GLK.
16648
16649 ASL Compiler, version X2016:
16650
16651 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
16652 address space was set to 0, not 0x7f as it should be.
16653
16654  ------------------------------------------
16655 Summary of changes for this label: 03_13_01
16656
16657  ACPI CA Core Subsystem:
16658
16659 During ACPI initialization, the _SB_._INI method is now run if
16660 present.
16661
16662 Notify handler fix - notifies are deferred until the parent method
16663 completes execution.  This fixes the "mutex already acquired"
16664 issue seen occasionally.
16665
16666 Part of the "implicit conversion" rules in ACPI 2.0 have been
16667 found to cause compatibility problems with existing ASL/AML.  The
16668 convert "result-to-target-type" implementation has been removed
16669 for stores to method Args and Locals.  Source operand conversion
16670 is still fully implemented.  Possible changes to ACPI 2.0
16671 specification pending.
16672
16673 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
16674 length.
16675
16676 Fix for compiler warnings for 64-bit compiles.
16677
16678  Linux:
16679
16680 /proc output aligned for easier parsing.
16681
16682 Release-version compile problem fixed.
16683
16684 New kernel configuration options documented in Configure.help.
16685
16686 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
16687 context" message.
16688
16689  OSPM:
16690
16691 Power resource driver integrated with bus manager.
16692
16693 Fixed kernel fault during active cooling for thermal zones.
16694
16695 Source Code:
16696
16697 The source code tree has been restructured.
16698
16699
16700
16701 ------------------------------------------
16702 Summary of changes for this label: 03_02_01
16703
16704  Linux OS Services Layer (OSL):
16705
16706 Major revision of all Linux-specific code.
16707
16708 Modularized all ACPI-specific drivers.
16709
16710 Added new thermal zone and power resource drivers.
16711
16712 Revamped /proc interface (new functionality is under /proc/acpi).
16713
16714 New kernel configuration options.
16715
16716  Linux known issues:
16717
16718 New kernel configuration options not documented in Configure.help
16719 yet.
16720
16721
16722 Module dependencies not currently implemented. If used, they
16723 should be loaded in this order: busmgr, power, ec, system,
16724 processor, battery, ac_adapter, button, thermal.
16725
16726 Modules will not load if CONFIG_MODVERSION is set.
16727
16728 IBM 600E - entering S5 may reboot instead of shutting down.
16729
16730 IBM 600E - Sleep button may generate "Invalid <NULL> context"
16731 message.
16732
16733 Some systems may fail with "execution mutex already acquired"
16734 message.
16735
16736  ACPI CA Core Subsystem:
16737
16738 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
16739 for the  deadlock detection code. Defined to return a non-zero, 32-
16740 bit thread ID for the currently executing thread.  May be a non-
16741 zero constant integer on single-thread systems.
16742
16743 Implemented deadlock detection for internal subsystem mutexes.  We
16744 may add conditional compilation for this code (debug only) later.
16745
16746 ASL/AML Mutex object semantics are now fully supported.  This
16747 includes multiple acquires/releases by owner and support for the
16748
16749 Mutex SyncLevel parameter.
16750
16751 A new "Force Release" mechanism automatically frees all ASL
16752 Mutexes that have been acquired but not released when a thread
16753 exits the interpreter.  This forces conformance to the ACPI spec
16754 ("All mutexes must be released when an invocation exits") and
16755 prevents deadlocked ASL threads.  This mechanism can be expanded
16756 (later) to monitor other resource acquisitions if OEM ASL code
16757 continues to misbehave (which it will).
16758
16759 Several new ACPI exception codes have been added for the Mutex
16760 support.
16761
16762 Recursive method calls are now allowed and supported (the ACPI
16763 spec does in fact allow recursive method calls.)  The number of
16764 recursive calls is subject to the restrictions imposed by the
16765 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
16766 parameter.
16767
16768 Implemented support for the SyncLevel parameter for control
16769 methods (ACPI 2.0 feature)
16770
16771 Fixed a deadlock problem when multiple threads attempted to use
16772 the interpreter.
16773
16774 Fixed a problem where the string length of a String package
16775 element was not always set in a package returned from
16776 AcpiEvaluateObject.
16777
16778 Fixed a problem where the length of a String package element was
16779 not always included in the length of the overall package returned
16780 from AcpiEvaluateObject.
16781
16782 Added external interfaces (Acpi*) to the ACPI debug memory
16783 manager.  This manager keeps a list of all outstanding
16784 allocations, and can therefore detect memory leaks and attempts to
16785 free memory blocks more than once. Useful for code such as the
16786 power manager, etc.  May not be appropriate for device drivers.
16787 Performance with the debug code enabled is slow.
16788
16789 The ACPI Global Lock is now an optional hardware element.
16790
16791  ASL Compiler Version X2015:
16792
16793 Integrated changes to allow the compiler to be generated on
16794 multiple platforms.
16795
16796 Linux makefile added to generate the compiler on Linux
16797
16798  Source Code:
16799
16800 All platform-specific headers have been moved to their own
16801 subdirectory, Include/Platform.
16802
16803 New source file added, Interpreter/ammutex.c
16804
16805 New header file, Include/acstruct.h
16806
16807  Documentation:
16808
16809 The programmer reference has been updated for the following new
16810 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
16811
16812  ------------------------------------------
16813 Summary of changes for this label: 02_08_01
16814
16815 Core ACPI CA Subsystem: Fixed a problem where an error was
16816 incorrectly returned if the return resource buffer was larger than
16817 the actual data (in the resource interfaces).
16818
16819 References to named objects within packages are resolved to the
16820
16821 full pathname string before packages are returned directly (via
16822 the AcpiEvaluateObject interface) or indirectly via the resource
16823 interfaces.
16824
16825 Linux OS Services Layer (OSL):
16826
16827 Improved /proc battery interface.
16828
16829
16830 Added C-state debugging output and other miscellaneous fixes.
16831
16832 ASL Compiler Version X2014:
16833
16834 All defined method arguments can now be used as local variables,
16835 including the ones that are not actually passed in as parameters.
16836 The compiler tracks initialization of the arguments and issues an
16837 exception if they are used without prior assignment (just like
16838 locals).
16839
16840 The -o option now specifies a filename prefix that is used for all
16841 output files, including the AML output file.  Otherwise, the
16842 default behavior is as follows:  1) the AML goes to the file
16843 specified in the DSDT.  2) all other output files use the input
16844 source filename as the base.
16845
16846  ------------------------------------------
16847 Summary of changes for this label: 01_25_01
16848
16849 Core ACPI CA Subsystem: Restructured the implementation of object
16850 store support within the  interpreter.  This includes support for
16851 the Store operator as well  as any ASL operators that include a
16852 target operand.
16853
16854 Partially implemented support for Implicit Result-to-Target
16855 conversion. This is when a result object is converted on the fly
16856 to the type of  an existing target object.  Completion of this
16857 support is pending  further analysis of the ACPI specification
16858 concerning this matter.
16859
16860 CPU-specific code has been removed from the subsystem (hardware
16861 directory).
16862
16863 New Power Management Timer functions added
16864
16865 Linux OS Services Layer (OSL): Moved system state transition code
16866 to the core, fixed it, and modified  Linux OSL accordingly.
16867
16868 Fixed C2 and C3 latency calculations.
16869
16870
16871 We no longer use the compilation date for the version message on
16872 initialization, but retrieve the version from AcpiGetSystemInfo().
16873
16874 Incorporated for fix Sony VAIO machines.
16875
16876 Documentation:  The Programmer Reference has been updated and
16877 reformatted.
16878
16879
16880 ASL Compiler:  Version X2013: Fixed a problem where the line
16881 numbering and error reporting could get out  of sync in the
16882 presence of multiple include files.
16883
16884  ------------------------------------------
16885 Summary of changes for this label: 01_15_01
16886
16887 Core ACPI CA Subsystem:
16888
16889 Implemented support for type conversions in the execution of the
16890 ASL  Concatenate operator (The second operand is converted to
16891 match the type  of the first operand before concatenation.)
16892
16893 Support for implicit source operand conversion is partially
16894 implemented.   The ASL source operand types Integer, Buffer, and
16895 String are freely  interchangeable for most ASL operators and are
16896 converted by the interpreter  on the fly as required.  Implicit
16897 Target operand conversion (where the  result is converted to the
16898 target type before storing) is not yet implemented.
16899
16900 Support for 32-bit and 64-bit BCD integers is implemented.
16901
16902 Problem fixed where a field read on an aligned field could cause a
16903 read  past the end of the field.
16904
16905 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
16906 does not return a value, but the caller expects one.  (The ASL
16907 compiler flags this as a warning.)
16908
16909 ASL Compiler:
16910
16911 Version X2011:
16912 1. Static typechecking of all operands is implemented. This
16913 prevents the use of invalid objects (such as using a Package where
16914 an Integer is required) at compile time instead of at interpreter
16915 run-time.
16916 2. The ASL source line is printed with ALL errors and warnings.
16917 3. Bug fix for source EOF without final linefeed.
16918 4. Debug option is split into a parse trace and a namespace trace.
16919 5. Namespace output option (-n) includes initial values for
16920 integers and strings.
16921 6. Parse-only option added for quick syntax checking.
16922 7. Compiler checks for duplicate ACPI name declarations
16923
16924 Version X2012:
16925 1. Relaxed typechecking to allow interchangeability between
16926 strings, integers, and buffers.  These types are now converted by
16927 the interpreter at runtime.
16928 2. Compiler reports time taken by each internal subsystem in the
16929 debug         output file.
16930
16931
16932  ------------------------------------------
16933 Summary of changes for this label: 12_14_00
16934
16935 ASL Compiler:
16936
16937 This is the first official release of the compiler. Since the
16938 compiler requires elements of the Core Subsystem, this label
16939 synchronizes everything.
16940
16941 ------------------------------------------
16942 Summary of changes for this label: 12_08_00
16943
16944
16945 Fixed a problem where named references within the ASL definition
16946 of both OperationRegions and CreateXXXFields did not work
16947 properly.  The symptom was an AE_AML_OPERAND_TYPE during
16948 initialization of the region/field. This is similar (but not
16949 related internally) to the problem that was fixed in the last
16950 label.
16951
16952 Implemented both 32-bit and 64-bit support for the BCD ASL
16953 functions ToBCD and FromBCD.
16954
16955 Updated all legal headers to include "2000" in the copyright
16956 years.
16957
16958  ------------------------------------------
16959 Summary of changes for this label: 12_01_00
16960
16961 Fixed a problem where method invocations within the ASL definition
16962 of both OperationRegions and CreateXXXFields did not work
16963 properly.  The symptom was an AE_AML_OPERAND_TYPE during
16964 initialization of the region/field:
16965
16966   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
16967 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
16968 (0x3005)
16969
16970 Fixed a problem where operators with more than one nested
16971 subexpression would fail.  The symptoms were varied, by mostly
16972 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
16973 problem that has gone unnoticed until now.
16974
16975   Subtract (Add (1,2), Multiply (3,4))
16976
16977 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
16978 previous build (The prefix part of a relative path was handled
16979 incorrectly).
16980
16981 Fixed a problem where Operation Region initialization failed if
16982 the operation region name was a "namepath" instead of a simple
16983 "nameseg". Symptom was an AE_NO_OPERAND error.
16984
16985 Fixed a problem where an assignment to a local variable via the
16986 indirect RefOf mechanism only worked for the first such
16987 assignment.  Subsequent assignments were ignored.
16988
16989  ------------------------------------------
16990 Summary of changes for this label: 11_15_00
16991
16992 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
16993 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
16994 the AML  interpreter does NOT have support for the new 2.0 ASL
16995 grammar terms at this time.
16996
16997 All ACPI hardware access is via the GAS structures in the ACPI 2.0
16998 FADT.
16999
17000 All physical memory addresses across all platforms are now 64 bits
17001 wide. Logical address width remains dependent on the platform
17002 (i.e., "void *").
17003
17004 AcpiOsMapMemory interface changed to a 64-bit physical address.
17005
17006 The AML interpreter integer size is now 64 bits, as per the ACPI
17007 2.0 specification.
17008
17009 For backwards compatibility with ACPI 1.0, ACPI tables with a
17010 revision number less than 2 use 32-bit integers only.
17011
17012 Fixed a problem where the evaluation of OpRegion operands did not
17013 always resolve them to numbers properly.
17014
17015 ------------------------------------------
17016 Summary of changes for this label: 10_20_00
17017
17018 Fix for CBN_._STA issue.  This fix will allow correct access to
17019 CBN_ OpRegions when the _STA returns 0x8.
17020
17021 Support to convert ACPI constants (Ones, Zeros, One) to actual
17022 values before a package object is returned
17023
17024 Fix for method call as predicate to if/while construct causing
17025 incorrect if/while behavior
17026
17027 Fix for Else block package lengths sometimes calculated wrong (if
17028 block > 63 bytes)
17029
17030 Fix for Processor object length field, was always zero
17031
17032 Table load abort if FACP sanity check fails
17033
17034 Fix for problem with Scope(name) if name already exists
17035
17036 Warning emitted if a named object referenced cannot be found
17037 (resolved) during method execution.
17038
17039
17040
17041
17042
17043 ------------------------------------------
17044 Summary of changes for this label: 9_29_00
17045
17046 New table initialization interfaces: AcpiInitializeSubsystem no
17047 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
17048 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
17049 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
17050 AcpiLoadTables
17051
17052 Note: These interface changes require changes to all existing OSDs
17053
17054 The PCI_Config default address space handler is always installed
17055 at the root namespace object.
17056
17057 -------------------------------------------
17058 Summary of changes for this label: 09_15_00
17059
17060 The new initialization architecture is implemented.  New
17061 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
17062 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
17063
17064 (Namespace is automatically loaded when a table is loaded)
17065
17066 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
17067 52 bytes to 32 bytes.  There is usually one of these for every
17068 namespace object, so the memory savings is significant.
17069
17070 Implemented just-in-time evaluation of the CreateField operators.
17071
17072 Bug fixes for IA-64 support have been integrated.
17073
17074 Additional code review comments have been implemented
17075
17076 The so-called "third pass parse" has been replaced by a final walk
17077 through the namespace to initialize all operation regions (address
17078 spaces) and fields that have not yet been initialized during the
17079 execution of the various _INI and REG methods.
17080
17081 New file - namespace/nsinit.c
17082
17083 -------------------------------------------
17084 Summary of changes for this label: 09_01_00
17085
17086 Namespace manager data structures have been reworked to change the
17087 primary  object from a table to a single object.  This has
17088 resulted in dynamic memory  savings of 3X within the namespace and
17089 2X overall in the ACPI CA subsystem.
17090
17091 Fixed problem where the call to AcpiEvFindPciRootBuses was
17092 inadvertently left  commented out.
17093
17094 Reduced the warning count when generating the source with the GCC
17095 compiler.
17096
17097 Revision numbers added to each module header showing the
17098 SourceSafe version of the file.  Please refer to this version
17099 number when giving us feedback or comments on individual modules.
17100
17101 The main object types within the subsystem have been renamed to
17102 clarify their  purpose:
17103
17104 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
17105 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
17106 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
17107
17108 NOTE: no changes to the initialization sequence are included in
17109 this label.
17110
17111 -------------------------------------------
17112 Summary of changes for this label: 08_23_00
17113
17114 Fixed problem where TerminateControlMethod was being called
17115 multiple times per  method
17116
17117 Fixed debugger problem where single stepping caused a semaphore to
17118 be  oversignalled
17119
17120 Improved performance through additional parse object caching -
17121 added  ACPI_EXTENDED_OP type
17122
17123 -------------------------------------------
17124 Summary of changes for this label: 08_10_00
17125
17126 Parser/Interpreter integration:  Eliminated the creation of
17127 complete parse trees  for ACPI tables and control methods.
17128 Instead, parse subtrees are created and  then deleted as soon as
17129 they are processed (Either entered into the namespace or  executed
17130 by the interpreter).  This reduces the use of dynamic kernel
17131 memory  significantly. (about 10X)
17132
17133 Exception codes broken into classes and renumbered.  Be sure to
17134 recompile all  code that includes acexcep.h.  Hopefully we won't
17135 have to renumber the codes  again now that they are split into
17136 classes (environment, programmer, AML code,  ACPI table, and
17137 internal).
17138
17139 Fixed some additional alignment issues in the Resource Manager
17140 subcomponent
17141
17142 Implemented semaphore tracking in the AcpiExec utility, and fixed
17143 several places  where mutexes/semaphores were being unlocked
17144 without a corresponding lock  operation.  There are no known
17145 semaphore or mutex "leaks" at this time.
17146
17147 Fixed the case where an ASL Return operator is used to return an
17148 unnamed  package.
17149
17150 -------------------------------------------
17151 Summary of changes for this label: 07_28_00
17152
17153 Fixed a problem with the way addresses were calculated in
17154 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
17155 manifested itself when a Field was  created with WordAccess or
17156 DwordAccess, but the field unit defined within the  Field was less
17157
17158 than a Word or Dword.
17159
17160 Fixed a problem in AmlDumpOperands() module's loop to pull
17161 operands off of the  operand stack to display information. The
17162 problem manifested itself as a TLB  error on 64-bit systems when
17163 accessing an operand stack with two or more  operands.
17164
17165 Fixed a problem with the PCI configuration space handlers where
17166 context was  getting confused between accesses. This required a
17167 change to the generic address  space handler and address space
17168 setup definitions. Handlers now get both a  global handler context
17169 (this is the one passed in by the user when executing
17170 AcpiInstallAddressSpaceHandler() and a specific region context
17171 that is unique to  each region (For example, the _ADR, _SEG and
17172 _BBN values associated with a  specific region). The generic
17173 function definitions have changed to the  following:
17174
17175 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
17176 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
17177 *HandlerContext, // This used to be void *Context void
17178 *RegionContext); // This is an additional parameter
17179
17180 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
17181 RegionHandle, UINT32 Function, void *HandlerContext,  void
17182 **RegionContext); // This used to be **ReturnContext
17183
17184 -------------------------------------------
17185 Summary of changes for this label: 07_21_00
17186
17187 Major file consolidation and rename.  All files within the
17188 interpreter have been  renamed as well as most header files.  This
17189 was done to prevent collisions with  existing files in the host
17190 OSs -- filenames such as "config.h" and "global.h"  seem to be
17191 quite common.  The VC project files have been updated.  All
17192 makefiles  will require modification.
17193
17194 The parser/interpreter integration continues in Phase 5 with the
17195 implementation  of a complete 2-pass parse (the AML is parsed
17196 twice) for each table;  This  avoids the construction of a huge
17197 parse tree and therefore reduces the amount of  dynamic memory
17198 required by the subsystem.  Greater use of the parse object cache
17199 means that performance is unaffected.
17200
17201 Many comments from the two code reviews have been rolled in.
17202
17203 The 64-bit alignment support is complete.
17204
17205 -------------------------------------------
17206 Summary of changes for this label: 06_30_00
17207
17208 With a nod and a tip of the hat to the technology of yesteryear,
17209 we've added  support in the source code for 80 column output
17210 devices.  The code is now mostly  constrained to 80 columns or
17211 less to support environments and editors that 1)  cannot display
17212 or print more than 80 characters on a single line, and 2) cannot
17213 disable line wrapping.
17214
17215 A major restructuring of the namespace data structure has been
17216 completed.  The  result is 1) cleaner and more
17217 understandable/maintainable code, and 2) a  significant reduction
17218 in the dynamic memory requirement for each named ACPI  object
17219 (almost half).
17220
17221 -------------------------------------------
17222 Summary of changes for this label: 06_23_00
17223
17224 Linux support has been added.  In order to obtain approval to get
17225 the ACPI CA  subsystem into the Linux kernel, we've had to make
17226 quite a few changes to the  base subsystem that will affect all
17227 users (all the changes are generic and OS- independent).  The
17228 effects of these global changes have been somewhat far  reaching.
17229 Files have been merged and/or renamed and interfaces have been
17230 renamed.   The major changes are described below.
17231
17232 Osd* interfaces renamed to AcpiOs* to eliminate namespace
17233 pollution/confusion  within our target kernels.  All OSD
17234 interfaces must be modified to match the new  naming convention.
17235
17236 Files merged across the subsystem.  A number of the smaller source
17237 and header  files have been merged to reduce the file count and
17238 increase the density of the  existing files.  There are too many
17239 to list here.  In general, makefiles that  call out individual
17240 files will require rebuilding.
17241
17242 Interpreter files renamed.  All interpreter files now have the
17243 prefix am*  instead of ie* and is*.
17244
17245 Header files renamed:  The acapi.h file is now acpixf.h.  The
17246 acpiosd.h file is  now acpiosxf.h.  We are removing references to
17247 the acronym "API" since it is  somewhat windowsy. The new name is
17248 "external interface" or xface or xf in the  filenames.j
17249
17250
17251 All manifest constants have been forced to upper case (some were
17252 mixed case.)   Also, the string "ACPI_" has been prepended to many
17253 (not all) of the constants,  typedefs, and structs.
17254
17255 The globals "DebugLevel" and "DebugLayer" have been renamed
17256 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
17257
17258 All other globals within the subsystem are now prefixed with
17259 "AcpiGbl_" Internal procedures within the subsystem are now
17260 prefixed with "Acpi" (with only  a few exceptions).  The original
17261 two-letter abbreviation for the subcomponent  remains after "Acpi"
17262 - for example, CmCallocate became AcpiCmCallocate.
17263
17264 Added a source code translation/conversion utility.  Used to
17265 generate the Linux  source code, it can be modified to generate
17266 other types of source as well. Can  also be used to cleanup
17267 existing source by removing extraneous spaces and blank  lines.
17268 Found in tools/acpisrc/*
17269
17270 OsdUnMapMemory was renamed to OsdUnmapMemory and then
17271 AcpiOsUnmapMemory.  (UnMap  became Unmap).
17272
17273 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
17274 When set to  one, this indicates that the caller wants to use the
17275
17276 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
17277 both types.  However, implementers of this  call may want to use
17278 different OS primitives depending on the type of semaphore
17279 requested.  For example, some operating systems provide separate
17280
17281 "mutex" and  "semaphore" interfaces - where the mutex interface is
17282 much faster because it  doesn't have all the overhead of a full
17283 semaphore implementation.
17284
17285 Fixed a deadlock problem where a method that accesses the PCI
17286 address space can  block forever if it is the first access to the
17287 space.
17288
17289 -------------------------------------------
17290 Summary of changes for this label: 06_02_00
17291
17292 Support for environments that cannot handle unaligned data
17293 accesses (e.g.  firmware and OS environments devoid of alignment
17294 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
17295 been added (via configurable macros) in  these three areas: -
17296 Transfer of data from the raw AML byte stream is done via byte
17297 moves instead of    word/dword/qword moves. - External objects are
17298 aligned within the user buffer, including package   elements (sub-
17299 objects). - Conversion of name strings to UINT32 Acpi Names is now
17300 done byte-wise.
17301
17302 The Store operator was modified to mimic Microsoft's
17303 implementation when storing  to a Buffer Field.
17304
17305 Added a check of the BM_STS bit before entering C3.
17306
17307 The methods subdirectory has been obsoleted and removed.  A new
17308 file, cmeval.c  subsumes the functionality.
17309
17310 A 16-bit (DOS) version of AcpiExec has been developed.  The
17311 makefile is under  the acpiexec directory.