Sync ACPICA with Intel's version 20181213.
[dragonfly.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 13 December 2018. Summary of changes for version 20181213:
3
4
5 1) ACPICA Kernel-resident Subsystem:
6
7 Fixed some buffer length issues with the GenericSerialBus, related to two 
8 of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes, 
9 which are rarely seen in the field. For these, the LEN field of the ASL 
10 buffer is now ignored. Hans de Goede
11
12 Implemented a new object evaluation trace mechanism for control methods 
13 and data objects. This includes nested control methods. It is 
14 particularly useful for examining the ACPI execution during system 
15 initialization since the output is relatively terse. The flag below 
16 enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface:
17    #define ACPI_LV_EVALUATION          0x00080000
18
19 Examples:
20    Enter evaluation       :  _SB.PCI0._INI (Method)
21    Exit evaluation        :  _SB.PCI0._INI
22    Enter evaluation       :  _OSI (Method)
23    Exit evaluation        :  _OSI
24    Enter evaluation       :  _SB.PCI0.TEST (Method)
25    Nested method call     :     _SB.PCI0.NST1
26    Exit nested method     :     _SB.PCI0.NST1
27    Exit evaluation        :  _SB.PCI0.TEST
28
29 Added two recently-defined _OSI strings. See 
30 https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-
31 osi.
32    "Windows 2018"
33    "Windows 2018.2"
34
35 Update for buffer-to-string conversions via the ToHexString ASL operator. 
36 A "0x" is now prepended to each of the hex values in the output string. 
37 This provides compatibility with other ACPI implementations. The ACPI 
38 specification is somewhat vague on this issue.
39    Example output string after conversion: 
40 "0x01,0x02,0x03,0x04,0x05,0x06"
41
42 Return a run-time error for TermArg expressions within individual package 
43 elements. Although this is technically supported by the ASL grammar, 
44 other ACPI implementations do not support this either. Also, this fixes a 
45 fault if this type of construct is ever encountered (it never has been).
46
47
48 2) iASL Compiler/Disassembler and Tools:
49
50 iASL: Implemented a new compile option (-ww) that will promote individual 
51 warnings and remarks to errors. This is intended to enhance the firmware 
52 build process.
53
54 AcpiExec: Implemented a new command-line option (-eo) to support the new 
55 object evaluation trace mechanism described above.
56
57 Disassembler: Added support to disassemble OEMx tables as AML/ASL tables 
58 instead of a "unknown table" message.
59
60 AcpiHelp: Improved support for the "special" predefined names such as 
61 _Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be 
62 used for "xx" and "x".
63
64 ----------------------------------------
65 31 October 2018. Summary of changes for version 20181031:
66
67
68 An Operation Region regression was fixed by properly adding address 
69 ranges to a global list during initialization. This allows OS to 
70 accurately check for overlapping regions between native devices (such as 
71 PCI) and Operation regions as well as checking for region conflicts 
72 between two Operation Regions.
73
74 Added support for the 2-byte extended opcodes in the code/feature that 
75 attempts to continue parsing during the table load phase. Skip parsing 
76 Device declarations (and other extended opcodes) when an error occurs 
77 during parsing. Previously, only single-byte opcodes were supported.
78
79 Cleanup: Simplified the module-level code support by eliminating a 
80 useless global variable (AcpiGbl_GroupModuleLeveCode).
81
82
83 2) iASL Compiler/Disassembler and Tools:
84
85 iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE 
86 could cause a fault in the preprocessor. This was an inadvertent side-
87 effect from moving more allocations/frees to the local cache/memory 
88 mechanism.
89
90 iASL: Enhanced error detection by validating that all NameSeg elements 
91 within a NamePatch actually exist. The previous behavior was spotty at 
92 best, and such errors could be improperly ignored at compiler time (never 
93 at runtime, however. There are two new error messages, as shown in the 
94 examples below:
95
96 dsdt.asl     33:     CreateByteField (TTTT.BXXX, 1, CBF1)
97 Error    6161 -                              ^ One or more objects within 
98 the Pathname do not exist (TTTT.BXXX)
99
100 dsdt.asl     34:     CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
101 Error    6160 -        One or more prefix Scopes do not exist ^  
102 (BBBB.CBF1)
103
104 iASL: Disassembler/table-compiler: Added support for the static data 
105 table TPM2 revision 3 (an older version of TPM2). The support has been 
106 added for the compiler and the disassembler.
107
108 Fixed compilation of DOS format data table file on Unix/Linux systems. 
109 iASL now properly detects line continuations (\) for DOS format data 
110 table definition language files on when executing on Unix/Linux.
111
112 ----------------------------------------
113 03 October 2018. Summary of changes for version 20181003:
114
115
116 2) iASL Compiler/Disassembler and Tools:
117
118 Fixed a regression introduced in version 20180927 that could cause the 
119 compiler to fault, especially with NamePaths containing one or more 
120 carats (^). Such as: ^^_SB_PCI0
121
122 Added a new remark for the Sleep() operator when the sleep time operand 
123 is larger than one second. This is a very long time for the ASL/BIOS code 
124 and may not be what was intended by the ASL writer.
125
126 ----------------------------------------
127 27 September 2018. Summary of changes for version 20180927:
128
129
130 1) ACPICA kernel-resident subsystem:
131
132 Updated the GPE support to clear the status of all ACPI events when 
133 entering any/all sleep states in order to avoid premature wakeups. In 
134 theory, this may cause some wakeup events to be missed, but the 
135 likelihood of this is small. This change restores the original behavior 
136 of the ACPICA code in order to fix a regression seen from the previous 
137 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change. 
138 This regression could cause some systems to incorrectly wake immediately.
139
140 Updated the execution of the _REG methods during initialization and 
141 namespace loading to bring the behavior into closer conformance to the 
142 ACPI specification and other ACPI implementations:
143
144 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
145     "Control methods must assume all operation regions are inaccessible 
146 until the _REG(RegionSpace, 1) method is executed"
147
148     "The exceptions to this rule are:
149 1.  OSPM must guarantee that the following operation regions are always 
150 accessible:
151     SystemIO operation regions.
152     SystemMemory operation regions when accessing memory returned by the 
153 System Address Map reporting interfaces."
154
155 Since the state of both the SystemIO and SystemMemory address spaces are 
156 defined by the specification to never change, this ACPICA change ensures 
157 that now _REG is never called on them. This solves some problems seen in 
158 the field and provides compatibility with other ACPI implementations. An 
159 update to the upcoming new version of the ACPI specification will help 
160 clarify this behavior.
161
162 Updated the implementation of support for the Generic Serial Bus. For the 
163 "bidirectional" protocols, the internal implementation now automatically 
164 creates a return data buffer of the maximum size (255). This handles the 
165 worst-case for data that is returned from the serial bus handler, and 
166 fixes some problems seen in the field. This new buffer is directly 
167 returned to the ASL. As such, there is no true "bidirectional" buffer, 
168 which matches the ACPI specification. This is the reason for the "double 
169 store" seen in the example ASL code in the specification, shown below:
170
171 Word Process Call (AttribProcessCall):
172     OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
173     Field(TOP1, BufferAcc, NoLock, Preserve)
174     {
175         FLD1, 8, // Virtual register at command value 1.
176     }
177
178     Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
179                              // as BUFF
180     CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
181
182     Store(0x5416, DATA)               // Save 0x5416 into the data buffer
183     Store(Store(BUFF, FLD1), BUFF)    // Invoke a write/read Process Call 
184 transaction
185                            // This is the "double store". The write to
186                            // FLD1 returns a new buffer, which is stored
187                            // back into BUFF with the second Store.
188
189
190 2) iASL Compiler/Disassembler and Tools:
191
192 iASL: Implemented detection of extraneous/redundant uses of the Offset() 
193 operator within a Field Unit list. A remark is now issued for these. For 
194 example, the first two of the Offset() operators below are extraneous. 
195 Because both the compiler and the interpreter track the offsets 
196 automatically, these Offsets simply refer to the current offset and are 
197 unnecessary. Note, when optimization is enabled, the iASL compiler will 
198 in fact remove the redundant Offset operators and will not emit any AML 
199 code for them.
200
201     OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
202     Field (OPR1)
203     {
204         Offset (0),     // Never needed
205         FLD1, 32,
206         Offset (4),     // Redundant, offset is already 4 (bytes)
207         FLD2, 8,
208         Offset (64),    // OK use of Offset.
209         FLD3, 16,
210     }
211 dsdt.asl     14:         Offset (0),
212 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
213 operator
214
215 dsdt.asl     16:         Offset (4),
216 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
217 operator
218
219 ----------------------------------------
220 10 August 2018. Summary of changes for version 20180810:
221
222
223 1) ACPICA kernel-resident subsystem:
224
225 Initial ACPI table loading: Attempt to continue loading ACPI tables 
226 regardless of malformed AML. Since migrating table initialization to the 
227 new module-level code support, the AML interpreter rejected tables upon 
228 any ACPI error encountered during table load. This is a problem because 
229 non-serious ACPI errors during table load do not necessarily mean that 
230 the entire definition block (DSDT or SSDT) is invalid. This change 
231 improves the table loading by ignoring some types of errors that can be 
232 generated by incorrect AML. This can range from object type errors, scope 
233 errors, and index errors.
234
235 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs 
236 during suspend/resume. The status of ACPI events is no longer cleared 
237 when entering the ACPI S5 system state (power off) which caused some 
238 systems to power up immediately after turning off power in certain 
239 situations. This was a functional regression. It was fixed by clearing 
240 the status of all ACPI events again when entering S5 (for system-wide 
241 suspend or hibernation the clearing of the status of all events is not 
242 desirable, as it might cause the kernel to miss wakeup events sometimes). 
243 Rafael Wysocki.
244
245
246 2) iASL Compiler/Disassembler and Tools:
247
248 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field 
249 elements listed in the initialization file were previously initialized 
250 after the table load and before executing module-level code blocks. 
251 Recent changes in the module-level code support means that the table load 
252 becomes a large control method execution. If fields are used within 
253 module-level code and we are executing with the -fi option, the 
254 initialization values were used to initialize the namespace object(s) 
255 only after the table was finished loading. This change Provides an early 
256 initialization of objects specified in the initialization file so that 
257 field unit values are populated during the table load (not after the 
258 load).
259
260 AcpiExec: Fixed a small memory leak regression that could result in 
261 warnings during exit of the utility. These warnings were similar to 
262 these:
263     0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
264     0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
265
266 ----------------------------------------
267 29 June 2018. Summary of changes for version 20180629:
268
269
270 1) iASL Compiler/Disassembler and Tools:
271
272 iASL: Fixed a regression related to the use of the ASL External 
273 statement. Error checking for the use of the External() statement has 
274 been relaxed. Previously, a restriction on the use of External meant that 
275 the referenced named object was required to be defined in a different 
276 table (an SSDT). Thus it would be an error to declare an object as an 
277 external and then define the same named object in the same table. For 
278 example:
279     DefinitionBlock (...)
280     {
281         External (DEV1)
282         Device (DEV1){...} // This was an error
283     }
284 However, this behavior has caused regressions in some existing ASL code, 
285 because there is code that depends on named objects and externals (with 
286 the same name) being declared in the same table. This change will allow 
287 the ASL code above to compile without errors or warnings.
288
289 iASL: Implemented ASL language extensions for four operators to make some 
290 of their arguments optional instead of required:
291     1) Field (RegionName, AccessType, LockRule, UpdateRule)
292     2) BankField (RegionName, BankName, BankValue,
293                 AccessType, LockRule, UpdateRule)
294     3) IndexField (IndexName, DataName,
295                 AccessType, LockRule, UpdateRule)
296 For the Field operators above, the AccessType, LockRule, and UpdateRule 
297 are now optional arguments. The default values are:
298         AccessType: AnyAcc
299         LockRule:   NoLock
300         UpdateRule: Preserve
301     4) Mutex (MutexName, SyncLevel)
302 For this operator, the SyncLevel argument is now optional. This argument 
303 is rarely used in any meaningful way by ASL code, and thus it makes sense 
304 to make it optional. The default value is:
305         SyncLevel:  0
306
307 iASL: Attempted use of the ASL Unload() operator now results in the 
308 following warning:
309     "Unload is not supported by all operating systems"
310 This is in fact very true, and the Unload operator may be completely 
311 deprecated in the near future.
312
313 AcpiExec: Fixed a regression for the -fi option (Namespace initialization 
314 file. Recent changes in the ACPICA module-level code support altered the 
315 table load/initialization sequence . This means that the table load has 
316 become a large method execution of the table itself. If Operation Region 
317 Fields are used within any module-level code and the -fi option was 
318 specified, the initialization values were populated only after the table 
319 had completely finished loading (and thus the module-level code had 
320 already been executed). This change moves the initialization of objects 
321 listed in the initialization file to before the table is executed as a 
322 method. Field unit values are now initialized before the table execution 
323 is performed.
324
325 ----------------------------------------
326 31 May 2018. Summary of changes for version 20180531:
327
328
329 1) ACPICA kernel-resident Subsystem:
330
331 Implemented additional support to help ensure that a DSDT or SSDT is 
332 fully loaded even if errors are incurred during the load. The majority of 
333 the problems that are seen is the failure of individual AML operators 
334 that occur during execution of any module-level code (MLC) existing in 
335 the table. This support adds a mechanism to abort the current ASL 
336 statement (AML opcode), emit an error message, and to simply move on to 
337 the next opcode -- instead of aborting the entire table load. This is 
338 different than the execution of a control method where the entire method 
339 is aborted upon any error. The goal is to perform a very "best effort" to 
340 load the ACPI tables. The most common MLC errors that have been seen in 
341 the field are direct references to unresolved ASL/AML symbols (referenced 
342 directly without the use of the CondRefOf operator to validate the 
343 symbol). This new ACPICA behavior is now compatible with other ACPI 
344 implementations.
345
346 Interpreter: The Unload AML operator is no longer supported for the 
347 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
348 1) A correct implementation on at least some hosts may not be possible.
349 2) Other ACPI implementations do not correctly/fully support it.
350 3) It requires host device driver support which is not known to exist.
351     (To properly support namespace unload out from underneath.)
352 4) This AML operator has never been seen in the field.
353
354 Parser: Added a debug option to dump AML parse sub-trees as they are 
355 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is 
356 ACPI_DB_PARSE_TREES.
357
358 Debugger: Reduced the verbosity for errors incurred during table load and 
359 module-level code execution.
360
361 Completed an investigation into adding a namespace node "owner list" 
362 instead of the current "owner ID" associated with namespace nodes. This 
363 list would link together all nodes that are owned by an individual 
364 control method. The purpose would be to enhance control method execution 
365 by speeding up cleanup during method exit (all namespace nodes created by 
366 a method are deleted upon method termination.) Currently, the entire 
367 namespace must be searched for matching owner IDs if (and only if) the 
368 method creates named objects outside of the local scope. However, by far 
369 the most common case is that methods create objects locally, not outside 
370 the method scope. There is already an ACPICA optimization in place that 
371 only searches the entire namespace in the rare case of a method creating 
372 objects elsewhere in the namespace. Therefore, it is felt that the 
373 overhead of adding an additional pointer to each namespace node to 
374 implement the owner list makes this feature unnecessary.
375
376
377 2) iASL Compiler/Disassembler and Tools:
378
379 iASL, Disassembler, and Template generator: Implemented support for 
380 Revision D of the IORT table. Adds a new subtable that is used to specify 
381 SMMUv3 PMCGs. rmurphy-arm.
382
383 Disassembler: Restored correct table header validation for the "special" 
384 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI 
385 table header and must be special-cased. This was a regression that has 
386 been present for apparently a long time.
387
388 AcpiExec: Reduced verbosity of the local exception handler implemented 
389 within acpiexec. This handler is invoked by ACPICA upon any exceptions 
390 generated during control method execution. A new option was added: -vh 
391 restores the original verbosity level if desired.
392
393 AcpiExec: Changed the default base from decimal to hex for the -x option 
394 (set debug level). This simplifies the use of this option and matches the 
395 behavior of the corresponding iASL -x option.
396
397 AcpiExec: Restored a force-exit on multiple control-c (sigint) 
398 interrupts. This allows program termination even if other issues cause 
399 the control-c to fail.
400
401 ASL test suite (ASLTS): Added tests for the recently implemented package 
402 element resolution mechanism that allows forward references to named 
403 objects from individual package elements (this mechanism provides 
404 compatibility with other ACPI implementations.)
405
406
407 ----------------------------------------
408 8 May 2018. Summary of changes for version 20180508:
409
410
411 1) ACPICA kernel-resident subsystem:
412
413 Completed the new (recently deployed) package resolution mechanism for 
414 the Load and LoadTable ASL/AML operators. This fixes a regression that 
415 was introduced in version 20180209 that could result in an 
416 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table 
417 (SSDT) that contains package objects.
418
419
420 2) iASL Compiler/Disassembler and Tools:
421
422 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than 
423 1 MB. This change allows for table offsets within the acpidump file to be 
424 up to 8 characters. These changes are backwards compatible with existing 
425 acpidump files.
426
427
428 ----------------------------------------
429 27 April 2018. Summary of changes for version 20180427: 
430
431
432 1) ACPICA kernel-resident subsystem:
433
434 Debugger: Added support for Package objects in the "Test Objects" 
435 command. This command walks the entire namespace and evaluates all named 
436 data objects (Integers, Strings, Buffers, and now Packages).
437
438 Improved error messages for the namespace root node. Originally, the root 
439 was referred to by the confusing string "\___". This has been replaced by 
440 "Namespace Root" for clarification.
441
442 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin 
443 Ian King <colin.king@canonical.com>.
444
445
446 2) iASL Compiler/Disassembler and Tools: 
447
448 iASL: Implemented support to detect and flag illegal forward references. 
449 For compatibility with other ACPI implementations, these references are 
450 now illegal at the root level of the DSDT or SSDTs. Forward references 
451 have always been illegal within control methods. This change should not 
452 affect existing ASL/AML code because of the fact that these references 
453 have always been illegal in the other ACPI implementation.
454
455 iASL: Added error messages for the case where a table OEM ID and OEM 
456 TABLE ID strings are longer than the ACPI-defined length. Previously, 
457 these strings were simply silently truncated.
458
459 iASL: Enhanced the -tc option (which creates an AML hex file in C, 
460 suitable for import into a firmware project):
461   1) Create a unique name for the table, to simplify use of multiple 
462 SSDTs.
463   2) Add a protection #ifdef in the file, similar to a .h header file.
464 With assistance from Sami Mujawar, sami.mujawar@arm.com and Evan Lloyd, 
465 evan.lloyd@arm.com
466
467 AcpiExec: Added a new option, -df, to disable the local fault handler. 
468 This is useful during debugging, where it may be desired to drop into a 
469 debugger on a fault.
470
471 ----------------------------------------
472 13 March 2018. Summary of changes for version 20180313:
473
474
475 1) ACPICA kernel-resident subsystem:
476
477 Implemented various improvements to the GPE support:
478
479 1) Dispatch all active GPEs at initialization time so that no GPEs are 
480 lost.
481 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled 
482 before devices are enumerated.
483 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that 
484 IRQs are not lost.
485 4) Add parallel GPE handling to eliminate the possibility of dispatching 
486 the same GPE twice.
487 5) Dispatch any pending GPEs after enabling for the first time.
488
489 AcpiGetObjectInfo - removed support for the _STA method. This was causing 
490 problems on some platforms.
491
492 Added a new _OSI string, "Windows 2017.2".
493
494 Cleaned up and simplified the module-level code support. These changes 
495 are in preparation for the eventual removal of the legacy MLC support 
496 (deferred execution), replaced by the new MLC architecture which executes 
497 the MLC as a table is loaded (DSDT/SSDTs).
498
499 Changed a compile-time option to a runtime option. Changes the option to 
500 ignore ACPI table load-time package resolution errors into a runtime 
501 option. Used only for platforms that generate many AE_NOT_FOUND errors 
502 during boot. AcpiGbl_IgnorePackageResolutionErrors.
503
504 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some 
505 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid 
506 compilation errors from unused variables (seen with some compilers).
507
508
509 2) iASL Compiler/Disassembler and Tools:
510
511 ASLTS: parallelized execution in order to achieve an (approximately) 2X 
512 performance increase.
513
514 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves 
515 error reporting.
516
517 ----------------------------------------
518 09 February 2018. Summary of changes for version 20180209:
519
520
521 1) ACPICA kernel-resident subsystem:
522
523 Completed the final integration of the recent changes to Package Object 
524 handling and the module-level AML code support. This allows forward 
525 references from individual package elements when the package object is 
526 declared from within module-level code blocks. Provides compatibility 
527 with other ACPI implementations.
528
529 The new architecture for the AML module-level code has been completed and 
530 is now the default for the ACPICA code. This new architecture executes 
531 the module-level code in-line as the ACPI table is loaded/parsed instead 
532 of the previous architecture which deferred this code until after the 
533 table was fully loaded. This solves some ASL code ordering issues and 
534 provides compatibility with other ACPI implementations. At this time, 
535 there is an option to fallback to the earlier architecture, but this 
536 support is deprecated and is planned to be completely removed later this 
537 year.
538
539 Added a compile-time option to ignore AE_NOT_FOUND exceptions during 
540 resolution of named reference elements within Package objects. Although 
541 this is potentially a serious problem, it can generate a lot of 
542 noise/errors on platforms whose firmware carries around a bunch of unused 
543 Package objects. To disable these errors, define 
544 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All 
545 errors are always reported for ACPICA applications such as AcpiExec.
546
547 Fixed a regression related to the explicit type-conversion AML operators 
548 (ToXXXX). The regression was introduced early in 2017 but was not seen 
549 until recently because these operators are not fully supported by other 
550 ACPI implementations and are thus rarely used by firmware developers. The 
551 operators are defined by the ACPI specification to not implement the 
552 "implicit result object conversion". The regression incorrectly 
553 introduced this object conversion for the following explicit conversion 
554 operators:
555     ToInteger
556     ToString
557     ToBuffer
558     ToDecimalString
559     ToHexString
560     ToBCD
561     FromBCD
562
563
564 2) iASL Compiler/Disassembler and Tools:
565
566 iASL: Fixed a problem with the compiler constant folding feature as 
567 related to the ToXXXX explicit conversion operators. These operators do 
568 not support the "implicit result object conversion" by definition. Thus, 
569 ASL expressions that use these operators cannot be folded to a simple 
570 Store operator because Store implements the implicit conversion. This 
571 change uses the CopyObject operator for the ToXXXX operator folding 
572 instead. CopyObject is defined to not implement implicit result 
573 conversions and is thus appropriate for folding the ToXXXX operators.
574
575 iASL: Changed the severity of an error condition to a simple warning for 
576 the case where a symbol is declared both locally and as an external 
577 symbol. This accommodates existing ASL code.
578
579 AcpiExec: The -ep option to enable the new architecture for module-level 
580 code has been removed. It is replaced by the -dp option which instead has 
581 the opposite effect: it disables the new architecture (the default) and 
582 enables the legacy architecture. When the legacy code is removed in the 
583 future, the -dp option will be removed also.
584
585 ----------------------------------------
586 05 January 2018. Summary of changes for version 20180105:
587
588
589 1) ACPICA kernel-resident subsystem:
590
591 Updated all copyrights to 2018. This affects all source code modules.
592
593 Fixed a possible build error caused by an unresolved reference to the 
594 AcpiUtSafeStrncpy function.
595
596 Removed NULL pointer arithmetic in the various pointer manipulation 
597 macros. All "(void *) NULL" constructs are converted to "(void *) 0". 
598 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
599
600 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj 
601 Mittal.
602
603
604 2) iASL Compiler/Disassembler and Tools:
605
606 ASLTS: Updated all copyrights to 2018.
607
608 Tools: Updated all signon copyrights to 2018.
609
610 AcpiXtract: Fixed a regression related to ACPI table signatures where the 
611 signature was truncated to 3 characters (instead of 4).
612
613 AcpiExec: Restore the original terminal mode after the use of the -v and 
614 -vd options.
615
616 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
617
618 ----------------------------------------
619 14 December 2017. Summary of changes for version 20171214:
620
621
622 1) ACPICA kernel-resident subsystem:
623
624 Fixed a regression in the external (public) AcpiEvaluateObjectTyped 
625 interface where the optional "pathname" argument had inadvertently become 
626 a required argument returning an error if omitted (NULL pointer 
627 argument).
628
629 Fixed two possible memory leaks related to the recently developed "late 
630 resolution" of reference objects within ASL Package Object definitions.
631
632 Added two recently defined _OSI strings: "Windows 2016" and "Windows 
633 2017". Mario Limonciello.
634
635 Implemented and deployed a safer version of the C library function 
636 strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the 
637 creation of unterminated strings as a possible result of a standard 
638 strncpy.
639
640 Cleaned up and restructured the global variable file (acglobal.h). There 
641 are many changes, but no functional changes.
642
643
644 2) iASL Compiler/Disassembler and Tools:
645
646 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the 
647 optional OemData field at the end of the table was incorrectly required 
648 for proper compilation. It is now correctly an optional field.
649
650 ASLTS: The entire suite was converted from standard ASL to the ASL+ 
651 language, using the ASL-to-ASL+ converter which is integrated into the 
652 iASL compiler. A binary compare of all output files has verified the 
653 correctness of the conversion.
654
655 iASL: Fixed the source code build for platforms where "char" is unsigned. 
656 This affected the iASL lexer only. Jung-uk Kim.
657
658 ----------------------------------------
659 10 November 2017. Summary of changes for version 20171110:
660
661
662 1) ACPICA kernel-resident subsystem:
663
664 This release implements full support for ACPI 6.2A:
665     NFIT - Added a new subtable, "Platform Capabilities Structure"
666 No other changes to ACPICA were required, since ACPI 6.2A is primarily an 
667 errata release of the specification.
668
669 Other ACPI table changes:
670     IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
671     PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy 
672 Linton
673
674 Utilities: Modified the string/integer conversion functions to use 
675 internal 64-bit divide support instead of a native divide. On 32-bit 
676 platforms, a 64-bit divide typically requires a library function which 
677 may not be present in the build (kernel or otherwise).
678
679 Implemented a targeted error message for timeouts returned from the 
680 Embedded Controller device driver. This is seen frequently enough to 
681 special-case an AE_TIME returned from an EC operation region access:
682     "Timeout from EC hardware or EC device driver"
683
684 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all 
685 runtime error messages have the identical prefix.
686
687
688 2) iASL Compiler/Disassembler and Tools:
689
690 AcpiXtract: Fixed a problem with table header detection within the 
691 acpidump file. Processing a table could be ended early if a 0x40 (@) 
692 appears in the original binary table, resulting in the @ symbol appearing 
693 in the decoded ASCII field at the end of the acpidump text line. The 
694 symbol caused acpixtract to incorrectly think it had reached the end of 
695 the current table and the beginning of a new table.
696
697 AcpiXtract: Added an option (-f) to ignore some errors during table 
698 extraction. This initial implementation ignores non-ASCII and non-
699 printable characters found in the acpidump text file.
700
701 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics 
702 for ASLTS. This feature is used to track memory allocations from 
703 different memory caches within the ACPICA code. At the end of an ASLTS 
704 run, these memory statistics are recorded and stored in a log file.
705
706 Debugger (user-space version): Implemented a simple "Background" command. 
707 Creates a new thread to execute a control method in the background, while 
708 control returns to the debugger prompt to allow additional commands.
709     Syntax: Background <Namepath> [Arguments]
710
711 ----------------------------------------
712 29 September 2017. Summary of changes for version 20170929:
713
714
715 1) ACPICA kernel-resident subsystem:
716
717 Redesigned and implemented an improved ASL While() loop timeout 
718 mechanism. This mechanism is used to prevent infinite loops in the kernel 
719 AML interpreter caused by either non-responsive hardware or incorrect AML 
720 code. The new implementation uses AcpiOsGetTimer instead of a simple 
721 maximum loop count, and is thus more accurate and constant across 
722 different machines. The default timeout is currently 30 seconds, but this 
723 may be adjusted later.
724
725 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to 
726 better reflect the new implementation of the loop timeout mechanism.
727
728 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support 
729 and to fix an off-by-one error. Jung-uk Kim.
730
731 Fixed an EFI build problem by updating the makefiles to for a new file 
732 that was added, utstrsuppt.c
733
734
735 2) iASL Compiler/Disassembler and Tools:
736
737 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This 
738 includes support in the table disassembler, compiler, and template 
739 generator.
740
741 iASL: Added an exception for an illegal type of recursive method 
742 invocation. If a method creates named objects, the first recursive call 
743 will fail at runtime. This change adds an error detection at compile time 
744 to catch the problem up front. Note: Marking such a method as 
745 "serialized" will not help with this problem, because the same thread can 
746 acquire the method mutex more than once. Example compiler and runtime 
747 output:
748
749     Method (MTH1)
750     {
751         Name (INT1, 1)
752         MTH1 ()
753     }
754
755     dsdt.asl     22: MTH1 ()
756     Error    6152 -  ^ Illegal recursive call to method
757                        that creates named objects (MTH1)
758
759 Previous runtime exception:
760     ACPI Error: [INT1] Namespace lookup failure,
761     AE_ALREADY_EXISTS (20170831/dswload2-465)
762
763 iASL: Updated support for External() opcodes to improve namespace 
764 management and error detection. These changes are related to issues seen 
765 with multiple-segment namespace pathnames within External declarations, 
766 such as below:
767
768     External(\_SB.PCI0.GFX0, DeviceObj)
769     External(\_SB.PCI0.GFX0.ALSI)
770
771 iASL: Implemented support for multi-line error/warning messages. This 
772 enables more detailed and helpful error messages as below, from the 
773 initial deployment for the duplicate names error:
774
775     DSDT.iiii   1692:       Device(PEG2) {
776     Error    6074 -                  ^ Name already exists in scope 
777 (PEG2)
778
779         Original name creation/declaration below:
780         DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
781
782 AcpiXtract: Added additional flexibility to support differing input hex 
783 dump formats. Specifically, hex dumps that contain partial disassembly 
784 and/or comments within the ACPI table data definition. There exist some 
785 dump utilities seen in the field that create this type of hex dump (such 
786 as Simics). For example:
787
788     DSDT @ 0xdfffd0c0 (10999 bytes)
789         Signature DSDT
790         Length 10999
791         Revision 1
792         Checksum 0xf3 (Ok)
793         OEM_ID BXPC
794         OEM_table_id BXDSDT
795         OEM_revision 1
796         Creator_id 1280593481
797         Creator_revision 537399345
798       0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
799       ...
800       2af0: 5f 4c 30 46 00 a4 01
801
802 Test suite: Miscellaneous changes/fixes:
803     More cleanup and simplification of makefiles
804     Continue compilation of test cases after a compile failure
805     Do not perform binary compare unless both files actually exist
806
807 iASL: Performed some code/module restructuring. Moved all memory 
808 allocation functions to new modules. Two new files, aslallocate.c and 
809 aslcache.c
810
811 ----------------------------------------
812 31 August 2017. Summary of changes for version 20170831:
813
814
815 1) ACPICA kernel-resident subsystem:
816
817 Implemented internal support for full 64-bit addresses that appear in all 
818 Generic Address Structure (GAS) structures. Previously, only the lower 32 
819 bits were used. Affects the use of GAS structures in the FADT and other 
820 tables, as well as the GAS structures passed to the AcpiRead and 
821 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
822
823 Added header support for the PDTT ACPI table (Processor Debug Trigger 
824 Table). Full support in the iASL Data Table Compiler and disassembler is 
825 forthcoming.
826
827
828 2) iASL Compiler/Disassembler and Tools:
829
830 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
831 Properties Topology Table) where a flag bit was specified in the wrong 
832 bit position ("Line Size Valid", bit 6).
833
834 iASL: Implemented support for Octal integer constants as defined by the 
835 ASL language grammar, per the ACPI specification. Any integer constant 
836 that starts with a zero is an octal constant. For example,
837     Store (037777, Local0) /* Octal constant */
838     Store (0x3FFF, Local0) /* Hex equivalent */
839     Store (16383,  Local0) /* Decimal equivalent */
840
841 iASL: Improved overflow detection for 64-bit string conversions during 
842 compilation of integer constants. "Overflow" in this case means a string 
843 that represents an integer that is too large to fit into a 64-bit value. 
844 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
845 the low-order 32 bits with a warning, as previously implemented. Several 
846 new exceptions are defined that indicate a 64-bit overflow, as well as 
847 the base (radix) that was used during the attempted conversion. Examples:
848     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
849     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
850     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
851
852 iASL: Added a warning for the case where a ResourceTemplate is declared 
853 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
854 this case, the resulting template is created with a single END_TAG 
855 descriptor, which is essentially useless.
856
857 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
858 include compilation error codes as well.
859
860 ----------------------------------------
861 28 July 2017. Summary of changes for version 20170728:
862
863
864 1) ACPICA kernel-resident subsystem:
865
866 Fixed a regression seen with small resource descriptors that could cause 
867 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
868
869 AML interpreter: Implemented a new feature that allows forward references 
870 from individual named references within package objects that are 
871 contained within blocks of "module-level code". This provides 
872 compatibility with other ACPI implementations and supports existing 
873 firmware that depends on this feature. Example:
874
875     Name (ABCD, 1)
876     If (ABCD)                       /* An If() at module-level */
877     {
878         Name (PKG1, Package()
879         {
880             INT1                    /* Forward reference to object INT1 
881 */
882         })
883         Name (INT1, 0x1234)
884     }
885
886 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
887 to some ASL objects were not handled properly. Objects affected are: 
888 Mutex, Event, and OperationRegion.
889
890 AML Debugger: Enhanced to properly handle AML Alias objects. These 
891 objects have one level of indirection which was not fully supported by 
892 the debugger.
893
894 Table Manager: Added support to detect and ignore duplicate SSDTs within 
895 the XSDT/RSDT. This error in the XSDT has been seen in the field.
896
897 EFI and EDK2 support:
898     Enabled /WX flag for MSVC builds
899     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
900     Added local support for 64-bit multiply and shift operations
901     Added support to compile acpidump.efi on Windows
902     Added OSL function stubs for interfaces not used under EFI
903
904 Added additional support for the _DMA predefined name. _DMA returns a 
905 buffer containing a resource template. This change add support within the 
906 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
907 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
908
909
910 2) iASL Compiler/Disassembler and Tools:
911
912 iASL: Fixed a problem where the internal input line buffer(s) could 
913 overflow if there are very long lines in the input ASL source code file. 
914 Implemented buffer management that automatically increases the size of 
915 the buffers as necessary.
916
917 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
918 errors. If the specified exception is not raised during compilation, the 
919 compiler emits an error. This is intended to support the ASL test suite, 
920 but may be useful in other contexts.
921
922 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
923 string containing the name of the current control method that is being 
924 compiled.
925
926 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
927 table (Software Delegated Exception Interface). James Morse 
928 <james.morse@arm.com>
929
930 Unix/Linux makefiles: Added an option to disable compile optimizations. 
931 The disable occurs when the NOOPT flag is set to TRUE. 
932 theracermaster@gmail.com
933
934 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
935 when there are different tables for 32-bit versus 64-bit.
936
937 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
938 unnecessary/verbose text, and emit the actual line number where an error 
939 has occurred. These changes are intended to improve the usefulness of the 
940 test suite.
941
942 ----------------------------------------
943 29 June 2017. Summary of changes for version 20170629:
944
945
946 1) ACPICA kernel-resident subsystem:
947
948 Tables: Implemented a deferred ACPI table verification. This is useful 
949 for operating systems where the tables cannot be verified in the early 
950 initialization stage due to early memory mapping limitations on some 
951 architectures. Lv Zheng.
952
953 Tables: Removed the signature validation for dynamically loaded tables. 
954 Provides compatibility with other ACPI implementations. Previously, only 
955 SSDT tables were allowed, as per the ACPI specification. Now, any table 
956 signature can be used via the Load() operator. Lv Zheng.
957
958 Tables: Fixed several mutex issues that could cause errors during table 
959 acquisition. Lv Zheng.
960
961 Tables: Fixed a problem where an ACPI warning could be generated if a 
962 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
963
964 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
965 AcpiPutTable interfaces. This applies to the "late stage" table loading 
966 when the use of AcpiPutTable is no longer required (since the system 
967 memory manager is fully running and available). Lv Zheng.
968
969 Fixed/Reverted a regression during processing of resource descriptors 
970 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
971 exception in this case.
972
973 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
974 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
975
976 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
977 or duplicate target is encountered during Alias creation in 
978 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
979
980 Added an option to use designated initializers for function pointers. 
981 Kees Cook <keescook@google.com>
982
983
984 2) iASL Compiler/Disassembler and Tools:
985
986 iASL: Allow compilation of External declarations with target pathnames 
987 that refer to existing named objects within the table. Erik Schmauss.
988
989 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
990 FieldUnit name also is declared via External in the same table. Erik 
991 Schmauss.
992
993 iASL: Allow existing scope names within pathnames used in External 
994 statements. For example:
995     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
996     Device (ABCD)
997
998 iASL: IORT ACPI table: Implemented changes required to decode the new 
999 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
1000 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
1001
1002 Disassembler: Don't abort disassembly on errors from External() 
1003 statements. Erik Schmauss.
1004
1005 Disassembler: fixed a possible fault when one of the Create*Field 
1006 operators references a Resource Template. ACPICA Bugzilla 1396.
1007
1008 iASL: In the source code, resolved some naming inconsistences across the 
1009 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
1010 Adds a new file, aslparseop.c
1011
1012 ----------------------------------------
1013 31 May 2017. Summary of changes for version 20170531:
1014
1015
1016 0) ACPI 6.2 support:
1017
1018 The ACPI specification version 6.2 has been released and is available at
1019 http://uefi.org/specifications
1020
1021 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
1022 are summarized below.
1023
1024 New ACPI tables (Table Compiler/Disassembler/Templates):
1025     HMAT (Heterogeneous Memory Attributes Table)
1026     WSMT (Windows SMM Security Mitigation Table)
1027     PPTT (Processor Properties Topology Table)
1028
1029 New subtables for existing ACPI tables:
1030     HEST (New subtable, Arch-deferred machine check)
1031     SRAT (New subtable, Arch-specific affinity structure)
1032     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
1033
1034 Simple updates for existing ACPI tables:
1035     BGRT (two new flag bits)
1036     HEST (New bit defined for several subtables, GHES_ASSIST)
1037
1038 New Resource Descriptors and Resource macros (Compiler/Disassembler):
1039     PinConfig()
1040     PinFunction()
1041     PinGroup()
1042     PinGroupConfig()
1043     PinGroupFunction()
1044     New type for hardware error notification (section 18.3.2.9)
1045
1046 New predefined names/methods (Compiler/Interpreter):
1047     _HMA (Heterogeneous Memory Attributes)
1048     _LSI (Label Storage Information)
1049     _LSR (Label Storage Read)
1050     _LSW (Label Storage Write)
1051
1052 ASL grammar/macro changes (Compiler):
1053     For() ASL macro, implemented with the AML while operator
1054     Extensions to Concatenate operator
1055     Support for multiple definition blocks in same ASL file
1056     Clarification for Buffer operator
1057     Allow executable AML code underneath all scopes (Devices, etc.)
1058     Clarification/change for the _OSI return value
1059     ASL grammar update for reference operators
1060     Allow a zero-length string for AML filename in DefinitionBlock
1061
1062 Miscellaneous:
1063     New device object notification value
1064     Remove a notify value (0x0C) for graceful shutdown
1065     New UUIDs for processor/cache properties and
1066         physical package property
1067     New _HID, ACPI0014 (Wireless Power Calibration Device)
1068
1069
1070 1) ACPICA kernel-resident subsystem:
1071
1072 Added support to disable ACPI events on hardware-reduced platforms. 
1073 Eliminates error messages of the form "Could not enable fixed event". Lv 
1074 Zheng
1075
1076 Fixed a problem using Device/Thermal objects with the ObjectType and 
1077 DerefOf ASL operators. This support had not been fully/properly 
1078 implemented.
1079
1080 Fixed a problem where if a Buffer object containing a resource template 
1081 was longer than the actual resource template, an error was generated -- 
1082 even though the AML is legal. This case has been seen in the field.
1083
1084 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
1085 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
1086
1087 Added header file changes for the TPM2 ACPI table. Update to new version 
1088 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
1089
1090 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
1091 These interfaces are intended to be used only in conjunction with the 
1092 predefined _DLM method (Device Lock Method). "This object appears in a 
1093 device scope when AML access to the device must be synchronized with the 
1094 OS environment".
1095
1096 Example Code and Data Size: These are the sizes for the OS-independent 
1097 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1098 debug version of the code includes the debug output trace mechanism and 
1099 has a much larger code and data size.
1100
1101   Current Release:
1102     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
1103     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
1104   Previous Release:
1105     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1106     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
1107
1108
1109 2) iASL Compiler/Disassembler and Tools:
1110
1111 iASL: Fixed a problem where an External() declaration could not refer to 
1112 a Field Unit. Erik Schmauss.
1113
1114 Disassembler: Improved support for the Switch/Case operators. This 
1115 feature will disassemble AML code back to the original Switch operators 
1116 when possible, instead of an If..Else sequence. David Box
1117
1118 iASL and disassembler: Improved the handling of multiple extraneous 
1119 parentheses for both ASL input and disassembled ASL output.
1120
1121 Improved the behavior of the iASL compiler and disassembler to detect 
1122 improper use of external declarations
1123
1124 Disassembler: Now aborts immediately upon detection of an unknown AML 
1125 opcode. The AML parser has no real way to recover from this, and can 
1126 result in the creation of an ill-formed parse tree that causes errors 
1127 later during the disassembly.
1128
1129 All tools: Fixed a problem where the Unix application OSL did not handle 
1130 control-c correctly. For example, a control-c could incorrectly wake the 
1131 debugger.
1132
1133 AcpiExec: Improved the Control-C handling and added a handler for 
1134 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
1135 environments.
1136
1137 Reduced the verbosity of the generic unix makefiles. Previously, each 
1138 compilation displayed the full set of compiler options. This has been 
1139 eliminated as the options are easily inspected within the makefiles. Each 
1140 compilation now results in a single line of output.
1141
1142 ----------------------------------------
1143 03 March 2017. Summary of changes for version 20170303:
1144
1145
1146 0) ACPICA licensing:
1147
1148 The licensing information at the start of each source code module has 
1149 been updated. In addition to the Intel license, the dual GPLv2/BSD 
1150 license has been added for completeness. Now, a single version of the 
1151 source code should be suitable for all ACPICA customers. This is the 
1152 major change for this release since it affects all source code modules.
1153
1154
1155 1) ACPICA kernel-resident subsystem: 
1156
1157 Fixed two issues with the common asltypes.h header that could cause 
1158 problems in some environments: (Kim Jung-uk)
1159     Removed typedef for YY_BUFFER_STATE ?
1160        Fixes an error with earlier versions of Flex.
1161     Removed use of FILE typedef (which is only defined in stdio.h)
1162
1163
1164 2) iASL Compiler/Disassembler and Tools: 
1165
1166 Disassembler: fixed a regression introduced in 20170224. A fix for a 
1167 memory leak related to resource descriptor tags (names) could fault when 
1168 the disassembler was generated with 64-bit compilers.
1169
1170 The ASLTS test suite has been updated to implement a new testing 
1171 architecture. During generation of the suite from ASL source, both the 
1172 ASL and ASL+ compilers are now validated, as well as the disassembler 
1173 itself (Erik Schmauss). The architecture executes as follows:
1174
1175     For every ASL source module:
1176         Compile (legacy ASL compilation)
1177         Disassemble the resulting AML to ASL+ source code
1178         Compile the new ASL+ module
1179         Perform a binary compare on the legacy AML and the new ASL+ AML
1180     The ASLTS suite then executes normally using the AML binaries.
1181
1182 ----------------------------------------
1183 24 February 2017. Summary of changes for version 20170224:
1184
1185
1186 1) ACPICA kernel-resident subsystem:
1187
1188 Interpreter: Fixed two issues with the control method return value auto-
1189 repair feature, where an attempt to double-delete an internal object 
1190 could result in an ACPICA warning (for _CID repair and others). No fault 
1191 occurs, however, because the attempted deletion (actually a release to an 
1192 internal cache) is detected and ignored via object poisoning.
1193
1194 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
1195 of control methods. If certain debugger commands are executed during 
1196 stepping, a mutex aquire/release error could occur. Lv Zheng.
1197
1198 Fixed some issues generating ACPICA with the Intel C compiler by 
1199 restoring the original behavior and compiler-specific include file in 
1200 acenv.h. Lv Zheng.
1201
1202 Example Code and Data Size: These are the sizes for the OS-independent 
1203 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1204 debug version of the code includes the debug output trace mechanism and 
1205 has a much larger code and data size.
1206
1207   Current Release:
1208     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1209     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
1210   Previous Release:
1211     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1212     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1213
1214
1215 2) iASL Compiler/Disassembler and Tools:
1216
1217 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
1218 tool has been designed, implemented, and included in this release. The 
1219 key feature of this utility is that the original comments within the 
1220 input ASL file are preserved during the conversion process, and included 
1221 within the converted ASL+ file -- thus creating a transparent conversion 
1222 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
1223
1224     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
1225 converted code
1226
1227 iASL/Disassembler: Improved the detection and correct disassembly of 
1228 Switch/Case operators. This feature detects sequences of if/elseif/else 
1229 operators that originated from ASL Switch/Case/Default operators and 
1230 emits the original operators. David Box.
1231
1232 iASL: Improved the IORT ACPI table support in the following areas. Lv 
1233 Zheng:
1234     Clear MappingOffset if the MappingCount is zero.
1235     Fix the disassembly of the SMMU GSU interrupt offset.
1236     Update the template file for the IORT table.
1237
1238 Disassembler: Enhanced the detection and disassembly of resource 
1239 template/descriptor within a Buffer object. An EndTag descriptor is now 
1240 required to have a zero second byte, since all known ASL compilers emit 
1241 this. This helps eliminate incorrect decisions when a buffer is 
1242 disassembled (false positives on resource templates).
1243
1244 ----------------------------------------
1245 19 January 2017. Summary of changes for version 20170119:
1246
1247
1248 1) General ACPICA software:
1249
1250 Entire source code base: Added the 2017 copyright to all source code 
1251 legal/licensing module headers and utility/tool signons. This includes 
1252 the standard Linux dual-license header. This affects virtually every file 
1253 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
1254 the ACPICA test suite.
1255
1256
1257 2) iASL Compiler/Disassembler and Tools:
1258
1259 iASL: Removed/fixed an inadvertent remark when a method argument 
1260 containing a reference is used as a target operand within the method (and 
1261 never used as a simple argument), as in the example below. Jeffrey Hugo.
1262
1263     dsdt.asl   1507:    Store(0x1, Arg0)
1264     Remark   2146 -                ^ Method Argument is never used (Arg0)
1265
1266 All tools: Removed the bit width of the compiler that generated the tool 
1267 from the common signon for all user space tools. This proved to be 
1268 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
1269 from the generic makefiles (Thomas Petazzoni). Example below.
1270
1271     Old:
1272     ASL+ Optimizing Compiler version 20170119-32
1273     ASL+ Optimizing Compiler version 20170119-64
1274
1275     New:
1276     ASL+ Optimizing Compiler version 20170119
1277
1278 ----------------------------------------
1279 22 December 2016. Summary of changes for version 20161222:
1280
1281
1282 1) ACPICA kernel-resident subsystem:
1283
1284 AML Debugger: Implemented a new mechanism to simplify and enhance 
1285 debugger integration into all environments, including kernel debuggers 
1286 and user-space utilities, as well as remote debug services. This 
1287 mechanism essentially consists of new OSL interfaces to support debugger 
1288 initialization/termination, as well as wait/notify interfaces to perform 
1289 the debugger handshake with the host. Lv Zheng.
1290
1291     New OSL interfaces:
1292         AcpiOsInitializeDebugger (void)
1293         AcpiOsTerminateDebugger (void)
1294         AcpiOsWaitCommandReady (void)
1295         AcpiOsNotifyCommandComplete (void)
1296
1297     New OS services layer:
1298         osgendbg.c -- Example implementation, and used for AcpiExec
1299
1300 Update for Generic Address Space (GAS) support: Although the AccessWidth 
1301 and/or BitOffset fields of the GAS are not often used, this change now 
1302 fully supports these fields. This affects the internal support for FADT 
1303 registers, registers in other ACPI data tables, and the AcpiRead and 
1304 AcpiWrite public interfaces. Lv Zheng.
1305
1306 Sleep support: In order to simplify integration of ACPI sleep for the 
1307 various host operating systems, a new OSL interface has been introduced. 
1308 AcpiOsEnterSleep allows the host to perform any required operations 
1309 before the final write to the sleep control register(s) is performed by 
1310 ACPICA. Lv Zheng.
1311
1312     New OSL interface:
1313         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
1314
1315     Called from these internal interfaces:
1316         AcpiHwLegacySleep
1317         AcpiHwExtendedSleep
1318
1319 EFI support: Added a very small EFI/ACPICA example application. Provides 
1320 a simple demo for EFI integration, as well as assisting with resolution 
1321 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
1322
1323     source/tools/efihello/efihello.c
1324
1325 Local C library: Implemented several new functions to enhance ACPICA 
1326 portability, for environments where these clib functions are not 
1327 available (such as EFI). Lv Zheng:
1328     putchar
1329     getchar
1330     strpbrk
1331     strtok
1332     memmove
1333
1334 Fixed a regression where occasionally a valid resource descriptor was 
1335 incorrectly detected as invalid at runtime, and a 
1336 AE_AML_NO_RESOURCE_END_TAG was returned.
1337
1338 Fixed a problem with the recently implemented support that enables 
1339 control method invocations as Target operands to many ASL operators. 
1340 Warnings of this form: "Needed type [Reference], found [Processor]" were 
1341 seen at runtime for some method invocations.
1342
1343 Example Code and Data Size: These are the sizes for the OS-independent 
1344 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1345 debug version of the code includes the debug output trace mechanism and 
1346 has a much larger code and data size.
1347
1348   Current Release:
1349     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
1350     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
1351   Previous Release:
1352     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1353     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1354
1355
1356 2) iASL Compiler/Disassembler and Tools:
1357
1358 Disassembler: Enhanced output by adding the capability to detect and 
1359 disassemble ASL Switch/Case statements back to the original ASL source 
1360 code instead of if/else blocks. David Box.
1361
1362 AcpiHelp: Split a large file into separate files based upon 
1363 functionality/purpose. New files are:
1364     ahaml.c
1365     ahasl.c
1366
1367 ----------------------------------------
1368 17 November 2016. Summary of changes for version 20161117:
1369
1370
1371 1) ACPICA kernel-resident subsystem:
1372
1373 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
1374 cleanup". This was an attempt to remove all references in the source to 
1375 the FADT version 2, which never was a legal version number. It was 
1376 skipped because it was an early version of 64-bit support that was 
1377 eventually abandoned for the current 64-bit support.
1378
1379 Interpreter: Fixed a problem where runtime implicit conversion was 
1380 incorrectly disabled for the ASL operators below. This brings the 
1381 behavior into compliance with the ACPI specification:
1382     FromBCD
1383     ToBCD
1384     ToDecimalString
1385     ToHexString
1386     ToInteger
1387     ToBuffer
1388
1389 Table Manager: Added a new public interface, AcpiPutTable, used to 
1390 release and free an ACPI table returned by AcpiGetTable and related 
1391 interfaces. Lv Zheng.
1392
1393 Example Code and Data Size: These are the sizes for the OS-independent 
1394 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1395 debug version of the code includes the debug output trace mechanism and 
1396 has a much larger code and data size.
1397
1398   Current Release:
1399     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1400     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1401   Previous Release:
1402     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1403     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1404
1405
1406 2) iASL Compiler/Disassembler and Tools:
1407
1408 Disassembler: Fixed a regression for disassembly of Resource Template. 
1409 Detection of templates in the AML stream missed some types of templates.
1410
1411 iASL: Fixed a problem where an Access Size error was returned for the PCC 
1412 address space when the AccessSize of the GAS register is greater than a 
1413 DWORD. Hoan Tran.
1414
1415 iASL: Implemented several grammar changes for the operators below. These 
1416 changes are slated for the next version of the ACPI specification:
1417     RefOf        - Disallow method invocation as an operand
1418     CondRefOf    - Disallow method invocation as an operand
1419     DerefOf      - Disallow operands that use the result from operators 
1420 that
1421                    do not return a reference (Changed TermArg to 
1422 SuperName).
1423
1424 iASL: Control method invocations are now allowed for Target operands, as 
1425 per the ACPI specification. Removed error for using a control method 
1426 invocation as a Target operand.
1427
1428 Disassembler: Improved detection of Resource Templates, Unicode, and 
1429 Strings within Buffer objects. These subtypes do not contain a specific 
1430 opcode to indicate the originating ASL code, and they must be detected by 
1431 other means within the disassembler. 
1432
1433 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
1434 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
1435 only after 64-bit to 32-bit truncation. A truncation warning message is 
1436 still emitted, however.
1437
1438 AcpiXtract: Implemented handling for both types of line terminators (LF 
1439 or CR/LF) so that it can accept AcpiDump output files from any system. 
1440 Peter Wu.
1441
1442 AcpiBin: Added two new options for comparing AML files:
1443     -a: compare and display ALL mismatches
1444     -o: start compare at this offset into the second file
1445
1446 ----------------------------------------
1447 30 September 2016. Summary of changes for version 20160930:
1448
1449
1450 1) ACPICA kernel-resident subsystem:
1451
1452 Fixed a regression in the internal AcpiTbFindTable function where a non 
1453 AE_OK exception could inadvertently be returned even if the function did 
1454 not fail. This problem affects the following operators:
1455     DataTableRegion
1456     LoadTable
1457
1458 Fixed a regression in the LoadTable operator where a load to any 
1459 namespace location other than the root no longer worked properly.
1460
1461 Increased the maximum loop count value that will result in the 
1462 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
1463 prevent infinite loops within the AML interpreter and thus the host OS 
1464 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
1465 1,048,575).
1466
1467 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
1468 acpixf.h file. This allows hosts to easily configure the maximum loop 
1469 count at runtime.
1470
1471 Removed an illegal character in the strtoul64.c file. This character 
1472 caused errors with some C compilers.
1473
1474 Example Code and Data Size: These are the sizes for the OS-independent 
1475 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1476 debug version of the code includes the debug output trace mechanism and 
1477 has a much larger code and data size.
1478
1479   Current Release:
1480     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1481     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1482   Previous Release:
1483     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
1484     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1485
1486
1487 2) iASL Compiler/Disassembler and Tools:
1488
1489 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
1490 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
1491 block could be lost and missing from the disassembled output.
1492
1493 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
1494 the missing rule caused a parse error when using the Index operator as an 
1495 operand to ObjectType. This construct now compiles properly. Example:
1496     ObjectType(PKG1[4]).
1497
1498 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
1499 option). Previously, unresolved symbols could cause a protection fault. 
1500 Such symbols are now marked as unresolved in the map file.
1501
1502 iASL: Implemented support to allow control method invocations as an 
1503 operand to the ASL DeRefOf operator. Example:
1504     DeRefOf(MTH1(Local0))
1505
1506 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
1507 possible _PLD buffer now includes examination of both the normal buffer 
1508 length (16 or 20) as well as the surrounding AML package length.
1509
1510 Disassembler: Fixed a problem with the decoding of complex expressions 
1511 within the Divide operator for ASL+. For the case where both the quotient 
1512 and remainder targets are specified, the entire statement cannot be 
1513 disassembled. Previously, the output incorrectly contained a mix of ASL- 
1514 and ASL+ operators. This mixed statement causes a syntax error when 
1515 compiled. Example:
1516     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
1517 disassembled to:
1518     Divide (INT1 + 6, 128, RSLT, QUOT)
1519
1520 iASL/Tools: Added support to process AML and non-AML ACPI tables 
1521 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
1522 tables (AML and data tables). For the iASL -e option, allow only AML 
1523 tables (DSDT/SSDT).
1524
1525 ----------------------------------------
1526 31 August 2016. Summary of changes for version 20160831:
1527
1528
1529 1) ACPICA kernel-resident subsystem:
1530
1531 Improve support for the so-called "module-level code", which is defined 
1532 to be math, logical and control AML opcodes that appear outside of any 
1533 control method. This change improves the support by adding more opcodes 
1534 that can be executed in the manner. Some other issues have been solved, 
1535 and the ASL grammar changes to support such code under all scope 
1536 operators (Device, etc.) are complete. Lv Zheng.
1537
1538 UEFI support: these OSL functions have been implemented. This is an 
1539 additional step toward supporting the AcpiExec utility natively (with 
1540 full hardware access) under UEFI. Marcelo Ferreira.
1541     AcpiOsReadPciConfiguration
1542     AcpiOsWritePciConfiguration
1543
1544 Fixed a possible mutex error during control method auto-serialization. Lv 
1545 Zheng. 
1546
1547 Updated support for the Generic Address Structure by fully implementing 
1548 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
1549 Zheng.
1550
1551 Updated the return value for the internal _OSI method. Instead of 
1552 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
1553 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
1554 implementations, and will be reflected and clarified in the next version 
1555 of the ACPI specification.
1556
1557 Implemented two new table events that can be passed to an ACPICA table 
1558 handler. These events are used to indicate a table installation or 
1559 uninstallation. These events are used in addition to existed table load 
1560 and unload events. Lv Zheng.
1561
1562 Implemented a cleanup for all internal string-to-integer conversions. 
1563 Consolidate multiple versions of this functionality and limit possible 
1564 bases to either 10 or 16 to simplify the code. Adds a new file, 
1565 utstrtoul64.
1566
1567 Cleanup the inclusion order of the various compiler-specific headers. 
1568 This simplifies build configuration management. The compiler-specific 
1569 headers are now split out from the host-specific headers. Lv Zheng.
1570
1571 Example Code and Data Size: These are the sizes for the OS-independent 
1572 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1573 debug version of the code includes the debug output trace mechanism and 
1574 has a much larger code and data size.
1575
1576   Current Release:
1577     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
1578     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1579
1580
1581 2) iASL Compiler/Disassembler and Tools:
1582
1583 iASL/AcpiExec: Added a command line option to display the build date/time 
1584 of the tool (-vd). This can be useful to verify that the correct version 
1585 of the tools are being used.
1586
1587 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
1588 all predefined control methods and names within the current namespace. 
1589 This can be useful for debugging problems with ACPI tables and the ACPI 
1590 namespace.
1591
1592 ----------------------------------------
1593 29 July 2016. Summary of changes for version 20160729:
1594
1595
1596 1) ACPICA kernel-resident subsystem:
1597
1598 Implemented basic UEFI support for the various ACPICA tools. This 
1599 includes:
1600 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
1601 2) Support to obtain the ACPI tables on UEFI.
1602 3) Local implementation of required C library functions not available on 
1603 UEFI.
1604 4) A front-end (main) function for the tools for UEFI-related 
1605 initialization.
1606
1607 The initial deployment of this support is the AcpiDump utility executing 
1608 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
1609 Current environments supported are Linux/Unix. MSVC generation is not 
1610 supported at this time. See the generate/efi/README file for build 
1611 instructions. Lv Zheng.
1612
1613 Future plans include porting the AcpiExec utility to execute natively on 
1614 the platform with I/O and memory access. This will allow viewing/dump of 
1615 the platform namespace and native execution of ACPI control methods that 
1616 access the actual hardware. To fully implement this support, the OSL 
1617 functions below must be implemented with UEFI interfaces. Any community 
1618 help in the implementation of these functions would be appreciated:
1619     AcpiOsReadPort
1620     AcpiOsWritePort
1621     AcpiOsReadMemory
1622     AcpiOsWriteMemory
1623     AcpiOsReadPciConfiguration
1624     AcpiOsWritePciConfiguration
1625
1626 Restructured and standardized the C library configuration for ACPICA, 
1627 resulting in the various configuration options below. This includes a 
1628 global restructuring of the compiler-dependent and platform-dependent 
1629 include files. These changes may affect the existing platform-dependent 
1630 configuration files on some hosts. Lv Zheng. 
1631
1632 The current C library configuration options appear below. For any issues, 
1633 it may be helpful to examine the existing compiler-dependent and 
1634 platform-dependent files as examples. Lv Zheng. 
1635
1636 1) Linux kernel:
1637     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1638 library.
1639     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1640 2) Unix/Windows/BSD applications:
1641     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
1642 library.
1643     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1644 3) UEFI applications:
1645     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1646 library.
1647     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
1648 4) UEFI applications (EDK2/StdLib):
1649     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
1650     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
1651
1652
1653 AML interpreter: "module-level code" support. Allows for execution of so-
1654 called "executable" AML code (math/logical operations, etc.) outside of 
1655 control methods not just at the module level (top level) but also within 
1656 any scope declared outside of a control method - Scope{}, Device{}, 
1657 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
1658
1659 Simplified the configuration of the "maximum AML loops" global option by 
1660 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
1661 modified at runtime.
1662
1663
1664 Example Code and Data Size: These are the sizes for the OS-independent 
1665 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1666 debug version of the code includes the debug output trace mechanism and 
1667 has a much larger code and data size.
1668
1669   Current Release:
1670     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
1671     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
1672
1673
1674 2) iASL Compiler/Disassembler and Tools:
1675
1676 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
1677 Includes disassembler, data table compiler, and header support.
1678
1679 iASL Expand "module-level code" support. Allows for 
1680 compilation/disassembly of so-called "executable" AML code (math/logical 
1681 operations, etc.) outside of control methods not just at the module level 
1682 (top level) but also within any scope declared outside of a control 
1683 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
1684 ThermalZone{}.
1685
1686 AcpiDump: Added support for dumping all SSDTs on newer versions of 
1687 Windows. These tables are now easily available -- SSDTs are not available 
1688 through the registry on older versions.
1689
1690 ----------------------------------------
1691 27 May 2016. Summary of changes for version 20160527:
1692
1693
1694 1) ACPICA kernel-resident subsystem:
1695
1696 Temporarily reverted the new arbitrary bit length/alignment support in 
1697 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
1698 a number of regressions with the new code that need to be fully resolved 
1699 and tested before this support can be finally integrated into ACPICA. 
1700 Apologies for any inconveniences these issues may have caused.
1701
1702 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
1703 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
1704 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
1705
1706 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
1707 option. Adds a new return macro, return_STR. Junk-uk Kim.
1708
1709 Example Code and Data Size: These are the sizes for the OS-independent 
1710 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1711 debug version of the code includes the debug output trace mechanism and 
1712 has a much larger code and data size.
1713
1714   Current Release:
1715     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
1716     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1717   Previous Release:
1718     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1719     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
1720
1721 ----------------------------------------
1722 22 April 2016. Summary of changes for version 20160422:
1723
1724 1) ACPICA kernel-resident subsystem:
1725
1726 Fixed a regression in the GAS (generic address structure) arbitrary bit 
1727 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
1728 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
1729
1730 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
1731 was added to each of these macros, and the original name has been 
1732 deprecated. The AML disassembler will always disassemble to the new 
1733 names. Support for the new macros was added to iASL, disassembler, 
1734 resource manager, and the acpihelp utility. ACPICA BZ 1274.
1735
1736     I2cSerialBus  -> I2cSerialBusV2
1737     SpiSerialBus  -> SpiSerialBusV2
1738     UartSerialBus -> UartSerialBusV2
1739
1740 ACPI 6.0: Added support for a new integer field that was appended to the 
1741 package object returned by the _BIX method. This adds iASL compile-time 
1742 and AML runtime error checking. ACPICA BZ 1273.
1743
1744 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
1745 Subspace Type2" (Headers, Disassembler, and data table compiler).
1746
1747 Example Code and Data Size: These are the sizes for the OS-independent 
1748 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1749 debug version of the code includes the debug output trace mechanism and 
1750 has a much larger code and data size.
1751
1752   Current Release:
1753     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1754     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1755   Previous Release:
1756     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1757     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1758
1759
1760 2) iASL Compiler/Disassembler and Tools:
1761
1762 iASL: Implemented an ASL grammar extension to allow/enable executable 
1763 "module-level code" to be created and executed under the various 
1764 operators that create new scopes. This type of AML code is already 
1765 supported in all known AML interpreters, and the grammar change will 
1766 appear in the next version of the ACPI specification. Simplifies the 
1767 conditional runtime creation of named objects under these object types: 
1768
1769     Device
1770     PowerResource
1771     Processor
1772     Scope
1773     ThermalZone
1774
1775 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
1776 ease-of-use to the ASL language. The syntax is similar to the 
1777 corresponding C operator, and is implemented with the existing AML While 
1778 opcode -- thus requiring no changes to existing AML interpreters.
1779
1780     For (Initialize, Predicate, Update) {TermList}
1781
1782 Grammar:
1783     ForTerm :=
1784         For (
1785             Initializer    // Nothing | TermArg => ComputationalData
1786             Predicate      // Nothing | TermArg => ComputationalData
1787             Update         // Nothing | TermArg => ComputationalData
1788         ) {TermList}
1789
1790
1791 iASL: The _HID/_ADR detection and validation has been enhanced to search 
1792 under conditionals in order to allow these objects to be conditionally 
1793 created at runtime.
1794
1795 iASL: Fixed several issues with the constant folding feature. The 
1796 improvement allows better detection and resolution of statements that can 
1797 be folded at compile time. ACPICA BZ 1266. 
1798
1799 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
1800 conversion to the ASL ElseIf operator where incorrect ASL code could be 
1801 generated.
1802
1803 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
1804 sometimes an extra (and extraneous) set of parentheses were emitted for 
1805 some combinations of operators. Although this did not cause any problems 
1806 with recompilation of the disassembled code, it made the code more 
1807 difficult to read. David Box. ACPICA BZ 1231.
1808
1809 iASL: Changed to ignore the unreferenced detection for predefined names 
1810 of resource descriptor elements, when the resource descriptor is 
1811 created/defined within a control method.
1812
1813 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
1814 objects.
1815
1816 ----------------------------------------
1817 18 March 2016. Summary of changes for version 20160318:
1818
1819 1) ACPICA kernel-resident subsystem:
1820
1821 Added support for arbitrary bit lengths and bit offsets for registers 
1822 defined by the Generic Address Structure. Previously, only aligned bit 
1823 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
1824 but recently some machines have been seen that require arbitrary bit-
1825 level support. ACPICA BZ 1240. Lv Zheng.
1826
1827 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
1828 before any _REG methods are evaluated. Lv Zheng.
1829
1830 Implemented several changes related to ACPI table support 
1831 (Headers/Disassembler/TableCompiler):
1832 NFIT: For ACPI 6.1, updated to add some additional new fields and 
1833 constants.
1834 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
1835 6).
1836 DMAR: Added new constants per the 10/2014 DMAR spec.
1837 IORT: Added new subtable per the 10/2015 IORT spec.
1838 HEST: For ACPI 6.1, added new constants and new subtable.
1839 DBG2: Added new constants per the 12/2015 DBG2 spec.
1840 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
1841 ACPICA BZ 1249.
1842 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
1843
1844 Updated header support for the DMAR table to match the current version of 
1845 the related spec.
1846
1847 Added extensions to the ASL Concatenate operator to allow any ACPI object 
1848 to be passed as an operand. Any object other than Integer/String/Buffer 
1849 simply returns a string containing the object type. This extends the 
1850 usefulness of the Printf macros. Previously, Concatenate would abort the 
1851 control method if a non-data object was encountered.
1852
1853 ACPICA source code: Deployed the C "const" keyword across the source code 
1854 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
1855
1856 Example Code and Data Size: These are the sizes for the OS-independent 
1857 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1858 debug version of the code includes the debug output trace mechanism and 
1859 has a much larger code and data size.
1860
1861   Current Release:
1862     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1863     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1864   Previous Release:
1865     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1866     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1867
1868
1869 2) iASL Compiler/Disassembler and Tools:
1870
1871 iASL/Disassembler: Improved the heuristic used to determine the number of 
1872 arguments for an externally defined control method (a method in another 
1873 table). Although this is an improvement, there is no deterministic way to 
1874 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
1875 will completely solve this problem as it is deployed (automatically) in 
1876 newer BIOS code.
1877
1878 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
1879 statements that could cause errors when the disassembled file is 
1880 compiled. ACPICA BZ 1243. David Box.
1881
1882 iASL: Fixed a regression caused by the merger of the two versions of the 
1883 local strtoul64. Because of a dependency on a global variable, strtoul64 
1884 could return an error for integers greater than a 32-bit value. ACPICA BZ 
1885 1260.
1886
1887 iASL: Fixed a regression where a fault could occur for an ASL Return 
1888 statement if it invokes a control method that is not resolved. ACPICA BZ 
1889 1264.
1890
1891 AcpiXtract: Improved input file validation: detection of binary files and 
1892 non-acpidump text files.
1893
1894 ----------------------------------------
1895 12 February 2016. Summary of changes for version 20160212:
1896
1897 1) ACPICA kernel-resident subsystem:
1898
1899 Implemented full support for the ACPI 6.1 specification (released in 
1900 January). This version of the specification is available at:  
1901 http://www.uefi.org/specifications
1902
1903 Only a relatively small number of changes were required in ACPICA to 
1904 support ACPI 6.1, in these areas:
1905 - New predefined names
1906 - New _HID values
1907 - A new subtable for HEST
1908 - A few other header changes for new values
1909
1910 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
1911 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
1912
1913 Reverted a change made in version 20151218 which enabled method 
1914 invocations to be targets of various ASL operators (SuperName and Target 
1915 grammar elements). While the new behavior is supported by the ACPI 
1916 specification, other AML interpreters do not support this behavior and 
1917 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
1918 this support. Therefore, the change was reverted to the original ACPICA 
1919 behavior.
1920
1921 ACPICA now supports the GCC 6 compiler.
1922
1923 Current Release: (Note: build changes increased sizes)
1924     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1925     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1926 Previous Release:
1927     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1928     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
1929
1930
1931 2) iASL Compiler/Disassembler and Tools:
1932
1933 Completed full support for the ACPI 6.0 External() AML opcode. The 
1934 compiler emits an external AML opcode for each ASL External statement. 
1935 This opcode is used by the disassembler to assist with the disassembly of 
1936 external control methods by specifying the required number of arguments 
1937 for the method. AML interpreters do not use this opcode. To ensure that 
1938 interpreters do not even see the opcode, a block of one or more external 
1939 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
1940 commonly deployed in BIOS code, the ability of disassemblers to correctly 
1941 disassemble AML code will be greatly improved. David Box.
1942
1943 iASL: Implemented support for an optional cross-reference output file. 
1944 The -lx option will create a the cross-reference file with the suffix 
1945 "xrf". Three different types of cross-reference are created in this file:
1946 - List of object references made from within each control method
1947 - Invocation (caller) list for each user-defined control method
1948 - List of references to each non-method object in the namespace
1949
1950 iASL: Method invocations as ASL Target operands are now disallowed and 
1951 flagged as errors in preparation for ACPI 6.2 (see the description of the 
1952 problem above).
1953
1954 ----------------------------------------
1955 8 January 2016. Summary of changes for version 20160108:
1956
1957 1) ACPICA kernel-resident subsystem:
1958
1959 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
1960 copyright to all source code module headers and utility/tool signons. 
1961 This includes the standard Linux dual-license header. This affects 
1962 virtually every file in the ACPICA core subsystem, iASL compiler, all 
1963 ACPICA utilities, and the ACPICA test suite.
1964
1965 Fixed a regression introduced in version 20151218 concerning the 
1966 execution of so-called module-level ASL/AML code. Namespace objects 
1967 created under a module-level If() construct were not properly/fully 
1968 entered into the namespace and could cause an interpreter fault when 
1969 accessed.
1970
1971 Example Code and Data Size: These are the sizes for the OS-independent 
1972 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1973 debug version of the code includes the debug output trace mechanism and 
1974 has a much larger code and data size.
1975
1976 Current Release:
1977     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1978     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
1979   Previous Release:
1980     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1981     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1982
1983
1984 2) iASL Compiler/Disassembler and Tools:
1985
1986 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
1987 descriptors. The _PIN field name was incorrectly defined to be an array 
1988 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
1989 would cause incorrect bit width warnings when using Word (16-bit) fields 
1990 to access the descriptors.
1991
1992
1993 ----------------------------------------
1994 18 December 2015. Summary of changes for version 20151218:
1995
1996 1) ACPICA kernel-resident subsystem:
1997
1998 Implemented per-AML-table execution of "module-level code" as individual 
1999 ACPI tables are loaded into the namespace during ACPICA initialization. 
2000 In other words, any module-level code within an AML table is executed 
2001 immediately after the table is loaded, instead of batched and executed 
2002 after all of the tables have been loaded. This provides compatibility 
2003 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
2004 David Box.
2005
2006 To fully support the feature above, the default operation region handlers 
2007 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
2008 installed before any ACPI tables are loaded. This enables module-level 
2009 code to access these address spaces during the table load and module-
2010 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
2011 Box.
2012
2013 Implemented several changes to the internal _REG support in conjunction 
2014 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
2015 utilities for the changes above. Although these tools were changed, host 
2016 operating systems that simply use the default handlers for SystemMemory, 
2017 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
2018
2019 For example, in the code below, DEV1 is conditionally added to the 
2020 namespace by the DSDT via module-level code that accesses an operation 
2021 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
2022 created immediately after the DSDT is loaded in order for the SSDT to 
2023 successfully reference DEV1. Previously, this code would cause an 
2024 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
2025 fully supported by ACPICA.
2026
2027     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
2028     {
2029         OperationRegion (OPR1, SystemMemory, 0x400, 32)
2030         Field (OPR1, AnyAcc, NoLock, Preserve)
2031         {
2032             FLD1, 1
2033         }
2034         If (FLD1)
2035         {
2036             Device (\DEV1)
2037             {
2038             }
2039         }
2040     }
2041     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
2042     {
2043         External (\DEV1, DeviceObj)
2044         Scope (\DEV1)
2045         {
2046         }
2047     }
2048
2049 Fixed an AML interpreter problem where control method invocations were 
2050 not handled correctly when the invocation was itself a SuperName argument 
2051 to another ASL operator. In these cases, the method was not invoked. 
2052 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
2053 argument:
2054     Store
2055     Acquire, Wait
2056     CondRefOf, RefOf
2057     Decrement, Increment
2058     Load, Unload
2059     Notify
2060     Signal, Release, Reset
2061     SizeOf
2062
2063 Implemented automatic String-to-ObjectReference conversion support for 
2064 packages returned by predefined names (such as _DEP). A common BIOS error 
2065 is to add double quotes around an ObjectReference namepath, which turns 
2066 the reference into an unexpected string object. This support detects the 
2067 problem and corrects it before the package is returned to the caller that 
2068 invoked the method. Lv Zheng.
2069
2070 Implemented extensions to the Concatenate operator. Concatenate now 
2071 accepts any type of object, it is not restricted to simply 
2072 Integer/String/Buffer. For objects other than these 3 basic data types, 
2073 the argument is treated as a string containing the name of the object 
2074 type. This expands the utility of Concatenate and the Printf/Fprintf 
2075 macros. ACPICA BZ 1222.
2076
2077 Cleaned up the output of the ASL Debug object. The timer() value is now 
2078 optional and no longer emitted by default. Also, the basic data types of 
2079 Integer/String/Buffer are simply emitted as their values, without a data 
2080 type string -- since the data type is obvious from the output. ACPICA BZ 
2081 1221.
2082
2083 Example Code and Data Size: These are the sizes for the OS-independent 
2084 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2085 debug version of the code includes the debug output trace mechanism and 
2086 has a much larger code and data size.
2087
2088   Current Release:
2089     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2090     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
2091   Previous Release:
2092     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2093     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
2094
2095
2096 2) iASL Compiler/Disassembler and Tools:
2097
2098 iASL: Fixed some issues with the ASL Include() operator. This operator 
2099 was incorrectly defined in the iASL parser rules, causing a new scope to 
2100 be opened for the code within the include file. This could lead to 
2101 several issues, including allowing ASL code that is technically illegal 
2102 and not supported by AML interpreters. Note, this does not affect the 
2103 related #include preprocessor operator. ACPICA BZ 1212.
2104
2105 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
2106 operator is essentially an ASL macro since there is no AML opcode 
2107 associated with it. The code emitted by the iASL compiler for ElseIf is 
2108 an Else opcode followed immediately by an If opcode. The disassembler 
2109 will now emit an ElseIf if it finds an Else immediately followed by an 
2110 If. This simplifies the decoded ASL, especially for deeply nested 
2111 If..Else and large Switch constructs. Thus, the disassembled code more 
2112 closely follows the original source ASL. ACPICA BZ 1211. Example:
2113
2114     Old disassembly:
2115         Else
2116         {
2117             If (Arg0 == 0x02)
2118             {
2119                 Local0 = 0x05
2120             }
2121         }
2122
2123     New disassembly:
2124         ElseIf (Arg0 == 0x02)
2125         {
2126             Local0 = 0x05
2127         }
2128
2129 AcpiExec: Added support for the new module level code behavior and the 
2130 early region installation. This required a small change to the 
2131 initialization, since AcpiExec must install its own operation region 
2132 handlers.
2133
2134 AcpiExec: Added support to make the debug object timer optional. Default 
2135 is timer disabled. This cleans up the debug object output -- the timer 
2136 data is rarely used.
2137
2138 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
2139 appear on the command line. This can be important when there are 
2140 interdependencies/references between the tables.
2141
2142 iASL/Templates. Add support to generate template files with multiple 
2143 SSDTs within a single output file. Also added ommand line support to 
2144 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
2145 1223, 1225.
2146
2147
2148 ----------------------------------------
2149 24 November 2015. Summary of changes for version 20151124:
2150
2151 1) ACPICA kernel-resident subsystem:
2152
2153 Fixed a possible regression for a previous update to FADT handling. The 
2154 FADT no longer has a fixed table ID, causing some issues with code that 
2155 was hardwired to a specific ID. Lv Zheng.
2156
2157 Fixed a problem where the method auto-serialization could interfere with 
2158 the current SyncLevel. This change makes the auto-serialization support 
2159 transparent to the SyncLevel support and management.
2160
2161 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
2162 interface is intended for early access to the namespace during the 
2163 initial namespace device discovery walk. The _SUB method has been seen to 
2164 access operation regions in some cases, causing errors because the 
2165 operation regions are not fully initialized.
2166
2167 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
2168 that can cause faults. Lv Zheng.
2169
2170 AML Debugger: Add thread ID support so that single-step mode only applies 
2171 to the AML Debugger thread. This prevents runtime errors within some 
2172 kernels. Lv Zheng. 
2173
2174 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
2175 methods that are invoked by this interface are optional, removed warnings 
2176 emitted for the case where one or more of these methods do not exist. 
2177 ACPICA BZ 1208, original change by Prarit Bhargava.
2178
2179 Made a major pass through the entire ACPICA source code base to 
2180 standardize formatting that has diverged a bit over time. There are no 
2181 functional changes, but this will of course cause quite a few code 
2182 differences from the previous ACPICA release.
2183
2184 Example Code and Data Size: These are the sizes for the OS-independent 
2185 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2186 debug version of the code includes the debug output trace mechanism and 
2187 has a much larger code and data size.
2188
2189   Current Release:
2190     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2191     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
2192   Previous Release:
2193     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2194     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2195
2196
2197 2) iASL Compiler/Disassembler and Tools:
2198
2199 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
2200 definition blocks within a single ASL file and the resulting AML file. 
2201 Support for this type of file was also added to the various tools that 
2202 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
2203 example code below shows two definition blocks within the same file:
2204
2205     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
2206 0x12345678)
2207     {
2208     }
2209     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
2210     {
2211     }
2212
2213 iASL: Enhanced typechecking for the Name() operator. All expressions for 
2214 the value of the named object must be reduced/folded to a single constant 
2215 at compile time, as per the ACPI specification (the AML definition of 
2216 Name()).
2217
2218 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
2219 and assembly headers). Now all emitted code correctly begins in column 1.
2220
2221 iASL: Added an error message for an attempt to open a Scope() on an 
2222 object defined in an SSDT. The DSDT is always loaded into the namespace 
2223 first, so any attempt to open a Scope on an SSDT object will fail at 
2224 runtime.
2225
2226
2227 ----------------------------------------
2228 30 September 2015. Summary of changes for version 20150930:
2229
2230 1) ACPICA kernel-resident subsystem:
2231
2232 Debugger: Implemented several changes and bug fixes to assist support for 
2233 the in-kernel version of the AML debugger. Lv Zheng.
2234 - Fix the "predefined" command for in-kernel debugger.
2235 - Do not enter debug command loop for the help and version commands.
2236 - Disallow "execute" command during execution/single-step of a method.
2237
2238 Interpreter: Updated runtime typechecking for all operators that have 
2239 target operands. The operand is resolved and validated that it is legal. 
2240 For example, the target cannot be a non-data object such as a Device, 
2241 Mutex, ThermalZone, etc., as per the ACPI specification.
2242
2243 Debugger: Fixed the double-mutex user I/O handshake to work when local 
2244 deadlock detection is enabled.
2245
2246 Debugger: limited display of method locals and arguments (LocalX and 
2247 ArgX) to only those that have actually been initialized. This prevents 
2248 lines of extraneous output.
2249
2250 Updated the definition of the NFIT table to correct the bit polarity of 
2251 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
2252
2253 Example Code and Data Size: These are the sizes for the OS-independent 
2254 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2255 debug version of the code includes the debug output trace mechanism and 
2256 has a much larger code and data size.
2257
2258   Current Release:
2259     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2260     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2261   Previous Release:
2262     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2263     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2264
2265
2266 2) iASL Compiler/Disassembler and Tools:
2267
2268 iASL: Improved the compile-time typechecking for operands of many of the 
2269 ASL operators:
2270
2271 -- Added an option to disable compiler operand/operator typechecking (-
2272 ot).
2273
2274 -- For the following operators, the TermArg operands are now validated 
2275 when possible to be Integer data objects: BankField, OperationRegion, 
2276 DataTableRegion, Buffer, and Package.
2277
2278 -- Store (Source, Target): Both the source and target operands are 
2279 resolved and checked that the operands are both legal. For example, 
2280 neither operand can be a non-data object such as a Device, Mutex, 
2281 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
2282 operator can be used to store an object to any type of target object.
2283
2284 -- Store (Source, Target): If the source is a Package object, the target 
2285 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
2286 is a Package, the source must also be a Package.
2287
2288 -- Store (Source, Target): A warning is issued if the source and target 
2289 resolve to the identical named object.
2290
2291 -- Store (Source, <method invocation>): An error is generated for the 
2292 target method invocation, as this construct is not supported by the AML 
2293 interpreter.
2294
2295 -- For all ASL math and logic operators, the target operand must be a 
2296 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
2297 includes the function return value also.
2298
2299 -- External declarations are also included in the typechecking where 
2300 possible. External objects defined using the UnknownObj keyword cannot be 
2301 typechecked, however.
2302
2303 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
2304 operator:
2305 - Legacy code: Index(PKG1, 3)
2306 - New ASL+ code: PKG1[3]
2307 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
2308 supported.
2309
2310 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
2311 spaces were inadvertently appended to the filename, causing file access 
2312 and deletion problems on some systems.
2313
2314 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
2315 possible compiler output files when building the test suite -- thus 
2316 exercising these features of the compiler. These files are automatically 
2317 deleted when the test suite exits.
2318
2319
2320 ----------------------------------------
2321 18 August 2015. Summary of changes for version 20150818:
2322
2323 1) ACPICA kernel-resident subsystem:
2324
2325 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
2326 Zheng. ACPICA BZ 1186.
2327
2328 Completed development to ensure that the ACPICA Disassembler and Debugger 
2329 are fully standalone components of ACPICA. Removed cross-component 
2330 dependences. Lv Zheng.
2331
2332 The max-number-of-AML-loops is now runtime configurable (previously was 
2333 compile-time only). This is essentially a loop timeout to force-abort 
2334 infinite AML loops. ACPCIA BZ 1192.
2335
2336 Debugger: Cleanup output to dump ACPI names and namepaths without any 
2337 trailing underscores. Lv Zheng. ACPICA BZ 1135.
2338
2339 Removed unnecessary conditional compilations across the Debugger and 
2340 Disassembler components where entire modules could be left uncompiled.
2341
2342 The aapits test is deprecated and has been removed from the ACPICA git 
2343 tree. The test has never been completed and has not been maintained, thus 
2344 becoming rather useless. ACPICA BZ 1015, 794.
2345
2346 A batch of small changes to close bugzilla and other reports:
2347 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
2348 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
2349 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
2350 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
2351 Moore.
2352 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
2353 ACPICA BZ 1184.
2354 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
2355 operators.
2356 - Debugger: Split debugger initialization/termination interfaces. Lv 
2357 Zheng.
2358 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
2359 identification.
2360 - AcpiExec: Add debug message during _REG method phase during table 
2361 load/init.
2362 - AcpiNames: Fix a regression where some output was missing and no longer 
2363 emitted.
2364 - Debugger: General cleanup and simplification. Lv Zheng.
2365 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
2366
2367 Example Code and Data Size: These are the sizes for the OS-independent 
2368 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2369 debug version of the code includes the debug output trace mechanism and 
2370 has a much larger code and data size.
2371
2372   Current Release:
2373     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2374     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2375   Previous Release:
2376     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2377     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2378
2379
2380 2) iASL Compiler/Disassembler and Tools:
2381
2382 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
2383 were not handled properly and caused load errors. Now, properly invoke 
2384 and use the ACPICA auto-reallocate mechanism for ACPI table data 
2385 structures. ACPICA BZ 1188
2386
2387 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
2388 BZ 1190.
2389
2390 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
2391 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
2392 executed during initialization. ACPICA BZ 1187, 1189.
2393
2394 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
2395 that corresponds to each disassembled ASL statement, to simplify 
2396 debugging. ACPICA BZ 1191.
2397
2398 Debugger: Add option to the "objects" command to display a summary of the 
2399 current namespace objects (Object type and count). This is displayed if 
2400 the command is entered with no arguments.
2401
2402 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
2403
2404
2405 ----------------------------------------
2406 17 July 2015. Summary of changes for version 20150717:
2407
2408 1) ACPICA kernel-resident subsystem:
2409
2410 Improved the partitioning between the Debugger and Disassembler 
2411 components. This allows the Debugger to be used standalone within kernel 
2412 code without the Disassembler (which is used for single stepping also). 
2413 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
2414
2415 Debugger: Implemented a new command to trace the execution of control 
2416 methods (Trace). This is especially useful for the in-kernel version of 
2417 the debugger when file I/O may not be available for method trace output. 
2418 See the ACPICA reference for more information. Lv Zheng.
2419
2420 Moved all C library prototypes (used for the local versions of these 
2421 functions when requested) to a new header, acclib.h
2422 Cleaned up the use of non-ANSI C library functions. These functions are 
2423 implemented locally in ACPICA. Moved all such functions to a common 
2424 source file, utnonansi.c
2425
2426 Debugger: Fixed a problem with the "!!" command (get last command 
2427 executed) where the debugger could enter an infinite loop and eventually 
2428 crash.
2429
2430 Removed the use of local macros that were used for some of the standard C 
2431 library functions to automatically cast input parameters. This mostly 
2432 affected the is* functions where the input parameter is defined to be an 
2433 int. This required a few modifications to the main ACPICA source code to 
2434 provide casting for these functions and eliminate possible compiler 
2435 warnings for these parameters.
2436
2437 Across the source code, added additional status/error checking to resolve 
2438 issues discovered by static source code analysis tools such as Coverity.
2439
2440 Example Code and Data Size: These are the sizes for the OS-independent 
2441 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2442 debug version of the code includes the debug output trace mechanism and 
2443 has a much larger code and data size.
2444
2445   Current Release:
2446     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2447     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2448   Previous Release:
2449     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2450     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2451
2452
2453 2) iASL Compiler/Disassembler and Tools:
2454
2455 iASL: Fixed a regression where the device map file feature no longer 
2456 worked properly when used in conjunction with the disassembler. It only 
2457 worked properly with the compiler itself.
2458
2459 iASL: Implemented a new warning for method LocalX variables that are set 
2460 but never used (similar to a C compiler such as gcc). This also applies 
2461 to ArgX variables that are not defined by the parent method, and are 
2462 instead (legally) used as local variables.
2463
2464 iASL/Preprocessor: Finished the pass-through of line numbers from the 
2465 preprocessor to the compiler. This ensures that compiler errors/warnings 
2466 have the correct original line numbers and filenames, regardless of any 
2467 #include files.
2468
2469 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
2470 pass-through of comments to the preprocessor output file (which becomes 
2471 the compiler input file). Also fixed a problem with // comments that 
2472 appear after a math expression.
2473
2474 iASL: Added support for the TCPA server table to the table compiler and 
2475 template generator. (The client table was already previously supported)
2476
2477 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
2478 identify the iASL compiler.
2479
2480 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
2481 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
2482 ACPI_SIGN_POSITIVE.
2483
2484 AcpiHelp: Update to expand help messages for the iASL preprocessor 
2485 directives.
2486
2487
2488 ----------------------------------------
2489 19 June 2015. Summary of changes for version 20150619:
2490
2491 Two regressions in version 20150616 have been addressed:
2492
2493 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
2494 etc.) This update changes ACPICA to only use the standard headers for 
2495 functions, or the prototypes for the local versions of the C library 
2496 functions. Across the source code, this required some additional casts 
2497 for some Clib invocations for portability. Moved all local prototypes to 
2498 a new file, acclib.h
2499
2500 Fixes several problems with recent changes to the handling of the FACS 
2501 table that could cause some systems not to boot.
2502
2503
2504 ----------------------------------------
2505 16 June 2015. Summary of changes for version 20150616:
2506
2507
2508 1) ACPICA kernel-resident subsystem:
2509
2510 Across the entire ACPICA source code base, the various macros for the C 
2511 library functions (such as ACPI_STRLEN, etc.) have been removed and 
2512 replaced by the standard C library names (strlen, etc.) The original 
2513 purpose for these macros is no longer applicable. This simplification 
2514 reduces the number of macros used in the ACPICA source code 
2515 significantly, improving readability and maintainability.
2516
2517 Implemented support for a new ACPI table, the OSDT. This table, the 
2518 "override" SDT, can be loaded directly by the host OS at boot time. It 
2519 enables the replacement of existing namespace objects that were installed 
2520 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
2521 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
2522 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
2523 Moore.
2524
2525 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
2526 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
2527 X field). This change will support both automatically. There continues to 
2528 be systems found with this issue. This support requires a change to the 
2529 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
2530 been added to allow the host to select which FACS is desired 
2531 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
2532 details Lv Zheng.
2533
2534 Added a new feature to allow for systems that do not contain an FACS. 
2535 Although this is already supported on hardware-reduced platforms, the 
2536 feature has been extended for all platforms. The reasoning is that we do 
2537 not want to abort the entire ACPICA initialization just because the 
2538 system is seriously buggy and has no FACS.
2539
2540 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
2541 not correctly transcribed from the ACPI specification in ACPICA version 
2542 20150515.
2543
2544 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
2545 interface.
2546
2547 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
2548 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
2549 compiler also updated. Note: The TCPA "server" table is not supported by 
2550 the disassembler/table-compiler at this time.
2551
2552 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
2553
2554 Example Code and Data Size: These are the sizes for the OS-independent 
2555 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2556 debug version of the code includes the debug output trace mechanism and 
2557 has a much larger code and data size.
2558
2559   Current Release:
2560     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2561     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2562   Previous Release:
2563     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2564     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2565
2566
2567 2) iASL Compiler/Disassembler and Tools:
2568
2569 Disassembler: Fixed a problem with the new symbolic operator disassembler 
2570 where incorrect ASL code could be emitted in some cases for the "non-
2571 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
2572 ShiftRight. The actual problem cases seem to be rather unusual in common 
2573 ASL code, however. David Box.
2574
2575 Modified the linux version of acpidump to obtain ACPI tables from not 
2576 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
2577 Zheng.
2578
2579 iASL: Fixed a problem where the user preprocessor output file (.i) 
2580 contained extra data that was not expected. The compiler was using this 
2581 file as a temporary file and passed through #line directives in order to 
2582 keep compiler error messages in sync with the input file and line number 
2583 across multiple include files. The (.i) is no longer a temporary file as 
2584 the compiler uses a new, different file for the original purpose.
2585
2586 iASL: Fixed a problem where comments within the original ASL source code 
2587 file were not passed through to the preprocessor output file, nor any 
2588 listing files.
2589
2590 iASL: Fixed some issues for the handling of the "#include" preprocessor 
2591 directive and the similar (but not the same) "Include" ASL operator.
2592
2593 iASL: Add support for the new OSDT in both the disassembler and compiler.
2594
2595 iASL: Fixed a problem with the constant folding support where a Buffer 
2596 object could be incorrectly generated (incorrectly formed) during a 
2597 conversion to a Store() operator.
2598
2599 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
2600 description text for the _REV predefined name. _REV now permanently 
2601 returns 2, as per the ACPI 6.0 specification.
2602
2603 Debugger: Enhanced the output of the Debug ASL object for references 
2604 produced by the Index operator. For Buffers and strings, only output the 
2605 actual byte pointed to by the index. For packages, only print the single 
2606 package element decoded by the index. Previously, the entire 
2607 buffer/string/package was emitted.
2608
2609 iASL/Table-compiler: Fixed a regression where the "generic" data types 
2610 were no longer recognized, causing errors.
2611
2612
2613 ----------------------------------------
2614 15 May 2015. Summary of changes for version 20150515:
2615
2616 This release implements most of ACPI 6.0 as described below.
2617
2618 1) ACPICA kernel-resident subsystem:
2619
2620 Implemented runtime argument checking and return value checking for all 
2621 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
2622 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
2623
2624 Example Code and Data Size: These are the sizes for the OS-independent 
2625 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2626 debug version of the code includes the debug output trace mechanism and 
2627 has a much larger code and data size.
2628
2629   Current Release:
2630     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2631     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2632   Previous Release:
2633     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2634     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2635
2636
2637 2) iASL Compiler/Disassembler and Tools:
2638
2639 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
2640 names (argument count validation and return value typechecking.)
2641
2642 iASL disassembler and table compiler: implemented support for all new 
2643 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
2644
2645 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
2646 tables: FADT, MADT.
2647
2648 iASL preprocessor: Added a new directive to enable inclusion of binary 
2649 blobs into ASL code. The new directive is #includebuffer. It takes a 
2650 binary file as input and emits a named ascii buffer object into the ASL 
2651 code.
2652
2653 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
2654
2655 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
2656 directives.
2657
2658 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
2659 tables.
2660
2661
2662 ----------------------------------------
2663 10 April 2015. Summary of changes for version 20150410:
2664
2665 Reverted a change introduced in version 20150408 that caused
2666 a regression in the disassembler where incorrect operator
2667 symbols could be emitted.
2668
2669
2670 ----------------------------------------
2671 08 April 2015. Summary of changes for version 20150408:
2672
2673
2674 1) ACPICA kernel-resident subsystem:
2675
2676 Permanently set the return value for the _REV predefined name. It now 
2677 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
2678 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
2679 for ACPI 2.0 and later. It should never be used to differentiate or 
2680 identify operating systems.
2681
2682 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
2683 return TRUE to a query with this string.
2684
2685 Fixed several issues with the local version of the printf function.
2686
2687 Added the C99 compiler option (-std=c99) to the Unix makefiles.
2688
2689   Current Release:
2690     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
2691     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
2692   Previous Release:
2693     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2694     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2695
2696
2697 2) iASL Compiler/Disassembler and Tools:
2698
2699 iASL: Implemented an enhancement to the constant folding feature to 
2700 transform the parse tree to a simple Store operation whenever possible:
2701     Add (2, 3, X) ==> is converted to: Store (5, X)
2702     X = 2 + 3     ==> is converted to: Store (5, X)
2703
2704 Updated support for the SLIC table (Software Licensing Description Table) 
2705 in both the Data Table compiler and the disassembler. The SLIC table 
2706 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
2707 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
2708 following the ACPI header is now defined to be "Proprietary Data", and as 
2709 such, can only be entered or displayed as a hex data block.
2710
2711 Implemented full support for the MSDM table as described in the document 
2712 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
2713 following the ACPI header is defined to be "Proprietary Data", and can 
2714 only be entered or displayed as a hex data block.
2715
2716 Implemented the -Pn option for the iASL Table Compiler (was only 
2717 implemented for the ASL compiler). This option disables the iASL 
2718 preprocessor.
2719
2720 Disassembler: For disassembly of Data Tables, added a comment field 
2721 around the Ascii equivalent data that is emitted as part of the "Raw 
2722 Table Data" block. This prevents the iASL Preprocessor from possible 
2723 confusion if/when the table is compiled.
2724
2725 Disassembler: Added an option (-df) to force the disassembler to assume 
2726 that the table being disassembled contains valid AML. This feature is 
2727 useful for disassembling AML files that contain ACPI signatures other 
2728 than DSDT or SSDT (such as OEMx or other signatures).
2729
2730 Changes for the EFI version of the tools:
2731 1) Fixed a build error/issue
2732 2) Fixed a cast warning
2733
2734 iASL: Fixed a path issue with the __FILE__ operator by making the 
2735 directory prefix optional within the internal SplitInputFilename 
2736 function.
2737
2738 Debugger: Removed some unused global variables.
2739
2740 Tests: Updated the makefile for proper generation of the AAPITS suite.
2741
2742
2743 ----------------------------------------
2744 04 February 2015. Summary of changes for version 20150204:
2745
2746 ACPICA kernel-resident subsystem:
2747
2748 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
2749 copyright to all module headers and signons, including the standard Linux 
2750 header. This affects virtually every file in the ACPICA core subsystem, 
2751 iASL compiler, all ACPICA utilities, and the test suites.
2752
2753 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
2754 A raw gpe handling mechanism was created to allow better handling of GPE
2755 storms that aren't easily managed by the normal handler. The raw handler
2756 allows disabling/renabling of the the GPE so that interrupt storms can be
2757 avoided in cases where events cannot be timely serviced. In this 
2758 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
2759 GPE. This API will leave the reference counts undisturbed, thereby 
2760 preventing unintentional clearing of the GPE when the intent in only to 
2761 temporarily disable it. Raw handlers allow enabling and disabling of a 
2762 GPE by removing GPE register locking. As such, raw handlers much provide 
2763 their own locks while using GPE API's to protect access to GPE data 
2764 structures.
2765 Lv Zheng
2766
2767 Events: Always modify GPE registers under the GPE lock.
2768 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
2769 values. Reported as bug by joe.liu@apple.com.
2770
2771 Unix makefiles: Separate option to disable optimizations and 
2772 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
2773 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
2774 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
2775 errors when building ACPICA. This allows disabling the option without 
2776 also having to disable optimazations.
2777 David Box
2778
2779   Current Release:
2780     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2781     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
2782
2783 --
2784 --------------------------------------
2785 07 November 2014. Summary of changes for version 20141107:
2786
2787 This release is available at https://acpica.org/downloads
2788
2789 This release introduces and implements language extensions to ASL that 
2790 provide support for symbolic ("C-style") operators and expressions. These 
2791 language extensions are known collectively as ASL+.
2792
2793
2794 1) iASL Compiler/Disassembler and Tools:
2795
2796 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
2797 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
2798 Box.
2799
2800 Disassembler: Fixed the Unicode macro support to add escape sequences. 
2801 All non-printable ASCII values are emitted as escape sequences, as well 
2802 as the standard escapes for quote and backslash. Ensures that the 
2803 disassembled macro can be correctly recompiled.
2804
2805 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
2806 translated to existing AML Concatenate and Store operations. Printf 
2807 writes to the ASL Debug object. Fprintf allows the specification of an 
2808 ASL name as the target. Only a single format specifier is required, %o, 
2809 since the AML interpreter dynamically converts objects to the required 
2810 type. David E. Box.
2811
2812     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2813                  (Concatenate (Concatenate (Concatenate ("", Arg0),
2814                  ": Unexpected value for "), Arg1), ", "), Arg2),
2815                  " at line "), Arg3), Debug)
2816
2817     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
2818                  Arg0, Arg1, Arg2, Arg3)
2819
2820     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2821                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
2822
2823     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
2824
2825 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
2826 ASL parse tree before the AML code is generated. This allows blocks of 
2827 ASL code to be removed in order to help locate and identify problem 
2828 devices and/or code. David E. Box.
2829
2830 AcpiExec: Added support (-fi) for an optional namespace object 
2831 initialization file. This file specifies initial values for namespace 
2832 objects as necessary for debugging and testing different ASL code paths 
2833 that may be taken as a result of BIOS options.
2834
2835
2836 2) Overview of symbolic operator support for ASL (ASL+)
2837 -------------------------------------------------------
2838
2839 As an extension to the ASL language, iASL implements support for symbolic 
2840 (C-style) operators for math and logical expressions. This can greatly 
2841 simplify ASL code as well as improve both readability and 
2842 maintainability. These language extensions can exist concurrently with 
2843 all legacy ASL code and expressions.
2844
2845 The symbolic extensions are 100% compatible with existing AML 
2846 interpreters, since no new AML opcodes are created. To implement the 
2847 extensions, the iASL compiler transforms the symbolic expressions into 
2848 the legacy ASL/AML equivalents at compile time.
2849
2850 Full symbolic expressions are supported, along with the standard C 
2851 precedence and associativity rules.
2852
2853 Full disassembler support for the symbolic expressions is provided, and 
2854 creates an automatic migration path for existing ASL code to ASL+ code 
2855 via the disassembly process. By default, the disassembler now emits ASL+ 
2856 code with symbolic expressions. An option (-dl) is provided to force the 
2857 disassembler to emit legacy ASL code if desired.
2858
2859 Below is the complete list of the currently supported symbolic operators 
2860 with examples. See the iASL User Guide for additional information.
2861
2862
2863 ASL+ Syntax      Legacy ASL Equivalent
2864 -----------      ---------------------
2865
2866     // Math operators
2867
2868 Z = X + Y        Add (X, Y, Z)
2869 Z = X - Y        Subtract (X, Y, Z)
2870 Z = X * Y        Multiply (X, Y, Z)
2871 Z = X / Y        Divide (X, Y, , Z)
2872 Z = X % Y        Mod (X, Y, Z)
2873 Z = X << Y       ShiftLeft (X, Y, Z)
2874 Z = X >> Y       ShiftRight (X, Y, Z)
2875 Z = X & Y        And (X, Y, Z)
2876 Z = X | Y        Or (X, Y, Z)
2877 Z = X ^ Y        Xor (X, Y, Z)
2878 Z = ~X           Not (X, Z)
2879 X++              Increment (X)
2880 X--              Decrement (X)
2881
2882     // Logical operators
2883
2884 (X == Y)         LEqual (X, Y)
2885 (X != Y)         LNotEqual (X, Y)
2886 (X < Y)          LLess (X, Y)
2887 (X > Y)          LGreater (X, Y)
2888 (X <= Y)         LLessEqual (X, Y)
2889 (X >= Y)         LGreaterEqual (X, Y)
2890 (X && Y)         LAnd (X, Y)
2891 (X || Y)         LOr (X, Y)
2892 (!X)             LNot (X)
2893
2894     // Assignment and compound assignment operations
2895
2896 X = Y           Store (Y, X)
2897 X += Y          Add (X, Y, X)
2898 X -= Y          Subtract (X, Y, X)
2899 X *= Y          Multiply (X, Y, X)
2900 X /= Y          Divide (X, Y, , X)
2901 X %= Y          Mod (X, Y, X)
2902 X <<= Y         ShiftLeft (X, Y, X)
2903 X >>= Y         ShiftRight (X, Y, X)
2904 X &= Y          And (X, Y, X)
2905 X |= Y          Or (X, Y, X)
2906 X ^= Y          Xor (X, Y, X)
2907
2908
2909 3) ASL+ Examples:
2910 -----------------
2911
2912 Legacy ASL:
2913         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
2914             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
2915 0x03FB), 
2916             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
2917         {
2918             And (MEMB, 0xFFFFFFF0, SRMB)
2919             Store (MEMB, Local2)
2920             Store (PDBM, Local1)
2921             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
2922             Store (SRMB, MEMB)
2923             Or (PDBM, 0x02, PDBM)
2924         }
2925
2926 ASL+ version:
2927         If (((R510 & 0x03FB) == 0x02E0) ||
2928             ((R520 & 0x03FB) == 0x02E0) ||
2929             ((R530 & 0x03FB) == 0x02E0) || 
2930             ((R540 & 0x03FB) == 0x02E0))
2931         {
2932             SRMB = (MEMB & 0xFFFFFFF0)
2933             Local2 = MEMB
2934             Local1 = PDBM
2935             PDBM &= 0xFFFFFFFFFFFFFFF9
2936             MEMB = SRMB
2937             PDBM |= 0x02
2938         }
2939
2940 Legacy ASL:
2941         Store (0x1234, Local1)
2942         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2943         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2944         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2945         Store (Index (PKG1, 0x03), Local6)
2946         Store (Add (Local3, Local2), Debug)
2947         Add (Local1, 0x0F, Local2)
2948         Add (Local1, Multiply (Local2, Local3), Local2)
2949         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2950
2951 ASL+ version:
2952         Local1 = 0x1234
2953         Local3 = (((Local1 + TEST) + 0x20) * Local2)
2954         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2955         Local3 = (Local1 + (TEST + (0x20 * Local2)))
2956         Local6 = Index (PKG1, 0x03)
2957         Debug = (Local3 + Local2)
2958         Local2 = (Local1 + 0x0F)
2959         Local2 = (Local1 + (Local2 * Local3))
2960         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2961
2962
2963 ----------------------------------------
2964 26 September 2014. Summary of changes for version 20140926:
2965
2966 1) ACPICA kernel-resident subsystem:
2967
2968 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
2969 In order to support GPIO Connection objects with multiple pins, along 
2970 with the related Field objects, the following changes to the interface 
2971 have been made: The Address is now defined to be the offset in bits of 
2972 the field unit from the previous invocation of a Connection. It can be 
2973 viewed as a "Pin Number Index" into the connection resource descriptor. 
2974 The BitWidth is the exact bit width of the field. It is usually one bit, 
2975 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
2976 additional information and examples.
2977
2978 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
2979 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
2980 by the firmware), so that they cannot fire until they are enabled via 
2981 AcpiUpdateAllGpes. Rafael J. Wysocki.
2982
2983 Added a new return flag for the Event/GPE status interfaces -- 
2984 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
2985 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
2986 GPE currently has a handler associated with it, and can thus actually 
2987 affect the system. Lv Zheng.
2988
2989 Example Code and Data Size: These are the sizes for the OS-independent 
2990 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2991 debug version of the code includes the debug output trace mechanism and 
2992 has a much larger code and data size.
2993
2994   Current Release:
2995     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2996     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2997   Previous Release:
2998     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2999     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
3000
3001 2) iASL Compiler/Disassembler and Tools:
3002
3003 iASL: Fixed a memory allocation/free regression introduced in 20140828 
3004 that could cause the compiler to crash. This was introduced inadvertently 
3005 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
3006 1113.
3007
3008 iASL: Removed two error messages that have been found to create false 
3009 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
3010 1) Illegal forward reference within a method
3011 2) Illegal reference across two methods
3012
3013 iASL: Implemented a new option (-lm) to create a hardware mapping file 
3014 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
3015 works for both the compiler and disassembler. See the iASL compiler user 
3016 guide for additional information and examples (section 6.4.6).
3017
3018 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
3019 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
3020 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
3021
3022 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
3023 unless STDIN is actually a terminal. Assists with batch-mode processing. 
3024 ACPICA BZ 1114.
3025
3026 Disassembler/AcpiHelp: Added another large group of recognized _HID 
3027 values.
3028
3029
3030 ----------------------------------------
3031 28 August 2014. Summary of changes for version 20140828:
3032
3033 1) ACPICA kernel-resident subsystem:
3034
3035 Fixed a problem related to the internal use of the Timer() operator where 
3036 a 64-bit divide could cause an attempted link to a double-precision math 
3037 library. This divide is not actually necessary, so the code was 
3038 restructured to eliminate it. Lv Zheng.
3039
3040 ACPI 5.1: Added support for the runtime validation of the _DSD package 
3041 (similar to the iASL support).
3042
3043 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
3044 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
3045
3046 Example Code and Data Size: These are the sizes for the OS-independent 
3047 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3048 debug version of the code includes the debug output trace mechanism and 
3049 has a much larger code and data size.
3050
3051   Current Release:
3052     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
3053     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
3054   Previous Release:
3055     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
3056     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
3057
3058 2) iASL Compiler/Disassembler and Tools:
3059
3060 AcpiExec: Fixed a problem on unix systems where the original terminal 
3061 state was not always properly restored upon exit. Seen when using the -v 
3062 option. ACPICA BZ 1104.
3063
3064 iASL: Fixed a problem with the validation of the ranges/length within the 
3065 Memory24 resource descriptor. There was a boundary condition when the 
3066 range was equal to the (length -1) caused by the fact that these values 
3067 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
3068
3069 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
3070 polarity 
3071 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
3072 is 
3073 now supported properly.
3074
3075 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
3076 in the disassembler, data table compiler, and table template generator.
3077
3078 iASL: Added a requirement for Device() objects that one of either a _HID 
3079 or _ADR must exist within the scope of a Device, as per the ACPI 
3080 specification. Remove a similar requirement that was incorrectly in place 
3081 for the _DSD object.
3082
3083 iASL: Added error detection for illegal named references within control 
3084 methods that would cause runtime failures. Now trapped as errors are: 1) 
3085 References to objects within a non-parent control method. 2) Forward 
3086 references (within a method) -- for control methods, AML interpreters use 
3087 a one-pass parse of control methods. ACPICA BZ 1008.
3088
3089 iASL: Added error checking for dependencies related to the _PSx power 
3090 methods. ACPICA BZ 1029.
3091 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
3092 _PS3.
3093 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
3094 scope.
3095
3096 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
3097 deploying the existing object and string caches and adding new caches for 
3098 the table compiler.
3099
3100 iASL: Split the huge parser source file into multiple subfiles to improve 
3101 manageability. Generation now requires the M4 macro preprocessor, which 
3102 is part of the Bison distribution on both unix and windows platforms.
3103
3104 AcpiSrc: Fixed and removed all extraneous warnings generated during 
3105 entire ACPICA source code scan and/or conversion.
3106
3107
3108 ----------------------------------------
3109
3110 24 July 2014. Summary of changes for version 20140724: 
3111
3112 The ACPI 5.1 specification has been released and is available at: 
3113 http://uefi.org/specs/access
3114
3115
3116 0) ACPI 5.1 support in ACPICA:
3117
3118 ACPI 5.1 is fully supported in ACPICA as of this release.
3119
3120 New predefined names. Support includes iASL and runtime ACPICA 
3121 validation.
3122     _CCA (Cache Coherency Attribute).
3123     _DSD (Device-Specific Data). David Box.
3124
3125 Modifications to existing ACPI tables. Support includes headers, iASL 
3126 Data Table compiler, disassembler, and the template generator.
3127     FADT - New fields and flags. Graeme Gregory.
3128     GTDT - One new subtable and new fields. Tomasz Nowicki.
3129     MADT - Two new subtables. Tomasz Nowicki.
3130     PCCT - One new subtable.
3131
3132 Miscellaneous.
3133     New notification type for System Resource Affinity change events.
3134
3135
3136 1) ACPICA kernel-resident subsystem:
3137
3138 Fixed a regression introduced in 20140627 where a fault can happen during 
3139 the deletion of Alias AML namespace objects. The problem affected both 
3140 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
3141
3142 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
3143 simple mechanism to enable wake GPEs that have no associated handler or 
3144 control method. Rafael Wysocki.
3145
3146 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
3147 handler or control method associated with the particular GPE. This will 
3148 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
3149
3150 Updated GPE handling and dispatch by disabling the GPE before clearing 
3151 the status bit for edge-triggered GPEs. Lv Zheng.
3152
3153 Added Timer() support to the AML Debug object. The current timer value is 
3154 now displayed with each invocation of (Store to) the debug object to 
3155 enable simple generation of execution times for AML code (method 
3156 execution for example.) ACPICA BZ 1093.
3157
3158 Example Code and Data Size: These are the sizes for the OS-independent 
3159 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3160 debug version of the code includes the debug output trace mechanism and 
3161 has a much larger code and data size.
3162
3163   Current Release:
3164     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
3165     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
3166   Previous Release:
3167     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3168     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3169
3170
3171 2) iASL Compiler/Disassembler and Tools:
3172
3173 Fixed an issue with the recently added local printf implementation, 
3174 concerning width/precision specifiers that could cause incorrect output. 
3175 Lv Zheng. ACPICA BZ 1094.
3176
3177 Disassembler: Added support to detect buffers that contain UUIDs and 
3178 disassemble them to an invocation of the ToUUID operator. Also emit 
3179 commented descriptions of known ACPI-related UUIDs.
3180
3181 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
3182 -u. Adds three new files. 
3183
3184 iASL: Update table compiler and disassembler for DMAR table changes that 
3185 were introduced in September 2013. With assistance by David Woodhouse.
3186
3187 ----------------------------------------
3188 27 June 2014. Summary of changes for version 20140627:
3189
3190 1) ACPICA kernel-resident subsystem:
3191
3192 Formatted Output: Implemented local versions of standard formatted output 
3193 utilities such as printf, etc. Over time, it has been discovered that 
3194 there are in fact many portability issues with printf, and the addition 
3195 of this feature will fix/prevent these issues once and for all. Some 
3196 known issues are summarized below:
3197
3198 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
3199 for the Linux kernel and is %uI64 for some MSVC versions.
3200 2) Invoking printf consistently in a manner that is portable across both 
3201 32-bit and 64-bit platforms is difficult at best in many situations.
3202 3) The output format for pointers varies from system to system (leading 
3203 zeros especially), and leads to inconsistent output from ACPICA across 
3204 platforms.
3205 4) Certain platform-specific printf formats may conflict with ACPICA use.
3206 5) If there is no local C library available, ACPICA now has local support 
3207 for printf.
3208
3209 -- To address these printf issues in a complete manner, ACPICA now 
3210 directly implements a small subset of printf format specifiers, only 
3211 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
3212
3213 Implemented support for ACPICA generation within the EFI environment. 
3214 Initially, the AcpiDump utility is supported in the UEFI shell 
3215 environment. Lv Zheng.
3216
3217 Added a new external interface, AcpiLogError, to improve ACPICA 
3218 portability. This allows the host to redirect error messages from the 
3219 ACPICA utilities. Lv Zheng.
3220
3221 Added and deployed new OSL file I/O interfaces to improve ACPICA 
3222 portability:
3223   AcpiOsOpenFile
3224   AcpiOsCloseFile
3225   AcpiOsReadFile
3226   AcpiOsWriteFile
3227   AcpiOsGetFileOffset
3228   AcpiOsSetFileOffset
3229 There are C library implementations of these functions in the new file 
3230 service_layers/oslibcfs.c -- however, the functions can be implemented by 
3231 the local host in any way necessary. Lv Zheng.
3232
3233 Implemented a mechanism to disable/enable ACPI table checksum validation 
3234 at runtime. This can be useful when loading tables very early during OS 
3235 initialization when it may not be possible to map the entire table in 
3236 order to compute the checksum. Lv Zheng.
3237
3238 Fixed a buffer allocation issue for the Generic Serial Bus support. 
3239 Originally, a fixed buffer length was used. This change allows for 
3240 variable-length buffers based upon the protocol indicated by the field 
3241 access attributes. Reported by Lan Tianyu. Lv Zheng.
3242
3243 Fixed a problem where an object detached from a namespace node was not 
3244 properly terminated/cleared and could cause a circular list problem if 
3245 reattached. ACPICA BZ 1063. David Box.
3246
3247 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
3248
3249 Fixed a possible memory leak in an error return path within the function 
3250 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
3251
3252 Example Code and Data Size: These are the sizes for the OS-independent 
3253 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3254 debug version of the code includes the debug output trace mechanism and 
3255 has a much larger code and data size.
3256
3257   Current Release:
3258     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3259     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3260   Previous Release:
3261     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3262     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3263
3264
3265 2) iASL Compiler/Disassembler and Tools:
3266
3267 Disassembler: Add dump of ASCII equivalent text within a comment at the 
3268 end of each line of the output for the Buffer() ASL operator.
3269
3270 AcpiDump: Miscellaneous changes:
3271   Fixed repetitive table dump in -n mode.
3272   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
3273 the ACPI 2.0 GUID fails.
3274
3275 iASL: Fixed a problem where the compiler could fault if incorrectly given 
3276 an acpidump output file as input. ACPICA BZ 1088. David Box.
3277
3278 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
3279 they are invoked without any arguments.
3280
3281 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
3282 1086. Colin Ian King.
3283
3284 Disassembler: Cleaned up a block of code that extracts a parent Op 
3285 object. Added a comment that explains that the parent is guaranteed to be 
3286 valid in this case. ACPICA BZ 1069.
3287
3288
3289 ----------------------------------------
3290 24 April 2014. Summary of changes for version 20140424:
3291
3292 1) ACPICA kernel-resident subsystem:
3293
3294 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
3295 Some of these tables are known to contain a trailing NULL entry. Lv 
3296 Zheng.
3297
3298 Removed an extraneous error message for the case where there are a large 
3299 number of system GPEs (> 124). This was the "32-bit FADT register is too 
3300 long to convert to GAS struct" message, which is irrelevant for GPEs 
3301 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
3302 (limited capacity) GAS bit length. Also, several changes to ensure proper 
3303 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
3304 internally.
3305
3306 Implemented and deployed additional configuration support for the public 
3307 ACPICA external interfaces. Entire classes of interfaces can now be 
3308 easily modified or configured out, replaced by stubbed inline functions 
3309 by default. Lv Zheng.
3310
3311 Moved all public ACPICA runtime configuration globals to the public 
3312 ACPICA external interface file for convenience. Also, removed some 
3313 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
3314
3315 Documentation: Added a new section to the ACPICA reference describing the 
3316 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
3317 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
3318 reference.
3319
3320 Example Code and Data Size: These are the sizes for the OS-independent 
3321 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3322 debug version of the code includes the debug output trace mechanism and 
3323 has a much larger code and data size.
3324
3325   Current Release:
3326     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3327     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3328   Previous Release:
3329     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
3330     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
3331
3332
3333 2) iASL Compiler/Disassembler and Tools:
3334
3335 iASL and disassembler: Add full support for the LPIT table (Low Power 
3336 Idle Table). Includes support in the disassembler, data table compiler, 
3337 and template generator.
3338
3339 AcpiDump utility:
3340 1) Add option to force the use of the RSDT (over the XSDT).
3341 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
3342
3343 iASL: Add check for predefined packages that are too large.  For 
3344 predefined names that contain subpackages, check if each subpackage is 
3345 too large. (Check for too small already exists.)
3346
3347 Debugger: Updated the GPE command (which simulates a GPE by executing the 
3348 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
3349 to the GPE 0/1 FADT-defined blocks.
3350
3351 Unix application OSL: Update line-editing support. Add additional error 
3352 checking and take care not to reset terminal attributes on exit if they 
3353 were never set. This should help guarantee that the terminal is always 
3354 left in the previous state on program exit.
3355
3356
3357 ----------------------------------------
3358 25 March 2014. Summary of changes for version 20140325:
3359
3360 1) ACPICA kernel-resident subsystem:
3361
3362 Updated the auto-serialize feature for control methods. This feature 
3363 automatically serializes all methods that create named objects in order 
3364 to prevent runtime errors. The update adds support to ignore the 
3365 currently executing AML SyncLevel when invoking such a method, in order 
3366 to prevent disruption of any existing SyncLevel priorities that may exist 
3367 in the AML code. Although the use of SyncLevels is relatively rare, this 
3368 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
3369 appear on some machines starting with the 20140214 release.
3370
3371 Added a new external interface to allow the host to install ACPI tables 
3372 very early, before the namespace is even created. AcpiInstallTable gives 
3373 the host additional flexibility for ACPI table management. Tables can be 
3374 installed directly by the host as if they had originally appeared in the 
3375 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
3376 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
3377 with additional internal restructuring and cleanup. See the ACPICA 
3378 Reference for interface details. Lv Zheng.
3379
3380 Added validation of the checksum for all incoming dynamically loaded 
3381 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
3382 Zheng.
3383
3384 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
3385 and GPE handler removal. Restructured calls to eliminate possible race 
3386 conditions. Lv Zheng.
3387
3388 Added a warning for the use/execution of the ASL/AML Unload (table) 
3389 operator. This will help detect and identify machines that use this 
3390 operator if and when it is ever used. This operator has never been seen 
3391 in the field and the usage model and possible side-effects of the drastic 
3392 runtime action of a full table removal are unknown.
3393
3394 Reverted the use of #pragma push/pop which was introduced in the 20140214 
3395 release. It appears that push and pop are not implemented by enough 
3396 compilers to make the use of this feature feasible for ACPICA at this 
3397 time. However, these operators may be deployed in a future ACPICA 
3398 release.
3399
3400 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
3401 handler interfaces.
3402
3403 Source code generation:
3404 1) Disabled the use of the "strchr" macro for the gcc-specific 
3405 generation. For some versions of gcc, this macro can periodically expose 
3406 a compiler bug which in turn causes compile-time error(s).
3407 2) Added support for PPC64 compilation. Colin Ian King.
3408
3409 Example Code and Data Size: These are the sizes for the OS-independent 
3410 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3411 debug version of the code includes the debug output trace mechanism and 
3412 has a much larger code and data size.
3413
3414   Current Release:
3415     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
3416     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
3417   Previous Release:
3418     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3419     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3420
3421
3422 2) iASL Compiler/Disassembler and Tools:
3423
3424 Disassembler: Added several new features to improve the readability of 
3425 the resulting ASL code. Extra information is emitted within comment 
3426 fields in the ASL code:
3427 1) Known _HID/_CID values are decoded to descriptive text.
3428 2) Standard values for the Notify() operator are decoded to descriptive 
3429 text.
3430 3) Target operands are expanded to full pathnames (in a comment) when 
3431 possible.
3432
3433 Disassembler: Miscellaneous updates for extern() handling:
3434 1) Abort compiler if file specified by -fe option does not exist.
3435 2) Silence unnecessary warnings about argument count mismatches.
3436 3) Update warning messages concerning unresolved method externals.
3437 4) Emit "UnknownObj" keyword for externals whose type cannot be 
3438 determined.
3439
3440 AcpiHelp utility:
3441 1) Added the -a option to display both the ASL syntax and the AML 
3442 encoding for an input ASL operator. This effectively displays all known 
3443 information about an ASL operator with one AcpiHelp invocation.
3444 2) Added substring match support (similar to a wildcard) for the -i 
3445 (_HID/PNP IDs) option.
3446
3447 iASL/Disassembler: Since this tool does not yet support execution on big-
3448 endian machines, added detection of endianness and an error message if 
3449 execution is attempted on big-endian. Support for big-endian within iASL 
3450 is a feature that is on the ACPICA to-be-done list.
3451
3452 AcpiBin utility:
3453 1) Remove option to extract binary files from an acpidump; this function 
3454 is made obsolete by the AcpiXtract utility.
3455 2) General cleanup of open files and allocated buffers.
3456
3457
3458 ----------------------------------------
3459 14 February 2014. Summary of changes for version 20140214:
3460
3461 1) ACPICA kernel-resident subsystem:
3462
3463 Implemented a new mechanism to proactively prevent problems with ill-
3464 behaved reentrant control methods that create named ACPI objects. This 
3465 behavior is illegal as per the ACPI specification, but is nonetheless 
3466 frequently seen in the field. Previously, this could lead to an 
3467 AE_ALREADY_EXISTS exception if the method was actually entered by more 
3468 than one thread. This new mechanism detects such methods at table load 
3469 time and marks them "serialized" to prevent reentrancy. A new global 
3470 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
3471 feature if desired. This mechanism and global option obsoletes and 
3472 supersedes the previous AcpiGbl_SerializeAllMethods option.
3473
3474 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
3475 respond TRUE to _OSI queries with this string. It is the stated policy of 
3476 ACPICA to add new strings to the _OSI support as soon as possible after 
3477 they are defined. See the full ACPICA _OSI policy which has been added to 
3478 the utilities/utosi.c file.
3479
3480 Hardened/updated the _PRT return value auto-repair code:
3481 1) Do not abort the repair on a single subpackage failure, continue to 
3482 check all subpackages.
3483 2) Add check for the minimum subpackage length (4).
3484 3) Properly handle extraneous NULL package elements.
3485
3486 Added support to avoid the possibility of infinite loops when traversing 
3487 object linked lists. Never allow an infinite loop, even in the face of 
3488 corrupted object lists.
3489
3490 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
3491 pack(pop) directives to ensure that the ACPICA headers are independent of 
3492 compiler settings or other host headers.
3493
3494 Example Code and Data Size: These are the sizes for the OS-independent 
3495 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3496 debug version of the code includes the debug output trace mechanism and 
3497 has a much larger code and data size.
3498
3499   Current Release:
3500     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3501     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3502   Previous Release:
3503     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3504     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3505
3506
3507 2) iASL Compiler/Disassembler and Tools:
3508
3509 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
3510 first reserved field was incorrectly forced to have a value of zero. This 
3511 change correctly forces the field to have a value of one. ACPICA BZ 1081.
3512
3513 Debugger: Added missing support for the "Extra" and "Data" subobjects 
3514 when displaying object data.
3515
3516 Debugger: Added support to display entire object linked lists when 
3517 displaying object data.
3518
3519 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
3520 Windows registry. This feature has been superseded by the acpidump 
3521 utility. 
3522
3523
3524 ----------------------------------------
3525 14 January 2014. Summary of changes for version 20140114:
3526
3527 1) ACPICA kernel-resident subsystem:
3528
3529 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
3530 copyright to all module headers and signons, including the standard Linux 
3531 header. This affects virtually every file in the ACPICA core subsystem, 
3532 iASL compiler, all ACPICA utilities, and the test suites.
3533
3534 Improved parameter validation for AcpiInstallGpeBlock. Added the 
3535 following checks:
3536 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
3537 2) There is not already a GPE block attached to the device.
3538 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
3539 device.
3540
3541 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
3542 support to allow references (namespace nodes) to be passed as arguments 
3543 to control methods via the evaluate object interface. This is probably 
3544 most useful for testing purposes, however.
3545
3546 Improved support for 32/64 bit physical addresses in printf()-like 
3547 output. This change improves the support for physical addresses in printf 
3548 debug statements and other output on both 32-bit and 64-bit hosts. It 
3549 consistently outputs the appropriate number of bytes for each host. The 
3550 %p specifier is unsatisfactory since it does not emit uniform output on 
3551 all hosts/clib implementations (on some, leading zeros are not supported, 
3552 leading to difficult-to-read output).
3553
3554 Example Code and Data Size: These are the sizes for the OS-independent 
3555 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3556 debug version of the code includes the debug output trace mechanism and 
3557 has a much larger code and data size.
3558
3559   Current Release:
3560     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3561     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3562   Previous Release:
3563     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3564     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3565
3566
3567 2) iASL Compiler/Disassembler and Tools:
3568
3569 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
3570 problem if the parent Field definition for the Connection operator refers 
3571 to an operation region that does not exist. ACPICA BZ 1064.
3572
3573 AcpiExec: Load of local test tables is now optional. The utility has the 
3574 capability to load some various tables to test features of ACPICA. 
3575 However, there are enough of them that the output of the utility became 
3576 confusing. With this change, only the required local tables are displayed 
3577 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
3578 line specification. This makes the default output simler and easier to 
3579 understand. The -el command line option restores the original behavior 
3580 for testing purposes.
3581
3582 AcpiExec: Added support for overlapping operation regions. This change 
3583 expands the simulation of operation regions by supporting regions that 
3584 overlap within the given address space. Supports SystemMemory and 
3585 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
3586
3587 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
3588 allows AcpiExec to simulate these address spaces, similar to the current 
3589 support for SystemMemory and SystemIO.
3590
3591 Debugger: Added new command to read/write/compare all namespace objects. 
3592 The command "test objects" will exercise the entire namespace by writing 
3593 new values to each data object, and ensuring that the write was 
3594 successful. The original value is then restored and verified.
3595
3596 Debugger: Added the "test predefined" command. This change makes this 
3597 test public and puts it under the new "test" command. The test executes 
3598 each and every predefined name within the current namespace.
3599
3600
3601 ----------------------------------------
3602 18 December 2013. Summary of changes for version 20131218:
3603
3604 Global note: The ACPI 5.0A specification was released this month. There 
3605 are no changes needed for ACPICA since this release of ACPI is an 
3606 errata/clarification release. The specification is available at 
3607 acpi.info. 
3608
3609
3610 1) ACPICA kernel-resident subsystem:
3611
3612 Added validation of the XSDT root table if it is present. Some older 
3613 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
3614 as containing some or all entries that are NULL pointers). This change 
3615 adds a new function to validate the XSDT before actually using it. If the 
3616 XSDT is found to be invalid, ACPICA will now automatically fall back to 
3617 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
3618 ACPICA and enhanced by Lv Zheng and Bob Moore.
3619
3620 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
3621 This change adds a runtime option that will force ACPICA to use the RSDT 
3622 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
3623 requires that an XSDT be used instead of the RSDT, the XSDT has been 
3624 found to be corrupt or ill-formed on some machines. Lv Zheng.
3625
3626 Added a runtime option to favor 32-bit FADT register addresses over the 
3627 64-bit addresses. This change adds an option to favor 32-bit FADT 
3628 addresses when there is a conflict between the 32-bit and 64-bit versions 
3629 of the same register. The default behavior is to use the 64-bit version 
3630 in accordance with the ACPI specification. This can now be overridden via 
3631 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
3632
3633 During the change above, the internal "Convert FADT" and "Verify FADT" 
3634 functions have been merged to simplify the code, making it easier to 
3635 understand and maintain. ACPICA BZ 933.
3636
3637 Improve exception reporting and handling for GPE block installation. 
3638 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
3639 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
3640
3641 Added helper macros to extract bus/segment numbers from the HEST table. 
3642 This change adds two macros to extract the encoded bus and segment 
3643 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
3644 Betty Dall <betty.dall@hp.com>
3645
3646 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
3647 by ACPICA. It is not a public macro, so it should have no effect on 
3648 existing OSV code. Lv Zheng.
3649
3650 Example Code and Data Size: These are the sizes for the OS-independent 
3651 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3652 debug version of the code includes the debug output trace mechanism and 
3653 has a much larger code and data size.
3654
3655   Current Release:
3656     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3657     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3658   Previous Release:
3659     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3660     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3661
3662
3663 2) iASL Compiler/Disassembler and Tools:
3664
3665 Disassembler: Improved pathname support for emitted External() 
3666 statements. This change adds full pathname support for external names 
3667 that have been resolved internally by the inclusion of additional ACPI 
3668 tables (via the iASL -e option). Without this change, the disassembler 
3669 can emit multiple externals for the same object, or it become confused 
3670 when the Scope() operator is used on an external object. Overall, greatly 
3671 improves the ability to actually recompile the emitted ASL code when 
3672 objects a referenced across multiple ACPI tables. Reported by Michael 
3673 Tsirkin (mst@redhat.com).
3674
3675 Tests/ASLTS: Updated functional control suite to execute with no errors. 
3676 David Box. Fixed several errors related to the testing of the interpreter 
3677 slack mode. Lv Zheng.
3678
3679 iASL: Added support to detect names that are declared within a control 
3680 method, but are unused (these are temporary names that are only valid 
3681 during the time the method is executing). A remark is issued for these 
3682 cases. ACPICA BZ 1022.
3683
3684 iASL: Added full support for the DBG2 table. Adds full disassembler, 
3685 table compiler, and template generator support for the DBG2 table (Debug 
3686 Port 2 table).
3687
3688 iASL: Added full support for the PCCT table, update the table definition. 
3689 Updates the PCCT table definition in the actbl3.h header and adds table 
3690 compiler and template generator support.
3691
3692 iASL: Added an option to emit only error messages (no warnings/remarks). 
3693 The -ve option will enable only error messages, warnings and remarks are 
3694 suppressed. This can simplify debugging when only the errors are 
3695 important, such as when an ACPI table is disassembled and there are many 
3696 warnings and remarks -- but only the actual errors are of real interest.
3697
3698 Example ACPICA code (source/tools/examples): Updated the example code so 
3699 that it builds to an actual working program, not just example code. Added 
3700 ACPI tables and execution of an example control method in the DSDT. Added 
3701 makefile support for Unix generation.
3702
3703
3704 ----------------------------------------
3705 15 November 2013. Summary of changes for version 20131115:
3706
3707 This release is available at https://acpica.org/downloads
3708
3709
3710 1) ACPICA kernel-resident subsystem:
3711
3712 Resource Manager: Fixed loop termination for the "get AML length" 
3713 function. The loop previously had an error termination on a NULL resource 
3714 pointer, which can never happen since the loop simply increments a valid 
3715 resource pointer. This fix changes the loop to terminate with an error on 
3716 an invalid end-of-buffer condition. The problem can be seen as an 
3717 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
3718 corrupted resource descriptor, or a resource descriptor that is missing 
3719 an END_TAG descriptor. Reported by Dan Carpenter 
3720 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
3721
3722 Table unload and ACPICA termination: Delete all attached data objects 
3723 during namespace node deletion. This fix updates namespace node deletion 
3724 to delete the entire list of attached objects (attached via 
3725 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
3726 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
3727
3728 ACPICA termination: Added support to delete all objects attached to the 
3729 root namespace node. This fix deletes any and all objects that have been 
3730 attached to the root node via AcpiAttachData. Previously, none of these 
3731 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
3732
3733 Debug output: Do not emit the function nesting level for the in-kernel 
3734 build. The nesting level is really only useful during a single-thread 
3735 execution. Therefore, only enable this output for the AcpiExec utility. 
3736 Also, only emit the thread ID when executing under AcpiExec (Context 
3737 switches are still always detected and a message is emitted). ACPICA BZ 
3738 972.
3739
3740 Example Code and Data Size: These are the sizes for the OS-independent 
3741 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3742 debug version of the code includes the debug output trace mechanism and 
3743 has a much larger code and data size.
3744
3745   Current Release:
3746     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3747     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3748   Previous Release:
3749     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3750     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3751
3752
3753 2) iASL Compiler/Disassembler and Tools:
3754
3755 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
3756 correct portable POSIX header for terminal control functions.
3757
3758 Disassembler: Fixed control method invocation issues related to the use 
3759 of the CondRefOf() operator. The problem is seen in the disassembly where 
3760 control method invocations may not be disassembled properly if the 
3761 control method name has been used previously as an argument to CondRefOf. 
3762 The solution is to not attempt to emit an external declaration for the 
3763 CondRefOf target (it is not necessary in the first place). This prevents 
3764 disassembler object type confusion. ACPICA BZ 988.
3765
3766 Unix Makefiles: Added an option to disable compiler optimizations and the 
3767 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
3768 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
3769 command line option for make (NOOPT) that disables all compiler 
3770 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
3771 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
3772 1034. Lv Zheng, Bob Moore.
3773
3774 Tests/ASLTS: Added options to specify individual test cases and modes. 
3775 This allows testers running aslts.sh to optionally specify individual 
3776 test modes and test cases. Also added an option to disable the forced 
3777 generation of the ACPICA tools from source if desired. Lv Zheng.
3778
3779 ----------------------------------------
3780 27 September 2013. Summary of changes for version 20130927:
3781
3782 This release is available at https://acpica.org/downloads
3783
3784
3785 1) ACPICA kernel-resident subsystem:
3786
3787 Fixed a problem with store operations to reference objects. This change 
3788 fixes a problem where a Store operation to an ArgX object that contained 
3789
3790 reference to a field object did not complete the automatic dereference 
3791 and 
3792 then write to the actual field object. Instead, the object type of the 
3793 field object was inadvertently changed to match the type of the source 
3794 operand. The new behavior will actually write to the field object (buffer 
3795 field or field unit), thus matching the correct ACPI-defined behavior.
3796
3797 Implemented support to allow the host to redefine individual OSL 
3798 prototypes. This change enables the host to redefine OSL prototypes found 
3799 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
3800 with a macro or inlined function. Further, it allows the host to add any 
3801 additional required modifiers such as __iomem, __init, __exit, etc., as 
3802 necessary on a per-interface basis. Enables maximum flexibility for the 
3803 OSL interfaces. Lv Zheng.
3804
3805 Hardcoded the access width for the FADT-defined reset register. The ACPI 
3806 specification requires the reset register width to be 8 bits. ACPICA now 
3807 hardcodes the width to 8 and ignores the FADT width value. This provides 
3808 compatibility with other ACPI implementations that have allowed BIOS code 
3809 with bad register width values to go unnoticed. Matthew Garett, Bob 
3810 Moore, 
3811 Lv Zheng.
3812
3813 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
3814 used 
3815 in the OSL header (acpiosxf). The change modifies the position of this 
3816 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
3817 build issues if the OSL defines the implementation of the interface to be 
3818 an inline stub function. Lv Zheng.
3819
3820 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
3821 initialization interfaces. This change adds a new macro for the main init 
3822 and terminate external interfaces in order to support hosts that require 
3823 additional or different processing for these functions. Changed from 
3824 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
3825 Zheng, Bob Moore.
3826
3827 Cleaned up the memory allocation macros for configurability. In the 
3828 common 
3829 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
3830 respective AcpiOs* OSL interfaces. Two options:
3831 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
3832 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
3833 2) For AcpiExec (and for debugging), the macros can optionally be 
3834 resolved 
3835 to the local ACPICA interfaces that track each allocation (local tracking 
3836 is used to immediately detect memory leaks).
3837 Lv Zheng.
3838
3839 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
3840 to predefine this macro to either TRUE or FALSE during the system build.
3841
3842 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
3843
3844 Example Code and Data Size: These are the sizes for the OS-independent 
3845 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3846 debug version of the code includes the debug output trace mechanism and 
3847 has a much larger code and data size.
3848
3849   Current Release:
3850     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3851     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3852   Previous Release:
3853     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3854     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3855
3856
3857 2) iASL Compiler/Disassembler and Tools:
3858
3859 iASL: Implemented wildcard support for the -e option. This simplifies use 
3860 when there are many SSDTs that must be included to resolve external 
3861 method 
3862 declarations. ACPICA BZ 1041. Example:
3863     iasl -e ssdt*.dat -d dsdt.dat
3864
3865 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
3866 adds a portable module that implements full history and limited line 
3867 editing for Unix and Linux systems. It does not use readline() due to 
3868 portability issues. Instead it uses the POSIX termio interface to put the 
3869 terminal in raw input mode so that the various special keys can be 
3870 trapped 
3871 (such as up/down-arrow for history support and left/right-arrow for line 
3872 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
3873
3874 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
3875 one or more spaces. This provides compatible with early or different 
3876 versions of the AcpiDump utility. ACPICA BZ 1044.
3877
3878 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
3879 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
3880 no other data. This change adds support to dump these tables. Any tables 
3881 shorter than the length of an ACPI table header remain in error (an error 
3882 message is emitted). Reported by Yi Li.
3883
3884 Debugger: Echo actual command along with the "unknown command" message.
3885
3886 ----------------------------------------
3887 23 August 2013. Summary of changes for version 20130823:
3888
3889 1) ACPICA kernel-resident subsystem:
3890
3891 Implemented support for host-installed System Control Interrupt (SCI) 
3892 handlers. Certain ACPI functionality requires the host to handle raw 
3893 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
3894 state support requires the host device driver to handle SCIs to examine 
3895 if the doorbell has been activated. Multiple SCI handlers can be 
3896 installed to allow for future expansion. New external interfaces are 
3897 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
3898 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
3899
3900 Operation region support: Never locally free the handler "context" 
3901 pointer. This change removes some dangerous code that attempts to free 
3902 the handler context pointer in some (rare) circumstances. The owner of 
3903 the handler owns this pointer and the ACPICA code should never touch it. 
3904 Although not seen to be an issue in any kernel, it did show up as a 
3905 problem (fault) under AcpiExec. Also, set the internal storage field for 
3906 the context pointer to zero when the region is deactivated, simply for 
3907 sanity. David Box. ACPICA BZ 1039.
3908
3909 AcpiRead: On error, do not modify the return value target location. If an 
3910 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
3911 modify the target of the return value pointer. Makes the code consistent 
3912 with the rest of ACPICA. Bjorn Helgaas.
3913
3914 Example Code and Data Size: These are the sizes for the OS-independent 
3915 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3916 debug version of the code includes the debug output trace mechanism and 
3917 has a much larger code and data size.
3918
3919   Current Release:
3920     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3921     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3922   Previous Release:
3923     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3924     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
3925
3926
3927 2) iASL Compiler/Disassembler and Tools:
3928
3929 AcpiDump: Implemented several new features and fixed some problems:
3930 1) Added support to dump the RSDP, RSDT, and XSDT tables.
3931 2) Added support for multiple table instances (SSDT, UEFI).
3932 3) Added option to dump "customized" (overridden) tables (-c).
3933 4) Fixed a problem where some table filenames were improperly 
3934 constructed.
3935 5) Improved some error messages, removed some unnecessary messages.
3936
3937 iASL: Implemented additional support for disassembly of ACPI tables that 
3938 contain invocations of external control methods. The -fe<file> option 
3939 allows the import of a file that specifies the external methods along 
3940 with the required number of arguments for each -- allowing for the 
3941 correct disassembly of the table. This is a workaround for a limitation 
3942 of AML code where the disassembler often cannot determine the number of 
3943 arguments required for an external control method and generates incorrect 
3944 ASL code. See the iASL reference for details. ACPICA BZ 1030.
3945
3946 Debugger: Implemented a new command (paths) that displays the full 
3947 pathnames (namepaths) and object types of all objects in the namespace. 
3948 This is an alternative to the namespace command.
3949
3950 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
3951 mechanism and any installed handlers.
3952
3953 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
3954 This can occur if there are too many parent prefixes in a namepath (for 
3955 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3956
3957 Application OSLs: Set the return value for the PCI read functions. These 
3958 functions simply return AE_OK, but should set the return value to zero 
3959 also. This change implements this. ACPICA BZ 1038.
3960
3961 Debugger: Prevent possible command line buffer overflow. Increase the 
3962 size of a couple of the debugger line buffers, and ensure that overflow 
3963 cannot happen. ACPICA BZ 1037.
3964
3965 iASL: Changed to abort immediately on serious errors during the parsing 
3966 phase. Due to the nature of ASL, there is no point in attempting to 
3967 compile these types of errors, and they typically end up causing a 
3968 cascade of hundreds of errors which obscure the original problem.
3969
3970 ----------------------------------------
3971 25 July 2013. Summary of changes for version 20130725:
3972
3973 1) ACPICA kernel-resident subsystem:
3974
3975 Fixed a problem with the DerefOf operator where references to FieldUnits 
3976 and BufferFields incorrectly returned the parent object, not the actual 
3977 value of the object. After this change, a dereference of a FieldUnit 
3978 reference results in a read operation on the field to get the value, and 
3979 likewise, the appropriate BufferField value is extracted from the target 
3980 buffer.
3981
3982 Fixed a problem where the _WAK method could cause a fault under these 
3983 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
3984 method returned no value. The problem is rarely seen because most kernels 
3985 run ACPICA in slack mode.
3986
3987 For the DerefOf operator, a fatal error now results if an attempt is made 
3988 to dereference a reference (created by the Index operator) to a NULL 
3989 package element. Provides compatibility with other ACPI implementations, 
3990 and this behavior will be added to a future version of the ACPI 
3991 specification.
3992
3993 The ACPI Power Management Timer (defined in the FADT) is now optional. 
3994 This provides compatibility with other ACPI implementations and will 
3995 appear in the next version of the ACPI specification. If there is no PM 
3996 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
3997 zero in the FADT indicates no PM timer.
3998
3999 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
4000 allows the host to globally enable/disable all vendor strings, all 
4001 feature strings, or both. Intended to be primarily used for debugging 
4002 purposes only. Lv Zheng.
4003
4004 Expose the collected _OSI data to the host via a global variable. This 
4005 data tracks the highest level vendor ID that has been invoked by the BIOS 
4006 so that the host (and potentially ACPICA itself) can change behaviors 
4007 based upon the age of the BIOS.
4008
4009 Example Code and Data Size: These are the sizes for the OS-independent 
4010 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4011 debug version of the code includes the debug output trace mechanism and 
4012 has a much larger code and data size.
4013
4014   Current Release:
4015     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
4016     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
4017   Previous Release:
4018     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
4019     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
4020
4021
4022 2) iASL Compiler/Disassembler and Tools:
4023
4024 iASL: Created the following enhancements for the -so option (create 
4025 offset table):
4026 1)Add offsets for the last nameseg in each namepath for every supported 
4027 object type
4028 2)Add support for Processor, Device, Thermal Zone, and Scope objects
4029 3)Add the actual AML opcode for the parent object of every supported 
4030 object type
4031 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
4032
4033 Disassembler: Emit all unresolved external symbols in a single block. 
4034 These are external references to control methods that could not be 
4035 resolved, and thus, the disassembler had to make a guess at the number of 
4036 arguments to parse.
4037
4038 iASL: The argument to the -T option (create table template) is now 
4039 optional. If not specified, the default table is a DSDT, typically the 
4040 most common case.
4041
4042 ----------------------------------------
4043 26 June 2013. Summary of changes for version 20130626:
4044
4045 1) ACPICA kernel-resident subsystem:
4046
4047 Fixed an issue with runtime repair of the _CST object. Null or invalid 
4048 elements were not always removed properly. Lv Zheng. 
4049
4050 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
4051 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
4052 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
4053 makes the system-wide number of GPEs essentially unlimited.
4054
4055 Example Code and Data Size: These are the sizes for the OS-independent 
4056 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4057 debug version of the code includes the debug output trace mechanism and 
4058 has a much larger code and data size.
4059
4060   Current Release:
4061     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
4062     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
4063   Previous Release:
4064     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
4065     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
4066
4067
4068 2) iASL Compiler/Disassembler and Tools:
4069
4070 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
4071 hosts. Now supports Linux, FreeBSD, and Windows.
4072
4073 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
4074 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
4075
4076 iASL/Preprocessor: Implemented full support for nested 
4077 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
4078
4079 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
4080 max. The original purpose of this constraint was to limit the amount of 
4081 debug output. However, the string function in question (UtPrintString) is 
4082 now used for the disassembler also, where 256 bytes is insufficient. 
4083 Reported by RehabMan@GitHub.
4084
4085 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
4086 tables. ACPICA BZ 999. Lv Zheng.
4087
4088 iASL: Fixed a couple of error exit issues that could result in a "Could 
4089 not delete <file>" message during ASL compilation.
4090
4091 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
4092 the actual signatures for these tables are "FACP" and "APIC", 
4093 respectively.
4094
4095 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
4096 tables are allowed to have multiple instances.
4097
4098 ----------------------------------------
4099 17 May 2013. Summary of changes for version 20130517:
4100
4101 1) ACPICA kernel-resident subsystem:
4102
4103 Fixed a regression introduced in version 20130328 for _INI methods. This 
4104 change fixes a problem introduced in 20130328 where _INI methods are no 
4105 longer executed properly because of a memory block that was not 
4106 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
4107 <tomasz.nowicki@linaro.org>.
4108
4109 Fixed a possible problem with the new extended sleep registers in the 
4110 ACPI 
4111 5.0 FADT. Do not use these registers (even if populated) unless the HW-
4112 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
4113 1020. Lv Zheng.
4114
4115 Implemented return value repair code for _CST predefined objects: Sort 
4116 the 
4117 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
4118
4119 Implemented a debug-only option to disable loading of SSDTs from the 
4120 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
4121 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
4122 acglobal.h - ACPICA BZ 1005. Lv Zheng.
4123
4124 Fixed some issues in the ACPICA initialization and termination code: 
4125 Tomasz Nowicki <tomasz.nowicki@linaro.org>
4126 1) Clear events initialized flag upon event component termination. ACPICA 
4127 BZ 1013.
4128 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
4129 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
4130 4) Clear debug buffer global on termination to prevent possible multiple 
4131 delete. ACPICA BZ 1010.
4132
4133 Standardized all switch() blocks across the entire source base. After 
4134 many 
4135 years, different formatting for switch() had crept in. This change makes 
4136 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
4137
4138 Split some files to enhance ACPICA modularity and configurability:
4139 1) Split buffer dump routines into utilities/utbuffer.c
4140 2) Split internal error message routines into utilities/uterror.c
4141 3) Split table print utilities into tables/tbprint.c
4142 4) Split iASL command-line option processing into asloptions.c
4143
4144 Makefile enhancements:
4145 1) Support for all new files above.
4146 2) Abort make on errors from any subcomponent. Chao Guan.
4147 3) Add build support for Apple Mac OS X. Liang Qi.
4148
4149 Example Code and Data Size: These are the sizes for the OS-independent 
4150 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4151 debug version of the code includes the debug output trace mechanism and 
4152 has a much larger code and data size.
4153
4154   Current Release:
4155     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
4156     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
4157   Previous Release:
4158     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4159     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4160
4161
4162 2) iASL Compiler/Disassembler and Tools:
4163
4164 New utility: Implemented an easily portable version of the acpidump 
4165 utility to extract ACPI tables from the system (or a file) in an ASCII 
4166 hex 
4167 dump format. The top-level code implements the various command line 
4168 options, file I/O, and table dump routines. To port to a new host, only 
4169 three functions need to be implemented to get tables -- since this 
4170 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
4171 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
4172 1) The Windows version obtains the ACPI tables from the Registry.
4173 2) The Linux version is under development.
4174 3) Other hosts - If an OS-dependent module is submitted, it will be 
4175 distributed with ACPICA.
4176
4177 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
4178 restructuring/change to the initialization sequence caused this option to 
4179 no longer work properly.
4180
4181 iASL: Implemented a mechanism to disable specific warnings and remarks. 
4182 Adds a new command line option, "-vw <messageid> as well as "#pragma 
4183 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
4184
4185 iASL: Fix for too-strict package object validation. The package object 
4186 validation for return values from the predefined names is a bit too 
4187 strict, it does not allow names references within the package (which will 
4188 be resolved at runtime.) These types of references cannot be validated at 
4189 compile time. This change ignores named references within package objects 
4190 for names that return or define static packages.
4191
4192 Debugger: Fixed the 80-character command line limitation for the History 
4193 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
4194
4195 iASL: Added control method and package support for the -so option 
4196 (generates AML offset table for BIOS support.)
4197
4198 iASL: issue a remark if a non-serialized method creates named objects. If 
4199 a thread blocks within the method for any reason, and another thread 
4200 enters the method, the method will fail because an attempt will be made 
4201 to 
4202 create the same (named) object twice. In this case, issue a remark that 
4203 the method should be marked serialized. NOTE: may become a warning later. 
4204 ACPICA BZ 909.
4205
4206 ----------------------------------------
4207 18 April 2013. Summary of changes for version 20130418:
4208
4209 1) ACPICA kernel-resident subsystem:
4210
4211 Fixed a possible buffer overrun during some rare but specific field unit 
4212 read operations. This overrun can only happen if the DSDT version is 1 -- 
4213 meaning that all AML integers are 32 bits -- and the field length is 
4214 between 33 and 55 bits long. During the read, an internal buffer object 
4215 is 
4216 created for the field unit because the field is larger than an integer 
4217 (32 
4218 bits). However, in this case, the buffer will be incorrectly written 
4219 beyond the end because the buffer length is less than the internal 
4220 minimum 
4221 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
4222 long, but a full 8 bytes will be written.
4223
4224 Updated the Embedded Controller "orphan" _REG method support. This refers 
4225 to _REG methods under the EC device that have no corresponding operation 
4226 region. This is allowed by the ACPI specification. This update removes a 
4227 dependency on the existence an ECDT table. It will execute an orphan _REG 
4228 method as long as the operation region handler for the EC is installed at 
4229 the EC device node and not the namespace root. Rui Zhang (original 
4230 update), Bob Moore (update/integrate).
4231
4232 Implemented run-time argument typechecking for all predefined ACPI names 
4233 (_STA, _BIF, etc.) This change performs object typechecking on all 
4234 incoming arguments for all predefined names executed via 
4235 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
4236 passing correct object types as well as the correct number of arguments 
4237 (therefore identifying any issues immediately). Also, the ASL/namespace 
4238 definition of the predefined name is checked against the ACPI 
4239 specification for the proper argument count. Adds one new file, 
4240 nsarguments.c
4241
4242 Changed an exception code for the ASL UnLoad() operator. Changed the 
4243 exception code for the case where the input DdbHandle is invalid, from 
4244 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
4245
4246 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
4247 global makefile. The use of this flag causes compiler errors on earlier 
4248 versions of GCC, so it has been removed for compatibility.
4249
4250 Miscellaneous cleanup:
4251 1) Removed some unused/obsolete macros
4252 2) Fixed a possible memory leak in the _OSI support
4253 3) Removed an unused variable in the predefined name support
4254 4) Windows OSL: remove obsolete reference to a memory list field
4255
4256 Example Code and Data Size: These are the sizes for the OS-independent 
4257 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4258 debug version of the code includes the debug output trace mechanism and 
4259 has a much larger code and data size.
4260
4261   Current Release:
4262     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4263     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4264   Previous Release:
4265     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4266     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4267
4268
4269 2) iASL Compiler/Disassembler and Tools:
4270
4271 AcpiExec: Added installation of a handler for the SystemCMOS address 
4272 space. This prevents control method abort if a method accesses this 
4273 space.
4274
4275 AcpiExec: Added support for multiple EC devices, and now install EC 
4276 operation region handler(s) at the actual EC device instead of the 
4277 namespace root. This reflects the typical behavior of host operating 
4278 systems.
4279
4280 AcpiExec: Updated to ensure that all operation region handlers are 
4281 installed before the _REG methods are executed. This prevents a _REG 
4282 method from aborting if it accesses an address space has no handler. 
4283 AcpiExec installs a handler for every possible address space.
4284
4285 Debugger: Enhanced the "handlers" command to display non-root handlers. 
4286 This change enhances the handlers command to display handlers associated 
4287 with individual devices throughout the namespace, in addition to the 
4288 currently supported display of handlers associated with the root 
4289 namespace 
4290 node.
4291
4292 ASL Test Suite: Several test suite errors have been identified and 
4293 resolved, reducing the total error count during execution. Chao Guan.
4294
4295 ----------------------------------------
4296 28 March 2013. Summary of changes for version 20130328:
4297
4298 1) ACPICA kernel-resident subsystem:
4299
4300 Fixed several possible race conditions with the internal object reference 
4301 counting mechanism. Some of the external ACPICA interfaces update object 
4302 reference counts without holding the interpreter or namespace lock. This 
4303 change adds a spinlock to protect reference count updates on the internal 
4304 ACPICA objects. Reported by and with assistance from Andriy Gapon 
4305 (avg@FreeBSD.org).
4306
4307 FADT support: Removed an extraneous warning for very large GPE register 
4308 sets. This change removes a size mismatch warning if the legacy length 
4309 field for a GPE register set is larger than the 64-bit GAS structure can 
4310 accommodate. GPE register sets can be larger than the 255-bit width 
4311 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
4312
4313 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
4314 return from this interface. Handles a possible timeout case if 
4315 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
4316 "forever". Jung-uk Kim.
4317
4318 Predefined name support: Add allowed/required argument type information 
4319 to 
4320 the master predefined info table. This change adds the infrastructure to 
4321 enable typechecking on incoming arguments for all predefined 
4322 methods/objects. It does not actually contain the code that will fully 
4323 utilize this information, this is still under development. Also condenses 
4324 some duplicate code for the predefined names into a new module, 
4325 utilities/utpredef.c
4326
4327 Example Code and Data Size: These are the sizes for the OS-independent 
4328 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4329 debug version of the code includes the debug output trace mechanism and 
4330 has a much larger code and data size.
4331
4332   Previous Release:
4333     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4334     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4335   Current Release:
4336     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4337     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4338
4339
4340 2) iASL Compiler/Disassembler and Tools:
4341
4342 iASL: Implemented a new option to simplify the development of ACPI-
4343 related 
4344 BIOS code. Adds support for a new "offset table" output file. The -so 
4345 option will create a C table containing the AML table offsets of various 
4346 named objects in the namespace so that BIOS code can modify them easily 
4347 at 
4348 boot time. This can simplify BIOS runtime code by eliminating expensive 
4349 searches for "magic values", enhancing boot times and adding greater 
4350 reliability. With assistance from Lee Hamel.
4351
4352 iASL: Allow additional predefined names to return zero-length packages. 
4353 Now, all predefined names that are defined by the ACPI specification to 
4354 return a "variable-length package of packages" are allowed to return a 
4355 zero length top-level package. This allows the BIOS to tell the host that 
4356 the requested feature is not supported, and supports existing BIOS/ASL 
4357 code and practices.
4358
4359 iASL: Changed the "result not used" warning to an error. This is the case 
4360 where an ASL operator is effectively a NOOP because the result of the 
4361 operation is not stored anywhere. For example:
4362     Add (4, Local0)
4363 There is no target (missing 3rd argument), nor is the function return 
4364 value used. This is potentially a very serious problem -- since the code 
4365 was probably intended to do something, but for whatever reason, the value 
4366 was not stored. Therefore, this issue has been upgraded from a warning to 
4367 an error.
4368
4369 AcpiHelp: Added allowable/required argument types to the predefined names 
4370 info display. This feature utilizes the recent update to the predefined 
4371 names table (above).
4372
4373 ----------------------------------------
4374 14 February 2013. Summary of changes for version 20130214:
4375
4376 1) ACPICA Kernel-resident Subsystem:
4377
4378 Fixed a possible regression on some hosts: Reinstated the safe return 
4379 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
4380 evaluated only once. Although these macros are not needed for the ACPICA 
4381 code itself, they are often used by ACPI-related host device drivers 
4382 where 
4383 the safe feature may be necessary.
4384
4385 Fixed several issues related to the ACPI 5.0 reduced hardware support 
4386 (SOC): Now ensure that if the platform declares itself as hardware-
4387 reduced 
4388 via the FADT, the following functions become NOOPs (and always return 
4389 AE_OK) because ACPI is always enabled by definition on these machines:
4390   AcpiEnable
4391   AcpiDisable
4392   AcpiHwGetMode
4393   AcpiHwSetMode
4394
4395 Dynamic Object Repair: Implemented additional runtime repairs for 
4396 predefined name return values. Both of these repairs can simplify code in 
4397 the related device drivers that invoke these methods:
4398 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
4399 string to a Unicode buffer. 
4400 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
4401
4402 lone end tag descriptor in the following cases: A Return(0) was executed, 
4403 a null buffer was returned, or no object at all was returned (non-slack 
4404 mode only). Adds a new file, nsconvert.c
4405 ACPICA BZ 998. Bob Moore, Lv Zheng.
4406
4407 Resource Manager: Added additional code to prevent possible infinite 
4408 loops 
4409 while traversing corrupted or ill-formed resource template buffers. Check 
4410 for zero-length resource descriptors in all code that loops through 
4411 resource templates (the length field is used to index through the 
4412 template). This change also hardens the external AcpiWalkResources and 
4413 AcpiWalkResourceBuffer interfaces.
4414
4415 Local Cache Manager: Enhanced the main data structure to eliminate an 
4416 unnecessary mechanism to access the next object in the list. Actually 
4417 provides a small performance enhancement for hosts that use the local 
4418 ACPICA cache manager. Jung-uk Kim.
4419
4420 Example Code and Data Size: These are the sizes for the OS-independent 
4421 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4422 debug version of the code includes the debug output trace mechanism and 
4423 has a much larger code and data size.
4424
4425   Previous Release:
4426     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4427     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4428   Current Release:
4429     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4430     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4431
4432
4433 2) iASL Compiler/Disassembler and Tools:
4434
4435 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
4436 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
4437 that were made to the ACPI 5.0 specification.
4438
4439 iASL/Disassembler: Added full support for the following new ACPI tables:
4440   1) The MTMR table (MID Timer Table)
4441   2) The VRTC table (Virtual Real Time Clock Table).
4442 Includes header file, disassembler, table compiler, and template support 
4443 for both tables.
4444
4445 iASL: Implemented compile-time validation of package objects returned by 
4446 predefined names. This new feature validates static package objects 
4447 returned by the various predefined names defined to return packages. Both 
4448 object types and package lengths are validated, for both parent packages 
4449 and sub-packages, if any. The code is similar in structure and behavior 
4450 to 
4451 the runtime repair mechanism within the AML interpreter and uses the 
4452 existing predefined name information table. Adds a new file, aslprepkg.c. 
4453 ACPICA BZ 938.
4454
4455 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
4456 This feature detects a binary file with a valid ACPI table header and 
4457 invokes the disassembler automatically. Eliminates the need to 
4458 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
4459
4460 iASL/Disassembler: Added several warnings for the case where there are 
4461 unresolved control methods during the disassembly. This can potentially 
4462 cause errors when the output file is compiled, because the disassembler 
4463 assumes zero method arguments in these cases (it cannot determine the 
4464 actual number of arguments without resolution/definition of the method).
4465
4466 Debugger: Added support to display all resources with a single command. 
4467 Invocation of the resources command with no arguments will now display 
4468 all 
4469 resources within the current namespace.
4470
4471 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
4472 via the -e option.
4473
4474 ----------------------------------------
4475 17 January 2013. Summary of changes for version 20130117:
4476
4477 1) ACPICA Kernel-resident Subsystem:
4478
4479 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
4480 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
4481 objects to return a package containing one integer, most BIOS code 
4482 returns 
4483 two integers and the previous code reflects that. However, we also need 
4484 to 
4485 support BIOS code that actually implements to the ACPI spec, and this 
4486 change reflects this.
4487
4488 Fixed two issues with the ACPI_DEBUG_PRINT macros:
4489 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
4490 C compilers that require this support.
4491 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
4492 ACPI_DEBUG is already used by many of the various hosts.
4493
4494 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
4495 copyright to all module headers and signons, including the standard Linux 
4496 header. This affects virtually every file in the ACPICA core subsystem, 
4497 iASL compiler, all ACPICA utilities, and the test suites.
4498
4499 Example Code and Data Size: These are the sizes for the OS-independent 
4500 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4501 debug version of the code includes the debug output trace mechanism and 
4502 has a much larger code and data size.
4503
4504   Previous Release:
4505     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4506     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4507   Current Release:
4508     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4509     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4510
4511
4512 2) iASL Compiler/Disassembler and Tools:
4513
4514 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
4515 prevent a possible fault on some hosts. Some C libraries modify the arg 
4516 pointer parameter to vfprintf making it difficult to call it twice in the 
4517 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
4518 does not affect the Windows OSL since the Win C library does not modify 
4519 the arg pointer. Chao Guan, Bob Moore.
4520
4521 iASL: Fixed a possible infinite loop when the maximum error count is 
4522 reached. If an output file other than the .AML file is specified (such as 
4523 a listing file), and the maximum number of errors is reached, do not 
4524 attempt to flush data to the output file(s) as the compiler is aborting. 
4525 This can cause an infinite loop as the max error count code essentially 
4526 keeps calling itself.
4527
4528 iASL/Disassembler: Added an option (-in) to ignore NOOP 
4529 opcodes/operators. 
4530 Implemented for both the compiler and the disassembler. Often, the NOOP 
4531 opcode is used as padding for packages that are changed dynamically by 
4532 the 
4533 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
4534 errors. This option causes the disassembler to ignore all NOOP opcodes 
4535 (0xA3), and it also causes the compiler to ignore all ASL source code 
4536 NOOP 
4537 statements as well.
4538
4539 Debugger: Enhanced the Sleep command to execute all sleep states. This 
4540 change allows Sleep to be invoked with no arguments and causes the 
4541 debugger to execute all of the sleep states, 0-5, automatically.
4542
4543 ----------------------------------------
4544 20 December 2012. Summary of changes for version 20121220:
4545
4546 1) ACPICA Kernel-resident Subsystem:
4547
4548 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
4549 alternate entry point for AcpiWalkResources and improves the usability of 
4550 the resource manager by accepting as input a buffer containing the output 
4551 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
4552 input buffer is not deleted by this interface so that it can be used by 
4553 the host later. See the ACPICA reference for details.
4554
4555 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
4556 (DSDT version < 2). The constant will be truncated and this warning 
4557 reflects that behavior.
4558
4559 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
4560 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
4561 both get and set the new wake bit in these descriptors, separately from 
4562 the existing share bit. Reported by Aaron Lu.
4563
4564 Interpreter: Fix Store() when an implicit conversion is not possible. For 
4565 example, in the cases such as a store of a string to an existing package 
4566 object, implement the store as a CopyObject(). This is a small departure 
4567 from the ACPI specification which states that the control method should 
4568 be 
4569 aborted in this case. However, the ASLTS suite depends on this behavior.
4570
4571 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
4572 macros: check if debug output is currently enabled as soon as possible to 
4573 minimize performance impact if debug is in fact not enabled.
4574
4575 Source code restructuring: Cleanup to improve modularity. The following 
4576 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
4577 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
4578 Associated makefiles and project files have been updated.
4579
4580 Changed an exception code for LoadTable operator. For the case where one 
4581 of the input strings is too long, change the returned exception code from 
4582 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
4583
4584 Fixed a possible memory leak in dispatcher error path. On error, delete 
4585 the mutex object created during method mutex creation. Reported by 
4586 tim.gardner@canonical.com.
4587
4588 Example Code and Data Size: These are the sizes for the OS-independent 
4589 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4590 debug version of the code includes the debug output trace mechanism and 
4591 has a much larger code and data size.
4592
4593   Previous Release:
4594     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4595     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4596   Current Release:
4597     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4598     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4599
4600
4601 2) iASL Compiler/Disassembler and Tools:
4602
4603 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
4604 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
4605 will not allow the interpreter to differentiate between a method and a 
4606 method invocation when these are used as an argument to the ObjectType 
4607 operator. The ACPI specification change is to disallow a method 
4608 invocation 
4609 (UserTerm) for the ObjectType operator.
4610
4611 Finish support for the TPM2 and CSRT tables in the headers, table 
4612 compiler, and disassembler.
4613
4614 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
4615 always expires immediately if the semaphore is not available. The 
4616 original 
4617 code was using a relative-time timeout, but sem_timedwait requires the 
4618 use 
4619 of an absolute time.
4620
4621 iASL: Added a remark if the Timer() operator is used within a 32-bit 
4622 table. This operator returns a 64-bit time value that will be truncated 
4623 within a 32-bit table.
4624
4625 iASL Source code restructuring: Cleanup to improve modularity. The 
4626 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
4627 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
4628 been updated.
4629
4630
4631 ----------------------------------------
4632 14 November 2012. Summary of changes for version 20121114:
4633
4634 1) ACPICA Kernel-resident Subsystem:
4635
4636 Implemented a performance enhancement for ACPI/AML Package objects. This 
4637 change greatly increases the performance of Package objects within the 
4638 interpreter. It changes the processing of reference counts for packages 
4639 by 
4640 optimizing for the most common case where the package sub-objects are 
4641 either Integers, Strings, or Buffers. Increases the overall performance 
4642 of 
4643 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
4644 2X.) 
4645 Chao Guan. ACPICA BZ 943.
4646
4647 Implemented and deployed common macros to extract flag bits from resource 
4648 descriptors. Improves readability and maintainability of the code. Fixes 
4649
4650 problem with the UART serial bus descriptor for the number of data bits 
4651 flags (was incorrectly 2 bits, should be 3).
4652
4653 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
4654 of the macros and changed the SETx macros to the style of (destination, 
4655 source). Also added ACPI_CASTx companion macros. Lv Zheng.
4656
4657 Example Code and Data Size: These are the sizes for the OS-independent 
4658 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4659 debug version of the code includes the debug output trace mechanism and 
4660 has a much larger code and data size.
4661
4662   Previous Release:
4663     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4664     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4665   Current Release:
4666     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4667     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4668
4669
4670 2) iASL Compiler/Disassembler and Tools:
4671
4672 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
4673 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
4674 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
4675
4676 Disassembler: Fixed a problem with external declaration generation. Fixes 
4677 a problem where an incorrect pathname could be generated for an external 
4678 declaration if the original reference to the object includes leading 
4679 carats (^). ACPICA BZ 984.
4680
4681 Debugger: Completed a major update for the Disassemble<method> command. 
4682 This command was out-of-date and did not properly disassemble control 
4683 methods that had any reasonable complexity. This fix brings the command 
4684 up 
4685 to the same level as the rest of the disassembler. Adds one new file, 
4686 dmdeferred.c, which is existing code that is now common with the main 
4687 disassembler and the debugger disassemble command. ACPICA MZ 978.
4688
4689 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
4690 Newer versions of Bison emit this prototype, so moved the prototype out 
4691 of 
4692 the iASL header to where it is actually used in order to avoid a 
4693 duplicate 
4694 declaration.
4695
4696 iASL/Tools: Standardized use of the stream I/O functions:
4697   1) Ensure check for I/O error after every fopen/fread/fwrite
4698   2) Ensure proper order of size/count arguments for fread/fwrite
4699   3) Use test of (Actual != Requested) after all fwrite, and most fread
4700   4) Standardize I/O error messages
4701 Improves reliability and maintainability of the code. Bob Moore, Lv 
4702 Zheng. 
4703 ACPICA BZ 981.
4704
4705 Disassembler: Prevent duplicate External() statements. During generation 
4706 of external statements, detect similar pathnames that are actually 
4707 duplicates such as these:
4708   External (\ABCD)
4709   External (ABCD)
4710 Remove all leading '\' characters from pathnames during the external 
4711 statement generation so that duplicates will be detected and tossed. 
4712 ACPICA BZ 985.
4713
4714 Tools: Replace low-level I/O with stream I/O functions. Replace 
4715 open/read/write/close with the stream I/O equivalents 
4716 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
4717 Moore.
4718
4719 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
4720 name header so that AcpiXtract recognizes the output file/table.
4721
4722 iASL: Remove obsolete -2 option flag. Originally intended to force the 
4723 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
4724 and the entire concept is now obsolete.
4725
4726 ----------------------------------------
4727 18 October 2012. Summary of changes for version 20121018:
4728
4729
4730 1) ACPICA Kernel-resident Subsystem:
4731
4732 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
4733 introduced by late changes to the table as it was added to the ACPI 5.0 
4734 specification. Includes header, disassembler, and data table compiler 
4735 support as well as a new version of the MPST template.
4736
4737 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
4738 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
4739 methods: _HID, _CID, and _UID.
4740
4741 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
4742 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
4743 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
4744 names for their various drivers. Affects the AcpiGetObjectInfo external 
4745 interface, and other internal interfaces as well.
4746
4747 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
4748 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
4749 on machines that support non-aligned transfers. Optimizes for this case 
4750 rather than using a strncpy. With assistance from Zheng Lv.
4751
4752 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
4753 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
4754
4755 Added a new debug print message for AML mutex objects that are force-
4756 released. At control method termination, any currently acquired mutex 
4757 objects are force-released. Adds a new debug-only message for each one 
4758 that is released.
4759
4760 Audited/updated all ACPICA return macros and the function debug depth 
4761 counter: 1) Ensure that all functions that use the various TRACE macros 
4762 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
4763 return statements surround the return expression (value) with parens to 
4764 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
4765 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
4766
4767 Global source code changes/maintenance: All extra lines at the start and 
4768 end of each source file have been removed for consistency. Also, within 
4769 comments, all new sentences start with a single space instead of a double 
4770 space, again for consistency across the code base.
4771
4772 Example Code and Data Size: These are the sizes for the OS-independent 
4773 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4774 debug version of the code includes the debug output trace mechanism and 
4775 has a much larger code and data size.
4776
4777   Previous Release:
4778     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4779     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4780   Current Release:
4781     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4782     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4783
4784
4785 2) iASL Compiler/Disassembler and Tools:
4786
4787 AcpiExec: Improved the algorithm used for memory leak/corruption 
4788 detection. Added some intelligence to the code that maintains the global 
4789 list of allocated memory. The list is now ordered by allocated memory 
4790 address, significantly improving performance. When running AcpiExec on 
4791 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
4792 on the platform and/or the environment. Note, this performance 
4793 enhancement affects the AcpiExec utility only, not the kernel-resident 
4794 ACPICA code.
4795
4796 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
4797 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
4798 incorrect table offset reported for invalid opcodes. Report the original 
4799 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
4800
4801 Disassembler: Enhanced the -vt option to emit the binary table data in 
4802 hex format to assist with debugging.
4803
4804 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
4805 size of file structure. Colin Ian King.
4806
4807 ----------------------------------------
4808 13 September 2012. Summary of changes for version 20120913:
4809
4810
4811 1) ACPICA Kernel-resident Subsystem:
4812
4813 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
4814 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
4815 and 
4816 MCE(6).
4817  
4818 Table Manager: Merged/removed duplicate code in the root table resize 
4819 functions. One function is external, the other is internal. Lv Zheng, 
4820 ACPICA 
4821 BZ 846.
4822
4823 Makefiles: Completely removed the obsolete "Linux" makefiles under 
4824 acpica/generate/linux. These makefiles are obsolete and have been 
4825 replaced 
4826 by 
4827 the generic unix makefiles under acpica/generate/unix.
4828
4829 Makefiles: Ensure that binary files always copied properly. Minor rule 
4830 change 
4831 to ensure that the final binary output files are always copied up to the 
4832 appropriate binary directory (bin32 or bin64.)
4833
4834 Example Code and Data Size: These are the sizes for the OS-independent 
4835 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4836 debug 
4837 version of the code includes the debug output trace mechanism and has a 
4838 much 
4839 larger code and data size.
4840
4841   Previous Release:
4842     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4843     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4844   Current Release:
4845     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4846     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4847
4848
4849 2) iASL Compiler/Disassembler and Tools:
4850
4851 Disassembler: Fixed a possible fault during the disassembly of resource 
4852 descriptors when a second parse is required because of the invocation of 
4853 external control methods within the table. With assistance from 
4854 adq@lidskialf.net. ACPICA BZ 976.
4855
4856 iASL: Fixed a namepath optimization problem. An error can occur if the 
4857 parse 
4858 node that contains the namepath to be optimized does not have a parent 
4859 node 
4860 that is a named object. This change fixes the problem.
4861
4862 iASL: Fixed a regression where the AML file is not deleted on errors. The 
4863 AML 
4864 output file should be deleted if there are any errors during the 
4865 compiler. 
4866 The 
4867 only exception is if the -f (force output) option is used. ACPICA BZ 974.
4868
4869 iASL: Added a feature to automatically increase internal line buffer 
4870 sizes. 
4871 Via realloc(), automatically increase the internal line buffer sizes as 
4872 necessary to support very long source code lines. The current version of 
4873 the 
4874 preprocessor requires a buffer long enough to contain full source code 
4875 lines. 
4876 This change increases the line buffer(s) if the input lines go beyond the 
4877 current buffer size. This eliminates errors that occurred when a source 
4878 code 
4879 line was longer than the buffer.
4880
4881 iASL: Fixed a problem with constant folding in method declarations. The 
4882 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
4883 if a 
4884 Type3 opcode was used.
4885
4886 Debugger: Improved command help support. For incorrect argument count, 
4887 display 
4888 full help for the command. For help command itself, allow an argument to 
4889 specify a command.
4890
4891 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
4892 errors during execution of the suite. Guan Chao.
4893
4894 ----------------------------------------
4895 16 August 2012. Summary of changes for version 20120816:
4896
4897
4898 1) ACPICA Kernel-resident Subsystem:
4899
4900 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
4901 _GTS 
4902 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
4903 deprecated and will probably be removed from the ACPI specification. 
4904 Windows 
4905 does not invoke them, and reportedly never will. The final nail in the 
4906 coffin 
4907 is that the ACPI specification states that these methods must be run with 
4908 interrupts off, which is not going to happen in a kernel interpreter. 
4909 Note: 
4910 Linux has removed all use of the methods also. It was discovered that 
4911 invoking these functions caused failures on some machines, probably 
4912 because 
4913 they were never tested since Windows does not call them. Affects two 
4914 external 
4915 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
4916 ACPICA BZ 969.
4917
4918 Implemented support for complex bit-packed buffers returned from the _PLD 
4919 (Physical Location of Device) predefined method. Adds a new external 
4920 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
4921
4922 structure. Note: C Bitfields cannot be used for this type of predefined 
4923 structure since the memory layout of individual bitfields is not defined 
4924 by 
4925 the C language. In addition, there are endian concerns where a compiler 
4926 will 
4927 change the bitfield ordering based on the machine type. The new ACPICA 
4928 interface eliminates these issues, and should be called after _PLD is 
4929 executed. ACPICA BZ 954.
4930
4931 Implemented a change to allow a scope change to root (via "Scope (\)") 
4932 during 
4933 execution of module-level ASL code (code that is executed at table load 
4934 time.) Lin Ming.
4935
4936 Added the Windows8/Server2012 string for the _OSI method. This change 
4937 adds 
4938
4939 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
4940 2012.
4941
4942 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
4943 2) 
4944 and CSRT (Core System Resource Table).
4945
4946 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
4947 names. This simplifies access to the buffers returned by these predefined 
4948 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4949
4950 GPE support: Removed an extraneous parameter from the various low-level 
4951 internal GPE functions. Tang Feng.
4952
4953 Removed the linux makefiles from the unix packages. The generate/linux 
4954 makefiles are obsolete and have been removed from the unix tarball 
4955 release 
4956 packages. The replacement makefiles are under generate/unix, and there is 
4957
4958 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4959
4960 Updates for Unix makefiles:
4961 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
4962 2) Update linker flags (move to end of command line) for AcpiExec 
4963 utility. 
4964 Guan Chao.
4965
4966 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
4967 utxface.c to improve modularity and reduce file size.
4968
4969 Example Code and Data Size: These are the sizes for the OS-independent 
4970 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4971 debug version of the code includes the debug output trace mechanism and 
4972 has a 
4973 much larger code and data size.
4974
4975   Previous Release:
4976     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4977     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4978   Current Release:
4979     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4980     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4981
4982
4983 2) iASL Compiler/Disassembler and Tools:
4984
4985 iASL: Fixed a problem with constant folding for fixed-length constant 
4986 expressions. The constant-folding code was not being invoked for constant 
4987 expressions that allow the use of type 3/4/5 opcodes to generate 
4988 constants 
4989 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
4990 result 
4991 in the generation of invalid AML bytecode. ACPICA BZ 970.
4992
4993 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
4994 apparently automatically emit some of the necessary externals. This 
4995 change 
4996 handles these versions in order to eliminate generation warnings.
4997
4998 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
4999
5000 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
5001 appears 
5002 within comments in the output file.
5003
5004 Debugger: Fixed a regression with the "Threads" command where 
5005 AE_BAD_PARAMETER was always returned.
5006
5007 ----------------------------------------
5008 11 July 2012. Summary of changes for version 20120711:
5009
5010 1) ACPICA Kernel-resident Subsystem:
5011
5012 Fixed a possible fault in the return package object repair code. Fixes a 
5013 problem that can occur when a lone package object is wrapped with an 
5014 outer 
5015 package object in order to force conformance to the ACPI specification. 
5016 Can 
5017 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
5018 _DLM, 
5019 _CSD, _PSD, _TSD.
5020
5021 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
5022 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
5023 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
5024 state 
5025 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
5026 both 
5027 Intel and other vendors. (for Intel: ICH4-M and earlier)
5028
5029 This change removes the code to disable/enable bus master arbitration 
5030 during 
5031 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
5032 causes 
5033 resume problems on some machines. The change has been in use for over 
5034 seven 
5035 years within Linux.
5036
5037 Implemented two new external interfaces to support host-directed dynamic 
5038 ACPI 
5039 table load and unload. They are intended to simplify the host 
5040 implementation 
5041 of hot-plug support:
5042   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
5043   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
5044 table.
5045 See the ACPICA reference for additional details. Adds one new file, 
5046 components/tables/tbxfload.c
5047
5048 Implemented and deployed two new interfaces for errors and warnings that 
5049 are 
5050 known to be caused by BIOS/firmware issues:
5051   AcpiBiosError: Prints "ACPI Firmware Error" message.
5052   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
5053 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
5054 table 
5055 and FADT errors. Additional deployment to be completed as appropriate in 
5056 the 
5057 future. The associated conditional macros are ACPI_BIOS_ERROR and 
5058 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
5059 ACPICA 
5060 BZ 
5061 843.
5062
5063 Implicit notify support: ensure that no memory allocation occurs within a 
5064 critical region. This fix moves a memory allocation outside of the time 
5065 that a 
5066 spinlock is held. Fixes issues on systems that do not allow this 
5067 behavior. 
5068 Jung-uk Kim.
5069
5070 Split exception code utilities and tables into a new file, 
5071 utilities/utexcep.c
5072
5073 Example Code and Data Size: These are the sizes for the OS-independent 
5074 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5075 debug 
5076 version of the code includes the debug output trace mechanism and has a 
5077 much 
5078 larger code and data size.
5079
5080   Previous Release:
5081     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
5082     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
5083   Current Release:
5084     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
5085     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
5086
5087
5088 2) iASL Compiler/Disassembler and Tools:
5089
5090 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
5091 of 
5092 0. Jung-uk Kim.
5093
5094 Debugger: Enhanced the "tables" command to emit additional information 
5095 about 
5096 the current set of ACPI tables, including the owner ID and flags decode.
5097
5098 Debugger: Reimplemented the "unload" command to use the new 
5099 AcpiUnloadParentTable external interface. This command was disable 
5100 previously 
5101 due to need for an unload interface.
5102
5103 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
5104 option 
5105 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
5106
5107 ----------------------------------------
5108 20 June 2012. Summary of changes for version 20120620:
5109
5110
5111 1) ACPICA Kernel-resident Subsystem:
5112
5113 Implemented support to expand the "implicit notify" feature to allow 
5114 multiple 
5115 devices to be notified by a single GPE. This feature automatically 
5116 generates a 
5117 runtime device notification in the absence of a BIOS-provided GPE control 
5118 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
5119 notify is 
5120 provided by ACPICA for Windows compatibility, and is a workaround for 
5121 BIOS 
5122 AML 
5123 code errors. See the description of the AcpiSetupGpeForWake interface in 
5124 the 
5125 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
5126
5127 Changed some comments and internal function names to simplify and ensure 
5128 correctness of the Linux code translation. No functional changes.
5129
5130 Example Code and Data Size: These are the sizes for the OS-independent 
5131 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5132 debug 
5133 version of the code includes the debug output trace mechanism and has a 
5134 much 
5135 larger code and data size.
5136
5137   Previous Release:
5138     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
5139     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
5140   Current Release:
5141     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
5142     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
5143
5144
5145 2) iASL Compiler/Disassembler and Tools:
5146
5147 Disassembler: Added support to emit short, commented descriptions for the 
5148 ACPI 
5149 predefined names in order to improve the readability of the disassembled 
5150 output. ACPICA BZ 959. Changes include:
5151   1) Emit descriptions for all standard predefined names (_INI, _STA, 
5152 _PRW, 
5153 etc.)
5154   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
5155   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
5156 etc.)
5157
5158 AcpiSrc: Fixed several long-standing Linux code translation issues. 
5159 Argument 
5160 descriptions in function headers are now translated properly to lower 
5161 case 
5162 and 
5163 underscores. ACPICA BZ 961. Also fixes translation problems such as 
5164 these: 
5165 (old -> new)
5166   i_aSL -> iASL
5167   00-7_f -> 00-7F
5168   16_k -> 16K
5169   local_fADT -> local_FADT
5170   execute_oSI -> execute_OSI
5171
5172 iASL: Fixed a problem where null bytes were inadvertently emitted into 
5173 some 
5174 listing files.
5175
5176 iASL: Added the existing debug options to the standard help screen. There 
5177 are 
5178 no longer two different help screens. ACPICA BZ 957.
5179
5180 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
5181 Also 
5182 expand some of the descriptions where appropriate.
5183
5184 iASL: Fixed the -ot option (display compile times/statistics). Was not 
5185 working 
5186 properly for standard output; only worked for the debug file case.
5187
5188 ----------------------------------------
5189 18 May 2012. Summary of changes for version 20120518:
5190
5191
5192 1) ACPICA Core Subsystem:
5193
5194 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
5195 defined 
5196 to block until asynchronous events such as notifies and GPEs have 
5197 completed. 
5198 Within ACPICA, it is only called before a notify or GPE handler is 
5199 removed/uninstalled. It also may be useful for the host OS within related 
5200 drivers such as the Embedded Controller driver. See the ACPICA reference 
5201 for 
5202 additional information. ACPICA BZ 868.
5203
5204 ACPI Tables: Added a new error message for a possible overflow failure 
5205 during 
5206 the conversion of FADT 32-bit legacy register addresses to internal 
5207 common 
5208 64-
5209 bit GAS structure representation. The GAS has a one-byte "bit length" 
5210 field, 
5211 thus limiting the register length to 255 bits. ACPICA BZ 953.
5212
5213 Example Code and Data Size: These are the sizes for the OS-independent 
5214 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5215 debug 
5216 version of the code includes the debug output trace mechanism and has a 
5217 much 
5218 larger code and data size.
5219
5220   Previous Release:
5221     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5222     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5223   Current Release:
5224     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
5225     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
5226
5227
5228 2) iASL Compiler/Disassembler and Tools:
5229
5230 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
5231 macro. 
5232 This keyword was added late in the ACPI 5.0 release cycle and was not 
5233 implemented until now.
5234
5235 Disassembler: Added support for Operation Region externals. Adds missing 
5236 support for operation regions that are defined in another table, and 
5237 referenced locally via a Field or BankField ASL operator. Now generates 
5238 the 
5239 correct External statement.
5240
5241 Disassembler: Several additional fixes for the External() statement 
5242 generation 
5243 related to some ASL operators. Also, order the External() statements 
5244 alphabetically in the disassembler output. Fixes the External() 
5245 generation 
5246 for 
5247 the Create* field, Alias, and Scope operators:
5248  1) Create* buffer field operators - fix type mismatch warning on 
5249 disassembly
5250  2) Alias - implement missing External support
5251  3) Scope - fix to make sure all necessary externals are emitted.
5252
5253 iASL: Improved pathname support. For include files, merge the prefix 
5254 pathname 
5255 with the file pathname and eliminate unnecessary components. Convert 
5256 backslashes in all pathnames to forward slashes, for readability. Include 
5257 file 
5258 pathname changes affect both #include and Include() type operators.
5259
5260 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
5261 end 
5262 of a valid line by inserting a newline and then returning the EOF during 
5263 the 
5264 next call to GetNextLine. Prevents the line from being ignored due to EOF 
5265 condition.
5266
5267 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
5268 Error 
5269 and Warning messages are now correctly recognized for both the source 
5270 code 
5271 browser and the global error and warning counts.
5272
5273 ----------------------------------------
5274 20 April 2012. Summary of changes for version 20120420:
5275
5276
5277 1) ACPICA Core Subsystem:
5278
5279 Implemented support for multiple notify handlers. This change adds 
5280 support 
5281 to 
5282 allow multiple system and device notify handlers on Device, Thermal Zone, 
5283 and 
5284 Processor objects. This can simplify the host OS notification 
5285 implementation. 
5286 Also re-worked and restructured the entire notify support code to 
5287 simplify 
5288 handler installation, handler removal, notify event queuing, and notify 
5289 dispatch to handler(s). Note: there can still only be two global notify 
5290 handlers - one for system notifies and one for device notifies. There are 
5291 no 
5292 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
5293 Moore, Rafael Wysocki.
5294
5295 Fixed a regression in the package repair code where the object reference 
5296 count was calculated incorrectly. Regression was introduced in the commit 
5297 "Support to add Package wrappers".
5298
5299 Fixed a couple possible memory leaks in the AML parser, in the error 
5300 recovery 
5301 path. Jesper Juhl, Lin Ming.
5302
5303 Example Code and Data Size: These are the sizes for the OS-independent 
5304 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5305 debug version of the code includes the debug output trace mechanism and 
5306 has a 
5307 much larger code and data size.
5308
5309   Previous Release:
5310     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5311     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5312   Current Release:
5313     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5314     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5315
5316
5317 2) iASL Compiler/Disassembler and Tools:
5318
5319 iASL: Fixed a problem with the resource descriptor support where the 
5320 length 
5321 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
5322 included in cumulative descriptor offset, resulting in incorrect values 
5323 for 
5324 resource tags within resource descriptors appearing after a 
5325 StartDependent* 
5326 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
5327
5328 iASL and Preprocessor: Implemented full support for the #line directive 
5329 to 
5330 correctly track original source file line numbers through the .i 
5331 preprocessor 
5332 output file - for error and warning messages.
5333
5334 iASL: Expand the allowable byte constants for address space IDs. 
5335 Previously, 
5336 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
5337 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
5338
5339 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
5340
5341 iASL: Add option to completely disable the preprocessor (-Pn).
5342
5343 iASL: Now emit all error/warning messages to standard error (stderr) by 
5344 default (instead of the previous stdout).
5345
5346 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
5347 Update 
5348 for resource descriptor offset fix above. Update/cleanup error output 
5349 routines. Enable and send iASL errors/warnings to an error logfile 
5350 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
5351 Fixed 
5352 several extraneous "unrecognized operator" messages.
5353
5354 ----------------------------------------
5355 20 March 2012. Summary of changes for version 20120320:
5356
5357
5358 1) ACPICA Core Subsystem:
5359
5360 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
5361 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
5362 apparently 
5363 does not execute these methods, and therefore these methods are often 
5364 untested. It has been seen on some systems where the execution of these 
5365 methods causes errors and also prevents the machine from entering S5. It 
5366 is 
5367 therefore suggested that host operating systems do not execute these 
5368 methods 
5369 by default. In the future, perhaps these methods can be optionally 
5370 executed 
5371 based on the age of the system and/or what is the newest version of 
5372 Windows 
5373 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
5374 and 
5375 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
5376 Ming.
5377
5378 Fixed a problem where the length of the local/common FADT was set too 
5379 early. 
5380 The local FADT table length cannot be set to the common length until the 
5381 original length has been examined. There is code that checks the table 
5382 length 
5383 and sets various fields appropriately. This can affect older machines 
5384 with 
5385 early FADT versions. For example, this can cause inadvertent writes to 
5386 the 
5387 CST_CNT register. Julian Anastasov.
5388
5389 Fixed a mapping issue related to a physical table override. Use the 
5390 deferred 
5391 mapping mechanism for tables loaded via the physical override OSL 
5392 interface. 
5393 This allows for early mapping before the virtual memory manager is 
5394 available. 
5395 Thomas Renninger, Bob Moore.
5396
5397 Enhanced the automatic return-object repair code: Repair a common problem 
5398 with 
5399 predefined methods that are defined to return a variable-length Package 
5400 of 
5401 sub-objects. If there is only one sub-object, some BIOS ASL code 
5402 mistakenly 
5403 simply returns the single object instead of a Package with one sub-
5404 object. 
5405 This new support will repair this error by wrapping a Package object 
5406 around 
5407 the original object, creating the correct and expected Package with one 
5408 sub-
5409 object. Names that can be repaired in this manner include: _ALR, _CSD, 
5410 _HPX, 
5411 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
5412 939.
5413
5414 Changed the exception code returned for invalid ACPI paths passed as 
5415 parameters to external interfaces such as AcpiEvaluateObject. Was 
5416 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
5417
5418 Example Code and Data Size: These are the sizes for the OS-independent 
5419 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5420 debug 
5421 version of the code includes the debug output trace mechanism and has a 
5422 much 
5423 larger code and data size.
5424
5425   Previous Release:
5426     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5427     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5428   Current Release:
5429     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5430     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5431
5432
5433 2) iASL Compiler/Disassembler and Tools:
5434
5435 iASL: Added the infrastructure and initial implementation of a integrated 
5436 C-
5437 like preprocessor. This will simplify BIOS development process by 
5438 eliminating 
5439 the need for a separate preprocessing step during builds. On Windows, it 
5440 also 
5441 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
5442 features including full #define() macro support are still under 
5443 development. 
5444 These preprocessor directives are supported:
5445     #define
5446     #elif
5447     #else
5448     #endif
5449     #error
5450     #if
5451     #ifdef
5452     #ifndef
5453     #include
5454     #pragma message
5455     #undef
5456     #warning
5457 In addition, these new command line options are supported:
5458     -D <symbol> Define symbol for preprocessor use
5459     -li         Create preprocessed output file (*.i)
5460     -P          Preprocess only and create preprocessor output file (*.i)
5461
5462 Table Compiler: Fixed a problem where the equals operator within an 
5463 expression 
5464 did not work properly.
5465
5466 Updated iASL to use the current versions of Bison/Flex. Updated the 
5467 Windows 
5468 project file to invoke these tools from the standard location. ACPICA BZ 
5469 904. 
5470 Versions supported:
5471     Flex for Windows:  V2.5.4
5472     Bison for Windows: V2.4.1
5473
5474 ----------------------------------------
5475 15 February 2012. Summary of changes for version 20120215:
5476
5477
5478 1) ACPICA Core Subsystem:
5479
5480 There have been some major changes to the sleep/wake support code, as 
5481 described below (a - e).
5482
5483 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
5484 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
5485 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
5486 the 
5487 time the _BFS method is called and the _WAK method is called. NOTE: all 
5488 hosts 
5489 must update their wake/resume code or else sleep/wake will not work 
5490 properly. 
5491 Rafael Wysocki.
5492
5493 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
5494 _WAK 
5495 method. Some machines require that the GPEs are enabled before the _WAK 
5496 method 
5497 is executed. Thomas Renninger.
5498
5499 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
5500 bit. 
5501 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
5502 to 
5503 determine whether the system is rebooting or resuming. Matthew Garrett.
5504
5505 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
5506 Sleep) to 
5507 match the ACPI specification requirement. Rafael Wysocki.
5508
5509 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
5510 registers within the V5 FADT. This support adds two new files: 
5511 hardware/hwesleep.c implements the support for the new registers. Moved 
5512 all 
5513 sleep/wake external interfaces to hardware/hwxfsleep.c.
5514
5515
5516 Added a new OSL interface for ACPI table overrides, 
5517 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
5518 table via a physical address, instead of the logical address required by 
5519 AcpiOsTableOverride. This simplifies the host implementation. Initial 
5520 implementation by Thomas Renninger. The ACPICA implementation creates a 
5521 single 
5522 shared function for table overrides that attempts both a logical and a 
5523 physical override.
5524
5525 Expanded the OSL memory read/write interfaces to 64-bit data 
5526 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
5527 transfer support for GAS register structures passed to AcpiRead and 
5528 AcpiWrite.
5529
5530 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
5531 custom 
5532 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
5533 model. 
5534 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
5535 about 
5536 10% of the code and 5% of the static data, and the following hardware 
5537 ACPI 
5538 features become unavailable:
5539     PM Event and Control registers
5540     SCI interrupt (and handler)
5541     Fixed Events
5542     General Purpose Events (GPEs)
5543     Global Lock
5544     ACPI PM timer
5545     FACS table (Waking vectors and Global Lock)
5546
5547 Updated the unix tarball directory structure to match the ACPICA git 
5548 source 
5549 tree. This ensures that the generic unix makefiles work properly (in 
5550 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
5551 867.
5552
5553 Updated the return value of the _REV predefined method to integer value 5 
5554 to 
5555 reflect ACPI 5.0 support.
5556
5557 Moved the external ACPI PM timer interface prototypes to the public 
5558 acpixf.h 
5559 file where they belong.
5560
5561 Example Code and Data Size: These are the sizes for the OS-independent 
5562 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5563 debug 
5564 version of the code includes the debug output trace mechanism and has a 
5565 much 
5566 larger code and data size.
5567
5568   Previous Release:
5569     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5570     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5571   Current Release:
5572     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5573     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5574
5575
5576 2) iASL Compiler/Disassembler and Tools:
5577
5578 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
5579 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
5580 incorrectly displayed.
5581
5582 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
5583 specification.
5584
5585 ----------------------------------------
5586 11 January 2012. Summary of changes for version 20120111:
5587
5588
5589 1) ACPICA Core Subsystem:
5590
5591 Implemented a new mechanism to allow host device drivers to check for 
5592 address 
5593 range conflicts with ACPI Operation Regions. Both SystemMemory and 
5594 SystemIO 
5595 address spaces are supported. A new external interface, 
5596 AcpiCheckAddressRange, 
5597 allows drivers to check an address range against the ACPI namespace. See 
5598 the 
5599 ACPICA reference for additional details. Adds one new file, 
5600 utilities/utaddress.c. Lin Ming, Bob Moore.
5601
5602 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
5603 Control 
5604 and 
5605 Status registers, update the ACPI 5.0 flags, and update internal data 
5606 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
5607 5.0 
5608 FADT is 268 bytes.
5609
5610 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
5611 copyright to 
5612 all module headers and signons, including the standard Linux header. This 
5613 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
5614 and 
5615 all ACPICA utilities.
5616
5617 Example Code and Data Size: These are the sizes for the OS-independent 
5618 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5619 debug 
5620 version of the code includes the debug output trace mechanism and has a 
5621 much 
5622 larger code and data size.
5623
5624   Previous Release:
5625     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5626     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5627   Current Release:
5628     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5629     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5630
5631
5632 2) iASL Compiler/Disassembler and Tools:
5633
5634 Disassembler: fixed a problem with the automatic resource tag generation 
5635 support. Fixes a problem where the resource tags are inadvertently not 
5636 constructed if the table being disassembled contains external references 
5637 to 
5638 control methods. Moved the actual construction of the tags to after the 
5639 final 
5640 namespace is constructed (after 2nd parse is invoked due to external 
5641 control 
5642 method references.) ACPICA BZ 941.
5643
5644 Table Compiler: Make all "generic" operators caseless. These are the 
5645 operators 
5646 like UINT8, String, etc. Making these caseless improves ease-of-use. 
5647 ACPICA BZ 
5648 934.
5649
5650 ----------------------------------------
5651 23 November 2011. Summary of changes for version 20111123:
5652
5653 0) ACPI 5.0 Support:
5654
5655 This release contains full support for the ACPI 5.0 specification, as 
5656 summarized below.
5657
5658 Reduced Hardware Support:
5659 -------------------------
5660
5661 This support allows for ACPI systems without the usual ACPI hardware. 
5662 This 
5663 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
5664 will 
5665 not attempt to initialize or use any of the usual ACPI hardware. Note, 
5666 when 
5667 this flag is set, all of the following ACPI hardware is assumed to be not 
5668 present and is not initialized or accessed:
5669
5670     General Purpose Events (GPEs)
5671     Fixed Events (PM1a/PM1b and PM Control)
5672     Power Management Timer and Console Buttons (power/sleep)
5673     Real-time Clock Alarm
5674     Global Lock
5675     System Control Interrupt (SCI)
5676     The FACS is assumed to be non-existent
5677
5678 ACPI Tables:
5679 ------------
5680
5681 All new tables and updates to existing tables are fully supported in the 
5682 ACPICA headers (for use by device drivers), the disassembler, and the 
5683 iASL 
5684 Data Table Compiler. ACPI 5.0 defines these new tables:
5685
5686     BGRT        /* Boot Graphics Resource Table */
5687     DRTM        /* Dynamic Root of Trust for Measurement table */
5688     FPDT        /* Firmware Performance Data Table */
5689     GTDT        /* Generic Timer Description Table */
5690     MPST        /* Memory Power State Table */
5691     PCCT        /* Platform Communications Channel Table */
5692     PMTT        /* Platform Memory Topology Table */
5693     RASF        /* RAS Feature table */
5694
5695 Operation Regions/SpaceIDs:
5696 ---------------------------
5697
5698 All new operation regions are fully supported by the iASL compiler, the 
5699 disassembler, and the ACPICA runtime code (for dispatch to region 
5700 handlers.) 
5701 The new operation region Space IDs are:
5702
5703     GeneralPurposeIo
5704     GenericSerialBus
5705
5706 Resource Descriptors:
5707 ---------------------
5708
5709 All new ASL resource descriptors are fully supported by the iASL 
5710 compiler, 
5711 the 
5712 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
5713 (including 
5714 all new predefined resource tags). New descriptors are:
5715
5716     FixedDma
5717     GpioIo
5718     GpioInt
5719     I2cSerialBus
5720     SpiSerialBus
5721     UartSerialBus
5722
5723 ASL/AML Operators, New and Modified:
5724 ------------------------------------
5725
5726 One new operator is added, the Connection operator, which is used to 
5727 associate 
5728 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
5729 individual 
5730 field objects within an operation region. Several new protocols are 
5731 associated 
5732 with the AccessAs operator. All are fully supported by the iASL compiler, 
5733 disassembler, and runtime ACPICA AML interpreter:
5734
5735     Connection                      // Declare Field Connection 
5736 attributes
5737     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
5738     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
5739 Protocol
5740     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
5741     RawDataBuffer                       // Data type for Vendor Data 
5742 fields
5743
5744 Predefined ASL/AML Objects:
5745 ---------------------------
5746
5747 All new predefined objects/control-methods are supported by the iASL 
5748 compiler 
5749 and the ACPICA runtime validation/repair (arguments and return values.) 
5750 New 
5751 predefined names include the following:
5752
5753 Standard Predefined Names (Objects or Control Methods):
5754     _AEI, _CLS, _CPC, _CWS, _DEP,
5755     _DLM, _EVT, _GCP, _CRT, _GWS,
5756     _HRV, _PRE, _PSE, _SRT, _SUB.
5757
5758 Resource Tags (Names used to access individual fields within resource 
5759 descriptors):
5760     _DBT, _DPL, _DRS, _END, _FLC,
5761     _IOR, _LIN, _MOD, _PAR, _PHA,
5762     _PIN, _PPI, _POL, _RXL, _SLV,
5763     _SPE, _STB, _TXL, _VEN.
5764
5765 ACPICA External Interfaces:
5766 ---------------------------
5767
5768 Several new interfaces have been defined for use by ACPI-related device 
5769 drivers and other host OS services:
5770
5771 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
5772 to 
5773 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
5774 provided by the BIOS. They are intended to be used in conjunction with 
5775 the 
5776 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
5777 mutual exclusion with the AML code/interpreter.
5778
5779 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
5780 defined 
5781 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
5782 provides 
5783 resource descriptors associated with hardware-reduced platform events, 
5784 similar 
5785 to the AcpiGetCurrentResources interface.
5786
5787 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
5788 operation regions, information about the Connection() object and any 
5789 optional 
5790 length information is passed to the region handler within the Context 
5791 parameter.
5792
5793 AcpiBufferToResource: This interface converts a raw AML buffer containing 
5794
5795 resource template or resource descriptor to the ACPI_RESOURCE internal 
5796 format 
5797 suitable for use by device drivers. Can be used by an operation region 
5798 handler 
5799 to convert the Connection() buffer object into a ACPI_RESOURCE.
5800
5801 Miscellaneous/Tools/TestSuites: 
5802 -------------------------------
5803
5804 Support for extended _HID names (Four alpha characters instead of three).
5805 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
5806 Support for ACPI 5.0 features in the ASLTS test suite.
5807 Fully updated documentation (ACPICA and iASL reference documents.)
5808
5809 ACPI Table Definition Language:
5810 -------------------------------
5811
5812 Support for this language was implemented and released as a subsystem of 
5813 the 
5814 iASL compiler in 2010. (See the iASL compiler User Guide.)
5815
5816
5817 Non-ACPI 5.0 changes for this release:
5818 --------------------------------------
5819
5820 1) ACPICA Core Subsystem:
5821
5822 Fix a problem with operation region declarations where a failure can 
5823 occur 
5824 if 
5825 the region name and an argument that evaluates to an object (such as the 
5826 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
5827 937.
5828
5829 Do not abort an ACPI table load if an invalid space ID is found within. 
5830 This 
5831 will be caught later if the offending method is executed. ACPICA BZ 925.
5832
5833 Fixed an issue with the FFixedHW space ID where the ID was not always 
5834 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
5835
5836 Fixed a problem with the 32-bit generation of the unix-specific OSL 
5837 (osunixxf.c). Lin Ming, ACPICA BZ 936.
5838
5839 Several changes made to enable generation with the GCC 4.6 compiler. 
5840 ACPICA BZ 
5841 935.
5842
5843 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
5844 Index/Bank 
5845 field registers out-of-range.
5846
5847 2) iASL Compiler/Disassembler and Tools:
5848
5849 iASL: Implemented the __PATH__ operator, which returns the full pathname 
5850 of 
5851 the current source file.
5852
5853 AcpiHelp: Automatically display expanded keyword information for all ASL 
5854 operators.
5855
5856 Debugger: Add "Template" command to disassemble/dump resource template 
5857 buffers.
5858
5859 Added a new master script to generate and execute the ASLTS test suite. 
5860 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
5861
5862 iASL: Fix problem with listing generation during processing of the 
5863 Switch() 
5864 operator where AML listing was disabled until the entire Switch block was 
5865 completed.
5866
5867 iASL: Improve support for semicolon statement terminators. Fix "invalid 
5868 character" message for some cases when the semicolon is used. Semicolons 
5869 are 
5870 now allowed after every <Term> grammar element. ACPICA BZ 927.
5871
5872 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
5873 923.
5874
5875 Disassembler: Fix problem with disassembly of the DataTableRegion 
5876 operator 
5877 where an inadvertent "Unhandled deferred opcode" message could be 
5878 generated.
5879
5880 3) Example Code and Data Size
5881
5882 These are the sizes for the OS-independent acpica.lib produced by the 
5883 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5884 includes the debug output trace mechanism and has a much larger code and 
5885 data 
5886 size.
5887
5888   Previous Release:
5889     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5890     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5891   Current Release:
5892     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5893     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5894
5895 ----------------------------------------
5896 22 September 2011. Summary of changes for version 20110922:
5897
5898 0) ACPI 5.0 News:
5899
5900 Support for ACPI 5.0 in ACPICA has been underway for several months and 
5901 will 
5902 be released at the same time that ACPI 5.0 is officially released.
5903
5904 The ACPI 5.0 specification is on track for release in the next few 
5905 months.
5906  
5907 1) ACPICA Core Subsystem:
5908
5909 Fixed a problem where the maximum sleep time for the Sleep() operator was 
5910 intended to be limited to two seconds, but was inadvertently limited to 
5911 20 
5912 seconds instead.
5913
5914 Linux and Unix makefiles: Added header file dependencies to ensure 
5915 correct 
5916 generation of ACPICA core code and utilities. Also simplified the 
5917 makefiles 
5918 considerably through the use of the vpath variable to specify search 
5919 paths. 
5920 ACPICA BZ 924.
5921
5922 2) iASL Compiler/Disassembler and Tools:
5923
5924 iASL: Implemented support to check the access length for all fields 
5925 created to 
5926 access named Resource Descriptor fields. For example, if a resource field 
5927 is 
5928 defined to be two bits, a warning is issued if a CreateXxxxField() is 
5929 used 
5930 with an incorrect bit length. This is implemented for all current 
5931 resource 
5932 descriptor names. ACPICA BZ 930.
5933   
5934 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
5935 56-
5936 bit integers.
5937
5938 iASL: Fixed a couple of issues associated with variable-length package 
5939 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
5940
5941 VAR_PACKAGE when these are used as a package length. 2) Allow the 
5942 VAR_PACKAGE 
5943 opcode (in addition to PACKAGE) when validating object types for 
5944 predefined 
5945 names.
5946
5947 iASL: Emit statistics for all output files (instead of just the ASL input 
5948 and 
5949 AML output). Includes listings, hex files, etc.
5950
5951 iASL: Added -G option to the table compiler to allow the compilation of 
5952 custom 
5953 ACPI tables. The only part of a table that is required is the standard 
5954 36-
5955 byte 
5956 ACPI header.
5957
5958 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
5959 headers), 
5960 which also adds correct 64-bit support. Also, now all output filenames 
5961 are 
5962 completely lower case.
5963
5964 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
5965 loading table files. A warning is issued for any such tables. The only 
5966 exception is an FADT. This also fixes a possible fault when attempting to 
5967 load 
5968 non-AML tables. ACPICA BZ 932.
5969
5970 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
5971
5972 missing table terminator could cause a fault when using the -p option.
5973
5974 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
5975 statistics.
5976
5977 3) Example Code and Data Size
5978
5979 These are the sizes for the OS-independent acpica.lib produced by the 
5980 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5981 includes the debug output trace mechanism and has a much larger code and 
5982 data 
5983 size.
5984
5985   Previous Release (VC 9.0):
5986     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5987     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5988   Current Release (VC 9.0):
5989     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5990     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5991
5992
5993 ----------------------------------------
5994 23 June 2011. Summary of changes for version 20110623:
5995
5996 1) ACPI CA Core Subsystem:
5997
5998 Updated the predefined name repair mechanism to not attempt repair of a 
5999 _TSS 
6000 return object if a _PSS object is present. We can only sort the _TSS 
6001 return 
6002 package if there is no _PSS within the same scope. This is because if 
6003 _PSS 
6004 is 
6005 present, the ACPI specification dictates that the _TSS Power Dissipation 
6006 field 
6007 is to be ignored, and therefore some BIOSs leave garbage values in the 
6008 _TSS 
6009 Power field(s). In this case, it is best to just return the _TSS package 
6010 as-
6011 is. Reported by, and fixed with assistance from Fenghua Yu.
6012
6013 Added an option to globally disable the control method return value 
6014 validation 
6015 and repair. This runtime option can be used to disable return value 
6016 repair 
6017 if 
6018 this is causing a problem on a particular machine. Also added an option 
6019 to 
6020 AcpiExec (-dr) to set this disable flag.
6021
6022 All makefiles and project files: Major changes to improve generation of 
6023 ACPICA 
6024 tools. ACPICA BZ 912:
6025     Reduce default optimization levels to improve compatibility
6026     For Linux, add strict-aliasing=0 for gcc 4
6027     Cleanup and simplify use of command line defines
6028     Cleanup multithread library support
6029     Improve usage messages
6030
6031 Linux-specific header: update handling of THREAD_ID and pthread. For the 
6032 32-
6033 bit case, improve casting to eliminate possible warnings, especially with 
6034 the 
6035 acpica tools.
6036
6037 Example Code and Data Size: These are the sizes for the OS-independent 
6038 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6039 debug 
6040 version of the code includes the debug output trace mechanism and has a 
6041 much 
6042 larger code and data size.
6043
6044   Previous Release (VC 9.0):
6045     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
6046     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6047   Current Release (VC 9.0):
6048     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6049     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6050
6051 2) iASL Compiler/Disassembler and Tools:
6052
6053 With this release, a new utility named "acpihelp" has been added to the 
6054 ACPICA 
6055 package. This utility summarizes the ACPI specification chapters for the 
6056 ASL 
6057 and AML languages. It generates under Linux/Unix as well as Windows, and 
6058 provides the following functionality:
6059     Find/display ASL operator(s) -- with description and syntax.
6060     Find/display ASL keyword(s) -- with exact spelling and descriptions.
6061     Find/display ACPI predefined name(s) -- with description, number
6062         of arguments, and the return value data type.
6063     Find/display AML opcode name(s) -- with opcode, arguments, and 
6064 grammar.
6065     Decode/display AML opcode -- with opcode name, arguments, and 
6066 grammar.
6067
6068 Service Layers: Make multi-thread support configurable. Conditionally 
6069 compile 
6070 the multi-thread support so that threading libraries will not be linked 
6071 if 
6072 not 
6073 necessary. The only tool that requires multi-thread support is AcpiExec.
6074
6075 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
6076 of 
6077 Bison appear to want the interface to yyerror to be a const char * (or at 
6078 least this is a problem when generating iASL on some systems.) ACPICA BZ 
6079 923 
6080 Pierre Lejeune.
6081
6082 Tools: Fix for systems where O_BINARY is not defined. Only used for 
6083 Windows 
6084 versions of the tools.
6085
6086 ----------------------------------------
6087 27 May 2011. Summary of changes for version 20110527:
6088
6089 1) ACPI CA Core Subsystem:
6090
6091 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
6092 table 
6093 signature. Now, only allow SSDT, OEMx, and a null signature. History:
6094     1) Originally, we checked the table signature for "SSDT" or "PSDT".
6095        (PSDT is now obsolete.)
6096     2) We added support for OEMx tables, signature "OEM" plus a fourth
6097        "don't care" character.
6098     3) Valid tables were encountered with a null signature, so we just
6099        gave up on validating the signature, (05/2008).
6100     4) We encountered non-AML tables such as the MADT, which caused
6101        interpreter errors and kernel faults. So now, we once again allow
6102        only SSDT, OEMx, and now, also a null signature. (05/2011).
6103
6104 Added the missing _TDL predefined name to the global name list in order 
6105 to 
6106 enable validation. Affects both the core ACPICA code and the iASL 
6107 compiler.
6108
6109 Example Code and Data Size: These are the sizes for the OS-independent 
6110 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6111 debug 
6112 version of the code includes the debug output trace mechanism and has a 
6113 much 
6114 larger code and data size.
6115
6116   Previous Release (VC 9.0):
6117     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6118     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6119   Current Release (VC 9.0):
6120     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
6121     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6122
6123 2) iASL Compiler/Disassembler and Tools:
6124
6125 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
6126 the 
6127 debugger command line. This adds support beyond simple integers -- 
6128 including 
6129 Strings, Buffers, and Packages. Includes support for nested packages. 
6130 Increased the default command line buffer size to accommodate these 
6131 arguments. 
6132 See the ACPICA reference for details and syntax. ACPICA BZ 917.
6133  
6134 Debugger/AcpiExec: Implemented support for "default" method arguments for 
6135 the 
6136 Execute/Debug command. Now, the debugger will always invoke a control 
6137 method 
6138 with the required number of arguments -- even if the command line 
6139 specifies 
6140 none or insufficient arguments. It uses default integer values for any 
6141 missing 
6142 arguments. Also fixes a bug where only six method arguments maximum were 
6143 supported instead of the required seven.
6144
6145 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
6146 and 
6147 also return status in order to prevent buffer overruns. See the ACPICA 
6148 reference for details and syntax. ACPICA BZ 921
6149
6150 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
6151 makefiles to simplify support for the two different but similar parser 
6152 generators, bison and yacc.
6153
6154 Updated the generic unix makefile for gcc 4. The default gcc version is 
6155 now 
6156 expected to be 4 or greater, since options specific to gcc 4 are used.
6157
6158 ----------------------------------------
6159 13 April 2011. Summary of changes for version 20110413:
6160
6161 1) ACPI CA Core Subsystem:
6162
6163 Implemented support to execute a so-called "orphan" _REG method under the 
6164 EC 
6165 device. This change will force the execution of a _REG method underneath 
6166 the 
6167 EC 
6168 device even if there is no corresponding operation region of type 
6169 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
6170 compatible with Windows behavior. ACPICA BZ 875.
6171
6172 Added more predefined methods that are eligible for automatic NULL 
6173 package 
6174 element removal. This change adds another group of predefined names to 
6175 the 
6176 list 
6177 of names that can be repaired by having NULL package elements dynamically 
6178 removed. This group are those methods that return a single variable-
6179 length 
6180 package containing simple data types such as integers, buffers, strings. 
6181 This 
6182 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
6183 _PSL, 
6184 _Sx, 
6185 and _TZD. ACPICA BZ 914.
6186
6187 Split and segregated all internal global lock functions to a new file, 
6188 evglock.c.
6189
6190 Updated internal address SpaceID for DataTable regions. Moved this 
6191 internal 
6192 space 
6193 id in preparation for ACPI 5.0 changes that will include some new space 
6194 IDs. 
6195 This 
6196 change should not affect user/host code.
6197
6198 Example Code and Data Size: These are the sizes for the OS-independent 
6199 acpica.lib 
6200 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
6201 version of 
6202 the code includes the debug output trace mechanism and has a much larger 
6203 code 
6204 and 
6205 data size.
6206
6207   Previous Release (VC 9.0):
6208     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6209     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6210   Current Release (VC 9.0):
6211     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6212     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6213
6214 2) iASL Compiler/Disassembler and Tools:
6215
6216 iASL/DTC: Major update for new grammar features. Allow generic data types 
6217 in 
6218 custom ACPI tables. Field names are now optional. Any line can be split 
6219 to 
6220 multiple lines using the continuation char (\). Large buffers now use 
6221 line-
6222 continuation character(s) and no colon on the continuation lines. See the 
6223 grammar 
6224 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
6225 Moore.
6226
6227 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
6228 statements. 
6229 Since the parser stuffs a "zero" as the return value for these statements 
6230 (due 
6231 to 
6232 the underlying AML grammar), they were seen as "return with value" by the 
6233 iASL 
6234 semantic checking. They are now seen correctly as "null" return 
6235 statements.
6236
6237 iASL: Check if a_REG declaration has a corresponding Operation Region. 
6238 Adds a 
6239 check for each _REG to ensure that there is in fact a corresponding 
6240 operation 
6241 region declaration in the same scope. If not, the _REG method is not very 
6242 useful 
6243 since it probably won't be executed. ACPICA BZ 915.
6244
6245 iASL/DTC: Finish support for expression evaluation. Added a new 
6246 expression 
6247 parser 
6248 that implements c-style operator precedence and parenthesization. ACPICA 
6249 bugzilla 
6250 908.
6251
6252 Disassembler/DTC: Remove support for () and <> style comments in data 
6253 tables. 
6254 Now 
6255 that DTC has full expression support, we don't want to have comment 
6256 strings 
6257 that 
6258 start with a parentheses or a less-than symbol. Now, only the standard /* 
6259 and 
6260 // 
6261 comments are supported, as well as the bracket [] comments.
6262
6263 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
6264 "unusual" 
6265 headers in the acpidump file. Update the header validation to support 
6266 these 
6267 tables. Problem introduced in previous AcpiXtract version in the change 
6268 to 
6269 support "wrong checksum" error messages emitted by acpidump utility.
6270
6271 iASL: Add a * option to generate all template files (as a synonym for 
6272 ALL) 
6273 as 
6274 in 
6275 "iasl -T *" or "iasl -T ALL".
6276
6277 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
6278 completely 
6279 abort the compiler on "fatal" errors, simply should abort the current 
6280 compile. 
6281 This allows multiple compiles with a single (possibly wildcard) compiler 
6282 invocation.
6283
6284 ----------------------------------------
6285 16 March 2011. Summary of changes for version 20110316:
6286
6287 1) ACPI CA Core Subsystem:
6288
6289 Fixed a problem caused by a _PRW method appearing at the namespace root 
6290 scope 
6291 during the setup of wake GPEs. A fault could occur if a _PRW directly 
6292 under 
6293 the 
6294 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
6295
6296 Implemented support for "spurious" Global Lock interrupts. On some 
6297 systems, a 
6298 global lock interrupt can occur without the pending flag being set. Upon 
6299
6300 GL 
6301 interrupt, we now ensure that a thread is actually waiting for the lock 
6302 before 
6303 signaling GL availability. Rafael Wysocki, Bob Moore.
6304
6305 Example Code and Data Size: These are the sizes for the OS-independent 
6306 acpica.lib 
6307 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
6308 version of 
6309 the code includes the debug output trace mechanism and has a much larger 
6310 code 
6311 and 
6312 data size.
6313
6314   Previous Release (VC 9.0):
6315     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6316     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6317   Current Release (VC 9.0):
6318     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6319     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6320
6321 2) iASL Compiler/Disassembler and Tools:
6322
6323 Implemented full support for the "SLIC" ACPI table. Includes support in 
6324 the 
6325 header files, disassembler, table compiler, and template generator. Bob 
6326 Moore, 
6327 Lin Ming.
6328
6329 AcpiXtract: Correctly handle embedded comments and messages from 
6330 AcpiDump. 
6331 Apparently some or all versions of acpidump will occasionally emit a 
6332 comment 
6333 like 
6334 "Wrong checksum", etc., into the dump file. This was causing problems for 
6335 AcpiXtract. ACPICA BZ 905.
6336
6337 iASL: Fix the Linux makefile by removing an inadvertent double file 
6338 inclusion. 
6339 ACPICA BZ 913.
6340
6341 AcpiExec: Update installation of operation region handlers. Install one 
6342 handler 
6343 for a user-defined address space. This is used by the ASL test suite 
6344 (ASLTS).
6345
6346 ----------------------------------------
6347 11 February 2011. Summary of changes for version 20110211:
6348
6349 1) ACPI CA Core Subsystem:
6350
6351 Added a mechanism to defer _REG methods for some early-installed 
6352 handlers. 
6353 Most user handlers should be installed before call to 
6354 AcpiEnableSubsystem. 
6355 However, Event handlers and region handlers should be installed after 
6356 AcpiInitializeObjects. Override handlers for the "default" regions should 
6357 be 
6358 installed early, however. This change executes all _REG methods for the 
6359 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
6360 chicken/egg issues between them. ACPICA BZ 848.
6361
6362 Implemented an optimization for GPE detection. This optimization will 
6363 simply 
6364 ignore GPE registers that contain no enabled GPEs -- there is no need to 
6365 read the register since this information is available internally. This 
6366 becomes more important on machines with a large GPE space. ACPICA 
6367 bugzilla 
6368 884. Lin Ming. Suggestion from Joe Liu.
6369
6370 Removed all use of the highly unreliable FADT revision field. The 
6371 revision 
6372 number in the FADT has been found to be completely unreliable and cannot 
6373 be 
6374 trusted. Only the actual table length can be used to infer the version. 
6375 This 
6376 change updates the ACPICA core and the disassembler so that both no 
6377 longer 
6378 even look at the FADT version and instead depend solely upon the FADT 
6379 length.
6380
6381 Fix an unresolved name issue for the no-debug and no-error-message source 
6382 generation cases. The _AcpiModuleName was left undefined in these cases, 
6383 but 
6384 it is actually needed as a parameter to some interfaces. Define 
6385 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
6386
6387 Split several large files (makefiles and project files updated)
6388   utglobal.c   -> utdecode.c
6389   dbcomds.c    -> dbmethod.c dbnames.c
6390   dsopcode.c   -> dsargs.c dscontrol.c
6391   dsload.c     -> dsload2.c
6392   aslanalyze.c -> aslbtypes.c aslwalks.c
6393
6394 Example Code and Data Size: These are the sizes for the OS-independent 
6395 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6396 debug version of the code includes the debug output trace mechanism and 
6397 has 
6398 a much larger code and data size.
6399
6400   Previous Release (VC 9.0):
6401     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6402     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6403   Current Release (VC 9.0):
6404     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6405     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6406
6407 2) iASL Compiler/Disassembler and Tools:
6408
6409 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
6410 These are useful C-style macros with the standard definitions. ACPICA 
6411 bugzilla 898.
6412
6413 iASL/DTC: Added support for integer expressions and labels. Support for 
6414 full 
6415 expressions for all integer fields in all ACPI tables. Support for labels 
6416 in 
6417 "generic" portions of tables such as UEFI. See the iASL reference manual.
6418
6419 Debugger: Added a command to display the status of global handlers. The 
6420 "handlers" command will display op region, fixed event, and miscellaneous 
6421 global handlers. installation status -- and for op regions, whether 
6422 default 
6423 or user-installed handler will be used.
6424
6425 iASL: Warn if reserved method incorrectly returns a value. Many 
6426 predefined 
6427 names are defined such that they do not return a value. If implemented as 
6428
6429 method, issue a warning if such a name explicitly returns a value. ACPICA 
6430 Bugzilla 855.
6431
6432 iASL: Added detection of GPE method name conflicts. Detects a conflict 
6433 where 
6434 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
6435 (For 
6436 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
6437
6438 iASL/DTC: Fixed a couple input scanner issues with comments and line 
6439 numbers. Comment remover could get confused and miss a comment ending. 
6440 Fixed 
6441 a problem with line counter maintenance.
6442
6443 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
6444 is 
6445 no need to abort on simple errors within a field definition.
6446
6447 Debugger: Simplified the output of the help command. All help output now 
6448 in 
6449 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
6450
6451 ----------------------------------------
6452 12 January 2011. Summary of changes for version 20110112:
6453
6454 1) ACPI CA Core Subsystem:
6455
6456 Fixed a race condition between method execution and namespace walks that 
6457 can 
6458 possibly cause a fault. The problem was apparently introduced in version 
6459 20100528 as a result of a performance optimization that reduces the 
6460 number 
6461 of 
6462 namespace walks upon method exit by using the delete_namespace_subtree 
6463 function instead of the delete_namespace_by_owner function used 
6464 previously. 
6465 Bug is a missing namespace lock in the delete_namespace_subtree function. 
6466 dana.myers@oracle.com
6467
6468 Fixed several issues and a possible fault with the automatic "serialized" 
6469 method support. History: This support changes a method to "serialized" on 
6470 the 
6471 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
6472 possibility that it cannot handle reentrancy. This fix repairs a couple 
6473 of 
6474 issues seen in the field, especially on machines with many cores:
6475
6476     1) Delete method children only upon the exit of the last thread,
6477        so as to not delete objects out from under other running threads
6478       (and possibly causing a fault.)
6479     2) Set the "serialized" bit for the method only upon the exit of the
6480        Last thread, so as to not cause deadlock when running threads
6481        attempt to exit.
6482     3) Cleanup the use of the AML "MethodFlags" and internal method flags
6483        so that there is no longer any confusion between the two.
6484
6485     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
6486
6487 Debugger: Now lock the namespace for duration of a namespace dump. 
6488 Prevents 
6489 issues if the namespace is changing dynamically underneath the debugger. 
6490 Especially affects temporary namespace nodes, since the debugger displays 
6491 these also.
6492
6493 Updated the ordering of include files. The ACPICA headers should appear 
6494 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
6495 set 
6496 any necessary compiler-specific defines, etc. Affects the ACPI-related 
6497 tools 
6498 and utilities.
6499
6500 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
6501 copyright 
6502 to all module headers and signons, including the Linux header. This 
6503 affects 
6504 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
6505 utilities.
6506
6507 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
6508 project files for VC++ 6.0 are now obsolete. New project files can be 
6509 found 
6510 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
6511 details.
6512
6513 Example Code and Data Size: These are the sizes for the OS-independent 
6514 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6515 debug version of the code includes the debug output trace mechanism and 
6516 has a 
6517 much larger code and data size.
6518
6519   Previous Release (VC 6.0):
6520     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6521     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6522   Current Release (VC 9.0):
6523     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6524     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6525
6526 2) iASL Compiler/Disassembler and Tools:
6527
6528 iASL: Added generic data types to the Data Table compiler. Add "generic" 
6529 data 
6530 types such as UINT32, String, Unicode, etc., to simplify the generation 
6531 of 
6532 platform-defined tables such as UEFI. Lin Ming.
6533
6534 iASL: Added listing support for the Data Table Compiler. Adds listing 
6535 support 
6536 (-l) to display actual binary output for each line of input code.
6537
6538 ----------------------------------------
6539 09 December 2010. Summary of changes for version 20101209:
6540
6541 1) ACPI CA Core Subsystem:
6542
6543 Completed the major overhaul of the GPE support code that was begun in 
6544 July 
6545 2010. Major features include: removal of _PRW execution in ACPICA (host 
6546 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
6547 changes to existing interfaces, simplification of GPE handler operation, 
6548 and 
6549 a handful of new interfaces:
6550
6551     AcpiUpdateAllGpes
6552     AcpiFinishGpe
6553     AcpiSetupGpeForWake
6554     AcpiSetGpeWakeMask
6555     One new file, evxfgpe.c to consolidate all external GPE interfaces.
6556
6557 See the ACPICA Programmer Reference for full details and programming 
6558 information. See the new section 4.4 "General Purpose Event (GPE) 
6559 Support" 
6560 for a full overview, and section 8.7 "ACPI General Purpose Event 
6561 Management" 
6562 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
6563 Ming, 
6564 Bob Moore, Rafael Wysocki.
6565
6566 Implemented a new GPE feature for Windows compatibility, the "Implicit 
6567 Wake 
6568 GPE Notify". This feature will automatically issue a Notify(2) on a 
6569 device 
6570 when a Wake GPE is received if there is no corresponding GPE method or 
6571 handler. ACPICA BZ 870.
6572
6573 Fixed a problem with the Scope() operator during table parse and load 
6574 phase. 
6575 During load phase (table load or method execution), the scope operator 
6576 should 
6577 not enter the target into the namespace. Instead, it should open a new 
6578 scope 
6579 at the target location. Linux BZ 19462, ACPICA BZ 882.
6580
6581 Example Code and Data Size: These are the sizes for the OS-independent 
6582 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6583 debug version of the code includes the debug output trace mechanism and 
6584 has a 
6585 much larger code and data size.
6586
6587   Previous Release:
6588     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6589     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6590   Current Release:
6591     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6592     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6593
6594 2) iASL Compiler/Disassembler and Tools:
6595
6596 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
6597 are 
6598 "bus-specific" per the ACPI specification, and therefore any characters 
6599 are 
6600 acceptable. The only checks that can be performed are for a null string 
6601 and 
6602 perhaps for a leading asterisk. ACPICA BZ 886.
6603
6604 iASL: Fixed a problem where a syntax error that caused a premature EOF 
6605 condition on the source file emitted a very confusing error message. The 
6606 premature EOF is now detected correctly. ACPICA BZ 891.
6607
6608 Disassembler: Decode the AccessSize within a Generic Address Structure 
6609 (byte 
6610 access, word access, etc.) Note, this field does not allow arbitrary bit 
6611 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
6612
6613 New: AcpiNames utility - Example namespace dump utility. Shows an example 
6614 of 
6615 ACPICA configuration for a minimal namespace dump utility. Uses table and 
6616 namespace managers, but no AML interpreter. Does not add any 
6617 functionality 
6618 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
6619 partition and configure ACPICA. ACPICA BZ 883.
6620
6621 AML Debugger: Increased the debugger buffer size for method return 
6622 objects. 
6623 Was 4K, increased to 16K. Also enhanced error messages for debugger 
6624 method 
6625 execution, including the buffer overflow case.
6626
6627 ----------------------------------------
6628 13 October 2010. Summary of changes for version 20101013:
6629
6630 1) ACPI CA Core Subsystem:
6631
6632 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
6633 now 
6634 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
6635 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
6636
6637 Changed the type of the predefined namespace object _TZ from ThermalZone 
6638 to 
6639 Device. This was found to be confusing to the host software that 
6640 processes 
6641 the various thermal zones, since _TZ is not really a ThermalZone. 
6642 However, 
6643
6644 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
6645 Zhang.
6646
6647 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
6648 string is "Windows 2006 SP2".
6649
6650 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
6651 nsrepair 
6652 code automatically repairs _HID-related strings, this type of code is no 
6653 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
6654 878.
6655
6656 Example Code and Data Size: These are the sizes for the OS-independent 
6657 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6658 debug version of the code includes the debug output trace mechanism and 
6659 has a 
6660 much larger code and data size.
6661
6662   Previous Release:
6663     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6664     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6665   Current Release:
6666     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6667     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6668
6669 2) iASL Compiler/Disassembler and Tools:
6670
6671 iASL: Implemented additional compile-time validation for _HID strings. 
6672 The 
6673 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
6674 length 
6675 of 
6676 the string must be exactly seven or eight characters. For both _HID and 
6677 _CID 
6678 strings, all characters must be alphanumeric. ACPICA BZ 874.
6679
6680 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
6681 descriptors that are mostly or all zeros, with the expectation that they 
6682 will 
6683 be filled in at runtime. iASL now allows this as long as there is a 
6684 "resource 
6685 tag" (name) associated with the descriptor, which gives the ASL a handle 
6686 needed to modify the descriptor. ACPICA BZ 873.
6687
6688 Added single-thread support to the generic Unix application OSL. 
6689 Primarily 
6690 for iASL support, this change removes the use of semaphores in the 
6691 single-
6692 threaded ACPICA tools/applications - increasing performance. The 
6693 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
6694 option. ACPICA BZ 879.
6695
6696 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
6697 support 
6698 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
6699
6700 iASL: Moved all compiler messages to a new file, aslmessages.h.
6701
6702 ----------------------------------------
6703 15 September 2010. Summary of changes for version 20100915:
6704
6705 1) ACPI CA Core Subsystem:
6706
6707 Removed the AcpiOsDerivePciId OSL interface. The various host 
6708 implementations 
6709 of this function were not OS-dependent and are now obsolete and can be 
6710 removed from all host OSLs. This function has been replaced by 
6711 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
6712 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
6713 module, hwpci.c. ACPICA BZ 857.
6714
6715 Implemented a dynamic repair for _HID and _CID strings. The following 
6716 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
6717 string, and 2) the entire string is uppercased. Both repairs are in 
6718 accordance with the ACPI specification and will simplify host driver 
6719 code. 
6720 ACPICA BZ 871.
6721
6722 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
6723 always UINT64. This simplifies the ACPICA code, especially any printf 
6724 output. 
6725 UINT64 is the only common data type for all thread_id types across all 
6726 operating systems. It is now up to the host OSL to cast the native 
6727 thread_id 
6728 type to UINT64 before returning the value to ACPICA (via 
6729 AcpiOsGetThreadId). 
6730 Lin Ming, Bob Moore.
6731
6732 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
6733 "inline" 
6734 keyword is not standard across compilers, and this type allows inline to 
6735 be 
6736 configured on a per-compiler basis. Lin Ming.
6737
6738 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
6739 available. 
6740 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
6741 value 
6742 during suspend/restore operations. ACPICA BZ 869.
6743
6744 All code that implements error/warning messages with the "ACPI:" prefix 
6745 has 
6746 been moved to a new module, utxferror.c.
6747
6748 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
6749 it 
6750 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
6751
6752 Example Code and Data Size: These are the sizes for the OS-independent 
6753 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6754 debug version of the code includes the debug output trace mechanism and 
6755 has a 
6756 much larger code and data size.
6757
6758   Previous Release:
6759     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6760     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6761   Current Release:
6762     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6763     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6764
6765 2) iASL Compiler/Disassembler and Tools:
6766
6767 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
6768 file. 
6769 This keeps the output files free of random error messages that may 
6770 originate 
6771 from within the namespace/interpreter code. Used this opportunity to 
6772 merge 
6773 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
6774 866. Lin Ming, Bob Moore.
6775
6776 Tools: update some printfs for ansi warnings on size_t. Handle width 
6777 change 
6778 of size_t on 32-bit versus 64-bit generations. Lin Ming.
6779
6780 ----------------------------------------
6781 06 August 2010. Summary of changes for version 20100806:
6782
6783 1) ACPI CA Core Subsystem:
6784
6785 Designed and implemented a new host interface to the _OSI support code. 
6786 This 
6787 will allow the host to dynamically add or remove multiple _OSI strings, 
6788 as 
6789 well as install an optional handler that is called for each _OSI 
6790 invocation. 
6791 Also added a new AML debugger command, 'osi' to display and modify the 
6792 global 
6793 _OSI string table, and test support in the AcpiExec utility. See the 
6794 ACPICA 
6795 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
6796 New Functions:
6797     AcpiInstallInterface - Add an _OSI string.
6798     AcpiRemoveInterface - Delete an _OSI string.
6799     AcpiInstallInterfaceHandler - Install optional _OSI handler.
6800 Obsolete Functions:
6801     AcpiOsValidateInterface - no longer used.
6802 New Files:
6803     source/components/utilities/utosi.c
6804
6805 Re-introduced the support to enable multi-byte transfers for Embedded 
6806 Controller (EC) operation regions. A reported problem was found to be a 
6807 bug 
6808 in the host OS, not in the multi-byte support. Previously, the maximum 
6809 data 
6810 size passed to the EC operation region handler was a single byte. There 
6811 are 
6812 often EC Fields larger than one byte that need to be transferred, and it 
6813 is 
6814 useful for the EC driver to lock these as a single transaction. This 
6815 change 
6816 enables single transfers larger than 8 bits. This effectively changes the 
6817 access to the EC space from ByteAcc to AnyAcc, and will probably require 
6818 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
6819 bit 
6820 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
6821
6822 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
6823 prototype in acpiosxf.h had the output value pointer as a (void *).
6824 It should be a (UINT64 *). This may affect some host OSL code.
6825
6826 Fixed a couple problems with the recently modified Linux makefiles for 
6827 iASL 
6828 and AcpiExec. These new makefiles place the generated object files in the 
6829 local directory so that there can be no collisions between the files that 
6830 are 
6831 shared between them that are compiled with different options.
6832
6833 Example Code and Data Size: These are the sizes for the OS-independent 
6834 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6835 debug version of the code includes the debug output trace mechanism and 
6836 has a 
6837 much larger code and data size.
6838
6839   Previous Release:
6840     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6841     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6842   Current Release:
6843     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6844     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6845
6846 2) iASL Compiler/Disassembler and Tools:
6847
6848 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
6849 the 
6850 namespace from and disassemble an entire group of AML files. Useful for 
6851 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
6852 and 
6853 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
6854
6855 iASL: Allow multiple invocations of -e option. This change allows 
6856 multiple 
6857 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
6858 834. 
6859 Lin Ming.
6860
6861 ----------------------------------------
6862 02 July 2010. Summary of changes for version 20100702:
6863
6864 1) ACPI CA Core Subsystem:
6865
6866 Implemented several updates to the recently added GPE reference count 
6867 support. The model for "wake" GPEs is changing to give the host OS 
6868 complete 
6869 control of these GPEs. Eventually, the ACPICA core will not execute any 
6870 _PRW 
6871 methods, since the host already must execute them. Also, additional 
6872 changes 
6873 were made to help ensure that the reference counts are kept in proper 
6874 synchronization with reality. Rafael J. Wysocki.
6875
6876 1) Ensure that GPEs are not enabled twice during initialization.
6877 2) Ensure that GPE enable masks stay in sync with the reference count.
6878 3) Do not inadvertently enable GPEs when writing GPE registers.
6879 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
6880 interface. This interface will set or clear individual GPEs for wakeup.
6881 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
6882 interfaces 
6883 are now used for "runtime" GPEs only.
6884
6885 Changed the behavior of the GPE install/remove handler interfaces. The 
6886 GPE 
6887 is 
6888 no longer disabled during this process, as it was found to cause problems 
6889 on 
6890 some machines. Rafael J. Wysocki.
6891
6892 Reverted a change introduced in version 20100528 to enable Embedded 
6893 Controller multi-byte transfers. This change was found to cause problems 
6894 with 
6895 Index Fields and possibly Bank Fields. It will be reintroduced when these 
6896 problems have been resolved.
6897
6898 Fixed a problem with references to Alias objects within Package Objects. 
6899
6900 reference to an Alias within the definition of a Package was not always 
6901 resolved properly. Aliases to objects like Processors, Thermal zones, 
6902 etc. 
6903 were resolved to the actual object instead of a reference to the object 
6904 as 
6905 it 
6906 should be. Package objects are only allowed to contain integer, string, 
6907 buffer, package, and reference objects. Redhat bugzilla 608648.
6908
6909 Example Code and Data Size: These are the sizes for the OS-independent 
6910 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6911 debug version of the code includes the debug output trace mechanism and 
6912 has a 
6913 much larger code and data size.
6914
6915   Previous Release:
6916     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6917     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6918   Current Release:
6919     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6920     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6921
6922 2) iASL Compiler/Disassembler and Tools:
6923
6924 iASL: Implemented a new compiler subsystem to allow definition and 
6925 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
6926 These 
6927 are called "ACPI Data Tables", and the new compiler is the "Data Table 
6928 Compiler". This compiler is intended to simplify the existing error-prone 
6929 process of creating these tables for the BIOS, as well as allowing the 
6930 disassembly, modification, recompilation, and override of existing ACPI 
6931 data 
6932 tables. See the iASL User Guide for detailed information.
6933
6934 iASL: Implemented a new Template Generator option in support of the new 
6935 Data 
6936 Table Compiler. This option will create examples of all known ACPI tables 
6937 that can be used as the basis for table development. See the iASL 
6938 documentation and the -T option.
6939
6940 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
6941 Descriptor Table).
6942
6943 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
6944 object files in the local directory so that there can be no collisions 
6945 between the shared files between them that are generated with different 
6946 options.
6947
6948 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
6949 Use 
6950 the #define __APPLE__ to enable this support.
6951
6952 ----------------------------------------
6953 28 May 2010. Summary of changes for version 20100528:
6954
6955 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
6956 available at www.acpi.info. This is primarily an errata release.
6957
6958 1) ACPI CA Core Subsystem:
6959
6960 Undefined ACPI tables: We are looking for the definitions for the 
6961 following 
6962 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6963
6964 Implemented support to enable multi-byte transfers for Embedded 
6965 Controller 
6966 (EC) operation regions. Previously, the maximum data size passed to the 
6967 EC 
6968 operation region handler was a single byte. There are often EC Fields 
6969 larger 
6970 than one byte that need to be transferred, and it is useful for the EC 
6971 driver 
6972 to lock these as a single transaction. This change enables single 
6973 transfers 
6974 larger than 8 bits. This effectively changes the access to the EC space 
6975 from 
6976 ByteAcc to AnyAcc, and will probably require changes to the host OS 
6977 Embedded 
6978 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
6979 bit 
6980 transfers. Alexey Starikovskiy, Lin Ming
6981
6982 Implemented a performance enhancement for namespace search and access. 
6983 This 
6984 change enhances the performance of namespace searches and walks by adding 
6985
6986 backpointer to the parent in each namespace node. On large namespaces, 
6987 this 
6988 change can improve overall ACPI performance by up to 9X. Adding a pointer 
6989 to 
6990 each namespace node increases the overall size of the internal namespace 
6991 by 
6992 about 5%, since each namespace entry usually consists of both a namespace 
6993 node and an ACPI operand object. However, this is the first growth of the 
6994 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
6995
6996 Implemented a performance optimization that reduces the number of 
6997 namespace 
6998 walks. On control method exit, only walk the namespace if the method is 
6999 known 
7000 to have created namespace objects outside of its local scope. Previously, 
7001 the 
7002 entire namespace was traversed on each control method exit. This change 
7003 can 
7004 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
7005 Moore.
7006
7007 Added support to truncate I/O addresses to 16 bits for Windows 
7008 compatibility. 
7009 Some ASL code has been seen in the field that inadvertently has bits set 
7010 above bit 15. This feature is optional and is enabled if the BIOS 
7011 requests 
7012 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
7013 Garrett, Bob Moore.
7014
7015 Added support to limit the maximum time for the ASL Sleep() operator. To 
7016 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
7017 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
7018 bugzilla 854.
7019
7020 Added run-time validation support for the _WDG and_WED Microsoft 
7021 predefined 
7022 methods. These objects are defined by "Windows Instrumentation", and are 
7023 not 
7024 part of the ACPI spec. ACPICA BZ 860.
7025
7026 Expanded all statistic counters used during namespace and device 
7027 initialization from 16 to 32 bits in order to support very large 
7028 namespaces.
7029
7030 Replaced all instances of %d in printf format specifiers with %u since 
7031 nearly 
7032 all integers in ACPICA are unsigned.
7033
7034 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
7035 returned 
7036 as AE_NO_HANDLER.
7037
7038 Example Code and Data Size: These are the sizes for the OS-independent 
7039 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7040 debug version of the code includes the debug output trace mechanism and 
7041 has a 
7042 much larger code and data size.
7043
7044   Previous Release:
7045     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
7046     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
7047   Current Release:
7048     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
7049     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
7050
7051 2) iASL Compiler/Disassembler and Tools:
7052
7053 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
7054 methods. These objects are defined by "Windows Instrumentation", and are 
7055 not 
7056 part of the ACPI spec. ACPICA BZ 860.
7057
7058 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
7059 option will disable the tracking mechanism, which improves performance 
7060 considerably.
7061
7062 AcpiExec: Restructured the command line options into -d (disable) and -e 
7063 (enable) options.
7064
7065 ----------------------------------------
7066 28 April 2010. Summary of changes for version 20100428:
7067
7068 1) ACPI CA Core Subsystem:
7069
7070 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
7071 including FADT-based and GPE Block Devices, execute any _PRW methods in 
7072 the 
7073 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
7074 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
7075 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
7076 Devices. Provides compatibility with other ACPI implementations. Two new 
7077 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
7078 Moore.
7079
7080 Fixed a regression introduced in version 20100331 within the table 
7081 manager 
7082 where initial table loading could fail. This was introduced in the fix 
7083 for 
7084 AcpiReallocateRootTable. Also, renamed some of fields in the table 
7085 manager 
7086 data structures to clarify their meaning and use.
7087
7088 Fixed a possible allocation overrun during internal object copy in 
7089 AcpiUtCopySimpleObject. The original code did not correctly handle the 
7090 case 
7091 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
7092 847.
7093
7094 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
7095 possible access beyond end-of-allocation. Also, now fully validate 
7096 descriptor 
7097 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
7098
7099 Example Code and Data Size: These are the sizes for the OS-independent 
7100 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7101 debug version of the code includes the debug output trace mechanism and 
7102 has a 
7103 much larger code and data size.
7104
7105   Previous Release:
7106     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
7107     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
7108   Current Release:
7109     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
7110     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
7111
7112 2) iASL Compiler/Disassembler and Tools:
7113
7114 iASL: Implemented Min/Max/Len/Gran validation for address resource 
7115 descriptors. This change implements validation for the address fields 
7116 that 
7117 are common to all address-type resource descriptors. These checks are 
7118 implemented: Checks for valid Min/Max, length within the Min/Max window, 
7119 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
7120 per 
7121 table 6-40 in the ACPI 4.0a specification. Also split the large 
7122 aslrestype1.c 
7123 and aslrestype2.c files into five new files. ACPICA BZ 840.
7124
7125 iASL: Added support for the _Wxx predefined names. This support was 
7126 missing 
7127 and these names were not recognized by the compiler as valid predefined 
7128 names. ACPICA BZ 851.
7129
7130 iASL: Added an error for all predefined names that are defined to return 
7131 no 
7132 value and thus must be implemented as Control Methods. These include all 
7133 of 
7134 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
7135 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
7136
7137 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
7138 an 
7139 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
7140 be 
7141 dynamically loaded via the Load() operator. Also cleaned up output for 
7142 the 
7143 -
7144 ta and -tc options. ACPICA BZ 853.
7145
7146 Tests: Added a new file with examples of extended iASL error checking. 
7147 Demonstrates the advanced error checking ability of the iASL compiler. 
7148 Available at tests/misc/badcode.asl.
7149
7150 ----------------------------------------
7151 31 March 2010. Summary of changes for version 20100331:
7152
7153 1) ACPI CA Core Subsystem:
7154
7155 Completed a major update for the GPE support in order to improve support 
7156 for 
7157 shared GPEs and to simplify both host OS and ACPICA code. Added a 
7158 reference 
7159 count mechanism to support shared GPEs that require multiple device 
7160 drivers. 
7161 Several external interfaces have changed. One external interface has been 
7162 removed. One new external interface was added. Most of the GPE external 
7163 interfaces now use the GPE spinlock instead of the events mutex (and the 
7164 Flags parameter for many GPE interfaces has been removed.) See the 
7165 updated 
7166 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
7167 Rafael 
7168 Wysocki. ACPICA BZ 831.
7169
7170 Changed:
7171     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
7172 Removed:
7173     AcpiSetGpeType
7174 New:
7175     AcpiSetGpe
7176
7177 Implemented write support for DataTable operation regions. These regions 
7178 are 
7179 defined via the DataTableRegion() operator. Previously, only read support 
7180 was 
7181 implemented. The ACPI specification allows DataTableRegions to be 
7182 read/write, 
7183 however.
7184
7185 Implemented a new subsystem option to force a copy of the DSDT to local 
7186 memory. Optionally copy the entire DSDT to local memory (instead of 
7187 simply 
7188 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
7189 replace 
7190 the original DSDT, creating the need for this option. Default is FALSE, 
7191 do 
7192 not copy the DSDT.
7193
7194 Implemented detection of a corrupted or replaced DSDT. This change adds 
7195 support to detect a DSDT that has been corrupted and/or replaced from 
7196 outside 
7197 the OS (by firmware). This is typically catastrophic for the system, but 
7198 has 
7199 been seen on some machines. Once this problem has been detected, the DSDT 
7200 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
7201
7202 Fixed two problems with AcpiReallocateRootTable during the root table 
7203 copy. 
7204 When copying the root table to the new allocation, the length used was 
7205 incorrect. The new size was used instead of the current table size, 
7206 meaning 
7207 too much data was copied. Also, the count of available slots for ACPI 
7208 tables 
7209 was not set correctly. Alexey Starikovskiy, Bob Moore.
7210
7211 Example Code and Data Size: These are the sizes for the OS-independent 
7212 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7213 debug version of the code includes the debug output trace mechanism and 
7214 has a 
7215 much larger code and data size.
7216
7217   Previous Release:
7218     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7219     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7220   Current Release:
7221     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
7222     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
7223
7224 2) iASL Compiler/Disassembler and Tools:
7225
7226 iASL: Implement limited typechecking for values returned from predefined 
7227 control methods. The type of any returned static (unnamed) object is now 
7228 validated. For example, Return(1). ACPICA BZ 786.
7229
7230 iASL: Fixed a predefined name object verification regression. Fixes a 
7231 problem 
7232 introduced in version 20100304. An error is incorrectly generated if a 
7233 predefined name is declared as a static named object with a value defined 
7234 using the keywords "Zero", "One", or "Ones". Lin Ming.
7235
7236 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
7237 by 
7238 reducing the requested registry access rights. ACPICA BZ 842.
7239
7240 Disassembler: fixed a possible fault when generating External() 
7241 statements. 
7242 Introduced in commit ae7d6fd: Properly handle externals with parent-
7243 prefix 
7244 (carat). Fixes a string length allocation calculation. Lin Ming.
7245
7246 ----------------------------------------
7247 04 March 2010. Summary of changes for version 20100304:
7248
7249 1) ACPI CA Core Subsystem:
7250
7251 Fixed a possible problem with the AML Mutex handling function 
7252 AcpiExReleaseMutex where the function could fault under the very rare 
7253 condition when the interpreter has blocked, the interpreter lock is 
7254 released, 
7255 the interpreter is then reentered via the same thread, and attempts to 
7256 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
7257 Lin 
7258 Ming.
7259
7260 Implemented additional configuration support for the AML "Debug Object". 
7261 Output from the debug object can now be enabled via a global variable, 
7262 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
7263 debugging. 
7264 This debug output is now available in the release version of ACPICA 
7265 instead 
7266 of just the debug version. Also, the entire debug output module can now 
7267 be 
7268 configured out of the ACPICA build if desired. One new file added, 
7269 executer/exdebug.c. Lin Ming, Bob Moore.
7270
7271 Added header support for the ACPI MCHI table (Management Controller Host 
7272 Interface Table). This table was added in ACPI 4.0, but the defining 
7273 document 
7274 has only recently become available.
7275
7276 Standardized output of integer values for ACPICA warnings/errors. Always 
7277 use 
7278 0x prefix for hex output, always use %u for unsigned integer decimal 
7279 output. 
7280 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
7281 400 
7282 invocations.) These invocations were converted from the original 
7283 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
7284
7285 Example Code and Data Size: These are the sizes for the OS-independent 
7286 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7287 debug version of the code includes the debug output trace mechanism and 
7288 has a 
7289 much larger code and data size.
7290
7291   Previous Release:
7292     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7293     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7294   Current Release:
7295     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7296     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7297
7298 2) iASL Compiler/Disassembler and Tools:
7299
7300 iASL: Implemented typechecking support for static (non-control method) 
7301 predefined named objects that are declared with the Name() operator. For 
7302 example, the type of this object is now validated to be of type Integer: 
7303 Name(_BBN, 1). This change migrates the compiler to using the core 
7304 predefined 
7305 name table instead of maintaining a local version. Added a new file, 
7306 aslpredef.c. ACPICA BZ 832.
7307
7308 Disassembler: Added support for the ACPI 4.0 MCHI table.
7309
7310 ----------------------------------------
7311 21 January 2010. Summary of changes for version 20100121:
7312
7313 1) ACPI CA Core Subsystem:
7314
7315 Added the 2010 copyright to all module headers and signons. This affects 
7316 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
7317 tools/utilities, and the test suites.
7318
7319 Implemented a change to the AcpiGetDevices interface to eliminate 
7320 unnecessary 
7321 invocations of the _STA method. In the case where a specific _HID is 
7322 requested, do not run _STA until a _HID match is found. This eliminates 
7323 potentially dozens of _STA calls during a search for a particular 
7324 device/HID, 
7325 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
7326
7327 Implemented an additional repair for predefined method return values. 
7328 Attempt 
7329 to repair unexpected NULL elements within returned Package objects. 
7330 Create 
7331 an 
7332 Integer of value zero, a NULL String, or a zero-length Buffer as 
7333 appropriate. 
7334 ACPICA BZ 818. Lin Ming, Bob Moore.
7335
7336 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
7337 the 
7338 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
7339 (with 
7340 64-bit AML integers). It is now obsolete and this change removes it from 
7341 the 
7342 ACPICA code base, replaced by UINT64. The original typedef has been 
7343 retained 
7344 for now for compatibility with existing device driver code. ACPICA BZ 
7345 824.
7346
7347 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
7348 in 
7349 the parse tree object.
7350
7351 Added additional warning options for the gcc-4 generation. Updated the 
7352 source 
7353 accordingly. This includes some code restructuring to eliminate 
7354 unreachable 
7355 code, elimination of some gotos, elimination of unused return values, 
7356 some 
7357 additional casting, and removal of redundant declarations.
7358
7359 Example Code and Data Size: These are the sizes for the OS-independent 
7360 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7361 debug version of the code includes the debug output trace mechanism and 
7362 has a 
7363 much larger code and data size.
7364
7365   Previous Release:
7366     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7367     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7368   Current Release:
7369     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7370     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7371
7372 2) iASL Compiler/Disassembler and Tools:
7373
7374 No functional changes for this release.
7375
7376 ----------------------------------------
7377 14 December 2009. Summary of changes for version 20091214:
7378
7379 1) ACPI CA Core Subsystem:
7380
7381 Enhanced automatic data type conversions for predefined name repairs. 
7382 This 
7383 change expands the automatic repairs/conversions for predefined name 
7384 return 
7385 values to make Integers, Strings, and Buffers fully interchangeable. 
7386 Also, 
7387
7388 Buffer can be converted to a Package of Integers if necessary. The 
7389 nsrepair.c 
7390 module was completely restructured. Lin Ming, Bob Moore.
7391
7392 Implemented automatic removal of null package elements during predefined 
7393 name 
7394 repairs. This change will automatically remove embedded and trailing NULL 
7395 package elements from returned package objects that are defined to 
7396 contain 
7397
7398 variable number of sub-packages. The driver is then presented with a 
7399 package 
7400 with no null elements to deal with. ACPICA BZ 819.
7401
7402 Implemented a repair for the predefined _FDE and _GTM names. The expected 
7403 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
7404 two 
7405 possible problems (both seen in the field), where a package of integers 
7406 is 
7407 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
7408 Kim.
7409
7410 Implemented additional module-level code support. This change will 
7411 properly 
7412 execute module-level code that is not at the root of the namespace (under 
7413
7414 Device object, etc.). Now executes the code within the current scope 
7415 instead 
7416 of the root. ACPICA BZ 762. Lin Ming.
7417
7418 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
7419
7420 problem where mutex errors can occur when running a _REG method that is 
7421 in 
7422 the same scope as a method-defined operation region or an operation 
7423 region 
7424 under a module-level IF block. This type of code is rare, so the problem 
7425 has 
7426 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
7427
7428 Fixed a possible memory leak during module-level code execution. An 
7429 object 
7430 could be leaked for each block of executed module-level code if the 
7431 interpreter slack mode is enabled This change deletes any implicitly 
7432 returned 
7433 object from the module-level code block. Lin Ming.
7434
7435 Removed messages for successful predefined repair(s). The repair 
7436 mechanism 
7437 was considered too wordy. Now, messages are only unconditionally emitted 
7438 if 
7439 the return object cannot be repaired. Existing messages for successful 
7440 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
7441 827.
7442
7443 Example Code and Data Size: These are the sizes for the OS-independent 
7444 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7445 debug version of the code includes the debug output trace mechanism and 
7446 has a 
7447 much larger code and data size.
7448
7449   Previous Release:
7450     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7451     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7452   Current Release:
7453     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7454     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7455
7456 2) iASL Compiler/Disassembler and Tools:
7457
7458 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
7459 files 
7460 were no longer automatically removed at the termination of the compile.
7461
7462 acpiexec: Implemented the -f option to specify default region fill value. 
7463 This option specifies the value used to initialize buffers that simulate 
7464 operation regions. Default value is zero. Useful for debugging problems 
7465 that 
7466 depend on a specific initial value for a region or field.
7467
7468 ----------------------------------------
7469 12 November 2009. Summary of changes for version 20091112:
7470
7471 1) ACPI CA Core Subsystem:
7472
7473 Implemented a post-order callback to AcpiWalkNamespace. The existing 
7474 interface only has a pre-order callback. This change adds an additional 
7475 parameter for a post-order callback which will be more useful for bus 
7476 scans. 
7477 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
7478
7479 Modified the behavior of the operation region memory mapping cache for 
7480 SystemMemory. Ensure that the memory mappings created for operation 
7481 regions 
7482 do not cross 4K page boundaries. Crossing a page boundary while mapping 
7483 regions can cause kernel warnings on some hosts if the pages have 
7484 different 
7485 attributes. Such regions are probably BIOS bugs, and this is the 
7486 workaround. 
7487 Linux BZ 14445. Lin Ming.
7488
7489 Implemented an automatic repair for predefined methods that must return 
7490 sorted lists. This change will repair (by sorting) packages returned by 
7491 _ALR, 
7492 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
7493 sorted 
7494 and do not contain NULL package elements. Adds one new file, 
7495 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
7496
7497 Fixed a possible fault during predefined name validation if a return 
7498 Package 
7499 object contains NULL elements. Also adds a warning if a NULL element is 
7500 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
7501 may 
7502 include repair or removal of all such NULL elements where possible.
7503
7504 Implemented additional module-level executable AML code support. This 
7505 change 
7506 will execute module-level code that is not at the root of the namespace 
7507 (under a Device object, etc.) at table load time. Module-level executable 
7508 AML 
7509 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
7510
7511 Implemented a new internal function to create Integer objects. This 
7512 function 
7513 simplifies miscellaneous object creation code. ACPICA BZ 823.
7514
7515 Reduced the severity of predefined repair messages, Warning to Info. 
7516 Since 
7517 the object was successfully repaired, a warning is too severe. Reduced to 
7518 an 
7519 info message for now. These messages may eventually be changed to debug-
7520 only. 
7521 ACPICA BZ 812.
7522
7523 Example Code and Data Size: These are the sizes for the OS-independent 
7524 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7525 debug version of the code includes the debug output trace mechanism and 
7526 has a 
7527 much larger code and data size.
7528
7529   Previous Release:
7530     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7531     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7532   Current Release:
7533     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7534     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7535
7536 2) iASL Compiler/Disassembler and Tools:
7537
7538 iASL: Implemented Switch() with While(1) so that Break works correctly. 
7539 This 
7540 change correctly implements the Switch operator with a surrounding 
7541 While(1) 
7542 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
7543
7544 iASL: Added a message if a package initializer list is shorter than 
7545 package 
7546 length. Adds a new remark for a Package() declaration if an initializer 
7547 list 
7548 exists, but is shorter than the declared length of the package. Although 
7549 technically legal, this is probably a coding error and it is seen in the 
7550 field. ACPICA BZ 815. Lin Ming, Bob Moore.
7551
7552 iASL: Fixed a problem where the compiler could fault after the maximum 
7553 number 
7554 of errors was reached (200).
7555
7556 acpixtract: Fixed a possible warning for pointer cast if the compiler 
7557 warning 
7558 level set very high.
7559
7560 ----------------------------------------
7561 13 October 2009. Summary of changes for version 20091013:
7562
7563 1) ACPI CA Core Subsystem:
7564
7565 Fixed a problem where an Operation Region _REG method could be executed 
7566 more 
7567 than once. If a custom address space handler is installed by the host 
7568 before 
7569 the "initialize operation regions" phase of the ACPICA initialization, 
7570 any 
7571 _REG methods for that address space could be executed twice. This change 
7572 fixes the problem. ACPICA BZ 427. Lin Ming.
7573
7574 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
7575 invocation of "Scope(\)" is executed (change scope to root), one internal 
7576 operand object was leaked. Lin Ming.
7577
7578 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
7579 return value is defined as a Field object in the AML, and the field
7580 size is less than or equal to the default width of an integer (32 or 
7581 64),_MAT 
7582 can incorrectly return an Integer instead of a Buffer. ACPICA now 
7583 automatically repairs this problem. ACPICA BZ 810.
7584
7585 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
7586 The 
7587 "OEM Information" field is often incorrectly returned as an Integer with 
7588 value zero if the field is not supported by the platform. This is due to 
7589 an 
7590 ambiguity in the ACPI specification. The field should always be a string. 
7591 ACPICA now automatically repairs this problem by returning a NULL string 
7592 within the returned Package. ACPICA BZ 807.
7593
7594 Example Code and Data Size: These are the sizes for the OS-independent 
7595 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7596 debug version of the code includes the debug output trace mechanism and 
7597 has a 
7598 much larger code and data size.
7599
7600   Previous Release:
7601     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7602     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7603   Current Release:
7604     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7605     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7606
7607 2) iASL Compiler/Disassembler and Tools:
7608
7609 Disassembler: Fixed a problem where references to external symbols that 
7610 contained one or more parent-prefixes (carats) were not handled 
7611 correctly, 
7612 possibly causing a fault. ACPICA BZ 806. Lin Ming.
7613
7614 Disassembler: Restructured the code so that all functions that handle 
7615 external symbols are in a single module. One new file is added, 
7616 common/dmextern.c.
7617
7618 AML Debugger: Added a max count argument for the Batch command (which 
7619 executes multiple predefined methods within the namespace.)
7620
7621 iASL: Updated the compiler documentation (User Reference.) Available at 
7622 http://www.acpica.org/documentation/. ACPICA BZ 750.
7623
7624 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
7625 files.
7626
7627 ----------------------------------------
7628 03 September 2009. Summary of changes for version 20090903:
7629
7630 1) ACPI CA Core Subsystem:
7631
7632 For Windows Vista compatibility, added the automatic execution of an _INI 
7633 method located at the namespace root (\_INI). This method is executed at 
7634 table load time. This support is in addition to the automatic execution 
7635 of 
7636 \_SB._INI. Lin Ming.
7637
7638 Fixed a possible memory leak in the interpreter for AML package objects 
7639 if 
7640 the package initializer list is longer than the defined size of the 
7641 package. 
7642 This apparently can only happen if the BIOS changes the package size on 
7643 the 
7644 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
7645 interpreter will truncate the package to the defined size (and issue an 
7646 error 
7647 message), but previously could leave the extra objects undeleted if they 
7648 were 
7649 pre-created during the argument processing (such is the case if the 
7650 package 
7651 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
7652
7653 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
7654 This has been reported in the field. Previously, ACPICA would zero out 
7655 the 
7656 buffer/string. Now, the operation is treated as a noop. Provides Windows 
7657 compatibility. ACPICA BZ 803. Lin Ming.
7658
7659 Removed an extraneous error message for ASL constructs of the form 
7660 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
7661 statements 
7662 are seen in many BIOSs and are once again treated as NOOPs and no error 
7663 is 
7664 emitted when they are encountered. ACPICA BZ 785.
7665
7666 Fixed an extraneous warning message if a _DSM reserved method returns a 
7667 Package object. _DSM can return any type of object, so validation on the 
7668 return type cannot be performed. ACPICA BZ 802.
7669
7670 Example Code and Data Size: These are the sizes for the OS-independent 
7671 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7672 debug version of the code includes the debug output trace mechanism and 
7673 has a 
7674 much larger code and data size.
7675
7676   Previous Release:
7677     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7678     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7679   Current Release:
7680     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7681     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7682
7683 2) iASL Compiler/Disassembler and Tools:
7684
7685 iASL: Fixed a problem with the use of the Alias operator and Resource 
7686 Templates. The correct alias is now constructed and no error is emitted. 
7687 ACPICA BZ 738.
7688
7689 iASL: Implemented the -I option to specify additional search directories 
7690 for 
7691 include files. Allows multiple additional search paths for include files. 
7692 Directories are searched in the order specified on the command line 
7693 (after 
7694 the local directory is searched.) ACPICA BZ 800.
7695
7696 iASL: Fixed a problem where the full pathname for include files was not 
7697 emitted for warnings/errors. This caused the IDE support to not work 
7698 properly. ACPICA BZ 765.
7699
7700 iASL: Implemented the -@ option to specify a Windows-style response file 
7701 containing additional command line options. ACPICA BZ 801.
7702
7703 AcpiExec: Added support to load multiple AML files simultaneously (such 
7704 as 
7705
7706 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
7707 pathname. These features allow all machine tables to be easily loaded and 
7708 debugged together. ACPICA BZ 804.
7709
7710 Disassembler: Added missing support for disassembly of HEST table Error 
7711 Bank 
7712 subtables. 
7713
7714 ----------------------------------------
7715 30 July 2009. Summary of changes for version 20090730:
7716
7717 The ACPI 4.0 implementation for ACPICA is complete with this release.
7718
7719 1) ACPI CA Core Subsystem:
7720
7721 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
7722 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
7723 new 
7724 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
7725 BERT, 
7726 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
7727 There 
7728 have been some ACPI 4.0 changes to other existing tables. Split the large 
7729 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
7730
7731 ACPI 4.0: Implemented predefined name validation for all new names. There 
7732 are 
7733 31 new names in ACPI 4.0. The predefined validation module was split into 
7734 two 
7735 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
7736
7737 Implemented support for so-called "module-level executable code". This is 
7738 executable AML code that exists outside of any control method and is 
7739 intended 
7740 to be executed at table load time. Although illegal since ACPI 2.0, this 
7741 type 
7742 of code still exists and is apparently still being created. Blocks of 
7743 this 
7744 code are now detected and executed as intended. Currently, the code 
7745 blocks 
7746 must exist under either an If, Else, or While construct; these are the 
7747 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
7748
7749 Implemented an automatic dynamic repair for predefined names that return 
7750 nested Package objects. This applies to predefined names that are defined 
7751 to 
7752 return a variable-length Package of sub-packages. If the number of sub-
7753 packages is one, BIOS code is occasionally seen that creates a simple 
7754 single 
7755 package with no sub-packages. This code attempts to fix the problem by 
7756 wrapping a new package object around the existing package. These methods 
7757 can 
7758 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
7759 BZ 
7760 790.
7761
7762 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
7763 interface. 
7764 The _HID/_CID matching was broken and no longer matched IDs correctly. 
7765 ACPICA 
7766 BZ 793.
7767
7768 Fixed a problem with AcpiReset where the reset would silently fail if the 
7769 register was one of the protected I/O ports. AcpiReset now bypasses the 
7770 port 
7771 validation mechanism. This may eventually be driven into the 
7772 AcpiRead/Write 
7773 interfaces.
7774
7775 Fixed a regression related to the recent update of the AcpiRead/Write 
7776 interfaces. A sleep/suspend could fail if the optional PM2 Control 
7777 register 
7778 does not exist during an attempt to write the Bus Master Arbitration bit. 
7779 (However, some hosts already delete the code that writes this bit, and 
7780 the 
7781 code may in fact be obsolete at this date.) ACPICA BZ 799.
7782
7783 Fixed a problem where AcpiTerminate could fault if inadvertently called 
7784 twice 
7785 in succession. ACPICA BZ 795.
7786
7787 Example Code and Data Size: These are the sizes for the OS-independent 
7788 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7789 debug version of the code includes the debug output trace mechanism and 
7790 has a 
7791 much larger code and data size.
7792
7793   Previous Release:
7794     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7795     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7796   Current Release:
7797     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7798     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7799
7800 2) iASL Compiler/Disassembler and Tools:
7801
7802 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
7803 changes to existing tables. ACPICA BZ 775.
7804
7805 ----------------------------------------
7806 25 June 2009. Summary of changes for version 20090625:
7807
7808 The ACPI 4.0 Specification was released on June 16 and is available at 
7809 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
7810 continue for the next few releases.
7811
7812 1) ACPI CA Core Subsystem:
7813
7814 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
7815 address space. Includes support for bi-directional data buffers and an 
7816 IPMI 
7817 address space handler (to be installed by an IPMI device driver.) ACPICA 
7818 BZ 
7819 773. Lin Ming.
7820
7821 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
7822 Includes 
7823 support in both the header files and the disassembler.
7824
7825 Completed a major update for the AcpiGetObjectInfo external interface. 
7826 Changes include:
7827  - Support for variable, unlimited length HID, UID, and CID strings.
7828  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
7829 etc.)
7830  - Call the _SxW power methods on behalf of a device object.
7831  - Determine if a device is a PCI root bridge.
7832  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
7833 These changes will require an update to all callers of this interface. 
7834 See 
7835 the updated ACPICA Programmer Reference for details. One new source file 
7836 has 
7837 been added - utilities/utids.c. ACPICA BZ 368, 780.
7838
7839 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
7840 transfers. The Value parameter has been extended from 32 bits to 64 bits 
7841 in 
7842 order to support new ACPI 4.0 tables. These changes will require an 
7843 update 
7844 to 
7845 all callers of these interfaces. See the ACPICA Programmer Reference for 
7846 details. ACPICA BZ 768.
7847
7848 Fixed several problems with AcpiAttachData. The handler was not invoked 
7849 when 
7850 the host node was deleted. The data sub-object was not automatically 
7851 deleted 
7852 when the host node was deleted. The interface to the handler had an 
7853 unused 
7854 parameter, this was removed. ACPICA BZ 778.
7855
7856 Enhanced the function that dumps ACPI table headers. All non-printable 
7857 characters in the string fields are now replaced with '?' (Signature, 
7858 OemId, 
7859 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
7860 these fields are occasionally seen in the field. ACPICA BZ 788.
7861
7862 Fixed a problem with predefined method repair code where the code that 
7863 attempts to repair/convert an object of incorrect type is only executed 
7864 on 
7865 the first time the predefined method is called. The mechanism that 
7866 disables 
7867 warnings on subsequent calls was interfering with the repair mechanism. 
7868 ACPICA BZ 781.
7869
7870 Fixed a possible memory leak in the predefined validation/repair code 
7871 when 
7872
7873 buffer is automatically converted to an expected string object.
7874
7875 Removed obsolete 16-bit files from the distribution and from the current 
7876 git 
7877 tree head. ACPICA BZ 776.
7878
7879 Example Code and Data Size: These are the sizes for the OS-independent 
7880 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7881 debug version of the code includes the debug output trace mechanism and 
7882 has a 
7883 much larger code and data size.
7884
7885   Previous Release:
7886     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7887     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7888   Current Release:
7889     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7890     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7891
7892 2) iASL Compiler/Disassembler and Tools:
7893
7894 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
7895 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
7896
7897 ACPI 4.0: iASL - implemented compile-time validation support for all new 
7898 predefined names and control methods (31 total). ACPICA BZ 769.
7899
7900 ----------------------------------------
7901 21 May 2009. Summary of changes for version 20090521:
7902
7903 1) ACPI CA Core Subsystem:
7904
7905 Disabled the preservation of the SCI enable bit in the PM1 control 
7906 register. 
7907 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
7908 to 
7909 be 
7910 a "preserved" bit - "OSPM always preserves this bit position", section 
7911 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
7912 because the bit needs to be explicitly set by the OS as a workaround. No 
7913 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
7914 attempts to preserve this bit.
7915
7916 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
7917 incorrectly formed _PRT package could cause a fault. Added validation to 
7918 ensure that each package element is actually a sub-package.
7919
7920 Implemented a new interface to install or override a single control 
7921 method, 
7922 AcpiInstallMethod. This interface is useful when debugging in order to 
7923 repair 
7924 an existing method or to install a missing method without having to 
7925 override 
7926 the entire ACPI table. See the ACPICA Programmer Reference for use and 
7927 examples. Lin Ming, Bob Moore.
7928
7929 Fixed several reference count issues with the DdbHandle object that is 
7930 created from a Load or LoadTable operator. Prevent premature deletion of 
7931 the 
7932 object. Also, mark the object as invalid once the table has been 
7933 unloaded. 
7934 This is needed because the handle itself may not be deleted after the 
7935 table 
7936 unload, depending on whether it has been stored in a named object by the 
7937 caller. Lin Ming.
7938
7939 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
7940 mutexes of the same sync level are acquired but then not released in 
7941 strict 
7942 opposite order, the internally maintained Current Sync Level becomes 
7943 confused 
7944 and can cause subsequent execution errors. ACPICA BZ 471.
7945
7946 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
7947 specification has been changed to make the SyncLevel for mutex objects 
7948 more 
7949 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
7950 the 
7951 same as the current sync level. This makes more sense than the previous 
7952 rule 
7953 (SyncLevel less than or equal). This change updates the code to match the 
7954 specification.
7955
7956 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
7957 The 
7958 (local) cache must be locked during all cache object deletions. Andrew 
7959 Baumann.
7960
7961 Updated the Load operator to use operation region interfaces. This 
7962 replaces 
7963 direct memory mapping with region access calls. Now, all region accesses 
7964 go 
7965 through the installed region handler as they should.
7966
7967 Simplified and optimized the NsGetNextNode function. Reduced parameter 
7968 count 
7969 and reduced code for this frequently used function.
7970
7971 Example Code and Data Size: These are the sizes for the OS-independent 
7972 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7973 debug version of the code includes the debug output trace mechanism and 
7974 has a 
7975 much larger code and data size.
7976
7977   Previous Release:
7978     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7979     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7980   Current Release:
7981     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7982     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7983
7984 2) iASL Compiler/Disassembler and Tools:
7985
7986 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
7987 problems 
7988 with sub-table disassembly and handling invalid sub-tables. Attempt 
7989 recovery 
7990 after an invalid sub-table ID.
7991
7992 ----------------------------------------
7993 22 April 2009. Summary of changes for version 20090422:
7994
7995 1) ACPI CA Core Subsystem:
7996
7997 Fixed a compatibility issue with the recently released I/O port 
7998 protection 
7999 mechanism. For windows compatibility, 1) On a port protection violation, 
8000 simply ignore the request and do not return an exception (allow the 
8001 control 
8002 method to continue execution.) 2) If only part of the request overlaps a 
8003 protected port, read/write the individual ports that are not protected. 
8004 Linux 
8005 BZ 13036. Lin Ming
8006
8007 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
8008 actually 
8009 breaks into the AML debugger if the debugger is present. This matches the 
8010 ACPI-defined behavior.
8011
8012 Fixed several possible warnings related to the use of the configurable 
8013 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
8014 pointer with no warnings. Also fixes several warnings in printf-like 
8015 statements for the 64-bit build when the type is configured as a pointer. 
8016 ACPICA BZ 766, 767.
8017
8018 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
8019 on 
8020 warning options.) Examples include printf formats, aliasing, unused 
8021 globals, 
8022 missing prototypes, missing switch default statements, use of non-ANSI 
8023 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
8024 for 
8025 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
8026
8027 Example Code and Data Size: These are the sizes for the OS-independent 
8028 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8029 debug version of the code includes the debug output trace mechanism and 
8030 has a 
8031 much larger code and data size.
8032
8033   Previous Release:
8034     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
8035     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
8036   Current Release:
8037     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
8038     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
8039
8040 2) iASL Compiler/Disassembler and Tools:
8041
8042 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
8043 warnings 
8044 on 
8045 the 64-bit build.
8046
8047 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
8048 not 
8049 correctly digest Windows/DOS formatted files (with CR/LF).
8050
8051 iASL: Added a new option for "quiet mode" (-va) that produces only the 
8052 compilation summary, not individual errors and warnings. Useful for large 
8053 batch compilations.
8054
8055 AcpiExec: Implemented a new option (-z) to enable a forced 
8056 semaphore/mutex 
8057 timeout that can be used to detect hang conditions during execution of 
8058 AML 
8059 code (includes both internal semaphores and AML-defined mutexes and 
8060 events.)
8061
8062 Added new makefiles for the generation of acpica in a generic unix-like 
8063 environment. These makefiles are intended to generate the acpica tools 
8064 and 
8065 utilities from the original acpica git source tree structure.
8066
8067 Test Suites: Updated and cleaned up the documentation files. Updated the 
8068 copyrights to 2009, affecting all source files. Use the new version of 
8069 iASL 
8070 with quiet mode. Increased the number of available semaphores in the 
8071 Windows 
8072 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
8073 added 
8074 an alternate implementation of the semaphore timeout to allow aslts to 
8075 execute fully on Cygwin.
8076
8077 ----------------------------------------
8078 20 March 2009. Summary of changes for version 20090320:
8079
8080 1) ACPI CA Core Subsystem:
8081
8082 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
8083 table 
8084 unloads. Added a reader/writer locking mechanism to allow multiple 
8085 concurrent 
8086 namespace walks (readers), but block a dynamic table unload until it can 
8087 gain 
8088 exclusive write access to the namespace. This fixes a problem where a 
8089 table 
8090 unload could (possibly catastrophically) delete the portion of the 
8091 namespace 
8092 that is currently being examined by a walk. Adds a new file, utlock.c, 
8093 that 
8094 implements the reader/writer lock mechanism. ACPICA BZ 749.
8095
8096 Fixed a regression introduced in version 20090220 where a change to the 
8097 FADT 
8098 handling could cause the ACPICA subsystem to access non-existent I/O 
8099 ports.
8100
8101 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
8102 The 
8103 FADT can contain both 32-bit and 64-bit versions of these addresses. 
8104 Previously, the 64-bit versions were favored, meaning that if both 32 and 
8105 64 
8106 versions were valid, but not equal, the 64-bit version was used. This was 
8107 found to cause some machines to fail. Now, in this case, the 32-bit 
8108 version 
8109 is used instead. This now matches the Windows behavior.
8110
8111 Implemented a new mechanism to protect certain I/O ports. Provides 
8112 Microsoft 
8113 compatibility and protects the standard PC I/O ports from access via AML 
8114 code. Adds a new file, hwvalid.c
8115
8116 Fixed a possible extraneous warning message from the FADT support. The 
8117 message warns of a 32/64 length mismatch between the legacy and GAS 
8118 definitions for a register.
8119
8120 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
8121 is 
8122 made obsolete by the port protection mechanism above. It was previously 
8123 used 
8124 to validate the entire address range of an operation region, which could 
8125 be 
8126 incorrect if the range included illegal ports, but fields within the 
8127 operation region did not actually access those ports. Validation is now 
8128 performed on a per-field basis instead of the entire region.
8129
8130 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
8131 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
8132 this 
8133 means a read/modify/write when writing to the register. However, for 
8134 status 
8135 registers, writing a one means clear the event. Writing a zero means 
8136 preserve 
8137 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
8138 spec, 
8139 and the ACPICA code now simply always writes a zero to the ignored bit.
8140
8141 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
8142 As 
8143 per the ACPI specification, for the control registers, preserve 
8144 (read/modify/write) all bits that are defined as either reserved or 
8145 ignored.
8146
8147 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
8148 When reading the register, zero the write-only bits as per the ACPI spec. 
8149 ACPICA BZ 443. Lin Ming.
8150
8151 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
8152 wants to reply true to this request. The Windows strings are the only 
8153 paths 
8154 through the AML that are tested and known to work properly.
8155
8156   Previous Release:
8157     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8158     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8159   Current Release:
8160     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
8161     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
8162
8163 2) iASL Compiler/Disassembler and Tools:
8164
8165 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
8166 and 
8167 aetables.c
8168
8169 ----------------------------------------
8170 20 February 2009. Summary of changes for version 20090220:
8171
8172 1) ACPI CA Core Subsystem:
8173
8174 Optimized the ACPI register locking. Removed locking for reads from the 
8175 ACPI 
8176 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
8177 is 
8178 not required when reading the single-bit registers. The 
8179 AcpiGetRegisterUnlocked function is no longer needed and has been 
8180 removed. 
8181 This will improve performance for reads on these registers. ACPICA BZ 
8182 760.
8183
8184 Fixed the parameter validation for AcpiRead/Write. Now return 
8185 AE_BAD_PARAMETER if the input register pointer is null, and 
8186 AE_BAD_ADDRESS 
8187 if 
8188 the register has an address of zero. Previously, these cases simply 
8189 returned 
8190 AE_OK. For optional registers such as PM1B status/enable/control, the 
8191 caller 
8192 should check for a valid register address before calling. ACPICA BZ 748.
8193
8194 Renamed the external ACPI bit register access functions. Renamed 
8195 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
8196 functions. The new names are AcpiReadBitRegister and 
8197 AcpiWriteBitRegister. 
8198 Also, restructured the code for these functions by simplifying the code 
8199 path 
8200 and condensing duplicate code to reduce code size.
8201
8202 Added new functions to transparently handle the possibly split PM1 A/B 
8203 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
8204 functions 
8205 now handle the split registers for PM1 Status, Enable, and Control. 
8206 ACPICA 
8207 BZ 
8208 746.
8209
8210 Added a function to handle the PM1 control registers, 
8211 AcpiHwWritePm1Control. 
8212 This function writes both of the PM1 control registers (A/B). These 
8213 registers 
8214 are different than the PM1 A/B status and enable registers in that 
8215 different 
8216 values can be written to the A/B registers. Most notably, the SLP_TYP 
8217 bits 
8218 can be different, as per the values returned from the _Sx predefined 
8219 methods.
8220
8221 Removed an extra register write within AcpiHwClearAcpiStatus. This 
8222 function 
8223 was writing an optional PM1B status register twice. The existing call to 
8224 the 
8225 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
8226 A/B 
8227 register. ACPICA BZ 751.
8228
8229 Split out the PM1 Status registers from the FADT. Added new globals for 
8230 these 
8231 registers (A/B), similar to the way the PM1 Enable registers are handled. 
8232 Instead of overloading the FADT Event Register blocks. This makes the 
8233 code 
8234 clearer and less prone to error.
8235
8236 Fixed the warning message for when the platform contains too many ACPI 
8237 tables 
8238 for the default size of the global root table data structure. The 
8239 calculation 
8240 for the truncation value was incorrect.
8241
8242 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
8243 obsolete macro, since it is now a simple reference to ->common.type. 
8244 There 
8245 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
8246
8247 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
8248 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
8249 simply SLEEP_TYPE. ACPICA BZ 754.
8250
8251 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
8252 function is only needed on 64-bit host operating systems and is thus not 
8253 included for 32-bit hosts.
8254
8255 Debug output: print the input and result for invocations of the _OSI 
8256 reserved 
8257 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
8258 the 
8259 verbosity of this debug level. Len Brown.
8260
8261 Example Code and Data Size: These are the sizes for the OS-independent 
8262 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8263 debug version of the code includes the debug output trace mechanism and 
8264 has a 
8265 much larger code and data size.
8266
8267   Previous Release:
8268     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8269     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8270   Current Release:
8271     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8272     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8273
8274 2) iASL Compiler/Disassembler and Tools:
8275
8276 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
8277 various legal performance profiles.
8278
8279 ----------------------------------------
8280 23 January 2009. Summary of changes for version 20090123:
8281
8282 1) ACPI CA Core Subsystem:
8283
8284 Added the 2009 copyright to all module headers and signons. This affects 
8285 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
8286 the tools/utilities.
8287
8288 Implemented a change to allow the host to override any ACPI table, 
8289 including 
8290 dynamically loaded tables. Previously, only the DSDT could be replaced by 
8291 the 
8292 host. With this change, the AcpiOsTableOverride interface is called for 
8293 each 
8294 table found in the RSDT/XSDT during ACPICA initialization, and also 
8295 whenever 
8296 a table is dynamically loaded via the AML Load operator.
8297
8298 Updated FADT flag definitions, especially the Boot Architecture flags.
8299
8300 Debugger: For the Find command, automatically pad the input ACPI name 
8301 with 
8302 underscores if the name is shorter than 4 characters. This enables a 
8303 match 
8304 with the actual namespace entry which is itself padded with underscores.
8305
8306 Example Code and Data Size: These are the sizes for the OS-independent 
8307 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8308 debug version of the code includes the debug output trace mechanism and 
8309 has a 
8310 much larger code and data size.
8311
8312   Previous Release:
8313     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8314     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8315   Current Release:
8316     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8317     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8318
8319 2) iASL Compiler/Disassembler and Tools:
8320
8321 Fix build error under Bison-2.4.
8322
8323 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
8324 Architecture 
8325 flags. Now decode all flags, regardless of the FADT version. Flag output 
8326 includes the FADT version which first defined each flag.
8327
8328 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
8329 and 
8330 DSDT). Windows only.
8331
8332 ----------------------------------------
8333 04 December 2008. Summary of changes for version 20081204:
8334
8335 1) ACPI CA Core Subsystem:
8336
8337 The ACPICA Programmer Reference has been completely updated and revamped 
8338 for 
8339 this release. This includes updates to the external interfaces, OSL 
8340 interfaces, the overview sections, and the debugger reference.
8341
8342 Several new ACPICA interfaces have been implemented and documented in the 
8343 programmer reference:
8344 AcpiReset - Writes the reset value to the FADT-defined reset register.
8345 AcpiDisableAllGpes - Disable all available GPEs.
8346 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
8347 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
8348 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
8349 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
8350 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
8351
8352 Most of the public ACPI hardware-related interfaces have been moved to a 
8353 new 
8354 file, components/hardware/hwxface.c
8355
8356 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
8357 register lengths within the FADT are now used, and the low level ACPI 
8358 register access no longer hardcodes the ACPI register lengths. Given that 
8359 there may be some risk in actually trusting the FADT register lengths, a 
8360 run-
8361 time option was added to fall back to the default hardcoded lengths if 
8362 the 
8363 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
8364 option is set to true for now, and a warning is issued if a suspicious 
8365 FADT 
8366 register length is overridden with the default value.
8367
8368 Fixed a reference count issue in NsRepairObject. This problem was 
8369 introduced 
8370 in version 20081031 as part of a fix to repair Buffer objects within 
8371 Packages. Lin Ming.
8372
8373 Added semaphore support to the Linux/Unix application OS-services layer 
8374 (OSL). ACPICA BZ 448. Lin Ming.
8375
8376 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
8377 will 
8378 be implemented in the OSL, or will binary semaphores be used instead.
8379
8380 Example Code and Data Size: These are the sizes for the OS-independent 
8381 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8382 debug version of the code includes the debug output trace mechanism and 
8383 has a 
8384 much larger code and data size.
8385
8386   Previous Release:
8387     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8388     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8389   Current Release:
8390     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8391     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8392
8393 2) iASL Compiler/Disassembler and Tools:
8394
8395 iASL: Completed the '-e' option to include additional ACPI tables in 
8396 order 
8397 to 
8398 aid with disassembly and External statement generation. ACPICA BZ 742. 
8399 Lin 
8400 Ming.
8401
8402 iASL: Removed the "named object in while loop" error. The compiler cannot 
8403 determine how many times a loop will execute. ACPICA BZ 730.
8404
8405 Disassembler: Implemented support for FADT revision 2 (MS extension). 
8406 ACPICA 
8407 BZ 743.
8408
8409 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
8410 MCFG).
8411
8412 ----------------------------------------
8413 31 October 2008. Summary of changes for version 20081031:
8414
8415 1) ACPI CA Core Subsystem:
8416
8417 Restructured the ACPICA header files into public/private. acpi.h now 
8418 includes 
8419 only the "public" acpica headers. All other acpica headers are "private" 
8420 and 
8421 should not be included by acpica users. One new file, accommon.h is used 
8422 to 
8423 include the commonly used private headers for acpica code generation. 
8424 Future 
8425 plans include moving all private headers to a new subdirectory.
8426
8427 Implemented an automatic Buffer->String return value conversion for 
8428 predefined ACPI methods. For these methods (such as _BIF), added 
8429 automatic 
8430 conversion for return objects that are required to be a String, but a 
8431 Buffer 
8432 was found instead. This can happen when reading string battery data from 
8433 an 
8434 operation region, because it used to be difficult to convert the data 
8435 from 
8436 buffer to string from within the ASL. Ensures that the host OS is 
8437 provided 
8438 with a valid null-terminated string. Linux BZ 11822.
8439
8440 Updated the FACS waking vector interfaces. Split 
8441 AcpiSetFirmwareWakingVector 
8442 into two: one for the 32-bit vector, another for the 64-bit vector. This 
8443 is 
8444 required because the host OS must setup the wake much differently for 
8445 each 
8446 vector (real vs. protected mode, etc.) and the interface itself should 
8447 not 
8448 be 
8449 deciding which vector to use. Also, eliminated the 
8450 GetFirmwareWakingVector 
8451 interface, as it served no purpose (only the firmware reads the vector, 
8452 OS 
8453 only writes the vector.) ACPICA BZ 731.
8454
8455 Implemented a mechanism to escape infinite AML While() loops. Added a 
8456 loop 
8457 counter to force exit from AML While loops if the count becomes too 
8458 large. 
8459 This can occur in poorly written AML when the hardware does not respond 
8460 within a while loop and the loop does not implement a timeout. The 
8461 maximum 
8462 loop count is configurable. A new exception code is returned when a loop 
8463 is 
8464 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
8465
8466 Optimized the execution of AML While loops. Previously, a control state 
8467 object was allocated and freed for each execution of the loop. The 
8468 optimization is to simply reuse the control state for each iteration. 
8469 This 
8470 speeds up the raw loop execution time by about 5%.
8471
8472 Enhanced the implicit return mechanism. For Windows compatibility, return 
8473 an 
8474 implicit integer of value zero for methods that contain no executable 
8475 code. 
8476 Such methods are seen in the field as stubs (presumably), and can cause 
8477 drivers to fail if they expect a return value. Lin Ming.
8478
8479 Allow multiple backslashes as root prefixes in namepaths. In a fully 
8480 qualified namepath, allow multiple backslash prefixes. This can happen 
8481 (and 
8482 is seen in the field) because of the use of a double-backslash in strings 
8483 (since backslash is the escape character) causing confusion. ACPICA BZ 
8484 739 
8485 Lin Ming.
8486
8487 Emit a warning if two different FACS or DSDT tables are discovered in the 
8488 FADT. Checks if there are two valid but different addresses for the FACS 
8489 and 
8490 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
8491
8492 Consolidated the method argument count validation code. Merged the code 
8493 that 
8494 validates control method argument counts into the predefined validation 
8495 module. Eliminates possible multiple warnings for incorrect argument 
8496 counts.
8497
8498 Implemented ACPICA example code. Includes code for ACPICA initialization, 
8499 handler installation, and calling a control method. Available at 
8500 source/tools/examples.
8501
8502 Added a global pointer for FACS table to simplify internal FACS access. 
8503 Use 
8504 the global pointer instead of using AcpiGetTableByIndex for each FACS 
8505 access. 
8506 This simplifies the code for the Global Lock and the Firmware Waking 
8507 Vector(s).
8508
8509 Example Code and Data Size: These are the sizes for the OS-independent 
8510 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8511 debug version of the code includes the debug output trace mechanism and 
8512 has a 
8513 much larger code and data size.
8514
8515   Previous Release:
8516     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8517     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8518   Current Release:
8519     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8520     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8521
8522 2) iASL Compiler/Disassembler and Tools:
8523
8524 iASL: Improved disassembly of external method calls. Added the -e option 
8525 to 
8526 allow the inclusion of additional ACPI tables to help with the 
8527 disassembly 
8528 of 
8529 method invocations and the generation of external declarations during the 
8530 disassembly. Certain external method invocations cannot be disassembled 
8531 properly without the actual declaration of the method. Use the -e option 
8532 to 
8533 include the table where the external method(s) are actually declared. 
8534 Most 
8535 useful for disassembling SSDTs that make method calls back to the master 
8536 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
8537 -d 
8538 -e dsdt.aml ssdt1.aml
8539
8540 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
8541 problem where the use of an alias within a namepath would result in a not 
8542 found error or cause the compiler to fault. Also now allows forward 
8543 references from the Alias operator itself. ACPICA BZ 738.
8544
8545 ----------------------------------------
8546 26 September 2008. Summary of changes for version 20080926:
8547
8548 1) ACPI CA Core Subsystem:
8549
8550 Designed and implemented a mechanism to validate predefined ACPI methods 
8551 and 
8552 objects. This code validates the predefined ACPI objects (objects whose 
8553 names 
8554 start with underscore) that appear in the namespace, at the time they are 
8555 evaluated. The argument count and the type of the returned object are 
8556 validated against the ACPI specification. The purpose of this validation 
8557 is 
8558 to detect problems with the BIOS-implemented predefined ACPI objects 
8559 before 
8560 the results are returned to the ACPI-related drivers. Future enhancements 
8561 may 
8562 include actual repair of incorrect return objects where possible. Two new 
8563 files are nspredef.c and acpredef.h.
8564
8565 Fixed a fault in the AML parser if a memory allocation fails during the 
8566 Op 
8567 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
8568
8569 Fixed an issue with implicit return compatibility. This change improves 
8570 the 
8571 implicit return mechanism to be more compatible with the MS interpreter. 
8572 Lin 
8573 Ming, ACPICA BZ 349.
8574
8575 Implemented support for zero-length buffer-to-string conversions. Allow 
8576 zero 
8577 length strings during interpreter buffer-to-string conversions. For 
8578 example, 
8579 during the ToDecimalString and ToHexString operators, as well as implicit 
8580 conversions. Fiodor Suietov, ACPICA BZ 585.
8581
8582 Fixed two possible memory leaks in the error exit paths of 
8583 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
8584 are 
8585 similar in that they use a stack of state objects in order to eliminate 
8586 recursion. The stack must be fully unwound and deallocated if an error 
8587 occurs. Lin Ming. ACPICA BZ 383.
8588
8589 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
8590 global 
8591 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
8592 Moore ACPICA BZ 442.
8593
8594 Removed the obsolete version number in module headers. Removed the 
8595 "$Revision" number that appeared in each module header. This version 
8596 number 
8597 was useful under SourceSafe and CVS, but has no meaning under git. It is 
8598 not 
8599 only incorrect, it could also be misleading.
8600
8601 Example Code and Data Size: These are the sizes for the OS-independent 
8602 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8603 debug version of the code includes the debug output trace mechanism and 
8604 has a 
8605 much larger code and data size.
8606
8607   Previous Release:
8608     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8609     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8610   Current Release:
8611     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8612     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8613
8614 ----------------------------------------
8615 29 August 2008. Summary of changes for version 20080829:
8616
8617 1) ACPI CA Core Subsystem:
8618
8619 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
8620 Reference. Changes include the elimination of cheating on the Object 
8621 field 
8622 for the DdbHandle subtype, addition of a reference class field to 
8623 differentiate the various reference types (instead of an AML opcode), and 
8624 the 
8625 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
8626
8627 Reduce an error to a warning for an incorrect method argument count. 
8628 Previously aborted with an error if too few arguments were passed to a 
8629 control method via the external ACPICA interface. Now issue a warning 
8630 instead 
8631 and continue. Handles the case where the method inadvertently declares 
8632 too 
8633 many arguments, but does not actually use the extra ones. Applies mainly 
8634 to 
8635 the predefined methods. Lin Ming. Linux BZ 11032.
8636
8637 Disallow the evaluation of named object types with no intrinsic value. 
8638 Return 
8639 AE_TYPE for objects that have no value and therefore evaluation is 
8640 undefined: 
8641 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
8642 of 
8643 these types were allowed, but an exception would be generated at some 
8644 point 
8645 during the evaluation. Now, the error is generated up front.
8646
8647 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
8648 (nsnames.c). Fixes a leak in the error exit path.
8649
8650 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
8651 debug 
8652 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
8653 ACPI_EXCEPTION 
8654 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
8655 ACPI_LV_EVENTS.
8656
8657 Removed obsolete and/or unused exception codes from the acexcep.h header. 
8658 There is the possibility that certain device drivers may be affected if 
8659 they 
8660 use any of these exceptions.
8661
8662 The ACPICA documentation has been added to the public git source tree, 
8663 under 
8664 acpica/documents. Included are the ACPICA programmer reference, the iASL 
8665 compiler reference, and the changes.txt release logfile.
8666
8667 Example Code and Data Size: These are the sizes for the OS-independent 
8668 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8669 debug version of the code includes the debug output trace mechanism and 
8670 has a 
8671 much larger code and data size.
8672
8673   Previous Release:
8674     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8675     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8676   Current Release:
8677     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8678     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8679
8680 2) iASL Compiler/Disassembler and Tools:
8681
8682 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
8683 defines _SCP with 3 arguments. Previous versions defined it with only 1 
8684 argument. iASL now allows both definitions.
8685
8686 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
8687 zero-
8688 length subtables when disassembling ACPI tables. Also fixed a couple of 
8689 errors where a full 16-bit table type field was not extracted from the 
8690 input 
8691 properly.
8692
8693 acpisrc: Improve comment counting mechanism for generating source code 
8694 statistics. Count first and last lines of multi-line comments as 
8695 whitespace, 
8696 not comment lines. Handle Linux legal header in addition to standard 
8697 acpica 
8698 header.
8699
8700 ----------------------------------------
8701
8702 29 July 2008. Summary of changes for version 20080729:
8703
8704 1) ACPI CA Core Subsystem:
8705
8706 Fix a possible deadlock in the GPE dispatch. Remove call to 
8707 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
8708 attempt 
8709 to acquire the GPE lock but can deadlock since the GPE lock is already 
8710 held 
8711 at dispatch time. This code was introduced in version 20060831 as a 
8712 response 
8713 to Linux BZ 6881 and has since been removed from Linux.
8714
8715 Add a function to dereference returned reference objects. Examines the 
8716 return 
8717 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
8718 are 
8719 automatically dereferenced in an attempt to return something useful 
8720 (these 
8721 reference types cannot be converted into an external ACPI_OBJECT.) 
8722 Provides 
8723 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
8724
8725 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
8726 subtables for the MADT and one new subtable for the SRAT. Includes 
8727 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
8728 x2APIC 
8729 Specification, June 2008.
8730
8731 Additional error checking for pathname utilities. Add error check after 
8732 all 
8733 calls to AcpiNsGetPathnameLength. Add status return from 
8734 AcpiNsBuildExternalPath and check after all calls. Add parameter 
8735 validation 
8736 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
8737
8738 Return status from the global init function AcpiUtGlobalInitialize. This 
8739 is 
8740 used by both the kernel subsystem and the utilities such as iASL 
8741 compiler. 
8742 The function could possibly fail when the caches are initialized. Yang 
8743 Yi.
8744
8745 Add a function to decode reference object types to strings. Created for 
8746 improved error messages. 
8747
8748 Improve object conversion error messages. Better error messages during 
8749 object 
8750 conversion from internal to the external ACPI_OBJECT. Used for external 
8751 calls 
8752 to AcpiEvaluateObject.
8753
8754 Example Code and Data Size: These are the sizes for the OS-independent 
8755 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8756 debug version of the code includes the debug output trace mechanism and 
8757 has a 
8758 much larger code and data size.
8759
8760   Previous Release:
8761     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8762     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8763   Current Release:
8764     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8765     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8766
8767 2) iASL Compiler/Disassembler and Tools:
8768
8769 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
8770 problem 
8771 introduced in version 20080701. If the object being evaluated (via 
8772 execute 
8773 command) is not a method, the debugger can hang while trying to obtain 
8774 non-
8775 existent parameters.
8776
8777 iASL: relax error for using reserved "_T_x" identifiers. These names can 
8778 appear in a disassembled ASL file if they were emitted by the original 
8779 compiler. Instead of issuing an error or warning and forcing the user to 
8780 manually change these names, issue a remark instead.
8781
8782 iASL: error if named object created in while loop. Emit an error if any 
8783 named 
8784 object is created within a While loop. If allowed, this code will 
8785 generate 
8786
8787 run-time error on the second iteration of the loop when an attempt is 
8788 made 
8789 to 
8790 create the same named object twice. ACPICA bugzilla 730.
8791
8792 iASL: Support absolute pathnames for include files. Add support for 
8793 absolute 
8794 pathnames within the Include operator. previously, only relative 
8795 pathnames 
8796 were supported.
8797
8798 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
8799 Descriptor. 
8800 The ACPI spec requires one interrupt minimum. BZ 423
8801
8802 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
8803 Handles the case for the Interrupt Resource Descriptor where
8804 the ResourceSource argument is omitted but ResourceSourceIndex
8805 is present. Now leave room for the Index. BZ 426
8806
8807 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
8808 cases 
8809 where an error message is emitted if the target does not exist. BZ 516
8810
8811 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
8812 (get ACPI tables on Windows). This was apparently broken in version 
8813 20070919.
8814
8815 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
8816 where 
8817 the EOF happens immediately after the last table in the input file. Print 
8818 completion message. Previously, no message was displayed in this case.
8819
8820 ----------------------------------------
8821 01 July 2008. Summary of changes for version 20080701:
8822
8823 0) Git source tree / acpica.org
8824
8825 Fixed a problem where a git-clone from http would not transfer the entire 
8826 source tree.
8827
8828 1) ACPI CA Core Subsystem:
8829
8830 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
8831 enable bit. Now performs a read-change-write of the enable register 
8832 instead 
8833 of simply writing out the cached enable mask. This will prevent 
8834 inadvertent 
8835 enabling of GPEs if a rogue GPE is received during initialization (before 
8836 GPE 
8837 handlers are installed.)
8838
8839 Implemented a copy for dynamically loaded tables. Previously, dynamically 
8840 loaded tables were simply mapped - but on some machines this memory is 
8841 corrupted after suspend. Now copy the table to a local buffer. For the 
8842 OpRegion case, added checksum verify. Use the table length from the table 
8843 header, not the region length. For the Buffer case, use the table length 
8844 also. Dennis Noordsij, Bob Moore. BZ 10734
8845
8846 Fixed a problem where the same ACPI table could not be dynamically loaded 
8847 and 
8848 unloaded more than once. Without this change, a table cannot be loaded 
8849 again 
8850 once it has been loaded/unloaded one time. The current mechanism does not 
8851 unregister a table upon an unload. During a load, if the same table is 
8852 found, 
8853 this no longer returns an exception. BZ 722
8854
8855 Fixed a problem where the wrong descriptor length was calculated for the 
8856 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
8857 EndTag 
8858 are calculated as 12 bytes long, but the actual length in the internal 
8859 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
8860 Reported 
8861 by Linn Crosetto. BZ 728
8862
8863 Fixed a possible memory leak in the Unload operator. The DdbHandle 
8864 returned 
8865 by Load() did not have its reference count decremented during unload, 
8866 leading 
8867 to a memory leak. Lin Ming. BZ 727
8868
8869 Fixed a possible memory leak when deleting thermal/processor objects. Any 
8870 associated notify handlers (and objects) were not being deleted. Fiodor 
8871 Suietov. BZ 506
8872
8873 Fixed the ordering of the ASCII names in the global mutex table to match 
8874 the 
8875 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
8876 only. 
8877 Vegard Nossum. BZ 726
8878
8879 Enhanced the AcpiGetObjectInfo interface to return the number of required 
8880 arguments if the object is a control method. Added this call to the 
8881 debugger 
8882 so the proper number of default arguments are passed to a method. This 
8883 prevents a warning when executing methods from AcpiExec.
8884
8885 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
8886 AE_BAD_PARAMETER if input handle is invalid. BZ 474
8887
8888 Fixed an extraneous warning from exconfig.c on the 64-bit build.
8889
8890 Example Code and Data Size: These are the sizes for the OS-independent 
8891 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8892 debug version of the code includes the debug output trace mechanism and 
8893 has a 
8894 much larger code and data size.
8895
8896   Previous Release:
8897     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8898     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8899   Current Release:
8900     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8901     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8902
8903 2) iASL Compiler/Disassembler and Tools:
8904
8905 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
8906 resource descriptor names.
8907
8908 iASL: Detect invalid ASCII characters in input (windows version). Removed 
8909 the 
8910 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
8911 characters in the input. BZ 441
8912
8913 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
8914 the 
8915 "result of operation not used" warning when the DDB handle returned from 
8916 LoadTable is not used. The warning is not needed. BZ 590
8917
8918 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
8919 method 
8920 to 
8921 pass address of table to the AML. Added option to disable OpRegion 
8922 simulation 
8923 to allow creation of an OpRegion with a real address that was passed to 
8924 _CFG. 
8925 All of this allows testing of the Load and Unload operators from 
8926 AcpiExec.
8927
8928 Debugger: update tables command for unloaded tables. Handle unloaded 
8929 tables 
8930 and use the standard table header output routine.
8931
8932 ----------------------------------------
8933 09 June 2008. Summary of changes for version 20080609:
8934
8935 1) ACPI CA Core Subsystem:
8936
8937 Implemented a workaround for reversed _PRT entries. A significant number 
8938 of 
8939 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
8940 change dynamically detects and repairs this problem. Provides 
8941 compatibility 
8942 with MS ACPI. BZ 6859
8943
8944 Simplified the internal ACPI hardware interfaces to eliminate the locking 
8945 flag parameter from Register Read/Write. Added a new external interface, 
8946 AcpiGetRegisterUnlocked.
8947
8948 Fixed a problem where the invocation of a GPE control method could hang. 
8949 This 
8950 was a regression introduced in 20080514. The new method argument count 
8951 validation mechanism can enter an infinite loop when a GPE method is 
8952 dispatched. Problem fixed by removing the obsolete code that passed GPE 
8953 block 
8954 information to the notify handler via the control method parameter 
8955 pointer.
8956
8957 Fixed a problem where the _SST execution status was incorrectly returned 
8958 to 
8959 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
8960 in 
8961 20080514. _SST is optional and a NOT_FOUND exception should never be 
8962 returned. BZ 716
8963
8964 Fixed a problem where a deleted object could be accessed from within the 
8965 AML 
8966 parser. This was a regression introduced in version 20080123 as a fix for 
8967 the 
8968 Unload operator. Lin Ming. BZ 10669
8969
8970 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
8971 operands 
8972 and eliminated the use of a negative index in a loop. Operands are now 
8973 displayed in the correct order, not backwards. This also fixes a 
8974 regression 
8975 introduced in 20080514 on 64-bit systems where the elimination of 
8976 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
8977 715
8978
8979 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
8980 exit 
8981 path did not delete a locally allocated structure.
8982
8983 Updated definitions for the DMAR and SRAT tables to synchronize with the 
8984 current specifications. Includes disassembler support.
8985
8986 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
8987 loop termination value was used. Loop terminated on iteration early, 
8988 missing 
8989 one mutex. Linn Crosetto
8990
8991 Example Code and Data Size: These are the sizes for the OS-independent 
8992 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8993 debug version of the code includes the debug output trace mechanism and 
8994 has a 
8995 much larger code and data size.
8996
8997   Previous Release:
8998     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8999     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
9000   Current Release:
9001     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
9002     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
9003
9004 2) iASL Compiler/Disassembler and Tools:
9005
9006 Disassembler: Implemented support for EisaId() within _CID objects. Now 
9007 disassemble integer _CID objects back to EisaId invocations, including 
9008 multiple integers within _CID packages. Includes single-step support for 
9009 debugger also.
9010
9011 Disassembler: Added support for DMAR and SRAT table definition changes.
9012
9013 ----------------------------------------
9014 14 May 2008. Summary of changes for version 20080514:
9015
9016 1) ACPI CA Core Subsystem:
9017
9018 Fixed a problem where GPEs were enabled too early during the ACPICA 
9019 initialization. This could lead to "handler not installed" errors on some 
9020 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
9021 This 
9022 ensures that all operation regions and devices throughout the namespace 
9023 have 
9024 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
9025
9026 Implemented a change to the enter sleep code. Moved execution of the _GTS 
9027 method to just before setting sleep enable bit. The execution was moved 
9028 from 
9029 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
9030 immediately before the SLP_EN bit is set, as per the ACPI specification. 
9031 Luming Yu, BZ 1653.
9032
9033 Implemented a fix to disable unknown GPEs (2nd version). Now always 
9034 disable 
9035 the GPE, even if ACPICA thinks that that it is already disabled. It is 
9036 possible that the AML or some other code has enabled the GPE unbeknownst 
9037 to 
9038 the ACPICA code.
9039
9040 Fixed a problem with the Field operator where zero-length fields would 
9041 return 
9042 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
9043 ASL 
9044 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
9045
9046 Implemented a fix for the Load operator, now load the table at the 
9047 namespace 
9048 root. This reverts a change introduced in version 20071019. The table is 
9049 now 
9050 loaded at the namespace root even though this goes against the ACPI 
9051 specification. This provides compatibility with other ACPI 
9052 implementations. 
9053 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
9054 Ming.
9055
9056 Fixed a problem where ACPICA would not Load() tables with unusual 
9057 signatures. 
9058 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
9059 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
9060 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
9061 such 
9062 signatures, ACPICA must be compatible. BZ 10454.
9063
9064 Fixed a possible negative array index in AcpiUtValidateException. Added 
9065 NULL 
9066 fields to the exception string arrays to eliminate a -1 subtraction on 
9067 the 
9068 SubStatus field.
9069
9070 Updated the debug tracking macros to reduce overall code and data size. 
9071 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
9072 instead of pointers to static strings. Jan Beulich and Bob Moore.
9073
9074 Implemented argument count checking in control method invocation via 
9075 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
9076 too 
9077 many. This applies only to extern programmatic control method execution, 
9078 not 
9079 method-to-method calls within the AML. Lin Ming.
9080
9081 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
9082 no 
9083 longer needed, especially with the removal of 16-bit support. It was 
9084 replaced 
9085 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
9086 bit 
9087 on 
9088 32/64-bit platforms is required.
9089
9090 Added the C const qualifier for appropriate string constants -- mostly 
9091 MODULE_NAME and printf format strings. Jan Beulich.
9092
9093 Example Code and Data Size: These are the sizes for the OS-independent 
9094 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9095 debug version of the code includes the debug output trace mechanism and 
9096 has a 
9097 much larger code and data size.
9098
9099   Previous Release:
9100     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
9101     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
9102   Current Release:
9103     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
9104     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
9105
9106 2) iASL Compiler/Disassembler and Tools:
9107
9108 Implemented ACPI table revision ID validation in the disassembler. Zero 
9109 is 
9110 always invalid. For DSDTs, the ID controls the interpreter integer width. 
9111
9112 means 32-bit and this is unusual. 2 or greater is 64-bit.
9113
9114 ----------------------------------------
9115 21 March 2008. Summary of changes for version 20080321:
9116
9117 1) ACPI CA Core Subsystem:
9118
9119 Implemented an additional change to the GPE support in order to suppress 
9120 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
9121 permanently 
9122 disable incoming GPEs that are neither enabled nor disabled -- meaning 
9123 that 
9124 the GPE is unknown to the system. This should prevent future interrupt 
9125 floods 
9126 from that GPE. BZ 6217 (Zhang Rui)
9127
9128 Fixed a problem where NULL package elements were not returned to the 
9129 AcpiEvaluateObject interface correctly. The element was simply ignored 
9130 instead of returning a NULL ACPI_OBJECT package element, potentially 
9131 causing 
9132 a buffer overflow and/or confusing the caller who expected a fixed number 
9133 of 
9134 elements. BZ 10132 (Lin Ming, Bob Moore)
9135
9136 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
9137 Dword, 
9138 Qword), Field, BankField, and IndexField operators when invoked from 
9139 inside 
9140 an executing control method. In this case, these operators created 
9141 namespace 
9142 nodes that were incorrectly left marked as permanent nodes instead of 
9143 temporary nodes. This could cause a problem if there is race condition 
9144 between an exiting control method and a running namespace walk. (Reported 
9145 by 
9146 Linn Crosetto)
9147
9148 Fixed a problem where the CreateField and CreateXXXField operators would 
9149 incorrectly allow duplicate names (the name of the field) with no 
9150 exception 
9151 generated.
9152
9153 Implemented several changes for Notify handling. Added support for new 
9154 Notify 
9155 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
9156 PowerResource objects is no longer allowed, as per the ACPI 
9157 specification. 
9158 (Bob Moore, Zhang Rui)
9159
9160 All Reference Objects returned via the AcpiEvaluateObject interface are 
9161 now 
9162 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
9163 for 
9164 NULL objects - either NULL package elements or unresolved named 
9165 references.
9166
9167 Fixed a problem where an extraneous debug message was produced for 
9168 package 
9169 objects (when debugging enabled). The message "Package List length larger 
9170 than NumElements count" is now produced in the correct case, and is now 
9171 an 
9172 error message rather than a debug message. Added a debug message for the 
9173 opposite case, where NumElements is larger than the Package List (the 
9174 package 
9175 will be padded out with NULL elements as per the ACPI spec.)
9176
9177 Implemented several improvements for the output of the ASL "Debug" object 
9178 to 
9179 clarify and keep all data for a given object on one output line.
9180
9181 Fixed two size calculation issues with the variable-length Start 
9182 Dependent 
9183 resource descriptor.
9184
9185 Example Code and Data Size: These are the sizes for the OS-independent 
9186 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9187 debug version of the code includes the debug output trace mechanism and 
9188 has 
9189 a much larger code and data size.
9190
9191   Previous Release:
9192     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9193     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9194   Current Release:
9195     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
9196     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
9197
9198 2) iASL Compiler/Disassembler and Tools:
9199
9200 Fixed a problem with the use of the Switch operator where execution of 
9201 the 
9202 containing method by multiple concurrent threads could cause an 
9203 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
9204 actual Switch opcode, it must be simulated with local named temporary 
9205 variables and if/else pairs. The solution chosen was to mark any method 
9206 that 
9207 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
9208 469.
9209
9210 ----------------------------------------
9211 13 February 2008. Summary of changes for version 20080213:
9212
9213 1) ACPI CA Core Subsystem:
9214
9215 Implemented another MS compatibility design change for GPE/Notify 
9216 handling. 
9217 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
9218 to 
9219 complete first. It is expected that the OSL will queue the enable request 
9220 behind all pending notify requests (may require changes to the local host 
9221 OSL 
9222 in AcpiOsExecute). Alexey Starikovskiy.
9223
9224 Fixed a problem where buffer and package objects passed as arguments to a 
9225 control method via the external AcpiEvaluateObject interface could cause 
9226 an 
9227 AE_AML_INTERNAL exception depending on the order and type of operators 
9228 executed by the target control method.
9229
9230 Fixed a problem where resource descriptor size optimization could cause a 
9231 problem when a _CRS resource template is passed to a _SRS method. The 
9232 _SRS 
9233 resource template must use the same descriptors (with the same size) as 
9234 returned from _CRS. This change affects the following resource 
9235 descriptors: 
9236 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
9237 9487)
9238
9239 Fixed a problem where a CopyObject to RegionField, BankField, and 
9240 IndexField 
9241 objects did not perform an implicit conversion as it should. These types 
9242 must 
9243 retain their initial type permanently as per the ACPI specification. 
9244 However, 
9245 a CopyObject to all other object types should not perform an implicit 
9246 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
9247
9248 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
9249 match device CIDs did not examine the entire list of available CIDs, but 
9250 instead aborted on the first non-matching CID. Andrew Patterson.
9251
9252 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
9253 was 
9254 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
9255 truncating the upper dword of a 64-bit value. This macro is only used to 
9256 display debug output, so no incorrect calculations were made. Also, 
9257 reimplemented the macro so that a 64-bit shift is not performed by 
9258 inefficient compilers.
9259
9260 Added missing va_end statements that should correspond with each va_start 
9261 statement.
9262
9263 Example Code and Data Size: These are the sizes for the OS-independent 
9264 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9265 debug version of the code includes the debug output trace mechanism and 
9266 has 
9267 a much larger code and data size.
9268
9269   Previous Release:
9270     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9271     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9272   Current Release:
9273     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9274     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9275
9276 2) iASL Compiler/Disassembler and Tools:
9277
9278 Implemented full disassembler support for the following new ACPI tables: 
9279 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
9280 complicated HEST table. These tables support the Windows Hardware Error 
9281 Architecture (WHEA).
9282
9283 ----------------------------------------
9284 23 January 2008. Summary of changes for version 20080123:
9285
9286 1) ACPI CA Core Subsystem:
9287
9288 Added the 2008 copyright to all module headers and signons. This affects 
9289 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
9290 the tools/utilities.
9291
9292 Fixed a problem with the SizeOf operator when used with Package and 
9293 Buffer 
9294 objects. These objects have deferred execution for some arguments, and 
9295 the 
9296 execution is now completed before the SizeOf is executed. This problem 
9297 caused 
9298 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
9299 BZ 
9300 9558
9301
9302 Implemented an enhancement to the interpreter "slack mode". In the 
9303 absence 
9304 of 
9305 an explicit return or an implicitly returned object from the last 
9306 executed 
9307 opcode, a control method will now implicitly return an integer of value 0 
9308 for 
9309 Microsoft compatibility. (Lin Ming) BZ 392
9310
9311 Fixed a problem with the Load operator where an exception was not 
9312 returned 
9313 in 
9314 the case where the table is already loaded. (Lin Ming) BZ 463
9315
9316 Implemented support for the use of DDBHandles as an Indexed Reference, as 
9317 per 
9318 the ACPI spec. (Lin Ming) BZ 486
9319
9320 Implemented support for UserTerm (Method invocation) for the Unload 
9321 operator 
9322 as per the ACPI spec. (Lin Ming) BZ 580
9323
9324 Fixed a problem with the LoadTable operator where the OemId and 
9325 OemTableId 
9326 input strings could cause unexpected failures if they were shorter than 
9327 the 
9328 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
9329
9330 Implemented support for UserTerm (Method invocation) for the Unload 
9331 operator 
9332 as per the ACPI spec. (Lin Ming) BZ 580
9333
9334 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
9335 HEST, 
9336 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
9337
9338 Example Code and Data Size: These are the sizes for the OS-independent 
9339 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9340 debug version of the code includes the debug output trace mechanism and 
9341 has 
9342 a much larger code and data size.
9343
9344   Previous Release:
9345     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9346     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9347   Current Release:
9348     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9349     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9350
9351 2) iASL Compiler/Disassembler and Tools:
9352
9353 Implemented support in the disassembler for checksum validation on 
9354 incoming 
9355 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
9356 table 
9357 header dump at the start of the disassembly.
9358
9359 Implemented additional debugging information in the namespace listing 
9360 file 
9361 created during compilation. In addition to the namespace hierarchy, the 
9362 full 
9363 pathname to each namespace object is displayed.
9364
9365 Fixed a problem with the disassembler where invalid ACPI tables could 
9366 cause 
9367 faults or infinite loops.
9368
9369 Fixed an unexpected parse error when using the optional "parameter types" 
9370 list in a control method declaration. (Lin Ming) BZ 397
9371
9372 Fixed a problem where two External declarations with the same name did 
9373 not 
9374 cause an error (Lin Ming) BZ 509
9375
9376 Implemented support for full TermArgs (adding Argx, Localx and method 
9377 invocation) for the ParameterData parameter to the LoadTable operator. 
9378 (Lin 
9379 Ming) BZ 583,587
9380
9381 ----------------------------------------
9382 19 December 2007. Summary of changes for version 20071219:
9383
9384 1) ACPI CA Core Subsystem:
9385
9386 Implemented full support for deferred execution for the TermArg string 
9387 arguments for DataTableRegion. This enables forward references and full 
9388 operand resolution for the three string arguments. Similar to 
9389 OperationRegion 
9390 deferred argument execution.) Lin Ming. BZ 430
9391
9392 Implemented full argument resolution support for the BankValue argument 
9393 to 
9394 BankField. Previously, only constants were supported, now any TermArg may 
9395 be 
9396 used. Lin Ming BZ 387, 393
9397
9398 Fixed a problem with AcpiGetDevices where the search of a branch of the 
9399 device tree could be terminated prematurely. In accordance with the ACPI 
9400 specification, the search down the current branch is terminated if a 
9401 device 
9402 is both not present and not functional (instead of just not present.) 
9403 Yakui 
9404 Zhao.
9405
9406 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
9407 if 
9408 the underlying AML code changed the GPE enable registers. Now, any 
9409 unknown 
9410 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
9411 disabled 
9412 instead of simply ignored. Rui Zhang.
9413
9414 Fixed a problem with Index Fields where the Index register was 
9415 incorrectly 
9416 limited to a maximum of 32 bits. Now any size may be used.
9417
9418 Fixed a couple memory leaks associated with "implicit return" objects 
9419 when 
9420 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
9421
9422 Example Code and Data Size: These are the sizes for the OS-independent 
9423 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9424 debug version of the code includes the debug output trace mechanism and 
9425 has 
9426 a much larger code and data size.
9427
9428   Previous Release:
9429     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9430     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9431   Current Release:
9432     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9433     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9434
9435 ----------------------------------------
9436 14 November 2007. Summary of changes for version 20071114:
9437
9438 1) ACPI CA Core Subsystem:
9439
9440 Implemented event counters for each of the Fixed Events, the ACPI SCI 
9441 (interrupt) itself, and control methods executed. Named 
9442 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
9443 These 
9444 should be useful for debugging and statistics.
9445
9446 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
9447 contents of the various event counters. Returns the current values for 
9448 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
9449 AcpiMethodCount. The interface can be expanded in the future if new 
9450 counters 
9451 are added. Device drivers should use this interface rather than access 
9452 the 
9453 counters directly.
9454
9455 Fixed a problem with the FromBCD and ToBCD operators. With some 
9456 compilers, 
9457 the ShortDivide function worked incorrectly, causing problems with the 
9458 BCD 
9459 functions with large input values. A truncation from 64-bit to 32-bit 
9460 inadvertently occurred. Internal BZ 435. Lin Ming
9461
9462 Fixed a problem with Index references passed as method arguments. 
9463 References 
9464 passed as arguments to control methods were dereferenced immediately 
9465 (before 
9466 control was passed to the called method). The references are now 
9467 correctly 
9468 passed directly to the called method. BZ 5389. Lin Ming
9469
9470 Fixed a problem with CopyObject used in conjunction with the Index 
9471 operator. 
9472 The reference was incorrectly dereferenced before the copy. The reference 
9473 is 
9474 now correctly copied. BZ 5391. Lin Ming
9475
9476 Fixed a problem with Control Method references within Package objects. 
9477 These 
9478 references are now correctly generated. This completes the package 
9479 construction overhaul that began in version 20071019.
9480
9481 Example Code and Data Size: These are the sizes for the OS-independent 
9482 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9483 debug version of the code includes the debug output trace mechanism and 
9484 has 
9485 a much larger code and data size.
9486
9487   Previous Release:
9488     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9489     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9490   Current Release:
9491     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9492     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9493
9494
9495 2) iASL Compiler/Disassembler and Tools:
9496
9497 The AcpiExec utility now installs handlers for all of the predefined 
9498 Operation Region types. New types supported are: PCI_Config, CMOS, and 
9499 PCIBARTarget.
9500
9501 Fixed a problem with the 64-bit version of AcpiExec where the extended 
9502 (64-
9503 bit) address fields for the DSDT and FACS within the FADT were not being 
9504 used, causing truncation of the upper 32-bits of these addresses. Lin 
9505 Ming 
9506 and Bob Moore
9507
9508 ----------------------------------------
9509 19 October 2007. Summary of changes for version 20071019:
9510
9511 1) ACPI CA Core Subsystem:
9512
9513 Fixed a problem with the Alias operator when the target of the alias is a 
9514 named ASL operator that opens a new scope -- Scope, Device, 
9515 PowerResource, 
9516 Processor, and ThermalZone. In these cases, any children of the original 
9517 operator could not be accessed via the alias, potentially causing 
9518 unexpected 
9519 AE_NOT_FOUND exceptions. (BZ 9067)
9520
9521 Fixed a problem with the Package operator where all named references were 
9522 created as object references and left otherwise unresolved. According to 
9523 the 
9524 ACPI specification, a Package can only contain Data Objects or references 
9525 to 
9526 control methods. The implication is that named references to Data Objects 
9527 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
9528 immediately upon package creation. This is the approach taken with this 
9529 change. References to all other named objects (Methods, Devices, Scopes, 
9530 etc.) are all now properly created as reference objects. (BZ 5328)
9531
9532 Reverted a change to Notify handling that was introduced in version 
9533 20070508. This version changed the Notify handling from asynchronous to 
9534 fully synchronous (Device driver Notify handling with respect to the 
9535 Notify 
9536 ASL operator). It was found that this change caused more problems than it 
9537 solved and was removed by most users.
9538
9539 Fixed a problem with the Increment and Decrement operators where the type 
9540 of 
9541 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
9542 Lin Ming.
9543
9544 Fixed a problem with the Load and LoadTable operators where the table 
9545 location within the namespace was ignored. Instead, the table was always 
9546 loaded into the root or current scope. Lin Ming.
9547
9548 Fixed a problem with the Load operator when loading a table from a buffer 
9549 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
9550
9551 Fixed a problem with the Debug object where a store of a DdbHandle 
9552 reference 
9553 object to the Debug object could cause a fault.
9554
9555 Added a table checksum verification for the Load operator, in the case 
9556 where 
9557 the load is from a buffer. (BZ 578).
9558
9559 Implemented additional parameter validation for the LoadTable operator. 
9560 The 
9561 length of the input strings SignatureString, OemIdString, and OemTableId 
9562 are 
9563 now checked for maximum lengths. (BZ 582) Lin Ming.
9564
9565 Example Code and Data Size: These are the sizes for the OS-independent 
9566 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9567 debug version of the code includes the debug output trace mechanism and 
9568 has 
9569 a much larger code and data size.
9570
9571   Previous Release:
9572     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9573     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9574   Current Release:
9575     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9576     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9577
9578
9579 2) iASL Compiler/Disassembler:
9580
9581 Fixed a problem where if a single file was specified and the file did not 
9582 exist, no error message was emitted. (Introduced with wildcard support in 
9583 version 20070917.)
9584
9585 ----------------------------------------
9586 19 September 2007. Summary of changes for version 20070919:
9587
9588 1) ACPI CA Core Subsystem:
9589
9590 Designed and implemented new external interfaces to install and remove 
9591 handlers for ACPI table-related events. Current events that are defined 
9592 are 
9593 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
9594 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
9595 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
9596
9597 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
9598 (acpi_serialized option on Linux) could cause some systems to hang during 
9599 initialization. (Bob Moore) BZ 8171
9600
9601 Fixed a problem where objects of certain types (Device, ThermalZone, 
9602 Processor, PowerResource) can be not found if they are declared and 
9603 referenced from within the same control method (Lin Ming) BZ 341
9604
9605 Example Code and Data Size: These are the sizes for the OS-independent 
9606 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9607 debug version of the code includes the debug output trace mechanism and 
9608 has 
9609 a much larger code and data size.
9610
9611   Previous Release:
9612     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9613     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9614   Current Release:
9615     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9616     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9617
9618
9619 2) iASL Compiler/Disassembler:
9620
9621 Implemented support to allow multiple files to be compiled/disassembled 
9622 in 
9623
9624 single invocation. This includes command line wildcard support for both 
9625 the 
9626 Windows and Unix versions of the compiler. This feature simplifies the 
9627 disassembly and compilation of multiple ACPI tables in a single 
9628 directory.
9629
9630 ----------------------------------------
9631 08 May 2007. Summary of changes for version 20070508:
9632
9633 1) ACPI CA Core Subsystem:
9634
9635 Implemented a Microsoft compatibility design change for the handling of 
9636 the 
9637 Notify AML operator. Previously, notify handlers were dispatched and 
9638 executed completely asynchronously in a deferred thread. The new design 
9639 still executes the notify handlers in a different thread, but the 
9640 original 
9641 thread that executed the Notify() now waits at a synchronization point 
9642 for 
9643 the notify handler to complete. Some machines depend on a synchronous 
9644 Notify 
9645 operator in order to operate correctly.
9646
9647 Implemented support to allow Package objects to be passed as method 
9648 arguments to the external AcpiEvaluateObject interface. Previously, this 
9649 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
9650 implemented since there were no reserved control methods that required it 
9651 until recently.
9652
9653 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
9654 that 
9655 contained invalid non-zero values in reserved fields could cause later 
9656 failures because these fields have meaning in later revisions of the 
9657 FADT. 
9658 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
9659 fields 
9660 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
9661
9662 Fixed a problem where the Global Lock handle was not properly updated if 
9663
9664 thread that acquired the Global Lock via executing AML code then 
9665 attempted 
9666 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
9667 Joe 
9668 Liu.
9669
9670 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
9671 could be corrupted if the interrupt being removed was at the head of the 
9672 list. Reported by Linn Crosetto.
9673
9674 Example Code and Data Size: These are the sizes for the OS-independent 
9675 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9676 debug version of the code includes the debug output trace mechanism and 
9677 has 
9678 a much larger code and data size.
9679
9680   Previous Release:
9681     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9682     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9683   Current Release:
9684     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9685     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9686
9687 ----------------------------------------
9688 20 March 2007. Summary of changes for version 20070320:
9689
9690 1) ACPI CA Core Subsystem:
9691
9692 Implemented a change to the order of interpretation and evaluation of AML 
9693 operand objects within the AML interpreter. The interpreter now evaluates 
9694 operands in the order that they appear in the AML stream (and the 
9695 corresponding ASL code), instead of in the reverse order (after the 
9696 entire 
9697 operand list has been parsed). The previous behavior caused several 
9698 subtle 
9699 incompatibilities with the Microsoft AML interpreter as well as being 
9700 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
9701
9702 Implemented a change to the ACPI Global Lock support. All interfaces to 
9703 the 
9704 global lock now allow the same thread to acquire the lock multiple times. 
9705 This affects the AcpiAcquireGlobalLock external interface to the global 
9706 lock 
9707 as well as the internal use of the global lock to support AML fields -- a 
9708 control method that is holding the global lock can now simultaneously 
9709 access 
9710 AML fields that require global lock protection. Previously, in both 
9711 cases, 
9712 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
9713 to 
9714 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
9715 Controller. There is no change to the behavior of the AML Acquire 
9716 operator, 
9717 as this can already be used to acquire a mutex multiple times by the same 
9718 thread. BZ 8066. With assistance from Alexey Starikovskiy.
9719
9720 Fixed a problem where invalid objects could be referenced in the AML 
9721 Interpreter after error conditions. During operand evaluation, ensure 
9722 that 
9723 the internal "Return Object" field is cleared on error and only valid 
9724 pointers are stored there. Caused occasional access to deleted objects 
9725 that 
9726 resulted in "large reference count" warning messages. Valery Podrezov.
9727
9728 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
9729 on 
9730 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
9731 Podrezov.
9732
9733 Fixed an internal problem with the handling of result objects on the 
9734 interpreter result stack. BZ 7872. Valery Podrezov.
9735
9736 Removed obsolete code that handled the case where AML_NAME_OP is the 
9737 target 
9738 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
9739 7874. Valery Podrezov.
9740
9741 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
9742 was 
9743
9744 remnant from the previously discontinued 16-bit support.
9745
9746 Example Code and Data Size: These are the sizes for the OS-independent 
9747 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9748 debug version of the code includes the debug output trace mechanism and 
9749 has 
9750 a much larger code and data size.
9751
9752   Previous Release:
9753     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9754     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9755   Current Release:
9756     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9757     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9758
9759 ----------------------------------------
9760 26 January 2007. Summary of changes for version 20070126:
9761
9762 1) ACPI CA Core Subsystem:
9763
9764 Added the 2007 copyright to all module headers and signons. This affects 
9765 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
9766 the utilities.
9767
9768 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
9769 during a table load. A bad pointer was passed in the case where the DSDT 
9770 is 
9771 overridden, causing a fault in this case.
9772
9773 Example Code and Data Size: These are the sizes for the OS-independent 
9774 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9775 debug version of the code includes the debug output trace mechanism and 
9776 has 
9777 a much larger code and data size.
9778
9779   Previous Release:
9780     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9781     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9782   Current Release:
9783     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9784     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9785
9786 ----------------------------------------
9787 15 December 2006. Summary of changes for version 20061215:
9788
9789 1) ACPI CA Core Subsystem:
9790
9791 Support for 16-bit ACPICA has been completely removed since it is no 
9792 longer 
9793 necessary and it clutters the code. All 16-bit macros, types, and 
9794 conditional compiles have been removed, cleaning up and simplifying the 
9795 code 
9796 across the entire subsystem. DOS support is no longer needed since the 
9797 bootable Linux firmware kit is now available.
9798
9799 The handler for the Global Lock is now removed during AcpiTerminate to 
9800 enable a clean subsystem restart, via the implementation of the 
9801 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
9802 HP)
9803
9804 Implemented enhancements to the multithreading support within the 
9805 debugger 
9806 to enable improved multithreading debugging and evaluation of the 
9807 subsystem. 
9808 (Valery Podrezov)
9809
9810 Debugger: Enhanced the Statistics/Memory command to emit the total 
9811 (maximum) 
9812 memory used during the execution, as well as the maximum memory consumed 
9813 by 
9814 each of the various object types. (Valery Podrezov)
9815
9816 Example Code and Data Size: These are the sizes for the OS-independent 
9817 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9818 debug version of the code includes the debug output trace mechanism and 
9819 has 
9820 a much larger code and data size.
9821
9822   Previous Release:
9823     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9824     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9825   Current Release:
9826     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9827     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9828
9829
9830 2) iASL Compiler/Disassembler and Tools:
9831
9832 AcpiExec: Implemented a new option (-m) to display full memory use 
9833 statistics upon subsystem/program termination. (Valery Podrezov)
9834
9835 ----------------------------------------
9836 09 November 2006. Summary of changes for version 20061109:
9837
9838 1) ACPI CA Core Subsystem:
9839
9840 Optimized the Load ASL operator in the case where the source operand is 
9841 an 
9842 operation region. Simply map the operation region memory, instead of 
9843 performing a bytewise read. (Region must be of type SystemMemory, see 
9844 below.)
9845
9846 Fixed the Load ASL operator for the case where the source operand is a 
9847 region field. A buffer object is also allowed as the source operand. BZ 
9848 480
9849
9850 Fixed a problem where the Load ASL operator allowed the source operand to 
9851 be 
9852 an operation region of any type. It is now restricted to regions of type 
9853 SystemMemory, as per the ACPI specification. BZ 481
9854
9855 Additional cleanup and optimizations for the new Table Manager code.
9856
9857 AcpiEnable will now fail if all of the required ACPI tables are not 
9858 loaded 
9859 (FADT, FACS, DSDT). BZ 477
9860
9861 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
9862 this 
9863 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
9864 manually optimized to be aligned and will not work if it is byte-packed. 
9865
9866 Example Code and Data Size: These are the sizes for the OS-independent 
9867 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9868 debug version of the code includes the debug output trace mechanism and 
9869 has 
9870 a much larger code and data size.
9871
9872   Previous Release:
9873     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9874     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9875   Current Release:
9876     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9877     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9878
9879
9880 2) iASL Compiler/Disassembler and Tools:
9881
9882 Fixed a problem where the presence of the _OSI predefined control method 
9883 within complex expressions could cause an internal compiler error.
9884
9885 AcpiExec: Implemented full region support for multiple address spaces. 
9886 SpaceId is now part of the REGION object. BZ 429
9887
9888 ----------------------------------------
9889 11 October 2006. Summary of changes for version 20061011:
9890
9891 1) ACPI CA Core Subsystem:
9892
9893 Completed an AML interpreter performance enhancement for control method 
9894 execution. Previously a 2-pass parse/execution, control methods are now 
9895 completely parsed and executed in a single pass. This improves overall 
9896 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
9897 use. (Valery Podrezov + interpreter changes in version 20051202 that 
9898 eliminated namespace loading during the pass one parse.)
9899
9900 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
9901 not 
9902 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
9903 now 
9904 obtained and also checked for an ID match.
9905
9906 Implemented additional support for the PCI _ADR execution: upsearch until 
9907
9908 device scope is found before executing _ADR. This allows PCI_Config 
9909 operation regions to be declared locally within control methods 
9910 underneath 
9911 PCI device objects.
9912
9913 Fixed a problem with a possible race condition between threads executing 
9914 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
9915 modifying AcpiWalkNamespace to (by default) ignore all temporary 
9916 namespace 
9917 entries created during any concurrent control method execution. An 
9918 additional namespace race condition is known to exist between 
9919 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
9920 investigation.
9921
9922 Restructured the AML ParseLoop function, breaking it into several 
9923 subfunctions in order to reduce CPU stack use and improve 
9924 maintainability. 
9925 (Mikhail Kouzmich)
9926
9927 AcpiGetHandle: Fix for parameter validation to detect invalid 
9928 combinations 
9929 of prefix handle and pathname. BZ 478
9930
9931 Example Code and Data Size: These are the sizes for the OS-independent 
9932 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9933 debug version of the code includes the debug output trace mechanism and 
9934 has 
9935 a much larger code and data size.
9936
9937   Previous Release:
9938     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9939     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9940   Current Release:
9941     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9942     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9943
9944 2) iASL Compiler/Disassembler and Tools:
9945
9946 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
9947 Manager 
9948 to restore original behavior.
9949
9950 ----------------------------------------
9951 27 September 2006. Summary of changes for version 20060927:
9952
9953 1) ACPI CA Core Subsystem:
9954
9955 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
9956 These functions now use a spinlock for mutual exclusion and the interrupt 
9957 level indication flag is not needed.
9958
9959 Fixed a problem with the Global Lock where the lock could appear to be 
9960 obtained before it is actually obtained. The global lock semaphore was 
9961 inadvertently created with one unit instead of zero units. (BZ 464) 
9962 Fiodor 
9963 Suietov.
9964
9965 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
9966 during 
9967 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9968
9969 Example Code and Data Size: These are the sizes for the OS-independent 
9970 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9971 debug version of the code includes the debug output trace mechanism and 
9972 has 
9973 a much larger code and data size.
9974
9975   Previous Release:
9976     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9977     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9978   Current Release:
9979     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9980     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9981
9982
9983 2) iASL Compiler/Disassembler and Tools:
9984
9985 Fixed a compilation problem with the pre-defined Resource Descriptor 
9986 field 
9987 names where an "object does not exist" error could be incorrectly 
9988 generated 
9989 if the parent ResourceTemplate pathname places the template within a 
9990 different namespace scope than the current scope. (BZ 7212)
9991
9992 Fixed a problem where the compiler could hang after syntax errors 
9993 detected 
9994 in an ElseIf construct. (BZ 453)
9995
9996 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
9997 operator. An incorrect output filename was produced when this parameter 
9998 was 
9999 a null string (""). Now, the original input filename is used as the AML 
10000 output filename, with an ".aml" extension.
10001
10002 Implemented a generic batch command mode for the AcpiExec utility 
10003 (execute 
10004 any AML debugger command) (Valery Podrezov).
10005
10006 ----------------------------------------
10007 12 September 2006. Summary of changes for version 20060912:
10008
10009 1) ACPI CA Core Subsystem:
10010
10011 Enhanced the implementation of the "serialized mode" of the interpreter 
10012 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
10013 specified, instead of creating a serialization semaphore per control 
10014 method, 
10015 the interpreter lock is simply no longer released before a blocking 
10016 operation during control method execution. This effectively makes the AML 
10017 Interpreter single-threaded. The overhead of a semaphore per-method is 
10018 eliminated.
10019
10020 Fixed a regression where an error was no longer emitted if a control 
10021 method 
10022 attempts to create 2 objects of the same name. This once again returns 
10023 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
10024 that 
10025 will dynamically serialize the control method to possible prevent future 
10026 errors. (BZ 440)
10027
10028 Integrated a fix for a problem with PCI Express HID detection in the PCI 
10029 Config Space setup procedure. (BZ 7145)
10030
10031 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
10032 AcpiHwInitialize function - the FADT registers are now validated when the 
10033 table is loaded.
10034
10035 Added two new warnings during FADT verification - 1) if the FADT is 
10036 larger 
10037 than the largest known FADT version, and 2) if there is a mismatch 
10038 between 
10039
10040 32-bit block address and the 64-bit X counterpart (when both are non-
10041 zero.)
10042
10043 Example Code and Data Size: These are the sizes for the OS-independent 
10044 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10045 debug version of the code includes the debug output trace mechanism and 
10046 has 
10047 a much larger code and data size.
10048
10049   Previous Release:
10050     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
10051     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
10052   Current Release:
10053     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10054     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
10055
10056
10057 2) iASL Compiler/Disassembler and Tools:
10058
10059 Fixed a problem with the implementation of the Switch() operator where 
10060 the 
10061 temporary variable was declared too close to the actual Switch, instead 
10062 of 
10063 at method level. This could cause a problem if the Switch() operator is 
10064 within a while loop, causing an error on the second iteration. (BZ 460)
10065
10066 Disassembler - fix for error emitted for unknown type for target of scope 
10067 operator. Now, ignore it and continue.
10068
10069 Disassembly of an FADT now verifies the input FADT and reports any errors 
10070 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
10071
10072 Disassembly of raw data buffers with byte initialization data now 
10073 prefixes 
10074 each output line with the current buffer offset.
10075
10076 Disassembly of ASF! table now includes all variable-length data fields at 
10077 the end of some of the subtables.
10078
10079 The disassembler now emits a comment if a buffer appears to be a 
10080 ResourceTemplate, but cannot be disassembled as such because the EndTag 
10081 does 
10082 not appear at the very end of the buffer.
10083
10084 AcpiExec - Added the "-t" command line option to enable the serialized 
10085 mode 
10086 of the AML interpreter.
10087
10088 ----------------------------------------
10089 31 August 2006. Summary of changes for version 20060831:
10090
10091 1) ACPI CA Core Subsystem:
10092
10093 Miscellaneous fixes for the Table Manager:
10094 - Correctly initialize internal common FADT for all 64-bit "X" fields
10095 - Fixed a couple table mapping issues during table load
10096 - Fixed a couple alignment issues for IA64
10097 - Initialize input array to zero in AcpiInitializeTables
10098 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
10099 AcpiGetTableByIndex
10100
10101 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
10102 now 
10103 immediately disabled to prevent the waking GPE from firing again and to 
10104 prevent other wake GPEs from interrupting the wake process.
10105
10106 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
10107 to 
10108 be used for debugging systems with a large number of ACPI interrupts.
10109
10110 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
10111 both the ACPICA headers and the disassembler.
10112
10113 Example Code and Data Size: These are the sizes for the OS-independent 
10114 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10115 debug version of the code includes the debug output trace mechanism and 
10116 has 
10117 a much larger code and data size.
10118
10119   Previous Release:
10120     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10121     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10122   Current Release:
10123     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
10124     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
10125
10126
10127 2) iASL Compiler/Disassembler and Tools:
10128
10129 Disassembler support for the DMAR ACPI table.
10130
10131 ----------------------------------------
10132 23 August 2006. Summary of changes for version 20060823:
10133
10134 1) ACPI CA Core Subsystem:
10135
10136 The Table Manager component has been completely redesigned and 
10137 reimplemented. The new design is much simpler, and reduces the overall 
10138 code 
10139 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
10140 is 
10141 now possible to obtain the ACPI tables very early during kernel 
10142 initialization, even before dynamic memory management is initialized. 
10143 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
10144
10145 Obsolete ACPICA interfaces:
10146
10147 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
10148 init 
10149 time).
10150 - AcpiLoadTable: Not needed.
10151 - AcpiUnloadTable: Not needed.
10152
10153 New ACPICA interfaces:
10154
10155 - AcpiInitializeTables: Must be called before the table manager can be 
10156 used.
10157 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
10158 allocated memory after it becomes available.
10159 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
10160 tables 
10161 in the RSDT/XSDT.
10162
10163 Other ACPICA changes:
10164
10165 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
10166 Use 
10167 AcpiOsUnmapMemory to free this mapping.
10168 - AcpiGetTable returns the actual mapped table. The mapping is managed 
10169 internally and must not be deleted by the caller. Use of this interface 
10170 causes no additional dynamic memory allocation.
10171 - AcpiFindRootPointer: Support for physical addressing has been 
10172 eliminated, 
10173 it appeared to be unused.
10174 - The interface to AcpiOsMapMemory has changed to be consistent with the 
10175 other allocation interfaces.
10176 - The interface to AcpiOsGetRootPointer has changed to eliminate 
10177 unnecessary 
10178 parameters.
10179 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
10180 64-
10181 bit platforms. Was previously 64 bits on all platforms.
10182 - The interface to the ACPI Global Lock acquire/release macros have 
10183 changed 
10184 slightly since ACPICA no longer keeps a local copy of the FACS with a 
10185 constructed pointer to the actual global lock.
10186
10187 Porting to the new table manager:
10188
10189 - AcpiInitializeTables: Must be called once, and can be called anytime 
10190 during the OS initialization process. It allows the host to specify an 
10191 area 
10192 of memory to be used to store the internal version of the RSDT/XSDT (root 
10193 table). This allows the host to access ACPI tables before memory 
10194 management 
10195 is initialized and running.
10196 - AcpiReallocateRootTable: Can be called after memory management is 
10197 running 
10198 to copy the root table to a dynamically allocated array, freeing up the 
10199 scratch memory specified in the call to AcpiInitializeTables.
10200 - AcpiSubsystemInitialize: This existing interface is independent of the 
10201 Table Manager, and does not have to be called before the Table Manager 
10202 can 
10203 be used, it only must be called before the rest of ACPICA can be used.
10204 - ACPI Tables: Some changes have been made to the names and structure of 
10205 the 
10206 actbl.h and actbl1.h header files and may require changes to existing 
10207 code. 
10208 For example, bitfields have been completely removed because of their lack 
10209 of 
10210 portability across C compilers.
10211 - Update interfaces to the Global Lock acquire/release macros if local 
10212 versions are used. (see acwin.h)
10213
10214 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
10215
10216 New files: tbfind.c
10217
10218 Example Code and Data Size: These are the sizes for the OS-independent 
10219 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10220 debug version of the code includes the debug output trace mechanism and 
10221 has 
10222 a much larger code and data size.
10223
10224   Previous Release:
10225     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10226     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10227   Current Release:
10228     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10229     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10230
10231
10232 2) iASL Compiler/Disassembler and Tools:
10233
10234 No changes for this release.
10235
10236 ----------------------------------------
10237 21 July 2006. Summary of changes for version 20060721:
10238
10239 1) ACPI CA Core Subsystem:
10240
10241 The full source code for the ASL test suite used to validate the iASL 
10242 compiler and the ACPICA core subsystem is being released with the ACPICA 
10243 source for the first time. The source is contained in a separate package 
10244 and 
10245 consists of over 1100 files that exercise all ASL/AML operators. The 
10246 package 
10247 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
10248 Fiodor 
10249 Suietov)
10250
10251 Completed a new design and implementation for support of the ACPI Global 
10252 Lock. On the OS side, the global lock is now treated as a standard AML 
10253 mutex. Previously, multiple OS threads could "acquire" the global lock 
10254 simultaneously. However, this could cause the BIOS to be starved out of 
10255 the 
10256 lock - especially in cases such as the Embedded Controller driver where 
10257 there is a tight coupling between the OS and the BIOS.
10258
10259 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
10260 The Global Lock interrupt handler no longer queues the execution of a 
10261 separate thread to signal the global lock semaphore. Instead, the 
10262 semaphore 
10263 is signaled directly from the interrupt handler.
10264
10265 Implemented support within the AML interpreter for package objects that 
10266 contain a larger AML length (package list length) than the package 
10267 element 
10268 count. In this case, the length of the package is truncated to match the 
10269 package element count. Some BIOS code apparently modifies the package 
10270 length 
10271 on the fly, and this change supports this behavior. Provides 
10272 compatibility 
10273 with the MS AML interpreter. (With assistance from Fiodor Suietov)
10274
10275 Implemented a temporary fix for the BankValue parameter of a Bank Field 
10276 to 
10277 support all constant values, now including the Zero and One opcodes. 
10278 Evaluation of this parameter must eventually be converted to a full 
10279 TermArg 
10280 evaluation. A not-implemented error is now returned (temporarily) for 
10281 non-
10282 constant values for this parameter.
10283
10284 Fixed problem reports (Fiodor Suietov) integrated:
10285 - Fix for premature object deletion after CopyObject on Operation Region 
10286 (BZ 
10287 350)
10288
10289 Example Code and Data Size: These are the sizes for the OS-independent 
10290 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10291 debug version of the code includes the debug output trace mechanism and 
10292 has 
10293 a much larger code and data size.
10294
10295   Previous Release:
10296     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
10297     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
10298   Current Release:
10299     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10300     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10301
10302
10303 2) iASL Compiler/Disassembler and Tools:
10304
10305 No changes for this release.
10306
10307 ----------------------------------------
10308 07 July 2006. Summary of changes for version 20060707:
10309
10310 1) ACPI CA Core Subsystem:
10311
10312 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
10313 that do not allow the initialization of address pointers within packed 
10314 structures - even though the hardware itself may support misaligned 
10315 transfers. Some of the debug data structures are packed by default to 
10316 minimize size.
10317
10318 Added an error message for the case where AcpiOsGetThreadId() returns 
10319 zero. 
10320 A non-zero value is required by the core ACPICA code to ensure the proper 
10321 operation of AML mutexes and recursive control methods.
10322
10323 The DSDT is now the only ACPI table that determines whether the AML 
10324 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
10325 but 
10326 the hooks for per-table 32/64 switching have been removed from the code. 
10327
10328 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
10329
10330 Fixed a possible leak of an OwnerID in the error path of 
10331 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
10332 deletion to a single place in AcpiTbUninstallTable to correct possible 
10333 leaks 
10334 when using the AcpiTbDeleteTablesByType interface (with assistance from 
10335 Lance Ortiz.)
10336
10337 Fixed a problem with Serialized control methods where the semaphore 
10338 associated with the method could be over-signaled after multiple method 
10339 invocations.
10340
10341 Fixed two issues with the locking of the internal namespace data 
10342 structure. 
10343 Both the Unload() operator and AcpiUnloadTable interface now lock the 
10344 namespace during the namespace deletion associated with the table unload 
10345 (with assistance from Linn Crosetto.)
10346
10347 Fixed problem reports (Valery Podrezov) integrated:
10348 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
10349
10350 Fixed problem reports (Fiodor Suietov) integrated:
10351 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
10352 - On Address Space handler deletion, needless deactivation call (BZ 374)
10353 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
10354 375)
10355 - Possible memory leak, Notify sub-objects of Processor, Power, 
10356 ThermalZone 
10357 (BZ 376)
10358 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
10359 - Minimum Length of RSDT should be validated (BZ 379)
10360 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
10361 Handler (BZ (380)
10362 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
10363 loaded 
10364 (BZ 381)
10365
10366 Example Code and Data Size: These are the sizes for the OS-independent 
10367 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10368 debug version of the code includes the debug output trace mechanism and 
10369 has 
10370 a much larger code and data size.
10371
10372   Previous Release:
10373     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10374     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10375   Current Release:
10376     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10377     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10378
10379
10380 2) iASL Compiler/Disassembler and Tools:
10381
10382 Fixed problem reports:
10383 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
10384 436)
10385
10386 ----------------------------------------
10387 23 June 2006. Summary of changes for version 20060623:
10388
10389 1) ACPI CA Core Subsystem:
10390
10391 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
10392 allows the type to be customized to the host OS for improved efficiency 
10393 (since a spinlock is usually a very small object.)
10394
10395 Implemented support for "ignored" bits in the ACPI registers. According 
10396 to 
10397 the ACPI specification, these bits should be preserved when writing the 
10398 registers via a read/modify/write cycle. There are 3 bits preserved in 
10399 this 
10400 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
10401
10402 Implemented the initial deployment of new OSL mutex interfaces. Since 
10403 some 
10404 host operating systems have separate mutex and semaphore objects, this 
10405 feature was requested. The base code now uses mutexes (and the new mutex 
10406 interfaces) wherever a binary semaphore was used previously. However, for 
10407 the current release, the mutex interfaces are defined as macros to map 
10408 them 
10409 to the existing semaphore interfaces. Therefore, no OSL changes are 
10410 required 
10411 at this time. (See acpiosxf.h)
10412
10413 Fixed several problems with the support for the control method SyncLevel 
10414 parameter. The SyncLevel now works according to the ACPI specification 
10415 and 
10416 in concert with the Mutex SyncLevel parameter, since the current 
10417 SyncLevel 
10418 is a property of the executing thread. Mutual exclusion for control 
10419 methods 
10420 is now implemented with a mutex instead of a semaphore.
10421
10422 Fixed three instances of the use of the C shift operator in the bitfield 
10423 support code (exfldio.c) to avoid the use of a shift value larger than 
10424 the 
10425 target data width. The behavior of C compilers is undefined in this case 
10426 and 
10427 can cause unpredictable results, and therefore the case must be detected 
10428 and 
10429 avoided. (Fiodor Suietov)
10430
10431 Added an info message whenever an SSDT or OEM table is loaded dynamically 
10432 via the Load() or LoadTable() ASL operators. This should improve 
10433 debugging 
10434 capability since it will show exactly what tables have been loaded 
10435 (beyond 
10436 the tables present in the RSDT/XSDT.)
10437
10438 Example Code and Data Size: These are the sizes for the OS-independent 
10439 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10440 debug version of the code includes the debug output trace mechanism and 
10441 has 
10442 a much larger code and data size.
10443
10444   Previous Release:
10445     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10446     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10447   Current Release:
10448     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10449     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10450
10451
10452 2) iASL Compiler/Disassembler and Tools:
10453
10454 No changes for this release.
10455
10456 ----------------------------------------
10457 08 June 2006. Summary of changes for version 20060608:
10458
10459 1) ACPI CA Core Subsystem:
10460
10461 Converted the locking mutex used for the ACPI hardware to a spinlock. 
10462 This 
10463 change should eliminate all problems caused by attempting to acquire a 
10464 semaphore at interrupt level, and it means that all ACPICA external 
10465 interfaces that directly access the ACPI hardware can be safely called 
10466 from 
10467 interrupt level. OSL code that implements the semaphore interfaces should 
10468 be 
10469 able to eliminate any workarounds for being called at interrupt level.
10470
10471 Fixed a regression introduced in 20060526 where the ACPI device 
10472 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
10473 device 
10474 did not have an optional _INI method.
10475
10476 Fixed an IndexField issue where a write to the Data Register should be 
10477 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
10478 433, 
10479 Fiodor Suietov)
10480
10481 Fixed problem reports (Valery Podrezov) integrated:
10482 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
10483
10484 Fixed problem reports (Fiodor Suietov) integrated:
10485 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
10486
10487 Removed four global mutexes that were obsolete and were no longer being 
10488 used.
10489
10490 Example Code and Data Size: These are the sizes for the OS-independent 
10491 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10492 debug version of the code includes the debug output trace mechanism and 
10493 has 
10494 a much larger code and data size.
10495
10496   Previous Release:
10497     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10498     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10499   Current Release:
10500     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10501     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10502
10503
10504 2) iASL Compiler/Disassembler and Tools:
10505
10506 Fixed a fault when using -g option (get tables from registry) on Windows 
10507 machines.
10508
10509 Fixed problem reports integrated:
10510 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
10511 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
10512 Suietov)
10513 - Global table revision override (-r) is ignored (BZ 413)
10514
10515 ----------------------------------------
10516 26 May 2006. Summary of changes for version 20060526:
10517
10518 1) ACPI CA Core Subsystem:
10519
10520 Restructured, flattened, and simplified the internal interfaces for 
10521 namespace object evaluation - resulting in smaller code, less CPU stack 
10522 use, 
10523 and fewer interfaces. (With assistance from Mikhail Kouzmich)
10524
10525 Fixed a problem with the CopyObject operator where the first parameter 
10526 was 
10527 not typed correctly for the parser, interpreter, compiler, and 
10528 disassembler. 
10529 Caused various errors and unexpected behavior.
10530
10531 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
10532 produced incorrect results with some C compilers. Since the behavior of C 
10533 compilers when the shift value is larger than the datatype width is 
10534 apparently not well defined, the interpreter now detects this condition 
10535 and 
10536 simply returns zero as expected in all such cases. (BZ 395)
10537
10538 Fixed problem reports (Valery Podrezov) integrated:
10539 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
10540 - Allow interpreter to handle nested method declarations (BZ 5361)
10541
10542 Fixed problem reports (Fiodor Suietov) integrated:
10543 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
10544 355)
10545 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
10546 356)
10547 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
10548 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
10549 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
10550 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
10551 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
10552 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
10553 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
10554 365)
10555 - Status of the Global Initialization Handler call not used (BZ 366)
10556 - Incorrect object parameter to Global Initialization Handler (BZ 367)
10557
10558 Example Code and Data Size: These are the sizes for the OS-independent 
10559 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10560 debug version of the code includes the debug output trace mechanism and 
10561 has 
10562 a much larger code and data size.
10563
10564   Previous Release:
10565     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10566     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10567   Current Release:
10568     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10569     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10570
10571
10572 2) iASL Compiler/Disassembler and Tools:
10573
10574 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
10575 namespace identifiers with no collision with existing resource descriptor 
10576 macro names. This provides compatibility with other ASL compilers and is 
10577 most useful for disassembly/recompilation of existing tables without 
10578 parse 
10579 errors. (With assistance from Thomas Renninger)
10580
10581 Disassembler: fixed an incorrect disassembly problem with the 
10582 DataTableRegion and CopyObject operators. Fixed a possible fault during 
10583 disassembly of some Alias operators.
10584
10585 ----------------------------------------
10586 12 May 2006. Summary of changes for version 20060512:
10587
10588 1) ACPI CA Core Subsystem:
10589
10590 Replaced the AcpiOsQueueForExecution interface with a new interface named 
10591 AcpiOsExecute. The major difference is that the new interface does not 
10592 have 
10593 a Priority parameter, this appeared to be useless and has been replaced 
10594 by 
10595
10596 Type parameter. The Type tells the host what type of execution is being 
10597 requested, such as global lock handler, notify handler, GPE handler, etc. 
10598 This allows the host to queue and execute the request as appropriate for 
10599 the 
10600 request type, possibly using different work queues and different 
10601 priorities 
10602 for the various request types. This enables fixes for multithreading 
10603 deadlock problems such as BZ #5534, and will require changes to all 
10604 existing 
10605 OS interface layers. (Alexey Starikovskiy and Bob Moore)
10606
10607 Fixed a possible memory leak associated with the support for the so-
10608 called 
10609 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
10610 Suietov)
10611
10612 Fixed a problem with the Load() operator where a table load from an 
10613 operation region could overwrite an internal table buffer by up to 7 
10614 bytes 
10615 and cause alignment faults on IPF systems. (With assistance from Luming 
10616 Yu)
10617
10618 Example Code and Data Size: These are the sizes for the OS-independent 
10619 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10620 debug version of the code includes the debug output trace mechanism and 
10621 has 
10622 a much larger code and data size.
10623
10624   Previous Release:
10625     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10626     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10627   Current Release:
10628     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10629     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10630
10631
10632
10633 2) iASL Compiler/Disassembler and Tools:
10634
10635 Disassembler: Implemented support to cross reference the internal 
10636 namespace 
10637 and automatically generate ASL External() statements for symbols not 
10638 defined 
10639 within the current table being disassembled. This will simplify the 
10640 disassembly and recompilation of interdependent tables such as SSDTs 
10641 since 
10642 these statements will no longer have to be added manually.
10643
10644 Disassembler: Implemented experimental support to automatically detect 
10645 invocations of external control methods and generate appropriate 
10646 External() 
10647 statements. This is problematic because the AML cannot be correctly 
10648 parsed 
10649 until the number of arguments for each control method is known. 
10650 Currently, 
10651 standalone method invocations and invocations as the source operand of a 
10652 Store() statement are supported.
10653
10654 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
10655 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
10656 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
10657 more readable and likely closer to the original ASL source.
10658
10659 ----------------------------------------
10660 21 April 2006. Summary of changes for version 20060421:
10661
10662 1) ACPI CA Core Subsystem:
10663
10664 Removed a device initialization optimization introduced in 20051216 where 
10665 the _STA method was not run unless an _INI was also present for the same 
10666 device. This optimization could cause problems because it could allow 
10667 _INI 
10668 methods to be run within a not-present device subtree. (If a not-present 
10669 device had no _INI, _STA would not be run, the not-present status would 
10670 not 
10671 be discovered, and the children of the device would be incorrectly 
10672 traversed.)
10673
10674 Implemented a new _STA optimization where namespace subtrees that do not 
10675 contain _INI are identified and ignored during device initialization. 
10676 Selectively running _STA can significantly improve boot time on large 
10677 machines (with assistance from Len Brown.)
10678
10679 Implemented support for the device initialization case where the returned 
10680 _STA flags indicate a device not-present but functioning. In this case, 
10681 _INI 
10682 is not run, but the device children are examined for presence, as per the 
10683 ACPI specification.
10684
10685 Implemented an additional change to the IndexField support in order to 
10686 conform to MS behavior. The value written to the Index Register is not 
10687 simply a byte offset, it is a byte offset in units of the access width of 
10688 the parent Index Field. (Fiodor Suietov)
10689
10690 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
10691 interface is called during the creation of all AML operation regions, and 
10692 allows the host OS to exert control over what addresses it will allow the 
10693 AML code to access. Operation Regions whose addresses are disallowed will 
10694 cause a runtime exception when they are actually accessed (will not 
10695 affect 
10696 or abort table loading.) See oswinxf or osunixxf for an example 
10697 implementation.
10698
10699 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
10700 interface allows the host OS to match the various "optional" 
10701 interface/behavior strings for the _OSI predefined control method as 
10702 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
10703 for an example implementation.
10704
10705 Restructured and corrected various problems in the exception handling 
10706 code 
10707 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
10708 (with assistance from Takayoshi Kochi.)
10709
10710 Modified the Linux source converter to ignore quoted string literals 
10711 while 
10712 converting identifiers from mixed to lower case. This will correct 
10713 problems 
10714 with the disassembler and other areas where such strings must not be 
10715 modified.
10716
10717 The ACPI_FUNCTION_* macros no longer require quotes around the function 
10718 name. This allows the Linux source converter to convert the names, now 
10719 that 
10720 the converter ignores quoted strings.
10721
10722 Example Code and Data Size: These are the sizes for the OS-independent 
10723 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10724 debug version of the code includes the debug output trace mechanism and 
10725 has 
10726 a much larger code and data size.
10727
10728   Previous Release:
10729
10730     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10731     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10732   Current Release:
10733     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10734     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10735
10736
10737 2) iASL Compiler/Disassembler and Tools:
10738
10739 Implemented 3 new warnings for iASL, and implemented multiple warning 
10740 levels 
10741 (w2 flag).
10742
10743 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
10744 not 
10745 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
10746 check for the possible timeout, a warning is issued.
10747
10748 2) Useless operators: If an ASL operator does not specify an optional 
10749 target 
10750 operand and it also does not use the function return value from the 
10751 operator, a warning is issued since the operator effectively does 
10752 nothing.
10753
10754 3) Unreferenced objects: If a namespace object is created, but never 
10755 referenced, a warning is issued. This is a warning level 2 since there 
10756 are 
10757 cases where this is ok, such as when a secondary table is loaded that 
10758 uses 
10759 the unreferenced objects. Even so, care is taken to only flag objects 
10760 that 
10761 don't look like they will ever be used. For example, the reserved methods 
10762 (starting with an underscore) are usually not referenced because it is 
10763 expected that the OS will invoke them.
10764
10765 ----------------------------------------
10766 31 March 2006. Summary of changes for version 20060331:
10767
10768 1) ACPI CA Core Subsystem:
10769
10770 Implemented header file support for the following additional ACPI tables: 
10771 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
10772 support, 
10773 all current and known ACPI tables are now defined in the ACPICA headers 
10774 and 
10775 are available for use by device drivers and other software.
10776
10777 Implemented support to allow tables that contain ACPI names with invalid 
10778 characters to be loaded. Previously, this would cause the table load to 
10779 fail, but since there are several known cases of such tables on existing 
10780 machines, this change was made to enable ACPI support for them. Also, 
10781 this 
10782 matches the behavior of the Microsoft ACPI implementation.
10783
10784 Fixed a couple regressions introduced during the memory optimization in 
10785 the 
10786 20060317 release. The namespace node definition required additional 
10787 reorganization and an internal datatype that had been changed to 8-bit 
10788 was 
10789 restored to 32-bit. (Valery Podrezov)
10790
10791 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
10792 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
10793 null pointers are now trapped and ignored, matching the behavior of the 
10794 previous implementation before the deployment of AcpiOsReleaseObject.
10795 (Valery Podrezov, Fiodor Suietov)
10796
10797 Fixed a memory mapping leak during the deletion of a SystemMemory 
10798 operation 
10799 region where a cached memory mapping was not deleted. This became a 
10800 noticeable problem for operation regions that are defined within 
10801 frequently 
10802 used control methods. (Dana Meyers)
10803
10804 Reorganized the ACPI table header files into two main files: one for the 
10805 ACPI tables consumed by the ACPICA core, and another for the 
10806 miscellaneous 
10807 ACPI tables that are consumed by the drivers and other software. The 
10808 various 
10809 FADT definitions were merged into one common section and three different 
10810 tables (ACPI 1.0, 1.0+, and 2.0)
10811
10812 Example Code and Data Size: These are the sizes for the OS-independent 
10813 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10814 debug version of the code includes the debug output trace mechanism and 
10815 has 
10816 a much larger code and data size.
10817
10818   Previous Release:
10819     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10820     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10821   Current Release:
10822     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10823     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10824
10825
10826 2) iASL Compiler/Disassembler and Tools:
10827
10828 Disassembler: Implemented support to decode and format all non-AML ACPI 
10829 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
10830 added to the ACPICA headers, therefore all current and known ACPI tables 
10831 are 
10832 supported.
10833
10834 Disassembler: The change to allow ACPI names with invalid characters also 
10835 enables the disassembly of such tables. Invalid characters within names 
10836 are 
10837 changed to '*' to make the name printable; the iASL compiler will still 
10838 generate an error for such names, however, since this is an invalid ACPI 
10839 character.
10840
10841 Implemented an option for AcpiXtract (-a) to extract all tables found in 
10842 the 
10843 input file. The default invocation extracts only the DSDTs and SSDTs.
10844
10845 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
10846 makefile for the AcpiXtract utility.
10847
10848 ----------------------------------------
10849 17 March 2006. Summary of changes for version 20060317:
10850
10851 1) ACPI CA Core Subsystem:
10852
10853 Implemented the use of a cache object for all internal namespace nodes. 
10854 Since there are about 1000 static nodes in a typical system, this will 
10855 decrease memory use for cache implementations that minimize per-
10856 allocation 
10857 overhead (such as a slab allocator.)
10858
10859 Removed the reference count mechanism for internal namespace nodes, since 
10860 it 
10861 was deemed unnecessary. This reduces the size of each namespace node by 
10862 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
10863 case, 
10864 and 32 bytes for the 64-bit case.
10865
10866 Optimized several internal data structures to reduce object size on 64-
10867 bit 
10868 platforms by packing data within the 64-bit alignment. This includes the 
10869 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
10870 instances corresponding to the namespace objects.
10871
10872 Added two new strings for the predefined _OSI method: "Windows 2001.1 
10873 SP1" 
10874 and "Windows 2006".
10875
10876 Split the allocation tracking mechanism out to a separate file, from 
10877 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
10878 application-level code. Kernels may wish to not include uttrack.c in 
10879 distributions.
10880
10881 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
10882 associated 
10883 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
10884 macros.)
10885
10886 Code and Data Size: These are the sizes for the acpica.lib produced by 
10887 the 
10888 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10889 ACPI 
10890 driver or OSPM code. The debug version of the code includes the debug 
10891 output 
10892 trace mechanism and has a much larger code and data size. Note that these 
10893 values will vary depending on the efficiency of the compiler and the 
10894 compiler options used during generation.
10895
10896   Previous Release:
10897     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10898     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10899   Current Release:
10900     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10901     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10902
10903
10904 2) iASL Compiler/Disassembler and Tools:
10905
10906 Implemented an ANSI C version of the acpixtract utility. This version 
10907 will 
10908 automatically extract the DSDT and all SSDTs from the input acpidump text 
10909 file and dump the binary output to separate files. It can also display a 
10910 summary of the input file including the headers for each table found and 
10911 will extract any single ACPI table, with any signature. (See 
10912 source/tools/acpixtract)
10913
10914 ----------------------------------------
10915 10 March 2006. Summary of changes for version 20060310:
10916
10917 1) ACPI CA Core Subsystem:
10918
10919 Tagged all external interfaces to the subsystem with the new 
10920 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
10921 assist 
10922 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
10923 macro. The default definition is NULL.
10924
10925 Added the ACPI_THREAD_ID type for the return value from 
10926 AcpiOsGetThreadId. 
10927 This allows the host to define this as necessary to simplify kernel 
10928 integration. The default definition is ACPI_NATIVE_UINT.
10929
10930 Fixed two interpreter problems related to error processing, the deletion 
10931 of 
10932 objects, and placing invalid pointers onto the internal operator result 
10933 stack. BZ 6028, 6151 (Valery Podrezov)
10934
10935 Increased the reference count threshold where a warning is emitted for 
10936 large 
10937 reference counts in order to eliminate unnecessary warnings on systems 
10938 with 
10939 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
10940 0x800.
10941
10942 Due to universal disagreement as to the meaning of the 'c' in the 
10943 calloc() 
10944 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
10945 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
10946 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
10947 ACPI_FREE.
10948
10949 Code and Data Size: These are the sizes for the acpica.lib produced by 
10950 the 
10951 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10952 ACPI 
10953 driver or OSPM code. The debug version of the code includes the debug 
10954 output 
10955 trace mechanism and has a much larger code and data size. Note that these 
10956 values will vary depending on the efficiency of the compiler and the 
10957 compiler options used during generation.
10958
10959   Previous Release:
10960     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10961     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10962   Current Release:
10963     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10964     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10965
10966
10967 2) iASL Compiler/Disassembler:
10968
10969 Disassembler: implemented support for symbolic resource descriptor 
10970 references. If a CreateXxxxField operator references a fixed offset 
10971 within 
10972
10973 resource descriptor, a name is assigned to the descriptor and the offset 
10974 is 
10975 translated to the appropriate resource tag and pathname. The addition of 
10976 this support brings the disassembled code very close to the original ASL 
10977 source code and helps eliminate run-time errors when the disassembled 
10978 code 
10979 is modified (and recompiled) in such a way as to invalidate the original 
10980 fixed offsets.
10981
10982 Implemented support for a Descriptor Name as the last parameter to the 
10983 ASL 
10984 Register() macro. This parameter was inadvertently left out of the ACPI 
10985 specification, and will be added for ACPI 3.0b.
10986
10987 Fixed a problem where the use of the "_OSI" string (versus the full path 
10988 "\_OSI") caused an internal compiler error. ("No back ptr to op")
10989
10990 Fixed a problem with the error message that occurs when an invalid string 
10991 is 
10992 used for a _HID object (such as one with an embedded asterisk: 
10993 "*PNP010A".) 
10994 The correct message is now displayed.
10995
10996 ----------------------------------------
10997 17 February 2006. Summary of changes for version 20060217:
10998
10999 1) ACPI CA Core Subsystem:
11000
11001 Implemented a change to the IndexField support to match the behavior of 
11002 the 
11003 Microsoft AML interpreter. The value written to the Index register is now 
11004
11005 byte offset, no longer an index based upon the width of the Data 
11006 register. 
11007 This should fix IndexField problems seen on some machines where the Data 
11008 register is not exactly one byte wide. The ACPI specification will be 
11009 clarified on this point.
11010
11011 Fixed a problem where several resource descriptor types could overrun the 
11012 internal descriptor buffer due to size miscalculation: VendorShort, 
11013 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
11014 affect all platforms.
11015
11016 Fixed a problem where individual resource descriptors were misaligned 
11017 within 
11018 the internal buffer, causing alignment faults on IA64 platforms.
11019
11020 Code and Data Size: These are the sizes for the acpica.lib produced by 
11021 the 
11022 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
11023 ACPI 
11024 driver or OSPM code. The debug version of the code includes the debug 
11025 output 
11026 trace mechanism and has a much larger code and data size. Note that these 
11027 values will vary depending on the efficiency of the compiler and the 
11028 compiler options used during generation.
11029
11030   Previous Release:
11031     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11032     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
11033   Current Release:
11034     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
11035     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
11036
11037
11038 2) iASL Compiler/Disassembler:
11039
11040 Implemented support for new reserved names: _WDG and _WED are Microsoft 
11041 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
11042 defined method (Throttling Depth Limit.)
11043
11044 Fixed a problem where a zero-length VendorShort or VendorLong resource 
11045 descriptor was incorrectly emitted as a descriptor of length one.
11046
11047 ----------------------------------------
11048 10 February 2006. Summary of changes for version 20060210:
11049
11050 1) ACPI CA Core Subsystem:
11051
11052 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
11053 normal execution. These became apparent after the conversion from 
11054 ACPI_DEBUG_PRINT.
11055
11056 Fixed a problem where the CreateField operator could hang if the BitIndex 
11057 or 
11058 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
11059
11060 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
11061 failed with an exception. This also fixes a couple of related RefOf and 
11062 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
11063
11064 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
11065 of 
11066 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
11067 BZ 
11068 5480)
11069
11070 Implemented a memory cleanup at the end of the execution of each 
11071 iteration 
11072 of an AML While() loop, preventing the accumulation of outstanding 
11073 objects. 
11074 (Valery Podrezov, BZ 5427)
11075
11076 Eliminated a chunk of duplicate code in the object resolution code. 
11077 (Valery 
11078 Podrezov, BZ 5336)
11079
11080 Fixed several warnings during the 64-bit code generation.
11081
11082 The AcpiSrc source code conversion tool now inserts one line of 
11083 whitespace 
11084 after an if() statement that is followed immediately by a comment, 
11085 improving 
11086 readability of the Linux code.
11087
11088 Code and Data Size: The current and previous library sizes for the core 
11089 subsystem are shown below. These are the code and data sizes for the 
11090 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11091 These 
11092 values do not include any ACPI driver or OSPM code. The debug version of 
11093 the 
11094 code includes the debug output trace mechanism and has a much larger code 
11095 and data size. Note that these values will vary depending on the 
11096 efficiency 
11097 of the compiler and the compiler options used during generation.
11098
11099   Previous Release:
11100     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
11101     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
11102   Current Release:
11103     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11104     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
11105
11106
11107 2) iASL Compiler/Disassembler:
11108
11109 Fixed a problem with the disassembly of a BankField operator with a 
11110 complex 
11111 expression for the BankValue parameter.
11112
11113 ----------------------------------------
11114 27 January 2006. Summary of changes for version 20060127:
11115
11116 1) ACPI CA Core Subsystem:
11117
11118 Implemented support in the Resource Manager to allow unresolved 
11119 namestring 
11120 references within resource package objects for the _PRT method. This 
11121 support 
11122 is in addition to the previously implemented unresolved reference support 
11123 within the AML parser. If the interpreter slack mode is enabled, these 
11124 unresolved references will be passed through to the caller as a NULL 
11125 package 
11126 entry.
11127
11128 Implemented and deployed new macros and functions for error and warning 
11129 messages across the subsystem. These macros are simpler and generate less 
11130 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
11131 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
11132 macros remain defined to allow ACPI drivers time to migrate to the new 
11133 macros.
11134
11135 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
11136 the 
11137 Acquire/Release Lock OSL interfaces.
11138
11139 Fixed a problem where Alias ASL operators are sometimes not correctly 
11140 resolved, in both the interpreter and the iASL compiler.
11141
11142 Fixed several problems with the implementation of the 
11143 ConcatenateResTemplate 
11144 ASL operator. As per the ACPI specification, zero length buffers are now 
11145 treated as a single EndTag. One-length buffers always cause a fatal 
11146 exception. Non-zero length buffers that do not end with a full 2-byte 
11147 EndTag 
11148 cause a fatal exception.
11149
11150 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
11151 interface. (With assistance from Thomas Renninger)
11152
11153 Code and Data Size: The current and previous library sizes for the core 
11154 subsystem are shown below. These are the code and data sizes for the 
11155 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11156 These 
11157 values do not include any ACPI driver or OSPM code. The debug version of 
11158 the 
11159 code includes the debug output trace mechanism and has a much larger code 
11160 and data size. Note that these values will vary depending on the 
11161 efficiency 
11162 of the compiler and the compiler options used during generation.
11163
11164   Previous Release:
11165     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11166     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11167   Current Release:
11168     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
11169     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
11170
11171
11172 2) iASL Compiler/Disassembler:
11173
11174 Fixed an internal error that was generated for any forward references to 
11175 ASL 
11176 Alias objects.
11177
11178 ----------------------------------------
11179 13 January 2006. Summary of changes for version 20060113:
11180
11181 1) ACPI CA Core Subsystem:
11182
11183 Added 2006 copyright to all module headers and signons. This affects 
11184 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
11185 utilities.
11186  
11187 Enhanced the ACPICA error reporting in order to simplify user migration 
11188 to 
11189 the non-debug version of ACPICA. Replaced all instances of the 
11190 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
11191 debug 
11192 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
11193 respectively. This preserves all error and warning messages in the non-
11194 debug 
11195 version of the ACPICA code (this has been referred to as the "debug lite" 
11196 option.) Over 200 cases were converted to create a total of over 380 
11197 error/warning messages across the ACPICA code. This increases the code 
11198 and 
11199 data size of the default non-debug version of the code somewhat (about 
11200 13K), 
11201 but all error/warning reporting may be disabled if desired (and code 
11202 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
11203 configuration option. The size of the debug version of ACPICA remains 
11204 about 
11205 the same.
11206
11207 Fixed a memory leak within the AML Debugger "Set" command. One object was 
11208 not properly deleted for every successful invocation of the command.
11209
11210 Code and Data Size: The current and previous library sizes for the core 
11211 subsystem are shown below. These are the code and data sizes for the 
11212 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11213 These 
11214 values do not include any ACPI driver or OSPM code. The debug version of 
11215 the 
11216 code includes the debug output trace mechanism and has a much larger code 
11217 and data size. Note that these values will vary depending on the 
11218 efficiency 
11219 of the compiler and the compiler options used during generation.
11220
11221   Previous Release:
11222     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11223     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11224   Current Release:
11225     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11226     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11227
11228
11229 2) iASL Compiler/Disassembler:
11230
11231 The compiler now officially supports the ACPI 3.0a specification that was 
11232 released on December 30, 2005. (Specification is available at 
11233 www.acpi.info)
11234
11235 ----------------------------------------
11236 16 December 2005. Summary of changes for version 20051216:
11237
11238 1) ACPI CA Core Subsystem:
11239
11240 Implemented optional support to allow unresolved names within ASL Package 
11241 objects. A null object is inserted in the package when a named reference 
11242 cannot be located in the current namespace. Enabled via the interpreter 
11243 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
11244 machines 
11245 that contain such code.
11246
11247 Implemented an optimization to the initialization sequence that can 
11248 improve 
11249 boot time. During ACPI device initialization, the _STA method is now run 
11250 if 
11251 and only if the _INI method exists. The _STA method is used to determine 
11252 if 
11253 the device is present; An _INI can only be run if _STA returns present, 
11254 but 
11255 it is a waste of time to run the _STA method if the _INI does not exist. 
11256 (Prototype and assistance from Dong Wei)
11257
11258 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
11259 is 
11260 available in the current compiler. Otherwise, the default (void *) cast 
11261 is 
11262 used as before.
11263
11264 Fixed some possible memory leaks found within the execution path of the 
11265 Break, Continue, If, and CreateField operators. (Valery Podrezov)
11266
11267 Fixed a problem introduced in the 20051202 release where an exception is 
11268 generated during method execution if a control method attempts to declare 
11269 another method.
11270
11271 Moved resource descriptor string constants that are used by both the AML 
11272 disassembler and AML debugger to the common utilities directory so that 
11273 these components are independent.
11274
11275 Implemented support in the AcpiExec utility (-e switch) to globally 
11276 ignore 
11277 exceptions during control method execution (method is not aborted.)
11278
11279 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
11280 generation.
11281
11282 Code and Data Size: The current and previous library sizes for the core 
11283 subsystem are shown below. These are the code and data sizes for the 
11284 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11285 These 
11286 values do not include any ACPI driver or OSPM code. The debug version of 
11287 the 
11288 code includes the debug output trace mechanism and has a much larger code 
11289 and data size. Note that these values will vary depending on the 
11290 efficiency 
11291 of the compiler and the compiler options used during generation.
11292
11293   Previous Release:
11294     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11295     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11296   Current Release:
11297     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11298     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11299
11300
11301 2) iASL Compiler/Disassembler:
11302
11303 Fixed a problem where a CPU stack overflow fault could occur if a 
11304 recursive 
11305 method call was made from within a Return statement.
11306
11307 ----------------------------------------
11308 02 December 2005. Summary of changes for version 20051202:
11309
11310 1) ACPI CA Core Subsystem:
11311
11312 Modified the parsing of control methods to no longer create namespace 
11313 objects during the first pass of the parse. Objects are now created only 
11314 during the execute phase, at the moment the namespace creation operator 
11315 is 
11316 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
11317 This 
11318 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
11319 reentrant control methods are protected by an AML mutex. The mutex will 
11320 now 
11321 correctly block multiple threads from attempting to create the same 
11322 object 
11323 more than once.
11324
11325 Increased the number of available Owner Ids for namespace object tracking 
11326 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
11327 on 
11328 some machines with a large number of ACPI tables (either static or 
11329 dynamic).
11330
11331 Fixed a problem with the AcpiExec utility where a fault could occur when 
11332 the 
11333 -b switch (batch mode) is used.
11334
11335 Enhanced the namespace dump routine to output the owner ID for each 
11336 namespace object.
11337
11338 Code and Data Size: The current and previous library sizes for the core 
11339 subsystem are shown below. These are the code and data sizes for the 
11340 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11341 These 
11342 values do not include any ACPI driver or OSPM code. The debug version of 
11343 the 
11344 code includes the debug output trace mechanism and has a much larger code 
11345 and data size. Note that these values will vary depending on the 
11346 efficiency 
11347 of the compiler and the compiler options used during generation.
11348
11349   Previous Release:
11350     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11351     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11352   Current Release:
11353     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11354     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11355
11356
11357 2) iASL Compiler/Disassembler:
11358
11359 Fixed a parse error during compilation of certain Switch/Case constructs. 
11360 To 
11361 simplify the parse, the grammar now allows for multiple Default 
11362 statements 
11363 and this error is now detected and flagged during the analysis phase.
11364
11365 Disassembler: The disassembly now includes the contents of the original 
11366 table header within a comment at the start of the file. This includes the 
11367 name and version of the original ASL compiler.
11368
11369 ----------------------------------------
11370 17 November 2005. Summary of changes for version 20051117:
11371
11372 1) ACPI CA Core Subsystem:
11373
11374 Fixed a problem in the AML parser where the method thread count could be 
11375 decremented below zero if any errors occurred during the method parse 
11376 phase. 
11377 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
11378 machines. 
11379 This also fixed a related regression with the mechanism that detects and 
11380 corrects methods that cannot properly handle reentrancy (related to the 
11381 deployment of the new OwnerId mechanism.)
11382
11383 Eliminated the pre-parsing of control methods (to detect errors) during 
11384 table load. Related to the problem above, this was causing unwind issues 
11385 if 
11386 any errors occurred during the parse, and it seemed to be overkill. A 
11387 table 
11388 load should not be aborted if there are problems with any single control 
11389 method, thus rendering this feature rather pointless.
11390
11391 Fixed a problem with the new table-driven resource manager where an 
11392 internal 
11393 buffer overflow could occur for small resource templates.
11394
11395 Implemented a new external interface, AcpiGetVendorResource. This 
11396 interface 
11397 will find and return a vendor-defined resource descriptor within a _CRS 
11398 or 
11399 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
11400 Helgaas.
11401
11402 Removed the length limit (200) on string objects as per the upcoming ACPI 
11403 3.0A specification. This affects the following areas of the interpreter: 
11404 1) 
11405 any implicit conversion of a Buffer to a String, 2) a String object 
11406 result 
11407 of the ASL Concatentate operator, 3) the String object result of the ASL 
11408 ToString operator.
11409
11410 Fixed a problem in the Windows OS interface layer (OSL) where a 
11411 WAIT_FOREVER 
11412 on a semaphore object would incorrectly timeout. This allows the 
11413 multithreading features of the AcpiExec utility to work properly under 
11414 Windows.
11415
11416 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
11417 the recently added file named "utresrc.c".
11418
11419 Code and Data Size: The current and previous library sizes for the core 
11420 subsystem are shown below. These are the code and data sizes for the 
11421 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11422 These 
11423 values do not include any ACPI driver or OSPM code. The debug version of 
11424 the 
11425 code includes the debug output trace mechanism and has a much larger code 
11426 and data size. Note that these values will vary depending on the 
11427 efficiency 
11428 of the compiler and the compiler options used during generation.
11429
11430   Previous Release:
11431     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11432     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11433   Current Release:
11434     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11435     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11436
11437
11438 2) iASL Compiler/Disassembler:
11439
11440 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
11441 specification. For the iASL compiler, this means that string literals 
11442 within 
11443 the source ASL can be of any length. 
11444
11445 Enhanced the listing output to dump the AML code for resource descriptors 
11446 immediately after the ASL code for each descriptor, instead of in a block 
11447 at 
11448 the end of the entire resource template.
11449
11450 Enhanced the compiler debug output to dump the entire original parse tree 
11451 constructed during the parse phase, before any transforms are applied to 
11452 the 
11453 tree. The transformed tree is dumped also.
11454
11455 ----------------------------------------
11456 02 November 2005. Summary of changes for version 20051102:
11457
11458 1) ACPI CA Core Subsystem:
11459
11460 Modified the subsystem initialization sequence to improve GPE support. 
11461 The 
11462 GPE initialization has been split into two parts in order to defer 
11463 execution 
11464 of the _PRW methods (Power Resources for Wake) until after the hardware 
11465 is 
11466 fully initialized and the SCI handler is installed. This allows the _PRW 
11467 methods to access fields protected by the Global Lock. This will fix 
11468 systems 
11469 where a NO_GLOBAL_LOCK exception has been seen during initialization.
11470
11471 Converted the ACPI internal object disassemble and display code within 
11472 the 
11473 AML debugger to fully table-driven operation, reducing code size and 
11474 increasing maintainability.
11475
11476 Fixed a regression with the ConcatenateResTemplate() ASL operator 
11477 introduced 
11478 in the 20051021 release.
11479
11480 Implemented support for "local" internal ACPI object types within the 
11481 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
11482 These local types include RegionFields, BankFields, IndexFields, Alias, 
11483 and 
11484 reference objects.
11485
11486 Moved common AML resource handling code into a new file, "utresrc.c". 
11487 This 
11488 code is shared by both the Resource Manager and the AML Debugger.
11489
11490 Code and Data Size: The current and previous library sizes for the core 
11491 subsystem are shown below. These are the code and data sizes for the 
11492 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11493 These 
11494 values do not include any ACPI driver or OSPM code. The debug version of 
11495 the 
11496 code includes the debug output trace mechanism and has a much larger code 
11497 and data size. Note that these values will vary depending on the 
11498 efficiency 
11499 of the compiler and the compiler options used during generation.
11500
11501   Previous Release:
11502     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11503     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11504   Current Release:
11505     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11506     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11507
11508
11509 2) iASL Compiler/Disassembler:
11510
11511 Fixed a problem with very large initializer lists (more than 4000 
11512 elements) 
11513 for both Buffer and Package objects where the parse stack could overflow.
11514
11515 Enhanced the pre-compile source code scan for non-ASCII characters to 
11516 ignore 
11517 characters within comment fields. The scan is now always performed and is 
11518 no 
11519 longer optional, detecting invalid characters within a source file 
11520 immediately rather than during the parse phase or later.
11521
11522 Enhanced the ASL grammar definition to force early reductions on all 
11523 list-
11524 style grammar elements so that the overall parse stack usage is greatly 
11525 reduced. This should improve performance and reduce the possibility of 
11526 parse 
11527 stack overflow.
11528
11529 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
11530 Also, 
11531 with the addition of a %expected statement, the compiler generates from 
11532 source with no warnings.
11533
11534 Fixed a possible segment fault in the disassembler if the input filename 
11535 does not contain a "dot" extension (Thomas Renninger).
11536
11537 ----------------------------------------
11538 21 October 2005. Summary of changes for version 20051021:
11539
11540 1) ACPI CA Core Subsystem:
11541
11542 Implemented support for the EM64T and other x86-64 processors. This 
11543 essentially entails recognizing that these processors support non-aligned 
11544 memory transfers. Previously, all 64-bit processors were assumed to lack 
11545 hardware support for non-aligned transfers.
11546
11547 Completed conversion of the Resource Manager to nearly full table-driven 
11548 operation. Specifically, the resource conversion code (convert AML to 
11549 internal format and the reverse) and the debug code to dump internal 
11550 resource descriptors are fully table-driven, reducing code and data size 
11551 and 
11552 improving maintainability.
11553
11554 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
11555 word 
11556 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
11557 from 
11558 Alexey Starikovskiy)
11559
11560 Implemented support within the resource conversion code for the Type-
11561 Specific byte within the various ACPI 3.0 *WordSpace macros.
11562
11563 Fixed some issues within the resource conversion code for the type-
11564 specific 
11565 flags for both Memory and I/O address resource descriptors. For Memory, 
11566 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
11567 TTP flags into two separate fields.
11568
11569 Code and Data Size: The current and previous library sizes for the core 
11570 subsystem are shown below. These are the code and data sizes for the 
11571 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11572 These 
11573 values do not include any ACPI driver or OSPM code. The debug version of 
11574 the 
11575 code includes the debug output trace mechanism and has a much larger code 
11576 and data size. Note that these values will vary depending on the 
11577 efficiency 
11578 of the compiler and the compiler options used during generation.
11579
11580   Previous Release:
11581     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11582     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11583   Current Release:
11584     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11585     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11586
11587
11588
11589 2) iASL Compiler/Disassembler:
11590
11591 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
11592 the 
11593 corresponding ResourceSource string was not also present in a resource 
11594 descriptor declaration. This restriction caused problems with existing 
11595 AML/ASL code that includes the Index byte without the string. When such 
11596 AML 
11597 was disassembled, it could not be compiled without modification. Further, 
11598 the modified code created a resource template with a different size than 
11599 the 
11600 original, breaking code that used fixed offsets into the resource 
11601 template 
11602 buffer.
11603
11604 Removed a recent feature of the disassembler to ignore a lone 
11605 ResourceIndex 
11606 byte. This byte is now emitted if present so that the exact AML can be 
11607 reproduced when the disassembled code is recompiled.
11608
11609 Improved comments and text alignment for the resource descriptor code 
11610 emitted by the disassembler.
11611
11612 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
11613
11614 Register() resource descriptor.
11615
11616 ----------------------------------------
11617 30 September 2005. Summary of changes for version 20050930:
11618
11619 1) ACPI CA Core Subsystem:
11620
11621 Completed a major overhaul of the Resource Manager code - specifically, 
11622 optimizations in the area of the AML/internal resource conversion code. 
11623 The 
11624 code has been optimized to simplify and eliminate duplicated code, CPU 
11625 stack 
11626 use has been decreased by optimizing function parameters and local 
11627 variables, and naming conventions across the manager have been 
11628 standardized 
11629 for clarity and ease of maintenance (this includes function, parameter, 
11630 variable, and struct/typedef names.) The update may force changes in some 
11631 driver code, depending on how resources are handled by the host OS.
11632
11633 All Resource Manager dispatch and information tables have been moved to a 
11634 single location for clarity and ease of maintenance. One new file was 
11635 created, named "rsinfo.c".
11636
11637 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
11638 guarantee that the argument is not evaluated twice, making them less 
11639 prone 
11640 to macro side-effects. However, since there exists the possibility of 
11641 additional stack use if a particular compiler cannot optimize them (such 
11642 as 
11643 in the debug generation case), the original macros are optionally 
11644 available.  
11645 Note that some invocations of the return_VALUE macro may now cause size 
11646 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
11647 to 
11648 eliminate these. (From Randy Dunlap)
11649
11650 Implemented a new mechanism to enable debug tracing for individual 
11651 control 
11652 methods. A new external interface, AcpiDebugTrace, is provided to enable 
11653 this mechanism. The intent is to allow the host OS to easily enable and 
11654 disable tracing for problematic control methods. This interface can be 
11655 easily exposed to a user or debugger interface if desired. See the file 
11656 psxface.c for details.
11657
11658 AcpiUtCallocate will now return a valid pointer if a length of zero is 
11659 specified - a length of one is used and a warning is issued. This matches 
11660 the behavior of AcpiUtAllocate.
11661
11662 Code and Data Size: The current and previous library sizes for the core 
11663 subsystem are shown below. These are the code and data sizes for the 
11664 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11665 These 
11666 values do not include any ACPI driver or OSPM code. The debug version of 
11667 the 
11668 code includes the debug output trace mechanism and has a much larger code 
11669 and data size. Note that these values will vary depending on the 
11670 efficiency 
11671 of the compiler and the compiler options used during generation.
11672
11673   Previous Release:
11674     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11675     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11676   Current Release:
11677     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11678     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11679
11680
11681 2) iASL Compiler/Disassembler:
11682
11683 A remark is issued if the effective compile-time length of a package or 
11684 buffer is zero. Previously, this was a warning.
11685
11686 ----------------------------------------
11687 16 September 2005. Summary of changes for version 20050916:
11688
11689 1) ACPI CA Core Subsystem:
11690
11691 Fixed a problem within the Resource Manager where support for the Generic 
11692 Register descriptor was not fully implemented. This descriptor is now 
11693 fully 
11694 recognized, parsed, disassembled, and displayed.
11695
11696 Completely restructured the Resource Manager code to utilize table-driven 
11697 dispatch and lookup, eliminating many of the large switch() statements. 
11698 This 
11699 reduces overall subsystem code size and code complexity. Affects the 
11700 resource parsing and construction, disassembly, and debug dump output.
11701
11702 Cleaned up and restructured the debug dump output for all resource 
11703 descriptors. Improved readability of the output and reduced code size.
11704
11705 Fixed a problem where changes to internal data structures caused the 
11706 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
11707
11708 Code and Data Size: The current and previous library sizes for the core 
11709 subsystem are shown below. These are the code and data sizes for the 
11710 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11711 These 
11712 values do not include any ACPI driver or OSPM code. The debug version of 
11713 the 
11714 code includes the debug output trace mechanism and has a much larger code 
11715 and data size. Note that these values will vary depending on the 
11716 efficiency 
11717 of the compiler and the compiler options used during generation.
11718
11719   Previous Release:
11720     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11721     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11722   Current Release:
11723     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11724     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11725
11726
11727 2) iASL Compiler/Disassembler:
11728
11729 Updated the disassembler to automatically insert an EndDependentFn() 
11730 macro 
11731 into the ASL stream if this macro is missing in the original AML code, 
11732 simplifying compilation of the resulting ASL module.
11733
11734 Fixed a problem in the disassembler where a disassembled ResourceSource 
11735 string (within a large resource descriptor) was not surrounded by quotes 
11736 and 
11737 not followed by a comma, causing errors when the resulting ASL module was 
11738 compiled. Also, escape sequences within a ResourceSource string are now 
11739 handled correctly (especially "\\")
11740
11741 ----------------------------------------
11742 02 September 2005. Summary of changes for version 20050902:
11743
11744 1) ACPI CA Core Subsystem:
11745
11746 Fixed a problem with the internal Owner ID allocation and deallocation 
11747 mechanisms for control method execution and recursive method invocation. 
11748 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
11749 messages seen on some systems. Recursive method invocation depth is 
11750 currently limited to 255. (Alexey Starikovskiy)
11751
11752 Completely eliminated all vestiges of support for the "module-level 
11753 executable code" until this support is fully implemented and debugged. 
11754 This 
11755 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
11756 some systems that invoke this support.
11757
11758 Fixed a problem within the resource manager code where the transaction 
11759 flags 
11760 for a 64-bit address descriptor were handled incorrectly in the type-
11761 specific flag byte.
11762
11763 Consolidated duplicate code within the address descriptor resource 
11764 manager 
11765 code, reducing overall subsystem code size.
11766
11767 Fixed a fault when using the AML debugger "disassemble" command to 
11768 disassemble individual control methods.
11769
11770 Removed references to the "release_current" directory within the Unix 
11771 release package.
11772
11773 Code and Data Size: The current and previous core subsystem library sizes 
11774 are shown below. These are the code and data sizes for the acpica.lib 
11775 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
11776 include any ACPI driver or OSPM code. The debug version of the code 
11777 includes 
11778 the debug output trace mechanism and has a much larger code and data 
11779 size. 
11780 Note that these values will vary depending on the efficiency of the 
11781 compiler 
11782 and the compiler options used during generation.
11783
11784   Previous Release:
11785     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11786     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11787   Current Release:
11788     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11789     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11790
11791
11792 2) iASL Compiler/Disassembler:
11793
11794 Implemented an error check for illegal duplicate values in the interrupt 
11795 and 
11796 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
11797 Interrupt().
11798
11799 Implemented error checking for the Irq() and IrqNoFlags() macros to 
11800 detect 
11801 too many values in the interrupt list (16 max) and invalid values in the 
11802 list (range 0 - 15)
11803
11804 The maximum length string literal within an ASL file is now restricted to 
11805 200 characters as per the ACPI specification.
11806
11807 Fixed a fault when using the -ln option (generate namespace listing).
11808
11809 Implemented an error check to determine if a DescriptorName within a 
11810 resource descriptor has already been used within the current scope.
11811
11812 ----------------------------------------
11813 15 August 2005.  Summary of changes for version 20050815:
11814  
11815 1) ACPI CA Core Subsystem:
11816  
11817 Implemented a full bytewise compare to determine if a table load request 
11818 is 
11819 attempting to load a duplicate table. The compare is performed if the 
11820 table 
11821 signatures and table lengths match. This will allow different tables with 
11822 the same OEM Table ID and revision to be loaded - probably against the 
11823 ACPI 
11824 specification, but discovered in the field nonetheless.
11825  
11826 Added the changes.txt logfile to each of the zipped release packages.
11827  
11828 Code and Data Size: Current and previous core subsystem library sizes are 
11829 shown below. These are the code and data sizes for the acpica.lib 
11830 produced 
11831 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11832 any ACPI driver or OSPM code. The debug version of the code includes the 
11833 debug output trace mechanism and has a much larger code and data size. 
11834 Note 
11835 that these values will vary depending on the efficiency of the compiler 
11836 and 
11837 the compiler options used during generation.
11838  
11839   Previous Release:
11840     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11841     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11842   Current Release:
11843     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11844     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11845  
11846  
11847 2) iASL Compiler/Disassembler:
11848  
11849 Fixed a problem where incorrect AML code could be generated for Package 
11850 objects if optimization is disabled (via the -oa switch).
11851  
11852 Fixed a problem with where incorrect AML code is generated for variable-
11853 length packages when the package length is not specified and the number 
11854 of 
11855 initializer values is greater than 255.
11856  
11857
11858 ----------------------------------------
11859 29 July 2005.  Summary of changes for version 20050729:
11860
11861 1) ACPI CA Core Subsystem:
11862
11863 Implemented support to ignore an attempt to install/load a particular 
11864 ACPI 
11865 table more than once. Apparently there exists BIOS code that repeatedly 
11866 attempts to load the same SSDT upon certain events. With assistance from 
11867 Venkatesh Pallipadi.
11868
11869 Restructured the main interface to the AML parser in order to correctly 
11870 handle all exceptional conditions. This will prevent leakage of the 
11871 OwnerId 
11872 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
11873 some 
11874 machines. With assistance from Alexey Starikovskiy.
11875
11876 Support for "module level code" has been disabled in this version due to 
11877
11878 number of issues that have appeared on various machines. The support can 
11879 be 
11880 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
11881 compilation. When the issues are fully resolved, the code will be enabled 
11882 by 
11883 default again.
11884
11885 Modified the internal functions for debug print support to define the 
11886 FunctionName parameter as a (const char *) for compatibility with 
11887 compiler 
11888 built-in macros such as __FUNCTION__, etc.
11889
11890 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
11891
11892 Implemented support to display an object count summary for the AML 
11893 Debugger 
11894 commands Object and Methods.
11895
11896 Code and Data Size: Current and previous core subsystem library sizes are 
11897 shown below. These are the code and data sizes for the acpica.lib 
11898 produced 
11899 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11900 any ACPI driver or OSPM code. The debug version of the code includes the 
11901 debug output trace mechanism and has a much larger code and data size. 
11902 Note 
11903 that these values will vary depending on the efficiency of the compiler 
11904 and 
11905 the compiler options used during generation.
11906
11907   Previous Release:
11908     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11909     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11910   Current Release:
11911     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11912     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11913
11914
11915 2) iASL Compiler/Disassembler:
11916
11917 Fixed a regression that appeared in the 20050708 version of the compiler 
11918 where an error message was inadvertently emitted for invocations of the 
11919 _OSI 
11920 reserved control method.
11921
11922 ----------------------------------------
11923 08 July 2005.  Summary of changes for version 20050708:
11924
11925 1) ACPI CA Core Subsystem:
11926
11927 The use of the CPU stack in the debug version of the subsystem has been 
11928 considerably reduced. Previously, a debug structure was declared in every 
11929 function that used the debug macros. This structure has been removed in 
11930 favor of declaring the individual elements as parameters to the debug 
11931 functions. This reduces the cumulative stack use during nested execution 
11932 of 
11933 ACPI function calls at the cost of a small increase in the code size of 
11934 the 
11935 debug version of the subsystem. With assistance from Alexey Starikovskiy 
11936 and 
11937 Len Brown.
11938
11939 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
11940 headers to define a macro that will return the current function name at 
11941 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
11942 by 
11943 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
11944 compiler-dependent header, the function name is saved on the CPU stack 
11945 (one 
11946 pointer per function.) This mechanism is used because apparently there 
11947 exists no standard ANSI-C defined macro that that returns the function 
11948 name.
11949
11950 Redesigned and reimplemented the "Owner ID" mechanism used to track 
11951 namespace objects created/deleted by ACPI tables and control method 
11952 execution. A bitmap is now used to allocate and free the IDs, thus 
11953 solving 
11954 the wraparound problem present in the previous implementation. The size 
11955 of 
11956 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
11957 Starikovskiy).
11958
11959 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
11960 bitfield 
11961 flag definitions within the headers for the predefined ACPI tables. These 
11962 have been replaced by UINT8_BIT in order to increase the code portability 
11963 of 
11964 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
11965 eliminate bitfields entirely because of a lack of portability.
11966
11967 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
11968 This 
11969 is a frequently used function and this improvement increases the 
11970 performance 
11971 of the entire subsystem (Alexey Starikovskiy).
11972
11973 Fixed several possible memory leaks and the inverse - premature object 
11974 deletion (Alexey Starikovskiy).
11975
11976 Code and Data Size: Current and previous core subsystem library sizes are 
11977 shown below. These are the code and data sizes for the acpica.lib 
11978 produced 
11979 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11980 any ACPI driver or OSPM code. The debug version of the code includes the 
11981 debug output trace mechanism and has a much larger code and data size. 
11982 Note 
11983 that these values will vary depending on the efficiency of the compiler 
11984 and 
11985 the compiler options used during generation.
11986
11987   Previous Release:
11988     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11989     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11990   Current Release:
11991     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11992     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11993
11994 ----------------------------------------
11995 24 June 2005.  Summary of changes for version 20050624:
11996
11997 1) ACPI CA Core Subsystem:
11998
11999 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
12000 the host-defined cache object. This allows the OSL implementation to 
12001 define 
12002 and type this object in any manner desired, simplifying the OSL 
12003 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
12004 Linux, and should be defined in the OS-specific header file for other 
12005 operating systems as required.
12006
12007 Changed the interface to AcpiOsAcquireObject to directly return the 
12008 requested object as the function return (instead of ACPI_STATUS.) This 
12009 change was made for performance reasons, since this is the purpose of the 
12010 interface in the first place. AcpiOsAcquireObject is now similar to the 
12011 AcpiOsAllocate interface.
12012
12013 Implemented a new AML debugger command named Businfo. This command 
12014 displays 
12015 information about all devices that have an associate _PRT object. The 
12016 _ADR, 
12017 _HID, _UID, and _CID are displayed for these devices.
12018
12019 Modified the initialization sequence in AcpiInitializeSubsystem to call 
12020 the 
12021 OSL interface AcpiOslInitialize first, before any local initialization. 
12022 This 
12023 change was required because the global initialization now calls OSL 
12024 interfaces.
12025
12026 Enhanced the Dump command to display the entire contents of Package 
12027 objects 
12028 (including all sub-objects and their values.) 
12029
12030 Restructured the code base to split some files because of size and/or 
12031 because the code logically belonged in a separate file. New files are 
12032 listed 
12033 below. All makefiles and project files included in the ACPI CA release 
12034 have 
12035 been updated.
12036     utilities/utcache.c           /* Local cache interfaces */
12037     utilities/utmutex.c           /* Local mutex support */
12038     utilities/utstate.c           /* State object support */
12039     interpreter/parser/psloop.c   /* Main AML parse loop */
12040
12041 Code and Data Size: Current and previous core subsystem library sizes are 
12042 shown below. These are the code and data sizes for the acpica.lib 
12043 produced 
12044 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12045 any ACPI driver or OSPM code. The debug version of the code includes the 
12046 debug output trace mechanism and has a much larger code and data size. 
12047 Note 
12048 that these values will vary depending on the efficiency of the compiler 
12049 and 
12050 the compiler options used during generation.
12051
12052   Previous Release:
12053     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
12054     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
12055   Current Release:
12056     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
12057     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
12058
12059
12060 2) iASL Compiler/Disassembler:
12061
12062 Fixed a regression introduced in version 20050513 where the use of a 
12063 Package 
12064 object within a Case() statement caused a compile time exception. The 
12065 original behavior has been restored (a Match() operator is emitted.)
12066
12067 ----------------------------------------
12068 17 June 2005.  Summary of changes for version 20050617:
12069
12070 1) ACPI CA Core Subsystem:
12071
12072 Moved the object cache operations into the OS interface layer (OSL) to 
12073 allow 
12074 the host OS to handle these operations if desired (for example, the Linux 
12075 OSL will invoke the slab allocator). This support is optional; the 
12076 compile 
12077 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
12078 cache 
12079 code in the ACPI CA core. The new OSL interfaces are shown below. See 
12080 utalloc.c for an example implementation, and acpiosxf.h for the exact 
12081 interface definitions. With assistance from Alexey Starikovskiy.
12082     AcpiOsCreateCache
12083     AcpiOsDeleteCache
12084     AcpiOsPurgeCache
12085     AcpiOsAcquireObject
12086     AcpiOsReleaseObject
12087
12088 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
12089 return 
12090 and restore a flags parameter. This fits better with many OS lock models. 
12091 Note: the current execution state (interrupt handler or not) is no longer 
12092 passed to these interfaces. If necessary, the OSL must determine this 
12093 state 
12094 by itself, a simple and fast operation. With assistance from Alexey 
12095 Starikovskiy.
12096
12097 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
12098 present if the revision of the RSDP was 2 or greater. According to the 
12099 ACPI 
12100 specification, the XSDT is optional in all cases, and the table manager 
12101 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
12102 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
12103 contain 
12104 only the RSDT.
12105
12106 Fixed an interpreter problem with the Mid() operator in the case of an 
12107 input 
12108 string where the resulting output string is of zero length. It now 
12109 correctly 
12110 returns a valid, null terminated string object instead of a string object 
12111 with a null pointer.
12112
12113 Fixed a problem with the control method argument handling to allow a 
12114 store 
12115 to an Arg object that already contains an object of type Device. The 
12116 Device 
12117 object is now correctly overwritten. Previously, an error was returned.
12118
12119
12120 Enhanced the debugger Find command to emit object values in addition to 
12121 the 
12122 found object pathnames. The output format is the same as the dump 
12123 namespace 
12124 command.
12125
12126 Enhanced the debugger Set command. It now has the ability to set the 
12127 value 
12128 of any Named integer object in the namespace (Previously, only method 
12129 locals 
12130 and args could be set.)
12131
12132 Code and Data Size: Current and previous core subsystem library sizes are 
12133 shown below. These are the code and data sizes for the acpica.lib 
12134 produced 
12135 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12136 any ACPI driver or OSPM code. The debug version of the code includes the 
12137 debug output trace mechanism and has a much larger code and data size. 
12138 Note 
12139 that these values will vary depending on the efficiency of the compiler 
12140 and 
12141 the compiler options used during generation.
12142
12143   Previous Release:
12144     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12145     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12146   Current Release:
12147     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
12148     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
12149
12150
12151 2) iASL Compiler/Disassembler:
12152
12153 Fixed a regression in the disassembler where if/else/while constructs 
12154 were 
12155 output incorrectly. This problem was introduced in the previous release 
12156 (20050526). This problem also affected the single-step disassembly in the 
12157 debugger.
12158
12159 Fixed a problem where compiling the reserved _OSI method would randomly 
12160 (but 
12161 rarely) produce compile errors.
12162
12163 Enhanced the disassembler to emit compilable code in the face of 
12164 incorrect 
12165 AML resource descriptors. If the optional ResourceSourceIndex is present, 
12166 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
12167 disassembly. Otherwise, the resulting code cannot be compiled without 
12168 errors.
12169
12170 ----------------------------------------
12171 26 May 2005.  Summary of changes for version 20050526:
12172
12173 1) ACPI CA Core Subsystem:
12174
12175 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
12176 the module level (not within a control method.) These opcodes are 
12177 executed 
12178 exactly once at the time the table is loaded. This type of code was legal 
12179 up 
12180 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
12181 in 
12182 order to provide backwards compatibility with earlier BIOS 
12183 implementations. 
12184 This eliminates the "Encountered executable code at module level" warning 
12185 that was previously generated upon detection of such code.
12186
12187 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
12188 inadvertently be generated during the lookup of namespace objects in the 
12189 second pass parse of ACPI tables and control methods. It appears that 
12190 this 
12191 problem could occur during the resolution of forward references to 
12192 namespace 
12193 objects.
12194
12195 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
12196 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
12197 allows the deadlock detection debug code to be compiled out in the normal 
12198 case, improving mutex performance (and overall subsystem performance) 
12199 considerably.
12200
12201 Implemented a handful of miscellaneous fixes for possible memory leaks on 
12202 error conditions and error handling control paths. These fixes were 
12203 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
12204
12205 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
12206 (tbxfroot.c) 
12207 to prevent a fault in this error case.
12208
12209 Code and Data Size: Current and previous core subsystem library sizes are 
12210 shown below. These are the code and data sizes for the acpica.lib 
12211 produced 
12212 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12213 any ACPI driver or OSPM code. The debug version of the code includes the 
12214 debug output trace mechanism and has a much larger code and data size. 
12215 Note 
12216 that these values will vary depending on the efficiency of the compiler 
12217 and 
12218 the compiler options used during generation.
12219
12220   Previous Release:
12221     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12222     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12223   Current Release:
12224     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12225     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12226
12227
12228 2) iASL Compiler/Disassembler:
12229
12230 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
12231 the module level (not within a control method.) These operators will be 
12232 executed once at the time the table is loaded. This type of code was 
12233 legal 
12234 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
12235 compiler in order to provide backwards compatibility with earlier BIOS 
12236 ASL 
12237 code.
12238
12239 The ACPI integer width (specified via the table revision ID or the -r 
12240 override, 32 or 64 bits) is now used internally during compile-time 
12241 constant 
12242 folding to ensure that constants are truncated to 32 bits if necessary. 
12243 Previously, the revision ID value was only emitted in the AML table 
12244 header.
12245
12246 An error message is now generated for the Mutex and Method operators if 
12247 the 
12248 SyncLevel parameter is outside the legal range of 0 through 15.
12249
12250 Fixed a problem with the Method operator ParameterTypes list handling 
12251 (ACPI 
12252 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
12253 error.  
12254 The actual underlying implementation of method argument typechecking is 
12255 still under development, however.
12256
12257 ----------------------------------------
12258 13 May 2005.  Summary of changes for version 20050513:
12259
12260 1) ACPI CA Core Subsystem:
12261
12262 Implemented support for PCI Express root bridges -- added support for 
12263 device 
12264 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
12265
12266 The interpreter now automatically truncates incoming 64-bit constants to 
12267 32 
12268 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
12269 This 
12270 also affects the iASL compiler constant folding. (Note: as per below, the 
12271 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
12272
12273 Fixed a problem where string and buffer objects with "static" pointers 
12274 (pointers to initialization data within an ACPI table) were not handled 
12275 consistently. The internal object copy operation now always copies the 
12276 data 
12277 to a newly allocated buffer, regardless of whether the source object is 
12278 static or not.
12279
12280 Fixed a problem with the FromBCD operator where an implicit result 
12281 conversion was improperly performed while storing the result to the 
12282 target 
12283 operand. Since this is an "explicit conversion" operator, the implicit 
12284 conversion should never be performed on the output.
12285
12286 Fixed a problem with the CopyObject operator where a copy to an existing 
12287 named object did not always completely overwrite the existing object 
12288 stored 
12289 at name. Specifically, a buffer-to-buffer copy did not delete the 
12290 existing 
12291 buffer.
12292
12293 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
12294 and 
12295 structs for consistency.
12296
12297 Code and Data Size: Current and previous core subsystem library sizes are 
12298 shown below. These are the code and data sizes for the acpica.lib 
12299 produced 
12300 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12301 any ACPI driver or OSPM code. The debug version of the code includes the 
12302 debug output trace mechanism and has a much larger code and data size. 
12303 Note 
12304 that these values will vary depending on the efficiency of the compiler 
12305 and 
12306 the compiler options used during generation.
12307
12308   Previous Release:
12309     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12310     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12311   Current Release: (Same sizes)
12312     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12313     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12314
12315
12316 2) iASL Compiler/Disassembler:
12317
12318 The compiler now emits a warning if an attempt is made to generate a 64-
12319 bit 
12320 integer constant from within a 32-bit ACPI table (Revision < 2). The 
12321 integer 
12322 is truncated to 32 bits.
12323
12324 Fixed a problem with large package objects: if the static length of the 
12325 package is greater than 255, the "variable length package" opcode is 
12326 emitted. Previously, this caused an error. This requires an update to the 
12327 ACPI spec, since it currently (incorrectly) states that packages larger 
12328 than 
12329 255 elements are not allowed.
12330
12331 The disassembler now correctly handles variable length packages and 
12332 packages 
12333 larger than 255 elements.
12334
12335 ----------------------------------------
12336 08 April 2005.  Summary of changes for version 20050408:
12337
12338 1) ACPI CA Core Subsystem:
12339
12340 Fixed three cases in the interpreter where an "index" argument to an ASL 
12341 function was still (internally) 32 bits instead of the required 64 bits. 
12342 This was the Index argument to the Index, Mid, and Match operators.
12343
12344 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
12345 is 
12346 not a POSIX-defined function and not present in most kernel-level C 
12347 libraries. All references to the C library strupr function have been 
12348 removed 
12349 from the headers.
12350
12351 Completed the deployment of static functions/prototypes. All prototypes 
12352 with 
12353 the static attribute have been moved from the headers to the owning C 
12354 file.
12355
12356 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
12357 utility). This option allows the utility to extract individual ACPI 
12358 tables 
12359 from the output of AcpiDmp. It provides the same functionality of the 
12360 acpixtract.pl perl script without the worry of setting the correct perl 
12361 options. AcpiBin runs on Windows and has not yet been generated/validated 
12362 in 
12363 the Linux/Unix environment (but should be soon).
12364  
12365 Updated and fixed the table dump option for AcpiBin (-d). This option 
12366 converts a single ACPI table to a hex/ascii file, similar to the output 
12367 of 
12368 AcpiDmp.
12369
12370 Code and Data Size: Current and previous core subsystem library sizes are 
12371 shown below. These are the code and data sizes for the acpica.lib 
12372 produced 
12373 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12374 any ACPI driver or OSPM code. The debug version of the code includes the 
12375 debug output trace mechanism and has a much larger code and data size. 
12376 Note 
12377 that these values will vary depending on the efficiency of the compiler 
12378 and 
12379 the compiler options used during generation.
12380
12381   Previous Release:
12382     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12383     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12384   Current Release:
12385     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12386     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12387
12388
12389 2) iASL Compiler/Disassembler:
12390
12391 Disassembler fix: Added a check to ensure that the table length found in 
12392 the 
12393 ACPI table header within the input file is not longer than the actual 
12394 input 
12395 file size. This indicates some kind of file or table corruption.
12396
12397 ----------------------------------------
12398 29 March 2005.  Summary of changes for version 20050329:
12399
12400 1) ACPI CA Core Subsystem:
12401
12402 An error is now generated if an attempt is made to create a Buffer Field 
12403 of 
12404 length zero (A CreateField with a length operand of zero.)
12405
12406 The interpreter now issues a warning whenever executable code at the 
12407 module 
12408 level is detected during ACPI table load. This will give some idea of the 
12409 prevalence of this type of code.
12410
12411 Implemented support for references to named objects (other than control 
12412 methods) within package objects.
12413
12414 Enhanced package object output for the debug object. Package objects are 
12415 now 
12416 completely dumped, showing all elements.
12417
12418 Enhanced miscellaneous object output for the debug object. Any object can 
12419 now be written to the debug object (for example, a device object can be 
12420 written, and the type of the object will be displayed.)
12421
12422 The "static" qualifier has been added to all local functions across both 
12423 the 
12424 core subsystem and the iASL compiler.
12425
12426 The number of "long" lines (> 80 chars) within the source has been 
12427 significantly reduced, by about 1/3.
12428
12429 Cleaned up all header files to ensure that all CA/iASL functions are 
12430 prototyped (even static functions) and the formatting is consistent.
12431
12432 Two new header files have been added, acopcode.h and acnames.h.
12433
12434 Removed several obsolete functions that were no longer used.
12435
12436 Code and Data Size: Current and previous core subsystem library sizes are 
12437 shown below. These are the code and data sizes for the acpica.lib 
12438 produced 
12439 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12440 any ACPI driver or OSPM code. The debug version of the code includes the 
12441 debug output trace mechanism and has a much larger code and data size. 
12442 Note 
12443 that these values will vary depending on the efficiency of the compiler 
12444 and 
12445 the compiler options used during generation.
12446
12447   Previous Release:
12448     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12449     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12450   Current Release:
12451     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12452     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12453
12454
12455
12456 2) iASL Compiler/Disassembler:
12457
12458 Fixed a problem with the resource descriptor generation/support. For the 
12459 ResourceSourceIndex and the ResourceSource fields, both must be present, 
12460 or 
12461 both must be not present - can't have one without the other.
12462
12463 The compiler now returns non-zero from the main procedure if any errors 
12464 have 
12465 occurred during the compilation.
12466
12467
12468 ----------------------------------------
12469 09 March 2005.  Summary of changes for version 20050309:
12470
12471 1) ACPI CA Core Subsystem:
12472
12473 The string-to-buffer implicit conversion code has been modified again 
12474 after 
12475 a change to the ACPI specification.  In order to match the behavior of 
12476 the 
12477 other major ACPI implementation, the target buffer is no longer truncated 
12478 if 
12479 the source string is smaller than an existing target buffer. This change 
12480 requires an update to the ACPI spec, and should eliminate the recent 
12481 AE_AML_BUFFER_LIMIT issues.
12482
12483 The "implicit return" support was rewritten to a new algorithm that 
12484 solves 
12485 the general case. Rather than attempt to determine when a method is about 
12486 to 
12487 exit, the result of every ASL operator is saved momentarily until the 
12488 very 
12489 next ASL operator is executed. Therefore, no matter how the method exits, 
12490 there will always be a saved implicit return value. This feature is only 
12491 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
12492 eliminate 
12493 AE_AML_NO_RETURN_VALUE errors when enabled.
12494
12495 Implemented implicit conversion support for the predicate (operand) of 
12496 the 
12497 If, Else, and While operators. String and Buffer arguments are 
12498 automatically 
12499 converted to Integers.
12500
12501 Changed the string-to-integer conversion behavior to match the new ACPI 
12502 errata: "If no integer object exists, a new integer is created. The ASCII 
12503 string is interpreted as a hexadecimal constant. Each string character is 
12504 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
12505 with the first character as the most significant digit, and ending with 
12506 the 
12507 first non-hexadecimal character or end-of-string." This means that the 
12508 first 
12509 non-hex character terminates the conversion and this is the code that was 
12510 changed.
12511
12512 Fixed a problem where the ObjectType operator would fail (fault) when 
12513 used 
12514 on an Index of a Package which pointed to a null package element. The 
12515 operator now properly returns zero (Uninitialized) in this case.
12516
12517 Fixed a problem where the While operator used excessive memory by not 
12518 properly popping the result stack during execution. There was no memory 
12519 leak 
12520 after execution, however. (Code provided by Valery Podrezov.)
12521
12522 Fixed a problem where references to control methods within Package 
12523 objects 
12524 caused the method to be invoked, instead of producing a reference object 
12525 pointing to the method.
12526
12527 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
12528 to 
12529 improve performance and reduce code size. (Code provided by Alexey 
12530 Starikovskiy.)
12531
12532 Code and Data Size: Current and previous core subsystem library sizes are 
12533 shown below. These are the code and data sizes for the acpica.lib 
12534 produced 
12535 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12536 any ACPI driver or OSPM code. The debug version of the code includes the 
12537 debug output trace mechanism and has a much larger code and data size. 
12538 Note 
12539 that these values will vary depending on the efficiency of the compiler 
12540 and 
12541 the compiler options used during generation.
12542
12543   Previous Release:
12544     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12545     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12546   Current Release:
12547     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12548     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12549
12550
12551 2) iASL Compiler/Disassembler:
12552
12553 Fixed a problem with the Return operator with no arguments. Since the AML 
12554 grammar for the byte encoding requires an operand for the Return opcode, 
12555 the 
12556 compiler now emits a Return(Zero) for this case.  An ACPI specification 
12557 update has been written for this case.
12558
12559 For tables other than the DSDT, namepath optimization is automatically 
12560 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
12561 the 
12562 compiler has no knowledge of where, and thus cannot optimize namepaths.
12563
12564 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
12565 inadvertently omitted from the ACPI specification, and will require an 
12566 update to the spec.
12567
12568 The source file scan for ASCII characters is now optional (-a). This 
12569 change 
12570 was made because some vendors place non-ascii characters within comments. 
12571 However, the scan is simply a brute-force byte compare to ensure all 
12572 characters in the file are in the range 0x00 to 0x7F.
12573
12574 Fixed a problem with the CondRefOf operator where the compiler was 
12575 inappropriately checking for the existence of the target. Since the point 
12576 of 
12577 the operator is to check for the existence of the target at run-time, the 
12578 compiler no longer checks for the target existence.
12579
12580 Fixed a problem where errors generated from the internal AML interpreter 
12581 during constant folding were not handled properly, causing a fault.
12582
12583 Fixed a problem with overly aggressive range checking for the Stall 
12584 operator. The valid range (max 255) is now only checked if the operand is 
12585 of 
12586 type Integer. All other operand types cannot be statically checked.
12587
12588 Fixed a problem where control method references within the RefOf, 
12589 DeRefOf, 
12590 and ObjectType operators were not treated properly. They are now treated 
12591 as 
12592 actual references, not method invocations.
12593
12594 Fixed and enhanced the "list namespace" option (-ln). This option was 
12595 broken 
12596 a number of releases ago.
12597
12598 Improved error handling for the Field, IndexField, and BankField 
12599 operators. 
12600 The compiler now cleanly reports and recovers from errors in the field 
12601 component (FieldUnit) list.
12602
12603 Fixed a disassembler problem where the optional ResourceDescriptor fields 
12604 TRS and TTP were not always handled correctly.
12605
12606 Disassembler - Comments in output now use "//" instead of "/*"
12607
12608 ----------------------------------------
12609 28 February 2005.  Summary of changes for version 20050228:
12610
12611 1) ACPI CA Core Subsystem:
12612
12613 Fixed a problem where the result of an Index() operator (an object 
12614 reference) must increment the reference count on the target object for 
12615 the 
12616 life of the object reference.
12617
12618 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
12619 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
12620 WordSpace 
12621 resource descriptors.
12622
12623 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
12624 Space Descriptor" string, indicating interpreter support for the 
12625 descriptors 
12626 above.
12627
12628 Implemented header support for the new ACPI 3.0 FADT flag bits.
12629
12630 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
12631 PM1 
12632 status/enable registers.
12633
12634 Updated header support for the MADT processor local Apic struct and MADT 
12635 platform interrupt source struct for new ACPI 3.0 fields.
12636
12637 Implemented header support for the SRAT and SLIT ACPI tables.
12638
12639 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
12640 flag 
12641 at runtime.
12642
12643 Code and Data Size: Current and previous core subsystem library sizes are 
12644 shown below. These are the code and data sizes for the acpica.lib 
12645 produced 
12646 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12647 any ACPI driver or OSPM code. The debug version of the code includes the 
12648 debug output trace mechanism and has a much larger code and data size. 
12649 Note 
12650 that these values will vary depending on the efficiency of the compiler 
12651 and 
12652 the compiler options used during generation.
12653
12654   Previous Release:
12655     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12656     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12657   Current Release:
12658     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12659     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12660
12661
12662 2) iASL Compiler/Disassembler:
12663
12664 Fixed a problem with the internal 64-bit String-to-integer conversion 
12665 with 
12666 strings less than two characters long.
12667
12668 Fixed a problem with constant folding where the result of the Index() 
12669 operator can not be considered a constant. This means that Index() cannot 
12670 be 
12671 a type3 opcode and this will require an update to the ACPI specification.
12672
12673 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
12674 descriptor fields. These fields were inadvertently ignored and not output 
12675 in 
12676 the disassembly of the resource descriptor.
12677
12678
12679  ----------------------------------------
12680 11 February 2005.  Summary of changes for version 20050211:
12681
12682 1) ACPI CA Core Subsystem:
12683
12684 Implemented ACPI 3.0 support for implicit conversion within the Match() 
12685 operator. MatchObjects can now be of type integer, buffer, or string 
12686 instead 
12687 of just type integer.  Package elements are implicitly converted to the 
12688 type 
12689 of the MatchObject. This change aligns the behavior of Match() with the 
12690 behavior of the other logical operators (LLess(), etc.) It also requires 
12691 an 
12692 errata change to the ACPI specification as this support was intended for 
12693 ACPI 3.0, but was inadvertently omitted.
12694
12695 Fixed a problem with the internal implicit "to buffer" conversion. 
12696 Strings 
12697 that are converted to buffers will cause buffer truncation if the string 
12698 is 
12699 smaller than the target buffer. Integers that are converted to buffers 
12700 will 
12701 not cause buffer truncation, only zero extension (both as per the ACPI 
12702 spec.) The problem was introduced when code was added to truncate the 
12703 buffer, but this should not be performed in all cases, only the string 
12704 case.
12705
12706 Fixed a problem with the Buffer and Package operators where the 
12707 interpreter 
12708 would get confused if two such operators were used as operands to an ASL 
12709 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
12710 stack was not being popped after the execution of these operators, 
12711 resulting 
12712 in an AE_NO_RETURN_VALUE exception.
12713
12714 Fixed a problem with constructs of the form Store(Index(...),...). The 
12715 reference object returned from Index was inadvertently resolved to an 
12716 actual 
12717 value. This problem was introduced in version 20050114 when the behavior 
12718 of 
12719 Store() was modified to restrict the object types that can be used as the 
12720 source operand (to match the ACPI specification.)
12721
12722 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
12723
12724 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
12725
12726 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
12727
12728 Code and Data Size: Current and previous core subsystem library sizes are 
12729 shown below. These are the code and data sizes for the acpica.lib 
12730 produced 
12731 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12732 any ACPI driver or OSPM code. The debug version of the code includes the 
12733 debug output trace mechanism and has a much larger code and data size. 
12734 Note 
12735 that these values will vary depending on the efficiency of the compiler 
12736 and 
12737 the compiler options used during generation.
12738
12739   Previous Release:
12740     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
12741     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
12742   Current Release:
12743     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12744     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12745
12746
12747 2) iASL Compiler/Disassembler:
12748
12749 Fixed a code generation problem in the constant folding optimization code 
12750 where incorrect code was generated if a constant was reduced to a buffer 
12751 object (i.e., a reduced type 5 opcode.)
12752
12753 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
12754 incorrect return type in the internal opcode information table.
12755
12756 ----------------------------------------
12757 25 January 2005.  Summary of changes for version 20050125:
12758
12759 1) ACPI CA Core Subsystem:
12760
12761 Fixed a recently introduced problem with the Global Lock where the 
12762 underlying semaphore was not created.  This problem was introduced in 
12763 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
12764 Acquire() operation on _GL.
12765
12766 The local object cache is now optional, and is disabled by default. Both 
12767 AcpiExec and the iASL compiler enable the cache because they run in user 
12768 mode and this enhances their performance. #define 
12769 ACPI_ENABLE_OBJECT_CACHE 
12770 to enable the local cache.
12771
12772 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
12773 the 
12774 optional "implicit return" support where an error was returned if no 
12775 return 
12776 object was expected, but one was implicitly returned. AE_OK is now 
12777 returned 
12778 in this case and the implicitly returned object is deleted. 
12779 AcpiUtEvaluateObject is only occasionally used, and only to execute 
12780 reserved 
12781 methods such as _STA and _INI where the return type is known up front.
12782
12783 Fixed a few issues with the internal convert-to-integer code. It now 
12784 returns 
12785 an error if an attempt is made to convert a null string, a string of only 
12786 blanks/tabs, or a zero-length buffer. This affects both implicit 
12787 conversion 
12788 and explicit conversion via the ToInteger() operator.
12789
12790 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
12791 is 
12792 not needed for normal operation and should increase the performance of 
12793 the 
12794 entire subsystem. The code remains in case it is needed for debug 
12795 purposes 
12796 again.
12797
12798 The AcpiExec source and makefile are included in the Unix/Linux package 
12799 for 
12800 the first time.
12801
12802 Code and Data Size: Current and previous core subsystem library sizes are 
12803 shown below. These are the code and data sizes for the acpica.lib 
12804 produced 
12805 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12806 any ACPI driver or OSPM code. The debug version of the code includes the 
12807 debug output trace mechanism and has a much larger code and data size. 
12808 Note 
12809 that these values will vary depending on the efficiency of the compiler 
12810 and 
12811 the compiler options used during generation.
12812
12813   Previous Release:
12814     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12815     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12816   Current Release:
12817     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
12818     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
12819
12820 2) iASL Compiler/Disassembler:
12821
12822 Switch/Case support: A warning is now issued if the type of the Switch 
12823 value 
12824 cannot be determined at compile time. For example, Switch(Arg0) will 
12825 generate the warning, and the type is assumed to be an integer. As per 
12826 the 
12827 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
12828 the 
12829 warning.
12830
12831 Switch/Case support: Implemented support for buffer and string objects as 
12832 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
12833 buffers and strings.
12834
12835 Switch/Case support: The emitted code for the LEqual() comparisons now 
12836 uses 
12837 the switch value as the first operand, not the second. The case value is 
12838 now 
12839 the second operand, and this allows the case value to be implicitly 
12840 converted to the type of the switch value, not the other way around.
12841
12842 Switch/Case support: Temporary variables are now emitted immediately 
12843 within 
12844 the control method, not at the global level. This means that there are 
12845 now 
12846 36 temps available per-method, not 36 temps per-module as was the case 
12847 with 
12848 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
12849
12850 ----------------------------------------
12851 14 January 2005.  Summary of changes for version 20050114:
12852
12853 Added 2005 copyright to all module headers.  This affects every module in 
12854 the core subsystem, iASL compiler, and the utilities.
12855
12856 1) ACPI CA Core Subsystem:
12857
12858 Fixed an issue with the String-to-Buffer conversion code where the string 
12859 null terminator was not included in the buffer after conversion, but 
12860 there 
12861 is existing ASL that assumes the string null terminator is included. This 
12862 is 
12863 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
12864 introduced in the previous version when the code was updated to correctly 
12865 set the converted buffer size as per the ACPI specification. The ACPI 
12866 spec 
12867 is ambiguous and will be updated to specify that the null terminator must 
12868 be 
12869 included in the converted buffer. This also affects the ToBuffer() ASL 
12870 operator.
12871
12872 Fixed a problem with the Mid() ASL/AML operator where it did not work 
12873 correctly on Buffer objects. Newly created sub-buffers were not being 
12874 marked 
12875 as initialized.
12876
12877
12878 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
12879 performed on the OemId and OemTableId table header fields.  These fields 
12880 are 
12881 not null terminated, so strncmp is now used instead of strcmp.
12882
12883 Implemented a restriction on the Store() ASL/AML operator to align the 
12884 behavior with the ACPI specification.  Previously, any object could be 
12885 used 
12886 as the source operand.  Now, the only objects that may be used are 
12887 Integers, 
12888 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
12889 necessary, the original behavior can be restored by enabling the 
12890 EnableInterpreterSlack flag.
12891
12892 Enhanced the optional "implicit return" support to allow an implicit 
12893 return 
12894 value from methods that are invoked externally via the AcpiEvaluateObject 
12895 interface.  This enables implicit returns from the _STA and _INI methods, 
12896 for example.
12897
12898 Changed the Revision() ASL/AML operator to return the current version of 
12899 the 
12900 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
12901 returned 
12902 the supported ACPI version (This is the function of the _REV method).
12903
12904 Updated the _REV predefined method to return the currently supported 
12905 version 
12906 of ACPI, now 3.
12907
12908 Implemented batch mode option for the AcpiExec utility (-b).
12909
12910 Code and Data Size: Current and previous core subsystem library sizes are 
12911 shown below. These are the code and data sizes for the acpica.lib 
12912 produced 
12913 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12914 any ACPI driver or OSPM code. The debug version of the code includes the 
12915 debug output trace mechanism and has a much larger code and data size. 
12916 Note 
12917 that these values will vary depending on the efficiency of the compiler 
12918 and 
12919 the compiler options used during generation.
12920
12921   Previous Release:
12922     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12923     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12924   Current Release:
12925     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12926     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12927
12928 ----------------------------------------
12929 10 December 2004.  Summary of changes for version 20041210:
12930
12931 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
12932 ACPI CA core subsystem.
12933
12934 1) ACPI CA Core Subsystem:
12935
12936 Fixed a problem in the ToDecimalString operator where the resulting 
12937 string 
12938 length was incorrectly calculated. The length is now calculated exactly, 
12939 eliminating incorrect AE_STRING_LIMIT exceptions.
12940
12941 Fixed a problem in the ToHexString operator to allow a maximum 200 
12942 character 
12943 string to be produced.
12944
12945 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
12946 copy 
12947 routine where the length of the resulting buffer was not truncated to the 
12948 new size (if the target buffer already existed).
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:  78.3K Code,  11.5K Data,   89.8K Total
12963     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12964   Current Release:
12965     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12966     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12967
12968
12969 2) iASL Compiler/Disassembler:
12970
12971 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
12972 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
12973 Includes support in the disassembler.
12974
12975 Implemented support for the new (ACPI 3.0) parameter to the Register 
12976 macro, 
12977 AccessSize.
12978
12979 Fixed a problem where the _HE resource name for the Interrupt macro was 
12980 referencing bit 0 instead of bit 1.
12981
12982 Implemented check for maximum 255 interrupts in the Interrupt macro.
12983
12984 Fixed a problem with the predefined resource descriptor names where 
12985 incorrect AML code was generated if the offset within the resource buffer 
12986 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
12987 but did not update the surrounding package lengths.
12988
12989 Changes to the Dma macro:  All channels within the channel list must be 
12990 in 
12991 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
12992 optional (default is BusMaster).
12993
12994 Implemented check for maximum 7 data bytes for the VendorShort macro.
12995
12996 The ReadWrite parameter is now optional for the Memory32 and similar 
12997 macros.
12998
12999 ----------------------------------------
13000 03 December 2004.  Summary of changes for version 20041203:
13001
13002 1) ACPI CA Core Subsystem:
13003
13004 The low-level field insertion/extraction code (exfldio) has been 
13005 completely 
13006 rewritten to eliminate unnecessary complexity, bugs, and boundary 
13007 conditions.
13008
13009 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
13010 ToDecimalString 
13011 operators where the input operand could be inadvertently deleted if no 
13012 conversion was necessary (e.g., if the input to ToInteger was an Integer 
13013 object.)
13014
13015 Fixed a problem with the ToDecimalString and ToHexString where an 
13016 incorrect 
13017 exception code was returned if the resulting string would be > 200 chars.  
13018 AE_STRING_LIMIT is now returned.
13019
13020 Fixed a problem with the Concatenate operator where AE_OK was always 
13021 returned, even if the operation failed.
13022
13023 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
13024 semaphores to be allocated.
13025
13026 Code and Data Size: Current and previous core subsystem library sizes are 
13027 shown below. These are the code and data sizes for the acpica.lib 
13028 produced 
13029 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13030 any ACPI driver or OSPM code. The debug version of the code includes the 
13031 debug output trace mechanism and has a much larger code and data size. 
13032 Note 
13033 that these values will vary depending on the efficiency of the compiler 
13034 and 
13035 the compiler options used during generation.
13036
13037   Previous Release:
13038     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13039     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13040   Current Release:
13041     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
13042     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
13043
13044
13045 2) iASL Compiler/Disassembler:
13046
13047 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
13048 recently introduced in 20041119.
13049
13050 Fixed a problem with the ToUUID macro where the upper nybble of each 
13051 buffer 
13052 byte was inadvertently set to zero.
13053
13054 ----------------------------------------
13055 19 November 2004.  Summary of changes for version 20041119:
13056
13057 1) ACPI CA Core Subsystem:
13058
13059 Fixed a problem in the internal ConvertToInteger routine where new 
13060 integers 
13061 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
13062 converts 
13063 buffers and strings to integers.
13064
13065 Implemented support to store a value to an Index() on a String object. 
13066 This 
13067 is an ACPI 2.0 feature that had not yet been implemented.
13068
13069 Implemented new behavior for storing objects to individual package 
13070 elements 
13071 (via the Index() operator). The previous behavior was to invoke the 
13072 implicit 
13073 conversion rules if an object was already present at the index.  The new 
13074 behavior is to simply delete any existing object and directly store the 
13075 new 
13076 object. Although the ACPI specification seems unclear on this subject, 
13077 other 
13078 ACPI implementations behave in this manner.  (This is the root of the 
13079 AE_BAD_HEX_CONSTANT issue.)
13080
13081 Modified the RSDP memory scan mechanism to support the extended checksum 
13082 for 
13083 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
13084 RSDP signature is found with a valid checksum.
13085
13086 Code and Data Size: Current and previous core subsystem library sizes are 
13087 shown below. These are the code and data sizes for the acpica.lib 
13088 produced 
13089 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13090 any ACPI driver or OSPM code. The debug version of the code includes the 
13091 debug output trace mechanism and has a much larger code and data size. 
13092 Note 
13093 that these values will vary depending on the efficiency of the compiler 
13094 and 
13095 the compiler options used during generation.
13096
13097   Previous Release:
13098     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13099     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13100   Current Release:
13101     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13102     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13103
13104
13105 2) iASL Compiler/Disassembler:
13106
13107 Fixed a missing semicolon in the aslcompiler.y file.
13108
13109 ----------------------------------------
13110 05 November 2004.  Summary of changes for version 20041105:
13111
13112 1) ACPI CA Core Subsystem:
13113
13114 Implemented support for FADT revision 2.  This was an interim table 
13115 (between 
13116 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
13117
13118 Implemented optional support to allow uninitialized LocalX and ArgX 
13119 variables in a control method.  The variables are initialized to an 
13120 Integer 
13121 object with a value of zero.  This support is enabled by setting the 
13122 AcpiGbl_EnableInterpreterSlack flag to TRUE.
13123
13124 Implemented support for Integer objects for the SizeOf operator.  Either 
13125
13126 or 8 is returned, depending on the current integer size (32-bit or 64-
13127 bit, 
13128 depending on the parent table revision).
13129
13130 Fixed a problem in the implementation of the SizeOf and ObjectType 
13131 operators 
13132 where the operand was resolved to a value too early, causing incorrect 
13133 return values for some objects.
13134
13135 Fixed some possible memory leaks during exceptional conditions.
13136
13137 Code and Data Size: Current and previous core subsystem library sizes are 
13138 shown below. These are the code and data sizes for the acpica.lib 
13139 produced 
13140 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13141 any ACPI driver or OSPM code. The debug version of the code includes the 
13142 debug output trace mechanism and has a much larger code and data size. 
13143 Note 
13144 that these values will vary depending on the efficiency of the compiler 
13145 and 
13146 the compiler options used during generation.
13147
13148   Previous Release:
13149     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13150     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13151   Current Release:
13152     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13153     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13154
13155
13156 2) iASL Compiler/Disassembler:
13157
13158 Implemented support for all ACPI 3.0 reserved names and methods.
13159
13160 Implemented all ACPI 3.0 grammar elements in the front-end, including 
13161 support for semicolons.
13162
13163 Implemented the ACPI 3.0 Function() and ToUUID() macros
13164
13165 Fixed a problem in the disassembler where a Scope() operator would not be 
13166 emitted properly if the target of the scope was in another table.
13167
13168 ----------------------------------------
13169 15 October 2004.  Summary of changes for version 20041015:
13170
13171 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
13172 evaluation to test/verify the following areas. Other suggestions are 
13173 welcome. This will result in an increase in the frequency of releases and 
13174 the number of bug fixes in the next few months.
13175   - Functional tests for all ASL/AML operators
13176   - All implicit/explicit type conversions
13177   - Bit fields and operation regions
13178   - 64-bit math support and 32-bit-only "truncated" math support
13179   - Exceptional conditions, both compiler and interpreter
13180   - Dynamic object deletion and memory leaks
13181   - ACPI 3.0 support when implemented
13182   - External interfaces to the ACPI subsystem
13183
13184
13185 1) ACPI CA Core Subsystem:
13186
13187 Fixed two alignment issues on 64-bit platforms - within debug statements 
13188 in 
13189 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
13190 Address 
13191 field within the non-aligned ACPI generic address structure.
13192
13193 Fixed a problem in the Increment and Decrement operators where incorrect 
13194 operand resolution could result in the inadvertent modification of the 
13195 original integer when the integer is passed into another method as an 
13196 argument and the arg is then incremented/decremented.
13197
13198 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
13199 bit 
13200 BCD number were truncated during conversion.
13201
13202 Fixed a problem in the ToDecimal operator where the length of the 
13203 resulting 
13204 string could be set incorrectly too long if the input operand was a 
13205 Buffer 
13206 object.
13207
13208 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
13209 (0) 
13210 within a buffer would prematurely terminate a compare between buffer 
13211 objects.
13212
13213 Added a check for string overflow (>200 characters as per the ACPI 
13214 specification) during the Concatenate operator with two string operands.
13215
13216 Code and Data Size: Current and previous core subsystem library sizes are 
13217 shown below. These are the code and data sizes for the acpica.lib 
13218 produced 
13219 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13220 any ACPI driver or OSPM code. The debug version of the code includes the 
13221 debug output trace mechanism and has a much larger code and data size. 
13222 Note 
13223 that these values will vary depending on the efficiency of the compiler 
13224 and 
13225 the compiler options used during generation.
13226
13227   Previous Release:
13228     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13229     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13230   Current Release:
13231     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13232     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13233
13234
13235
13236 2) iASL Compiler/Disassembler:
13237
13238 Allow the use of the ObjectType operator on uninitialized Locals and Args 
13239 (returns 0 as per the ACPI specification).
13240
13241 Fixed a problem where the compiler would fault if there was a syntax 
13242 error 
13243 in the FieldName of all of the various CreateXXXField operators.
13244
13245 Disallow the use of lower case letters within the EISAID macro, as per 
13246 the 
13247 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
13248 Where 
13249 U is an uppercase letter and N is a hex digit.
13250
13251
13252 ----------------------------------------
13253 06 October 2004.  Summary of changes for version 20041006:
13254
13255 1) ACPI CA Core Subsystem:
13256
13257 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
13258 implements a 64-bit timer with 100 nanosecond granularity.
13259
13260 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
13261 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
13262 implement 
13263 the timer with the best clock available. Also, it keeps the core 
13264 subsystem 
13265 out of the clock handling business, since the host OS (usually) performs 
13266 this function.
13267
13268 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
13269 functions use a 64-bit address which is part of the packed ACPI Generic 
13270 Address Structure. Since the structure is non-aligned, the alignment 
13271 macros 
13272 are now used to extract the address to a local variable before use.
13273
13274 Fixed a problem where the ToInteger operator assumed all input strings 
13275 were 
13276 hexadecimal. The operator now handles both decimal strings and hex 
13277 strings 
13278 (prefixed with "0x").
13279
13280 Fixed a problem where the string length in the string object created as a 
13281 result of the internal ConvertToString procedure could be incorrect. This 
13282 potentially affected all implicit conversions and also the 
13283 ToDecimalString 
13284 and ToHexString operators.
13285
13286 Fixed two problems in the ToString operator. If the length parameter was 
13287 zero, an incorrect string object was created and the value of the input 
13288 length parameter was inadvertently changed from zero to Ones.
13289
13290 Fixed a problem where the optional ResourceSource string in the 
13291 ExtendedIRQ 
13292 resource macro was ignored.
13293
13294 Simplified the interfaces to the internal division functions, reducing 
13295 code 
13296 size and complexity.
13297
13298 Code and Data Size: Current and previous core subsystem library sizes are 
13299 shown below. These are the code and data sizes for the acpica.lib 
13300 produced 
13301 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13302 any ACPI driver or OSPM code. The debug version of the code includes the 
13303 debug output trace mechanism and has a much larger code and data size. 
13304 Note 
13305 that these values will vary depending on the efficiency of the compiler 
13306 and 
13307 the compiler options used during generation.
13308
13309   Previous Release:
13310     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13311     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13312   Current Release:
13313     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13314     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13315
13316
13317 2) iASL Compiler/Disassembler:
13318
13319 Implemented support for the ACPI 3.0 Timer operator.
13320
13321 Fixed a problem where the Default() operator was inadvertently ignored in 
13322
13323 Switch/Case block.  This was a problem in the translation of the Switch 
13324 statement to If...Else pairs.
13325
13326 Added support to allow a standalone Return operator, with no parentheses 
13327 (or 
13328 operands).
13329
13330 Fixed a problem with code generation for the ElseIf operator where the 
13331 translated Else...If parse tree was improperly constructed leading to the 
13332 loss of some code.
13333
13334 ----------------------------------------
13335 22 September 2004.  Summary of changes for version 20040922:
13336
13337 1) ACPI CA Core Subsystem:
13338
13339 Fixed a problem with the implementation of the LNot() operator where 
13340 "Ones" 
13341 was not returned for the TRUE case. Changed the code to return Ones 
13342 instead 
13343 of (!Arg) which was usually 1. This change affects iASL constant folding 
13344 for 
13345 this operator also.
13346
13347 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
13348 not 
13349 initialized properly -- Now zero the entire buffer in this case where the 
13350 buffer already exists.
13351
13352 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
13353 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
13354 related code considerably. This will require changes/updates to all OS 
13355 interface layers (OSLs.)
13356
13357 Implemented a new external interface, AcpiInstallExceptionHandler, to 
13358 allow 
13359 a system exception handler to be installed. This handler is invoked upon 
13360 any 
13361 run-time exception that occurs during control method execution.
13362
13363 Added support for the DSDT in AcpiTbFindTable. This allows the 
13364 DataTableRegion() operator to access the local copy of the DSDT.
13365
13366 Code and Data Size: Current and previous core subsystem library sizes are 
13367 shown below. These are the code and data sizes for the acpica.lib 
13368 produced 
13369 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13370 any ACPI driver or OSPM code. The debug version of the code includes the 
13371 debug output trace mechanism and has a much larger code and data size. 
13372 Note 
13373 that these values will vary depending on the efficiency of the compiler 
13374 and 
13375 the compiler options used during generation.
13376
13377   Previous Release:
13378     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13379     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13380   Current Release:
13381     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13382     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13383
13384
13385 2) iASL Compiler/Disassembler:
13386
13387 Fixed a problem with constant folding and the LNot operator. LNot was 
13388 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
13389 This 
13390 could result in the generation of an incorrect folded/reduced constant.
13391
13392 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
13393 longer occurs if such a comment is at the very end of the input ASL 
13394 source 
13395 file.
13396
13397 Implemented the "-r" option to override the Revision in the table header. 
13398 The initial use of this option will be to simplify the evaluation of the 
13399 AML 
13400 interpreter by allowing a single ASL source module to be compiled for 
13401 either 
13402 32-bit or 64-bit integers.
13403
13404
13405 ----------------------------------------
13406 27 August 2004.  Summary of changes for version 20040827:
13407
13408 1) ACPI CA Core Subsystem:
13409
13410 - Implemented support for implicit object conversion in the non-numeric 
13411 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
13412 and 
13413 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
13414 the second operand is implicitly converted on the fly to match the type 
13415 of 
13416 the first operand.  For example:
13417
13418     LEqual (Source1, Source2)
13419
13420 Source1 and Source2 must each evaluate to an integer, a string, or a 
13421 buffer. 
13422 The data type of Source1 dictates the required type of Source2. Source2 
13423 is 
13424 implicitly converted if necessary to match the type of Source1.
13425
13426 - Updated and corrected the behavior of the string conversion support.  
13427 The 
13428 rules concerning conversion of buffers to strings (according to the ACPI 
13429 specification) are as follows:
13430
13431 ToDecimalString - explicit byte-wise conversion of buffer to string of 
13432 decimal values (0-255) separated by commas. ToHexString - explicit byte-
13433 wise 
13434 conversion of buffer to string of hex values (0-FF) separated by commas. 
13435 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
13436 byte 
13437 copy with no transform except NULL terminated. Any other implicit buffer-
13438 to-
13439 string conversion - byte-wise conversion of buffer to string of hex 
13440 values 
13441 (0-FF) separated by spaces.
13442
13443 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
13444
13445 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
13446 was 
13447 one byte too short in the case of a node in the root scope.  This could 
13448 cause a fault during debug output.
13449
13450 - Code and Data Size: Current and previous core subsystem library sizes 
13451 are 
13452 shown below.  These are the code and data sizes for the acpica.lib 
13453 produced 
13454 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13455 any ACPI driver or OSPM code.  The debug version of the code includes the 
13456 debug output trace mechanism and has a much larger code and data size.  
13457 Note 
13458 that these values will vary depending on the efficiency of the compiler 
13459 and 
13460 the compiler options used during generation.
13461
13462   Previous Release:
13463     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13464     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13465   Current Release:
13466     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13467     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13468
13469
13470 2) iASL Compiler/Disassembler:
13471
13472 - Fixed a Linux generation error.
13473
13474
13475 ----------------------------------------
13476 16 August 2004.  Summary of changes for version 20040816:
13477
13478 1) ACPI CA Core Subsystem:
13479
13480 Designed and implemented support within the AML interpreter for the so-
13481 called "implicit return".  This support returns the result of the last 
13482 ASL 
13483 operation within a control method, in the absence of an explicit Return() 
13484 operator.  A few machines depend on this behavior, even though it is not 
13485 explicitly supported by the ASL language.  It is optional support that 
13486 can 
13487 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
13488
13489 Removed support for the PCI_Config address space from the internal low 
13490 level 
13491 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
13492 support was not used internally, and would not work correctly anyway 
13493 because 
13494 the PCI bus number and segment number were not supported.  There are 
13495 separate interfaces for PCI configuration space access because of the 
13496 unique 
13497 interface.
13498
13499 Code and Data Size: Current and previous core subsystem library sizes are 
13500 shown below.  These are the code and data sizes for the acpica.lib 
13501 produced 
13502 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13503 any ACPI driver or OSPM code.  The debug version of the code includes the 
13504 debug output trace mechanism and has a much larger code and data size.  
13505 Note 
13506 that these values will vary depending on the efficiency of the compiler 
13507 and 
13508 the compiler options used during generation.
13509
13510   Previous Release:
13511     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13512     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13513   Current Release:
13514     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13515     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13516
13517
13518 2) iASL Compiler/Disassembler:
13519
13520 Fixed a problem where constants in ASL expressions at the root level (not 
13521 within a control method) could be inadvertently truncated during code 
13522 generation.  This problem was introduced in the 20040715 release.
13523
13524
13525 ----------------------------------------
13526 15 July 2004.  Summary of changes for version 20040715:
13527
13528 1) ACPI CA Core Subsystem:
13529
13530 Restructured the internal HW GPE interfaces to pass/track the current 
13531 state 
13532 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
13533 increase flexibility of the interfaces.
13534
13535 Implemented a "lexicographical compare" for String and Buffer objects 
13536 within 
13537 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
13538
13539 as per further clarification to the ACPI specification.  Behavior is 
13540 similar 
13541 to C library "strcmp".
13542
13543 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
13544 external function.  In the 32-bit non-debug case, the stack use has been 
13545 reduced from 168 bytes to 32 bytes.
13546
13547 Deployed a new run-time configuration flag, 
13548 AcpiGbl_EnableInterpreterSlack, 
13549 whose purpose is to allow the AML interpreter to forgive certain bad AML 
13550 constructs.  Default setting is FALSE.
13551
13552 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
13553 IO 
13554 support code.  If enabled, it allows field access to go beyond the end of 
13555
13556 region definition if the field is within the region length rounded up to 
13557 the 
13558 next access width boundary (a common coding error.)
13559
13560 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
13561 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
13562 these 
13563 symbols are lowercased by the latest version of the AcpiSrc tool.
13564
13565 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
13566 rename "Register" to simply "Reg" to prevent certain compilers from 
13567 complaining.
13568
13569 Code and Data Size: Current and previous core subsystem library sizes are 
13570 shown below.  These are the code and data sizes for the acpica.lib 
13571 produced 
13572 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13573 any ACPI driver or OSPM code.  The debug version of the code includes the 
13574 debug output trace mechanism and has a much larger code and data size.  
13575 Note 
13576 that these values will vary depending on the efficiency of the compiler 
13577 and 
13578 the compiler options used during generation.
13579
13580   Previous Release:
13581     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13582     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13583   Current Release:
13584     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13585     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13586
13587
13588 2) iASL Compiler/Disassembler:
13589
13590 Implemented full support for Package objects within the Case() operator.  
13591 Note: The Break() operator is currently not supported within Case blocks 
13592 (TermLists) as there is some question about backward compatibility with 
13593 ACPI 
13594 1.0 interpreters.
13595
13596
13597 Fixed a problem where complex terms were not supported properly within 
13598 the 
13599 Switch() operator.
13600
13601 Eliminated extraneous warning for compiler-emitted reserved names of the 
13602 form "_T_x".  (Used in Switch/Case operators.)
13603
13604 Eliminated optimization messages for "_T_x" objects and small constants 
13605 within the DefinitionBlock operator.
13606
13607
13608 ----------------------------------------
13609 15 June 2004.  Summary of changes for version 20040615:
13610
13611 1) ACPI CA Core Subsystem:
13612
13613 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13614 the 
13615 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13616 LLessEqual.
13617
13618 All directory names in the entire source package are lower case, as they 
13619 were in earlier releases.
13620
13621 Implemented "Disassemble" command in the AML debugger that will 
13622 disassemble 
13623 a single control method.
13624
13625 Code and Data Size: Current and previous core subsystem library sizes are 
13626 shown below.  These are the code and data sizes for the acpica.lib 
13627 produced 
13628 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13629 any ACPI driver or OSPM code.  The debug version of the code includes the 
13630 debug output trace mechanism and has a much larger code and data size.  
13631 Note 
13632 that these values will vary depending on the efficiency of the compiler 
13633 and 
13634 the compiler options used during generation.
13635
13636   Previous Release:
13637     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13638     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13639
13640   Current Release:
13641     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13642     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13643
13644
13645 2) iASL Compiler/Disassembler:
13646
13647 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13648 the 
13649 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13650 LLessEqual.
13651
13652 All directory names in the entire source package are lower case, as they 
13653 were in earlier releases.
13654
13655 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
13656 not found.
13657
13658 Fixed an issue with the Windows version of the compiler where later 
13659 versions 
13660 of Windows place the FADT in the registry under the name "FADT" and not 
13661 "FACP" as earlier versions did.  This applies when using the -g or -
13662 d<nofilename> options.  The compiler now looks for both strings as 
13663 necessary.
13664
13665 Fixed a problem with compiler namepath optimization where a namepath 
13666 within 
13667 the Scope() operator could not be optimized if the namepath was a subpath 
13668 of 
13669 the current scope path.
13670
13671 ----------------------------------------
13672 27 May 2004.  Summary of changes for version 20040527:
13673
13674 1) ACPI CA Core Subsystem:
13675
13676 Completed a new design and implementation for EBDA (Extended BIOS Data 
13677 Area) 
13678 support in the RSDP scan code.  The original code improperly scanned for 
13679 the 
13680 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
13681 method 
13682 is to first obtain the EBDA pointer from within the BIOS data area, then 
13683 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
13684 if 
13685 any machines that place the RSDP in the EBDA, however.
13686
13687 Integrated a fix for a possible fault during evaluation of BufferField 
13688 arguments.  Obsolete code that was causing the problem was removed.
13689
13690 Found and fixed a problem in the Field Support Code where data could be 
13691 corrupted on a bit field read that starts on an aligned boundary but does 
13692 not end on an aligned boundary.  Merged the read/write "datum length" 
13693 calculation code into a common procedure.
13694
13695 Rolled in a couple of changes to the FreeBSD-specific header.
13696
13697
13698 Code and Data Size: Current and previous core subsystem library sizes are 
13699 shown below.  These are the code and data sizes for the acpica.lib 
13700 produced 
13701 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13702 any ACPI driver or OSPM code.  The debug version of the code includes the 
13703 debug output trace mechanism and has a much larger code and data size.  
13704 Note 
13705 that these values will vary depending on the efficiency of the compiler 
13706 and 
13707 the compiler options used during generation.
13708
13709   Previous Release:
13710     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13711     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13712   Current Release:
13713     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13714     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13715
13716
13717 2) iASL Compiler/Disassembler:
13718
13719 Fixed a generation warning produced by some overly-verbose compilers for 
13720
13721 64-bit constant.
13722
13723 ----------------------------------------
13724 14 May 2004.  Summary of changes for version 20040514:
13725
13726 1) ACPI CA Core Subsystem:
13727
13728 Fixed a problem where hardware GPE enable bits sometimes not set properly 
13729 during and after GPE method execution.  Result of 04/27 changes.
13730
13731 Removed extra "clear all GPEs" when sleeping/waking.
13732
13733 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
13734 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
13735 to 
13736 the new AcpiEv* calls as appropriate.
13737
13738 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
13739 is 
13740 now "Microsoft Windows NT" for maximum compatibility.  However this can 
13741 be 
13742 changed by modifying the acconfig.h file.
13743
13744 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
13745 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
13746
13747 Run _INI methods on ThermalZone objects.  This is against the ACPI 
13748 specification, but there is apparently ASL code in the field that has 
13749 these 
13750 _INI methods, and apparently "other" AML interpreters execute them.
13751
13752 Performed a full 16/32/64 bit lint that resulted in some small changes.
13753
13754 Added a sleep simulation command to the AML debugger to test sleep code. 
13755
13756 Code and Data Size: Current and previous core subsystem library sizes are 
13757 shown below.  These are the code and data sizes for the acpica.lib 
13758 produced 
13759 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13760 any ACPI driver or OSPM code.  The debug version of the code includes the 
13761 debug output trace mechanism and has a much larger code and data size.  
13762 Note 
13763 that these values will vary depending on the efficiency of the compiler 
13764 and 
13765 the compiler options used during generation.
13766
13767   Previous Release:
13768     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13769     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13770   Current Release:
13771     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13772     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13773
13774 ----------------------------------------
13775 27 April 2004.  Summary of changes for version 20040427:
13776
13777 1) ACPI CA Core Subsystem:
13778
13779 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
13780 now three types of GPEs:  wake-only, runtime-only, and combination 
13781 wake/run.  
13782 The only GPEs allowed to be combination wake/run are for button-style 
13783 devices such as a control-method power button, control-method sleep 
13784 button, 
13785 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
13786 not 
13787 referenced by any _PRW methods are marked for "runtime" and hardware 
13788 enabled.  Any GPE that is referenced by a _PRW method is marked for 
13789 "wake" 
13790 (and disabled at runtime).  However, at sleep time, only those GPEs that 
13791 have been specifically enabled for wake via the AcpiEnableGpe interface 
13792 will 
13793 actually be hardware enabled.
13794
13795 A new external interface has been added, AcpiSetGpeType(), that is meant 
13796 to 
13797 be used by device drivers to force a GPE to a particular type.  It will 
13798 be 
13799 especially useful for the drivers for the button devices mentioned above.
13800
13801 Completed restructuring of the ACPI CA initialization sequence so that 
13802 default operation region handlers are installed before GPEs are 
13803 initialized 
13804 and the _PRW methods are executed.  This will prevent errors when the 
13805 _PRW 
13806 methods attempt to access system memory or I/O space.
13807
13808 GPE enable/disable no longer reads the GPE enable register.  We now keep 
13809 the 
13810 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
13811 thus no longer depend on the hardware to maintain these bits.
13812
13813 Always clear the wake status and fixed/GPE status bits before sleep, even 
13814 for state S5.
13815
13816 Improved the AML debugger output for displaying the GPE blocks and their 
13817 current status.
13818
13819 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
13820 where 
13821 x = 0,1,2,3,4.
13822
13823 Fixed a problem where the physical address was incorrectly calculated 
13824 when 
13825 the Load() operator was used to directly load from an Operation Region 
13826 (vs. 
13827 loading from a Field object.)  Also added check for minimum table length 
13828 for 
13829 this case.
13830
13831 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
13832 mutex release.
13833
13834 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
13835 consistency with the other fields returned.
13836
13837 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
13838 structure for each GPE in the system, so the size of this structure is 
13839 important.
13840
13841 CPU stack requirement reduction:  Cleaned up the method execution and 
13842 object 
13843 evaluation paths so that now a parameter structure is passed, instead of 
13844 copying the various method parameters over and over again.
13845
13846 In evregion.c:  Correctly exit and reenter the interpreter region if and 
13847 only if dispatching an operation region request to a user-installed 
13848 handler.  
13849 Do not exit/reenter when dispatching to a default handler (e.g., default 
13850 system memory or I/O handlers)
13851
13852
13853 Notes for updating drivers for the new GPE support.  The following 
13854 changes 
13855 must be made to ACPI-related device drivers that are attached to one or 
13856 more 
13857 GPEs: (This information will be added to the ACPI CA Programmer 
13858 Reference.)
13859
13860 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
13861 must 
13862 explicitly call AcpiEnableGpe.
13863 2) There is a new interface called AcpiSetGpeType. This should be called 
13864 before enabling the GPE.  Also, this interface will automatically disable 
13865 the GPE if it is currently enabled.
13866 3) AcpiEnableGpe no longer supports a GPE type flag.
13867
13868 Specific drivers that must be changed:
13869 1) EC driver:
13870     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
13871 AeGpeHandler, NULL);
13872     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
13873     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
13874
13875 2) Button Drivers (Power, Lid, Sleep):
13876 Run _PRW method under parent device
13877 If _PRW exists: /* This is a control-method button */
13878     Extract GPE number and possibly GpeDevice
13879     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
13880     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
13881
13882 For all other devices that have _PRWs, we automatically set the GPE type 
13883 to 
13884 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
13885 This 
13886 must be done on a selective basis, usually requiring some kind of user 
13887 app 
13888 to allow the user to pick the wake devices.
13889
13890
13891 Code and Data Size: Current and previous core subsystem library sizes are 
13892 shown below.  These are the code and data sizes for the acpica.lib 
13893 produced 
13894 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13895 any ACPI driver or OSPM code.  The debug version of the code includes the 
13896 debug output trace mechanism and has a much larger code and data size.  
13897 Note 
13898 that these values will vary depending on the efficiency of the compiler 
13899 and 
13900 the compiler options used during generation.
13901
13902   Previous Release:
13903     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13904     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13905   Current Release:
13906
13907     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13908     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13909
13910
13911
13912 ----------------------------------------
13913 02 April 2004.  Summary of changes for version 20040402:
13914
13915 1) ACPI CA Core Subsystem:
13916
13917 Fixed an interpreter problem where an indirect store through an ArgX 
13918 parameter was incorrectly applying the "implicit conversion rules" during 
13919 the store.  From the ACPI specification: "If the target is a method local 
13920 or 
13921 argument (LocalX or ArgX), no conversion is performed and the result is 
13922 stored directly to the target".  The new behavior is to disable implicit 
13923 conversion during ALL stores to an ArgX.
13924
13925 Changed the behavior of the _PRW method scan to ignore any and all errors 
13926 returned by a given _PRW.  This prevents the scan from aborting from the 
13927 failure of any single _PRW.
13928
13929 Moved the runtime configuration parameters from the global init procedure 
13930 to 
13931 static variables in acglobal.h.  This will allow the host to override the 
13932 default values easily.
13933
13934 Code and Data Size: Current and previous core subsystem library sizes are 
13935 shown below.  These are the code and data sizes for the acpica.lib 
13936 produced 
13937 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13938 any ACPI driver or OSPM code.  The debug version of the code includes the 
13939 debug output trace mechanism and has a much larger code and data size.  
13940 Note 
13941 that these values will vary depending on the efficiency of the compiler 
13942 and 
13943 the compiler options used during generation.
13944
13945   Previous Release:
13946     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13947     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13948   Current Release:
13949     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13950     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13951
13952
13953 2) iASL Compiler/Disassembler:
13954
13955 iASL now fully disassembles SSDTs.  However, External() statements are 
13956 not 
13957 generated automatically for unresolved symbols at this time.  This is a 
13958 planned feature for future implementation.
13959
13960 Fixed a scoping problem in the disassembler that occurs when the type of 
13961 the 
13962 target of a Scope() operator is overridden.  This problem caused an 
13963 incorrectly nested internal namespace to be constructed.
13964
13965 Any warnings or errors that are emitted during disassembly are now 
13966 commented 
13967 out automatically so that the resulting file can be recompiled without 
13968 any 
13969 hand editing.
13970
13971 ----------------------------------------
13972 26 March 2004.  Summary of changes for version 20040326:
13973
13974 1) ACPI CA Core Subsystem:
13975
13976 Implemented support for "wake" GPEs via interaction between GPEs and the 
13977 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
13978 identified as a WAKE GPE and by default will no longer be enabled at 
13979 runtime.  Previously, we were blindly enabling all GPEs with a 
13980 corresponding 
13981 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
13982 We 
13983 believe this has been the cause of thousands of "spurious" GPEs on some 
13984 systems.
13985
13986 This new GPE behavior is can be reverted to the original behavior (enable 
13987 ALL GPEs at runtime) via a runtime flag.
13988
13989 Fixed a problem where aliased control methods could not access objects 
13990 properly.  The proper scope within the namespace was not initialized 
13991 (transferred to the target of the aliased method) before executing the 
13992 target method.
13993
13994 Fixed a potential race condition on internal object deletion on the 
13995 return 
13996 object in AcpiEvaluateObject. 
13997
13998 Integrated a fix for resource descriptors where both _MEM and _MTP were 
13999 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
14000 wide, 0x0F instead of 0x03.)
14001
14002 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
14003 preventing 
14004
14005 fault in some cases.
14006
14007 Updated Notify() values for debug statements in evmisc.c
14008
14009 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
14010
14011 Code and Data Size: Current and previous core subsystem library sizes are 
14012 shown below.  These are the code and data sizes for the acpica.lib 
14013 produced 
14014 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
14015 any ACPI driver or OSPM code.  The debug version of the code includes the 
14016 debug output trace mechanism and has a much larger code and data size.  
14017 Note 
14018 that these values will vary depending on the efficiency of the compiler 
14019 and 
14020 the compiler options used during generation.
14021
14022   Previous Release:
14023
14024     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
14025     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
14026   Current Release:
14027     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
14028     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
14029
14030 ----------------------------------------
14031 11 March 2004.  Summary of changes for version 20040311:
14032
14033 1) ACPI CA Core Subsystem:
14034
14035 Fixed a problem where errors occurring during the parse phase of control 
14036 method execution did not abort cleanly.  For example, objects created and 
14037 installed in the namespace were not deleted.  This caused all subsequent 
14038 invocations of the method to return the AE_ALREADY_EXISTS exception.
14039
14040 Implemented a mechanism to force a control method to "Serialized" 
14041 execution 
14042 if the method attempts to create namespace objects. (The root of the 
14043 AE_ALREADY_EXISTS problem.)
14044
14045 Implemented support for the predefined _OSI "internal" control method.  
14046 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
14047 and 
14048 "Windows 2001.1", and can be easily upgraded for new strings as 
14049 necessary.  
14050 This feature will allow "other" operating systems to execute the fully 
14051 tested, "Windows" code path through the ASL code
14052
14053 Global Lock Support:  Now allows multiple acquires and releases with any 
14054 internal thread.  Removed concept of "owning thread" for this special 
14055 mutex.
14056
14057 Fixed two functions that were inappropriately declaring large objects on 
14058 the 
14059 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
14060 during 
14061 method execution considerably.
14062
14063 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
14064 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
14065
14066 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
14067 defined on the machine.
14068
14069 Implemented two runtime options:  One to force all control method 
14070 execution 
14071 to "Serialized" to mimic Windows behavior, another to disable _OSI 
14072 support 
14073 if it causes problems on a given machine.
14074
14075 Code and Data Size: Current and previous core subsystem library sizes are 
14076 shown below.  These are the code and data sizes for the acpica.lib 
14077 produced 
14078 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
14079 any ACPI driver or OSPM code.  The debug version of the code includes the 
14080 debug output trace mechanism and has a much larger code and data size.  
14081 Note 
14082 that these values will vary depending on the efficiency of the compiler 
14083 and 
14084 the compiler options used during generation.
14085
14086   Previous Release:
14087     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
14088     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
14089   Current Release:
14090     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
14091     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
14092
14093 2) iASL Compiler/Disassembler:
14094
14095 Fixed an array size problem for FreeBSD that would cause the compiler to 
14096 fault.
14097
14098 ----------------------------------------
14099 20 February 2004.  Summary of changes for version 20040220:
14100
14101
14102 1) ACPI CA Core Subsystem:
14103
14104 Implemented execution of _SxD methods for Device objects in the 
14105 GetObjectInfo interface.
14106
14107 Fixed calls to _SST method to pass the correct arguments.
14108
14109 Added a call to _SST on wake to restore to "working" state.
14110
14111 Check for End-Of-Buffer failure case in the WalkResources interface.
14112
14113 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
14114 structures to the beginning of the file.
14115
14116 After wake, clear GPE status register(s) before enabling GPEs.
14117
14118 After wake, clear/enable power button.  (Perhaps we should clear/enable 
14119 all 
14120 fixed events upon wake.)
14121
14122 Fixed a couple of possible memory leaks in the Namespace manager.
14123
14124 Integrated latest acnetbsd.h file.
14125
14126 ----------------------------------------
14127 11 February 2004.  Summary of changes for version 20040211:
14128
14129
14130 1) ACPI CA Core Subsystem:
14131
14132 Completed investigation and implementation of the call-by-reference 
14133 mechanism for control method arguments.
14134
14135 Fixed a problem where a store of an object into an indexed package could 
14136 fail if the store occurs within a different method than the method that 
14137 created the package.
14138
14139 Fixed a problem where the ToDecimal operator could return incorrect 
14140 results.
14141
14142 Fixed a problem where the CopyObject operator could fail on some of the 
14143 more 
14144 obscure objects (e.g., Reference objects.)
14145
14146 Improved the output of the Debug object to display buffer, package, and 
14147 index objects.
14148
14149 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
14150 return 
14151 the expected result.
14152
14153 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
14154 ACPI_AML_INTERNAL exception.
14155
14156 Integrated latest version of acfreebsd.h
14157
14158 ----------------------------------------
14159 16 January 2004.  Summary of changes for version 20040116:
14160
14161 The purpose of this release is primarily to update the copyright years in 
14162 each module, thus causing a huge number of diffs.  There are a few small 
14163 functional changes, however.
14164
14165 1) ACPI CA Core Subsystem:
14166
14167 Improved error messages when there is a problem finding one or more of 
14168 the 
14169 required base ACPI tables
14170
14171 Reintroduced the definition of APIC_HEADER in actbl.h
14172
14173 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
14174
14175 Removed extraneous reference to NewObj in dsmthdat.c
14176
14177 2) iASL compiler
14178
14179 Fixed a problem introduced in December that disabled the correct 
14180 disassembly 
14181 of Resource Templates
14182
14183
14184 ----------------------------------------
14185 03 December 2003.  Summary of changes for version 20031203:
14186
14187 1) ACPI CA Core Subsystem:
14188
14189 Changed the initialization of Operation Regions during subsystem
14190 init to perform two entire walks of the ACPI namespace; The first
14191 to initialize the regions themselves, the second to execute the
14192 _REG methods.  This fixed some interdependencies across _REG
14193 methods found on some machines.
14194
14195 Fixed a problem where a Store(Local0, Local1) could simply update
14196 the object reference count, and not create a new copy of the
14197 object if the Local1 is uninitialized.
14198
14199 Implemented support for the _SST reserved method during sleep
14200 transitions.
14201
14202 Implemented support to clear the SLP_TYP and SLP_EN bits when
14203 waking up, this is apparently required by some machines.
14204
14205 When sleeping, clear the wake status only if SleepState is not S5.
14206
14207 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
14208 pointer arithmetic advanced a string pointer too far.
14209
14210 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
14211 could be returned if the requested table has not been loaded.
14212
14213 Within the support for IRQ resources, restructured the handling of
14214 the active and edge/level bits.
14215
14216 Fixed a few problems in AcpiPsxExecute() where memory could be
14217 leaked under certain error conditions.
14218
14219 Improved error messages for the cases where the ACPI mode could
14220 not be entered.
14221
14222 Code and Data Size: Current and previous core subsystem library
14223 sizes are shown below.  These are the code and data sizes for the
14224 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14225 these values do not include any ACPI driver or OSPM code.  The
14226 debug version of the code includes the debug output trace
14227 mechanism and has a much larger code and data size.  Note that
14228 these values will vary depending on the efficiency of the compiler
14229 and the compiler options used during generation.
14230
14231   Previous Release (20031029):
14232     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14233     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14234   Current Release:
14235     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
14236     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
14237
14238 2) iASL Compiler/Disassembler:
14239
14240 Implemented a fix for the iASL disassembler where a bad index was
14241 generated.  This was most noticeable on 64-bit platforms
14242
14243
14244 ----------------------------------------
14245 29 October 2003.  Summary of changes for version 20031029:
14246
14247 1) ACPI CA Core Subsystem:
14248
14249
14250 Fixed a problem where a level-triggered GPE with an associated
14251 _Lxx control method was incorrectly cleared twice.
14252
14253 Fixed a problem with the Field support code where an access can
14254 occur beyond the end-of-region if the field is non-aligned but
14255 extends to the very end of the parent region (resulted in an
14256 AE_AML_REGION_LIMIT exception.)
14257
14258 Fixed a problem with ACPI Fixed Events where an RT Clock handler
14259 would not get invoked on an RTC event.  The RTC event bitmasks for
14260 the PM1 registers were not being initialized properly.
14261
14262 Implemented support for executing _STA and _INI methods for
14263 Processor objects.  Although this is currently not part of the
14264 ACPI specification, there is existing ASL code that depends on the
14265 init-time execution of these methods.
14266
14267 Implemented and deployed a GetDescriptorName function to decode
14268 the various types of internal descriptors.  Guards against null
14269 descriptors during debug output also.
14270
14271 Implemented and deployed a GetNodeName function to extract the 4-
14272 character namespace node name.  This function simplifies the debug
14273 and error output, as well as guarding against null pointers during
14274 output.
14275
14276 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
14277 simplify the debug and error output of 64-bit integers.  This
14278 macro replaces the HIDWORD and LODWORD macros for dumping these
14279 integers.
14280
14281 Updated the implementation of the Stall() operator to only call
14282 AcpiOsStall(), and also return an error if the operand is larger
14283 than 255.  This preserves the required behavior of not
14284 relinquishing the processor, as would happen if AcpiOsSleep() was
14285 called for "long stalls".
14286
14287 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
14288 initialized are now treated as NOOPs.
14289
14290 Cleaned up a handful of warnings during 64-bit generation.
14291
14292 Fixed a reported error where and incorrect GPE number was passed
14293 to the GPE dispatch handler.  This value is only used for error
14294 output, however.  Used this opportunity to clean up and streamline
14295 the GPE dispatch code.
14296
14297 Code and Data Size: Current and previous core subsystem library
14298 sizes are shown below.  These are the code and data sizes for the
14299 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14300 these values do not include any ACPI driver or OSPM code.  The
14301
14302 debug version of the code includes the debug output trace
14303 mechanism and has a much larger code and data size.  Note that
14304 these values will vary depending on the efficiency of the compiler
14305 and the compiler options used during generation.
14306
14307   Previous Release (20031002):
14308     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14309     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14310   Current Release:
14311     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14312     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14313
14314
14315 2) iASL Compiler/Disassembler:
14316
14317 Updated the iASL compiler to return an error if the operand to the
14318 Stall() operator is larger than 255.
14319
14320
14321 ----------------------------------------
14322 02 October 2003.  Summary of changes for version 20031002:
14323
14324
14325 1) ACPI CA Core Subsystem:
14326
14327 Fixed a problem with Index Fields where the index was not
14328 incremented for fields that require multiple writes to the
14329 index/data registers (Fields that are wider than the data
14330 register.)
14331
14332 Fixed a problem with all Field objects where a write could go
14333 beyond the end-of-field if the field was larger than the access
14334 granularity and therefore required multiple writes to complete the
14335 request.  An extra write beyond the end of the field could happen
14336 inadvertently.
14337
14338 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
14339 would incorrectly be returned if the width of the Data Register
14340 was larger than the specified field access width.
14341
14342 Completed fixes for LoadTable() and Unload() and verified their
14343 operation.  Implemented full support for the "DdbHandle" object
14344 throughout the ACPI CA subsystem.
14345
14346 Implemented full support for the MADT and ECDT tables in the ACPI
14347 CA header files.  Even though these tables are not directly
14348 consumed by ACPI CA, the header definitions are useful for ACPI
14349 device drivers.
14350
14351 Integrated resource descriptor fixes posted to the Linux ACPI
14352 list.  This included checks for minimum descriptor length, and
14353 support for trailing NULL strings within descriptors that have
14354 optional string elements.
14355
14356 Code and Data Size: Current and previous core subsystem library
14357 sizes are shown below.  These are the code and data sizes for the
14358 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14359 these values do not include any ACPI driver or OSPM code.  The
14360 debug version of the code includes the debug output trace
14361 mechanism and has a much larger code and data size.  Note that
14362 these values will vary depending on the efficiency of the compiler
14363 and the compiler options used during generation.
14364
14365   Previous Release (20030918):
14366     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14367     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14368   Current Release:
14369     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14370     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14371
14372
14373 2) iASL Compiler:
14374
14375 Implemented detection of non-ASCII characters within the input
14376 source ASL file.  This catches attempts to compile binary (AML)
14377 files early in the compile, with an informative error message.
14378
14379 Fixed a problem where the disassembler would fault if the output
14380 filename could not be generated or if the output file could not be
14381 opened.
14382
14383 ----------------------------------------
14384 18 September 2003.  Summary of changes for version 20030918:
14385
14386
14387 1) ACPI CA Core Subsystem:
14388
14389 Found and fixed a longstanding problem with the late execution of
14390 the various deferred AML opcodes (such as Operation Regions,
14391 Buffer Fields, Buffers, and Packages).  If the name string
14392 specified for the name of the new object placed the object in a
14393 scope other than the current scope, the initialization/execution
14394 of the opcode failed.  The solution to this problem was to
14395 implement a mechanism where the late execution of such opcodes
14396 does not attempt to lookup/create the name a second time in an
14397 incorrect scope.  This fixes the "region size computed
14398 incorrectly" problem.
14399
14400 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
14401 Global Lock AE_BAD_PARAMETER error.
14402
14403 Fixed several 64-bit issues with prototypes, casting and data
14404 types.
14405
14406 Removed duplicate prototype from acdisasm.h
14407
14408 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
14409
14410 Code and Data Size: Current and previous core subsystem library
14411 sizes are shown below.  These are the code and data sizes for the
14412 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14413 these values do not include any ACPI driver or OSPM code.  The
14414 debug version of the code includes the debug output trace
14415 mechanism and has a much larger code and data size.  Note that
14416 these values will vary depending on the efficiency of the compiler
14417 and the compiler options used during generation.
14418
14419   Previous Release:
14420
14421     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14422     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14423   Current Release:
14424     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14425     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14426
14427
14428 2) Linux:
14429
14430 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
14431 correct sleep time in seconds.
14432
14433 ----------------------------------------
14434 14 July 2003.  Summary of changes for version 20030619:
14435
14436 1) ACPI CA Core Subsystem:
14437
14438 Parse SSDTs in order discovered, as opposed to reverse order
14439 (Hrvoje Habjanic)
14440
14441 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
14442 Klausner,
14443    Nate Lawson)
14444
14445
14446 2) Linux:
14447
14448 Dynamically allocate SDT list (suggested by Andi Kleen)
14449
14450 proc function return value cleanups (Andi Kleen)
14451
14452 Correctly handle NMI watchdog during long stalls (Andrew Morton)
14453
14454 Make it so acpismp=force works (reported by Andrew Morton)
14455
14456
14457 ----------------------------------------
14458 19 June 2003.  Summary of changes for version 20030619:
14459
14460 1) ACPI CA Core Subsystem:
14461
14462 Fix To/FromBCD, eliminating the need for an arch-specific #define.
14463
14464 Do not acquire a semaphore in the S5 shutdown path.
14465
14466 Fix ex_digits_needed for 0. (Takayoshi Kochi)
14467
14468 Fix sleep/stall code reversal. (Andi Kleen)
14469
14470 Revert a change having to do with control method calling
14471 semantics.
14472
14473 2) Linux:
14474
14475 acpiphp update (Takayoshi Kochi)
14476
14477 Export acpi_disabled for sonypi (Stelian Pop)
14478
14479 Mention acpismp=force in config help
14480
14481 Re-add acpitable.c and acpismp=force. This improves backwards
14482
14483 compatibility and also cleans up the code to a significant degree.
14484
14485 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
14486
14487 ----------------------------------------
14488 22 May 2003.  Summary of changes for version 20030522:
14489
14490 1) ACPI CA Core Subsystem:
14491
14492 Found and fixed a reported problem where an AE_NOT_FOUND error
14493 occurred occasionally during _BST evaluation.  This turned out to
14494 be an Owner ID allocation issue where a called method did not get
14495 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
14496 ID UINT16 would wraparound so that the ID would be the same as the
14497 caller's and the called method would delete the caller's
14498 namespace.
14499
14500 Implemented extended error reporting for control methods that are
14501 aborted due to a run-time exception.  Output includes the exact
14502 AML instruction that caused the method abort, a dump of the method
14503 locals and arguments at the time of the abort, and a trace of all
14504 nested control method calls.
14505
14506 Modified the interpreter to allow the creation of buffers of zero
14507 length from the AML code. Implemented new code to ensure that no
14508 attempt is made to actually allocate a memory buffer (of length
14509 zero) - instead, a simple buffer object with a NULL buffer pointer
14510 and length zero is created.  A warning is no longer issued when
14511 the AML attempts to create a zero-length buffer.
14512
14513 Implemented a workaround for the "leading asterisk issue" in
14514 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
14515 asterisk is automatically removed if present in any HID, UID, or
14516 CID strings.  The iASL compiler will still flag this asterisk as
14517 an error, however.
14518
14519 Implemented full support for _CID methods that return a package of
14520 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
14521 now additionally returns a device _CID list if present.  This
14522 required a change to the external interface in order to pass an
14523 ACPI_BUFFER object as a parameter since the _CID list is of
14524 variable length.
14525
14526 Fixed a problem with the new AE_SAME_HANDLER exception where
14527 handler initialization code did not know about this exception.
14528
14529 Code and Data Size: Current and previous core subsystem library
14530 sizes are shown below.  These are the code and data sizes for the
14531 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14532 these values do not include any ACPI driver or OSPM code.  The
14533 debug version of the code includes the debug output trace
14534 mechanism and has a much larger code and data size.  Note that
14535 these values will vary depending on the efficiency of the compiler
14536 and the compiler options used during generation.
14537
14538   Previous Release (20030509):
14539     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14540     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14541   Current Release:
14542     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14543     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14544
14545
14546 2) Linux:
14547
14548 Fixed a bug in which we would reinitialize the ACPI interrupt
14549 after it was already working, thus disabling all ACPI and the IRQs
14550 for any other device sharing the interrupt. (Thanks to Stian
14551 Jordet)
14552
14553 Toshiba driver update (John Belmonte)
14554
14555 Return only 0 or 1 for our interrupt handler status (Andrew
14556 Morton)
14557
14558
14559 3) iASL Compiler:
14560
14561 Fixed a reported problem where multiple (nested) ElseIf()
14562 statements were not handled correctly by the compiler, resulting
14563 in incorrect warnings and incorrect AML code.  This was a problem
14564 in both the ASL parser and the code generator.
14565
14566
14567 4) Documentation:
14568
14569 Added changes to existing interfaces, new exception codes, and new
14570 text concerning reference count object management versus garbage
14571 collection.
14572
14573 ----------------------------------------
14574 09 May 2003.  Summary of changes for version 20030509.
14575
14576
14577 1) ACPI CA Core Subsystem:
14578
14579 Changed the subsystem initialization sequence to hold off
14580 installation of address space handlers until the hardware has been
14581 initialized and the system has entered ACPI mode.  This is because
14582 the installation of space handlers can cause _REG methods to be
14583 run.  Previously, the _REG methods could potentially be run before
14584 ACPI mode was enabled.
14585
14586 Fixed some memory leak issues related to address space handler and
14587 notify handler installation.  There were some problems with the
14588 reference count mechanism caused by the fact that the handler
14589 objects are shared across several namespace objects.
14590
14591 Fixed a reported problem where reference counts within the
14592 namespace were not properly updated when named objects created by
14593 method execution were deleted.
14594
14595 Fixed a reported problem where multiple SSDTs caused a deletion
14596 issue during subsystem termination.  Restructured the table data
14597 structures to simplify the linked lists and the related code.
14598
14599 Fixed a problem where the table ID associated with secondary
14600 tables (SSDTs) was not being propagated into the namespace objects
14601 created by those tables.  This would only present a problem for
14602 tables that are unloaded at run-time, however.
14603
14604 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
14605 type as the length parameter (instead of UINT32).
14606
14607 Solved a long-standing problem where an ALREADY_EXISTS error
14608 appears on various systems.  This problem could happen when there
14609 are multiple PCI_Config operation regions under a single PCI root
14610 bus.  This doesn't happen very frequently, but there are some
14611 systems that do this in the ASL.
14612
14613 Fixed a reported problem where the internal DeleteNode function
14614 was incorrectly handling the case where a namespace node was the
14615 first in the parent's child list, and had additional peers (not
14616 the only child, but first in the list of children.)
14617
14618 Code and Data Size: Current core subsystem library sizes are shown
14619 below.  These are the code and data sizes for the acpica.lib
14620 produced by the Microsoft Visual C++ 6.0 compiler, and these
14621 values do not include any ACPI driver or OSPM code.  The debug
14622 version of the code includes the debug output trace mechanism and
14623 has a much larger code and data size.  Note that these values will
14624 vary depending on the efficiency of the compiler and the compiler
14625 options used during generation.
14626
14627   Previous Release
14628     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14629     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14630   Current Release:
14631     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14632     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14633
14634
14635 2) Linux:
14636
14637 Allow ":" in OS override string (Ducrot Bruno)
14638
14639 Kobject fix (Greg KH)
14640
14641
14642 3 iASL Compiler/Disassembler:
14643
14644 Fixed a problem in the generation of the C source code files (AML
14645 is emitted in C source statements for BIOS inclusion) where the
14646 Ascii dump that appears within a C comment at the end of each line
14647 could cause a compile time error if the AML sequence happens to
14648 have an open comment or close comment sequence embedded.
14649
14650
14651 ----------------------------------------
14652 24 April 2003.  Summary of changes for version 20030424.
14653
14654
14655 1) ACPI CA Core Subsystem:
14656
14657 Support for big-endian systems has been implemented.  Most of the
14658 support has been invisibly added behind big-endian versions of the
14659 ACPI_MOVE_* macros.
14660
14661 Fixed a problem in AcpiHwDisableGpeBlock() and
14662 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
14663 low level hardware write routine.  The offset parameter was
14664 actually eliminated from the low level read/write routines because
14665 they had become obsolete.
14666
14667 Fixed a problem where a handler object was deleted twice during
14668 the removal of a fixed event handler.
14669
14670
14671 2) Linux:
14672
14673 A fix for SMP systems with link devices was contributed by
14674
14675 Compaq's Dan Zink.
14676
14677 (2.5) Return whether we handled the interrupt in our IRQ handler.
14678 (Linux ISRs no longer return void, so we can propagate the handler
14679 return value from the ACPI CA core back to the OS.)
14680
14681
14682
14683 3) Documentation:
14684
14685 The ACPI CA Programmer Reference has been updated to reflect new
14686 interfaces and changes to existing interfaces.
14687
14688 ----------------------------------------
14689 28 March 2003.  Summary of changes for version 20030328.
14690
14691 1) ACPI CA Core Subsystem:
14692
14693 The GPE Block Device support has been completed.  New interfaces
14694 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
14695 interfaces (enable, disable, clear, getstatus) have been split
14696 into separate interfaces for Fixed Events and General Purpose
14697 Events (GPEs) in order to support GPE Block Devices properly.
14698
14699 Fixed a problem where the error message "Failed to acquire
14700 semaphore" would appear during operations on the embedded
14701 controller (EC).
14702
14703 Code and Data Size: Current core subsystem library sizes are shown
14704 below.  These are the code and data sizes for the acpica.lib
14705 produced by the Microsoft Visual C++ 6.0 compiler, and these
14706 values do not include any ACPI driver or OSPM code.  The debug
14707 version of the code includes the debug output trace mechanism and
14708 has a much larger code and data size.  Note that these values will
14709 vary depending on the efficiency of the compiler and the compiler
14710 options used during generation.
14711
14712   Previous Release
14713     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14714     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14715   Current Release:
14716     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14717     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14718
14719
14720 ----------------------------------------
14721 28 February 2003.  Summary of changes for version 20030228.
14722
14723
14724 1) ACPI CA Core Subsystem:
14725
14726 The GPE handling and dispatch code has been completely overhauled
14727 in preparation for support of GPE Block Devices (ID ACPI0006).
14728 This affects internal data structures and code only; there should
14729 be no differences visible externally.  One new file has been
14730 added, evgpeblk.c
14731
14732 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
14733 fields that are used to determine the GPE block lengths.  The
14734 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
14735 structures are ignored.  This is per the ACPI specification but it
14736 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
14737 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
14738
14739 In the SCI interrupt handler, removed the read of the PM1_CONTROL
14740 register to look at the SCI_EN bit.  On some machines, this read
14741 causes an SMI event and greatly slows down SCI events.  (This may
14742 in fact be the cause of slow battery status response on some
14743 systems.)
14744
14745 Fixed a problem where a store of a NULL string to a package object
14746 could cause the premature deletion of the object.  This was seen
14747 during execution of the battery _BIF method on some systems,
14748 resulting in no battery data being returned.
14749
14750 Added AcpiWalkResources interface to simplify parsing of resource
14751 lists.
14752
14753 Code and Data Size: Current core subsystem library sizes are shown
14754 below.  These are the code and data sizes for the acpica.lib
14755 produced by the Microsoft Visual C++ 6.0 compiler, and these
14756 values do not include any ACPI driver or OSPM code.  The debug
14757 version of the code includes the debug output trace mechanism and
14758 has a much larger code and data size.  Note that these values will
14759 vary depending on the efficiency of the compiler and the compiler
14760 options used during generation.
14761
14762   Previous Release
14763     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14764     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14765   Current Release:
14766     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14767     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14768
14769
14770 2) Linux
14771
14772 S3 fixes (Ole Rohne)
14773
14774 Update ACPI PHP driver with to use new acpi_walk_resource API
14775 (Bjorn Helgaas)
14776
14777 Add S4BIOS support (Pavel Machek)
14778
14779 Map in entire table before performing checksum (John Stultz)
14780
14781 Expand the mem= cmdline to allow the specification of reserved and
14782 ACPI DATA blocks (Pavel Machek)
14783
14784 Never use ACPI on VISWS
14785
14786 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
14787
14788 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
14789 causing us to think that some systems support C2 when they really
14790 don't.
14791
14792 Do not count processor objects for non-present CPUs (Thanks to
14793 Dominik Brodowski)
14794
14795
14796 3) iASL Compiler:
14797
14798 Fixed a problem where ASL include files could not be found and
14799 opened.
14800
14801 Added support for the _PDC reserved name.
14802
14803
14804 ----------------------------------------
14805 22 January 2003.  Summary of changes for version 20030122.
14806
14807
14808 1) ACPI CA Core Subsystem:
14809
14810 Added a check for constructs of the form:  Store (Local0, Local0)
14811 where Local0 is not initialized.  Apparently, some BIOS
14812 programmers believe that this is a NOOP.  Since this store doesn't
14813 do anything anyway, the new prototype behavior will ignore this
14814 error.  This is a case where we can relax the strict checking in
14815 the interpreter in the name of compatibility.
14816
14817
14818 2) Linux
14819
14820 The AcpiSrc Source Conversion Utility has been released with the
14821 Linux package for the first time.  This is the utility that is
14822 used to convert the ACPI CA base source code to the Linux version.
14823
14824 (Both) Handle P_BLK lengths shorter than 6 more gracefully
14825
14826 (Both) Move more headers to include/acpi, and delete an unused
14827 header.
14828
14829 (Both) Move drivers/acpi/include directory to include/acpi
14830
14831 (Both) Boot functions don't use cmdline, so don't pass it around
14832
14833 (Both) Remove include of unused header (Adrian Bunk)
14834
14835 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
14836 the
14837 former now also includes the latter, acpiphp.h only needs the one,
14838 now.
14839
14840 (2.5) Make it possible to select method of bios restoring after S3
14841 resume. [=> no more ugly ifdefs] (Pavel Machek)
14842
14843 (2.5) Make proc write interfaces work (Pavel Machek)
14844
14845 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
14846
14847 (2.5) Break out ACPI Perf code into its own module, under cpufreq
14848 (Dominik Brodowski)
14849
14850 (2.4) S4BIOS support (Ducrot Bruno)
14851
14852 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
14853 Visinoni)
14854
14855
14856 3) iASL Compiler:
14857
14858 Added support to disassemble SSDT and PSDTs.
14859
14860 Implemented support to obtain SSDTs from the Windows registry if
14861 available.
14862
14863
14864 ----------------------------------------
14865 09 January 2003.  Summary of changes for version 20030109.
14866
14867 1) ACPI CA Core Subsystem:
14868
14869 Changed the behavior of the internal Buffer-to-String conversion
14870 function.  The current ACPI specification states that the contents
14871 of the buffer are "converted to a string of two-character
14872 hexadecimal numbers, each separated by a space".  Unfortunately,
14873 this definition is not backwards compatible with existing ACPI 1.0
14874 implementations (although the behavior was not defined in the ACPI
14875 1.0 specification).  The new behavior simply copies data from the
14876 buffer to the string until a null character is found or the end of
14877 the buffer is reached.  The new String object is always null
14878 terminated.  This problem was seen during the generation of _BIF
14879 battery data where incorrect strings were returned for battery
14880 type, etc.  This will also require an errata to the ACPI
14881 specification.
14882
14883 Renamed all instances of NATIVE_UINT and NATIVE_INT to
14884 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
14885
14886 Copyright in all module headers (both Linux and non-Linux) has be
14887 updated to 2003.
14888
14889 Code and Data Size: Current core subsystem library sizes are shown
14890 below.  These are the code and data sizes for the acpica.lib
14891 produced by the Microsoft Visual C++ 6.0 compiler, and these
14892 values do not include any ACPI driver or OSPM code.  The debug
14893 version of the code includes the debug output trace mechanism and
14894 has a much larger code and data size.  Note that these values will
14895 vary depending on the efficiency of the compiler and the compiler
14896 options used during generation.
14897
14898   Previous Release
14899     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14900     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14901   Current Release:
14902     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14903     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14904
14905
14906 2) Linux
14907
14908 Fixed an oops on module insertion/removal (Matthew Tippett)
14909
14910 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
14911
14912 (2.5) Replace pr_debug (Randy Dunlap)
14913
14914 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
14915
14916 (Both) Eliminate spawning of thread from timer callback, in favor
14917 of schedule_work()
14918
14919 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
14920
14921 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
14922
14923 (Both) Add missing statics to button.c (Pavel Machek)
14924
14925 Several changes have been made to the source code translation
14926 utility that generates the Linux Code in order to make the code
14927 more "Linux-like":
14928
14929 All typedefs on structs and unions have been removed in keeping
14930 with the Linux coding style.
14931
14932 Removed the non-Linux SourceSafe module revision number from each
14933 module header.
14934
14935 Completed major overhaul of symbols to be lowercased for linux.
14936 Doubled the number of symbols that are lowercased.
14937
14938 Fixed a problem where identifiers within procedure headers and
14939 within quotes were not fully lower cased (they were left with a
14940 starting capital.)
14941
14942 Some C macros whose only purpose is to allow the generation of 16-
14943 bit code are now completely removed in the Linux code, increasing
14944 readability and maintainability.
14945
14946 ----------------------------------------
14947
14948 12 December 2002.  Summary of changes for version 20021212.
14949
14950
14951 1) ACPI CA Core Subsystem:
14952
14953 Fixed a problem where the creation of a zero-length AML Buffer
14954 would cause a fault.
14955
14956 Fixed a problem where a Buffer object that pointed to a static AML
14957 buffer (in an ACPI table) could inadvertently be deleted, causing
14958 memory corruption.
14959
14960 Fixed a problem where a user buffer (passed in to the external
14961 ACPI CA interfaces) could be overwritten if the buffer was too
14962 small to complete the operation, causing memory corruption.
14963
14964 Fixed a problem in the Buffer-to-String conversion code where a
14965 string of length one was always returned, regardless of the size
14966 of the input Buffer object.
14967
14968 Removed the NATIVE_CHAR data type across the entire source due to
14969 lack of need and lack of consistent use.
14970
14971 Code and Data Size: Current core subsystem library sizes are shown
14972 below.  These are the code and data sizes for the acpica.lib
14973 produced by the Microsoft Visual C++ 6.0 compiler, and these
14974 values do not include any ACPI driver or OSPM code.  The debug
14975 version of the code includes the debug output trace mechanism and
14976 has a much larger code and data size.  Note that these values will
14977 vary depending on the efficiency of the compiler and the compiler
14978 options used during generation.
14979
14980   Previous Release
14981     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14982     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14983   Current Release:
14984     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14985     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14986
14987
14988 ----------------------------------------
14989 05 December 2002.  Summary of changes for version 20021205.
14990
14991 1) ACPI CA Core Subsystem:
14992
14993 Fixed a problem where a store to a String or Buffer object could
14994 cause corruption of the DSDT if the object type being stored was
14995 the same as the target object type and the length of the object
14996 being stored was equal to or smaller than the original (existing)
14997 target object.  This was seen to cause corruption of battery _BIF
14998 buffers if the _BIF method modified the buffer on the fly.
14999
15000 Fixed a problem where an internal error was generated if a control
15001 method invocation was used in an OperationRegion, Buffer, or
15002 Package declaration.  This was caused by the deferred parsing of
15003 the control method and thus the deferred creation of the internal
15004 method object.  The solution to this problem was to create the
15005 internal method object at the moment the method is encountered in
15006 the first pass - so that subsequent references to the method will
15007 able to obtain the required parameter count and thus properly
15008 parse the method invocation.  This problem presented itself as an
15009 AE_AML_INTERNAL during the pass 1 parse phase during table load.
15010
15011 Fixed a problem where the internal String object copy routine did
15012 not always allocate sufficient memory for the target String object
15013 and caused memory corruption.  This problem was seen to cause
15014 "Allocation already present in list!" errors as memory allocation
15015 became corrupted.
15016
15017 Implemented a new function for the evaluation of namespace objects
15018 that allows the specification of the allowable return object
15019 types.  This simplifies a lot of code that checks for a return
15020 object of one or more specific objects returned from the
15021 evaluation (such as _STA, etc.)  This may become and external
15022 function if it would be useful to ACPI-related drivers.
15023
15024 Completed another round of prefixing #defines with "ACPI_" for
15025 clarity.
15026
15027 Completed additional code restructuring to allow more modular
15028 linking for iASL compiler and AcpiExec.  Several files were split
15029 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
15030
15031 Implemented an abort mechanism to terminate an executing control
15032 method via the AML debugger.  This feature is useful for debugging
15033 control methods that depend (wait) for specific hardware
15034 responses.
15035
15036 Code and Data Size: Current core subsystem library sizes are shown
15037 below.  These are the code and data sizes for the acpica.lib
15038 produced by the Microsoft Visual C++ 6.0 compiler, and these
15039 values do not include any ACPI driver or OSPM code.  The debug
15040 version of the code includes the debug output trace mechanism and
15041 has a much larger code and data size.  Note that these values will
15042 vary depending on the efficiency of the compiler and the compiler
15043 options used during generation.
15044
15045   Previous Release
15046     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15047     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
15048   Current Release:
15049     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
15050     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
15051
15052
15053 2) iASL Compiler/Disassembler
15054
15055 Fixed a compiler code generation problem for "Interrupt" Resource
15056 Descriptors.  If specified in the ASL, the optional "Resource
15057 Source Index" and "Resource Source" fields were not inserted into
15058 the correct location within the AML resource descriptor, creating
15059 an invalid descriptor.
15060
15061 Fixed a disassembler problem for "Interrupt" resource descriptors.
15062 The optional "Resource Source Index" and "Resource Source" fields
15063 were ignored.
15064
15065
15066 ----------------------------------------
15067 22 November 2002.  Summary of changes for version 20021122.
15068
15069
15070 1) ACPI CA Core Subsystem:
15071
15072 Fixed a reported problem where an object stored to a Method Local
15073 or Arg was not copied to a new object during the store - the
15074 object pointer was simply copied to the Local/Arg.  This caused
15075 all subsequent operations on the Local/Arg to also affect the
15076 original source of the store operation.
15077
15078 Fixed a problem where a store operation to a Method Local or Arg
15079 was not completed properly if the Local/Arg contained a reference
15080 (from RefOf) to a named field.  The general-purpose store-to-
15081 namespace-node code is now used so that this case is handled
15082 automatically.
15083
15084 Fixed a problem where the internal object copy routine would cause
15085 a protection fault if the object being copied was a Package and
15086 contained either 1) a NULL package element or 2) a nested sub-
15087 package.
15088
15089 Fixed a problem with the GPE initialization that resulted from an
15090 ambiguity in the ACPI specification.  One section of the
15091 specification states that both the address and length of the GPE
15092 block must be zero if the block is not supported.  Another section
15093 implies that only the address need be zero if the block is not
15094 supported.  The code has been changed so that both the address and
15095 the length must be non-zero to indicate a valid GPE block (i.e.,
15096 if either the address or the length is zero, the GPE block is
15097 invalid.)
15098
15099 Code and Data Size: Current core subsystem library sizes are shown
15100 below.  These are the code and data sizes for the acpica.lib
15101 produced by the Microsoft Visual C++ 6.0 compiler, and these
15102 values do not include any ACPI driver or OSPM code.  The debug
15103 version of the code includes the debug output trace mechanism and
15104 has a much larger code and data size.  Note that these values will
15105 vary depending on the efficiency of the compiler and the compiler
15106 options used during generation.
15107
15108   Previous Release
15109     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
15110     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15111   Current Release:
15112     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15113     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
15114
15115
15116 2) Linux
15117
15118 Cleaned up EC driver. Exported an external EC read/write
15119 interface. By going through this, other drivers (most notably
15120 sonypi) will be able to serialize access to the EC.
15121
15122
15123 3) iASL Compiler/Disassembler
15124
15125 Implemented support to optionally generate include files for both
15126 ASM and C (the -i switch).  This simplifies BIOS development by
15127 automatically creating include files that contain external
15128 declarations for the symbols that are created within the
15129
15130 (optionally generated) ASM and C AML source files.
15131
15132
15133 ----------------------------------------
15134 15 November 2002.  Summary of changes for version 20021115.
15135
15136 1) ACPI CA Core Subsystem:
15137
15138 Fixed a memory leak problem where an error during resolution of
15139
15140 method arguments during a method invocation from another method
15141 failed to cleanup properly by deleting all successfully resolved
15142 argument objects.
15143
15144 Fixed a problem where the target of the Index() operator was not
15145 correctly constructed if the source object was a package.  This
15146 problem has not been detected because the use of a target operand
15147 with Index() is very rare.
15148
15149 Fixed a problem with the Index() operator where an attempt was
15150 made to delete the operand objects twice.
15151
15152 Fixed a problem where an attempt was made to delete an operand
15153 twice during execution of the CondRefOf() operator if the target
15154 did not exist.
15155
15156 Implemented the first of perhaps several internal create object
15157 functions that create and initialize a specific object type.  This
15158 consolidates duplicated code wherever the object is created, thus
15159 shrinking the size of the subsystem.
15160
15161 Implemented improved debug/error messages for errors that occur
15162 during nested method invocations.  All executing method pathnames
15163 are displayed (with the error) as the call stack is unwound - thus
15164 simplifying debug.
15165
15166 Fixed a problem introduced in the 10/02 release that caused
15167 premature deletion of a buffer object if a buffer was used as an
15168 ASL operand where an integer operand is required (Thus causing an
15169 implicit object conversion from Buffer to Integer.)  The change in
15170 the 10/02 release was attempting to fix a memory leak (albeit
15171 incorrectly.)
15172
15173 Code and Data Size: Current core subsystem library sizes are shown
15174 below.  These are the code and data sizes for the acpica.lib
15175 produced by the Microsoft Visual C++ 6.0 compiler, and these
15176 values do not include any ACPI driver or OSPM code.  The debug
15177 version of the code includes the debug output trace mechanism and
15178 has a much larger code and data size.  Note that these values will
15179 vary depending on the efficiency of the compiler and the compiler
15180 options used during generation.
15181
15182   Previous Release
15183     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15184     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15185   Current Release:
15186     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
15187     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15188
15189
15190 2) Linux
15191
15192 Changed the implementation of the ACPI semaphores to use down()
15193 instead of down_interruptable().  It is important that the
15194 execution of ACPI control methods not be interrupted by signals.
15195 Methods must run to completion, or the system may be left in an
15196 unknown/unstable state.
15197
15198 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
15199 (Shawn Starr)
15200
15201
15202 3) iASL Compiler/Disassembler
15203
15204
15205 Changed the default location of output files.  All output files
15206 are now placed in the current directory by default instead of in
15207 the directory of the source file.  This change may affect some
15208 existing makefiles, but it brings the behavior of the compiler in
15209 line with other similar tools.  The location of the output files
15210 can be overridden with the -p command line switch.
15211
15212
15213 ----------------------------------------
15214 11 November 2002.  Summary of changes for version 20021111.
15215
15216
15217 0) ACPI Specification 2.0B is released and is now available at:
15218 http://www.acpi.info/index.html
15219
15220
15221 1) ACPI CA Core Subsystem:
15222
15223 Implemented support for the ACPI 2.0 SMBus Operation Regions.
15224 This includes the early detection and handoff of the request to
15225 the SMBus region handler (avoiding all of the complex field
15226 support code), and support for the bidirectional return packet
15227 from an SMBus write operation.  This paves the way for the
15228 development of SMBus drivers in each host operating system.
15229
15230 Fixed a problem where the semaphore WAIT_FOREVER constant was
15231 defined as 32 bits, but must be 16 bits according to the ACPI
15232 specification.  This had the side effect of causing ASL
15233 Mutex/Event timeouts even though the ASL code requested a wait
15234 forever.  Changed all internal references to the ACPI timeout
15235 parameter to 16 bits to prevent future problems.  Changed the name
15236 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
15237
15238 Code and Data Size: Current core subsystem library sizes are shown
15239 below.  These are the code and data sizes for the acpica.lib
15240 produced by the Microsoft Visual C++ 6.0 compiler, and these
15241 values do not include any ACPI driver or OSPM code.  The debug
15242 version of the code includes the debug output trace mechanism and
15243 has a much larger code and data size.  Note that these values will
15244 vary depending on the efficiency of the compiler and the compiler
15245 options used during generation.
15246
15247   Previous Release
15248     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15249     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15250   Current Release:
15251     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15252     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15253
15254
15255 2) Linux
15256
15257 Module loading/unloading fixes (John Cagle)
15258
15259
15260 3) iASL Compiler/Disassembler
15261
15262 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
15263
15264 Implemented support for the disassembly of all SMBus protocol
15265 keywords (SMBQuick, SMBWord, etc.)
15266
15267 ----------------------------------------
15268 01 November 2002.  Summary of changes for version 20021101.
15269
15270
15271 1) ACPI CA Core Subsystem:
15272
15273 Fixed a problem where platforms that have a GPE1 block but no GPE0
15274 block were not handled correctly.  This resulted in a "GPE
15275 overlap" error message.  GPE0 is no longer required.
15276
15277 Removed code added in the previous release that inserted nodes
15278 into the namespace in alphabetical order.  This caused some side-
15279 effects on various machines.  The root cause of the problem is
15280 still under investigation since in theory, the internal ordering
15281 of the namespace nodes should not matter.
15282
15283
15284 Enhanced error reporting for the case where a named object is not
15285 found during control method execution.  The full ACPI namepath
15286 (name reference) of the object that was not found is displayed in
15287 this case.
15288
15289 Note: as a result of the overhaul of the namespace object types in
15290 the previous release, the namespace nodes for the predefined
15291 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
15292 instead of ACPI_TYPE_ANY.  This simplifies the namespace
15293 management code but may affect code that walks the namespace tree
15294 looking for specific object types.
15295
15296 Code and Data Size: Current core subsystem library sizes are shown
15297 below.  These are the code and data sizes for the acpica.lib
15298 produced by the Microsoft Visual C++ 6.0 compiler, and these
15299 values do not include any ACPI driver or OSPM code.  The debug
15300 version of the code includes the debug output trace mechanism and
15301 has a much larger code and data size.  Note that these values will
15302 vary depending on the efficiency of the compiler and the compiler
15303 options used during generation.
15304
15305   Previous Release
15306     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15307     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15308   Current Release:
15309     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15310     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15311
15312
15313 2) Linux
15314
15315 Fixed a problem introduced in the previous release where the
15316 Processor and Thermal objects were not recognized and installed in
15317 /proc.  This was related to the scope type change described above.
15318
15319
15320 3) iASL Compiler/Disassembler
15321
15322 Implemented the -g option to get all of the required ACPI tables
15323 from the registry and save them to files (Windows version of the
15324 compiler only.)  The required tables are the FADT, FACS, and DSDT.
15325
15326 Added ACPI table checksum validation during table disassembly in
15327 order to catch corrupted tables.
15328
15329
15330 ----------------------------------------
15331 22 October 2002.  Summary of changes for version 20021022.
15332
15333 1) ACPI CA Core Subsystem:
15334
15335 Implemented a restriction on the Scope operator that the target
15336 must already exist in the namespace at the time the operator is
15337 encountered (during table load or method execution).  In other
15338 words, forward references are not allowed and Scope() cannot
15339 create a new object. This changes the previous behavior where the
15340 interpreter would create the name if not found.  This new behavior
15341 correctly enables the search-to-root algorithm during namespace
15342 lookup of the target name.  Because of this upsearch, this fixes
15343 the known Compaq _SB_.OKEC problem and makes both the AML
15344 interpreter and iASL compiler compatible with other ACPI
15345 implementations.
15346
15347 Completed a major overhaul of the internal ACPI object types for
15348 the ACPI Namespace and the associated operand objects.  Many of
15349 these types had become obsolete with the introduction of the two-
15350 pass namespace load.  This cleanup simplifies the code and makes
15351 the entire namespace load mechanism much clearer and easier to
15352 understand.
15353
15354 Improved debug output for tracking scope opening/closing to help
15355 diagnose scoping issues.  The old scope name as well as the new
15356 scope name are displayed.  Also improved error messages for
15357 problems with ASL Mutex objects and error messages for GPE
15358 problems.
15359
15360 Cleaned up the namespace dump code, removed obsolete code.
15361
15362 All string output (for all namespace/object dumps) now uses the
15363 common ACPI string output procedure which handles escapes properly
15364 and does not emit non-printable characters.
15365
15366 Fixed some issues with constants in the 64-bit version of the
15367 local C library (utclib.c)
15368
15369
15370 2) Linux
15371
15372 EC Driver:  No longer attempts to acquire the Global Lock at
15373 interrupt level.
15374
15375
15376 3) iASL Compiler/Disassembler
15377
15378 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
15379 2 opcodes outside of a control method.  This means that the
15380 "executable" operators (versus the "namespace" operators) cannot
15381 be used at the table level; they can only be used within a control
15382 method.
15383
15384 Implemented the restriction on the Scope() operator where the
15385 target must already exist in the namespace at the time the
15386 operator is encountered (during ASL compilation). In other words,
15387 forward references are not allowed and Scope() cannot create a new
15388 object.  This makes the iASL compiler compatible with other ACPI
15389 implementations and makes the Scope() implementation adhere to the
15390 ACPI specification.
15391
15392 Fixed a problem where namepath optimization for the Alias operator
15393 was optimizing the wrong path (of the two namepaths.)  This caused
15394 a "Missing alias link" error message.
15395
15396 Fixed a problem where an "unknown reserved name" warning could be
15397 incorrectly generated for names like "_SB" when the trailing
15398 underscore is not used in the original ASL.
15399
15400 Fixed a problem where the reserved name check did not handle
15401 NamePaths with multiple NameSegs correctly.  The first nameseg of
15402 the NamePath was examined instead of the last NameSeg.
15403
15404
15405 ----------------------------------------
15406
15407 02 October 2002.  Summary of changes for this release.
15408
15409
15410 1) ACPI CA Core Subsystem version 20021002:
15411
15412 Fixed a problem where a store/copy of a string to an existing
15413 string did not always set the string length properly in the String
15414 object.
15415
15416 Fixed a reported problem with the ToString operator where the
15417 behavior was identical to the ToHexString operator instead of just
15418 simply converting a raw buffer to a string data type.
15419
15420 Fixed a problem where CopyObject and the other "explicit"
15421 conversion operators were not updating the internal namespace node
15422 type as part of the store operation.
15423
15424 Fixed a memory leak during implicit source operand conversion
15425 where the original object was not deleted if it was converted to a
15426 new object of a different type.
15427
15428 Enhanced error messages for all problems associated with namespace
15429 lookups.  Common procedure generates and prints the lookup name as
15430 well as the formatted status.
15431
15432 Completed implementation of a new design for the Alias support
15433 within the namespace.  The existing design did not handle the case
15434 where a new object was assigned to one of the two names due to the
15435 use of an explicit conversion operator, resulting in the two names
15436 pointing to two different objects.  The new design simply points
15437 the Alias name to the original name node - not to the object.
15438 This results in a level of indirection that must be handled in the
15439 name resolution mechanism.
15440
15441 Code and Data Size: Current core subsystem library sizes are shown
15442 below.  These are the code and data sizes for the acpica.lib
15443 produced by the Microsoft Visual C++ 6.0 compiler, and these
15444 values do not include any ACPI driver or OSPM code.  The debug
15445 version of the code includes the debug output trace mechanism and
15446 has a larger code and data size.  Note that these values will vary
15447 depending on the efficiency of the compiler and the compiler
15448 options used during generation.
15449
15450   Previous Release
15451     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15452     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15453   Current Release:
15454     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15455     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15456
15457
15458 2) Linux
15459
15460 Initialize thermal driver's timer before it is used. (Knut
15461 Neumann)
15462
15463 Allow handling negative celsius values. (Kochi Takayoshi)
15464
15465 Fix thermal management and make trip points. R/W (Pavel Machek)
15466
15467 Fix /proc/acpi/sleep. (P. Christeas)
15468
15469 IA64 fixes. (David Mosberger)
15470
15471 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
15472
15473 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
15474 Brodowski)
15475
15476
15477 3) iASL Compiler/Disassembler
15478
15479 Clarified some warning/error messages.
15480
15481
15482 ----------------------------------------
15483 18 September 2002.  Summary of changes for this release.
15484
15485
15486 1) ACPI CA Core Subsystem version 20020918:
15487
15488 Fixed a reported problem with reference chaining (via the Index()
15489 and RefOf() operators) in the ObjectType() and SizeOf() operators.
15490 The definition of these operators includes the dereferencing of
15491 all chained references to return information on the base object.
15492
15493 Fixed a problem with stores to indexed package elements - the
15494 existing code would not complete the store if an "implicit
15495 conversion" was not performed.  In other words, if the existing
15496 object (package element) was to be replaced completely, the code
15497 didn't handle this case.
15498
15499 Relaxed typechecking on the ASL "Scope" operator to allow the
15500 target name to refer to an object of type Integer, String, or
15501 Buffer, in addition to the scoping object types (Device,
15502 predefined Scopes, Processor, PowerResource, and ThermalZone.)
15503 This allows existing AML code that has workarounds for a bug in
15504 Windows to function properly.  A warning is issued, however.  This
15505 affects both the AML interpreter and the iASL compiler. Below is
15506 an example of this type of ASL code:
15507
15508       Name(DEB,0x00)
15509       Scope(DEB)
15510       {
15511
15512 Fixed some reported problems with 64-bit integer support in the
15513 local implementation of C library functions (clib.c)
15514
15515
15516 2) Linux
15517
15518 Use ACPI fix map region instead of IOAPIC region, since it is
15519 undefined in non-SMP.
15520
15521 Ensure that the SCI has the proper polarity and trigger, even on
15522 systems that do not have an interrupt override entry in the MADT.
15523
15524 2.5 big driver reorganization (Pat Mochel)
15525
15526 Use early table mapping code from acpitable.c (Andi Kleen)
15527
15528 New blacklist entries (Andi Kleen)
15529
15530 Blacklist improvements. Split blacklist code out into a separate
15531 file. Move checking the blacklist to very early. Previously, we
15532 would use ACPI tables, and then halfway through init, check the
15533 blacklist -- too late. Now, it's early enough to completely fall-
15534 back to non-ACPI.
15535
15536
15537 3) iASL Compiler/Disassembler version 20020918:
15538
15539 Fixed a problem where the typechecking code didn't know that an
15540 alias could point to a method.  In other words, aliases were not
15541 being dereferenced during typechecking.
15542
15543
15544 ----------------------------------------
15545 29 August 2002.  Summary of changes for this release.
15546
15547 1) ACPI CA Core Subsystem Version 20020829:
15548
15549 If the target of a Scope() operator already exists, it must be an
15550 object type that actually opens a scope -- such as a Device,
15551 Method, Scope, etc.  This is a fatal runtime error.  Similar error
15552 check has been added to the iASL compiler also.
15553
15554 Tightened up the namespace load to disallow multiple names in the
15555 same scope.  This previously was allowed if both objects were of
15556 the same type.  (i.e., a lookup was the same as entering a new
15557 name).
15558
15559
15560 2) Linux
15561
15562 Ensure that the ACPI interrupt has the proper trigger and
15563 polarity.
15564
15565 local_irq_disable is extraneous. (Matthew Wilcox)
15566
15567 Make "acpi=off" actually do what it says, and not use the ACPI
15568 interpreter *or* the tables.
15569
15570 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
15571 Takayoshi)
15572
15573
15574 3) iASL Compiler/Disassembler  Version 20020829:
15575
15576 Implemented namepath optimization for name declarations.  For
15577 example, a declaration like "Method (\_SB_.ABCD)" would get
15578 optimized to "Method (ABCD)" if the declaration is within the
15579 \_SB_ scope.  This optimization is in addition to the named
15580 reference path optimization first released in the previous
15581 version. This would seem to complete all possible optimizations
15582 for namepaths within the ASL/AML.
15583
15584 If the target of a Scope() operator already exists, it must be an
15585 object type that actually opens a scope -- such as a Device,
15586 Method, Scope, etc.
15587
15588 Implemented a check and warning for unreachable code in the same
15589 block below a Return() statement.
15590
15591 Fixed a problem where the listing file was not generated if the
15592 compiler aborted if the maximum error count was exceeded (200).
15593
15594 Fixed a problem where the typechecking of method return values was
15595 broken.  This includes the check for a return value when the
15596 method is invoked as a TermArg (a return value is expected.)
15597
15598 Fixed a reported problem where EOF conditions during a quoted
15599 string or comment caused a fault.
15600
15601
15602 ----------------------------------------
15603 15 August 2002.  Summary of changes for this release.
15604
15605 1) ACPI CA Core Subsystem Version 20020815:
15606
15607 Fixed a reported problem where a Store to a method argument that
15608 contains a reference did not perform the indirect store correctly.
15609 This problem was created during the conversion to the new
15610 reference object model - the indirect store to a method argument
15611 code was not updated to reflect the new model.
15612
15613 Reworked the ACPI mode change code to better conform to ACPI 2.0,
15614 handle corner cases, and improve code legibility (Kochi Takayoshi)
15615
15616 Fixed a problem with the pathname parsing for the carat (^)
15617 prefix.  The heavy use of the carat operator by the new namepath
15618 optimization in the iASL compiler uncovered a problem with the AML
15619 interpreter handling of this prefix.  In the case where one or
15620 more carats precede a single nameseg, the nameseg was treated as
15621 standalone and the search rule (to root) was inadvertently
15622 applied.  This could cause both the iASL compiler and the
15623 interpreter to find the wrong object or to miss the error that
15624 should occur if the object does not exist at that exact pathname.
15625
15626 Found and fixed the problem where the HP Pavilion DSDT would not
15627 load.  This was a relatively minor tweak to the table loading code
15628 (a problem caused by the unexpected encounter with a method
15629 invocation not within a control method), but it does not solve the
15630 overall issue of the execution of AML code at the table level.
15631 This investigation is still ongoing.
15632
15633 Code and Data Size: Current core subsystem library sizes are shown
15634 below.  These are the code and data sizes for the acpica.lib
15635 produced by the Microsoft Visual C++ 6.0 compiler, and these
15636 values do not include any ACPI driver or OSPM code.  The debug
15637 version of the code includes the debug output trace mechanism and
15638 has a larger code and data size.  Note that these values will vary
15639 depending on the efficiency of the compiler and the compiler
15640 options used during generation.
15641
15642   Previous Release
15643     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15644     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15645   Current Release:
15646     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15647     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15648
15649
15650 2) Linux
15651
15652 Remove redundant slab.h include (Brad Hards)
15653
15654 Fix several bugs in thermal.c (Herbert Nachtnebel)
15655
15656 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
15657
15658 Change acpi_system_suspend to use updated irq functions (Pavel
15659 Machek)
15660
15661 Export acpi_get_firmware_table (Matthew Wilcox)
15662
15663 Use proper root proc entry for ACPI (Kochi Takayoshi)
15664
15665 Fix early-boot table parsing (Bjorn Helgaas)
15666
15667
15668 3) iASL Compiler/Disassembler
15669
15670 Reworked the compiler options to make them more consistent and to
15671 use two-letter options where appropriate.  We were running out of
15672 sensible letters.   This may break some makefiles, so check the
15673 current options list by invoking the compiler with no parameters.
15674
15675 Completed the design and implementation of the ASL namepath
15676 optimization option for the compiler.  This option optimizes all
15677 references to named objects to the shortest possible path.  The
15678 first attempt tries to utilize a single nameseg (4 characters) and
15679 the "search-to-root" algorithm used by the interpreter.  If that
15680 cannot be used (because either the name is not in the search path
15681 or there is a conflict with another object with the same name),
15682 the pathname is optimized using the carat prefix (usually a
15683 shorter string than specifying the entire path from the root.)
15684
15685 Implemented support to obtain the DSDT from the Windows registry
15686 (when the disassembly option is specified with no input file).
15687 Added this code as the implementation for AcpiOsTableOverride in
15688 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
15689 utility) to scan memory for the DSDT to the AcpiOsTableOverride
15690 function in the DOS OSL to make the disassembler truly OS
15691 independent.
15692
15693 Implemented a new option to disassemble and compile in one step.
15694 When used without an input filename, this option will grab the
15695 DSDT from the local machine, disassemble it, and compile it in one
15696 step.
15697
15698 Added a warning message for invalid escapes (a backslash followed
15699 by any character other than the allowable escapes).  This catches
15700 the quoted string error "\_SB_" (which should be "\\_SB_" ).
15701
15702 Also, there are numerous instances in the ACPI specification where
15703 this error occurs.
15704
15705 Added a compiler option to disable all optimizations.  This is
15706 basically the "compatibility mode" because by using this option,
15707 the AML code will come out exactly the same as other ASL
15708 compilers.
15709
15710 Added error messages for incorrectly ordered dependent resource
15711 functions.  This includes: missing EndDependentFn macro at end of
15712 dependent resource list, nested dependent function macros (both
15713 start and end), and missing StartDependentFn macro.  These are
15714 common errors that should be caught at compile time.
15715
15716 Implemented _OSI support for the disassembler and compiler.  _OSI
15717 must be included in the namespace for proper disassembly (because
15718 the disassembler must know the number of arguments.)
15719
15720 Added an "optimization" message type that is optional (off by
15721 default).  This message is used for all optimizations - including
15722 constant folding, integer optimization, and namepath optimization.
15723
15724 ----------------------------------------
15725 25 July 2002.  Summary of changes for this release.
15726
15727
15728 1) ACPI CA Core Subsystem Version 20020725:
15729
15730 The AML Disassembler has been enhanced to produce compilable ASL
15731 code and has been integrated into the iASL compiler (see below) as
15732 well as the single-step disassembly for the AML debugger and the
15733 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
15734 resource templates and macros are fully supported.  The
15735 disassembler has been tested on over 30 different AML files,
15736 producing identical AML when the resulting disassembled ASL file
15737 is recompiled with the same ASL compiler.
15738
15739 Modified the Resource Manager to allow zero interrupts and zero
15740 dma channels during the GetCurrentResources call.  This was
15741 causing problems on some platforms.
15742
15743 Added the AcpiOsRedirectOutput interface to the OSL to simplify
15744 output redirection for the AcpiOsPrintf and AcpiOsVprintf
15745 interfaces.
15746
15747 Code and Data Size: Current core subsystem library sizes are shown
15748 below.  These are the code and data sizes for the acpica.lib
15749 produced by the Microsoft Visual C++ 6.0 compiler, and these
15750 values do not include any ACPI driver or OSPM code.  The debug
15751 version of the code includes the debug output trace mechanism and
15752 has a larger code and data size.  Note that these values will vary
15753 depending on the efficiency of the compiler and the compiler
15754 options used during generation.
15755
15756   Previous Release
15757     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15758     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15759   Current Release:
15760     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15761     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15762
15763
15764 2) Linux
15765
15766 Fixed a panic in the EC driver (Dominik Brodowski)
15767
15768 Implemented checksum of the R/XSDT itself during Linux table scan
15769 (Richard Schaal)
15770
15771
15772 3) iASL compiler
15773
15774 The AML disassembler is integrated into the compiler.  The "-d"
15775 option invokes the disassembler  to completely disassemble an
15776 input AML file, producing as output a text ASL file with the
15777 extension ".dsl" (to avoid name collisions with existing .asl
15778 source files.)  A future enhancement will allow the disassembler
15779 to obtain the BIOS DSDT from the registry under Windows.
15780
15781 Fixed a problem with the VendorShort and VendorLong resource
15782 descriptors where an invalid AML sequence was created.
15783
15784 Implemented a fix for BufferData term in the ASL parser.  It was
15785 inadvertently defined twice, allowing invalid syntax to pass and
15786 causing reduction conflicts.
15787
15788 Fixed a problem where the Ones opcode could get converted to a
15789 value of zero if "Ones" was used where a byte, word or dword value
15790 was expected.  The 64-bit value is now truncated to the correct
15791 size with the correct value.
15792
15793
15794
15795 ----------------------------------------
15796 02 July 2002.  Summary of changes for this release.
15797
15798
15799 1) ACPI CA Core Subsystem Version 20020702:
15800
15801 The Table Manager code has been restructured to add several new
15802 features.  Tables that are not required by the core subsystem
15803 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
15804 validated in any way and are returned from AcpiGetFirmwareTable if
15805 requested.  The AcpiOsTableOverride interface is now called for
15806 each table that is loaded by the subsystem in order to allow the
15807 host to override any table it chooses.  Previously, only the DSDT
15808 could be overridden.  Added one new files, tbrsdt.c and
15809 tbgetall.c.
15810
15811 Fixed a problem with the conversion of internal package objects to
15812 external objects (when a package is returned from a control
15813 method.)  The return buffer length was set to zero instead of the
15814 proper length of the package object.
15815
15816 Fixed a reported problem with the use of the RefOf and DeRefOf
15817 operators when passing reference arguments to control methods.  A
15818 new type of Reference object is used internally for references
15819 produced by the RefOf operator.
15820
15821 Added additional error messages in the Resource Manager to explain
15822 AE_BAD_DATA errors when they occur during resource parsing.
15823
15824 Split the AcpiEnableSubsystem into two primitives to enable a
15825 finer granularity initialization sequence.  These two calls should
15826 be called in this order: AcpiEnableSubsystem (flags),
15827 AcpiInitializeObjects (flags).  The flags parameter remains the
15828 same.
15829
15830
15831 2) Linux
15832
15833 Updated the ACPI utilities module to understand the new style of
15834 fully resolved package objects that are now returned from the core
15835 subsystem.  This eliminates errors of the form:
15836
15837     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
15838     acpi_utils-0430 [145] acpi_evaluate_reference:
15839         Invalid element in package (not a device reference)
15840
15841 The method evaluation utility uses the new buffer allocation
15842 scheme instead of calling AcpiEvaluate Object twice.
15843
15844 Added support for ECDT. This allows the use of the Embedded
15845
15846 Controller before the namespace has been fully initialized, which
15847 is necessary for ACPI 2.0 support, and for some laptops to
15848 initialize properly. (Laptops using ECDT are still rare, so only
15849 limited testing was performed of the added functionality.)
15850
15851 Fixed memory leaks in the EC driver.
15852
15853 Eliminated a brittle code structure in acpi_bus_init().
15854
15855 Eliminated the acpi_evaluate() helper function in utils.c. It is
15856 no longer needed since acpi_evaluate_object can optionally
15857 allocate memory for the return object.
15858
15859 Implemented fix for keyboard hang when getting battery readings on
15860 some systems (Stephen White)
15861
15862 PCI IRQ routing update (Dominik Brodowski)
15863
15864 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
15865 support
15866
15867 ----------------------------------------
15868 11 June 2002.  Summary of changes for this release.
15869
15870
15871 1) ACPI CA Core Subsystem Version 20020611:
15872
15873 Fixed a reported problem where constants such as Zero and One
15874 appearing within _PRT packages were not handled correctly within
15875 the resource manager code.  Originally reported against the ASL
15876 compiler because the code generator now optimizes integers to
15877 their minimal AML representation (i.e. AML constants if possible.)
15878 The _PRT code now handles all AML constant opcodes correctly
15879 (Zero, One, Ones, Revision).
15880
15881 Fixed a problem with the Concatenate operator in the AML
15882 interpreter where a buffer result object was incorrectly marked as
15883 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
15884
15885 All package sub-objects are now fully resolved before they are
15886 returned from the external ACPI interfaces.  This means that name
15887 strings are resolved to object handles, and constant operators
15888 (Zero, One, Ones, Revision) are resolved to Integers.
15889
15890 Implemented immediate resolution of the AML Constant opcodes
15891 (Zero, One, Ones, Revision) to Integer objects upon detection
15892 within the AML stream. This has simplified and reduced the
15893 generated code size of the subsystem by eliminating about 10
15894 switch statements for these constants (which previously were
15895 contained in Reference objects.)  The complicating issues are that
15896 the Zero opcode is used as a "placeholder" for unspecified
15897 optional target operands and stores to constants are defined to be
15898 no-ops.
15899
15900 Code and Data Size: Current core subsystem library sizes are shown
15901 below. These are the code and data sizes for the acpica.lib
15902 produced by the Microsoft Visual C++ 6.0 compiler, and these
15903 values do not include any ACPI driver or OSPM code.  The debug
15904 version of the code includes the debug output trace mechanism and
15905 has a larger code and data size.  Note that these values will vary
15906 depending on the efficiency of the compiler and the compiler
15907 options used during generation.
15908
15909   Previous Release
15910     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15911     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15912   Current Release:
15913     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15914     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15915
15916
15917 2) Linux
15918
15919
15920 Added preliminary support for obtaining _TRA data for PCI root
15921 bridges (Bjorn Helgaas).
15922
15923
15924 3) iASL Compiler Version X2046:
15925
15926 Fixed a problem where the "_DDN" reserved name was defined to be a
15927 control method with one argument.  There are no arguments, and
15928 _DDN does not have to be a control method.
15929
15930 Fixed a problem with the Linux version of the compiler where the
15931 source lines printed with error messages were the wrong lines.
15932 This turned out to be the "LF versus CR/LF" difference between
15933 Windows and Unix.  This appears to be the longstanding issue
15934 concerning listing output and error messages.
15935
15936 Fixed a problem with the Linux version of compiler where opcode
15937 names within error messages were wrong.  This was caused by a
15938 slight difference in the output of the Flex tool on Linux versus
15939 Windows.
15940
15941 Fixed a problem with the Linux compiler where the hex output files
15942 contained some garbage data caused by an internal buffer overrun.
15943
15944
15945 ----------------------------------------
15946 17 May 2002.  Summary of changes for this release.
15947
15948
15949 1) ACPI CA Core Subsystem Version 20020517:
15950
15951 Implemented a workaround to an BIOS bug discovered on the HP
15952 OmniBook where the FADT revision number and the table size are
15953 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
15954 behavior is to fallback to using only the ACPI 1.0 fields of the
15955 FADT if the table is too small to be a ACPI 2.0 table as claimed
15956 by the revision number.  Although this is a BIOS bug, this is a
15957 case where the workaround is simple enough and with no side
15958 effects, so it seemed prudent to add it.  A warning message is
15959 issued, however.
15960
15961 Implemented minimum size checks for the fixed-length ACPI tables -
15962 - the FADT and FACS, as well as consistency checks between the
15963 revision number and the table size.
15964
15965 Fixed a reported problem in the table override support where the
15966 new table pointer was incorrectly treated as a physical address
15967 instead of a logical address.
15968
15969 Eliminated the use of the AE_AML_ERROR exception and replaced it
15970 with more descriptive codes.
15971
15972 Fixed a problem where an exception would occur if an ASL Field was
15973 defined with no named Field Units underneath it (used by some
15974 index fields).
15975
15976 Code and Data Size: Current core subsystem library sizes are shown
15977 below.  These are the code and data sizes for the acpica.lib
15978 produced by the Microsoft Visual C++ 6.0 compiler, and these
15979 values do not include any ACPI driver or OSPM code.  The debug
15980 version of the code includes the debug output trace mechanism and
15981 has a larger code and data size.  Note that these values will vary
15982 depending on the efficiency of the compiler and the compiler
15983 options used during generation.
15984
15985   Previous Release
15986     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15987     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15988   Current Release:
15989     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15990     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15991
15992
15993
15994 2) Linux
15995
15996 Much work done on ACPI init (MADT and PCI IRQ routing support).
15997 (Paul D. and Dominik Brodowski)
15998
15999 Fix PCI IRQ-related panic on boot (Sam Revitch)
16000
16001 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
16002
16003 Fix "MHz" typo (Dominik Brodowski)
16004
16005 Fix RTC year 2000 issue (Dominik Brodowski)
16006
16007 Preclude multiple button proc entries (Eric Brunet)
16008
16009 Moved arch-specific code out of include/platform/aclinux.h
16010
16011 3) iASL Compiler Version X2044:
16012
16013 Implemented error checking for the string used in the EISAID macro
16014 (Usually used in the definition of the _HID object.)  The code now
16015 strictly enforces the PnP format - exactly 7 characters, 3
16016 uppercase letters and 4 hex digits.
16017
16018 If a raw string is used in the definition of the _HID object
16019 (instead of the EISAID macro), the string must contain all
16020 alphanumeric characters (e.g., "*PNP0011" is not allowed because
16021 of the asterisk.)
16022
16023 Implemented checking for invalid use of ACPI reserved names for
16024 most of the name creation operators (Name, Device, Event, Mutex,
16025 OperationRegion, PowerResource, Processor, and ThermalZone.)
16026 Previously, this check was only performed for control methods.
16027
16028 Implemented an additional check on the Name operator to emit an
16029 error if a reserved name that must be implemented in ASL as a
16030 control method is used.  We know that a reserved name must be a
16031 method if it is defined with input arguments.
16032
16033 The warning emitted when a namespace object reference is not found
16034 during the cross reference phase has been changed into an error.
16035 The "External" directive should be used for names defined in other
16036 modules.
16037
16038
16039 4) Tools and Utilities
16040
16041 The 16-bit tools (adump16 and aexec16) have been regenerated and
16042 tested.
16043
16044 Fixed a problem with the output of both acpidump and adump16 where
16045 the indentation of closing parentheses and brackets was not
16046
16047 aligned properly with the parent block.
16048
16049
16050 ----------------------------------------
16051 03 May 2002.  Summary of changes for this release.
16052
16053
16054 1) ACPI CA Core Subsystem Version 20020503:
16055
16056 Added support a new OSL interface that allows the host operating
16057
16058 system software to override the DSDT found in the firmware -
16059 AcpiOsTableOverride.  With this interface, the OSL can examine the
16060 version of the firmware DSDT and replace it with a different one
16061 if desired.
16062
16063 Added new external interfaces for accessing ACPI registers from
16064 device drivers and other system software - AcpiGetRegister and
16065 AcpiSetRegister.  This was simply an externalization of the
16066 existing AcpiHwBitRegister interfaces.
16067
16068 Fixed a regression introduced in the previous build where the
16069 ASL/AML CreateField operator always returned an error,
16070 "destination must be a NS Node".
16071
16072 Extended the maximum time (before failure) to successfully enable
16073 ACPI mode to 3 seconds.
16074
16075 Code and Data Size: Current core subsystem library sizes are shown
16076 below.  These are the code and data sizes for the acpica.lib
16077 produced by the Microsoft Visual C++ 6.0 compiler, and these
16078 values do not include any ACPI driver or OSPM code.  The debug
16079 version of the code includes the debug output trace mechanism and
16080 has a larger code and data size.  Note that these values will vary
16081 depending on the efficiency of the compiler and the compiler
16082 options used during generation.
16083
16084   Previous Release
16085     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
16086     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
16087   Current Release:
16088     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
16089     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
16090
16091
16092 2) Linux
16093
16094 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
16095 free. While 3 out of 4 of our in-house systems work fine, the last
16096 one still hangs when testing the LAPIC timer.
16097
16098 Renamed many files in 2.5 kernel release to omit "acpi_" from the
16099 name.
16100
16101 Added warning on boot for Presario 711FR.
16102
16103 Sleep improvements (Pavel Machek)
16104
16105 ACPI can now be built without CONFIG_PCI enabled.
16106
16107 IA64: Fixed memory map functions (JI Lee)
16108
16109
16110 3) iASL Compiler Version X2043:
16111
16112 Added support to allow the compiler to be integrated into the MS
16113 VC++ development environment for one-button compilation of single
16114 files or entire projects -- with error-to-source-line mapping.
16115
16116 Implemented support for compile-time constant folding for the
16117 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
16118 specification.  This allows the ASL writer to use expressions
16119 instead of Integer/Buffer/String constants in terms that must
16120 evaluate to constants at compile time and will also simplify the
16121 emitted AML in any such sub-expressions that can be folded
16122 (evaluated at compile-time.)  This increases the size of the
16123 compiler significantly because a portion of the ACPI CA AML
16124 interpreter is included within the compiler in order to pre-
16125 evaluate constant expressions.
16126
16127
16128 Fixed a problem with the "Unicode" ASL macro that caused the
16129 compiler to fault.  (This macro is used in conjunction with the
16130 _STR reserved name.)
16131
16132 Implemented an AML opcode optimization to use the Zero, One, and
16133 Ones opcodes where possible to further reduce the size of integer
16134 constants and thus reduce the overall size of the generated AML
16135 code.
16136
16137 Implemented error checking for new reserved terms for ACPI version
16138 2.0A.
16139
16140 Implemented the -qr option to display the current list of ACPI
16141 reserved names known to the compiler.
16142
16143 Implemented the -qc option to display the current list of ASL
16144 operators that are allowed within constant expressions and can
16145 therefore be folded at compile time if the operands are constants.
16146
16147
16148 4) Documentation
16149
16150 Updated the Programmer's Reference for new interfaces, data types,
16151 and memory allocation model options.
16152
16153 Updated the iASL Compiler User Reference to apply new format and
16154 add information about new features and options.
16155
16156 ----------------------------------------
16157 19 April 2002.  Summary of changes for this release.
16158
16159 1) ACPI CA Core Subsystem Version 20020419:
16160
16161 The source code base for the Core Subsystem has been completely
16162 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
16163 versions.  The Lint option files used are included in the
16164 /acpi/generate/lint directory.
16165
16166 Implemented enhanced status/error checking across the entire
16167 Hardware manager subsystem.  Any hardware errors (reported from
16168 the OSL) are now bubbled up and will abort a running control
16169 method.
16170
16171
16172 Fixed a problem where the per-ACPI-table integer width (32 or 64)
16173 was stored only with control method nodes, causing a fault when
16174 non-control method code was executed during table loading.  The
16175 solution implemented uses a global variable to indicate table
16176 width across the entire ACPI subsystem.  Therefore, ACPI CA does
16177 not support mixed integer widths across different ACPI tables
16178 (DSDT, SSDT).
16179
16180 Fixed a problem where NULL extended fields (X fields) in an ACPI
16181 2.0 ACPI FADT caused the table load to fail.  Although the
16182 existing ACPI specification is a bit fuzzy on this topic, the new
16183 behavior is to fall back on a ACPI 1.0 field if the corresponding
16184 ACPI 2.0 X field is zero (even though the table revision indicates
16185 a full ACPI 2.0 table.)  The ACPI specification will be updated to
16186 clarify this issue.
16187
16188 Fixed a problem with the SystemMemory operation region handler
16189 where memory was always accessed byte-wise even if the AML-
16190 specified access width was larger than a byte.  This caused
16191 problems on systems with memory-mapped I/O.  Memory is now
16192 accessed with the width specified.  On systems that do not support
16193 non-aligned transfers, a check is made to guarantee proper address
16194 alignment before proceeding in order to avoid an AML-caused
16195 alignment fault within the kernel.
16196
16197
16198 Fixed a problem with the ExtendedIrq resource where only one byte
16199 of the 4-byte Irq field was extracted.
16200
16201 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
16202 function was out of date and required a rewrite.
16203
16204 Code and Data Size: Current core subsystem library sizes are shown
16205 below.  These are the code and data sizes for the acpica.lib
16206 produced by the Microsoft Visual C++ 6.0 compiler, and these
16207 values do not include any ACPI driver or OSPM code.  The debug
16208 version of the code includes the debug output trace mechanism and
16209 has a larger code and data size.  Note that these values will vary
16210 depending on the efficiency of the compiler and the compiler
16211 options used during generation.
16212
16213   Previous Release
16214     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16215     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16216   Current Release:
16217     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
16218     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
16219
16220
16221 2) Linux
16222
16223 PCI IRQ routing fixes (Dominik Brodowski)
16224
16225
16226 3) iASL Compiler Version X2042:
16227
16228 Implemented an additional compile-time error check for a field
16229 unit whose size + minimum access width would cause a run-time
16230 access beyond the end-of-region.  Previously, only the field size
16231 itself was checked.
16232
16233 The Core subsystem and iASL compiler now share a common parse
16234 object in preparation for compile-time evaluation of the type
16235 3/4/5 ASL operators.
16236
16237
16238 ----------------------------------------
16239 Summary of changes for this release: 03_29_02
16240
16241 1) ACPI CA Core Subsystem Version 20020329:
16242
16243 Implemented support for late evaluation of TermArg operands to
16244 Buffer and Package objects.  This allows complex expressions to be
16245 used in the declarations of these object types.
16246
16247 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
16248 1.0, if the field was larger than 32 bits, it was returned as a
16249 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
16250 the field is returned as a buffer only if the field is larger than
16251 64 bits.  The TableRevision is now considered when making this
16252 conversion to avoid incompatibility with existing ASL code.
16253
16254 Implemented logical addressing for AcpiOsGetRootPointer.  This
16255 allows an RSDP with either a logical or physical address.  With
16256 this support, the host OS can now override all ACPI tables with
16257 one logical RSDP.  Includes implementation of  "typed" pointer
16258 support to allow a common data type for both physical and logical
16259 pointers internally.  This required a change to the
16260 AcpiOsGetRootPointer interface.
16261
16262 Implemented the use of ACPI 2.0 Generic Address Structures for all
16263 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
16264 mapped I/O for these ACPI features.
16265
16266 Initialization now ignores not only non-required tables (All
16267 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
16268 not validate the table headers of unrecognized tables.
16269
16270 Fixed a problem where a notify handler could only be
16271 installed/removed on an object of type Device.  All "notify"
16272
16273 objects are now supported -- Devices, Processor, Power, and
16274 Thermal.
16275
16276 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
16277 critical information is returned when this debug level is enabled.
16278
16279 Code and Data Size: Current core subsystem library sizes are shown
16280 below.  These are the code and data sizes for the acpica.lib
16281 produced by the Microsoft Visual C++ 6.0 compiler, and these
16282 values do not include any ACPI driver or OSPM code.  The debug
16283 version of the code includes the debug output trace mechanism and
16284 has a larger code and data size.  Note that these values will vary
16285 depending on the efficiency of the compiler and the compiler
16286 options used during generation.
16287
16288   Previous Release
16289     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16290     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16291   Current Release:
16292     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16293     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16294
16295
16296 2) Linux:
16297
16298 The processor driver (acpi_processor.c) now fully supports ACPI
16299 2.0-based processor performance control (e.g. Intel(R)
16300 SpeedStep(TM) technology) Note that older laptops that only have
16301 the Intel "applet" interface are not supported through this.  The
16302 'limit' and 'performance' interface (/proc) are fully functional.
16303 [Note that basic policy for controlling performance state
16304 transitions will be included in the next version of ospmd.]  The
16305 idle handler was modified to more aggressively use C2, and PIIX4
16306 errata handling underwent a complete overhaul (big thanks to
16307 Dominik Brodowski).
16308
16309 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
16310 based devices in the ACPI namespace are now dynamically bound
16311 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
16312 This allows, among other things, ACPI to resolve bus numbers for
16313 subordinate PCI bridges.
16314
16315 Enhanced PCI IRQ routing to get the proper bus number for _PRT
16316 entries defined underneath PCI bridges.
16317
16318 Added IBM 600E to bad bios list due to invalid _ADR value for
16319 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
16320
16321 In the process of adding full MADT support (e.g. IOAPIC) for IA32
16322 (acpi.c, mpparse.c) -- stay tuned.
16323
16324 Added back visual differentiation between fixed-feature and
16325 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
16326 button/power/PWRF) to simplify button identification.
16327
16328 We no longer use -Wno-unused when compiling debug. Please ignore
16329 any "_THIS_MODULE defined but not used" messages.
16330
16331 Can now shut down the system using "magic sysrq" key.
16332
16333
16334 3) iASL Compiler version 2041:
16335
16336 Fixed a problem where conversion errors for hex/octal/decimal
16337 constants were not reported.
16338
16339 Implemented a fix for the General Register template Address field.
16340 This field was 8 bits when it should be 64.
16341
16342 Fixed a problem where errors/warnings were no longer being emitted
16343 within the listing output file.
16344
16345 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
16346 exactly 4 characters, alphanumeric only.
16347
16348
16349
16350
16351 ----------------------------------------
16352 Summary of changes for this release: 03_08_02
16353
16354
16355 1) ACPI CA Core Subsystem Version 20020308:
16356
16357 Fixed a problem with AML Fields where the use of the "AccessAny"
16358 keyword could cause an interpreter error due to attempting to read
16359 or write beyond the end of the parent Operation Region.
16360
16361 Fixed a problem in the SystemMemory Operation Region handler where
16362 an attempt was made to map memory beyond the end of the region.
16363 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
16364 errors on some Linux systems.
16365
16366 Fixed a problem where the interpreter/namespace "search to root"
16367 algorithm was not functioning for some object types.  Relaxed the
16368 internal restriction on the search to allow upsearches for all
16369 external object types as well as most internal types.
16370
16371
16372 2) Linux:
16373
16374 We now use safe_halt() macro versus individual calls to sti | hlt.
16375
16376 Writing to the processor limit interface should now work. "echo 1"
16377 will increase the limit, 2 will decrease, and 0 will reset to the
16378
16379 default.
16380
16381
16382 3) ASL compiler:
16383
16384 Fixed segfault on Linux version.
16385
16386
16387 ----------------------------------------
16388 Summary of changes for this release: 02_25_02
16389
16390 1) ACPI CA Core Subsystem:
16391
16392
16393 Fixed a problem where the GPE bit masks were not initialized
16394 properly, causing erratic GPE behavior.
16395
16396 Implemented limited support for multiple calling conventions.  The
16397 code can be generated with either the VPL (variable parameter
16398 list, or "C") convention, or the FPL (fixed parameter list, or
16399 "Pascal") convention.  The core subsystem is about 3.4% smaller
16400 when generated with FPL.
16401
16402
16403 2) Linux
16404
16405 Re-add some /proc/acpi/event functionality that was lost during
16406 the rewrite
16407
16408 Resolved issue with /proc events for fixed-feature buttons showing
16409 up as the system device.
16410
16411 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
16412
16413 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
16414
16415 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
16416
16417 Fixed limit interface & usage to fix bugs with passive cooling
16418 hysterisis.
16419
16420 Restructured PRT support.
16421
16422
16423 ----------------------------------------
16424 Summary of changes for this label: 02_14_02
16425
16426
16427 1) ACPI CA Core Subsystem:
16428
16429 Implemented support in AcpiLoadTable to allow loading of FACS and
16430 FADT tables.
16431
16432 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
16433 been removed.  All 64-bit platforms should be migrated to the ACPI
16434 2.0 tables.  The actbl71.h header has been removed from the source
16435 tree.
16436
16437 All C macros defined within the subsystem have been prefixed with
16438 "ACPI_" to avoid collision with other system include files.
16439
16440 Removed the return value for the two AcpiOsPrint interfaces, since
16441 it is never used and causes lint warnings for ignoring the return
16442 value.
16443
16444 Added error checking to all internal mutex acquire and release
16445 calls.  Although a failure from one of these interfaces is
16446 probably a fatal system error, these checks will cause the
16447 immediate abort of the currently executing method or interface.
16448
16449 Fixed a problem where the AcpiSetCurrentResources interface could
16450 fault.  This was a side effect of the deployment of the new memory
16451 allocation model.
16452
16453 Fixed a couple of problems with the Global Lock support introduced
16454 in the last major build.  The "common" (1.0/2.0) internal FACS was
16455 being overwritten with the FACS signature and clobbering the
16456 Global Lock pointer.  Also, the actual firmware FACS was being
16457 unmapped after construction of the "common" FACS, preventing
16458 access to the actual Global Lock field within it.  The "common"
16459 internal FACS is no longer installed as an actual ACPI table; it
16460 is used simply as a global.
16461
16462 Code and Data Size: Current core subsystem library sizes are shown
16463 below.  These are the code and data sizes for the acpica.lib
16464 produced by the Microsoft Visual C++ 6.0 compiler, and these
16465 values do not include any ACPI driver or OSPM code.  The debug
16466 version of the code includes the debug output trace mechanism and
16467 has a larger code and data size.  Note that these values will vary
16468 depending on the efficiency of the compiler and the compiler
16469 options used during generation.
16470
16471   Previous Release (02_07_01)
16472     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16473     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16474   Current Release:
16475     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16476     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16477
16478
16479 2) Linux
16480
16481 Updated Linux-specific code for core macro and OSL interface
16482 changes described above.
16483
16484 Improved /proc/acpi/event. It now can be opened only once and has
16485 proper poll functionality.
16486
16487 Fixed and restructured power management (acpi_bus).
16488
16489 Only create /proc "view by type" when devices of that class exist.
16490
16491 Fixed "charging/discharging" bug (and others) in acpi_battery.
16492
16493 Improved thermal zone code.
16494
16495
16496 3) ASL Compiler, version X2039:
16497
16498
16499 Implemented the new compiler restriction on ASL String hex/octal
16500 escapes to non-null, ASCII values.  An error results if an invalid
16501 value is used.  (This will require an ACPI 2.0 specification
16502 change.)
16503
16504 AML object labels that are output to the optional C and ASM source
16505 are now prefixed with both the ACPI table signature and table ID
16506 to help guarantee uniqueness within a large BIOS project.
16507
16508
16509 ----------------------------------------
16510 Summary of changes for this label: 02_01_02
16511
16512 1) ACPI CA Core Subsystem:
16513
16514 ACPI 2.0 support is complete in the entire Core Subsystem and the
16515 ASL compiler. All new ACPI 2.0 operators are implemented and all
16516 other changes for ACPI 2.0 support are complete.  With
16517 simultaneous code and data optimizations throughout the subsystem,
16518 ACPI 2.0 support has been implemented with almost no additional
16519 cost in terms of code and data size.
16520
16521 Implemented a new mechanism for allocation of return buffers.  If
16522 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
16523 be allocated on behalf of the caller.  Consolidated all return
16524 buffer validation and allocation to a common procedure.  Return
16525 buffers will be allocated via the primary OSL allocation interface
16526 since it appears that a separate pool is not needed by most users.
16527 If a separate pool is required for these buffers, the caller can
16528 still use the original mechanism and pre-allocate the buffer(s).
16529
16530 Implemented support for string operands within the DerefOf
16531 operator.
16532
16533 Restructured the Hardware and Event managers to be table driven,
16534 simplifying the source code and reducing the amount of generated
16535 code.
16536
16537 Split the common read/write low-level ACPI register bitfield
16538 procedure into a separate read and write, simplifying the code
16539 considerably.
16540
16541 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
16542 used only a handful of times and didn't have enough critical mass
16543 for a separate interface.  Replaced with a common calloc procedure
16544 in the core.
16545
16546 Fixed a reported problem with the GPE number mapping mechanism
16547 that allows GPE1 numbers to be non-contiguous with GPE0.
16548 Reorganized the GPE information and shrunk a large array that was
16549 originally large enough to hold info for all possible GPEs (256)
16550 to simply large enough to hold all GPEs up to the largest GPE
16551 number on the machine.
16552
16553 Fixed a reported problem with resource structure alignment on 64-
16554 bit platforms.
16555
16556 Changed the AcpiEnableEvent and AcpiDisableEvent external
16557 interfaces to not require any flags for the common case of
16558 enabling/disabling a GPE.
16559
16560 Implemented support to allow a "Notify" on a Processor object.
16561
16562 Most TBDs in comments within the source code have been resolved
16563 and eliminated.
16564
16565
16566 Fixed a problem in the interpreter where a standalone parent
16567 prefix (^) was not handled correctly in the interpreter and
16568 debugger.
16569
16570 Removed obsolete and unnecessary GPE save/restore code.
16571
16572 Implemented Field support in the ASL Load operator.  This allows a
16573 table to be loaded from a named field, in addition to loading a
16574 table directly from an Operation Region.
16575
16576 Implemented timeout and handle support in the external Global Lock
16577 interfaces.
16578
16579 Fixed a problem in the AcpiDump utility where pathnames were no
16580 longer being generated correctly during the dump of named objects.
16581
16582 Modified the AML debugger to give a full display of if/while
16583 predicates instead of just one AML opcode at a time.  (The
16584 predicate can have several nested ASL statements.)  The old method
16585 was confusing during single stepping.
16586
16587 Code and Data Size: Current core subsystem library sizes are shown
16588 below. These are the code and data sizes for the acpica.lib
16589 produced by the Microsoft Visual C++ 6.0 compiler, and these
16590 values do not include any ACPI driver or OSPM code.  The debug
16591 version of the code includes the debug output trace mechanism and
16592 has a larger code and data size.  Note that these values will vary
16593 depending on the efficiency of the compiler and the compiler
16594 options used during generation.
16595
16596   Previous Release (12_18_01)
16597      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16598      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16599    Current Release:
16600      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16601      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16602
16603 2) Linux
16604
16605  Implemented fix for PIIX reverse throttling errata (Processor
16606 driver)
16607
16608 Added new Limit interface (Processor and Thermal drivers)
16609
16610 New thermal policy (Thermal driver)
16611
16612 Many updates to /proc
16613
16614 Battery "low" event support (Battery driver)
16615
16616 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
16617
16618 IA32 - IA64 initialization unification, no longer experimental
16619
16620 Menuconfig options redesigned
16621
16622 3) ASL Compiler, version X2037:
16623
16624 Implemented several new output features to simplify integration of
16625 AML code into  firmware: 1) Output the AML in C source code with
16626 labels for each named ASL object.  The    original ASL source code
16627 is interleaved as C comments. 2) Output the AML in ASM source code
16628 with labels and interleaved ASL    source. 3) Output the AML in
16629 raw hex table form, in either C or ASM.
16630
16631 Implemented support for optional string parameters to the
16632 LoadTable operator.
16633
16634 Completed support for embedded escape sequences within string
16635 literals.  The compiler now supports all single character escapes
16636 as well as the Octal and Hex escapes.  Note: the insertion of a
16637 null byte into a string literal (via the hex/octal escape) causes
16638 the string to be immediately terminated.  A warning is issued.
16639
16640 Fixed a problem where incorrect AML was generated for the case
16641 where an ASL namepath consists of a single parent prefix (
16642
16643 ) with no trailing name segments.
16644
16645 The compiler has been successfully generated with a 64-bit C
16646 compiler.
16647
16648
16649
16650
16651 ----------------------------------------
16652 Summary of changes for this label: 12_18_01
16653
16654 1) Linux
16655
16656 Enhanced blacklist with reason and severity fields. Any table's
16657 signature may now be used to identify a blacklisted system.
16658
16659 Call _PIC control method to inform the firmware which interrupt
16660 model the OS is using. Turn on any disabled link devices.
16661
16662 Cleaned up busmgr /proc error handling (Andreas Dilger)
16663
16664  2) ACPI CA Core Subsystem:
16665
16666 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
16667 while loop)
16668
16669 Completed implementation of the ACPI 2.0 "Continue",
16670 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
16671 operators.  All new ACPI 2.0 operators are now implemented in both
16672 the ASL compiler and the AML interpreter.  The only remaining ACPI
16673 2.0 task is support for the String data type in the DerefOf
16674 operator.  Fixed a problem with AcquireMutex where the status code
16675 was lost if the caller had to actually wait for the mutex.
16676
16677 Increased the maximum ASL Field size from 64K bits to 4G bits.
16678
16679 Completed implementation of the external Global Lock interfaces --
16680 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
16681 Handler parameters were added.
16682
16683 Completed another pass at removing warnings and issues when
16684 compiling with 64-bit compilers.  The code now compiles cleanly
16685 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
16686 add and subtract (diff) macros have changed considerably.
16687
16688
16689 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
16690 64-bit platforms, 32-bits on all others.  This type is used
16691 wherever memory allocation and/or the C sizeof() operator is used,
16692 and affects the OSL memory allocation interfaces AcpiOsAllocate
16693 and AcpiOsCallocate.
16694
16695 Implemented sticky user breakpoints in the AML debugger.
16696
16697 Code and Data Size: Current core subsystem library sizes are shown
16698 below. These are the code and data sizes for the acpica.lib
16699 produced by the Microsoft Visual C++ 6.0 compiler, and these
16700 values do not include any ACPI driver or OSPM code.  The debug
16701 version of the code includes the debug output trace mechanism and
16702 has a larger code and data size. Note that these values will vary
16703 depending on the efficiency of the compiler and the compiler
16704 options used during generation.
16705
16706   Previous Release (12_05_01)
16707      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16708      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16709    Current Release:
16710      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16711      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16712
16713  3) ASL Compiler, version X2034:
16714
16715 Now checks for (and generates an error if detected) the use of a
16716 Break or Continue statement without an enclosing While statement.
16717
16718
16719 Successfully generated the compiler with the Intel 64-bit C
16720 compiler.
16721
16722  ----------------------------------------
16723 Summary of changes for this label: 12_05_01
16724
16725  1) ACPI CA Core Subsystem:
16726
16727 The ACPI 2.0 CopyObject operator is fully implemented.  This
16728 operator creates a new copy of an object (and is also used to
16729 bypass the "implicit conversion" mechanism of the Store operator.)
16730
16731 The ACPI 2.0 semantics for the SizeOf operator are fully
16732 implemented.  The change is that performing a SizeOf on a
16733 reference object causes an automatic dereference of the object to
16734 tha actual value before the size is evaluated. This behavior was
16735 undefined in ACPI 1.0.
16736
16737 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
16738 have been implemented.  The interrupt polarity and mode are now
16739 independently set.
16740
16741 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
16742 appearing in Package objects were not properly converted to
16743 integers when the internal Package was converted to an external
16744 object (via the AcpiEvaluateObject interface.)
16745
16746 Fixed a problem with the namespace object deletion mechanism for
16747 objects created by control methods.  There were two parts to this
16748 problem: 1) Objects created during the initialization phase method
16749 parse were not being deleted, and 2) The object owner ID mechanism
16750 to track objects was broken.
16751
16752 Fixed a problem where the use of the ASL Scope operator within a
16753 control method would result in an invalid opcode exception.
16754
16755 Fixed a problem introduced in the previous label where the buffer
16756 length required for the _PRT structure was not being returned
16757 correctly.
16758
16759 Code and Data Size: Current core subsystem library sizes are shown
16760 below. These are the code and data sizes for the acpica.lib
16761 produced by the Microsoft Visual C++ 6.0 compiler, and these
16762 values do not include any ACPI driver or OSPM code.  The debug
16763 version of the code includes the debug output trace mechanism and
16764 has a larger code and data size.  Note that these values will vary
16765 depending on the efficiency of the compiler and the compiler
16766 options used during generation.
16767
16768   Previous Release (11_20_01)
16769      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16770      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16771
16772   Current Release:
16773      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16774      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16775
16776  2) Linux:
16777
16778 Updated all files to apply cleanly against 2.4.16.
16779
16780 Added basic PCI Interrupt Routing Table (PRT) support for IA32
16781 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
16782 version supports both static and dyanmic PRT entries, but dynamic
16783 entries are treated as if they were static (not yet
16784 reconfigurable).  Architecture- specific code to use this data is
16785 absent on IA32 but should be available shortly.
16786
16787 Changed the initialization sequence to start the ACPI interpreter
16788 (acpi_init) prior to initialization of the PCI driver (pci_init)
16789 in init/main.c.  This ordering is required to support PRT and
16790 facilitate other (future) enhancement.  A side effect is that the
16791 ACPI bus driver and certain device drivers can no longer be loaded
16792 as modules.
16793
16794 Modified the 'make menuconfig' options to allow PCI Interrupt
16795 Routing support to be included without the ACPI Bus and other
16796 device drivers.
16797
16798  3) ASL Compiler, version X2033:
16799
16800 Fixed some issues with the use of the new CopyObject and
16801 DataTableRegion operators.  Both are fully functional.
16802
16803  ----------------------------------------
16804 Summary of changes for this label: 11_20_01
16805
16806  20 November 2001.  Summary of changes for this release.
16807
16808  1) ACPI CA Core Subsystem:
16809
16810 Updated Index support to match ACPI 2.0 semantics.  Storing a
16811 Integer, String, or Buffer to an Index of a Buffer will store only
16812 the least-significant byte of the source to the Indexed buffer
16813 byte.  Multiple writes are not performed.
16814
16815 Fixed a problem where the access type used in an AccessAs ASL
16816 operator was not recorded correctly into the field object.
16817
16818 Fixed a problem where ASL Event objects were created in a
16819 signalled state. Events are now created in an unsignalled state.
16820
16821 The internal object cache is now purged after table loading and
16822 initialization to reduce the use of dynamic kernel memory -- on
16823 the assumption that object use is greatest during the parse phase
16824 of the entire table (versus the run-time use of individual control
16825 methods.)
16826
16827 ACPI 2.0 variable-length packages are now fully operational.
16828
16829 Code and Data Size: Code and Data optimizations have permitted new
16830 feature development with an actual reduction in the library size.
16831 Current core subsystem library sizes are shown below.  These are
16832 the code and data sizes for the acpica.lib produced by the
16833 Microsoft Visual C++ 6.0 compiler, and these values do not include
16834 any ACPI driver or OSPM code.  The debug version of the code
16835 includes the debug output trace mechanism and has a larger code
16836 and data size.  Note that these values will vary depending on the
16837 efficiency of the compiler and the compiler options used during
16838 generation.
16839
16840   Previous Release (11_09_01):
16841      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16842      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16843
16844   Current Release:
16845      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16846      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16847
16848  2) Linux:
16849
16850 Enhanced the ACPI boot-time initialization code to allow the use
16851 of Local APIC tables for processor enumeration on IA-32, and to
16852 pave the way for a fully MPS-free boot (on SMP systems) in the
16853 near future.  This functionality replaces
16854 arch/i386/kernel/acpitables.c, which was introduced in an earlier
16855 2.4.15-preX release.  To enable this feature you must add
16856 "acpi_boot=on" to the kernel command line -- see the help entry
16857 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
16858 the works...
16859
16860 Restructured the configuration options to allow boot-time table
16861 parsing support without inclusion of the ACPI Interpreter (and
16862 other) code.
16863
16864 NOTE: This release does not include fixes for the reported events,
16865 power-down, and thermal passive cooling issues (coming soon).
16866
16867  3) ASL Compiler:
16868
16869 Added additional typechecking for Fields within restricted access
16870 Operation Regions.  All fields within EC and CMOS regions must be
16871 declared with ByteAcc. All fields withing SMBus regions must be
16872 declared with the BufferAcc access type.
16873
16874 Fixed a problem where the listing file output of control methods
16875 no longer interleaved the actual AML code with the ASL source
16876 code.
16877
16878
16879
16880
16881 ----------------------------------------
16882 Summary of changes for this label: 11_09_01
16883
16884 1) ACPI CA Core Subsystem:
16885
16886 Implemented ACPI 2.0-defined support for writes to fields with a
16887 Buffer, String, or Integer source operand that is smaller than the
16888 target field. In these cases, the source operand is zero-extended
16889 to fill the target field.
16890
16891 Fixed a problem where a Field starting bit offset (within the
16892 parent operation region) was calculated incorrectly if the
16893
16894 alignment of the field differed from the access width.  This
16895 affected CreateWordField, CreateDwordField, CreateQwordField, and
16896 possibly other fields that use the "AccessAny" keyword.
16897
16898 Fixed a problem introduced in the 11_02_01 release where indirect
16899 stores through method arguments did not operate correctly.
16900
16901 2) Linux:
16902
16903 Implemented boot-time ACPI table parsing support
16904 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
16905 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
16906 legacy BIOS interfaces (e.g. MPS) for the configuration of system
16907 processors, memory, and interrupts during setup_arch().  Note that
16908 this patch does not include the required architecture-specific
16909 changes required to apply this information -- subsequent patches
16910 will be posted for both IA32 and IA64 to achieve this.
16911
16912 Added low-level sleep support for IA32 platforms, courtesy of Pat
16913 Mochel. This allows IA32 systems to transition to/from various
16914 sleeping states (e.g. S1, S3), although the lack of a centralized
16915 driver model and power-manageable drivers will prevent its
16916 (successful) use on most systems.
16917
16918 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
16919 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
16920 tables" option, etc.
16921
16922 Increased the default timeout for the EC driver from 1ms to 10ms
16923 (1000 cycles of 10us) to try to address AE_TIME errors during EC
16924 transactions.
16925
16926  ----------------------------------------
16927 Summary of changes for this label: 11_02_01
16928
16929 1) ACPI CA Core Subsystem:
16930
16931 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
16932 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
16933 implemented.
16934
16935 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
16936 changes to support ACPI 2.0 Qword field access.  Read/Write
16937 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
16938 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
16939 the value parameter for the address space handler interface is now
16940 an ACPI_INTEGER.  OSL implementations of these interfaces must now
16941 handle the case where the Width parameter is 64.
16942
16943 Index Fields: Fixed a problem where unaligned bit assembly and
16944 disassembly for IndexFields was not supported correctly.
16945
16946 Index and Bank Fields:  Nested Index and Bank Fields are now
16947 supported. During field access, a check is performed to ensure
16948 that the value written to an Index or Bank register is not out of
16949 the range of the register.  The Index (or Bank) register is
16950 written before each access to the field data. Future support will
16951 include allowing individual IndexFields to be wider than the
16952 DataRegister width.
16953
16954 Fields: Fixed a problem where the AML interpreter was incorrectly
16955 attempting to write beyond the end of a Field/OpRegion.  This was
16956 a boundary case that occurred when a DWORD field was written to a
16957 BYTE access OpRegion, forcing multiple writes and causing the
16958 interpreter to write one datum too many.
16959
16960 Fields: Fixed a problem with Field/OpRegion access where the
16961 starting bit address of a field was incorrectly calculated if the
16962 current access type was wider than a byte (WordAcc, DwordAcc, or
16963 QwordAcc).
16964
16965 Fields: Fixed a problem where forward references to individual
16966 FieldUnits (individual Field names within a Field definition) were
16967 not resolved during the AML table load.
16968
16969 Fields: Fixed a problem where forward references from a Field
16970 definition to the parent Operation Region definition were not
16971 resolved during the AML table load.
16972
16973 Fields: Duplicate FieldUnit names within a scope are now detected
16974 during AML table load.
16975
16976 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
16977 returned an incorrect name for the root node.
16978
16979 Code and Data Size: Code and Data optimizations have permitted new
16980 feature development with an actual reduction in the library size.
16981 Current core subsystem library sizes are shown below.  These are
16982 the code and data sizes for the acpica.lib produced by the
16983 Microsoft Visual C++ 6.0 compiler, and these values do not include
16984 any ACPI driver or OSPM code.  The debug version of the code
16985 includes the debug output trace mechanism and has a larger code
16986 and data size.  Note that these values will vary depending on the
16987 efficiency of the compiler and the compiler options used during
16988 generation.
16989
16990   Previous Release (10_18_01):
16991      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16992      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16993
16994   Current Release:
16995      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16996      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16997
16998  2) Linux:
16999
17000 Improved /proc processor output (Pavel Machek) Re-added
17001 MODULE_LICENSE("GPL") to all modules.
17002
17003  3) ASL Compiler version X2030:
17004
17005 Duplicate FieldUnit names within a scope are now detected and
17006 flagged as errors.
17007
17008  4) Documentation:
17009
17010 Programmer Reference updated to reflect OSL and address space
17011 handler interface changes described above.
17012
17013 ----------------------------------------
17014 Summary of changes for this label: 10_18_01
17015
17016 ACPI CA Core Subsystem:
17017
17018 Fixed a problem with the internal object reference count mechanism
17019 that occasionally caused premature object deletion. This resolves
17020 all of the outstanding problem reports where an object is deleted
17021 in the middle of an interpreter evaluation.  Although this problem
17022 only showed up in rather obscure cases, the solution to the
17023 problem involved an adjustment of all reference counts involving
17024 objects attached to namespace nodes.
17025
17026 Fixed a problem with Field support in the interpreter where
17027 writing to an aligned field whose length is an exact multiple (2
17028 or greater) of the field access granularity would cause an attempt
17029 to write beyond the end of the field.
17030
17031 The top level AML opcode execution functions within the
17032 interpreter have been renamed with a more meaningful and
17033 consistent naming convention.  The modules exmonad.c and
17034 exdyadic.c were eliminated.  New modules are exoparg1.c,
17035 exoparg2.c, exoparg3.c, and exoparg6.c.
17036
17037 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
17038
17039 Fixed a problem where the AML debugger was causing some internal
17040 objects to not be deleted during subsystem termination.
17041
17042 Fixed a problem with the external AcpiEvaluateObject interface
17043 where the subsystem would fault if the named object to be
17044 evaluated refered to a constant such as Zero, Ones, etc.
17045
17046 Fixed a problem with IndexFields and BankFields where the
17047 subsystem would fault if the index, data, or bank registers were
17048 not defined in the same scope as the field itself.
17049
17050 Added printf format string checking for compilers that support
17051 this feature.  Corrected more than 50 instances of issues with
17052 format specifiers within invocations of ACPI_DEBUG_PRINT
17053 throughout the core subsystem code.
17054
17055 The ASL "Revision" operator now returns the ACPI support level
17056 implemented in the core - the value "2" since the ACPI 2.0 support
17057 is more than 50% implemented.
17058
17059 Enhanced the output of the AML debugger "dump namespace" command
17060 to output in a more human-readable form.
17061
17062 Current core subsystem library code sizes are shown below.  These
17063
17064 are the code and data sizes for the acpica.lib produced by the
17065 Microsoft Visual C++ 6.0 compiler, and these values do not include
17066 any ACPI driver or OSPM code.  The debug version of the code
17067 includes the full debug trace mechanism -- leading to a much
17068
17069 larger code and data size.  Note that these values will vary
17070 depending on the efficiency of the compiler and the compiler
17071 options used during generation.
17072
17073      Previous Label (09_20_01):
17074      Non-Debug Version:    65K Code,     5K Data,     70K Total
17075      Debug Version:       138K Code,    58K Data,    196K Total
17076
17077      This Label:
17078
17079      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
17080      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
17081
17082 Linux:
17083
17084 Implemented a "Bad BIOS Blacklist" to track machines that have
17085 known ASL/AML problems.
17086
17087 Enhanced the /proc interface for the thermal zone driver and added
17088 support for _HOT (the critical suspend trip point).  The 'info'
17089 file now includes threshold/policy information, and allows setting
17090 of _SCP (cooling preference) and _TZP (polling frequency) values
17091 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
17092 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
17093 preference to the passive/quiet mode (if supported by the ASL).
17094
17095 Implemented a workaround for a gcc bug that resuted in an OOPs
17096 when loading the control method battery driver.
17097
17098  ----------------------------------------
17099 Summary of changes for this label: 09_20_01
17100
17101  ACPI CA Core Subsystem:
17102
17103 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
17104 modified to allow individual GPE levels to be flagged as wake-
17105 enabled (i.e., these GPEs are to remain enabled when the platform
17106 sleeps.)
17107
17108 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
17109 support wake-enabled GPEs.  This means that upon entering the
17110 sleep state, all GPEs that are not wake-enabled are disabled.
17111 When leaving the sleep state, these GPEs are reenabled.
17112
17113 A local double-precision divide/modulo module has been added to
17114 enhance portability to OS kernels where a 64-bit math library is
17115 not available.  The new module is "utmath.c".
17116
17117 Several optimizations have been made to reduce the use of CPU
17118 stack.  Originally over 2K, the maximum stack usage is now below
17119 2K at 1860  bytes (1.82k)
17120
17121 Fixed a problem with the AcpiGetFirmwareTable interface where the
17122 root table pointer was not mapped into a logical address properly.
17123
17124 Fixed a problem where a NULL pointer was being dereferenced in the
17125 interpreter code for the ASL Notify operator.
17126
17127 Fixed a problem where the use of the ASL Revision operator
17128 returned an error. This operator now returns the current version
17129 of the ACPI CA core subsystem.
17130
17131 Fixed a problem where objects passed as control method parameters
17132 to AcpiEvaluateObject were always deleted at method termination.
17133 However, these objects may end up being stored into the namespace
17134 by the called method.  The object reference count mechanism was
17135 applied to these objects instead of a force delete.
17136
17137 Fixed a problem where static strings or buffers (contained in the
17138 AML code) that are declared as package elements within the ASL
17139 code could cause a fault because the interpreter would attempt to
17140 delete them.  These objects are now marked with the "static
17141 object" flag to prevent any attempt to delete them.
17142
17143 Implemented an interpreter optimization to use operands directly
17144 from the state object instead of extracting the operands to local
17145 variables.  This reduces stack use and code size, and improves
17146 performance.
17147
17148 The module exxface.c was eliminated as it was an unnecessary extra
17149 layer of code.
17150
17151 Current core subsystem library code sizes are shown below.  These
17152 are the code and data sizes for the acpica.lib produced by the
17153 Microsoft Visual C++ 6.0 compiler, and these values do not include
17154 any ACPI driver or OSPM code.  The debug version of the code
17155 includes the full debug trace mechanism -- leading to a much
17156 larger code and data size.  Note that these values will vary
17157 depending on the efficiency of the compiler and the compiler
17158 options used during generation.
17159
17160   Non-Debug Version:  65K Code,   5K Data,   70K Total
17161 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
17162 Total  (Previously 195K)
17163
17164 Linux:
17165
17166 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
17167 Integer objects are now 64 bits wide
17168
17169 All Acpi data types and structures are now in lower case.  Only
17170 Acpi macros are upper case for differentiation.
17171
17172  Documentation:
17173
17174 Changes to the external interfaces as described above.
17175
17176  ----------------------------------------
17177 Summary of changes for this label: 08_31_01
17178
17179  ACPI CA Core Subsystem:
17180
17181 A bug with interpreter implementation of the ASL Divide operator
17182 was found and fixed.  The implicit function return value (not the
17183 explicit store operands) was returning the remainder instead of
17184 the quotient.  This was a longstanding bug and it fixes several
17185 known outstanding issues on various platforms.
17186
17187 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
17188 been further optimized for size.  There are 700 invocations of the
17189 DEBUG_PRINT macro alone, so each optimization reduces the size of
17190 the debug version of the subsystem significantly.
17191
17192 A stack trace mechanism has been implemented.  The maximum stack
17193 usage is about 2K on 32-bit platforms.  The debugger command "stat
17194 stack" will display the current maximum stack usage.
17195
17196 All public symbols and global variables within the subsystem are
17197 now prefixed with the string "Acpi".  This keeps all of the
17198 symbols grouped together in a kernel map, and avoids conflicts
17199 with other kernel subsystems.
17200
17201 Most of the internal fixed lookup tables have been moved into the
17202 code segment via the const operator.
17203
17204 Several enhancements have been made to the interpreter to both
17205 reduce the code size and improve performance.
17206
17207 Current core subsystem library code sizes are shown below.  These
17208 are the code and data sizes for the acpica.lib produced by the
17209 Microsoft Visual C++ 6.0 compiler, and these values do not include
17210 any ACPI driver or OSPM code.  The debug version of the code
17211 includes the full debug trace mechanism which contains over 700
17212 invocations of the DEBUG_PRINT macro, 500 function entry macro
17213 invocations, and over 900 function exit macro invocations --
17214 leading to a much larger code and data size.  Note that these
17215 values will vary depending on the efficiency of the compiler and
17216 the compiler options used during generation.
17217
17218         Non-Debug Version:  64K Code,   5K Data,   69K Total
17219 Debug Version:     137K Code,  58K Data,  195K Total
17220
17221  Linux:
17222
17223 Implemented wbinvd() macro, pending a kernel-wide definition.
17224
17225 Fixed /proc/acpi/event to handle poll() and short reads.
17226
17227  ASL Compiler, version X2026:
17228
17229 Fixed a problem introduced in the previous label where the AML
17230
17231 code emitted for package objects produced packages with zero
17232 length.
17233
17234  ----------------------------------------
17235 Summary of changes for this label: 08_16_01
17236
17237 ACPI CA Core Subsystem:
17238
17239 The following ACPI 2.0 ASL operators have been implemented in the
17240 AML interpreter (These are already supported by the Intel ASL
17241 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
17242 ToBuffer.  Support for 64-bit AML constants is implemented in the
17243 AML parser, debugger, and disassembler.
17244
17245 The internal memory tracking mechanism (leak detection code) has
17246 been upgraded to reduce the memory overhead (a separate tracking
17247 block is no longer allocated for each memory allocation), and now
17248 supports all of the internal object caches.
17249
17250 The data structures and code for the internal object caches have
17251 been coelesced and optimized so that there is a single cache and
17252 memory list data structure and a single group of functions that
17253 implement generic cache management.  This has reduced the code
17254 size in both the debug and release versions of the subsystem.
17255
17256 The DEBUG_PRINT macro(s) have been optimized for size and replaced
17257 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
17258 different, because it generates a single call to an internal
17259 function.  This results in a savings of about 90 bytes per
17260 invocation, resulting in an overall code and data savings of about
17261 16% in the debug version of the subsystem.
17262
17263  Linux:
17264
17265 Fixed C3 disk corruption problems and re-enabled C3 on supporting
17266 machines.
17267
17268 Integrated low-level sleep code by Patrick Mochel.
17269
17270 Further tweaked source code Linuxization.
17271
17272 Other minor fixes.
17273
17274  ASL Compiler:
17275
17276 Support for ACPI 2.0 variable length packages is fixed/completed.
17277
17278 Fixed a problem where the optional length parameter for the ACPI
17279 2.0 ToString operator.
17280
17281 Fixed multiple extraneous error messages when a syntax error is
17282 detected within the declaration line of a control method.
17283
17284  ----------------------------------------
17285 Summary of changes for this label: 07_17_01
17286
17287 ACPI CA Core Subsystem:
17288
17289 Added a new interface named AcpiGetFirmwareTable to obtain any
17290 ACPI table via the ACPI signature.  The interface can be called at
17291 any time during kernel initialization, even before the kernel
17292 virtual memory manager is initialized and paging is enabled.  This
17293 allows kernel subsystems to obtain ACPI tables very early, even
17294 before the ACPI CA subsystem is initialized.
17295
17296 Fixed a problem where Fields defined with the AnyAcc attribute
17297 could be resolved to the incorrect address under the following
17298 conditions: 1) the field width is larger than 8 bits and 2) the
17299 parent operation region is not defined on a DWORD boundary.
17300
17301 Fixed a problem where the interpreter is not being locked during
17302 namespace initialization (during execution of the _INI control
17303 methods), causing an error when an attempt is made to release it
17304 later.
17305
17306 ACPI 2.0 support in the AML Interpreter has begun and will be
17307 ongoing throughout the rest of this year.  In this label, The Mod
17308 operator is implemented.
17309
17310 Added a new data type to contain full PCI addresses named
17311 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
17312 and Function values.
17313
17314  Linux:
17315
17316 Enhanced the Linux version of the source code to change most
17317 capitalized ACPI type names to lowercase. For example, all
17318 instances of ACPI_STATUS are changed to acpi_status.  This will
17319 result in a large diff, but the change is strictly cosmetic and
17320 aligns the CA code closer to the Linux coding standard.
17321
17322 OSL Interfaces:
17323
17324 The interfaces to the PCI configuration space have been changed to
17325 add the PCI Segment number and to split the single 32-bit combined
17326 DeviceFunction field into two 16-bit fields.  This was
17327 accomplished by moving the four values that define an address in
17328 PCI configuration space (segment, bus, device, and function) to
17329 the new ACPI_PCI_ID structure.
17330
17331 The changes to the PCI configuration space interfaces led to a
17332 reexamination of the complete set of address space access
17333 interfaces for PCI, I/O, and Memory.  The previously existing 18
17334 interfaces have proven difficult to maintain (any small change
17335 must be propagated across at least 6 interfaces) and do not easily
17336 allow for future expansion to 64 bits if necessary.  Also, on some
17337 systems, it would not be appropriate to demultiplex the access
17338 width (8, 16, 32,or 64) before calling the OSL if the
17339 corresponding native OS interfaces contain a similar access width
17340 parameter.  For these reasons, the 18 address space interfaces
17341 have been replaced by these 6 new ones:
17342
17343 AcpiOsReadPciConfiguration
17344 AcpiOsWritePciConfiguration
17345 AcpiOsReadMemory
17346 AcpiOsWriteMemory
17347 AcpiOsReadPort
17348 AcpiOsWritePort
17349
17350 Added a new interface named AcpiOsGetRootPointer to allow the OSL
17351 to perform the platform and/or OS-specific actions necessary to
17352 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
17353 interface will simply call down to the CA core to perform the low-
17354 memory search for the table.  On IA-64, the RSDP is obtained from
17355 EFI.  Migrating this interface to the OSL allows the CA core to
17356
17357 remain OS and platform independent.
17358
17359 Added a new interface named AcpiOsSignal to provide a generic
17360 "function code and pointer" interface for various miscellaneous
17361 signals and notifications that must be made to the host OS.   The
17362 first such signals are intended to support the ASL Fatal and
17363 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
17364 interface has been obsoleted.
17365
17366 The definition of the AcpiFormatException interface has been
17367 changed to simplify its use.  The caller no longer must supply a
17368 buffer to the call; A pointer to a const string is now returned
17369 directly.  This allows the call to be easily used in printf
17370 statements, etc. since the caller does not have to manage a local
17371 buffer.
17372
17373
17374  ASL Compiler, Version X2025:
17375
17376 The ACPI 2.0 Switch/Case/Default operators have been implemented
17377 and are fully functional.  They will work with all ACPI 1.0
17378 interpreters, since the operators are simply translated to If/Else
17379 pairs.
17380
17381 The ACPI 2.0 ElseIf operator is implemented and will also work
17382 with 1.0 interpreters, for the same reason.
17383
17384 Implemented support for ACPI 2.0 variable-length packages.  These
17385 packages have a separate opcode, and their size is determined by
17386 the interpreter at run-time.
17387
17388 Documentation The ACPI CA Programmer Reference has been updated to
17389 reflect the new interfaces and changes to existing interfaces.
17390
17391  ------------------------------------------
17392 Summary of changes for this label: 06_15_01
17393
17394  ACPI CA Core Subsystem:
17395
17396 Fixed a problem where a DWORD-accessed field within a Buffer
17397 object would get its byte address inadvertently rounded down to
17398 the nearest DWORD.  Buffers are always Byte-accessible.
17399
17400  ASL Compiler, version X2024:
17401
17402 Fixed a problem where the Switch() operator would either fault or
17403 hang the compiler.  Note however, that the AML code for this ACPI
17404 2.0 operator is not yet implemented.
17405
17406 Compiler uses the new AcpiOsGetTimer interface to obtain compile
17407 timings.
17408
17409 Implementation of the CreateField operator automatically converts
17410 a reference to a named field within a resource descriptor from a
17411 byte offset to a bit offset if required.
17412
17413 Added some missing named fields from the resource descriptor
17414 support. These are the names that are automatically created by the
17415 compiler to reference fields within a descriptor.  They are only
17416 valid at compile time and are not passed through to the AML
17417 interpreter.
17418
17419 Resource descriptor named fields are now typed as Integers and
17420 subject to compile-time typechecking when used in expressions.
17421
17422  ------------------------------------------
17423 Summary of changes for this label: 05_18_01
17424
17425  ACPI CA Core Subsystem:
17426
17427 Fixed a couple of problems in the Field support code where bits
17428 from adjacent fields could be returned along with the proper field
17429 bits. Restructured the field support code to improve performance,
17430 readability and maintainability.
17431
17432 New DEBUG_PRINTP macro automatically inserts the procedure name
17433 into the output, saving hundreds of copies of procedure name
17434 strings within the source, shrinking the memory footprint of the
17435 debug version of the core subsystem.
17436
17437  Source Code Structure:
17438
17439 The source code directory tree was restructured to reflect the
17440 current organization of the component architecture.  Some files
17441 and directories have been moved and/or renamed.
17442
17443  Linux:
17444
17445 Fixed leaking kacpidpc processes.
17446
17447 Fixed queueing event data even when /proc/acpi/event is not
17448 opened.
17449
17450  ASL Compiler, version X2020:
17451
17452 Memory allocation performance enhancement - over 24X compile time
17453 improvement on large ASL files.  Parse nodes and namestring
17454 buffers are now allocated from a large internal compiler buffer.
17455
17456 The temporary .SRC file is deleted unless the "-s" option is
17457 specified
17458
17459 The "-d" debug output option now sends all output to the .DBG file
17460 instead of the console.
17461
17462 "External" second parameter is now optional
17463
17464 "ElseIf" syntax now properly allows the predicate
17465
17466 Last operand to "Load" now recognized as a Target operand
17467
17468 Debug object can now be used anywhere as a normal object.
17469
17470 ResourceTemplate now returns an object of type BUFFER
17471
17472 EISAID now returns an object of type INTEGER
17473
17474 "Index" now works with a STRING operand
17475
17476 "LoadTable" now accepts optional parameters
17477
17478 "ToString" length parameter is now optional
17479
17480 "Interrupt (ResourceType," parse error fixed.
17481
17482 "Register" with a user-defined region space parse error fixed
17483
17484 Escaped backslash at the end of a string ("\\") scan/parse error
17485 fixed
17486
17487 "Revision" is now an object of type INTEGER.
17488
17489
17490
17491 ------------------------------------------
17492 Summary of changes for this label: 05_02_01
17493
17494 Linux:
17495
17496 /proc/acpi/event now blocks properly.
17497
17498 Removed /proc/sys/acpi. You can still dump your DSDT from
17499 /proc/acpi/dsdt.
17500
17501  ACPI CA Core Subsystem:
17502
17503 Fixed a problem introduced in the previous label where some of the
17504 "small" resource descriptor types were not recognized.
17505
17506 Improved error messages for the case where an ASL Field is outside
17507 the range of the parent operation region.
17508
17509  ASL Compiler, version X2018:
17510
17511
17512 Added error detection for ASL Fields that extend beyond the length
17513 of the parent operation region (only if the length of the region
17514 is known at compile time.)  This includes fields that have a
17515 minimum access width that is smaller than the parent region, and
17516 individual field units that are partially or entirely beyond the
17517 extent of the parent.
17518
17519
17520
17521 ------------------------------------------
17522 Summary of changes for this label: 04_27_01
17523
17524  ACPI CA Core Subsystem:
17525
17526 Fixed a problem where the namespace mutex could be released at the
17527 wrong time during execution of AcpiRemoveAddressSpaceHandler.
17528
17529 Added optional thread ID output for debug traces, to simplify
17530 debugging of multiple threads.  Added context switch notification
17531 when the debug code realizes that a different thread is now
17532 executing ACPI code.
17533
17534 Some additional external data types have been prefixed with the
17535 string "ACPI_" for consistency.  This may effect existing code.
17536 The data types affected are the external callback typedefs - e.g.,
17537
17538 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
17539
17540  Linux:
17541
17542 Fixed an issue with the OSL semaphore implementation where a
17543 thread was waking up with an error from receiving a SIGCHLD
17544 signal.
17545
17546 Linux version of ACPI CA now uses the system C library for string
17547 manipulation routines instead of a local implementation.
17548
17549 Cleaned up comments and removed TBDs.
17550
17551  ASL Compiler, version X2017:
17552
17553 Enhanced error detection and reporting for all file I/O
17554 operations.
17555
17556  Documentation:
17557
17558 Programmer Reference updated to version 1.06.
17559
17560
17561
17562 ------------------------------------------
17563 Summary of changes for this label: 04_13_01
17564
17565  ACPI CA Core Subsystem:
17566
17567 Restructured support for BufferFields and RegionFields.
17568 BankFields support is now fully operational.  All known 32-bit
17569 limitations on field sizes have been removed.  Both BufferFields
17570 and (Operation) RegionFields are now supported by the same field
17571 management code.
17572
17573 Resource support now supports QWORD address and IO resources. The
17574 16/32/64 bit address structures and the Extended IRQ structure
17575 have been changed to properly handle Source Resource strings.
17576
17577 A ThreadId of -1 is now used to indicate a "mutex not acquired"
17578 condition internally and must never be returned by AcpiOsThreadId.
17579 This reserved value was changed from 0 since Unix systems allow a
17580 thread ID of 0.
17581
17582 Linux:
17583
17584 Driver code reorganized to enhance portability
17585
17586 Added a kernel configuration option to control ACPI_DEBUG
17587
17588 Fixed the EC driver to honor _GLK.
17589
17590 ASL Compiler, version X2016:
17591
17592 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
17593 address space was set to 0, not 0x7f as it should be.
17594
17595  ------------------------------------------
17596 Summary of changes for this label: 03_13_01
17597
17598  ACPI CA Core Subsystem:
17599
17600 During ACPI initialization, the _SB_._INI method is now run if
17601 present.
17602
17603 Notify handler fix - notifies are deferred until the parent method
17604 completes execution.  This fixes the "mutex already acquired"
17605 issue seen occasionally.
17606
17607 Part of the "implicit conversion" rules in ACPI 2.0 have been
17608 found to cause compatibility problems with existing ASL/AML.  The
17609 convert "result-to-target-type" implementation has been removed
17610 for stores to method Args and Locals.  Source operand conversion
17611 is still fully implemented.  Possible changes to ACPI 2.0
17612 specification pending.
17613
17614 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
17615 length.
17616
17617 Fix for compiler warnings for 64-bit compiles.
17618
17619  Linux:
17620
17621 /proc output aligned for easier parsing.
17622
17623 Release-version compile problem fixed.
17624
17625 New kernel configuration options documented in Configure.help.
17626
17627 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
17628 context" message.
17629
17630  OSPM:
17631
17632 Power resource driver integrated with bus manager.
17633
17634 Fixed kernel fault during active cooling for thermal zones.
17635
17636 Source Code:
17637
17638 The source code tree has been restructured.
17639
17640
17641
17642 ------------------------------------------
17643 Summary of changes for this label: 03_02_01
17644
17645  Linux OS Services Layer (OSL):
17646
17647 Major revision of all Linux-specific code.
17648
17649 Modularized all ACPI-specific drivers.
17650
17651 Added new thermal zone and power resource drivers.
17652
17653 Revamped /proc interface (new functionality is under /proc/acpi).
17654
17655 New kernel configuration options.
17656
17657  Linux known issues:
17658
17659 New kernel configuration options not documented in Configure.help
17660 yet.
17661
17662
17663 Module dependencies not currently implemented. If used, they
17664 should be loaded in this order: busmgr, power, ec, system,
17665 processor, battery, ac_adapter, button, thermal.
17666
17667 Modules will not load if CONFIG_MODVERSION is set.
17668
17669 IBM 600E - entering S5 may reboot instead of shutting down.
17670
17671 IBM 600E - Sleep button may generate "Invalid <NULL> context"
17672 message.
17673
17674 Some systems may fail with "execution mutex already acquired"
17675 message.
17676
17677  ACPI CA Core Subsystem:
17678
17679 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
17680 for the  deadlock detection code. Defined to return a non-zero, 32-
17681 bit thread ID for the currently executing thread.  May be a non-
17682 zero constant integer on single-thread systems.
17683
17684 Implemented deadlock detection for internal subsystem mutexes.  We
17685 may add conditional compilation for this code (debug only) later.
17686
17687 ASL/AML Mutex object semantics are now fully supported.  This
17688 includes multiple acquires/releases by owner and support for the
17689
17690 Mutex SyncLevel parameter.
17691
17692 A new "Force Release" mechanism automatically frees all ASL
17693 Mutexes that have been acquired but not released when a thread
17694 exits the interpreter.  This forces conformance to the ACPI spec
17695 ("All mutexes must be released when an invocation exits") and
17696 prevents deadlocked ASL threads.  This mechanism can be expanded
17697 (later) to monitor other resource acquisitions if OEM ASL code
17698 continues to misbehave (which it will).
17699
17700 Several new ACPI exception codes have been added for the Mutex
17701 support.
17702
17703 Recursive method calls are now allowed and supported (the ACPI
17704 spec does in fact allow recursive method calls.)  The number of
17705 recursive calls is subject to the restrictions imposed by the
17706 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
17707 parameter.
17708
17709 Implemented support for the SyncLevel parameter for control
17710 methods (ACPI 2.0 feature)
17711
17712 Fixed a deadlock problem when multiple threads attempted to use
17713 the interpreter.
17714
17715 Fixed a problem where the string length of a String package
17716 element was not always set in a package returned from
17717 AcpiEvaluateObject.
17718
17719 Fixed a problem where the length of a String package element was
17720 not always included in the length of the overall package returned
17721 from AcpiEvaluateObject.
17722
17723 Added external interfaces (Acpi*) to the ACPI debug memory
17724 manager.  This manager keeps a list of all outstanding
17725 allocations, and can therefore detect memory leaks and attempts to
17726 free memory blocks more than once. Useful for code such as the
17727 power manager, etc.  May not be appropriate for device drivers.
17728 Performance with the debug code enabled is slow.
17729
17730 The ACPI Global Lock is now an optional hardware element.
17731
17732  ASL Compiler Version X2015:
17733
17734 Integrated changes to allow the compiler to be generated on
17735 multiple platforms.
17736
17737 Linux makefile added to generate the compiler on Linux
17738
17739  Source Code:
17740
17741 All platform-specific headers have been moved to their own
17742 subdirectory, Include/Platform.
17743
17744 New source file added, Interpreter/ammutex.c
17745
17746 New header file, Include/acstruct.h
17747
17748  Documentation:
17749
17750 The programmer reference has been updated for the following new
17751 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
17752
17753  ------------------------------------------
17754 Summary of changes for this label: 02_08_01
17755
17756 Core ACPI CA Subsystem: Fixed a problem where an error was
17757 incorrectly returned if the return resource buffer was larger than
17758 the actual data (in the resource interfaces).
17759
17760 References to named objects within packages are resolved to the
17761
17762 full pathname string before packages are returned directly (via
17763 the AcpiEvaluateObject interface) or indirectly via the resource
17764 interfaces.
17765
17766 Linux OS Services Layer (OSL):
17767
17768 Improved /proc battery interface.
17769
17770
17771 Added C-state debugging output and other miscellaneous fixes.
17772
17773 ASL Compiler Version X2014:
17774
17775 All defined method arguments can now be used as local variables,
17776 including the ones that are not actually passed in as parameters.
17777 The compiler tracks initialization of the arguments and issues an
17778 exception if they are used without prior assignment (just like
17779 locals).
17780
17781 The -o option now specifies a filename prefix that is used for all
17782 output files, including the AML output file.  Otherwise, the
17783 default behavior is as follows:  1) the AML goes to the file
17784 specified in the DSDT.  2) all other output files use the input
17785 source filename as the base.
17786
17787  ------------------------------------------
17788 Summary of changes for this label: 01_25_01
17789
17790 Core ACPI CA Subsystem: Restructured the implementation of object
17791 store support within the  interpreter.  This includes support for
17792 the Store operator as well  as any ASL operators that include a
17793 target operand.
17794
17795 Partially implemented support for Implicit Result-to-Target
17796 conversion. This is when a result object is converted on the fly
17797 to the type of  an existing target object.  Completion of this
17798 support is pending  further analysis of the ACPI specification
17799 concerning this matter.
17800
17801 CPU-specific code has been removed from the subsystem (hardware
17802 directory).
17803
17804 New Power Management Timer functions added
17805
17806 Linux OS Services Layer (OSL): Moved system state transition code
17807 to the core, fixed it, and modified  Linux OSL accordingly.
17808
17809 Fixed C2 and C3 latency calculations.
17810
17811
17812 We no longer use the compilation date for the version message on
17813 initialization, but retrieve the version from AcpiGetSystemInfo().
17814
17815 Incorporated for fix Sony VAIO machines.
17816
17817 Documentation:  The Programmer Reference has been updated and
17818 reformatted.
17819
17820
17821 ASL Compiler:  Version X2013: Fixed a problem where the line
17822 numbering and error reporting could get out  of sync in the
17823 presence of multiple include files.
17824
17825  ------------------------------------------
17826 Summary of changes for this label: 01_15_01
17827
17828 Core ACPI CA Subsystem:
17829
17830 Implemented support for type conversions in the execution of the
17831 ASL  Concatenate operator (The second operand is converted to
17832 match the type  of the first operand before concatenation.)
17833
17834 Support for implicit source operand conversion is partially
17835 implemented.   The ASL source operand types Integer, Buffer, and
17836 String are freely  interchangeable for most ASL operators and are
17837 converted by the interpreter  on the fly as required.  Implicit
17838 Target operand conversion (where the  result is converted to the
17839 target type before storing) is not yet implemented.
17840
17841 Support for 32-bit and 64-bit BCD integers is implemented.
17842
17843 Problem fixed where a field read on an aligned field could cause a
17844 read  past the end of the field.
17845
17846 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
17847 does not return a value, but the caller expects one.  (The ASL
17848 compiler flags this as a warning.)
17849
17850 ASL Compiler:
17851
17852 Version X2011:
17853 1. Static typechecking of all operands is implemented. This
17854 prevents the use of invalid objects (such as using a Package where
17855 an Integer is required) at compile time instead of at interpreter
17856 run-time.
17857 2. The ASL source line is printed with ALL errors and warnings.
17858 3. Bug fix for source EOF without final linefeed.
17859 4. Debug option is split into a parse trace and a namespace trace.
17860 5. Namespace output option (-n) includes initial values for
17861 integers and strings.
17862 6. Parse-only option added for quick syntax checking.
17863 7. Compiler checks for duplicate ACPI name declarations
17864
17865 Version X2012:
17866 1. Relaxed typechecking to allow interchangeability between
17867 strings, integers, and buffers.  These types are now converted by
17868 the interpreter at runtime.
17869 2. Compiler reports time taken by each internal subsystem in the
17870 debug         output file.
17871
17872
17873  ------------------------------------------
17874 Summary of changes for this label: 12_14_00
17875
17876 ASL Compiler:
17877
17878 This is the first official release of the compiler. Since the
17879 compiler requires elements of the Core Subsystem, this label
17880 synchronizes everything.
17881
17882 ------------------------------------------
17883 Summary of changes for this label: 12_08_00
17884
17885
17886 Fixed a problem where named references within the ASL definition
17887 of both OperationRegions and CreateXXXFields did not work
17888 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17889 initialization of the region/field. This is similar (but not
17890 related internally) to the problem that was fixed in the last
17891 label.
17892
17893 Implemented both 32-bit and 64-bit support for the BCD ASL
17894 functions ToBCD and FromBCD.
17895
17896 Updated all legal headers to include "2000" in the copyright
17897 years.
17898
17899  ------------------------------------------
17900 Summary of changes for this label: 12_01_00
17901
17902 Fixed a problem where method invocations within the ASL definition
17903 of both OperationRegions and CreateXXXFields did not work
17904 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17905 initialization of the region/field:
17906
17907   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
17908 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
17909 (0x3005)
17910
17911 Fixed a problem where operators with more than one nested
17912 subexpression would fail.  The symptoms were varied, by mostly
17913 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
17914 problem that has gone unnoticed until now.
17915
17916   Subtract (Add (1,2), Multiply (3,4))
17917
17918 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
17919 previous build (The prefix part of a relative path was handled
17920 incorrectly).
17921
17922 Fixed a problem where Operation Region initialization failed if
17923 the operation region name was a "namepath" instead of a simple
17924 "nameseg". Symptom was an AE_NO_OPERAND error.
17925
17926 Fixed a problem where an assignment to a local variable via the
17927 indirect RefOf mechanism only worked for the first such
17928 assignment.  Subsequent assignments were ignored.
17929
17930  ------------------------------------------
17931 Summary of changes for this label: 11_15_00
17932
17933 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
17934 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
17935 the AML  interpreter does NOT have support for the new 2.0 ASL
17936 grammar terms at this time.
17937
17938 All ACPI hardware access is via the GAS structures in the ACPI 2.0
17939 FADT.
17940
17941 All physical memory addresses across all platforms are now 64 bits
17942 wide. Logical address width remains dependent on the platform
17943 (i.e., "void *").
17944
17945 AcpiOsMapMemory interface changed to a 64-bit physical address.
17946
17947 The AML interpreter integer size is now 64 bits, as per the ACPI
17948 2.0 specification.
17949
17950 For backwards compatibility with ACPI 1.0, ACPI tables with a
17951 revision number less than 2 use 32-bit integers only.
17952
17953 Fixed a problem where the evaluation of OpRegion operands did not
17954 always resolve them to numbers properly.
17955
17956 ------------------------------------------
17957 Summary of changes for this label: 10_20_00
17958
17959 Fix for CBN_._STA issue.  This fix will allow correct access to
17960 CBN_ OpRegions when the _STA returns 0x8.
17961
17962 Support to convert ACPI constants (Ones, Zeros, One) to actual
17963 values before a package object is returned
17964
17965 Fix for method call as predicate to if/while construct causing
17966 incorrect if/while behavior
17967
17968 Fix for Else block package lengths sometimes calculated wrong (if
17969 block > 63 bytes)
17970
17971 Fix for Processor object length field, was always zero
17972
17973 Table load abort if FACP sanity check fails
17974
17975 Fix for problem with Scope(name) if name already exists
17976
17977 Warning emitted if a named object referenced cannot be found
17978 (resolved) during method execution.
17979
17980
17981
17982
17983
17984 ------------------------------------------
17985 Summary of changes for this label: 9_29_00
17986
17987 New table initialization interfaces: AcpiInitializeSubsystem no
17988 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
17989 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
17990 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
17991 AcpiLoadTables
17992
17993 Note: These interface changes require changes to all existing OSDs
17994
17995 The PCI_Config default address space handler is always installed
17996 at the root namespace object.
17997
17998 -------------------------------------------
17999 Summary of changes for this label: 09_15_00
18000
18001 The new initialization architecture is implemented.  New
18002 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
18003 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
18004
18005 (Namespace is automatically loaded when a table is loaded)
18006
18007 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
18008 52 bytes to 32 bytes.  There is usually one of these for every
18009 namespace object, so the memory savings is significant.
18010
18011 Implemented just-in-time evaluation of the CreateField operators.
18012
18013 Bug fixes for IA-64 support have been integrated.
18014
18015 Additional code review comments have been implemented
18016
18017 The so-called "third pass parse" has been replaced by a final walk
18018 through the namespace to initialize all operation regions (address
18019 spaces) and fields that have not yet been initialized during the
18020 execution of the various _INI and REG methods.
18021
18022 New file - namespace/nsinit.c
18023
18024 -------------------------------------------
18025 Summary of changes for this label: 09_01_00
18026
18027 Namespace manager data structures have been reworked to change the
18028 primary  object from a table to a single object.  This has
18029 resulted in dynamic memory  savings of 3X within the namespace and
18030 2X overall in the ACPI CA subsystem.
18031
18032 Fixed problem where the call to AcpiEvFindPciRootBuses was
18033 inadvertently left  commented out.
18034
18035 Reduced the warning count when generating the source with the GCC
18036 compiler.
18037
18038 Revision numbers added to each module header showing the
18039 SourceSafe version of the file.  Please refer to this version
18040 number when giving us feedback or comments on individual modules.
18041
18042 The main object types within the subsystem have been renamed to
18043 clarify their  purpose:
18044
18045 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
18046 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
18047 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
18048
18049 NOTE: no changes to the initialization sequence are included in
18050 this label.
18051
18052 -------------------------------------------
18053 Summary of changes for this label: 08_23_00
18054
18055 Fixed problem where TerminateControlMethod was being called
18056 multiple times per  method
18057
18058 Fixed debugger problem where single stepping caused a semaphore to
18059 be  oversignalled
18060
18061 Improved performance through additional parse object caching -
18062 added  ACPI_EXTENDED_OP type
18063
18064 -------------------------------------------
18065 Summary of changes for this label: 08_10_00
18066
18067 Parser/Interpreter integration:  Eliminated the creation of
18068 complete parse trees  for ACPI tables and control methods.
18069 Instead, parse subtrees are created and  then deleted as soon as
18070 they are processed (Either entered into the namespace or  executed
18071 by the interpreter).  This reduces the use of dynamic kernel
18072 memory  significantly. (about 10X)
18073
18074 Exception codes broken into classes and renumbered.  Be sure to
18075 recompile all  code that includes acexcep.h.  Hopefully we won't
18076 have to renumber the codes  again now that they are split into
18077 classes (environment, programmer, AML code,  ACPI table, and
18078 internal).
18079
18080 Fixed some additional alignment issues in the Resource Manager
18081 subcomponent
18082
18083 Implemented semaphore tracking in the AcpiExec utility, and fixed
18084 several places  where mutexes/semaphores were being unlocked
18085 without a corresponding lock  operation.  There are no known
18086 semaphore or mutex "leaks" at this time.
18087
18088 Fixed the case where an ASL Return operator is used to return an
18089 unnamed  package.
18090
18091 -------------------------------------------
18092 Summary of changes for this label: 07_28_00
18093
18094 Fixed a problem with the way addresses were calculated in
18095 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
18096 manifested itself when a Field was  created with WordAccess or
18097 DwordAccess, but the field unit defined within the  Field was less
18098
18099 than a Word or Dword.
18100
18101 Fixed a problem in AmlDumpOperands() module's loop to pull
18102 operands off of the  operand stack to display information. The
18103 problem manifested itself as a TLB  error on 64-bit systems when
18104 accessing an operand stack with two or more  operands.
18105
18106 Fixed a problem with the PCI configuration space handlers where
18107 context was  getting confused between accesses. This required a
18108 change to the generic address  space handler and address space
18109 setup definitions. Handlers now get both a  global handler context
18110 (this is the one passed in by the user when executing
18111 AcpiInstallAddressSpaceHandler() and a specific region context
18112 that is unique to  each region (For example, the _ADR, _SEG and
18113 _BBN values associated with a  specific region). The generic
18114 function definitions have changed to the  following:
18115
18116 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
18117 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
18118 *HandlerContext, // This used to be void *Context void
18119 *RegionContext); // This is an additional parameter
18120
18121 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
18122 RegionHandle, UINT32 Function, void *HandlerContext,  void
18123 **RegionContext); // This used to be **ReturnContext
18124
18125 -------------------------------------------
18126 Summary of changes for this label: 07_21_00
18127
18128 Major file consolidation and rename.  All files within the
18129 interpreter have been  renamed as well as most header files.  This
18130 was done to prevent collisions with  existing files in the host
18131 OSs -- filenames such as "config.h" and "global.h"  seem to be
18132 quite common.  The VC project files have been updated.  All
18133 makefiles  will require modification.
18134
18135 The parser/interpreter integration continues in Phase 5 with the
18136 implementation  of a complete 2-pass parse (the AML is parsed
18137 twice) for each table;  This  avoids the construction of a huge
18138 parse tree and therefore reduces the amount of  dynamic memory
18139 required by the subsystem.  Greater use of the parse object cache
18140 means that performance is unaffected.
18141
18142 Many comments from the two code reviews have been rolled in.
18143
18144 The 64-bit alignment support is complete.
18145
18146 -------------------------------------------
18147 Summary of changes for this label: 06_30_00
18148
18149 With a nod and a tip of the hat to the technology of yesteryear,
18150 we've added  support in the source code for 80 column output
18151 devices.  The code is now mostly  constrained to 80 columns or
18152 less to support environments and editors that 1)  cannot display
18153 or print more than 80 characters on a single line, and 2) cannot
18154 disable line wrapping.
18155
18156 A major restructuring of the namespace data structure has been
18157 completed.  The  result is 1) cleaner and more
18158 understandable/maintainable code, and 2) a  significant reduction
18159 in the dynamic memory requirement for each named ACPI  object
18160 (almost half).
18161
18162 -------------------------------------------
18163 Summary of changes for this label: 06_23_00
18164
18165 Linux support has been added.  In order to obtain approval to get
18166 the ACPI CA  subsystem into the Linux kernel, we've had to make
18167 quite a few changes to the  base subsystem that will affect all
18168 users (all the changes are generic and OS- independent).  The
18169 effects of these global changes have been somewhat far  reaching.
18170 Files have been merged and/or renamed and interfaces have been
18171 renamed.   The major changes are described below.
18172
18173 Osd* interfaces renamed to AcpiOs* to eliminate namespace
18174 pollution/confusion  within our target kernels.  All OSD
18175 interfaces must be modified to match the new  naming convention.
18176
18177 Files merged across the subsystem.  A number of the smaller source
18178 and header  files have been merged to reduce the file count and
18179 increase the density of the  existing files.  There are too many
18180 to list here.  In general, makefiles that  call out individual
18181 files will require rebuilding.
18182
18183 Interpreter files renamed.  All interpreter files now have the
18184 prefix am*  instead of ie* and is*.
18185
18186 Header files renamed:  The acapi.h file is now acpixf.h.  The
18187 acpiosd.h file is  now acpiosxf.h.  We are removing references to
18188 the acronym "API" since it is  somewhat windowsy. The new name is
18189 "external interface" or xface or xf in the  filenames.j
18190
18191
18192 All manifest constants have been forced to upper case (some were
18193 mixed case.)   Also, the string "ACPI_" has been prepended to many
18194 (not all) of the constants,  typedefs, and structs.
18195
18196 The globals "DebugLevel" and "DebugLayer" have been renamed
18197 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
18198
18199 All other globals within the subsystem are now prefixed with
18200 "AcpiGbl_" Internal procedures within the subsystem are now
18201 prefixed with "Acpi" (with only  a few exceptions).  The original
18202 two-letter abbreviation for the subcomponent  remains after "Acpi"
18203 - for example, CmCallocate became AcpiCmCallocate.
18204
18205 Added a source code translation/conversion utility.  Used to
18206 generate the Linux  source code, it can be modified to generate
18207 other types of source as well. Can  also be used to cleanup
18208 existing source by removing extraneous spaces and blank  lines.
18209 Found in tools/acpisrc/*
18210
18211 OsdUnMapMemory was renamed to OsdUnmapMemory and then
18212 AcpiOsUnmapMemory.  (UnMap  became Unmap).
18213
18214 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
18215 When set to  one, this indicates that the caller wants to use the
18216
18217 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
18218 both types.  However, implementers of this  call may want to use
18219 different OS primitives depending on the type of semaphore
18220 requested.  For example, some operating systems provide separate
18221
18222 "mutex" and  "semaphore" interfaces - where the mutex interface is
18223 much faster because it  doesn't have all the overhead of a full
18224 semaphore implementation.
18225
18226 Fixed a deadlock problem where a method that accesses the PCI
18227 address space can  block forever if it is the first access to the
18228 space.
18229
18230 -------------------------------------------
18231 Summary of changes for this label: 06_02_00
18232
18233 Support for environments that cannot handle unaligned data
18234 accesses (e.g.  firmware and OS environments devoid of alignment
18235 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
18236 been added (via configurable macros) in  these three areas: -
18237 Transfer of data from the raw AML byte stream is done via byte
18238 moves instead of    word/dword/qword moves. - External objects are
18239 aligned within the user buffer, including package   elements (sub-
18240 objects). - Conversion of name strings to UINT32 Acpi Names is now
18241 done byte-wise.
18242
18243 The Store operator was modified to mimic Microsoft's
18244 implementation when storing  to a Buffer Field.
18245
18246 Added a check of the BM_STS bit before entering C3.
18247
18248 The methods subdirectory has been obsoleted and removed.  A new
18249 file, cmeval.c  subsumes the functionality.
18250
18251 A 16-bit (DOS) version of AcpiExec has been developed.  The
18252 makefile is under  the acpiexec directory.