]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/dev/acpica/changes.txt
Merge compiler-rt trunk r351319, and resolve conflicts.
[FreeBSD/FreeBSD.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 08 January 2019. Summary of changes for version 20190108:
3
4 This release is available at https://acpica.org/downloads
5
6
7 1) ACPICA kernel-resident subsystem:
8
9 Updated all copyrights to 2019. This affects all source code modules.
10
11
12 2) iASL Compiler/Disassembler and Tools:
13
14 ASL test suite (ASLTS): Updated all copyrights to 2019.
15
16 Tools: Updated all signon copyrights to 2019.
17
18 AcpiExec: Added a new option to dump extra information concerning any 
19 memory leaks detected by the internal object/cache tracking mechanism. -
20 va
21
22 iASL: Updated the table template for the TPM2 table to the newest version 
23 of the table (Revision 4)
24
25
26 ----------------------------------------
27 13 December 2018. Summary of changes for version 20181213:
28
29
30 1) ACPICA Kernel-resident Subsystem:
31
32 Fixed some buffer length issues with the GenericSerialBus, related to two 
33 of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes, 
34 which are rarely seen in the field. For these, the LEN field of the ASL 
35 buffer is now ignored. Hans de Goede
36
37 Implemented a new object evaluation trace mechanism for control methods 
38 and data objects. This includes nested control methods. It is 
39 particularly useful for examining the ACPI execution during system 
40 initialization since the output is relatively terse. The flag below 
41 enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface:
42    #define ACPI_LV_EVALUATION          0x00080000
43
44 Examples:
45    Enter evaluation       :  _SB.PCI0._INI (Method)
46    Exit evaluation        :  _SB.PCI0._INI
47    Enter evaluation       :  _OSI (Method)
48    Exit evaluation        :  _OSI
49    Enter evaluation       :  _SB.PCI0.TEST (Method)
50    Nested method call     :     _SB.PCI0.NST1
51    Exit nested method     :     _SB.PCI0.NST1
52    Exit evaluation        :  _SB.PCI0.TEST
53
54 Added two recently-defined _OSI strings. See 
55 https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-
56 osi.
57    "Windows 2018"
58    "Windows 2018.2"
59
60 Update for buffer-to-string conversions via the ToHexString ASL operator. 
61 A "0x" is now prepended to each of the hex values in the output string. 
62 This provides compatibility with other ACPI implementations. The ACPI 
63 specification is somewhat vague on this issue.
64    Example output string after conversion: 
65 "0x01,0x02,0x03,0x04,0x05,0x06"
66
67 Return a run-time error for TermArg expressions within individual package 
68 elements. Although this is technically supported by the ASL grammar, 
69 other ACPI implementations do not support this either. Also, this fixes a 
70 fault if this type of construct is ever encountered (it never has been).
71
72
73 2) iASL Compiler/Disassembler and Tools:
74
75 iASL: Implemented a new compile option (-ww) that will promote individual 
76 warnings and remarks to errors. This is intended to enhance the firmware 
77 build process.
78
79 AcpiExec: Implemented a new command-line option (-eo) to support the new 
80 object evaluation trace mechanism described above.
81
82 Disassembler: Added support to disassemble OEMx tables as AML/ASL tables 
83 instead of a "unknown table" message.
84
85 AcpiHelp: Improved support for the "special" predefined names such as 
86 _Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be 
87 used for "xx" and "x".
88
89 ----------------------------------------
90 31 October 2018. Summary of changes for version 20181031:
91
92
93 An Operation Region regression was fixed by properly adding address 
94 ranges to a global list during initialization. This allows OS to 
95 accurately check for overlapping regions between native devices (such as 
96 PCI) and Operation regions as well as checking for region conflicts 
97 between two Operation Regions.
98
99 Added support for the 2-byte extended opcodes in the code/feature that 
100 attempts to continue parsing during the table load phase. Skip parsing 
101 Device declarations (and other extended opcodes) when an error occurs 
102 during parsing. Previously, only single-byte opcodes were supported.
103
104 Cleanup: Simplified the module-level code support by eliminating a 
105 useless global variable (AcpiGbl_GroupModuleLeveCode).
106
107
108 2) iASL Compiler/Disassembler and Tools:
109
110 iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE 
111 could cause a fault in the preprocessor. This was an inadvertent side-
112 effect from moving more allocations/frees to the local cache/memory 
113 mechanism.
114
115 iASL: Enhanced error detection by validating that all NameSeg elements 
116 within a NamePatch actually exist. The previous behavior was spotty at 
117 best, and such errors could be improperly ignored at compiler time (never 
118 at runtime, however. There are two new error messages, as shown in the 
119 examples below:
120
121 dsdt.asl     33:     CreateByteField (TTTT.BXXX, 1, CBF1)
122 Error    6161 -                              ^ One or more objects within 
123 the Pathname do not exist (TTTT.BXXX)
124
125 dsdt.asl     34:     CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
126 Error    6160 -        One or more prefix Scopes do not exist ^  
127 (BBBB.CBF1)
128
129 iASL: Disassembler/table-compiler: Added support for the static data 
130 table TPM2 revision 3 (an older version of TPM2). The support has been 
131 added for the compiler and the disassembler.
132
133 Fixed compilation of DOS format data table file on Unix/Linux systems. 
134 iASL now properly detects line continuations (\) for DOS format data 
135 table definition language files on when executing on Unix/Linux.
136
137 ----------------------------------------
138 03 October 2018. Summary of changes for version 20181003:
139
140
141 2) iASL Compiler/Disassembler and Tools:
142
143 Fixed a regression introduced in version 20180927 that could cause the 
144 compiler to fault, especially with NamePaths containing one or more 
145 carats (^). Such as: ^^_SB_PCI0
146
147 Added a new remark for the Sleep() operator when the sleep time operand 
148 is larger than one second. This is a very long time for the ASL/BIOS code 
149 and may not be what was intended by the ASL writer.
150
151 ----------------------------------------
152 27 September 2018. Summary of changes for version 20180927:
153
154
155 1) ACPICA kernel-resident subsystem:
156
157 Updated the GPE support to clear the status of all ACPI events when 
158 entering any/all sleep states in order to avoid premature wakeups. In 
159 theory, this may cause some wakeup events to be missed, but the 
160 likelihood of this is small. This change restores the original behavior 
161 of the ACPICA code in order to fix a regression seen from the previous 
162 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change. 
163 This regression could cause some systems to incorrectly wake immediately.
164
165 Updated the execution of the _REG methods during initialization and 
166 namespace loading to bring the behavior into closer conformance to the 
167 ACPI specification and other ACPI implementations:
168
169 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
170     "Control methods must assume all operation regions are inaccessible 
171 until the _REG(RegionSpace, 1) method is executed"
172
173     "The exceptions to this rule are:
174 1.  OSPM must guarantee that the following operation regions are always 
175 accessible:
176     SystemIO operation regions.
177     SystemMemory operation regions when accessing memory returned by the 
178 System Address Map reporting interfaces."
179
180 Since the state of both the SystemIO and SystemMemory address spaces are 
181 defined by the specification to never change, this ACPICA change ensures 
182 that now _REG is never called on them. This solves some problems seen in 
183 the field and provides compatibility with other ACPI implementations. An 
184 update to the upcoming new version of the ACPI specification will help 
185 clarify this behavior.
186
187 Updated the implementation of support for the Generic Serial Bus. For the 
188 "bidirectional" protocols, the internal implementation now automatically 
189 creates a return data buffer of the maximum size (255). This handles the 
190 worst-case for data that is returned from the serial bus handler, and 
191 fixes some problems seen in the field. This new buffer is directly 
192 returned to the ASL. As such, there is no true "bidirectional" buffer, 
193 which matches the ACPI specification. This is the reason for the "double 
194 store" seen in the example ASL code in the specification, shown below:
195
196 Word Process Call (AttribProcessCall):
197     OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
198     Field(TOP1, BufferAcc, NoLock, Preserve)
199     {
200         FLD1, 8, // Virtual register at command value 1.
201     }
202
203     Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
204                              // as BUFF
205     CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
206
207     Store(0x5416, DATA)               // Save 0x5416 into the data buffer
208     Store(Store(BUFF, FLD1), BUFF)    // Invoke a write/read Process Call 
209 transaction
210                            // This is the "double store". The write to
211                            // FLD1 returns a new buffer, which is stored
212                            // back into BUFF with the second Store.
213
214
215 2) iASL Compiler/Disassembler and Tools:
216
217 iASL: Implemented detection of extraneous/redundant uses of the Offset() 
218 operator within a Field Unit list. A remark is now issued for these. For 
219 example, the first two of the Offset() operators below are extraneous. 
220 Because both the compiler and the interpreter track the offsets 
221 automatically, these Offsets simply refer to the current offset and are 
222 unnecessary. Note, when optimization is enabled, the iASL compiler will 
223 in fact remove the redundant Offset operators and will not emit any AML 
224 code for them.
225
226     OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
227     Field (OPR1)
228     {
229         Offset (0),     // Never needed
230         FLD1, 32,
231         Offset (4),     // Redundant, offset is already 4 (bytes)
232         FLD2, 8,
233         Offset (64),    // OK use of Offset.
234         FLD3, 16,
235     }
236 dsdt.asl     14:         Offset (0),
237 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
238 operator
239
240 dsdt.asl     16:         Offset (4),
241 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
242 operator
243
244 ----------------------------------------
245 10 August 2018. Summary of changes for version 20180810:
246
247
248 1) ACPICA kernel-resident subsystem:
249
250 Initial ACPI table loading: Attempt to continue loading ACPI tables 
251 regardless of malformed AML. Since migrating table initialization to the 
252 new module-level code support, the AML interpreter rejected tables upon 
253 any ACPI error encountered during table load. This is a problem because 
254 non-serious ACPI errors during table load do not necessarily mean that 
255 the entire definition block (DSDT or SSDT) is invalid. This change 
256 improves the table loading by ignoring some types of errors that can be 
257 generated by incorrect AML. This can range from object type errors, scope 
258 errors, and index errors.
259
260 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs 
261 during suspend/resume. The status of ACPI events is no longer cleared 
262 when entering the ACPI S5 system state (power off) which caused some 
263 systems to power up immediately after turning off power in certain 
264 situations. This was a functional regression. It was fixed by clearing 
265 the status of all ACPI events again when entering S5 (for system-wide 
266 suspend or hibernation the clearing of the status of all events is not 
267 desirable, as it might cause the kernel to miss wakeup events sometimes). 
268 Rafael Wysocki.
269
270
271 2) iASL Compiler/Disassembler and Tools:
272
273 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field 
274 elements listed in the initialization file were previously initialized 
275 after the table load and before executing module-level code blocks. 
276 Recent changes in the module-level code support means that the table load 
277 becomes a large control method execution. If fields are used within 
278 module-level code and we are executing with the -fi option, the 
279 initialization values were used to initialize the namespace object(s) 
280 only after the table was finished loading. This change Provides an early 
281 initialization of objects specified in the initialization file so that 
282 field unit values are populated during the table load (not after the 
283 load).
284
285 AcpiExec: Fixed a small memory leak regression that could result in 
286 warnings during exit of the utility. These warnings were similar to 
287 these:
288     0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
289     0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
290
291 ----------------------------------------
292 29 June 2018. Summary of changes for version 20180629:
293
294
295 1) iASL Compiler/Disassembler and Tools:
296
297 iASL: Fixed a regression related to the use of the ASL External 
298 statement. Error checking for the use of the External() statement has 
299 been relaxed. Previously, a restriction on the use of External meant that 
300 the referenced named object was required to be defined in a different 
301 table (an SSDT). Thus it would be an error to declare an object as an 
302 external and then define the same named object in the same table. For 
303 example:
304     DefinitionBlock (...)
305     {
306         External (DEV1)
307         Device (DEV1){...} // This was an error
308     }
309 However, this behavior has caused regressions in some existing ASL code, 
310 because there is code that depends on named objects and externals (with 
311 the same name) being declared in the same table. This change will allow 
312 the ASL code above to compile without errors or warnings.
313
314 iASL: Implemented ASL language extensions for four operators to make some 
315 of their arguments optional instead of required:
316     1) Field (RegionName, AccessType, LockRule, UpdateRule)
317     2) BankField (RegionName, BankName, BankValue,
318                 AccessType, LockRule, UpdateRule)
319     3) IndexField (IndexName, DataName,
320                 AccessType, LockRule, UpdateRule)
321 For the Field operators above, the AccessType, LockRule, and UpdateRule 
322 are now optional arguments. The default values are:
323         AccessType: AnyAcc
324         LockRule:   NoLock
325         UpdateRule: Preserve
326     4) Mutex (MutexName, SyncLevel)
327 For this operator, the SyncLevel argument is now optional. This argument 
328 is rarely used in any meaningful way by ASL code, and thus it makes sense 
329 to make it optional. The default value is:
330         SyncLevel:  0
331
332 iASL: Attempted use of the ASL Unload() operator now results in the 
333 following warning:
334     "Unload is not supported by all operating systems"
335 This is in fact very true, and the Unload operator may be completely 
336 deprecated in the near future.
337
338 AcpiExec: Fixed a regression for the -fi option (Namespace initialization 
339 file. Recent changes in the ACPICA module-level code support altered the 
340 table load/initialization sequence . This means that the table load has 
341 become a large method execution of the table itself. If Operation Region 
342 Fields are used within any module-level code and the -fi option was 
343 specified, the initialization values were populated only after the table 
344 had completely finished loading (and thus the module-level code had 
345 already been executed). This change moves the initialization of objects 
346 listed in the initialization file to before the table is executed as a 
347 method. Field unit values are now initialized before the table execution 
348 is performed.
349
350 ----------------------------------------
351 31 May 2018. Summary of changes for version 20180531:
352
353
354 1) ACPICA kernel-resident Subsystem:
355
356 Implemented additional support to help ensure that a DSDT or SSDT is 
357 fully loaded even if errors are incurred during the load. The majority of 
358 the problems that are seen is the failure of individual AML operators 
359 that occur during execution of any module-level code (MLC) existing in 
360 the table. This support adds a mechanism to abort the current ASL 
361 statement (AML opcode), emit an error message, and to simply move on to 
362 the next opcode -- instead of aborting the entire table load. This is 
363 different than the execution of a control method where the entire method 
364 is aborted upon any error. The goal is to perform a very "best effort" to 
365 load the ACPI tables. The most common MLC errors that have been seen in 
366 the field are direct references to unresolved ASL/AML symbols (referenced 
367 directly without the use of the CondRefOf operator to validate the 
368 symbol). This new ACPICA behavior is now compatible with other ACPI 
369 implementations.
370
371 Interpreter: The Unload AML operator is no longer supported for the 
372 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
373 1) A correct implementation on at least some hosts may not be possible.
374 2) Other ACPI implementations do not correctly/fully support it.
375 3) It requires host device driver support which is not known to exist.
376     (To properly support namespace unload out from underneath.)
377 4) This AML operator has never been seen in the field.
378
379 Parser: Added a debug option to dump AML parse sub-trees as they are 
380 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is 
381 ACPI_DB_PARSE_TREES.
382
383 Debugger: Reduced the verbosity for errors incurred during table load and 
384 module-level code execution.
385
386 Completed an investigation into adding a namespace node "owner list" 
387 instead of the current "owner ID" associated with namespace nodes. This 
388 list would link together all nodes that are owned by an individual 
389 control method. The purpose would be to enhance control method execution 
390 by speeding up cleanup during method exit (all namespace nodes created by 
391 a method are deleted upon method termination.) Currently, the entire 
392 namespace must be searched for matching owner IDs if (and only if) the 
393 method creates named objects outside of the local scope. However, by far 
394 the most common case is that methods create objects locally, not outside 
395 the method scope. There is already an ACPICA optimization in place that 
396 only searches the entire namespace in the rare case of a method creating 
397 objects elsewhere in the namespace. Therefore, it is felt that the 
398 overhead of adding an additional pointer to each namespace node to 
399 implement the owner list makes this feature unnecessary.
400
401
402 2) iASL Compiler/Disassembler and Tools:
403
404 iASL, Disassembler, and Template generator: Implemented support for 
405 Revision D of the IORT table. Adds a new subtable that is used to specify 
406 SMMUv3 PMCGs. rmurphy-arm.
407
408 Disassembler: Restored correct table header validation for the "special" 
409 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI 
410 table header and must be special-cased. This was a regression that has 
411 been present for apparently a long time.
412
413 AcpiExec: Reduced verbosity of the local exception handler implemented 
414 within acpiexec. This handler is invoked by ACPICA upon any exceptions 
415 generated during control method execution. A new option was added: -vh 
416 restores the original verbosity level if desired.
417
418 AcpiExec: Changed the default base from decimal to hex for the -x option 
419 (set debug level). This simplifies the use of this option and matches the 
420 behavior of the corresponding iASL -x option.
421
422 AcpiExec: Restored a force-exit on multiple control-c (sigint) 
423 interrupts. This allows program termination even if other issues cause 
424 the control-c to fail.
425
426 ASL test suite (ASLTS): Added tests for the recently implemented package 
427 element resolution mechanism that allows forward references to named 
428 objects from individual package elements (this mechanism provides 
429 compatibility with other ACPI implementations.)
430
431
432 ----------------------------------------
433 8 May 2018. Summary of changes for version 20180508:
434
435
436 1) ACPICA kernel-resident subsystem:
437
438 Completed the new (recently deployed) package resolution mechanism for 
439 the Load and LoadTable ASL/AML operators. This fixes a regression that 
440 was introduced in version 20180209 that could result in an 
441 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table 
442 (SSDT) that contains package objects.
443
444
445 2) iASL Compiler/Disassembler and Tools:
446
447 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than 
448 1 MB. This change allows for table offsets within the acpidump file to be 
449 up to 8 characters. These changes are backwards compatible with existing 
450 acpidump files.
451
452
453 ----------------------------------------
454 27 April 2018. Summary of changes for version 20180427: 
455
456
457 1) ACPICA kernel-resident subsystem:
458
459 Debugger: Added support for Package objects in the "Test Objects" 
460 command. This command walks the entire namespace and evaluates all named 
461 data objects (Integers, Strings, Buffers, and now Packages).
462
463 Improved error messages for the namespace root node. Originally, the root 
464 was referred to by the confusing string "\___". This has been replaced by 
465 "Namespace Root" for clarification.
466
467 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin 
468 Ian King <colin.king@canonical.com>.
469
470
471 2) iASL Compiler/Disassembler and Tools: 
472
473 iASL: Implemented support to detect and flag illegal forward references. 
474 For compatibility with other ACPI implementations, these references are 
475 now illegal at the root level of the DSDT or SSDTs. Forward references 
476 have always been illegal within control methods. This change should not 
477 affect existing ASL/AML code because of the fact that these references 
478 have always been illegal in the other ACPI implementation.
479
480 iASL: Added error messages for the case where a table OEM ID and OEM 
481 TABLE ID strings are longer than the ACPI-defined length. Previously, 
482 these strings were simply silently truncated.
483
484 iASL: Enhanced the -tc option (which creates an AML hex file in C, 
485 suitable for import into a firmware project):
486   1) Create a unique name for the table, to simplify use of multiple 
487 SSDTs.
488   2) Add a protection #ifdef in the file, similar to a .h header file.
489 With assistance from Sami Mujawar, sami.mujawar@arm.com and Evan Lloyd, 
490 evan.lloyd@arm.com
491
492 AcpiExec: Added a new option, -df, to disable the local fault handler. 
493 This is useful during debugging, where it may be desired to drop into a 
494 debugger on a fault.
495
496 ----------------------------------------
497 13 March 2018. Summary of changes for version 20180313:
498
499
500 1) ACPICA kernel-resident subsystem:
501
502 Implemented various improvements to the GPE support:
503
504 1) Dispatch all active GPEs at initialization time so that no GPEs are 
505 lost.
506 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled 
507 before devices are enumerated.
508 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that 
509 IRQs are not lost.
510 4) Add parallel GPE handling to eliminate the possibility of dispatching 
511 the same GPE twice.
512 5) Dispatch any pending GPEs after enabling for the first time.
513
514 AcpiGetObjectInfo - removed support for the _STA method. This was causing 
515 problems on some platforms.
516
517 Added a new _OSI string, "Windows 2017.2".
518
519 Cleaned up and simplified the module-level code support. These changes 
520 are in preparation for the eventual removal of the legacy MLC support 
521 (deferred execution), replaced by the new MLC architecture which executes 
522 the MLC as a table is loaded (DSDT/SSDTs).
523
524 Changed a compile-time option to a runtime option. Changes the option to 
525 ignore ACPI table load-time package resolution errors into a runtime 
526 option. Used only for platforms that generate many AE_NOT_FOUND errors 
527 during boot. AcpiGbl_IgnorePackageResolutionErrors.
528
529 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some 
530 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid 
531 compilation errors from unused variables (seen with some compilers).
532
533
534 2) iASL Compiler/Disassembler and Tools:
535
536 ASLTS: parallelized execution in order to achieve an (approximately) 2X 
537 performance increase.
538
539 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves 
540 error reporting.
541
542 ----------------------------------------
543 09 February 2018. Summary of changes for version 20180209:
544
545
546 1) ACPICA kernel-resident subsystem:
547
548 Completed the final integration of the recent changes to Package Object 
549 handling and the module-level AML code support. This allows forward 
550 references from individual package elements when the package object is 
551 declared from within module-level code blocks. Provides compatibility 
552 with other ACPI implementations.
553
554 The new architecture for the AML module-level code has been completed and 
555 is now the default for the ACPICA code. This new architecture executes 
556 the module-level code in-line as the ACPI table is loaded/parsed instead 
557 of the previous architecture which deferred this code until after the 
558 table was fully loaded. This solves some ASL code ordering issues and 
559 provides compatibility with other ACPI implementations. At this time, 
560 there is an option to fallback to the earlier architecture, but this 
561 support is deprecated and is planned to be completely removed later this 
562 year.
563
564 Added a compile-time option to ignore AE_NOT_FOUND exceptions during 
565 resolution of named reference elements within Package objects. Although 
566 this is potentially a serious problem, it can generate a lot of 
567 noise/errors on platforms whose firmware carries around a bunch of unused 
568 Package objects. To disable these errors, define 
569 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All 
570 errors are always reported for ACPICA applications such as AcpiExec.
571
572 Fixed a regression related to the explicit type-conversion AML operators 
573 (ToXXXX). The regression was introduced early in 2017 but was not seen 
574 until recently because these operators are not fully supported by other 
575 ACPI implementations and are thus rarely used by firmware developers. The 
576 operators are defined by the ACPI specification to not implement the 
577 "implicit result object conversion". The regression incorrectly 
578 introduced this object conversion for the following explicit conversion 
579 operators:
580     ToInteger
581     ToString
582     ToBuffer
583     ToDecimalString
584     ToHexString
585     ToBCD
586     FromBCD
587
588
589 2) iASL Compiler/Disassembler and Tools:
590
591 iASL: Fixed a problem with the compiler constant folding feature as 
592 related to the ToXXXX explicit conversion operators. These operators do 
593 not support the "implicit result object conversion" by definition. Thus, 
594 ASL expressions that use these operators cannot be folded to a simple 
595 Store operator because Store implements the implicit conversion. This 
596 change uses the CopyObject operator for the ToXXXX operator folding 
597 instead. CopyObject is defined to not implement implicit result 
598 conversions and is thus appropriate for folding the ToXXXX operators.
599
600 iASL: Changed the severity of an error condition to a simple warning for 
601 the case where a symbol is declared both locally and as an external 
602 symbol. This accommodates existing ASL code.
603
604 AcpiExec: The -ep option to enable the new architecture for module-level 
605 code has been removed. It is replaced by the -dp option which instead has 
606 the opposite effect: it disables the new architecture (the default) and 
607 enables the legacy architecture. When the legacy code is removed in the 
608 future, the -dp option will be removed also.
609
610 ----------------------------------------
611 05 January 2018. Summary of changes for version 20180105:
612
613
614 1) ACPICA kernel-resident subsystem:
615
616 Updated all copyrights to 2018. This affects all source code modules.
617
618 Fixed a possible build error caused by an unresolved reference to the 
619 AcpiUtSafeStrncpy function.
620
621 Removed NULL pointer arithmetic in the various pointer manipulation 
622 macros. All "(void *) NULL" constructs are converted to "(void *) 0". 
623 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
624
625 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj 
626 Mittal.
627
628
629 2) iASL Compiler/Disassembler and Tools:
630
631 ASLTS: Updated all copyrights to 2018.
632
633 Tools: Updated all signon copyrights to 2018.
634
635 AcpiXtract: Fixed a regression related to ACPI table signatures where the 
636 signature was truncated to 3 characters (instead of 4).
637
638 AcpiExec: Restore the original terminal mode after the use of the -v and 
639 -vd options.
640
641 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
642
643 ----------------------------------------
644 14 December 2017. Summary of changes for version 20171214:
645
646
647 1) ACPICA kernel-resident subsystem:
648
649 Fixed a regression in the external (public) AcpiEvaluateObjectTyped 
650 interface where the optional "pathname" argument had inadvertently become 
651 a required argument returning an error if omitted (NULL pointer 
652 argument).
653
654 Fixed two possible memory leaks related to the recently developed "late 
655 resolution" of reference objects within ASL Package Object definitions.
656
657 Added two recently defined _OSI strings: "Windows 2016" and "Windows 
658 2017". Mario Limonciello.
659
660 Implemented and deployed a safer version of the C library function 
661 strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the 
662 creation of unterminated strings as a possible result of a standard 
663 strncpy.
664
665 Cleaned up and restructured the global variable file (acglobal.h). There 
666 are many changes, but no functional changes.
667
668
669 2) iASL Compiler/Disassembler and Tools:
670
671 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the 
672 optional OemData field at the end of the table was incorrectly required 
673 for proper compilation. It is now correctly an optional field.
674
675 ASLTS: The entire suite was converted from standard ASL to the ASL+ 
676 language, using the ASL-to-ASL+ converter which is integrated into the 
677 iASL compiler. A binary compare of all output files has verified the 
678 correctness of the conversion.
679
680 iASL: Fixed the source code build for platforms where "char" is unsigned. 
681 This affected the iASL lexer only. Jung-uk Kim.
682
683 ----------------------------------------
684 10 November 2017. Summary of changes for version 20171110:
685
686
687 1) ACPICA kernel-resident subsystem:
688
689 This release implements full support for ACPI 6.2A:
690     NFIT - Added a new subtable, "Platform Capabilities Structure"
691 No other changes to ACPICA were required, since ACPI 6.2A is primarily an 
692 errata release of the specification.
693
694 Other ACPI table changes:
695     IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
696     PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy 
697 Linton
698
699 Utilities: Modified the string/integer conversion functions to use 
700 internal 64-bit divide support instead of a native divide. On 32-bit 
701 platforms, a 64-bit divide typically requires a library function which 
702 may not be present in the build (kernel or otherwise).
703
704 Implemented a targeted error message for timeouts returned from the 
705 Embedded Controller device driver. This is seen frequently enough to 
706 special-case an AE_TIME returned from an EC operation region access:
707     "Timeout from EC hardware or EC device driver"
708
709 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all 
710 runtime error messages have the identical prefix.
711
712
713 2) iASL Compiler/Disassembler and Tools:
714
715 AcpiXtract: Fixed a problem with table header detection within the 
716 acpidump file. Processing a table could be ended early if a 0x40 (@) 
717 appears in the original binary table, resulting in the @ symbol appearing 
718 in the decoded ASCII field at the end of the acpidump text line. The 
719 symbol caused acpixtract to incorrectly think it had reached the end of 
720 the current table and the beginning of a new table.
721
722 AcpiXtract: Added an option (-f) to ignore some errors during table 
723 extraction. This initial implementation ignores non-ASCII and non-
724 printable characters found in the acpidump text file.
725
726 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics 
727 for ASLTS. This feature is used to track memory allocations from 
728 different memory caches within the ACPICA code. At the end of an ASLTS 
729 run, these memory statistics are recorded and stored in a log file.
730
731 Debugger (user-space version): Implemented a simple "Background" command. 
732 Creates a new thread to execute a control method in the background, while 
733 control returns to the debugger prompt to allow additional commands.
734     Syntax: Background <Namepath> [Arguments]
735
736 ----------------------------------------
737 29 September 2017. Summary of changes for version 20170929:
738
739
740 1) ACPICA kernel-resident subsystem:
741
742 Redesigned and implemented an improved ASL While() loop timeout 
743 mechanism. This mechanism is used to prevent infinite loops in the kernel 
744 AML interpreter caused by either non-responsive hardware or incorrect AML 
745 code. The new implementation uses AcpiOsGetTimer instead of a simple 
746 maximum loop count, and is thus more accurate and constant across 
747 different machines. The default timeout is currently 30 seconds, but this 
748 may be adjusted later.
749
750 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to 
751 better reflect the new implementation of the loop timeout mechanism.
752
753 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support 
754 and to fix an off-by-one error. Jung-uk Kim.
755
756 Fixed an EFI build problem by updating the makefiles to for a new file 
757 that was added, utstrsuppt.c
758
759
760 2) iASL Compiler/Disassembler and Tools:
761
762 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This 
763 includes support in the table disassembler, compiler, and template 
764 generator.
765
766 iASL: Added an exception for an illegal type of recursive method 
767 invocation. If a method creates named objects, the first recursive call 
768 will fail at runtime. This change adds an error detection at compile time 
769 to catch the problem up front. Note: Marking such a method as 
770 "serialized" will not help with this problem, because the same thread can 
771 acquire the method mutex more than once. Example compiler and runtime 
772 output:
773
774     Method (MTH1)
775     {
776         Name (INT1, 1)
777         MTH1 ()
778     }
779
780     dsdt.asl     22: MTH1 ()
781     Error    6152 -  ^ Illegal recursive call to method
782                        that creates named objects (MTH1)
783
784 Previous runtime exception:
785     ACPI Error: [INT1] Namespace lookup failure,
786     AE_ALREADY_EXISTS (20170831/dswload2-465)
787
788 iASL: Updated support for External() opcodes to improve namespace 
789 management and error detection. These changes are related to issues seen 
790 with multiple-segment namespace pathnames within External declarations, 
791 such as below:
792
793     External(\_SB.PCI0.GFX0, DeviceObj)
794     External(\_SB.PCI0.GFX0.ALSI)
795
796 iASL: Implemented support for multi-line error/warning messages. This 
797 enables more detailed and helpful error messages as below, from the 
798 initial deployment for the duplicate names error:
799
800     DSDT.iiii   1692:       Device(PEG2) {
801     Error    6074 -                  ^ Name already exists in scope 
802 (PEG2)
803
804         Original name creation/declaration below:
805         DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
806
807 AcpiXtract: Added additional flexibility to support differing input hex 
808 dump formats. Specifically, hex dumps that contain partial disassembly 
809 and/or comments within the ACPI table data definition. There exist some 
810 dump utilities seen in the field that create this type of hex dump (such 
811 as Simics). For example:
812
813     DSDT @ 0xdfffd0c0 (10999 bytes)
814         Signature DSDT
815         Length 10999
816         Revision 1
817         Checksum 0xf3 (Ok)
818         OEM_ID BXPC
819         OEM_table_id BXDSDT
820         OEM_revision 1
821         Creator_id 1280593481
822         Creator_revision 537399345
823       0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
824       ...
825       2af0: 5f 4c 30 46 00 a4 01
826
827 Test suite: Miscellaneous changes/fixes:
828     More cleanup and simplification of makefiles
829     Continue compilation of test cases after a compile failure
830     Do not perform binary compare unless both files actually exist
831
832 iASL: Performed some code/module restructuring. Moved all memory 
833 allocation functions to new modules. Two new files, aslallocate.c and 
834 aslcache.c
835
836 ----------------------------------------
837 31 August 2017. Summary of changes for version 20170831:
838
839
840 1) ACPICA kernel-resident subsystem:
841
842 Implemented internal support for full 64-bit addresses that appear in all 
843 Generic Address Structure (GAS) structures. Previously, only the lower 32 
844 bits were used. Affects the use of GAS structures in the FADT and other 
845 tables, as well as the GAS structures passed to the AcpiRead and 
846 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
847
848 Added header support for the PDTT ACPI table (Processor Debug Trigger 
849 Table). Full support in the iASL Data Table Compiler and disassembler is 
850 forthcoming.
851
852
853 2) iASL Compiler/Disassembler and Tools:
854
855 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
856 Properties Topology Table) where a flag bit was specified in the wrong 
857 bit position ("Line Size Valid", bit 6).
858
859 iASL: Implemented support for Octal integer constants as defined by the 
860 ASL language grammar, per the ACPI specification. Any integer constant 
861 that starts with a zero is an octal constant. For example,
862     Store (037777, Local0) /* Octal constant */
863     Store (0x3FFF, Local0) /* Hex equivalent */
864     Store (16383,  Local0) /* Decimal equivalent */
865
866 iASL: Improved overflow detection for 64-bit string conversions during 
867 compilation of integer constants. "Overflow" in this case means a string 
868 that represents an integer that is too large to fit into a 64-bit value. 
869 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
870 the low-order 32 bits with a warning, as previously implemented. Several 
871 new exceptions are defined that indicate a 64-bit overflow, as well as 
872 the base (radix) that was used during the attempted conversion. Examples:
873     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
874     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
875     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
876
877 iASL: Added a warning for the case where a ResourceTemplate is declared 
878 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
879 this case, the resulting template is created with a single END_TAG 
880 descriptor, which is essentially useless.
881
882 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
883 include compilation error codes as well.
884
885 ----------------------------------------
886 28 July 2017. Summary of changes for version 20170728:
887
888
889 1) ACPICA kernel-resident subsystem:
890
891 Fixed a regression seen with small resource descriptors that could cause 
892 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
893
894 AML interpreter: Implemented a new feature that allows forward references 
895 from individual named references within package objects that are 
896 contained within blocks of "module-level code". This provides 
897 compatibility with other ACPI implementations and supports existing 
898 firmware that depends on this feature. Example:
899
900     Name (ABCD, 1)
901     If (ABCD)                       /* An If() at module-level */
902     {
903         Name (PKG1, Package()
904         {
905             INT1                    /* Forward reference to object INT1 
906 */
907         })
908         Name (INT1, 0x1234)
909     }
910
911 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
912 to some ASL objects were not handled properly. Objects affected are: 
913 Mutex, Event, and OperationRegion.
914
915 AML Debugger: Enhanced to properly handle AML Alias objects. These 
916 objects have one level of indirection which was not fully supported by 
917 the debugger.
918
919 Table Manager: Added support to detect and ignore duplicate SSDTs within 
920 the XSDT/RSDT. This error in the XSDT has been seen in the field.
921
922 EFI and EDK2 support:
923     Enabled /WX flag for MSVC builds
924     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
925     Added local support for 64-bit multiply and shift operations
926     Added support to compile acpidump.efi on Windows
927     Added OSL function stubs for interfaces not used under EFI
928
929 Added additional support for the _DMA predefined name. _DMA returns a 
930 buffer containing a resource template. This change add support within the 
931 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
932 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
933
934
935 2) iASL Compiler/Disassembler and Tools:
936
937 iASL: Fixed a problem where the internal input line buffer(s) could 
938 overflow if there are very long lines in the input ASL source code file. 
939 Implemented buffer management that automatically increases the size of 
940 the buffers as necessary.
941
942 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
943 errors. If the specified exception is not raised during compilation, the 
944 compiler emits an error. This is intended to support the ASL test suite, 
945 but may be useful in other contexts.
946
947 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
948 string containing the name of the current control method that is being 
949 compiled.
950
951 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
952 table (Software Delegated Exception Interface). James Morse 
953 <james.morse@arm.com>
954
955 Unix/Linux makefiles: Added an option to disable compile optimizations. 
956 The disable occurs when the NOOPT flag is set to TRUE. 
957 theracermaster@gmail.com
958
959 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
960 when there are different tables for 32-bit versus 64-bit.
961
962 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
963 unnecessary/verbose text, and emit the actual line number where an error 
964 has occurred. These changes are intended to improve the usefulness of the 
965 test suite.
966
967 ----------------------------------------
968 29 June 2017. Summary of changes for version 20170629:
969
970
971 1) ACPICA kernel-resident subsystem:
972
973 Tables: Implemented a deferred ACPI table verification. This is useful 
974 for operating systems where the tables cannot be verified in the early 
975 initialization stage due to early memory mapping limitations on some 
976 architectures. Lv Zheng.
977
978 Tables: Removed the signature validation for dynamically loaded tables. 
979 Provides compatibility with other ACPI implementations. Previously, only 
980 SSDT tables were allowed, as per the ACPI specification. Now, any table 
981 signature can be used via the Load() operator. Lv Zheng.
982
983 Tables: Fixed several mutex issues that could cause errors during table 
984 acquisition. Lv Zheng.
985
986 Tables: Fixed a problem where an ACPI warning could be generated if a 
987 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
988
989 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
990 AcpiPutTable interfaces. This applies to the "late stage" table loading 
991 when the use of AcpiPutTable is no longer required (since the system 
992 memory manager is fully running and available). Lv Zheng.
993
994 Fixed/Reverted a regression during processing of resource descriptors 
995 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
996 exception in this case.
997
998 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
999 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
1000
1001 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
1002 or duplicate target is encountered during Alias creation in 
1003 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
1004
1005 Added an option to use designated initializers for function pointers. 
1006 Kees Cook <keescook@google.com>
1007
1008
1009 2) iASL Compiler/Disassembler and Tools:
1010
1011 iASL: Allow compilation of External declarations with target pathnames 
1012 that refer to existing named objects within the table. Erik Schmauss.
1013
1014 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
1015 FieldUnit name also is declared via External in the same table. Erik 
1016 Schmauss.
1017
1018 iASL: Allow existing scope names within pathnames used in External 
1019 statements. For example:
1020     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
1021     Device (ABCD)
1022
1023 iASL: IORT ACPI table: Implemented changes required to decode the new 
1024 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
1025 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
1026
1027 Disassembler: Don't abort disassembly on errors from External() 
1028 statements. Erik Schmauss.
1029
1030 Disassembler: fixed a possible fault when one of the Create*Field 
1031 operators references a Resource Template. ACPICA Bugzilla 1396.
1032
1033 iASL: In the source code, resolved some naming inconsistences across the 
1034 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
1035 Adds a new file, aslparseop.c
1036
1037 ----------------------------------------
1038 31 May 2017. Summary of changes for version 20170531:
1039
1040
1041 0) ACPI 6.2 support:
1042
1043 The ACPI specification version 6.2 has been released and is available at
1044 http://uefi.org/specifications
1045
1046 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
1047 are summarized below.
1048
1049 New ACPI tables (Table Compiler/Disassembler/Templates):
1050     HMAT (Heterogeneous Memory Attributes Table)
1051     WSMT (Windows SMM Security Mitigation Table)
1052     PPTT (Processor Properties Topology Table)
1053
1054 New subtables for existing ACPI tables:
1055     HEST (New subtable, Arch-deferred machine check)
1056     SRAT (New subtable, Arch-specific affinity structure)
1057     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
1058
1059 Simple updates for existing ACPI tables:
1060     BGRT (two new flag bits)
1061     HEST (New bit defined for several subtables, GHES_ASSIST)
1062
1063 New Resource Descriptors and Resource macros (Compiler/Disassembler):
1064     PinConfig()
1065     PinFunction()
1066     PinGroup()
1067     PinGroupConfig()
1068     PinGroupFunction()
1069     New type for hardware error notification (section 18.3.2.9)
1070
1071 New predefined names/methods (Compiler/Interpreter):
1072     _HMA (Heterogeneous Memory Attributes)
1073     _LSI (Label Storage Information)
1074     _LSR (Label Storage Read)
1075     _LSW (Label Storage Write)
1076
1077 ASL grammar/macro changes (Compiler):
1078     For() ASL macro, implemented with the AML while operator
1079     Extensions to Concatenate operator
1080     Support for multiple definition blocks in same ASL file
1081     Clarification for Buffer operator
1082     Allow executable AML code underneath all scopes (Devices, etc.)
1083     Clarification/change for the _OSI return value
1084     ASL grammar update for reference operators
1085     Allow a zero-length string for AML filename in DefinitionBlock
1086
1087 Miscellaneous:
1088     New device object notification value
1089     Remove a notify value (0x0C) for graceful shutdown
1090     New UUIDs for processor/cache properties and
1091         physical package property
1092     New _HID, ACPI0014 (Wireless Power Calibration Device)
1093
1094
1095 1) ACPICA kernel-resident subsystem:
1096
1097 Added support to disable ACPI events on hardware-reduced platforms. 
1098 Eliminates error messages of the form "Could not enable fixed event". Lv 
1099 Zheng
1100
1101 Fixed a problem using Device/Thermal objects with the ObjectType and 
1102 DerefOf ASL operators. This support had not been fully/properly 
1103 implemented.
1104
1105 Fixed a problem where if a Buffer object containing a resource template 
1106 was longer than the actual resource template, an error was generated -- 
1107 even though the AML is legal. This case has been seen in the field.
1108
1109 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
1110 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
1111
1112 Added header file changes for the TPM2 ACPI table. Update to new version 
1113 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
1114
1115 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
1116 These interfaces are intended to be used only in conjunction with the 
1117 predefined _DLM method (Device Lock Method). "This object appears in a 
1118 device scope when AML access to the device must be synchronized with the 
1119 OS environment".
1120
1121 Example Code and Data Size: These are the sizes for the OS-independent 
1122 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1123 debug version of the code includes the debug output trace mechanism and 
1124 has a much larger code and data size.
1125
1126   Current Release:
1127     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
1128     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
1129   Previous Release:
1130     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1131     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
1132
1133
1134 2) iASL Compiler/Disassembler and Tools:
1135
1136 iASL: Fixed a problem where an External() declaration could not refer to 
1137 a Field Unit. Erik Schmauss.
1138
1139 Disassembler: Improved support for the Switch/Case operators. This 
1140 feature will disassemble AML code back to the original Switch operators 
1141 when possible, instead of an If..Else sequence. David Box
1142
1143 iASL and disassembler: Improved the handling of multiple extraneous 
1144 parentheses for both ASL input and disassembled ASL output.
1145
1146 Improved the behavior of the iASL compiler and disassembler to detect 
1147 improper use of external declarations
1148
1149 Disassembler: Now aborts immediately upon detection of an unknown AML 
1150 opcode. The AML parser has no real way to recover from this, and can 
1151 result in the creation of an ill-formed parse tree that causes errors 
1152 later during the disassembly.
1153
1154 All tools: Fixed a problem where the Unix application OSL did not handle 
1155 control-c correctly. For example, a control-c could incorrectly wake the 
1156 debugger.
1157
1158 AcpiExec: Improved the Control-C handling and added a handler for 
1159 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
1160 environments.
1161
1162 Reduced the verbosity of the generic unix makefiles. Previously, each 
1163 compilation displayed the full set of compiler options. This has been 
1164 eliminated as the options are easily inspected within the makefiles. Each 
1165 compilation now results in a single line of output.
1166
1167 ----------------------------------------
1168 03 March 2017. Summary of changes for version 20170303:
1169
1170
1171 0) ACPICA licensing:
1172
1173 The licensing information at the start of each source code module has 
1174 been updated. In addition to the Intel license, the dual GPLv2/BSD 
1175 license has been added for completeness. Now, a single version of the 
1176 source code should be suitable for all ACPICA customers. This is the 
1177 major change for this release since it affects all source code modules.
1178
1179
1180 1) ACPICA kernel-resident subsystem: 
1181
1182 Fixed two issues with the common asltypes.h header that could cause 
1183 problems in some environments: (Kim Jung-uk)
1184     Removed typedef for YY_BUFFER_STATE ?
1185        Fixes an error with earlier versions of Flex.
1186     Removed use of FILE typedef (which is only defined in stdio.h)
1187
1188
1189 2) iASL Compiler/Disassembler and Tools: 
1190
1191 Disassembler: fixed a regression introduced in 20170224. A fix for a 
1192 memory leak related to resource descriptor tags (names) could fault when 
1193 the disassembler was generated with 64-bit compilers.
1194
1195 The ASLTS test suite has been updated to implement a new testing 
1196 architecture. During generation of the suite from ASL source, both the 
1197 ASL and ASL+ compilers are now validated, as well as the disassembler 
1198 itself (Erik Schmauss). The architecture executes as follows:
1199
1200     For every ASL source module:
1201         Compile (legacy ASL compilation)
1202         Disassemble the resulting AML to ASL+ source code
1203         Compile the new ASL+ module
1204         Perform a binary compare on the legacy AML and the new ASL+ AML
1205     The ASLTS suite then executes normally using the AML binaries.
1206
1207 ----------------------------------------
1208 24 February 2017. Summary of changes for version 20170224:
1209
1210
1211 1) ACPICA kernel-resident subsystem:
1212
1213 Interpreter: Fixed two issues with the control method return value auto-
1214 repair feature, where an attempt to double-delete an internal object 
1215 could result in an ACPICA warning (for _CID repair and others). No fault 
1216 occurs, however, because the attempted deletion (actually a release to an 
1217 internal cache) is detected and ignored via object poisoning.
1218
1219 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
1220 of control methods. If certain debugger commands are executed during 
1221 stepping, a mutex aquire/release error could occur. Lv Zheng.
1222
1223 Fixed some issues generating ACPICA with the Intel C compiler by 
1224 restoring the original behavior and compiler-specific include file in 
1225 acenv.h. Lv Zheng.
1226
1227 Example Code and Data Size: These are the sizes for the OS-independent 
1228 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1229 debug version of the code includes the debug output trace mechanism and 
1230 has a much larger code and data size.
1231
1232   Current Release:
1233     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1234     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
1235   Previous Release:
1236     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1237     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1238
1239
1240 2) iASL Compiler/Disassembler and Tools:
1241
1242 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
1243 tool has been designed, implemented, and included in this release. The 
1244 key feature of this utility is that the original comments within the 
1245 input ASL file are preserved during the conversion process, and included 
1246 within the converted ASL+ file -- thus creating a transparent conversion 
1247 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
1248
1249     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
1250 converted code
1251
1252 iASL/Disassembler: Improved the detection and correct disassembly of 
1253 Switch/Case operators. This feature detects sequences of if/elseif/else 
1254 operators that originated from ASL Switch/Case/Default operators and 
1255 emits the original operators. David Box.
1256
1257 iASL: Improved the IORT ACPI table support in the following areas. Lv 
1258 Zheng:
1259     Clear MappingOffset if the MappingCount is zero.
1260     Fix the disassembly of the SMMU GSU interrupt offset.
1261     Update the template file for the IORT table.
1262
1263 Disassembler: Enhanced the detection and disassembly of resource 
1264 template/descriptor within a Buffer object. An EndTag descriptor is now 
1265 required to have a zero second byte, since all known ASL compilers emit 
1266 this. This helps eliminate incorrect decisions when a buffer is 
1267 disassembled (false positives on resource templates).
1268
1269 ----------------------------------------
1270 19 January 2017. Summary of changes for version 20170119:
1271
1272
1273 1) General ACPICA software:
1274
1275 Entire source code base: Added the 2017 copyright to all source code 
1276 legal/licensing module headers and utility/tool signons. This includes 
1277 the standard Linux dual-license header. This affects virtually every file 
1278 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
1279 the ACPICA test suite.
1280
1281
1282 2) iASL Compiler/Disassembler and Tools:
1283
1284 iASL: Removed/fixed an inadvertent remark when a method argument 
1285 containing a reference is used as a target operand within the method (and 
1286 never used as a simple argument), as in the example below. Jeffrey Hugo.
1287
1288     dsdt.asl   1507:    Store(0x1, Arg0)
1289     Remark   2146 -                ^ Method Argument is never used (Arg0)
1290
1291 All tools: Removed the bit width of the compiler that generated the tool 
1292 from the common signon for all user space tools. This proved to be 
1293 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
1294 from the generic makefiles (Thomas Petazzoni). Example below.
1295
1296     Old:
1297     ASL+ Optimizing Compiler version 20170119-32
1298     ASL+ Optimizing Compiler version 20170119-64
1299
1300     New:
1301     ASL+ Optimizing Compiler version 20170119
1302
1303 ----------------------------------------
1304 22 December 2016. Summary of changes for version 20161222:
1305
1306
1307 1) ACPICA kernel-resident subsystem:
1308
1309 AML Debugger: Implemented a new mechanism to simplify and enhance 
1310 debugger integration into all environments, including kernel debuggers 
1311 and user-space utilities, as well as remote debug services. This 
1312 mechanism essentially consists of new OSL interfaces to support debugger 
1313 initialization/termination, as well as wait/notify interfaces to perform 
1314 the debugger handshake with the host. Lv Zheng.
1315
1316     New OSL interfaces:
1317         AcpiOsInitializeDebugger (void)
1318         AcpiOsTerminateDebugger (void)
1319         AcpiOsWaitCommandReady (void)
1320         AcpiOsNotifyCommandComplete (void)
1321
1322     New OS services layer:
1323         osgendbg.c -- Example implementation, and used for AcpiExec
1324
1325 Update for Generic Address Space (GAS) support: Although the AccessWidth 
1326 and/or BitOffset fields of the GAS are not often used, this change now 
1327 fully supports these fields. This affects the internal support for FADT 
1328 registers, registers in other ACPI data tables, and the AcpiRead and 
1329 AcpiWrite public interfaces. Lv Zheng.
1330
1331 Sleep support: In order to simplify integration of ACPI sleep for the 
1332 various host operating systems, a new OSL interface has been introduced. 
1333 AcpiOsEnterSleep allows the host to perform any required operations 
1334 before the final write to the sleep control register(s) is performed by 
1335 ACPICA. Lv Zheng.
1336
1337     New OSL interface:
1338         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
1339
1340     Called from these internal interfaces:
1341         AcpiHwLegacySleep
1342         AcpiHwExtendedSleep
1343
1344 EFI support: Added a very small EFI/ACPICA example application. Provides 
1345 a simple demo for EFI integration, as well as assisting with resolution 
1346 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
1347
1348     source/tools/efihello/efihello.c
1349
1350 Local C library: Implemented several new functions to enhance ACPICA 
1351 portability, for environments where these clib functions are not 
1352 available (such as EFI). Lv Zheng:
1353     putchar
1354     getchar
1355     strpbrk
1356     strtok
1357     memmove
1358
1359 Fixed a regression where occasionally a valid resource descriptor was 
1360 incorrectly detected as invalid at runtime, and a 
1361 AE_AML_NO_RESOURCE_END_TAG was returned.
1362
1363 Fixed a problem with the recently implemented support that enables 
1364 control method invocations as Target operands to many ASL operators. 
1365 Warnings of this form: "Needed type [Reference], found [Processor]" were 
1366 seen at runtime for some method invocations.
1367
1368 Example Code and Data Size: These are the sizes for the OS-independent 
1369 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1370 debug version of the code includes the debug output trace mechanism and 
1371 has a much larger code and data size.
1372
1373   Current Release:
1374     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
1375     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
1376   Previous Release:
1377     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1378     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1379
1380
1381 2) iASL Compiler/Disassembler and Tools:
1382
1383 Disassembler: Enhanced output by adding the capability to detect and 
1384 disassemble ASL Switch/Case statements back to the original ASL source 
1385 code instead of if/else blocks. David Box.
1386
1387 AcpiHelp: Split a large file into separate files based upon 
1388 functionality/purpose. New files are:
1389     ahaml.c
1390     ahasl.c
1391
1392 ----------------------------------------
1393 17 November 2016. Summary of changes for version 20161117:
1394
1395
1396 1) ACPICA kernel-resident subsystem:
1397
1398 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
1399 cleanup". This was an attempt to remove all references in the source to 
1400 the FADT version 2, which never was a legal version number. It was 
1401 skipped because it was an early version of 64-bit support that was 
1402 eventually abandoned for the current 64-bit support.
1403
1404 Interpreter: Fixed a problem where runtime implicit conversion was 
1405 incorrectly disabled for the ASL operators below. This brings the 
1406 behavior into compliance with the ACPI specification:
1407     FromBCD
1408     ToBCD
1409     ToDecimalString
1410     ToHexString
1411     ToInteger
1412     ToBuffer
1413
1414 Table Manager: Added a new public interface, AcpiPutTable, used to 
1415 release and free an ACPI table returned by AcpiGetTable and related 
1416 interfaces. Lv Zheng.
1417
1418 Example Code and Data Size: These are the sizes for the OS-independent 
1419 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1420 debug version of the code includes the debug output trace mechanism and 
1421 has a much larger code and data size.
1422
1423   Current Release:
1424     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1425     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1426   Previous Release:
1427     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1428     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1429
1430
1431 2) iASL Compiler/Disassembler and Tools:
1432
1433 Disassembler: Fixed a regression for disassembly of Resource Template. 
1434 Detection of templates in the AML stream missed some types of templates.
1435
1436 iASL: Fixed a problem where an Access Size error was returned for the PCC 
1437 address space when the AccessSize of the GAS register is greater than a 
1438 DWORD. Hoan Tran.
1439
1440 iASL: Implemented several grammar changes for the operators below. These 
1441 changes are slated for the next version of the ACPI specification:
1442     RefOf        - Disallow method invocation as an operand
1443     CondRefOf    - Disallow method invocation as an operand
1444     DerefOf      - Disallow operands that use the result from operators 
1445 that
1446                    do not return a reference (Changed TermArg to 
1447 SuperName).
1448
1449 iASL: Control method invocations are now allowed for Target operands, as 
1450 per the ACPI specification. Removed error for using a control method 
1451 invocation as a Target operand.
1452
1453 Disassembler: Improved detection of Resource Templates, Unicode, and 
1454 Strings within Buffer objects. These subtypes do not contain a specific 
1455 opcode to indicate the originating ASL code, and they must be detected by 
1456 other means within the disassembler. 
1457
1458 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
1459 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
1460 only after 64-bit to 32-bit truncation. A truncation warning message is 
1461 still emitted, however.
1462
1463 AcpiXtract: Implemented handling for both types of line terminators (LF 
1464 or CR/LF) so that it can accept AcpiDump output files from any system. 
1465 Peter Wu.
1466
1467 AcpiBin: Added two new options for comparing AML files:
1468     -a: compare and display ALL mismatches
1469     -o: start compare at this offset into the second file
1470
1471 ----------------------------------------
1472 30 September 2016. Summary of changes for version 20160930:
1473
1474
1475 1) ACPICA kernel-resident subsystem:
1476
1477 Fixed a regression in the internal AcpiTbFindTable function where a non 
1478 AE_OK exception could inadvertently be returned even if the function did 
1479 not fail. This problem affects the following operators:
1480     DataTableRegion
1481     LoadTable
1482
1483 Fixed a regression in the LoadTable operator where a load to any 
1484 namespace location other than the root no longer worked properly.
1485
1486 Increased the maximum loop count value that will result in the 
1487 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
1488 prevent infinite loops within the AML interpreter and thus the host OS 
1489 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
1490 1,048,575).
1491
1492 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
1493 acpixf.h file. This allows hosts to easily configure the maximum loop 
1494 count at runtime.
1495
1496 Removed an illegal character in the strtoul64.c file. This character 
1497 caused errors with some C compilers.
1498
1499 Example Code and Data Size: These are the sizes for the OS-independent 
1500 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1501 debug version of the code includes the debug output trace mechanism and 
1502 has a much larger code and data size.
1503
1504   Current Release:
1505     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1506     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1507   Previous Release:
1508     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
1509     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1510
1511
1512 2) iASL Compiler/Disassembler and Tools:
1513
1514 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
1515 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
1516 block could be lost and missing from the disassembled output.
1517
1518 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
1519 the missing rule caused a parse error when using the Index operator as an 
1520 operand to ObjectType. This construct now compiles properly. Example:
1521     ObjectType(PKG1[4]).
1522
1523 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
1524 option). Previously, unresolved symbols could cause a protection fault. 
1525 Such symbols are now marked as unresolved in the map file.
1526
1527 iASL: Implemented support to allow control method invocations as an 
1528 operand to the ASL DeRefOf operator. Example:
1529     DeRefOf(MTH1(Local0))
1530
1531 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
1532 possible _PLD buffer now includes examination of both the normal buffer 
1533 length (16 or 20) as well as the surrounding AML package length.
1534
1535 Disassembler: Fixed a problem with the decoding of complex expressions 
1536 within the Divide operator for ASL+. For the case where both the quotient 
1537 and remainder targets are specified, the entire statement cannot be 
1538 disassembled. Previously, the output incorrectly contained a mix of ASL- 
1539 and ASL+ operators. This mixed statement causes a syntax error when 
1540 compiled. Example:
1541     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
1542 disassembled to:
1543     Divide (INT1 + 6, 128, RSLT, QUOT)
1544
1545 iASL/Tools: Added support to process AML and non-AML ACPI tables 
1546 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
1547 tables (AML and data tables). For the iASL -e option, allow only AML 
1548 tables (DSDT/SSDT).
1549
1550 ----------------------------------------
1551 31 August 2016. Summary of changes for version 20160831:
1552
1553
1554 1) ACPICA kernel-resident subsystem:
1555
1556 Improve support for the so-called "module-level code", which is defined 
1557 to be math, logical and control AML opcodes that appear outside of any 
1558 control method. This change improves the support by adding more opcodes 
1559 that can be executed in the manner. Some other issues have been solved, 
1560 and the ASL grammar changes to support such code under all scope 
1561 operators (Device, etc.) are complete. Lv Zheng.
1562
1563 UEFI support: these OSL functions have been implemented. This is an 
1564 additional step toward supporting the AcpiExec utility natively (with 
1565 full hardware access) under UEFI. Marcelo Ferreira.
1566     AcpiOsReadPciConfiguration
1567     AcpiOsWritePciConfiguration
1568
1569 Fixed a possible mutex error during control method auto-serialization. Lv 
1570 Zheng. 
1571
1572 Updated support for the Generic Address Structure by fully implementing 
1573 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
1574 Zheng.
1575
1576 Updated the return value for the internal _OSI method. Instead of 
1577 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
1578 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
1579 implementations, and will be reflected and clarified in the next version 
1580 of the ACPI specification.
1581
1582 Implemented two new table events that can be passed to an ACPICA table 
1583 handler. These events are used to indicate a table installation or 
1584 uninstallation. These events are used in addition to existed table load 
1585 and unload events. Lv Zheng.
1586
1587 Implemented a cleanup for all internal string-to-integer conversions. 
1588 Consolidate multiple versions of this functionality and limit possible 
1589 bases to either 10 or 16 to simplify the code. Adds a new file, 
1590 utstrtoul64.
1591
1592 Cleanup the inclusion order of the various compiler-specific headers. 
1593 This simplifies build configuration management. The compiler-specific 
1594 headers are now split out from the host-specific headers. Lv Zheng.
1595
1596 Example Code and Data Size: These are the sizes for the OS-independent 
1597 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1598 debug version of the code includes the debug output trace mechanism and 
1599 has a much larger code and data size.
1600
1601   Current Release:
1602     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
1603     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1604
1605
1606 2) iASL Compiler/Disassembler and Tools:
1607
1608 iASL/AcpiExec: Added a command line option to display the build date/time 
1609 of the tool (-vd). This can be useful to verify that the correct version 
1610 of the tools are being used.
1611
1612 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
1613 all predefined control methods and names within the current namespace. 
1614 This can be useful for debugging problems with ACPI tables and the ACPI 
1615 namespace.
1616
1617 ----------------------------------------
1618 29 July 2016. Summary of changes for version 20160729:
1619
1620
1621 1) ACPICA kernel-resident subsystem:
1622
1623 Implemented basic UEFI support for the various ACPICA tools. This 
1624 includes:
1625 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
1626 2) Support to obtain the ACPI tables on UEFI.
1627 3) Local implementation of required C library functions not available on 
1628 UEFI.
1629 4) A front-end (main) function for the tools for UEFI-related 
1630 initialization.
1631
1632 The initial deployment of this support is the AcpiDump utility executing 
1633 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
1634 Current environments supported are Linux/Unix. MSVC generation is not 
1635 supported at this time. See the generate/efi/README file for build 
1636 instructions. Lv Zheng.
1637
1638 Future plans include porting the AcpiExec utility to execute natively on 
1639 the platform with I/O and memory access. This will allow viewing/dump of 
1640 the platform namespace and native execution of ACPI control methods that 
1641 access the actual hardware. To fully implement this support, the OSL 
1642 functions below must be implemented with UEFI interfaces. Any community 
1643 help in the implementation of these functions would be appreciated:
1644     AcpiOsReadPort
1645     AcpiOsWritePort
1646     AcpiOsReadMemory
1647     AcpiOsWriteMemory
1648     AcpiOsReadPciConfiguration
1649     AcpiOsWritePciConfiguration
1650
1651 Restructured and standardized the C library configuration for ACPICA, 
1652 resulting in the various configuration options below. This includes a 
1653 global restructuring of the compiler-dependent and platform-dependent 
1654 include files. These changes may affect the existing platform-dependent 
1655 configuration files on some hosts. Lv Zheng. 
1656
1657 The current C library configuration options appear below. For any issues, 
1658 it may be helpful to examine the existing compiler-dependent and 
1659 platform-dependent files as examples. Lv Zheng. 
1660
1661 1) Linux kernel:
1662     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1663 library.
1664     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1665 2) Unix/Windows/BSD applications:
1666     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
1667 library.
1668     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1669 3) UEFI applications:
1670     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1671 library.
1672     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
1673 4) UEFI applications (EDK2/StdLib):
1674     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
1675     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
1676
1677
1678 AML interpreter: "module-level code" support. Allows for execution of so-
1679 called "executable" AML code (math/logical operations, etc.) outside of 
1680 control methods not just at the module level (top level) but also within 
1681 any scope declared outside of a control method - Scope{}, Device{}, 
1682 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
1683
1684 Simplified the configuration of the "maximum AML loops" global option by 
1685 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
1686 modified at runtime.
1687
1688
1689 Example Code and Data Size: These are the sizes for the OS-independent 
1690 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1691 debug version of the code includes the debug output trace mechanism and 
1692 has a much larger code and data size.
1693
1694   Current Release:
1695     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
1696     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
1697
1698
1699 2) iASL Compiler/Disassembler and Tools:
1700
1701 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
1702 Includes disassembler, data table compiler, and header support.
1703
1704 iASL Expand "module-level code" support. Allows for 
1705 compilation/disassembly of so-called "executable" AML code (math/logical 
1706 operations, etc.) outside of control methods not just at the module level 
1707 (top level) but also within any scope declared outside of a control 
1708 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
1709 ThermalZone{}.
1710
1711 AcpiDump: Added support for dumping all SSDTs on newer versions of 
1712 Windows. These tables are now easily available -- SSDTs are not available 
1713 through the registry on older versions.
1714
1715 ----------------------------------------
1716 27 May 2016. Summary of changes for version 20160527:
1717
1718
1719 1) ACPICA kernel-resident subsystem:
1720
1721 Temporarily reverted the new arbitrary bit length/alignment support in 
1722 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
1723 a number of regressions with the new code that need to be fully resolved 
1724 and tested before this support can be finally integrated into ACPICA. 
1725 Apologies for any inconveniences these issues may have caused.
1726
1727 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
1728 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
1729 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
1730
1731 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
1732 option. Adds a new return macro, return_STR. Junk-uk Kim.
1733
1734 Example Code and Data Size: These are the sizes for the OS-independent 
1735 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1736 debug version of the code includes the debug output trace mechanism and 
1737 has a much larger code and data size.
1738
1739   Current Release:
1740     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
1741     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1742   Previous Release:
1743     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1744     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
1745
1746 ----------------------------------------
1747 22 April 2016. Summary of changes for version 20160422:
1748
1749 1) ACPICA kernel-resident subsystem:
1750
1751 Fixed a regression in the GAS (generic address structure) arbitrary bit 
1752 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
1753 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
1754
1755 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
1756 was added to each of these macros, and the original name has been 
1757 deprecated. The AML disassembler will always disassemble to the new 
1758 names. Support for the new macros was added to iASL, disassembler, 
1759 resource manager, and the acpihelp utility. ACPICA BZ 1274.
1760
1761     I2cSerialBus  -> I2cSerialBusV2
1762     SpiSerialBus  -> SpiSerialBusV2
1763     UartSerialBus -> UartSerialBusV2
1764
1765 ACPI 6.0: Added support for a new integer field that was appended to the 
1766 package object returned by the _BIX method. This adds iASL compile-time 
1767 and AML runtime error checking. ACPICA BZ 1273.
1768
1769 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
1770 Subspace Type2" (Headers, Disassembler, and data table compiler).
1771
1772 Example Code and Data Size: These are the sizes for the OS-independent 
1773 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1774 debug version of the code includes the debug output trace mechanism and 
1775 has a much larger code and data size.
1776
1777   Current Release:
1778     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1779     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1780   Previous Release:
1781     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1782     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1783
1784
1785 2) iASL Compiler/Disassembler and Tools:
1786
1787 iASL: Implemented an ASL grammar extension to allow/enable executable 
1788 "module-level code" to be created and executed under the various 
1789 operators that create new scopes. This type of AML code is already 
1790 supported in all known AML interpreters, and the grammar change will 
1791 appear in the next version of the ACPI specification. Simplifies the 
1792 conditional runtime creation of named objects under these object types: 
1793
1794     Device
1795     PowerResource
1796     Processor
1797     Scope
1798     ThermalZone
1799
1800 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
1801 ease-of-use to the ASL language. The syntax is similar to the 
1802 corresponding C operator, and is implemented with the existing AML While 
1803 opcode -- thus requiring no changes to existing AML interpreters.
1804
1805     For (Initialize, Predicate, Update) {TermList}
1806
1807 Grammar:
1808     ForTerm :=
1809         For (
1810             Initializer    // Nothing | TermArg => ComputationalData
1811             Predicate      // Nothing | TermArg => ComputationalData
1812             Update         // Nothing | TermArg => ComputationalData
1813         ) {TermList}
1814
1815
1816 iASL: The _HID/_ADR detection and validation has been enhanced to search 
1817 under conditionals in order to allow these objects to be conditionally 
1818 created at runtime.
1819
1820 iASL: Fixed several issues with the constant folding feature. The 
1821 improvement allows better detection and resolution of statements that can 
1822 be folded at compile time. ACPICA BZ 1266. 
1823
1824 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
1825 conversion to the ASL ElseIf operator where incorrect ASL code could be 
1826 generated.
1827
1828 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
1829 sometimes an extra (and extraneous) set of parentheses were emitted for 
1830 some combinations of operators. Although this did not cause any problems 
1831 with recompilation of the disassembled code, it made the code more 
1832 difficult to read. David Box. ACPICA BZ 1231.
1833
1834 iASL: Changed to ignore the unreferenced detection for predefined names 
1835 of resource descriptor elements, when the resource descriptor is 
1836 created/defined within a control method.
1837
1838 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
1839 objects.
1840
1841 ----------------------------------------
1842 18 March 2016. Summary of changes for version 20160318:
1843
1844 1) ACPICA kernel-resident subsystem:
1845
1846 Added support for arbitrary bit lengths and bit offsets for registers 
1847 defined by the Generic Address Structure. Previously, only aligned bit 
1848 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
1849 but recently some machines have been seen that require arbitrary bit-
1850 level support. ACPICA BZ 1240. Lv Zheng.
1851
1852 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
1853 before any _REG methods are evaluated. Lv Zheng.
1854
1855 Implemented several changes related to ACPI table support 
1856 (Headers/Disassembler/TableCompiler):
1857 NFIT: For ACPI 6.1, updated to add some additional new fields and 
1858 constants.
1859 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
1860 6).
1861 DMAR: Added new constants per the 10/2014 DMAR spec.
1862 IORT: Added new subtable per the 10/2015 IORT spec.
1863 HEST: For ACPI 6.1, added new constants and new subtable.
1864 DBG2: Added new constants per the 12/2015 DBG2 spec.
1865 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
1866 ACPICA BZ 1249.
1867 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
1868
1869 Updated header support for the DMAR table to match the current version of 
1870 the related spec.
1871
1872 Added extensions to the ASL Concatenate operator to allow any ACPI object 
1873 to be passed as an operand. Any object other than Integer/String/Buffer 
1874 simply returns a string containing the object type. This extends the 
1875 usefulness of the Printf macros. Previously, Concatenate would abort the 
1876 control method if a non-data object was encountered.
1877
1878 ACPICA source code: Deployed the C "const" keyword across the source code 
1879 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
1880
1881 Example Code and Data Size: These are the sizes for the OS-independent 
1882 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1883 debug version of the code includes the debug output trace mechanism and 
1884 has a much larger code and data size.
1885
1886   Current Release:
1887     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1888     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1889   Previous Release:
1890     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1891     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1892
1893
1894 2) iASL Compiler/Disassembler and Tools:
1895
1896 iASL/Disassembler: Improved the heuristic used to determine the number of 
1897 arguments for an externally defined control method (a method in another 
1898 table). Although this is an improvement, there is no deterministic way to 
1899 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
1900 will completely solve this problem as it is deployed (automatically) in 
1901 newer BIOS code.
1902
1903 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
1904 statements that could cause errors when the disassembled file is 
1905 compiled. ACPICA BZ 1243. David Box.
1906
1907 iASL: Fixed a regression caused by the merger of the two versions of the 
1908 local strtoul64. Because of a dependency on a global variable, strtoul64 
1909 could return an error for integers greater than a 32-bit value. ACPICA BZ 
1910 1260.
1911
1912 iASL: Fixed a regression where a fault could occur for an ASL Return 
1913 statement if it invokes a control method that is not resolved. ACPICA BZ 
1914 1264.
1915
1916 AcpiXtract: Improved input file validation: detection of binary files and 
1917 non-acpidump text files.
1918
1919 ----------------------------------------
1920 12 February 2016. Summary of changes for version 20160212:
1921
1922 1) ACPICA kernel-resident subsystem:
1923
1924 Implemented full support for the ACPI 6.1 specification (released in 
1925 January). This version of the specification is available at:  
1926 http://www.uefi.org/specifications
1927
1928 Only a relatively small number of changes were required in ACPICA to 
1929 support ACPI 6.1, in these areas:
1930 - New predefined names
1931 - New _HID values
1932 - A new subtable for HEST
1933 - A few other header changes for new values
1934
1935 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
1936 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
1937
1938 Reverted a change made in version 20151218 which enabled method 
1939 invocations to be targets of various ASL operators (SuperName and Target 
1940 grammar elements). While the new behavior is supported by the ACPI 
1941 specification, other AML interpreters do not support this behavior and 
1942 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
1943 this support. Therefore, the change was reverted to the original ACPICA 
1944 behavior.
1945
1946 ACPICA now supports the GCC 6 compiler.
1947
1948 Current Release: (Note: build changes increased sizes)
1949     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1950     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1951 Previous Release:
1952     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1953     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
1954
1955
1956 2) iASL Compiler/Disassembler and Tools:
1957
1958 Completed full support for the ACPI 6.0 External() AML opcode. The 
1959 compiler emits an external AML opcode for each ASL External statement. 
1960 This opcode is used by the disassembler to assist with the disassembly of 
1961 external control methods by specifying the required number of arguments 
1962 for the method. AML interpreters do not use this opcode. To ensure that 
1963 interpreters do not even see the opcode, a block of one or more external 
1964 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
1965 commonly deployed in BIOS code, the ability of disassemblers to correctly 
1966 disassemble AML code will be greatly improved. David Box.
1967
1968 iASL: Implemented support for an optional cross-reference output file. 
1969 The -lx option will create a the cross-reference file with the suffix 
1970 "xrf". Three different types of cross-reference are created in this file:
1971 - List of object references made from within each control method
1972 - Invocation (caller) list for each user-defined control method
1973 - List of references to each non-method object in the namespace
1974
1975 iASL: Method invocations as ASL Target operands are now disallowed and 
1976 flagged as errors in preparation for ACPI 6.2 (see the description of the 
1977 problem above).
1978
1979 ----------------------------------------
1980 8 January 2016. Summary of changes for version 20160108:
1981
1982 1) ACPICA kernel-resident subsystem:
1983
1984 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
1985 copyright to all source code module headers and utility/tool signons. 
1986 This includes the standard Linux dual-license header. This affects 
1987 virtually every file in the ACPICA core subsystem, iASL compiler, all 
1988 ACPICA utilities, and the ACPICA test suite.
1989
1990 Fixed a regression introduced in version 20151218 concerning the 
1991 execution of so-called module-level ASL/AML code. Namespace objects 
1992 created under a module-level If() construct were not properly/fully 
1993 entered into the namespace and could cause an interpreter fault when 
1994 accessed.
1995
1996 Example Code and Data Size: These are the sizes for the OS-independent 
1997 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1998 debug version of the code includes the debug output trace mechanism and 
1999 has a much larger code and data size.
2000
2001 Current Release:
2002     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
2003     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
2004   Previous Release:
2005     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2006     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
2007
2008
2009 2) iASL Compiler/Disassembler and Tools:
2010
2011 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
2012 descriptors. The _PIN field name was incorrectly defined to be an array 
2013 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
2014 would cause incorrect bit width warnings when using Word (16-bit) fields 
2015 to access the descriptors.
2016
2017
2018 ----------------------------------------
2019 18 December 2015. Summary of changes for version 20151218:
2020
2021 1) ACPICA kernel-resident subsystem:
2022
2023 Implemented per-AML-table execution of "module-level code" as individual 
2024 ACPI tables are loaded into the namespace during ACPICA initialization. 
2025 In other words, any module-level code within an AML table is executed 
2026 immediately after the table is loaded, instead of batched and executed 
2027 after all of the tables have been loaded. This provides compatibility 
2028 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
2029 David Box.
2030
2031 To fully support the feature above, the default operation region handlers 
2032 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
2033 installed before any ACPI tables are loaded. This enables module-level 
2034 code to access these address spaces during the table load and module-
2035 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
2036 Box.
2037
2038 Implemented several changes to the internal _REG support in conjunction 
2039 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
2040 utilities for the changes above. Although these tools were changed, host 
2041 operating systems that simply use the default handlers for SystemMemory, 
2042 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
2043
2044 For example, in the code below, DEV1 is conditionally added to the 
2045 namespace by the DSDT via module-level code that accesses an operation 
2046 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
2047 created immediately after the DSDT is loaded in order for the SSDT to 
2048 successfully reference DEV1. Previously, this code would cause an 
2049 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
2050 fully supported by ACPICA.
2051
2052     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
2053     {
2054         OperationRegion (OPR1, SystemMemory, 0x400, 32)
2055         Field (OPR1, AnyAcc, NoLock, Preserve)
2056         {
2057             FLD1, 1
2058         }
2059         If (FLD1)
2060         {
2061             Device (\DEV1)
2062             {
2063             }
2064         }
2065     }
2066     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
2067     {
2068         External (\DEV1, DeviceObj)
2069         Scope (\DEV1)
2070         {
2071         }
2072     }
2073
2074 Fixed an AML interpreter problem where control method invocations were 
2075 not handled correctly when the invocation was itself a SuperName argument 
2076 to another ASL operator. In these cases, the method was not invoked. 
2077 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
2078 argument:
2079     Store
2080     Acquire, Wait
2081     CondRefOf, RefOf
2082     Decrement, Increment
2083     Load, Unload
2084     Notify
2085     Signal, Release, Reset
2086     SizeOf
2087
2088 Implemented automatic String-to-ObjectReference conversion support for 
2089 packages returned by predefined names (such as _DEP). A common BIOS error 
2090 is to add double quotes around an ObjectReference namepath, which turns 
2091 the reference into an unexpected string object. This support detects the 
2092 problem and corrects it before the package is returned to the caller that 
2093 invoked the method. Lv Zheng.
2094
2095 Implemented extensions to the Concatenate operator. Concatenate now 
2096 accepts any type of object, it is not restricted to simply 
2097 Integer/String/Buffer. For objects other than these 3 basic data types, 
2098 the argument is treated as a string containing the name of the object 
2099 type. This expands the utility of Concatenate and the Printf/Fprintf 
2100 macros. ACPICA BZ 1222.
2101
2102 Cleaned up the output of the ASL Debug object. The timer() value is now 
2103 optional and no longer emitted by default. Also, the basic data types of 
2104 Integer/String/Buffer are simply emitted as their values, without a data 
2105 type string -- since the data type is obvious from the output. ACPICA BZ 
2106 1221.
2107
2108 Example Code and Data Size: These are the sizes for the OS-independent 
2109 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2110 debug version of the code includes the debug output trace mechanism and 
2111 has a much larger code and data size.
2112
2113   Current Release:
2114     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2115     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
2116   Previous Release:
2117     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2118     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
2119
2120
2121 2) iASL Compiler/Disassembler and Tools:
2122
2123 iASL: Fixed some issues with the ASL Include() operator. This operator 
2124 was incorrectly defined in the iASL parser rules, causing a new scope to 
2125 be opened for the code within the include file. This could lead to 
2126 several issues, including allowing ASL code that is technically illegal 
2127 and not supported by AML interpreters. Note, this does not affect the 
2128 related #include preprocessor operator. ACPICA BZ 1212.
2129
2130 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
2131 operator is essentially an ASL macro since there is no AML opcode 
2132 associated with it. The code emitted by the iASL compiler for ElseIf is 
2133 an Else opcode followed immediately by an If opcode. The disassembler 
2134 will now emit an ElseIf if it finds an Else immediately followed by an 
2135 If. This simplifies the decoded ASL, especially for deeply nested 
2136 If..Else and large Switch constructs. Thus, the disassembled code more 
2137 closely follows the original source ASL. ACPICA BZ 1211. Example:
2138
2139     Old disassembly:
2140         Else
2141         {
2142             If (Arg0 == 0x02)
2143             {
2144                 Local0 = 0x05
2145             }
2146         }
2147
2148     New disassembly:
2149         ElseIf (Arg0 == 0x02)
2150         {
2151             Local0 = 0x05
2152         }
2153
2154 AcpiExec: Added support for the new module level code behavior and the 
2155 early region installation. This required a small change to the 
2156 initialization, since AcpiExec must install its own operation region 
2157 handlers.
2158
2159 AcpiExec: Added support to make the debug object timer optional. Default 
2160 is timer disabled. This cleans up the debug object output -- the timer 
2161 data is rarely used.
2162
2163 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
2164 appear on the command line. This can be important when there are 
2165 interdependencies/references between the tables.
2166
2167 iASL/Templates. Add support to generate template files with multiple 
2168 SSDTs within a single output file. Also added ommand line support to 
2169 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
2170 1223, 1225.
2171
2172
2173 ----------------------------------------
2174 24 November 2015. Summary of changes for version 20151124:
2175
2176 1) ACPICA kernel-resident subsystem:
2177
2178 Fixed a possible regression for a previous update to FADT handling. The 
2179 FADT no longer has a fixed table ID, causing some issues with code that 
2180 was hardwired to a specific ID. Lv Zheng.
2181
2182 Fixed a problem where the method auto-serialization could interfere with 
2183 the current SyncLevel. This change makes the auto-serialization support 
2184 transparent to the SyncLevel support and management.
2185
2186 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
2187 interface is intended for early access to the namespace during the 
2188 initial namespace device discovery walk. The _SUB method has been seen to 
2189 access operation regions in some cases, causing errors because the 
2190 operation regions are not fully initialized.
2191
2192 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
2193 that can cause faults. Lv Zheng.
2194
2195 AML Debugger: Add thread ID support so that single-step mode only applies 
2196 to the AML Debugger thread. This prevents runtime errors within some 
2197 kernels. Lv Zheng. 
2198
2199 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
2200 methods that are invoked by this interface are optional, removed warnings 
2201 emitted for the case where one or more of these methods do not exist. 
2202 ACPICA BZ 1208, original change by Prarit Bhargava.
2203
2204 Made a major pass through the entire ACPICA source code base to 
2205 standardize formatting that has diverged a bit over time. There are no 
2206 functional changes, but this will of course cause quite a few code 
2207 differences from the previous ACPICA release.
2208
2209 Example Code and Data Size: These are the sizes for the OS-independent 
2210 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2211 debug version of the code includes the debug output trace mechanism and 
2212 has a much larger code and data size.
2213
2214   Current Release:
2215     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2216     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
2217   Previous Release:
2218     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2219     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2220
2221
2222 2) iASL Compiler/Disassembler and Tools:
2223
2224 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
2225 definition blocks within a single ASL file and the resulting AML file. 
2226 Support for this type of file was also added to the various tools that 
2227 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
2228 example code below shows two definition blocks within the same file:
2229
2230     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
2231 0x12345678)
2232     {
2233     }
2234     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
2235     {
2236     }
2237
2238 iASL: Enhanced typechecking for the Name() operator. All expressions for 
2239 the value of the named object must be reduced/folded to a single constant 
2240 at compile time, as per the ACPI specification (the AML definition of 
2241 Name()).
2242
2243 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
2244 and assembly headers). Now all emitted code correctly begins in column 1.
2245
2246 iASL: Added an error message for an attempt to open a Scope() on an 
2247 object defined in an SSDT. The DSDT is always loaded into the namespace 
2248 first, so any attempt to open a Scope on an SSDT object will fail at 
2249 runtime.
2250
2251
2252 ----------------------------------------
2253 30 September 2015. Summary of changes for version 20150930:
2254
2255 1) ACPICA kernel-resident subsystem:
2256
2257 Debugger: Implemented several changes and bug fixes to assist support for 
2258 the in-kernel version of the AML debugger. Lv Zheng.
2259 - Fix the "predefined" command for in-kernel debugger.
2260 - Do not enter debug command loop for the help and version commands.
2261 - Disallow "execute" command during execution/single-step of a method.
2262
2263 Interpreter: Updated runtime typechecking for all operators that have 
2264 target operands. The operand is resolved and validated that it is legal. 
2265 For example, the target cannot be a non-data object such as a Device, 
2266 Mutex, ThermalZone, etc., as per the ACPI specification.
2267
2268 Debugger: Fixed the double-mutex user I/O handshake to work when local 
2269 deadlock detection is enabled.
2270
2271 Debugger: limited display of method locals and arguments (LocalX and 
2272 ArgX) to only those that have actually been initialized. This prevents 
2273 lines of extraneous output.
2274
2275 Updated the definition of the NFIT table to correct the bit polarity of 
2276 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
2277
2278 Example Code and Data Size: These are the sizes for the OS-independent 
2279 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2280 debug version of the code includes the debug output trace mechanism and 
2281 has a much larger code and data size.
2282
2283   Current Release:
2284     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2285     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2286   Previous Release:
2287     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2288     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2289
2290
2291 2) iASL Compiler/Disassembler and Tools:
2292
2293 iASL: Improved the compile-time typechecking for operands of many of the 
2294 ASL operators:
2295
2296 -- Added an option to disable compiler operand/operator typechecking (-
2297 ot).
2298
2299 -- For the following operators, the TermArg operands are now validated 
2300 when possible to be Integer data objects: BankField, OperationRegion, 
2301 DataTableRegion, Buffer, and Package.
2302
2303 -- Store (Source, Target): Both the source and target operands are 
2304 resolved and checked that the operands are both legal. For example, 
2305 neither operand can be a non-data object such as a Device, Mutex, 
2306 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
2307 operator can be used to store an object to any type of target object.
2308
2309 -- Store (Source, Target): If the source is a Package object, the target 
2310 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
2311 is a Package, the source must also be a Package.
2312
2313 -- Store (Source, Target): A warning is issued if the source and target 
2314 resolve to the identical named object.
2315
2316 -- Store (Source, <method invocation>): An error is generated for the 
2317 target method invocation, as this construct is not supported by the AML 
2318 interpreter.
2319
2320 -- For all ASL math and logic operators, the target operand must be a 
2321 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
2322 includes the function return value also.
2323
2324 -- External declarations are also included in the typechecking where 
2325 possible. External objects defined using the UnknownObj keyword cannot be 
2326 typechecked, however.
2327
2328 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
2329 operator:
2330 - Legacy code: Index(PKG1, 3)
2331 - New ASL+ code: PKG1[3]
2332 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
2333 supported.
2334
2335 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
2336 spaces were inadvertently appended to the filename, causing file access 
2337 and deletion problems on some systems.
2338
2339 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
2340 possible compiler output files when building the test suite -- thus 
2341 exercising these features of the compiler. These files are automatically 
2342 deleted when the test suite exits.
2343
2344
2345 ----------------------------------------
2346 18 August 2015. Summary of changes for version 20150818:
2347
2348 1) ACPICA kernel-resident subsystem:
2349
2350 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
2351 Zheng. ACPICA BZ 1186.
2352
2353 Completed development to ensure that the ACPICA Disassembler and Debugger 
2354 are fully standalone components of ACPICA. Removed cross-component 
2355 dependences. Lv Zheng.
2356
2357 The max-number-of-AML-loops is now runtime configurable (previously was 
2358 compile-time only). This is essentially a loop timeout to force-abort 
2359 infinite AML loops. ACPCIA BZ 1192.
2360
2361 Debugger: Cleanup output to dump ACPI names and namepaths without any 
2362 trailing underscores. Lv Zheng. ACPICA BZ 1135.
2363
2364 Removed unnecessary conditional compilations across the Debugger and 
2365 Disassembler components where entire modules could be left uncompiled.
2366
2367 The aapits test is deprecated and has been removed from the ACPICA git 
2368 tree. The test has never been completed and has not been maintained, thus 
2369 becoming rather useless. ACPICA BZ 1015, 794.
2370
2371 A batch of small changes to close bugzilla and other reports:
2372 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
2373 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
2374 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
2375 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
2376 Moore.
2377 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
2378 ACPICA BZ 1184.
2379 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
2380 operators.
2381 - Debugger: Split debugger initialization/termination interfaces. Lv 
2382 Zheng.
2383 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
2384 identification.
2385 - AcpiExec: Add debug message during _REG method phase during table 
2386 load/init.
2387 - AcpiNames: Fix a regression where some output was missing and no longer 
2388 emitted.
2389 - Debugger: General cleanup and simplification. Lv Zheng.
2390 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
2391
2392 Example Code and Data Size: These are the sizes for the OS-independent 
2393 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2394 debug version of the code includes the debug output trace mechanism and 
2395 has a much larger code and data size.
2396
2397   Current Release:
2398     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2399     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2400   Previous Release:
2401     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2402     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2403
2404
2405 2) iASL Compiler/Disassembler and Tools:
2406
2407 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
2408 were not handled properly and caused load errors. Now, properly invoke 
2409 and use the ACPICA auto-reallocate mechanism for ACPI table data 
2410 structures. ACPICA BZ 1188
2411
2412 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
2413 BZ 1190.
2414
2415 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
2416 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
2417 executed during initialization. ACPICA BZ 1187, 1189.
2418
2419 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
2420 that corresponds to each disassembled ASL statement, to simplify 
2421 debugging. ACPICA BZ 1191.
2422
2423 Debugger: Add option to the "objects" command to display a summary of the 
2424 current namespace objects (Object type and count). This is displayed if 
2425 the command is entered with no arguments.
2426
2427 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
2428
2429
2430 ----------------------------------------
2431 17 July 2015. Summary of changes for version 20150717:
2432
2433 1) ACPICA kernel-resident subsystem:
2434
2435 Improved the partitioning between the Debugger and Disassembler 
2436 components. This allows the Debugger to be used standalone within kernel 
2437 code without the Disassembler (which is used for single stepping also). 
2438 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
2439
2440 Debugger: Implemented a new command to trace the execution of control 
2441 methods (Trace). This is especially useful for the in-kernel version of 
2442 the debugger when file I/O may not be available for method trace output. 
2443 See the ACPICA reference for more information. Lv Zheng.
2444
2445 Moved all C library prototypes (used for the local versions of these 
2446 functions when requested) to a new header, acclib.h
2447 Cleaned up the use of non-ANSI C library functions. These functions are 
2448 implemented locally in ACPICA. Moved all such functions to a common 
2449 source file, utnonansi.c
2450
2451 Debugger: Fixed a problem with the "!!" command (get last command 
2452 executed) where the debugger could enter an infinite loop and eventually 
2453 crash.
2454
2455 Removed the use of local macros that were used for some of the standard C 
2456 library functions to automatically cast input parameters. This mostly 
2457 affected the is* functions where the input parameter is defined to be an 
2458 int. This required a few modifications to the main ACPICA source code to 
2459 provide casting for these functions and eliminate possible compiler 
2460 warnings for these parameters.
2461
2462 Across the source code, added additional status/error checking to resolve 
2463 issues discovered by static source code analysis tools such as Coverity.
2464
2465 Example Code and Data Size: These are the sizes for the OS-independent 
2466 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2467 debug version of the code includes the debug output trace mechanism and 
2468 has a much larger code and data size.
2469
2470   Current Release:
2471     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2472     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2473   Previous Release:
2474     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2475     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2476
2477
2478 2) iASL Compiler/Disassembler and Tools:
2479
2480 iASL: Fixed a regression where the device map file feature no longer 
2481 worked properly when used in conjunction with the disassembler. It only 
2482 worked properly with the compiler itself.
2483
2484 iASL: Implemented a new warning for method LocalX variables that are set 
2485 but never used (similar to a C compiler such as gcc). This also applies 
2486 to ArgX variables that are not defined by the parent method, and are 
2487 instead (legally) used as local variables.
2488
2489 iASL/Preprocessor: Finished the pass-through of line numbers from the 
2490 preprocessor to the compiler. This ensures that compiler errors/warnings 
2491 have the correct original line numbers and filenames, regardless of any 
2492 #include files.
2493
2494 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
2495 pass-through of comments to the preprocessor output file (which becomes 
2496 the compiler input file). Also fixed a problem with // comments that 
2497 appear after a math expression.
2498
2499 iASL: Added support for the TCPA server table to the table compiler and 
2500 template generator. (The client table was already previously supported)
2501
2502 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
2503 identify the iASL compiler.
2504
2505 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
2506 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
2507 ACPI_SIGN_POSITIVE.
2508
2509 AcpiHelp: Update to expand help messages for the iASL preprocessor 
2510 directives.
2511
2512
2513 ----------------------------------------
2514 19 June 2015. Summary of changes for version 20150619:
2515
2516 Two regressions in version 20150616 have been addressed:
2517
2518 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
2519 etc.) This update changes ACPICA to only use the standard headers for 
2520 functions, or the prototypes for the local versions of the C library 
2521 functions. Across the source code, this required some additional casts 
2522 for some Clib invocations for portability. Moved all local prototypes to 
2523 a new file, acclib.h
2524
2525 Fixes several problems with recent changes to the handling of the FACS 
2526 table that could cause some systems not to boot.
2527
2528
2529 ----------------------------------------
2530 16 June 2015. Summary of changes for version 20150616:
2531
2532
2533 1) ACPICA kernel-resident subsystem:
2534
2535 Across the entire ACPICA source code base, the various macros for the C 
2536 library functions (such as ACPI_STRLEN, etc.) have been removed and 
2537 replaced by the standard C library names (strlen, etc.) The original 
2538 purpose for these macros is no longer applicable. This simplification 
2539 reduces the number of macros used in the ACPICA source code 
2540 significantly, improving readability and maintainability.
2541
2542 Implemented support for a new ACPI table, the OSDT. This table, the 
2543 "override" SDT, can be loaded directly by the host OS at boot time. It 
2544 enables the replacement of existing namespace objects that were installed 
2545 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
2546 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
2547 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
2548 Moore.
2549
2550 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
2551 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
2552 X field). This change will support both automatically. There continues to 
2553 be systems found with this issue. This support requires a change to the 
2554 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
2555 been added to allow the host to select which FACS is desired 
2556 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
2557 details Lv Zheng.
2558
2559 Added a new feature to allow for systems that do not contain an FACS. 
2560 Although this is already supported on hardware-reduced platforms, the 
2561 feature has been extended for all platforms. The reasoning is that we do 
2562 not want to abort the entire ACPICA initialization just because the 
2563 system is seriously buggy and has no FACS.
2564
2565 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
2566 not correctly transcribed from the ACPI specification in ACPICA version 
2567 20150515.
2568
2569 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
2570 interface.
2571
2572 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
2573 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
2574 compiler also updated. Note: The TCPA "server" table is not supported by 
2575 the disassembler/table-compiler at this time.
2576
2577 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
2578
2579 Example Code and Data Size: These are the sizes for the OS-independent 
2580 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2581 debug version of the code includes the debug output trace mechanism and 
2582 has a much larger code and data size.
2583
2584   Current Release:
2585     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2586     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2587   Previous Release:
2588     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2589     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2590
2591
2592 2) iASL Compiler/Disassembler and Tools:
2593
2594 Disassembler: Fixed a problem with the new symbolic operator disassembler 
2595 where incorrect ASL code could be emitted in some cases for the "non-
2596 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
2597 ShiftRight. The actual problem cases seem to be rather unusual in common 
2598 ASL code, however. David Box.
2599
2600 Modified the linux version of acpidump to obtain ACPI tables from not 
2601 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
2602 Zheng.
2603
2604 iASL: Fixed a problem where the user preprocessor output file (.i) 
2605 contained extra data that was not expected. The compiler was using this 
2606 file as a temporary file and passed through #line directives in order to 
2607 keep compiler error messages in sync with the input file and line number 
2608 across multiple include files. The (.i) is no longer a temporary file as 
2609 the compiler uses a new, different file for the original purpose.
2610
2611 iASL: Fixed a problem where comments within the original ASL source code 
2612 file were not passed through to the preprocessor output file, nor any 
2613 listing files.
2614
2615 iASL: Fixed some issues for the handling of the "#include" preprocessor 
2616 directive and the similar (but not the same) "Include" ASL operator.
2617
2618 iASL: Add support for the new OSDT in both the disassembler and compiler.
2619
2620 iASL: Fixed a problem with the constant folding support where a Buffer 
2621 object could be incorrectly generated (incorrectly formed) during a 
2622 conversion to a Store() operator.
2623
2624 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
2625 description text for the _REV predefined name. _REV now permanently 
2626 returns 2, as per the ACPI 6.0 specification.
2627
2628 Debugger: Enhanced the output of the Debug ASL object for references 
2629 produced by the Index operator. For Buffers and strings, only output the 
2630 actual byte pointed to by the index. For packages, only print the single 
2631 package element decoded by the index. Previously, the entire 
2632 buffer/string/package was emitted.
2633
2634 iASL/Table-compiler: Fixed a regression where the "generic" data types 
2635 were no longer recognized, causing errors.
2636
2637
2638 ----------------------------------------
2639 15 May 2015. Summary of changes for version 20150515:
2640
2641 This release implements most of ACPI 6.0 as described below.
2642
2643 1) ACPICA kernel-resident subsystem:
2644
2645 Implemented runtime argument checking and return value checking for all 
2646 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
2647 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
2648
2649 Example Code and Data Size: These are the sizes for the OS-independent 
2650 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2651 debug version of the code includes the debug output trace mechanism and 
2652 has a much larger code and data size.
2653
2654   Current Release:
2655     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2656     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2657   Previous Release:
2658     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2659     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2660
2661
2662 2) iASL Compiler/Disassembler and Tools:
2663
2664 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
2665 names (argument count validation and return value typechecking.)
2666
2667 iASL disassembler and table compiler: implemented support for all new 
2668 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
2669
2670 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
2671 tables: FADT, MADT.
2672
2673 iASL preprocessor: Added a new directive to enable inclusion of binary 
2674 blobs into ASL code. The new directive is #includebuffer. It takes a 
2675 binary file as input and emits a named ascii buffer object into the ASL 
2676 code.
2677
2678 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
2679
2680 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
2681 directives.
2682
2683 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
2684 tables.
2685
2686
2687 ----------------------------------------
2688 10 April 2015. Summary of changes for version 20150410:
2689
2690 Reverted a change introduced in version 20150408 that caused
2691 a regression in the disassembler where incorrect operator
2692 symbols could be emitted.
2693
2694
2695 ----------------------------------------
2696 08 April 2015. Summary of changes for version 20150408:
2697
2698
2699 1) ACPICA kernel-resident subsystem:
2700
2701 Permanently set the return value for the _REV predefined name. It now 
2702 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
2703 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
2704 for ACPI 2.0 and later. It should never be used to differentiate or 
2705 identify operating systems.
2706
2707 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
2708 return TRUE to a query with this string.
2709
2710 Fixed several issues with the local version of the printf function.
2711
2712 Added the C99 compiler option (-std=c99) to the Unix makefiles.
2713
2714   Current Release:
2715     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
2716     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
2717   Previous Release:
2718     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2719     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2720
2721
2722 2) iASL Compiler/Disassembler and Tools:
2723
2724 iASL: Implemented an enhancement to the constant folding feature to 
2725 transform the parse tree to a simple Store operation whenever possible:
2726     Add (2, 3, X) ==> is converted to: Store (5, X)
2727     X = 2 + 3     ==> is converted to: Store (5, X)
2728
2729 Updated support for the SLIC table (Software Licensing Description Table) 
2730 in both the Data Table compiler and the disassembler. The SLIC table 
2731 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
2732 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
2733 following the ACPI header is now defined to be "Proprietary Data", and as 
2734 such, can only be entered or displayed as a hex data block.
2735
2736 Implemented full support for the MSDM table as described in the document 
2737 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
2738 following the ACPI header is defined to be "Proprietary Data", and can 
2739 only be entered or displayed as a hex data block.
2740
2741 Implemented the -Pn option for the iASL Table Compiler (was only 
2742 implemented for the ASL compiler). This option disables the iASL 
2743 preprocessor.
2744
2745 Disassembler: For disassembly of Data Tables, added a comment field 
2746 around the Ascii equivalent data that is emitted as part of the "Raw 
2747 Table Data" block. This prevents the iASL Preprocessor from possible 
2748 confusion if/when the table is compiled.
2749
2750 Disassembler: Added an option (-df) to force the disassembler to assume 
2751 that the table being disassembled contains valid AML. This feature is 
2752 useful for disassembling AML files that contain ACPI signatures other 
2753 than DSDT or SSDT (such as OEMx or other signatures).
2754
2755 Changes for the EFI version of the tools:
2756 1) Fixed a build error/issue
2757 2) Fixed a cast warning
2758
2759 iASL: Fixed a path issue with the __FILE__ operator by making the 
2760 directory prefix optional within the internal SplitInputFilename 
2761 function.
2762
2763 Debugger: Removed some unused global variables.
2764
2765 Tests: Updated the makefile for proper generation of the AAPITS suite.
2766
2767
2768 ----------------------------------------
2769 04 February 2015. Summary of changes for version 20150204:
2770
2771 ACPICA kernel-resident subsystem:
2772
2773 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
2774 copyright to all module headers and signons, including the standard Linux 
2775 header. This affects virtually every file in the ACPICA core subsystem, 
2776 iASL compiler, all ACPICA utilities, and the test suites.
2777
2778 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
2779 A raw gpe handling mechanism was created to allow better handling of GPE
2780 storms that aren't easily managed by the normal handler. The raw handler
2781 allows disabling/renabling of the the GPE so that interrupt storms can be
2782 avoided in cases where events cannot be timely serviced. In this 
2783 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
2784 GPE. This API will leave the reference counts undisturbed, thereby 
2785 preventing unintentional clearing of the GPE when the intent in only to 
2786 temporarily disable it. Raw handlers allow enabling and disabling of a 
2787 GPE by removing GPE register locking. As such, raw handlers much provide 
2788 their own locks while using GPE API's to protect access to GPE data 
2789 structures.
2790 Lv Zheng
2791
2792 Events: Always modify GPE registers under the GPE lock.
2793 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
2794 values. Reported as bug by joe.liu@apple.com.
2795
2796 Unix makefiles: Separate option to disable optimizations and 
2797 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
2798 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
2799 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
2800 errors when building ACPICA. This allows disabling the option without 
2801 also having to disable optimazations.
2802 David Box
2803
2804   Current Release:
2805     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2806     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
2807
2808 --
2809 --------------------------------------
2810 07 November 2014. Summary of changes for version 20141107:
2811
2812 This release is available at https://acpica.org/downloads
2813
2814 This release introduces and implements language extensions to ASL that 
2815 provide support for symbolic ("C-style") operators and expressions. These 
2816 language extensions are known collectively as ASL+.
2817
2818
2819 1) iASL Compiler/Disassembler and Tools:
2820
2821 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
2822 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
2823 Box.
2824
2825 Disassembler: Fixed the Unicode macro support to add escape sequences. 
2826 All non-printable ASCII values are emitted as escape sequences, as well 
2827 as the standard escapes for quote and backslash. Ensures that the 
2828 disassembled macro can be correctly recompiled.
2829
2830 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
2831 translated to existing AML Concatenate and Store operations. Printf 
2832 writes to the ASL Debug object. Fprintf allows the specification of an 
2833 ASL name as the target. Only a single format specifier is required, %o, 
2834 since the AML interpreter dynamically converts objects to the required 
2835 type. David E. Box.
2836
2837     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2838                  (Concatenate (Concatenate (Concatenate ("", Arg0),
2839                  ": Unexpected value for "), Arg1), ", "), Arg2),
2840                  " at line "), Arg3), Debug)
2841
2842     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
2843                  Arg0, Arg1, Arg2, Arg3)
2844
2845     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2846                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
2847
2848     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
2849
2850 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
2851 ASL parse tree before the AML code is generated. This allows blocks of 
2852 ASL code to be removed in order to help locate and identify problem 
2853 devices and/or code. David E. Box.
2854
2855 AcpiExec: Added support (-fi) for an optional namespace object 
2856 initialization file. This file specifies initial values for namespace 
2857 objects as necessary for debugging and testing different ASL code paths 
2858 that may be taken as a result of BIOS options.
2859
2860
2861 2) Overview of symbolic operator support for ASL (ASL+)
2862 -------------------------------------------------------
2863
2864 As an extension to the ASL language, iASL implements support for symbolic 
2865 (C-style) operators for math and logical expressions. This can greatly 
2866 simplify ASL code as well as improve both readability and 
2867 maintainability. These language extensions can exist concurrently with 
2868 all legacy ASL code and expressions.
2869
2870 The symbolic extensions are 100% compatible with existing AML 
2871 interpreters, since no new AML opcodes are created. To implement the 
2872 extensions, the iASL compiler transforms the symbolic expressions into 
2873 the legacy ASL/AML equivalents at compile time.
2874
2875 Full symbolic expressions are supported, along with the standard C 
2876 precedence and associativity rules.
2877
2878 Full disassembler support for the symbolic expressions is provided, and 
2879 creates an automatic migration path for existing ASL code to ASL+ code 
2880 via the disassembly process. By default, the disassembler now emits ASL+ 
2881 code with symbolic expressions. An option (-dl) is provided to force the 
2882 disassembler to emit legacy ASL code if desired.
2883
2884 Below is the complete list of the currently supported symbolic operators 
2885 with examples. See the iASL User Guide for additional information.
2886
2887
2888 ASL+ Syntax      Legacy ASL Equivalent
2889 -----------      ---------------------
2890
2891     // Math operators
2892
2893 Z = X + Y        Add (X, Y, Z)
2894 Z = X - Y        Subtract (X, Y, Z)
2895 Z = X * Y        Multiply (X, Y, Z)
2896 Z = X / Y        Divide (X, Y, , Z)
2897 Z = X % Y        Mod (X, Y, Z)
2898 Z = X << Y       ShiftLeft (X, Y, Z)
2899 Z = X >> Y       ShiftRight (X, Y, Z)
2900 Z = X & Y        And (X, Y, Z)
2901 Z = X | Y        Or (X, Y, Z)
2902 Z = X ^ Y        Xor (X, Y, Z)
2903 Z = ~X           Not (X, Z)
2904 X++              Increment (X)
2905 X--              Decrement (X)
2906
2907     // Logical operators
2908
2909 (X == Y)         LEqual (X, Y)
2910 (X != Y)         LNotEqual (X, Y)
2911 (X < Y)          LLess (X, Y)
2912 (X > Y)          LGreater (X, Y)
2913 (X <= Y)         LLessEqual (X, Y)
2914 (X >= Y)         LGreaterEqual (X, Y)
2915 (X && Y)         LAnd (X, Y)
2916 (X || Y)         LOr (X, Y)
2917 (!X)             LNot (X)
2918
2919     // Assignment and compound assignment operations
2920
2921 X = Y           Store (Y, X)
2922 X += Y          Add (X, Y, X)
2923 X -= Y          Subtract (X, Y, X)
2924 X *= Y          Multiply (X, Y, X)
2925 X /= Y          Divide (X, Y, , X)
2926 X %= Y          Mod (X, Y, X)
2927 X <<= Y         ShiftLeft (X, Y, X)
2928 X >>= Y         ShiftRight (X, Y, X)
2929 X &= Y          And (X, Y, X)
2930 X |= Y          Or (X, Y, X)
2931 X ^= Y          Xor (X, Y, X)
2932
2933
2934 3) ASL+ Examples:
2935 -----------------
2936
2937 Legacy ASL:
2938         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
2939             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
2940 0x03FB), 
2941             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
2942         {
2943             And (MEMB, 0xFFFFFFF0, SRMB)
2944             Store (MEMB, Local2)
2945             Store (PDBM, Local1)
2946             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
2947             Store (SRMB, MEMB)
2948             Or (PDBM, 0x02, PDBM)
2949         }
2950
2951 ASL+ version:
2952         If (((R510 & 0x03FB) == 0x02E0) ||
2953             ((R520 & 0x03FB) == 0x02E0) ||
2954             ((R530 & 0x03FB) == 0x02E0) || 
2955             ((R540 & 0x03FB) == 0x02E0))
2956         {
2957             SRMB = (MEMB & 0xFFFFFFF0)
2958             Local2 = MEMB
2959             Local1 = PDBM
2960             PDBM &= 0xFFFFFFFFFFFFFFF9
2961             MEMB = SRMB
2962             PDBM |= 0x02
2963         }
2964
2965 Legacy ASL:
2966         Store (0x1234, Local1)
2967         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2968         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2969         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2970         Store (Index (PKG1, 0x03), Local6)
2971         Store (Add (Local3, Local2), Debug)
2972         Add (Local1, 0x0F, Local2)
2973         Add (Local1, Multiply (Local2, Local3), Local2)
2974         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2975
2976 ASL+ version:
2977         Local1 = 0x1234
2978         Local3 = (((Local1 + TEST) + 0x20) * Local2)
2979         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2980         Local3 = (Local1 + (TEST + (0x20 * Local2)))
2981         Local6 = Index (PKG1, 0x03)
2982         Debug = (Local3 + Local2)
2983         Local2 = (Local1 + 0x0F)
2984         Local2 = (Local1 + (Local2 * Local3))
2985         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2986
2987
2988 ----------------------------------------
2989 26 September 2014. Summary of changes for version 20140926:
2990
2991 1) ACPICA kernel-resident subsystem:
2992
2993 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
2994 In order to support GPIO Connection objects with multiple pins, along 
2995 with the related Field objects, the following changes to the interface 
2996 have been made: The Address is now defined to be the offset in bits of 
2997 the field unit from the previous invocation of a Connection. It can be 
2998 viewed as a "Pin Number Index" into the connection resource descriptor. 
2999 The BitWidth is the exact bit width of the field. It is usually one bit, 
3000 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
3001 additional information and examples.
3002
3003 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
3004 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
3005 by the firmware), so that they cannot fire until they are enabled via 
3006 AcpiUpdateAllGpes. Rafael J. Wysocki.
3007
3008 Added a new return flag for the Event/GPE status interfaces -- 
3009 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
3010 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
3011 GPE currently has a handler associated with it, and can thus actually 
3012 affect the system. Lv Zheng.
3013
3014 Example Code and Data Size: These are the sizes for the OS-independent 
3015 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3016 debug version of the code includes the debug output trace mechanism and 
3017 has a much larger code and data size.
3018
3019   Current Release:
3020     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
3021     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
3022   Previous Release:
3023     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
3024     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
3025
3026 2) iASL Compiler/Disassembler and Tools:
3027
3028 iASL: Fixed a memory allocation/free regression introduced in 20140828 
3029 that could cause the compiler to crash. This was introduced inadvertently 
3030 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
3031 1113.
3032
3033 iASL: Removed two error messages that have been found to create false 
3034 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
3035 1) Illegal forward reference within a method
3036 2) Illegal reference across two methods
3037
3038 iASL: Implemented a new option (-lm) to create a hardware mapping file 
3039 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
3040 works for both the compiler and disassembler. See the iASL compiler user 
3041 guide for additional information and examples (section 6.4.6).
3042
3043 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
3044 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
3045 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
3046
3047 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
3048 unless STDIN is actually a terminal. Assists with batch-mode processing. 
3049 ACPICA BZ 1114.
3050
3051 Disassembler/AcpiHelp: Added another large group of recognized _HID 
3052 values.
3053
3054
3055 ----------------------------------------
3056 28 August 2014. Summary of changes for version 20140828:
3057
3058 1) ACPICA kernel-resident subsystem:
3059
3060 Fixed a problem related to the internal use of the Timer() operator where 
3061 a 64-bit divide could cause an attempted link to a double-precision math 
3062 library. This divide is not actually necessary, so the code was 
3063 restructured to eliminate it. Lv Zheng.
3064
3065 ACPI 5.1: Added support for the runtime validation of the _DSD package 
3066 (similar to the iASL support).
3067
3068 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
3069 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
3070
3071 Example Code and Data Size: These are the sizes for the OS-independent 
3072 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3073 debug version of the code includes the debug output trace mechanism and 
3074 has a much larger code and data size.
3075
3076   Current Release:
3077     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
3078     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
3079   Previous Release:
3080     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
3081     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
3082
3083 2) iASL Compiler/Disassembler and Tools:
3084
3085 AcpiExec: Fixed a problem on unix systems where the original terminal 
3086 state was not always properly restored upon exit. Seen when using the -v 
3087 option. ACPICA BZ 1104.
3088
3089 iASL: Fixed a problem with the validation of the ranges/length within the 
3090 Memory24 resource descriptor. There was a boundary condition when the 
3091 range was equal to the (length -1) caused by the fact that these values 
3092 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
3093
3094 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
3095 polarity 
3096 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
3097 is 
3098 now supported properly.
3099
3100 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
3101 in the disassembler, data table compiler, and table template generator.
3102
3103 iASL: Added a requirement for Device() objects that one of either a _HID 
3104 or _ADR must exist within the scope of a Device, as per the ACPI 
3105 specification. Remove a similar requirement that was incorrectly in place 
3106 for the _DSD object.
3107
3108 iASL: Added error detection for illegal named references within control 
3109 methods that would cause runtime failures. Now trapped as errors are: 1) 
3110 References to objects within a non-parent control method. 2) Forward 
3111 references (within a method) -- for control methods, AML interpreters use 
3112 a one-pass parse of control methods. ACPICA BZ 1008.
3113
3114 iASL: Added error checking for dependencies related to the _PSx power 
3115 methods. ACPICA BZ 1029.
3116 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
3117 _PS3.
3118 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
3119 scope.
3120
3121 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
3122 deploying the existing object and string caches and adding new caches for 
3123 the table compiler.
3124
3125 iASL: Split the huge parser source file into multiple subfiles to improve 
3126 manageability. Generation now requires the M4 macro preprocessor, which 
3127 is part of the Bison distribution on both unix and windows platforms.
3128
3129 AcpiSrc: Fixed and removed all extraneous warnings generated during 
3130 entire ACPICA source code scan and/or conversion.
3131
3132
3133 ----------------------------------------
3134
3135 24 July 2014. Summary of changes for version 20140724: 
3136
3137 The ACPI 5.1 specification has been released and is available at: 
3138 http://uefi.org/specs/access
3139
3140
3141 0) ACPI 5.1 support in ACPICA:
3142
3143 ACPI 5.1 is fully supported in ACPICA as of this release.
3144
3145 New predefined names. Support includes iASL and runtime ACPICA 
3146 validation.
3147     _CCA (Cache Coherency Attribute).
3148     _DSD (Device-Specific Data). David Box.
3149
3150 Modifications to existing ACPI tables. Support includes headers, iASL 
3151 Data Table compiler, disassembler, and the template generator.
3152     FADT - New fields and flags. Graeme Gregory.
3153     GTDT - One new subtable and new fields. Tomasz Nowicki.
3154     MADT - Two new subtables. Tomasz Nowicki.
3155     PCCT - One new subtable.
3156
3157 Miscellaneous.
3158     New notification type for System Resource Affinity change events.
3159
3160
3161 1) ACPICA kernel-resident subsystem:
3162
3163 Fixed a regression introduced in 20140627 where a fault can happen during 
3164 the deletion of Alias AML namespace objects. The problem affected both 
3165 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
3166
3167 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
3168 simple mechanism to enable wake GPEs that have no associated handler or 
3169 control method. Rafael Wysocki.
3170
3171 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
3172 handler or control method associated with the particular GPE. This will 
3173 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
3174
3175 Updated GPE handling and dispatch by disabling the GPE before clearing 
3176 the status bit for edge-triggered GPEs. Lv Zheng.
3177
3178 Added Timer() support to the AML Debug object. The current timer value is 
3179 now displayed with each invocation of (Store to) the debug object to 
3180 enable simple generation of execution times for AML code (method 
3181 execution for example.) ACPICA BZ 1093.
3182
3183 Example Code and Data Size: These are the sizes for the OS-independent 
3184 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3185 debug version of the code includes the debug output trace mechanism and 
3186 has a much larger code and data size.
3187
3188   Current Release:
3189     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
3190     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
3191   Previous Release:
3192     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3193     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3194
3195
3196 2) iASL Compiler/Disassembler and Tools:
3197
3198 Fixed an issue with the recently added local printf implementation, 
3199 concerning width/precision specifiers that could cause incorrect output. 
3200 Lv Zheng. ACPICA BZ 1094.
3201
3202 Disassembler: Added support to detect buffers that contain UUIDs and 
3203 disassemble them to an invocation of the ToUUID operator. Also emit 
3204 commented descriptions of known ACPI-related UUIDs.
3205
3206 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
3207 -u. Adds three new files. 
3208
3209 iASL: Update table compiler and disassembler for DMAR table changes that 
3210 were introduced in September 2013. With assistance by David Woodhouse.
3211
3212 ----------------------------------------
3213 27 June 2014. Summary of changes for version 20140627:
3214
3215 1) ACPICA kernel-resident subsystem:
3216
3217 Formatted Output: Implemented local versions of standard formatted output 
3218 utilities such as printf, etc. Over time, it has been discovered that 
3219 there are in fact many portability issues with printf, and the addition 
3220 of this feature will fix/prevent these issues once and for all. Some 
3221 known issues are summarized below:
3222
3223 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
3224 for the Linux kernel and is %uI64 for some MSVC versions.
3225 2) Invoking printf consistently in a manner that is portable across both 
3226 32-bit and 64-bit platforms is difficult at best in many situations.
3227 3) The output format for pointers varies from system to system (leading 
3228 zeros especially), and leads to inconsistent output from ACPICA across 
3229 platforms.
3230 4) Certain platform-specific printf formats may conflict with ACPICA use.
3231 5) If there is no local C library available, ACPICA now has local support 
3232 for printf.
3233
3234 -- To address these printf issues in a complete manner, ACPICA now 
3235 directly implements a small subset of printf format specifiers, only 
3236 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
3237
3238 Implemented support for ACPICA generation within the EFI environment. 
3239 Initially, the AcpiDump utility is supported in the UEFI shell 
3240 environment. Lv Zheng.
3241
3242 Added a new external interface, AcpiLogError, to improve ACPICA 
3243 portability. This allows the host to redirect error messages from the 
3244 ACPICA utilities. Lv Zheng.
3245
3246 Added and deployed new OSL file I/O interfaces to improve ACPICA 
3247 portability:
3248   AcpiOsOpenFile
3249   AcpiOsCloseFile
3250   AcpiOsReadFile
3251   AcpiOsWriteFile
3252   AcpiOsGetFileOffset
3253   AcpiOsSetFileOffset
3254 There are C library implementations of these functions in the new file 
3255 service_layers/oslibcfs.c -- however, the functions can be implemented by 
3256 the local host in any way necessary. Lv Zheng.
3257
3258 Implemented a mechanism to disable/enable ACPI table checksum validation 
3259 at runtime. This can be useful when loading tables very early during OS 
3260 initialization when it may not be possible to map the entire table in 
3261 order to compute the checksum. Lv Zheng.
3262
3263 Fixed a buffer allocation issue for the Generic Serial Bus support. 
3264 Originally, a fixed buffer length was used. This change allows for 
3265 variable-length buffers based upon the protocol indicated by the field 
3266 access attributes. Reported by Lan Tianyu. Lv Zheng.
3267
3268 Fixed a problem where an object detached from a namespace node was not 
3269 properly terminated/cleared and could cause a circular list problem if 
3270 reattached. ACPICA BZ 1063. David Box.
3271
3272 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
3273
3274 Fixed a possible memory leak in an error return path within the function 
3275 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
3276
3277 Example Code and Data Size: These are the sizes for the OS-independent 
3278 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3279 debug version of the code includes the debug output trace mechanism and 
3280 has a much larger code and data size.
3281
3282   Current Release:
3283     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3284     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3285   Previous Release:
3286     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3287     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3288
3289
3290 2) iASL Compiler/Disassembler and Tools:
3291
3292 Disassembler: Add dump of ASCII equivalent text within a comment at the 
3293 end of each line of the output for the Buffer() ASL operator.
3294
3295 AcpiDump: Miscellaneous changes:
3296   Fixed repetitive table dump in -n mode.
3297   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
3298 the ACPI 2.0 GUID fails.
3299
3300 iASL: Fixed a problem where the compiler could fault if incorrectly given 
3301 an acpidump output file as input. ACPICA BZ 1088. David Box.
3302
3303 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
3304 they are invoked without any arguments.
3305
3306 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
3307 1086. Colin Ian King.
3308
3309 Disassembler: Cleaned up a block of code that extracts a parent Op 
3310 object. Added a comment that explains that the parent is guaranteed to be 
3311 valid in this case. ACPICA BZ 1069.
3312
3313
3314 ----------------------------------------
3315 24 April 2014. Summary of changes for version 20140424:
3316
3317 1) ACPICA kernel-resident subsystem:
3318
3319 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
3320 Some of these tables are known to contain a trailing NULL entry. Lv 
3321 Zheng.
3322
3323 Removed an extraneous error message for the case where there are a large 
3324 number of system GPEs (> 124). This was the "32-bit FADT register is too 
3325 long to convert to GAS struct" message, which is irrelevant for GPEs 
3326 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
3327 (limited capacity) GAS bit length. Also, several changes to ensure proper 
3328 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
3329 internally.
3330
3331 Implemented and deployed additional configuration support for the public 
3332 ACPICA external interfaces. Entire classes of interfaces can now be 
3333 easily modified or configured out, replaced by stubbed inline functions 
3334 by default. Lv Zheng.
3335
3336 Moved all public ACPICA runtime configuration globals to the public 
3337 ACPICA external interface file for convenience. Also, removed some 
3338 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
3339
3340 Documentation: Added a new section to the ACPICA reference describing the 
3341 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
3342 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
3343 reference.
3344
3345 Example Code and Data Size: These are the sizes for the OS-independent 
3346 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3347 debug version of the code includes the debug output trace mechanism and 
3348 has a much larger code and data size.
3349
3350   Current Release:
3351     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3352     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3353   Previous Release:
3354     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
3355     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
3356
3357
3358 2) iASL Compiler/Disassembler and Tools:
3359
3360 iASL and disassembler: Add full support for the LPIT table (Low Power 
3361 Idle Table). Includes support in the disassembler, data table compiler, 
3362 and template generator.
3363
3364 AcpiDump utility:
3365 1) Add option to force the use of the RSDT (over the XSDT).
3366 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
3367
3368 iASL: Add check for predefined packages that are too large.  For 
3369 predefined names that contain subpackages, check if each subpackage is 
3370 too large. (Check for too small already exists.)
3371
3372 Debugger: Updated the GPE command (which simulates a GPE by executing the 
3373 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
3374 to the GPE 0/1 FADT-defined blocks.
3375
3376 Unix application OSL: Update line-editing support. Add additional error 
3377 checking and take care not to reset terminal attributes on exit if they 
3378 were never set. This should help guarantee that the terminal is always 
3379 left in the previous state on program exit.
3380
3381
3382 ----------------------------------------
3383 25 March 2014. Summary of changes for version 20140325:
3384
3385 1) ACPICA kernel-resident subsystem:
3386
3387 Updated the auto-serialize feature for control methods. This feature 
3388 automatically serializes all methods that create named objects in order 
3389 to prevent runtime errors. The update adds support to ignore the 
3390 currently executing AML SyncLevel when invoking such a method, in order 
3391 to prevent disruption of any existing SyncLevel priorities that may exist 
3392 in the AML code. Although the use of SyncLevels is relatively rare, this 
3393 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
3394 appear on some machines starting with the 20140214 release.
3395
3396 Added a new external interface to allow the host to install ACPI tables 
3397 very early, before the namespace is even created. AcpiInstallTable gives 
3398 the host additional flexibility for ACPI table management. Tables can be 
3399 installed directly by the host as if they had originally appeared in the 
3400 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
3401 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
3402 with additional internal restructuring and cleanup. See the ACPICA 
3403 Reference for interface details. Lv Zheng.
3404
3405 Added validation of the checksum for all incoming dynamically loaded 
3406 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
3407 Zheng.
3408
3409 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
3410 and GPE handler removal. Restructured calls to eliminate possible race 
3411 conditions. Lv Zheng.
3412
3413 Added a warning for the use/execution of the ASL/AML Unload (table) 
3414 operator. This will help detect and identify machines that use this 
3415 operator if and when it is ever used. This operator has never been seen 
3416 in the field and the usage model and possible side-effects of the drastic 
3417 runtime action of a full table removal are unknown.
3418
3419 Reverted the use of #pragma push/pop which was introduced in the 20140214 
3420 release. It appears that push and pop are not implemented by enough 
3421 compilers to make the use of this feature feasible for ACPICA at this 
3422 time. However, these operators may be deployed in a future ACPICA 
3423 release.
3424
3425 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
3426 handler interfaces.
3427
3428 Source code generation:
3429 1) Disabled the use of the "strchr" macro for the gcc-specific 
3430 generation. For some versions of gcc, this macro can periodically expose 
3431 a compiler bug which in turn causes compile-time error(s).
3432 2) Added support for PPC64 compilation. Colin Ian King.
3433
3434 Example Code and Data Size: These are the sizes for the OS-independent 
3435 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3436 debug version of the code includes the debug output trace mechanism and 
3437 has a much larger code and data size.
3438
3439   Current Release:
3440     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
3441     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
3442   Previous Release:
3443     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3444     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3445
3446
3447 2) iASL Compiler/Disassembler and Tools:
3448
3449 Disassembler: Added several new features to improve the readability of 
3450 the resulting ASL code. Extra information is emitted within comment 
3451 fields in the ASL code:
3452 1) Known _HID/_CID values are decoded to descriptive text.
3453 2) Standard values for the Notify() operator are decoded to descriptive 
3454 text.
3455 3) Target operands are expanded to full pathnames (in a comment) when 
3456 possible.
3457
3458 Disassembler: Miscellaneous updates for extern() handling:
3459 1) Abort compiler if file specified by -fe option does not exist.
3460 2) Silence unnecessary warnings about argument count mismatches.
3461 3) Update warning messages concerning unresolved method externals.
3462 4) Emit "UnknownObj" keyword for externals whose type cannot be 
3463 determined.
3464
3465 AcpiHelp utility:
3466 1) Added the -a option to display both the ASL syntax and the AML 
3467 encoding for an input ASL operator. This effectively displays all known 
3468 information about an ASL operator with one AcpiHelp invocation.
3469 2) Added substring match support (similar to a wildcard) for the -i 
3470 (_HID/PNP IDs) option.
3471
3472 iASL/Disassembler: Since this tool does not yet support execution on big-
3473 endian machines, added detection of endianness and an error message if 
3474 execution is attempted on big-endian. Support for big-endian within iASL 
3475 is a feature that is on the ACPICA to-be-done list.
3476
3477 AcpiBin utility:
3478 1) Remove option to extract binary files from an acpidump; this function 
3479 is made obsolete by the AcpiXtract utility.
3480 2) General cleanup of open files and allocated buffers.
3481
3482
3483 ----------------------------------------
3484 14 February 2014. Summary of changes for version 20140214:
3485
3486 1) ACPICA kernel-resident subsystem:
3487
3488 Implemented a new mechanism to proactively prevent problems with ill-
3489 behaved reentrant control methods that create named ACPI objects. This 
3490 behavior is illegal as per the ACPI specification, but is nonetheless 
3491 frequently seen in the field. Previously, this could lead to an 
3492 AE_ALREADY_EXISTS exception if the method was actually entered by more 
3493 than one thread. This new mechanism detects such methods at table load 
3494 time and marks them "serialized" to prevent reentrancy. A new global 
3495 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
3496 feature if desired. This mechanism and global option obsoletes and 
3497 supersedes the previous AcpiGbl_SerializeAllMethods option.
3498
3499 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
3500 respond TRUE to _OSI queries with this string. It is the stated policy of 
3501 ACPICA to add new strings to the _OSI support as soon as possible after 
3502 they are defined. See the full ACPICA _OSI policy which has been added to 
3503 the utilities/utosi.c file.
3504
3505 Hardened/updated the _PRT return value auto-repair code:
3506 1) Do not abort the repair on a single subpackage failure, continue to 
3507 check all subpackages.
3508 2) Add check for the minimum subpackage length (4).
3509 3) Properly handle extraneous NULL package elements.
3510
3511 Added support to avoid the possibility of infinite loops when traversing 
3512 object linked lists. Never allow an infinite loop, even in the face of 
3513 corrupted object lists.
3514
3515 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
3516 pack(pop) directives to ensure that the ACPICA headers are independent of 
3517 compiler settings or other host headers.
3518
3519 Example Code and Data Size: These are the sizes for the OS-independent 
3520 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3521 debug version of the code includes the debug output trace mechanism and 
3522 has a much larger code and data size.
3523
3524   Current Release:
3525     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3526     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3527   Previous Release:
3528     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3529     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3530
3531
3532 2) iASL Compiler/Disassembler and Tools:
3533
3534 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
3535 first reserved field was incorrectly forced to have a value of zero. This 
3536 change correctly forces the field to have a value of one. ACPICA BZ 1081.
3537
3538 Debugger: Added missing support for the "Extra" and "Data" subobjects 
3539 when displaying object data.
3540
3541 Debugger: Added support to display entire object linked lists when 
3542 displaying object data.
3543
3544 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
3545 Windows registry. This feature has been superseded by the acpidump 
3546 utility. 
3547
3548
3549 ----------------------------------------
3550 14 January 2014. Summary of changes for version 20140114:
3551
3552 1) ACPICA kernel-resident subsystem:
3553
3554 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
3555 copyright to all module headers and signons, including the standard Linux 
3556 header. This affects virtually every file in the ACPICA core subsystem, 
3557 iASL compiler, all ACPICA utilities, and the test suites.
3558
3559 Improved parameter validation for AcpiInstallGpeBlock. Added the 
3560 following checks:
3561 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
3562 2) There is not already a GPE block attached to the device.
3563 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
3564 device.
3565
3566 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
3567 support to allow references (namespace nodes) to be passed as arguments 
3568 to control methods via the evaluate object interface. This is probably 
3569 most useful for testing purposes, however.
3570
3571 Improved support for 32/64 bit physical addresses in printf()-like 
3572 output. This change improves the support for physical addresses in printf 
3573 debug statements and other output on both 32-bit and 64-bit hosts. It 
3574 consistently outputs the appropriate number of bytes for each host. The 
3575 %p specifier is unsatisfactory since it does not emit uniform output on 
3576 all hosts/clib implementations (on some, leading zeros are not supported, 
3577 leading to difficult-to-read output).
3578
3579 Example Code and Data Size: These are the sizes for the OS-independent 
3580 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3581 debug version of the code includes the debug output trace mechanism and 
3582 has a much larger code and data size.
3583
3584   Current Release:
3585     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3586     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3587   Previous Release:
3588     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3589     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3590
3591
3592 2) iASL Compiler/Disassembler and Tools:
3593
3594 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
3595 problem if the parent Field definition for the Connection operator refers 
3596 to an operation region that does not exist. ACPICA BZ 1064.
3597
3598 AcpiExec: Load of local test tables is now optional. The utility has the 
3599 capability to load some various tables to test features of ACPICA. 
3600 However, there are enough of them that the output of the utility became 
3601 confusing. With this change, only the required local tables are displayed 
3602 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
3603 line specification. This makes the default output simler and easier to 
3604 understand. The -el command line option restores the original behavior 
3605 for testing purposes.
3606
3607 AcpiExec: Added support for overlapping operation regions. This change 
3608 expands the simulation of operation regions by supporting regions that 
3609 overlap within the given address space. Supports SystemMemory and 
3610 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
3611
3612 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
3613 allows AcpiExec to simulate these address spaces, similar to the current 
3614 support for SystemMemory and SystemIO.
3615
3616 Debugger: Added new command to read/write/compare all namespace objects. 
3617 The command "test objects" will exercise the entire namespace by writing 
3618 new values to each data object, and ensuring that the write was 
3619 successful. The original value is then restored and verified.
3620
3621 Debugger: Added the "test predefined" command. This change makes this 
3622 test public and puts it under the new "test" command. The test executes 
3623 each and every predefined name within the current namespace.
3624
3625
3626 ----------------------------------------
3627 18 December 2013. Summary of changes for version 20131218:
3628
3629 Global note: The ACPI 5.0A specification was released this month. There 
3630 are no changes needed for ACPICA since this release of ACPI is an 
3631 errata/clarification release. The specification is available at 
3632 acpi.info. 
3633
3634
3635 1) ACPICA kernel-resident subsystem:
3636
3637 Added validation of the XSDT root table if it is present. Some older 
3638 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
3639 as containing some or all entries that are NULL pointers). This change 
3640 adds a new function to validate the XSDT before actually using it. If the 
3641 XSDT is found to be invalid, ACPICA will now automatically fall back to 
3642 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
3643 ACPICA and enhanced by Lv Zheng and Bob Moore.
3644
3645 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
3646 This change adds a runtime option that will force ACPICA to use the RSDT 
3647 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
3648 requires that an XSDT be used instead of the RSDT, the XSDT has been 
3649 found to be corrupt or ill-formed on some machines. Lv Zheng.
3650
3651 Added a runtime option to favor 32-bit FADT register addresses over the 
3652 64-bit addresses. This change adds an option to favor 32-bit FADT 
3653 addresses when there is a conflict between the 32-bit and 64-bit versions 
3654 of the same register. The default behavior is to use the 64-bit version 
3655 in accordance with the ACPI specification. This can now be overridden via 
3656 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
3657
3658 During the change above, the internal "Convert FADT" and "Verify FADT" 
3659 functions have been merged to simplify the code, making it easier to 
3660 understand and maintain. ACPICA BZ 933.
3661
3662 Improve exception reporting and handling for GPE block installation. 
3663 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
3664 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
3665
3666 Added helper macros to extract bus/segment numbers from the HEST table. 
3667 This change adds two macros to extract the encoded bus and segment 
3668 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
3669 Betty Dall <betty.dall@hp.com>
3670
3671 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
3672 by ACPICA. It is not a public macro, so it should have no effect on 
3673 existing OSV code. Lv Zheng.
3674
3675 Example Code and Data Size: These are the sizes for the OS-independent 
3676 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3677 debug version of the code includes the debug output trace mechanism and 
3678 has a much larger code and data size.
3679
3680   Current Release:
3681     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3682     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3683   Previous Release:
3684     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3685     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3686
3687
3688 2) iASL Compiler/Disassembler and Tools:
3689
3690 Disassembler: Improved pathname support for emitted External() 
3691 statements. This change adds full pathname support for external names 
3692 that have been resolved internally by the inclusion of additional ACPI 
3693 tables (via the iASL -e option). Without this change, the disassembler 
3694 can emit multiple externals for the same object, or it become confused 
3695 when the Scope() operator is used on an external object. Overall, greatly 
3696 improves the ability to actually recompile the emitted ASL code when 
3697 objects a referenced across multiple ACPI tables. Reported by Michael 
3698 Tsirkin (mst@redhat.com).
3699
3700 Tests/ASLTS: Updated functional control suite to execute with no errors. 
3701 David Box. Fixed several errors related to the testing of the interpreter 
3702 slack mode. Lv Zheng.
3703
3704 iASL: Added support to detect names that are declared within a control 
3705 method, but are unused (these are temporary names that are only valid 
3706 during the time the method is executing). A remark is issued for these 
3707 cases. ACPICA BZ 1022.
3708
3709 iASL: Added full support for the DBG2 table. Adds full disassembler, 
3710 table compiler, and template generator support for the DBG2 table (Debug 
3711 Port 2 table).
3712
3713 iASL: Added full support for the PCCT table, update the table definition. 
3714 Updates the PCCT table definition in the actbl3.h header and adds table 
3715 compiler and template generator support.
3716
3717 iASL: Added an option to emit only error messages (no warnings/remarks). 
3718 The -ve option will enable only error messages, warnings and remarks are 
3719 suppressed. This can simplify debugging when only the errors are 
3720 important, such as when an ACPI table is disassembled and there are many 
3721 warnings and remarks -- but only the actual errors are of real interest.
3722
3723 Example ACPICA code (source/tools/examples): Updated the example code so 
3724 that it builds to an actual working program, not just example code. Added 
3725 ACPI tables and execution of an example control method in the DSDT. Added 
3726 makefile support for Unix generation.
3727
3728
3729 ----------------------------------------
3730 15 November 2013. Summary of changes for version 20131115:
3731
3732 This release is available at https://acpica.org/downloads
3733
3734
3735 1) ACPICA kernel-resident subsystem:
3736
3737 Resource Manager: Fixed loop termination for the "get AML length" 
3738 function. The loop previously had an error termination on a NULL resource 
3739 pointer, which can never happen since the loop simply increments a valid 
3740 resource pointer. This fix changes the loop to terminate with an error on 
3741 an invalid end-of-buffer condition. The problem can be seen as an 
3742 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
3743 corrupted resource descriptor, or a resource descriptor that is missing 
3744 an END_TAG descriptor. Reported by Dan Carpenter 
3745 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
3746
3747 Table unload and ACPICA termination: Delete all attached data objects 
3748 during namespace node deletion. This fix updates namespace node deletion 
3749 to delete the entire list of attached objects (attached via 
3750 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
3751 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
3752
3753 ACPICA termination: Added support to delete all objects attached to the 
3754 root namespace node. This fix deletes any and all objects that have been 
3755 attached to the root node via AcpiAttachData. Previously, none of these 
3756 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
3757
3758 Debug output: Do not emit the function nesting level for the in-kernel 
3759 build. The nesting level is really only useful during a single-thread 
3760 execution. Therefore, only enable this output for the AcpiExec utility. 
3761 Also, only emit the thread ID when executing under AcpiExec (Context 
3762 switches are still always detected and a message is emitted). ACPICA BZ 
3763 972.
3764
3765 Example Code and Data Size: These are the sizes for the OS-independent 
3766 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3767 debug version of the code includes the debug output trace mechanism and 
3768 has a much larger code and data size.
3769
3770   Current Release:
3771     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3772     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3773   Previous Release:
3774     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3775     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3776
3777
3778 2) iASL Compiler/Disassembler and Tools:
3779
3780 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
3781 correct portable POSIX header for terminal control functions.
3782
3783 Disassembler: Fixed control method invocation issues related to the use 
3784 of the CondRefOf() operator. The problem is seen in the disassembly where 
3785 control method invocations may not be disassembled properly if the 
3786 control method name has been used previously as an argument to CondRefOf. 
3787 The solution is to not attempt to emit an external declaration for the 
3788 CondRefOf target (it is not necessary in the first place). This prevents 
3789 disassembler object type confusion. ACPICA BZ 988.
3790
3791 Unix Makefiles: Added an option to disable compiler optimizations and the 
3792 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
3793 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
3794 command line option for make (NOOPT) that disables all compiler 
3795 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
3796 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
3797 1034. Lv Zheng, Bob Moore.
3798
3799 Tests/ASLTS: Added options to specify individual test cases and modes. 
3800 This allows testers running aslts.sh to optionally specify individual 
3801 test modes and test cases. Also added an option to disable the forced 
3802 generation of the ACPICA tools from source if desired. Lv Zheng.
3803
3804 ----------------------------------------
3805 27 September 2013. Summary of changes for version 20130927:
3806
3807 This release is available at https://acpica.org/downloads
3808
3809
3810 1) ACPICA kernel-resident subsystem:
3811
3812 Fixed a problem with store operations to reference objects. This change 
3813 fixes a problem where a Store operation to an ArgX object that contained 
3814
3815 reference to a field object did not complete the automatic dereference 
3816 and 
3817 then write to the actual field object. Instead, the object type of the 
3818 field object was inadvertently changed to match the type of the source 
3819 operand. The new behavior will actually write to the field object (buffer 
3820 field or field unit), thus matching the correct ACPI-defined behavior.
3821
3822 Implemented support to allow the host to redefine individual OSL 
3823 prototypes. This change enables the host to redefine OSL prototypes found 
3824 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
3825 with a macro or inlined function. Further, it allows the host to add any 
3826 additional required modifiers such as __iomem, __init, __exit, etc., as 
3827 necessary on a per-interface basis. Enables maximum flexibility for the 
3828 OSL interfaces. Lv Zheng.
3829
3830 Hardcoded the access width for the FADT-defined reset register. The ACPI 
3831 specification requires the reset register width to be 8 bits. ACPICA now 
3832 hardcodes the width to 8 and ignores the FADT width value. This provides 
3833 compatibility with other ACPI implementations that have allowed BIOS code 
3834 with bad register width values to go unnoticed. Matthew Garett, Bob 
3835 Moore, 
3836 Lv Zheng.
3837
3838 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
3839 used 
3840 in the OSL header (acpiosxf). The change modifies the position of this 
3841 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
3842 build issues if the OSL defines the implementation of the interface to be 
3843 an inline stub function. Lv Zheng.
3844
3845 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
3846 initialization interfaces. This change adds a new macro for the main init 
3847 and terminate external interfaces in order to support hosts that require 
3848 additional or different processing for these functions. Changed from 
3849 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
3850 Zheng, Bob Moore.
3851
3852 Cleaned up the memory allocation macros for configurability. In the 
3853 common 
3854 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
3855 respective AcpiOs* OSL interfaces. Two options:
3856 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
3857 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
3858 2) For AcpiExec (and for debugging), the macros can optionally be 
3859 resolved 
3860 to the local ACPICA interfaces that track each allocation (local tracking 
3861 is used to immediately detect memory leaks).
3862 Lv Zheng.
3863
3864 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
3865 to predefine this macro to either TRUE or FALSE during the system build.
3866
3867 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
3868
3869 Example Code and Data Size: These are the sizes for the OS-independent 
3870 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3871 debug version of the code includes the debug output trace mechanism and 
3872 has a much larger code and data size.
3873
3874   Current Release:
3875     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3876     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3877   Previous Release:
3878     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3879     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3880
3881
3882 2) iASL Compiler/Disassembler and Tools:
3883
3884 iASL: Implemented wildcard support for the -e option. This simplifies use 
3885 when there are many SSDTs that must be included to resolve external 
3886 method 
3887 declarations. ACPICA BZ 1041. Example:
3888     iasl -e ssdt*.dat -d dsdt.dat
3889
3890 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
3891 adds a portable module that implements full history and limited line 
3892 editing for Unix and Linux systems. It does not use readline() due to 
3893 portability issues. Instead it uses the POSIX termio interface to put the 
3894 terminal in raw input mode so that the various special keys can be 
3895 trapped 
3896 (such as up/down-arrow for history support and left/right-arrow for line 
3897 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
3898
3899 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
3900 one or more spaces. This provides compatible with early or different 
3901 versions of the AcpiDump utility. ACPICA BZ 1044.
3902
3903 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
3904 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
3905 no other data. This change adds support to dump these tables. Any tables 
3906 shorter than the length of an ACPI table header remain in error (an error 
3907 message is emitted). Reported by Yi Li.
3908
3909 Debugger: Echo actual command along with the "unknown command" message.
3910
3911 ----------------------------------------
3912 23 August 2013. Summary of changes for version 20130823:
3913
3914 1) ACPICA kernel-resident subsystem:
3915
3916 Implemented support for host-installed System Control Interrupt (SCI) 
3917 handlers. Certain ACPI functionality requires the host to handle raw 
3918 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
3919 state support requires the host device driver to handle SCIs to examine 
3920 if the doorbell has been activated. Multiple SCI handlers can be 
3921 installed to allow for future expansion. New external interfaces are 
3922 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
3923 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
3924
3925 Operation region support: Never locally free the handler "context" 
3926 pointer. This change removes some dangerous code that attempts to free 
3927 the handler context pointer in some (rare) circumstances. The owner of 
3928 the handler owns this pointer and the ACPICA code should never touch it. 
3929 Although not seen to be an issue in any kernel, it did show up as a 
3930 problem (fault) under AcpiExec. Also, set the internal storage field for 
3931 the context pointer to zero when the region is deactivated, simply for 
3932 sanity. David Box. ACPICA BZ 1039.
3933
3934 AcpiRead: On error, do not modify the return value target location. If an 
3935 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
3936 modify the target of the return value pointer. Makes the code consistent 
3937 with the rest of ACPICA. Bjorn Helgaas.
3938
3939 Example Code and Data Size: These are the sizes for the OS-independent 
3940 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3941 debug version of the code includes the debug output trace mechanism and 
3942 has a much larger code and data size.
3943
3944   Current Release:
3945     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3946     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3947   Previous Release:
3948     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3949     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
3950
3951
3952 2) iASL Compiler/Disassembler and Tools:
3953
3954 AcpiDump: Implemented several new features and fixed some problems:
3955 1) Added support to dump the RSDP, RSDT, and XSDT tables.
3956 2) Added support for multiple table instances (SSDT, UEFI).
3957 3) Added option to dump "customized" (overridden) tables (-c).
3958 4) Fixed a problem where some table filenames were improperly 
3959 constructed.
3960 5) Improved some error messages, removed some unnecessary messages.
3961
3962 iASL: Implemented additional support for disassembly of ACPI tables that 
3963 contain invocations of external control methods. The -fe<file> option 
3964 allows the import of a file that specifies the external methods along 
3965 with the required number of arguments for each -- allowing for the 
3966 correct disassembly of the table. This is a workaround for a limitation 
3967 of AML code where the disassembler often cannot determine the number of 
3968 arguments required for an external control method and generates incorrect 
3969 ASL code. See the iASL reference for details. ACPICA BZ 1030.
3970
3971 Debugger: Implemented a new command (paths) that displays the full 
3972 pathnames (namepaths) and object types of all objects in the namespace. 
3973 This is an alternative to the namespace command.
3974
3975 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
3976 mechanism and any installed handlers.
3977
3978 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
3979 This can occur if there are too many parent prefixes in a namepath (for 
3980 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3981
3982 Application OSLs: Set the return value for the PCI read functions. These 
3983 functions simply return AE_OK, but should set the return value to zero 
3984 also. This change implements this. ACPICA BZ 1038.
3985
3986 Debugger: Prevent possible command line buffer overflow. Increase the 
3987 size of a couple of the debugger line buffers, and ensure that overflow 
3988 cannot happen. ACPICA BZ 1037.
3989
3990 iASL: Changed to abort immediately on serious errors during the parsing 
3991 phase. Due to the nature of ASL, there is no point in attempting to 
3992 compile these types of errors, and they typically end up causing a 
3993 cascade of hundreds of errors which obscure the original problem.
3994
3995 ----------------------------------------
3996 25 July 2013. Summary of changes for version 20130725:
3997
3998 1) ACPICA kernel-resident subsystem:
3999
4000 Fixed a problem with the DerefOf operator where references to FieldUnits 
4001 and BufferFields incorrectly returned the parent object, not the actual 
4002 value of the object. After this change, a dereference of a FieldUnit 
4003 reference results in a read operation on the field to get the value, and 
4004 likewise, the appropriate BufferField value is extracted from the target 
4005 buffer.
4006
4007 Fixed a problem where the _WAK method could cause a fault under these 
4008 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
4009 method returned no value. The problem is rarely seen because most kernels 
4010 run ACPICA in slack mode.
4011
4012 For the DerefOf operator, a fatal error now results if an attempt is made 
4013 to dereference a reference (created by the Index operator) to a NULL 
4014 package element. Provides compatibility with other ACPI implementations, 
4015 and this behavior will be added to a future version of the ACPI 
4016 specification.
4017
4018 The ACPI Power Management Timer (defined in the FADT) is now optional. 
4019 This provides compatibility with other ACPI implementations and will 
4020 appear in the next version of the ACPI specification. If there is no PM 
4021 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
4022 zero in the FADT indicates no PM timer.
4023
4024 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
4025 allows the host to globally enable/disable all vendor strings, all 
4026 feature strings, or both. Intended to be primarily used for debugging 
4027 purposes only. Lv Zheng.
4028
4029 Expose the collected _OSI data to the host via a global variable. This 
4030 data tracks the highest level vendor ID that has been invoked by the BIOS 
4031 so that the host (and potentially ACPICA itself) can change behaviors 
4032 based upon the age of the BIOS.
4033
4034 Example Code and Data Size: These are the sizes for the OS-independent 
4035 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4036 debug version of the code includes the debug output trace mechanism and 
4037 has a much larger code and data size.
4038
4039   Current Release:
4040     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
4041     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
4042   Previous Release:
4043     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
4044     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
4045
4046
4047 2) iASL Compiler/Disassembler and Tools:
4048
4049 iASL: Created the following enhancements for the -so option (create 
4050 offset table):
4051 1)Add offsets for the last nameseg in each namepath for every supported 
4052 object type
4053 2)Add support for Processor, Device, Thermal Zone, and Scope objects
4054 3)Add the actual AML opcode for the parent object of every supported 
4055 object type
4056 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
4057
4058 Disassembler: Emit all unresolved external symbols in a single block. 
4059 These are external references to control methods that could not be 
4060 resolved, and thus, the disassembler had to make a guess at the number of 
4061 arguments to parse.
4062
4063 iASL: The argument to the -T option (create table template) is now 
4064 optional. If not specified, the default table is a DSDT, typically the 
4065 most common case.
4066
4067 ----------------------------------------
4068 26 June 2013. Summary of changes for version 20130626:
4069
4070 1) ACPICA kernel-resident subsystem:
4071
4072 Fixed an issue with runtime repair of the _CST object. Null or invalid 
4073 elements were not always removed properly. Lv Zheng. 
4074
4075 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
4076 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
4077 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
4078 makes the system-wide number of GPEs essentially unlimited.
4079
4080 Example Code and Data Size: These are the sizes for the OS-independent 
4081 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4082 debug version of the code includes the debug output trace mechanism and 
4083 has a much larger code and data size.
4084
4085   Current Release:
4086     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
4087     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
4088   Previous Release:
4089     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
4090     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
4091
4092
4093 2) iASL Compiler/Disassembler and Tools:
4094
4095 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
4096 hosts. Now supports Linux, FreeBSD, and Windows.
4097
4098 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
4099 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
4100
4101 iASL/Preprocessor: Implemented full support for nested 
4102 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
4103
4104 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
4105 max. The original purpose of this constraint was to limit the amount of 
4106 debug output. However, the string function in question (UtPrintString) is 
4107 now used for the disassembler also, where 256 bytes is insufficient. 
4108 Reported by RehabMan@GitHub.
4109
4110 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
4111 tables. ACPICA BZ 999. Lv Zheng.
4112
4113 iASL: Fixed a couple of error exit issues that could result in a "Could 
4114 not delete <file>" message during ASL compilation.
4115
4116 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
4117 the actual signatures for these tables are "FACP" and "APIC", 
4118 respectively.
4119
4120 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
4121 tables are allowed to have multiple instances.
4122
4123 ----------------------------------------
4124 17 May 2013. Summary of changes for version 20130517:
4125
4126 1) ACPICA kernel-resident subsystem:
4127
4128 Fixed a regression introduced in version 20130328 for _INI methods. This 
4129 change fixes a problem introduced in 20130328 where _INI methods are no 
4130 longer executed properly because of a memory block that was not 
4131 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
4132 <tomasz.nowicki@linaro.org>.
4133
4134 Fixed a possible problem with the new extended sleep registers in the 
4135 ACPI 
4136 5.0 FADT. Do not use these registers (even if populated) unless the HW-
4137 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
4138 1020. Lv Zheng.
4139
4140 Implemented return value repair code for _CST predefined objects: Sort 
4141 the 
4142 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
4143
4144 Implemented a debug-only option to disable loading of SSDTs from the 
4145 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
4146 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
4147 acglobal.h - ACPICA BZ 1005. Lv Zheng.
4148
4149 Fixed some issues in the ACPICA initialization and termination code: 
4150 Tomasz Nowicki <tomasz.nowicki@linaro.org>
4151 1) Clear events initialized flag upon event component termination. ACPICA 
4152 BZ 1013.
4153 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
4154 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
4155 4) Clear debug buffer global on termination to prevent possible multiple 
4156 delete. ACPICA BZ 1010.
4157
4158 Standardized all switch() blocks across the entire source base. After 
4159 many 
4160 years, different formatting for switch() had crept in. This change makes 
4161 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
4162
4163 Split some files to enhance ACPICA modularity and configurability:
4164 1) Split buffer dump routines into utilities/utbuffer.c
4165 2) Split internal error message routines into utilities/uterror.c
4166 3) Split table print utilities into tables/tbprint.c
4167 4) Split iASL command-line option processing into asloptions.c
4168
4169 Makefile enhancements:
4170 1) Support for all new files above.
4171 2) Abort make on errors from any subcomponent. Chao Guan.
4172 3) Add build support for Apple Mac OS X. Liang Qi.
4173
4174 Example Code and Data Size: These are the sizes for the OS-independent 
4175 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4176 debug version of the code includes the debug output trace mechanism and 
4177 has a much larger code and data size.
4178
4179   Current Release:
4180     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
4181     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
4182   Previous Release:
4183     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4184     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4185
4186
4187 2) iASL Compiler/Disassembler and Tools:
4188
4189 New utility: Implemented an easily portable version of the acpidump 
4190 utility to extract ACPI tables from the system (or a file) in an ASCII 
4191 hex 
4192 dump format. The top-level code implements the various command line 
4193 options, file I/O, and table dump routines. To port to a new host, only 
4194 three functions need to be implemented to get tables -- since this 
4195 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
4196 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
4197 1) The Windows version obtains the ACPI tables from the Registry.
4198 2) The Linux version is under development.
4199 3) Other hosts - If an OS-dependent module is submitted, it will be 
4200 distributed with ACPICA.
4201
4202 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
4203 restructuring/change to the initialization sequence caused this option to 
4204 no longer work properly.
4205
4206 iASL: Implemented a mechanism to disable specific warnings and remarks. 
4207 Adds a new command line option, "-vw <messageid> as well as "#pragma 
4208 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
4209
4210 iASL: Fix for too-strict package object validation. The package object 
4211 validation for return values from the predefined names is a bit too 
4212 strict, it does not allow names references within the package (which will 
4213 be resolved at runtime.) These types of references cannot be validated at 
4214 compile time. This change ignores named references within package objects 
4215 for names that return or define static packages.
4216
4217 Debugger: Fixed the 80-character command line limitation for the History 
4218 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
4219
4220 iASL: Added control method and package support for the -so option 
4221 (generates AML offset table for BIOS support.)
4222
4223 iASL: issue a remark if a non-serialized method creates named objects. If 
4224 a thread blocks within the method for any reason, and another thread 
4225 enters the method, the method will fail because an attempt will be made 
4226 to 
4227 create the same (named) object twice. In this case, issue a remark that 
4228 the method should be marked serialized. NOTE: may become a warning later. 
4229 ACPICA BZ 909.
4230
4231 ----------------------------------------
4232 18 April 2013. Summary of changes for version 20130418:
4233
4234 1) ACPICA kernel-resident subsystem:
4235
4236 Fixed a possible buffer overrun during some rare but specific field unit 
4237 read operations. This overrun can only happen if the DSDT version is 1 -- 
4238 meaning that all AML integers are 32 bits -- and the field length is 
4239 between 33 and 55 bits long. During the read, an internal buffer object 
4240 is 
4241 created for the field unit because the field is larger than an integer 
4242 (32 
4243 bits). However, in this case, the buffer will be incorrectly written 
4244 beyond the end because the buffer length is less than the internal 
4245 minimum 
4246 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
4247 long, but a full 8 bytes will be written.
4248
4249 Updated the Embedded Controller "orphan" _REG method support. This refers 
4250 to _REG methods under the EC device that have no corresponding operation 
4251 region. This is allowed by the ACPI specification. This update removes a 
4252 dependency on the existence an ECDT table. It will execute an orphan _REG 
4253 method as long as the operation region handler for the EC is installed at 
4254 the EC device node and not the namespace root. Rui Zhang (original 
4255 update), Bob Moore (update/integrate).
4256
4257 Implemented run-time argument typechecking for all predefined ACPI names 
4258 (_STA, _BIF, etc.) This change performs object typechecking on all 
4259 incoming arguments for all predefined names executed via 
4260 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
4261 passing correct object types as well as the correct number of arguments 
4262 (therefore identifying any issues immediately). Also, the ASL/namespace 
4263 definition of the predefined name is checked against the ACPI 
4264 specification for the proper argument count. Adds one new file, 
4265 nsarguments.c
4266
4267 Changed an exception code for the ASL UnLoad() operator. Changed the 
4268 exception code for the case where the input DdbHandle is invalid, from 
4269 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
4270
4271 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
4272 global makefile. The use of this flag causes compiler errors on earlier 
4273 versions of GCC, so it has been removed for compatibility.
4274
4275 Miscellaneous cleanup:
4276 1) Removed some unused/obsolete macros
4277 2) Fixed a possible memory leak in the _OSI support
4278 3) Removed an unused variable in the predefined name support
4279 4) Windows OSL: remove obsolete reference to a memory list field
4280
4281 Example Code and Data Size: These are the sizes for the OS-independent 
4282 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4283 debug version of the code includes the debug output trace mechanism and 
4284 has a much larger code and data size.
4285
4286   Current Release:
4287     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4288     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4289   Previous Release:
4290     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4291     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4292
4293
4294 2) iASL Compiler/Disassembler and Tools:
4295
4296 AcpiExec: Added installation of a handler for the SystemCMOS address 
4297 space. This prevents control method abort if a method accesses this 
4298 space.
4299
4300 AcpiExec: Added support for multiple EC devices, and now install EC 
4301 operation region handler(s) at the actual EC device instead of the 
4302 namespace root. This reflects the typical behavior of host operating 
4303 systems.
4304
4305 AcpiExec: Updated to ensure that all operation region handlers are 
4306 installed before the _REG methods are executed. This prevents a _REG 
4307 method from aborting if it accesses an address space has no handler. 
4308 AcpiExec installs a handler for every possible address space.
4309
4310 Debugger: Enhanced the "handlers" command to display non-root handlers. 
4311 This change enhances the handlers command to display handlers associated 
4312 with individual devices throughout the namespace, in addition to the 
4313 currently supported display of handlers associated with the root 
4314 namespace 
4315 node.
4316
4317 ASL Test Suite: Several test suite errors have been identified and 
4318 resolved, reducing the total error count during execution. Chao Guan.
4319
4320 ----------------------------------------
4321 28 March 2013. Summary of changes for version 20130328:
4322
4323 1) ACPICA kernel-resident subsystem:
4324
4325 Fixed several possible race conditions with the internal object reference 
4326 counting mechanism. Some of the external ACPICA interfaces update object 
4327 reference counts without holding the interpreter or namespace lock. This 
4328 change adds a spinlock to protect reference count updates on the internal 
4329 ACPICA objects. Reported by and with assistance from Andriy Gapon 
4330 (avg@FreeBSD.org).
4331
4332 FADT support: Removed an extraneous warning for very large GPE register 
4333 sets. This change removes a size mismatch warning if the legacy length 
4334 field for a GPE register set is larger than the 64-bit GAS structure can 
4335 accommodate. GPE register sets can be larger than the 255-bit width 
4336 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
4337
4338 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
4339 return from this interface. Handles a possible timeout case if 
4340 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
4341 "forever". Jung-uk Kim.
4342
4343 Predefined name support: Add allowed/required argument type information 
4344 to 
4345 the master predefined info table. This change adds the infrastructure to 
4346 enable typechecking on incoming arguments for all predefined 
4347 methods/objects. It does not actually contain the code that will fully 
4348 utilize this information, this is still under development. Also condenses 
4349 some duplicate code for the predefined names into a new module, 
4350 utilities/utpredef.c
4351
4352 Example Code and Data Size: These are the sizes for the OS-independent 
4353 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4354 debug version of the code includes the debug output trace mechanism and 
4355 has a much larger code and data size.
4356
4357   Previous Release:
4358     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4359     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4360   Current Release:
4361     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4362     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4363
4364
4365 2) iASL Compiler/Disassembler and Tools:
4366
4367 iASL: Implemented a new option to simplify the development of ACPI-
4368 related 
4369 BIOS code. Adds support for a new "offset table" output file. The -so 
4370 option will create a C table containing the AML table offsets of various 
4371 named objects in the namespace so that BIOS code can modify them easily 
4372 at 
4373 boot time. This can simplify BIOS runtime code by eliminating expensive 
4374 searches for "magic values", enhancing boot times and adding greater 
4375 reliability. With assistance from Lee Hamel.
4376
4377 iASL: Allow additional predefined names to return zero-length packages. 
4378 Now, all predefined names that are defined by the ACPI specification to 
4379 return a "variable-length package of packages" are allowed to return a 
4380 zero length top-level package. This allows the BIOS to tell the host that 
4381 the requested feature is not supported, and supports existing BIOS/ASL 
4382 code and practices.
4383
4384 iASL: Changed the "result not used" warning to an error. This is the case 
4385 where an ASL operator is effectively a NOOP because the result of the 
4386 operation is not stored anywhere. For example:
4387     Add (4, Local0)
4388 There is no target (missing 3rd argument), nor is the function return 
4389 value used. This is potentially a very serious problem -- since the code 
4390 was probably intended to do something, but for whatever reason, the value 
4391 was not stored. Therefore, this issue has been upgraded from a warning to 
4392 an error.
4393
4394 AcpiHelp: Added allowable/required argument types to the predefined names 
4395 info display. This feature utilizes the recent update to the predefined 
4396 names table (above).
4397
4398 ----------------------------------------
4399 14 February 2013. Summary of changes for version 20130214:
4400
4401 1) ACPICA Kernel-resident Subsystem:
4402
4403 Fixed a possible regression on some hosts: Reinstated the safe return 
4404 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
4405 evaluated only once. Although these macros are not needed for the ACPICA 
4406 code itself, they are often used by ACPI-related host device drivers 
4407 where 
4408 the safe feature may be necessary.
4409
4410 Fixed several issues related to the ACPI 5.0 reduced hardware support 
4411 (SOC): Now ensure that if the platform declares itself as hardware-
4412 reduced 
4413 via the FADT, the following functions become NOOPs (and always return 
4414 AE_OK) because ACPI is always enabled by definition on these machines:
4415   AcpiEnable
4416   AcpiDisable
4417   AcpiHwGetMode
4418   AcpiHwSetMode
4419
4420 Dynamic Object Repair: Implemented additional runtime repairs for 
4421 predefined name return values. Both of these repairs can simplify code in 
4422 the related device drivers that invoke these methods:
4423 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
4424 string to a Unicode buffer. 
4425 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
4426
4427 lone end tag descriptor in the following cases: A Return(0) was executed, 
4428 a null buffer was returned, or no object at all was returned (non-slack 
4429 mode only). Adds a new file, nsconvert.c
4430 ACPICA BZ 998. Bob Moore, Lv Zheng.
4431
4432 Resource Manager: Added additional code to prevent possible infinite 
4433 loops 
4434 while traversing corrupted or ill-formed resource template buffers. Check 
4435 for zero-length resource descriptors in all code that loops through 
4436 resource templates (the length field is used to index through the 
4437 template). This change also hardens the external AcpiWalkResources and 
4438 AcpiWalkResourceBuffer interfaces.
4439
4440 Local Cache Manager: Enhanced the main data structure to eliminate an 
4441 unnecessary mechanism to access the next object in the list. Actually 
4442 provides a small performance enhancement for hosts that use the local 
4443 ACPICA cache manager. Jung-uk Kim.
4444
4445 Example Code and Data Size: These are the sizes for the OS-independent 
4446 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4447 debug version of the code includes the debug output trace mechanism and 
4448 has a much larger code and data size.
4449
4450   Previous Release:
4451     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4452     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4453   Current Release:
4454     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4455     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4456
4457
4458 2) iASL Compiler/Disassembler and Tools:
4459
4460 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
4461 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
4462 that were made to the ACPI 5.0 specification.
4463
4464 iASL/Disassembler: Added full support for the following new ACPI tables:
4465   1) The MTMR table (MID Timer Table)
4466   2) The VRTC table (Virtual Real Time Clock Table).
4467 Includes header file, disassembler, table compiler, and template support 
4468 for both tables.
4469
4470 iASL: Implemented compile-time validation of package objects returned by 
4471 predefined names. This new feature validates static package objects 
4472 returned by the various predefined names defined to return packages. Both 
4473 object types and package lengths are validated, for both parent packages 
4474 and sub-packages, if any. The code is similar in structure and behavior 
4475 to 
4476 the runtime repair mechanism within the AML interpreter and uses the 
4477 existing predefined name information table. Adds a new file, aslprepkg.c. 
4478 ACPICA BZ 938.
4479
4480 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
4481 This feature detects a binary file with a valid ACPI table header and 
4482 invokes the disassembler automatically. Eliminates the need to 
4483 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
4484
4485 iASL/Disassembler: Added several warnings for the case where there are 
4486 unresolved control methods during the disassembly. This can potentially 
4487 cause errors when the output file is compiled, because the disassembler 
4488 assumes zero method arguments in these cases (it cannot determine the 
4489 actual number of arguments without resolution/definition of the method).
4490
4491 Debugger: Added support to display all resources with a single command. 
4492 Invocation of the resources command with no arguments will now display 
4493 all 
4494 resources within the current namespace.
4495
4496 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
4497 via the -e option.
4498
4499 ----------------------------------------
4500 17 January 2013. Summary of changes for version 20130117:
4501
4502 1) ACPICA Kernel-resident Subsystem:
4503
4504 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
4505 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
4506 objects to return a package containing one integer, most BIOS code 
4507 returns 
4508 two integers and the previous code reflects that. However, we also need 
4509 to 
4510 support BIOS code that actually implements to the ACPI spec, and this 
4511 change reflects this.
4512
4513 Fixed two issues with the ACPI_DEBUG_PRINT macros:
4514 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
4515 C compilers that require this support.
4516 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
4517 ACPI_DEBUG is already used by many of the various hosts.
4518
4519 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
4520 copyright to all module headers and signons, including the standard Linux 
4521 header. This affects virtually every file in the ACPICA core subsystem, 
4522 iASL compiler, all ACPICA utilities, and the test suites.
4523
4524 Example Code and Data Size: These are the sizes for the OS-independent 
4525 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4526 debug version of the code includes the debug output trace mechanism and 
4527 has a much larger code and data size.
4528
4529   Previous Release:
4530     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4531     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4532   Current Release:
4533     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4534     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4535
4536
4537 2) iASL Compiler/Disassembler and Tools:
4538
4539 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
4540 prevent a possible fault on some hosts. Some C libraries modify the arg 
4541 pointer parameter to vfprintf making it difficult to call it twice in the 
4542 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
4543 does not affect the Windows OSL since the Win C library does not modify 
4544 the arg pointer. Chao Guan, Bob Moore.
4545
4546 iASL: Fixed a possible infinite loop when the maximum error count is 
4547 reached. If an output file other than the .AML file is specified (such as 
4548 a listing file), and the maximum number of errors is reached, do not 
4549 attempt to flush data to the output file(s) as the compiler is aborting. 
4550 This can cause an infinite loop as the max error count code essentially 
4551 keeps calling itself.
4552
4553 iASL/Disassembler: Added an option (-in) to ignore NOOP 
4554 opcodes/operators. 
4555 Implemented for both the compiler and the disassembler. Often, the NOOP 
4556 opcode is used as padding for packages that are changed dynamically by 
4557 the 
4558 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
4559 errors. This option causes the disassembler to ignore all NOOP opcodes 
4560 (0xA3), and it also causes the compiler to ignore all ASL source code 
4561 NOOP 
4562 statements as well.
4563
4564 Debugger: Enhanced the Sleep command to execute all sleep states. This 
4565 change allows Sleep to be invoked with no arguments and causes the 
4566 debugger to execute all of the sleep states, 0-5, automatically.
4567
4568 ----------------------------------------
4569 20 December 2012. Summary of changes for version 20121220:
4570
4571 1) ACPICA Kernel-resident Subsystem:
4572
4573 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
4574 alternate entry point for AcpiWalkResources and improves the usability of 
4575 the resource manager by accepting as input a buffer containing the output 
4576 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
4577 input buffer is not deleted by this interface so that it can be used by 
4578 the host later. See the ACPICA reference for details.
4579
4580 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
4581 (DSDT version < 2). The constant will be truncated and this warning 
4582 reflects that behavior.
4583
4584 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
4585 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
4586 both get and set the new wake bit in these descriptors, separately from 
4587 the existing share bit. Reported by Aaron Lu.
4588
4589 Interpreter: Fix Store() when an implicit conversion is not possible. For 
4590 example, in the cases such as a store of a string to an existing package 
4591 object, implement the store as a CopyObject(). This is a small departure 
4592 from the ACPI specification which states that the control method should 
4593 be 
4594 aborted in this case. However, the ASLTS suite depends on this behavior.
4595
4596 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
4597 macros: check if debug output is currently enabled as soon as possible to 
4598 minimize performance impact if debug is in fact not enabled.
4599
4600 Source code restructuring: Cleanup to improve modularity. The following 
4601 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
4602 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
4603 Associated makefiles and project files have been updated.
4604
4605 Changed an exception code for LoadTable operator. For the case where one 
4606 of the input strings is too long, change the returned exception code from 
4607 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
4608
4609 Fixed a possible memory leak in dispatcher error path. On error, delete 
4610 the mutex object created during method mutex creation. Reported by 
4611 tim.gardner@canonical.com.
4612
4613 Example Code and Data Size: These are the sizes for the OS-independent 
4614 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4615 debug version of the code includes the debug output trace mechanism and 
4616 has a much larger code and data size.
4617
4618   Previous Release:
4619     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4620     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4621   Current Release:
4622     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4623     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4624
4625
4626 2) iASL Compiler/Disassembler and Tools:
4627
4628 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
4629 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
4630 will not allow the interpreter to differentiate between a method and a 
4631 method invocation when these are used as an argument to the ObjectType 
4632 operator. The ACPI specification change is to disallow a method 
4633 invocation 
4634 (UserTerm) for the ObjectType operator.
4635
4636 Finish support for the TPM2 and CSRT tables in the headers, table 
4637 compiler, and disassembler.
4638
4639 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
4640 always expires immediately if the semaphore is not available. The 
4641 original 
4642 code was using a relative-time timeout, but sem_timedwait requires the 
4643 use 
4644 of an absolute time.
4645
4646 iASL: Added a remark if the Timer() operator is used within a 32-bit 
4647 table. This operator returns a 64-bit time value that will be truncated 
4648 within a 32-bit table.
4649
4650 iASL Source code restructuring: Cleanup to improve modularity. The 
4651 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
4652 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
4653 been updated.
4654
4655
4656 ----------------------------------------
4657 14 November 2012. Summary of changes for version 20121114:
4658
4659 1) ACPICA Kernel-resident Subsystem:
4660
4661 Implemented a performance enhancement for ACPI/AML Package objects. This 
4662 change greatly increases the performance of Package objects within the 
4663 interpreter. It changes the processing of reference counts for packages 
4664 by 
4665 optimizing for the most common case where the package sub-objects are 
4666 either Integers, Strings, or Buffers. Increases the overall performance 
4667 of 
4668 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
4669 2X.) 
4670 Chao Guan. ACPICA BZ 943.
4671
4672 Implemented and deployed common macros to extract flag bits from resource 
4673 descriptors. Improves readability and maintainability of the code. Fixes 
4674
4675 problem with the UART serial bus descriptor for the number of data bits 
4676 flags (was incorrectly 2 bits, should be 3).
4677
4678 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
4679 of the macros and changed the SETx macros to the style of (destination, 
4680 source). Also added ACPI_CASTx companion macros. Lv Zheng.
4681
4682 Example Code and Data Size: These are the sizes for the OS-independent 
4683 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4684 debug version of the code includes the debug output trace mechanism and 
4685 has a much larger code and data size.
4686
4687   Previous Release:
4688     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4689     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4690   Current Release:
4691     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4692     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4693
4694
4695 2) iASL Compiler/Disassembler and Tools:
4696
4697 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
4698 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
4699 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
4700
4701 Disassembler: Fixed a problem with external declaration generation. Fixes 
4702 a problem where an incorrect pathname could be generated for an external 
4703 declaration if the original reference to the object includes leading 
4704 carats (^). ACPICA BZ 984.
4705
4706 Debugger: Completed a major update for the Disassemble<method> command. 
4707 This command was out-of-date and did not properly disassemble control 
4708 methods that had any reasonable complexity. This fix brings the command 
4709 up 
4710 to the same level as the rest of the disassembler. Adds one new file, 
4711 dmdeferred.c, which is existing code that is now common with the main 
4712 disassembler and the debugger disassemble command. ACPICA MZ 978.
4713
4714 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
4715 Newer versions of Bison emit this prototype, so moved the prototype out 
4716 of 
4717 the iASL header to where it is actually used in order to avoid a 
4718 duplicate 
4719 declaration.
4720
4721 iASL/Tools: Standardized use of the stream I/O functions:
4722   1) Ensure check for I/O error after every fopen/fread/fwrite
4723   2) Ensure proper order of size/count arguments for fread/fwrite
4724   3) Use test of (Actual != Requested) after all fwrite, and most fread
4725   4) Standardize I/O error messages
4726 Improves reliability and maintainability of the code. Bob Moore, Lv 
4727 Zheng. 
4728 ACPICA BZ 981.
4729
4730 Disassembler: Prevent duplicate External() statements. During generation 
4731 of external statements, detect similar pathnames that are actually 
4732 duplicates such as these:
4733   External (\ABCD)
4734   External (ABCD)
4735 Remove all leading '\' characters from pathnames during the external 
4736 statement generation so that duplicates will be detected and tossed. 
4737 ACPICA BZ 985.
4738
4739 Tools: Replace low-level I/O with stream I/O functions. Replace 
4740 open/read/write/close with the stream I/O equivalents 
4741 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
4742 Moore.
4743
4744 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
4745 name header so that AcpiXtract recognizes the output file/table.
4746
4747 iASL: Remove obsolete -2 option flag. Originally intended to force the 
4748 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
4749 and the entire concept is now obsolete.
4750
4751 ----------------------------------------
4752 18 October 2012. Summary of changes for version 20121018:
4753
4754
4755 1) ACPICA Kernel-resident Subsystem:
4756
4757 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
4758 introduced by late changes to the table as it was added to the ACPI 5.0 
4759 specification. Includes header, disassembler, and data table compiler 
4760 support as well as a new version of the MPST template.
4761
4762 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
4763 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
4764 methods: _HID, _CID, and _UID.
4765
4766 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
4767 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
4768 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
4769 names for their various drivers. Affects the AcpiGetObjectInfo external 
4770 interface, and other internal interfaces as well.
4771
4772 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
4773 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
4774 on machines that support non-aligned transfers. Optimizes for this case 
4775 rather than using a strncpy. With assistance from Zheng Lv.
4776
4777 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
4778 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
4779
4780 Added a new debug print message for AML mutex objects that are force-
4781 released. At control method termination, any currently acquired mutex 
4782 objects are force-released. Adds a new debug-only message for each one 
4783 that is released.
4784
4785 Audited/updated all ACPICA return macros and the function debug depth 
4786 counter: 1) Ensure that all functions that use the various TRACE macros 
4787 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
4788 return statements surround the return expression (value) with parens to 
4789 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
4790 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
4791
4792 Global source code changes/maintenance: All extra lines at the start and 
4793 end of each source file have been removed for consistency. Also, within 
4794 comments, all new sentences start with a single space instead of a double 
4795 space, again for consistency across the code base.
4796
4797 Example Code and Data Size: These are the sizes for the OS-independent 
4798 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4799 debug version of the code includes the debug output trace mechanism and 
4800 has a much larger code and data size.
4801
4802   Previous Release:
4803     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4804     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4805   Current Release:
4806     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4807     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4808
4809
4810 2) iASL Compiler/Disassembler and Tools:
4811
4812 AcpiExec: Improved the algorithm used for memory leak/corruption 
4813 detection. Added some intelligence to the code that maintains the global 
4814 list of allocated memory. The list is now ordered by allocated memory 
4815 address, significantly improving performance. When running AcpiExec on 
4816 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
4817 on the platform and/or the environment. Note, this performance 
4818 enhancement affects the AcpiExec utility only, not the kernel-resident 
4819 ACPICA code.
4820
4821 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
4822 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
4823 incorrect table offset reported for invalid opcodes. Report the original 
4824 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
4825
4826 Disassembler: Enhanced the -vt option to emit the binary table data in 
4827 hex format to assist with debugging.
4828
4829 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
4830 size of file structure. Colin Ian King.
4831
4832 ----------------------------------------
4833 13 September 2012. Summary of changes for version 20120913:
4834
4835
4836 1) ACPICA Kernel-resident Subsystem:
4837
4838 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
4839 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
4840 and 
4841 MCE(6).
4842  
4843 Table Manager: Merged/removed duplicate code in the root table resize 
4844 functions. One function is external, the other is internal. Lv Zheng, 
4845 ACPICA 
4846 BZ 846.
4847
4848 Makefiles: Completely removed the obsolete "Linux" makefiles under 
4849 acpica/generate/linux. These makefiles are obsolete and have been 
4850 replaced 
4851 by 
4852 the generic unix makefiles under acpica/generate/unix.
4853
4854 Makefiles: Ensure that binary files always copied properly. Minor rule 
4855 change 
4856 to ensure that the final binary output files are always copied up to the 
4857 appropriate binary directory (bin32 or bin64.)
4858
4859 Example Code and Data Size: These are the sizes for the OS-independent 
4860 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4861 debug 
4862 version of the code includes the debug output trace mechanism and has a 
4863 much 
4864 larger code and data size.
4865
4866   Previous Release:
4867     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4868     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4869   Current Release:
4870     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4871     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4872
4873
4874 2) iASL Compiler/Disassembler and Tools:
4875
4876 Disassembler: Fixed a possible fault during the disassembly of resource 
4877 descriptors when a second parse is required because of the invocation of 
4878 external control methods within the table. With assistance from 
4879 adq@lidskialf.net. ACPICA BZ 976.
4880
4881 iASL: Fixed a namepath optimization problem. An error can occur if the 
4882 parse 
4883 node that contains the namepath to be optimized does not have a parent 
4884 node 
4885 that is a named object. This change fixes the problem.
4886
4887 iASL: Fixed a regression where the AML file is not deleted on errors. The 
4888 AML 
4889 output file should be deleted if there are any errors during the 
4890 compiler. 
4891 The 
4892 only exception is if the -f (force output) option is used. ACPICA BZ 974.
4893
4894 iASL: Added a feature to automatically increase internal line buffer 
4895 sizes. 
4896 Via realloc(), automatically increase the internal line buffer sizes as 
4897 necessary to support very long source code lines. The current version of 
4898 the 
4899 preprocessor requires a buffer long enough to contain full source code 
4900 lines. 
4901 This change increases the line buffer(s) if the input lines go beyond the 
4902 current buffer size. This eliminates errors that occurred when a source 
4903 code 
4904 line was longer than the buffer.
4905
4906 iASL: Fixed a problem with constant folding in method declarations. The 
4907 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
4908 if a 
4909 Type3 opcode was used.
4910
4911 Debugger: Improved command help support. For incorrect argument count, 
4912 display 
4913 full help for the command. For help command itself, allow an argument to 
4914 specify a command.
4915
4916 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
4917 errors during execution of the suite. Guan Chao.
4918
4919 ----------------------------------------
4920 16 August 2012. Summary of changes for version 20120816:
4921
4922
4923 1) ACPICA Kernel-resident Subsystem:
4924
4925 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
4926 _GTS 
4927 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
4928 deprecated and will probably be removed from the ACPI specification. 
4929 Windows 
4930 does not invoke them, and reportedly never will. The final nail in the 
4931 coffin 
4932 is that the ACPI specification states that these methods must be run with 
4933 interrupts off, which is not going to happen in a kernel interpreter. 
4934 Note: 
4935 Linux has removed all use of the methods also. It was discovered that 
4936 invoking these functions caused failures on some machines, probably 
4937 because 
4938 they were never tested since Windows does not call them. Affects two 
4939 external 
4940 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
4941 ACPICA BZ 969.
4942
4943 Implemented support for complex bit-packed buffers returned from the _PLD 
4944 (Physical Location of Device) predefined method. Adds a new external 
4945 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
4946
4947 structure. Note: C Bitfields cannot be used for this type of predefined 
4948 structure since the memory layout of individual bitfields is not defined 
4949 by 
4950 the C language. In addition, there are endian concerns where a compiler 
4951 will 
4952 change the bitfield ordering based on the machine type. The new ACPICA 
4953 interface eliminates these issues, and should be called after _PLD is 
4954 executed. ACPICA BZ 954.
4955
4956 Implemented a change to allow a scope change to root (via "Scope (\)") 
4957 during 
4958 execution of module-level ASL code (code that is executed at table load 
4959 time.) Lin Ming.
4960
4961 Added the Windows8/Server2012 string for the _OSI method. This change 
4962 adds 
4963
4964 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
4965 2012.
4966
4967 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
4968 2) 
4969 and CSRT (Core System Resource Table).
4970
4971 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
4972 names. This simplifies access to the buffers returned by these predefined 
4973 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4974
4975 GPE support: Removed an extraneous parameter from the various low-level 
4976 internal GPE functions. Tang Feng.
4977
4978 Removed the linux makefiles from the unix packages. The generate/linux 
4979 makefiles are obsolete and have been removed from the unix tarball 
4980 release 
4981 packages. The replacement makefiles are under generate/unix, and there is 
4982
4983 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4984
4985 Updates for Unix makefiles:
4986 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
4987 2) Update linker flags (move to end of command line) for AcpiExec 
4988 utility. 
4989 Guan Chao.
4990
4991 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
4992 utxface.c to improve modularity and reduce file size.
4993
4994 Example Code and Data Size: These are the sizes for the OS-independent 
4995 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4996 debug version of the code includes the debug output trace mechanism and 
4997 has a 
4998 much larger code and data size.
4999
5000   Previous Release:
5001     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
5002     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
5003   Current Release:
5004     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
5005     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
5006
5007
5008 2) iASL Compiler/Disassembler and Tools:
5009
5010 iASL: Fixed a problem with constant folding for fixed-length constant 
5011 expressions. The constant-folding code was not being invoked for constant 
5012 expressions that allow the use of type 3/4/5 opcodes to generate 
5013 constants 
5014 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
5015 result 
5016 in the generation of invalid AML bytecode. ACPICA BZ 970.
5017
5018 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
5019 apparently automatically emit some of the necessary externals. This 
5020 change 
5021 handles these versions in order to eliminate generation warnings.
5022
5023 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
5024
5025 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
5026 appears 
5027 within comments in the output file.
5028
5029 Debugger: Fixed a regression with the "Threads" command where 
5030 AE_BAD_PARAMETER was always returned.
5031
5032 ----------------------------------------
5033 11 July 2012. Summary of changes for version 20120711:
5034
5035 1) ACPICA Kernel-resident Subsystem:
5036
5037 Fixed a possible fault in the return package object repair code. Fixes a 
5038 problem that can occur when a lone package object is wrapped with an 
5039 outer 
5040 package object in order to force conformance to the ACPI specification. 
5041 Can 
5042 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
5043 _DLM, 
5044 _CSD, _PSD, _TSD.
5045
5046 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
5047 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
5048 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
5049 state 
5050 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
5051 both 
5052 Intel and other vendors. (for Intel: ICH4-M and earlier)
5053
5054 This change removes the code to disable/enable bus master arbitration 
5055 during 
5056 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
5057 causes 
5058 resume problems on some machines. The change has been in use for over 
5059 seven 
5060 years within Linux.
5061
5062 Implemented two new external interfaces to support host-directed dynamic 
5063 ACPI 
5064 table load and unload. They are intended to simplify the host 
5065 implementation 
5066 of hot-plug support:
5067   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
5068   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
5069 table.
5070 See the ACPICA reference for additional details. Adds one new file, 
5071 components/tables/tbxfload.c
5072
5073 Implemented and deployed two new interfaces for errors and warnings that 
5074 are 
5075 known to be caused by BIOS/firmware issues:
5076   AcpiBiosError: Prints "ACPI Firmware Error" message.
5077   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
5078 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
5079 table 
5080 and FADT errors. Additional deployment to be completed as appropriate in 
5081 the 
5082 future. The associated conditional macros are ACPI_BIOS_ERROR and 
5083 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
5084 ACPICA 
5085 BZ 
5086 843.
5087
5088 Implicit notify support: ensure that no memory allocation occurs within a 
5089 critical region. This fix moves a memory allocation outside of the time 
5090 that a 
5091 spinlock is held. Fixes issues on systems that do not allow this 
5092 behavior. 
5093 Jung-uk Kim.
5094
5095 Split exception code utilities and tables into a new file, 
5096 utilities/utexcep.c
5097
5098 Example Code and Data Size: These are the sizes for the OS-independent 
5099 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5100 debug 
5101 version of the code includes the debug output trace mechanism and has a 
5102 much 
5103 larger code and data size.
5104
5105   Previous Release:
5106     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
5107     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
5108   Current Release:
5109     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
5110     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
5111
5112
5113 2) iASL Compiler/Disassembler and Tools:
5114
5115 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
5116 of 
5117 0. Jung-uk Kim.
5118
5119 Debugger: Enhanced the "tables" command to emit additional information 
5120 about 
5121 the current set of ACPI tables, including the owner ID and flags decode.
5122
5123 Debugger: Reimplemented the "unload" command to use the new 
5124 AcpiUnloadParentTable external interface. This command was disable 
5125 previously 
5126 due to need for an unload interface.
5127
5128 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
5129 option 
5130 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
5131
5132 ----------------------------------------
5133 20 June 2012. Summary of changes for version 20120620:
5134
5135
5136 1) ACPICA Kernel-resident Subsystem:
5137
5138 Implemented support to expand the "implicit notify" feature to allow 
5139 multiple 
5140 devices to be notified by a single GPE. This feature automatically 
5141 generates a 
5142 runtime device notification in the absence of a BIOS-provided GPE control 
5143 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
5144 notify is 
5145 provided by ACPICA for Windows compatibility, and is a workaround for 
5146 BIOS 
5147 AML 
5148 code errors. See the description of the AcpiSetupGpeForWake interface in 
5149 the 
5150 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
5151
5152 Changed some comments and internal function names to simplify and ensure 
5153 correctness of the Linux code translation. No functional changes.
5154
5155 Example Code and Data Size: These are the sizes for the OS-independent 
5156 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5157 debug 
5158 version of the code includes the debug output trace mechanism and has a 
5159 much 
5160 larger code and data size.
5161
5162   Previous Release:
5163     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
5164     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
5165   Current Release:
5166     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
5167     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
5168
5169
5170 2) iASL Compiler/Disassembler and Tools:
5171
5172 Disassembler: Added support to emit short, commented descriptions for the 
5173 ACPI 
5174 predefined names in order to improve the readability of the disassembled 
5175 output. ACPICA BZ 959. Changes include:
5176   1) Emit descriptions for all standard predefined names (_INI, _STA, 
5177 _PRW, 
5178 etc.)
5179   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
5180   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
5181 etc.)
5182
5183 AcpiSrc: Fixed several long-standing Linux code translation issues. 
5184 Argument 
5185 descriptions in function headers are now translated properly to lower 
5186 case 
5187 and 
5188 underscores. ACPICA BZ 961. Also fixes translation problems such as 
5189 these: 
5190 (old -> new)
5191   i_aSL -> iASL
5192   00-7_f -> 00-7F
5193   16_k -> 16K
5194   local_fADT -> local_FADT
5195   execute_oSI -> execute_OSI
5196
5197 iASL: Fixed a problem where null bytes were inadvertently emitted into 
5198 some 
5199 listing files.
5200
5201 iASL: Added the existing debug options to the standard help screen. There 
5202 are 
5203 no longer two different help screens. ACPICA BZ 957.
5204
5205 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
5206 Also 
5207 expand some of the descriptions where appropriate.
5208
5209 iASL: Fixed the -ot option (display compile times/statistics). Was not 
5210 working 
5211 properly for standard output; only worked for the debug file case.
5212
5213 ----------------------------------------
5214 18 May 2012. Summary of changes for version 20120518:
5215
5216
5217 1) ACPICA Core Subsystem:
5218
5219 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
5220 defined 
5221 to block until asynchronous events such as notifies and GPEs have 
5222 completed. 
5223 Within ACPICA, it is only called before a notify or GPE handler is 
5224 removed/uninstalled. It also may be useful for the host OS within related 
5225 drivers such as the Embedded Controller driver. See the ACPICA reference 
5226 for 
5227 additional information. ACPICA BZ 868.
5228
5229 ACPI Tables: Added a new error message for a possible overflow failure 
5230 during 
5231 the conversion of FADT 32-bit legacy register addresses to internal 
5232 common 
5233 64-
5234 bit GAS structure representation. The GAS has a one-byte "bit length" 
5235 field, 
5236 thus limiting the register length to 255 bits. ACPICA BZ 953.
5237
5238 Example Code and Data Size: These are the sizes for the OS-independent 
5239 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5240 debug 
5241 version of the code includes the debug output trace mechanism and has a 
5242 much 
5243 larger code and data size.
5244
5245   Previous Release:
5246     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5247     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5248   Current Release:
5249     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
5250     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
5251
5252
5253 2) iASL Compiler/Disassembler and Tools:
5254
5255 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
5256 macro. 
5257 This keyword was added late in the ACPI 5.0 release cycle and was not 
5258 implemented until now.
5259
5260 Disassembler: Added support for Operation Region externals. Adds missing 
5261 support for operation regions that are defined in another table, and 
5262 referenced locally via a Field or BankField ASL operator. Now generates 
5263 the 
5264 correct External statement.
5265
5266 Disassembler: Several additional fixes for the External() statement 
5267 generation 
5268 related to some ASL operators. Also, order the External() statements 
5269 alphabetically in the disassembler output. Fixes the External() 
5270 generation 
5271 for 
5272 the Create* field, Alias, and Scope operators:
5273  1) Create* buffer field operators - fix type mismatch warning on 
5274 disassembly
5275  2) Alias - implement missing External support
5276  3) Scope - fix to make sure all necessary externals are emitted.
5277
5278 iASL: Improved pathname support. For include files, merge the prefix 
5279 pathname 
5280 with the file pathname and eliminate unnecessary components. Convert 
5281 backslashes in all pathnames to forward slashes, for readability. Include 
5282 file 
5283 pathname changes affect both #include and Include() type operators.
5284
5285 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
5286 end 
5287 of a valid line by inserting a newline and then returning the EOF during 
5288 the 
5289 next call to GetNextLine. Prevents the line from being ignored due to EOF 
5290 condition.
5291
5292 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
5293 Error 
5294 and Warning messages are now correctly recognized for both the source 
5295 code 
5296 browser and the global error and warning counts.
5297
5298 ----------------------------------------
5299 20 April 2012. Summary of changes for version 20120420:
5300
5301
5302 1) ACPICA Core Subsystem:
5303
5304 Implemented support for multiple notify handlers. This change adds 
5305 support 
5306 to 
5307 allow multiple system and device notify handlers on Device, Thermal Zone, 
5308 and 
5309 Processor objects. This can simplify the host OS notification 
5310 implementation. 
5311 Also re-worked and restructured the entire notify support code to 
5312 simplify 
5313 handler installation, handler removal, notify event queuing, and notify 
5314 dispatch to handler(s). Note: there can still only be two global notify 
5315 handlers - one for system notifies and one for device notifies. There are 
5316 no 
5317 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
5318 Moore, Rafael Wysocki.
5319
5320 Fixed a regression in the package repair code where the object reference 
5321 count was calculated incorrectly. Regression was introduced in the commit 
5322 "Support to add Package wrappers".
5323
5324 Fixed a couple possible memory leaks in the AML parser, in the error 
5325 recovery 
5326 path. Jesper Juhl, Lin Ming.
5327
5328 Example Code and Data Size: These are the sizes for the OS-independent 
5329 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5330 debug version of the code includes the debug output trace mechanism and 
5331 has a 
5332 much larger code and data size.
5333
5334   Previous Release:
5335     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5336     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5337   Current Release:
5338     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5339     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5340
5341
5342 2) iASL Compiler/Disassembler and Tools:
5343
5344 iASL: Fixed a problem with the resource descriptor support where the 
5345 length 
5346 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
5347 included in cumulative descriptor offset, resulting in incorrect values 
5348 for 
5349 resource tags within resource descriptors appearing after a 
5350 StartDependent* 
5351 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
5352
5353 iASL and Preprocessor: Implemented full support for the #line directive 
5354 to 
5355 correctly track original source file line numbers through the .i 
5356 preprocessor 
5357 output file - for error and warning messages.
5358
5359 iASL: Expand the allowable byte constants for address space IDs. 
5360 Previously, 
5361 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
5362 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
5363
5364 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
5365
5366 iASL: Add option to completely disable the preprocessor (-Pn).
5367
5368 iASL: Now emit all error/warning messages to standard error (stderr) by 
5369 default (instead of the previous stdout).
5370
5371 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
5372 Update 
5373 for resource descriptor offset fix above. Update/cleanup error output 
5374 routines. Enable and send iASL errors/warnings to an error logfile 
5375 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
5376 Fixed 
5377 several extraneous "unrecognized operator" messages.
5378
5379 ----------------------------------------
5380 20 March 2012. Summary of changes for version 20120320:
5381
5382
5383 1) ACPICA Core Subsystem:
5384
5385 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
5386 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
5387 apparently 
5388 does not execute these methods, and therefore these methods are often 
5389 untested. It has been seen on some systems where the execution of these 
5390 methods causes errors and also prevents the machine from entering S5. It 
5391 is 
5392 therefore suggested that host operating systems do not execute these 
5393 methods 
5394 by default. In the future, perhaps these methods can be optionally 
5395 executed 
5396 based on the age of the system and/or what is the newest version of 
5397 Windows 
5398 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
5399 and 
5400 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
5401 Ming.
5402
5403 Fixed a problem where the length of the local/common FADT was set too 
5404 early. 
5405 The local FADT table length cannot be set to the common length until the 
5406 original length has been examined. There is code that checks the table 
5407 length 
5408 and sets various fields appropriately. This can affect older machines 
5409 with 
5410 early FADT versions. For example, this can cause inadvertent writes to 
5411 the 
5412 CST_CNT register. Julian Anastasov.
5413
5414 Fixed a mapping issue related to a physical table override. Use the 
5415 deferred 
5416 mapping mechanism for tables loaded via the physical override OSL 
5417 interface. 
5418 This allows for early mapping before the virtual memory manager is 
5419 available. 
5420 Thomas Renninger, Bob Moore.
5421
5422 Enhanced the automatic return-object repair code: Repair a common problem 
5423 with 
5424 predefined methods that are defined to return a variable-length Package 
5425 of 
5426 sub-objects. If there is only one sub-object, some BIOS ASL code 
5427 mistakenly 
5428 simply returns the single object instead of a Package with one sub-
5429 object. 
5430 This new support will repair this error by wrapping a Package object 
5431 around 
5432 the original object, creating the correct and expected Package with one 
5433 sub-
5434 object. Names that can be repaired in this manner include: _ALR, _CSD, 
5435 _HPX, 
5436 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
5437 939.
5438
5439 Changed the exception code returned for invalid ACPI paths passed as 
5440 parameters to external interfaces such as AcpiEvaluateObject. Was 
5441 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
5442
5443 Example Code and Data Size: These are the sizes for the OS-independent 
5444 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5445 debug 
5446 version of the code includes the debug output trace mechanism and has a 
5447 much 
5448 larger code and data size.
5449
5450   Previous Release:
5451     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5452     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5453   Current Release:
5454     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5455     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5456
5457
5458 2) iASL Compiler/Disassembler and Tools:
5459
5460 iASL: Added the infrastructure and initial implementation of a integrated 
5461 C-
5462 like preprocessor. This will simplify BIOS development process by 
5463 eliminating 
5464 the need for a separate preprocessing step during builds. On Windows, it 
5465 also 
5466 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
5467 features including full #define() macro support are still under 
5468 development. 
5469 These preprocessor directives are supported:
5470     #define
5471     #elif
5472     #else
5473     #endif
5474     #error
5475     #if
5476     #ifdef
5477     #ifndef
5478     #include
5479     #pragma message
5480     #undef
5481     #warning
5482 In addition, these new command line options are supported:
5483     -D <symbol> Define symbol for preprocessor use
5484     -li         Create preprocessed output file (*.i)
5485     -P          Preprocess only and create preprocessor output file (*.i)
5486
5487 Table Compiler: Fixed a problem where the equals operator within an 
5488 expression 
5489 did not work properly.
5490
5491 Updated iASL to use the current versions of Bison/Flex. Updated the 
5492 Windows 
5493 project file to invoke these tools from the standard location. ACPICA BZ 
5494 904. 
5495 Versions supported:
5496     Flex for Windows:  V2.5.4
5497     Bison for Windows: V2.4.1
5498
5499 ----------------------------------------
5500 15 February 2012. Summary of changes for version 20120215:
5501
5502
5503 1) ACPICA Core Subsystem:
5504
5505 There have been some major changes to the sleep/wake support code, as 
5506 described below (a - e).
5507
5508 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
5509 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
5510 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
5511 the 
5512 time the _BFS method is called and the _WAK method is called. NOTE: all 
5513 hosts 
5514 must update their wake/resume code or else sleep/wake will not work 
5515 properly. 
5516 Rafael Wysocki.
5517
5518 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
5519 _WAK 
5520 method. Some machines require that the GPEs are enabled before the _WAK 
5521 method 
5522 is executed. Thomas Renninger.
5523
5524 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
5525 bit. 
5526 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
5527 to 
5528 determine whether the system is rebooting or resuming. Matthew Garrett.
5529
5530 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
5531 Sleep) to 
5532 match the ACPI specification requirement. Rafael Wysocki.
5533
5534 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
5535 registers within the V5 FADT. This support adds two new files: 
5536 hardware/hwesleep.c implements the support for the new registers. Moved 
5537 all 
5538 sleep/wake external interfaces to hardware/hwxfsleep.c.
5539
5540
5541 Added a new OSL interface for ACPI table overrides, 
5542 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
5543 table via a physical address, instead of the logical address required by 
5544 AcpiOsTableOverride. This simplifies the host implementation. Initial 
5545 implementation by Thomas Renninger. The ACPICA implementation creates a 
5546 single 
5547 shared function for table overrides that attempts both a logical and a 
5548 physical override.
5549
5550 Expanded the OSL memory read/write interfaces to 64-bit data 
5551 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
5552 transfer support for GAS register structures passed to AcpiRead and 
5553 AcpiWrite.
5554
5555 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
5556 custom 
5557 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
5558 model. 
5559 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
5560 about 
5561 10% of the code and 5% of the static data, and the following hardware 
5562 ACPI 
5563 features become unavailable:
5564     PM Event and Control registers
5565     SCI interrupt (and handler)
5566     Fixed Events
5567     General Purpose Events (GPEs)
5568     Global Lock
5569     ACPI PM timer
5570     FACS table (Waking vectors and Global Lock)
5571
5572 Updated the unix tarball directory structure to match the ACPICA git 
5573 source 
5574 tree. This ensures that the generic unix makefiles work properly (in 
5575 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
5576 867.
5577
5578 Updated the return value of the _REV predefined method to integer value 5 
5579 to 
5580 reflect ACPI 5.0 support.
5581
5582 Moved the external ACPI PM timer interface prototypes to the public 
5583 acpixf.h 
5584 file where they belong.
5585
5586 Example Code and Data Size: These are the sizes for the OS-independent 
5587 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5588 debug 
5589 version of the code includes the debug output trace mechanism and has a 
5590 much 
5591 larger code and data size.
5592
5593   Previous Release:
5594     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5595     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5596   Current Release:
5597     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5598     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5599
5600
5601 2) iASL Compiler/Disassembler and Tools:
5602
5603 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
5604 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
5605 incorrectly displayed.
5606
5607 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
5608 specification.
5609
5610 ----------------------------------------
5611 11 January 2012. Summary of changes for version 20120111:
5612
5613
5614 1) ACPICA Core Subsystem:
5615
5616 Implemented a new mechanism to allow host device drivers to check for 
5617 address 
5618 range conflicts with ACPI Operation Regions. Both SystemMemory and 
5619 SystemIO 
5620 address spaces are supported. A new external interface, 
5621 AcpiCheckAddressRange, 
5622 allows drivers to check an address range against the ACPI namespace. See 
5623 the 
5624 ACPICA reference for additional details. Adds one new file, 
5625 utilities/utaddress.c. Lin Ming, Bob Moore.
5626
5627 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
5628 Control 
5629 and 
5630 Status registers, update the ACPI 5.0 flags, and update internal data 
5631 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
5632 5.0 
5633 FADT is 268 bytes.
5634
5635 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
5636 copyright to 
5637 all module headers and signons, including the standard Linux header. This 
5638 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
5639 and 
5640 all ACPICA utilities.
5641
5642 Example Code and Data Size: These are the sizes for the OS-independent 
5643 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5644 debug 
5645 version of the code includes the debug output trace mechanism and has a 
5646 much 
5647 larger code and data size.
5648
5649   Previous Release:
5650     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5651     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5652   Current Release:
5653     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5654     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5655
5656
5657 2) iASL Compiler/Disassembler and Tools:
5658
5659 Disassembler: fixed a problem with the automatic resource tag generation 
5660 support. Fixes a problem where the resource tags are inadvertently not 
5661 constructed if the table being disassembled contains external references 
5662 to 
5663 control methods. Moved the actual construction of the tags to after the 
5664 final 
5665 namespace is constructed (after 2nd parse is invoked due to external 
5666 control 
5667 method references.) ACPICA BZ 941.
5668
5669 Table Compiler: Make all "generic" operators caseless. These are the 
5670 operators 
5671 like UINT8, String, etc. Making these caseless improves ease-of-use. 
5672 ACPICA BZ 
5673 934.
5674
5675 ----------------------------------------
5676 23 November 2011. Summary of changes for version 20111123:
5677
5678 0) ACPI 5.0 Support:
5679
5680 This release contains full support for the ACPI 5.0 specification, as 
5681 summarized below.
5682
5683 Reduced Hardware Support:
5684 -------------------------
5685
5686 This support allows for ACPI systems without the usual ACPI hardware. 
5687 This 
5688 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
5689 will 
5690 not attempt to initialize or use any of the usual ACPI hardware. Note, 
5691 when 
5692 this flag is set, all of the following ACPI hardware is assumed to be not 
5693 present and is not initialized or accessed:
5694
5695     General Purpose Events (GPEs)
5696     Fixed Events (PM1a/PM1b and PM Control)
5697     Power Management Timer and Console Buttons (power/sleep)
5698     Real-time Clock Alarm
5699     Global Lock
5700     System Control Interrupt (SCI)
5701     The FACS is assumed to be non-existent
5702
5703 ACPI Tables:
5704 ------------
5705
5706 All new tables and updates to existing tables are fully supported in the 
5707 ACPICA headers (for use by device drivers), the disassembler, and the 
5708 iASL 
5709 Data Table Compiler. ACPI 5.0 defines these new tables:
5710
5711     BGRT        /* Boot Graphics Resource Table */
5712     DRTM        /* Dynamic Root of Trust for Measurement table */
5713     FPDT        /* Firmware Performance Data Table */
5714     GTDT        /* Generic Timer Description Table */
5715     MPST        /* Memory Power State Table */
5716     PCCT        /* Platform Communications Channel Table */
5717     PMTT        /* Platform Memory Topology Table */
5718     RASF        /* RAS Feature table */
5719
5720 Operation Regions/SpaceIDs:
5721 ---------------------------
5722
5723 All new operation regions are fully supported by the iASL compiler, the 
5724 disassembler, and the ACPICA runtime code (for dispatch to region 
5725 handlers.) 
5726 The new operation region Space IDs are:
5727
5728     GeneralPurposeIo
5729     GenericSerialBus
5730
5731 Resource Descriptors:
5732 ---------------------
5733
5734 All new ASL resource descriptors are fully supported by the iASL 
5735 compiler, 
5736 the 
5737 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
5738 (including 
5739 all new predefined resource tags). New descriptors are:
5740
5741     FixedDma
5742     GpioIo
5743     GpioInt
5744     I2cSerialBus
5745     SpiSerialBus
5746     UartSerialBus
5747
5748 ASL/AML Operators, New and Modified:
5749 ------------------------------------
5750
5751 One new operator is added, the Connection operator, which is used to 
5752 associate 
5753 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
5754 individual 
5755 field objects within an operation region. Several new protocols are 
5756 associated 
5757 with the AccessAs operator. All are fully supported by the iASL compiler, 
5758 disassembler, and runtime ACPICA AML interpreter:
5759
5760     Connection                      // Declare Field Connection 
5761 attributes
5762     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
5763     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
5764 Protocol
5765     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
5766     RawDataBuffer                       // Data type for Vendor Data 
5767 fields
5768
5769 Predefined ASL/AML Objects:
5770 ---------------------------
5771
5772 All new predefined objects/control-methods are supported by the iASL 
5773 compiler 
5774 and the ACPICA runtime validation/repair (arguments and return values.) 
5775 New 
5776 predefined names include the following:
5777
5778 Standard Predefined Names (Objects or Control Methods):
5779     _AEI, _CLS, _CPC, _CWS, _DEP,
5780     _DLM, _EVT, _GCP, _CRT, _GWS,
5781     _HRV, _PRE, _PSE, _SRT, _SUB.
5782
5783 Resource Tags (Names used to access individual fields within resource 
5784 descriptors):
5785     _DBT, _DPL, _DRS, _END, _FLC,
5786     _IOR, _LIN, _MOD, _PAR, _PHA,
5787     _PIN, _PPI, _POL, _RXL, _SLV,
5788     _SPE, _STB, _TXL, _VEN.
5789
5790 ACPICA External Interfaces:
5791 ---------------------------
5792
5793 Several new interfaces have been defined for use by ACPI-related device 
5794 drivers and other host OS services:
5795
5796 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
5797 to 
5798 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
5799 provided by the BIOS. They are intended to be used in conjunction with 
5800 the 
5801 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
5802 mutual exclusion with the AML code/interpreter.
5803
5804 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
5805 defined 
5806 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
5807 provides 
5808 resource descriptors associated with hardware-reduced platform events, 
5809 similar 
5810 to the AcpiGetCurrentResources interface.
5811
5812 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
5813 operation regions, information about the Connection() object and any 
5814 optional 
5815 length information is passed to the region handler within the Context 
5816 parameter.
5817
5818 AcpiBufferToResource: This interface converts a raw AML buffer containing 
5819
5820 resource template or resource descriptor to the ACPI_RESOURCE internal 
5821 format 
5822 suitable for use by device drivers. Can be used by an operation region 
5823 handler 
5824 to convert the Connection() buffer object into a ACPI_RESOURCE.
5825
5826 Miscellaneous/Tools/TestSuites: 
5827 -------------------------------
5828
5829 Support for extended _HID names (Four alpha characters instead of three).
5830 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
5831 Support for ACPI 5.0 features in the ASLTS test suite.
5832 Fully updated documentation (ACPICA and iASL reference documents.)
5833
5834 ACPI Table Definition Language:
5835 -------------------------------
5836
5837 Support for this language was implemented and released as a subsystem of 
5838 the 
5839 iASL compiler in 2010. (See the iASL compiler User Guide.)
5840
5841
5842 Non-ACPI 5.0 changes for this release:
5843 --------------------------------------
5844
5845 1) ACPICA Core Subsystem:
5846
5847 Fix a problem with operation region declarations where a failure can 
5848 occur 
5849 if 
5850 the region name and an argument that evaluates to an object (such as the 
5851 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
5852 937.
5853
5854 Do not abort an ACPI table load if an invalid space ID is found within. 
5855 This 
5856 will be caught later if the offending method is executed. ACPICA BZ 925.
5857
5858 Fixed an issue with the FFixedHW space ID where the ID was not always 
5859 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
5860
5861 Fixed a problem with the 32-bit generation of the unix-specific OSL 
5862 (osunixxf.c). Lin Ming, ACPICA BZ 936.
5863
5864 Several changes made to enable generation with the GCC 4.6 compiler. 
5865 ACPICA BZ 
5866 935.
5867
5868 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
5869 Index/Bank 
5870 field registers out-of-range.
5871
5872 2) iASL Compiler/Disassembler and Tools:
5873
5874 iASL: Implemented the __PATH__ operator, which returns the full pathname 
5875 of 
5876 the current source file.
5877
5878 AcpiHelp: Automatically display expanded keyword information for all ASL 
5879 operators.
5880
5881 Debugger: Add "Template" command to disassemble/dump resource template 
5882 buffers.
5883
5884 Added a new master script to generate and execute the ASLTS test suite. 
5885 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
5886
5887 iASL: Fix problem with listing generation during processing of the 
5888 Switch() 
5889 operator where AML listing was disabled until the entire Switch block was 
5890 completed.
5891
5892 iASL: Improve support for semicolon statement terminators. Fix "invalid 
5893 character" message for some cases when the semicolon is used. Semicolons 
5894 are 
5895 now allowed after every <Term> grammar element. ACPICA BZ 927.
5896
5897 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
5898 923.
5899
5900 Disassembler: Fix problem with disassembly of the DataTableRegion 
5901 operator 
5902 where an inadvertent "Unhandled deferred opcode" message could be 
5903 generated.
5904
5905 3) Example Code and Data Size
5906
5907 These are the sizes for the OS-independent acpica.lib produced by the 
5908 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5909 includes the debug output trace mechanism and has a much larger code and 
5910 data 
5911 size.
5912
5913   Previous Release:
5914     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5915     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5916   Current Release:
5917     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5918     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5919
5920 ----------------------------------------
5921 22 September 2011. Summary of changes for version 20110922:
5922
5923 0) ACPI 5.0 News:
5924
5925 Support for ACPI 5.0 in ACPICA has been underway for several months and 
5926 will 
5927 be released at the same time that ACPI 5.0 is officially released.
5928
5929 The ACPI 5.0 specification is on track for release in the next few 
5930 months.
5931  
5932 1) ACPICA Core Subsystem:
5933
5934 Fixed a problem where the maximum sleep time for the Sleep() operator was 
5935 intended to be limited to two seconds, but was inadvertently limited to 
5936 20 
5937 seconds instead.
5938
5939 Linux and Unix makefiles: Added header file dependencies to ensure 
5940 correct 
5941 generation of ACPICA core code and utilities. Also simplified the 
5942 makefiles 
5943 considerably through the use of the vpath variable to specify search 
5944 paths. 
5945 ACPICA BZ 924.
5946
5947 2) iASL Compiler/Disassembler and Tools:
5948
5949 iASL: Implemented support to check the access length for all fields 
5950 created to 
5951 access named Resource Descriptor fields. For example, if a resource field 
5952 is 
5953 defined to be two bits, a warning is issued if a CreateXxxxField() is 
5954 used 
5955 with an incorrect bit length. This is implemented for all current 
5956 resource 
5957 descriptor names. ACPICA BZ 930.
5958   
5959 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
5960 56-
5961 bit integers.
5962
5963 iASL: Fixed a couple of issues associated with variable-length package 
5964 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
5965
5966 VAR_PACKAGE when these are used as a package length. 2) Allow the 
5967 VAR_PACKAGE 
5968 opcode (in addition to PACKAGE) when validating object types for 
5969 predefined 
5970 names.
5971
5972 iASL: Emit statistics for all output files (instead of just the ASL input 
5973 and 
5974 AML output). Includes listings, hex files, etc.
5975
5976 iASL: Added -G option to the table compiler to allow the compilation of 
5977 custom 
5978 ACPI tables. The only part of a table that is required is the standard 
5979 36-
5980 byte 
5981 ACPI header.
5982
5983 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
5984 headers), 
5985 which also adds correct 64-bit support. Also, now all output filenames 
5986 are 
5987 completely lower case.
5988
5989 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
5990 loading table files. A warning is issued for any such tables. The only 
5991 exception is an FADT. This also fixes a possible fault when attempting to 
5992 load 
5993 non-AML tables. ACPICA BZ 932.
5994
5995 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
5996
5997 missing table terminator could cause a fault when using the -p option.
5998
5999 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
6000 statistics.
6001
6002 3) Example Code and Data Size
6003
6004 These are the sizes for the OS-independent acpica.lib produced by the 
6005 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
6006 includes the debug output trace mechanism and has a much larger code and 
6007 data 
6008 size.
6009
6010   Previous Release (VC 9.0):
6011     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6012     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6013   Current Release (VC 9.0):
6014     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6015     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6016
6017
6018 ----------------------------------------
6019 23 June 2011. Summary of changes for version 20110623:
6020
6021 1) ACPI CA Core Subsystem:
6022
6023 Updated the predefined name repair mechanism to not attempt repair of a 
6024 _TSS 
6025 return object if a _PSS object is present. We can only sort the _TSS 
6026 return 
6027 package if there is no _PSS within the same scope. This is because if 
6028 _PSS 
6029 is 
6030 present, the ACPI specification dictates that the _TSS Power Dissipation 
6031 field 
6032 is to be ignored, and therefore some BIOSs leave garbage values in the 
6033 _TSS 
6034 Power field(s). In this case, it is best to just return the _TSS package 
6035 as-
6036 is. Reported by, and fixed with assistance from Fenghua Yu.
6037
6038 Added an option to globally disable the control method return value 
6039 validation 
6040 and repair. This runtime option can be used to disable return value 
6041 repair 
6042 if 
6043 this is causing a problem on a particular machine. Also added an option 
6044 to 
6045 AcpiExec (-dr) to set this disable flag.
6046
6047 All makefiles and project files: Major changes to improve generation of 
6048 ACPICA 
6049 tools. ACPICA BZ 912:
6050     Reduce default optimization levels to improve compatibility
6051     For Linux, add strict-aliasing=0 for gcc 4
6052     Cleanup and simplify use of command line defines
6053     Cleanup multithread library support
6054     Improve usage messages
6055
6056 Linux-specific header: update handling of THREAD_ID and pthread. For the 
6057 32-
6058 bit case, improve casting to eliminate possible warnings, especially with 
6059 the 
6060 acpica tools.
6061
6062 Example Code and Data Size: These are the sizes for the OS-independent 
6063 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6064 debug 
6065 version of the code includes the debug output trace mechanism and has a 
6066 much 
6067 larger code and data size.
6068
6069   Previous Release (VC 9.0):
6070     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
6071     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6072   Current Release (VC 9.0):
6073     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6074     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6075
6076 2) iASL Compiler/Disassembler and Tools:
6077
6078 With this release, a new utility named "acpihelp" has been added to the 
6079 ACPICA 
6080 package. This utility summarizes the ACPI specification chapters for the 
6081 ASL 
6082 and AML languages. It generates under Linux/Unix as well as Windows, and 
6083 provides the following functionality:
6084     Find/display ASL operator(s) -- with description and syntax.
6085     Find/display ASL keyword(s) -- with exact spelling and descriptions.
6086     Find/display ACPI predefined name(s) -- with description, number
6087         of arguments, and the return value data type.
6088     Find/display AML opcode name(s) -- with opcode, arguments, and 
6089 grammar.
6090     Decode/display AML opcode -- with opcode name, arguments, and 
6091 grammar.
6092
6093 Service Layers: Make multi-thread support configurable. Conditionally 
6094 compile 
6095 the multi-thread support so that threading libraries will not be linked 
6096 if 
6097 not 
6098 necessary. The only tool that requires multi-thread support is AcpiExec.
6099
6100 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
6101 of 
6102 Bison appear to want the interface to yyerror to be a const char * (or at 
6103 least this is a problem when generating iASL on some systems.) ACPICA BZ 
6104 923 
6105 Pierre Lejeune.
6106
6107 Tools: Fix for systems where O_BINARY is not defined. Only used for 
6108 Windows 
6109 versions of the tools.
6110
6111 ----------------------------------------
6112 27 May 2011. Summary of changes for version 20110527:
6113
6114 1) ACPI CA Core Subsystem:
6115
6116 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
6117 table 
6118 signature. Now, only allow SSDT, OEMx, and a null signature. History:
6119     1) Originally, we checked the table signature for "SSDT" or "PSDT".
6120        (PSDT is now obsolete.)
6121     2) We added support for OEMx tables, signature "OEM" plus a fourth
6122        "don't care" character.
6123     3) Valid tables were encountered with a null signature, so we just
6124        gave up on validating the signature, (05/2008).
6125     4) We encountered non-AML tables such as the MADT, which caused
6126        interpreter errors and kernel faults. So now, we once again allow
6127        only SSDT, OEMx, and now, also a null signature. (05/2011).
6128
6129 Added the missing _TDL predefined name to the global name list in order 
6130 to 
6131 enable validation. Affects both the core ACPICA code and the iASL 
6132 compiler.
6133
6134 Example Code and Data Size: These are the sizes for the OS-independent 
6135 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6136 debug 
6137 version of the code includes the debug output trace mechanism and has a 
6138 much 
6139 larger code and data size.
6140
6141   Previous Release (VC 9.0):
6142     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6143     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6144   Current Release (VC 9.0):
6145     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
6146     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6147
6148 2) iASL Compiler/Disassembler and Tools:
6149
6150 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
6151 the 
6152 debugger command line. This adds support beyond simple integers -- 
6153 including 
6154 Strings, Buffers, and Packages. Includes support for nested packages. 
6155 Increased the default command line buffer size to accommodate these 
6156 arguments. 
6157 See the ACPICA reference for details and syntax. ACPICA BZ 917.
6158  
6159 Debugger/AcpiExec: Implemented support for "default" method arguments for 
6160 the 
6161 Execute/Debug command. Now, the debugger will always invoke a control 
6162 method 
6163 with the required number of arguments -- even if the command line 
6164 specifies 
6165 none or insufficient arguments. It uses default integer values for any 
6166 missing 
6167 arguments. Also fixes a bug where only six method arguments maximum were 
6168 supported instead of the required seven.
6169
6170 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
6171 and 
6172 also return status in order to prevent buffer overruns. See the ACPICA 
6173 reference for details and syntax. ACPICA BZ 921
6174
6175 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
6176 makefiles to simplify support for the two different but similar parser 
6177 generators, bison and yacc.
6178
6179 Updated the generic unix makefile for gcc 4. The default gcc version is 
6180 now 
6181 expected to be 4 or greater, since options specific to gcc 4 are used.
6182
6183 ----------------------------------------
6184 13 April 2011. Summary of changes for version 20110413:
6185
6186 1) ACPI CA Core Subsystem:
6187
6188 Implemented support to execute a so-called "orphan" _REG method under the 
6189 EC 
6190 device. This change will force the execution of a _REG method underneath 
6191 the 
6192 EC 
6193 device even if there is no corresponding operation region of type 
6194 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
6195 compatible with Windows behavior. ACPICA BZ 875.
6196
6197 Added more predefined methods that are eligible for automatic NULL 
6198 package 
6199 element removal. This change adds another group of predefined names to 
6200 the 
6201 list 
6202 of names that can be repaired by having NULL package elements dynamically 
6203 removed. This group are those methods that return a single variable-
6204 length 
6205 package containing simple data types such as integers, buffers, strings. 
6206 This 
6207 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
6208 _PSL, 
6209 _Sx, 
6210 and _TZD. ACPICA BZ 914.
6211
6212 Split and segregated all internal global lock functions to a new file, 
6213 evglock.c.
6214
6215 Updated internal address SpaceID for DataTable regions. Moved this 
6216 internal 
6217 space 
6218 id in preparation for ACPI 5.0 changes that will include some new space 
6219 IDs. 
6220 This 
6221 change should not affect user/host code.
6222
6223 Example Code and Data Size: These are the sizes for the OS-independent 
6224 acpica.lib 
6225 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
6226 version of 
6227 the code includes the debug output trace mechanism and has a much larger 
6228 code 
6229 and 
6230 data size.
6231
6232   Previous Release (VC 9.0):
6233     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6234     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6235   Current Release (VC 9.0):
6236     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6237     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6238
6239 2) iASL Compiler/Disassembler and Tools:
6240
6241 iASL/DTC: Major update for new grammar features. Allow generic data types 
6242 in 
6243 custom ACPI tables. Field names are now optional. Any line can be split 
6244 to 
6245 multiple lines using the continuation char (\). Large buffers now use 
6246 line-
6247 continuation character(s) and no colon on the continuation lines. See the 
6248 grammar 
6249 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
6250 Moore.
6251
6252 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
6253 statements. 
6254 Since the parser stuffs a "zero" as the return value for these statements 
6255 (due 
6256 to 
6257 the underlying AML grammar), they were seen as "return with value" by the 
6258 iASL 
6259 semantic checking. They are now seen correctly as "null" return 
6260 statements.
6261
6262 iASL: Check if a_REG declaration has a corresponding Operation Region. 
6263 Adds a 
6264 check for each _REG to ensure that there is in fact a corresponding 
6265 operation 
6266 region declaration in the same scope. If not, the _REG method is not very 
6267 useful 
6268 since it probably won't be executed. ACPICA BZ 915.
6269
6270 iASL/DTC: Finish support for expression evaluation. Added a new 
6271 expression 
6272 parser 
6273 that implements c-style operator precedence and parenthesization. ACPICA 
6274 bugzilla 
6275 908.
6276
6277 Disassembler/DTC: Remove support for () and <> style comments in data 
6278 tables. 
6279 Now 
6280 that DTC has full expression support, we don't want to have comment 
6281 strings 
6282 that 
6283 start with a parentheses or a less-than symbol. Now, only the standard /* 
6284 and 
6285 // 
6286 comments are supported, as well as the bracket [] comments.
6287
6288 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
6289 "unusual" 
6290 headers in the acpidump file. Update the header validation to support 
6291 these 
6292 tables. Problem introduced in previous AcpiXtract version in the change 
6293 to 
6294 support "wrong checksum" error messages emitted by acpidump utility.
6295
6296 iASL: Add a * option to generate all template files (as a synonym for 
6297 ALL) 
6298 as 
6299 in 
6300 "iasl -T *" or "iasl -T ALL".
6301
6302 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
6303 completely 
6304 abort the compiler on "fatal" errors, simply should abort the current 
6305 compile. 
6306 This allows multiple compiles with a single (possibly wildcard) compiler 
6307 invocation.
6308
6309 ----------------------------------------
6310 16 March 2011. Summary of changes for version 20110316:
6311
6312 1) ACPI CA Core Subsystem:
6313
6314 Fixed a problem caused by a _PRW method appearing at the namespace root 
6315 scope 
6316 during the setup of wake GPEs. A fault could occur if a _PRW directly 
6317 under 
6318 the 
6319 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
6320
6321 Implemented support for "spurious" Global Lock interrupts. On some 
6322 systems, a 
6323 global lock interrupt can occur without the pending flag being set. Upon 
6324
6325 GL 
6326 interrupt, we now ensure that a thread is actually waiting for the lock 
6327 before 
6328 signaling GL availability. Rafael Wysocki, Bob Moore.
6329
6330 Example Code and Data Size: These are the sizes for the OS-independent 
6331 acpica.lib 
6332 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
6333 version of 
6334 the code includes the debug output trace mechanism and has a much larger 
6335 code 
6336 and 
6337 data size.
6338
6339   Previous Release (VC 9.0):
6340     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6341     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6342   Current Release (VC 9.0):
6343     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6344     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6345
6346 2) iASL Compiler/Disassembler and Tools:
6347
6348 Implemented full support for the "SLIC" ACPI table. Includes support in 
6349 the 
6350 header files, disassembler, table compiler, and template generator. Bob 
6351 Moore, 
6352 Lin Ming.
6353
6354 AcpiXtract: Correctly handle embedded comments and messages from 
6355 AcpiDump. 
6356 Apparently some or all versions of acpidump will occasionally emit a 
6357 comment 
6358 like 
6359 "Wrong checksum", etc., into the dump file. This was causing problems for 
6360 AcpiXtract. ACPICA BZ 905.
6361
6362 iASL: Fix the Linux makefile by removing an inadvertent double file 
6363 inclusion. 
6364 ACPICA BZ 913.
6365
6366 AcpiExec: Update installation of operation region handlers. Install one 
6367 handler 
6368 for a user-defined address space. This is used by the ASL test suite 
6369 (ASLTS).
6370
6371 ----------------------------------------
6372 11 February 2011. Summary of changes for version 20110211:
6373
6374 1) ACPI CA Core Subsystem:
6375
6376 Added a mechanism to defer _REG methods for some early-installed 
6377 handlers. 
6378 Most user handlers should be installed before call to 
6379 AcpiEnableSubsystem. 
6380 However, Event handlers and region handlers should be installed after 
6381 AcpiInitializeObjects. Override handlers for the "default" regions should 
6382 be 
6383 installed early, however. This change executes all _REG methods for the 
6384 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
6385 chicken/egg issues between them. ACPICA BZ 848.
6386
6387 Implemented an optimization for GPE detection. This optimization will 
6388 simply 
6389 ignore GPE registers that contain no enabled GPEs -- there is no need to 
6390 read the register since this information is available internally. This 
6391 becomes more important on machines with a large GPE space. ACPICA 
6392 bugzilla 
6393 884. Lin Ming. Suggestion from Joe Liu.
6394
6395 Removed all use of the highly unreliable FADT revision field. The 
6396 revision 
6397 number in the FADT has been found to be completely unreliable and cannot 
6398 be 
6399 trusted. Only the actual table length can be used to infer the version. 
6400 This 
6401 change updates the ACPICA core and the disassembler so that both no 
6402 longer 
6403 even look at the FADT version and instead depend solely upon the FADT 
6404 length.
6405
6406 Fix an unresolved name issue for the no-debug and no-error-message source 
6407 generation cases. The _AcpiModuleName was left undefined in these cases, 
6408 but 
6409 it is actually needed as a parameter to some interfaces. Define 
6410 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
6411
6412 Split several large files (makefiles and project files updated)
6413   utglobal.c   -> utdecode.c
6414   dbcomds.c    -> dbmethod.c dbnames.c
6415   dsopcode.c   -> dsargs.c dscontrol.c
6416   dsload.c     -> dsload2.c
6417   aslanalyze.c -> aslbtypes.c aslwalks.c
6418
6419 Example Code and Data Size: These are the sizes for the OS-independent 
6420 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6421 debug version of the code includes the debug output trace mechanism and 
6422 has 
6423 a much larger code and data size.
6424
6425   Previous Release (VC 9.0):
6426     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6427     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6428   Current Release (VC 9.0):
6429     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6430     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6431
6432 2) iASL Compiler/Disassembler and Tools:
6433
6434 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
6435 These are useful C-style macros with the standard definitions. ACPICA 
6436 bugzilla 898.
6437
6438 iASL/DTC: Added support for integer expressions and labels. Support for 
6439 full 
6440 expressions for all integer fields in all ACPI tables. Support for labels 
6441 in 
6442 "generic" portions of tables such as UEFI. See the iASL reference manual.
6443
6444 Debugger: Added a command to display the status of global handlers. The 
6445 "handlers" command will display op region, fixed event, and miscellaneous 
6446 global handlers. installation status -- and for op regions, whether 
6447 default 
6448 or user-installed handler will be used.
6449
6450 iASL: Warn if reserved method incorrectly returns a value. Many 
6451 predefined 
6452 names are defined such that they do not return a value. If implemented as 
6453
6454 method, issue a warning if such a name explicitly returns a value. ACPICA 
6455 Bugzilla 855.
6456
6457 iASL: Added detection of GPE method name conflicts. Detects a conflict 
6458 where 
6459 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
6460 (For 
6461 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
6462
6463 iASL/DTC: Fixed a couple input scanner issues with comments and line 
6464 numbers. Comment remover could get confused and miss a comment ending. 
6465 Fixed 
6466 a problem with line counter maintenance.
6467
6468 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
6469 is 
6470 no need to abort on simple errors within a field definition.
6471
6472 Debugger: Simplified the output of the help command. All help output now 
6473 in 
6474 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
6475
6476 ----------------------------------------
6477 12 January 2011. Summary of changes for version 20110112:
6478
6479 1) ACPI CA Core Subsystem:
6480
6481 Fixed a race condition between method execution and namespace walks that 
6482 can 
6483 possibly cause a fault. The problem was apparently introduced in version 
6484 20100528 as a result of a performance optimization that reduces the 
6485 number 
6486 of 
6487 namespace walks upon method exit by using the delete_namespace_subtree 
6488 function instead of the delete_namespace_by_owner function used 
6489 previously. 
6490 Bug is a missing namespace lock in the delete_namespace_subtree function. 
6491 dana.myers@oracle.com
6492
6493 Fixed several issues and a possible fault with the automatic "serialized" 
6494 method support. History: This support changes a method to "serialized" on 
6495 the 
6496 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
6497 possibility that it cannot handle reentrancy. This fix repairs a couple 
6498 of 
6499 issues seen in the field, especially on machines with many cores:
6500
6501     1) Delete method children only upon the exit of the last thread,
6502        so as to not delete objects out from under other running threads
6503       (and possibly causing a fault.)
6504     2) Set the "serialized" bit for the method only upon the exit of the
6505        Last thread, so as to not cause deadlock when running threads
6506        attempt to exit.
6507     3) Cleanup the use of the AML "MethodFlags" and internal method flags
6508        so that there is no longer any confusion between the two.
6509
6510     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
6511
6512 Debugger: Now lock the namespace for duration of a namespace dump. 
6513 Prevents 
6514 issues if the namespace is changing dynamically underneath the debugger. 
6515 Especially affects temporary namespace nodes, since the debugger displays 
6516 these also.
6517
6518 Updated the ordering of include files. The ACPICA headers should appear 
6519 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
6520 set 
6521 any necessary compiler-specific defines, etc. Affects the ACPI-related 
6522 tools 
6523 and utilities.
6524
6525 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
6526 copyright 
6527 to all module headers and signons, including the Linux header. This 
6528 affects 
6529 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
6530 utilities.
6531
6532 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
6533 project files for VC++ 6.0 are now obsolete. New project files can be 
6534 found 
6535 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
6536 details.
6537
6538 Example Code and Data Size: These are the sizes for the OS-independent 
6539 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6540 debug version of the code includes the debug output trace mechanism and 
6541 has a 
6542 much larger code and data size.
6543
6544   Previous Release (VC 6.0):
6545     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6546     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6547   Current Release (VC 9.0):
6548     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6549     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6550
6551 2) iASL Compiler/Disassembler and Tools:
6552
6553 iASL: Added generic data types to the Data Table compiler. Add "generic" 
6554 data 
6555 types such as UINT32, String, Unicode, etc., to simplify the generation 
6556 of 
6557 platform-defined tables such as UEFI. Lin Ming.
6558
6559 iASL: Added listing support for the Data Table Compiler. Adds listing 
6560 support 
6561 (-l) to display actual binary output for each line of input code.
6562
6563 ----------------------------------------
6564 09 December 2010. Summary of changes for version 20101209:
6565
6566 1) ACPI CA Core Subsystem:
6567
6568 Completed the major overhaul of the GPE support code that was begun in 
6569 July 
6570 2010. Major features include: removal of _PRW execution in ACPICA (host 
6571 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
6572 changes to existing interfaces, simplification of GPE handler operation, 
6573 and 
6574 a handful of new interfaces:
6575
6576     AcpiUpdateAllGpes
6577     AcpiFinishGpe
6578     AcpiSetupGpeForWake
6579     AcpiSetGpeWakeMask
6580     One new file, evxfgpe.c to consolidate all external GPE interfaces.
6581
6582 See the ACPICA Programmer Reference for full details and programming 
6583 information. See the new section 4.4 "General Purpose Event (GPE) 
6584 Support" 
6585 for a full overview, and section 8.7 "ACPI General Purpose Event 
6586 Management" 
6587 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
6588 Ming, 
6589 Bob Moore, Rafael Wysocki.
6590
6591 Implemented a new GPE feature for Windows compatibility, the "Implicit 
6592 Wake 
6593 GPE Notify". This feature will automatically issue a Notify(2) on a 
6594 device 
6595 when a Wake GPE is received if there is no corresponding GPE method or 
6596 handler. ACPICA BZ 870.
6597
6598 Fixed a problem with the Scope() operator during table parse and load 
6599 phase. 
6600 During load phase (table load or method execution), the scope operator 
6601 should 
6602 not enter the target into the namespace. Instead, it should open a new 
6603 scope 
6604 at the target location. Linux BZ 19462, ACPICA BZ 882.
6605
6606 Example Code and Data Size: These are the sizes for the OS-independent 
6607 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6608 debug version of the code includes the debug output trace mechanism and 
6609 has a 
6610 much larger code and data size.
6611
6612   Previous Release:
6613     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6614     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6615   Current Release:
6616     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6617     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6618
6619 2) iASL Compiler/Disassembler and Tools:
6620
6621 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
6622 are 
6623 "bus-specific" per the ACPI specification, and therefore any characters 
6624 are 
6625 acceptable. The only checks that can be performed are for a null string 
6626 and 
6627 perhaps for a leading asterisk. ACPICA BZ 886.
6628
6629 iASL: Fixed a problem where a syntax error that caused a premature EOF 
6630 condition on the source file emitted a very confusing error message. The 
6631 premature EOF is now detected correctly. ACPICA BZ 891.
6632
6633 Disassembler: Decode the AccessSize within a Generic Address Structure 
6634 (byte 
6635 access, word access, etc.) Note, this field does not allow arbitrary bit 
6636 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
6637
6638 New: AcpiNames utility - Example namespace dump utility. Shows an example 
6639 of 
6640 ACPICA configuration for a minimal namespace dump utility. Uses table and 
6641 namespace managers, but no AML interpreter. Does not add any 
6642 functionality 
6643 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
6644 partition and configure ACPICA. ACPICA BZ 883.
6645
6646 AML Debugger: Increased the debugger buffer size for method return 
6647 objects. 
6648 Was 4K, increased to 16K. Also enhanced error messages for debugger 
6649 method 
6650 execution, including the buffer overflow case.
6651
6652 ----------------------------------------
6653 13 October 2010. Summary of changes for version 20101013:
6654
6655 1) ACPI CA Core Subsystem:
6656
6657 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
6658 now 
6659 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
6660 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
6661
6662 Changed the type of the predefined namespace object _TZ from ThermalZone 
6663 to 
6664 Device. This was found to be confusing to the host software that 
6665 processes 
6666 the various thermal zones, since _TZ is not really a ThermalZone. 
6667 However, 
6668
6669 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
6670 Zhang.
6671
6672 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
6673 string is "Windows 2006 SP2".
6674
6675 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
6676 nsrepair 
6677 code automatically repairs _HID-related strings, this type of code is no 
6678 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
6679 878.
6680
6681 Example Code and Data Size: These are the sizes for the OS-independent 
6682 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6683 debug version of the code includes the debug output trace mechanism and 
6684 has a 
6685 much larger code and data size.
6686
6687   Previous Release:
6688     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6689     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6690   Current Release:
6691     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6692     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6693
6694 2) iASL Compiler/Disassembler and Tools:
6695
6696 iASL: Implemented additional compile-time validation for _HID strings. 
6697 The 
6698 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
6699 length 
6700 of 
6701 the string must be exactly seven or eight characters. For both _HID and 
6702 _CID 
6703 strings, all characters must be alphanumeric. ACPICA BZ 874.
6704
6705 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
6706 descriptors that are mostly or all zeros, with the expectation that they 
6707 will 
6708 be filled in at runtime. iASL now allows this as long as there is a 
6709 "resource 
6710 tag" (name) associated with the descriptor, which gives the ASL a handle 
6711 needed to modify the descriptor. ACPICA BZ 873.
6712
6713 Added single-thread support to the generic Unix application OSL. 
6714 Primarily 
6715 for iASL support, this change removes the use of semaphores in the 
6716 single-
6717 threaded ACPICA tools/applications - increasing performance. The 
6718 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
6719 option. ACPICA BZ 879.
6720
6721 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
6722 support 
6723 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
6724
6725 iASL: Moved all compiler messages to a new file, aslmessages.h.
6726
6727 ----------------------------------------
6728 15 September 2010. Summary of changes for version 20100915:
6729
6730 1) ACPI CA Core Subsystem:
6731
6732 Removed the AcpiOsDerivePciId OSL interface. The various host 
6733 implementations 
6734 of this function were not OS-dependent and are now obsolete and can be 
6735 removed from all host OSLs. This function has been replaced by 
6736 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
6737 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
6738 module, hwpci.c. ACPICA BZ 857.
6739
6740 Implemented a dynamic repair for _HID and _CID strings. The following 
6741 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
6742 string, and 2) the entire string is uppercased. Both repairs are in 
6743 accordance with the ACPI specification and will simplify host driver 
6744 code. 
6745 ACPICA BZ 871.
6746
6747 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
6748 always UINT64. This simplifies the ACPICA code, especially any printf 
6749 output. 
6750 UINT64 is the only common data type for all thread_id types across all 
6751 operating systems. It is now up to the host OSL to cast the native 
6752 thread_id 
6753 type to UINT64 before returning the value to ACPICA (via 
6754 AcpiOsGetThreadId). 
6755 Lin Ming, Bob Moore.
6756
6757 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
6758 "inline" 
6759 keyword is not standard across compilers, and this type allows inline to 
6760 be 
6761 configured on a per-compiler basis. Lin Ming.
6762
6763 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
6764 available. 
6765 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
6766 value 
6767 during suspend/restore operations. ACPICA BZ 869.
6768
6769 All code that implements error/warning messages with the "ACPI:" prefix 
6770 has 
6771 been moved to a new module, utxferror.c.
6772
6773 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
6774 it 
6775 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
6776
6777 Example Code and Data Size: These are the sizes for the OS-independent 
6778 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6779 debug version of the code includes the debug output trace mechanism and 
6780 has a 
6781 much larger code and data size.
6782
6783   Previous Release:
6784     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6785     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6786   Current Release:
6787     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6788     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6789
6790 2) iASL Compiler/Disassembler and Tools:
6791
6792 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
6793 file. 
6794 This keeps the output files free of random error messages that may 
6795 originate 
6796 from within the namespace/interpreter code. Used this opportunity to 
6797 merge 
6798 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
6799 866. Lin Ming, Bob Moore.
6800
6801 Tools: update some printfs for ansi warnings on size_t. Handle width 
6802 change 
6803 of size_t on 32-bit versus 64-bit generations. Lin Ming.
6804
6805 ----------------------------------------
6806 06 August 2010. Summary of changes for version 20100806:
6807
6808 1) ACPI CA Core Subsystem:
6809
6810 Designed and implemented a new host interface to the _OSI support code. 
6811 This 
6812 will allow the host to dynamically add or remove multiple _OSI strings, 
6813 as 
6814 well as install an optional handler that is called for each _OSI 
6815 invocation. 
6816 Also added a new AML debugger command, 'osi' to display and modify the 
6817 global 
6818 _OSI string table, and test support in the AcpiExec utility. See the 
6819 ACPICA 
6820 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
6821 New Functions:
6822     AcpiInstallInterface - Add an _OSI string.
6823     AcpiRemoveInterface - Delete an _OSI string.
6824     AcpiInstallInterfaceHandler - Install optional _OSI handler.
6825 Obsolete Functions:
6826     AcpiOsValidateInterface - no longer used.
6827 New Files:
6828     source/components/utilities/utosi.c
6829
6830 Re-introduced the support to enable multi-byte transfers for Embedded 
6831 Controller (EC) operation regions. A reported problem was found to be a 
6832 bug 
6833 in the host OS, not in the multi-byte support. Previously, the maximum 
6834 data 
6835 size passed to the EC operation region handler was a single byte. There 
6836 are 
6837 often EC Fields larger than one byte that need to be transferred, and it 
6838 is 
6839 useful for the EC driver to lock these as a single transaction. This 
6840 change 
6841 enables single transfers larger than 8 bits. This effectively changes the 
6842 access to the EC space from ByteAcc to AnyAcc, and will probably require 
6843 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
6844 bit 
6845 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
6846
6847 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
6848 prototype in acpiosxf.h had the output value pointer as a (void *).
6849 It should be a (UINT64 *). This may affect some host OSL code.
6850
6851 Fixed a couple problems with the recently modified Linux makefiles for 
6852 iASL 
6853 and AcpiExec. These new makefiles place the generated object files in the 
6854 local directory so that there can be no collisions between the files that 
6855 are 
6856 shared between them that are compiled with different options.
6857
6858 Example Code and Data Size: These are the sizes for the OS-independent 
6859 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6860 debug version of the code includes the debug output trace mechanism and 
6861 has a 
6862 much larger code and data size.
6863
6864   Previous Release:
6865     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6866     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6867   Current Release:
6868     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6869     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6870
6871 2) iASL Compiler/Disassembler and Tools:
6872
6873 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
6874 the 
6875 namespace from and disassemble an entire group of AML files. Useful for 
6876 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
6877 and 
6878 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
6879
6880 iASL: Allow multiple invocations of -e option. This change allows 
6881 multiple 
6882 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
6883 834. 
6884 Lin Ming.
6885
6886 ----------------------------------------
6887 02 July 2010. Summary of changes for version 20100702:
6888
6889 1) ACPI CA Core Subsystem:
6890
6891 Implemented several updates to the recently added GPE reference count 
6892 support. The model for "wake" GPEs is changing to give the host OS 
6893 complete 
6894 control of these GPEs. Eventually, the ACPICA core will not execute any 
6895 _PRW 
6896 methods, since the host already must execute them. Also, additional 
6897 changes 
6898 were made to help ensure that the reference counts are kept in proper 
6899 synchronization with reality. Rafael J. Wysocki.
6900
6901 1) Ensure that GPEs are not enabled twice during initialization.
6902 2) Ensure that GPE enable masks stay in sync with the reference count.
6903 3) Do not inadvertently enable GPEs when writing GPE registers.
6904 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
6905 interface. This interface will set or clear individual GPEs for wakeup.
6906 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
6907 interfaces 
6908 are now used for "runtime" GPEs only.
6909
6910 Changed the behavior of the GPE install/remove handler interfaces. The 
6911 GPE 
6912 is 
6913 no longer disabled during this process, as it was found to cause problems 
6914 on 
6915 some machines. Rafael J. Wysocki.
6916
6917 Reverted a change introduced in version 20100528 to enable Embedded 
6918 Controller multi-byte transfers. This change was found to cause problems 
6919 with 
6920 Index Fields and possibly Bank Fields. It will be reintroduced when these 
6921 problems have been resolved.
6922
6923 Fixed a problem with references to Alias objects within Package Objects. 
6924
6925 reference to an Alias within the definition of a Package was not always 
6926 resolved properly. Aliases to objects like Processors, Thermal zones, 
6927 etc. 
6928 were resolved to the actual object instead of a reference to the object 
6929 as 
6930 it 
6931 should be. Package objects are only allowed to contain integer, string, 
6932 buffer, package, and reference objects. Redhat bugzilla 608648.
6933
6934 Example Code and Data Size: These are the sizes for the OS-independent 
6935 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6936 debug version of the code includes the debug output trace mechanism and 
6937 has a 
6938 much larger code and data size.
6939
6940   Previous Release:
6941     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6942     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6943   Current Release:
6944     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6945     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6946
6947 2) iASL Compiler/Disassembler and Tools:
6948
6949 iASL: Implemented a new compiler subsystem to allow definition and 
6950 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
6951 These 
6952 are called "ACPI Data Tables", and the new compiler is the "Data Table 
6953 Compiler". This compiler is intended to simplify the existing error-prone 
6954 process of creating these tables for the BIOS, as well as allowing the 
6955 disassembly, modification, recompilation, and override of existing ACPI 
6956 data 
6957 tables. See the iASL User Guide for detailed information.
6958
6959 iASL: Implemented a new Template Generator option in support of the new 
6960 Data 
6961 Table Compiler. This option will create examples of all known ACPI tables 
6962 that can be used as the basis for table development. See the iASL 
6963 documentation and the -T option.
6964
6965 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
6966 Descriptor Table).
6967
6968 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
6969 object files in the local directory so that there can be no collisions 
6970 between the shared files between them that are generated with different 
6971 options.
6972
6973 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
6974 Use 
6975 the #define __APPLE__ to enable this support.
6976
6977 ----------------------------------------
6978 28 May 2010. Summary of changes for version 20100528:
6979
6980 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
6981 available at www.acpi.info. This is primarily an errata release.
6982
6983 1) ACPI CA Core Subsystem:
6984
6985 Undefined ACPI tables: We are looking for the definitions for the 
6986 following 
6987 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6988
6989 Implemented support to enable multi-byte transfers for Embedded 
6990 Controller 
6991 (EC) operation regions. Previously, the maximum data size passed to the 
6992 EC 
6993 operation region handler was a single byte. There are often EC Fields 
6994 larger 
6995 than one byte that need to be transferred, and it is useful for the EC 
6996 driver 
6997 to lock these as a single transaction. This change enables single 
6998 transfers 
6999 larger than 8 bits. This effectively changes the access to the EC space 
7000 from 
7001 ByteAcc to AnyAcc, and will probably require changes to the host OS 
7002 Embedded 
7003 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
7004 bit 
7005 transfers. Alexey Starikovskiy, Lin Ming
7006
7007 Implemented a performance enhancement for namespace search and access. 
7008 This 
7009 change enhances the performance of namespace searches and walks by adding 
7010
7011 backpointer to the parent in each namespace node. On large namespaces, 
7012 this 
7013 change can improve overall ACPI performance by up to 9X. Adding a pointer 
7014 to 
7015 each namespace node increases the overall size of the internal namespace 
7016 by 
7017 about 5%, since each namespace entry usually consists of both a namespace 
7018 node and an ACPI operand object. However, this is the first growth of the 
7019 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
7020
7021 Implemented a performance optimization that reduces the number of 
7022 namespace 
7023 walks. On control method exit, only walk the namespace if the method is 
7024 known 
7025 to have created namespace objects outside of its local scope. Previously, 
7026 the 
7027 entire namespace was traversed on each control method exit. This change 
7028 can 
7029 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
7030 Moore.
7031
7032 Added support to truncate I/O addresses to 16 bits for Windows 
7033 compatibility. 
7034 Some ASL code has been seen in the field that inadvertently has bits set 
7035 above bit 15. This feature is optional and is enabled if the BIOS 
7036 requests 
7037 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
7038 Garrett, Bob Moore.
7039
7040 Added support to limit the maximum time for the ASL Sleep() operator. To 
7041 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
7042 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
7043 bugzilla 854.
7044
7045 Added run-time validation support for the _WDG and_WED Microsoft 
7046 predefined 
7047 methods. These objects are defined by "Windows Instrumentation", and are 
7048 not 
7049 part of the ACPI spec. ACPICA BZ 860.
7050
7051 Expanded all statistic counters used during namespace and device 
7052 initialization from 16 to 32 bits in order to support very large 
7053 namespaces.
7054
7055 Replaced all instances of %d in printf format specifiers with %u since 
7056 nearly 
7057 all integers in ACPICA are unsigned.
7058
7059 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
7060 returned 
7061 as AE_NO_HANDLER.
7062
7063 Example Code and Data Size: These are the sizes for the OS-independent 
7064 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7065 debug version of the code includes the debug output trace mechanism and 
7066 has a 
7067 much larger code and data size.
7068
7069   Previous Release:
7070     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
7071     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
7072   Current Release:
7073     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
7074     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
7075
7076 2) iASL Compiler/Disassembler and Tools:
7077
7078 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
7079 methods. These objects are defined by "Windows Instrumentation", and are 
7080 not 
7081 part of the ACPI spec. ACPICA BZ 860.
7082
7083 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
7084 option will disable the tracking mechanism, which improves performance 
7085 considerably.
7086
7087 AcpiExec: Restructured the command line options into -d (disable) and -e 
7088 (enable) options.
7089
7090 ----------------------------------------
7091 28 April 2010. Summary of changes for version 20100428:
7092
7093 1) ACPI CA Core Subsystem:
7094
7095 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
7096 including FADT-based and GPE Block Devices, execute any _PRW methods in 
7097 the 
7098 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
7099 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
7100 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
7101 Devices. Provides compatibility with other ACPI implementations. Two new 
7102 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
7103 Moore.
7104
7105 Fixed a regression introduced in version 20100331 within the table 
7106 manager 
7107 where initial table loading could fail. This was introduced in the fix 
7108 for 
7109 AcpiReallocateRootTable. Also, renamed some of fields in the table 
7110 manager 
7111 data structures to clarify their meaning and use.
7112
7113 Fixed a possible allocation overrun during internal object copy in 
7114 AcpiUtCopySimpleObject. The original code did not correctly handle the 
7115 case 
7116 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
7117 847.
7118
7119 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
7120 possible access beyond end-of-allocation. Also, now fully validate 
7121 descriptor 
7122 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
7123
7124 Example Code and Data Size: These are the sizes for the OS-independent 
7125 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7126 debug version of the code includes the debug output trace mechanism and 
7127 has a 
7128 much larger code and data size.
7129
7130   Previous Release:
7131     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
7132     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
7133   Current Release:
7134     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
7135     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
7136
7137 2) iASL Compiler/Disassembler and Tools:
7138
7139 iASL: Implemented Min/Max/Len/Gran validation for address resource 
7140 descriptors. This change implements validation for the address fields 
7141 that 
7142 are common to all address-type resource descriptors. These checks are 
7143 implemented: Checks for valid Min/Max, length within the Min/Max window, 
7144 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
7145 per 
7146 table 6-40 in the ACPI 4.0a specification. Also split the large 
7147 aslrestype1.c 
7148 and aslrestype2.c files into five new files. ACPICA BZ 840.
7149
7150 iASL: Added support for the _Wxx predefined names. This support was 
7151 missing 
7152 and these names were not recognized by the compiler as valid predefined 
7153 names. ACPICA BZ 851.
7154
7155 iASL: Added an error for all predefined names that are defined to return 
7156 no 
7157 value and thus must be implemented as Control Methods. These include all 
7158 of 
7159 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
7160 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
7161
7162 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
7163 an 
7164 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
7165 be 
7166 dynamically loaded via the Load() operator. Also cleaned up output for 
7167 the 
7168 -
7169 ta and -tc options. ACPICA BZ 853.
7170
7171 Tests: Added a new file with examples of extended iASL error checking. 
7172 Demonstrates the advanced error checking ability of the iASL compiler. 
7173 Available at tests/misc/badcode.asl.
7174
7175 ----------------------------------------
7176 31 March 2010. Summary of changes for version 20100331:
7177
7178 1) ACPI CA Core Subsystem:
7179
7180 Completed a major update for the GPE support in order to improve support 
7181 for 
7182 shared GPEs and to simplify both host OS and ACPICA code. Added a 
7183 reference 
7184 count mechanism to support shared GPEs that require multiple device 
7185 drivers. 
7186 Several external interfaces have changed. One external interface has been 
7187 removed. One new external interface was added. Most of the GPE external 
7188 interfaces now use the GPE spinlock instead of the events mutex (and the 
7189 Flags parameter for many GPE interfaces has been removed.) See the 
7190 updated 
7191 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
7192 Rafael 
7193 Wysocki. ACPICA BZ 831.
7194
7195 Changed:
7196     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
7197 Removed:
7198     AcpiSetGpeType
7199 New:
7200     AcpiSetGpe
7201
7202 Implemented write support for DataTable operation regions. These regions 
7203 are 
7204 defined via the DataTableRegion() operator. Previously, only read support 
7205 was 
7206 implemented. The ACPI specification allows DataTableRegions to be 
7207 read/write, 
7208 however.
7209
7210 Implemented a new subsystem option to force a copy of the DSDT to local 
7211 memory. Optionally copy the entire DSDT to local memory (instead of 
7212 simply 
7213 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
7214 replace 
7215 the original DSDT, creating the need for this option. Default is FALSE, 
7216 do 
7217 not copy the DSDT.
7218
7219 Implemented detection of a corrupted or replaced DSDT. This change adds 
7220 support to detect a DSDT that has been corrupted and/or replaced from 
7221 outside 
7222 the OS (by firmware). This is typically catastrophic for the system, but 
7223 has 
7224 been seen on some machines. Once this problem has been detected, the DSDT 
7225 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
7226
7227 Fixed two problems with AcpiReallocateRootTable during the root table 
7228 copy. 
7229 When copying the root table to the new allocation, the length used was 
7230 incorrect. The new size was used instead of the current table size, 
7231 meaning 
7232 too much data was copied. Also, the count of available slots for ACPI 
7233 tables 
7234 was not set correctly. Alexey Starikovskiy, Bob Moore.
7235
7236 Example Code and Data Size: These are the sizes for the OS-independent 
7237 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7238 debug version of the code includes the debug output trace mechanism and 
7239 has a 
7240 much larger code and data size.
7241
7242   Previous Release:
7243     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7244     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7245   Current Release:
7246     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
7247     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
7248
7249 2) iASL Compiler/Disassembler and Tools:
7250
7251 iASL: Implement limited typechecking for values returned from predefined 
7252 control methods. The type of any returned static (unnamed) object is now 
7253 validated. For example, Return(1). ACPICA BZ 786.
7254
7255 iASL: Fixed a predefined name object verification regression. Fixes a 
7256 problem 
7257 introduced in version 20100304. An error is incorrectly generated if a 
7258 predefined name is declared as a static named object with a value defined 
7259 using the keywords "Zero", "One", or "Ones". Lin Ming.
7260
7261 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
7262 by 
7263 reducing the requested registry access rights. ACPICA BZ 842.
7264
7265 Disassembler: fixed a possible fault when generating External() 
7266 statements. 
7267 Introduced in commit ae7d6fd: Properly handle externals with parent-
7268 prefix 
7269 (carat). Fixes a string length allocation calculation. Lin Ming.
7270
7271 ----------------------------------------
7272 04 March 2010. Summary of changes for version 20100304:
7273
7274 1) ACPI CA Core Subsystem:
7275
7276 Fixed a possible problem with the AML Mutex handling function 
7277 AcpiExReleaseMutex where the function could fault under the very rare 
7278 condition when the interpreter has blocked, the interpreter lock is 
7279 released, 
7280 the interpreter is then reentered via the same thread, and attempts to 
7281 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
7282 Lin 
7283 Ming.
7284
7285 Implemented additional configuration support for the AML "Debug Object". 
7286 Output from the debug object can now be enabled via a global variable, 
7287 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
7288 debugging. 
7289 This debug output is now available in the release version of ACPICA 
7290 instead 
7291 of just the debug version. Also, the entire debug output module can now 
7292 be 
7293 configured out of the ACPICA build if desired. One new file added, 
7294 executer/exdebug.c. Lin Ming, Bob Moore.
7295
7296 Added header support for the ACPI MCHI table (Management Controller Host 
7297 Interface Table). This table was added in ACPI 4.0, but the defining 
7298 document 
7299 has only recently become available.
7300
7301 Standardized output of integer values for ACPICA warnings/errors. Always 
7302 use 
7303 0x prefix for hex output, always use %u for unsigned integer decimal 
7304 output. 
7305 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
7306 400 
7307 invocations.) These invocations were converted from the original 
7308 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
7309
7310 Example Code and Data Size: These are the sizes for the OS-independent 
7311 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7312 debug version of the code includes the debug output trace mechanism and 
7313 has a 
7314 much larger code and data size.
7315
7316   Previous Release:
7317     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7318     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7319   Current Release:
7320     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7321     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7322
7323 2) iASL Compiler/Disassembler and Tools:
7324
7325 iASL: Implemented typechecking support for static (non-control method) 
7326 predefined named objects that are declared with the Name() operator. For 
7327 example, the type of this object is now validated to be of type Integer: 
7328 Name(_BBN, 1). This change migrates the compiler to using the core 
7329 predefined 
7330 name table instead of maintaining a local version. Added a new file, 
7331 aslpredef.c. ACPICA BZ 832.
7332
7333 Disassembler: Added support for the ACPI 4.0 MCHI table.
7334
7335 ----------------------------------------
7336 21 January 2010. Summary of changes for version 20100121:
7337
7338 1) ACPI CA Core Subsystem:
7339
7340 Added the 2010 copyright to all module headers and signons. This affects 
7341 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
7342 tools/utilities, and the test suites.
7343
7344 Implemented a change to the AcpiGetDevices interface to eliminate 
7345 unnecessary 
7346 invocations of the _STA method. In the case where a specific _HID is 
7347 requested, do not run _STA until a _HID match is found. This eliminates 
7348 potentially dozens of _STA calls during a search for a particular 
7349 device/HID, 
7350 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
7351
7352 Implemented an additional repair for predefined method return values. 
7353 Attempt 
7354 to repair unexpected NULL elements within returned Package objects. 
7355 Create 
7356 an 
7357 Integer of value zero, a NULL String, or a zero-length Buffer as 
7358 appropriate. 
7359 ACPICA BZ 818. Lin Ming, Bob Moore.
7360
7361 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
7362 the 
7363 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
7364 (with 
7365 64-bit AML integers). It is now obsolete and this change removes it from 
7366 the 
7367 ACPICA code base, replaced by UINT64. The original typedef has been 
7368 retained 
7369 for now for compatibility with existing device driver code. ACPICA BZ 
7370 824.
7371
7372 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
7373 in 
7374 the parse tree object.
7375
7376 Added additional warning options for the gcc-4 generation. Updated the 
7377 source 
7378 accordingly. This includes some code restructuring to eliminate 
7379 unreachable 
7380 code, elimination of some gotos, elimination of unused return values, 
7381 some 
7382 additional casting, and removal of redundant declarations.
7383
7384 Example Code and Data Size: These are the sizes for the OS-independent 
7385 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7386 debug version of the code includes the debug output trace mechanism and 
7387 has a 
7388 much larger code and data size.
7389
7390   Previous Release:
7391     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7392     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7393   Current Release:
7394     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7395     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7396
7397 2) iASL Compiler/Disassembler and Tools:
7398
7399 No functional changes for this release.
7400
7401 ----------------------------------------
7402 14 December 2009. Summary of changes for version 20091214:
7403
7404 1) ACPI CA Core Subsystem:
7405
7406 Enhanced automatic data type conversions for predefined name repairs. 
7407 This 
7408 change expands the automatic repairs/conversions for predefined name 
7409 return 
7410 values to make Integers, Strings, and Buffers fully interchangeable. 
7411 Also, 
7412
7413 Buffer can be converted to a Package of Integers if necessary. The 
7414 nsrepair.c 
7415 module was completely restructured. Lin Ming, Bob Moore.
7416
7417 Implemented automatic removal of null package elements during predefined 
7418 name 
7419 repairs. This change will automatically remove embedded and trailing NULL 
7420 package elements from returned package objects that are defined to 
7421 contain 
7422
7423 variable number of sub-packages. The driver is then presented with a 
7424 package 
7425 with no null elements to deal with. ACPICA BZ 819.
7426
7427 Implemented a repair for the predefined _FDE and _GTM names. The expected 
7428 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
7429 two 
7430 possible problems (both seen in the field), where a package of integers 
7431 is 
7432 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
7433 Kim.
7434
7435 Implemented additional module-level code support. This change will 
7436 properly 
7437 execute module-level code that is not at the root of the namespace (under 
7438
7439 Device object, etc.). Now executes the code within the current scope 
7440 instead 
7441 of the root. ACPICA BZ 762. Lin Ming.
7442
7443 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
7444
7445 problem where mutex errors can occur when running a _REG method that is 
7446 in 
7447 the same scope as a method-defined operation region or an operation 
7448 region 
7449 under a module-level IF block. This type of code is rare, so the problem 
7450 has 
7451 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
7452
7453 Fixed a possible memory leak during module-level code execution. An 
7454 object 
7455 could be leaked for each block of executed module-level code if the 
7456 interpreter slack mode is enabled This change deletes any implicitly 
7457 returned 
7458 object from the module-level code block. Lin Ming.
7459
7460 Removed messages for successful predefined repair(s). The repair 
7461 mechanism 
7462 was considered too wordy. Now, messages are only unconditionally emitted 
7463 if 
7464 the return object cannot be repaired. Existing messages for successful 
7465 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
7466 827.
7467
7468 Example Code and Data Size: These are the sizes for the OS-independent 
7469 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7470 debug version of the code includes the debug output trace mechanism and 
7471 has a 
7472 much larger code and data size.
7473
7474   Previous Release:
7475     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7476     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7477   Current Release:
7478     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7479     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7480
7481 2) iASL Compiler/Disassembler and Tools:
7482
7483 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
7484 files 
7485 were no longer automatically removed at the termination of the compile.
7486
7487 acpiexec: Implemented the -f option to specify default region fill value. 
7488 This option specifies the value used to initialize buffers that simulate 
7489 operation regions. Default value is zero. Useful for debugging problems 
7490 that 
7491 depend on a specific initial value for a region or field.
7492
7493 ----------------------------------------
7494 12 November 2009. Summary of changes for version 20091112:
7495
7496 1) ACPI CA Core Subsystem:
7497
7498 Implemented a post-order callback to AcpiWalkNamespace. The existing 
7499 interface only has a pre-order callback. This change adds an additional 
7500 parameter for a post-order callback which will be more useful for bus 
7501 scans. 
7502 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
7503
7504 Modified the behavior of the operation region memory mapping cache for 
7505 SystemMemory. Ensure that the memory mappings created for operation 
7506 regions 
7507 do not cross 4K page boundaries. Crossing a page boundary while mapping 
7508 regions can cause kernel warnings on some hosts if the pages have 
7509 different 
7510 attributes. Such regions are probably BIOS bugs, and this is the 
7511 workaround. 
7512 Linux BZ 14445. Lin Ming.
7513
7514 Implemented an automatic repair for predefined methods that must return 
7515 sorted lists. This change will repair (by sorting) packages returned by 
7516 _ALR, 
7517 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
7518 sorted 
7519 and do not contain NULL package elements. Adds one new file, 
7520 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
7521
7522 Fixed a possible fault during predefined name validation if a return 
7523 Package 
7524 object contains NULL elements. Also adds a warning if a NULL element is 
7525 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
7526 may 
7527 include repair or removal of all such NULL elements where possible.
7528
7529 Implemented additional module-level executable AML code support. This 
7530 change 
7531 will execute module-level code that is not at the root of the namespace 
7532 (under a Device object, etc.) at table load time. Module-level executable 
7533 AML 
7534 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
7535
7536 Implemented a new internal function to create Integer objects. This 
7537 function 
7538 simplifies miscellaneous object creation code. ACPICA BZ 823.
7539
7540 Reduced the severity of predefined repair messages, Warning to Info. 
7541 Since 
7542 the object was successfully repaired, a warning is too severe. Reduced to 
7543 an 
7544 info message for now. These messages may eventually be changed to debug-
7545 only. 
7546 ACPICA BZ 812.
7547
7548 Example Code and Data Size: These are the sizes for the OS-independent 
7549 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7550 debug version of the code includes the debug output trace mechanism and 
7551 has a 
7552 much larger code and data size.
7553
7554   Previous Release:
7555     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7556     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7557   Current Release:
7558     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7559     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7560
7561 2) iASL Compiler/Disassembler and Tools:
7562
7563 iASL: Implemented Switch() with While(1) so that Break works correctly. 
7564 This 
7565 change correctly implements the Switch operator with a surrounding 
7566 While(1) 
7567 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
7568
7569 iASL: Added a message if a package initializer list is shorter than 
7570 package 
7571 length. Adds a new remark for a Package() declaration if an initializer 
7572 list 
7573 exists, but is shorter than the declared length of the package. Although 
7574 technically legal, this is probably a coding error and it is seen in the 
7575 field. ACPICA BZ 815. Lin Ming, Bob Moore.
7576
7577 iASL: Fixed a problem where the compiler could fault after the maximum 
7578 number 
7579 of errors was reached (200).
7580
7581 acpixtract: Fixed a possible warning for pointer cast if the compiler 
7582 warning 
7583 level set very high.
7584
7585 ----------------------------------------
7586 13 October 2009. Summary of changes for version 20091013:
7587
7588 1) ACPI CA Core Subsystem:
7589
7590 Fixed a problem where an Operation Region _REG method could be executed 
7591 more 
7592 than once. If a custom address space handler is installed by the host 
7593 before 
7594 the "initialize operation regions" phase of the ACPICA initialization, 
7595 any 
7596 _REG methods for that address space could be executed twice. This change 
7597 fixes the problem. ACPICA BZ 427. Lin Ming.
7598
7599 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
7600 invocation of "Scope(\)" is executed (change scope to root), one internal 
7601 operand object was leaked. Lin Ming.
7602
7603 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
7604 return value is defined as a Field object in the AML, and the field
7605 size is less than or equal to the default width of an integer (32 or 
7606 64),_MAT 
7607 can incorrectly return an Integer instead of a Buffer. ACPICA now 
7608 automatically repairs this problem. ACPICA BZ 810.
7609
7610 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
7611 The 
7612 "OEM Information" field is often incorrectly returned as an Integer with 
7613 value zero if the field is not supported by the platform. This is due to 
7614 an 
7615 ambiguity in the ACPI specification. The field should always be a string. 
7616 ACPICA now automatically repairs this problem by returning a NULL string 
7617 within the returned Package. ACPICA BZ 807.
7618
7619 Example Code and Data Size: These are the sizes for the OS-independent 
7620 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7621 debug version of the code includes the debug output trace mechanism and 
7622 has a 
7623 much larger code and data size.
7624
7625   Previous Release:
7626     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7627     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7628   Current Release:
7629     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7630     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7631
7632 2) iASL Compiler/Disassembler and Tools:
7633
7634 Disassembler: Fixed a problem where references to external symbols that 
7635 contained one or more parent-prefixes (carats) were not handled 
7636 correctly, 
7637 possibly causing a fault. ACPICA BZ 806. Lin Ming.
7638
7639 Disassembler: Restructured the code so that all functions that handle 
7640 external symbols are in a single module. One new file is added, 
7641 common/dmextern.c.
7642
7643 AML Debugger: Added a max count argument for the Batch command (which 
7644 executes multiple predefined methods within the namespace.)
7645
7646 iASL: Updated the compiler documentation (User Reference.) Available at 
7647 http://www.acpica.org/documentation/. ACPICA BZ 750.
7648
7649 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
7650 files.
7651
7652 ----------------------------------------
7653 03 September 2009. Summary of changes for version 20090903:
7654
7655 1) ACPI CA Core Subsystem:
7656
7657 For Windows Vista compatibility, added the automatic execution of an _INI 
7658 method located at the namespace root (\_INI). This method is executed at 
7659 table load time. This support is in addition to the automatic execution 
7660 of 
7661 \_SB._INI. Lin Ming.
7662
7663 Fixed a possible memory leak in the interpreter for AML package objects 
7664 if 
7665 the package initializer list is longer than the defined size of the 
7666 package. 
7667 This apparently can only happen if the BIOS changes the package size on 
7668 the 
7669 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
7670 interpreter will truncate the package to the defined size (and issue an 
7671 error 
7672 message), but previously could leave the extra objects undeleted if they 
7673 were 
7674 pre-created during the argument processing (such is the case if the 
7675 package 
7676 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
7677
7678 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
7679 This has been reported in the field. Previously, ACPICA would zero out 
7680 the 
7681 buffer/string. Now, the operation is treated as a noop. Provides Windows 
7682 compatibility. ACPICA BZ 803. Lin Ming.
7683
7684 Removed an extraneous error message for ASL constructs of the form 
7685 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
7686 statements 
7687 are seen in many BIOSs and are once again treated as NOOPs and no error 
7688 is 
7689 emitted when they are encountered. ACPICA BZ 785.
7690
7691 Fixed an extraneous warning message if a _DSM reserved method returns a 
7692 Package object. _DSM can return any type of object, so validation on the 
7693 return type cannot be performed. ACPICA BZ 802.
7694
7695 Example Code and Data Size: These are the sizes for the OS-independent 
7696 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7697 debug version of the code includes the debug output trace mechanism and 
7698 has a 
7699 much larger code and data size.
7700
7701   Previous Release:
7702     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7703     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7704   Current Release:
7705     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7706     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7707
7708 2) iASL Compiler/Disassembler and Tools:
7709
7710 iASL: Fixed a problem with the use of the Alias operator and Resource 
7711 Templates. The correct alias is now constructed and no error is emitted. 
7712 ACPICA BZ 738.
7713
7714 iASL: Implemented the -I option to specify additional search directories 
7715 for 
7716 include files. Allows multiple additional search paths for include files. 
7717 Directories are searched in the order specified on the command line 
7718 (after 
7719 the local directory is searched.) ACPICA BZ 800.
7720
7721 iASL: Fixed a problem where the full pathname for include files was not 
7722 emitted for warnings/errors. This caused the IDE support to not work 
7723 properly. ACPICA BZ 765.
7724
7725 iASL: Implemented the -@ option to specify a Windows-style response file 
7726 containing additional command line options. ACPICA BZ 801.
7727
7728 AcpiExec: Added support to load multiple AML files simultaneously (such 
7729 as 
7730
7731 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
7732 pathname. These features allow all machine tables to be easily loaded and 
7733 debugged together. ACPICA BZ 804.
7734
7735 Disassembler: Added missing support for disassembly of HEST table Error 
7736 Bank 
7737 subtables. 
7738
7739 ----------------------------------------
7740 30 July 2009. Summary of changes for version 20090730:
7741
7742 The ACPI 4.0 implementation for ACPICA is complete with this release.
7743
7744 1) ACPI CA Core Subsystem:
7745
7746 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
7747 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
7748 new 
7749 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
7750 BERT, 
7751 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
7752 There 
7753 have been some ACPI 4.0 changes to other existing tables. Split the large 
7754 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
7755
7756 ACPI 4.0: Implemented predefined name validation for all new names. There 
7757 are 
7758 31 new names in ACPI 4.0. The predefined validation module was split into 
7759 two 
7760 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
7761
7762 Implemented support for so-called "module-level executable code". This is 
7763 executable AML code that exists outside of any control method and is 
7764 intended 
7765 to be executed at table load time. Although illegal since ACPI 2.0, this 
7766 type 
7767 of code still exists and is apparently still being created. Blocks of 
7768 this 
7769 code are now detected and executed as intended. Currently, the code 
7770 blocks 
7771 must exist under either an If, Else, or While construct; these are the 
7772 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
7773
7774 Implemented an automatic dynamic repair for predefined names that return 
7775 nested Package objects. This applies to predefined names that are defined 
7776 to 
7777 return a variable-length Package of sub-packages. If the number of sub-
7778 packages is one, BIOS code is occasionally seen that creates a simple 
7779 single 
7780 package with no sub-packages. This code attempts to fix the problem by 
7781 wrapping a new package object around the existing package. These methods 
7782 can 
7783 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
7784 BZ 
7785 790.
7786
7787 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
7788 interface. 
7789 The _HID/_CID matching was broken and no longer matched IDs correctly. 
7790 ACPICA 
7791 BZ 793.
7792
7793 Fixed a problem with AcpiReset where the reset would silently fail if the 
7794 register was one of the protected I/O ports. AcpiReset now bypasses the 
7795 port 
7796 validation mechanism. This may eventually be driven into the 
7797 AcpiRead/Write 
7798 interfaces.
7799
7800 Fixed a regression related to the recent update of the AcpiRead/Write 
7801 interfaces. A sleep/suspend could fail if the optional PM2 Control 
7802 register 
7803 does not exist during an attempt to write the Bus Master Arbitration bit. 
7804 (However, some hosts already delete the code that writes this bit, and 
7805 the 
7806 code may in fact be obsolete at this date.) ACPICA BZ 799.
7807
7808 Fixed a problem where AcpiTerminate could fault if inadvertently called 
7809 twice 
7810 in succession. ACPICA BZ 795.
7811
7812 Example Code and Data Size: These are the sizes for the OS-independent 
7813 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7814 debug version of the code includes the debug output trace mechanism and 
7815 has a 
7816 much larger code and data size.
7817
7818   Previous Release:
7819     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7820     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7821   Current Release:
7822     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7823     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7824
7825 2) iASL Compiler/Disassembler and Tools:
7826
7827 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
7828 changes to existing tables. ACPICA BZ 775.
7829
7830 ----------------------------------------
7831 25 June 2009. Summary of changes for version 20090625:
7832
7833 The ACPI 4.0 Specification was released on June 16 and is available at 
7834 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
7835 continue for the next few releases.
7836
7837 1) ACPI CA Core Subsystem:
7838
7839 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
7840 address space. Includes support for bi-directional data buffers and an 
7841 IPMI 
7842 address space handler (to be installed by an IPMI device driver.) ACPICA 
7843 BZ 
7844 773. Lin Ming.
7845
7846 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
7847 Includes 
7848 support in both the header files and the disassembler.
7849
7850 Completed a major update for the AcpiGetObjectInfo external interface. 
7851 Changes include:
7852  - Support for variable, unlimited length HID, UID, and CID strings.
7853  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
7854 etc.)
7855  - Call the _SxW power methods on behalf of a device object.
7856  - Determine if a device is a PCI root bridge.
7857  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
7858 These changes will require an update to all callers of this interface. 
7859 See 
7860 the updated ACPICA Programmer Reference for details. One new source file 
7861 has 
7862 been added - utilities/utids.c. ACPICA BZ 368, 780.
7863
7864 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
7865 transfers. The Value parameter has been extended from 32 bits to 64 bits 
7866 in 
7867 order to support new ACPI 4.0 tables. These changes will require an 
7868 update 
7869 to 
7870 all callers of these interfaces. See the ACPICA Programmer Reference for 
7871 details. ACPICA BZ 768.
7872
7873 Fixed several problems with AcpiAttachData. The handler was not invoked 
7874 when 
7875 the host node was deleted. The data sub-object was not automatically 
7876 deleted 
7877 when the host node was deleted. The interface to the handler had an 
7878 unused 
7879 parameter, this was removed. ACPICA BZ 778.
7880
7881 Enhanced the function that dumps ACPI table headers. All non-printable 
7882 characters in the string fields are now replaced with '?' (Signature, 
7883 OemId, 
7884 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
7885 these fields are occasionally seen in the field. ACPICA BZ 788.
7886
7887 Fixed a problem with predefined method repair code where the code that 
7888 attempts to repair/convert an object of incorrect type is only executed 
7889 on 
7890 the first time the predefined method is called. The mechanism that 
7891 disables 
7892 warnings on subsequent calls was interfering with the repair mechanism. 
7893 ACPICA BZ 781.
7894
7895 Fixed a possible memory leak in the predefined validation/repair code 
7896 when 
7897
7898 buffer is automatically converted to an expected string object.
7899
7900 Removed obsolete 16-bit files from the distribution and from the current 
7901 git 
7902 tree head. ACPICA BZ 776.
7903
7904 Example Code and Data Size: These are the sizes for the OS-independent 
7905 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7906 debug version of the code includes the debug output trace mechanism and 
7907 has a 
7908 much larger code and data size.
7909
7910   Previous Release:
7911     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7912     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7913   Current Release:
7914     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7915     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7916
7917 2) iASL Compiler/Disassembler and Tools:
7918
7919 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
7920 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
7921
7922 ACPI 4.0: iASL - implemented compile-time validation support for all new 
7923 predefined names and control methods (31 total). ACPICA BZ 769.
7924
7925 ----------------------------------------
7926 21 May 2009. Summary of changes for version 20090521:
7927
7928 1) ACPI CA Core Subsystem:
7929
7930 Disabled the preservation of the SCI enable bit in the PM1 control 
7931 register. 
7932 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
7933 to 
7934 be 
7935 a "preserved" bit - "OSPM always preserves this bit position", section 
7936 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
7937 because the bit needs to be explicitly set by the OS as a workaround. No 
7938 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
7939 attempts to preserve this bit.
7940
7941 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
7942 incorrectly formed _PRT package could cause a fault. Added validation to 
7943 ensure that each package element is actually a sub-package.
7944
7945 Implemented a new interface to install or override a single control 
7946 method, 
7947 AcpiInstallMethod. This interface is useful when debugging in order to 
7948 repair 
7949 an existing method or to install a missing method without having to 
7950 override 
7951 the entire ACPI table. See the ACPICA Programmer Reference for use and 
7952 examples. Lin Ming, Bob Moore.
7953
7954 Fixed several reference count issues with the DdbHandle object that is 
7955 created from a Load or LoadTable operator. Prevent premature deletion of 
7956 the 
7957 object. Also, mark the object as invalid once the table has been 
7958 unloaded. 
7959 This is needed because the handle itself may not be deleted after the 
7960 table 
7961 unload, depending on whether it has been stored in a named object by the 
7962 caller. Lin Ming.
7963
7964 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
7965 mutexes of the same sync level are acquired but then not released in 
7966 strict 
7967 opposite order, the internally maintained Current Sync Level becomes 
7968 confused 
7969 and can cause subsequent execution errors. ACPICA BZ 471.
7970
7971 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
7972 specification has been changed to make the SyncLevel for mutex objects 
7973 more 
7974 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
7975 the 
7976 same as the current sync level. This makes more sense than the previous 
7977 rule 
7978 (SyncLevel less than or equal). This change updates the code to match the 
7979 specification.
7980
7981 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
7982 The 
7983 (local) cache must be locked during all cache object deletions. Andrew 
7984 Baumann.
7985
7986 Updated the Load operator to use operation region interfaces. This 
7987 replaces 
7988 direct memory mapping with region access calls. Now, all region accesses 
7989 go 
7990 through the installed region handler as they should.
7991
7992 Simplified and optimized the NsGetNextNode function. Reduced parameter 
7993 count 
7994 and reduced code for this frequently used function.
7995
7996 Example Code and Data Size: These are the sizes for the OS-independent 
7997 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7998 debug version of the code includes the debug output trace mechanism and 
7999 has a 
8000 much larger code and data size.
8001
8002   Previous Release:
8003     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
8004     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
8005   Current Release:
8006     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
8007     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
8008
8009 2) iASL Compiler/Disassembler and Tools:
8010
8011 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
8012 problems 
8013 with sub-table disassembly and handling invalid sub-tables. Attempt 
8014 recovery 
8015 after an invalid sub-table ID.
8016
8017 ----------------------------------------
8018 22 April 2009. Summary of changes for version 20090422:
8019
8020 1) ACPI CA Core Subsystem:
8021
8022 Fixed a compatibility issue with the recently released I/O port 
8023 protection 
8024 mechanism. For windows compatibility, 1) On a port protection violation, 
8025 simply ignore the request and do not return an exception (allow the 
8026 control 
8027 method to continue execution.) 2) If only part of the request overlaps a 
8028 protected port, read/write the individual ports that are not protected. 
8029 Linux 
8030 BZ 13036. Lin Ming
8031
8032 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
8033 actually 
8034 breaks into the AML debugger if the debugger is present. This matches the 
8035 ACPI-defined behavior.
8036
8037 Fixed several possible warnings related to the use of the configurable 
8038 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
8039 pointer with no warnings. Also fixes several warnings in printf-like 
8040 statements for the 64-bit build when the type is configured as a pointer. 
8041 ACPICA BZ 766, 767.
8042
8043 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
8044 on 
8045 warning options.) Examples include printf formats, aliasing, unused 
8046 globals, 
8047 missing prototypes, missing switch default statements, use of non-ANSI 
8048 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
8049 for 
8050 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
8051
8052 Example Code and Data Size: These are the sizes for the OS-independent 
8053 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8054 debug version of the code includes the debug output trace mechanism and 
8055 has a 
8056 much larger code and data size.
8057
8058   Previous Release:
8059     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
8060     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
8061   Current Release:
8062     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
8063     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
8064
8065 2) iASL Compiler/Disassembler and Tools:
8066
8067 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
8068 warnings 
8069 on 
8070 the 64-bit build.
8071
8072 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
8073 not 
8074 correctly digest Windows/DOS formatted files (with CR/LF).
8075
8076 iASL: Added a new option for "quiet mode" (-va) that produces only the 
8077 compilation summary, not individual errors and warnings. Useful for large 
8078 batch compilations.
8079
8080 AcpiExec: Implemented a new option (-z) to enable a forced 
8081 semaphore/mutex 
8082 timeout that can be used to detect hang conditions during execution of 
8083 AML 
8084 code (includes both internal semaphores and AML-defined mutexes and 
8085 events.)
8086
8087 Added new makefiles for the generation of acpica in a generic unix-like 
8088 environment. These makefiles are intended to generate the acpica tools 
8089 and 
8090 utilities from the original acpica git source tree structure.
8091
8092 Test Suites: Updated and cleaned up the documentation files. Updated the 
8093 copyrights to 2009, affecting all source files. Use the new version of 
8094 iASL 
8095 with quiet mode. Increased the number of available semaphores in the 
8096 Windows 
8097 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
8098 added 
8099 an alternate implementation of the semaphore timeout to allow aslts to 
8100 execute fully on Cygwin.
8101
8102 ----------------------------------------
8103 20 March 2009. Summary of changes for version 20090320:
8104
8105 1) ACPI CA Core Subsystem:
8106
8107 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
8108 table 
8109 unloads. Added a reader/writer locking mechanism to allow multiple 
8110 concurrent 
8111 namespace walks (readers), but block a dynamic table unload until it can 
8112 gain 
8113 exclusive write access to the namespace. This fixes a problem where a 
8114 table 
8115 unload could (possibly catastrophically) delete the portion of the 
8116 namespace 
8117 that is currently being examined by a walk. Adds a new file, utlock.c, 
8118 that 
8119 implements the reader/writer lock mechanism. ACPICA BZ 749.
8120
8121 Fixed a regression introduced in version 20090220 where a change to the 
8122 FADT 
8123 handling could cause the ACPICA subsystem to access non-existent I/O 
8124 ports.
8125
8126 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
8127 The 
8128 FADT can contain both 32-bit and 64-bit versions of these addresses. 
8129 Previously, the 64-bit versions were favored, meaning that if both 32 and 
8130 64 
8131 versions were valid, but not equal, the 64-bit version was used. This was 
8132 found to cause some machines to fail. Now, in this case, the 32-bit 
8133 version 
8134 is used instead. This now matches the Windows behavior.
8135
8136 Implemented a new mechanism to protect certain I/O ports. Provides 
8137 Microsoft 
8138 compatibility and protects the standard PC I/O ports from access via AML 
8139 code. Adds a new file, hwvalid.c
8140
8141 Fixed a possible extraneous warning message from the FADT support. The 
8142 message warns of a 32/64 length mismatch between the legacy and GAS 
8143 definitions for a register.
8144
8145 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
8146 is 
8147 made obsolete by the port protection mechanism above. It was previously 
8148 used 
8149 to validate the entire address range of an operation region, which could 
8150 be 
8151 incorrect if the range included illegal ports, but fields within the 
8152 operation region did not actually access those ports. Validation is now 
8153 performed on a per-field basis instead of the entire region.
8154
8155 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
8156 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
8157 this 
8158 means a read/modify/write when writing to the register. However, for 
8159 status 
8160 registers, writing a one means clear the event. Writing a zero means 
8161 preserve 
8162 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
8163 spec, 
8164 and the ACPICA code now simply always writes a zero to the ignored bit.
8165
8166 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
8167 As 
8168 per the ACPI specification, for the control registers, preserve 
8169 (read/modify/write) all bits that are defined as either reserved or 
8170 ignored.
8171
8172 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
8173 When reading the register, zero the write-only bits as per the ACPI spec. 
8174 ACPICA BZ 443. Lin Ming.
8175
8176 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
8177 wants to reply true to this request. The Windows strings are the only 
8178 paths 
8179 through the AML that are tested and known to work properly.
8180
8181   Previous Release:
8182     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8183     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8184   Current Release:
8185     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
8186     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
8187
8188 2) iASL Compiler/Disassembler and Tools:
8189
8190 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
8191 and 
8192 aetables.c
8193
8194 ----------------------------------------
8195 20 February 2009. Summary of changes for version 20090220:
8196
8197 1) ACPI CA Core Subsystem:
8198
8199 Optimized the ACPI register locking. Removed locking for reads from the 
8200 ACPI 
8201 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
8202 is 
8203 not required when reading the single-bit registers. The 
8204 AcpiGetRegisterUnlocked function is no longer needed and has been 
8205 removed. 
8206 This will improve performance for reads on these registers. ACPICA BZ 
8207 760.
8208
8209 Fixed the parameter validation for AcpiRead/Write. Now return 
8210 AE_BAD_PARAMETER if the input register pointer is null, and 
8211 AE_BAD_ADDRESS 
8212 if 
8213 the register has an address of zero. Previously, these cases simply 
8214 returned 
8215 AE_OK. For optional registers such as PM1B status/enable/control, the 
8216 caller 
8217 should check for a valid register address before calling. ACPICA BZ 748.
8218
8219 Renamed the external ACPI bit register access functions. Renamed 
8220 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
8221 functions. The new names are AcpiReadBitRegister and 
8222 AcpiWriteBitRegister. 
8223 Also, restructured the code for these functions by simplifying the code 
8224 path 
8225 and condensing duplicate code to reduce code size.
8226
8227 Added new functions to transparently handle the possibly split PM1 A/B 
8228 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
8229 functions 
8230 now handle the split registers for PM1 Status, Enable, and Control. 
8231 ACPICA 
8232 BZ 
8233 746.
8234
8235 Added a function to handle the PM1 control registers, 
8236 AcpiHwWritePm1Control. 
8237 This function writes both of the PM1 control registers (A/B). These 
8238 registers 
8239 are different than the PM1 A/B status and enable registers in that 
8240 different 
8241 values can be written to the A/B registers. Most notably, the SLP_TYP 
8242 bits 
8243 can be different, as per the values returned from the _Sx predefined 
8244 methods.
8245
8246 Removed an extra register write within AcpiHwClearAcpiStatus. This 
8247 function 
8248 was writing an optional PM1B status register twice. The existing call to 
8249 the 
8250 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
8251 A/B 
8252 register. ACPICA BZ 751.
8253
8254 Split out the PM1 Status registers from the FADT. Added new globals for 
8255 these 
8256 registers (A/B), similar to the way the PM1 Enable registers are handled. 
8257 Instead of overloading the FADT Event Register blocks. This makes the 
8258 code 
8259 clearer and less prone to error.
8260
8261 Fixed the warning message for when the platform contains too many ACPI 
8262 tables 
8263 for the default size of the global root table data structure. The 
8264 calculation 
8265 for the truncation value was incorrect.
8266
8267 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
8268 obsolete macro, since it is now a simple reference to ->common.type. 
8269 There 
8270 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
8271
8272 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
8273 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
8274 simply SLEEP_TYPE. ACPICA BZ 754.
8275
8276 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
8277 function is only needed on 64-bit host operating systems and is thus not 
8278 included for 32-bit hosts.
8279
8280 Debug output: print the input and result for invocations of the _OSI 
8281 reserved 
8282 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
8283 the 
8284 verbosity of this debug level. Len Brown.
8285
8286 Example Code and Data Size: These are the sizes for the OS-independent 
8287 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8288 debug version of the code includes the debug output trace mechanism and 
8289 has a 
8290 much larger code and data size.
8291
8292   Previous Release:
8293     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8294     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8295   Current Release:
8296     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8297     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8298
8299 2) iASL Compiler/Disassembler and Tools:
8300
8301 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
8302 various legal performance profiles.
8303
8304 ----------------------------------------
8305 23 January 2009. Summary of changes for version 20090123:
8306
8307 1) ACPI CA Core Subsystem:
8308
8309 Added the 2009 copyright to all module headers and signons. This affects 
8310 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
8311 the tools/utilities.
8312
8313 Implemented a change to allow the host to override any ACPI table, 
8314 including 
8315 dynamically loaded tables. Previously, only the DSDT could be replaced by 
8316 the 
8317 host. With this change, the AcpiOsTableOverride interface is called for 
8318 each 
8319 table found in the RSDT/XSDT during ACPICA initialization, and also 
8320 whenever 
8321 a table is dynamically loaded via the AML Load operator.
8322
8323 Updated FADT flag definitions, especially the Boot Architecture flags.
8324
8325 Debugger: For the Find command, automatically pad the input ACPI name 
8326 with 
8327 underscores if the name is shorter than 4 characters. This enables a 
8328 match 
8329 with the actual namespace entry which is itself padded with underscores.
8330
8331 Example Code and Data Size: These are the sizes for the OS-independent 
8332 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8333 debug version of the code includes the debug output trace mechanism and 
8334 has a 
8335 much larger code and data size.
8336
8337   Previous Release:
8338     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8339     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8340   Current Release:
8341     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8342     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8343
8344 2) iASL Compiler/Disassembler and Tools:
8345
8346 Fix build error under Bison-2.4.
8347
8348 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
8349 Architecture 
8350 flags. Now decode all flags, regardless of the FADT version. Flag output 
8351 includes the FADT version which first defined each flag.
8352
8353 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
8354 and 
8355 DSDT). Windows only.
8356
8357 ----------------------------------------
8358 04 December 2008. Summary of changes for version 20081204:
8359
8360 1) ACPI CA Core Subsystem:
8361
8362 The ACPICA Programmer Reference has been completely updated and revamped 
8363 for 
8364 this release. This includes updates to the external interfaces, OSL 
8365 interfaces, the overview sections, and the debugger reference.
8366
8367 Several new ACPICA interfaces have been implemented and documented in the 
8368 programmer reference:
8369 AcpiReset - Writes the reset value to the FADT-defined reset register.
8370 AcpiDisableAllGpes - Disable all available GPEs.
8371 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
8372 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
8373 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
8374 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
8375 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
8376
8377 Most of the public ACPI hardware-related interfaces have been moved to a 
8378 new 
8379 file, components/hardware/hwxface.c
8380
8381 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
8382 register lengths within the FADT are now used, and the low level ACPI 
8383 register access no longer hardcodes the ACPI register lengths. Given that 
8384 there may be some risk in actually trusting the FADT register lengths, a 
8385 run-
8386 time option was added to fall back to the default hardcoded lengths if 
8387 the 
8388 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
8389 option is set to true for now, and a warning is issued if a suspicious 
8390 FADT 
8391 register length is overridden with the default value.
8392
8393 Fixed a reference count issue in NsRepairObject. This problem was 
8394 introduced 
8395 in version 20081031 as part of a fix to repair Buffer objects within 
8396 Packages. Lin Ming.
8397
8398 Added semaphore support to the Linux/Unix application OS-services layer 
8399 (OSL). ACPICA BZ 448. Lin Ming.
8400
8401 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
8402 will 
8403 be implemented in the OSL, or will binary semaphores be used instead.
8404
8405 Example Code and Data Size: These are the sizes for the OS-independent 
8406 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8407 debug version of the code includes the debug output trace mechanism and 
8408 has a 
8409 much larger code and data size.
8410
8411   Previous Release:
8412     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8413     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8414   Current Release:
8415     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8416     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8417
8418 2) iASL Compiler/Disassembler and Tools:
8419
8420 iASL: Completed the '-e' option to include additional ACPI tables in 
8421 order 
8422 to 
8423 aid with disassembly and External statement generation. ACPICA BZ 742. 
8424 Lin 
8425 Ming.
8426
8427 iASL: Removed the "named object in while loop" error. The compiler cannot 
8428 determine how many times a loop will execute. ACPICA BZ 730.
8429
8430 Disassembler: Implemented support for FADT revision 2 (MS extension). 
8431 ACPICA 
8432 BZ 743.
8433
8434 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
8435 MCFG).
8436
8437 ----------------------------------------
8438 31 October 2008. Summary of changes for version 20081031:
8439
8440 1) ACPI CA Core Subsystem:
8441
8442 Restructured the ACPICA header files into public/private. acpi.h now 
8443 includes 
8444 only the "public" acpica headers. All other acpica headers are "private" 
8445 and 
8446 should not be included by acpica users. One new file, accommon.h is used 
8447 to 
8448 include the commonly used private headers for acpica code generation. 
8449 Future 
8450 plans include moving all private headers to a new subdirectory.
8451
8452 Implemented an automatic Buffer->String return value conversion for 
8453 predefined ACPI methods. For these methods (such as _BIF), added 
8454 automatic 
8455 conversion for return objects that are required to be a String, but a 
8456 Buffer 
8457 was found instead. This can happen when reading string battery data from 
8458 an 
8459 operation region, because it used to be difficult to convert the data 
8460 from 
8461 buffer to string from within the ASL. Ensures that the host OS is 
8462 provided 
8463 with a valid null-terminated string. Linux BZ 11822.
8464
8465 Updated the FACS waking vector interfaces. Split 
8466 AcpiSetFirmwareWakingVector 
8467 into two: one for the 32-bit vector, another for the 64-bit vector. This 
8468 is 
8469 required because the host OS must setup the wake much differently for 
8470 each 
8471 vector (real vs. protected mode, etc.) and the interface itself should 
8472 not 
8473 be 
8474 deciding which vector to use. Also, eliminated the 
8475 GetFirmwareWakingVector 
8476 interface, as it served no purpose (only the firmware reads the vector, 
8477 OS 
8478 only writes the vector.) ACPICA BZ 731.
8479
8480 Implemented a mechanism to escape infinite AML While() loops. Added a 
8481 loop 
8482 counter to force exit from AML While loops if the count becomes too 
8483 large. 
8484 This can occur in poorly written AML when the hardware does not respond 
8485 within a while loop and the loop does not implement a timeout. The 
8486 maximum 
8487 loop count is configurable. A new exception code is returned when a loop 
8488 is 
8489 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
8490
8491 Optimized the execution of AML While loops. Previously, a control state 
8492 object was allocated and freed for each execution of the loop. The 
8493 optimization is to simply reuse the control state for each iteration. 
8494 This 
8495 speeds up the raw loop execution time by about 5%.
8496
8497 Enhanced the implicit return mechanism. For Windows compatibility, return 
8498 an 
8499 implicit integer of value zero for methods that contain no executable 
8500 code. 
8501 Such methods are seen in the field as stubs (presumably), and can cause 
8502 drivers to fail if they expect a return value. Lin Ming.
8503
8504 Allow multiple backslashes as root prefixes in namepaths. In a fully 
8505 qualified namepath, allow multiple backslash prefixes. This can happen 
8506 (and 
8507 is seen in the field) because of the use of a double-backslash in strings 
8508 (since backslash is the escape character) causing confusion. ACPICA BZ 
8509 739 
8510 Lin Ming.
8511
8512 Emit a warning if two different FACS or DSDT tables are discovered in the 
8513 FADT. Checks if there are two valid but different addresses for the FACS 
8514 and 
8515 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
8516
8517 Consolidated the method argument count validation code. Merged the code 
8518 that 
8519 validates control method argument counts into the predefined validation 
8520 module. Eliminates possible multiple warnings for incorrect argument 
8521 counts.
8522
8523 Implemented ACPICA example code. Includes code for ACPICA initialization, 
8524 handler installation, and calling a control method. Available at 
8525 source/tools/examples.
8526
8527 Added a global pointer for FACS table to simplify internal FACS access. 
8528 Use 
8529 the global pointer instead of using AcpiGetTableByIndex for each FACS 
8530 access. 
8531 This simplifies the code for the Global Lock and the Firmware Waking 
8532 Vector(s).
8533
8534 Example Code and Data Size: These are the sizes for the OS-independent 
8535 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8536 debug version of the code includes the debug output trace mechanism and 
8537 has a 
8538 much larger code and data size.
8539
8540   Previous Release:
8541     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8542     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8543   Current Release:
8544     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8545     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8546
8547 2) iASL Compiler/Disassembler and Tools:
8548
8549 iASL: Improved disassembly of external method calls. Added the -e option 
8550 to 
8551 allow the inclusion of additional ACPI tables to help with the 
8552 disassembly 
8553 of 
8554 method invocations and the generation of external declarations during the 
8555 disassembly. Certain external method invocations cannot be disassembled 
8556 properly without the actual declaration of the method. Use the -e option 
8557 to 
8558 include the table where the external method(s) are actually declared. 
8559 Most 
8560 useful for disassembling SSDTs that make method calls back to the master 
8561 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
8562 -d 
8563 -e dsdt.aml ssdt1.aml
8564
8565 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
8566 problem where the use of an alias within a namepath would result in a not 
8567 found error or cause the compiler to fault. Also now allows forward 
8568 references from the Alias operator itself. ACPICA BZ 738.
8569
8570 ----------------------------------------
8571 26 September 2008. Summary of changes for version 20080926:
8572
8573 1) ACPI CA Core Subsystem:
8574
8575 Designed and implemented a mechanism to validate predefined ACPI methods 
8576 and 
8577 objects. This code validates the predefined ACPI objects (objects whose 
8578 names 
8579 start with underscore) that appear in the namespace, at the time they are 
8580 evaluated. The argument count and the type of the returned object are 
8581 validated against the ACPI specification. The purpose of this validation 
8582 is 
8583 to detect problems with the BIOS-implemented predefined ACPI objects 
8584 before 
8585 the results are returned to the ACPI-related drivers. Future enhancements 
8586 may 
8587 include actual repair of incorrect return objects where possible. Two new 
8588 files are nspredef.c and acpredef.h.
8589
8590 Fixed a fault in the AML parser if a memory allocation fails during the 
8591 Op 
8592 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
8593
8594 Fixed an issue with implicit return compatibility. This change improves 
8595 the 
8596 implicit return mechanism to be more compatible with the MS interpreter. 
8597 Lin 
8598 Ming, ACPICA BZ 349.
8599
8600 Implemented support for zero-length buffer-to-string conversions. Allow 
8601 zero 
8602 length strings during interpreter buffer-to-string conversions. For 
8603 example, 
8604 during the ToDecimalString and ToHexString operators, as well as implicit 
8605 conversions. Fiodor Suietov, ACPICA BZ 585.
8606
8607 Fixed two possible memory leaks in the error exit paths of 
8608 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
8609 are 
8610 similar in that they use a stack of state objects in order to eliminate 
8611 recursion. The stack must be fully unwound and deallocated if an error 
8612 occurs. Lin Ming. ACPICA BZ 383.
8613
8614 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
8615 global 
8616 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
8617 Moore ACPICA BZ 442.
8618
8619 Removed the obsolete version number in module headers. Removed the 
8620 "$Revision" number that appeared in each module header. This version 
8621 number 
8622 was useful under SourceSafe and CVS, but has no meaning under git. It is 
8623 not 
8624 only incorrect, it could also be misleading.
8625
8626 Example Code and Data Size: These are the sizes for the OS-independent 
8627 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8628 debug version of the code includes the debug output trace mechanism and 
8629 has a 
8630 much larger code and data size.
8631
8632   Previous Release:
8633     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8634     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8635   Current Release:
8636     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8637     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8638
8639 ----------------------------------------
8640 29 August 2008. Summary of changes for version 20080829:
8641
8642 1) ACPI CA Core Subsystem:
8643
8644 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
8645 Reference. Changes include the elimination of cheating on the Object 
8646 field 
8647 for the DdbHandle subtype, addition of a reference class field to 
8648 differentiate the various reference types (instead of an AML opcode), and 
8649 the 
8650 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
8651
8652 Reduce an error to a warning for an incorrect method argument count. 
8653 Previously aborted with an error if too few arguments were passed to a 
8654 control method via the external ACPICA interface. Now issue a warning 
8655 instead 
8656 and continue. Handles the case where the method inadvertently declares 
8657 too 
8658 many arguments, but does not actually use the extra ones. Applies mainly 
8659 to 
8660 the predefined methods. Lin Ming. Linux BZ 11032.
8661
8662 Disallow the evaluation of named object types with no intrinsic value. 
8663 Return 
8664 AE_TYPE for objects that have no value and therefore evaluation is 
8665 undefined: 
8666 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
8667 of 
8668 these types were allowed, but an exception would be generated at some 
8669 point 
8670 during the evaluation. Now, the error is generated up front.
8671
8672 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
8673 (nsnames.c). Fixes a leak in the error exit path.
8674
8675 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
8676 debug 
8677 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
8678 ACPI_EXCEPTION 
8679 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
8680 ACPI_LV_EVENTS.
8681
8682 Removed obsolete and/or unused exception codes from the acexcep.h header. 
8683 There is the possibility that certain device drivers may be affected if 
8684 they 
8685 use any of these exceptions.
8686
8687 The ACPICA documentation has been added to the public git source tree, 
8688 under 
8689 acpica/documents. Included are the ACPICA programmer reference, the iASL 
8690 compiler reference, and the changes.txt release logfile.
8691
8692 Example Code and Data Size: These are the sizes for the OS-independent 
8693 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8694 debug version of the code includes the debug output trace mechanism and 
8695 has a 
8696 much larger code and data size.
8697
8698   Previous Release:
8699     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8700     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8701   Current Release:
8702     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8703     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8704
8705 2) iASL Compiler/Disassembler and Tools:
8706
8707 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
8708 defines _SCP with 3 arguments. Previous versions defined it with only 1 
8709 argument. iASL now allows both definitions.
8710
8711 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
8712 zero-
8713 length subtables when disassembling ACPI tables. Also fixed a couple of 
8714 errors where a full 16-bit table type field was not extracted from the 
8715 input 
8716 properly.
8717
8718 acpisrc: Improve comment counting mechanism for generating source code 
8719 statistics. Count first and last lines of multi-line comments as 
8720 whitespace, 
8721 not comment lines. Handle Linux legal header in addition to standard 
8722 acpica 
8723 header.
8724
8725 ----------------------------------------
8726
8727 29 July 2008. Summary of changes for version 20080729:
8728
8729 1) ACPI CA Core Subsystem:
8730
8731 Fix a possible deadlock in the GPE dispatch. Remove call to 
8732 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
8733 attempt 
8734 to acquire the GPE lock but can deadlock since the GPE lock is already 
8735 held 
8736 at dispatch time. This code was introduced in version 20060831 as a 
8737 response 
8738 to Linux BZ 6881 and has since been removed from Linux.
8739
8740 Add a function to dereference returned reference objects. Examines the 
8741 return 
8742 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
8743 are 
8744 automatically dereferenced in an attempt to return something useful 
8745 (these 
8746 reference types cannot be converted into an external ACPI_OBJECT.) 
8747 Provides 
8748 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
8749
8750 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
8751 subtables for the MADT and one new subtable for the SRAT. Includes 
8752 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
8753 x2APIC 
8754 Specification, June 2008.
8755
8756 Additional error checking for pathname utilities. Add error check after 
8757 all 
8758 calls to AcpiNsGetPathnameLength. Add status return from 
8759 AcpiNsBuildExternalPath and check after all calls. Add parameter 
8760 validation 
8761 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
8762
8763 Return status from the global init function AcpiUtGlobalInitialize. This 
8764 is 
8765 used by both the kernel subsystem and the utilities such as iASL 
8766 compiler. 
8767 The function could possibly fail when the caches are initialized. Yang 
8768 Yi.
8769
8770 Add a function to decode reference object types to strings. Created for 
8771 improved error messages. 
8772
8773 Improve object conversion error messages. Better error messages during 
8774 object 
8775 conversion from internal to the external ACPI_OBJECT. Used for external 
8776 calls 
8777 to AcpiEvaluateObject.
8778
8779 Example Code and Data Size: These are the sizes for the OS-independent 
8780 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8781 debug version of the code includes the debug output trace mechanism and 
8782 has a 
8783 much larger code and data size.
8784
8785   Previous Release:
8786     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8787     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8788   Current Release:
8789     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8790     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8791
8792 2) iASL Compiler/Disassembler and Tools:
8793
8794 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
8795 problem 
8796 introduced in version 20080701. If the object being evaluated (via 
8797 execute 
8798 command) is not a method, the debugger can hang while trying to obtain 
8799 non-
8800 existent parameters.
8801
8802 iASL: relax error for using reserved "_T_x" identifiers. These names can 
8803 appear in a disassembled ASL file if they were emitted by the original 
8804 compiler. Instead of issuing an error or warning and forcing the user to 
8805 manually change these names, issue a remark instead.
8806
8807 iASL: error if named object created in while loop. Emit an error if any 
8808 named 
8809 object is created within a While loop. If allowed, this code will 
8810 generate 
8811
8812 run-time error on the second iteration of the loop when an attempt is 
8813 made 
8814 to 
8815 create the same named object twice. ACPICA bugzilla 730.
8816
8817 iASL: Support absolute pathnames for include files. Add support for 
8818 absolute 
8819 pathnames within the Include operator. previously, only relative 
8820 pathnames 
8821 were supported.
8822
8823 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
8824 Descriptor. 
8825 The ACPI spec requires one interrupt minimum. BZ 423
8826
8827 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
8828 Handles the case for the Interrupt Resource Descriptor where
8829 the ResourceSource argument is omitted but ResourceSourceIndex
8830 is present. Now leave room for the Index. BZ 426
8831
8832 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
8833 cases 
8834 where an error message is emitted if the target does not exist. BZ 516
8835
8836 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
8837 (get ACPI tables on Windows). This was apparently broken in version 
8838 20070919.
8839
8840 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
8841 where 
8842 the EOF happens immediately after the last table in the input file. Print 
8843 completion message. Previously, no message was displayed in this case.
8844
8845 ----------------------------------------
8846 01 July 2008. Summary of changes for version 20080701:
8847
8848 0) Git source tree / acpica.org
8849
8850 Fixed a problem where a git-clone from http would not transfer the entire 
8851 source tree.
8852
8853 1) ACPI CA Core Subsystem:
8854
8855 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
8856 enable bit. Now performs a read-change-write of the enable register 
8857 instead 
8858 of simply writing out the cached enable mask. This will prevent 
8859 inadvertent 
8860 enabling of GPEs if a rogue GPE is received during initialization (before 
8861 GPE 
8862 handlers are installed.)
8863
8864 Implemented a copy for dynamically loaded tables. Previously, dynamically 
8865 loaded tables were simply mapped - but on some machines this memory is 
8866 corrupted after suspend. Now copy the table to a local buffer. For the 
8867 OpRegion case, added checksum verify. Use the table length from the table 
8868 header, not the region length. For the Buffer case, use the table length 
8869 also. Dennis Noordsij, Bob Moore. BZ 10734
8870
8871 Fixed a problem where the same ACPI table could not be dynamically loaded 
8872 and 
8873 unloaded more than once. Without this change, a table cannot be loaded 
8874 again 
8875 once it has been loaded/unloaded one time. The current mechanism does not 
8876 unregister a table upon an unload. During a load, if the same table is 
8877 found, 
8878 this no longer returns an exception. BZ 722
8879
8880 Fixed a problem where the wrong descriptor length was calculated for the 
8881 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
8882 EndTag 
8883 are calculated as 12 bytes long, but the actual length in the internal 
8884 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
8885 Reported 
8886 by Linn Crosetto. BZ 728
8887
8888 Fixed a possible memory leak in the Unload operator. The DdbHandle 
8889 returned 
8890 by Load() did not have its reference count decremented during unload, 
8891 leading 
8892 to a memory leak. Lin Ming. BZ 727
8893
8894 Fixed a possible memory leak when deleting thermal/processor objects. Any 
8895 associated notify handlers (and objects) were not being deleted. Fiodor 
8896 Suietov. BZ 506
8897
8898 Fixed the ordering of the ASCII names in the global mutex table to match 
8899 the 
8900 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
8901 only. 
8902 Vegard Nossum. BZ 726
8903
8904 Enhanced the AcpiGetObjectInfo interface to return the number of required 
8905 arguments if the object is a control method. Added this call to the 
8906 debugger 
8907 so the proper number of default arguments are passed to a method. This 
8908 prevents a warning when executing methods from AcpiExec.
8909
8910 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
8911 AE_BAD_PARAMETER if input handle is invalid. BZ 474
8912
8913 Fixed an extraneous warning from exconfig.c on the 64-bit build.
8914
8915 Example Code and Data Size: These are the sizes for the OS-independent 
8916 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8917 debug version of the code includes the debug output trace mechanism and 
8918 has a 
8919 much larger code and data size.
8920
8921   Previous Release:
8922     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8923     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8924   Current Release:
8925     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8926     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8927
8928 2) iASL Compiler/Disassembler and Tools:
8929
8930 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
8931 resource descriptor names.
8932
8933 iASL: Detect invalid ASCII characters in input (windows version). Removed 
8934 the 
8935 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
8936 characters in the input. BZ 441
8937
8938 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
8939 the 
8940 "result of operation not used" warning when the DDB handle returned from 
8941 LoadTable is not used. The warning is not needed. BZ 590
8942
8943 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
8944 method 
8945 to 
8946 pass address of table to the AML. Added option to disable OpRegion 
8947 simulation 
8948 to allow creation of an OpRegion with a real address that was passed to 
8949 _CFG. 
8950 All of this allows testing of the Load and Unload operators from 
8951 AcpiExec.
8952
8953 Debugger: update tables command for unloaded tables. Handle unloaded 
8954 tables 
8955 and use the standard table header output routine.
8956
8957 ----------------------------------------
8958 09 June 2008. Summary of changes for version 20080609:
8959
8960 1) ACPI CA Core Subsystem:
8961
8962 Implemented a workaround for reversed _PRT entries. A significant number 
8963 of 
8964 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
8965 change dynamically detects and repairs this problem. Provides 
8966 compatibility 
8967 with MS ACPI. BZ 6859
8968
8969 Simplified the internal ACPI hardware interfaces to eliminate the locking 
8970 flag parameter from Register Read/Write. Added a new external interface, 
8971 AcpiGetRegisterUnlocked.
8972
8973 Fixed a problem where the invocation of a GPE control method could hang. 
8974 This 
8975 was a regression introduced in 20080514. The new method argument count 
8976 validation mechanism can enter an infinite loop when a GPE method is 
8977 dispatched. Problem fixed by removing the obsolete code that passed GPE 
8978 block 
8979 information to the notify handler via the control method parameter 
8980 pointer.
8981
8982 Fixed a problem where the _SST execution status was incorrectly returned 
8983 to 
8984 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
8985 in 
8986 20080514. _SST is optional and a NOT_FOUND exception should never be 
8987 returned. BZ 716
8988
8989 Fixed a problem where a deleted object could be accessed from within the 
8990 AML 
8991 parser. This was a regression introduced in version 20080123 as a fix for 
8992 the 
8993 Unload operator. Lin Ming. BZ 10669
8994
8995 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
8996 operands 
8997 and eliminated the use of a negative index in a loop. Operands are now 
8998 displayed in the correct order, not backwards. This also fixes a 
8999 regression 
9000 introduced in 20080514 on 64-bit systems where the elimination of 
9001 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
9002 715
9003
9004 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
9005 exit 
9006 path did not delete a locally allocated structure.
9007
9008 Updated definitions for the DMAR and SRAT tables to synchronize with the 
9009 current specifications. Includes disassembler support.
9010
9011 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
9012 loop termination value was used. Loop terminated on iteration early, 
9013 missing 
9014 one mutex. Linn Crosetto
9015
9016 Example Code and Data Size: These are the sizes for the OS-independent 
9017 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9018 debug version of the code includes the debug output trace mechanism and 
9019 has a 
9020 much larger code and data size.
9021
9022   Previous Release:
9023     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
9024     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
9025   Current Release:
9026     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
9027     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
9028
9029 2) iASL Compiler/Disassembler and Tools:
9030
9031 Disassembler: Implemented support for EisaId() within _CID objects. Now 
9032 disassemble integer _CID objects back to EisaId invocations, including 
9033 multiple integers within _CID packages. Includes single-step support for 
9034 debugger also.
9035
9036 Disassembler: Added support for DMAR and SRAT table definition changes.
9037
9038 ----------------------------------------
9039 14 May 2008. Summary of changes for version 20080514:
9040
9041 1) ACPI CA Core Subsystem:
9042
9043 Fixed a problem where GPEs were enabled too early during the ACPICA 
9044 initialization. This could lead to "handler not installed" errors on some 
9045 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
9046 This 
9047 ensures that all operation regions and devices throughout the namespace 
9048 have 
9049 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
9050
9051 Implemented a change to the enter sleep code. Moved execution of the _GTS 
9052 method to just before setting sleep enable bit. The execution was moved 
9053 from 
9054 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
9055 immediately before the SLP_EN bit is set, as per the ACPI specification. 
9056 Luming Yu, BZ 1653.
9057
9058 Implemented a fix to disable unknown GPEs (2nd version). Now always 
9059 disable 
9060 the GPE, even if ACPICA thinks that that it is already disabled. It is 
9061 possible that the AML or some other code has enabled the GPE unbeknownst 
9062 to 
9063 the ACPICA code.
9064
9065 Fixed a problem with the Field operator where zero-length fields would 
9066 return 
9067 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
9068 ASL 
9069 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
9070
9071 Implemented a fix for the Load operator, now load the table at the 
9072 namespace 
9073 root. This reverts a change introduced in version 20071019. The table is 
9074 now 
9075 loaded at the namespace root even though this goes against the ACPI 
9076 specification. This provides compatibility with other ACPI 
9077 implementations. 
9078 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
9079 Ming.
9080
9081 Fixed a problem where ACPICA would not Load() tables with unusual 
9082 signatures. 
9083 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
9084 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
9085 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
9086 such 
9087 signatures, ACPICA must be compatible. BZ 10454.
9088
9089 Fixed a possible negative array index in AcpiUtValidateException. Added 
9090 NULL 
9091 fields to the exception string arrays to eliminate a -1 subtraction on 
9092 the 
9093 SubStatus field.
9094
9095 Updated the debug tracking macros to reduce overall code and data size. 
9096 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
9097 instead of pointers to static strings. Jan Beulich and Bob Moore.
9098
9099 Implemented argument count checking in control method invocation via 
9100 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
9101 too 
9102 many. This applies only to extern programmatic control method execution, 
9103 not 
9104 method-to-method calls within the AML. Lin Ming.
9105
9106 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
9107 no 
9108 longer needed, especially with the removal of 16-bit support. It was 
9109 replaced 
9110 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
9111 bit 
9112 on 
9113 32/64-bit platforms is required.
9114
9115 Added the C const qualifier for appropriate string constants -- mostly 
9116 MODULE_NAME and printf format strings. Jan Beulich.
9117
9118 Example Code and Data Size: These are the sizes for the OS-independent 
9119 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9120 debug version of the code includes the debug output trace mechanism and 
9121 has a 
9122 much larger code and data size.
9123
9124   Previous Release:
9125     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
9126     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
9127   Current Release:
9128     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
9129     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
9130
9131 2) iASL Compiler/Disassembler and Tools:
9132
9133 Implemented ACPI table revision ID validation in the disassembler. Zero 
9134 is 
9135 always invalid. For DSDTs, the ID controls the interpreter integer width. 
9136
9137 means 32-bit and this is unusual. 2 or greater is 64-bit.
9138
9139 ----------------------------------------
9140 21 March 2008. Summary of changes for version 20080321:
9141
9142 1) ACPI CA Core Subsystem:
9143
9144 Implemented an additional change to the GPE support in order to suppress 
9145 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
9146 permanently 
9147 disable incoming GPEs that are neither enabled nor disabled -- meaning 
9148 that 
9149 the GPE is unknown to the system. This should prevent future interrupt 
9150 floods 
9151 from that GPE. BZ 6217 (Zhang Rui)
9152
9153 Fixed a problem where NULL package elements were not returned to the 
9154 AcpiEvaluateObject interface correctly. The element was simply ignored 
9155 instead of returning a NULL ACPI_OBJECT package element, potentially 
9156 causing 
9157 a buffer overflow and/or confusing the caller who expected a fixed number 
9158 of 
9159 elements. BZ 10132 (Lin Ming, Bob Moore)
9160
9161 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
9162 Dword, 
9163 Qword), Field, BankField, and IndexField operators when invoked from 
9164 inside 
9165 an executing control method. In this case, these operators created 
9166 namespace 
9167 nodes that were incorrectly left marked as permanent nodes instead of 
9168 temporary nodes. This could cause a problem if there is race condition 
9169 between an exiting control method and a running namespace walk. (Reported 
9170 by 
9171 Linn Crosetto)
9172
9173 Fixed a problem where the CreateField and CreateXXXField operators would 
9174 incorrectly allow duplicate names (the name of the field) with no 
9175 exception 
9176 generated.
9177
9178 Implemented several changes for Notify handling. Added support for new 
9179 Notify 
9180 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
9181 PowerResource objects is no longer allowed, as per the ACPI 
9182 specification. 
9183 (Bob Moore, Zhang Rui)
9184
9185 All Reference Objects returned via the AcpiEvaluateObject interface are 
9186 now 
9187 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
9188 for 
9189 NULL objects - either NULL package elements or unresolved named 
9190 references.
9191
9192 Fixed a problem where an extraneous debug message was produced for 
9193 package 
9194 objects (when debugging enabled). The message "Package List length larger 
9195 than NumElements count" is now produced in the correct case, and is now 
9196 an 
9197 error message rather than a debug message. Added a debug message for the 
9198 opposite case, where NumElements is larger than the Package List (the 
9199 package 
9200 will be padded out with NULL elements as per the ACPI spec.)
9201
9202 Implemented several improvements for the output of the ASL "Debug" object 
9203 to 
9204 clarify and keep all data for a given object on one output line.
9205
9206 Fixed two size calculation issues with the variable-length Start 
9207 Dependent 
9208 resource descriptor.
9209
9210 Example Code and Data Size: These are the sizes for the OS-independent 
9211 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9212 debug version of the code includes the debug output trace mechanism and 
9213 has 
9214 a much larger code and data size.
9215
9216   Previous Release:
9217     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9218     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9219   Current Release:
9220     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
9221     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
9222
9223 2) iASL Compiler/Disassembler and Tools:
9224
9225 Fixed a problem with the use of the Switch operator where execution of 
9226 the 
9227 containing method by multiple concurrent threads could cause an 
9228 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
9229 actual Switch opcode, it must be simulated with local named temporary 
9230 variables and if/else pairs. The solution chosen was to mark any method 
9231 that 
9232 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
9233 469.
9234
9235 ----------------------------------------
9236 13 February 2008. Summary of changes for version 20080213:
9237
9238 1) ACPI CA Core Subsystem:
9239
9240 Implemented another MS compatibility design change for GPE/Notify 
9241 handling. 
9242 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
9243 to 
9244 complete first. It is expected that the OSL will queue the enable request 
9245 behind all pending notify requests (may require changes to the local host 
9246 OSL 
9247 in AcpiOsExecute). Alexey Starikovskiy.
9248
9249 Fixed a problem where buffer and package objects passed as arguments to a 
9250 control method via the external AcpiEvaluateObject interface could cause 
9251 an 
9252 AE_AML_INTERNAL exception depending on the order and type of operators 
9253 executed by the target control method.
9254
9255 Fixed a problem where resource descriptor size optimization could cause a 
9256 problem when a _CRS resource template is passed to a _SRS method. The 
9257 _SRS 
9258 resource template must use the same descriptors (with the same size) as 
9259 returned from _CRS. This change affects the following resource 
9260 descriptors: 
9261 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
9262 9487)
9263
9264 Fixed a problem where a CopyObject to RegionField, BankField, and 
9265 IndexField 
9266 objects did not perform an implicit conversion as it should. These types 
9267 must 
9268 retain their initial type permanently as per the ACPI specification. 
9269 However, 
9270 a CopyObject to all other object types should not perform an implicit 
9271 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
9272
9273 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
9274 match device CIDs did not examine the entire list of available CIDs, but 
9275 instead aborted on the first non-matching CID. Andrew Patterson.
9276
9277 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
9278 was 
9279 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
9280 truncating the upper dword of a 64-bit value. This macro is only used to 
9281 display debug output, so no incorrect calculations were made. Also, 
9282 reimplemented the macro so that a 64-bit shift is not performed by 
9283 inefficient compilers.
9284
9285 Added missing va_end statements that should correspond with each va_start 
9286 statement.
9287
9288 Example Code and Data Size: These are the sizes for the OS-independent 
9289 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9290 debug version of the code includes the debug output trace mechanism and 
9291 has 
9292 a much larger code and data size.
9293
9294   Previous Release:
9295     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9296     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9297   Current Release:
9298     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9299     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9300
9301 2) iASL Compiler/Disassembler and Tools:
9302
9303 Implemented full disassembler support for the following new ACPI tables: 
9304 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
9305 complicated HEST table. These tables support the Windows Hardware Error 
9306 Architecture (WHEA).
9307
9308 ----------------------------------------
9309 23 January 2008. Summary of changes for version 20080123:
9310
9311 1) ACPI CA Core Subsystem:
9312
9313 Added the 2008 copyright to all module headers and signons. This affects 
9314 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
9315 the tools/utilities.
9316
9317 Fixed a problem with the SizeOf operator when used with Package and 
9318 Buffer 
9319 objects. These objects have deferred execution for some arguments, and 
9320 the 
9321 execution is now completed before the SizeOf is executed. This problem 
9322 caused 
9323 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
9324 BZ 
9325 9558
9326
9327 Implemented an enhancement to the interpreter "slack mode". In the 
9328 absence 
9329 of 
9330 an explicit return or an implicitly returned object from the last 
9331 executed 
9332 opcode, a control method will now implicitly return an integer of value 0 
9333 for 
9334 Microsoft compatibility. (Lin Ming) BZ 392
9335
9336 Fixed a problem with the Load operator where an exception was not 
9337 returned 
9338 in 
9339 the case where the table is already loaded. (Lin Ming) BZ 463
9340
9341 Implemented support for the use of DDBHandles as an Indexed Reference, as 
9342 per 
9343 the ACPI spec. (Lin Ming) BZ 486
9344
9345 Implemented support for UserTerm (Method invocation) for the Unload 
9346 operator 
9347 as per the ACPI spec. (Lin Ming) BZ 580
9348
9349 Fixed a problem with the LoadTable operator where the OemId and 
9350 OemTableId 
9351 input strings could cause unexpected failures if they were shorter than 
9352 the 
9353 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
9354
9355 Implemented support for UserTerm (Method invocation) for the Unload 
9356 operator 
9357 as per the ACPI spec. (Lin Ming) BZ 580
9358
9359 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
9360 HEST, 
9361 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
9362
9363 Example Code and Data Size: These are the sizes for the OS-independent 
9364 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9365 debug version of the code includes the debug output trace mechanism and 
9366 has 
9367 a much larger code and data size.
9368
9369   Previous Release:
9370     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9371     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9372   Current Release:
9373     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9374     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9375
9376 2) iASL Compiler/Disassembler and Tools:
9377
9378 Implemented support in the disassembler for checksum validation on 
9379 incoming 
9380 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
9381 table 
9382 header dump at the start of the disassembly.
9383
9384 Implemented additional debugging information in the namespace listing 
9385 file 
9386 created during compilation. In addition to the namespace hierarchy, the 
9387 full 
9388 pathname to each namespace object is displayed.
9389
9390 Fixed a problem with the disassembler where invalid ACPI tables could 
9391 cause 
9392 faults or infinite loops.
9393
9394 Fixed an unexpected parse error when using the optional "parameter types" 
9395 list in a control method declaration. (Lin Ming) BZ 397
9396
9397 Fixed a problem where two External declarations with the same name did 
9398 not 
9399 cause an error (Lin Ming) BZ 509
9400
9401 Implemented support for full TermArgs (adding Argx, Localx and method 
9402 invocation) for the ParameterData parameter to the LoadTable operator. 
9403 (Lin 
9404 Ming) BZ 583,587
9405
9406 ----------------------------------------
9407 19 December 2007. Summary of changes for version 20071219:
9408
9409 1) ACPI CA Core Subsystem:
9410
9411 Implemented full support for deferred execution for the TermArg string 
9412 arguments for DataTableRegion. This enables forward references and full 
9413 operand resolution for the three string arguments. Similar to 
9414 OperationRegion 
9415 deferred argument execution.) Lin Ming. BZ 430
9416
9417 Implemented full argument resolution support for the BankValue argument 
9418 to 
9419 BankField. Previously, only constants were supported, now any TermArg may 
9420 be 
9421 used. Lin Ming BZ 387, 393
9422
9423 Fixed a problem with AcpiGetDevices where the search of a branch of the 
9424 device tree could be terminated prematurely. In accordance with the ACPI 
9425 specification, the search down the current branch is terminated if a 
9426 device 
9427 is both not present and not functional (instead of just not present.) 
9428 Yakui 
9429 Zhao.
9430
9431 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
9432 if 
9433 the underlying AML code changed the GPE enable registers. Now, any 
9434 unknown 
9435 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
9436 disabled 
9437 instead of simply ignored. Rui Zhang.
9438
9439 Fixed a problem with Index Fields where the Index register was 
9440 incorrectly 
9441 limited to a maximum of 32 bits. Now any size may be used.
9442
9443 Fixed a couple memory leaks associated with "implicit return" objects 
9444 when 
9445 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
9446
9447 Example Code and Data Size: These are the sizes for the OS-independent 
9448 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9449 debug version of the code includes the debug output trace mechanism and 
9450 has 
9451 a much larger code and data size.
9452
9453   Previous Release:
9454     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9455     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9456   Current Release:
9457     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9458     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9459
9460 ----------------------------------------
9461 14 November 2007. Summary of changes for version 20071114:
9462
9463 1) ACPI CA Core Subsystem:
9464
9465 Implemented event counters for each of the Fixed Events, the ACPI SCI 
9466 (interrupt) itself, and control methods executed. Named 
9467 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
9468 These 
9469 should be useful for debugging and statistics.
9470
9471 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
9472 contents of the various event counters. Returns the current values for 
9473 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
9474 AcpiMethodCount. The interface can be expanded in the future if new 
9475 counters 
9476 are added. Device drivers should use this interface rather than access 
9477 the 
9478 counters directly.
9479
9480 Fixed a problem with the FromBCD and ToBCD operators. With some 
9481 compilers, 
9482 the ShortDivide function worked incorrectly, causing problems with the 
9483 BCD 
9484 functions with large input values. A truncation from 64-bit to 32-bit 
9485 inadvertently occurred. Internal BZ 435. Lin Ming
9486
9487 Fixed a problem with Index references passed as method arguments. 
9488 References 
9489 passed as arguments to control methods were dereferenced immediately 
9490 (before 
9491 control was passed to the called method). The references are now 
9492 correctly 
9493 passed directly to the called method. BZ 5389. Lin Ming
9494
9495 Fixed a problem with CopyObject used in conjunction with the Index 
9496 operator. 
9497 The reference was incorrectly dereferenced before the copy. The reference 
9498 is 
9499 now correctly copied. BZ 5391. Lin Ming
9500
9501 Fixed a problem with Control Method references within Package objects. 
9502 These 
9503 references are now correctly generated. This completes the package 
9504 construction overhaul that began in version 20071019.
9505
9506 Example Code and Data Size: These are the sizes for the OS-independent 
9507 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9508 debug version of the code includes the debug output trace mechanism and 
9509 has 
9510 a much larger code and data size.
9511
9512   Previous Release:
9513     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9514     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9515   Current Release:
9516     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9517     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9518
9519
9520 2) iASL Compiler/Disassembler and Tools:
9521
9522 The AcpiExec utility now installs handlers for all of the predefined 
9523 Operation Region types. New types supported are: PCI_Config, CMOS, and 
9524 PCIBARTarget.
9525
9526 Fixed a problem with the 64-bit version of AcpiExec where the extended 
9527 (64-
9528 bit) address fields for the DSDT and FACS within the FADT were not being 
9529 used, causing truncation of the upper 32-bits of these addresses. Lin 
9530 Ming 
9531 and Bob Moore
9532
9533 ----------------------------------------
9534 19 October 2007. Summary of changes for version 20071019:
9535
9536 1) ACPI CA Core Subsystem:
9537
9538 Fixed a problem with the Alias operator when the target of the alias is a 
9539 named ASL operator that opens a new scope -- Scope, Device, 
9540 PowerResource, 
9541 Processor, and ThermalZone. In these cases, any children of the original 
9542 operator could not be accessed via the alias, potentially causing 
9543 unexpected 
9544 AE_NOT_FOUND exceptions. (BZ 9067)
9545
9546 Fixed a problem with the Package operator where all named references were 
9547 created as object references and left otherwise unresolved. According to 
9548 the 
9549 ACPI specification, a Package can only contain Data Objects or references 
9550 to 
9551 control methods. The implication is that named references to Data Objects 
9552 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
9553 immediately upon package creation. This is the approach taken with this 
9554 change. References to all other named objects (Methods, Devices, Scopes, 
9555 etc.) are all now properly created as reference objects. (BZ 5328)
9556
9557 Reverted a change to Notify handling that was introduced in version 
9558 20070508. This version changed the Notify handling from asynchronous to 
9559 fully synchronous (Device driver Notify handling with respect to the 
9560 Notify 
9561 ASL operator). It was found that this change caused more problems than it 
9562 solved and was removed by most users.
9563
9564 Fixed a problem with the Increment and Decrement operators where the type 
9565 of 
9566 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
9567 Lin Ming.
9568
9569 Fixed a problem with the Load and LoadTable operators where the table 
9570 location within the namespace was ignored. Instead, the table was always 
9571 loaded into the root or current scope. Lin Ming.
9572
9573 Fixed a problem with the Load operator when loading a table from a buffer 
9574 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
9575
9576 Fixed a problem with the Debug object where a store of a DdbHandle 
9577 reference 
9578 object to the Debug object could cause a fault.
9579
9580 Added a table checksum verification for the Load operator, in the case 
9581 where 
9582 the load is from a buffer. (BZ 578).
9583
9584 Implemented additional parameter validation for the LoadTable operator. 
9585 The 
9586 length of the input strings SignatureString, OemIdString, and OemTableId 
9587 are 
9588 now checked for maximum lengths. (BZ 582) Lin Ming.
9589
9590 Example Code and Data Size: These are the sizes for the OS-independent 
9591 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9592 debug version of the code includes the debug output trace mechanism and 
9593 has 
9594 a much larger code and data size.
9595
9596   Previous Release:
9597     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9598     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9599   Current Release:
9600     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9601     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9602
9603
9604 2) iASL Compiler/Disassembler:
9605
9606 Fixed a problem where if a single file was specified and the file did not 
9607 exist, no error message was emitted. (Introduced with wildcard support in 
9608 version 20070917.)
9609
9610 ----------------------------------------
9611 19 September 2007. Summary of changes for version 20070919:
9612
9613 1) ACPI CA Core Subsystem:
9614
9615 Designed and implemented new external interfaces to install and remove 
9616 handlers for ACPI table-related events. Current events that are defined 
9617 are 
9618 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
9619 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
9620 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
9621
9622 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
9623 (acpi_serialized option on Linux) could cause some systems to hang during 
9624 initialization. (Bob Moore) BZ 8171
9625
9626 Fixed a problem where objects of certain types (Device, ThermalZone, 
9627 Processor, PowerResource) can be not found if they are declared and 
9628 referenced from within the same control method (Lin Ming) BZ 341
9629
9630 Example Code and Data Size: These are the sizes for the OS-independent 
9631 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9632 debug version of the code includes the debug output trace mechanism and 
9633 has 
9634 a much larger code and data size.
9635
9636   Previous Release:
9637     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9638     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9639   Current Release:
9640     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9641     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9642
9643
9644 2) iASL Compiler/Disassembler:
9645
9646 Implemented support to allow multiple files to be compiled/disassembled 
9647 in 
9648
9649 single invocation. This includes command line wildcard support for both 
9650 the 
9651 Windows and Unix versions of the compiler. This feature simplifies the 
9652 disassembly and compilation of multiple ACPI tables in a single 
9653 directory.
9654
9655 ----------------------------------------
9656 08 May 2007. Summary of changes for version 20070508:
9657
9658 1) ACPI CA Core Subsystem:
9659
9660 Implemented a Microsoft compatibility design change for the handling of 
9661 the 
9662 Notify AML operator. Previously, notify handlers were dispatched and 
9663 executed completely asynchronously in a deferred thread. The new design 
9664 still executes the notify handlers in a different thread, but the 
9665 original 
9666 thread that executed the Notify() now waits at a synchronization point 
9667 for 
9668 the notify handler to complete. Some machines depend on a synchronous 
9669 Notify 
9670 operator in order to operate correctly.
9671
9672 Implemented support to allow Package objects to be passed as method 
9673 arguments to the external AcpiEvaluateObject interface. Previously, this 
9674 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
9675 implemented since there were no reserved control methods that required it 
9676 until recently.
9677
9678 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
9679 that 
9680 contained invalid non-zero values in reserved fields could cause later 
9681 failures because these fields have meaning in later revisions of the 
9682 FADT. 
9683 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
9684 fields 
9685 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
9686
9687 Fixed a problem where the Global Lock handle was not properly updated if 
9688
9689 thread that acquired the Global Lock via executing AML code then 
9690 attempted 
9691 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
9692 Joe 
9693 Liu.
9694
9695 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
9696 could be corrupted if the interrupt being removed was at the head of the 
9697 list. Reported by Linn Crosetto.
9698
9699 Example Code and Data Size: These are the sizes for the OS-independent 
9700 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9701 debug version of the code includes the debug output trace mechanism and 
9702 has 
9703 a much larger code and data size.
9704
9705   Previous Release:
9706     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9707     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9708   Current Release:
9709     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9710     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9711
9712 ----------------------------------------
9713 20 March 2007. Summary of changes for version 20070320:
9714
9715 1) ACPI CA Core Subsystem:
9716
9717 Implemented a change to the order of interpretation and evaluation of AML 
9718 operand objects within the AML interpreter. The interpreter now evaluates 
9719 operands in the order that they appear in the AML stream (and the 
9720 corresponding ASL code), instead of in the reverse order (after the 
9721 entire 
9722 operand list has been parsed). The previous behavior caused several 
9723 subtle 
9724 incompatibilities with the Microsoft AML interpreter as well as being 
9725 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
9726
9727 Implemented a change to the ACPI Global Lock support. All interfaces to 
9728 the 
9729 global lock now allow the same thread to acquire the lock multiple times. 
9730 This affects the AcpiAcquireGlobalLock external interface to the global 
9731 lock 
9732 as well as the internal use of the global lock to support AML fields -- a 
9733 control method that is holding the global lock can now simultaneously 
9734 access 
9735 AML fields that require global lock protection. Previously, in both 
9736 cases, 
9737 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
9738 to 
9739 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
9740 Controller. There is no change to the behavior of the AML Acquire 
9741 operator, 
9742 as this can already be used to acquire a mutex multiple times by the same 
9743 thread. BZ 8066. With assistance from Alexey Starikovskiy.
9744
9745 Fixed a problem where invalid objects could be referenced in the AML 
9746 Interpreter after error conditions. During operand evaluation, ensure 
9747 that 
9748 the internal "Return Object" field is cleared on error and only valid 
9749 pointers are stored there. Caused occasional access to deleted objects 
9750 that 
9751 resulted in "large reference count" warning messages. Valery Podrezov.
9752
9753 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
9754 on 
9755 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
9756 Podrezov.
9757
9758 Fixed an internal problem with the handling of result objects on the 
9759 interpreter result stack. BZ 7872. Valery Podrezov.
9760
9761 Removed obsolete code that handled the case where AML_NAME_OP is the 
9762 target 
9763 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
9764 7874. Valery Podrezov.
9765
9766 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
9767 was 
9768
9769 remnant from the previously discontinued 16-bit support.
9770
9771 Example Code and Data Size: These are the sizes for the OS-independent 
9772 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9773 debug version of the code includes the debug output trace mechanism and 
9774 has 
9775 a much larger code and data size.
9776
9777   Previous Release:
9778     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9779     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9780   Current Release:
9781     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9782     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9783
9784 ----------------------------------------
9785 26 January 2007. Summary of changes for version 20070126:
9786
9787 1) ACPI CA Core Subsystem:
9788
9789 Added the 2007 copyright to all module headers and signons. This affects 
9790 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
9791 the utilities.
9792
9793 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
9794 during a table load. A bad pointer was passed in the case where the DSDT 
9795 is 
9796 overridden, causing a fault in this case.
9797
9798 Example Code and Data Size: These are the sizes for the OS-independent 
9799 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9800 debug version of the code includes the debug output trace mechanism and 
9801 has 
9802 a much larger code and data size.
9803
9804   Previous Release:
9805     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9806     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9807   Current Release:
9808     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9809     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9810
9811 ----------------------------------------
9812 15 December 2006. Summary of changes for version 20061215:
9813
9814 1) ACPI CA Core Subsystem:
9815
9816 Support for 16-bit ACPICA has been completely removed since it is no 
9817 longer 
9818 necessary and it clutters the code. All 16-bit macros, types, and 
9819 conditional compiles have been removed, cleaning up and simplifying the 
9820 code 
9821 across the entire subsystem. DOS support is no longer needed since the 
9822 bootable Linux firmware kit is now available.
9823
9824 The handler for the Global Lock is now removed during AcpiTerminate to 
9825 enable a clean subsystem restart, via the implementation of the 
9826 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
9827 HP)
9828
9829 Implemented enhancements to the multithreading support within the 
9830 debugger 
9831 to enable improved multithreading debugging and evaluation of the 
9832 subsystem. 
9833 (Valery Podrezov)
9834
9835 Debugger: Enhanced the Statistics/Memory command to emit the total 
9836 (maximum) 
9837 memory used during the execution, as well as the maximum memory consumed 
9838 by 
9839 each of the various object types. (Valery Podrezov)
9840
9841 Example Code and Data Size: These are the sizes for the OS-independent 
9842 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9843 debug version of the code includes the debug output trace mechanism and 
9844 has 
9845 a much larger code and data size.
9846
9847   Previous Release:
9848     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9849     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9850   Current Release:
9851     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9852     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9853
9854
9855 2) iASL Compiler/Disassembler and Tools:
9856
9857 AcpiExec: Implemented a new option (-m) to display full memory use 
9858 statistics upon subsystem/program termination. (Valery Podrezov)
9859
9860 ----------------------------------------
9861 09 November 2006. Summary of changes for version 20061109:
9862
9863 1) ACPI CA Core Subsystem:
9864
9865 Optimized the Load ASL operator in the case where the source operand is 
9866 an 
9867 operation region. Simply map the operation region memory, instead of 
9868 performing a bytewise read. (Region must be of type SystemMemory, see 
9869 below.)
9870
9871 Fixed the Load ASL operator for the case where the source operand is a 
9872 region field. A buffer object is also allowed as the source operand. BZ 
9873 480
9874
9875 Fixed a problem where the Load ASL operator allowed the source operand to 
9876 be 
9877 an operation region of any type. It is now restricted to regions of type 
9878 SystemMemory, as per the ACPI specification. BZ 481
9879
9880 Additional cleanup and optimizations for the new Table Manager code.
9881
9882 AcpiEnable will now fail if all of the required ACPI tables are not 
9883 loaded 
9884 (FADT, FACS, DSDT). BZ 477
9885
9886 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
9887 this 
9888 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
9889 manually optimized to be aligned and will not work if it is byte-packed. 
9890
9891 Example Code and Data Size: These are the sizes for the OS-independent 
9892 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9893 debug version of the code includes the debug output trace mechanism and 
9894 has 
9895 a much larger code and data size.
9896
9897   Previous Release:
9898     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9899     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9900   Current Release:
9901     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9902     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9903
9904
9905 2) iASL Compiler/Disassembler and Tools:
9906
9907 Fixed a problem where the presence of the _OSI predefined control method 
9908 within complex expressions could cause an internal compiler error.
9909
9910 AcpiExec: Implemented full region support for multiple address spaces. 
9911 SpaceId is now part of the REGION object. BZ 429
9912
9913 ----------------------------------------
9914 11 October 2006. Summary of changes for version 20061011:
9915
9916 1) ACPI CA Core Subsystem:
9917
9918 Completed an AML interpreter performance enhancement for control method 
9919 execution. Previously a 2-pass parse/execution, control methods are now 
9920 completely parsed and executed in a single pass. This improves overall 
9921 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
9922 use. (Valery Podrezov + interpreter changes in version 20051202 that 
9923 eliminated namespace loading during the pass one parse.)
9924
9925 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
9926 not 
9927 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
9928 now 
9929 obtained and also checked for an ID match.
9930
9931 Implemented additional support for the PCI _ADR execution: upsearch until 
9932
9933 device scope is found before executing _ADR. This allows PCI_Config 
9934 operation regions to be declared locally within control methods 
9935 underneath 
9936 PCI device objects.
9937
9938 Fixed a problem with a possible race condition between threads executing 
9939 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
9940 modifying AcpiWalkNamespace to (by default) ignore all temporary 
9941 namespace 
9942 entries created during any concurrent control method execution. An 
9943 additional namespace race condition is known to exist between 
9944 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
9945 investigation.
9946
9947 Restructured the AML ParseLoop function, breaking it into several 
9948 subfunctions in order to reduce CPU stack use and improve 
9949 maintainability. 
9950 (Mikhail Kouzmich)
9951
9952 AcpiGetHandle: Fix for parameter validation to detect invalid 
9953 combinations 
9954 of prefix handle and pathname. BZ 478
9955
9956 Example Code and Data Size: These are the sizes for the OS-independent 
9957 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9958 debug version of the code includes the debug output trace mechanism and 
9959 has 
9960 a much larger code and data size.
9961
9962   Previous Release:
9963     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9964     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9965   Current Release:
9966     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9967     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9968
9969 2) iASL Compiler/Disassembler and Tools:
9970
9971 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
9972 Manager 
9973 to restore original behavior.
9974
9975 ----------------------------------------
9976 27 September 2006. Summary of changes for version 20060927:
9977
9978 1) ACPI CA Core Subsystem:
9979
9980 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
9981 These functions now use a spinlock for mutual exclusion and the interrupt 
9982 level indication flag is not needed.
9983
9984 Fixed a problem with the Global Lock where the lock could appear to be 
9985 obtained before it is actually obtained. The global lock semaphore was 
9986 inadvertently created with one unit instead of zero units. (BZ 464) 
9987 Fiodor 
9988 Suietov.
9989
9990 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
9991 during 
9992 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9993
9994 Example Code and Data Size: These are the sizes for the OS-independent 
9995 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9996 debug version of the code includes the debug output trace mechanism and 
9997 has 
9998 a much larger code and data size.
9999
10000   Previous Release:
10001     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10002     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
10003   Current Release:
10004     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10005     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
10006
10007
10008 2) iASL Compiler/Disassembler and Tools:
10009
10010 Fixed a compilation problem with the pre-defined Resource Descriptor 
10011 field 
10012 names where an "object does not exist" error could be incorrectly 
10013 generated 
10014 if the parent ResourceTemplate pathname places the template within a 
10015 different namespace scope than the current scope. (BZ 7212)
10016
10017 Fixed a problem where the compiler could hang after syntax errors 
10018 detected 
10019 in an ElseIf construct. (BZ 453)
10020
10021 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
10022 operator. An incorrect output filename was produced when this parameter 
10023 was 
10024 a null string (""). Now, the original input filename is used as the AML 
10025 output filename, with an ".aml" extension.
10026
10027 Implemented a generic batch command mode for the AcpiExec utility 
10028 (execute 
10029 any AML debugger command) (Valery Podrezov).
10030
10031 ----------------------------------------
10032 12 September 2006. Summary of changes for version 20060912:
10033
10034 1) ACPI CA Core Subsystem:
10035
10036 Enhanced the implementation of the "serialized mode" of the interpreter 
10037 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
10038 specified, instead of creating a serialization semaphore per control 
10039 method, 
10040 the interpreter lock is simply no longer released before a blocking 
10041 operation during control method execution. This effectively makes the AML 
10042 Interpreter single-threaded. The overhead of a semaphore per-method is 
10043 eliminated.
10044
10045 Fixed a regression where an error was no longer emitted if a control 
10046 method 
10047 attempts to create 2 objects of the same name. This once again returns 
10048 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
10049 that 
10050 will dynamically serialize the control method to possible prevent future 
10051 errors. (BZ 440)
10052
10053 Integrated a fix for a problem with PCI Express HID detection in the PCI 
10054 Config Space setup procedure. (BZ 7145)
10055
10056 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
10057 AcpiHwInitialize function - the FADT registers are now validated when the 
10058 table is loaded.
10059
10060 Added two new warnings during FADT verification - 1) if the FADT is 
10061 larger 
10062 than the largest known FADT version, and 2) if there is a mismatch 
10063 between 
10064
10065 32-bit block address and the 64-bit X counterpart (when both are non-
10066 zero.)
10067
10068 Example Code and Data Size: These are the sizes for the OS-independent 
10069 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10070 debug version of the code includes the debug output trace mechanism and 
10071 has 
10072 a much larger code and data size.
10073
10074   Previous Release:
10075     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
10076     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
10077   Current Release:
10078     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10079     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
10080
10081
10082 2) iASL Compiler/Disassembler and Tools:
10083
10084 Fixed a problem with the implementation of the Switch() operator where 
10085 the 
10086 temporary variable was declared too close to the actual Switch, instead 
10087 of 
10088 at method level. This could cause a problem if the Switch() operator is 
10089 within a while loop, causing an error on the second iteration. (BZ 460)
10090
10091 Disassembler - fix for error emitted for unknown type for target of scope 
10092 operator. Now, ignore it and continue.
10093
10094 Disassembly of an FADT now verifies the input FADT and reports any errors 
10095 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
10096
10097 Disassembly of raw data buffers with byte initialization data now 
10098 prefixes 
10099 each output line with the current buffer offset.
10100
10101 Disassembly of ASF! table now includes all variable-length data fields at 
10102 the end of some of the subtables.
10103
10104 The disassembler now emits a comment if a buffer appears to be a 
10105 ResourceTemplate, but cannot be disassembled as such because the EndTag 
10106 does 
10107 not appear at the very end of the buffer.
10108
10109 AcpiExec - Added the "-t" command line option to enable the serialized 
10110 mode 
10111 of the AML interpreter.
10112
10113 ----------------------------------------
10114 31 August 2006. Summary of changes for version 20060831:
10115
10116 1) ACPI CA Core Subsystem:
10117
10118 Miscellaneous fixes for the Table Manager:
10119 - Correctly initialize internal common FADT for all 64-bit "X" fields
10120 - Fixed a couple table mapping issues during table load
10121 - Fixed a couple alignment issues for IA64
10122 - Initialize input array to zero in AcpiInitializeTables
10123 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
10124 AcpiGetTableByIndex
10125
10126 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
10127 now 
10128 immediately disabled to prevent the waking GPE from firing again and to 
10129 prevent other wake GPEs from interrupting the wake process.
10130
10131 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
10132 to 
10133 be used for debugging systems with a large number of ACPI interrupts.
10134
10135 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
10136 both the ACPICA headers and the disassembler.
10137
10138 Example Code and Data Size: These are the sizes for the OS-independent 
10139 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10140 debug version of the code includes the debug output trace mechanism and 
10141 has 
10142 a much larger code and data size.
10143
10144   Previous Release:
10145     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10146     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10147   Current Release:
10148     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
10149     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
10150
10151
10152 2) iASL Compiler/Disassembler and Tools:
10153
10154 Disassembler support for the DMAR ACPI table.
10155
10156 ----------------------------------------
10157 23 August 2006. Summary of changes for version 20060823:
10158
10159 1) ACPI CA Core Subsystem:
10160
10161 The Table Manager component has been completely redesigned and 
10162 reimplemented. The new design is much simpler, and reduces the overall 
10163 code 
10164 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
10165 is 
10166 now possible to obtain the ACPI tables very early during kernel 
10167 initialization, even before dynamic memory management is initialized. 
10168 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
10169
10170 Obsolete ACPICA interfaces:
10171
10172 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
10173 init 
10174 time).
10175 - AcpiLoadTable: Not needed.
10176 - AcpiUnloadTable: Not needed.
10177
10178 New ACPICA interfaces:
10179
10180 - AcpiInitializeTables: Must be called before the table manager can be 
10181 used.
10182 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
10183 allocated memory after it becomes available.
10184 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
10185 tables 
10186 in the RSDT/XSDT.
10187
10188 Other ACPICA changes:
10189
10190 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
10191 Use 
10192 AcpiOsUnmapMemory to free this mapping.
10193 - AcpiGetTable returns the actual mapped table. The mapping is managed 
10194 internally and must not be deleted by the caller. Use of this interface 
10195 causes no additional dynamic memory allocation.
10196 - AcpiFindRootPointer: Support for physical addressing has been 
10197 eliminated, 
10198 it appeared to be unused.
10199 - The interface to AcpiOsMapMemory has changed to be consistent with the 
10200 other allocation interfaces.
10201 - The interface to AcpiOsGetRootPointer has changed to eliminate 
10202 unnecessary 
10203 parameters.
10204 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
10205 64-
10206 bit platforms. Was previously 64 bits on all platforms.
10207 - The interface to the ACPI Global Lock acquire/release macros have 
10208 changed 
10209 slightly since ACPICA no longer keeps a local copy of the FACS with a 
10210 constructed pointer to the actual global lock.
10211
10212 Porting to the new table manager:
10213
10214 - AcpiInitializeTables: Must be called once, and can be called anytime 
10215 during the OS initialization process. It allows the host to specify an 
10216 area 
10217 of memory to be used to store the internal version of the RSDT/XSDT (root 
10218 table). This allows the host to access ACPI tables before memory 
10219 management 
10220 is initialized and running.
10221 - AcpiReallocateRootTable: Can be called after memory management is 
10222 running 
10223 to copy the root table to a dynamically allocated array, freeing up the 
10224 scratch memory specified in the call to AcpiInitializeTables.
10225 - AcpiSubsystemInitialize: This existing interface is independent of the 
10226 Table Manager, and does not have to be called before the Table Manager 
10227 can 
10228 be used, it only must be called before the rest of ACPICA can be used.
10229 - ACPI Tables: Some changes have been made to the names and structure of 
10230 the 
10231 actbl.h and actbl1.h header files and may require changes to existing 
10232 code. 
10233 For example, bitfields have been completely removed because of their lack 
10234 of 
10235 portability across C compilers.
10236 - Update interfaces to the Global Lock acquire/release macros if local 
10237 versions are used. (see acwin.h)
10238
10239 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
10240
10241 New files: tbfind.c
10242
10243 Example Code and Data Size: These are the sizes for the OS-independent 
10244 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10245 debug version of the code includes the debug output trace mechanism and 
10246 has 
10247 a much larger code and data size.
10248
10249   Previous Release:
10250     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10251     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10252   Current Release:
10253     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10254     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10255
10256
10257 2) iASL Compiler/Disassembler and Tools:
10258
10259 No changes for this release.
10260
10261 ----------------------------------------
10262 21 July 2006. Summary of changes for version 20060721:
10263
10264 1) ACPI CA Core Subsystem:
10265
10266 The full source code for the ASL test suite used to validate the iASL 
10267 compiler and the ACPICA core subsystem is being released with the ACPICA 
10268 source for the first time. The source is contained in a separate package 
10269 and 
10270 consists of over 1100 files that exercise all ASL/AML operators. The 
10271 package 
10272 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
10273 Fiodor 
10274 Suietov)
10275
10276 Completed a new design and implementation for support of the ACPI Global 
10277 Lock. On the OS side, the global lock is now treated as a standard AML 
10278 mutex. Previously, multiple OS threads could "acquire" the global lock 
10279 simultaneously. However, this could cause the BIOS to be starved out of 
10280 the 
10281 lock - especially in cases such as the Embedded Controller driver where 
10282 there is a tight coupling between the OS and the BIOS.
10283
10284 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
10285 The Global Lock interrupt handler no longer queues the execution of a 
10286 separate thread to signal the global lock semaphore. Instead, the 
10287 semaphore 
10288 is signaled directly from the interrupt handler.
10289
10290 Implemented support within the AML interpreter for package objects that 
10291 contain a larger AML length (package list length) than the package 
10292 element 
10293 count. In this case, the length of the package is truncated to match the 
10294 package element count. Some BIOS code apparently modifies the package 
10295 length 
10296 on the fly, and this change supports this behavior. Provides 
10297 compatibility 
10298 with the MS AML interpreter. (With assistance from Fiodor Suietov)
10299
10300 Implemented a temporary fix for the BankValue parameter of a Bank Field 
10301 to 
10302 support all constant values, now including the Zero and One opcodes. 
10303 Evaluation of this parameter must eventually be converted to a full 
10304 TermArg 
10305 evaluation. A not-implemented error is now returned (temporarily) for 
10306 non-
10307 constant values for this parameter.
10308
10309 Fixed problem reports (Fiodor Suietov) integrated:
10310 - Fix for premature object deletion after CopyObject on Operation Region 
10311 (BZ 
10312 350)
10313
10314 Example Code and Data Size: These are the sizes for the OS-independent 
10315 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10316 debug version of the code includes the debug output trace mechanism and 
10317 has 
10318 a much larger code and data size.
10319
10320   Previous Release:
10321     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
10322     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
10323   Current Release:
10324     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10325     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10326
10327
10328 2) iASL Compiler/Disassembler and Tools:
10329
10330 No changes for this release.
10331
10332 ----------------------------------------
10333 07 July 2006. Summary of changes for version 20060707:
10334
10335 1) ACPI CA Core Subsystem:
10336
10337 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
10338 that do not allow the initialization of address pointers within packed 
10339 structures - even though the hardware itself may support misaligned 
10340 transfers. Some of the debug data structures are packed by default to 
10341 minimize size.
10342
10343 Added an error message for the case where AcpiOsGetThreadId() returns 
10344 zero. 
10345 A non-zero value is required by the core ACPICA code to ensure the proper 
10346 operation of AML mutexes and recursive control methods.
10347
10348 The DSDT is now the only ACPI table that determines whether the AML 
10349 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
10350 but 
10351 the hooks for per-table 32/64 switching have been removed from the code. 
10352
10353 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
10354
10355 Fixed a possible leak of an OwnerID in the error path of 
10356 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
10357 deletion to a single place in AcpiTbUninstallTable to correct possible 
10358 leaks 
10359 when using the AcpiTbDeleteTablesByType interface (with assistance from 
10360 Lance Ortiz.)
10361
10362 Fixed a problem with Serialized control methods where the semaphore 
10363 associated with the method could be over-signaled after multiple method 
10364 invocations.
10365
10366 Fixed two issues with the locking of the internal namespace data 
10367 structure. 
10368 Both the Unload() operator and AcpiUnloadTable interface now lock the 
10369 namespace during the namespace deletion associated with the table unload 
10370 (with assistance from Linn Crosetto.)
10371
10372 Fixed problem reports (Valery Podrezov) integrated:
10373 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
10374
10375 Fixed problem reports (Fiodor Suietov) integrated:
10376 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
10377 - On Address Space handler deletion, needless deactivation call (BZ 374)
10378 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
10379 375)
10380 - Possible memory leak, Notify sub-objects of Processor, Power, 
10381 ThermalZone 
10382 (BZ 376)
10383 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
10384 - Minimum Length of RSDT should be validated (BZ 379)
10385 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
10386 Handler (BZ (380)
10387 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
10388 loaded 
10389 (BZ 381)
10390
10391 Example Code and Data Size: These are the sizes for the OS-independent 
10392 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10393 debug version of the code includes the debug output trace mechanism and 
10394 has 
10395 a much larger code and data size.
10396
10397   Previous Release:
10398     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10399     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10400   Current Release:
10401     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10402     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10403
10404
10405 2) iASL Compiler/Disassembler and Tools:
10406
10407 Fixed problem reports:
10408 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
10409 436)
10410
10411 ----------------------------------------
10412 23 June 2006. Summary of changes for version 20060623:
10413
10414 1) ACPI CA Core Subsystem:
10415
10416 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
10417 allows the type to be customized to the host OS for improved efficiency 
10418 (since a spinlock is usually a very small object.)
10419
10420 Implemented support for "ignored" bits in the ACPI registers. According 
10421 to 
10422 the ACPI specification, these bits should be preserved when writing the 
10423 registers via a read/modify/write cycle. There are 3 bits preserved in 
10424 this 
10425 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
10426
10427 Implemented the initial deployment of new OSL mutex interfaces. Since 
10428 some 
10429 host operating systems have separate mutex and semaphore objects, this 
10430 feature was requested. The base code now uses mutexes (and the new mutex 
10431 interfaces) wherever a binary semaphore was used previously. However, for 
10432 the current release, the mutex interfaces are defined as macros to map 
10433 them 
10434 to the existing semaphore interfaces. Therefore, no OSL changes are 
10435 required 
10436 at this time. (See acpiosxf.h)
10437
10438 Fixed several problems with the support for the control method SyncLevel 
10439 parameter. The SyncLevel now works according to the ACPI specification 
10440 and 
10441 in concert with the Mutex SyncLevel parameter, since the current 
10442 SyncLevel 
10443 is a property of the executing thread. Mutual exclusion for control 
10444 methods 
10445 is now implemented with a mutex instead of a semaphore.
10446
10447 Fixed three instances of the use of the C shift operator in the bitfield 
10448 support code (exfldio.c) to avoid the use of a shift value larger than 
10449 the 
10450 target data width. The behavior of C compilers is undefined in this case 
10451 and 
10452 can cause unpredictable results, and therefore the case must be detected 
10453 and 
10454 avoided. (Fiodor Suietov)
10455
10456 Added an info message whenever an SSDT or OEM table is loaded dynamically 
10457 via the Load() or LoadTable() ASL operators. This should improve 
10458 debugging 
10459 capability since it will show exactly what tables have been loaded 
10460 (beyond 
10461 the tables present in the RSDT/XSDT.)
10462
10463 Example Code and Data Size: These are the sizes for the OS-independent 
10464 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10465 debug version of the code includes the debug output trace mechanism and 
10466 has 
10467 a much larger code and data size.
10468
10469   Previous Release:
10470     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10471     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10472   Current Release:
10473     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10474     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10475
10476
10477 2) iASL Compiler/Disassembler and Tools:
10478
10479 No changes for this release.
10480
10481 ----------------------------------------
10482 08 June 2006. Summary of changes for version 20060608:
10483
10484 1) ACPI CA Core Subsystem:
10485
10486 Converted the locking mutex used for the ACPI hardware to a spinlock. 
10487 This 
10488 change should eliminate all problems caused by attempting to acquire a 
10489 semaphore at interrupt level, and it means that all ACPICA external 
10490 interfaces that directly access the ACPI hardware can be safely called 
10491 from 
10492 interrupt level. OSL code that implements the semaphore interfaces should 
10493 be 
10494 able to eliminate any workarounds for being called at interrupt level.
10495
10496 Fixed a regression introduced in 20060526 where the ACPI device 
10497 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
10498 device 
10499 did not have an optional _INI method.
10500
10501 Fixed an IndexField issue where a write to the Data Register should be 
10502 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
10503 433, 
10504 Fiodor Suietov)
10505
10506 Fixed problem reports (Valery Podrezov) integrated:
10507 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
10508
10509 Fixed problem reports (Fiodor Suietov) integrated:
10510 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
10511
10512 Removed four global mutexes that were obsolete and were no longer being 
10513 used.
10514
10515 Example Code and Data Size: These are the sizes for the OS-independent 
10516 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10517 debug version of the code includes the debug output trace mechanism and 
10518 has 
10519 a much larger code and data size.
10520
10521   Previous Release:
10522     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10523     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10524   Current Release:
10525     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10526     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10527
10528
10529 2) iASL Compiler/Disassembler and Tools:
10530
10531 Fixed a fault when using -g option (get tables from registry) on Windows 
10532 machines.
10533
10534 Fixed problem reports integrated:
10535 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
10536 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
10537 Suietov)
10538 - Global table revision override (-r) is ignored (BZ 413)
10539
10540 ----------------------------------------
10541 26 May 2006. Summary of changes for version 20060526:
10542
10543 1) ACPI CA Core Subsystem:
10544
10545 Restructured, flattened, and simplified the internal interfaces for 
10546 namespace object evaluation - resulting in smaller code, less CPU stack 
10547 use, 
10548 and fewer interfaces. (With assistance from Mikhail Kouzmich)
10549
10550 Fixed a problem with the CopyObject operator where the first parameter 
10551 was 
10552 not typed correctly for the parser, interpreter, compiler, and 
10553 disassembler. 
10554 Caused various errors and unexpected behavior.
10555
10556 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
10557 produced incorrect results with some C compilers. Since the behavior of C 
10558 compilers when the shift value is larger than the datatype width is 
10559 apparently not well defined, the interpreter now detects this condition 
10560 and 
10561 simply returns zero as expected in all such cases. (BZ 395)
10562
10563 Fixed problem reports (Valery Podrezov) integrated:
10564 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
10565 - Allow interpreter to handle nested method declarations (BZ 5361)
10566
10567 Fixed problem reports (Fiodor Suietov) integrated:
10568 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
10569 355)
10570 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
10571 356)
10572 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
10573 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
10574 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
10575 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
10576 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
10577 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
10578 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
10579 365)
10580 - Status of the Global Initialization Handler call not used (BZ 366)
10581 - Incorrect object parameter to Global Initialization Handler (BZ 367)
10582
10583 Example Code and Data Size: These are the sizes for the OS-independent 
10584 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10585 debug version of the code includes the debug output trace mechanism and 
10586 has 
10587 a much larger code and data size.
10588
10589   Previous Release:
10590     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10591     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10592   Current Release:
10593     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10594     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10595
10596
10597 2) iASL Compiler/Disassembler and Tools:
10598
10599 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
10600 namespace identifiers with no collision with existing resource descriptor 
10601 macro names. This provides compatibility with other ASL compilers and is 
10602 most useful for disassembly/recompilation of existing tables without 
10603 parse 
10604 errors. (With assistance from Thomas Renninger)
10605
10606 Disassembler: fixed an incorrect disassembly problem with the 
10607 DataTableRegion and CopyObject operators. Fixed a possible fault during 
10608 disassembly of some Alias operators.
10609
10610 ----------------------------------------
10611 12 May 2006. Summary of changes for version 20060512:
10612
10613 1) ACPI CA Core Subsystem:
10614
10615 Replaced the AcpiOsQueueForExecution interface with a new interface named 
10616 AcpiOsExecute. The major difference is that the new interface does not 
10617 have 
10618 a Priority parameter, this appeared to be useless and has been replaced 
10619 by 
10620
10621 Type parameter. The Type tells the host what type of execution is being 
10622 requested, such as global lock handler, notify handler, GPE handler, etc. 
10623 This allows the host to queue and execute the request as appropriate for 
10624 the 
10625 request type, possibly using different work queues and different 
10626 priorities 
10627 for the various request types. This enables fixes for multithreading 
10628 deadlock problems such as BZ #5534, and will require changes to all 
10629 existing 
10630 OS interface layers. (Alexey Starikovskiy and Bob Moore)
10631
10632 Fixed a possible memory leak associated with the support for the so-
10633 called 
10634 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
10635 Suietov)
10636
10637 Fixed a problem with the Load() operator where a table load from an 
10638 operation region could overwrite an internal table buffer by up to 7 
10639 bytes 
10640 and cause alignment faults on IPF systems. (With assistance from Luming 
10641 Yu)
10642
10643 Example Code and Data Size: These are the sizes for the OS-independent 
10644 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10645 debug version of the code includes the debug output trace mechanism and 
10646 has 
10647 a much larger code and data size.
10648
10649   Previous Release:
10650     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10651     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10652   Current Release:
10653     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10654     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10655
10656
10657
10658 2) iASL Compiler/Disassembler and Tools:
10659
10660 Disassembler: Implemented support to cross reference the internal 
10661 namespace 
10662 and automatically generate ASL External() statements for symbols not 
10663 defined 
10664 within the current table being disassembled. This will simplify the 
10665 disassembly and recompilation of interdependent tables such as SSDTs 
10666 since 
10667 these statements will no longer have to be added manually.
10668
10669 Disassembler: Implemented experimental support to automatically detect 
10670 invocations of external control methods and generate appropriate 
10671 External() 
10672 statements. This is problematic because the AML cannot be correctly 
10673 parsed 
10674 until the number of arguments for each control method is known. 
10675 Currently, 
10676 standalone method invocations and invocations as the source operand of a 
10677 Store() statement are supported.
10678
10679 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
10680 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
10681 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
10682 more readable and likely closer to the original ASL source.
10683
10684 ----------------------------------------
10685 21 April 2006. Summary of changes for version 20060421:
10686
10687 1) ACPI CA Core Subsystem:
10688
10689 Removed a device initialization optimization introduced in 20051216 where 
10690 the _STA method was not run unless an _INI was also present for the same 
10691 device. This optimization could cause problems because it could allow 
10692 _INI 
10693 methods to be run within a not-present device subtree. (If a not-present 
10694 device had no _INI, _STA would not be run, the not-present status would 
10695 not 
10696 be discovered, and the children of the device would be incorrectly 
10697 traversed.)
10698
10699 Implemented a new _STA optimization where namespace subtrees that do not 
10700 contain _INI are identified and ignored during device initialization. 
10701 Selectively running _STA can significantly improve boot time on large 
10702 machines (with assistance from Len Brown.)
10703
10704 Implemented support for the device initialization case where the returned 
10705 _STA flags indicate a device not-present but functioning. In this case, 
10706 _INI 
10707 is not run, but the device children are examined for presence, as per the 
10708 ACPI specification.
10709
10710 Implemented an additional change to the IndexField support in order to 
10711 conform to MS behavior. The value written to the Index Register is not 
10712 simply a byte offset, it is a byte offset in units of the access width of 
10713 the parent Index Field. (Fiodor Suietov)
10714
10715 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
10716 interface is called during the creation of all AML operation regions, and 
10717 allows the host OS to exert control over what addresses it will allow the 
10718 AML code to access. Operation Regions whose addresses are disallowed will 
10719 cause a runtime exception when they are actually accessed (will not 
10720 affect 
10721 or abort table loading.) See oswinxf or osunixxf for an example 
10722 implementation.
10723
10724 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
10725 interface allows the host OS to match the various "optional" 
10726 interface/behavior strings for the _OSI predefined control method as 
10727 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
10728 for an example implementation.
10729
10730 Restructured and corrected various problems in the exception handling 
10731 code 
10732 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
10733 (with assistance from Takayoshi Kochi.)
10734
10735 Modified the Linux source converter to ignore quoted string literals 
10736 while 
10737 converting identifiers from mixed to lower case. This will correct 
10738 problems 
10739 with the disassembler and other areas where such strings must not be 
10740 modified.
10741
10742 The ACPI_FUNCTION_* macros no longer require quotes around the function 
10743 name. This allows the Linux source converter to convert the names, now 
10744 that 
10745 the converter ignores quoted strings.
10746
10747 Example Code and Data Size: These are the sizes for the OS-independent 
10748 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10749 debug version of the code includes the debug output trace mechanism and 
10750 has 
10751 a much larger code and data size.
10752
10753   Previous Release:
10754
10755     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10756     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10757   Current Release:
10758     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10759     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10760
10761
10762 2) iASL Compiler/Disassembler and Tools:
10763
10764 Implemented 3 new warnings for iASL, and implemented multiple warning 
10765 levels 
10766 (w2 flag).
10767
10768 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
10769 not 
10770 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
10771 check for the possible timeout, a warning is issued.
10772
10773 2) Useless operators: If an ASL operator does not specify an optional 
10774 target 
10775 operand and it also does not use the function return value from the 
10776 operator, a warning is issued since the operator effectively does 
10777 nothing.
10778
10779 3) Unreferenced objects: If a namespace object is created, but never 
10780 referenced, a warning is issued. This is a warning level 2 since there 
10781 are 
10782 cases where this is ok, such as when a secondary table is loaded that 
10783 uses 
10784 the unreferenced objects. Even so, care is taken to only flag objects 
10785 that 
10786 don't look like they will ever be used. For example, the reserved methods 
10787 (starting with an underscore) are usually not referenced because it is 
10788 expected that the OS will invoke them.
10789
10790 ----------------------------------------
10791 31 March 2006. Summary of changes for version 20060331:
10792
10793 1) ACPI CA Core Subsystem:
10794
10795 Implemented header file support for the following additional ACPI tables: 
10796 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
10797 support, 
10798 all current and known ACPI tables are now defined in the ACPICA headers 
10799 and 
10800 are available for use by device drivers and other software.
10801
10802 Implemented support to allow tables that contain ACPI names with invalid 
10803 characters to be loaded. Previously, this would cause the table load to 
10804 fail, but since there are several known cases of such tables on existing 
10805 machines, this change was made to enable ACPI support for them. Also, 
10806 this 
10807 matches the behavior of the Microsoft ACPI implementation.
10808
10809 Fixed a couple regressions introduced during the memory optimization in 
10810 the 
10811 20060317 release. The namespace node definition required additional 
10812 reorganization and an internal datatype that had been changed to 8-bit 
10813 was 
10814 restored to 32-bit. (Valery Podrezov)
10815
10816 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
10817 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
10818 null pointers are now trapped and ignored, matching the behavior of the 
10819 previous implementation before the deployment of AcpiOsReleaseObject.
10820 (Valery Podrezov, Fiodor Suietov)
10821
10822 Fixed a memory mapping leak during the deletion of a SystemMemory 
10823 operation 
10824 region where a cached memory mapping was not deleted. This became a 
10825 noticeable problem for operation regions that are defined within 
10826 frequently 
10827 used control methods. (Dana Meyers)
10828
10829 Reorganized the ACPI table header files into two main files: one for the 
10830 ACPI tables consumed by the ACPICA core, and another for the 
10831 miscellaneous 
10832 ACPI tables that are consumed by the drivers and other software. The 
10833 various 
10834 FADT definitions were merged into one common section and three different 
10835 tables (ACPI 1.0, 1.0+, and 2.0)
10836
10837 Example Code and Data Size: These are the sizes for the OS-independent 
10838 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10839 debug version of the code includes the debug output trace mechanism and 
10840 has 
10841 a much larger code and data size.
10842
10843   Previous Release:
10844     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10845     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10846   Current Release:
10847     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10848     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10849
10850
10851 2) iASL Compiler/Disassembler and Tools:
10852
10853 Disassembler: Implemented support to decode and format all non-AML ACPI 
10854 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
10855 added to the ACPICA headers, therefore all current and known ACPI tables 
10856 are 
10857 supported.
10858
10859 Disassembler: The change to allow ACPI names with invalid characters also 
10860 enables the disassembly of such tables. Invalid characters within names 
10861 are 
10862 changed to '*' to make the name printable; the iASL compiler will still 
10863 generate an error for such names, however, since this is an invalid ACPI 
10864 character.
10865
10866 Implemented an option for AcpiXtract (-a) to extract all tables found in 
10867 the 
10868 input file. The default invocation extracts only the DSDTs and SSDTs.
10869
10870 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
10871 makefile for the AcpiXtract utility.
10872
10873 ----------------------------------------
10874 17 March 2006. Summary of changes for version 20060317:
10875
10876 1) ACPI CA Core Subsystem:
10877
10878 Implemented the use of a cache object for all internal namespace nodes. 
10879 Since there are about 1000 static nodes in a typical system, this will 
10880 decrease memory use for cache implementations that minimize per-
10881 allocation 
10882 overhead (such as a slab allocator.)
10883
10884 Removed the reference count mechanism for internal namespace nodes, since 
10885 it 
10886 was deemed unnecessary. This reduces the size of each namespace node by 
10887 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
10888 case, 
10889 and 32 bytes for the 64-bit case.
10890
10891 Optimized several internal data structures to reduce object size on 64-
10892 bit 
10893 platforms by packing data within the 64-bit alignment. This includes the 
10894 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
10895 instances corresponding to the namespace objects.
10896
10897 Added two new strings for the predefined _OSI method: "Windows 2001.1 
10898 SP1" 
10899 and "Windows 2006".
10900
10901 Split the allocation tracking mechanism out to a separate file, from 
10902 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
10903 application-level code. Kernels may wish to not include uttrack.c in 
10904 distributions.
10905
10906 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
10907 associated 
10908 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
10909 macros.)
10910
10911 Code and Data Size: These are the sizes for the acpica.lib produced by 
10912 the 
10913 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10914 ACPI 
10915 driver or OSPM code. The debug version of the code includes the debug 
10916 output 
10917 trace mechanism and has a much larger code and data size. Note that these 
10918 values will vary depending on the efficiency of the compiler and the 
10919 compiler options used during generation.
10920
10921   Previous Release:
10922     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10923     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10924   Current Release:
10925     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10926     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10927
10928
10929 2) iASL Compiler/Disassembler and Tools:
10930
10931 Implemented an ANSI C version of the acpixtract utility. This version 
10932 will 
10933 automatically extract the DSDT and all SSDTs from the input acpidump text 
10934 file and dump the binary output to separate files. It can also display a 
10935 summary of the input file including the headers for each table found and 
10936 will extract any single ACPI table, with any signature. (See 
10937 source/tools/acpixtract)
10938
10939 ----------------------------------------
10940 10 March 2006. Summary of changes for version 20060310:
10941
10942 1) ACPI CA Core Subsystem:
10943
10944 Tagged all external interfaces to the subsystem with the new 
10945 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
10946 assist 
10947 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
10948 macro. The default definition is NULL.
10949
10950 Added the ACPI_THREAD_ID type for the return value from 
10951 AcpiOsGetThreadId. 
10952 This allows the host to define this as necessary to simplify kernel 
10953 integration. The default definition is ACPI_NATIVE_UINT.
10954
10955 Fixed two interpreter problems related to error processing, the deletion 
10956 of 
10957 objects, and placing invalid pointers onto the internal operator result 
10958 stack. BZ 6028, 6151 (Valery Podrezov)
10959
10960 Increased the reference count threshold where a warning is emitted for 
10961 large 
10962 reference counts in order to eliminate unnecessary warnings on systems 
10963 with 
10964 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
10965 0x800.
10966
10967 Due to universal disagreement as to the meaning of the 'c' in the 
10968 calloc() 
10969 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
10970 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
10971 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
10972 ACPI_FREE.
10973
10974 Code and Data Size: These are the sizes for the acpica.lib produced by 
10975 the 
10976 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10977 ACPI 
10978 driver or OSPM code. The debug version of the code includes the debug 
10979 output 
10980 trace mechanism and has a much larger code and data size. Note that these 
10981 values will vary depending on the efficiency of the compiler and the 
10982 compiler options used during generation.
10983
10984   Previous Release:
10985     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10986     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10987   Current Release:
10988     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10989     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10990
10991
10992 2) iASL Compiler/Disassembler:
10993
10994 Disassembler: implemented support for symbolic resource descriptor 
10995 references. If a CreateXxxxField operator references a fixed offset 
10996 within 
10997
10998 resource descriptor, a name is assigned to the descriptor and the offset 
10999 is 
11000 translated to the appropriate resource tag and pathname. The addition of 
11001 this support brings the disassembled code very close to the original ASL 
11002 source code and helps eliminate run-time errors when the disassembled 
11003 code 
11004 is modified (and recompiled) in such a way as to invalidate the original 
11005 fixed offsets.
11006
11007 Implemented support for a Descriptor Name as the last parameter to the 
11008 ASL 
11009 Register() macro. This parameter was inadvertently left out of the ACPI 
11010 specification, and will be added for ACPI 3.0b.
11011
11012 Fixed a problem where the use of the "_OSI" string (versus the full path 
11013 "\_OSI") caused an internal compiler error. ("No back ptr to op")
11014
11015 Fixed a problem with the error message that occurs when an invalid string 
11016 is 
11017 used for a _HID object (such as one with an embedded asterisk: 
11018 "*PNP010A".) 
11019 The correct message is now displayed.
11020
11021 ----------------------------------------
11022 17 February 2006. Summary of changes for version 20060217:
11023
11024 1) ACPI CA Core Subsystem:
11025
11026 Implemented a change to the IndexField support to match the behavior of 
11027 the 
11028 Microsoft AML interpreter. The value written to the Index register is now 
11029
11030 byte offset, no longer an index based upon the width of the Data 
11031 register. 
11032 This should fix IndexField problems seen on some machines where the Data 
11033 register is not exactly one byte wide. The ACPI specification will be 
11034 clarified on this point.
11035
11036 Fixed a problem where several resource descriptor types could overrun the 
11037 internal descriptor buffer due to size miscalculation: VendorShort, 
11038 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
11039 affect all platforms.
11040
11041 Fixed a problem where individual resource descriptors were misaligned 
11042 within 
11043 the internal buffer, causing alignment faults on IA64 platforms.
11044
11045 Code and Data Size: These are the sizes for the acpica.lib produced by 
11046 the 
11047 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
11048 ACPI 
11049 driver or OSPM code. The debug version of the code includes the debug 
11050 output 
11051 trace mechanism and has a much larger code and data size. Note that these 
11052 values will vary depending on the efficiency of the compiler and the 
11053 compiler options used during generation.
11054
11055   Previous Release:
11056     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11057     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
11058   Current Release:
11059     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
11060     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
11061
11062
11063 2) iASL Compiler/Disassembler:
11064
11065 Implemented support for new reserved names: _WDG and _WED are Microsoft 
11066 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
11067 defined method (Throttling Depth Limit.)
11068
11069 Fixed a problem where a zero-length VendorShort or VendorLong resource 
11070 descriptor was incorrectly emitted as a descriptor of length one.
11071
11072 ----------------------------------------
11073 10 February 2006. Summary of changes for version 20060210:
11074
11075 1) ACPI CA Core Subsystem:
11076
11077 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
11078 normal execution. These became apparent after the conversion from 
11079 ACPI_DEBUG_PRINT.
11080
11081 Fixed a problem where the CreateField operator could hang if the BitIndex 
11082 or 
11083 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
11084
11085 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
11086 failed with an exception. This also fixes a couple of related RefOf and 
11087 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
11088
11089 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
11090 of 
11091 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
11092 BZ 
11093 5480)
11094
11095 Implemented a memory cleanup at the end of the execution of each 
11096 iteration 
11097 of an AML While() loop, preventing the accumulation of outstanding 
11098 objects. 
11099 (Valery Podrezov, BZ 5427)
11100
11101 Eliminated a chunk of duplicate code in the object resolution code. 
11102 (Valery 
11103 Podrezov, BZ 5336)
11104
11105 Fixed several warnings during the 64-bit code generation.
11106
11107 The AcpiSrc source code conversion tool now inserts one line of 
11108 whitespace 
11109 after an if() statement that is followed immediately by a comment, 
11110 improving 
11111 readability of the Linux code.
11112
11113 Code and Data Size: The current and previous library sizes for the core 
11114 subsystem are shown below. These are the code and data sizes for the 
11115 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11116 These 
11117 values do not include any ACPI driver or OSPM code. The debug version of 
11118 the 
11119 code includes the debug output trace mechanism and has a much larger code 
11120 and data size. Note that these values will vary depending on the 
11121 efficiency 
11122 of the compiler and the compiler options used during generation.
11123
11124   Previous Release:
11125     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
11126     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
11127   Current Release:
11128     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11129     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
11130
11131
11132 2) iASL Compiler/Disassembler:
11133
11134 Fixed a problem with the disassembly of a BankField operator with a 
11135 complex 
11136 expression for the BankValue parameter.
11137
11138 ----------------------------------------
11139 27 January 2006. Summary of changes for version 20060127:
11140
11141 1) ACPI CA Core Subsystem:
11142
11143 Implemented support in the Resource Manager to allow unresolved 
11144 namestring 
11145 references within resource package objects for the _PRT method. This 
11146 support 
11147 is in addition to the previously implemented unresolved reference support 
11148 within the AML parser. If the interpreter slack mode is enabled, these 
11149 unresolved references will be passed through to the caller as a NULL 
11150 package 
11151 entry.
11152
11153 Implemented and deployed new macros and functions for error and warning 
11154 messages across the subsystem. These macros are simpler and generate less 
11155 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
11156 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
11157 macros remain defined to allow ACPI drivers time to migrate to the new 
11158 macros.
11159
11160 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
11161 the 
11162 Acquire/Release Lock OSL interfaces.
11163
11164 Fixed a problem where Alias ASL operators are sometimes not correctly 
11165 resolved, in both the interpreter and the iASL compiler.
11166
11167 Fixed several problems with the implementation of the 
11168 ConcatenateResTemplate 
11169 ASL operator. As per the ACPI specification, zero length buffers are now 
11170 treated as a single EndTag. One-length buffers always cause a fatal 
11171 exception. Non-zero length buffers that do not end with a full 2-byte 
11172 EndTag 
11173 cause a fatal exception.
11174
11175 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
11176 interface. (With assistance from Thomas Renninger)
11177
11178 Code and Data Size: The current and previous library sizes for the core 
11179 subsystem are shown below. These are the code and data sizes for the 
11180 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11181 These 
11182 values do not include any ACPI driver or OSPM code. The debug version of 
11183 the 
11184 code includes the debug output trace mechanism and has a much larger code 
11185 and data size. Note that these values will vary depending on the 
11186 efficiency 
11187 of the compiler and the compiler options used during generation.
11188
11189   Previous Release:
11190     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11191     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11192   Current Release:
11193     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
11194     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
11195
11196
11197 2) iASL Compiler/Disassembler:
11198
11199 Fixed an internal error that was generated for any forward references to 
11200 ASL 
11201 Alias objects.
11202
11203 ----------------------------------------
11204 13 January 2006. Summary of changes for version 20060113:
11205
11206 1) ACPI CA Core Subsystem:
11207
11208 Added 2006 copyright to all module headers and signons. This affects 
11209 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
11210 utilities.
11211  
11212 Enhanced the ACPICA error reporting in order to simplify user migration 
11213 to 
11214 the non-debug version of ACPICA. Replaced all instances of the 
11215 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
11216 debug 
11217 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
11218 respectively. This preserves all error and warning messages in the non-
11219 debug 
11220 version of the ACPICA code (this has been referred to as the "debug lite" 
11221 option.) Over 200 cases were converted to create a total of over 380 
11222 error/warning messages across the ACPICA code. This increases the code 
11223 and 
11224 data size of the default non-debug version of the code somewhat (about 
11225 13K), 
11226 but all error/warning reporting may be disabled if desired (and code 
11227 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
11228 configuration option. The size of the debug version of ACPICA remains 
11229 about 
11230 the same.
11231
11232 Fixed a memory leak within the AML Debugger "Set" command. One object was 
11233 not properly deleted for every successful invocation of the command.
11234
11235 Code and Data Size: The current and previous library sizes for the core 
11236 subsystem are shown below. These are the code and data sizes for the 
11237 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11238 These 
11239 values do not include any ACPI driver or OSPM code. The debug version of 
11240 the 
11241 code includes the debug output trace mechanism and has a much larger code 
11242 and data size. Note that these values will vary depending on the 
11243 efficiency 
11244 of the compiler and the compiler options used during generation.
11245
11246   Previous Release:
11247     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11248     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11249   Current Release:
11250     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11251     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11252
11253
11254 2) iASL Compiler/Disassembler:
11255
11256 The compiler now officially supports the ACPI 3.0a specification that was 
11257 released on December 30, 2005. (Specification is available at 
11258 www.acpi.info)
11259
11260 ----------------------------------------
11261 16 December 2005. Summary of changes for version 20051216:
11262
11263 1) ACPI CA Core Subsystem:
11264
11265 Implemented optional support to allow unresolved names within ASL Package 
11266 objects. A null object is inserted in the package when a named reference 
11267 cannot be located in the current namespace. Enabled via the interpreter 
11268 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
11269 machines 
11270 that contain such code.
11271
11272 Implemented an optimization to the initialization sequence that can 
11273 improve 
11274 boot time. During ACPI device initialization, the _STA method is now run 
11275 if 
11276 and only if the _INI method exists. The _STA method is used to determine 
11277 if 
11278 the device is present; An _INI can only be run if _STA returns present, 
11279 but 
11280 it is a waste of time to run the _STA method if the _INI does not exist. 
11281 (Prototype and assistance from Dong Wei)
11282
11283 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
11284 is 
11285 available in the current compiler. Otherwise, the default (void *) cast 
11286 is 
11287 used as before.
11288
11289 Fixed some possible memory leaks found within the execution path of the 
11290 Break, Continue, If, and CreateField operators. (Valery Podrezov)
11291
11292 Fixed a problem introduced in the 20051202 release where an exception is 
11293 generated during method execution if a control method attempts to declare 
11294 another method.
11295
11296 Moved resource descriptor string constants that are used by both the AML 
11297 disassembler and AML debugger to the common utilities directory so that 
11298 these components are independent.
11299
11300 Implemented support in the AcpiExec utility (-e switch) to globally 
11301 ignore 
11302 exceptions during control method execution (method is not aborted.)
11303
11304 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
11305 generation.
11306
11307 Code and Data Size: The current and previous library sizes for the core 
11308 subsystem are shown below. These are the code and data sizes for the 
11309 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11310 These 
11311 values do not include any ACPI driver or OSPM code. The debug version of 
11312 the 
11313 code includes the debug output trace mechanism and has a much larger code 
11314 and data size. Note that these values will vary depending on the 
11315 efficiency 
11316 of the compiler and the compiler options used during generation.
11317
11318   Previous Release:
11319     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11320     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11321   Current Release:
11322     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11323     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11324
11325
11326 2) iASL Compiler/Disassembler:
11327
11328 Fixed a problem where a CPU stack overflow fault could occur if a 
11329 recursive 
11330 method call was made from within a Return statement.
11331
11332 ----------------------------------------
11333 02 December 2005. Summary of changes for version 20051202:
11334
11335 1) ACPI CA Core Subsystem:
11336
11337 Modified the parsing of control methods to no longer create namespace 
11338 objects during the first pass of the parse. Objects are now created only 
11339 during the execute phase, at the moment the namespace creation operator 
11340 is 
11341 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
11342 This 
11343 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
11344 reentrant control methods are protected by an AML mutex. The mutex will 
11345 now 
11346 correctly block multiple threads from attempting to create the same 
11347 object 
11348 more than once.
11349
11350 Increased the number of available Owner Ids for namespace object tracking 
11351 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
11352 on 
11353 some machines with a large number of ACPI tables (either static or 
11354 dynamic).
11355
11356 Fixed a problem with the AcpiExec utility where a fault could occur when 
11357 the 
11358 -b switch (batch mode) is used.
11359
11360 Enhanced the namespace dump routine to output the owner ID for each 
11361 namespace object.
11362
11363 Code and Data Size: The current and previous library sizes for the core 
11364 subsystem are shown below. These are the code and data sizes for the 
11365 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11366 These 
11367 values do not include any ACPI driver or OSPM code. The debug version of 
11368 the 
11369 code includes the debug output trace mechanism and has a much larger code 
11370 and data size. Note that these values will vary depending on the 
11371 efficiency 
11372 of the compiler and the compiler options used during generation.
11373
11374   Previous Release:
11375     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11376     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11377   Current Release:
11378     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11379     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11380
11381
11382 2) iASL Compiler/Disassembler:
11383
11384 Fixed a parse error during compilation of certain Switch/Case constructs. 
11385 To 
11386 simplify the parse, the grammar now allows for multiple Default 
11387 statements 
11388 and this error is now detected and flagged during the analysis phase.
11389
11390 Disassembler: The disassembly now includes the contents of the original 
11391 table header within a comment at the start of the file. This includes the 
11392 name and version of the original ASL compiler.
11393
11394 ----------------------------------------
11395 17 November 2005. Summary of changes for version 20051117:
11396
11397 1) ACPI CA Core Subsystem:
11398
11399 Fixed a problem in the AML parser where the method thread count could be 
11400 decremented below zero if any errors occurred during the method parse 
11401 phase. 
11402 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
11403 machines. 
11404 This also fixed a related regression with the mechanism that detects and 
11405 corrects methods that cannot properly handle reentrancy (related to the 
11406 deployment of the new OwnerId mechanism.)
11407
11408 Eliminated the pre-parsing of control methods (to detect errors) during 
11409 table load. Related to the problem above, this was causing unwind issues 
11410 if 
11411 any errors occurred during the parse, and it seemed to be overkill. A 
11412 table 
11413 load should not be aborted if there are problems with any single control 
11414 method, thus rendering this feature rather pointless.
11415
11416 Fixed a problem with the new table-driven resource manager where an 
11417 internal 
11418 buffer overflow could occur for small resource templates.
11419
11420 Implemented a new external interface, AcpiGetVendorResource. This 
11421 interface 
11422 will find and return a vendor-defined resource descriptor within a _CRS 
11423 or 
11424 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
11425 Helgaas.
11426
11427 Removed the length limit (200) on string objects as per the upcoming ACPI 
11428 3.0A specification. This affects the following areas of the interpreter: 
11429 1) 
11430 any implicit conversion of a Buffer to a String, 2) a String object 
11431 result 
11432 of the ASL Concatentate operator, 3) the String object result of the ASL 
11433 ToString operator.
11434
11435 Fixed a problem in the Windows OS interface layer (OSL) where a 
11436 WAIT_FOREVER 
11437 on a semaphore object would incorrectly timeout. This allows the 
11438 multithreading features of the AcpiExec utility to work properly under 
11439 Windows.
11440
11441 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
11442 the recently added file named "utresrc.c".
11443
11444 Code and Data Size: The current and previous library sizes for the core 
11445 subsystem are shown below. These are the code and data sizes for the 
11446 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11447 These 
11448 values do not include any ACPI driver or OSPM code. The debug version of 
11449 the 
11450 code includes the debug output trace mechanism and has a much larger code 
11451 and data size. Note that these values will vary depending on the 
11452 efficiency 
11453 of the compiler and the compiler options used during generation.
11454
11455   Previous Release:
11456     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11457     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11458   Current Release:
11459     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11460     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11461
11462
11463 2) iASL Compiler/Disassembler:
11464
11465 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
11466 specification. For the iASL compiler, this means that string literals 
11467 within 
11468 the source ASL can be of any length. 
11469
11470 Enhanced the listing output to dump the AML code for resource descriptors 
11471 immediately after the ASL code for each descriptor, instead of in a block 
11472 at 
11473 the end of the entire resource template.
11474
11475 Enhanced the compiler debug output to dump the entire original parse tree 
11476 constructed during the parse phase, before any transforms are applied to 
11477 the 
11478 tree. The transformed tree is dumped also.
11479
11480 ----------------------------------------
11481 02 November 2005. Summary of changes for version 20051102:
11482
11483 1) ACPI CA Core Subsystem:
11484
11485 Modified the subsystem initialization sequence to improve GPE support. 
11486 The 
11487 GPE initialization has been split into two parts in order to defer 
11488 execution 
11489 of the _PRW methods (Power Resources for Wake) until after the hardware 
11490 is 
11491 fully initialized and the SCI handler is installed. This allows the _PRW 
11492 methods to access fields protected by the Global Lock. This will fix 
11493 systems 
11494 where a NO_GLOBAL_LOCK exception has been seen during initialization.
11495
11496 Converted the ACPI internal object disassemble and display code within 
11497 the 
11498 AML debugger to fully table-driven operation, reducing code size and 
11499 increasing maintainability.
11500
11501 Fixed a regression with the ConcatenateResTemplate() ASL operator 
11502 introduced 
11503 in the 20051021 release.
11504
11505 Implemented support for "local" internal ACPI object types within the 
11506 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
11507 These local types include RegionFields, BankFields, IndexFields, Alias, 
11508 and 
11509 reference objects.
11510
11511 Moved common AML resource handling code into a new file, "utresrc.c". 
11512 This 
11513 code is shared by both the Resource Manager and the AML Debugger.
11514
11515 Code and Data Size: The current and previous library sizes for the core 
11516 subsystem are shown below. These are the code and data sizes for the 
11517 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11518 These 
11519 values do not include any ACPI driver or OSPM code. The debug version of 
11520 the 
11521 code includes the debug output trace mechanism and has a much larger code 
11522 and data size. Note that these values will vary depending on the 
11523 efficiency 
11524 of the compiler and the compiler options used during generation.
11525
11526   Previous Release:
11527     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11528     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11529   Current Release:
11530     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11531     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11532
11533
11534 2) iASL Compiler/Disassembler:
11535
11536 Fixed a problem with very large initializer lists (more than 4000 
11537 elements) 
11538 for both Buffer and Package objects where the parse stack could overflow.
11539
11540 Enhanced the pre-compile source code scan for non-ASCII characters to 
11541 ignore 
11542 characters within comment fields. The scan is now always performed and is 
11543 no 
11544 longer optional, detecting invalid characters within a source file 
11545 immediately rather than during the parse phase or later.
11546
11547 Enhanced the ASL grammar definition to force early reductions on all 
11548 list-
11549 style grammar elements so that the overall parse stack usage is greatly 
11550 reduced. This should improve performance and reduce the possibility of 
11551 parse 
11552 stack overflow.
11553
11554 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
11555 Also, 
11556 with the addition of a %expected statement, the compiler generates from 
11557 source with no warnings.
11558
11559 Fixed a possible segment fault in the disassembler if the input filename 
11560 does not contain a "dot" extension (Thomas Renninger).
11561
11562 ----------------------------------------
11563 21 October 2005. Summary of changes for version 20051021:
11564
11565 1) ACPI CA Core Subsystem:
11566
11567 Implemented support for the EM64T and other x86-64 processors. This 
11568 essentially entails recognizing that these processors support non-aligned 
11569 memory transfers. Previously, all 64-bit processors were assumed to lack 
11570 hardware support for non-aligned transfers.
11571
11572 Completed conversion of the Resource Manager to nearly full table-driven 
11573 operation. Specifically, the resource conversion code (convert AML to 
11574 internal format and the reverse) and the debug code to dump internal 
11575 resource descriptors are fully table-driven, reducing code and data size 
11576 and 
11577 improving maintainability.
11578
11579 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
11580 word 
11581 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
11582 from 
11583 Alexey Starikovskiy)
11584
11585 Implemented support within the resource conversion code for the Type-
11586 Specific byte within the various ACPI 3.0 *WordSpace macros.
11587
11588 Fixed some issues within the resource conversion code for the type-
11589 specific 
11590 flags for both Memory and I/O address resource descriptors. For Memory, 
11591 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
11592 TTP flags into two separate fields.
11593
11594 Code and Data Size: The current and previous library sizes for the core 
11595 subsystem are shown below. These are the code and data sizes for the 
11596 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11597 These 
11598 values do not include any ACPI driver or OSPM code. The debug version of 
11599 the 
11600 code includes the debug output trace mechanism and has a much larger code 
11601 and data size. Note that these values will vary depending on the 
11602 efficiency 
11603 of the compiler and the compiler options used during generation.
11604
11605   Previous Release:
11606     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11607     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11608   Current Release:
11609     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11610     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11611
11612
11613
11614 2) iASL Compiler/Disassembler:
11615
11616 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
11617 the 
11618 corresponding ResourceSource string was not also present in a resource 
11619 descriptor declaration. This restriction caused problems with existing 
11620 AML/ASL code that includes the Index byte without the string. When such 
11621 AML 
11622 was disassembled, it could not be compiled without modification. Further, 
11623 the modified code created a resource template with a different size than 
11624 the 
11625 original, breaking code that used fixed offsets into the resource 
11626 template 
11627 buffer.
11628
11629 Removed a recent feature of the disassembler to ignore a lone 
11630 ResourceIndex 
11631 byte. This byte is now emitted if present so that the exact AML can be 
11632 reproduced when the disassembled code is recompiled.
11633
11634 Improved comments and text alignment for the resource descriptor code 
11635 emitted by the disassembler.
11636
11637 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
11638
11639 Register() resource descriptor.
11640
11641 ----------------------------------------
11642 30 September 2005. Summary of changes for version 20050930:
11643
11644 1) ACPI CA Core Subsystem:
11645
11646 Completed a major overhaul of the Resource Manager code - specifically, 
11647 optimizations in the area of the AML/internal resource conversion code. 
11648 The 
11649 code has been optimized to simplify and eliminate duplicated code, CPU 
11650 stack 
11651 use has been decreased by optimizing function parameters and local 
11652 variables, and naming conventions across the manager have been 
11653 standardized 
11654 for clarity and ease of maintenance (this includes function, parameter, 
11655 variable, and struct/typedef names.) The update may force changes in some 
11656 driver code, depending on how resources are handled by the host OS.
11657
11658 All Resource Manager dispatch and information tables have been moved to a 
11659 single location for clarity and ease of maintenance. One new file was 
11660 created, named "rsinfo.c".
11661
11662 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
11663 guarantee that the argument is not evaluated twice, making them less 
11664 prone 
11665 to macro side-effects. However, since there exists the possibility of 
11666 additional stack use if a particular compiler cannot optimize them (such 
11667 as 
11668 in the debug generation case), the original macros are optionally 
11669 available.  
11670 Note that some invocations of the return_VALUE macro may now cause size 
11671 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
11672 to 
11673 eliminate these. (From Randy Dunlap)
11674
11675 Implemented a new mechanism to enable debug tracing for individual 
11676 control 
11677 methods. A new external interface, AcpiDebugTrace, is provided to enable 
11678 this mechanism. The intent is to allow the host OS to easily enable and 
11679 disable tracing for problematic control methods. This interface can be 
11680 easily exposed to a user or debugger interface if desired. See the file 
11681 psxface.c for details.
11682
11683 AcpiUtCallocate will now return a valid pointer if a length of zero is 
11684 specified - a length of one is used and a warning is issued. This matches 
11685 the behavior of AcpiUtAllocate.
11686
11687 Code and Data Size: The current and previous library sizes for the core 
11688 subsystem are shown below. These are the code and data sizes for the 
11689 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11690 These 
11691 values do not include any ACPI driver or OSPM code. The debug version of 
11692 the 
11693 code includes the debug output trace mechanism and has a much larger code 
11694 and data size. Note that these values will vary depending on the 
11695 efficiency 
11696 of the compiler and the compiler options used during generation.
11697
11698   Previous Release:
11699     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11700     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11701   Current Release:
11702     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11703     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11704
11705
11706 2) iASL Compiler/Disassembler:
11707
11708 A remark is issued if the effective compile-time length of a package or 
11709 buffer is zero. Previously, this was a warning.
11710
11711 ----------------------------------------
11712 16 September 2005. Summary of changes for version 20050916:
11713
11714 1) ACPI CA Core Subsystem:
11715
11716 Fixed a problem within the Resource Manager where support for the Generic 
11717 Register descriptor was not fully implemented. This descriptor is now 
11718 fully 
11719 recognized, parsed, disassembled, and displayed.
11720
11721 Completely restructured the Resource Manager code to utilize table-driven 
11722 dispatch and lookup, eliminating many of the large switch() statements. 
11723 This 
11724 reduces overall subsystem code size and code complexity. Affects the 
11725 resource parsing and construction, disassembly, and debug dump output.
11726
11727 Cleaned up and restructured the debug dump output for all resource 
11728 descriptors. Improved readability of the output and reduced code size.
11729
11730 Fixed a problem where changes to internal data structures caused the 
11731 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
11732
11733 Code and Data Size: The current and previous library sizes for the core 
11734 subsystem are shown below. These are the code and data sizes for the 
11735 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11736 These 
11737 values do not include any ACPI driver or OSPM code. The debug version of 
11738 the 
11739 code includes the debug output trace mechanism and has a much larger code 
11740 and data size. Note that these values will vary depending on the 
11741 efficiency 
11742 of the compiler and the compiler options used during generation.
11743
11744   Previous Release:
11745     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11746     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11747   Current Release:
11748     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11749     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11750
11751
11752 2) iASL Compiler/Disassembler:
11753
11754 Updated the disassembler to automatically insert an EndDependentFn() 
11755 macro 
11756 into the ASL stream if this macro is missing in the original AML code, 
11757 simplifying compilation of the resulting ASL module.
11758
11759 Fixed a problem in the disassembler where a disassembled ResourceSource 
11760 string (within a large resource descriptor) was not surrounded by quotes 
11761 and 
11762 not followed by a comma, causing errors when the resulting ASL module was 
11763 compiled. Also, escape sequences within a ResourceSource string are now 
11764 handled correctly (especially "\\")
11765
11766 ----------------------------------------
11767 02 September 2005. Summary of changes for version 20050902:
11768
11769 1) ACPI CA Core Subsystem:
11770
11771 Fixed a problem with the internal Owner ID allocation and deallocation 
11772 mechanisms for control method execution and recursive method invocation. 
11773 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
11774 messages seen on some systems. Recursive method invocation depth is 
11775 currently limited to 255. (Alexey Starikovskiy)
11776
11777 Completely eliminated all vestiges of support for the "module-level 
11778 executable code" until this support is fully implemented and debugged. 
11779 This 
11780 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
11781 some systems that invoke this support.
11782
11783 Fixed a problem within the resource manager code where the transaction 
11784 flags 
11785 for a 64-bit address descriptor were handled incorrectly in the type-
11786 specific flag byte.
11787
11788 Consolidated duplicate code within the address descriptor resource 
11789 manager 
11790 code, reducing overall subsystem code size.
11791
11792 Fixed a fault when using the AML debugger "disassemble" command to 
11793 disassemble individual control methods.
11794
11795 Removed references to the "release_current" directory within the Unix 
11796 release package.
11797
11798 Code and Data Size: The current and previous core subsystem library sizes 
11799 are shown below. These are the code and data sizes for the acpica.lib 
11800 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
11801 include any ACPI driver or OSPM code. The debug version of the code 
11802 includes 
11803 the debug output trace mechanism and has a much larger code and data 
11804 size. 
11805 Note that these values will vary depending on the efficiency of the 
11806 compiler 
11807 and the compiler options used during generation.
11808
11809   Previous Release:
11810     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11811     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11812   Current Release:
11813     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11814     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11815
11816
11817 2) iASL Compiler/Disassembler:
11818
11819 Implemented an error check for illegal duplicate values in the interrupt 
11820 and 
11821 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
11822 Interrupt().
11823
11824 Implemented error checking for the Irq() and IrqNoFlags() macros to 
11825 detect 
11826 too many values in the interrupt list (16 max) and invalid values in the 
11827 list (range 0 - 15)
11828
11829 The maximum length string literal within an ASL file is now restricted to 
11830 200 characters as per the ACPI specification.
11831
11832 Fixed a fault when using the -ln option (generate namespace listing).
11833
11834 Implemented an error check to determine if a DescriptorName within a 
11835 resource descriptor has already been used within the current scope.
11836
11837 ----------------------------------------
11838 15 August 2005.  Summary of changes for version 20050815:
11839  
11840 1) ACPI CA Core Subsystem:
11841  
11842 Implemented a full bytewise compare to determine if a table load request 
11843 is 
11844 attempting to load a duplicate table. The compare is performed if the 
11845 table 
11846 signatures and table lengths match. This will allow different tables with 
11847 the same OEM Table ID and revision to be loaded - probably against the 
11848 ACPI 
11849 specification, but discovered in the field nonetheless.
11850  
11851 Added the changes.txt logfile to each of the zipped release packages.
11852  
11853 Code and Data Size: Current and previous core subsystem library sizes are 
11854 shown below. These are the code and data sizes for the acpica.lib 
11855 produced 
11856 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11857 any ACPI driver or OSPM code. The debug version of the code includes the 
11858 debug output trace mechanism and has a much larger code and data size. 
11859 Note 
11860 that these values will vary depending on the efficiency of the compiler 
11861 and 
11862 the compiler options used during generation.
11863  
11864   Previous Release:
11865     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11866     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11867   Current Release:
11868     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11869     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11870  
11871  
11872 2) iASL Compiler/Disassembler:
11873  
11874 Fixed a problem where incorrect AML code could be generated for Package 
11875 objects if optimization is disabled (via the -oa switch).
11876  
11877 Fixed a problem with where incorrect AML code is generated for variable-
11878 length packages when the package length is not specified and the number 
11879 of 
11880 initializer values is greater than 255.
11881  
11882
11883 ----------------------------------------
11884 29 July 2005.  Summary of changes for version 20050729:
11885
11886 1) ACPI CA Core Subsystem:
11887
11888 Implemented support to ignore an attempt to install/load a particular 
11889 ACPI 
11890 table more than once. Apparently there exists BIOS code that repeatedly 
11891 attempts to load the same SSDT upon certain events. With assistance from 
11892 Venkatesh Pallipadi.
11893
11894 Restructured the main interface to the AML parser in order to correctly 
11895 handle all exceptional conditions. This will prevent leakage of the 
11896 OwnerId 
11897 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
11898 some 
11899 machines. With assistance from Alexey Starikovskiy.
11900
11901 Support for "module level code" has been disabled in this version due to 
11902
11903 number of issues that have appeared on various machines. The support can 
11904 be 
11905 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
11906 compilation. When the issues are fully resolved, the code will be enabled 
11907 by 
11908 default again.
11909
11910 Modified the internal functions for debug print support to define the 
11911 FunctionName parameter as a (const char *) for compatibility with 
11912 compiler 
11913 built-in macros such as __FUNCTION__, etc.
11914
11915 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
11916
11917 Implemented support to display an object count summary for the AML 
11918 Debugger 
11919 commands Object and Methods.
11920
11921 Code and Data Size: Current and previous core subsystem library sizes are 
11922 shown below. These are the code and data sizes for the acpica.lib 
11923 produced 
11924 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11925 any ACPI driver or OSPM code. The debug version of the code includes the 
11926 debug output trace mechanism and has a much larger code and data size. 
11927 Note 
11928 that these values will vary depending on the efficiency of the compiler 
11929 and 
11930 the compiler options used during generation.
11931
11932   Previous Release:
11933     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11934     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11935   Current Release:
11936     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11937     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11938
11939
11940 2) iASL Compiler/Disassembler:
11941
11942 Fixed a regression that appeared in the 20050708 version of the compiler 
11943 where an error message was inadvertently emitted for invocations of the 
11944 _OSI 
11945 reserved control method.
11946
11947 ----------------------------------------
11948 08 July 2005.  Summary of changes for version 20050708:
11949
11950 1) ACPI CA Core Subsystem:
11951
11952 The use of the CPU stack in the debug version of the subsystem has been 
11953 considerably reduced. Previously, a debug structure was declared in every 
11954 function that used the debug macros. This structure has been removed in 
11955 favor of declaring the individual elements as parameters to the debug 
11956 functions. This reduces the cumulative stack use during nested execution 
11957 of 
11958 ACPI function calls at the cost of a small increase in the code size of 
11959 the 
11960 debug version of the subsystem. With assistance from Alexey Starikovskiy 
11961 and 
11962 Len Brown.
11963
11964 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
11965 headers to define a macro that will return the current function name at 
11966 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
11967 by 
11968 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
11969 compiler-dependent header, the function name is saved on the CPU stack 
11970 (one 
11971 pointer per function.) This mechanism is used because apparently there 
11972 exists no standard ANSI-C defined macro that that returns the function 
11973 name.
11974
11975 Redesigned and reimplemented the "Owner ID" mechanism used to track 
11976 namespace objects created/deleted by ACPI tables and control method 
11977 execution. A bitmap is now used to allocate and free the IDs, thus 
11978 solving 
11979 the wraparound problem present in the previous implementation. The size 
11980 of 
11981 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
11982 Starikovskiy).
11983
11984 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
11985 bitfield 
11986 flag definitions within the headers for the predefined ACPI tables. These 
11987 have been replaced by UINT8_BIT in order to increase the code portability 
11988 of 
11989 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
11990 eliminate bitfields entirely because of a lack of portability.
11991
11992 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
11993 This 
11994 is a frequently used function and this improvement increases the 
11995 performance 
11996 of the entire subsystem (Alexey Starikovskiy).
11997
11998 Fixed several possible memory leaks and the inverse - premature object 
11999 deletion (Alexey Starikovskiy).
12000
12001 Code and Data Size: Current and previous core subsystem library sizes are 
12002 shown below. These are the code and data sizes for the acpica.lib 
12003 produced 
12004 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12005 any ACPI driver or OSPM code. The debug version of the code includes the 
12006 debug output trace mechanism and has a much larger code and data size. 
12007 Note 
12008 that these values will vary depending on the efficiency of the compiler 
12009 and 
12010 the compiler options used during generation.
12011
12012   Previous Release:
12013     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
12014     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
12015   Current Release:
12016     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
12017     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
12018
12019 ----------------------------------------
12020 24 June 2005.  Summary of changes for version 20050624:
12021
12022 1) ACPI CA Core Subsystem:
12023
12024 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
12025 the host-defined cache object. This allows the OSL implementation to 
12026 define 
12027 and type this object in any manner desired, simplifying the OSL 
12028 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
12029 Linux, and should be defined in the OS-specific header file for other 
12030 operating systems as required.
12031
12032 Changed the interface to AcpiOsAcquireObject to directly return the 
12033 requested object as the function return (instead of ACPI_STATUS.) This 
12034 change was made for performance reasons, since this is the purpose of the 
12035 interface in the first place. AcpiOsAcquireObject is now similar to the 
12036 AcpiOsAllocate interface.
12037
12038 Implemented a new AML debugger command named Businfo. This command 
12039 displays 
12040 information about all devices that have an associate _PRT object. The 
12041 _ADR, 
12042 _HID, _UID, and _CID are displayed for these devices.
12043
12044 Modified the initialization sequence in AcpiInitializeSubsystem to call 
12045 the 
12046 OSL interface AcpiOslInitialize first, before any local initialization. 
12047 This 
12048 change was required because the global initialization now calls OSL 
12049 interfaces.
12050
12051 Enhanced the Dump command to display the entire contents of Package 
12052 objects 
12053 (including all sub-objects and their values.) 
12054
12055 Restructured the code base to split some files because of size and/or 
12056 because the code logically belonged in a separate file. New files are 
12057 listed 
12058 below. All makefiles and project files included in the ACPI CA release 
12059 have 
12060 been updated.
12061     utilities/utcache.c           /* Local cache interfaces */
12062     utilities/utmutex.c           /* Local mutex support */
12063     utilities/utstate.c           /* State object support */
12064     interpreter/parser/psloop.c   /* Main AML parse loop */
12065
12066 Code and Data Size: Current and previous core subsystem library sizes are 
12067 shown below. These are the code and data sizes for the acpica.lib 
12068 produced 
12069 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12070 any ACPI driver or OSPM code. The debug version of the code includes the 
12071 debug output trace mechanism and has a much larger code and data size. 
12072 Note 
12073 that these values will vary depending on the efficiency of the compiler 
12074 and 
12075 the compiler options used during generation.
12076
12077   Previous Release:
12078     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
12079     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
12080   Current Release:
12081     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
12082     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
12083
12084
12085 2) iASL Compiler/Disassembler:
12086
12087 Fixed a regression introduced in version 20050513 where the use of a 
12088 Package 
12089 object within a Case() statement caused a compile time exception. The 
12090 original behavior has been restored (a Match() operator is emitted.)
12091
12092 ----------------------------------------
12093 17 June 2005.  Summary of changes for version 20050617:
12094
12095 1) ACPI CA Core Subsystem:
12096
12097 Moved the object cache operations into the OS interface layer (OSL) to 
12098 allow 
12099 the host OS to handle these operations if desired (for example, the Linux 
12100 OSL will invoke the slab allocator). This support is optional; the 
12101 compile 
12102 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
12103 cache 
12104 code in the ACPI CA core. The new OSL interfaces are shown below. See 
12105 utalloc.c for an example implementation, and acpiosxf.h for the exact 
12106 interface definitions. With assistance from Alexey Starikovskiy.
12107     AcpiOsCreateCache
12108     AcpiOsDeleteCache
12109     AcpiOsPurgeCache
12110     AcpiOsAcquireObject
12111     AcpiOsReleaseObject
12112
12113 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
12114 return 
12115 and restore a flags parameter. This fits better with many OS lock models. 
12116 Note: the current execution state (interrupt handler or not) is no longer 
12117 passed to these interfaces. If necessary, the OSL must determine this 
12118 state 
12119 by itself, a simple and fast operation. With assistance from Alexey 
12120 Starikovskiy.
12121
12122 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
12123 present if the revision of the RSDP was 2 or greater. According to the 
12124 ACPI 
12125 specification, the XSDT is optional in all cases, and the table manager 
12126 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
12127 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
12128 contain 
12129 only the RSDT.
12130
12131 Fixed an interpreter problem with the Mid() operator in the case of an 
12132 input 
12133 string where the resulting output string is of zero length. It now 
12134 correctly 
12135 returns a valid, null terminated string object instead of a string object 
12136 with a null pointer.
12137
12138 Fixed a problem with the control method argument handling to allow a 
12139 store 
12140 to an Arg object that already contains an object of type Device. The 
12141 Device 
12142 object is now correctly overwritten. Previously, an error was returned.
12143
12144
12145 Enhanced the debugger Find command to emit object values in addition to 
12146 the 
12147 found object pathnames. The output format is the same as the dump 
12148 namespace 
12149 command.
12150
12151 Enhanced the debugger Set command. It now has the ability to set the 
12152 value 
12153 of any Named integer object in the namespace (Previously, only method 
12154 locals 
12155 and args could be set.)
12156
12157 Code and Data Size: Current and previous core subsystem library sizes are 
12158 shown below. These are the code and data sizes for the acpica.lib 
12159 produced 
12160 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12161 any ACPI driver or OSPM code. The debug version of the code includes the 
12162 debug output trace mechanism and has a much larger code and data size. 
12163 Note 
12164 that these values will vary depending on the efficiency of the compiler 
12165 and 
12166 the compiler options used during generation.
12167
12168   Previous Release:
12169     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12170     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12171   Current Release:
12172     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
12173     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
12174
12175
12176 2) iASL Compiler/Disassembler:
12177
12178 Fixed a regression in the disassembler where if/else/while constructs 
12179 were 
12180 output incorrectly. This problem was introduced in the previous release 
12181 (20050526). This problem also affected the single-step disassembly in the 
12182 debugger.
12183
12184 Fixed a problem where compiling the reserved _OSI method would randomly 
12185 (but 
12186 rarely) produce compile errors.
12187
12188 Enhanced the disassembler to emit compilable code in the face of 
12189 incorrect 
12190 AML resource descriptors. If the optional ResourceSourceIndex is present, 
12191 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
12192 disassembly. Otherwise, the resulting code cannot be compiled without 
12193 errors.
12194
12195 ----------------------------------------
12196 26 May 2005.  Summary of changes for version 20050526:
12197
12198 1) ACPI CA Core Subsystem:
12199
12200 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
12201 the module level (not within a control method.) These opcodes are 
12202 executed 
12203 exactly once at the time the table is loaded. This type of code was legal 
12204 up 
12205 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
12206 in 
12207 order to provide backwards compatibility with earlier BIOS 
12208 implementations. 
12209 This eliminates the "Encountered executable code at module level" warning 
12210 that was previously generated upon detection of such code.
12211
12212 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
12213 inadvertently be generated during the lookup of namespace objects in the 
12214 second pass parse of ACPI tables and control methods. It appears that 
12215 this 
12216 problem could occur during the resolution of forward references to 
12217 namespace 
12218 objects.
12219
12220 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
12221 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
12222 allows the deadlock detection debug code to be compiled out in the normal 
12223 case, improving mutex performance (and overall subsystem performance) 
12224 considerably.
12225
12226 Implemented a handful of miscellaneous fixes for possible memory leaks on 
12227 error conditions and error handling control paths. These fixes were 
12228 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
12229
12230 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
12231 (tbxfroot.c) 
12232 to prevent a fault in this error case.
12233
12234 Code and Data Size: Current and previous core subsystem library sizes are 
12235 shown below. These are the code and data sizes for the acpica.lib 
12236 produced 
12237 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12238 any ACPI driver or OSPM code. The debug version of the code includes the 
12239 debug output trace mechanism and has a much larger code and data size. 
12240 Note 
12241 that these values will vary depending on the efficiency of the compiler 
12242 and 
12243 the compiler options used during generation.
12244
12245   Previous Release:
12246     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12247     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12248   Current Release:
12249     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12250     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12251
12252
12253 2) iASL Compiler/Disassembler:
12254
12255 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
12256 the module level (not within a control method.) These operators will be 
12257 executed once at the time the table is loaded. This type of code was 
12258 legal 
12259 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
12260 compiler in order to provide backwards compatibility with earlier BIOS 
12261 ASL 
12262 code.
12263
12264 The ACPI integer width (specified via the table revision ID or the -r 
12265 override, 32 or 64 bits) is now used internally during compile-time 
12266 constant 
12267 folding to ensure that constants are truncated to 32 bits if necessary. 
12268 Previously, the revision ID value was only emitted in the AML table 
12269 header.
12270
12271 An error message is now generated for the Mutex and Method operators if 
12272 the 
12273 SyncLevel parameter is outside the legal range of 0 through 15.
12274
12275 Fixed a problem with the Method operator ParameterTypes list handling 
12276 (ACPI 
12277 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
12278 error.  
12279 The actual underlying implementation of method argument typechecking is 
12280 still under development, however.
12281
12282 ----------------------------------------
12283 13 May 2005.  Summary of changes for version 20050513:
12284
12285 1) ACPI CA Core Subsystem:
12286
12287 Implemented support for PCI Express root bridges -- added support for 
12288 device 
12289 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
12290
12291 The interpreter now automatically truncates incoming 64-bit constants to 
12292 32 
12293 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
12294 This 
12295 also affects the iASL compiler constant folding. (Note: as per below, the 
12296 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
12297
12298 Fixed a problem where string and buffer objects with "static" pointers 
12299 (pointers to initialization data within an ACPI table) were not handled 
12300 consistently. The internal object copy operation now always copies the 
12301 data 
12302 to a newly allocated buffer, regardless of whether the source object is 
12303 static or not.
12304
12305 Fixed a problem with the FromBCD operator where an implicit result 
12306 conversion was improperly performed while storing the result to the 
12307 target 
12308 operand. Since this is an "explicit conversion" operator, the implicit 
12309 conversion should never be performed on the output.
12310
12311 Fixed a problem with the CopyObject operator where a copy to an existing 
12312 named object did not always completely overwrite the existing object 
12313 stored 
12314 at name. Specifically, a buffer-to-buffer copy did not delete the 
12315 existing 
12316 buffer.
12317
12318 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
12319 and 
12320 structs for consistency.
12321
12322 Code and Data Size: Current and previous core subsystem library sizes are 
12323 shown below. These are the code and data sizes for the acpica.lib 
12324 produced 
12325 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12326 any ACPI driver or OSPM code. The debug version of the code includes the 
12327 debug output trace mechanism and has a much larger code and data size. 
12328 Note 
12329 that these values will vary depending on the efficiency of the compiler 
12330 and 
12331 the compiler options used during generation.
12332
12333   Previous Release:
12334     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12335     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12336   Current Release: (Same sizes)
12337     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12338     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12339
12340
12341 2) iASL Compiler/Disassembler:
12342
12343 The compiler now emits a warning if an attempt is made to generate a 64-
12344 bit 
12345 integer constant from within a 32-bit ACPI table (Revision < 2). The 
12346 integer 
12347 is truncated to 32 bits.
12348
12349 Fixed a problem with large package objects: if the static length of the 
12350 package is greater than 255, the "variable length package" opcode is 
12351 emitted. Previously, this caused an error. This requires an update to the 
12352 ACPI spec, since it currently (incorrectly) states that packages larger 
12353 than 
12354 255 elements are not allowed.
12355
12356 The disassembler now correctly handles variable length packages and 
12357 packages 
12358 larger than 255 elements.
12359
12360 ----------------------------------------
12361 08 April 2005.  Summary of changes for version 20050408:
12362
12363 1) ACPI CA Core Subsystem:
12364
12365 Fixed three cases in the interpreter where an "index" argument to an ASL 
12366 function was still (internally) 32 bits instead of the required 64 bits. 
12367 This was the Index argument to the Index, Mid, and Match operators.
12368
12369 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
12370 is 
12371 not a POSIX-defined function and not present in most kernel-level C 
12372 libraries. All references to the C library strupr function have been 
12373 removed 
12374 from the headers.
12375
12376 Completed the deployment of static functions/prototypes. All prototypes 
12377 with 
12378 the static attribute have been moved from the headers to the owning C 
12379 file.
12380
12381 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
12382 utility). This option allows the utility to extract individual ACPI 
12383 tables 
12384 from the output of AcpiDmp. It provides the same functionality of the 
12385 acpixtract.pl perl script without the worry of setting the correct perl 
12386 options. AcpiBin runs on Windows and has not yet been generated/validated 
12387 in 
12388 the Linux/Unix environment (but should be soon).
12389  
12390 Updated and fixed the table dump option for AcpiBin (-d). This option 
12391 converts a single ACPI table to a hex/ascii file, similar to the output 
12392 of 
12393 AcpiDmp.
12394
12395 Code and Data Size: Current and previous core subsystem library sizes are 
12396 shown below. These are the code and data sizes for the acpica.lib 
12397 produced 
12398 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12399 any ACPI driver or OSPM code. The debug version of the code includes the 
12400 debug output trace mechanism and has a much larger code and data size. 
12401 Note 
12402 that these values will vary depending on the efficiency of the compiler 
12403 and 
12404 the compiler options used during generation.
12405
12406   Previous Release:
12407     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12408     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12409   Current Release:
12410     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12411     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12412
12413
12414 2) iASL Compiler/Disassembler:
12415
12416 Disassembler fix: Added a check to ensure that the table length found in 
12417 the 
12418 ACPI table header within the input file is not longer than the actual 
12419 input 
12420 file size. This indicates some kind of file or table corruption.
12421
12422 ----------------------------------------
12423 29 March 2005.  Summary of changes for version 20050329:
12424
12425 1) ACPI CA Core Subsystem:
12426
12427 An error is now generated if an attempt is made to create a Buffer Field 
12428 of 
12429 length zero (A CreateField with a length operand of zero.)
12430
12431 The interpreter now issues a warning whenever executable code at the 
12432 module 
12433 level is detected during ACPI table load. This will give some idea of the 
12434 prevalence of this type of code.
12435
12436 Implemented support for references to named objects (other than control 
12437 methods) within package objects.
12438
12439 Enhanced package object output for the debug object. Package objects are 
12440 now 
12441 completely dumped, showing all elements.
12442
12443 Enhanced miscellaneous object output for the debug object. Any object can 
12444 now be written to the debug object (for example, a device object can be 
12445 written, and the type of the object will be displayed.)
12446
12447 The "static" qualifier has been added to all local functions across both 
12448 the 
12449 core subsystem and the iASL compiler.
12450
12451 The number of "long" lines (> 80 chars) within the source has been 
12452 significantly reduced, by about 1/3.
12453
12454 Cleaned up all header files to ensure that all CA/iASL functions are 
12455 prototyped (even static functions) and the formatting is consistent.
12456
12457 Two new header files have been added, acopcode.h and acnames.h.
12458
12459 Removed several obsolete functions that were no longer used.
12460
12461 Code and Data Size: Current and previous core subsystem library sizes are 
12462 shown below. These are the code and data sizes for the acpica.lib 
12463 produced 
12464 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12465 any ACPI driver or OSPM code. The debug version of the code includes the 
12466 debug output trace mechanism and has a much larger code and data size. 
12467 Note 
12468 that these values will vary depending on the efficiency of the compiler 
12469 and 
12470 the compiler options used during generation.
12471
12472   Previous Release:
12473     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12474     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12475   Current Release:
12476     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12477     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12478
12479
12480
12481 2) iASL Compiler/Disassembler:
12482
12483 Fixed a problem with the resource descriptor generation/support. For the 
12484 ResourceSourceIndex and the ResourceSource fields, both must be present, 
12485 or 
12486 both must be not present - can't have one without the other.
12487
12488 The compiler now returns non-zero from the main procedure if any errors 
12489 have 
12490 occurred during the compilation.
12491
12492
12493 ----------------------------------------
12494 09 March 2005.  Summary of changes for version 20050309:
12495
12496 1) ACPI CA Core Subsystem:
12497
12498 The string-to-buffer implicit conversion code has been modified again 
12499 after 
12500 a change to the ACPI specification.  In order to match the behavior of 
12501 the 
12502 other major ACPI implementation, the target buffer is no longer truncated 
12503 if 
12504 the source string is smaller than an existing target buffer. This change 
12505 requires an update to the ACPI spec, and should eliminate the recent 
12506 AE_AML_BUFFER_LIMIT issues.
12507
12508 The "implicit return" support was rewritten to a new algorithm that 
12509 solves 
12510 the general case. Rather than attempt to determine when a method is about 
12511 to 
12512 exit, the result of every ASL operator is saved momentarily until the 
12513 very 
12514 next ASL operator is executed. Therefore, no matter how the method exits, 
12515 there will always be a saved implicit return value. This feature is only 
12516 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
12517 eliminate 
12518 AE_AML_NO_RETURN_VALUE errors when enabled.
12519
12520 Implemented implicit conversion support for the predicate (operand) of 
12521 the 
12522 If, Else, and While operators. String and Buffer arguments are 
12523 automatically 
12524 converted to Integers.
12525
12526 Changed the string-to-integer conversion behavior to match the new ACPI 
12527 errata: "If no integer object exists, a new integer is created. The ASCII 
12528 string is interpreted as a hexadecimal constant. Each string character is 
12529 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
12530 with the first character as the most significant digit, and ending with 
12531 the 
12532 first non-hexadecimal character or end-of-string." This means that the 
12533 first 
12534 non-hex character terminates the conversion and this is the code that was 
12535 changed.
12536
12537 Fixed a problem where the ObjectType operator would fail (fault) when 
12538 used 
12539 on an Index of a Package which pointed to a null package element. The 
12540 operator now properly returns zero (Uninitialized) in this case.
12541
12542 Fixed a problem where the While operator used excessive memory by not 
12543 properly popping the result stack during execution. There was no memory 
12544 leak 
12545 after execution, however. (Code provided by Valery Podrezov.)
12546
12547 Fixed a problem where references to control methods within Package 
12548 objects 
12549 caused the method to be invoked, instead of producing a reference object 
12550 pointing to the method.
12551
12552 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
12553 to 
12554 improve performance and reduce code size. (Code provided by Alexey 
12555 Starikovskiy.)
12556
12557 Code and Data Size: Current and previous core subsystem library sizes are 
12558 shown below. These are the code and data sizes for the acpica.lib 
12559 produced 
12560 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12561 any ACPI driver or OSPM code. The debug version of the code includes the 
12562 debug output trace mechanism and has a much larger code and data size. 
12563 Note 
12564 that these values will vary depending on the efficiency of the compiler 
12565 and 
12566 the compiler options used during generation.
12567
12568   Previous Release:
12569     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12570     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12571   Current Release:
12572     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12573     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12574
12575
12576 2) iASL Compiler/Disassembler:
12577
12578 Fixed a problem with the Return operator with no arguments. Since the AML 
12579 grammar for the byte encoding requires an operand for the Return opcode, 
12580 the 
12581 compiler now emits a Return(Zero) for this case.  An ACPI specification 
12582 update has been written for this case.
12583
12584 For tables other than the DSDT, namepath optimization is automatically 
12585 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
12586 the 
12587 compiler has no knowledge of where, and thus cannot optimize namepaths.
12588
12589 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
12590 inadvertently omitted from the ACPI specification, and will require an 
12591 update to the spec.
12592
12593 The source file scan for ASCII characters is now optional (-a). This 
12594 change 
12595 was made because some vendors place non-ascii characters within comments. 
12596 However, the scan is simply a brute-force byte compare to ensure all 
12597 characters in the file are in the range 0x00 to 0x7F.
12598
12599 Fixed a problem with the CondRefOf operator where the compiler was 
12600 inappropriately checking for the existence of the target. Since the point 
12601 of 
12602 the operator is to check for the existence of the target at run-time, the 
12603 compiler no longer checks for the target existence.
12604
12605 Fixed a problem where errors generated from the internal AML interpreter 
12606 during constant folding were not handled properly, causing a fault.
12607
12608 Fixed a problem with overly aggressive range checking for the Stall 
12609 operator. The valid range (max 255) is now only checked if the operand is 
12610 of 
12611 type Integer. All other operand types cannot be statically checked.
12612
12613 Fixed a problem where control method references within the RefOf, 
12614 DeRefOf, 
12615 and ObjectType operators were not treated properly. They are now treated 
12616 as 
12617 actual references, not method invocations.
12618
12619 Fixed and enhanced the "list namespace" option (-ln). This option was 
12620 broken 
12621 a number of releases ago.
12622
12623 Improved error handling for the Field, IndexField, and BankField 
12624 operators. 
12625 The compiler now cleanly reports and recovers from errors in the field 
12626 component (FieldUnit) list.
12627
12628 Fixed a disassembler problem where the optional ResourceDescriptor fields 
12629 TRS and TTP were not always handled correctly.
12630
12631 Disassembler - Comments in output now use "//" instead of "/*"
12632
12633 ----------------------------------------
12634 28 February 2005.  Summary of changes for version 20050228:
12635
12636 1) ACPI CA Core Subsystem:
12637
12638 Fixed a problem where the result of an Index() operator (an object 
12639 reference) must increment the reference count on the target object for 
12640 the 
12641 life of the object reference.
12642
12643 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
12644 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
12645 WordSpace 
12646 resource descriptors.
12647
12648 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
12649 Space Descriptor" string, indicating interpreter support for the 
12650 descriptors 
12651 above.
12652
12653 Implemented header support for the new ACPI 3.0 FADT flag bits.
12654
12655 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
12656 PM1 
12657 status/enable registers.
12658
12659 Updated header support for the MADT processor local Apic struct and MADT 
12660 platform interrupt source struct for new ACPI 3.0 fields.
12661
12662 Implemented header support for the SRAT and SLIT ACPI tables.
12663
12664 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
12665 flag 
12666 at runtime.
12667
12668 Code and Data Size: Current and previous core subsystem library sizes are 
12669 shown below. These are the code and data sizes for the acpica.lib 
12670 produced 
12671 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12672 any ACPI driver or OSPM code. The debug version of the code includes the 
12673 debug output trace mechanism and has a much larger code and data size. 
12674 Note 
12675 that these values will vary depending on the efficiency of the compiler 
12676 and 
12677 the compiler options used during generation.
12678
12679   Previous Release:
12680     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12681     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12682   Current Release:
12683     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12684     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12685
12686
12687 2) iASL Compiler/Disassembler:
12688
12689 Fixed a problem with the internal 64-bit String-to-integer conversion 
12690 with 
12691 strings less than two characters long.
12692
12693 Fixed a problem with constant folding where the result of the Index() 
12694 operator can not be considered a constant. This means that Index() cannot 
12695 be 
12696 a type3 opcode and this will require an update to the ACPI specification.
12697
12698 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
12699 descriptor fields. These fields were inadvertently ignored and not output 
12700 in 
12701 the disassembly of the resource descriptor.
12702
12703
12704  ----------------------------------------
12705 11 February 2005.  Summary of changes for version 20050211:
12706
12707 1) ACPI CA Core Subsystem:
12708
12709 Implemented ACPI 3.0 support for implicit conversion within the Match() 
12710 operator. MatchObjects can now be of type integer, buffer, or string 
12711 instead 
12712 of just type integer.  Package elements are implicitly converted to the 
12713 type 
12714 of the MatchObject. This change aligns the behavior of Match() with the 
12715 behavior of the other logical operators (LLess(), etc.) It also requires 
12716 an 
12717 errata change to the ACPI specification as this support was intended for 
12718 ACPI 3.0, but was inadvertently omitted.
12719
12720 Fixed a problem with the internal implicit "to buffer" conversion. 
12721 Strings 
12722 that are converted to buffers will cause buffer truncation if the string 
12723 is 
12724 smaller than the target buffer. Integers that are converted to buffers 
12725 will 
12726 not cause buffer truncation, only zero extension (both as per the ACPI 
12727 spec.) The problem was introduced when code was added to truncate the 
12728 buffer, but this should not be performed in all cases, only the string 
12729 case.
12730
12731 Fixed a problem with the Buffer and Package operators where the 
12732 interpreter 
12733 would get confused if two such operators were used as operands to an ASL 
12734 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
12735 stack was not being popped after the execution of these operators, 
12736 resulting 
12737 in an AE_NO_RETURN_VALUE exception.
12738
12739 Fixed a problem with constructs of the form Store(Index(...),...). The 
12740 reference object returned from Index was inadvertently resolved to an 
12741 actual 
12742 value. This problem was introduced in version 20050114 when the behavior 
12743 of 
12744 Store() was modified to restrict the object types that can be used as the 
12745 source operand (to match the ACPI specification.)
12746
12747 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
12748
12749 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
12750
12751 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
12752
12753 Code and Data Size: Current and previous core subsystem library sizes are 
12754 shown below. These are the code and data sizes for the acpica.lib 
12755 produced 
12756 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12757 any ACPI driver or OSPM code. The debug version of the code includes the 
12758 debug output trace mechanism and has a much larger code and data size. 
12759 Note 
12760 that these values will vary depending on the efficiency of the compiler 
12761 and 
12762 the compiler options used during generation.
12763
12764   Previous Release:
12765     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
12766     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
12767   Current Release:
12768     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12769     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12770
12771
12772 2) iASL Compiler/Disassembler:
12773
12774 Fixed a code generation problem in the constant folding optimization code 
12775 where incorrect code was generated if a constant was reduced to a buffer 
12776 object (i.e., a reduced type 5 opcode.)
12777
12778 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
12779 incorrect return type in the internal opcode information table.
12780
12781 ----------------------------------------
12782 25 January 2005.  Summary of changes for version 20050125:
12783
12784 1) ACPI CA Core Subsystem:
12785
12786 Fixed a recently introduced problem with the Global Lock where the 
12787 underlying semaphore was not created.  This problem was introduced in 
12788 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
12789 Acquire() operation on _GL.
12790
12791 The local object cache is now optional, and is disabled by default. Both 
12792 AcpiExec and the iASL compiler enable the cache because they run in user 
12793 mode and this enhances their performance. #define 
12794 ACPI_ENABLE_OBJECT_CACHE 
12795 to enable the local cache.
12796
12797 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
12798 the 
12799 optional "implicit return" support where an error was returned if no 
12800 return 
12801 object was expected, but one was implicitly returned. AE_OK is now 
12802 returned 
12803 in this case and the implicitly returned object is deleted. 
12804 AcpiUtEvaluateObject is only occasionally used, and only to execute 
12805 reserved 
12806 methods such as _STA and _INI where the return type is known up front.
12807
12808 Fixed a few issues with the internal convert-to-integer code. It now 
12809 returns 
12810 an error if an attempt is made to convert a null string, a string of only 
12811 blanks/tabs, or a zero-length buffer. This affects both implicit 
12812 conversion 
12813 and explicit conversion via the ToInteger() operator.
12814
12815 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
12816 is 
12817 not needed for normal operation and should increase the performance of 
12818 the 
12819 entire subsystem. The code remains in case it is needed for debug 
12820 purposes 
12821 again.
12822
12823 The AcpiExec source and makefile are included in the Unix/Linux package 
12824 for 
12825 the first time.
12826
12827 Code and Data Size: Current and previous core subsystem library sizes are 
12828 shown below. These are the code and data sizes for the acpica.lib 
12829 produced 
12830 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12831 any ACPI driver or OSPM code. The debug version of the code includes the 
12832 debug output trace mechanism and has a much larger code and data size. 
12833 Note 
12834 that these values will vary depending on the efficiency of the compiler 
12835 and 
12836 the compiler options used during generation.
12837
12838   Previous Release:
12839     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12840     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12841   Current Release:
12842     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
12843     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
12844
12845 2) iASL Compiler/Disassembler:
12846
12847 Switch/Case support: A warning is now issued if the type of the Switch 
12848 value 
12849 cannot be determined at compile time. For example, Switch(Arg0) will 
12850 generate the warning, and the type is assumed to be an integer. As per 
12851 the 
12852 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
12853 the 
12854 warning.
12855
12856 Switch/Case support: Implemented support for buffer and string objects as 
12857 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
12858 buffers and strings.
12859
12860 Switch/Case support: The emitted code for the LEqual() comparisons now 
12861 uses 
12862 the switch value as the first operand, not the second. The case value is 
12863 now 
12864 the second operand, and this allows the case value to be implicitly 
12865 converted to the type of the switch value, not the other way around.
12866
12867 Switch/Case support: Temporary variables are now emitted immediately 
12868 within 
12869 the control method, not at the global level. This means that there are 
12870 now 
12871 36 temps available per-method, not 36 temps per-module as was the case 
12872 with 
12873 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
12874
12875 ----------------------------------------
12876 14 January 2005.  Summary of changes for version 20050114:
12877
12878 Added 2005 copyright to all module headers.  This affects every module in 
12879 the core subsystem, iASL compiler, and the utilities.
12880
12881 1) ACPI CA Core Subsystem:
12882
12883 Fixed an issue with the String-to-Buffer conversion code where the string 
12884 null terminator was not included in the buffer after conversion, but 
12885 there 
12886 is existing ASL that assumes the string null terminator is included. This 
12887 is 
12888 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
12889 introduced in the previous version when the code was updated to correctly 
12890 set the converted buffer size as per the ACPI specification. The ACPI 
12891 spec 
12892 is ambiguous and will be updated to specify that the null terminator must 
12893 be 
12894 included in the converted buffer. This also affects the ToBuffer() ASL 
12895 operator.
12896
12897 Fixed a problem with the Mid() ASL/AML operator where it did not work 
12898 correctly on Buffer objects. Newly created sub-buffers were not being 
12899 marked 
12900 as initialized.
12901
12902
12903 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
12904 performed on the OemId and OemTableId table header fields.  These fields 
12905 are 
12906 not null terminated, so strncmp is now used instead of strcmp.
12907
12908 Implemented a restriction on the Store() ASL/AML operator to align the 
12909 behavior with the ACPI specification.  Previously, any object could be 
12910 used 
12911 as the source operand.  Now, the only objects that may be used are 
12912 Integers, 
12913 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
12914 necessary, the original behavior can be restored by enabling the 
12915 EnableInterpreterSlack flag.
12916
12917 Enhanced the optional "implicit return" support to allow an implicit 
12918 return 
12919 value from methods that are invoked externally via the AcpiEvaluateObject 
12920 interface.  This enables implicit returns from the _STA and _INI methods, 
12921 for example.
12922
12923 Changed the Revision() ASL/AML operator to return the current version of 
12924 the 
12925 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
12926 returned 
12927 the supported ACPI version (This is the function of the _REV method).
12928
12929 Updated the _REV predefined method to return the currently supported 
12930 version 
12931 of ACPI, now 3.
12932
12933 Implemented batch mode option for the AcpiExec utility (-b).
12934
12935 Code and Data Size: Current and previous core subsystem library sizes are 
12936 shown below. These are the code and data sizes for the acpica.lib 
12937 produced 
12938 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12939 any ACPI driver or OSPM code. The debug version of the code includes the 
12940 debug output trace mechanism and has a much larger code and data size. 
12941 Note 
12942 that these values will vary depending on the efficiency of the compiler 
12943 and 
12944 the compiler options used during generation.
12945
12946   Previous Release:
12947     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12948     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12949   Current Release:
12950     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12951     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12952
12953 ----------------------------------------
12954 10 December 2004.  Summary of changes for version 20041210:
12955
12956 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
12957 ACPI CA core subsystem.
12958
12959 1) ACPI CA Core Subsystem:
12960
12961 Fixed a problem in the ToDecimalString operator where the resulting 
12962 string 
12963 length was incorrectly calculated. The length is now calculated exactly, 
12964 eliminating incorrect AE_STRING_LIMIT exceptions.
12965
12966 Fixed a problem in the ToHexString operator to allow a maximum 200 
12967 character 
12968 string to be produced.
12969
12970 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
12971 copy 
12972 routine where the length of the resulting buffer was not truncated to the 
12973 new size (if the target buffer already existed).
12974
12975 Code and Data Size: Current and previous core subsystem library sizes are 
12976 shown below. These are the code and data sizes for the acpica.lib 
12977 produced 
12978 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12979 any ACPI driver or OSPM code. The debug version of the code includes the 
12980 debug output trace mechanism and has a much larger code and data size. 
12981 Note 
12982 that these values will vary depending on the efficiency of the compiler 
12983 and 
12984 the compiler options used during generation.
12985
12986   Previous Release:
12987     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12988     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12989   Current Release:
12990     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12991     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12992
12993
12994 2) iASL Compiler/Disassembler:
12995
12996 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
12997 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
12998 Includes support in the disassembler.
12999
13000 Implemented support for the new (ACPI 3.0) parameter to the Register 
13001 macro, 
13002 AccessSize.
13003
13004 Fixed a problem where the _HE resource name for the Interrupt macro was 
13005 referencing bit 0 instead of bit 1.
13006
13007 Implemented check for maximum 255 interrupts in the Interrupt macro.
13008
13009 Fixed a problem with the predefined resource descriptor names where 
13010 incorrect AML code was generated if the offset within the resource buffer 
13011 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
13012 but did not update the surrounding package lengths.
13013
13014 Changes to the Dma macro:  All channels within the channel list must be 
13015 in 
13016 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
13017 optional (default is BusMaster).
13018
13019 Implemented check for maximum 7 data bytes for the VendorShort macro.
13020
13021 The ReadWrite parameter is now optional for the Memory32 and similar 
13022 macros.
13023
13024 ----------------------------------------
13025 03 December 2004.  Summary of changes for version 20041203:
13026
13027 1) ACPI CA Core Subsystem:
13028
13029 The low-level field insertion/extraction code (exfldio) has been 
13030 completely 
13031 rewritten to eliminate unnecessary complexity, bugs, and boundary 
13032 conditions.
13033
13034 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
13035 ToDecimalString 
13036 operators where the input operand could be inadvertently deleted if no 
13037 conversion was necessary (e.g., if the input to ToInteger was an Integer 
13038 object.)
13039
13040 Fixed a problem with the ToDecimalString and ToHexString where an 
13041 incorrect 
13042 exception code was returned if the resulting string would be > 200 chars.  
13043 AE_STRING_LIMIT is now returned.
13044
13045 Fixed a problem with the Concatenate operator where AE_OK was always 
13046 returned, even if the operation failed.
13047
13048 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
13049 semaphores to be allocated.
13050
13051 Code and Data Size: Current and previous core subsystem library sizes are 
13052 shown below. These are the code and data sizes for the acpica.lib 
13053 produced 
13054 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13055 any ACPI driver or OSPM code. The debug version of the code includes the 
13056 debug output trace mechanism and has a much larger code and data size. 
13057 Note 
13058 that these values will vary depending on the efficiency of the compiler 
13059 and 
13060 the compiler options used during generation.
13061
13062   Previous Release:
13063     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13064     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13065   Current Release:
13066     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
13067     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
13068
13069
13070 2) iASL Compiler/Disassembler:
13071
13072 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
13073 recently introduced in 20041119.
13074
13075 Fixed a problem with the ToUUID macro where the upper nybble of each 
13076 buffer 
13077 byte was inadvertently set to zero.
13078
13079 ----------------------------------------
13080 19 November 2004.  Summary of changes for version 20041119:
13081
13082 1) ACPI CA Core Subsystem:
13083
13084 Fixed a problem in the internal ConvertToInteger routine where new 
13085 integers 
13086 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
13087 converts 
13088 buffers and strings to integers.
13089
13090 Implemented support to store a value to an Index() on a String object. 
13091 This 
13092 is an ACPI 2.0 feature that had not yet been implemented.
13093
13094 Implemented new behavior for storing objects to individual package 
13095 elements 
13096 (via the Index() operator). The previous behavior was to invoke the 
13097 implicit 
13098 conversion rules if an object was already present at the index.  The new 
13099 behavior is to simply delete any existing object and directly store the 
13100 new 
13101 object. Although the ACPI specification seems unclear on this subject, 
13102 other 
13103 ACPI implementations behave in this manner.  (This is the root of the 
13104 AE_BAD_HEX_CONSTANT issue.)
13105
13106 Modified the RSDP memory scan mechanism to support the extended checksum 
13107 for 
13108 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
13109 RSDP signature is found with a valid checksum.
13110
13111 Code and Data Size: Current and previous core subsystem library sizes are 
13112 shown below. These are the code and data sizes for the acpica.lib 
13113 produced 
13114 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13115 any ACPI driver or OSPM code. The debug version of the code includes the 
13116 debug output trace mechanism and has a much larger code and data size. 
13117 Note 
13118 that these values will vary depending on the efficiency of the compiler 
13119 and 
13120 the compiler options used during generation.
13121
13122   Previous Release:
13123     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13124     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13125   Current Release:
13126     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13127     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13128
13129
13130 2) iASL Compiler/Disassembler:
13131
13132 Fixed a missing semicolon in the aslcompiler.y file.
13133
13134 ----------------------------------------
13135 05 November 2004.  Summary of changes for version 20041105:
13136
13137 1) ACPI CA Core Subsystem:
13138
13139 Implemented support for FADT revision 2.  This was an interim table 
13140 (between 
13141 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
13142
13143 Implemented optional support to allow uninitialized LocalX and ArgX 
13144 variables in a control method.  The variables are initialized to an 
13145 Integer 
13146 object with a value of zero.  This support is enabled by setting the 
13147 AcpiGbl_EnableInterpreterSlack flag to TRUE.
13148
13149 Implemented support for Integer objects for the SizeOf operator.  Either 
13150
13151 or 8 is returned, depending on the current integer size (32-bit or 64-
13152 bit, 
13153 depending on the parent table revision).
13154
13155 Fixed a problem in the implementation of the SizeOf and ObjectType 
13156 operators 
13157 where the operand was resolved to a value too early, causing incorrect 
13158 return values for some objects.
13159
13160 Fixed some possible memory leaks during exceptional conditions.
13161
13162 Code and Data Size: Current and previous core subsystem library sizes are 
13163 shown below. These are the code and data sizes for the acpica.lib 
13164 produced 
13165 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13166 any ACPI driver or OSPM code. The debug version of the code includes the 
13167 debug output trace mechanism and has a much larger code and data size. 
13168 Note 
13169 that these values will vary depending on the efficiency of the compiler 
13170 and 
13171 the compiler options used during generation.
13172
13173   Previous Release:
13174     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13175     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13176   Current Release:
13177     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13178     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13179
13180
13181 2) iASL Compiler/Disassembler:
13182
13183 Implemented support for all ACPI 3.0 reserved names and methods.
13184
13185 Implemented all ACPI 3.0 grammar elements in the front-end, including 
13186 support for semicolons.
13187
13188 Implemented the ACPI 3.0 Function() and ToUUID() macros
13189
13190 Fixed a problem in the disassembler where a Scope() operator would not be 
13191 emitted properly if the target of the scope was in another table.
13192
13193 ----------------------------------------
13194 15 October 2004.  Summary of changes for version 20041015:
13195
13196 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
13197 evaluation to test/verify the following areas. Other suggestions are 
13198 welcome. This will result in an increase in the frequency of releases and 
13199 the number of bug fixes in the next few months.
13200   - Functional tests for all ASL/AML operators
13201   - All implicit/explicit type conversions
13202   - Bit fields and operation regions
13203   - 64-bit math support and 32-bit-only "truncated" math support
13204   - Exceptional conditions, both compiler and interpreter
13205   - Dynamic object deletion and memory leaks
13206   - ACPI 3.0 support when implemented
13207   - External interfaces to the ACPI subsystem
13208
13209
13210 1) ACPI CA Core Subsystem:
13211
13212 Fixed two alignment issues on 64-bit platforms - within debug statements 
13213 in 
13214 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
13215 Address 
13216 field within the non-aligned ACPI generic address structure.
13217
13218 Fixed a problem in the Increment and Decrement operators where incorrect 
13219 operand resolution could result in the inadvertent modification of the 
13220 original integer when the integer is passed into another method as an 
13221 argument and the arg is then incremented/decremented.
13222
13223 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
13224 bit 
13225 BCD number were truncated during conversion.
13226
13227 Fixed a problem in the ToDecimal operator where the length of the 
13228 resulting 
13229 string could be set incorrectly too long if the input operand was a 
13230 Buffer 
13231 object.
13232
13233 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
13234 (0) 
13235 within a buffer would prematurely terminate a compare between buffer 
13236 objects.
13237
13238 Added a check for string overflow (>200 characters as per the ACPI 
13239 specification) during the Concatenate operator with two string operands.
13240
13241 Code and Data Size: Current and previous core subsystem library sizes are 
13242 shown below. These are the code and data sizes for the acpica.lib 
13243 produced 
13244 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13245 any ACPI driver or OSPM code. The debug version of the code includes the 
13246 debug output trace mechanism and has a much larger code and data size. 
13247 Note 
13248 that these values will vary depending on the efficiency of the compiler 
13249 and 
13250 the compiler options used during generation.
13251
13252   Previous Release:
13253     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13254     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13255   Current Release:
13256     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13257     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13258
13259
13260
13261 2) iASL Compiler/Disassembler:
13262
13263 Allow the use of the ObjectType operator on uninitialized Locals and Args 
13264 (returns 0 as per the ACPI specification).
13265
13266 Fixed a problem where the compiler would fault if there was a syntax 
13267 error 
13268 in the FieldName of all of the various CreateXXXField operators.
13269
13270 Disallow the use of lower case letters within the EISAID macro, as per 
13271 the 
13272 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
13273 Where 
13274 U is an uppercase letter and N is a hex digit.
13275
13276
13277 ----------------------------------------
13278 06 October 2004.  Summary of changes for version 20041006:
13279
13280 1) ACPI CA Core Subsystem:
13281
13282 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
13283 implements a 64-bit timer with 100 nanosecond granularity.
13284
13285 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
13286 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
13287 implement 
13288 the timer with the best clock available. Also, it keeps the core 
13289 subsystem 
13290 out of the clock handling business, since the host OS (usually) performs 
13291 this function.
13292
13293 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
13294 functions use a 64-bit address which is part of the packed ACPI Generic 
13295 Address Structure. Since the structure is non-aligned, the alignment 
13296 macros 
13297 are now used to extract the address to a local variable before use.
13298
13299 Fixed a problem where the ToInteger operator assumed all input strings 
13300 were 
13301 hexadecimal. The operator now handles both decimal strings and hex 
13302 strings 
13303 (prefixed with "0x").
13304
13305 Fixed a problem where the string length in the string object created as a 
13306 result of the internal ConvertToString procedure could be incorrect. This 
13307 potentially affected all implicit conversions and also the 
13308 ToDecimalString 
13309 and ToHexString operators.
13310
13311 Fixed two problems in the ToString operator. If the length parameter was 
13312 zero, an incorrect string object was created and the value of the input 
13313 length parameter was inadvertently changed from zero to Ones.
13314
13315 Fixed a problem where the optional ResourceSource string in the 
13316 ExtendedIRQ 
13317 resource macro was ignored.
13318
13319 Simplified the interfaces to the internal division functions, reducing 
13320 code 
13321 size and complexity.
13322
13323 Code and Data Size: Current and previous core subsystem library sizes are 
13324 shown below. These are the code and data sizes for the acpica.lib 
13325 produced 
13326 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13327 any ACPI driver or OSPM code. The debug version of the code includes the 
13328 debug output trace mechanism and has a much larger code and data size. 
13329 Note 
13330 that these values will vary depending on the efficiency of the compiler 
13331 and 
13332 the compiler options used during generation.
13333
13334   Previous Release:
13335     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13336     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13337   Current Release:
13338     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13339     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13340
13341
13342 2) iASL Compiler/Disassembler:
13343
13344 Implemented support for the ACPI 3.0 Timer operator.
13345
13346 Fixed a problem where the Default() operator was inadvertently ignored in 
13347
13348 Switch/Case block.  This was a problem in the translation of the Switch 
13349 statement to If...Else pairs.
13350
13351 Added support to allow a standalone Return operator, with no parentheses 
13352 (or 
13353 operands).
13354
13355 Fixed a problem with code generation for the ElseIf operator where the 
13356 translated Else...If parse tree was improperly constructed leading to the 
13357 loss of some code.
13358
13359 ----------------------------------------
13360 22 September 2004.  Summary of changes for version 20040922:
13361
13362 1) ACPI CA Core Subsystem:
13363
13364 Fixed a problem with the implementation of the LNot() operator where 
13365 "Ones" 
13366 was not returned for the TRUE case. Changed the code to return Ones 
13367 instead 
13368 of (!Arg) which was usually 1. This change affects iASL constant folding 
13369 for 
13370 this operator also.
13371
13372 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
13373 not 
13374 initialized properly -- Now zero the entire buffer in this case where the 
13375 buffer already exists.
13376
13377 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
13378 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
13379 related code considerably. This will require changes/updates to all OS 
13380 interface layers (OSLs.)
13381
13382 Implemented a new external interface, AcpiInstallExceptionHandler, to 
13383 allow 
13384 a system exception handler to be installed. This handler is invoked upon 
13385 any 
13386 run-time exception that occurs during control method execution.
13387
13388 Added support for the DSDT in AcpiTbFindTable. This allows the 
13389 DataTableRegion() operator to access the local copy of the DSDT.
13390
13391 Code and Data Size: Current and previous core subsystem library sizes are 
13392 shown below. These are the code and data sizes for the acpica.lib 
13393 produced 
13394 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13395 any ACPI driver or OSPM code. The debug version of the code includes the 
13396 debug output trace mechanism and has a much larger code and data size. 
13397 Note 
13398 that these values will vary depending on the efficiency of the compiler 
13399 and 
13400 the compiler options used during generation.
13401
13402   Previous Release:
13403     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13404     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13405   Current Release:
13406     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13407     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13408
13409
13410 2) iASL Compiler/Disassembler:
13411
13412 Fixed a problem with constant folding and the LNot operator. LNot was 
13413 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
13414 This 
13415 could result in the generation of an incorrect folded/reduced constant.
13416
13417 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
13418 longer occurs if such a comment is at the very end of the input ASL 
13419 source 
13420 file.
13421
13422 Implemented the "-r" option to override the Revision in the table header. 
13423 The initial use of this option will be to simplify the evaluation of the 
13424 AML 
13425 interpreter by allowing a single ASL source module to be compiled for 
13426 either 
13427 32-bit or 64-bit integers.
13428
13429
13430 ----------------------------------------
13431 27 August 2004.  Summary of changes for version 20040827:
13432
13433 1) ACPI CA Core Subsystem:
13434
13435 - Implemented support for implicit object conversion in the non-numeric 
13436 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
13437 and 
13438 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
13439 the second operand is implicitly converted on the fly to match the type 
13440 of 
13441 the first operand.  For example:
13442
13443     LEqual (Source1, Source2)
13444
13445 Source1 and Source2 must each evaluate to an integer, a string, or a 
13446 buffer. 
13447 The data type of Source1 dictates the required type of Source2. Source2 
13448 is 
13449 implicitly converted if necessary to match the type of Source1.
13450
13451 - Updated and corrected the behavior of the string conversion support.  
13452 The 
13453 rules concerning conversion of buffers to strings (according to the ACPI 
13454 specification) are as follows:
13455
13456 ToDecimalString - explicit byte-wise conversion of buffer to string of 
13457 decimal values (0-255) separated by commas. ToHexString - explicit byte-
13458 wise 
13459 conversion of buffer to string of hex values (0-FF) separated by commas. 
13460 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
13461 byte 
13462 copy with no transform except NULL terminated. Any other implicit buffer-
13463 to-
13464 string conversion - byte-wise conversion of buffer to string of hex 
13465 values 
13466 (0-FF) separated by spaces.
13467
13468 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
13469
13470 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
13471 was 
13472 one byte too short in the case of a node in the root scope.  This could 
13473 cause a fault during debug output.
13474
13475 - Code and Data Size: Current and previous core subsystem library sizes 
13476 are 
13477 shown below.  These are the code and data sizes for the acpica.lib 
13478 produced 
13479 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13480 any ACPI driver or OSPM code.  The debug version of the code includes the 
13481 debug output trace mechanism and has a much larger code and data size.  
13482 Note 
13483 that these values will vary depending on the efficiency of the compiler 
13484 and 
13485 the compiler options used during generation.
13486
13487   Previous Release:
13488     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13489     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13490   Current Release:
13491     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13492     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13493
13494
13495 2) iASL Compiler/Disassembler:
13496
13497 - Fixed a Linux generation error.
13498
13499
13500 ----------------------------------------
13501 16 August 2004.  Summary of changes for version 20040816:
13502
13503 1) ACPI CA Core Subsystem:
13504
13505 Designed and implemented support within the AML interpreter for the so-
13506 called "implicit return".  This support returns the result of the last 
13507 ASL 
13508 operation within a control method, in the absence of an explicit Return() 
13509 operator.  A few machines depend on this behavior, even though it is not 
13510 explicitly supported by the ASL language.  It is optional support that 
13511 can 
13512 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
13513
13514 Removed support for the PCI_Config address space from the internal low 
13515 level 
13516 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
13517 support was not used internally, and would not work correctly anyway 
13518 because 
13519 the PCI bus number and segment number were not supported.  There are 
13520 separate interfaces for PCI configuration space access because of the 
13521 unique 
13522 interface.
13523
13524 Code and Data Size: Current and previous core subsystem library sizes are 
13525 shown below.  These are the code and data sizes for the acpica.lib 
13526 produced 
13527 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13528 any ACPI driver or OSPM code.  The debug version of the code includes the 
13529 debug output trace mechanism and has a much larger code and data size.  
13530 Note 
13531 that these values will vary depending on the efficiency of the compiler 
13532 and 
13533 the compiler options used during generation.
13534
13535   Previous Release:
13536     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13537     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13538   Current Release:
13539     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13540     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13541
13542
13543 2) iASL Compiler/Disassembler:
13544
13545 Fixed a problem where constants in ASL expressions at the root level (not 
13546 within a control method) could be inadvertently truncated during code 
13547 generation.  This problem was introduced in the 20040715 release.
13548
13549
13550 ----------------------------------------
13551 15 July 2004.  Summary of changes for version 20040715:
13552
13553 1) ACPI CA Core Subsystem:
13554
13555 Restructured the internal HW GPE interfaces to pass/track the current 
13556 state 
13557 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
13558 increase flexibility of the interfaces.
13559
13560 Implemented a "lexicographical compare" for String and Buffer objects 
13561 within 
13562 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
13563
13564 as per further clarification to the ACPI specification.  Behavior is 
13565 similar 
13566 to C library "strcmp".
13567
13568 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
13569 external function.  In the 32-bit non-debug case, the stack use has been 
13570 reduced from 168 bytes to 32 bytes.
13571
13572 Deployed a new run-time configuration flag, 
13573 AcpiGbl_EnableInterpreterSlack, 
13574 whose purpose is to allow the AML interpreter to forgive certain bad AML 
13575 constructs.  Default setting is FALSE.
13576
13577 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
13578 IO 
13579 support code.  If enabled, it allows field access to go beyond the end of 
13580
13581 region definition if the field is within the region length rounded up to 
13582 the 
13583 next access width boundary (a common coding error.)
13584
13585 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
13586 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
13587 these 
13588 symbols are lowercased by the latest version of the AcpiSrc tool.
13589
13590 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
13591 rename "Register" to simply "Reg" to prevent certain compilers from 
13592 complaining.
13593
13594 Code and Data Size: Current and previous core subsystem library sizes are 
13595 shown below.  These are the code and data sizes for the acpica.lib 
13596 produced 
13597 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13598 any ACPI driver or OSPM code.  The debug version of the code includes the 
13599 debug output trace mechanism and has a much larger code and data size.  
13600 Note 
13601 that these values will vary depending on the efficiency of the compiler 
13602 and 
13603 the compiler options used during generation.
13604
13605   Previous Release:
13606     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13607     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13608   Current Release:
13609     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13610     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13611
13612
13613 2) iASL Compiler/Disassembler:
13614
13615 Implemented full support for Package objects within the Case() operator.  
13616 Note: The Break() operator is currently not supported within Case blocks 
13617 (TermLists) as there is some question about backward compatibility with 
13618 ACPI 
13619 1.0 interpreters.
13620
13621
13622 Fixed a problem where complex terms were not supported properly within 
13623 the 
13624 Switch() operator.
13625
13626 Eliminated extraneous warning for compiler-emitted reserved names of the 
13627 form "_T_x".  (Used in Switch/Case operators.)
13628
13629 Eliminated optimization messages for "_T_x" objects and small constants 
13630 within the DefinitionBlock operator.
13631
13632
13633 ----------------------------------------
13634 15 June 2004.  Summary of changes for version 20040615:
13635
13636 1) ACPI CA Core Subsystem:
13637
13638 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13639 the 
13640 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13641 LLessEqual.
13642
13643 All directory names in the entire source package are lower case, as they 
13644 were in earlier releases.
13645
13646 Implemented "Disassemble" command in the AML debugger that will 
13647 disassemble 
13648 a single control method.
13649
13650 Code and Data Size: Current and previous core subsystem library sizes are 
13651 shown below.  These are the code and data sizes for the acpica.lib 
13652 produced 
13653 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13654 any ACPI driver or OSPM code.  The debug version of the code includes the 
13655 debug output trace mechanism and has a much larger code and data size.  
13656 Note 
13657 that these values will vary depending on the efficiency of the compiler 
13658 and 
13659 the compiler options used during generation.
13660
13661   Previous Release:
13662     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13663     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13664
13665   Current Release:
13666     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13667     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13668
13669
13670 2) iASL Compiler/Disassembler:
13671
13672 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13673 the 
13674 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13675 LLessEqual.
13676
13677 All directory names in the entire source package are lower case, as they 
13678 were in earlier releases.
13679
13680 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
13681 not found.
13682
13683 Fixed an issue with the Windows version of the compiler where later 
13684 versions 
13685 of Windows place the FADT in the registry under the name "FADT" and not 
13686 "FACP" as earlier versions did.  This applies when using the -g or -
13687 d<nofilename> options.  The compiler now looks for both strings as 
13688 necessary.
13689
13690 Fixed a problem with compiler namepath optimization where a namepath 
13691 within 
13692 the Scope() operator could not be optimized if the namepath was a subpath 
13693 of 
13694 the current scope path.
13695
13696 ----------------------------------------
13697 27 May 2004.  Summary of changes for version 20040527:
13698
13699 1) ACPI CA Core Subsystem:
13700
13701 Completed a new design and implementation for EBDA (Extended BIOS Data 
13702 Area) 
13703 support in the RSDP scan code.  The original code improperly scanned for 
13704 the 
13705 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
13706 method 
13707 is to first obtain the EBDA pointer from within the BIOS data area, then 
13708 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
13709 if 
13710 any machines that place the RSDP in the EBDA, however.
13711
13712 Integrated a fix for a possible fault during evaluation of BufferField 
13713 arguments.  Obsolete code that was causing the problem was removed.
13714
13715 Found and fixed a problem in the Field Support Code where data could be 
13716 corrupted on a bit field read that starts on an aligned boundary but does 
13717 not end on an aligned boundary.  Merged the read/write "datum length" 
13718 calculation code into a common procedure.
13719
13720 Rolled in a couple of changes to the FreeBSD-specific header.
13721
13722
13723 Code and Data Size: Current and previous core subsystem library sizes are 
13724 shown below.  These are the code and data sizes for the acpica.lib 
13725 produced 
13726 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13727 any ACPI driver or OSPM code.  The debug version of the code includes the 
13728 debug output trace mechanism and has a much larger code and data size.  
13729 Note 
13730 that these values will vary depending on the efficiency of the compiler 
13731 and 
13732 the compiler options used during generation.
13733
13734   Previous Release:
13735     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13736     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13737   Current Release:
13738     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13739     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13740
13741
13742 2) iASL Compiler/Disassembler:
13743
13744 Fixed a generation warning produced by some overly-verbose compilers for 
13745
13746 64-bit constant.
13747
13748 ----------------------------------------
13749 14 May 2004.  Summary of changes for version 20040514:
13750
13751 1) ACPI CA Core Subsystem:
13752
13753 Fixed a problem where hardware GPE enable bits sometimes not set properly 
13754 during and after GPE method execution.  Result of 04/27 changes.
13755
13756 Removed extra "clear all GPEs" when sleeping/waking.
13757
13758 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
13759 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
13760 to 
13761 the new AcpiEv* calls as appropriate.
13762
13763 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
13764 is 
13765 now "Microsoft Windows NT" for maximum compatibility.  However this can 
13766 be 
13767 changed by modifying the acconfig.h file.
13768
13769 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
13770 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
13771
13772 Run _INI methods on ThermalZone objects.  This is against the ACPI 
13773 specification, but there is apparently ASL code in the field that has 
13774 these 
13775 _INI methods, and apparently "other" AML interpreters execute them.
13776
13777 Performed a full 16/32/64 bit lint that resulted in some small changes.
13778
13779 Added a sleep simulation command to the AML debugger to test sleep code. 
13780
13781 Code and Data Size: Current and previous core subsystem library sizes are 
13782 shown below.  These are the code and data sizes for the acpica.lib 
13783 produced 
13784 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13785 any ACPI driver or OSPM code.  The debug version of the code includes the 
13786 debug output trace mechanism and has a much larger code and data size.  
13787 Note 
13788 that these values will vary depending on the efficiency of the compiler 
13789 and 
13790 the compiler options used during generation.
13791
13792   Previous Release:
13793     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13794     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13795   Current Release:
13796     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13797     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13798
13799 ----------------------------------------
13800 27 April 2004.  Summary of changes for version 20040427:
13801
13802 1) ACPI CA Core Subsystem:
13803
13804 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
13805 now three types of GPEs:  wake-only, runtime-only, and combination 
13806 wake/run.  
13807 The only GPEs allowed to be combination wake/run are for button-style 
13808 devices such as a control-method power button, control-method sleep 
13809 button, 
13810 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
13811 not 
13812 referenced by any _PRW methods are marked for "runtime" and hardware 
13813 enabled.  Any GPE that is referenced by a _PRW method is marked for 
13814 "wake" 
13815 (and disabled at runtime).  However, at sleep time, only those GPEs that 
13816 have been specifically enabled for wake via the AcpiEnableGpe interface 
13817 will 
13818 actually be hardware enabled.
13819
13820 A new external interface has been added, AcpiSetGpeType(), that is meant 
13821 to 
13822 be used by device drivers to force a GPE to a particular type.  It will 
13823 be 
13824 especially useful for the drivers for the button devices mentioned above.
13825
13826 Completed restructuring of the ACPI CA initialization sequence so that 
13827 default operation region handlers are installed before GPEs are 
13828 initialized 
13829 and the _PRW methods are executed.  This will prevent errors when the 
13830 _PRW 
13831 methods attempt to access system memory or I/O space.
13832
13833 GPE enable/disable no longer reads the GPE enable register.  We now keep 
13834 the 
13835 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
13836 thus no longer depend on the hardware to maintain these bits.
13837
13838 Always clear the wake status and fixed/GPE status bits before sleep, even 
13839 for state S5.
13840
13841 Improved the AML debugger output for displaying the GPE blocks and their 
13842 current status.
13843
13844 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
13845 where 
13846 x = 0,1,2,3,4.
13847
13848 Fixed a problem where the physical address was incorrectly calculated 
13849 when 
13850 the Load() operator was used to directly load from an Operation Region 
13851 (vs. 
13852 loading from a Field object.)  Also added check for minimum table length 
13853 for 
13854 this case.
13855
13856 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
13857 mutex release.
13858
13859 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
13860 consistency with the other fields returned.
13861
13862 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
13863 structure for each GPE in the system, so the size of this structure is 
13864 important.
13865
13866 CPU stack requirement reduction:  Cleaned up the method execution and 
13867 object 
13868 evaluation paths so that now a parameter structure is passed, instead of 
13869 copying the various method parameters over and over again.
13870
13871 In evregion.c:  Correctly exit and reenter the interpreter region if and 
13872 only if dispatching an operation region request to a user-installed 
13873 handler.  
13874 Do not exit/reenter when dispatching to a default handler (e.g., default 
13875 system memory or I/O handlers)
13876
13877
13878 Notes for updating drivers for the new GPE support.  The following 
13879 changes 
13880 must be made to ACPI-related device drivers that are attached to one or 
13881 more 
13882 GPEs: (This information will be added to the ACPI CA Programmer 
13883 Reference.)
13884
13885 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
13886 must 
13887 explicitly call AcpiEnableGpe.
13888 2) There is a new interface called AcpiSetGpeType. This should be called 
13889 before enabling the GPE.  Also, this interface will automatically disable 
13890 the GPE if it is currently enabled.
13891 3) AcpiEnableGpe no longer supports a GPE type flag.
13892
13893 Specific drivers that must be changed:
13894 1) EC driver:
13895     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
13896 AeGpeHandler, NULL);
13897     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
13898     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
13899
13900 2) Button Drivers (Power, Lid, Sleep):
13901 Run _PRW method under parent device
13902 If _PRW exists: /* This is a control-method button */
13903     Extract GPE number and possibly GpeDevice
13904     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
13905     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
13906
13907 For all other devices that have _PRWs, we automatically set the GPE type 
13908 to 
13909 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
13910 This 
13911 must be done on a selective basis, usually requiring some kind of user 
13912 app 
13913 to allow the user to pick the wake devices.
13914
13915
13916 Code and Data Size: Current and previous core subsystem library sizes are 
13917 shown below.  These are the code and data sizes for the acpica.lib 
13918 produced 
13919 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13920 any ACPI driver or OSPM code.  The debug version of the code includes the 
13921 debug output trace mechanism and has a much larger code and data size.  
13922 Note 
13923 that these values will vary depending on the efficiency of the compiler 
13924 and 
13925 the compiler options used during generation.
13926
13927   Previous Release:
13928     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13929     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13930   Current Release:
13931
13932     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13933     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13934
13935
13936
13937 ----------------------------------------
13938 02 April 2004.  Summary of changes for version 20040402:
13939
13940 1) ACPI CA Core Subsystem:
13941
13942 Fixed an interpreter problem where an indirect store through an ArgX 
13943 parameter was incorrectly applying the "implicit conversion rules" during 
13944 the store.  From the ACPI specification: "If the target is a method local 
13945 or 
13946 argument (LocalX or ArgX), no conversion is performed and the result is 
13947 stored directly to the target".  The new behavior is to disable implicit 
13948 conversion during ALL stores to an ArgX.
13949
13950 Changed the behavior of the _PRW method scan to ignore any and all errors 
13951 returned by a given _PRW.  This prevents the scan from aborting from the 
13952 failure of any single _PRW.
13953
13954 Moved the runtime configuration parameters from the global init procedure 
13955 to 
13956 static variables in acglobal.h.  This will allow the host to override the 
13957 default values easily.
13958
13959 Code and Data Size: Current and previous core subsystem library sizes are 
13960 shown below.  These are the code and data sizes for the acpica.lib 
13961 produced 
13962 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13963 any ACPI driver or OSPM code.  The debug version of the code includes the 
13964 debug output trace mechanism and has a much larger code and data size.  
13965 Note 
13966 that these values will vary depending on the efficiency of the compiler 
13967 and 
13968 the compiler options used during generation.
13969
13970   Previous Release:
13971     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13972     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13973   Current Release:
13974     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13975     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13976
13977
13978 2) iASL Compiler/Disassembler:
13979
13980 iASL now fully disassembles SSDTs.  However, External() statements are 
13981 not 
13982 generated automatically for unresolved symbols at this time.  This is a 
13983 planned feature for future implementation.
13984
13985 Fixed a scoping problem in the disassembler that occurs when the type of 
13986 the 
13987 target of a Scope() operator is overridden.  This problem caused an 
13988 incorrectly nested internal namespace to be constructed.
13989
13990 Any warnings or errors that are emitted during disassembly are now 
13991 commented 
13992 out automatically so that the resulting file can be recompiled without 
13993 any 
13994 hand editing.
13995
13996 ----------------------------------------
13997 26 March 2004.  Summary of changes for version 20040326:
13998
13999 1) ACPI CA Core Subsystem:
14000
14001 Implemented support for "wake" GPEs via interaction between GPEs and the 
14002 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
14003 identified as a WAKE GPE and by default will no longer be enabled at 
14004 runtime.  Previously, we were blindly enabling all GPEs with a 
14005 corresponding 
14006 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
14007 We 
14008 believe this has been the cause of thousands of "spurious" GPEs on some 
14009 systems.
14010
14011 This new GPE behavior is can be reverted to the original behavior (enable 
14012 ALL GPEs at runtime) via a runtime flag.
14013
14014 Fixed a problem where aliased control methods could not access objects 
14015 properly.  The proper scope within the namespace was not initialized 
14016 (transferred to the target of the aliased method) before executing the 
14017 target method.
14018
14019 Fixed a potential race condition on internal object deletion on the 
14020 return 
14021 object in AcpiEvaluateObject. 
14022
14023 Integrated a fix for resource descriptors where both _MEM and _MTP were 
14024 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
14025 wide, 0x0F instead of 0x03.)
14026
14027 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
14028 preventing 
14029
14030 fault in some cases.
14031
14032 Updated Notify() values for debug statements in evmisc.c
14033
14034 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
14035
14036 Code and Data Size: Current and previous core subsystem library sizes are 
14037 shown below.  These are the code and data sizes for the acpica.lib 
14038 produced 
14039 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
14040 any ACPI driver or OSPM code.  The debug version of the code includes the 
14041 debug output trace mechanism and has a much larger code and data size.  
14042 Note 
14043 that these values will vary depending on the efficiency of the compiler 
14044 and 
14045 the compiler options used during generation.
14046
14047   Previous Release:
14048
14049     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
14050     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
14051   Current Release:
14052     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
14053     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
14054
14055 ----------------------------------------
14056 11 March 2004.  Summary of changes for version 20040311:
14057
14058 1) ACPI CA Core Subsystem:
14059
14060 Fixed a problem where errors occurring during the parse phase of control 
14061 method execution did not abort cleanly.  For example, objects created and 
14062 installed in the namespace were not deleted.  This caused all subsequent 
14063 invocations of the method to return the AE_ALREADY_EXISTS exception.
14064
14065 Implemented a mechanism to force a control method to "Serialized" 
14066 execution 
14067 if the method attempts to create namespace objects. (The root of the 
14068 AE_ALREADY_EXISTS problem.)
14069
14070 Implemented support for the predefined _OSI "internal" control method.  
14071 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
14072 and 
14073 "Windows 2001.1", and can be easily upgraded for new strings as 
14074 necessary.  
14075 This feature will allow "other" operating systems to execute the fully 
14076 tested, "Windows" code path through the ASL code
14077
14078 Global Lock Support:  Now allows multiple acquires and releases with any 
14079 internal thread.  Removed concept of "owning thread" for this special 
14080 mutex.
14081
14082 Fixed two functions that were inappropriately declaring large objects on 
14083 the 
14084 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
14085 during 
14086 method execution considerably.
14087
14088 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
14089 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
14090
14091 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
14092 defined on the machine.
14093
14094 Implemented two runtime options:  One to force all control method 
14095 execution 
14096 to "Serialized" to mimic Windows behavior, another to disable _OSI 
14097 support 
14098 if it causes problems on a given machine.
14099
14100 Code and Data Size: Current and previous core subsystem library sizes are 
14101 shown below.  These are the code and data sizes for the acpica.lib 
14102 produced 
14103 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
14104 any ACPI driver or OSPM code.  The debug version of the code includes the 
14105 debug output trace mechanism and has a much larger code and data size.  
14106 Note 
14107 that these values will vary depending on the efficiency of the compiler 
14108 and 
14109 the compiler options used during generation.
14110
14111   Previous Release:
14112     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
14113     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
14114   Current Release:
14115     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
14116     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
14117
14118 2) iASL Compiler/Disassembler:
14119
14120 Fixed an array size problem for FreeBSD that would cause the compiler to 
14121 fault.
14122
14123 ----------------------------------------
14124 20 February 2004.  Summary of changes for version 20040220:
14125
14126
14127 1) ACPI CA Core Subsystem:
14128
14129 Implemented execution of _SxD methods for Device objects in the 
14130 GetObjectInfo interface.
14131
14132 Fixed calls to _SST method to pass the correct arguments.
14133
14134 Added a call to _SST on wake to restore to "working" state.
14135
14136 Check for End-Of-Buffer failure case in the WalkResources interface.
14137
14138 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
14139 structures to the beginning of the file.
14140
14141 After wake, clear GPE status register(s) before enabling GPEs.
14142
14143 After wake, clear/enable power button.  (Perhaps we should clear/enable 
14144 all 
14145 fixed events upon wake.)
14146
14147 Fixed a couple of possible memory leaks in the Namespace manager.
14148
14149 Integrated latest acnetbsd.h file.
14150
14151 ----------------------------------------
14152 11 February 2004.  Summary of changes for version 20040211:
14153
14154
14155 1) ACPI CA Core Subsystem:
14156
14157 Completed investigation and implementation of the call-by-reference 
14158 mechanism for control method arguments.
14159
14160 Fixed a problem where a store of an object into an indexed package could 
14161 fail if the store occurs within a different method than the method that 
14162 created the package.
14163
14164 Fixed a problem where the ToDecimal operator could return incorrect 
14165 results.
14166
14167 Fixed a problem where the CopyObject operator could fail on some of the 
14168 more 
14169 obscure objects (e.g., Reference objects.)
14170
14171 Improved the output of the Debug object to display buffer, package, and 
14172 index objects.
14173
14174 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
14175 return 
14176 the expected result.
14177
14178 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
14179 ACPI_AML_INTERNAL exception.
14180
14181 Integrated latest version of acfreebsd.h
14182
14183 ----------------------------------------
14184 16 January 2004.  Summary of changes for version 20040116:
14185
14186 The purpose of this release is primarily to update the copyright years in 
14187 each module, thus causing a huge number of diffs.  There are a few small 
14188 functional changes, however.
14189
14190 1) ACPI CA Core Subsystem:
14191
14192 Improved error messages when there is a problem finding one or more of 
14193 the 
14194 required base ACPI tables
14195
14196 Reintroduced the definition of APIC_HEADER in actbl.h
14197
14198 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
14199
14200 Removed extraneous reference to NewObj in dsmthdat.c
14201
14202 2) iASL compiler
14203
14204 Fixed a problem introduced in December that disabled the correct 
14205 disassembly 
14206 of Resource Templates
14207
14208
14209 ----------------------------------------
14210 03 December 2003.  Summary of changes for version 20031203:
14211
14212 1) ACPI CA Core Subsystem:
14213
14214 Changed the initialization of Operation Regions during subsystem
14215 init to perform two entire walks of the ACPI namespace; The first
14216 to initialize the regions themselves, the second to execute the
14217 _REG methods.  This fixed some interdependencies across _REG
14218 methods found on some machines.
14219
14220 Fixed a problem where a Store(Local0, Local1) could simply update
14221 the object reference count, and not create a new copy of the
14222 object if the Local1 is uninitialized.
14223
14224 Implemented support for the _SST reserved method during sleep
14225 transitions.
14226
14227 Implemented support to clear the SLP_TYP and SLP_EN bits when
14228 waking up, this is apparently required by some machines.
14229
14230 When sleeping, clear the wake status only if SleepState is not S5.
14231
14232 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
14233 pointer arithmetic advanced a string pointer too far.
14234
14235 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
14236 could be returned if the requested table has not been loaded.
14237
14238 Within the support for IRQ resources, restructured the handling of
14239 the active and edge/level bits.
14240
14241 Fixed a few problems in AcpiPsxExecute() where memory could be
14242 leaked under certain error conditions.
14243
14244 Improved error messages for the cases where the ACPI mode could
14245 not be entered.
14246
14247 Code and Data Size: Current and previous core subsystem library
14248 sizes are shown below.  These are the code and data sizes for the
14249 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14250 these values do not include any ACPI driver or OSPM code.  The
14251 debug version of the code includes the debug output trace
14252 mechanism and has a much larger code and data size.  Note that
14253 these values will vary depending on the efficiency of the compiler
14254 and the compiler options used during generation.
14255
14256   Previous Release (20031029):
14257     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14258     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14259   Current Release:
14260     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
14261     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
14262
14263 2) iASL Compiler/Disassembler:
14264
14265 Implemented a fix for the iASL disassembler where a bad index was
14266 generated.  This was most noticeable on 64-bit platforms
14267
14268
14269 ----------------------------------------
14270 29 October 2003.  Summary of changes for version 20031029:
14271
14272 1) ACPI CA Core Subsystem:
14273
14274
14275 Fixed a problem where a level-triggered GPE with an associated
14276 _Lxx control method was incorrectly cleared twice.
14277
14278 Fixed a problem with the Field support code where an access can
14279 occur beyond the end-of-region if the field is non-aligned but
14280 extends to the very end of the parent region (resulted in an
14281 AE_AML_REGION_LIMIT exception.)
14282
14283 Fixed a problem with ACPI Fixed Events where an RT Clock handler
14284 would not get invoked on an RTC event.  The RTC event bitmasks for
14285 the PM1 registers were not being initialized properly.
14286
14287 Implemented support for executing _STA and _INI methods for
14288 Processor objects.  Although this is currently not part of the
14289 ACPI specification, there is existing ASL code that depends on the
14290 init-time execution of these methods.
14291
14292 Implemented and deployed a GetDescriptorName function to decode
14293 the various types of internal descriptors.  Guards against null
14294 descriptors during debug output also.
14295
14296 Implemented and deployed a GetNodeName function to extract the 4-
14297 character namespace node name.  This function simplifies the debug
14298 and error output, as well as guarding against null pointers during
14299 output.
14300
14301 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
14302 simplify the debug and error output of 64-bit integers.  This
14303 macro replaces the HIDWORD and LODWORD macros for dumping these
14304 integers.
14305
14306 Updated the implementation of the Stall() operator to only call
14307 AcpiOsStall(), and also return an error if the operand is larger
14308 than 255.  This preserves the required behavior of not
14309 relinquishing the processor, as would happen if AcpiOsSleep() was
14310 called for "long stalls".
14311
14312 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
14313 initialized are now treated as NOOPs.
14314
14315 Cleaned up a handful of warnings during 64-bit generation.
14316
14317 Fixed a reported error where and incorrect GPE number was passed
14318 to the GPE dispatch handler.  This value is only used for error
14319 output, however.  Used this opportunity to clean up and streamline
14320 the GPE dispatch code.
14321
14322 Code and Data Size: Current and previous core subsystem library
14323 sizes are shown below.  These are the code and data sizes for the
14324 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14325 these values do not include any ACPI driver or OSPM code.  The
14326
14327 debug version of the code includes the debug output trace
14328 mechanism and has a much larger code and data size.  Note that
14329 these values will vary depending on the efficiency of the compiler
14330 and the compiler options used during generation.
14331
14332   Previous Release (20031002):
14333     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14334     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14335   Current Release:
14336     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14337     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14338
14339
14340 2) iASL Compiler/Disassembler:
14341
14342 Updated the iASL compiler to return an error if the operand to the
14343 Stall() operator is larger than 255.
14344
14345
14346 ----------------------------------------
14347 02 October 2003.  Summary of changes for version 20031002:
14348
14349
14350 1) ACPI CA Core Subsystem:
14351
14352 Fixed a problem with Index Fields where the index was not
14353 incremented for fields that require multiple writes to the
14354 index/data registers (Fields that are wider than the data
14355 register.)
14356
14357 Fixed a problem with all Field objects where a write could go
14358 beyond the end-of-field if the field was larger than the access
14359 granularity and therefore required multiple writes to complete the
14360 request.  An extra write beyond the end of the field could happen
14361 inadvertently.
14362
14363 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
14364 would incorrectly be returned if the width of the Data Register
14365 was larger than the specified field access width.
14366
14367 Completed fixes for LoadTable() and Unload() and verified their
14368 operation.  Implemented full support for the "DdbHandle" object
14369 throughout the ACPI CA subsystem.
14370
14371 Implemented full support for the MADT and ECDT tables in the ACPI
14372 CA header files.  Even though these tables are not directly
14373 consumed by ACPI CA, the header definitions are useful for ACPI
14374 device drivers.
14375
14376 Integrated resource descriptor fixes posted to the Linux ACPI
14377 list.  This included checks for minimum descriptor length, and
14378 support for trailing NULL strings within descriptors that have
14379 optional string elements.
14380
14381 Code and Data Size: Current and previous core subsystem library
14382 sizes are shown below.  These are the code and data sizes for the
14383 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14384 these values do not include any ACPI driver or OSPM code.  The
14385 debug version of the code includes the debug output trace
14386 mechanism and has a much larger code and data size.  Note that
14387 these values will vary depending on the efficiency of the compiler
14388 and the compiler options used during generation.
14389
14390   Previous Release (20030918):
14391     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14392     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14393   Current Release:
14394     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14395     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14396
14397
14398 2) iASL Compiler:
14399
14400 Implemented detection of non-ASCII characters within the input
14401 source ASL file.  This catches attempts to compile binary (AML)
14402 files early in the compile, with an informative error message.
14403
14404 Fixed a problem where the disassembler would fault if the output
14405 filename could not be generated or if the output file could not be
14406 opened.
14407
14408 ----------------------------------------
14409 18 September 2003.  Summary of changes for version 20030918:
14410
14411
14412 1) ACPI CA Core Subsystem:
14413
14414 Found and fixed a longstanding problem with the late execution of
14415 the various deferred AML opcodes (such as Operation Regions,
14416 Buffer Fields, Buffers, and Packages).  If the name string
14417 specified for the name of the new object placed the object in a
14418 scope other than the current scope, the initialization/execution
14419 of the opcode failed.  The solution to this problem was to
14420 implement a mechanism where the late execution of such opcodes
14421 does not attempt to lookup/create the name a second time in an
14422 incorrect scope.  This fixes the "region size computed
14423 incorrectly" problem.
14424
14425 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
14426 Global Lock AE_BAD_PARAMETER error.
14427
14428 Fixed several 64-bit issues with prototypes, casting and data
14429 types.
14430
14431 Removed duplicate prototype from acdisasm.h
14432
14433 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
14434
14435 Code and Data Size: Current and previous core subsystem library
14436 sizes are shown below.  These are the code and data sizes for the
14437 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14438 these values do not include any ACPI driver or OSPM code.  The
14439 debug version of the code includes the debug output trace
14440 mechanism and has a much larger code and data size.  Note that
14441 these values will vary depending on the efficiency of the compiler
14442 and the compiler options used during generation.
14443
14444   Previous Release:
14445
14446     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14447     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14448   Current Release:
14449     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14450     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14451
14452
14453 2) Linux:
14454
14455 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
14456 correct sleep time in seconds.
14457
14458 ----------------------------------------
14459 14 July 2003.  Summary of changes for version 20030619:
14460
14461 1) ACPI CA Core Subsystem:
14462
14463 Parse SSDTs in order discovered, as opposed to reverse order
14464 (Hrvoje Habjanic)
14465
14466 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
14467 Klausner,
14468    Nate Lawson)
14469
14470
14471 2) Linux:
14472
14473 Dynamically allocate SDT list (suggested by Andi Kleen)
14474
14475 proc function return value cleanups (Andi Kleen)
14476
14477 Correctly handle NMI watchdog during long stalls (Andrew Morton)
14478
14479 Make it so acpismp=force works (reported by Andrew Morton)
14480
14481
14482 ----------------------------------------
14483 19 June 2003.  Summary of changes for version 20030619:
14484
14485 1) ACPI CA Core Subsystem:
14486
14487 Fix To/FromBCD, eliminating the need for an arch-specific #define.
14488
14489 Do not acquire a semaphore in the S5 shutdown path.
14490
14491 Fix ex_digits_needed for 0. (Takayoshi Kochi)
14492
14493 Fix sleep/stall code reversal. (Andi Kleen)
14494
14495 Revert a change having to do with control method calling
14496 semantics.
14497
14498 2) Linux:
14499
14500 acpiphp update (Takayoshi Kochi)
14501
14502 Export acpi_disabled for sonypi (Stelian Pop)
14503
14504 Mention acpismp=force in config help
14505
14506 Re-add acpitable.c and acpismp=force. This improves backwards
14507
14508 compatibility and also cleans up the code to a significant degree.
14509
14510 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
14511
14512 ----------------------------------------
14513 22 May 2003.  Summary of changes for version 20030522:
14514
14515 1) ACPI CA Core Subsystem:
14516
14517 Found and fixed a reported problem where an AE_NOT_FOUND error
14518 occurred occasionally during _BST evaluation.  This turned out to
14519 be an Owner ID allocation issue where a called method did not get
14520 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
14521 ID UINT16 would wraparound so that the ID would be the same as the
14522 caller's and the called method would delete the caller's
14523 namespace.
14524
14525 Implemented extended error reporting for control methods that are
14526 aborted due to a run-time exception.  Output includes the exact
14527 AML instruction that caused the method abort, a dump of the method
14528 locals and arguments at the time of the abort, and a trace of all
14529 nested control method calls.
14530
14531 Modified the interpreter to allow the creation of buffers of zero
14532 length from the AML code. Implemented new code to ensure that no
14533 attempt is made to actually allocate a memory buffer (of length
14534 zero) - instead, a simple buffer object with a NULL buffer pointer
14535 and length zero is created.  A warning is no longer issued when
14536 the AML attempts to create a zero-length buffer.
14537
14538 Implemented a workaround for the "leading asterisk issue" in
14539 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
14540 asterisk is automatically removed if present in any HID, UID, or
14541 CID strings.  The iASL compiler will still flag this asterisk as
14542 an error, however.
14543
14544 Implemented full support for _CID methods that return a package of
14545 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
14546 now additionally returns a device _CID list if present.  This
14547 required a change to the external interface in order to pass an
14548 ACPI_BUFFER object as a parameter since the _CID list is of
14549 variable length.
14550
14551 Fixed a problem with the new AE_SAME_HANDLER exception where
14552 handler initialization code did not know about this exception.
14553
14554 Code and Data Size: Current and previous core subsystem library
14555 sizes are shown below.  These are the code and data sizes for the
14556 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14557 these values do not include any ACPI driver or OSPM code.  The
14558 debug version of the code includes the debug output trace
14559 mechanism and has a much larger code and data size.  Note that
14560 these values will vary depending on the efficiency of the compiler
14561 and the compiler options used during generation.
14562
14563   Previous Release (20030509):
14564     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14565     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14566   Current Release:
14567     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14568     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14569
14570
14571 2) Linux:
14572
14573 Fixed a bug in which we would reinitialize the ACPI interrupt
14574 after it was already working, thus disabling all ACPI and the IRQs
14575 for any other device sharing the interrupt. (Thanks to Stian
14576 Jordet)
14577
14578 Toshiba driver update (John Belmonte)
14579
14580 Return only 0 or 1 for our interrupt handler status (Andrew
14581 Morton)
14582
14583
14584 3) iASL Compiler:
14585
14586 Fixed a reported problem where multiple (nested) ElseIf()
14587 statements were not handled correctly by the compiler, resulting
14588 in incorrect warnings and incorrect AML code.  This was a problem
14589 in both the ASL parser and the code generator.
14590
14591
14592 4) Documentation:
14593
14594 Added changes to existing interfaces, new exception codes, and new
14595 text concerning reference count object management versus garbage
14596 collection.
14597
14598 ----------------------------------------
14599 09 May 2003.  Summary of changes for version 20030509.
14600
14601
14602 1) ACPI CA Core Subsystem:
14603
14604 Changed the subsystem initialization sequence to hold off
14605 installation of address space handlers until the hardware has been
14606 initialized and the system has entered ACPI mode.  This is because
14607 the installation of space handlers can cause _REG methods to be
14608 run.  Previously, the _REG methods could potentially be run before
14609 ACPI mode was enabled.
14610
14611 Fixed some memory leak issues related to address space handler and
14612 notify handler installation.  There were some problems with the
14613 reference count mechanism caused by the fact that the handler
14614 objects are shared across several namespace objects.
14615
14616 Fixed a reported problem where reference counts within the
14617 namespace were not properly updated when named objects created by
14618 method execution were deleted.
14619
14620 Fixed a reported problem where multiple SSDTs caused a deletion
14621 issue during subsystem termination.  Restructured the table data
14622 structures to simplify the linked lists and the related code.
14623
14624 Fixed a problem where the table ID associated with secondary
14625 tables (SSDTs) was not being propagated into the namespace objects
14626 created by those tables.  This would only present a problem for
14627 tables that are unloaded at run-time, however.
14628
14629 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
14630 type as the length parameter (instead of UINT32).
14631
14632 Solved a long-standing problem where an ALREADY_EXISTS error
14633 appears on various systems.  This problem could happen when there
14634 are multiple PCI_Config operation regions under a single PCI root
14635 bus.  This doesn't happen very frequently, but there are some
14636 systems that do this in the ASL.
14637
14638 Fixed a reported problem where the internal DeleteNode function
14639 was incorrectly handling the case where a namespace node was the
14640 first in the parent's child list, and had additional peers (not
14641 the only child, but first in the list of children.)
14642
14643 Code and Data Size: Current core subsystem library sizes are shown
14644 below.  These are the code and data sizes for the acpica.lib
14645 produced by the Microsoft Visual C++ 6.0 compiler, and these
14646 values do not include any ACPI driver or OSPM code.  The debug
14647 version of the code includes the debug output trace mechanism and
14648 has a much larger code and data size.  Note that these values will
14649 vary depending on the efficiency of the compiler and the compiler
14650 options used during generation.
14651
14652   Previous Release
14653     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14654     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14655   Current Release:
14656     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14657     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14658
14659
14660 2) Linux:
14661
14662 Allow ":" in OS override string (Ducrot Bruno)
14663
14664 Kobject fix (Greg KH)
14665
14666
14667 3 iASL Compiler/Disassembler:
14668
14669 Fixed a problem in the generation of the C source code files (AML
14670 is emitted in C source statements for BIOS inclusion) where the
14671 Ascii dump that appears within a C comment at the end of each line
14672 could cause a compile time error if the AML sequence happens to
14673 have an open comment or close comment sequence embedded.
14674
14675
14676 ----------------------------------------
14677 24 April 2003.  Summary of changes for version 20030424.
14678
14679
14680 1) ACPI CA Core Subsystem:
14681
14682 Support for big-endian systems has been implemented.  Most of the
14683 support has been invisibly added behind big-endian versions of the
14684 ACPI_MOVE_* macros.
14685
14686 Fixed a problem in AcpiHwDisableGpeBlock() and
14687 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
14688 low level hardware write routine.  The offset parameter was
14689 actually eliminated from the low level read/write routines because
14690 they had become obsolete.
14691
14692 Fixed a problem where a handler object was deleted twice during
14693 the removal of a fixed event handler.
14694
14695
14696 2) Linux:
14697
14698 A fix for SMP systems with link devices was contributed by
14699
14700 Compaq's Dan Zink.
14701
14702 (2.5) Return whether we handled the interrupt in our IRQ handler.
14703 (Linux ISRs no longer return void, so we can propagate the handler
14704 return value from the ACPI CA core back to the OS.)
14705
14706
14707
14708 3) Documentation:
14709
14710 The ACPI CA Programmer Reference has been updated to reflect new
14711 interfaces and changes to existing interfaces.
14712
14713 ----------------------------------------
14714 28 March 2003.  Summary of changes for version 20030328.
14715
14716 1) ACPI CA Core Subsystem:
14717
14718 The GPE Block Device support has been completed.  New interfaces
14719 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
14720 interfaces (enable, disable, clear, getstatus) have been split
14721 into separate interfaces for Fixed Events and General Purpose
14722 Events (GPEs) in order to support GPE Block Devices properly.
14723
14724 Fixed a problem where the error message "Failed to acquire
14725 semaphore" would appear during operations on the embedded
14726 controller (EC).
14727
14728 Code and Data Size: Current core subsystem library sizes are shown
14729 below.  These are the code and data sizes for the acpica.lib
14730 produced by the Microsoft Visual C++ 6.0 compiler, and these
14731 values do not include any ACPI driver or OSPM code.  The debug
14732 version of the code includes the debug output trace mechanism and
14733 has a much larger code and data size.  Note that these values will
14734 vary depending on the efficiency of the compiler and the compiler
14735 options used during generation.
14736
14737   Previous Release
14738     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14739     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14740   Current Release:
14741     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14742     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14743
14744
14745 ----------------------------------------
14746 28 February 2003.  Summary of changes for version 20030228.
14747
14748
14749 1) ACPI CA Core Subsystem:
14750
14751 The GPE handling and dispatch code has been completely overhauled
14752 in preparation for support of GPE Block Devices (ID ACPI0006).
14753 This affects internal data structures and code only; there should
14754 be no differences visible externally.  One new file has been
14755 added, evgpeblk.c
14756
14757 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
14758 fields that are used to determine the GPE block lengths.  The
14759 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
14760 structures are ignored.  This is per the ACPI specification but it
14761 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
14762 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
14763
14764 In the SCI interrupt handler, removed the read of the PM1_CONTROL
14765 register to look at the SCI_EN bit.  On some machines, this read
14766 causes an SMI event and greatly slows down SCI events.  (This may
14767 in fact be the cause of slow battery status response on some
14768 systems.)
14769
14770 Fixed a problem where a store of a NULL string to a package object
14771 could cause the premature deletion of the object.  This was seen
14772 during execution of the battery _BIF method on some systems,
14773 resulting in no battery data being returned.
14774
14775 Added AcpiWalkResources interface to simplify parsing of resource
14776 lists.
14777
14778 Code and Data Size: Current core subsystem library sizes are shown
14779 below.  These are the code and data sizes for the acpica.lib
14780 produced by the Microsoft Visual C++ 6.0 compiler, and these
14781 values do not include any ACPI driver or OSPM code.  The debug
14782 version of the code includes the debug output trace mechanism and
14783 has a much larger code and data size.  Note that these values will
14784 vary depending on the efficiency of the compiler and the compiler
14785 options used during generation.
14786
14787   Previous Release
14788     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14789     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14790   Current Release:
14791     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14792     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14793
14794
14795 2) Linux
14796
14797 S3 fixes (Ole Rohne)
14798
14799 Update ACPI PHP driver with to use new acpi_walk_resource API
14800 (Bjorn Helgaas)
14801
14802 Add S4BIOS support (Pavel Machek)
14803
14804 Map in entire table before performing checksum (John Stultz)
14805
14806 Expand the mem= cmdline to allow the specification of reserved and
14807 ACPI DATA blocks (Pavel Machek)
14808
14809 Never use ACPI on VISWS
14810
14811 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
14812
14813 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
14814 causing us to think that some systems support C2 when they really
14815 don't.
14816
14817 Do not count processor objects for non-present CPUs (Thanks to
14818 Dominik Brodowski)
14819
14820
14821 3) iASL Compiler:
14822
14823 Fixed a problem where ASL include files could not be found and
14824 opened.
14825
14826 Added support for the _PDC reserved name.
14827
14828
14829 ----------------------------------------
14830 22 January 2003.  Summary of changes for version 20030122.
14831
14832
14833 1) ACPI CA Core Subsystem:
14834
14835 Added a check for constructs of the form:  Store (Local0, Local0)
14836 where Local0 is not initialized.  Apparently, some BIOS
14837 programmers believe that this is a NOOP.  Since this store doesn't
14838 do anything anyway, the new prototype behavior will ignore this
14839 error.  This is a case where we can relax the strict checking in
14840 the interpreter in the name of compatibility.
14841
14842
14843 2) Linux
14844
14845 The AcpiSrc Source Conversion Utility has been released with the
14846 Linux package for the first time.  This is the utility that is
14847 used to convert the ACPI CA base source code to the Linux version.
14848
14849 (Both) Handle P_BLK lengths shorter than 6 more gracefully
14850
14851 (Both) Move more headers to include/acpi, and delete an unused
14852 header.
14853
14854 (Both) Move drivers/acpi/include directory to include/acpi
14855
14856 (Both) Boot functions don't use cmdline, so don't pass it around
14857
14858 (Both) Remove include of unused header (Adrian Bunk)
14859
14860 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
14861 the
14862 former now also includes the latter, acpiphp.h only needs the one,
14863 now.
14864
14865 (2.5) Make it possible to select method of bios restoring after S3
14866 resume. [=> no more ugly ifdefs] (Pavel Machek)
14867
14868 (2.5) Make proc write interfaces work (Pavel Machek)
14869
14870 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
14871
14872 (2.5) Break out ACPI Perf code into its own module, under cpufreq
14873 (Dominik Brodowski)
14874
14875 (2.4) S4BIOS support (Ducrot Bruno)
14876
14877 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
14878 Visinoni)
14879
14880
14881 3) iASL Compiler:
14882
14883 Added support to disassemble SSDT and PSDTs.
14884
14885 Implemented support to obtain SSDTs from the Windows registry if
14886 available.
14887
14888
14889 ----------------------------------------
14890 09 January 2003.  Summary of changes for version 20030109.
14891
14892 1) ACPI CA Core Subsystem:
14893
14894 Changed the behavior of the internal Buffer-to-String conversion
14895 function.  The current ACPI specification states that the contents
14896 of the buffer are "converted to a string of two-character
14897 hexadecimal numbers, each separated by a space".  Unfortunately,
14898 this definition is not backwards compatible with existing ACPI 1.0
14899 implementations (although the behavior was not defined in the ACPI
14900 1.0 specification).  The new behavior simply copies data from the
14901 buffer to the string until a null character is found or the end of
14902 the buffer is reached.  The new String object is always null
14903 terminated.  This problem was seen during the generation of _BIF
14904 battery data where incorrect strings were returned for battery
14905 type, etc.  This will also require an errata to the ACPI
14906 specification.
14907
14908 Renamed all instances of NATIVE_UINT and NATIVE_INT to
14909 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
14910
14911 Copyright in all module headers (both Linux and non-Linux) has be
14912 updated to 2003.
14913
14914 Code and Data Size: Current core subsystem library sizes are shown
14915 below.  These are the code and data sizes for the acpica.lib
14916 produced by the Microsoft Visual C++ 6.0 compiler, and these
14917 values do not include any ACPI driver or OSPM code.  The debug
14918 version of the code includes the debug output trace mechanism and
14919 has a much larger code and data size.  Note that these values will
14920 vary depending on the efficiency of the compiler and the compiler
14921 options used during generation.
14922
14923   Previous Release
14924     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14925     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14926   Current Release:
14927     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14928     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14929
14930
14931 2) Linux
14932
14933 Fixed an oops on module insertion/removal (Matthew Tippett)
14934
14935 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
14936
14937 (2.5) Replace pr_debug (Randy Dunlap)
14938
14939 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
14940
14941 (Both) Eliminate spawning of thread from timer callback, in favor
14942 of schedule_work()
14943
14944 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
14945
14946 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
14947
14948 (Both) Add missing statics to button.c (Pavel Machek)
14949
14950 Several changes have been made to the source code translation
14951 utility that generates the Linux Code in order to make the code
14952 more "Linux-like":
14953
14954 All typedefs on structs and unions have been removed in keeping
14955 with the Linux coding style.
14956
14957 Removed the non-Linux SourceSafe module revision number from each
14958 module header.
14959
14960 Completed major overhaul of symbols to be lowercased for linux.
14961 Doubled the number of symbols that are lowercased.
14962
14963 Fixed a problem where identifiers within procedure headers and
14964 within quotes were not fully lower cased (they were left with a
14965 starting capital.)
14966
14967 Some C macros whose only purpose is to allow the generation of 16-
14968 bit code are now completely removed in the Linux code, increasing
14969 readability and maintainability.
14970
14971 ----------------------------------------
14972
14973 12 December 2002.  Summary of changes for version 20021212.
14974
14975
14976 1) ACPI CA Core Subsystem:
14977
14978 Fixed a problem where the creation of a zero-length AML Buffer
14979 would cause a fault.
14980
14981 Fixed a problem where a Buffer object that pointed to a static AML
14982 buffer (in an ACPI table) could inadvertently be deleted, causing
14983 memory corruption.
14984
14985 Fixed a problem where a user buffer (passed in to the external
14986 ACPI CA interfaces) could be overwritten if the buffer was too
14987 small to complete the operation, causing memory corruption.
14988
14989 Fixed a problem in the Buffer-to-String conversion code where a
14990 string of length one was always returned, regardless of the size
14991 of the input Buffer object.
14992
14993 Removed the NATIVE_CHAR data type across the entire source due to
14994 lack of need and lack of consistent use.
14995
14996 Code and Data Size: Current core subsystem library sizes are shown
14997 below.  These are the code and data sizes for the acpica.lib
14998 produced by the Microsoft Visual C++ 6.0 compiler, and these
14999 values do not include any ACPI driver or OSPM code.  The debug
15000 version of the code includes the debug output trace mechanism and
15001 has a much larger code and data size.  Note that these values will
15002 vary depending on the efficiency of the compiler and the compiler
15003 options used during generation.
15004
15005   Previous Release
15006     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
15007     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
15008   Current Release:
15009     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
15010     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
15011
15012
15013 ----------------------------------------
15014 05 December 2002.  Summary of changes for version 20021205.
15015
15016 1) ACPI CA Core Subsystem:
15017
15018 Fixed a problem where a store to a String or Buffer object could
15019 cause corruption of the DSDT if the object type being stored was
15020 the same as the target object type and the length of the object
15021 being stored was equal to or smaller than the original (existing)
15022 target object.  This was seen to cause corruption of battery _BIF
15023 buffers if the _BIF method modified the buffer on the fly.
15024
15025 Fixed a problem where an internal error was generated if a control
15026 method invocation was used in an OperationRegion, Buffer, or
15027 Package declaration.  This was caused by the deferred parsing of
15028 the control method and thus the deferred creation of the internal
15029 method object.  The solution to this problem was to create the
15030 internal method object at the moment the method is encountered in
15031 the first pass - so that subsequent references to the method will
15032 able to obtain the required parameter count and thus properly
15033 parse the method invocation.  This problem presented itself as an
15034 AE_AML_INTERNAL during the pass 1 parse phase during table load.
15035
15036 Fixed a problem where the internal String object copy routine did
15037 not always allocate sufficient memory for the target String object
15038 and caused memory corruption.  This problem was seen to cause
15039 "Allocation already present in list!" errors as memory allocation
15040 became corrupted.
15041
15042 Implemented a new function for the evaluation of namespace objects
15043 that allows the specification of the allowable return object
15044 types.  This simplifies a lot of code that checks for a return
15045 object of one or more specific objects returned from the
15046 evaluation (such as _STA, etc.)  This may become and external
15047 function if it would be useful to ACPI-related drivers.
15048
15049 Completed another round of prefixing #defines with "ACPI_" for
15050 clarity.
15051
15052 Completed additional code restructuring to allow more modular
15053 linking for iASL compiler and AcpiExec.  Several files were split
15054 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
15055
15056 Implemented an abort mechanism to terminate an executing control
15057 method via the AML debugger.  This feature is useful for debugging
15058 control methods that depend (wait) for specific hardware
15059 responses.
15060
15061 Code and Data Size: Current core subsystem library sizes are shown
15062 below.  These are the code and data sizes for the acpica.lib
15063 produced by the Microsoft Visual C++ 6.0 compiler, and these
15064 values do not include any ACPI driver or OSPM code.  The debug
15065 version of the code includes the debug output trace mechanism and
15066 has a much larger code and data size.  Note that these values will
15067 vary depending on the efficiency of the compiler and the compiler
15068 options used during generation.
15069
15070   Previous Release
15071     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15072     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
15073   Current Release:
15074     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
15075     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
15076
15077
15078 2) iASL Compiler/Disassembler
15079
15080 Fixed a compiler code generation problem for "Interrupt" Resource
15081 Descriptors.  If specified in the ASL, the optional "Resource
15082 Source Index" and "Resource Source" fields were not inserted into
15083 the correct location within the AML resource descriptor, creating
15084 an invalid descriptor.
15085
15086 Fixed a disassembler problem for "Interrupt" resource descriptors.
15087 The optional "Resource Source Index" and "Resource Source" fields
15088 were ignored.
15089
15090
15091 ----------------------------------------
15092 22 November 2002.  Summary of changes for version 20021122.
15093
15094
15095 1) ACPI CA Core Subsystem:
15096
15097 Fixed a reported problem where an object stored to a Method Local
15098 or Arg was not copied to a new object during the store - the
15099 object pointer was simply copied to the Local/Arg.  This caused
15100 all subsequent operations on the Local/Arg to also affect the
15101 original source of the store operation.
15102
15103 Fixed a problem where a store operation to a Method Local or Arg
15104 was not completed properly if the Local/Arg contained a reference
15105 (from RefOf) to a named field.  The general-purpose store-to-
15106 namespace-node code is now used so that this case is handled
15107 automatically.
15108
15109 Fixed a problem where the internal object copy routine would cause
15110 a protection fault if the object being copied was a Package and
15111 contained either 1) a NULL package element or 2) a nested sub-
15112 package.
15113
15114 Fixed a problem with the GPE initialization that resulted from an
15115 ambiguity in the ACPI specification.  One section of the
15116 specification states that both the address and length of the GPE
15117 block must be zero if the block is not supported.  Another section
15118 implies that only the address need be zero if the block is not
15119 supported.  The code has been changed so that both the address and
15120 the length must be non-zero to indicate a valid GPE block (i.e.,
15121 if either the address or the length is zero, the GPE block is
15122 invalid.)
15123
15124 Code and Data Size: Current core subsystem library sizes are shown
15125 below.  These are the code and data sizes for the acpica.lib
15126 produced by the Microsoft Visual C++ 6.0 compiler, and these
15127 values do not include any ACPI driver or OSPM code.  The debug
15128 version of the code includes the debug output trace mechanism and
15129 has a much larger code and data size.  Note that these values will
15130 vary depending on the efficiency of the compiler and the compiler
15131 options used during generation.
15132
15133   Previous Release
15134     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
15135     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15136   Current Release:
15137     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15138     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
15139
15140
15141 2) Linux
15142
15143 Cleaned up EC driver. Exported an external EC read/write
15144 interface. By going through this, other drivers (most notably
15145 sonypi) will be able to serialize access to the EC.
15146
15147
15148 3) iASL Compiler/Disassembler
15149
15150 Implemented support to optionally generate include files for both
15151 ASM and C (the -i switch).  This simplifies BIOS development by
15152 automatically creating include files that contain external
15153 declarations for the symbols that are created within the
15154
15155 (optionally generated) ASM and C AML source files.
15156
15157
15158 ----------------------------------------
15159 15 November 2002.  Summary of changes for version 20021115.
15160
15161 1) ACPI CA Core Subsystem:
15162
15163 Fixed a memory leak problem where an error during resolution of
15164
15165 method arguments during a method invocation from another method
15166 failed to cleanup properly by deleting all successfully resolved
15167 argument objects.
15168
15169 Fixed a problem where the target of the Index() operator was not
15170 correctly constructed if the source object was a package.  This
15171 problem has not been detected because the use of a target operand
15172 with Index() is very rare.
15173
15174 Fixed a problem with the Index() operator where an attempt was
15175 made to delete the operand objects twice.
15176
15177 Fixed a problem where an attempt was made to delete an operand
15178 twice during execution of the CondRefOf() operator if the target
15179 did not exist.
15180
15181 Implemented the first of perhaps several internal create object
15182 functions that create and initialize a specific object type.  This
15183 consolidates duplicated code wherever the object is created, thus
15184 shrinking the size of the subsystem.
15185
15186 Implemented improved debug/error messages for errors that occur
15187 during nested method invocations.  All executing method pathnames
15188 are displayed (with the error) as the call stack is unwound - thus
15189 simplifying debug.
15190
15191 Fixed a problem introduced in the 10/02 release that caused
15192 premature deletion of a buffer object if a buffer was used as an
15193 ASL operand where an integer operand is required (Thus causing an
15194 implicit object conversion from Buffer to Integer.)  The change in
15195 the 10/02 release was attempting to fix a memory leak (albeit
15196 incorrectly.)
15197
15198 Code and Data Size: Current core subsystem library sizes are shown
15199 below.  These are the code and data sizes for the acpica.lib
15200 produced by the Microsoft Visual C++ 6.0 compiler, and these
15201 values do not include any ACPI driver or OSPM code.  The debug
15202 version of the code includes the debug output trace mechanism and
15203 has a much larger code and data size.  Note that these values will
15204 vary depending on the efficiency of the compiler and the compiler
15205 options used during generation.
15206
15207   Previous Release
15208     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15209     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15210   Current Release:
15211     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
15212     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15213
15214
15215 2) Linux
15216
15217 Changed the implementation of the ACPI semaphores to use down()
15218 instead of down_interruptable().  It is important that the
15219 execution of ACPI control methods not be interrupted by signals.
15220 Methods must run to completion, or the system may be left in an
15221 unknown/unstable state.
15222
15223 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
15224 (Shawn Starr)
15225
15226
15227 3) iASL Compiler/Disassembler
15228
15229
15230 Changed the default location of output files.  All output files
15231 are now placed in the current directory by default instead of in
15232 the directory of the source file.  This change may affect some
15233 existing makefiles, but it brings the behavior of the compiler in
15234 line with other similar tools.  The location of the output files
15235 can be overridden with the -p command line switch.
15236
15237
15238 ----------------------------------------
15239 11 November 2002.  Summary of changes for version 20021111.
15240
15241
15242 0) ACPI Specification 2.0B is released and is now available at:
15243 http://www.acpi.info/index.html
15244
15245
15246 1) ACPI CA Core Subsystem:
15247
15248 Implemented support for the ACPI 2.0 SMBus Operation Regions.
15249 This includes the early detection and handoff of the request to
15250 the SMBus region handler (avoiding all of the complex field
15251 support code), and support for the bidirectional return packet
15252 from an SMBus write operation.  This paves the way for the
15253 development of SMBus drivers in each host operating system.
15254
15255 Fixed a problem where the semaphore WAIT_FOREVER constant was
15256 defined as 32 bits, but must be 16 bits according to the ACPI
15257 specification.  This had the side effect of causing ASL
15258 Mutex/Event timeouts even though the ASL code requested a wait
15259 forever.  Changed all internal references to the ACPI timeout
15260 parameter to 16 bits to prevent future problems.  Changed the name
15261 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
15262
15263 Code and Data Size: Current core subsystem library sizes are shown
15264 below.  These are the code and data sizes for the acpica.lib
15265 produced by the Microsoft Visual C++ 6.0 compiler, and these
15266 values do not include any ACPI driver or OSPM code.  The debug
15267 version of the code includes the debug output trace mechanism and
15268 has a much larger code and data size.  Note that these values will
15269 vary depending on the efficiency of the compiler and the compiler
15270 options used during generation.
15271
15272   Previous Release
15273     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15274     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15275   Current Release:
15276     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15277     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15278
15279
15280 2) Linux
15281
15282 Module loading/unloading fixes (John Cagle)
15283
15284
15285 3) iASL Compiler/Disassembler
15286
15287 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
15288
15289 Implemented support for the disassembly of all SMBus protocol
15290 keywords (SMBQuick, SMBWord, etc.)
15291
15292 ----------------------------------------
15293 01 November 2002.  Summary of changes for version 20021101.
15294
15295
15296 1) ACPI CA Core Subsystem:
15297
15298 Fixed a problem where platforms that have a GPE1 block but no GPE0
15299 block were not handled correctly.  This resulted in a "GPE
15300 overlap" error message.  GPE0 is no longer required.
15301
15302 Removed code added in the previous release that inserted nodes
15303 into the namespace in alphabetical order.  This caused some side-
15304 effects on various machines.  The root cause of the problem is
15305 still under investigation since in theory, the internal ordering
15306 of the namespace nodes should not matter.
15307
15308
15309 Enhanced error reporting for the case where a named object is not
15310 found during control method execution.  The full ACPI namepath
15311 (name reference) of the object that was not found is displayed in
15312 this case.
15313
15314 Note: as a result of the overhaul of the namespace object types in
15315 the previous release, the namespace nodes for the predefined
15316 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
15317 instead of ACPI_TYPE_ANY.  This simplifies the namespace
15318 management code but may affect code that walks the namespace tree
15319 looking for specific object types.
15320
15321 Code and Data Size: Current core subsystem library sizes are shown
15322 below.  These are the code and data sizes for the acpica.lib
15323 produced by the Microsoft Visual C++ 6.0 compiler, and these
15324 values do not include any ACPI driver or OSPM code.  The debug
15325 version of the code includes the debug output trace mechanism and
15326 has a much larger code and data size.  Note that these values will
15327 vary depending on the efficiency of the compiler and the compiler
15328 options used during generation.
15329
15330   Previous Release
15331     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15332     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15333   Current Release:
15334     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15335     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15336
15337
15338 2) Linux
15339
15340 Fixed a problem introduced in the previous release where the
15341 Processor and Thermal objects were not recognized and installed in
15342 /proc.  This was related to the scope type change described above.
15343
15344
15345 3) iASL Compiler/Disassembler
15346
15347 Implemented the -g option to get all of the required ACPI tables
15348 from the registry and save them to files (Windows version of the
15349 compiler only.)  The required tables are the FADT, FACS, and DSDT.
15350
15351 Added ACPI table checksum validation during table disassembly in
15352 order to catch corrupted tables.
15353
15354
15355 ----------------------------------------
15356 22 October 2002.  Summary of changes for version 20021022.
15357
15358 1) ACPI CA Core Subsystem:
15359
15360 Implemented a restriction on the Scope operator that the target
15361 must already exist in the namespace at the time the operator is
15362 encountered (during table load or method execution).  In other
15363 words, forward references are not allowed and Scope() cannot
15364 create a new object. This changes the previous behavior where the
15365 interpreter would create the name if not found.  This new behavior
15366 correctly enables the search-to-root algorithm during namespace
15367 lookup of the target name.  Because of this upsearch, this fixes
15368 the known Compaq _SB_.OKEC problem and makes both the AML
15369 interpreter and iASL compiler compatible with other ACPI
15370 implementations.
15371
15372 Completed a major overhaul of the internal ACPI object types for
15373 the ACPI Namespace and the associated operand objects.  Many of
15374 these types had become obsolete with the introduction of the two-
15375 pass namespace load.  This cleanup simplifies the code and makes
15376 the entire namespace load mechanism much clearer and easier to
15377 understand.
15378
15379 Improved debug output for tracking scope opening/closing to help
15380 diagnose scoping issues.  The old scope name as well as the new
15381 scope name are displayed.  Also improved error messages for
15382 problems with ASL Mutex objects and error messages for GPE
15383 problems.
15384
15385 Cleaned up the namespace dump code, removed obsolete code.
15386
15387 All string output (for all namespace/object dumps) now uses the
15388 common ACPI string output procedure which handles escapes properly
15389 and does not emit non-printable characters.
15390
15391 Fixed some issues with constants in the 64-bit version of the
15392 local C library (utclib.c)
15393
15394
15395 2) Linux
15396
15397 EC Driver:  No longer attempts to acquire the Global Lock at
15398 interrupt level.
15399
15400
15401 3) iASL Compiler/Disassembler
15402
15403 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
15404 2 opcodes outside of a control method.  This means that the
15405 "executable" operators (versus the "namespace" operators) cannot
15406 be used at the table level; they can only be used within a control
15407 method.
15408
15409 Implemented the restriction on the Scope() operator where the
15410 target must already exist in the namespace at the time the
15411 operator is encountered (during ASL compilation). In other words,
15412 forward references are not allowed and Scope() cannot create a new
15413 object.  This makes the iASL compiler compatible with other ACPI
15414 implementations and makes the Scope() implementation adhere to the
15415 ACPI specification.
15416
15417 Fixed a problem where namepath optimization for the Alias operator
15418 was optimizing the wrong path (of the two namepaths.)  This caused
15419 a "Missing alias link" error message.
15420
15421 Fixed a problem where an "unknown reserved name" warning could be
15422 incorrectly generated for names like "_SB" when the trailing
15423 underscore is not used in the original ASL.
15424
15425 Fixed a problem where the reserved name check did not handle
15426 NamePaths with multiple NameSegs correctly.  The first nameseg of
15427 the NamePath was examined instead of the last NameSeg.
15428
15429
15430 ----------------------------------------
15431
15432 02 October 2002.  Summary of changes for this release.
15433
15434
15435 1) ACPI CA Core Subsystem version 20021002:
15436
15437 Fixed a problem where a store/copy of a string to an existing
15438 string did not always set the string length properly in the String
15439 object.
15440
15441 Fixed a reported problem with the ToString operator where the
15442 behavior was identical to the ToHexString operator instead of just
15443 simply converting a raw buffer to a string data type.
15444
15445 Fixed a problem where CopyObject and the other "explicit"
15446 conversion operators were not updating the internal namespace node
15447 type as part of the store operation.
15448
15449 Fixed a memory leak during implicit source operand conversion
15450 where the original object was not deleted if it was converted to a
15451 new object of a different type.
15452
15453 Enhanced error messages for all problems associated with namespace
15454 lookups.  Common procedure generates and prints the lookup name as
15455 well as the formatted status.
15456
15457 Completed implementation of a new design for the Alias support
15458 within the namespace.  The existing design did not handle the case
15459 where a new object was assigned to one of the two names due to the
15460 use of an explicit conversion operator, resulting in the two names
15461 pointing to two different objects.  The new design simply points
15462 the Alias name to the original name node - not to the object.
15463 This results in a level of indirection that must be handled in the
15464 name resolution mechanism.
15465
15466 Code and Data Size: Current core subsystem library sizes are shown
15467 below.  These are the code and data sizes for the acpica.lib
15468 produced by the Microsoft Visual C++ 6.0 compiler, and these
15469 values do not include any ACPI driver or OSPM code.  The debug
15470 version of the code includes the debug output trace mechanism and
15471 has a larger code and data size.  Note that these values will vary
15472 depending on the efficiency of the compiler and the compiler
15473 options used during generation.
15474
15475   Previous Release
15476     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15477     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15478   Current Release:
15479     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15480     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15481
15482
15483 2) Linux
15484
15485 Initialize thermal driver's timer before it is used. (Knut
15486 Neumann)
15487
15488 Allow handling negative celsius values. (Kochi Takayoshi)
15489
15490 Fix thermal management and make trip points. R/W (Pavel Machek)
15491
15492 Fix /proc/acpi/sleep. (P. Christeas)
15493
15494 IA64 fixes. (David Mosberger)
15495
15496 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
15497
15498 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
15499 Brodowski)
15500
15501
15502 3) iASL Compiler/Disassembler
15503
15504 Clarified some warning/error messages.
15505
15506
15507 ----------------------------------------
15508 18 September 2002.  Summary of changes for this release.
15509
15510
15511 1) ACPI CA Core Subsystem version 20020918:
15512
15513 Fixed a reported problem with reference chaining (via the Index()
15514 and RefOf() operators) in the ObjectType() and SizeOf() operators.
15515 The definition of these operators includes the dereferencing of
15516 all chained references to return information on the base object.
15517
15518 Fixed a problem with stores to indexed package elements - the
15519 existing code would not complete the store if an "implicit
15520 conversion" was not performed.  In other words, if the existing
15521 object (package element) was to be replaced completely, the code
15522 didn't handle this case.
15523
15524 Relaxed typechecking on the ASL "Scope" operator to allow the
15525 target name to refer to an object of type Integer, String, or
15526 Buffer, in addition to the scoping object types (Device,
15527 predefined Scopes, Processor, PowerResource, and ThermalZone.)
15528 This allows existing AML code that has workarounds for a bug in
15529 Windows to function properly.  A warning is issued, however.  This
15530 affects both the AML interpreter and the iASL compiler. Below is
15531 an example of this type of ASL code:
15532
15533       Name(DEB,0x00)
15534       Scope(DEB)
15535       {
15536
15537 Fixed some reported problems with 64-bit integer support in the
15538 local implementation of C library functions (clib.c)
15539
15540
15541 2) Linux
15542
15543 Use ACPI fix map region instead of IOAPIC region, since it is
15544 undefined in non-SMP.
15545
15546 Ensure that the SCI has the proper polarity and trigger, even on
15547 systems that do not have an interrupt override entry in the MADT.
15548
15549 2.5 big driver reorganization (Pat Mochel)
15550
15551 Use early table mapping code from acpitable.c (Andi Kleen)
15552
15553 New blacklist entries (Andi Kleen)
15554
15555 Blacklist improvements. Split blacklist code out into a separate
15556 file. Move checking the blacklist to very early. Previously, we
15557 would use ACPI tables, and then halfway through init, check the
15558 blacklist -- too late. Now, it's early enough to completely fall-
15559 back to non-ACPI.
15560
15561
15562 3) iASL Compiler/Disassembler version 20020918:
15563
15564 Fixed a problem where the typechecking code didn't know that an
15565 alias could point to a method.  In other words, aliases were not
15566 being dereferenced during typechecking.
15567
15568
15569 ----------------------------------------
15570 29 August 2002.  Summary of changes for this release.
15571
15572 1) ACPI CA Core Subsystem Version 20020829:
15573
15574 If the target of a Scope() operator already exists, it must be an
15575 object type that actually opens a scope -- such as a Device,
15576 Method, Scope, etc.  This is a fatal runtime error.  Similar error
15577 check has been added to the iASL compiler also.
15578
15579 Tightened up the namespace load to disallow multiple names in the
15580 same scope.  This previously was allowed if both objects were of
15581 the same type.  (i.e., a lookup was the same as entering a new
15582 name).
15583
15584
15585 2) Linux
15586
15587 Ensure that the ACPI interrupt has the proper trigger and
15588 polarity.
15589
15590 local_irq_disable is extraneous. (Matthew Wilcox)
15591
15592 Make "acpi=off" actually do what it says, and not use the ACPI
15593 interpreter *or* the tables.
15594
15595 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
15596 Takayoshi)
15597
15598
15599 3) iASL Compiler/Disassembler  Version 20020829:
15600
15601 Implemented namepath optimization for name declarations.  For
15602 example, a declaration like "Method (\_SB_.ABCD)" would get
15603 optimized to "Method (ABCD)" if the declaration is within the
15604 \_SB_ scope.  This optimization is in addition to the named
15605 reference path optimization first released in the previous
15606 version. This would seem to complete all possible optimizations
15607 for namepaths within the ASL/AML.
15608
15609 If the target of a Scope() operator already exists, it must be an
15610 object type that actually opens a scope -- such as a Device,
15611 Method, Scope, etc.
15612
15613 Implemented a check and warning for unreachable code in the same
15614 block below a Return() statement.
15615
15616 Fixed a problem where the listing file was not generated if the
15617 compiler aborted if the maximum error count was exceeded (200).
15618
15619 Fixed a problem where the typechecking of method return values was
15620 broken.  This includes the check for a return value when the
15621 method is invoked as a TermArg (a return value is expected.)
15622
15623 Fixed a reported problem where EOF conditions during a quoted
15624 string or comment caused a fault.
15625
15626
15627 ----------------------------------------
15628 15 August 2002.  Summary of changes for this release.
15629
15630 1) ACPI CA Core Subsystem Version 20020815:
15631
15632 Fixed a reported problem where a Store to a method argument that
15633 contains a reference did not perform the indirect store correctly.
15634 This problem was created during the conversion to the new
15635 reference object model - the indirect store to a method argument
15636 code was not updated to reflect the new model.
15637
15638 Reworked the ACPI mode change code to better conform to ACPI 2.0,
15639 handle corner cases, and improve code legibility (Kochi Takayoshi)
15640
15641 Fixed a problem with the pathname parsing for the carat (^)
15642 prefix.  The heavy use of the carat operator by the new namepath
15643 optimization in the iASL compiler uncovered a problem with the AML
15644 interpreter handling of this prefix.  In the case where one or
15645 more carats precede a single nameseg, the nameseg was treated as
15646 standalone and the search rule (to root) was inadvertently
15647 applied.  This could cause both the iASL compiler and the
15648 interpreter to find the wrong object or to miss the error that
15649 should occur if the object does not exist at that exact pathname.
15650
15651 Found and fixed the problem where the HP Pavilion DSDT would not
15652 load.  This was a relatively minor tweak to the table loading code
15653 (a problem caused by the unexpected encounter with a method
15654 invocation not within a control method), but it does not solve the
15655 overall issue of the execution of AML code at the table level.
15656 This investigation is still ongoing.
15657
15658 Code and Data Size: Current core subsystem library sizes are shown
15659 below.  These are the code and data sizes for the acpica.lib
15660 produced by the Microsoft Visual C++ 6.0 compiler, and these
15661 values do not include any ACPI driver or OSPM code.  The debug
15662 version of the code includes the debug output trace mechanism and
15663 has a larger code and data size.  Note that these values will vary
15664 depending on the efficiency of the compiler and the compiler
15665 options used during generation.
15666
15667   Previous Release
15668     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15669     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15670   Current Release:
15671     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15672     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15673
15674
15675 2) Linux
15676
15677 Remove redundant slab.h include (Brad Hards)
15678
15679 Fix several bugs in thermal.c (Herbert Nachtnebel)
15680
15681 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
15682
15683 Change acpi_system_suspend to use updated irq functions (Pavel
15684 Machek)
15685
15686 Export acpi_get_firmware_table (Matthew Wilcox)
15687
15688 Use proper root proc entry for ACPI (Kochi Takayoshi)
15689
15690 Fix early-boot table parsing (Bjorn Helgaas)
15691
15692
15693 3) iASL Compiler/Disassembler
15694
15695 Reworked the compiler options to make them more consistent and to
15696 use two-letter options where appropriate.  We were running out of
15697 sensible letters.   This may break some makefiles, so check the
15698 current options list by invoking the compiler with no parameters.
15699
15700 Completed the design and implementation of the ASL namepath
15701 optimization option for the compiler.  This option optimizes all
15702 references to named objects to the shortest possible path.  The
15703 first attempt tries to utilize a single nameseg (4 characters) and
15704 the "search-to-root" algorithm used by the interpreter.  If that
15705 cannot be used (because either the name is not in the search path
15706 or there is a conflict with another object with the same name),
15707 the pathname is optimized using the carat prefix (usually a
15708 shorter string than specifying the entire path from the root.)
15709
15710 Implemented support to obtain the DSDT from the Windows registry
15711 (when the disassembly option is specified with no input file).
15712 Added this code as the implementation for AcpiOsTableOverride in
15713 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
15714 utility) to scan memory for the DSDT to the AcpiOsTableOverride
15715 function in the DOS OSL to make the disassembler truly OS
15716 independent.
15717
15718 Implemented a new option to disassemble and compile in one step.
15719 When used without an input filename, this option will grab the
15720 DSDT from the local machine, disassemble it, and compile it in one
15721 step.
15722
15723 Added a warning message for invalid escapes (a backslash followed
15724 by any character other than the allowable escapes).  This catches
15725 the quoted string error "\_SB_" (which should be "\\_SB_" ).
15726
15727 Also, there are numerous instances in the ACPI specification where
15728 this error occurs.
15729
15730 Added a compiler option to disable all optimizations.  This is
15731 basically the "compatibility mode" because by using this option,
15732 the AML code will come out exactly the same as other ASL
15733 compilers.
15734
15735 Added error messages for incorrectly ordered dependent resource
15736 functions.  This includes: missing EndDependentFn macro at end of
15737 dependent resource list, nested dependent function macros (both
15738 start and end), and missing StartDependentFn macro.  These are
15739 common errors that should be caught at compile time.
15740
15741 Implemented _OSI support for the disassembler and compiler.  _OSI
15742 must be included in the namespace for proper disassembly (because
15743 the disassembler must know the number of arguments.)
15744
15745 Added an "optimization" message type that is optional (off by
15746 default).  This message is used for all optimizations - including
15747 constant folding, integer optimization, and namepath optimization.
15748
15749 ----------------------------------------
15750 25 July 2002.  Summary of changes for this release.
15751
15752
15753 1) ACPI CA Core Subsystem Version 20020725:
15754
15755 The AML Disassembler has been enhanced to produce compilable ASL
15756 code and has been integrated into the iASL compiler (see below) as
15757 well as the single-step disassembly for the AML debugger and the
15758 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
15759 resource templates and macros are fully supported.  The
15760 disassembler has been tested on over 30 different AML files,
15761 producing identical AML when the resulting disassembled ASL file
15762 is recompiled with the same ASL compiler.
15763
15764 Modified the Resource Manager to allow zero interrupts and zero
15765 dma channels during the GetCurrentResources call.  This was
15766 causing problems on some platforms.
15767
15768 Added the AcpiOsRedirectOutput interface to the OSL to simplify
15769 output redirection for the AcpiOsPrintf and AcpiOsVprintf
15770 interfaces.
15771
15772 Code and Data Size: Current core subsystem library sizes are shown
15773 below.  These are the code and data sizes for the acpica.lib
15774 produced by the Microsoft Visual C++ 6.0 compiler, and these
15775 values do not include any ACPI driver or OSPM code.  The debug
15776 version of the code includes the debug output trace mechanism and
15777 has a larger code and data size.  Note that these values will vary
15778 depending on the efficiency of the compiler and the compiler
15779 options used during generation.
15780
15781   Previous Release
15782     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15783     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15784   Current Release:
15785     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15786     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15787
15788
15789 2) Linux
15790
15791 Fixed a panic in the EC driver (Dominik Brodowski)
15792
15793 Implemented checksum of the R/XSDT itself during Linux table scan
15794 (Richard Schaal)
15795
15796
15797 3) iASL compiler
15798
15799 The AML disassembler is integrated into the compiler.  The "-d"
15800 option invokes the disassembler  to completely disassemble an
15801 input AML file, producing as output a text ASL file with the
15802 extension ".dsl" (to avoid name collisions with existing .asl
15803 source files.)  A future enhancement will allow the disassembler
15804 to obtain the BIOS DSDT from the registry under Windows.
15805
15806 Fixed a problem with the VendorShort and VendorLong resource
15807 descriptors where an invalid AML sequence was created.
15808
15809 Implemented a fix for BufferData term in the ASL parser.  It was
15810 inadvertently defined twice, allowing invalid syntax to pass and
15811 causing reduction conflicts.
15812
15813 Fixed a problem where the Ones opcode could get converted to a
15814 value of zero if "Ones" was used where a byte, word or dword value
15815 was expected.  The 64-bit value is now truncated to the correct
15816 size with the correct value.
15817
15818
15819
15820 ----------------------------------------
15821 02 July 2002.  Summary of changes for this release.
15822
15823
15824 1) ACPI CA Core Subsystem Version 20020702:
15825
15826 The Table Manager code has been restructured to add several new
15827 features.  Tables that are not required by the core subsystem
15828 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
15829 validated in any way and are returned from AcpiGetFirmwareTable if
15830 requested.  The AcpiOsTableOverride interface is now called for
15831 each table that is loaded by the subsystem in order to allow the
15832 host to override any table it chooses.  Previously, only the DSDT
15833 could be overridden.  Added one new files, tbrsdt.c and
15834 tbgetall.c.
15835
15836 Fixed a problem with the conversion of internal package objects to
15837 external objects (when a package is returned from a control
15838 method.)  The return buffer length was set to zero instead of the
15839 proper length of the package object.
15840
15841 Fixed a reported problem with the use of the RefOf and DeRefOf
15842 operators when passing reference arguments to control methods.  A
15843 new type of Reference object is used internally for references
15844 produced by the RefOf operator.
15845
15846 Added additional error messages in the Resource Manager to explain
15847 AE_BAD_DATA errors when they occur during resource parsing.
15848
15849 Split the AcpiEnableSubsystem into two primitives to enable a
15850 finer granularity initialization sequence.  These two calls should
15851 be called in this order: AcpiEnableSubsystem (flags),
15852 AcpiInitializeObjects (flags).  The flags parameter remains the
15853 same.
15854
15855
15856 2) Linux
15857
15858 Updated the ACPI utilities module to understand the new style of
15859 fully resolved package objects that are now returned from the core
15860 subsystem.  This eliminates errors of the form:
15861
15862     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
15863     acpi_utils-0430 [145] acpi_evaluate_reference:
15864         Invalid element in package (not a device reference)
15865
15866 The method evaluation utility uses the new buffer allocation
15867 scheme instead of calling AcpiEvaluate Object twice.
15868
15869 Added support for ECDT. This allows the use of the Embedded
15870
15871 Controller before the namespace has been fully initialized, which
15872 is necessary for ACPI 2.0 support, and for some laptops to
15873 initialize properly. (Laptops using ECDT are still rare, so only
15874 limited testing was performed of the added functionality.)
15875
15876 Fixed memory leaks in the EC driver.
15877
15878 Eliminated a brittle code structure in acpi_bus_init().
15879
15880 Eliminated the acpi_evaluate() helper function in utils.c. It is
15881 no longer needed since acpi_evaluate_object can optionally
15882 allocate memory for the return object.
15883
15884 Implemented fix for keyboard hang when getting battery readings on
15885 some systems (Stephen White)
15886
15887 PCI IRQ routing update (Dominik Brodowski)
15888
15889 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
15890 support
15891
15892 ----------------------------------------
15893 11 June 2002.  Summary of changes for this release.
15894
15895
15896 1) ACPI CA Core Subsystem Version 20020611:
15897
15898 Fixed a reported problem where constants such as Zero and One
15899 appearing within _PRT packages were not handled correctly within
15900 the resource manager code.  Originally reported against the ASL
15901 compiler because the code generator now optimizes integers to
15902 their minimal AML representation (i.e. AML constants if possible.)
15903 The _PRT code now handles all AML constant opcodes correctly
15904 (Zero, One, Ones, Revision).
15905
15906 Fixed a problem with the Concatenate operator in the AML
15907 interpreter where a buffer result object was incorrectly marked as
15908 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
15909
15910 All package sub-objects are now fully resolved before they are
15911 returned from the external ACPI interfaces.  This means that name
15912 strings are resolved to object handles, and constant operators
15913 (Zero, One, Ones, Revision) are resolved to Integers.
15914
15915 Implemented immediate resolution of the AML Constant opcodes
15916 (Zero, One, Ones, Revision) to Integer objects upon detection
15917 within the AML stream. This has simplified and reduced the
15918 generated code size of the subsystem by eliminating about 10
15919 switch statements for these constants (which previously were
15920 contained in Reference objects.)  The complicating issues are that
15921 the Zero opcode is used as a "placeholder" for unspecified
15922 optional target operands and stores to constants are defined to be
15923 no-ops.
15924
15925 Code and Data Size: Current core subsystem library sizes are shown
15926 below. These are the code and data sizes for the acpica.lib
15927 produced by the Microsoft Visual C++ 6.0 compiler, and these
15928 values do not include any ACPI driver or OSPM code.  The debug
15929 version of the code includes the debug output trace mechanism and
15930 has a larger code and data size.  Note that these values will vary
15931 depending on the efficiency of the compiler and the compiler
15932 options used during generation.
15933
15934   Previous Release
15935     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15936     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15937   Current Release:
15938     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15939     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15940
15941
15942 2) Linux
15943
15944
15945 Added preliminary support for obtaining _TRA data for PCI root
15946 bridges (Bjorn Helgaas).
15947
15948
15949 3) iASL Compiler Version X2046:
15950
15951 Fixed a problem where the "_DDN" reserved name was defined to be a
15952 control method with one argument.  There are no arguments, and
15953 _DDN does not have to be a control method.
15954
15955 Fixed a problem with the Linux version of the compiler where the
15956 source lines printed with error messages were the wrong lines.
15957 This turned out to be the "LF versus CR/LF" difference between
15958 Windows and Unix.  This appears to be the longstanding issue
15959 concerning listing output and error messages.
15960
15961 Fixed a problem with the Linux version of compiler where opcode
15962 names within error messages were wrong.  This was caused by a
15963 slight difference in the output of the Flex tool on Linux versus
15964 Windows.
15965
15966 Fixed a problem with the Linux compiler where the hex output files
15967 contained some garbage data caused by an internal buffer overrun.
15968
15969
15970 ----------------------------------------
15971 17 May 2002.  Summary of changes for this release.
15972
15973
15974 1) ACPI CA Core Subsystem Version 20020517:
15975
15976 Implemented a workaround to an BIOS bug discovered on the HP
15977 OmniBook where the FADT revision number and the table size are
15978 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
15979 behavior is to fallback to using only the ACPI 1.0 fields of the
15980 FADT if the table is too small to be a ACPI 2.0 table as claimed
15981 by the revision number.  Although this is a BIOS bug, this is a
15982 case where the workaround is simple enough and with no side
15983 effects, so it seemed prudent to add it.  A warning message is
15984 issued, however.
15985
15986 Implemented minimum size checks for the fixed-length ACPI tables -
15987 - the FADT and FACS, as well as consistency checks between the
15988 revision number and the table size.
15989
15990 Fixed a reported problem in the table override support where the
15991 new table pointer was incorrectly treated as a physical address
15992 instead of a logical address.
15993
15994 Eliminated the use of the AE_AML_ERROR exception and replaced it
15995 with more descriptive codes.
15996
15997 Fixed a problem where an exception would occur if an ASL Field was
15998 defined with no named Field Units underneath it (used by some
15999 index fields).
16000
16001 Code and Data Size: Current core subsystem library sizes are shown
16002 below.  These are the code and data sizes for the acpica.lib
16003 produced by the Microsoft Visual C++ 6.0 compiler, and these
16004 values do not include any ACPI driver or OSPM code.  The debug
16005 version of the code includes the debug output trace mechanism and
16006 has a larger code and data size.  Note that these values will vary
16007 depending on the efficiency of the compiler and the compiler
16008 options used during generation.
16009
16010   Previous Release
16011     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
16012     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
16013   Current Release:
16014     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
16015     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
16016
16017
16018
16019 2) Linux
16020
16021 Much work done on ACPI init (MADT and PCI IRQ routing support).
16022 (Paul D. and Dominik Brodowski)
16023
16024 Fix PCI IRQ-related panic on boot (Sam Revitch)
16025
16026 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
16027
16028 Fix "MHz" typo (Dominik Brodowski)
16029
16030 Fix RTC year 2000 issue (Dominik Brodowski)
16031
16032 Preclude multiple button proc entries (Eric Brunet)
16033
16034 Moved arch-specific code out of include/platform/aclinux.h
16035
16036 3) iASL Compiler Version X2044:
16037
16038 Implemented error checking for the string used in the EISAID macro
16039 (Usually used in the definition of the _HID object.)  The code now
16040 strictly enforces the PnP format - exactly 7 characters, 3
16041 uppercase letters and 4 hex digits.
16042
16043 If a raw string is used in the definition of the _HID object
16044 (instead of the EISAID macro), the string must contain all
16045 alphanumeric characters (e.g., "*PNP0011" is not allowed because
16046 of the asterisk.)
16047
16048 Implemented checking for invalid use of ACPI reserved names for
16049 most of the name creation operators (Name, Device, Event, Mutex,
16050 OperationRegion, PowerResource, Processor, and ThermalZone.)
16051 Previously, this check was only performed for control methods.
16052
16053 Implemented an additional check on the Name operator to emit an
16054 error if a reserved name that must be implemented in ASL as a
16055 control method is used.  We know that a reserved name must be a
16056 method if it is defined with input arguments.
16057
16058 The warning emitted when a namespace object reference is not found
16059 during the cross reference phase has been changed into an error.
16060 The "External" directive should be used for names defined in other
16061 modules.
16062
16063
16064 4) Tools and Utilities
16065
16066 The 16-bit tools (adump16 and aexec16) have been regenerated and
16067 tested.
16068
16069 Fixed a problem with the output of both acpidump and adump16 where
16070 the indentation of closing parentheses and brackets was not
16071
16072 aligned properly with the parent block.
16073
16074
16075 ----------------------------------------
16076 03 May 2002.  Summary of changes for this release.
16077
16078
16079 1) ACPI CA Core Subsystem Version 20020503:
16080
16081 Added support a new OSL interface that allows the host operating
16082
16083 system software to override the DSDT found in the firmware -
16084 AcpiOsTableOverride.  With this interface, the OSL can examine the
16085 version of the firmware DSDT and replace it with a different one
16086 if desired.
16087
16088 Added new external interfaces for accessing ACPI registers from
16089 device drivers and other system software - AcpiGetRegister and
16090 AcpiSetRegister.  This was simply an externalization of the
16091 existing AcpiHwBitRegister interfaces.
16092
16093 Fixed a regression introduced in the previous build where the
16094 ASL/AML CreateField operator always returned an error,
16095 "destination must be a NS Node".
16096
16097 Extended the maximum time (before failure) to successfully enable
16098 ACPI mode to 3 seconds.
16099
16100 Code and Data Size: Current core subsystem library sizes are shown
16101 below.  These are the code and data sizes for the acpica.lib
16102 produced by the Microsoft Visual C++ 6.0 compiler, and these
16103 values do not include any ACPI driver or OSPM code.  The debug
16104 version of the code includes the debug output trace mechanism and
16105 has a larger code and data size.  Note that these values will vary
16106 depending on the efficiency of the compiler and the compiler
16107 options used during generation.
16108
16109   Previous Release
16110     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
16111     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
16112   Current Release:
16113     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
16114     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
16115
16116
16117 2) Linux
16118
16119 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
16120 free. While 3 out of 4 of our in-house systems work fine, the last
16121 one still hangs when testing the LAPIC timer.
16122
16123 Renamed many files in 2.5 kernel release to omit "acpi_" from the
16124 name.
16125
16126 Added warning on boot for Presario 711FR.
16127
16128 Sleep improvements (Pavel Machek)
16129
16130 ACPI can now be built without CONFIG_PCI enabled.
16131
16132 IA64: Fixed memory map functions (JI Lee)
16133
16134
16135 3) iASL Compiler Version X2043:
16136
16137 Added support to allow the compiler to be integrated into the MS
16138 VC++ development environment for one-button compilation of single
16139 files or entire projects -- with error-to-source-line mapping.
16140
16141 Implemented support for compile-time constant folding for the
16142 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
16143 specification.  This allows the ASL writer to use expressions
16144 instead of Integer/Buffer/String constants in terms that must
16145 evaluate to constants at compile time and will also simplify the
16146 emitted AML in any such sub-expressions that can be folded
16147 (evaluated at compile-time.)  This increases the size of the
16148 compiler significantly because a portion of the ACPI CA AML
16149 interpreter is included within the compiler in order to pre-
16150 evaluate constant expressions.
16151
16152
16153 Fixed a problem with the "Unicode" ASL macro that caused the
16154 compiler to fault.  (This macro is used in conjunction with the
16155 _STR reserved name.)
16156
16157 Implemented an AML opcode optimization to use the Zero, One, and
16158 Ones opcodes where possible to further reduce the size of integer
16159 constants and thus reduce the overall size of the generated AML
16160 code.
16161
16162 Implemented error checking for new reserved terms for ACPI version
16163 2.0A.
16164
16165 Implemented the -qr option to display the current list of ACPI
16166 reserved names known to the compiler.
16167
16168 Implemented the -qc option to display the current list of ASL
16169 operators that are allowed within constant expressions and can
16170 therefore be folded at compile time if the operands are constants.
16171
16172
16173 4) Documentation
16174
16175 Updated the Programmer's Reference for new interfaces, data types,
16176 and memory allocation model options.
16177
16178 Updated the iASL Compiler User Reference to apply new format and
16179 add information about new features and options.
16180
16181 ----------------------------------------
16182 19 April 2002.  Summary of changes for this release.
16183
16184 1) ACPI CA Core Subsystem Version 20020419:
16185
16186 The source code base for the Core Subsystem has been completely
16187 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
16188 versions.  The Lint option files used are included in the
16189 /acpi/generate/lint directory.
16190
16191 Implemented enhanced status/error checking across the entire
16192 Hardware manager subsystem.  Any hardware errors (reported from
16193 the OSL) are now bubbled up and will abort a running control
16194 method.
16195
16196
16197 Fixed a problem where the per-ACPI-table integer width (32 or 64)
16198 was stored only with control method nodes, causing a fault when
16199 non-control method code was executed during table loading.  The
16200 solution implemented uses a global variable to indicate table
16201 width across the entire ACPI subsystem.  Therefore, ACPI CA does
16202 not support mixed integer widths across different ACPI tables
16203 (DSDT, SSDT).
16204
16205 Fixed a problem where NULL extended fields (X fields) in an ACPI
16206 2.0 ACPI FADT caused the table load to fail.  Although the
16207 existing ACPI specification is a bit fuzzy on this topic, the new
16208 behavior is to fall back on a ACPI 1.0 field if the corresponding
16209 ACPI 2.0 X field is zero (even though the table revision indicates
16210 a full ACPI 2.0 table.)  The ACPI specification will be updated to
16211 clarify this issue.
16212
16213 Fixed a problem with the SystemMemory operation region handler
16214 where memory was always accessed byte-wise even if the AML-
16215 specified access width was larger than a byte.  This caused
16216 problems on systems with memory-mapped I/O.  Memory is now
16217 accessed with the width specified.  On systems that do not support
16218 non-aligned transfers, a check is made to guarantee proper address
16219 alignment before proceeding in order to avoid an AML-caused
16220 alignment fault within the kernel.
16221
16222
16223 Fixed a problem with the ExtendedIrq resource where only one byte
16224 of the 4-byte Irq field was extracted.
16225
16226 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
16227 function was out of date and required a rewrite.
16228
16229 Code and Data Size: Current core subsystem library sizes are shown
16230 below.  These are the code and data sizes for the acpica.lib
16231 produced by the Microsoft Visual C++ 6.0 compiler, and these
16232 values do not include any ACPI driver or OSPM code.  The debug
16233 version of the code includes the debug output trace mechanism and
16234 has a larger code and data size.  Note that these values will vary
16235 depending on the efficiency of the compiler and the compiler
16236 options used during generation.
16237
16238   Previous Release
16239     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16240     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16241   Current Release:
16242     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
16243     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
16244
16245
16246 2) Linux
16247
16248 PCI IRQ routing fixes (Dominik Brodowski)
16249
16250
16251 3) iASL Compiler Version X2042:
16252
16253 Implemented an additional compile-time error check for a field
16254 unit whose size + minimum access width would cause a run-time
16255 access beyond the end-of-region.  Previously, only the field size
16256 itself was checked.
16257
16258 The Core subsystem and iASL compiler now share a common parse
16259 object in preparation for compile-time evaluation of the type
16260 3/4/5 ASL operators.
16261
16262
16263 ----------------------------------------
16264 Summary of changes for this release: 03_29_02
16265
16266 1) ACPI CA Core Subsystem Version 20020329:
16267
16268 Implemented support for late evaluation of TermArg operands to
16269 Buffer and Package objects.  This allows complex expressions to be
16270 used in the declarations of these object types.
16271
16272 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
16273 1.0, if the field was larger than 32 bits, it was returned as a
16274 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
16275 the field is returned as a buffer only if the field is larger than
16276 64 bits.  The TableRevision is now considered when making this
16277 conversion to avoid incompatibility with existing ASL code.
16278
16279 Implemented logical addressing for AcpiOsGetRootPointer.  This
16280 allows an RSDP with either a logical or physical address.  With
16281 this support, the host OS can now override all ACPI tables with
16282 one logical RSDP.  Includes implementation of  "typed" pointer
16283 support to allow a common data type for both physical and logical
16284 pointers internally.  This required a change to the
16285 AcpiOsGetRootPointer interface.
16286
16287 Implemented the use of ACPI 2.0 Generic Address Structures for all
16288 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
16289 mapped I/O for these ACPI features.
16290
16291 Initialization now ignores not only non-required tables (All
16292 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
16293 not validate the table headers of unrecognized tables.
16294
16295 Fixed a problem where a notify handler could only be
16296 installed/removed on an object of type Device.  All "notify"
16297
16298 objects are now supported -- Devices, Processor, Power, and
16299 Thermal.
16300
16301 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
16302 critical information is returned when this debug level is enabled.
16303
16304 Code and Data Size: Current core subsystem library sizes are shown
16305 below.  These are the code and data sizes for the acpica.lib
16306 produced by the Microsoft Visual C++ 6.0 compiler, and these
16307 values do not include any ACPI driver or OSPM code.  The debug
16308 version of the code includes the debug output trace mechanism and
16309 has a larger code and data size.  Note that these values will vary
16310 depending on the efficiency of the compiler and the compiler
16311 options used during generation.
16312
16313   Previous Release
16314     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16315     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16316   Current Release:
16317     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16318     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16319
16320
16321 2) Linux:
16322
16323 The processor driver (acpi_processor.c) now fully supports ACPI
16324 2.0-based processor performance control (e.g. Intel(R)
16325 SpeedStep(TM) technology) Note that older laptops that only have
16326 the Intel "applet" interface are not supported through this.  The
16327 'limit' and 'performance' interface (/proc) are fully functional.
16328 [Note that basic policy for controlling performance state
16329 transitions will be included in the next version of ospmd.]  The
16330 idle handler was modified to more aggressively use C2, and PIIX4
16331 errata handling underwent a complete overhaul (big thanks to
16332 Dominik Brodowski).
16333
16334 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
16335 based devices in the ACPI namespace are now dynamically bound
16336 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
16337 This allows, among other things, ACPI to resolve bus numbers for
16338 subordinate PCI bridges.
16339
16340 Enhanced PCI IRQ routing to get the proper bus number for _PRT
16341 entries defined underneath PCI bridges.
16342
16343 Added IBM 600E to bad bios list due to invalid _ADR value for
16344 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
16345
16346 In the process of adding full MADT support (e.g. IOAPIC) for IA32
16347 (acpi.c, mpparse.c) -- stay tuned.
16348
16349 Added back visual differentiation between fixed-feature and
16350 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
16351 button/power/PWRF) to simplify button identification.
16352
16353 We no longer use -Wno-unused when compiling debug. Please ignore
16354 any "_THIS_MODULE defined but not used" messages.
16355
16356 Can now shut down the system using "magic sysrq" key.
16357
16358
16359 3) iASL Compiler version 2041:
16360
16361 Fixed a problem where conversion errors for hex/octal/decimal
16362 constants were not reported.
16363
16364 Implemented a fix for the General Register template Address field.
16365 This field was 8 bits when it should be 64.
16366
16367 Fixed a problem where errors/warnings were no longer being emitted
16368 within the listing output file.
16369
16370 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
16371 exactly 4 characters, alphanumeric only.
16372
16373
16374
16375
16376 ----------------------------------------
16377 Summary of changes for this release: 03_08_02
16378
16379
16380 1) ACPI CA Core Subsystem Version 20020308:
16381
16382 Fixed a problem with AML Fields where the use of the "AccessAny"
16383 keyword could cause an interpreter error due to attempting to read
16384 or write beyond the end of the parent Operation Region.
16385
16386 Fixed a problem in the SystemMemory Operation Region handler where
16387 an attempt was made to map memory beyond the end of the region.
16388 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
16389 errors on some Linux systems.
16390
16391 Fixed a problem where the interpreter/namespace "search to root"
16392 algorithm was not functioning for some object types.  Relaxed the
16393 internal restriction on the search to allow upsearches for all
16394 external object types as well as most internal types.
16395
16396
16397 2) Linux:
16398
16399 We now use safe_halt() macro versus individual calls to sti | hlt.
16400
16401 Writing to the processor limit interface should now work. "echo 1"
16402 will increase the limit, 2 will decrease, and 0 will reset to the
16403
16404 default.
16405
16406
16407 3) ASL compiler:
16408
16409 Fixed segfault on Linux version.
16410
16411
16412 ----------------------------------------
16413 Summary of changes for this release: 02_25_02
16414
16415 1) ACPI CA Core Subsystem:
16416
16417
16418 Fixed a problem where the GPE bit masks were not initialized
16419 properly, causing erratic GPE behavior.
16420
16421 Implemented limited support for multiple calling conventions.  The
16422 code can be generated with either the VPL (variable parameter
16423 list, or "C") convention, or the FPL (fixed parameter list, or
16424 "Pascal") convention.  The core subsystem is about 3.4% smaller
16425 when generated with FPL.
16426
16427
16428 2) Linux
16429
16430 Re-add some /proc/acpi/event functionality that was lost during
16431 the rewrite
16432
16433 Resolved issue with /proc events for fixed-feature buttons showing
16434 up as the system device.
16435
16436 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
16437
16438 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
16439
16440 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
16441
16442 Fixed limit interface & usage to fix bugs with passive cooling
16443 hysterisis.
16444
16445 Restructured PRT support.
16446
16447
16448 ----------------------------------------
16449 Summary of changes for this label: 02_14_02
16450
16451
16452 1) ACPI CA Core Subsystem:
16453
16454 Implemented support in AcpiLoadTable to allow loading of FACS and
16455 FADT tables.
16456
16457 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
16458 been removed.  All 64-bit platforms should be migrated to the ACPI
16459 2.0 tables.  The actbl71.h header has been removed from the source
16460 tree.
16461
16462 All C macros defined within the subsystem have been prefixed with
16463 "ACPI_" to avoid collision with other system include files.
16464
16465 Removed the return value for the two AcpiOsPrint interfaces, since
16466 it is never used and causes lint warnings for ignoring the return
16467 value.
16468
16469 Added error checking to all internal mutex acquire and release
16470 calls.  Although a failure from one of these interfaces is
16471 probably a fatal system error, these checks will cause the
16472 immediate abort of the currently executing method or interface.
16473
16474 Fixed a problem where the AcpiSetCurrentResources interface could
16475 fault.  This was a side effect of the deployment of the new memory
16476 allocation model.
16477
16478 Fixed a couple of problems with the Global Lock support introduced
16479 in the last major build.  The "common" (1.0/2.0) internal FACS was
16480 being overwritten with the FACS signature and clobbering the
16481 Global Lock pointer.  Also, the actual firmware FACS was being
16482 unmapped after construction of the "common" FACS, preventing
16483 access to the actual Global Lock field within it.  The "common"
16484 internal FACS is no longer installed as an actual ACPI table; it
16485 is used simply as a global.
16486
16487 Code and Data Size: Current core subsystem library sizes are shown
16488 below.  These are the code and data sizes for the acpica.lib
16489 produced by the Microsoft Visual C++ 6.0 compiler, and these
16490 values do not include any ACPI driver or OSPM code.  The debug
16491 version of the code includes the debug output trace mechanism and
16492 has a larger code and data size.  Note that these values will vary
16493 depending on the efficiency of the compiler and the compiler
16494 options used during generation.
16495
16496   Previous Release (02_07_01)
16497     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16498     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16499   Current Release:
16500     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16501     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16502
16503
16504 2) Linux
16505
16506 Updated Linux-specific code for core macro and OSL interface
16507 changes described above.
16508
16509 Improved /proc/acpi/event. It now can be opened only once and has
16510 proper poll functionality.
16511
16512 Fixed and restructured power management (acpi_bus).
16513
16514 Only create /proc "view by type" when devices of that class exist.
16515
16516 Fixed "charging/discharging" bug (and others) in acpi_battery.
16517
16518 Improved thermal zone code.
16519
16520
16521 3) ASL Compiler, version X2039:
16522
16523
16524 Implemented the new compiler restriction on ASL String hex/octal
16525 escapes to non-null, ASCII values.  An error results if an invalid
16526 value is used.  (This will require an ACPI 2.0 specification
16527 change.)
16528
16529 AML object labels that are output to the optional C and ASM source
16530 are now prefixed with both the ACPI table signature and table ID
16531 to help guarantee uniqueness within a large BIOS project.
16532
16533
16534 ----------------------------------------
16535 Summary of changes for this label: 02_01_02
16536
16537 1) ACPI CA Core Subsystem:
16538
16539 ACPI 2.0 support is complete in the entire Core Subsystem and the
16540 ASL compiler. All new ACPI 2.0 operators are implemented and all
16541 other changes for ACPI 2.0 support are complete.  With
16542 simultaneous code and data optimizations throughout the subsystem,
16543 ACPI 2.0 support has been implemented with almost no additional
16544 cost in terms of code and data size.
16545
16546 Implemented a new mechanism for allocation of return buffers.  If
16547 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
16548 be allocated on behalf of the caller.  Consolidated all return
16549 buffer validation and allocation to a common procedure.  Return
16550 buffers will be allocated via the primary OSL allocation interface
16551 since it appears that a separate pool is not needed by most users.
16552 If a separate pool is required for these buffers, the caller can
16553 still use the original mechanism and pre-allocate the buffer(s).
16554
16555 Implemented support for string operands within the DerefOf
16556 operator.
16557
16558 Restructured the Hardware and Event managers to be table driven,
16559 simplifying the source code and reducing the amount of generated
16560 code.
16561
16562 Split the common read/write low-level ACPI register bitfield
16563 procedure into a separate read and write, simplifying the code
16564 considerably.
16565
16566 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
16567 used only a handful of times and didn't have enough critical mass
16568 for a separate interface.  Replaced with a common calloc procedure
16569 in the core.
16570
16571 Fixed a reported problem with the GPE number mapping mechanism
16572 that allows GPE1 numbers to be non-contiguous with GPE0.
16573 Reorganized the GPE information and shrunk a large array that was
16574 originally large enough to hold info for all possible GPEs (256)
16575 to simply large enough to hold all GPEs up to the largest GPE
16576 number on the machine.
16577
16578 Fixed a reported problem with resource structure alignment on 64-
16579 bit platforms.
16580
16581 Changed the AcpiEnableEvent and AcpiDisableEvent external
16582 interfaces to not require any flags for the common case of
16583 enabling/disabling a GPE.
16584
16585 Implemented support to allow a "Notify" on a Processor object.
16586
16587 Most TBDs in comments within the source code have been resolved
16588 and eliminated.
16589
16590
16591 Fixed a problem in the interpreter where a standalone parent
16592 prefix (^) was not handled correctly in the interpreter and
16593 debugger.
16594
16595 Removed obsolete and unnecessary GPE save/restore code.
16596
16597 Implemented Field support in the ASL Load operator.  This allows a
16598 table to be loaded from a named field, in addition to loading a
16599 table directly from an Operation Region.
16600
16601 Implemented timeout and handle support in the external Global Lock
16602 interfaces.
16603
16604 Fixed a problem in the AcpiDump utility where pathnames were no
16605 longer being generated correctly during the dump of named objects.
16606
16607 Modified the AML debugger to give a full display of if/while
16608 predicates instead of just one AML opcode at a time.  (The
16609 predicate can have several nested ASL statements.)  The old method
16610 was confusing during single stepping.
16611
16612 Code and Data Size: Current core subsystem library sizes are shown
16613 below. These are the code and data sizes for the acpica.lib
16614 produced by the Microsoft Visual C++ 6.0 compiler, and these
16615 values do not include any ACPI driver or OSPM code.  The debug
16616 version of the code includes the debug output trace mechanism and
16617 has a larger code and data size.  Note that these values will vary
16618 depending on the efficiency of the compiler and the compiler
16619 options used during generation.
16620
16621   Previous Release (12_18_01)
16622      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16623      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16624    Current Release:
16625      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16626      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16627
16628 2) Linux
16629
16630  Implemented fix for PIIX reverse throttling errata (Processor
16631 driver)
16632
16633 Added new Limit interface (Processor and Thermal drivers)
16634
16635 New thermal policy (Thermal driver)
16636
16637 Many updates to /proc
16638
16639 Battery "low" event support (Battery driver)
16640
16641 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
16642
16643 IA32 - IA64 initialization unification, no longer experimental
16644
16645 Menuconfig options redesigned
16646
16647 3) ASL Compiler, version X2037:
16648
16649 Implemented several new output features to simplify integration of
16650 AML code into  firmware: 1) Output the AML in C source code with
16651 labels for each named ASL object.  The    original ASL source code
16652 is interleaved as C comments. 2) Output the AML in ASM source code
16653 with labels and interleaved ASL    source. 3) Output the AML in
16654 raw hex table form, in either C or ASM.
16655
16656 Implemented support for optional string parameters to the
16657 LoadTable operator.
16658
16659 Completed support for embedded escape sequences within string
16660 literals.  The compiler now supports all single character escapes
16661 as well as the Octal and Hex escapes.  Note: the insertion of a
16662 null byte into a string literal (via the hex/octal escape) causes
16663 the string to be immediately terminated.  A warning is issued.
16664
16665 Fixed a problem where incorrect AML was generated for the case
16666 where an ASL namepath consists of a single parent prefix (
16667
16668 ) with no trailing name segments.
16669
16670 The compiler has been successfully generated with a 64-bit C
16671 compiler.
16672
16673
16674
16675
16676 ----------------------------------------
16677 Summary of changes for this label: 12_18_01
16678
16679 1) Linux
16680
16681 Enhanced blacklist with reason and severity fields. Any table's
16682 signature may now be used to identify a blacklisted system.
16683
16684 Call _PIC control method to inform the firmware which interrupt
16685 model the OS is using. Turn on any disabled link devices.
16686
16687 Cleaned up busmgr /proc error handling (Andreas Dilger)
16688
16689  2) ACPI CA Core Subsystem:
16690
16691 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
16692 while loop)
16693
16694 Completed implementation of the ACPI 2.0 "Continue",
16695 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
16696 operators.  All new ACPI 2.0 operators are now implemented in both
16697 the ASL compiler and the AML interpreter.  The only remaining ACPI
16698 2.0 task is support for the String data type in the DerefOf
16699 operator.  Fixed a problem with AcquireMutex where the status code
16700 was lost if the caller had to actually wait for the mutex.
16701
16702 Increased the maximum ASL Field size from 64K bits to 4G bits.
16703
16704 Completed implementation of the external Global Lock interfaces --
16705 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
16706 Handler parameters were added.
16707
16708 Completed another pass at removing warnings and issues when
16709 compiling with 64-bit compilers.  The code now compiles cleanly
16710 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
16711 add and subtract (diff) macros have changed considerably.
16712
16713
16714 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
16715 64-bit platforms, 32-bits on all others.  This type is used
16716 wherever memory allocation and/or the C sizeof() operator is used,
16717 and affects the OSL memory allocation interfaces AcpiOsAllocate
16718 and AcpiOsCallocate.
16719
16720 Implemented sticky user breakpoints in the AML debugger.
16721
16722 Code and Data Size: Current core subsystem library sizes are shown
16723 below. These are the code and data sizes for the acpica.lib
16724 produced by the Microsoft Visual C++ 6.0 compiler, and these
16725 values do not include any ACPI driver or OSPM code.  The debug
16726 version of the code includes the debug output trace mechanism and
16727 has a larger code and data size. Note that these values will vary
16728 depending on the efficiency of the compiler and the compiler
16729 options used during generation.
16730
16731   Previous Release (12_05_01)
16732      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16733      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16734    Current Release:
16735      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16736      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16737
16738  3) ASL Compiler, version X2034:
16739
16740 Now checks for (and generates an error if detected) the use of a
16741 Break or Continue statement without an enclosing While statement.
16742
16743
16744 Successfully generated the compiler with the Intel 64-bit C
16745 compiler.
16746
16747  ----------------------------------------
16748 Summary of changes for this label: 12_05_01
16749
16750  1) ACPI CA Core Subsystem:
16751
16752 The ACPI 2.0 CopyObject operator is fully implemented.  This
16753 operator creates a new copy of an object (and is also used to
16754 bypass the "implicit conversion" mechanism of the Store operator.)
16755
16756 The ACPI 2.0 semantics for the SizeOf operator are fully
16757 implemented.  The change is that performing a SizeOf on a
16758 reference object causes an automatic dereference of the object to
16759 tha actual value before the size is evaluated. This behavior was
16760 undefined in ACPI 1.0.
16761
16762 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
16763 have been implemented.  The interrupt polarity and mode are now
16764 independently set.
16765
16766 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
16767 appearing in Package objects were not properly converted to
16768 integers when the internal Package was converted to an external
16769 object (via the AcpiEvaluateObject interface.)
16770
16771 Fixed a problem with the namespace object deletion mechanism for
16772 objects created by control methods.  There were two parts to this
16773 problem: 1) Objects created during the initialization phase method
16774 parse were not being deleted, and 2) The object owner ID mechanism
16775 to track objects was broken.
16776
16777 Fixed a problem where the use of the ASL Scope operator within a
16778 control method would result in an invalid opcode exception.
16779
16780 Fixed a problem introduced in the previous label where the buffer
16781 length required for the _PRT structure was not being returned
16782 correctly.
16783
16784 Code and Data Size: Current core subsystem library sizes are shown
16785 below. These are the code and data sizes for the acpica.lib
16786 produced by the Microsoft Visual C++ 6.0 compiler, and these
16787 values do not include any ACPI driver or OSPM code.  The debug
16788 version of the code includes the debug output trace mechanism and
16789 has a larger code and data size.  Note that these values will vary
16790 depending on the efficiency of the compiler and the compiler
16791 options used during generation.
16792
16793   Previous Release (11_20_01)
16794      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16795      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16796
16797   Current Release:
16798      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16799      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16800
16801  2) Linux:
16802
16803 Updated all files to apply cleanly against 2.4.16.
16804
16805 Added basic PCI Interrupt Routing Table (PRT) support for IA32
16806 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
16807 version supports both static and dyanmic PRT entries, but dynamic
16808 entries are treated as if they were static (not yet
16809 reconfigurable).  Architecture- specific code to use this data is
16810 absent on IA32 but should be available shortly.
16811
16812 Changed the initialization sequence to start the ACPI interpreter
16813 (acpi_init) prior to initialization of the PCI driver (pci_init)
16814 in init/main.c.  This ordering is required to support PRT and
16815 facilitate other (future) enhancement.  A side effect is that the
16816 ACPI bus driver and certain device drivers can no longer be loaded
16817 as modules.
16818
16819 Modified the 'make menuconfig' options to allow PCI Interrupt
16820 Routing support to be included without the ACPI Bus and other
16821 device drivers.
16822
16823  3) ASL Compiler, version X2033:
16824
16825 Fixed some issues with the use of the new CopyObject and
16826 DataTableRegion operators.  Both are fully functional.
16827
16828  ----------------------------------------
16829 Summary of changes for this label: 11_20_01
16830
16831  20 November 2001.  Summary of changes for this release.
16832
16833  1) ACPI CA Core Subsystem:
16834
16835 Updated Index support to match ACPI 2.0 semantics.  Storing a
16836 Integer, String, or Buffer to an Index of a Buffer will store only
16837 the least-significant byte of the source to the Indexed buffer
16838 byte.  Multiple writes are not performed.
16839
16840 Fixed a problem where the access type used in an AccessAs ASL
16841 operator was not recorded correctly into the field object.
16842
16843 Fixed a problem where ASL Event objects were created in a
16844 signalled state. Events are now created in an unsignalled state.
16845
16846 The internal object cache is now purged after table loading and
16847 initialization to reduce the use of dynamic kernel memory -- on
16848 the assumption that object use is greatest during the parse phase
16849 of the entire table (versus the run-time use of individual control
16850 methods.)
16851
16852 ACPI 2.0 variable-length packages are now fully operational.
16853
16854 Code and Data Size: Code and Data optimizations have permitted new
16855 feature development with an actual reduction in the library size.
16856 Current core subsystem library sizes are shown below.  These are
16857 the code and data sizes for the acpica.lib produced by the
16858 Microsoft Visual C++ 6.0 compiler, and these values do not include
16859 any ACPI driver or OSPM code.  The debug version of the code
16860 includes the debug output trace mechanism and has a larger code
16861 and data size.  Note that these values will vary depending on the
16862 efficiency of the compiler and the compiler options used during
16863 generation.
16864
16865   Previous Release (11_09_01):
16866      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16867      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16868
16869   Current Release:
16870      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16871      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16872
16873  2) Linux:
16874
16875 Enhanced the ACPI boot-time initialization code to allow the use
16876 of Local APIC tables for processor enumeration on IA-32, and to
16877 pave the way for a fully MPS-free boot (on SMP systems) in the
16878 near future.  This functionality replaces
16879 arch/i386/kernel/acpitables.c, which was introduced in an earlier
16880 2.4.15-preX release.  To enable this feature you must add
16881 "acpi_boot=on" to the kernel command line -- see the help entry
16882 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
16883 the works...
16884
16885 Restructured the configuration options to allow boot-time table
16886 parsing support without inclusion of the ACPI Interpreter (and
16887 other) code.
16888
16889 NOTE: This release does not include fixes for the reported events,
16890 power-down, and thermal passive cooling issues (coming soon).
16891
16892  3) ASL Compiler:
16893
16894 Added additional typechecking for Fields within restricted access
16895 Operation Regions.  All fields within EC and CMOS regions must be
16896 declared with ByteAcc. All fields withing SMBus regions must be
16897 declared with the BufferAcc access type.
16898
16899 Fixed a problem where the listing file output of control methods
16900 no longer interleaved the actual AML code with the ASL source
16901 code.
16902
16903
16904
16905
16906 ----------------------------------------
16907 Summary of changes for this label: 11_09_01
16908
16909 1) ACPI CA Core Subsystem:
16910
16911 Implemented ACPI 2.0-defined support for writes to fields with a
16912 Buffer, String, or Integer source operand that is smaller than the
16913 target field. In these cases, the source operand is zero-extended
16914 to fill the target field.
16915
16916 Fixed a problem where a Field starting bit offset (within the
16917 parent operation region) was calculated incorrectly if the
16918
16919 alignment of the field differed from the access width.  This
16920 affected CreateWordField, CreateDwordField, CreateQwordField, and
16921 possibly other fields that use the "AccessAny" keyword.
16922
16923 Fixed a problem introduced in the 11_02_01 release where indirect
16924 stores through method arguments did not operate correctly.
16925
16926 2) Linux:
16927
16928 Implemented boot-time ACPI table parsing support
16929 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
16930 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
16931 legacy BIOS interfaces (e.g. MPS) for the configuration of system
16932 processors, memory, and interrupts during setup_arch().  Note that
16933 this patch does not include the required architecture-specific
16934 changes required to apply this information -- subsequent patches
16935 will be posted for both IA32 and IA64 to achieve this.
16936
16937 Added low-level sleep support for IA32 platforms, courtesy of Pat
16938 Mochel. This allows IA32 systems to transition to/from various
16939 sleeping states (e.g. S1, S3), although the lack of a centralized
16940 driver model and power-manageable drivers will prevent its
16941 (successful) use on most systems.
16942
16943 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
16944 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
16945 tables" option, etc.
16946
16947 Increased the default timeout for the EC driver from 1ms to 10ms
16948 (1000 cycles of 10us) to try to address AE_TIME errors during EC
16949 transactions.
16950
16951  ----------------------------------------
16952 Summary of changes for this label: 11_02_01
16953
16954 1) ACPI CA Core Subsystem:
16955
16956 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
16957 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
16958 implemented.
16959
16960 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
16961 changes to support ACPI 2.0 Qword field access.  Read/Write
16962 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
16963 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
16964 the value parameter for the address space handler interface is now
16965 an ACPI_INTEGER.  OSL implementations of these interfaces must now
16966 handle the case where the Width parameter is 64.
16967
16968 Index Fields: Fixed a problem where unaligned bit assembly and
16969 disassembly for IndexFields was not supported correctly.
16970
16971 Index and Bank Fields:  Nested Index and Bank Fields are now
16972 supported. During field access, a check is performed to ensure
16973 that the value written to an Index or Bank register is not out of
16974 the range of the register.  The Index (or Bank) register is
16975 written before each access to the field data. Future support will
16976 include allowing individual IndexFields to be wider than the
16977 DataRegister width.
16978
16979 Fields: Fixed a problem where the AML interpreter was incorrectly
16980 attempting to write beyond the end of a Field/OpRegion.  This was
16981 a boundary case that occurred when a DWORD field was written to a
16982 BYTE access OpRegion, forcing multiple writes and causing the
16983 interpreter to write one datum too many.
16984
16985 Fields: Fixed a problem with Field/OpRegion access where the
16986 starting bit address of a field was incorrectly calculated if the
16987 current access type was wider than a byte (WordAcc, DwordAcc, or
16988 QwordAcc).
16989
16990 Fields: Fixed a problem where forward references to individual
16991 FieldUnits (individual Field names within a Field definition) were
16992 not resolved during the AML table load.
16993
16994 Fields: Fixed a problem where forward references from a Field
16995 definition to the parent Operation Region definition were not
16996 resolved during the AML table load.
16997
16998 Fields: Duplicate FieldUnit names within a scope are now detected
16999 during AML table load.
17000
17001 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
17002 returned an incorrect name for the root node.
17003
17004 Code and Data Size: Code and Data optimizations have permitted new
17005 feature development with an actual reduction in the library size.
17006 Current core subsystem library sizes are shown below.  These are
17007 the code and data sizes for the acpica.lib produced by the
17008 Microsoft Visual C++ 6.0 compiler, and these values do not include
17009 any ACPI driver or OSPM code.  The debug version of the code
17010 includes the debug output trace mechanism and has a larger code
17011 and data size.  Note that these values will vary depending on the
17012 efficiency of the compiler and the compiler options used during
17013 generation.
17014
17015   Previous Release (10_18_01):
17016      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
17017      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
17018
17019   Current Release:
17020      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
17021      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
17022
17023  2) Linux:
17024
17025 Improved /proc processor output (Pavel Machek) Re-added
17026 MODULE_LICENSE("GPL") to all modules.
17027
17028  3) ASL Compiler version X2030:
17029
17030 Duplicate FieldUnit names within a scope are now detected and
17031 flagged as errors.
17032
17033  4) Documentation:
17034
17035 Programmer Reference updated to reflect OSL and address space
17036 handler interface changes described above.
17037
17038 ----------------------------------------
17039 Summary of changes for this label: 10_18_01
17040
17041 ACPI CA Core Subsystem:
17042
17043 Fixed a problem with the internal object reference count mechanism
17044 that occasionally caused premature object deletion. This resolves
17045 all of the outstanding problem reports where an object is deleted
17046 in the middle of an interpreter evaluation.  Although this problem
17047 only showed up in rather obscure cases, the solution to the
17048 problem involved an adjustment of all reference counts involving
17049 objects attached to namespace nodes.
17050
17051 Fixed a problem with Field support in the interpreter where
17052 writing to an aligned field whose length is an exact multiple (2
17053 or greater) of the field access granularity would cause an attempt
17054 to write beyond the end of the field.
17055
17056 The top level AML opcode execution functions within the
17057 interpreter have been renamed with a more meaningful and
17058 consistent naming convention.  The modules exmonad.c and
17059 exdyadic.c were eliminated.  New modules are exoparg1.c,
17060 exoparg2.c, exoparg3.c, and exoparg6.c.
17061
17062 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
17063
17064 Fixed a problem where the AML debugger was causing some internal
17065 objects to not be deleted during subsystem termination.
17066
17067 Fixed a problem with the external AcpiEvaluateObject interface
17068 where the subsystem would fault if the named object to be
17069 evaluated refered to a constant such as Zero, Ones, etc.
17070
17071 Fixed a problem with IndexFields and BankFields where the
17072 subsystem would fault if the index, data, or bank registers were
17073 not defined in the same scope as the field itself.
17074
17075 Added printf format string checking for compilers that support
17076 this feature.  Corrected more than 50 instances of issues with
17077 format specifiers within invocations of ACPI_DEBUG_PRINT
17078 throughout the core subsystem code.
17079
17080 The ASL "Revision" operator now returns the ACPI support level
17081 implemented in the core - the value "2" since the ACPI 2.0 support
17082 is more than 50% implemented.
17083
17084 Enhanced the output of the AML debugger "dump namespace" command
17085 to output in a more human-readable form.
17086
17087 Current core subsystem library code sizes are shown below.  These
17088
17089 are the code and data sizes for the acpica.lib produced by the
17090 Microsoft Visual C++ 6.0 compiler, and these values do not include
17091 any ACPI driver or OSPM code.  The debug version of the code
17092 includes the full debug trace mechanism -- leading to a much
17093
17094 larger code and data size.  Note that these values will vary
17095 depending on the efficiency of the compiler and the compiler
17096 options used during generation.
17097
17098      Previous Label (09_20_01):
17099      Non-Debug Version:    65K Code,     5K Data,     70K Total
17100      Debug Version:       138K Code,    58K Data,    196K Total
17101
17102      This Label:
17103
17104      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
17105      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
17106
17107 Linux:
17108
17109 Implemented a "Bad BIOS Blacklist" to track machines that have
17110 known ASL/AML problems.
17111
17112 Enhanced the /proc interface for the thermal zone driver and added
17113 support for _HOT (the critical suspend trip point).  The 'info'
17114 file now includes threshold/policy information, and allows setting
17115 of _SCP (cooling preference) and _TZP (polling frequency) values
17116 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
17117 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
17118 preference to the passive/quiet mode (if supported by the ASL).
17119
17120 Implemented a workaround for a gcc bug that resuted in an OOPs
17121 when loading the control method battery driver.
17122
17123  ----------------------------------------
17124 Summary of changes for this label: 09_20_01
17125
17126  ACPI CA Core Subsystem:
17127
17128 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
17129 modified to allow individual GPE levels to be flagged as wake-
17130 enabled (i.e., these GPEs are to remain enabled when the platform
17131 sleeps.)
17132
17133 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
17134 support wake-enabled GPEs.  This means that upon entering the
17135 sleep state, all GPEs that are not wake-enabled are disabled.
17136 When leaving the sleep state, these GPEs are reenabled.
17137
17138 A local double-precision divide/modulo module has been added to
17139 enhance portability to OS kernels where a 64-bit math library is
17140 not available.  The new module is "utmath.c".
17141
17142 Several optimizations have been made to reduce the use of CPU
17143 stack.  Originally over 2K, the maximum stack usage is now below
17144 2K at 1860  bytes (1.82k)
17145
17146 Fixed a problem with the AcpiGetFirmwareTable interface where the
17147 root table pointer was not mapped into a logical address properly.
17148
17149 Fixed a problem where a NULL pointer was being dereferenced in the
17150 interpreter code for the ASL Notify operator.
17151
17152 Fixed a problem where the use of the ASL Revision operator
17153 returned an error. This operator now returns the current version
17154 of the ACPI CA core subsystem.
17155
17156 Fixed a problem where objects passed as control method parameters
17157 to AcpiEvaluateObject were always deleted at method termination.
17158 However, these objects may end up being stored into the namespace
17159 by the called method.  The object reference count mechanism was
17160 applied to these objects instead of a force delete.
17161
17162 Fixed a problem where static strings or buffers (contained in the
17163 AML code) that are declared as package elements within the ASL
17164 code could cause a fault because the interpreter would attempt to
17165 delete them.  These objects are now marked with the "static
17166 object" flag to prevent any attempt to delete them.
17167
17168 Implemented an interpreter optimization to use operands directly
17169 from the state object instead of extracting the operands to local
17170 variables.  This reduces stack use and code size, and improves
17171 performance.
17172
17173 The module exxface.c was eliminated as it was an unnecessary extra
17174 layer of code.
17175
17176 Current core subsystem library code sizes are shown below.  These
17177 are the code and data sizes for the acpica.lib produced by the
17178 Microsoft Visual C++ 6.0 compiler, and these values do not include
17179 any ACPI driver or OSPM code.  The debug version of the code
17180 includes the full debug trace mechanism -- leading to a much
17181 larger code and data size.  Note that these values will vary
17182 depending on the efficiency of the compiler and the compiler
17183 options used during generation.
17184
17185   Non-Debug Version:  65K Code,   5K Data,   70K Total
17186 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
17187 Total  (Previously 195K)
17188
17189 Linux:
17190
17191 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
17192 Integer objects are now 64 bits wide
17193
17194 All Acpi data types and structures are now in lower case.  Only
17195 Acpi macros are upper case for differentiation.
17196
17197  Documentation:
17198
17199 Changes to the external interfaces as described above.
17200
17201  ----------------------------------------
17202 Summary of changes for this label: 08_31_01
17203
17204  ACPI CA Core Subsystem:
17205
17206 A bug with interpreter implementation of the ASL Divide operator
17207 was found and fixed.  The implicit function return value (not the
17208 explicit store operands) was returning the remainder instead of
17209 the quotient.  This was a longstanding bug and it fixes several
17210 known outstanding issues on various platforms.
17211
17212 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
17213 been further optimized for size.  There are 700 invocations of the
17214 DEBUG_PRINT macro alone, so each optimization reduces the size of
17215 the debug version of the subsystem significantly.
17216
17217 A stack trace mechanism has been implemented.  The maximum stack
17218 usage is about 2K on 32-bit platforms.  The debugger command "stat
17219 stack" will display the current maximum stack usage.
17220
17221 All public symbols and global variables within the subsystem are
17222 now prefixed with the string "Acpi".  This keeps all of the
17223 symbols grouped together in a kernel map, and avoids conflicts
17224 with other kernel subsystems.
17225
17226 Most of the internal fixed lookup tables have been moved into the
17227 code segment via the const operator.
17228
17229 Several enhancements have been made to the interpreter to both
17230 reduce the code size and improve performance.
17231
17232 Current core subsystem library code sizes are shown below.  These
17233 are the code and data sizes for the acpica.lib produced by the
17234 Microsoft Visual C++ 6.0 compiler, and these values do not include
17235 any ACPI driver or OSPM code.  The debug version of the code
17236 includes the full debug trace mechanism which contains over 700
17237 invocations of the DEBUG_PRINT macro, 500 function entry macro
17238 invocations, and over 900 function exit macro invocations --
17239 leading to a much larger code and data size.  Note that these
17240 values will vary depending on the efficiency of the compiler and
17241 the compiler options used during generation.
17242
17243         Non-Debug Version:  64K Code,   5K Data,   69K Total
17244 Debug Version:     137K Code,  58K Data,  195K Total
17245
17246  Linux:
17247
17248 Implemented wbinvd() macro, pending a kernel-wide definition.
17249
17250 Fixed /proc/acpi/event to handle poll() and short reads.
17251
17252  ASL Compiler, version X2026:
17253
17254 Fixed a problem introduced in the previous label where the AML
17255
17256 code emitted for package objects produced packages with zero
17257 length.
17258
17259  ----------------------------------------
17260 Summary of changes for this label: 08_16_01
17261
17262 ACPI CA Core Subsystem:
17263
17264 The following ACPI 2.0 ASL operators have been implemented in the
17265 AML interpreter (These are already supported by the Intel ASL
17266 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
17267 ToBuffer.  Support for 64-bit AML constants is implemented in the
17268 AML parser, debugger, and disassembler.
17269
17270 The internal memory tracking mechanism (leak detection code) has
17271 been upgraded to reduce the memory overhead (a separate tracking
17272 block is no longer allocated for each memory allocation), and now
17273 supports all of the internal object caches.
17274
17275 The data structures and code for the internal object caches have
17276 been coelesced and optimized so that there is a single cache and
17277 memory list data structure and a single group of functions that
17278 implement generic cache management.  This has reduced the code
17279 size in both the debug and release versions of the subsystem.
17280
17281 The DEBUG_PRINT macro(s) have been optimized for size and replaced
17282 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
17283 different, because it generates a single call to an internal
17284 function.  This results in a savings of about 90 bytes per
17285 invocation, resulting in an overall code and data savings of about
17286 16% in the debug version of the subsystem.
17287
17288  Linux:
17289
17290 Fixed C3 disk corruption problems and re-enabled C3 on supporting
17291 machines.
17292
17293 Integrated low-level sleep code by Patrick Mochel.
17294
17295 Further tweaked source code Linuxization.
17296
17297 Other minor fixes.
17298
17299  ASL Compiler:
17300
17301 Support for ACPI 2.0 variable length packages is fixed/completed.
17302
17303 Fixed a problem where the optional length parameter for the ACPI
17304 2.0 ToString operator.
17305
17306 Fixed multiple extraneous error messages when a syntax error is
17307 detected within the declaration line of a control method.
17308
17309  ----------------------------------------
17310 Summary of changes for this label: 07_17_01
17311
17312 ACPI CA Core Subsystem:
17313
17314 Added a new interface named AcpiGetFirmwareTable to obtain any
17315 ACPI table via the ACPI signature.  The interface can be called at
17316 any time during kernel initialization, even before the kernel
17317 virtual memory manager is initialized and paging is enabled.  This
17318 allows kernel subsystems to obtain ACPI tables very early, even
17319 before the ACPI CA subsystem is initialized.
17320
17321 Fixed a problem where Fields defined with the AnyAcc attribute
17322 could be resolved to the incorrect address under the following
17323 conditions: 1) the field width is larger than 8 bits and 2) the
17324 parent operation region is not defined on a DWORD boundary.
17325
17326 Fixed a problem where the interpreter is not being locked during
17327 namespace initialization (during execution of the _INI control
17328 methods), causing an error when an attempt is made to release it
17329 later.
17330
17331 ACPI 2.0 support in the AML Interpreter has begun and will be
17332 ongoing throughout the rest of this year.  In this label, The Mod
17333 operator is implemented.
17334
17335 Added a new data type to contain full PCI addresses named
17336 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
17337 and Function values.
17338
17339  Linux:
17340
17341 Enhanced the Linux version of the source code to change most
17342 capitalized ACPI type names to lowercase. For example, all
17343 instances of ACPI_STATUS are changed to acpi_status.  This will
17344 result in a large diff, but the change is strictly cosmetic and
17345 aligns the CA code closer to the Linux coding standard.
17346
17347 OSL Interfaces:
17348
17349 The interfaces to the PCI configuration space have been changed to
17350 add the PCI Segment number and to split the single 32-bit combined
17351 DeviceFunction field into two 16-bit fields.  This was
17352 accomplished by moving the four values that define an address in
17353 PCI configuration space (segment, bus, device, and function) to
17354 the new ACPI_PCI_ID structure.
17355
17356 The changes to the PCI configuration space interfaces led to a
17357 reexamination of the complete set of address space access
17358 interfaces for PCI, I/O, and Memory.  The previously existing 18
17359 interfaces have proven difficult to maintain (any small change
17360 must be propagated across at least 6 interfaces) and do not easily
17361 allow for future expansion to 64 bits if necessary.  Also, on some
17362 systems, it would not be appropriate to demultiplex the access
17363 width (8, 16, 32,or 64) before calling the OSL if the
17364 corresponding native OS interfaces contain a similar access width
17365 parameter.  For these reasons, the 18 address space interfaces
17366 have been replaced by these 6 new ones:
17367
17368 AcpiOsReadPciConfiguration
17369 AcpiOsWritePciConfiguration
17370 AcpiOsReadMemory
17371 AcpiOsWriteMemory
17372 AcpiOsReadPort
17373 AcpiOsWritePort
17374
17375 Added a new interface named AcpiOsGetRootPointer to allow the OSL
17376 to perform the platform and/or OS-specific actions necessary to
17377 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
17378 interface will simply call down to the CA core to perform the low-
17379 memory search for the table.  On IA-64, the RSDP is obtained from
17380 EFI.  Migrating this interface to the OSL allows the CA core to
17381
17382 remain OS and platform independent.
17383
17384 Added a new interface named AcpiOsSignal to provide a generic
17385 "function code and pointer" interface for various miscellaneous
17386 signals and notifications that must be made to the host OS.   The
17387 first such signals are intended to support the ASL Fatal and
17388 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
17389 interface has been obsoleted.
17390
17391 The definition of the AcpiFormatException interface has been
17392 changed to simplify its use.  The caller no longer must supply a
17393 buffer to the call; A pointer to a const string is now returned
17394 directly.  This allows the call to be easily used in printf
17395 statements, etc. since the caller does not have to manage a local
17396 buffer.
17397
17398
17399  ASL Compiler, Version X2025:
17400
17401 The ACPI 2.0 Switch/Case/Default operators have been implemented
17402 and are fully functional.  They will work with all ACPI 1.0
17403 interpreters, since the operators are simply translated to If/Else
17404 pairs.
17405
17406 The ACPI 2.0 ElseIf operator is implemented and will also work
17407 with 1.0 interpreters, for the same reason.
17408
17409 Implemented support for ACPI 2.0 variable-length packages.  These
17410 packages have a separate opcode, and their size is determined by
17411 the interpreter at run-time.
17412
17413 Documentation The ACPI CA Programmer Reference has been updated to
17414 reflect the new interfaces and changes to existing interfaces.
17415
17416  ------------------------------------------
17417 Summary of changes for this label: 06_15_01
17418
17419  ACPI CA Core Subsystem:
17420
17421 Fixed a problem where a DWORD-accessed field within a Buffer
17422 object would get its byte address inadvertently rounded down to
17423 the nearest DWORD.  Buffers are always Byte-accessible.
17424
17425  ASL Compiler, version X2024:
17426
17427 Fixed a problem where the Switch() operator would either fault or
17428 hang the compiler.  Note however, that the AML code for this ACPI
17429 2.0 operator is not yet implemented.
17430
17431 Compiler uses the new AcpiOsGetTimer interface to obtain compile
17432 timings.
17433
17434 Implementation of the CreateField operator automatically converts
17435 a reference to a named field within a resource descriptor from a
17436 byte offset to a bit offset if required.
17437
17438 Added some missing named fields from the resource descriptor
17439 support. These are the names that are automatically created by the
17440 compiler to reference fields within a descriptor.  They are only
17441 valid at compile time and are not passed through to the AML
17442 interpreter.
17443
17444 Resource descriptor named fields are now typed as Integers and
17445 subject to compile-time typechecking when used in expressions.
17446
17447  ------------------------------------------
17448 Summary of changes for this label: 05_18_01
17449
17450  ACPI CA Core Subsystem:
17451
17452 Fixed a couple of problems in the Field support code where bits
17453 from adjacent fields could be returned along with the proper field
17454 bits. Restructured the field support code to improve performance,
17455 readability and maintainability.
17456
17457 New DEBUG_PRINTP macro automatically inserts the procedure name
17458 into the output, saving hundreds of copies of procedure name
17459 strings within the source, shrinking the memory footprint of the
17460 debug version of the core subsystem.
17461
17462  Source Code Structure:
17463
17464 The source code directory tree was restructured to reflect the
17465 current organization of the component architecture.  Some files
17466 and directories have been moved and/or renamed.
17467
17468  Linux:
17469
17470 Fixed leaking kacpidpc processes.
17471
17472 Fixed queueing event data even when /proc/acpi/event is not
17473 opened.
17474
17475  ASL Compiler, version X2020:
17476
17477 Memory allocation performance enhancement - over 24X compile time
17478 improvement on large ASL files.  Parse nodes and namestring
17479 buffers are now allocated from a large internal compiler buffer.
17480
17481 The temporary .SRC file is deleted unless the "-s" option is
17482 specified
17483
17484 The "-d" debug output option now sends all output to the .DBG file
17485 instead of the console.
17486
17487 "External" second parameter is now optional
17488
17489 "ElseIf" syntax now properly allows the predicate
17490
17491 Last operand to "Load" now recognized as a Target operand
17492
17493 Debug object can now be used anywhere as a normal object.
17494
17495 ResourceTemplate now returns an object of type BUFFER
17496
17497 EISAID now returns an object of type INTEGER
17498
17499 "Index" now works with a STRING operand
17500
17501 "LoadTable" now accepts optional parameters
17502
17503 "ToString" length parameter is now optional
17504
17505 "Interrupt (ResourceType," parse error fixed.
17506
17507 "Register" with a user-defined region space parse error fixed
17508
17509 Escaped backslash at the end of a string ("\\") scan/parse error
17510 fixed
17511
17512 "Revision" is now an object of type INTEGER.
17513
17514
17515
17516 ------------------------------------------
17517 Summary of changes for this label: 05_02_01
17518
17519 Linux:
17520
17521 /proc/acpi/event now blocks properly.
17522
17523 Removed /proc/sys/acpi. You can still dump your DSDT from
17524 /proc/acpi/dsdt.
17525
17526  ACPI CA Core Subsystem:
17527
17528 Fixed a problem introduced in the previous label where some of the
17529 "small" resource descriptor types were not recognized.
17530
17531 Improved error messages for the case where an ASL Field is outside
17532 the range of the parent operation region.
17533
17534  ASL Compiler, version X2018:
17535
17536
17537 Added error detection for ASL Fields that extend beyond the length
17538 of the parent operation region (only if the length of the region
17539 is known at compile time.)  This includes fields that have a
17540 minimum access width that is smaller than the parent region, and
17541 individual field units that are partially or entirely beyond the
17542 extent of the parent.
17543
17544
17545
17546 ------------------------------------------
17547 Summary of changes for this label: 04_27_01
17548
17549  ACPI CA Core Subsystem:
17550
17551 Fixed a problem where the namespace mutex could be released at the
17552 wrong time during execution of AcpiRemoveAddressSpaceHandler.
17553
17554 Added optional thread ID output for debug traces, to simplify
17555 debugging of multiple threads.  Added context switch notification
17556 when the debug code realizes that a different thread is now
17557 executing ACPI code.
17558
17559 Some additional external data types have been prefixed with the
17560 string "ACPI_" for consistency.  This may effect existing code.
17561 The data types affected are the external callback typedefs - e.g.,
17562
17563 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
17564
17565  Linux:
17566
17567 Fixed an issue with the OSL semaphore implementation where a
17568 thread was waking up with an error from receiving a SIGCHLD
17569 signal.
17570
17571 Linux version of ACPI CA now uses the system C library for string
17572 manipulation routines instead of a local implementation.
17573
17574 Cleaned up comments and removed TBDs.
17575
17576  ASL Compiler, version X2017:
17577
17578 Enhanced error detection and reporting for all file I/O
17579 operations.
17580
17581  Documentation:
17582
17583 Programmer Reference updated to version 1.06.
17584
17585
17586
17587 ------------------------------------------
17588 Summary of changes for this label: 04_13_01
17589
17590  ACPI CA Core Subsystem:
17591
17592 Restructured support for BufferFields and RegionFields.
17593 BankFields support is now fully operational.  All known 32-bit
17594 limitations on field sizes have been removed.  Both BufferFields
17595 and (Operation) RegionFields are now supported by the same field
17596 management code.
17597
17598 Resource support now supports QWORD address and IO resources. The
17599 16/32/64 bit address structures and the Extended IRQ structure
17600 have been changed to properly handle Source Resource strings.
17601
17602 A ThreadId of -1 is now used to indicate a "mutex not acquired"
17603 condition internally and must never be returned by AcpiOsThreadId.
17604 This reserved value was changed from 0 since Unix systems allow a
17605 thread ID of 0.
17606
17607 Linux:
17608
17609 Driver code reorganized to enhance portability
17610
17611 Added a kernel configuration option to control ACPI_DEBUG
17612
17613 Fixed the EC driver to honor _GLK.
17614
17615 ASL Compiler, version X2016:
17616
17617 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
17618 address space was set to 0, not 0x7f as it should be.
17619
17620  ------------------------------------------
17621 Summary of changes for this label: 03_13_01
17622
17623  ACPI CA Core Subsystem:
17624
17625 During ACPI initialization, the _SB_._INI method is now run if
17626 present.
17627
17628 Notify handler fix - notifies are deferred until the parent method
17629 completes execution.  This fixes the "mutex already acquired"
17630 issue seen occasionally.
17631
17632 Part of the "implicit conversion" rules in ACPI 2.0 have been
17633 found to cause compatibility problems with existing ASL/AML.  The
17634 convert "result-to-target-type" implementation has been removed
17635 for stores to method Args and Locals.  Source operand conversion
17636 is still fully implemented.  Possible changes to ACPI 2.0
17637 specification pending.
17638
17639 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
17640 length.
17641
17642 Fix for compiler warnings for 64-bit compiles.
17643
17644  Linux:
17645
17646 /proc output aligned for easier parsing.
17647
17648 Release-version compile problem fixed.
17649
17650 New kernel configuration options documented in Configure.help.
17651
17652 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
17653 context" message.
17654
17655  OSPM:
17656
17657 Power resource driver integrated with bus manager.
17658
17659 Fixed kernel fault during active cooling for thermal zones.
17660
17661 Source Code:
17662
17663 The source code tree has been restructured.
17664
17665
17666
17667 ------------------------------------------
17668 Summary of changes for this label: 03_02_01
17669
17670  Linux OS Services Layer (OSL):
17671
17672 Major revision of all Linux-specific code.
17673
17674 Modularized all ACPI-specific drivers.
17675
17676 Added new thermal zone and power resource drivers.
17677
17678 Revamped /proc interface (new functionality is under /proc/acpi).
17679
17680 New kernel configuration options.
17681
17682  Linux known issues:
17683
17684 New kernel configuration options not documented in Configure.help
17685 yet.
17686
17687
17688 Module dependencies not currently implemented. If used, they
17689 should be loaded in this order: busmgr, power, ec, system,
17690 processor, battery, ac_adapter, button, thermal.
17691
17692 Modules will not load if CONFIG_MODVERSION is set.
17693
17694 IBM 600E - entering S5 may reboot instead of shutting down.
17695
17696 IBM 600E - Sleep button may generate "Invalid <NULL> context"
17697 message.
17698
17699 Some systems may fail with "execution mutex already acquired"
17700 message.
17701
17702  ACPI CA Core Subsystem:
17703
17704 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
17705 for the  deadlock detection code. Defined to return a non-zero, 32-
17706 bit thread ID for the currently executing thread.  May be a non-
17707 zero constant integer on single-thread systems.
17708
17709 Implemented deadlock detection for internal subsystem mutexes.  We
17710 may add conditional compilation for this code (debug only) later.
17711
17712 ASL/AML Mutex object semantics are now fully supported.  This
17713 includes multiple acquires/releases by owner and support for the
17714
17715 Mutex SyncLevel parameter.
17716
17717 A new "Force Release" mechanism automatically frees all ASL
17718 Mutexes that have been acquired but not released when a thread
17719 exits the interpreter.  This forces conformance to the ACPI spec
17720 ("All mutexes must be released when an invocation exits") and
17721 prevents deadlocked ASL threads.  This mechanism can be expanded
17722 (later) to monitor other resource acquisitions if OEM ASL code
17723 continues to misbehave (which it will).
17724
17725 Several new ACPI exception codes have been added for the Mutex
17726 support.
17727
17728 Recursive method calls are now allowed and supported (the ACPI
17729 spec does in fact allow recursive method calls.)  The number of
17730 recursive calls is subject to the restrictions imposed by the
17731 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
17732 parameter.
17733
17734 Implemented support for the SyncLevel parameter for control
17735 methods (ACPI 2.0 feature)
17736
17737 Fixed a deadlock problem when multiple threads attempted to use
17738 the interpreter.
17739
17740 Fixed a problem where the string length of a String package
17741 element was not always set in a package returned from
17742 AcpiEvaluateObject.
17743
17744 Fixed a problem where the length of a String package element was
17745 not always included in the length of the overall package returned
17746 from AcpiEvaluateObject.
17747
17748 Added external interfaces (Acpi*) to the ACPI debug memory
17749 manager.  This manager keeps a list of all outstanding
17750 allocations, and can therefore detect memory leaks and attempts to
17751 free memory blocks more than once. Useful for code such as the
17752 power manager, etc.  May not be appropriate for device drivers.
17753 Performance with the debug code enabled is slow.
17754
17755 The ACPI Global Lock is now an optional hardware element.
17756
17757  ASL Compiler Version X2015:
17758
17759 Integrated changes to allow the compiler to be generated on
17760 multiple platforms.
17761
17762 Linux makefile added to generate the compiler on Linux
17763
17764  Source Code:
17765
17766 All platform-specific headers have been moved to their own
17767 subdirectory, Include/Platform.
17768
17769 New source file added, Interpreter/ammutex.c
17770
17771 New header file, Include/acstruct.h
17772
17773  Documentation:
17774
17775 The programmer reference has been updated for the following new
17776 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
17777
17778  ------------------------------------------
17779 Summary of changes for this label: 02_08_01
17780
17781 Core ACPI CA Subsystem: Fixed a problem where an error was
17782 incorrectly returned if the return resource buffer was larger than
17783 the actual data (in the resource interfaces).
17784
17785 References to named objects within packages are resolved to the
17786
17787 full pathname string before packages are returned directly (via
17788 the AcpiEvaluateObject interface) or indirectly via the resource
17789 interfaces.
17790
17791 Linux OS Services Layer (OSL):
17792
17793 Improved /proc battery interface.
17794
17795
17796 Added C-state debugging output and other miscellaneous fixes.
17797
17798 ASL Compiler Version X2014:
17799
17800 All defined method arguments can now be used as local variables,
17801 including the ones that are not actually passed in as parameters.
17802 The compiler tracks initialization of the arguments and issues an
17803 exception if they are used without prior assignment (just like
17804 locals).
17805
17806 The -o option now specifies a filename prefix that is used for all
17807 output files, including the AML output file.  Otherwise, the
17808 default behavior is as follows:  1) the AML goes to the file
17809 specified in the DSDT.  2) all other output files use the input
17810 source filename as the base.
17811
17812  ------------------------------------------
17813 Summary of changes for this label: 01_25_01
17814
17815 Core ACPI CA Subsystem: Restructured the implementation of object
17816 store support within the  interpreter.  This includes support for
17817 the Store operator as well  as any ASL operators that include a
17818 target operand.
17819
17820 Partially implemented support for Implicit Result-to-Target
17821 conversion. This is when a result object is converted on the fly
17822 to the type of  an existing target object.  Completion of this
17823 support is pending  further analysis of the ACPI specification
17824 concerning this matter.
17825
17826 CPU-specific code has been removed from the subsystem (hardware
17827 directory).
17828
17829 New Power Management Timer functions added
17830
17831 Linux OS Services Layer (OSL): Moved system state transition code
17832 to the core, fixed it, and modified  Linux OSL accordingly.
17833
17834 Fixed C2 and C3 latency calculations.
17835
17836
17837 We no longer use the compilation date for the version message on
17838 initialization, but retrieve the version from AcpiGetSystemInfo().
17839
17840 Incorporated for fix Sony VAIO machines.
17841
17842 Documentation:  The Programmer Reference has been updated and
17843 reformatted.
17844
17845
17846 ASL Compiler:  Version X2013: Fixed a problem where the line
17847 numbering and error reporting could get out  of sync in the
17848 presence of multiple include files.
17849
17850  ------------------------------------------
17851 Summary of changes for this label: 01_15_01
17852
17853 Core ACPI CA Subsystem:
17854
17855 Implemented support for type conversions in the execution of the
17856 ASL  Concatenate operator (The second operand is converted to
17857 match the type  of the first operand before concatenation.)
17858
17859 Support for implicit source operand conversion is partially
17860 implemented.   The ASL source operand types Integer, Buffer, and
17861 String are freely  interchangeable for most ASL operators and are
17862 converted by the interpreter  on the fly as required.  Implicit
17863 Target operand conversion (where the  result is converted to the
17864 target type before storing) is not yet implemented.
17865
17866 Support for 32-bit and 64-bit BCD integers is implemented.
17867
17868 Problem fixed where a field read on an aligned field could cause a
17869 read  past the end of the field.
17870
17871 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
17872 does not return a value, but the caller expects one.  (The ASL
17873 compiler flags this as a warning.)
17874
17875 ASL Compiler:
17876
17877 Version X2011:
17878 1. Static typechecking of all operands is implemented. This
17879 prevents the use of invalid objects (such as using a Package where
17880 an Integer is required) at compile time instead of at interpreter
17881 run-time.
17882 2. The ASL source line is printed with ALL errors and warnings.
17883 3. Bug fix for source EOF without final linefeed.
17884 4. Debug option is split into a parse trace and a namespace trace.
17885 5. Namespace output option (-n) includes initial values for
17886 integers and strings.
17887 6. Parse-only option added for quick syntax checking.
17888 7. Compiler checks for duplicate ACPI name declarations
17889
17890 Version X2012:
17891 1. Relaxed typechecking to allow interchangeability between
17892 strings, integers, and buffers.  These types are now converted by
17893 the interpreter at runtime.
17894 2. Compiler reports time taken by each internal subsystem in the
17895 debug         output file.
17896
17897
17898  ------------------------------------------
17899 Summary of changes for this label: 12_14_00
17900
17901 ASL Compiler:
17902
17903 This is the first official release of the compiler. Since the
17904 compiler requires elements of the Core Subsystem, this label
17905 synchronizes everything.
17906
17907 ------------------------------------------
17908 Summary of changes for this label: 12_08_00
17909
17910
17911 Fixed a problem where named references within the ASL definition
17912 of both OperationRegions and CreateXXXFields did not work
17913 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17914 initialization of the region/field. This is similar (but not
17915 related internally) to the problem that was fixed in the last
17916 label.
17917
17918 Implemented both 32-bit and 64-bit support for the BCD ASL
17919 functions ToBCD and FromBCD.
17920
17921 Updated all legal headers to include "2000" in the copyright
17922 years.
17923
17924  ------------------------------------------
17925 Summary of changes for this label: 12_01_00
17926
17927 Fixed a problem where method invocations within the ASL definition
17928 of both OperationRegions and CreateXXXFields did not work
17929 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17930 initialization of the region/field:
17931
17932   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
17933 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
17934 (0x3005)
17935
17936 Fixed a problem where operators with more than one nested
17937 subexpression would fail.  The symptoms were varied, by mostly
17938 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
17939 problem that has gone unnoticed until now.
17940
17941   Subtract (Add (1,2), Multiply (3,4))
17942
17943 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
17944 previous build (The prefix part of a relative path was handled
17945 incorrectly).
17946
17947 Fixed a problem where Operation Region initialization failed if
17948 the operation region name was a "namepath" instead of a simple
17949 "nameseg". Symptom was an AE_NO_OPERAND error.
17950
17951 Fixed a problem where an assignment to a local variable via the
17952 indirect RefOf mechanism only worked for the first such
17953 assignment.  Subsequent assignments were ignored.
17954
17955  ------------------------------------------
17956 Summary of changes for this label: 11_15_00
17957
17958 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
17959 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
17960 the AML  interpreter does NOT have support for the new 2.0 ASL
17961 grammar terms at this time.
17962
17963 All ACPI hardware access is via the GAS structures in the ACPI 2.0
17964 FADT.
17965
17966 All physical memory addresses across all platforms are now 64 bits
17967 wide. Logical address width remains dependent on the platform
17968 (i.e., "void *").
17969
17970 AcpiOsMapMemory interface changed to a 64-bit physical address.
17971
17972 The AML interpreter integer size is now 64 bits, as per the ACPI
17973 2.0 specification.
17974
17975 For backwards compatibility with ACPI 1.0, ACPI tables with a
17976 revision number less than 2 use 32-bit integers only.
17977
17978 Fixed a problem where the evaluation of OpRegion operands did not
17979 always resolve them to numbers properly.
17980
17981 ------------------------------------------
17982 Summary of changes for this label: 10_20_00
17983
17984 Fix for CBN_._STA issue.  This fix will allow correct access to
17985 CBN_ OpRegions when the _STA returns 0x8.
17986
17987 Support to convert ACPI constants (Ones, Zeros, One) to actual
17988 values before a package object is returned
17989
17990 Fix for method call as predicate to if/while construct causing
17991 incorrect if/while behavior
17992
17993 Fix for Else block package lengths sometimes calculated wrong (if
17994 block > 63 bytes)
17995
17996 Fix for Processor object length field, was always zero
17997
17998 Table load abort if FACP sanity check fails
17999
18000 Fix for problem with Scope(name) if name already exists
18001
18002 Warning emitted if a named object referenced cannot be found
18003 (resolved) during method execution.
18004
18005
18006
18007
18008
18009 ------------------------------------------
18010 Summary of changes for this label: 9_29_00
18011
18012 New table initialization interfaces: AcpiInitializeSubsystem no
18013 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
18014 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
18015 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
18016 AcpiLoadTables
18017
18018 Note: These interface changes require changes to all existing OSDs
18019
18020 The PCI_Config default address space handler is always installed
18021 at the root namespace object.
18022
18023 -------------------------------------------
18024 Summary of changes for this label: 09_15_00
18025
18026 The new initialization architecture is implemented.  New
18027 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
18028 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
18029
18030 (Namespace is automatically loaded when a table is loaded)
18031
18032 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
18033 52 bytes to 32 bytes.  There is usually one of these for every
18034 namespace object, so the memory savings is significant.
18035
18036 Implemented just-in-time evaluation of the CreateField operators.
18037
18038 Bug fixes for IA-64 support have been integrated.
18039
18040 Additional code review comments have been implemented
18041
18042 The so-called "third pass parse" has been replaced by a final walk
18043 through the namespace to initialize all operation regions (address
18044 spaces) and fields that have not yet been initialized during the
18045 execution of the various _INI and REG methods.
18046
18047 New file - namespace/nsinit.c
18048
18049 -------------------------------------------
18050 Summary of changes for this label: 09_01_00
18051
18052 Namespace manager data structures have been reworked to change the
18053 primary  object from a table to a single object.  This has
18054 resulted in dynamic memory  savings of 3X within the namespace and
18055 2X overall in the ACPI CA subsystem.
18056
18057 Fixed problem where the call to AcpiEvFindPciRootBuses was
18058 inadvertently left  commented out.
18059
18060 Reduced the warning count when generating the source with the GCC
18061 compiler.
18062
18063 Revision numbers added to each module header showing the
18064 SourceSafe version of the file.  Please refer to this version
18065 number when giving us feedback or comments on individual modules.
18066
18067 The main object types within the subsystem have been renamed to
18068 clarify their  purpose:
18069
18070 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
18071 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
18072 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
18073
18074 NOTE: no changes to the initialization sequence are included in
18075 this label.
18076
18077 -------------------------------------------
18078 Summary of changes for this label: 08_23_00
18079
18080 Fixed problem where TerminateControlMethod was being called
18081 multiple times per  method
18082
18083 Fixed debugger problem where single stepping caused a semaphore to
18084 be  oversignalled
18085
18086 Improved performance through additional parse object caching -
18087 added  ACPI_EXTENDED_OP type
18088
18089 -------------------------------------------
18090 Summary of changes for this label: 08_10_00
18091
18092 Parser/Interpreter integration:  Eliminated the creation of
18093 complete parse trees  for ACPI tables and control methods.
18094 Instead, parse subtrees are created and  then deleted as soon as
18095 they are processed (Either entered into the namespace or  executed
18096 by the interpreter).  This reduces the use of dynamic kernel
18097 memory  significantly. (about 10X)
18098
18099 Exception codes broken into classes and renumbered.  Be sure to
18100 recompile all  code that includes acexcep.h.  Hopefully we won't
18101 have to renumber the codes  again now that they are split into
18102 classes (environment, programmer, AML code,  ACPI table, and
18103 internal).
18104
18105 Fixed some additional alignment issues in the Resource Manager
18106 subcomponent
18107
18108 Implemented semaphore tracking in the AcpiExec utility, and fixed
18109 several places  where mutexes/semaphores were being unlocked
18110 without a corresponding lock  operation.  There are no known
18111 semaphore or mutex "leaks" at this time.
18112
18113 Fixed the case where an ASL Return operator is used to return an
18114 unnamed  package.
18115
18116 -------------------------------------------
18117 Summary of changes for this label: 07_28_00
18118
18119 Fixed a problem with the way addresses were calculated in
18120 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
18121 manifested itself when a Field was  created with WordAccess or
18122 DwordAccess, but the field unit defined within the  Field was less
18123
18124 than a Word or Dword.
18125
18126 Fixed a problem in AmlDumpOperands() module's loop to pull
18127 operands off of the  operand stack to display information. The
18128 problem manifested itself as a TLB  error on 64-bit systems when
18129 accessing an operand stack with two or more  operands.
18130
18131 Fixed a problem with the PCI configuration space handlers where
18132 context was  getting confused between accesses. This required a
18133 change to the generic address  space handler and address space
18134 setup definitions. Handlers now get both a  global handler context
18135 (this is the one passed in by the user when executing
18136 AcpiInstallAddressSpaceHandler() and a specific region context
18137 that is unique to  each region (For example, the _ADR, _SEG and
18138 _BBN values associated with a  specific region). The generic
18139 function definitions have changed to the  following:
18140
18141 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
18142 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
18143 *HandlerContext, // This used to be void *Context void
18144 *RegionContext); // This is an additional parameter
18145
18146 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
18147 RegionHandle, UINT32 Function, void *HandlerContext,  void
18148 **RegionContext); // This used to be **ReturnContext
18149
18150 -------------------------------------------
18151 Summary of changes for this label: 07_21_00
18152
18153 Major file consolidation and rename.  All files within the
18154 interpreter have been  renamed as well as most header files.  This
18155 was done to prevent collisions with  existing files in the host
18156 OSs -- filenames such as "config.h" and "global.h"  seem to be
18157 quite common.  The VC project files have been updated.  All
18158 makefiles  will require modification.
18159
18160 The parser/interpreter integration continues in Phase 5 with the
18161 implementation  of a complete 2-pass parse (the AML is parsed
18162 twice) for each table;  This  avoids the construction of a huge
18163 parse tree and therefore reduces the amount of  dynamic memory
18164 required by the subsystem.  Greater use of the parse object cache
18165 means that performance is unaffected.
18166
18167 Many comments from the two code reviews have been rolled in.
18168
18169 The 64-bit alignment support is complete.
18170
18171 -------------------------------------------
18172 Summary of changes for this label: 06_30_00
18173
18174 With a nod and a tip of the hat to the technology of yesteryear,
18175 we've added  support in the source code for 80 column output
18176 devices.  The code is now mostly  constrained to 80 columns or
18177 less to support environments and editors that 1)  cannot display
18178 or print more than 80 characters on a single line, and 2) cannot
18179 disable line wrapping.
18180
18181 A major restructuring of the namespace data structure has been
18182 completed.  The  result is 1) cleaner and more
18183 understandable/maintainable code, and 2) a  significant reduction
18184 in the dynamic memory requirement for each named ACPI  object
18185 (almost half).
18186
18187 -------------------------------------------
18188 Summary of changes for this label: 06_23_00
18189
18190 Linux support has been added.  In order to obtain approval to get
18191 the ACPI CA  subsystem into the Linux kernel, we've had to make
18192 quite a few changes to the  base subsystem that will affect all
18193 users (all the changes are generic and OS- independent).  The
18194 effects of these global changes have been somewhat far  reaching.
18195 Files have been merged and/or renamed and interfaces have been
18196 renamed.   The major changes are described below.
18197
18198 Osd* interfaces renamed to AcpiOs* to eliminate namespace
18199 pollution/confusion  within our target kernels.  All OSD
18200 interfaces must be modified to match the new  naming convention.
18201
18202 Files merged across the subsystem.  A number of the smaller source
18203 and header  files have been merged to reduce the file count and
18204 increase the density of the  existing files.  There are too many
18205 to list here.  In general, makefiles that  call out individual
18206 files will require rebuilding.
18207
18208 Interpreter files renamed.  All interpreter files now have the
18209 prefix am*  instead of ie* and is*.
18210
18211 Header files renamed:  The acapi.h file is now acpixf.h.  The
18212 acpiosd.h file is  now acpiosxf.h.  We are removing references to
18213 the acronym "API" since it is  somewhat windowsy. The new name is
18214 "external interface" or xface or xf in the  filenames.j
18215
18216
18217 All manifest constants have been forced to upper case (some were
18218 mixed case.)   Also, the string "ACPI_" has been prepended to many
18219 (not all) of the constants,  typedefs, and structs.
18220
18221 The globals "DebugLevel" and "DebugLayer" have been renamed
18222 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
18223
18224 All other globals within the subsystem are now prefixed with
18225 "AcpiGbl_" Internal procedures within the subsystem are now
18226 prefixed with "Acpi" (with only  a few exceptions).  The original
18227 two-letter abbreviation for the subcomponent  remains after "Acpi"
18228 - for example, CmCallocate became AcpiCmCallocate.
18229
18230 Added a source code translation/conversion utility.  Used to
18231 generate the Linux  source code, it can be modified to generate
18232 other types of source as well. Can  also be used to cleanup
18233 existing source by removing extraneous spaces and blank  lines.
18234 Found in tools/acpisrc/*
18235
18236 OsdUnMapMemory was renamed to OsdUnmapMemory and then
18237 AcpiOsUnmapMemory.  (UnMap  became Unmap).
18238
18239 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
18240 When set to  one, this indicates that the caller wants to use the
18241
18242 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
18243 both types.  However, implementers of this  call may want to use
18244 different OS primitives depending on the type of semaphore
18245 requested.  For example, some operating systems provide separate
18246
18247 "mutex" and  "semaphore" interfaces - where the mutex interface is
18248 much faster because it  doesn't have all the overhead of a full
18249 semaphore implementation.
18250
18251 Fixed a deadlock problem where a method that accesses the PCI
18252 address space can  block forever if it is the first access to the
18253 space.
18254
18255 -------------------------------------------
18256 Summary of changes for this label: 06_02_00
18257
18258 Support for environments that cannot handle unaligned data
18259 accesses (e.g.  firmware and OS environments devoid of alignment
18260 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
18261 been added (via configurable macros) in  these three areas: -
18262 Transfer of data from the raw AML byte stream is done via byte
18263 moves instead of    word/dword/qword moves. - External objects are
18264 aligned within the user buffer, including package   elements (sub-
18265 objects). - Conversion of name strings to UINT32 Acpi Names is now
18266 done byte-wise.
18267
18268 The Store operator was modified to mimic Microsoft's
18269 implementation when storing  to a Buffer Field.
18270
18271 Added a check of the BM_STS bit before entering C3.
18272
18273 The methods subdirectory has been obsoleted and removed.  A new
18274 file, cmeval.c  subsumes the functionality.
18275
18276 A 16-bit (DOS) version of AcpiExec has been developed.  The
18277 makefile is under  the acpiexec directory.