]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/dev/acpica/changes.txt
MFV: r339981
[FreeBSD/FreeBSD.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 31 October 2018. Summary of changes for version 20181031:
3
4 This release is available at https://acpica.org/downloads
5
6
7 An Operation Region regression was fixed by properly adding address 
8 ranges to a global list during initialization. This allows OS to 
9 accurately check for overlapping regions between native devices (such as 
10 PCI) and Operation regions as well as checking for region conflicts 
11 between two Operation Regions.
12
13 Added support for the 2-byte extended opcodes in the code/feature that 
14 attempts to continue parsing during the table load phase. Skip parsing 
15 Device declarations (and other extended opcodes) when an error occurs 
16 during parsing. Previously, only single-byte opcodes were supported.
17
18 Cleanup: Simplified the module-level code support by eliminating a 
19 useless global variable (AcpiGbl_GroupModuleLeveCode).
20
21
22 2) iASL Compiler/Disassembler and Tools:
23
24 iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE 
25 could cause a fault in the preprocessor. This was an inadvertent side-
26 effect from moving more allocations/frees to the local cache/memory 
27 mechanism.
28
29 iASL: Enhanced error detection by validating that all NameSeg elements 
30 within a NamePatch actually exist. The previous behavior was spotty at 
31 best, and such errors could be improperly ignored at compiler time (never 
32 at runtime, however. There are two new error messages, as shown in the 
33 examples below:
34
35 dsdt.asl     33:     CreateByteField (TTTT.BXXX, 1, CBF1)
36 Error    6161 -                              ^ One or more objects within 
37 the Pathname do not exist (TTTT.BXXX)
38
39 dsdt.asl     34:     CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
40 Error    6160 -        One or more prefix Scopes do not exist ^  
41 (BBBB.CBF1)
42
43 iASL: Disassembler/table-compiler: Added support for the static data 
44 table TPM2 revision 3 (an older version of TPM2). The support has been 
45 added for the compiler and the disassembler.
46
47 Fixed compilation of DOS format data table file on Unix/Linux systems. 
48 iASL now properly detects line continuations (\) for DOS format data 
49 table definition language files on when executing on Unix/Linux.
50
51 ----------------------------------------
52 03 October 2018. Summary of changes for version 20181003:
53
54
55 2) iASL Compiler/Disassembler and Tools:
56
57 Fixed a regression introduced in version 20180927 that could cause the 
58 compiler to fault, especially with NamePaths containing one or more 
59 carats (^). Such as: ^^_SB_PCI0
60
61 Added a new remark for the Sleep() operator when the sleep time operand 
62 is larger than one second. This is a very long time for the ASL/BIOS code 
63 and may not be what was intended by the ASL writer.
64
65 ----------------------------------------
66 27 September 2018. Summary of changes for version 20180927:
67
68
69 1) ACPICA kernel-resident subsystem:
70
71 Updated the GPE support to clear the status of all ACPI events when 
72 entering any/all sleep states in order to avoid premature wakeups. In 
73 theory, this may cause some wakeup events to be missed, but the 
74 likelihood of this is small. This change restores the original behavior 
75 of the ACPICA code in order to fix a regression seen from the previous 
76 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change. 
77 This regression could cause some systems to incorrectly wake immediately.
78
79 Updated the execution of the _REG methods during initialization and 
80 namespace loading to bring the behavior into closer conformance to the 
81 ACPI specification and other ACPI implementations:
82
83 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
84     "Control methods must assume all operation regions are inaccessible 
85 until the _REG(RegionSpace, 1) method is executed"
86
87     "The exceptions to this rule are:
88 1.  OSPM must guarantee that the following operation regions are always 
89 accessible:
90     SystemIO operation regions.
91     SystemMemory operation regions when accessing memory returned by the 
92 System Address Map reporting interfaces."
93
94 Since the state of both the SystemIO and SystemMemory address spaces are 
95 defined by the specification to never change, this ACPICA change ensures 
96 that now _REG is never called on them. This solves some problems seen in 
97 the field and provides compatibility with other ACPI implementations. An 
98 update to the upcoming new version of the ACPI specification will help 
99 clarify this behavior.
100
101 Updated the implementation of support for the Generic Serial Bus. For the 
102 "bidirectional" protocols, the internal implementation now automatically 
103 creates a return data buffer of the maximum size (255). This handles the 
104 worst-case for data that is returned from the serial bus handler, and 
105 fixes some problems seen in the field. This new buffer is directly 
106 returned to the ASL. As such, there is no true "bidirectional" buffer, 
107 which matches the ACPI specification. This is the reason for the "double 
108 store" seen in the example ASL code in the specification, shown below:
109
110 Word Process Call (AttribProcessCall):
111     OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
112     Field(TOP1, BufferAcc, NoLock, Preserve)
113     {
114         FLD1, 8, // Virtual register at command value 1.
115     }
116
117     Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
118                              // as BUFF
119     CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
120
121     Store(0x5416, DATA)               // Save 0x5416 into the data buffer
122     Store(Store(BUFF, FLD1), BUFF)    // Invoke a write/read Process Call 
123 transaction
124                            // This is the "double store". The write to
125                            // FLD1 returns a new buffer, which is stored
126                            // back into BUFF with the second Store.
127
128
129 2) iASL Compiler/Disassembler and Tools:
130
131 iASL: Implemented detection of extraneous/redundant uses of the Offset() 
132 operator within a Field Unit list. A remark is now issued for these. For 
133 example, the first two of the Offset() operators below are extraneous. 
134 Because both the compiler and the interpreter track the offsets 
135 automatically, these Offsets simply refer to the current offset and are 
136 unnecessary. Note, when optimization is enabled, the iASL compiler will 
137 in fact remove the redundant Offset operators and will not emit any AML 
138 code for them.
139
140     OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
141     Field (OPR1)
142     {
143         Offset (0),     // Never needed
144         FLD1, 32,
145         Offset (4),     // Redundant, offset is already 4 (bytes)
146         FLD2, 8,
147         Offset (64),    // OK use of Offset.
148         FLD3, 16,
149     }
150 dsdt.asl     14:         Offset (0),
151 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
152 operator
153
154 dsdt.asl     16:         Offset (4),
155 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
156 operator
157
158 ----------------------------------------
159 10 August 2018. Summary of changes for version 20180810:
160
161
162 1) ACPICA kernel-resident subsystem:
163
164 Initial ACPI table loading: Attempt to continue loading ACPI tables 
165 regardless of malformed AML. Since migrating table initialization to the 
166 new module-level code support, the AML interpreter rejected tables upon 
167 any ACPI error encountered during table load. This is a problem because 
168 non-serious ACPI errors during table load do not necessarily mean that 
169 the entire definition block (DSDT or SSDT) is invalid. This change 
170 improves the table loading by ignoring some types of errors that can be 
171 generated by incorrect AML. This can range from object type errors, scope 
172 errors, and index errors.
173
174 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs 
175 during suspend/resume. The status of ACPI events is no longer cleared 
176 when entering the ACPI S5 system state (power off) which caused some 
177 systems to power up immediately after turning off power in certain 
178 situations. This was a functional regression. It was fixed by clearing 
179 the status of all ACPI events again when entering S5 (for system-wide 
180 suspend or hibernation the clearing of the status of all events is not 
181 desirable, as it might cause the kernel to miss wakeup events sometimes). 
182 Rafael Wysocki.
183
184
185 2) iASL Compiler/Disassembler and Tools:
186
187 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field 
188 elements listed in the initialization file were previously initialized 
189 after the table load and before executing module-level code blocks. 
190 Recent changes in the module-level code support means that the table load 
191 becomes a large control method execution. If fields are used within 
192 module-level code and we are executing with the -fi option, the 
193 initialization values were used to initialize the namespace object(s) 
194 only after the table was finished loading. This change Provides an early 
195 initialization of objects specified in the initialization file so that 
196 field unit values are populated during the table load (not after the 
197 load).
198
199 AcpiExec: Fixed a small memory leak regression that could result in 
200 warnings during exit of the utility. These warnings were similar to 
201 these:
202     0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
203     0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
204
205 ----------------------------------------
206 29 June 2018. Summary of changes for version 20180629:
207
208
209 1) iASL Compiler/Disassembler and Tools:
210
211 iASL: Fixed a regression related to the use of the ASL External 
212 statement. Error checking for the use of the External() statement has 
213 been relaxed. Previously, a restriction on the use of External meant that 
214 the referenced named object was required to be defined in a different 
215 table (an SSDT). Thus it would be an error to declare an object as an 
216 external and then define the same named object in the same table. For 
217 example:
218     DefinitionBlock (...)
219     {
220         External (DEV1)
221         Device (DEV1){...} // This was an error
222     }
223 However, this behavior has caused regressions in some existing ASL code, 
224 because there is code that depends on named objects and externals (with 
225 the same name) being declared in the same table. This change will allow 
226 the ASL code above to compile without errors or warnings.
227
228 iASL: Implemented ASL language extensions for four operators to make some 
229 of their arguments optional instead of required:
230     1) Field (RegionName, AccessType, LockRule, UpdateRule)
231     2) BankField (RegionName, BankName, BankValue,
232                 AccessType, LockRule, UpdateRule)
233     3) IndexField (IndexName, DataName,
234                 AccessType, LockRule, UpdateRule)
235 For the Field operators above, the AccessType, LockRule, and UpdateRule 
236 are now optional arguments. The default values are:
237         AccessType: AnyAcc
238         LockRule:   NoLock
239         UpdateRule: Preserve
240     4) Mutex (MutexName, SyncLevel)
241 For this operator, the SyncLevel argument is now optional. This argument 
242 is rarely used in any meaningful way by ASL code, and thus it makes sense 
243 to make it optional. The default value is:
244         SyncLevel:  0
245
246 iASL: Attempted use of the ASL Unload() operator now results in the 
247 following warning:
248     "Unload is not supported by all operating systems"
249 This is in fact very true, and the Unload operator may be completely 
250 deprecated in the near future.
251
252 AcpiExec: Fixed a regression for the -fi option (Namespace initialization 
253 file. Recent changes in the ACPICA module-level code support altered the 
254 table load/initialization sequence . This means that the table load has 
255 become a large method execution of the table itself. If Operation Region 
256 Fields are used within any module-level code and the -fi option was 
257 specified, the initialization values were populated only after the table 
258 had completely finished loading (and thus the module-level code had 
259 already been executed). This change moves the initialization of objects 
260 listed in the initialization file to before the table is executed as a 
261 method. Field unit values are now initialized before the table execution 
262 is performed.
263
264 ----------------------------------------
265 31 May 2018. Summary of changes for version 20180531:
266
267
268 1) ACPICA kernel-resident Subsystem:
269
270 Implemented additional support to help ensure that a DSDT or SSDT is 
271 fully loaded even if errors are incurred during the load. The majority of 
272 the problems that are seen is the failure of individual AML operators 
273 that occur during execution of any module-level code (MLC) existing in 
274 the table. This support adds a mechanism to abort the current ASL 
275 statement (AML opcode), emit an error message, and to simply move on to 
276 the next opcode -- instead of aborting the entire table load. This is 
277 different than the execution of a control method where the entire method 
278 is aborted upon any error. The goal is to perform a very "best effort" to 
279 load the ACPI tables. The most common MLC errors that have been seen in 
280 the field are direct references to unresolved ASL/AML symbols (referenced 
281 directly without the use of the CondRefOf operator to validate the 
282 symbol). This new ACPICA behavior is now compatible with other ACPI 
283 implementations.
284
285 Interpreter: The Unload AML operator is no longer supported for the 
286 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
287 1) A correct implementation on at least some hosts may not be possible.
288 2) Other ACPI implementations do not correctly/fully support it.
289 3) It requires host device driver support which is not known to exist.
290     (To properly support namespace unload out from underneath.)
291 4) This AML operator has never been seen in the field.
292
293 Parser: Added a debug option to dump AML parse sub-trees as they are 
294 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is 
295 ACPI_DB_PARSE_TREES.
296
297 Debugger: Reduced the verbosity for errors incurred during table load and 
298 module-level code execution.
299
300 Completed an investigation into adding a namespace node "owner list" 
301 instead of the current "owner ID" associated with namespace nodes. This 
302 list would link together all nodes that are owned by an individual 
303 control method. The purpose would be to enhance control method execution 
304 by speeding up cleanup during method exit (all namespace nodes created by 
305 a method are deleted upon method termination.) Currently, the entire 
306 namespace must be searched for matching owner IDs if (and only if) the 
307 method creates named objects outside of the local scope. However, by far 
308 the most common case is that methods create objects locally, not outside 
309 the method scope. There is already an ACPICA optimization in place that 
310 only searches the entire namespace in the rare case of a method creating 
311 objects elsewhere in the namespace. Therefore, it is felt that the 
312 overhead of adding an additional pointer to each namespace node to 
313 implement the owner list makes this feature unnecessary.
314
315
316 2) iASL Compiler/Disassembler and Tools:
317
318 iASL, Disassembler, and Template generator: Implemented support for 
319 Revision D of the IORT table. Adds a new subtable that is used to specify 
320 SMMUv3 PMCGs. rmurphy-arm.
321
322 Disassembler: Restored correct table header validation for the "special" 
323 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI 
324 table header and must be special-cased. This was a regression that has 
325 been present for apparently a long time.
326
327 AcpiExec: Reduced verbosity of the local exception handler implemented 
328 within acpiexec. This handler is invoked by ACPICA upon any exceptions 
329 generated during control method execution. A new option was added: -vh 
330 restores the original verbosity level if desired.
331
332 AcpiExec: Changed the default base from decimal to hex for the -x option 
333 (set debug level). This simplifies the use of this option and matches the 
334 behavior of the corresponding iASL -x option.
335
336 AcpiExec: Restored a force-exit on multiple control-c (sigint) 
337 interrupts. This allows program termination even if other issues cause 
338 the control-c to fail.
339
340 ASL test suite (ASLTS): Added tests for the recently implemented package 
341 element resolution mechanism that allows forward references to named 
342 objects from individual package elements (this mechanism provides 
343 compatibility with other ACPI implementations.)
344
345
346 ----------------------------------------
347 8 May 2018. Summary of changes for version 20180508:
348
349
350 1) ACPICA kernel-resident subsystem:
351
352 Completed the new (recently deployed) package resolution mechanism for 
353 the Load and LoadTable ASL/AML operators. This fixes a regression that 
354 was introduced in version 20180209 that could result in an 
355 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table 
356 (SSDT) that contains package objects.
357
358
359 2) iASL Compiler/Disassembler and Tools:
360
361 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than 
362 1 MB. This change allows for table offsets within the acpidump file to be 
363 up to 8 characters. These changes are backwards compatible with existing 
364 acpidump files.
365
366
367 ----------------------------------------
368 27 April 2018. Summary of changes for version 20180427: 
369
370
371 1) ACPICA kernel-resident subsystem:
372
373 Debugger: Added support for Package objects in the "Test Objects" 
374 command. This command walks the entire namespace and evaluates all named 
375 data objects (Integers, Strings, Buffers, and now Packages).
376
377 Improved error messages for the namespace root node. Originally, the root 
378 was referred to by the confusing string "\___". This has been replaced by 
379 "Namespace Root" for clarification.
380
381 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin 
382 Ian King <colin.king@canonical.com>.
383
384
385 2) iASL Compiler/Disassembler and Tools: 
386
387 iASL: Implemented support to detect and flag illegal forward references. 
388 For compatibility with other ACPI implementations, these references are 
389 now illegal at the root level of the DSDT or SSDTs. Forward references 
390 have always been illegal within control methods. This change should not 
391 affect existing ASL/AML code because of the fact that these references 
392 have always been illegal in the other ACPI implementation.
393
394 iASL: Added error messages for the case where a table OEM ID and OEM 
395 TABLE ID strings are longer than the ACPI-defined length. Previously, 
396 these strings were simply silently truncated.
397
398 iASL: Enhanced the -tc option (which creates an AML hex file in C, 
399 suitable for import into a firmware project):
400   1) Create a unique name for the table, to simplify use of multiple 
401 SSDTs.
402   2) Add a protection #ifdef in the file, similar to a .h header file.
403 With assistance from Sami Mujawar, sami.mujawar@arm.com and Evan Lloyd, 
404 evan.lloyd@arm.com
405
406 AcpiExec: Added a new option, -df, to disable the local fault handler. 
407 This is useful during debugging, where it may be desired to drop into a 
408 debugger on a fault.
409
410 ----------------------------------------
411 13 March 2018. Summary of changes for version 20180313:
412
413
414 1) ACPICA kernel-resident subsystem:
415
416 Implemented various improvements to the GPE support:
417
418 1) Dispatch all active GPEs at initialization time so that no GPEs are 
419 lost.
420 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled 
421 before devices are enumerated.
422 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that 
423 IRQs are not lost.
424 4) Add parallel GPE handling to eliminate the possibility of dispatching 
425 the same GPE twice.
426 5) Dispatch any pending GPEs after enabling for the first time.
427
428 AcpiGetObjectInfo - removed support for the _STA method. This was causing 
429 problems on some platforms.
430
431 Added a new _OSI string, "Windows 2017.2".
432
433 Cleaned up and simplified the module-level code support. These changes 
434 are in preparation for the eventual removal of the legacy MLC support 
435 (deferred execution), replaced by the new MLC architecture which executes 
436 the MLC as a table is loaded (DSDT/SSDTs).
437
438 Changed a compile-time option to a runtime option. Changes the option to 
439 ignore ACPI table load-time package resolution errors into a runtime 
440 option. Used only for platforms that generate many AE_NOT_FOUND errors 
441 during boot. AcpiGbl_IgnorePackageResolutionErrors.
442
443 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some 
444 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid 
445 compilation errors from unused variables (seen with some compilers).
446
447
448 2) iASL Compiler/Disassembler and Tools:
449
450 ASLTS: parallelized execution in order to achieve an (approximately) 2X 
451 performance increase.
452
453 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves 
454 error reporting.
455
456 ----------------------------------------
457 09 February 2018. Summary of changes for version 20180209:
458
459
460 1) ACPICA kernel-resident subsystem:
461
462 Completed the final integration of the recent changes to Package Object 
463 handling and the module-level AML code support. This allows forward 
464 references from individual package elements when the package object is 
465 declared from within module-level code blocks. Provides compatibility 
466 with other ACPI implementations.
467
468 The new architecture for the AML module-level code has been completed and 
469 is now the default for the ACPICA code. This new architecture executes 
470 the module-level code in-line as the ACPI table is loaded/parsed instead 
471 of the previous architecture which deferred this code until after the 
472 table was fully loaded. This solves some ASL code ordering issues and 
473 provides compatibility with other ACPI implementations. At this time, 
474 there is an option to fallback to the earlier architecture, but this 
475 support is deprecated and is planned to be completely removed later this 
476 year.
477
478 Added a compile-time option to ignore AE_NOT_FOUND exceptions during 
479 resolution of named reference elements within Package objects. Although 
480 this is potentially a serious problem, it can generate a lot of 
481 noise/errors on platforms whose firmware carries around a bunch of unused 
482 Package objects. To disable these errors, define 
483 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All 
484 errors are always reported for ACPICA applications such as AcpiExec.
485
486 Fixed a regression related to the explicit type-conversion AML operators 
487 (ToXXXX). The regression was introduced early in 2017 but was not seen 
488 until recently because these operators are not fully supported by other 
489 ACPI implementations and are thus rarely used by firmware developers. The 
490 operators are defined by the ACPI specification to not implement the 
491 "implicit result object conversion". The regression incorrectly 
492 introduced this object conversion for the following explicit conversion 
493 operators:
494     ToInteger
495     ToString
496     ToBuffer
497     ToDecimalString
498     ToHexString
499     ToBCD
500     FromBCD
501
502
503 2) iASL Compiler/Disassembler and Tools:
504
505 iASL: Fixed a problem with the compiler constant folding feature as 
506 related to the ToXXXX explicit conversion operators. These operators do 
507 not support the "implicit result object conversion" by definition. Thus, 
508 ASL expressions that use these operators cannot be folded to a simple 
509 Store operator because Store implements the implicit conversion. This 
510 change uses the CopyObject operator for the ToXXXX operator folding 
511 instead. CopyObject is defined to not implement implicit result 
512 conversions and is thus appropriate for folding the ToXXXX operators.
513
514 iASL: Changed the severity of an error condition to a simple warning for 
515 the case where a symbol is declared both locally and as an external 
516 symbol. This accommodates existing ASL code.
517
518 AcpiExec: The -ep option to enable the new architecture for module-level 
519 code has been removed. It is replaced by the -dp option which instead has 
520 the opposite effect: it disables the new architecture (the default) and 
521 enables the legacy architecture. When the legacy code is removed in the 
522 future, the -dp option will be removed also.
523
524 ----------------------------------------
525 05 January 2018. Summary of changes for version 20180105:
526
527
528 1) ACPICA kernel-resident subsystem:
529
530 Updated all copyrights to 2018. This affects all source code modules.
531
532 Fixed a possible build error caused by an unresolved reference to the 
533 AcpiUtSafeStrncpy function.
534
535 Removed NULL pointer arithmetic in the various pointer manipulation 
536 macros. All "(void *) NULL" constructs are converted to "(void *) 0". 
537 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
538
539 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj 
540 Mittal.
541
542
543 2) iASL Compiler/Disassembler and Tools:
544
545 ASLTS: Updated all copyrights to 2018.
546
547 Tools: Updated all signon copyrights to 2018.
548
549 AcpiXtract: Fixed a regression related to ACPI table signatures where the 
550 signature was truncated to 3 characters (instead of 4).
551
552 AcpiExec: Restore the original terminal mode after the use of the -v and 
553 -vd options.
554
555 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
556
557 ----------------------------------------
558 14 December 2017. Summary of changes for version 20171214:
559
560
561 1) ACPICA kernel-resident subsystem:
562
563 Fixed a regression in the external (public) AcpiEvaluateObjectTyped 
564 interface where the optional "pathname" argument had inadvertently become 
565 a required argument returning an error if omitted (NULL pointer 
566 argument).
567
568 Fixed two possible memory leaks related to the recently developed "late 
569 resolution" of reference objects within ASL Package Object definitions.
570
571 Added two recently defined _OSI strings: "Windows 2016" and "Windows 
572 2017". Mario Limonciello.
573
574 Implemented and deployed a safer version of the C library function 
575 strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the 
576 creation of unterminated strings as a possible result of a standard 
577 strncpy.
578
579 Cleaned up and restructured the global variable file (acglobal.h). There 
580 are many changes, but no functional changes.
581
582
583 2) iASL Compiler/Disassembler and Tools:
584
585 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the 
586 optional OemData field at the end of the table was incorrectly required 
587 for proper compilation. It is now correctly an optional field.
588
589 ASLTS: The entire suite was converted from standard ASL to the ASL+ 
590 language, using the ASL-to-ASL+ converter which is integrated into the 
591 iASL compiler. A binary compare of all output files has verified the 
592 correctness of the conversion.
593
594 iASL: Fixed the source code build for platforms where "char" is unsigned. 
595 This affected the iASL lexer only. Jung-uk Kim.
596
597 ----------------------------------------
598 10 November 2017. Summary of changes for version 20171110:
599
600
601 1) ACPICA kernel-resident subsystem:
602
603 This release implements full support for ACPI 6.2A:
604     NFIT - Added a new subtable, "Platform Capabilities Structure"
605 No other changes to ACPICA were required, since ACPI 6.2A is primarily an 
606 errata release of the specification.
607
608 Other ACPI table changes:
609     IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
610     PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy 
611 Linton
612
613 Utilities: Modified the string/integer conversion functions to use 
614 internal 64-bit divide support instead of a native divide. On 32-bit 
615 platforms, a 64-bit divide typically requires a library function which 
616 may not be present in the build (kernel or otherwise).
617
618 Implemented a targeted error message for timeouts returned from the 
619 Embedded Controller device driver. This is seen frequently enough to 
620 special-case an AE_TIME returned from an EC operation region access:
621     "Timeout from EC hardware or EC device driver"
622
623 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all 
624 runtime error messages have the identical prefix.
625
626
627 2) iASL Compiler/Disassembler and Tools:
628
629 AcpiXtract: Fixed a problem with table header detection within the 
630 acpidump file. Processing a table could be ended early if a 0x40 (@) 
631 appears in the original binary table, resulting in the @ symbol appearing 
632 in the decoded ASCII field at the end of the acpidump text line. The 
633 symbol caused acpixtract to incorrectly think it had reached the end of 
634 the current table and the beginning of a new table.
635
636 AcpiXtract: Added an option (-f) to ignore some errors during table 
637 extraction. This initial implementation ignores non-ASCII and non-
638 printable characters found in the acpidump text file.
639
640 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics 
641 for ASLTS. This feature is used to track memory allocations from 
642 different memory caches within the ACPICA code. At the end of an ASLTS 
643 run, these memory statistics are recorded and stored in a log file.
644
645 Debugger (user-space version): Implemented a simple "Background" command. 
646 Creates a new thread to execute a control method in the background, while 
647 control returns to the debugger prompt to allow additional commands.
648     Syntax: Background <Namepath> [Arguments]
649
650 ----------------------------------------
651 29 September 2017. Summary of changes for version 20170929:
652
653
654 1) ACPICA kernel-resident subsystem:
655
656 Redesigned and implemented an improved ASL While() loop timeout 
657 mechanism. This mechanism is used to prevent infinite loops in the kernel 
658 AML interpreter caused by either non-responsive hardware or incorrect AML 
659 code. The new implementation uses AcpiOsGetTimer instead of a simple 
660 maximum loop count, and is thus more accurate and constant across 
661 different machines. The default timeout is currently 30 seconds, but this 
662 may be adjusted later.
663
664 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to 
665 better reflect the new implementation of the loop timeout mechanism.
666
667 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support 
668 and to fix an off-by-one error. Jung-uk Kim.
669
670 Fixed an EFI build problem by updating the makefiles to for a new file 
671 that was added, utstrsuppt.c
672
673
674 2) iASL Compiler/Disassembler and Tools:
675
676 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This 
677 includes support in the table disassembler, compiler, and template 
678 generator.
679
680 iASL: Added an exception for an illegal type of recursive method 
681 invocation. If a method creates named objects, the first recursive call 
682 will fail at runtime. This change adds an error detection at compile time 
683 to catch the problem up front. Note: Marking such a method as 
684 "serialized" will not help with this problem, because the same thread can 
685 acquire the method mutex more than once. Example compiler and runtime 
686 output:
687
688     Method (MTH1)
689     {
690         Name (INT1, 1)
691         MTH1 ()
692     }
693
694     dsdt.asl     22: MTH1 ()
695     Error    6152 -  ^ Illegal recursive call to method
696                        that creates named objects (MTH1)
697
698 Previous runtime exception:
699     ACPI Error: [INT1] Namespace lookup failure,
700     AE_ALREADY_EXISTS (20170831/dswload2-465)
701
702 iASL: Updated support for External() opcodes to improve namespace 
703 management and error detection. These changes are related to issues seen 
704 with multiple-segment namespace pathnames within External declarations, 
705 such as below:
706
707     External(\_SB.PCI0.GFX0, DeviceObj)
708     External(\_SB.PCI0.GFX0.ALSI)
709
710 iASL: Implemented support for multi-line error/warning messages. This 
711 enables more detailed and helpful error messages as below, from the 
712 initial deployment for the duplicate names error:
713
714     DSDT.iiii   1692:       Device(PEG2) {
715     Error    6074 -                  ^ Name already exists in scope 
716 (PEG2)
717
718         Original name creation/declaration below:
719         DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
720
721 AcpiXtract: Added additional flexibility to support differing input hex 
722 dump formats. Specifically, hex dumps that contain partial disassembly 
723 and/or comments within the ACPI table data definition. There exist some 
724 dump utilities seen in the field that create this type of hex dump (such 
725 as Simics). For example:
726
727     DSDT @ 0xdfffd0c0 (10999 bytes)
728         Signature DSDT
729         Length 10999
730         Revision 1
731         Checksum 0xf3 (Ok)
732         OEM_ID BXPC
733         OEM_table_id BXDSDT
734         OEM_revision 1
735         Creator_id 1280593481
736         Creator_revision 537399345
737       0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
738       ...
739       2af0: 5f 4c 30 46 00 a4 01
740
741 Test suite: Miscellaneous changes/fixes:
742     More cleanup and simplification of makefiles
743     Continue compilation of test cases after a compile failure
744     Do not perform binary compare unless both files actually exist
745
746 iASL: Performed some code/module restructuring. Moved all memory 
747 allocation functions to new modules. Two new files, aslallocate.c and 
748 aslcache.c
749
750 ----------------------------------------
751 31 August 2017. Summary of changes for version 20170831:
752
753
754 1) ACPICA kernel-resident subsystem:
755
756 Implemented internal support for full 64-bit addresses that appear in all 
757 Generic Address Structure (GAS) structures. Previously, only the lower 32 
758 bits were used. Affects the use of GAS structures in the FADT and other 
759 tables, as well as the GAS structures passed to the AcpiRead and 
760 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
761
762 Added header support for the PDTT ACPI table (Processor Debug Trigger 
763 Table). Full support in the iASL Data Table Compiler and disassembler is 
764 forthcoming.
765
766
767 2) iASL Compiler/Disassembler and Tools:
768
769 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
770 Properties Topology Table) where a flag bit was specified in the wrong 
771 bit position ("Line Size Valid", bit 6).
772
773 iASL: Implemented support for Octal integer constants as defined by the 
774 ASL language grammar, per the ACPI specification. Any integer constant 
775 that starts with a zero is an octal constant. For example,
776     Store (037777, Local0) /* Octal constant */
777     Store (0x3FFF, Local0) /* Hex equivalent */
778     Store (16383,  Local0) /* Decimal equivalent */
779
780 iASL: Improved overflow detection for 64-bit string conversions during 
781 compilation of integer constants. "Overflow" in this case means a string 
782 that represents an integer that is too large to fit into a 64-bit value. 
783 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
784 the low-order 32 bits with a warning, as previously implemented. Several 
785 new exceptions are defined that indicate a 64-bit overflow, as well as 
786 the base (radix) that was used during the attempted conversion. Examples:
787     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
788     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
789     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
790
791 iASL: Added a warning for the case where a ResourceTemplate is declared 
792 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
793 this case, the resulting template is created with a single END_TAG 
794 descriptor, which is essentially useless.
795
796 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
797 include compilation error codes as well.
798
799 ----------------------------------------
800 28 July 2017. Summary of changes for version 20170728:
801
802
803 1) ACPICA kernel-resident subsystem:
804
805 Fixed a regression seen with small resource descriptors that could cause 
806 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
807
808 AML interpreter: Implemented a new feature that allows forward references 
809 from individual named references within package objects that are 
810 contained within blocks of "module-level code". This provides 
811 compatibility with other ACPI implementations and supports existing 
812 firmware that depends on this feature. Example:
813
814     Name (ABCD, 1)
815     If (ABCD)                       /* An If() at module-level */
816     {
817         Name (PKG1, Package()
818         {
819             INT1                    /* Forward reference to object INT1 
820 */
821         })
822         Name (INT1, 0x1234)
823     }
824
825 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
826 to some ASL objects were not handled properly. Objects affected are: 
827 Mutex, Event, and OperationRegion.
828
829 AML Debugger: Enhanced to properly handle AML Alias objects. These 
830 objects have one level of indirection which was not fully supported by 
831 the debugger.
832
833 Table Manager: Added support to detect and ignore duplicate SSDTs within 
834 the XSDT/RSDT. This error in the XSDT has been seen in the field.
835
836 EFI and EDK2 support:
837     Enabled /WX flag for MSVC builds
838     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
839     Added local support for 64-bit multiply and shift operations
840     Added support to compile acpidump.efi on Windows
841     Added OSL function stubs for interfaces not used under EFI
842
843 Added additional support for the _DMA predefined name. _DMA returns a 
844 buffer containing a resource template. This change add support within the 
845 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
846 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
847
848
849 2) iASL Compiler/Disassembler and Tools:
850
851 iASL: Fixed a problem where the internal input line buffer(s) could 
852 overflow if there are very long lines in the input ASL source code file. 
853 Implemented buffer management that automatically increases the size of 
854 the buffers as necessary.
855
856 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
857 errors. If the specified exception is not raised during compilation, the 
858 compiler emits an error. This is intended to support the ASL test suite, 
859 but may be useful in other contexts.
860
861 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
862 string containing the name of the current control method that is being 
863 compiled.
864
865 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
866 table (Software Delegated Exception Interface). James Morse 
867 <james.morse@arm.com>
868
869 Unix/Linux makefiles: Added an option to disable compile optimizations. 
870 The disable occurs when the NOOPT flag is set to TRUE. 
871 theracermaster@gmail.com
872
873 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
874 when there are different tables for 32-bit versus 64-bit.
875
876 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
877 unnecessary/verbose text, and emit the actual line number where an error 
878 has occurred. These changes are intended to improve the usefulness of the 
879 test suite.
880
881 ----------------------------------------
882 29 June 2017. Summary of changes for version 20170629:
883
884
885 1) ACPICA kernel-resident subsystem:
886
887 Tables: Implemented a deferred ACPI table verification. This is useful 
888 for operating systems where the tables cannot be verified in the early 
889 initialization stage due to early memory mapping limitations on some 
890 architectures. Lv Zheng.
891
892 Tables: Removed the signature validation for dynamically loaded tables. 
893 Provides compatibility with other ACPI implementations. Previously, only 
894 SSDT tables were allowed, as per the ACPI specification. Now, any table 
895 signature can be used via the Load() operator. Lv Zheng.
896
897 Tables: Fixed several mutex issues that could cause errors during table 
898 acquisition. Lv Zheng.
899
900 Tables: Fixed a problem where an ACPI warning could be generated if a 
901 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
902
903 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
904 AcpiPutTable interfaces. This applies to the "late stage" table loading 
905 when the use of AcpiPutTable is no longer required (since the system 
906 memory manager is fully running and available). Lv Zheng.
907
908 Fixed/Reverted a regression during processing of resource descriptors 
909 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
910 exception in this case.
911
912 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
913 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
914
915 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
916 or duplicate target is encountered during Alias creation in 
917 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
918
919 Added an option to use designated initializers for function pointers. 
920 Kees Cook <keescook@google.com>
921
922
923 2) iASL Compiler/Disassembler and Tools:
924
925 iASL: Allow compilation of External declarations with target pathnames 
926 that refer to existing named objects within the table. Erik Schmauss.
927
928 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
929 FieldUnit name also is declared via External in the same table. Erik 
930 Schmauss.
931
932 iASL: Allow existing scope names within pathnames used in External 
933 statements. For example:
934     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
935     Device (ABCD)
936
937 iASL: IORT ACPI table: Implemented changes required to decode the new 
938 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
939 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
940
941 Disassembler: Don't abort disassembly on errors from External() 
942 statements. Erik Schmauss.
943
944 Disassembler: fixed a possible fault when one of the Create*Field 
945 operators references a Resource Template. ACPICA Bugzilla 1396.
946
947 iASL: In the source code, resolved some naming inconsistences across the 
948 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
949 Adds a new file, aslparseop.c
950
951 ----------------------------------------
952 31 May 2017. Summary of changes for version 20170531:
953
954
955 0) ACPI 6.2 support:
956
957 The ACPI specification version 6.2 has been released and is available at
958 http://uefi.org/specifications
959
960 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
961 are summarized below.
962
963 New ACPI tables (Table Compiler/Disassembler/Templates):
964     HMAT (Heterogeneous Memory Attributes Table)
965     WSMT (Windows SMM Security Mitigation Table)
966     PPTT (Processor Properties Topology Table)
967
968 New subtables for existing ACPI tables:
969     HEST (New subtable, Arch-deferred machine check)
970     SRAT (New subtable, Arch-specific affinity structure)
971     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
972
973 Simple updates for existing ACPI tables:
974     BGRT (two new flag bits)
975     HEST (New bit defined for several subtables, GHES_ASSIST)
976
977 New Resource Descriptors and Resource macros (Compiler/Disassembler):
978     PinConfig()
979     PinFunction()
980     PinGroup()
981     PinGroupConfig()
982     PinGroupFunction()
983     New type for hardware error notification (section 18.3.2.9)
984
985 New predefined names/methods (Compiler/Interpreter):
986     _HMA (Heterogeneous Memory Attributes)
987     _LSI (Label Storage Information)
988     _LSR (Label Storage Read)
989     _LSW (Label Storage Write)
990
991 ASL grammar/macro changes (Compiler):
992     For() ASL macro, implemented with the AML while operator
993     Extensions to Concatenate operator
994     Support for multiple definition blocks in same ASL file
995     Clarification for Buffer operator
996     Allow executable AML code underneath all scopes (Devices, etc.)
997     Clarification/change for the _OSI return value
998     ASL grammar update for reference operators
999     Allow a zero-length string for AML filename in DefinitionBlock
1000
1001 Miscellaneous:
1002     New device object notification value
1003     Remove a notify value (0x0C) for graceful shutdown
1004     New UUIDs for processor/cache properties and
1005         physical package property
1006     New _HID, ACPI0014 (Wireless Power Calibration Device)
1007
1008
1009 1) ACPICA kernel-resident subsystem:
1010
1011 Added support to disable ACPI events on hardware-reduced platforms. 
1012 Eliminates error messages of the form "Could not enable fixed event". Lv 
1013 Zheng
1014
1015 Fixed a problem using Device/Thermal objects with the ObjectType and 
1016 DerefOf ASL operators. This support had not been fully/properly 
1017 implemented.
1018
1019 Fixed a problem where if a Buffer object containing a resource template 
1020 was longer than the actual resource template, an error was generated -- 
1021 even though the AML is legal. This case has been seen in the field.
1022
1023 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
1024 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
1025
1026 Added header file changes for the TPM2 ACPI table. Update to new version 
1027 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
1028
1029 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
1030 These interfaces are intended to be used only in conjunction with the 
1031 predefined _DLM method (Device Lock Method). "This object appears in a 
1032 device scope when AML access to the device must be synchronized with the 
1033 OS environment".
1034
1035 Example Code and Data Size: These are the sizes for the OS-independent 
1036 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1037 debug version of the code includes the debug output trace mechanism and 
1038 has a much larger code and data size.
1039
1040   Current Release:
1041     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
1042     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
1043   Previous Release:
1044     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1045     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
1046
1047
1048 2) iASL Compiler/Disassembler and Tools:
1049
1050 iASL: Fixed a problem where an External() declaration could not refer to 
1051 a Field Unit. Erik Schmauss.
1052
1053 Disassembler: Improved support for the Switch/Case operators. This 
1054 feature will disassemble AML code back to the original Switch operators 
1055 when possible, instead of an If..Else sequence. David Box
1056
1057 iASL and disassembler: Improved the handling of multiple extraneous 
1058 parentheses for both ASL input and disassembled ASL output.
1059
1060 Improved the behavior of the iASL compiler and disassembler to detect 
1061 improper use of external declarations
1062
1063 Disassembler: Now aborts immediately upon detection of an unknown AML 
1064 opcode. The AML parser has no real way to recover from this, and can 
1065 result in the creation of an ill-formed parse tree that causes errors 
1066 later during the disassembly.
1067
1068 All tools: Fixed a problem where the Unix application OSL did not handle 
1069 control-c correctly. For example, a control-c could incorrectly wake the 
1070 debugger.
1071
1072 AcpiExec: Improved the Control-C handling and added a handler for 
1073 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
1074 environments.
1075
1076 Reduced the verbosity of the generic unix makefiles. Previously, each 
1077 compilation displayed the full set of compiler options. This has been 
1078 eliminated as the options are easily inspected within the makefiles. Each 
1079 compilation now results in a single line of output.
1080
1081 ----------------------------------------
1082 03 March 2017. Summary of changes for version 20170303:
1083
1084
1085 0) ACPICA licensing:
1086
1087 The licensing information at the start of each source code module has 
1088 been updated. In addition to the Intel license, the dual GPLv2/BSD 
1089 license has been added for completeness. Now, a single version of the 
1090 source code should be suitable for all ACPICA customers. This is the 
1091 major change for this release since it affects all source code modules.
1092
1093
1094 1) ACPICA kernel-resident subsystem: 
1095
1096 Fixed two issues with the common asltypes.h header that could cause 
1097 problems in some environments: (Kim Jung-uk)
1098     Removed typedef for YY_BUFFER_STATE ?
1099        Fixes an error with earlier versions of Flex.
1100     Removed use of FILE typedef (which is only defined in stdio.h)
1101
1102
1103 2) iASL Compiler/Disassembler and Tools: 
1104
1105 Disassembler: fixed a regression introduced in 20170224. A fix for a 
1106 memory leak related to resource descriptor tags (names) could fault when 
1107 the disassembler was generated with 64-bit compilers.
1108
1109 The ASLTS test suite has been updated to implement a new testing 
1110 architecture. During generation of the suite from ASL source, both the 
1111 ASL and ASL+ compilers are now validated, as well as the disassembler 
1112 itself (Erik Schmauss). The architecture executes as follows:
1113
1114     For every ASL source module:
1115         Compile (legacy ASL compilation)
1116         Disassemble the resulting AML to ASL+ source code
1117         Compile the new ASL+ module
1118         Perform a binary compare on the legacy AML and the new ASL+ AML
1119     The ASLTS suite then executes normally using the AML binaries.
1120
1121 ----------------------------------------
1122 24 February 2017. Summary of changes for version 20170224:
1123
1124
1125 1) ACPICA kernel-resident subsystem:
1126
1127 Interpreter: Fixed two issues with the control method return value auto-
1128 repair feature, where an attempt to double-delete an internal object 
1129 could result in an ACPICA warning (for _CID repair and others). No fault 
1130 occurs, however, because the attempted deletion (actually a release to an 
1131 internal cache) is detected and ignored via object poisoning.
1132
1133 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
1134 of control methods. If certain debugger commands are executed during 
1135 stepping, a mutex aquire/release error could occur. Lv Zheng.
1136
1137 Fixed some issues generating ACPICA with the Intel C compiler by 
1138 restoring the original behavior and compiler-specific include file in 
1139 acenv.h. Lv Zheng.
1140
1141 Example Code and Data Size: These are the sizes for the OS-independent 
1142 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1143 debug version of the code includes the debug output trace mechanism and 
1144 has a much larger code and data size.
1145
1146   Current Release:
1147     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1148     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
1149   Previous Release:
1150     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1151     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1152
1153
1154 2) iASL Compiler/Disassembler and Tools:
1155
1156 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
1157 tool has been designed, implemented, and included in this release. The 
1158 key feature of this utility is that the original comments within the 
1159 input ASL file are preserved during the conversion process, and included 
1160 within the converted ASL+ file -- thus creating a transparent conversion 
1161 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
1162
1163     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
1164 converted code
1165
1166 iASL/Disassembler: Improved the detection and correct disassembly of 
1167 Switch/Case operators. This feature detects sequences of if/elseif/else 
1168 operators that originated from ASL Switch/Case/Default operators and 
1169 emits the original operators. David Box.
1170
1171 iASL: Improved the IORT ACPI table support in the following areas. Lv 
1172 Zheng:
1173     Clear MappingOffset if the MappingCount is zero.
1174     Fix the disassembly of the SMMU GSU interrupt offset.
1175     Update the template file for the IORT table.
1176
1177 Disassembler: Enhanced the detection and disassembly of resource 
1178 template/descriptor within a Buffer object. An EndTag descriptor is now 
1179 required to have a zero second byte, since all known ASL compilers emit 
1180 this. This helps eliminate incorrect decisions when a buffer is 
1181 disassembled (false positives on resource templates).
1182
1183 ----------------------------------------
1184 19 January 2017. Summary of changes for version 20170119:
1185
1186
1187 1) General ACPICA software:
1188
1189 Entire source code base: Added the 2017 copyright to all source code 
1190 legal/licensing module headers and utility/tool signons. This includes 
1191 the standard Linux dual-license header. This affects virtually every file 
1192 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
1193 the ACPICA test suite.
1194
1195
1196 2) iASL Compiler/Disassembler and Tools:
1197
1198 iASL: Removed/fixed an inadvertent remark when a method argument 
1199 containing a reference is used as a target operand within the method (and 
1200 never used as a simple argument), as in the example below. Jeffrey Hugo.
1201
1202     dsdt.asl   1507:    Store(0x1, Arg0)
1203     Remark   2146 -                ^ Method Argument is never used (Arg0)
1204
1205 All tools: Removed the bit width of the compiler that generated the tool 
1206 from the common signon for all user space tools. This proved to be 
1207 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
1208 from the generic makefiles (Thomas Petazzoni). Example below.
1209
1210     Old:
1211     ASL+ Optimizing Compiler version 20170119-32
1212     ASL+ Optimizing Compiler version 20170119-64
1213
1214     New:
1215     ASL+ Optimizing Compiler version 20170119
1216
1217 ----------------------------------------
1218 22 December 2016. Summary of changes for version 20161222:
1219
1220
1221 1) ACPICA kernel-resident subsystem:
1222
1223 AML Debugger: Implemented a new mechanism to simplify and enhance 
1224 debugger integration into all environments, including kernel debuggers 
1225 and user-space utilities, as well as remote debug services. This 
1226 mechanism essentially consists of new OSL interfaces to support debugger 
1227 initialization/termination, as well as wait/notify interfaces to perform 
1228 the debugger handshake with the host. Lv Zheng.
1229
1230     New OSL interfaces:
1231         AcpiOsInitializeDebugger (void)
1232         AcpiOsTerminateDebugger (void)
1233         AcpiOsWaitCommandReady (void)
1234         AcpiOsNotifyCommandComplete (void)
1235
1236     New OS services layer:
1237         osgendbg.c -- Example implementation, and used for AcpiExec
1238
1239 Update for Generic Address Space (GAS) support: Although the AccessWidth 
1240 and/or BitOffset fields of the GAS are not often used, this change now 
1241 fully supports these fields. This affects the internal support for FADT 
1242 registers, registers in other ACPI data tables, and the AcpiRead and 
1243 AcpiWrite public interfaces. Lv Zheng.
1244
1245 Sleep support: In order to simplify integration of ACPI sleep for the 
1246 various host operating systems, a new OSL interface has been introduced. 
1247 AcpiOsEnterSleep allows the host to perform any required operations 
1248 before the final write to the sleep control register(s) is performed by 
1249 ACPICA. Lv Zheng.
1250
1251     New OSL interface:
1252         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
1253
1254     Called from these internal interfaces:
1255         AcpiHwLegacySleep
1256         AcpiHwExtendedSleep
1257
1258 EFI support: Added a very small EFI/ACPICA example application. Provides 
1259 a simple demo for EFI integration, as well as assisting with resolution 
1260 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
1261
1262     source/tools/efihello/efihello.c
1263
1264 Local C library: Implemented several new functions to enhance ACPICA 
1265 portability, for environments where these clib functions are not 
1266 available (such as EFI). Lv Zheng:
1267     putchar
1268     getchar
1269     strpbrk
1270     strtok
1271     memmove
1272
1273 Fixed a regression where occasionally a valid resource descriptor was 
1274 incorrectly detected as invalid at runtime, and a 
1275 AE_AML_NO_RESOURCE_END_TAG was returned.
1276
1277 Fixed a problem with the recently implemented support that enables 
1278 control method invocations as Target operands to many ASL operators. 
1279 Warnings of this form: "Needed type [Reference], found [Processor]" were 
1280 seen at runtime for some method invocations.
1281
1282 Example Code and Data Size: These are the sizes for the OS-independent 
1283 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1284 debug version of the code includes the debug output trace mechanism and 
1285 has a much larger code and data size.
1286
1287   Current Release:
1288     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
1289     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
1290   Previous Release:
1291     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1292     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1293
1294
1295 2) iASL Compiler/Disassembler and Tools:
1296
1297 Disassembler: Enhanced output by adding the capability to detect and 
1298 disassemble ASL Switch/Case statements back to the original ASL source 
1299 code instead of if/else blocks. David Box.
1300
1301 AcpiHelp: Split a large file into separate files based upon 
1302 functionality/purpose. New files are:
1303     ahaml.c
1304     ahasl.c
1305
1306 ----------------------------------------
1307 17 November 2016. Summary of changes for version 20161117:
1308
1309
1310 1) ACPICA kernel-resident subsystem:
1311
1312 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
1313 cleanup". This was an attempt to remove all references in the source to 
1314 the FADT version 2, which never was a legal version number. It was 
1315 skipped because it was an early version of 64-bit support that was 
1316 eventually abandoned for the current 64-bit support.
1317
1318 Interpreter: Fixed a problem where runtime implicit conversion was 
1319 incorrectly disabled for the ASL operators below. This brings the 
1320 behavior into compliance with the ACPI specification:
1321     FromBCD
1322     ToBCD
1323     ToDecimalString
1324     ToHexString
1325     ToInteger
1326     ToBuffer
1327
1328 Table Manager: Added a new public interface, AcpiPutTable, used to 
1329 release and free an ACPI table returned by AcpiGetTable and related 
1330 interfaces. Lv Zheng.
1331
1332 Example Code and Data Size: These are the sizes for the OS-independent 
1333 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1334 debug version of the code includes the debug output trace mechanism and 
1335 has a much larger code and data size.
1336
1337   Current Release:
1338     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1339     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1340   Previous Release:
1341     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1342     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1343
1344
1345 2) iASL Compiler/Disassembler and Tools:
1346
1347 Disassembler: Fixed a regression for disassembly of Resource Template. 
1348 Detection of templates in the AML stream missed some types of templates.
1349
1350 iASL: Fixed a problem where an Access Size error was returned for the PCC 
1351 address space when the AccessSize of the GAS register is greater than a 
1352 DWORD. Hoan Tran.
1353
1354 iASL: Implemented several grammar changes for the operators below. These 
1355 changes are slated for the next version of the ACPI specification:
1356     RefOf        - Disallow method invocation as an operand
1357     CondRefOf    - Disallow method invocation as an operand
1358     DerefOf      - Disallow operands that use the result from operators 
1359 that
1360                    do not return a reference (Changed TermArg to 
1361 SuperName).
1362
1363 iASL: Control method invocations are now allowed for Target operands, as 
1364 per the ACPI specification. Removed error for using a control method 
1365 invocation as a Target operand.
1366
1367 Disassembler: Improved detection of Resource Templates, Unicode, and 
1368 Strings within Buffer objects. These subtypes do not contain a specific 
1369 opcode to indicate the originating ASL code, and they must be detected by 
1370 other means within the disassembler. 
1371
1372 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
1373 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
1374 only after 64-bit to 32-bit truncation. A truncation warning message is 
1375 still emitted, however.
1376
1377 AcpiXtract: Implemented handling for both types of line terminators (LF 
1378 or CR/LF) so that it can accept AcpiDump output files from any system. 
1379 Peter Wu.
1380
1381 AcpiBin: Added two new options for comparing AML files:
1382     -a: compare and display ALL mismatches
1383     -o: start compare at this offset into the second file
1384
1385 ----------------------------------------
1386 30 September 2016. Summary of changes for version 20160930:
1387
1388
1389 1) ACPICA kernel-resident subsystem:
1390
1391 Fixed a regression in the internal AcpiTbFindTable function where a non 
1392 AE_OK exception could inadvertently be returned even if the function did 
1393 not fail. This problem affects the following operators:
1394     DataTableRegion
1395     LoadTable
1396
1397 Fixed a regression in the LoadTable operator where a load to any 
1398 namespace location other than the root no longer worked properly.
1399
1400 Increased the maximum loop count value that will result in the 
1401 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
1402 prevent infinite loops within the AML interpreter and thus the host OS 
1403 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
1404 1,048,575).
1405
1406 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
1407 acpixf.h file. This allows hosts to easily configure the maximum loop 
1408 count at runtime.
1409
1410 Removed an illegal character in the strtoul64.c file. This character 
1411 caused errors with some C compilers.
1412
1413 Example Code and Data Size: These are the sizes for the OS-independent 
1414 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1415 debug version of the code includes the debug output trace mechanism and 
1416 has a much larger code and data size.
1417
1418   Current Release:
1419     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1420     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1421   Previous Release:
1422     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
1423     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1424
1425
1426 2) iASL Compiler/Disassembler and Tools:
1427
1428 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
1429 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
1430 block could be lost and missing from the disassembled output.
1431
1432 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
1433 the missing rule caused a parse error when using the Index operator as an 
1434 operand to ObjectType. This construct now compiles properly. Example:
1435     ObjectType(PKG1[4]).
1436
1437 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
1438 option). Previously, unresolved symbols could cause a protection fault. 
1439 Such symbols are now marked as unresolved in the map file.
1440
1441 iASL: Implemented support to allow control method invocations as an 
1442 operand to the ASL DeRefOf operator. Example:
1443     DeRefOf(MTH1(Local0))
1444
1445 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
1446 possible _PLD buffer now includes examination of both the normal buffer 
1447 length (16 or 20) as well as the surrounding AML package length.
1448
1449 Disassembler: Fixed a problem with the decoding of complex expressions 
1450 within the Divide operator for ASL+. For the case where both the quotient 
1451 and remainder targets are specified, the entire statement cannot be 
1452 disassembled. Previously, the output incorrectly contained a mix of ASL- 
1453 and ASL+ operators. This mixed statement causes a syntax error when 
1454 compiled. Example:
1455     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
1456 disassembled to:
1457     Divide (INT1 + 6, 128, RSLT, QUOT)
1458
1459 iASL/Tools: Added support to process AML and non-AML ACPI tables 
1460 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
1461 tables (AML and data tables). For the iASL -e option, allow only AML 
1462 tables (DSDT/SSDT).
1463
1464 ----------------------------------------
1465 31 August 2016. Summary of changes for version 20160831:
1466
1467
1468 1) ACPICA kernel-resident subsystem:
1469
1470 Improve support for the so-called "module-level code", which is defined 
1471 to be math, logical and control AML opcodes that appear outside of any 
1472 control method. This change improves the support by adding more opcodes 
1473 that can be executed in the manner. Some other issues have been solved, 
1474 and the ASL grammar changes to support such code under all scope 
1475 operators (Device, etc.) are complete. Lv Zheng.
1476
1477 UEFI support: these OSL functions have been implemented. This is an 
1478 additional step toward supporting the AcpiExec utility natively (with 
1479 full hardware access) under UEFI. Marcelo Ferreira.
1480     AcpiOsReadPciConfiguration
1481     AcpiOsWritePciConfiguration
1482
1483 Fixed a possible mutex error during control method auto-serialization. Lv 
1484 Zheng. 
1485
1486 Updated support for the Generic Address Structure by fully implementing 
1487 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
1488 Zheng.
1489
1490 Updated the return value for the internal _OSI method. Instead of 
1491 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
1492 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
1493 implementations, and will be reflected and clarified in the next version 
1494 of the ACPI specification.
1495
1496 Implemented two new table events that can be passed to an ACPICA table 
1497 handler. These events are used to indicate a table installation or 
1498 uninstallation. These events are used in addition to existed table load 
1499 and unload events. Lv Zheng.
1500
1501 Implemented a cleanup for all internal string-to-integer conversions. 
1502 Consolidate multiple versions of this functionality and limit possible 
1503 bases to either 10 or 16 to simplify the code. Adds a new file, 
1504 utstrtoul64.
1505
1506 Cleanup the inclusion order of the various compiler-specific headers. 
1507 This simplifies build configuration management. The compiler-specific 
1508 headers are now split out from the host-specific headers. Lv Zheng.
1509
1510 Example Code and Data Size: These are the sizes for the OS-independent 
1511 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1512 debug version of the code includes the debug output trace mechanism and 
1513 has a much larger code and data size.
1514
1515   Current Release:
1516     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
1517     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1518
1519
1520 2) iASL Compiler/Disassembler and Tools:
1521
1522 iASL/AcpiExec: Added a command line option to display the build date/time 
1523 of the tool (-vd). This can be useful to verify that the correct version 
1524 of the tools are being used.
1525
1526 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
1527 all predefined control methods and names within the current namespace. 
1528 This can be useful for debugging problems with ACPI tables and the ACPI 
1529 namespace.
1530
1531 ----------------------------------------
1532 29 July 2016. Summary of changes for version 20160729:
1533
1534
1535 1) ACPICA kernel-resident subsystem:
1536
1537 Implemented basic UEFI support for the various ACPICA tools. This 
1538 includes:
1539 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
1540 2) Support to obtain the ACPI tables on UEFI.
1541 3) Local implementation of required C library functions not available on 
1542 UEFI.
1543 4) A front-end (main) function for the tools for UEFI-related 
1544 initialization.
1545
1546 The initial deployment of this support is the AcpiDump utility executing 
1547 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
1548 Current environments supported are Linux/Unix. MSVC generation is not 
1549 supported at this time. See the generate/efi/README file for build 
1550 instructions. Lv Zheng.
1551
1552 Future plans include porting the AcpiExec utility to execute natively on 
1553 the platform with I/O and memory access. This will allow viewing/dump of 
1554 the platform namespace and native execution of ACPI control methods that 
1555 access the actual hardware. To fully implement this support, the OSL 
1556 functions below must be implemented with UEFI interfaces. Any community 
1557 help in the implementation of these functions would be appreciated:
1558     AcpiOsReadPort
1559     AcpiOsWritePort
1560     AcpiOsReadMemory
1561     AcpiOsWriteMemory
1562     AcpiOsReadPciConfiguration
1563     AcpiOsWritePciConfiguration
1564
1565 Restructured and standardized the C library configuration for ACPICA, 
1566 resulting in the various configuration options below. This includes a 
1567 global restructuring of the compiler-dependent and platform-dependent 
1568 include files. These changes may affect the existing platform-dependent 
1569 configuration files on some hosts. Lv Zheng. 
1570
1571 The current C library configuration options appear below. For any issues, 
1572 it may be helpful to examine the existing compiler-dependent and 
1573 platform-dependent files as examples. Lv Zheng. 
1574
1575 1) Linux kernel:
1576     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1577 library.
1578     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1579 2) Unix/Windows/BSD applications:
1580     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
1581 library.
1582     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1583 3) UEFI applications:
1584     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1585 library.
1586     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
1587 4) UEFI applications (EDK2/StdLib):
1588     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
1589     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
1590
1591
1592 AML interpreter: "module-level code" support. Allows for execution of so-
1593 called "executable" AML code (math/logical operations, etc.) outside of 
1594 control methods not just at the module level (top level) but also within 
1595 any scope declared outside of a control method - Scope{}, Device{}, 
1596 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
1597
1598 Simplified the configuration of the "maximum AML loops" global option by 
1599 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
1600 modified at runtime.
1601
1602
1603 Example Code and Data Size: These are the sizes for the OS-independent 
1604 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1605 debug version of the code includes the debug output trace mechanism and 
1606 has a much larger code and data size.
1607
1608   Current Release:
1609     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
1610     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
1611
1612
1613 2) iASL Compiler/Disassembler and Tools:
1614
1615 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
1616 Includes disassembler, data table compiler, and header support.
1617
1618 iASL Expand "module-level code" support. Allows for 
1619 compilation/disassembly of so-called "executable" AML code (math/logical 
1620 operations, etc.) outside of control methods not just at the module level 
1621 (top level) but also within any scope declared outside of a control 
1622 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
1623 ThermalZone{}.
1624
1625 AcpiDump: Added support for dumping all SSDTs on newer versions of 
1626 Windows. These tables are now easily available -- SSDTs are not available 
1627 through the registry on older versions.
1628
1629 ----------------------------------------
1630 27 May 2016. Summary of changes for version 20160527:
1631
1632
1633 1) ACPICA kernel-resident subsystem:
1634
1635 Temporarily reverted the new arbitrary bit length/alignment support in 
1636 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
1637 a number of regressions with the new code that need to be fully resolved 
1638 and tested before this support can be finally integrated into ACPICA. 
1639 Apologies for any inconveniences these issues may have caused.
1640
1641 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
1642 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
1643 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
1644
1645 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
1646 option. Adds a new return macro, return_STR. Junk-uk Kim.
1647
1648 Example Code and Data Size: These are the sizes for the OS-independent 
1649 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1650 debug version of the code includes the debug output trace mechanism and 
1651 has a much larger code and data size.
1652
1653   Current Release:
1654     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
1655     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1656   Previous Release:
1657     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1658     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
1659
1660 ----------------------------------------
1661 22 April 2016. Summary of changes for version 20160422:
1662
1663 1) ACPICA kernel-resident subsystem:
1664
1665 Fixed a regression in the GAS (generic address structure) arbitrary bit 
1666 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
1667 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
1668
1669 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
1670 was added to each of these macros, and the original name has been 
1671 deprecated. The AML disassembler will always disassemble to the new 
1672 names. Support for the new macros was added to iASL, disassembler, 
1673 resource manager, and the acpihelp utility. ACPICA BZ 1274.
1674
1675     I2cSerialBus  -> I2cSerialBusV2
1676     SpiSerialBus  -> SpiSerialBusV2
1677     UartSerialBus -> UartSerialBusV2
1678
1679 ACPI 6.0: Added support for a new integer field that was appended to the 
1680 package object returned by the _BIX method. This adds iASL compile-time 
1681 and AML runtime error checking. ACPICA BZ 1273.
1682
1683 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
1684 Subspace Type2" (Headers, Disassembler, and data table compiler).
1685
1686 Example Code and Data Size: These are the sizes for the OS-independent 
1687 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1688 debug version of the code includes the debug output trace mechanism and 
1689 has a much larger code and data size.
1690
1691   Current Release:
1692     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1693     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1694   Previous Release:
1695     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1696     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1697
1698
1699 2) iASL Compiler/Disassembler and Tools:
1700
1701 iASL: Implemented an ASL grammar extension to allow/enable executable 
1702 "module-level code" to be created and executed under the various 
1703 operators that create new scopes. This type of AML code is already 
1704 supported in all known AML interpreters, and the grammar change will 
1705 appear in the next version of the ACPI specification. Simplifies the 
1706 conditional runtime creation of named objects under these object types: 
1707
1708     Device
1709     PowerResource
1710     Processor
1711     Scope
1712     ThermalZone
1713
1714 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
1715 ease-of-use to the ASL language. The syntax is similar to the 
1716 corresponding C operator, and is implemented with the existing AML While 
1717 opcode -- thus requiring no changes to existing AML interpreters.
1718
1719     For (Initialize, Predicate, Update) {TermList}
1720
1721 Grammar:
1722     ForTerm :=
1723         For (
1724             Initializer    // Nothing | TermArg => ComputationalData
1725             Predicate      // Nothing | TermArg => ComputationalData
1726             Update         // Nothing | TermArg => ComputationalData
1727         ) {TermList}
1728
1729
1730 iASL: The _HID/_ADR detection and validation has been enhanced to search 
1731 under conditionals in order to allow these objects to be conditionally 
1732 created at runtime.
1733
1734 iASL: Fixed several issues with the constant folding feature. The 
1735 improvement allows better detection and resolution of statements that can 
1736 be folded at compile time. ACPICA BZ 1266. 
1737
1738 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
1739 conversion to the ASL ElseIf operator where incorrect ASL code could be 
1740 generated.
1741
1742 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
1743 sometimes an extra (and extraneous) set of parentheses were emitted for 
1744 some combinations of operators. Although this did not cause any problems 
1745 with recompilation of the disassembled code, it made the code more 
1746 difficult to read. David Box. ACPICA BZ 1231.
1747
1748 iASL: Changed to ignore the unreferenced detection for predefined names 
1749 of resource descriptor elements, when the resource descriptor is 
1750 created/defined within a control method.
1751
1752 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
1753 objects.
1754
1755 ----------------------------------------
1756 18 March 2016. Summary of changes for version 20160318:
1757
1758 1) ACPICA kernel-resident subsystem:
1759
1760 Added support for arbitrary bit lengths and bit offsets for registers 
1761 defined by the Generic Address Structure. Previously, only aligned bit 
1762 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
1763 but recently some machines have been seen that require arbitrary bit-
1764 level support. ACPICA BZ 1240. Lv Zheng.
1765
1766 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
1767 before any _REG methods are evaluated. Lv Zheng.
1768
1769 Implemented several changes related to ACPI table support 
1770 (Headers/Disassembler/TableCompiler):
1771 NFIT: For ACPI 6.1, updated to add some additional new fields and 
1772 constants.
1773 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
1774 6).
1775 DMAR: Added new constants per the 10/2014 DMAR spec.
1776 IORT: Added new subtable per the 10/2015 IORT spec.
1777 HEST: For ACPI 6.1, added new constants and new subtable.
1778 DBG2: Added new constants per the 12/2015 DBG2 spec.
1779 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
1780 ACPICA BZ 1249.
1781 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
1782
1783 Updated header support for the DMAR table to match the current version of 
1784 the related spec.
1785
1786 Added extensions to the ASL Concatenate operator to allow any ACPI object 
1787 to be passed as an operand. Any object other than Integer/String/Buffer 
1788 simply returns a string containing the object type. This extends the 
1789 usefulness of the Printf macros. Previously, Concatenate would abort the 
1790 control method if a non-data object was encountered.
1791
1792 ACPICA source code: Deployed the C "const" keyword across the source code 
1793 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
1794
1795 Example Code and Data Size: These are the sizes for the OS-independent 
1796 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1797 debug version of the code includes the debug output trace mechanism and 
1798 has a much larger code and data size.
1799
1800   Current Release:
1801     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1802     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1803   Previous Release:
1804     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1805     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1806
1807
1808 2) iASL Compiler/Disassembler and Tools:
1809
1810 iASL/Disassembler: Improved the heuristic used to determine the number of 
1811 arguments for an externally defined control method (a method in another 
1812 table). Although this is an improvement, there is no deterministic way to 
1813 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
1814 will completely solve this problem as it is deployed (automatically) in 
1815 newer BIOS code.
1816
1817 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
1818 statements that could cause errors when the disassembled file is 
1819 compiled. ACPICA BZ 1243. David Box.
1820
1821 iASL: Fixed a regression caused by the merger of the two versions of the 
1822 local strtoul64. Because of a dependency on a global variable, strtoul64 
1823 could return an error for integers greater than a 32-bit value. ACPICA BZ 
1824 1260.
1825
1826 iASL: Fixed a regression where a fault could occur for an ASL Return 
1827 statement if it invokes a control method that is not resolved. ACPICA BZ 
1828 1264.
1829
1830 AcpiXtract: Improved input file validation: detection of binary files and 
1831 non-acpidump text files.
1832
1833 ----------------------------------------
1834 12 February 2016. Summary of changes for version 20160212:
1835
1836 1) ACPICA kernel-resident subsystem:
1837
1838 Implemented full support for the ACPI 6.1 specification (released in 
1839 January). This version of the specification is available at:  
1840 http://www.uefi.org/specifications
1841
1842 Only a relatively small number of changes were required in ACPICA to 
1843 support ACPI 6.1, in these areas:
1844 - New predefined names
1845 - New _HID values
1846 - A new subtable for HEST
1847 - A few other header changes for new values
1848
1849 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
1850 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
1851
1852 Reverted a change made in version 20151218 which enabled method 
1853 invocations to be targets of various ASL operators (SuperName and Target 
1854 grammar elements). While the new behavior is supported by the ACPI 
1855 specification, other AML interpreters do not support this behavior and 
1856 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
1857 this support. Therefore, the change was reverted to the original ACPICA 
1858 behavior.
1859
1860 ACPICA now supports the GCC 6 compiler.
1861
1862 Current Release: (Note: build changes increased sizes)
1863     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1864     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1865 Previous Release:
1866     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1867     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
1868
1869
1870 2) iASL Compiler/Disassembler and Tools:
1871
1872 Completed full support for the ACPI 6.0 External() AML opcode. The 
1873 compiler emits an external AML opcode for each ASL External statement. 
1874 This opcode is used by the disassembler to assist with the disassembly of 
1875 external control methods by specifying the required number of arguments 
1876 for the method. AML interpreters do not use this opcode. To ensure that 
1877 interpreters do not even see the opcode, a block of one or more external 
1878 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
1879 commonly deployed in BIOS code, the ability of disassemblers to correctly 
1880 disassemble AML code will be greatly improved. David Box.
1881
1882 iASL: Implemented support for an optional cross-reference output file. 
1883 The -lx option will create a the cross-reference file with the suffix 
1884 "xrf". Three different types of cross-reference are created in this file:
1885 - List of object references made from within each control method
1886 - Invocation (caller) list for each user-defined control method
1887 - List of references to each non-method object in the namespace
1888
1889 iASL: Method invocations as ASL Target operands are now disallowed and 
1890 flagged as errors in preparation for ACPI 6.2 (see the description of the 
1891 problem above).
1892
1893 ----------------------------------------
1894 8 January 2016. Summary of changes for version 20160108:
1895
1896 1) ACPICA kernel-resident subsystem:
1897
1898 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
1899 copyright to all source code module headers and utility/tool signons. 
1900 This includes the standard Linux dual-license header. This affects 
1901 virtually every file in the ACPICA core subsystem, iASL compiler, all 
1902 ACPICA utilities, and the ACPICA test suite.
1903
1904 Fixed a regression introduced in version 20151218 concerning the 
1905 execution of so-called module-level ASL/AML code. Namespace objects 
1906 created under a module-level If() construct were not properly/fully 
1907 entered into the namespace and could cause an interpreter fault when 
1908 accessed.
1909
1910 Example Code and Data Size: These are the sizes for the OS-independent 
1911 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1912 debug version of the code includes the debug output trace mechanism and 
1913 has a much larger code and data size.
1914
1915 Current Release:
1916     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1917     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
1918   Previous Release:
1919     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1920     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1921
1922
1923 2) iASL Compiler/Disassembler and Tools:
1924
1925 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
1926 descriptors. The _PIN field name was incorrectly defined to be an array 
1927 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
1928 would cause incorrect bit width warnings when using Word (16-bit) fields 
1929 to access the descriptors.
1930
1931
1932 ----------------------------------------
1933 18 December 2015. Summary of changes for version 20151218:
1934
1935 1) ACPICA kernel-resident subsystem:
1936
1937 Implemented per-AML-table execution of "module-level code" as individual 
1938 ACPI tables are loaded into the namespace during ACPICA initialization. 
1939 In other words, any module-level code within an AML table is executed 
1940 immediately after the table is loaded, instead of batched and executed 
1941 after all of the tables have been loaded. This provides compatibility 
1942 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
1943 David Box.
1944
1945 To fully support the feature above, the default operation region handlers 
1946 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
1947 installed before any ACPI tables are loaded. This enables module-level 
1948 code to access these address spaces during the table load and module-
1949 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
1950 Box.
1951
1952 Implemented several changes to the internal _REG support in conjunction 
1953 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
1954 utilities for the changes above. Although these tools were changed, host 
1955 operating systems that simply use the default handlers for SystemMemory, 
1956 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
1957
1958 For example, in the code below, DEV1 is conditionally added to the 
1959 namespace by the DSDT via module-level code that accesses an operation 
1960 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
1961 created immediately after the DSDT is loaded in order for the SSDT to 
1962 successfully reference DEV1. Previously, this code would cause an 
1963 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
1964 fully supported by ACPICA.
1965
1966     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
1967     {
1968         OperationRegion (OPR1, SystemMemory, 0x400, 32)
1969         Field (OPR1, AnyAcc, NoLock, Preserve)
1970         {
1971             FLD1, 1
1972         }
1973         If (FLD1)
1974         {
1975             Device (\DEV1)
1976             {
1977             }
1978         }
1979     }
1980     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
1981     {
1982         External (\DEV1, DeviceObj)
1983         Scope (\DEV1)
1984         {
1985         }
1986     }
1987
1988 Fixed an AML interpreter problem where control method invocations were 
1989 not handled correctly when the invocation was itself a SuperName argument 
1990 to another ASL operator. In these cases, the method was not invoked. 
1991 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
1992 argument:
1993     Store
1994     Acquire, Wait
1995     CondRefOf, RefOf
1996     Decrement, Increment
1997     Load, Unload
1998     Notify
1999     Signal, Release, Reset
2000     SizeOf
2001
2002 Implemented automatic String-to-ObjectReference conversion support for 
2003 packages returned by predefined names (such as _DEP). A common BIOS error 
2004 is to add double quotes around an ObjectReference namepath, which turns 
2005 the reference into an unexpected string object. This support detects the 
2006 problem and corrects it before the package is returned to the caller that 
2007 invoked the method. Lv Zheng.
2008
2009 Implemented extensions to the Concatenate operator. Concatenate now 
2010 accepts any type of object, it is not restricted to simply 
2011 Integer/String/Buffer. For objects other than these 3 basic data types, 
2012 the argument is treated as a string containing the name of the object 
2013 type. This expands the utility of Concatenate and the Printf/Fprintf 
2014 macros. ACPICA BZ 1222.
2015
2016 Cleaned up the output of the ASL Debug object. The timer() value is now 
2017 optional and no longer emitted by default. Also, the basic data types of 
2018 Integer/String/Buffer are simply emitted as their values, without a data 
2019 type string -- since the data type is obvious from the output. ACPICA BZ 
2020 1221.
2021
2022 Example Code and Data Size: These are the sizes for the OS-independent 
2023 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2024 debug version of the code includes the debug output trace mechanism and 
2025 has a much larger code and data size.
2026
2027   Current Release:
2028     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2029     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
2030   Previous Release:
2031     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2032     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
2033
2034
2035 2) iASL Compiler/Disassembler and Tools:
2036
2037 iASL: Fixed some issues with the ASL Include() operator. This operator 
2038 was incorrectly defined in the iASL parser rules, causing a new scope to 
2039 be opened for the code within the include file. This could lead to 
2040 several issues, including allowing ASL code that is technically illegal 
2041 and not supported by AML interpreters. Note, this does not affect the 
2042 related #include preprocessor operator. ACPICA BZ 1212.
2043
2044 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
2045 operator is essentially an ASL macro since there is no AML opcode 
2046 associated with it. The code emitted by the iASL compiler for ElseIf is 
2047 an Else opcode followed immediately by an If opcode. The disassembler 
2048 will now emit an ElseIf if it finds an Else immediately followed by an 
2049 If. This simplifies the decoded ASL, especially for deeply nested 
2050 If..Else and large Switch constructs. Thus, the disassembled code more 
2051 closely follows the original source ASL. ACPICA BZ 1211. Example:
2052
2053     Old disassembly:
2054         Else
2055         {
2056             If (Arg0 == 0x02)
2057             {
2058                 Local0 = 0x05
2059             }
2060         }
2061
2062     New disassembly:
2063         ElseIf (Arg0 == 0x02)
2064         {
2065             Local0 = 0x05
2066         }
2067
2068 AcpiExec: Added support for the new module level code behavior and the 
2069 early region installation. This required a small change to the 
2070 initialization, since AcpiExec must install its own operation region 
2071 handlers.
2072
2073 AcpiExec: Added support to make the debug object timer optional. Default 
2074 is timer disabled. This cleans up the debug object output -- the timer 
2075 data is rarely used.
2076
2077 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
2078 appear on the command line. This can be important when there are 
2079 interdependencies/references between the tables.
2080
2081 iASL/Templates. Add support to generate template files with multiple 
2082 SSDTs within a single output file. Also added ommand line support to 
2083 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
2084 1223, 1225.
2085
2086
2087 ----------------------------------------
2088 24 November 2015. Summary of changes for version 20151124:
2089
2090 1) ACPICA kernel-resident subsystem:
2091
2092 Fixed a possible regression for a previous update to FADT handling. The 
2093 FADT no longer has a fixed table ID, causing some issues with code that 
2094 was hardwired to a specific ID. Lv Zheng.
2095
2096 Fixed a problem where the method auto-serialization could interfere with 
2097 the current SyncLevel. This change makes the auto-serialization support 
2098 transparent to the SyncLevel support and management.
2099
2100 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
2101 interface is intended for early access to the namespace during the 
2102 initial namespace device discovery walk. The _SUB method has been seen to 
2103 access operation regions in some cases, causing errors because the 
2104 operation regions are not fully initialized.
2105
2106 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
2107 that can cause faults. Lv Zheng.
2108
2109 AML Debugger: Add thread ID support so that single-step mode only applies 
2110 to the AML Debugger thread. This prevents runtime errors within some 
2111 kernels. Lv Zheng. 
2112
2113 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
2114 methods that are invoked by this interface are optional, removed warnings 
2115 emitted for the case where one or more of these methods do not exist. 
2116 ACPICA BZ 1208, original change by Prarit Bhargava.
2117
2118 Made a major pass through the entire ACPICA source code base to 
2119 standardize formatting that has diverged a bit over time. There are no 
2120 functional changes, but this will of course cause quite a few code 
2121 differences from the previous ACPICA release.
2122
2123 Example Code and Data Size: These are the sizes for the OS-independent 
2124 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2125 debug version of the code includes the debug output trace mechanism and 
2126 has a much larger code and data size.
2127
2128   Current Release:
2129     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2130     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
2131   Previous Release:
2132     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2133     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2134
2135
2136 2) iASL Compiler/Disassembler and Tools:
2137
2138 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
2139 definition blocks within a single ASL file and the resulting AML file. 
2140 Support for this type of file was also added to the various tools that 
2141 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
2142 example code below shows two definition blocks within the same file:
2143
2144     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
2145 0x12345678)
2146     {
2147     }
2148     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
2149     {
2150     }
2151
2152 iASL: Enhanced typechecking for the Name() operator. All expressions for 
2153 the value of the named object must be reduced/folded to a single constant 
2154 at compile time, as per the ACPI specification (the AML definition of 
2155 Name()).
2156
2157 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
2158 and assembly headers). Now all emitted code correctly begins in column 1.
2159
2160 iASL: Added an error message for an attempt to open a Scope() on an 
2161 object defined in an SSDT. The DSDT is always loaded into the namespace 
2162 first, so any attempt to open a Scope on an SSDT object will fail at 
2163 runtime.
2164
2165
2166 ----------------------------------------
2167 30 September 2015. Summary of changes for version 20150930:
2168
2169 1) ACPICA kernel-resident subsystem:
2170
2171 Debugger: Implemented several changes and bug fixes to assist support for 
2172 the in-kernel version of the AML debugger. Lv Zheng.
2173 - Fix the "predefined" command for in-kernel debugger.
2174 - Do not enter debug command loop for the help and version commands.
2175 - Disallow "execute" command during execution/single-step of a method.
2176
2177 Interpreter: Updated runtime typechecking for all operators that have 
2178 target operands. The operand is resolved and validated that it is legal. 
2179 For example, the target cannot be a non-data object such as a Device, 
2180 Mutex, ThermalZone, etc., as per the ACPI specification.
2181
2182 Debugger: Fixed the double-mutex user I/O handshake to work when local 
2183 deadlock detection is enabled.
2184
2185 Debugger: limited display of method locals and arguments (LocalX and 
2186 ArgX) to only those that have actually been initialized. This prevents 
2187 lines of extraneous output.
2188
2189 Updated the definition of the NFIT table to correct the bit polarity of 
2190 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
2191
2192 Example Code and Data Size: These are the sizes for the OS-independent 
2193 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2194 debug version of the code includes the debug output trace mechanism and 
2195 has a much larger code and data size.
2196
2197   Current Release:
2198     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2199     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2200   Previous Release:
2201     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2202     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2203
2204
2205 2) iASL Compiler/Disassembler and Tools:
2206
2207 iASL: Improved the compile-time typechecking for operands of many of the 
2208 ASL operators:
2209
2210 -- Added an option to disable compiler operand/operator typechecking (-
2211 ot).
2212
2213 -- For the following operators, the TermArg operands are now validated 
2214 when possible to be Integer data objects: BankField, OperationRegion, 
2215 DataTableRegion, Buffer, and Package.
2216
2217 -- Store (Source, Target): Both the source and target operands are 
2218 resolved and checked that the operands are both legal. For example, 
2219 neither operand can be a non-data object such as a Device, Mutex, 
2220 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
2221 operator can be used to store an object to any type of target object.
2222
2223 -- Store (Source, Target): If the source is a Package object, the target 
2224 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
2225 is a Package, the source must also be a Package.
2226
2227 -- Store (Source, Target): A warning is issued if the source and target 
2228 resolve to the identical named object.
2229
2230 -- Store (Source, <method invocation>): An error is generated for the 
2231 target method invocation, as this construct is not supported by the AML 
2232 interpreter.
2233
2234 -- For all ASL math and logic operators, the target operand must be a 
2235 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
2236 includes the function return value also.
2237
2238 -- External declarations are also included in the typechecking where 
2239 possible. External objects defined using the UnknownObj keyword cannot be 
2240 typechecked, however.
2241
2242 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
2243 operator:
2244 - Legacy code: Index(PKG1, 3)
2245 - New ASL+ code: PKG1[3]
2246 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
2247 supported.
2248
2249 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
2250 spaces were inadvertently appended to the filename, causing file access 
2251 and deletion problems on some systems.
2252
2253 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
2254 possible compiler output files when building the test suite -- thus 
2255 exercising these features of the compiler. These files are automatically 
2256 deleted when the test suite exits.
2257
2258
2259 ----------------------------------------
2260 18 August 2015. Summary of changes for version 20150818:
2261
2262 1) ACPICA kernel-resident subsystem:
2263
2264 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
2265 Zheng. ACPICA BZ 1186.
2266
2267 Completed development to ensure that the ACPICA Disassembler and Debugger 
2268 are fully standalone components of ACPICA. Removed cross-component 
2269 dependences. Lv Zheng.
2270
2271 The max-number-of-AML-loops is now runtime configurable (previously was 
2272 compile-time only). This is essentially a loop timeout to force-abort 
2273 infinite AML loops. ACPCIA BZ 1192.
2274
2275 Debugger: Cleanup output to dump ACPI names and namepaths without any 
2276 trailing underscores. Lv Zheng. ACPICA BZ 1135.
2277
2278 Removed unnecessary conditional compilations across the Debugger and 
2279 Disassembler components where entire modules could be left uncompiled.
2280
2281 The aapits test is deprecated and has been removed from the ACPICA git 
2282 tree. The test has never been completed and has not been maintained, thus 
2283 becoming rather useless. ACPICA BZ 1015, 794.
2284
2285 A batch of small changes to close bugzilla and other reports:
2286 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
2287 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
2288 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
2289 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
2290 Moore.
2291 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
2292 ACPICA BZ 1184.
2293 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
2294 operators.
2295 - Debugger: Split debugger initialization/termination interfaces. Lv 
2296 Zheng.
2297 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
2298 identification.
2299 - AcpiExec: Add debug message during _REG method phase during table 
2300 load/init.
2301 - AcpiNames: Fix a regression where some output was missing and no longer 
2302 emitted.
2303 - Debugger: General cleanup and simplification. Lv Zheng.
2304 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
2305
2306 Example Code and Data Size: These are the sizes for the OS-independent 
2307 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2308 debug version of the code includes the debug output trace mechanism and 
2309 has a much larger code and data size.
2310
2311   Current Release:
2312     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2313     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2314   Previous Release:
2315     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2316     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2317
2318
2319 2) iASL Compiler/Disassembler and Tools:
2320
2321 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
2322 were not handled properly and caused load errors. Now, properly invoke 
2323 and use the ACPICA auto-reallocate mechanism for ACPI table data 
2324 structures. ACPICA BZ 1188
2325
2326 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
2327 BZ 1190.
2328
2329 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
2330 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
2331 executed during initialization. ACPICA BZ 1187, 1189.
2332
2333 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
2334 that corresponds to each disassembled ASL statement, to simplify 
2335 debugging. ACPICA BZ 1191.
2336
2337 Debugger: Add option to the "objects" command to display a summary of the 
2338 current namespace objects (Object type and count). This is displayed if 
2339 the command is entered with no arguments.
2340
2341 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
2342
2343
2344 ----------------------------------------
2345 17 July 2015. Summary of changes for version 20150717:
2346
2347 1) ACPICA kernel-resident subsystem:
2348
2349 Improved the partitioning between the Debugger and Disassembler 
2350 components. This allows the Debugger to be used standalone within kernel 
2351 code without the Disassembler (which is used for single stepping also). 
2352 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
2353
2354 Debugger: Implemented a new command to trace the execution of control 
2355 methods (Trace). This is especially useful for the in-kernel version of 
2356 the debugger when file I/O may not be available for method trace output. 
2357 See the ACPICA reference for more information. Lv Zheng.
2358
2359 Moved all C library prototypes (used for the local versions of these 
2360 functions when requested) to a new header, acclib.h
2361 Cleaned up the use of non-ANSI C library functions. These functions are 
2362 implemented locally in ACPICA. Moved all such functions to a common 
2363 source file, utnonansi.c
2364
2365 Debugger: Fixed a problem with the "!!" command (get last command 
2366 executed) where the debugger could enter an infinite loop and eventually 
2367 crash.
2368
2369 Removed the use of local macros that were used for some of the standard C 
2370 library functions to automatically cast input parameters. This mostly 
2371 affected the is* functions where the input parameter is defined to be an 
2372 int. This required a few modifications to the main ACPICA source code to 
2373 provide casting for these functions and eliminate possible compiler 
2374 warnings for these parameters.
2375
2376 Across the source code, added additional status/error checking to resolve 
2377 issues discovered by static source code analysis tools such as Coverity.
2378
2379 Example Code and Data Size: These are the sizes for the OS-independent 
2380 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2381 debug version of the code includes the debug output trace mechanism and 
2382 has a much larger code and data size.
2383
2384   Current Release:
2385     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2386     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2387   Previous Release:
2388     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2389     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2390
2391
2392 2) iASL Compiler/Disassembler and Tools:
2393
2394 iASL: Fixed a regression where the device map file feature no longer 
2395 worked properly when used in conjunction with the disassembler. It only 
2396 worked properly with the compiler itself.
2397
2398 iASL: Implemented a new warning for method LocalX variables that are set 
2399 but never used (similar to a C compiler such as gcc). This also applies 
2400 to ArgX variables that are not defined by the parent method, and are 
2401 instead (legally) used as local variables.
2402
2403 iASL/Preprocessor: Finished the pass-through of line numbers from the 
2404 preprocessor to the compiler. This ensures that compiler errors/warnings 
2405 have the correct original line numbers and filenames, regardless of any 
2406 #include files.
2407
2408 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
2409 pass-through of comments to the preprocessor output file (which becomes 
2410 the compiler input file). Also fixed a problem with // comments that 
2411 appear after a math expression.
2412
2413 iASL: Added support for the TCPA server table to the table compiler and 
2414 template generator. (The client table was already previously supported)
2415
2416 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
2417 identify the iASL compiler.
2418
2419 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
2420 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
2421 ACPI_SIGN_POSITIVE.
2422
2423 AcpiHelp: Update to expand help messages for the iASL preprocessor 
2424 directives.
2425
2426
2427 ----------------------------------------
2428 19 June 2015. Summary of changes for version 20150619:
2429
2430 Two regressions in version 20150616 have been addressed:
2431
2432 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
2433 etc.) This update changes ACPICA to only use the standard headers for 
2434 functions, or the prototypes for the local versions of the C library 
2435 functions. Across the source code, this required some additional casts 
2436 for some Clib invocations for portability. Moved all local prototypes to 
2437 a new file, acclib.h
2438
2439 Fixes several problems with recent changes to the handling of the FACS 
2440 table that could cause some systems not to boot.
2441
2442
2443 ----------------------------------------
2444 16 June 2015. Summary of changes for version 20150616:
2445
2446
2447 1) ACPICA kernel-resident subsystem:
2448
2449 Across the entire ACPICA source code base, the various macros for the C 
2450 library functions (such as ACPI_STRLEN, etc.) have been removed and 
2451 replaced by the standard C library names (strlen, etc.) The original 
2452 purpose for these macros is no longer applicable. This simplification 
2453 reduces the number of macros used in the ACPICA source code 
2454 significantly, improving readability and maintainability.
2455
2456 Implemented support for a new ACPI table, the OSDT. This table, the 
2457 "override" SDT, can be loaded directly by the host OS at boot time. It 
2458 enables the replacement of existing namespace objects that were installed 
2459 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
2460 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
2461 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
2462 Moore.
2463
2464 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
2465 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
2466 X field). This change will support both automatically. There continues to 
2467 be systems found with this issue. This support requires a change to the 
2468 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
2469 been added to allow the host to select which FACS is desired 
2470 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
2471 details Lv Zheng.
2472
2473 Added a new feature to allow for systems that do not contain an FACS. 
2474 Although this is already supported on hardware-reduced platforms, the 
2475 feature has been extended for all platforms. The reasoning is that we do 
2476 not want to abort the entire ACPICA initialization just because the 
2477 system is seriously buggy and has no FACS.
2478
2479 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
2480 not correctly transcribed from the ACPI specification in ACPICA version 
2481 20150515.
2482
2483 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
2484 interface.
2485
2486 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
2487 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
2488 compiler also updated. Note: The TCPA "server" table is not supported by 
2489 the disassembler/table-compiler at this time.
2490
2491 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
2492
2493 Example Code and Data Size: These are the sizes for the OS-independent 
2494 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2495 debug version of the code includes the debug output trace mechanism and 
2496 has a much larger code and data size.
2497
2498   Current Release:
2499     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2500     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2501   Previous Release:
2502     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2503     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2504
2505
2506 2) iASL Compiler/Disassembler and Tools:
2507
2508 Disassembler: Fixed a problem with the new symbolic operator disassembler 
2509 where incorrect ASL code could be emitted in some cases for the "non-
2510 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
2511 ShiftRight. The actual problem cases seem to be rather unusual in common 
2512 ASL code, however. David Box.
2513
2514 Modified the linux version of acpidump to obtain ACPI tables from not 
2515 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
2516 Zheng.
2517
2518 iASL: Fixed a problem where the user preprocessor output file (.i) 
2519 contained extra data that was not expected. The compiler was using this 
2520 file as a temporary file and passed through #line directives in order to 
2521 keep compiler error messages in sync with the input file and line number 
2522 across multiple include files. The (.i) is no longer a temporary file as 
2523 the compiler uses a new, different file for the original purpose.
2524
2525 iASL: Fixed a problem where comments within the original ASL source code 
2526 file were not passed through to the preprocessor output file, nor any 
2527 listing files.
2528
2529 iASL: Fixed some issues for the handling of the "#include" preprocessor 
2530 directive and the similar (but not the same) "Include" ASL operator.
2531
2532 iASL: Add support for the new OSDT in both the disassembler and compiler.
2533
2534 iASL: Fixed a problem with the constant folding support where a Buffer 
2535 object could be incorrectly generated (incorrectly formed) during a 
2536 conversion to a Store() operator.
2537
2538 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
2539 description text for the _REV predefined name. _REV now permanently 
2540 returns 2, as per the ACPI 6.0 specification.
2541
2542 Debugger: Enhanced the output of the Debug ASL object for references 
2543 produced by the Index operator. For Buffers and strings, only output the 
2544 actual byte pointed to by the index. For packages, only print the single 
2545 package element decoded by the index. Previously, the entire 
2546 buffer/string/package was emitted.
2547
2548 iASL/Table-compiler: Fixed a regression where the "generic" data types 
2549 were no longer recognized, causing errors.
2550
2551
2552 ----------------------------------------
2553 15 May 2015. Summary of changes for version 20150515:
2554
2555 This release implements most of ACPI 6.0 as described below.
2556
2557 1) ACPICA kernel-resident subsystem:
2558
2559 Implemented runtime argument checking and return value checking for all 
2560 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
2561 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
2562
2563 Example Code and Data Size: These are the sizes for the OS-independent 
2564 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2565 debug version of the code includes the debug output trace mechanism and 
2566 has a much larger code and data size.
2567
2568   Current Release:
2569     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2570     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2571   Previous Release:
2572     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2573     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2574
2575
2576 2) iASL Compiler/Disassembler and Tools:
2577
2578 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
2579 names (argument count validation and return value typechecking.)
2580
2581 iASL disassembler and table compiler: implemented support for all new 
2582 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
2583
2584 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
2585 tables: FADT, MADT.
2586
2587 iASL preprocessor: Added a new directive to enable inclusion of binary 
2588 blobs into ASL code. The new directive is #includebuffer. It takes a 
2589 binary file as input and emits a named ascii buffer object into the ASL 
2590 code.
2591
2592 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
2593
2594 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
2595 directives.
2596
2597 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
2598 tables.
2599
2600
2601 ----------------------------------------
2602 10 April 2015. Summary of changes for version 20150410:
2603
2604 Reverted a change introduced in version 20150408 that caused
2605 a regression in the disassembler where incorrect operator
2606 symbols could be emitted.
2607
2608
2609 ----------------------------------------
2610 08 April 2015. Summary of changes for version 20150408:
2611
2612
2613 1) ACPICA kernel-resident subsystem:
2614
2615 Permanently set the return value for the _REV predefined name. It now 
2616 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
2617 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
2618 for ACPI 2.0 and later. It should never be used to differentiate or 
2619 identify operating systems.
2620
2621 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
2622 return TRUE to a query with this string.
2623
2624 Fixed several issues with the local version of the printf function.
2625
2626 Added the C99 compiler option (-std=c99) to the Unix makefiles.
2627
2628   Current Release:
2629     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
2630     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
2631   Previous Release:
2632     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2633     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2634
2635
2636 2) iASL Compiler/Disassembler and Tools:
2637
2638 iASL: Implemented an enhancement to the constant folding feature to 
2639 transform the parse tree to a simple Store operation whenever possible:
2640     Add (2, 3, X) ==> is converted to: Store (5, X)
2641     X = 2 + 3     ==> is converted to: Store (5, X)
2642
2643 Updated support for the SLIC table (Software Licensing Description Table) 
2644 in both the Data Table compiler and the disassembler. The SLIC table 
2645 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
2646 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
2647 following the ACPI header is now defined to be "Proprietary Data", and as 
2648 such, can only be entered or displayed as a hex data block.
2649
2650 Implemented full support for the MSDM table as described in the document 
2651 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
2652 following the ACPI header is defined to be "Proprietary Data", and can 
2653 only be entered or displayed as a hex data block.
2654
2655 Implemented the -Pn option for the iASL Table Compiler (was only 
2656 implemented for the ASL compiler). This option disables the iASL 
2657 preprocessor.
2658
2659 Disassembler: For disassembly of Data Tables, added a comment field 
2660 around the Ascii equivalent data that is emitted as part of the "Raw 
2661 Table Data" block. This prevents the iASL Preprocessor from possible 
2662 confusion if/when the table is compiled.
2663
2664 Disassembler: Added an option (-df) to force the disassembler to assume 
2665 that the table being disassembled contains valid AML. This feature is 
2666 useful for disassembling AML files that contain ACPI signatures other 
2667 than DSDT or SSDT (such as OEMx or other signatures).
2668
2669 Changes for the EFI version of the tools:
2670 1) Fixed a build error/issue
2671 2) Fixed a cast warning
2672
2673 iASL: Fixed a path issue with the __FILE__ operator by making the 
2674 directory prefix optional within the internal SplitInputFilename 
2675 function.
2676
2677 Debugger: Removed some unused global variables.
2678
2679 Tests: Updated the makefile for proper generation of the AAPITS suite.
2680
2681
2682 ----------------------------------------
2683 04 February 2015. Summary of changes for version 20150204:
2684
2685 ACPICA kernel-resident subsystem:
2686
2687 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
2688 copyright to all module headers and signons, including the standard Linux 
2689 header. This affects virtually every file in the ACPICA core subsystem, 
2690 iASL compiler, all ACPICA utilities, and the test suites.
2691
2692 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
2693 A raw gpe handling mechanism was created to allow better handling of GPE
2694 storms that aren't easily managed by the normal handler. The raw handler
2695 allows disabling/renabling of the the GPE so that interrupt storms can be
2696 avoided in cases where events cannot be timely serviced. In this 
2697 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
2698 GPE. This API will leave the reference counts undisturbed, thereby 
2699 preventing unintentional clearing of the GPE when the intent in only to 
2700 temporarily disable it. Raw handlers allow enabling and disabling of a 
2701 GPE by removing GPE register locking. As such, raw handlers much provide 
2702 their own locks while using GPE API's to protect access to GPE data 
2703 structures.
2704 Lv Zheng
2705
2706 Events: Always modify GPE registers under the GPE lock.
2707 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
2708 values. Reported as bug by joe.liu@apple.com.
2709
2710 Unix makefiles: Separate option to disable optimizations and 
2711 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
2712 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
2713 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
2714 errors when building ACPICA. This allows disabling the option without 
2715 also having to disable optimazations.
2716 David Box
2717
2718   Current Release:
2719     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2720     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
2721
2722 --
2723 --------------------------------------
2724 07 November 2014. Summary of changes for version 20141107:
2725
2726 This release is available at https://acpica.org/downloads
2727
2728 This release introduces and implements language extensions to ASL that 
2729 provide support for symbolic ("C-style") operators and expressions. These 
2730 language extensions are known collectively as ASL+.
2731
2732
2733 1) iASL Compiler/Disassembler and Tools:
2734
2735 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
2736 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
2737 Box.
2738
2739 Disassembler: Fixed the Unicode macro support to add escape sequences. 
2740 All non-printable ASCII values are emitted as escape sequences, as well 
2741 as the standard escapes for quote and backslash. Ensures that the 
2742 disassembled macro can be correctly recompiled.
2743
2744 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
2745 translated to existing AML Concatenate and Store operations. Printf 
2746 writes to the ASL Debug object. Fprintf allows the specification of an 
2747 ASL name as the target. Only a single format specifier is required, %o, 
2748 since the AML interpreter dynamically converts objects to the required 
2749 type. David E. Box.
2750
2751     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2752                  (Concatenate (Concatenate (Concatenate ("", Arg0),
2753                  ": Unexpected value for "), Arg1), ", "), Arg2),
2754                  " at line "), Arg3), Debug)
2755
2756     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
2757                  Arg0, Arg1, Arg2, Arg3)
2758
2759     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2760                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
2761
2762     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
2763
2764 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
2765 ASL parse tree before the AML code is generated. This allows blocks of 
2766 ASL code to be removed in order to help locate and identify problem 
2767 devices and/or code. David E. Box.
2768
2769 AcpiExec: Added support (-fi) for an optional namespace object 
2770 initialization file. This file specifies initial values for namespace 
2771 objects as necessary for debugging and testing different ASL code paths 
2772 that may be taken as a result of BIOS options.
2773
2774
2775 2) Overview of symbolic operator support for ASL (ASL+)
2776 -------------------------------------------------------
2777
2778 As an extension to the ASL language, iASL implements support for symbolic 
2779 (C-style) operators for math and logical expressions. This can greatly 
2780 simplify ASL code as well as improve both readability and 
2781 maintainability. These language extensions can exist concurrently with 
2782 all legacy ASL code and expressions.
2783
2784 The symbolic extensions are 100% compatible with existing AML 
2785 interpreters, since no new AML opcodes are created. To implement the 
2786 extensions, the iASL compiler transforms the symbolic expressions into 
2787 the legacy ASL/AML equivalents at compile time.
2788
2789 Full symbolic expressions are supported, along with the standard C 
2790 precedence and associativity rules.
2791
2792 Full disassembler support for the symbolic expressions is provided, and 
2793 creates an automatic migration path for existing ASL code to ASL+ code 
2794 via the disassembly process. By default, the disassembler now emits ASL+ 
2795 code with symbolic expressions. An option (-dl) is provided to force the 
2796 disassembler to emit legacy ASL code if desired.
2797
2798 Below is the complete list of the currently supported symbolic operators 
2799 with examples. See the iASL User Guide for additional information.
2800
2801
2802 ASL+ Syntax      Legacy ASL Equivalent
2803 -----------      ---------------------
2804
2805     // Math operators
2806
2807 Z = X + Y        Add (X, Y, Z)
2808 Z = X - Y        Subtract (X, Y, Z)
2809 Z = X * Y        Multiply (X, Y, Z)
2810 Z = X / Y        Divide (X, Y, , Z)
2811 Z = X % Y        Mod (X, Y, Z)
2812 Z = X << Y       ShiftLeft (X, Y, Z)
2813 Z = X >> Y       ShiftRight (X, Y, Z)
2814 Z = X & Y        And (X, Y, Z)
2815 Z = X | Y        Or (X, Y, Z)
2816 Z = X ^ Y        Xor (X, Y, Z)
2817 Z = ~X           Not (X, Z)
2818 X++              Increment (X)
2819 X--              Decrement (X)
2820
2821     // Logical operators
2822
2823 (X == Y)         LEqual (X, Y)
2824 (X != Y)         LNotEqual (X, Y)
2825 (X < Y)          LLess (X, Y)
2826 (X > Y)          LGreater (X, Y)
2827 (X <= Y)         LLessEqual (X, Y)
2828 (X >= Y)         LGreaterEqual (X, Y)
2829 (X && Y)         LAnd (X, Y)
2830 (X || Y)         LOr (X, Y)
2831 (!X)             LNot (X)
2832
2833     // Assignment and compound assignment operations
2834
2835 X = Y           Store (Y, X)
2836 X += Y          Add (X, Y, X)
2837 X -= Y          Subtract (X, Y, X)
2838 X *= Y          Multiply (X, Y, X)
2839 X /= Y          Divide (X, Y, , X)
2840 X %= Y          Mod (X, Y, X)
2841 X <<= Y         ShiftLeft (X, Y, X)
2842 X >>= Y         ShiftRight (X, Y, X)
2843 X &= Y          And (X, Y, X)
2844 X |= Y          Or (X, Y, X)
2845 X ^= Y          Xor (X, Y, X)
2846
2847
2848 3) ASL+ Examples:
2849 -----------------
2850
2851 Legacy ASL:
2852         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
2853             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
2854 0x03FB), 
2855             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
2856         {
2857             And (MEMB, 0xFFFFFFF0, SRMB)
2858             Store (MEMB, Local2)
2859             Store (PDBM, Local1)
2860             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
2861             Store (SRMB, MEMB)
2862             Or (PDBM, 0x02, PDBM)
2863         }
2864
2865 ASL+ version:
2866         If (((R510 & 0x03FB) == 0x02E0) ||
2867             ((R520 & 0x03FB) == 0x02E0) ||
2868             ((R530 & 0x03FB) == 0x02E0) || 
2869             ((R540 & 0x03FB) == 0x02E0))
2870         {
2871             SRMB = (MEMB & 0xFFFFFFF0)
2872             Local2 = MEMB
2873             Local1 = PDBM
2874             PDBM &= 0xFFFFFFFFFFFFFFF9
2875             MEMB = SRMB
2876             PDBM |= 0x02
2877         }
2878
2879 Legacy ASL:
2880         Store (0x1234, Local1)
2881         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2882         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2883         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2884         Store (Index (PKG1, 0x03), Local6)
2885         Store (Add (Local3, Local2), Debug)
2886         Add (Local1, 0x0F, Local2)
2887         Add (Local1, Multiply (Local2, Local3), Local2)
2888         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2889
2890 ASL+ version:
2891         Local1 = 0x1234
2892         Local3 = (((Local1 + TEST) + 0x20) * Local2)
2893         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2894         Local3 = (Local1 + (TEST + (0x20 * Local2)))
2895         Local6 = Index (PKG1, 0x03)
2896         Debug = (Local3 + Local2)
2897         Local2 = (Local1 + 0x0F)
2898         Local2 = (Local1 + (Local2 * Local3))
2899         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2900
2901
2902 ----------------------------------------
2903 26 September 2014. Summary of changes for version 20140926:
2904
2905 1) ACPICA kernel-resident subsystem:
2906
2907 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
2908 In order to support GPIO Connection objects with multiple pins, along 
2909 with the related Field objects, the following changes to the interface 
2910 have been made: The Address is now defined to be the offset in bits of 
2911 the field unit from the previous invocation of a Connection. It can be 
2912 viewed as a "Pin Number Index" into the connection resource descriptor. 
2913 The BitWidth is the exact bit width of the field. It is usually one bit, 
2914 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
2915 additional information and examples.
2916
2917 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
2918 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
2919 by the firmware), so that they cannot fire until they are enabled via 
2920 AcpiUpdateAllGpes. Rafael J. Wysocki.
2921
2922 Added a new return flag for the Event/GPE status interfaces -- 
2923 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
2924 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
2925 GPE currently has a handler associated with it, and can thus actually 
2926 affect the system. Lv Zheng.
2927
2928 Example Code and Data Size: These are the sizes for the OS-independent 
2929 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2930 debug version of the code includes the debug output trace mechanism and 
2931 has a much larger code and data size.
2932
2933   Current Release:
2934     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2935     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2936   Previous Release:
2937     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2938     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2939
2940 2) iASL Compiler/Disassembler and Tools:
2941
2942 iASL: Fixed a memory allocation/free regression introduced in 20140828 
2943 that could cause the compiler to crash. This was introduced inadvertently 
2944 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
2945 1113.
2946
2947 iASL: Removed two error messages that have been found to create false 
2948 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
2949 1) Illegal forward reference within a method
2950 2) Illegal reference across two methods
2951
2952 iASL: Implemented a new option (-lm) to create a hardware mapping file 
2953 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
2954 works for both the compiler and disassembler. See the iASL compiler user 
2955 guide for additional information and examples (section 6.4.6).
2956
2957 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
2958 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
2959 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
2960
2961 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
2962 unless STDIN is actually a terminal. Assists with batch-mode processing. 
2963 ACPICA BZ 1114.
2964
2965 Disassembler/AcpiHelp: Added another large group of recognized _HID 
2966 values.
2967
2968
2969 ----------------------------------------
2970 28 August 2014. Summary of changes for version 20140828:
2971
2972 1) ACPICA kernel-resident subsystem:
2973
2974 Fixed a problem related to the internal use of the Timer() operator where 
2975 a 64-bit divide could cause an attempted link to a double-precision math 
2976 library. This divide is not actually necessary, so the code was 
2977 restructured to eliminate it. Lv Zheng.
2978
2979 ACPI 5.1: Added support for the runtime validation of the _DSD package 
2980 (similar to the iASL support).
2981
2982 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
2983 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
2984
2985 Example Code and Data Size: These are the sizes for the OS-independent 
2986 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2987 debug version of the code includes the debug output trace mechanism and 
2988 has a much larger code and data size.
2989
2990   Current Release:
2991     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2992     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2993   Previous Release:
2994     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
2995     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2996
2997 2) iASL Compiler/Disassembler and Tools:
2998
2999 AcpiExec: Fixed a problem on unix systems where the original terminal 
3000 state was not always properly restored upon exit. Seen when using the -v 
3001 option. ACPICA BZ 1104.
3002
3003 iASL: Fixed a problem with the validation of the ranges/length within the 
3004 Memory24 resource descriptor. There was a boundary condition when the 
3005 range was equal to the (length -1) caused by the fact that these values 
3006 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
3007
3008 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
3009 polarity 
3010 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
3011 is 
3012 now supported properly.
3013
3014 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
3015 in the disassembler, data table compiler, and table template generator.
3016
3017 iASL: Added a requirement for Device() objects that one of either a _HID 
3018 or _ADR must exist within the scope of a Device, as per the ACPI 
3019 specification. Remove a similar requirement that was incorrectly in place 
3020 for the _DSD object.
3021
3022 iASL: Added error detection for illegal named references within control 
3023 methods that would cause runtime failures. Now trapped as errors are: 1) 
3024 References to objects within a non-parent control method. 2) Forward 
3025 references (within a method) -- for control methods, AML interpreters use 
3026 a one-pass parse of control methods. ACPICA BZ 1008.
3027
3028 iASL: Added error checking for dependencies related to the _PSx power 
3029 methods. ACPICA BZ 1029.
3030 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
3031 _PS3.
3032 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
3033 scope.
3034
3035 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
3036 deploying the existing object and string caches and adding new caches for 
3037 the table compiler.
3038
3039 iASL: Split the huge parser source file into multiple subfiles to improve 
3040 manageability. Generation now requires the M4 macro preprocessor, which 
3041 is part of the Bison distribution on both unix and windows platforms.
3042
3043 AcpiSrc: Fixed and removed all extraneous warnings generated during 
3044 entire ACPICA source code scan and/or conversion.
3045
3046
3047 ----------------------------------------
3048
3049 24 July 2014. Summary of changes for version 20140724: 
3050
3051 The ACPI 5.1 specification has been released and is available at: 
3052 http://uefi.org/specs/access
3053
3054
3055 0) ACPI 5.1 support in ACPICA:
3056
3057 ACPI 5.1 is fully supported in ACPICA as of this release.
3058
3059 New predefined names. Support includes iASL and runtime ACPICA 
3060 validation.
3061     _CCA (Cache Coherency Attribute).
3062     _DSD (Device-Specific Data). David Box.
3063
3064 Modifications to existing ACPI tables. Support includes headers, iASL 
3065 Data Table compiler, disassembler, and the template generator.
3066     FADT - New fields and flags. Graeme Gregory.
3067     GTDT - One new subtable and new fields. Tomasz Nowicki.
3068     MADT - Two new subtables. Tomasz Nowicki.
3069     PCCT - One new subtable.
3070
3071 Miscellaneous.
3072     New notification type for System Resource Affinity change events.
3073
3074
3075 1) ACPICA kernel-resident subsystem:
3076
3077 Fixed a regression introduced in 20140627 where a fault can happen during 
3078 the deletion of Alias AML namespace objects. The problem affected both 
3079 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
3080
3081 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
3082 simple mechanism to enable wake GPEs that have no associated handler or 
3083 control method. Rafael Wysocki.
3084
3085 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
3086 handler or control method associated with the particular GPE. This will 
3087 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
3088
3089 Updated GPE handling and dispatch by disabling the GPE before clearing 
3090 the status bit for edge-triggered GPEs. Lv Zheng.
3091
3092 Added Timer() support to the AML Debug object. The current timer value is 
3093 now displayed with each invocation of (Store to) the debug object to 
3094 enable simple generation of execution times for AML code (method 
3095 execution for example.) ACPICA BZ 1093.
3096
3097 Example Code and Data Size: These are the sizes for the OS-independent 
3098 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3099 debug version of the code includes the debug output trace mechanism and 
3100 has a much larger code and data size.
3101
3102   Current Release:
3103     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
3104     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
3105   Previous Release:
3106     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3107     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3108
3109
3110 2) iASL Compiler/Disassembler and Tools:
3111
3112 Fixed an issue with the recently added local printf implementation, 
3113 concerning width/precision specifiers that could cause incorrect output. 
3114 Lv Zheng. ACPICA BZ 1094.
3115
3116 Disassembler: Added support to detect buffers that contain UUIDs and 
3117 disassemble them to an invocation of the ToUUID operator. Also emit 
3118 commented descriptions of known ACPI-related UUIDs.
3119
3120 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
3121 -u. Adds three new files. 
3122
3123 iASL: Update table compiler and disassembler for DMAR table changes that 
3124 were introduced in September 2013. With assistance by David Woodhouse.
3125
3126 ----------------------------------------
3127 27 June 2014. Summary of changes for version 20140627:
3128
3129 1) ACPICA kernel-resident subsystem:
3130
3131 Formatted Output: Implemented local versions of standard formatted output 
3132 utilities such as printf, etc. Over time, it has been discovered that 
3133 there are in fact many portability issues with printf, and the addition 
3134 of this feature will fix/prevent these issues once and for all. Some 
3135 known issues are summarized below:
3136
3137 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
3138 for the Linux kernel and is %uI64 for some MSVC versions.
3139 2) Invoking printf consistently in a manner that is portable across both 
3140 32-bit and 64-bit platforms is difficult at best in many situations.
3141 3) The output format for pointers varies from system to system (leading 
3142 zeros especially), and leads to inconsistent output from ACPICA across 
3143 platforms.
3144 4) Certain platform-specific printf formats may conflict with ACPICA use.
3145 5) If there is no local C library available, ACPICA now has local support 
3146 for printf.
3147
3148 -- To address these printf issues in a complete manner, ACPICA now 
3149 directly implements a small subset of printf format specifiers, only 
3150 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
3151
3152 Implemented support for ACPICA generation within the EFI environment. 
3153 Initially, the AcpiDump utility is supported in the UEFI shell 
3154 environment. Lv Zheng.
3155
3156 Added a new external interface, AcpiLogError, to improve ACPICA 
3157 portability. This allows the host to redirect error messages from the 
3158 ACPICA utilities. Lv Zheng.
3159
3160 Added and deployed new OSL file I/O interfaces to improve ACPICA 
3161 portability:
3162   AcpiOsOpenFile
3163   AcpiOsCloseFile
3164   AcpiOsReadFile
3165   AcpiOsWriteFile
3166   AcpiOsGetFileOffset
3167   AcpiOsSetFileOffset
3168 There are C library implementations of these functions in the new file 
3169 service_layers/oslibcfs.c -- however, the functions can be implemented by 
3170 the local host in any way necessary. Lv Zheng.
3171
3172 Implemented a mechanism to disable/enable ACPI table checksum validation 
3173 at runtime. This can be useful when loading tables very early during OS 
3174 initialization when it may not be possible to map the entire table in 
3175 order to compute the checksum. Lv Zheng.
3176
3177 Fixed a buffer allocation issue for the Generic Serial Bus support. 
3178 Originally, a fixed buffer length was used. This change allows for 
3179 variable-length buffers based upon the protocol indicated by the field 
3180 access attributes. Reported by Lan Tianyu. Lv Zheng.
3181
3182 Fixed a problem where an object detached from a namespace node was not 
3183 properly terminated/cleared and could cause a circular list problem if 
3184 reattached. ACPICA BZ 1063. David Box.
3185
3186 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
3187
3188 Fixed a possible memory leak in an error return path within the function 
3189 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
3190
3191 Example Code and Data Size: These are the sizes for the OS-independent 
3192 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3193 debug version of the code includes the debug output trace mechanism and 
3194 has a much larger code and data size.
3195
3196   Current Release:
3197     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3198     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3199   Previous Release:
3200     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3201     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3202
3203
3204 2) iASL Compiler/Disassembler and Tools:
3205
3206 Disassembler: Add dump of ASCII equivalent text within a comment at the 
3207 end of each line of the output for the Buffer() ASL operator.
3208
3209 AcpiDump: Miscellaneous changes:
3210   Fixed repetitive table dump in -n mode.
3211   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
3212 the ACPI 2.0 GUID fails.
3213
3214 iASL: Fixed a problem where the compiler could fault if incorrectly given 
3215 an acpidump output file as input. ACPICA BZ 1088. David Box.
3216
3217 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
3218 they are invoked without any arguments.
3219
3220 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
3221 1086. Colin Ian King.
3222
3223 Disassembler: Cleaned up a block of code that extracts a parent Op 
3224 object. Added a comment that explains that the parent is guaranteed to be 
3225 valid in this case. ACPICA BZ 1069.
3226
3227
3228 ----------------------------------------
3229 24 April 2014. Summary of changes for version 20140424:
3230
3231 1) ACPICA kernel-resident subsystem:
3232
3233 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
3234 Some of these tables are known to contain a trailing NULL entry. Lv 
3235 Zheng.
3236
3237 Removed an extraneous error message for the case where there are a large 
3238 number of system GPEs (> 124). This was the "32-bit FADT register is too 
3239 long to convert to GAS struct" message, which is irrelevant for GPEs 
3240 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
3241 (limited capacity) GAS bit length. Also, several changes to ensure proper 
3242 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
3243 internally.
3244
3245 Implemented and deployed additional configuration support for the public 
3246 ACPICA external interfaces. Entire classes of interfaces can now be 
3247 easily modified or configured out, replaced by stubbed inline functions 
3248 by default. Lv Zheng.
3249
3250 Moved all public ACPICA runtime configuration globals to the public 
3251 ACPICA external interface file for convenience. Also, removed some 
3252 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
3253
3254 Documentation: Added a new section to the ACPICA reference describing the 
3255 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
3256 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
3257 reference.
3258
3259 Example Code and Data Size: These are the sizes for the OS-independent 
3260 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3261 debug version of the code includes the debug output trace mechanism and 
3262 has a much larger code and data size.
3263
3264   Current Release:
3265     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3266     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3267   Previous Release:
3268     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
3269     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
3270
3271
3272 2) iASL Compiler/Disassembler and Tools:
3273
3274 iASL and disassembler: Add full support for the LPIT table (Low Power 
3275 Idle Table). Includes support in the disassembler, data table compiler, 
3276 and template generator.
3277
3278 AcpiDump utility:
3279 1) Add option to force the use of the RSDT (over the XSDT).
3280 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
3281
3282 iASL: Add check for predefined packages that are too large.  For 
3283 predefined names that contain subpackages, check if each subpackage is 
3284 too large. (Check for too small already exists.)
3285
3286 Debugger: Updated the GPE command (which simulates a GPE by executing the 
3287 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
3288 to the GPE 0/1 FADT-defined blocks.
3289
3290 Unix application OSL: Update line-editing support. Add additional error 
3291 checking and take care not to reset terminal attributes on exit if they 
3292 were never set. This should help guarantee that the terminal is always 
3293 left in the previous state on program exit.
3294
3295
3296 ----------------------------------------
3297 25 March 2014. Summary of changes for version 20140325:
3298
3299 1) ACPICA kernel-resident subsystem:
3300
3301 Updated the auto-serialize feature for control methods. This feature 
3302 automatically serializes all methods that create named objects in order 
3303 to prevent runtime errors. The update adds support to ignore the 
3304 currently executing AML SyncLevel when invoking such a method, in order 
3305 to prevent disruption of any existing SyncLevel priorities that may exist 
3306 in the AML code. Although the use of SyncLevels is relatively rare, this 
3307 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
3308 appear on some machines starting with the 20140214 release.
3309
3310 Added a new external interface to allow the host to install ACPI tables 
3311 very early, before the namespace is even created. AcpiInstallTable gives 
3312 the host additional flexibility for ACPI table management. Tables can be 
3313 installed directly by the host as if they had originally appeared in the 
3314 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
3315 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
3316 with additional internal restructuring and cleanup. See the ACPICA 
3317 Reference for interface details. Lv Zheng.
3318
3319 Added validation of the checksum for all incoming dynamically loaded 
3320 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
3321 Zheng.
3322
3323 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
3324 and GPE handler removal. Restructured calls to eliminate possible race 
3325 conditions. Lv Zheng.
3326
3327 Added a warning for the use/execution of the ASL/AML Unload (table) 
3328 operator. This will help detect and identify machines that use this 
3329 operator if and when it is ever used. This operator has never been seen 
3330 in the field and the usage model and possible side-effects of the drastic 
3331 runtime action of a full table removal are unknown.
3332
3333 Reverted the use of #pragma push/pop which was introduced in the 20140214 
3334 release. It appears that push and pop are not implemented by enough 
3335 compilers to make the use of this feature feasible for ACPICA at this 
3336 time. However, these operators may be deployed in a future ACPICA 
3337 release.
3338
3339 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
3340 handler interfaces.
3341
3342 Source code generation:
3343 1) Disabled the use of the "strchr" macro for the gcc-specific 
3344 generation. For some versions of gcc, this macro can periodically expose 
3345 a compiler bug which in turn causes compile-time error(s).
3346 2) Added support for PPC64 compilation. Colin Ian King.
3347
3348 Example Code and Data Size: These are the sizes for the OS-independent 
3349 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3350 debug version of the code includes the debug output trace mechanism and 
3351 has a much larger code and data size.
3352
3353   Current 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   Previous Release:
3357     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3358     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3359
3360
3361 2) iASL Compiler/Disassembler and Tools:
3362
3363 Disassembler: Added several new features to improve the readability of 
3364 the resulting ASL code. Extra information is emitted within comment 
3365 fields in the ASL code:
3366 1) Known _HID/_CID values are decoded to descriptive text.
3367 2) Standard values for the Notify() operator are decoded to descriptive 
3368 text.
3369 3) Target operands are expanded to full pathnames (in a comment) when 
3370 possible.
3371
3372 Disassembler: Miscellaneous updates for extern() handling:
3373 1) Abort compiler if file specified by -fe option does not exist.
3374 2) Silence unnecessary warnings about argument count mismatches.
3375 3) Update warning messages concerning unresolved method externals.
3376 4) Emit "UnknownObj" keyword for externals whose type cannot be 
3377 determined.
3378
3379 AcpiHelp utility:
3380 1) Added the -a option to display both the ASL syntax and the AML 
3381 encoding for an input ASL operator. This effectively displays all known 
3382 information about an ASL operator with one AcpiHelp invocation.
3383 2) Added substring match support (similar to a wildcard) for the -i 
3384 (_HID/PNP IDs) option.
3385
3386 iASL/Disassembler: Since this tool does not yet support execution on big-
3387 endian machines, added detection of endianness and an error message if 
3388 execution is attempted on big-endian. Support for big-endian within iASL 
3389 is a feature that is on the ACPICA to-be-done list.
3390
3391 AcpiBin utility:
3392 1) Remove option to extract binary files from an acpidump; this function 
3393 is made obsolete by the AcpiXtract utility.
3394 2) General cleanup of open files and allocated buffers.
3395
3396
3397 ----------------------------------------
3398 14 February 2014. Summary of changes for version 20140214:
3399
3400 1) ACPICA kernel-resident subsystem:
3401
3402 Implemented a new mechanism to proactively prevent problems with ill-
3403 behaved reentrant control methods that create named ACPI objects. This 
3404 behavior is illegal as per the ACPI specification, but is nonetheless 
3405 frequently seen in the field. Previously, this could lead to an 
3406 AE_ALREADY_EXISTS exception if the method was actually entered by more 
3407 than one thread. This new mechanism detects such methods at table load 
3408 time and marks them "serialized" to prevent reentrancy. A new global 
3409 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
3410 feature if desired. This mechanism and global option obsoletes and 
3411 supersedes the previous AcpiGbl_SerializeAllMethods option.
3412
3413 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
3414 respond TRUE to _OSI queries with this string. It is the stated policy of 
3415 ACPICA to add new strings to the _OSI support as soon as possible after 
3416 they are defined. See the full ACPICA _OSI policy which has been added to 
3417 the utilities/utosi.c file.
3418
3419 Hardened/updated the _PRT return value auto-repair code:
3420 1) Do not abort the repair on a single subpackage failure, continue to 
3421 check all subpackages.
3422 2) Add check for the minimum subpackage length (4).
3423 3) Properly handle extraneous NULL package elements.
3424
3425 Added support to avoid the possibility of infinite loops when traversing 
3426 object linked lists. Never allow an infinite loop, even in the face of 
3427 corrupted object lists.
3428
3429 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
3430 pack(pop) directives to ensure that the ACPICA headers are independent of 
3431 compiler settings or other host headers.
3432
3433 Example Code and Data Size: These are the sizes for the OS-independent 
3434 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3435 debug version of the code includes the debug output trace mechanism and 
3436 has a much larger code and data size.
3437
3438   Current Release:
3439     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3440     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3441   Previous Release:
3442     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3443     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3444
3445
3446 2) iASL Compiler/Disassembler and Tools:
3447
3448 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
3449 first reserved field was incorrectly forced to have a value of zero. This 
3450 change correctly forces the field to have a value of one. ACPICA BZ 1081.
3451
3452 Debugger: Added missing support for the "Extra" and "Data" subobjects 
3453 when displaying object data.
3454
3455 Debugger: Added support to display entire object linked lists when 
3456 displaying object data.
3457
3458 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
3459 Windows registry. This feature has been superseded by the acpidump 
3460 utility. 
3461
3462
3463 ----------------------------------------
3464 14 January 2014. Summary of changes for version 20140114:
3465
3466 1) ACPICA kernel-resident subsystem:
3467
3468 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
3469 copyright to all module headers and signons, including the standard Linux 
3470 header. This affects virtually every file in the ACPICA core subsystem, 
3471 iASL compiler, all ACPICA utilities, and the test suites.
3472
3473 Improved parameter validation for AcpiInstallGpeBlock. Added the 
3474 following checks:
3475 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
3476 2) There is not already a GPE block attached to the device.
3477 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
3478 device.
3479
3480 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
3481 support to allow references (namespace nodes) to be passed as arguments 
3482 to control methods via the evaluate object interface. This is probably 
3483 most useful for testing purposes, however.
3484
3485 Improved support for 32/64 bit physical addresses in printf()-like 
3486 output. This change improves the support for physical addresses in printf 
3487 debug statements and other output on both 32-bit and 64-bit hosts. It 
3488 consistently outputs the appropriate number of bytes for each host. The 
3489 %p specifier is unsatisfactory since it does not emit uniform output on 
3490 all hosts/clib implementations (on some, leading zeros are not supported, 
3491 leading to difficult-to-read output).
3492
3493 Example Code and Data Size: These are the sizes for the OS-independent 
3494 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3495 debug version of the code includes the debug output trace mechanism and 
3496 has a much larger code and data size.
3497
3498   Current Release:
3499     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3500     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3501   Previous Release:
3502     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3503     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3504
3505
3506 2) iASL Compiler/Disassembler and Tools:
3507
3508 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
3509 problem if the parent Field definition for the Connection operator refers 
3510 to an operation region that does not exist. ACPICA BZ 1064.
3511
3512 AcpiExec: Load of local test tables is now optional. The utility has the 
3513 capability to load some various tables to test features of ACPICA. 
3514 However, there are enough of them that the output of the utility became 
3515 confusing. With this change, only the required local tables are displayed 
3516 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
3517 line specification. This makes the default output simler and easier to 
3518 understand. The -el command line option restores the original behavior 
3519 for testing purposes.
3520
3521 AcpiExec: Added support for overlapping operation regions. This change 
3522 expands the simulation of operation regions by supporting regions that 
3523 overlap within the given address space. Supports SystemMemory and 
3524 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
3525
3526 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
3527 allows AcpiExec to simulate these address spaces, similar to the current 
3528 support for SystemMemory and SystemIO.
3529
3530 Debugger: Added new command to read/write/compare all namespace objects. 
3531 The command "test objects" will exercise the entire namespace by writing 
3532 new values to each data object, and ensuring that the write was 
3533 successful. The original value is then restored and verified.
3534
3535 Debugger: Added the "test predefined" command. This change makes this 
3536 test public and puts it under the new "test" command. The test executes 
3537 each and every predefined name within the current namespace.
3538
3539
3540 ----------------------------------------
3541 18 December 2013. Summary of changes for version 20131218:
3542
3543 Global note: The ACPI 5.0A specification was released this month. There 
3544 are no changes needed for ACPICA since this release of ACPI is an 
3545 errata/clarification release. The specification is available at 
3546 acpi.info. 
3547
3548
3549 1) ACPICA kernel-resident subsystem:
3550
3551 Added validation of the XSDT root table if it is present. Some older 
3552 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
3553 as containing some or all entries that are NULL pointers). This change 
3554 adds a new function to validate the XSDT before actually using it. If the 
3555 XSDT is found to be invalid, ACPICA will now automatically fall back to 
3556 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
3557 ACPICA and enhanced by Lv Zheng and Bob Moore.
3558
3559 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
3560 This change adds a runtime option that will force ACPICA to use the RSDT 
3561 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
3562 requires that an XSDT be used instead of the RSDT, the XSDT has been 
3563 found to be corrupt or ill-formed on some machines. Lv Zheng.
3564
3565 Added a runtime option to favor 32-bit FADT register addresses over the 
3566 64-bit addresses. This change adds an option to favor 32-bit FADT 
3567 addresses when there is a conflict between the 32-bit and 64-bit versions 
3568 of the same register. The default behavior is to use the 64-bit version 
3569 in accordance with the ACPI specification. This can now be overridden via 
3570 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
3571
3572 During the change above, the internal "Convert FADT" and "Verify FADT" 
3573 functions have been merged to simplify the code, making it easier to 
3574 understand and maintain. ACPICA BZ 933.
3575
3576 Improve exception reporting and handling for GPE block installation. 
3577 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
3578 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
3579
3580 Added helper macros to extract bus/segment numbers from the HEST table. 
3581 This change adds two macros to extract the encoded bus and segment 
3582 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
3583 Betty Dall <betty.dall@hp.com>
3584
3585 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
3586 by ACPICA. It is not a public macro, so it should have no effect on 
3587 existing OSV code. Lv Zheng.
3588
3589 Example Code and Data Size: These are the sizes for the OS-independent 
3590 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3591 debug version of the code includes the debug output trace mechanism and 
3592 has a much larger code and data size.
3593
3594   Current Release:
3595     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3596     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3597   Previous Release:
3598     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3599     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3600
3601
3602 2) iASL Compiler/Disassembler and Tools:
3603
3604 Disassembler: Improved pathname support for emitted External() 
3605 statements. This change adds full pathname support for external names 
3606 that have been resolved internally by the inclusion of additional ACPI 
3607 tables (via the iASL -e option). Without this change, the disassembler 
3608 can emit multiple externals for the same object, or it become confused 
3609 when the Scope() operator is used on an external object. Overall, greatly 
3610 improves the ability to actually recompile the emitted ASL code when 
3611 objects a referenced across multiple ACPI tables. Reported by Michael 
3612 Tsirkin (mst@redhat.com).
3613
3614 Tests/ASLTS: Updated functional control suite to execute with no errors. 
3615 David Box. Fixed several errors related to the testing of the interpreter 
3616 slack mode. Lv Zheng.
3617
3618 iASL: Added support to detect names that are declared within a control 
3619 method, but are unused (these are temporary names that are only valid 
3620 during the time the method is executing). A remark is issued for these 
3621 cases. ACPICA BZ 1022.
3622
3623 iASL: Added full support for the DBG2 table. Adds full disassembler, 
3624 table compiler, and template generator support for the DBG2 table (Debug 
3625 Port 2 table).
3626
3627 iASL: Added full support for the PCCT table, update the table definition. 
3628 Updates the PCCT table definition in the actbl3.h header and adds table 
3629 compiler and template generator support.
3630
3631 iASL: Added an option to emit only error messages (no warnings/remarks). 
3632 The -ve option will enable only error messages, warnings and remarks are 
3633 suppressed. This can simplify debugging when only the errors are 
3634 important, such as when an ACPI table is disassembled and there are many 
3635 warnings and remarks -- but only the actual errors are of real interest.
3636
3637 Example ACPICA code (source/tools/examples): Updated the example code so 
3638 that it builds to an actual working program, not just example code. Added 
3639 ACPI tables and execution of an example control method in the DSDT. Added 
3640 makefile support for Unix generation.
3641
3642
3643 ----------------------------------------
3644 15 November 2013. Summary of changes for version 20131115:
3645
3646 This release is available at https://acpica.org/downloads
3647
3648
3649 1) ACPICA kernel-resident subsystem:
3650
3651 Resource Manager: Fixed loop termination for the "get AML length" 
3652 function. The loop previously had an error termination on a NULL resource 
3653 pointer, which can never happen since the loop simply increments a valid 
3654 resource pointer. This fix changes the loop to terminate with an error on 
3655 an invalid end-of-buffer condition. The problem can be seen as an 
3656 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
3657 corrupted resource descriptor, or a resource descriptor that is missing 
3658 an END_TAG descriptor. Reported by Dan Carpenter 
3659 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
3660
3661 Table unload and ACPICA termination: Delete all attached data objects 
3662 during namespace node deletion. This fix updates namespace node deletion 
3663 to delete the entire list of attached objects (attached via 
3664 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
3665 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
3666
3667 ACPICA termination: Added support to delete all objects attached to the 
3668 root namespace node. This fix deletes any and all objects that have been 
3669 attached to the root node via AcpiAttachData. Previously, none of these 
3670 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
3671
3672 Debug output: Do not emit the function nesting level for the in-kernel 
3673 build. The nesting level is really only useful during a single-thread 
3674 execution. Therefore, only enable this output for the AcpiExec utility. 
3675 Also, only emit the thread ID when executing under AcpiExec (Context 
3676 switches are still always detected and a message is emitted). ACPICA BZ 
3677 972.
3678
3679 Example Code and Data Size: These are the sizes for the OS-independent 
3680 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3681 debug version of the code includes the debug output trace mechanism and 
3682 has a much larger code and data size.
3683
3684   Current Release:
3685     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3686     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3687   Previous Release:
3688     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3689     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3690
3691
3692 2) iASL Compiler/Disassembler and Tools:
3693
3694 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
3695 correct portable POSIX header for terminal control functions.
3696
3697 Disassembler: Fixed control method invocation issues related to the use 
3698 of the CondRefOf() operator. The problem is seen in the disassembly where 
3699 control method invocations may not be disassembled properly if the 
3700 control method name has been used previously as an argument to CondRefOf. 
3701 The solution is to not attempt to emit an external declaration for the 
3702 CondRefOf target (it is not necessary in the first place). This prevents 
3703 disassembler object type confusion. ACPICA BZ 988.
3704
3705 Unix Makefiles: Added an option to disable compiler optimizations and the 
3706 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
3707 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
3708 command line option for make (NOOPT) that disables all compiler 
3709 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
3710 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
3711 1034. Lv Zheng, Bob Moore.
3712
3713 Tests/ASLTS: Added options to specify individual test cases and modes. 
3714 This allows testers running aslts.sh to optionally specify individual 
3715 test modes and test cases. Also added an option to disable the forced 
3716 generation of the ACPICA tools from source if desired. Lv Zheng.
3717
3718 ----------------------------------------
3719 27 September 2013. Summary of changes for version 20130927:
3720
3721 This release is available at https://acpica.org/downloads
3722
3723
3724 1) ACPICA kernel-resident subsystem:
3725
3726 Fixed a problem with store operations to reference objects. This change 
3727 fixes a problem where a Store operation to an ArgX object that contained 
3728
3729 reference to a field object did not complete the automatic dereference 
3730 and 
3731 then write to the actual field object. Instead, the object type of the 
3732 field object was inadvertently changed to match the type of the source 
3733 operand. The new behavior will actually write to the field object (buffer 
3734 field or field unit), thus matching the correct ACPI-defined behavior.
3735
3736 Implemented support to allow the host to redefine individual OSL 
3737 prototypes. This change enables the host to redefine OSL prototypes found 
3738 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
3739 with a macro or inlined function. Further, it allows the host to add any 
3740 additional required modifiers such as __iomem, __init, __exit, etc., as 
3741 necessary on a per-interface basis. Enables maximum flexibility for the 
3742 OSL interfaces. Lv Zheng.
3743
3744 Hardcoded the access width for the FADT-defined reset register. The ACPI 
3745 specification requires the reset register width to be 8 bits. ACPICA now 
3746 hardcodes the width to 8 and ignores the FADT width value. This provides 
3747 compatibility with other ACPI implementations that have allowed BIOS code 
3748 with bad register width values to go unnoticed. Matthew Garett, Bob 
3749 Moore, 
3750 Lv Zheng.
3751
3752 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
3753 used 
3754 in the OSL header (acpiosxf). The change modifies the position of this 
3755 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
3756 build issues if the OSL defines the implementation of the interface to be 
3757 an inline stub function. Lv Zheng.
3758
3759 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
3760 initialization interfaces. This change adds a new macro for the main init 
3761 and terminate external interfaces in order to support hosts that require 
3762 additional or different processing for these functions. Changed from 
3763 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
3764 Zheng, Bob Moore.
3765
3766 Cleaned up the memory allocation macros for configurability. In the 
3767 common 
3768 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
3769 respective AcpiOs* OSL interfaces. Two options:
3770 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
3771 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
3772 2) For AcpiExec (and for debugging), the macros can optionally be 
3773 resolved 
3774 to the local ACPICA interfaces that track each allocation (local tracking 
3775 is used to immediately detect memory leaks).
3776 Lv Zheng.
3777
3778 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
3779 to predefine this macro to either TRUE or FALSE during the system build.
3780
3781 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
3782
3783 Example Code and Data Size: These are the sizes for the OS-independent 
3784 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3785 debug version of the code includes the debug output trace mechanism and 
3786 has a much larger code and data size.
3787
3788   Current Release:
3789     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3790     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3791   Previous Release:
3792     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3793     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3794
3795
3796 2) iASL Compiler/Disassembler and Tools:
3797
3798 iASL: Implemented wildcard support for the -e option. This simplifies use 
3799 when there are many SSDTs that must be included to resolve external 
3800 method 
3801 declarations. ACPICA BZ 1041. Example:
3802     iasl -e ssdt*.dat -d dsdt.dat
3803
3804 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
3805 adds a portable module that implements full history and limited line 
3806 editing for Unix and Linux systems. It does not use readline() due to 
3807 portability issues. Instead it uses the POSIX termio interface to put the 
3808 terminal in raw input mode so that the various special keys can be 
3809 trapped 
3810 (such as up/down-arrow for history support and left/right-arrow for line 
3811 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
3812
3813 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
3814 one or more spaces. This provides compatible with early or different 
3815 versions of the AcpiDump utility. ACPICA BZ 1044.
3816
3817 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
3818 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
3819 no other data. This change adds support to dump these tables. Any tables 
3820 shorter than the length of an ACPI table header remain in error (an error 
3821 message is emitted). Reported by Yi Li.
3822
3823 Debugger: Echo actual command along with the "unknown command" message.
3824
3825 ----------------------------------------
3826 23 August 2013. Summary of changes for version 20130823:
3827
3828 1) ACPICA kernel-resident subsystem:
3829
3830 Implemented support for host-installed System Control Interrupt (SCI) 
3831 handlers. Certain ACPI functionality requires the host to handle raw 
3832 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
3833 state support requires the host device driver to handle SCIs to examine 
3834 if the doorbell has been activated. Multiple SCI handlers can be 
3835 installed to allow for future expansion. New external interfaces are 
3836 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
3837 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
3838
3839 Operation region support: Never locally free the handler "context" 
3840 pointer. This change removes some dangerous code that attempts to free 
3841 the handler context pointer in some (rare) circumstances. The owner of 
3842 the handler owns this pointer and the ACPICA code should never touch it. 
3843 Although not seen to be an issue in any kernel, it did show up as a 
3844 problem (fault) under AcpiExec. Also, set the internal storage field for 
3845 the context pointer to zero when the region is deactivated, simply for 
3846 sanity. David Box. ACPICA BZ 1039.
3847
3848 AcpiRead: On error, do not modify the return value target location. If an 
3849 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
3850 modify the target of the return value pointer. Makes the code consistent 
3851 with the rest of ACPICA. Bjorn Helgaas.
3852
3853 Example Code and Data Size: These are the sizes for the OS-independent 
3854 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3855 debug version of the code includes the debug output trace mechanism and 
3856 has a much larger code and data size.
3857
3858   Current Release:
3859     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3860     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3861   Previous Release:
3862     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3863     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
3864
3865
3866 2) iASL Compiler/Disassembler and Tools:
3867
3868 AcpiDump: Implemented several new features and fixed some problems:
3869 1) Added support to dump the RSDP, RSDT, and XSDT tables.
3870 2) Added support for multiple table instances (SSDT, UEFI).
3871 3) Added option to dump "customized" (overridden) tables (-c).
3872 4) Fixed a problem where some table filenames were improperly 
3873 constructed.
3874 5) Improved some error messages, removed some unnecessary messages.
3875
3876 iASL: Implemented additional support for disassembly of ACPI tables that 
3877 contain invocations of external control methods. The -fe<file> option 
3878 allows the import of a file that specifies the external methods along 
3879 with the required number of arguments for each -- allowing for the 
3880 correct disassembly of the table. This is a workaround for a limitation 
3881 of AML code where the disassembler often cannot determine the number of 
3882 arguments required for an external control method and generates incorrect 
3883 ASL code. See the iASL reference for details. ACPICA BZ 1030.
3884
3885 Debugger: Implemented a new command (paths) that displays the full 
3886 pathnames (namepaths) and object types of all objects in the namespace. 
3887 This is an alternative to the namespace command.
3888
3889 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
3890 mechanism and any installed handlers.
3891
3892 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
3893 This can occur if there are too many parent prefixes in a namepath (for 
3894 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3895
3896 Application OSLs: Set the return value for the PCI read functions. These 
3897 functions simply return AE_OK, but should set the return value to zero 
3898 also. This change implements this. ACPICA BZ 1038.
3899
3900 Debugger: Prevent possible command line buffer overflow. Increase the 
3901 size of a couple of the debugger line buffers, and ensure that overflow 
3902 cannot happen. ACPICA BZ 1037.
3903
3904 iASL: Changed to abort immediately on serious errors during the parsing 
3905 phase. Due to the nature of ASL, there is no point in attempting to 
3906 compile these types of errors, and they typically end up causing a 
3907 cascade of hundreds of errors which obscure the original problem.
3908
3909 ----------------------------------------
3910 25 July 2013. Summary of changes for version 20130725:
3911
3912 1) ACPICA kernel-resident subsystem:
3913
3914 Fixed a problem with the DerefOf operator where references to FieldUnits 
3915 and BufferFields incorrectly returned the parent object, not the actual 
3916 value of the object. After this change, a dereference of a FieldUnit 
3917 reference results in a read operation on the field to get the value, and 
3918 likewise, the appropriate BufferField value is extracted from the target 
3919 buffer.
3920
3921 Fixed a problem where the _WAK method could cause a fault under these 
3922 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
3923 method returned no value. The problem is rarely seen because most kernels 
3924 run ACPICA in slack mode.
3925
3926 For the DerefOf operator, a fatal error now results if an attempt is made 
3927 to dereference a reference (created by the Index operator) to a NULL 
3928 package element. Provides compatibility with other ACPI implementations, 
3929 and this behavior will be added to a future version of the ACPI 
3930 specification.
3931
3932 The ACPI Power Management Timer (defined in the FADT) is now optional. 
3933 This provides compatibility with other ACPI implementations and will 
3934 appear in the next version of the ACPI specification. If there is no PM 
3935 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
3936 zero in the FADT indicates no PM timer.
3937
3938 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
3939 allows the host to globally enable/disable all vendor strings, all 
3940 feature strings, or both. Intended to be primarily used for debugging 
3941 purposes only. Lv Zheng.
3942
3943 Expose the collected _OSI data to the host via a global variable. This 
3944 data tracks the highest level vendor ID that has been invoked by the BIOS 
3945 so that the host (and potentially ACPICA itself) can change behaviors 
3946 based upon the age of the BIOS.
3947
3948 Example Code and Data Size: These are the sizes for the OS-independent 
3949 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3950 debug version of the code includes the debug output trace mechanism and 
3951 has a much larger code and data size.
3952
3953   Current Release:
3954     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3955     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3956   Previous Release:
3957     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3958     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3959
3960
3961 2) iASL Compiler/Disassembler and Tools:
3962
3963 iASL: Created the following enhancements for the -so option (create 
3964 offset table):
3965 1)Add offsets for the last nameseg in each namepath for every supported 
3966 object type
3967 2)Add support for Processor, Device, Thermal Zone, and Scope objects
3968 3)Add the actual AML opcode for the parent object of every supported 
3969 object type
3970 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
3971
3972 Disassembler: Emit all unresolved external symbols in a single block. 
3973 These are external references to control methods that could not be 
3974 resolved, and thus, the disassembler had to make a guess at the number of 
3975 arguments to parse.
3976
3977 iASL: The argument to the -T option (create table template) is now 
3978 optional. If not specified, the default table is a DSDT, typically the 
3979 most common case.
3980
3981 ----------------------------------------
3982 26 June 2013. Summary of changes for version 20130626:
3983
3984 1) ACPICA kernel-resident subsystem:
3985
3986 Fixed an issue with runtime repair of the _CST object. Null or invalid 
3987 elements were not always removed properly. Lv Zheng. 
3988
3989 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
3990 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
3991 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
3992 makes the system-wide number of GPEs essentially unlimited.
3993
3994 Example Code and Data Size: These are the sizes for the OS-independent 
3995 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3996 debug version of the code includes the debug output trace mechanism and 
3997 has a much larger code and data size.
3998
3999   Current Release:
4000     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
4001     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
4002   Previous Release:
4003     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
4004     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
4005
4006
4007 2) iASL Compiler/Disassembler and Tools:
4008
4009 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
4010 hosts. Now supports Linux, FreeBSD, and Windows.
4011
4012 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
4013 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
4014
4015 iASL/Preprocessor: Implemented full support for nested 
4016 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
4017
4018 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
4019 max. The original purpose of this constraint was to limit the amount of 
4020 debug output. However, the string function in question (UtPrintString) is 
4021 now used for the disassembler also, where 256 bytes is insufficient. 
4022 Reported by RehabMan@GitHub.
4023
4024 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
4025 tables. ACPICA BZ 999. Lv Zheng.
4026
4027 iASL: Fixed a couple of error exit issues that could result in a "Could 
4028 not delete <file>" message during ASL compilation.
4029
4030 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
4031 the actual signatures for these tables are "FACP" and "APIC", 
4032 respectively.
4033
4034 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
4035 tables are allowed to have multiple instances.
4036
4037 ----------------------------------------
4038 17 May 2013. Summary of changes for version 20130517:
4039
4040 1) ACPICA kernel-resident subsystem:
4041
4042 Fixed a regression introduced in version 20130328 for _INI methods. This 
4043 change fixes a problem introduced in 20130328 where _INI methods are no 
4044 longer executed properly because of a memory block that was not 
4045 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
4046 <tomasz.nowicki@linaro.org>.
4047
4048 Fixed a possible problem with the new extended sleep registers in the 
4049 ACPI 
4050 5.0 FADT. Do not use these registers (even if populated) unless the HW-
4051 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
4052 1020. Lv Zheng.
4053
4054 Implemented return value repair code for _CST predefined objects: Sort 
4055 the 
4056 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
4057
4058 Implemented a debug-only option to disable loading of SSDTs from the 
4059 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
4060 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
4061 acglobal.h - ACPICA BZ 1005. Lv Zheng.
4062
4063 Fixed some issues in the ACPICA initialization and termination code: 
4064 Tomasz Nowicki <tomasz.nowicki@linaro.org>
4065 1) Clear events initialized flag upon event component termination. ACPICA 
4066 BZ 1013.
4067 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
4068 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
4069 4) Clear debug buffer global on termination to prevent possible multiple 
4070 delete. ACPICA BZ 1010.
4071
4072 Standardized all switch() blocks across the entire source base. After 
4073 many 
4074 years, different formatting for switch() had crept in. This change makes 
4075 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
4076
4077 Split some files to enhance ACPICA modularity and configurability:
4078 1) Split buffer dump routines into utilities/utbuffer.c
4079 2) Split internal error message routines into utilities/uterror.c
4080 3) Split table print utilities into tables/tbprint.c
4081 4) Split iASL command-line option processing into asloptions.c
4082
4083 Makefile enhancements:
4084 1) Support for all new files above.
4085 2) Abort make on errors from any subcomponent. Chao Guan.
4086 3) Add build support for Apple Mac OS X. Liang Qi.
4087
4088 Example Code and Data Size: These are the sizes for the OS-independent 
4089 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4090 debug version of the code includes the debug output trace mechanism and 
4091 has a much larger code and data size.
4092
4093   Current Release:
4094     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
4095     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
4096   Previous Release:
4097     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4098     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4099
4100
4101 2) iASL Compiler/Disassembler and Tools:
4102
4103 New utility: Implemented an easily portable version of the acpidump 
4104 utility to extract ACPI tables from the system (or a file) in an ASCII 
4105 hex 
4106 dump format. The top-level code implements the various command line 
4107 options, file I/O, and table dump routines. To port to a new host, only 
4108 three functions need to be implemented to get tables -- since this 
4109 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
4110 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
4111 1) The Windows version obtains the ACPI tables from the Registry.
4112 2) The Linux version is under development.
4113 3) Other hosts - If an OS-dependent module is submitted, it will be 
4114 distributed with ACPICA.
4115
4116 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
4117 restructuring/change to the initialization sequence caused this option to 
4118 no longer work properly.
4119
4120 iASL: Implemented a mechanism to disable specific warnings and remarks. 
4121 Adds a new command line option, "-vw <messageid> as well as "#pragma 
4122 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
4123
4124 iASL: Fix for too-strict package object validation. The package object 
4125 validation for return values from the predefined names is a bit too 
4126 strict, it does not allow names references within the package (which will 
4127 be resolved at runtime.) These types of references cannot be validated at 
4128 compile time. This change ignores named references within package objects 
4129 for names that return or define static packages.
4130
4131 Debugger: Fixed the 80-character command line limitation for the History 
4132 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
4133
4134 iASL: Added control method and package support for the -so option 
4135 (generates AML offset table for BIOS support.)
4136
4137 iASL: issue a remark if a non-serialized method creates named objects. If 
4138 a thread blocks within the method for any reason, and another thread 
4139 enters the method, the method will fail because an attempt will be made 
4140 to 
4141 create the same (named) object twice. In this case, issue a remark that 
4142 the method should be marked serialized. NOTE: may become a warning later. 
4143 ACPICA BZ 909.
4144
4145 ----------------------------------------
4146 18 April 2013. Summary of changes for version 20130418:
4147
4148 1) ACPICA kernel-resident subsystem:
4149
4150 Fixed a possible buffer overrun during some rare but specific field unit 
4151 read operations. This overrun can only happen if the DSDT version is 1 -- 
4152 meaning that all AML integers are 32 bits -- and the field length is 
4153 between 33 and 55 bits long. During the read, an internal buffer object 
4154 is 
4155 created for the field unit because the field is larger than an integer 
4156 (32 
4157 bits). However, in this case, the buffer will be incorrectly written 
4158 beyond the end because the buffer length is less than the internal 
4159 minimum 
4160 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
4161 long, but a full 8 bytes will be written.
4162
4163 Updated the Embedded Controller "orphan" _REG method support. This refers 
4164 to _REG methods under the EC device that have no corresponding operation 
4165 region. This is allowed by the ACPI specification. This update removes a 
4166 dependency on the existence an ECDT table. It will execute an orphan _REG 
4167 method as long as the operation region handler for the EC is installed at 
4168 the EC device node and not the namespace root. Rui Zhang (original 
4169 update), Bob Moore (update/integrate).
4170
4171 Implemented run-time argument typechecking for all predefined ACPI names 
4172 (_STA, _BIF, etc.) This change performs object typechecking on all 
4173 incoming arguments for all predefined names executed via 
4174 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
4175 passing correct object types as well as the correct number of arguments 
4176 (therefore identifying any issues immediately). Also, the ASL/namespace 
4177 definition of the predefined name is checked against the ACPI 
4178 specification for the proper argument count. Adds one new file, 
4179 nsarguments.c
4180
4181 Changed an exception code for the ASL UnLoad() operator. Changed the 
4182 exception code for the case where the input DdbHandle is invalid, from 
4183 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
4184
4185 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
4186 global makefile. The use of this flag causes compiler errors on earlier 
4187 versions of GCC, so it has been removed for compatibility.
4188
4189 Miscellaneous cleanup:
4190 1) Removed some unused/obsolete macros
4191 2) Fixed a possible memory leak in the _OSI support
4192 3) Removed an unused variable in the predefined name support
4193 4) Windows OSL: remove obsolete reference to a memory list field
4194
4195 Example Code and Data Size: These are the sizes for the OS-independent 
4196 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4197 debug version of the code includes the debug output trace mechanism and 
4198 has a much larger code and data size.
4199
4200   Current Release:
4201     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4202     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4203   Previous Release:
4204     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4205     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4206
4207
4208 2) iASL Compiler/Disassembler and Tools:
4209
4210 AcpiExec: Added installation of a handler for the SystemCMOS address 
4211 space. This prevents control method abort if a method accesses this 
4212 space.
4213
4214 AcpiExec: Added support for multiple EC devices, and now install EC 
4215 operation region handler(s) at the actual EC device instead of the 
4216 namespace root. This reflects the typical behavior of host operating 
4217 systems.
4218
4219 AcpiExec: Updated to ensure that all operation region handlers are 
4220 installed before the _REG methods are executed. This prevents a _REG 
4221 method from aborting if it accesses an address space has no handler. 
4222 AcpiExec installs a handler for every possible address space.
4223
4224 Debugger: Enhanced the "handlers" command to display non-root handlers. 
4225 This change enhances the handlers command to display handlers associated 
4226 with individual devices throughout the namespace, in addition to the 
4227 currently supported display of handlers associated with the root 
4228 namespace 
4229 node.
4230
4231 ASL Test Suite: Several test suite errors have been identified and 
4232 resolved, reducing the total error count during execution. Chao Guan.
4233
4234 ----------------------------------------
4235 28 March 2013. Summary of changes for version 20130328:
4236
4237 1) ACPICA kernel-resident subsystem:
4238
4239 Fixed several possible race conditions with the internal object reference 
4240 counting mechanism. Some of the external ACPICA interfaces update object 
4241 reference counts without holding the interpreter or namespace lock. This 
4242 change adds a spinlock to protect reference count updates on the internal 
4243 ACPICA objects. Reported by and with assistance from Andriy Gapon 
4244 (avg@FreeBSD.org).
4245
4246 FADT support: Removed an extraneous warning for very large GPE register 
4247 sets. This change removes a size mismatch warning if the legacy length 
4248 field for a GPE register set is larger than the 64-bit GAS structure can 
4249 accommodate. GPE register sets can be larger than the 255-bit width 
4250 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
4251
4252 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
4253 return from this interface. Handles a possible timeout case if 
4254 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
4255 "forever". Jung-uk Kim.
4256
4257 Predefined name support: Add allowed/required argument type information 
4258 to 
4259 the master predefined info table. This change adds the infrastructure to 
4260 enable typechecking on incoming arguments for all predefined 
4261 methods/objects. It does not actually contain the code that will fully 
4262 utilize this information, this is still under development. Also condenses 
4263 some duplicate code for the predefined names into a new module, 
4264 utilities/utpredef.c
4265
4266 Example Code and Data Size: These are the sizes for the OS-independent 
4267 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4268 debug version of the code includes the debug output trace mechanism and 
4269 has a much larger code and data size.
4270
4271   Previous Release:
4272     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4273     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4274   Current Release:
4275     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4276     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4277
4278
4279 2) iASL Compiler/Disassembler and Tools:
4280
4281 iASL: Implemented a new option to simplify the development of ACPI-
4282 related 
4283 BIOS code. Adds support for a new "offset table" output file. The -so 
4284 option will create a C table containing the AML table offsets of various 
4285 named objects in the namespace so that BIOS code can modify them easily 
4286 at 
4287 boot time. This can simplify BIOS runtime code by eliminating expensive 
4288 searches for "magic values", enhancing boot times and adding greater 
4289 reliability. With assistance from Lee Hamel.
4290
4291 iASL: Allow additional predefined names to return zero-length packages. 
4292 Now, all predefined names that are defined by the ACPI specification to 
4293 return a "variable-length package of packages" are allowed to return a 
4294 zero length top-level package. This allows the BIOS to tell the host that 
4295 the requested feature is not supported, and supports existing BIOS/ASL 
4296 code and practices.
4297
4298 iASL: Changed the "result not used" warning to an error. This is the case 
4299 where an ASL operator is effectively a NOOP because the result of the 
4300 operation is not stored anywhere. For example:
4301     Add (4, Local0)
4302 There is no target (missing 3rd argument), nor is the function return 
4303 value used. This is potentially a very serious problem -- since the code 
4304 was probably intended to do something, but for whatever reason, the value 
4305 was not stored. Therefore, this issue has been upgraded from a warning to 
4306 an error.
4307
4308 AcpiHelp: Added allowable/required argument types to the predefined names 
4309 info display. This feature utilizes the recent update to the predefined 
4310 names table (above).
4311
4312 ----------------------------------------
4313 14 February 2013. Summary of changes for version 20130214:
4314
4315 1) ACPICA Kernel-resident Subsystem:
4316
4317 Fixed a possible regression on some hosts: Reinstated the safe return 
4318 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
4319 evaluated only once. Although these macros are not needed for the ACPICA 
4320 code itself, they are often used by ACPI-related host device drivers 
4321 where 
4322 the safe feature may be necessary.
4323
4324 Fixed several issues related to the ACPI 5.0 reduced hardware support 
4325 (SOC): Now ensure that if the platform declares itself as hardware-
4326 reduced 
4327 via the FADT, the following functions become NOOPs (and always return 
4328 AE_OK) because ACPI is always enabled by definition on these machines:
4329   AcpiEnable
4330   AcpiDisable
4331   AcpiHwGetMode
4332   AcpiHwSetMode
4333
4334 Dynamic Object Repair: Implemented additional runtime repairs for 
4335 predefined name return values. Both of these repairs can simplify code in 
4336 the related device drivers that invoke these methods:
4337 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
4338 string to a Unicode buffer. 
4339 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
4340
4341 lone end tag descriptor in the following cases: A Return(0) was executed, 
4342 a null buffer was returned, or no object at all was returned (non-slack 
4343 mode only). Adds a new file, nsconvert.c
4344 ACPICA BZ 998. Bob Moore, Lv Zheng.
4345
4346 Resource Manager: Added additional code to prevent possible infinite 
4347 loops 
4348 while traversing corrupted or ill-formed resource template buffers. Check 
4349 for zero-length resource descriptors in all code that loops through 
4350 resource templates (the length field is used to index through the 
4351 template). This change also hardens the external AcpiWalkResources and 
4352 AcpiWalkResourceBuffer interfaces.
4353
4354 Local Cache Manager: Enhanced the main data structure to eliminate an 
4355 unnecessary mechanism to access the next object in the list. Actually 
4356 provides a small performance enhancement for hosts that use the local 
4357 ACPICA cache manager. Jung-uk Kim.
4358
4359 Example Code and Data Size: These are the sizes for the OS-independent 
4360 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4361 debug version of the code includes the debug output trace mechanism and 
4362 has a much larger code and data size.
4363
4364   Previous Release:
4365     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4366     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4367   Current Release:
4368     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4369     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4370
4371
4372 2) iASL Compiler/Disassembler and Tools:
4373
4374 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
4375 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
4376 that were made to the ACPI 5.0 specification.
4377
4378 iASL/Disassembler: Added full support for the following new ACPI tables:
4379   1) The MTMR table (MID Timer Table)
4380   2) The VRTC table (Virtual Real Time Clock Table).
4381 Includes header file, disassembler, table compiler, and template support 
4382 for both tables.
4383
4384 iASL: Implemented compile-time validation of package objects returned by 
4385 predefined names. This new feature validates static package objects 
4386 returned by the various predefined names defined to return packages. Both 
4387 object types and package lengths are validated, for both parent packages 
4388 and sub-packages, if any. The code is similar in structure and behavior 
4389 to 
4390 the runtime repair mechanism within the AML interpreter and uses the 
4391 existing predefined name information table. Adds a new file, aslprepkg.c. 
4392 ACPICA BZ 938.
4393
4394 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
4395 This feature detects a binary file with a valid ACPI table header and 
4396 invokes the disassembler automatically. Eliminates the need to 
4397 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
4398
4399 iASL/Disassembler: Added several warnings for the case where there are 
4400 unresolved control methods during the disassembly. This can potentially 
4401 cause errors when the output file is compiled, because the disassembler 
4402 assumes zero method arguments in these cases (it cannot determine the 
4403 actual number of arguments without resolution/definition of the method).
4404
4405 Debugger: Added support to display all resources with a single command. 
4406 Invocation of the resources command with no arguments will now display 
4407 all 
4408 resources within the current namespace.
4409
4410 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
4411 via the -e option.
4412
4413 ----------------------------------------
4414 17 January 2013. Summary of changes for version 20130117:
4415
4416 1) ACPICA Kernel-resident Subsystem:
4417
4418 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
4419 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
4420 objects to return a package containing one integer, most BIOS code 
4421 returns 
4422 two integers and the previous code reflects that. However, we also need 
4423 to 
4424 support BIOS code that actually implements to the ACPI spec, and this 
4425 change reflects this.
4426
4427 Fixed two issues with the ACPI_DEBUG_PRINT macros:
4428 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
4429 C compilers that require this support.
4430 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
4431 ACPI_DEBUG is already used by many of the various hosts.
4432
4433 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
4434 copyright to all module headers and signons, including the standard Linux 
4435 header. This affects virtually every file in the ACPICA core subsystem, 
4436 iASL compiler, all ACPICA utilities, and the test suites.
4437
4438 Example Code and Data Size: These are the sizes for the OS-independent 
4439 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4440 debug version of the code includes the debug output trace mechanism and 
4441 has a much larger code and data size.
4442
4443   Previous Release:
4444     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4445     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4446   Current Release:
4447     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4448     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4449
4450
4451 2) iASL Compiler/Disassembler and Tools:
4452
4453 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
4454 prevent a possible fault on some hosts. Some C libraries modify the arg 
4455 pointer parameter to vfprintf making it difficult to call it twice in the 
4456 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
4457 does not affect the Windows OSL since the Win C library does not modify 
4458 the arg pointer. Chao Guan, Bob Moore.
4459
4460 iASL: Fixed a possible infinite loop when the maximum error count is 
4461 reached. If an output file other than the .AML file is specified (such as 
4462 a listing file), and the maximum number of errors is reached, do not 
4463 attempt to flush data to the output file(s) as the compiler is aborting. 
4464 This can cause an infinite loop as the max error count code essentially 
4465 keeps calling itself.
4466
4467 iASL/Disassembler: Added an option (-in) to ignore NOOP 
4468 opcodes/operators. 
4469 Implemented for both the compiler and the disassembler. Often, the NOOP 
4470 opcode is used as padding for packages that are changed dynamically by 
4471 the 
4472 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
4473 errors. This option causes the disassembler to ignore all NOOP opcodes 
4474 (0xA3), and it also causes the compiler to ignore all ASL source code 
4475 NOOP 
4476 statements as well.
4477
4478 Debugger: Enhanced the Sleep command to execute all sleep states. This 
4479 change allows Sleep to be invoked with no arguments and causes the 
4480 debugger to execute all of the sleep states, 0-5, automatically.
4481
4482 ----------------------------------------
4483 20 December 2012. Summary of changes for version 20121220:
4484
4485 1) ACPICA Kernel-resident Subsystem:
4486
4487 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
4488 alternate entry point for AcpiWalkResources and improves the usability of 
4489 the resource manager by accepting as input a buffer containing the output 
4490 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
4491 input buffer is not deleted by this interface so that it can be used by 
4492 the host later. See the ACPICA reference for details.
4493
4494 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
4495 (DSDT version < 2). The constant will be truncated and this warning 
4496 reflects that behavior.
4497
4498 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
4499 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
4500 both get and set the new wake bit in these descriptors, separately from 
4501 the existing share bit. Reported by Aaron Lu.
4502
4503 Interpreter: Fix Store() when an implicit conversion is not possible. For 
4504 example, in the cases such as a store of a string to an existing package 
4505 object, implement the store as a CopyObject(). This is a small departure 
4506 from the ACPI specification which states that the control method should 
4507 be 
4508 aborted in this case. However, the ASLTS suite depends on this behavior.
4509
4510 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
4511 macros: check if debug output is currently enabled as soon as possible to 
4512 minimize performance impact if debug is in fact not enabled.
4513
4514 Source code restructuring: Cleanup to improve modularity. The following 
4515 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
4516 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
4517 Associated makefiles and project files have been updated.
4518
4519 Changed an exception code for LoadTable operator. For the case where one 
4520 of the input strings is too long, change the returned exception code from 
4521 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
4522
4523 Fixed a possible memory leak in dispatcher error path. On error, delete 
4524 the mutex object created during method mutex creation. Reported by 
4525 tim.gardner@canonical.com.
4526
4527 Example Code and Data Size: These are the sizes for the OS-independent 
4528 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4529 debug version of the code includes the debug output trace mechanism and 
4530 has a much larger code and data size.
4531
4532   Previous Release:
4533     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4534     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4535   Current Release:
4536     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4537     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4538
4539
4540 2) iASL Compiler/Disassembler and Tools:
4541
4542 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
4543 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
4544 will not allow the interpreter to differentiate between a method and a 
4545 method invocation when these are used as an argument to the ObjectType 
4546 operator. The ACPI specification change is to disallow a method 
4547 invocation 
4548 (UserTerm) for the ObjectType operator.
4549
4550 Finish support for the TPM2 and CSRT tables in the headers, table 
4551 compiler, and disassembler.
4552
4553 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
4554 always expires immediately if the semaphore is not available. The 
4555 original 
4556 code was using a relative-time timeout, but sem_timedwait requires the 
4557 use 
4558 of an absolute time.
4559
4560 iASL: Added a remark if the Timer() operator is used within a 32-bit 
4561 table. This operator returns a 64-bit time value that will be truncated 
4562 within a 32-bit table.
4563
4564 iASL Source code restructuring: Cleanup to improve modularity. The 
4565 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
4566 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
4567 been updated.
4568
4569
4570 ----------------------------------------
4571 14 November 2012. Summary of changes for version 20121114:
4572
4573 1) ACPICA Kernel-resident Subsystem:
4574
4575 Implemented a performance enhancement for ACPI/AML Package objects. This 
4576 change greatly increases the performance of Package objects within the 
4577 interpreter. It changes the processing of reference counts for packages 
4578 by 
4579 optimizing for the most common case where the package sub-objects are 
4580 either Integers, Strings, or Buffers. Increases the overall performance 
4581 of 
4582 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
4583 2X.) 
4584 Chao Guan. ACPICA BZ 943.
4585
4586 Implemented and deployed common macros to extract flag bits from resource 
4587 descriptors. Improves readability and maintainability of the code. Fixes 
4588
4589 problem with the UART serial bus descriptor for the number of data bits 
4590 flags (was incorrectly 2 bits, should be 3).
4591
4592 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
4593 of the macros and changed the SETx macros to the style of (destination, 
4594 source). Also added ACPI_CASTx companion macros. Lv Zheng.
4595
4596 Example Code and Data Size: These are the sizes for the OS-independent 
4597 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4598 debug version of the code includes the debug output trace mechanism and 
4599 has a much larger code and data size.
4600
4601   Previous Release:
4602     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4603     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4604   Current Release:
4605     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4606     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4607
4608
4609 2) iASL Compiler/Disassembler and Tools:
4610
4611 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
4612 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
4613 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
4614
4615 Disassembler: Fixed a problem with external declaration generation. Fixes 
4616 a problem where an incorrect pathname could be generated for an external 
4617 declaration if the original reference to the object includes leading 
4618 carats (^). ACPICA BZ 984.
4619
4620 Debugger: Completed a major update for the Disassemble<method> command. 
4621 This command was out-of-date and did not properly disassemble control 
4622 methods that had any reasonable complexity. This fix brings the command 
4623 up 
4624 to the same level as the rest of the disassembler. Adds one new file, 
4625 dmdeferred.c, which is existing code that is now common with the main 
4626 disassembler and the debugger disassemble command. ACPICA MZ 978.
4627
4628 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
4629 Newer versions of Bison emit this prototype, so moved the prototype out 
4630 of 
4631 the iASL header to where it is actually used in order to avoid a 
4632 duplicate 
4633 declaration.
4634
4635 iASL/Tools: Standardized use of the stream I/O functions:
4636   1) Ensure check for I/O error after every fopen/fread/fwrite
4637   2) Ensure proper order of size/count arguments for fread/fwrite
4638   3) Use test of (Actual != Requested) after all fwrite, and most fread
4639   4) Standardize I/O error messages
4640 Improves reliability and maintainability of the code. Bob Moore, Lv 
4641 Zheng. 
4642 ACPICA BZ 981.
4643
4644 Disassembler: Prevent duplicate External() statements. During generation 
4645 of external statements, detect similar pathnames that are actually 
4646 duplicates such as these:
4647   External (\ABCD)
4648   External (ABCD)
4649 Remove all leading '\' characters from pathnames during the external 
4650 statement generation so that duplicates will be detected and tossed. 
4651 ACPICA BZ 985.
4652
4653 Tools: Replace low-level I/O with stream I/O functions. Replace 
4654 open/read/write/close with the stream I/O equivalents 
4655 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
4656 Moore.
4657
4658 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
4659 name header so that AcpiXtract recognizes the output file/table.
4660
4661 iASL: Remove obsolete -2 option flag. Originally intended to force the 
4662 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
4663 and the entire concept is now obsolete.
4664
4665 ----------------------------------------
4666 18 October 2012. Summary of changes for version 20121018:
4667
4668
4669 1) ACPICA Kernel-resident Subsystem:
4670
4671 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
4672 introduced by late changes to the table as it was added to the ACPI 5.0 
4673 specification. Includes header, disassembler, and data table compiler 
4674 support as well as a new version of the MPST template.
4675
4676 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
4677 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
4678 methods: _HID, _CID, and _UID.
4679
4680 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
4681 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
4682 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
4683 names for their various drivers. Affects the AcpiGetObjectInfo external 
4684 interface, and other internal interfaces as well.
4685
4686 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
4687 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
4688 on machines that support non-aligned transfers. Optimizes for this case 
4689 rather than using a strncpy. With assistance from Zheng Lv.
4690
4691 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
4692 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
4693
4694 Added a new debug print message for AML mutex objects that are force-
4695 released. At control method termination, any currently acquired mutex 
4696 objects are force-released. Adds a new debug-only message for each one 
4697 that is released.
4698
4699 Audited/updated all ACPICA return macros and the function debug depth 
4700 counter: 1) Ensure that all functions that use the various TRACE macros 
4701 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
4702 return statements surround the return expression (value) with parens to 
4703 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
4704 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
4705
4706 Global source code changes/maintenance: All extra lines at the start and 
4707 end of each source file have been removed for consistency. Also, within 
4708 comments, all new sentences start with a single space instead of a double 
4709 space, again for consistency across the code base.
4710
4711 Example Code and Data Size: These are the sizes for the OS-independent 
4712 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4713 debug version of the code includes the debug output trace mechanism and 
4714 has a much larger code and data size.
4715
4716   Previous Release:
4717     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4718     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4719   Current Release:
4720     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4721     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4722
4723
4724 2) iASL Compiler/Disassembler and Tools:
4725
4726 AcpiExec: Improved the algorithm used for memory leak/corruption 
4727 detection. Added some intelligence to the code that maintains the global 
4728 list of allocated memory. The list is now ordered by allocated memory 
4729 address, significantly improving performance. When running AcpiExec on 
4730 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
4731 on the platform and/or the environment. Note, this performance 
4732 enhancement affects the AcpiExec utility only, not the kernel-resident 
4733 ACPICA code.
4734
4735 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
4736 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
4737 incorrect table offset reported for invalid opcodes. Report the original 
4738 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
4739
4740 Disassembler: Enhanced the -vt option to emit the binary table data in 
4741 hex format to assist with debugging.
4742
4743 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
4744 size of file structure. Colin Ian King.
4745
4746 ----------------------------------------
4747 13 September 2012. Summary of changes for version 20120913:
4748
4749
4750 1) ACPICA Kernel-resident Subsystem:
4751
4752 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
4753 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
4754 and 
4755 MCE(6).
4756  
4757 Table Manager: Merged/removed duplicate code in the root table resize 
4758 functions. One function is external, the other is internal. Lv Zheng, 
4759 ACPICA 
4760 BZ 846.
4761
4762 Makefiles: Completely removed the obsolete "Linux" makefiles under 
4763 acpica/generate/linux. These makefiles are obsolete and have been 
4764 replaced 
4765 by 
4766 the generic unix makefiles under acpica/generate/unix.
4767
4768 Makefiles: Ensure that binary files always copied properly. Minor rule 
4769 change 
4770 to ensure that the final binary output files are always copied up to the 
4771 appropriate binary directory (bin32 or bin64.)
4772
4773 Example Code and Data Size: These are the sizes for the OS-independent 
4774 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4775 debug 
4776 version of the code includes the debug output trace mechanism and has a 
4777 much 
4778 larger code and data size.
4779
4780   Previous Release:
4781     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4782     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4783   Current Release:
4784     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4785     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4786
4787
4788 2) iASL Compiler/Disassembler and Tools:
4789
4790 Disassembler: Fixed a possible fault during the disassembly of resource 
4791 descriptors when a second parse is required because of the invocation of 
4792 external control methods within the table. With assistance from 
4793 adq@lidskialf.net. ACPICA BZ 976.
4794
4795 iASL: Fixed a namepath optimization problem. An error can occur if the 
4796 parse 
4797 node that contains the namepath to be optimized does not have a parent 
4798 node 
4799 that is a named object. This change fixes the problem.
4800
4801 iASL: Fixed a regression where the AML file is not deleted on errors. The 
4802 AML 
4803 output file should be deleted if there are any errors during the 
4804 compiler. 
4805 The 
4806 only exception is if the -f (force output) option is used. ACPICA BZ 974.
4807
4808 iASL: Added a feature to automatically increase internal line buffer 
4809 sizes. 
4810 Via realloc(), automatically increase the internal line buffer sizes as 
4811 necessary to support very long source code lines. The current version of 
4812 the 
4813 preprocessor requires a buffer long enough to contain full source code 
4814 lines. 
4815 This change increases the line buffer(s) if the input lines go beyond the 
4816 current buffer size. This eliminates errors that occurred when a source 
4817 code 
4818 line was longer than the buffer.
4819
4820 iASL: Fixed a problem with constant folding in method declarations. The 
4821 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
4822 if a 
4823 Type3 opcode was used.
4824
4825 Debugger: Improved command help support. For incorrect argument count, 
4826 display 
4827 full help for the command. For help command itself, allow an argument to 
4828 specify a command.
4829
4830 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
4831 errors during execution of the suite. Guan Chao.
4832
4833 ----------------------------------------
4834 16 August 2012. Summary of changes for version 20120816:
4835
4836
4837 1) ACPICA Kernel-resident Subsystem:
4838
4839 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
4840 _GTS 
4841 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
4842 deprecated and will probably be removed from the ACPI specification. 
4843 Windows 
4844 does not invoke them, and reportedly never will. The final nail in the 
4845 coffin 
4846 is that the ACPI specification states that these methods must be run with 
4847 interrupts off, which is not going to happen in a kernel interpreter. 
4848 Note: 
4849 Linux has removed all use of the methods also. It was discovered that 
4850 invoking these functions caused failures on some machines, probably 
4851 because 
4852 they were never tested since Windows does not call them. Affects two 
4853 external 
4854 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
4855 ACPICA BZ 969.
4856
4857 Implemented support for complex bit-packed buffers returned from the _PLD 
4858 (Physical Location of Device) predefined method. Adds a new external 
4859 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
4860
4861 structure. Note: C Bitfields cannot be used for this type of predefined 
4862 structure since the memory layout of individual bitfields is not defined 
4863 by 
4864 the C language. In addition, there are endian concerns where a compiler 
4865 will 
4866 change the bitfield ordering based on the machine type. The new ACPICA 
4867 interface eliminates these issues, and should be called after _PLD is 
4868 executed. ACPICA BZ 954.
4869
4870 Implemented a change to allow a scope change to root (via "Scope (\)") 
4871 during 
4872 execution of module-level ASL code (code that is executed at table load 
4873 time.) Lin Ming.
4874
4875 Added the Windows8/Server2012 string for the _OSI method. This change 
4876 adds 
4877
4878 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
4879 2012.
4880
4881 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
4882 2) 
4883 and CSRT (Core System Resource Table).
4884
4885 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
4886 names. This simplifies access to the buffers returned by these predefined 
4887 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4888
4889 GPE support: Removed an extraneous parameter from the various low-level 
4890 internal GPE functions. Tang Feng.
4891
4892 Removed the linux makefiles from the unix packages. The generate/linux 
4893 makefiles are obsolete and have been removed from the unix tarball 
4894 release 
4895 packages. The replacement makefiles are under generate/unix, and there is 
4896
4897 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4898
4899 Updates for Unix makefiles:
4900 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
4901 2) Update linker flags (move to end of command line) for AcpiExec 
4902 utility. 
4903 Guan Chao.
4904
4905 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
4906 utxface.c to improve modularity and reduce file size.
4907
4908 Example Code and Data Size: These are the sizes for the OS-independent 
4909 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4910 debug version of the code includes the debug output trace mechanism and 
4911 has a 
4912 much larger code and data size.
4913
4914   Previous Release:
4915     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4916     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4917   Current Release:
4918     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4919     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4920
4921
4922 2) iASL Compiler/Disassembler and Tools:
4923
4924 iASL: Fixed a problem with constant folding for fixed-length constant 
4925 expressions. The constant-folding code was not being invoked for constant 
4926 expressions that allow the use of type 3/4/5 opcodes to generate 
4927 constants 
4928 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
4929 result 
4930 in the generation of invalid AML bytecode. ACPICA BZ 970.
4931
4932 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
4933 apparently automatically emit some of the necessary externals. This 
4934 change 
4935 handles these versions in order to eliminate generation warnings.
4936
4937 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
4938
4939 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
4940 appears 
4941 within comments in the output file.
4942
4943 Debugger: Fixed a regression with the "Threads" command where 
4944 AE_BAD_PARAMETER was always returned.
4945
4946 ----------------------------------------
4947 11 July 2012. Summary of changes for version 20120711:
4948
4949 1) ACPICA Kernel-resident Subsystem:
4950
4951 Fixed a possible fault in the return package object repair code. Fixes a 
4952 problem that can occur when a lone package object is wrapped with an 
4953 outer 
4954 package object in order to force conformance to the ACPI specification. 
4955 Can 
4956 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
4957 _DLM, 
4958 _CSD, _PSD, _TSD.
4959
4960 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
4961 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
4962 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
4963 state 
4964 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
4965 both 
4966 Intel and other vendors. (for Intel: ICH4-M and earlier)
4967
4968 This change removes the code to disable/enable bus master arbitration 
4969 during 
4970 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
4971 causes 
4972 resume problems on some machines. The change has been in use for over 
4973 seven 
4974 years within Linux.
4975
4976 Implemented two new external interfaces to support host-directed dynamic 
4977 ACPI 
4978 table load and unload. They are intended to simplify the host 
4979 implementation 
4980 of hot-plug support:
4981   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
4982   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
4983 table.
4984 See the ACPICA reference for additional details. Adds one new file, 
4985 components/tables/tbxfload.c
4986
4987 Implemented and deployed two new interfaces for errors and warnings that 
4988 are 
4989 known to be caused by BIOS/firmware issues:
4990   AcpiBiosError: Prints "ACPI Firmware Error" message.
4991   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
4992 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
4993 table 
4994 and FADT errors. Additional deployment to be completed as appropriate in 
4995 the 
4996 future. The associated conditional macros are ACPI_BIOS_ERROR and 
4997 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
4998 ACPICA 
4999 BZ 
5000 843.
5001
5002 Implicit notify support: ensure that no memory allocation occurs within a 
5003 critical region. This fix moves a memory allocation outside of the time 
5004 that a 
5005 spinlock is held. Fixes issues on systems that do not allow this 
5006 behavior. 
5007 Jung-uk Kim.
5008
5009 Split exception code utilities and tables into a new file, 
5010 utilities/utexcep.c
5011
5012 Example Code and Data Size: These are the sizes for the OS-independent 
5013 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5014 debug 
5015 version of the code includes the debug output trace mechanism and has a 
5016 much 
5017 larger code and data size.
5018
5019   Previous Release:
5020     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
5021     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
5022   Current Release:
5023     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
5024     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
5025
5026
5027 2) iASL Compiler/Disassembler and Tools:
5028
5029 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
5030 of 
5031 0. Jung-uk Kim.
5032
5033 Debugger: Enhanced the "tables" command to emit additional information 
5034 about 
5035 the current set of ACPI tables, including the owner ID and flags decode.
5036
5037 Debugger: Reimplemented the "unload" command to use the new 
5038 AcpiUnloadParentTable external interface. This command was disable 
5039 previously 
5040 due to need for an unload interface.
5041
5042 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
5043 option 
5044 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
5045
5046 ----------------------------------------
5047 20 June 2012. Summary of changes for version 20120620:
5048
5049
5050 1) ACPICA Kernel-resident Subsystem:
5051
5052 Implemented support to expand the "implicit notify" feature to allow 
5053 multiple 
5054 devices to be notified by a single GPE. This feature automatically 
5055 generates a 
5056 runtime device notification in the absence of a BIOS-provided GPE control 
5057 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
5058 notify is 
5059 provided by ACPICA for Windows compatibility, and is a workaround for 
5060 BIOS 
5061 AML 
5062 code errors. See the description of the AcpiSetupGpeForWake interface in 
5063 the 
5064 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
5065
5066 Changed some comments and internal function names to simplify and ensure 
5067 correctness of the Linux code translation. No functional changes.
5068
5069 Example Code and Data Size: These are the sizes for the OS-independent 
5070 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5071 debug 
5072 version of the code includes the debug output trace mechanism and has a 
5073 much 
5074 larger code and data size.
5075
5076   Previous Release:
5077     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
5078     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
5079   Current Release:
5080     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
5081     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
5082
5083
5084 2) iASL Compiler/Disassembler and Tools:
5085
5086 Disassembler: Added support to emit short, commented descriptions for the 
5087 ACPI 
5088 predefined names in order to improve the readability of the disassembled 
5089 output. ACPICA BZ 959. Changes include:
5090   1) Emit descriptions for all standard predefined names (_INI, _STA, 
5091 _PRW, 
5092 etc.)
5093   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
5094   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
5095 etc.)
5096
5097 AcpiSrc: Fixed several long-standing Linux code translation issues. 
5098 Argument 
5099 descriptions in function headers are now translated properly to lower 
5100 case 
5101 and 
5102 underscores. ACPICA BZ 961. Also fixes translation problems such as 
5103 these: 
5104 (old -> new)
5105   i_aSL -> iASL
5106   00-7_f -> 00-7F
5107   16_k -> 16K
5108   local_fADT -> local_FADT
5109   execute_oSI -> execute_OSI
5110
5111 iASL: Fixed a problem where null bytes were inadvertently emitted into 
5112 some 
5113 listing files.
5114
5115 iASL: Added the existing debug options to the standard help screen. There 
5116 are 
5117 no longer two different help screens. ACPICA BZ 957.
5118
5119 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
5120 Also 
5121 expand some of the descriptions where appropriate.
5122
5123 iASL: Fixed the -ot option (display compile times/statistics). Was not 
5124 working 
5125 properly for standard output; only worked for the debug file case.
5126
5127 ----------------------------------------
5128 18 May 2012. Summary of changes for version 20120518:
5129
5130
5131 1) ACPICA Core Subsystem:
5132
5133 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
5134 defined 
5135 to block until asynchronous events such as notifies and GPEs have 
5136 completed. 
5137 Within ACPICA, it is only called before a notify or GPE handler is 
5138 removed/uninstalled. It also may be useful for the host OS within related 
5139 drivers such as the Embedded Controller driver. See the ACPICA reference 
5140 for 
5141 additional information. ACPICA BZ 868.
5142
5143 ACPI Tables: Added a new error message for a possible overflow failure 
5144 during 
5145 the conversion of FADT 32-bit legacy register addresses to internal 
5146 common 
5147 64-
5148 bit GAS structure representation. The GAS has a one-byte "bit length" 
5149 field, 
5150 thus limiting the register length to 255 bits. ACPICA BZ 953.
5151
5152 Example Code and Data Size: These are the sizes for the OS-independent 
5153 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5154 debug 
5155 version of the code includes the debug output trace mechanism and has a 
5156 much 
5157 larger code and data size.
5158
5159   Previous Release:
5160     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5161     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5162   Current 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
5166
5167 2) iASL Compiler/Disassembler and Tools:
5168
5169 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
5170 macro. 
5171 This keyword was added late in the ACPI 5.0 release cycle and was not 
5172 implemented until now.
5173
5174 Disassembler: Added support for Operation Region externals. Adds missing 
5175 support for operation regions that are defined in another table, and 
5176 referenced locally via a Field or BankField ASL operator. Now generates 
5177 the 
5178 correct External statement.
5179
5180 Disassembler: Several additional fixes for the External() statement 
5181 generation 
5182 related to some ASL operators. Also, order the External() statements 
5183 alphabetically in the disassembler output. Fixes the External() 
5184 generation 
5185 for 
5186 the Create* field, Alias, and Scope operators:
5187  1) Create* buffer field operators - fix type mismatch warning on 
5188 disassembly
5189  2) Alias - implement missing External support
5190  3) Scope - fix to make sure all necessary externals are emitted.
5191
5192 iASL: Improved pathname support. For include files, merge the prefix 
5193 pathname 
5194 with the file pathname and eliminate unnecessary components. Convert 
5195 backslashes in all pathnames to forward slashes, for readability. Include 
5196 file 
5197 pathname changes affect both #include and Include() type operators.
5198
5199 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
5200 end 
5201 of a valid line by inserting a newline and then returning the EOF during 
5202 the 
5203 next call to GetNextLine. Prevents the line from being ignored due to EOF 
5204 condition.
5205
5206 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
5207 Error 
5208 and Warning messages are now correctly recognized for both the source 
5209 code 
5210 browser and the global error and warning counts.
5211
5212 ----------------------------------------
5213 20 April 2012. Summary of changes for version 20120420:
5214
5215
5216 1) ACPICA Core Subsystem:
5217
5218 Implemented support for multiple notify handlers. This change adds 
5219 support 
5220 to 
5221 allow multiple system and device notify handlers on Device, Thermal Zone, 
5222 and 
5223 Processor objects. This can simplify the host OS notification 
5224 implementation. 
5225 Also re-worked and restructured the entire notify support code to 
5226 simplify 
5227 handler installation, handler removal, notify event queuing, and notify 
5228 dispatch to handler(s). Note: there can still only be two global notify 
5229 handlers - one for system notifies and one for device notifies. There are 
5230 no 
5231 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
5232 Moore, Rafael Wysocki.
5233
5234 Fixed a regression in the package repair code where the object reference 
5235 count was calculated incorrectly. Regression was introduced in the commit 
5236 "Support to add Package wrappers".
5237
5238 Fixed a couple possible memory leaks in the AML parser, in the error 
5239 recovery 
5240 path. Jesper Juhl, Lin Ming.
5241
5242 Example Code and Data Size: These are the sizes for the OS-independent 
5243 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5244 debug version of the code includes the debug output trace mechanism and 
5245 has a 
5246 much larger code and data size.
5247
5248   Previous Release:
5249     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5250     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5251   Current Release:
5252     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5253     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5254
5255
5256 2) iASL Compiler/Disassembler and Tools:
5257
5258 iASL: Fixed a problem with the resource descriptor support where the 
5259 length 
5260 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
5261 included in cumulative descriptor offset, resulting in incorrect values 
5262 for 
5263 resource tags within resource descriptors appearing after a 
5264 StartDependent* 
5265 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
5266
5267 iASL and Preprocessor: Implemented full support for the #line directive 
5268 to 
5269 correctly track original source file line numbers through the .i 
5270 preprocessor 
5271 output file - for error and warning messages.
5272
5273 iASL: Expand the allowable byte constants for address space IDs. 
5274 Previously, 
5275 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
5276 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
5277
5278 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
5279
5280 iASL: Add option to completely disable the preprocessor (-Pn).
5281
5282 iASL: Now emit all error/warning messages to standard error (stderr) by 
5283 default (instead of the previous stdout).
5284
5285 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
5286 Update 
5287 for resource descriptor offset fix above. Update/cleanup error output 
5288 routines. Enable and send iASL errors/warnings to an error logfile 
5289 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
5290 Fixed 
5291 several extraneous "unrecognized operator" messages.
5292
5293 ----------------------------------------
5294 20 March 2012. Summary of changes for version 20120320:
5295
5296
5297 1) ACPICA Core Subsystem:
5298
5299 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
5300 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
5301 apparently 
5302 does not execute these methods, and therefore these methods are often 
5303 untested. It has been seen on some systems where the execution of these 
5304 methods causes errors and also prevents the machine from entering S5. It 
5305 is 
5306 therefore suggested that host operating systems do not execute these 
5307 methods 
5308 by default. In the future, perhaps these methods can be optionally 
5309 executed 
5310 based on the age of the system and/or what is the newest version of 
5311 Windows 
5312 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
5313 and 
5314 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
5315 Ming.
5316
5317 Fixed a problem where the length of the local/common FADT was set too 
5318 early. 
5319 The local FADT table length cannot be set to the common length until the 
5320 original length has been examined. There is code that checks the table 
5321 length 
5322 and sets various fields appropriately. This can affect older machines 
5323 with 
5324 early FADT versions. For example, this can cause inadvertent writes to 
5325 the 
5326 CST_CNT register. Julian Anastasov.
5327
5328 Fixed a mapping issue related to a physical table override. Use the 
5329 deferred 
5330 mapping mechanism for tables loaded via the physical override OSL 
5331 interface. 
5332 This allows for early mapping before the virtual memory manager is 
5333 available. 
5334 Thomas Renninger, Bob Moore.
5335
5336 Enhanced the automatic return-object repair code: Repair a common problem 
5337 with 
5338 predefined methods that are defined to return a variable-length Package 
5339 of 
5340 sub-objects. If there is only one sub-object, some BIOS ASL code 
5341 mistakenly 
5342 simply returns the single object instead of a Package with one sub-
5343 object. 
5344 This new support will repair this error by wrapping a Package object 
5345 around 
5346 the original object, creating the correct and expected Package with one 
5347 sub-
5348 object. Names that can be repaired in this manner include: _ALR, _CSD, 
5349 _HPX, 
5350 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
5351 939.
5352
5353 Changed the exception code returned for invalid ACPI paths passed as 
5354 parameters to external interfaces such as AcpiEvaluateObject. Was 
5355 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
5356
5357 Example Code and Data Size: These are the sizes for the OS-independent 
5358 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5359 debug 
5360 version of the code includes the debug output trace mechanism and has a 
5361 much 
5362 larger code and data size.
5363
5364   Previous Release:
5365     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5366     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5367   Current Release:
5368     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5369     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5370
5371
5372 2) iASL Compiler/Disassembler and Tools:
5373
5374 iASL: Added the infrastructure and initial implementation of a integrated 
5375 C-
5376 like preprocessor. This will simplify BIOS development process by 
5377 eliminating 
5378 the need for a separate preprocessing step during builds. On Windows, it 
5379 also 
5380 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
5381 features including full #define() macro support are still under 
5382 development. 
5383 These preprocessor directives are supported:
5384     #define
5385     #elif
5386     #else
5387     #endif
5388     #error
5389     #if
5390     #ifdef
5391     #ifndef
5392     #include
5393     #pragma message
5394     #undef
5395     #warning
5396 In addition, these new command line options are supported:
5397     -D <symbol> Define symbol for preprocessor use
5398     -li         Create preprocessed output file (*.i)
5399     -P          Preprocess only and create preprocessor output file (*.i)
5400
5401 Table Compiler: Fixed a problem where the equals operator within an 
5402 expression 
5403 did not work properly.
5404
5405 Updated iASL to use the current versions of Bison/Flex. Updated the 
5406 Windows 
5407 project file to invoke these tools from the standard location. ACPICA BZ 
5408 904. 
5409 Versions supported:
5410     Flex for Windows:  V2.5.4
5411     Bison for Windows: V2.4.1
5412
5413 ----------------------------------------
5414 15 February 2012. Summary of changes for version 20120215:
5415
5416
5417 1) ACPICA Core Subsystem:
5418
5419 There have been some major changes to the sleep/wake support code, as 
5420 described below (a - e).
5421
5422 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
5423 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
5424 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
5425 the 
5426 time the _BFS method is called and the _WAK method is called. NOTE: all 
5427 hosts 
5428 must update their wake/resume code or else sleep/wake will not work 
5429 properly. 
5430 Rafael Wysocki.
5431
5432 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
5433 _WAK 
5434 method. Some machines require that the GPEs are enabled before the _WAK 
5435 method 
5436 is executed. Thomas Renninger.
5437
5438 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
5439 bit. 
5440 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
5441 to 
5442 determine whether the system is rebooting or resuming. Matthew Garrett.
5443
5444 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
5445 Sleep) to 
5446 match the ACPI specification requirement. Rafael Wysocki.
5447
5448 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
5449 registers within the V5 FADT. This support adds two new files: 
5450 hardware/hwesleep.c implements the support for the new registers. Moved 
5451 all 
5452 sleep/wake external interfaces to hardware/hwxfsleep.c.
5453
5454
5455 Added a new OSL interface for ACPI table overrides, 
5456 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
5457 table via a physical address, instead of the logical address required by 
5458 AcpiOsTableOverride. This simplifies the host implementation. Initial 
5459 implementation by Thomas Renninger. The ACPICA implementation creates a 
5460 single 
5461 shared function for table overrides that attempts both a logical and a 
5462 physical override.
5463
5464 Expanded the OSL memory read/write interfaces to 64-bit data 
5465 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
5466 transfer support for GAS register structures passed to AcpiRead and 
5467 AcpiWrite.
5468
5469 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
5470 custom 
5471 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
5472 model. 
5473 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
5474 about 
5475 10% of the code and 5% of the static data, and the following hardware 
5476 ACPI 
5477 features become unavailable:
5478     PM Event and Control registers
5479     SCI interrupt (and handler)
5480     Fixed Events
5481     General Purpose Events (GPEs)
5482     Global Lock
5483     ACPI PM timer
5484     FACS table (Waking vectors and Global Lock)
5485
5486 Updated the unix tarball directory structure to match the ACPICA git 
5487 source 
5488 tree. This ensures that the generic unix makefiles work properly (in 
5489 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
5490 867.
5491
5492 Updated the return value of the _REV predefined method to integer value 5 
5493 to 
5494 reflect ACPI 5.0 support.
5495
5496 Moved the external ACPI PM timer interface prototypes to the public 
5497 acpixf.h 
5498 file where they belong.
5499
5500 Example Code and Data Size: These are the sizes for the OS-independent 
5501 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5502 debug 
5503 version of the code includes the debug output trace mechanism and has a 
5504 much 
5505 larger code and data size.
5506
5507   Previous Release:
5508     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5509     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5510   Current Release:
5511     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5512     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5513
5514
5515 2) iASL Compiler/Disassembler and Tools:
5516
5517 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
5518 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
5519 incorrectly displayed.
5520
5521 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
5522 specification.
5523
5524 ----------------------------------------
5525 11 January 2012. Summary of changes for version 20120111:
5526
5527
5528 1) ACPICA Core Subsystem:
5529
5530 Implemented a new mechanism to allow host device drivers to check for 
5531 address 
5532 range conflicts with ACPI Operation Regions. Both SystemMemory and 
5533 SystemIO 
5534 address spaces are supported. A new external interface, 
5535 AcpiCheckAddressRange, 
5536 allows drivers to check an address range against the ACPI namespace. See 
5537 the 
5538 ACPICA reference for additional details. Adds one new file, 
5539 utilities/utaddress.c. Lin Ming, Bob Moore.
5540
5541 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
5542 Control 
5543 and 
5544 Status registers, update the ACPI 5.0 flags, and update internal data 
5545 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
5546 5.0 
5547 FADT is 268 bytes.
5548
5549 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
5550 copyright to 
5551 all module headers and signons, including the standard Linux header. This 
5552 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
5553 and 
5554 all ACPICA utilities.
5555
5556 Example Code and Data Size: These are the sizes for the OS-independent 
5557 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5558 debug 
5559 version of the code includes the debug output trace mechanism and has a 
5560 much 
5561 larger code and data size.
5562
5563   Previous Release:
5564     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5565     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5566   Current Release:
5567     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5568     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5569
5570
5571 2) iASL Compiler/Disassembler and Tools:
5572
5573 Disassembler: fixed a problem with the automatic resource tag generation 
5574 support. Fixes a problem where the resource tags are inadvertently not 
5575 constructed if the table being disassembled contains external references 
5576 to 
5577 control methods. Moved the actual construction of the tags to after the 
5578 final 
5579 namespace is constructed (after 2nd parse is invoked due to external 
5580 control 
5581 method references.) ACPICA BZ 941.
5582
5583 Table Compiler: Make all "generic" operators caseless. These are the 
5584 operators 
5585 like UINT8, String, etc. Making these caseless improves ease-of-use. 
5586 ACPICA BZ 
5587 934.
5588
5589 ----------------------------------------
5590 23 November 2011. Summary of changes for version 20111123:
5591
5592 0) ACPI 5.0 Support:
5593
5594 This release contains full support for the ACPI 5.0 specification, as 
5595 summarized below.
5596
5597 Reduced Hardware Support:
5598 -------------------------
5599
5600 This support allows for ACPI systems without the usual ACPI hardware. 
5601 This 
5602 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
5603 will 
5604 not attempt to initialize or use any of the usual ACPI hardware. Note, 
5605 when 
5606 this flag is set, all of the following ACPI hardware is assumed to be not 
5607 present and is not initialized or accessed:
5608
5609     General Purpose Events (GPEs)
5610     Fixed Events (PM1a/PM1b and PM Control)
5611     Power Management Timer and Console Buttons (power/sleep)
5612     Real-time Clock Alarm
5613     Global Lock
5614     System Control Interrupt (SCI)
5615     The FACS is assumed to be non-existent
5616
5617 ACPI Tables:
5618 ------------
5619
5620 All new tables and updates to existing tables are fully supported in the 
5621 ACPICA headers (for use by device drivers), the disassembler, and the 
5622 iASL 
5623 Data Table Compiler. ACPI 5.0 defines these new tables:
5624
5625     BGRT        /* Boot Graphics Resource Table */
5626     DRTM        /* Dynamic Root of Trust for Measurement table */
5627     FPDT        /* Firmware Performance Data Table */
5628     GTDT        /* Generic Timer Description Table */
5629     MPST        /* Memory Power State Table */
5630     PCCT        /* Platform Communications Channel Table */
5631     PMTT        /* Platform Memory Topology Table */
5632     RASF        /* RAS Feature table */
5633
5634 Operation Regions/SpaceIDs:
5635 ---------------------------
5636
5637 All new operation regions are fully supported by the iASL compiler, the 
5638 disassembler, and the ACPICA runtime code (for dispatch to region 
5639 handlers.) 
5640 The new operation region Space IDs are:
5641
5642     GeneralPurposeIo
5643     GenericSerialBus
5644
5645 Resource Descriptors:
5646 ---------------------
5647
5648 All new ASL resource descriptors are fully supported by the iASL 
5649 compiler, 
5650 the 
5651 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
5652 (including 
5653 all new predefined resource tags). New descriptors are:
5654
5655     FixedDma
5656     GpioIo
5657     GpioInt
5658     I2cSerialBus
5659     SpiSerialBus
5660     UartSerialBus
5661
5662 ASL/AML Operators, New and Modified:
5663 ------------------------------------
5664
5665 One new operator is added, the Connection operator, which is used to 
5666 associate 
5667 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
5668 individual 
5669 field objects within an operation region. Several new protocols are 
5670 associated 
5671 with the AccessAs operator. All are fully supported by the iASL compiler, 
5672 disassembler, and runtime ACPICA AML interpreter:
5673
5674     Connection                      // Declare Field Connection 
5675 attributes
5676     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
5677     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
5678 Protocol
5679     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
5680     RawDataBuffer                       // Data type for Vendor Data 
5681 fields
5682
5683 Predefined ASL/AML Objects:
5684 ---------------------------
5685
5686 All new predefined objects/control-methods are supported by the iASL 
5687 compiler 
5688 and the ACPICA runtime validation/repair (arguments and return values.) 
5689 New 
5690 predefined names include the following:
5691
5692 Standard Predefined Names (Objects or Control Methods):
5693     _AEI, _CLS, _CPC, _CWS, _DEP,
5694     _DLM, _EVT, _GCP, _CRT, _GWS,
5695     _HRV, _PRE, _PSE, _SRT, _SUB.
5696
5697 Resource Tags (Names used to access individual fields within resource 
5698 descriptors):
5699     _DBT, _DPL, _DRS, _END, _FLC,
5700     _IOR, _LIN, _MOD, _PAR, _PHA,
5701     _PIN, _PPI, _POL, _RXL, _SLV,
5702     _SPE, _STB, _TXL, _VEN.
5703
5704 ACPICA External Interfaces:
5705 ---------------------------
5706
5707 Several new interfaces have been defined for use by ACPI-related device 
5708 drivers and other host OS services:
5709
5710 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
5711 to 
5712 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
5713 provided by the BIOS. They are intended to be used in conjunction with 
5714 the 
5715 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
5716 mutual exclusion with the AML code/interpreter.
5717
5718 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
5719 defined 
5720 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
5721 provides 
5722 resource descriptors associated with hardware-reduced platform events, 
5723 similar 
5724 to the AcpiGetCurrentResources interface.
5725
5726 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
5727 operation regions, information about the Connection() object and any 
5728 optional 
5729 length information is passed to the region handler within the Context 
5730 parameter.
5731
5732 AcpiBufferToResource: This interface converts a raw AML buffer containing 
5733
5734 resource template or resource descriptor to the ACPI_RESOURCE internal 
5735 format 
5736 suitable for use by device drivers. Can be used by an operation region 
5737 handler 
5738 to convert the Connection() buffer object into a ACPI_RESOURCE.
5739
5740 Miscellaneous/Tools/TestSuites: 
5741 -------------------------------
5742
5743 Support for extended _HID names (Four alpha characters instead of three).
5744 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
5745 Support for ACPI 5.0 features in the ASLTS test suite.
5746 Fully updated documentation (ACPICA and iASL reference documents.)
5747
5748 ACPI Table Definition Language:
5749 -------------------------------
5750
5751 Support for this language was implemented and released as a subsystem of 
5752 the 
5753 iASL compiler in 2010. (See the iASL compiler User Guide.)
5754
5755
5756 Non-ACPI 5.0 changes for this release:
5757 --------------------------------------
5758
5759 1) ACPICA Core Subsystem:
5760
5761 Fix a problem with operation region declarations where a failure can 
5762 occur 
5763 if 
5764 the region name and an argument that evaluates to an object (such as the 
5765 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
5766 937.
5767
5768 Do not abort an ACPI table load if an invalid space ID is found within. 
5769 This 
5770 will be caught later if the offending method is executed. ACPICA BZ 925.
5771
5772 Fixed an issue with the FFixedHW space ID where the ID was not always 
5773 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
5774
5775 Fixed a problem with the 32-bit generation of the unix-specific OSL 
5776 (osunixxf.c). Lin Ming, ACPICA BZ 936.
5777
5778 Several changes made to enable generation with the GCC 4.6 compiler. 
5779 ACPICA BZ 
5780 935.
5781
5782 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
5783 Index/Bank 
5784 field registers out-of-range.
5785
5786 2) iASL Compiler/Disassembler and Tools:
5787
5788 iASL: Implemented the __PATH__ operator, which returns the full pathname 
5789 of 
5790 the current source file.
5791
5792 AcpiHelp: Automatically display expanded keyword information for all ASL 
5793 operators.
5794
5795 Debugger: Add "Template" command to disassemble/dump resource template 
5796 buffers.
5797
5798 Added a new master script to generate and execute the ASLTS test suite. 
5799 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
5800
5801 iASL: Fix problem with listing generation during processing of the 
5802 Switch() 
5803 operator where AML listing was disabled until the entire Switch block was 
5804 completed.
5805
5806 iASL: Improve support for semicolon statement terminators. Fix "invalid 
5807 character" message for some cases when the semicolon is used. Semicolons 
5808 are 
5809 now allowed after every <Term> grammar element. ACPICA BZ 927.
5810
5811 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
5812 923.
5813
5814 Disassembler: Fix problem with disassembly of the DataTableRegion 
5815 operator 
5816 where an inadvertent "Unhandled deferred opcode" message could be 
5817 generated.
5818
5819 3) Example Code and Data Size
5820
5821 These are the sizes for the OS-independent acpica.lib produced by the 
5822 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5823 includes the debug output trace mechanism and has a much larger code and 
5824 data 
5825 size.
5826
5827   Previous Release:
5828     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5829     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5830   Current Release:
5831     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5832     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5833
5834 ----------------------------------------
5835 22 September 2011. Summary of changes for version 20110922:
5836
5837 0) ACPI 5.0 News:
5838
5839 Support for ACPI 5.0 in ACPICA has been underway for several months and 
5840 will 
5841 be released at the same time that ACPI 5.0 is officially released.
5842
5843 The ACPI 5.0 specification is on track for release in the next few 
5844 months.
5845  
5846 1) ACPICA Core Subsystem:
5847
5848 Fixed a problem where the maximum sleep time for the Sleep() operator was 
5849 intended to be limited to two seconds, but was inadvertently limited to 
5850 20 
5851 seconds instead.
5852
5853 Linux and Unix makefiles: Added header file dependencies to ensure 
5854 correct 
5855 generation of ACPICA core code and utilities. Also simplified the 
5856 makefiles 
5857 considerably through the use of the vpath variable to specify search 
5858 paths. 
5859 ACPICA BZ 924.
5860
5861 2) iASL Compiler/Disassembler and Tools:
5862
5863 iASL: Implemented support to check the access length for all fields 
5864 created to 
5865 access named Resource Descriptor fields. For example, if a resource field 
5866 is 
5867 defined to be two bits, a warning is issued if a CreateXxxxField() is 
5868 used 
5869 with an incorrect bit length. This is implemented for all current 
5870 resource 
5871 descriptor names. ACPICA BZ 930.
5872   
5873 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
5874 56-
5875 bit integers.
5876
5877 iASL: Fixed a couple of issues associated with variable-length package 
5878 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
5879
5880 VAR_PACKAGE when these are used as a package length. 2) Allow the 
5881 VAR_PACKAGE 
5882 opcode (in addition to PACKAGE) when validating object types for 
5883 predefined 
5884 names.
5885
5886 iASL: Emit statistics for all output files (instead of just the ASL input 
5887 and 
5888 AML output). Includes listings, hex files, etc.
5889
5890 iASL: Added -G option to the table compiler to allow the compilation of 
5891 custom 
5892 ACPI tables. The only part of a table that is required is the standard 
5893 36-
5894 byte 
5895 ACPI header.
5896
5897 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
5898 headers), 
5899 which also adds correct 64-bit support. Also, now all output filenames 
5900 are 
5901 completely lower case.
5902
5903 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
5904 loading table files. A warning is issued for any such tables. The only 
5905 exception is an FADT. This also fixes a possible fault when attempting to 
5906 load 
5907 non-AML tables. ACPICA BZ 932.
5908
5909 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
5910
5911 missing table terminator could cause a fault when using the -p option.
5912
5913 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
5914 statistics.
5915
5916 3) Example Code and Data Size
5917
5918 These are the sizes for the OS-independent acpica.lib produced by the 
5919 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5920 includes the debug output trace mechanism and has a much larger code and 
5921 data 
5922 size.
5923
5924   Previous Release (VC 9.0):
5925     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5926     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5927   Current Release (VC 9.0):
5928     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5929     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5930
5931
5932 ----------------------------------------
5933 23 June 2011. Summary of changes for version 20110623:
5934
5935 1) ACPI CA Core Subsystem:
5936
5937 Updated the predefined name repair mechanism to not attempt repair of a 
5938 _TSS 
5939 return object if a _PSS object is present. We can only sort the _TSS 
5940 return 
5941 package if there is no _PSS within the same scope. This is because if 
5942 _PSS 
5943 is 
5944 present, the ACPI specification dictates that the _TSS Power Dissipation 
5945 field 
5946 is to be ignored, and therefore some BIOSs leave garbage values in the 
5947 _TSS 
5948 Power field(s). In this case, it is best to just return the _TSS package 
5949 as-
5950 is. Reported by, and fixed with assistance from Fenghua Yu.
5951
5952 Added an option to globally disable the control method return value 
5953 validation 
5954 and repair. This runtime option can be used to disable return value 
5955 repair 
5956 if 
5957 this is causing a problem on a particular machine. Also added an option 
5958 to 
5959 AcpiExec (-dr) to set this disable flag.
5960
5961 All makefiles and project files: Major changes to improve generation of 
5962 ACPICA 
5963 tools. ACPICA BZ 912:
5964     Reduce default optimization levels to improve compatibility
5965     For Linux, add strict-aliasing=0 for gcc 4
5966     Cleanup and simplify use of command line defines
5967     Cleanup multithread library support
5968     Improve usage messages
5969
5970 Linux-specific header: update handling of THREAD_ID and pthread. For the 
5971 32-
5972 bit case, improve casting to eliminate possible warnings, especially with 
5973 the 
5974 acpica tools.
5975
5976 Example Code and Data Size: These are the sizes for the OS-independent 
5977 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5978 debug 
5979 version of the code includes the debug output trace mechanism and has a 
5980 much 
5981 larger code and data size.
5982
5983   Previous Release (VC 9.0):
5984     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5985     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5986   Current Release (VC 9.0):
5987     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5988     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5989
5990 2) iASL Compiler/Disassembler and Tools:
5991
5992 With this release, a new utility named "acpihelp" has been added to the 
5993 ACPICA 
5994 package. This utility summarizes the ACPI specification chapters for the 
5995 ASL 
5996 and AML languages. It generates under Linux/Unix as well as Windows, and 
5997 provides the following functionality:
5998     Find/display ASL operator(s) -- with description and syntax.
5999     Find/display ASL keyword(s) -- with exact spelling and descriptions.
6000     Find/display ACPI predefined name(s) -- with description, number
6001         of arguments, and the return value data type.
6002     Find/display AML opcode name(s) -- with opcode, arguments, and 
6003 grammar.
6004     Decode/display AML opcode -- with opcode name, arguments, and 
6005 grammar.
6006
6007 Service Layers: Make multi-thread support configurable. Conditionally 
6008 compile 
6009 the multi-thread support so that threading libraries will not be linked 
6010 if 
6011 not 
6012 necessary. The only tool that requires multi-thread support is AcpiExec.
6013
6014 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
6015 of 
6016 Bison appear to want the interface to yyerror to be a const char * (or at 
6017 least this is a problem when generating iASL on some systems.) ACPICA BZ 
6018 923 
6019 Pierre Lejeune.
6020
6021 Tools: Fix for systems where O_BINARY is not defined. Only used for 
6022 Windows 
6023 versions of the tools.
6024
6025 ----------------------------------------
6026 27 May 2011. Summary of changes for version 20110527:
6027
6028 1) ACPI CA Core Subsystem:
6029
6030 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
6031 table 
6032 signature. Now, only allow SSDT, OEMx, and a null signature. History:
6033     1) Originally, we checked the table signature for "SSDT" or "PSDT".
6034        (PSDT is now obsolete.)
6035     2) We added support for OEMx tables, signature "OEM" plus a fourth
6036        "don't care" character.
6037     3) Valid tables were encountered with a null signature, so we just
6038        gave up on validating the signature, (05/2008).
6039     4) We encountered non-AML tables such as the MADT, which caused
6040        interpreter errors and kernel faults. So now, we once again allow
6041        only SSDT, OEMx, and now, also a null signature. (05/2011).
6042
6043 Added the missing _TDL predefined name to the global name list in order 
6044 to 
6045 enable validation. Affects both the core ACPICA code and the iASL 
6046 compiler.
6047
6048 Example Code and Data Size: These are the sizes for the OS-independent 
6049 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6050 debug 
6051 version of the code includes the debug output trace mechanism and has a 
6052 much 
6053 larger code and data size.
6054
6055   Previous Release (VC 9.0):
6056     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6057     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6058   Current Release (VC 9.0):
6059     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
6060     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6061
6062 2) iASL Compiler/Disassembler and Tools:
6063
6064 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
6065 the 
6066 debugger command line. This adds support beyond simple integers -- 
6067 including 
6068 Strings, Buffers, and Packages. Includes support for nested packages. 
6069 Increased the default command line buffer size to accommodate these 
6070 arguments. 
6071 See the ACPICA reference for details and syntax. ACPICA BZ 917.
6072  
6073 Debugger/AcpiExec: Implemented support for "default" method arguments for 
6074 the 
6075 Execute/Debug command. Now, the debugger will always invoke a control 
6076 method 
6077 with the required number of arguments -- even if the command line 
6078 specifies 
6079 none or insufficient arguments. It uses default integer values for any 
6080 missing 
6081 arguments. Also fixes a bug where only six method arguments maximum were 
6082 supported instead of the required seven.
6083
6084 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
6085 and 
6086 also return status in order to prevent buffer overruns. See the ACPICA 
6087 reference for details and syntax. ACPICA BZ 921
6088
6089 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
6090 makefiles to simplify support for the two different but similar parser 
6091 generators, bison and yacc.
6092
6093 Updated the generic unix makefile for gcc 4. The default gcc version is 
6094 now 
6095 expected to be 4 or greater, since options specific to gcc 4 are used.
6096
6097 ----------------------------------------
6098 13 April 2011. Summary of changes for version 20110413:
6099
6100 1) ACPI CA Core Subsystem:
6101
6102 Implemented support to execute a so-called "orphan" _REG method under the 
6103 EC 
6104 device. This change will force the execution of a _REG method underneath 
6105 the 
6106 EC 
6107 device even if there is no corresponding operation region of type 
6108 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
6109 compatible with Windows behavior. ACPICA BZ 875.
6110
6111 Added more predefined methods that are eligible for automatic NULL 
6112 package 
6113 element removal. This change adds another group of predefined names to 
6114 the 
6115 list 
6116 of names that can be repaired by having NULL package elements dynamically 
6117 removed. This group are those methods that return a single variable-
6118 length 
6119 package containing simple data types such as integers, buffers, strings. 
6120 This 
6121 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
6122 _PSL, 
6123 _Sx, 
6124 and _TZD. ACPICA BZ 914.
6125
6126 Split and segregated all internal global lock functions to a new file, 
6127 evglock.c.
6128
6129 Updated internal address SpaceID for DataTable regions. Moved this 
6130 internal 
6131 space 
6132 id in preparation for ACPI 5.0 changes that will include some new space 
6133 IDs. 
6134 This 
6135 change should not affect user/host code.
6136
6137 Example Code and Data Size: These are the sizes for the OS-independent 
6138 acpica.lib 
6139 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
6140 version of 
6141 the code includes the debug output trace mechanism and has a much larger 
6142 code 
6143 and 
6144 data size.
6145
6146   Previous Release (VC 9.0):
6147     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6148     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6149   Current Release (VC 9.0):
6150     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6151     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6152
6153 2) iASL Compiler/Disassembler and Tools:
6154
6155 iASL/DTC: Major update for new grammar features. Allow generic data types 
6156 in 
6157 custom ACPI tables. Field names are now optional. Any line can be split 
6158 to 
6159 multiple lines using the continuation char (\). Large buffers now use 
6160 line-
6161 continuation character(s) and no colon on the continuation lines. See the 
6162 grammar 
6163 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
6164 Moore.
6165
6166 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
6167 statements. 
6168 Since the parser stuffs a "zero" as the return value for these statements 
6169 (due 
6170 to 
6171 the underlying AML grammar), they were seen as "return with value" by the 
6172 iASL 
6173 semantic checking. They are now seen correctly as "null" return 
6174 statements.
6175
6176 iASL: Check if a_REG declaration has a corresponding Operation Region. 
6177 Adds a 
6178 check for each _REG to ensure that there is in fact a corresponding 
6179 operation 
6180 region declaration in the same scope. If not, the _REG method is not very 
6181 useful 
6182 since it probably won't be executed. ACPICA BZ 915.
6183
6184 iASL/DTC: Finish support for expression evaluation. Added a new 
6185 expression 
6186 parser 
6187 that implements c-style operator precedence and parenthesization. ACPICA 
6188 bugzilla 
6189 908.
6190
6191 Disassembler/DTC: Remove support for () and <> style comments in data 
6192 tables. 
6193 Now 
6194 that DTC has full expression support, we don't want to have comment 
6195 strings 
6196 that 
6197 start with a parentheses or a less-than symbol. Now, only the standard /* 
6198 and 
6199 // 
6200 comments are supported, as well as the bracket [] comments.
6201
6202 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
6203 "unusual" 
6204 headers in the acpidump file. Update the header validation to support 
6205 these 
6206 tables. Problem introduced in previous AcpiXtract version in the change 
6207 to 
6208 support "wrong checksum" error messages emitted by acpidump utility.
6209
6210 iASL: Add a * option to generate all template files (as a synonym for 
6211 ALL) 
6212 as 
6213 in 
6214 "iasl -T *" or "iasl -T ALL".
6215
6216 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
6217 completely 
6218 abort the compiler on "fatal" errors, simply should abort the current 
6219 compile. 
6220 This allows multiple compiles with a single (possibly wildcard) compiler 
6221 invocation.
6222
6223 ----------------------------------------
6224 16 March 2011. Summary of changes for version 20110316:
6225
6226 1) ACPI CA Core Subsystem:
6227
6228 Fixed a problem caused by a _PRW method appearing at the namespace root 
6229 scope 
6230 during the setup of wake GPEs. A fault could occur if a _PRW directly 
6231 under 
6232 the 
6233 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
6234
6235 Implemented support for "spurious" Global Lock interrupts. On some 
6236 systems, a 
6237 global lock interrupt can occur without the pending flag being set. Upon 
6238
6239 GL 
6240 interrupt, we now ensure that a thread is actually waiting for the lock 
6241 before 
6242 signaling GL availability. Rafael Wysocki, Bob Moore.
6243
6244 Example Code and Data Size: These are the sizes for the OS-independent 
6245 acpica.lib 
6246 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
6247 version of 
6248 the code includes the debug output trace mechanism and has a much larger 
6249 code 
6250 and 
6251 data size.
6252
6253   Previous Release (VC 9.0):
6254     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6255     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6256   Current Release (VC 9.0):
6257     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6258     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6259
6260 2) iASL Compiler/Disassembler and Tools:
6261
6262 Implemented full support for the "SLIC" ACPI table. Includes support in 
6263 the 
6264 header files, disassembler, table compiler, and template generator. Bob 
6265 Moore, 
6266 Lin Ming.
6267
6268 AcpiXtract: Correctly handle embedded comments and messages from 
6269 AcpiDump. 
6270 Apparently some or all versions of acpidump will occasionally emit a 
6271 comment 
6272 like 
6273 "Wrong checksum", etc., into the dump file. This was causing problems for 
6274 AcpiXtract. ACPICA BZ 905.
6275
6276 iASL: Fix the Linux makefile by removing an inadvertent double file 
6277 inclusion. 
6278 ACPICA BZ 913.
6279
6280 AcpiExec: Update installation of operation region handlers. Install one 
6281 handler 
6282 for a user-defined address space. This is used by the ASL test suite 
6283 (ASLTS).
6284
6285 ----------------------------------------
6286 11 February 2011. Summary of changes for version 20110211:
6287
6288 1) ACPI CA Core Subsystem:
6289
6290 Added a mechanism to defer _REG methods for some early-installed 
6291 handlers. 
6292 Most user handlers should be installed before call to 
6293 AcpiEnableSubsystem. 
6294 However, Event handlers and region handlers should be installed after 
6295 AcpiInitializeObjects. Override handlers for the "default" regions should 
6296 be 
6297 installed early, however. This change executes all _REG methods for the 
6298 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
6299 chicken/egg issues between them. ACPICA BZ 848.
6300
6301 Implemented an optimization for GPE detection. This optimization will 
6302 simply 
6303 ignore GPE registers that contain no enabled GPEs -- there is no need to 
6304 read the register since this information is available internally. This 
6305 becomes more important on machines with a large GPE space. ACPICA 
6306 bugzilla 
6307 884. Lin Ming. Suggestion from Joe Liu.
6308
6309 Removed all use of the highly unreliable FADT revision field. The 
6310 revision 
6311 number in the FADT has been found to be completely unreliable and cannot 
6312 be 
6313 trusted. Only the actual table length can be used to infer the version. 
6314 This 
6315 change updates the ACPICA core and the disassembler so that both no 
6316 longer 
6317 even look at the FADT version and instead depend solely upon the FADT 
6318 length.
6319
6320 Fix an unresolved name issue for the no-debug and no-error-message source 
6321 generation cases. The _AcpiModuleName was left undefined in these cases, 
6322 but 
6323 it is actually needed as a parameter to some interfaces. Define 
6324 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
6325
6326 Split several large files (makefiles and project files updated)
6327   utglobal.c   -> utdecode.c
6328   dbcomds.c    -> dbmethod.c dbnames.c
6329   dsopcode.c   -> dsargs.c dscontrol.c
6330   dsload.c     -> dsload2.c
6331   aslanalyze.c -> aslbtypes.c aslwalks.c
6332
6333 Example Code and Data Size: These are the sizes for the OS-independent 
6334 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6335 debug version of the code includes the debug output trace mechanism and 
6336 has 
6337 a much larger code and data size.
6338
6339   Previous Release (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.7K Code, 23.7K Data, 113.4K Total
6344     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6345
6346 2) iASL Compiler/Disassembler and Tools:
6347
6348 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
6349 These are useful C-style macros with the standard definitions. ACPICA 
6350 bugzilla 898.
6351
6352 iASL/DTC: Added support for integer expressions and labels. Support for 
6353 full 
6354 expressions for all integer fields in all ACPI tables. Support for labels 
6355 in 
6356 "generic" portions of tables such as UEFI. See the iASL reference manual.
6357
6358 Debugger: Added a command to display the status of global handlers. The 
6359 "handlers" command will display op region, fixed event, and miscellaneous 
6360 global handlers. installation status -- and for op regions, whether 
6361 default 
6362 or user-installed handler will be used.
6363
6364 iASL: Warn if reserved method incorrectly returns a value. Many 
6365 predefined 
6366 names are defined such that they do not return a value. If implemented as 
6367
6368 method, issue a warning if such a name explicitly returns a value. ACPICA 
6369 Bugzilla 855.
6370
6371 iASL: Added detection of GPE method name conflicts. Detects a conflict 
6372 where 
6373 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
6374 (For 
6375 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
6376
6377 iASL/DTC: Fixed a couple input scanner issues with comments and line 
6378 numbers. Comment remover could get confused and miss a comment ending. 
6379 Fixed 
6380 a problem with line counter maintenance.
6381
6382 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
6383 is 
6384 no need to abort on simple errors within a field definition.
6385
6386 Debugger: Simplified the output of the help command. All help output now 
6387 in 
6388 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
6389
6390 ----------------------------------------
6391 12 January 2011. Summary of changes for version 20110112:
6392
6393 1) ACPI CA Core Subsystem:
6394
6395 Fixed a race condition between method execution and namespace walks that 
6396 can 
6397 possibly cause a fault. The problem was apparently introduced in version 
6398 20100528 as a result of a performance optimization that reduces the 
6399 number 
6400 of 
6401 namespace walks upon method exit by using the delete_namespace_subtree 
6402 function instead of the delete_namespace_by_owner function used 
6403 previously. 
6404 Bug is a missing namespace lock in the delete_namespace_subtree function. 
6405 dana.myers@oracle.com
6406
6407 Fixed several issues and a possible fault with the automatic "serialized" 
6408 method support. History: This support changes a method to "serialized" on 
6409 the 
6410 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
6411 possibility that it cannot handle reentrancy. This fix repairs a couple 
6412 of 
6413 issues seen in the field, especially on machines with many cores:
6414
6415     1) Delete method children only upon the exit of the last thread,
6416        so as to not delete objects out from under other running threads
6417       (and possibly causing a fault.)
6418     2) Set the "serialized" bit for the method only upon the exit of the
6419        Last thread, so as to not cause deadlock when running threads
6420        attempt to exit.
6421     3) Cleanup the use of the AML "MethodFlags" and internal method flags
6422        so that there is no longer any confusion between the two.
6423
6424     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
6425
6426 Debugger: Now lock the namespace for duration of a namespace dump. 
6427 Prevents 
6428 issues if the namespace is changing dynamically underneath the debugger. 
6429 Especially affects temporary namespace nodes, since the debugger displays 
6430 these also.
6431
6432 Updated the ordering of include files. The ACPICA headers should appear 
6433 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
6434 set 
6435 any necessary compiler-specific defines, etc. Affects the ACPI-related 
6436 tools 
6437 and utilities.
6438
6439 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
6440 copyright 
6441 to all module headers and signons, including the Linux header. This 
6442 affects 
6443 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
6444 utilities.
6445
6446 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
6447 project files for VC++ 6.0 are now obsolete. New project files can be 
6448 found 
6449 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
6450 details.
6451
6452 Example Code and Data Size: These are the sizes for the OS-independent 
6453 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6454 debug version of the code includes the debug output trace mechanism and 
6455 has a 
6456 much larger code and data size.
6457
6458   Previous Release (VC 6.0):
6459     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6460     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6461   Current Release (VC 9.0):
6462     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6463     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6464
6465 2) iASL Compiler/Disassembler and Tools:
6466
6467 iASL: Added generic data types to the Data Table compiler. Add "generic" 
6468 data 
6469 types such as UINT32, String, Unicode, etc., to simplify the generation 
6470 of 
6471 platform-defined tables such as UEFI. Lin Ming.
6472
6473 iASL: Added listing support for the Data Table Compiler. Adds listing 
6474 support 
6475 (-l) to display actual binary output for each line of input code.
6476
6477 ----------------------------------------
6478 09 December 2010. Summary of changes for version 20101209:
6479
6480 1) ACPI CA Core Subsystem:
6481
6482 Completed the major overhaul of the GPE support code that was begun in 
6483 July 
6484 2010. Major features include: removal of _PRW execution in ACPICA (host 
6485 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
6486 changes to existing interfaces, simplification of GPE handler operation, 
6487 and 
6488 a handful of new interfaces:
6489
6490     AcpiUpdateAllGpes
6491     AcpiFinishGpe
6492     AcpiSetupGpeForWake
6493     AcpiSetGpeWakeMask
6494     One new file, evxfgpe.c to consolidate all external GPE interfaces.
6495
6496 See the ACPICA Programmer Reference for full details and programming 
6497 information. See the new section 4.4 "General Purpose Event (GPE) 
6498 Support" 
6499 for a full overview, and section 8.7 "ACPI General Purpose Event 
6500 Management" 
6501 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
6502 Ming, 
6503 Bob Moore, Rafael Wysocki.
6504
6505 Implemented a new GPE feature for Windows compatibility, the "Implicit 
6506 Wake 
6507 GPE Notify". This feature will automatically issue a Notify(2) on a 
6508 device 
6509 when a Wake GPE is received if there is no corresponding GPE method or 
6510 handler. ACPICA BZ 870.
6511
6512 Fixed a problem with the Scope() operator during table parse and load 
6513 phase. 
6514 During load phase (table load or method execution), the scope operator 
6515 should 
6516 not enter the target into the namespace. Instead, it should open a new 
6517 scope 
6518 at the target location. Linux BZ 19462, ACPICA BZ 882.
6519
6520 Example Code and Data Size: These are the sizes for the OS-independent 
6521 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6522 debug version of the code includes the debug output trace mechanism and 
6523 has a 
6524 much larger code and data size.
6525
6526   Previous Release:
6527     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6528     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6529   Current Release:
6530     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6531     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6532
6533 2) iASL Compiler/Disassembler and Tools:
6534
6535 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
6536 are 
6537 "bus-specific" per the ACPI specification, and therefore any characters 
6538 are 
6539 acceptable. The only checks that can be performed are for a null string 
6540 and 
6541 perhaps for a leading asterisk. ACPICA BZ 886.
6542
6543 iASL: Fixed a problem where a syntax error that caused a premature EOF 
6544 condition on the source file emitted a very confusing error message. The 
6545 premature EOF is now detected correctly. ACPICA BZ 891.
6546
6547 Disassembler: Decode the AccessSize within a Generic Address Structure 
6548 (byte 
6549 access, word access, etc.) Note, this field does not allow arbitrary bit 
6550 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
6551
6552 New: AcpiNames utility - Example namespace dump utility. Shows an example 
6553 of 
6554 ACPICA configuration for a minimal namespace dump utility. Uses table and 
6555 namespace managers, but no AML interpreter. Does not add any 
6556 functionality 
6557 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
6558 partition and configure ACPICA. ACPICA BZ 883.
6559
6560 AML Debugger: Increased the debugger buffer size for method return 
6561 objects. 
6562 Was 4K, increased to 16K. Also enhanced error messages for debugger 
6563 method 
6564 execution, including the buffer overflow case.
6565
6566 ----------------------------------------
6567 13 October 2010. Summary of changes for version 20101013:
6568
6569 1) ACPI CA Core Subsystem:
6570
6571 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
6572 now 
6573 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
6574 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
6575
6576 Changed the type of the predefined namespace object _TZ from ThermalZone 
6577 to 
6578 Device. This was found to be confusing to the host software that 
6579 processes 
6580 the various thermal zones, since _TZ is not really a ThermalZone. 
6581 However, 
6582
6583 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
6584 Zhang.
6585
6586 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
6587 string is "Windows 2006 SP2".
6588
6589 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
6590 nsrepair 
6591 code automatically repairs _HID-related strings, this type of code is no 
6592 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
6593 878.
6594
6595 Example Code and Data Size: These are the sizes for the OS-independent 
6596 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6597 debug version of the code includes the debug output trace mechanism and 
6598 has a 
6599 much larger code and data size.
6600
6601   Previous Release:
6602     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6603     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6604   Current Release:
6605     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6606     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6607
6608 2) iASL Compiler/Disassembler and Tools:
6609
6610 iASL: Implemented additional compile-time validation for _HID strings. 
6611 The 
6612 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
6613 length 
6614 of 
6615 the string must be exactly seven or eight characters. For both _HID and 
6616 _CID 
6617 strings, all characters must be alphanumeric. ACPICA BZ 874.
6618
6619 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
6620 descriptors that are mostly or all zeros, with the expectation that they 
6621 will 
6622 be filled in at runtime. iASL now allows this as long as there is a 
6623 "resource 
6624 tag" (name) associated with the descriptor, which gives the ASL a handle 
6625 needed to modify the descriptor. ACPICA BZ 873.
6626
6627 Added single-thread support to the generic Unix application OSL. 
6628 Primarily 
6629 for iASL support, this change removes the use of semaphores in the 
6630 single-
6631 threaded ACPICA tools/applications - increasing performance. The 
6632 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
6633 option. ACPICA BZ 879.
6634
6635 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
6636 support 
6637 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
6638
6639 iASL: Moved all compiler messages to a new file, aslmessages.h.
6640
6641 ----------------------------------------
6642 15 September 2010. Summary of changes for version 20100915:
6643
6644 1) ACPI CA Core Subsystem:
6645
6646 Removed the AcpiOsDerivePciId OSL interface. The various host 
6647 implementations 
6648 of this function were not OS-dependent and are now obsolete and can be 
6649 removed from all host OSLs. This function has been replaced by 
6650 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
6651 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
6652 module, hwpci.c. ACPICA BZ 857.
6653
6654 Implemented a dynamic repair for _HID and _CID strings. The following 
6655 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
6656 string, and 2) the entire string is uppercased. Both repairs are in 
6657 accordance with the ACPI specification and will simplify host driver 
6658 code. 
6659 ACPICA BZ 871.
6660
6661 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
6662 always UINT64. This simplifies the ACPICA code, especially any printf 
6663 output. 
6664 UINT64 is the only common data type for all thread_id types across all 
6665 operating systems. It is now up to the host OSL to cast the native 
6666 thread_id 
6667 type to UINT64 before returning the value to ACPICA (via 
6668 AcpiOsGetThreadId). 
6669 Lin Ming, Bob Moore.
6670
6671 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
6672 "inline" 
6673 keyword is not standard across compilers, and this type allows inline to 
6674 be 
6675 configured on a per-compiler basis. Lin Ming.
6676
6677 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
6678 available. 
6679 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
6680 value 
6681 during suspend/restore operations. ACPICA BZ 869.
6682
6683 All code that implements error/warning messages with the "ACPI:" prefix 
6684 has 
6685 been moved to a new module, utxferror.c.
6686
6687 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
6688 it 
6689 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
6690
6691 Example Code and Data Size: These are the sizes for the OS-independent 
6692 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6693 debug version of the code includes the debug output trace mechanism and 
6694 has a 
6695 much larger code and data size.
6696
6697   Previous Release:
6698     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6699     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6700   Current Release:
6701     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6702     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6703
6704 2) iASL Compiler/Disassembler and Tools:
6705
6706 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
6707 file. 
6708 This keeps the output files free of random error messages that may 
6709 originate 
6710 from within the namespace/interpreter code. Used this opportunity to 
6711 merge 
6712 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
6713 866. Lin Ming, Bob Moore.
6714
6715 Tools: update some printfs for ansi warnings on size_t. Handle width 
6716 change 
6717 of size_t on 32-bit versus 64-bit generations. Lin Ming.
6718
6719 ----------------------------------------
6720 06 August 2010. Summary of changes for version 20100806:
6721
6722 1) ACPI CA Core Subsystem:
6723
6724 Designed and implemented a new host interface to the _OSI support code. 
6725 This 
6726 will allow the host to dynamically add or remove multiple _OSI strings, 
6727 as 
6728 well as install an optional handler that is called for each _OSI 
6729 invocation. 
6730 Also added a new AML debugger command, 'osi' to display and modify the 
6731 global 
6732 _OSI string table, and test support in the AcpiExec utility. See the 
6733 ACPICA 
6734 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
6735 New Functions:
6736     AcpiInstallInterface - Add an _OSI string.
6737     AcpiRemoveInterface - Delete an _OSI string.
6738     AcpiInstallInterfaceHandler - Install optional _OSI handler.
6739 Obsolete Functions:
6740     AcpiOsValidateInterface - no longer used.
6741 New Files:
6742     source/components/utilities/utosi.c
6743
6744 Re-introduced the support to enable multi-byte transfers for Embedded 
6745 Controller (EC) operation regions. A reported problem was found to be a 
6746 bug 
6747 in the host OS, not in the multi-byte support. Previously, the maximum 
6748 data 
6749 size passed to the EC operation region handler was a single byte. There 
6750 are 
6751 often EC Fields larger than one byte that need to be transferred, and it 
6752 is 
6753 useful for the EC driver to lock these as a single transaction. This 
6754 change 
6755 enables single transfers larger than 8 bits. This effectively changes the 
6756 access to the EC space from ByteAcc to AnyAcc, and will probably require 
6757 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
6758 bit 
6759 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
6760
6761 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
6762 prototype in acpiosxf.h had the output value pointer as a (void *).
6763 It should be a (UINT64 *). This may affect some host OSL code.
6764
6765 Fixed a couple problems with the recently modified Linux makefiles for 
6766 iASL 
6767 and AcpiExec. These new makefiles place the generated object files in the 
6768 local directory so that there can be no collisions between the files that 
6769 are 
6770 shared between them that are compiled with different options.
6771
6772 Example Code and Data Size: These are the sizes for the OS-independent 
6773 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6774 debug version of the code includes the debug output trace mechanism and 
6775 has a 
6776 much larger code and data size.
6777
6778   Previous Release:
6779     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6780     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6781   Current Release:
6782     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6783     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6784
6785 2) iASL Compiler/Disassembler and Tools:
6786
6787 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
6788 the 
6789 namespace from and disassemble an entire group of AML files. Useful for 
6790 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
6791 and 
6792 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
6793
6794 iASL: Allow multiple invocations of -e option. This change allows 
6795 multiple 
6796 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
6797 834. 
6798 Lin Ming.
6799
6800 ----------------------------------------
6801 02 July 2010. Summary of changes for version 20100702:
6802
6803 1) ACPI CA Core Subsystem:
6804
6805 Implemented several updates to the recently added GPE reference count 
6806 support. The model for "wake" GPEs is changing to give the host OS 
6807 complete 
6808 control of these GPEs. Eventually, the ACPICA core will not execute any 
6809 _PRW 
6810 methods, since the host already must execute them. Also, additional 
6811 changes 
6812 were made to help ensure that the reference counts are kept in proper 
6813 synchronization with reality. Rafael J. Wysocki.
6814
6815 1) Ensure that GPEs are not enabled twice during initialization.
6816 2) Ensure that GPE enable masks stay in sync with the reference count.
6817 3) Do not inadvertently enable GPEs when writing GPE registers.
6818 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
6819 interface. This interface will set or clear individual GPEs for wakeup.
6820 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
6821 interfaces 
6822 are now used for "runtime" GPEs only.
6823
6824 Changed the behavior of the GPE install/remove handler interfaces. The 
6825 GPE 
6826 is 
6827 no longer disabled during this process, as it was found to cause problems 
6828 on 
6829 some machines. Rafael J. Wysocki.
6830
6831 Reverted a change introduced in version 20100528 to enable Embedded 
6832 Controller multi-byte transfers. This change was found to cause problems 
6833 with 
6834 Index Fields and possibly Bank Fields. It will be reintroduced when these 
6835 problems have been resolved.
6836
6837 Fixed a problem with references to Alias objects within Package Objects. 
6838
6839 reference to an Alias within the definition of a Package was not always 
6840 resolved properly. Aliases to objects like Processors, Thermal zones, 
6841 etc. 
6842 were resolved to the actual object instead of a reference to the object 
6843 as 
6844 it 
6845 should be. Package objects are only allowed to contain integer, string, 
6846 buffer, package, and reference objects. Redhat bugzilla 608648.
6847
6848 Example Code and Data Size: These are the sizes for the OS-independent 
6849 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6850 debug version of the code includes the debug output trace mechanism and 
6851 has a 
6852 much larger code and data size.
6853
6854   Previous Release:
6855     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6856     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6857   Current Release:
6858     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6859     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6860
6861 2) iASL Compiler/Disassembler and Tools:
6862
6863 iASL: Implemented a new compiler subsystem to allow definition and 
6864 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
6865 These 
6866 are called "ACPI Data Tables", and the new compiler is the "Data Table 
6867 Compiler". This compiler is intended to simplify the existing error-prone 
6868 process of creating these tables for the BIOS, as well as allowing the 
6869 disassembly, modification, recompilation, and override of existing ACPI 
6870 data 
6871 tables. See the iASL User Guide for detailed information.
6872
6873 iASL: Implemented a new Template Generator option in support of the new 
6874 Data 
6875 Table Compiler. This option will create examples of all known ACPI tables 
6876 that can be used as the basis for table development. See the iASL 
6877 documentation and the -T option.
6878
6879 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
6880 Descriptor Table).
6881
6882 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
6883 object files in the local directory so that there can be no collisions 
6884 between the shared files between them that are generated with different 
6885 options.
6886
6887 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
6888 Use 
6889 the #define __APPLE__ to enable this support.
6890
6891 ----------------------------------------
6892 28 May 2010. Summary of changes for version 20100528:
6893
6894 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
6895 available at www.acpi.info. This is primarily an errata release.
6896
6897 1) ACPI CA Core Subsystem:
6898
6899 Undefined ACPI tables: We are looking for the definitions for the 
6900 following 
6901 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6902
6903 Implemented support to enable multi-byte transfers for Embedded 
6904 Controller 
6905 (EC) operation regions. Previously, the maximum data size passed to the 
6906 EC 
6907 operation region handler was a single byte. There are often EC Fields 
6908 larger 
6909 than one byte that need to be transferred, and it is useful for the EC 
6910 driver 
6911 to lock these as a single transaction. This change enables single 
6912 transfers 
6913 larger than 8 bits. This effectively changes the access to the EC space 
6914 from 
6915 ByteAcc to AnyAcc, and will probably require changes to the host OS 
6916 Embedded 
6917 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
6918 bit 
6919 transfers. Alexey Starikovskiy, Lin Ming
6920
6921 Implemented a performance enhancement for namespace search and access. 
6922 This 
6923 change enhances the performance of namespace searches and walks by adding 
6924
6925 backpointer to the parent in each namespace node. On large namespaces, 
6926 this 
6927 change can improve overall ACPI performance by up to 9X. Adding a pointer 
6928 to 
6929 each namespace node increases the overall size of the internal namespace 
6930 by 
6931 about 5%, since each namespace entry usually consists of both a namespace 
6932 node and an ACPI operand object. However, this is the first growth of the 
6933 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
6934
6935 Implemented a performance optimization that reduces the number of 
6936 namespace 
6937 walks. On control method exit, only walk the namespace if the method is 
6938 known 
6939 to have created namespace objects outside of its local scope. Previously, 
6940 the 
6941 entire namespace was traversed on each control method exit. This change 
6942 can 
6943 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
6944 Moore.
6945
6946 Added support to truncate I/O addresses to 16 bits for Windows 
6947 compatibility. 
6948 Some ASL code has been seen in the field that inadvertently has bits set 
6949 above bit 15. This feature is optional and is enabled if the BIOS 
6950 requests 
6951 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
6952 Garrett, Bob Moore.
6953
6954 Added support to limit the maximum time for the ASL Sleep() operator. To 
6955 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
6956 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
6957 bugzilla 854.
6958
6959 Added run-time validation support for the _WDG and_WED Microsoft 
6960 predefined 
6961 methods. These objects are defined by "Windows Instrumentation", and are 
6962 not 
6963 part of the ACPI spec. ACPICA BZ 860.
6964
6965 Expanded all statistic counters used during namespace and device 
6966 initialization from 16 to 32 bits in order to support very large 
6967 namespaces.
6968
6969 Replaced all instances of %d in printf format specifiers with %u since 
6970 nearly 
6971 all integers in ACPICA are unsigned.
6972
6973 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
6974 returned 
6975 as AE_NO_HANDLER.
6976
6977 Example Code and Data Size: These are the sizes for the OS-independent 
6978 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6979 debug version of the code includes the debug output trace mechanism and 
6980 has a 
6981 much larger code and data size.
6982
6983   Previous Release:
6984     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6985     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6986   Current Release:
6987     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6988     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6989
6990 2) iASL Compiler/Disassembler and Tools:
6991
6992 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
6993 methods. These objects are defined by "Windows Instrumentation", and are 
6994 not 
6995 part of the ACPI spec. ACPICA BZ 860.
6996
6997 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
6998 option will disable the tracking mechanism, which improves performance 
6999 considerably.
7000
7001 AcpiExec: Restructured the command line options into -d (disable) and -e 
7002 (enable) options.
7003
7004 ----------------------------------------
7005 28 April 2010. Summary of changes for version 20100428:
7006
7007 1) ACPI CA Core Subsystem:
7008
7009 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
7010 including FADT-based and GPE Block Devices, execute any _PRW methods in 
7011 the 
7012 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
7013 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
7014 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
7015 Devices. Provides compatibility with other ACPI implementations. Two new 
7016 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
7017 Moore.
7018
7019 Fixed a regression introduced in version 20100331 within the table 
7020 manager 
7021 where initial table loading could fail. This was introduced in the fix 
7022 for 
7023 AcpiReallocateRootTable. Also, renamed some of fields in the table 
7024 manager 
7025 data structures to clarify their meaning and use.
7026
7027 Fixed a possible allocation overrun during internal object copy in 
7028 AcpiUtCopySimpleObject. The original code did not correctly handle the 
7029 case 
7030 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
7031 847.
7032
7033 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
7034 possible access beyond end-of-allocation. Also, now fully validate 
7035 descriptor 
7036 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
7037
7038 Example Code and Data Size: These are the sizes for the OS-independent 
7039 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7040 debug version of the code includes the debug output trace mechanism and 
7041 has a 
7042 much larger code and data size.
7043
7044   Previous Release:
7045     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
7046     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
7047   Current Release:
7048     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
7049     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
7050
7051 2) iASL Compiler/Disassembler and Tools:
7052
7053 iASL: Implemented Min/Max/Len/Gran validation for address resource 
7054 descriptors. This change implements validation for the address fields 
7055 that 
7056 are common to all address-type resource descriptors. These checks are 
7057 implemented: Checks for valid Min/Max, length within the Min/Max window, 
7058 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
7059 per 
7060 table 6-40 in the ACPI 4.0a specification. Also split the large 
7061 aslrestype1.c 
7062 and aslrestype2.c files into five new files. ACPICA BZ 840.
7063
7064 iASL: Added support for the _Wxx predefined names. This support was 
7065 missing 
7066 and these names were not recognized by the compiler as valid predefined 
7067 names. ACPICA BZ 851.
7068
7069 iASL: Added an error for all predefined names that are defined to return 
7070 no 
7071 value and thus must be implemented as Control Methods. These include all 
7072 of 
7073 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
7074 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
7075
7076 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
7077 an 
7078 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
7079 be 
7080 dynamically loaded via the Load() operator. Also cleaned up output for 
7081 the 
7082 -
7083 ta and -tc options. ACPICA BZ 853.
7084
7085 Tests: Added a new file with examples of extended iASL error checking. 
7086 Demonstrates the advanced error checking ability of the iASL compiler. 
7087 Available at tests/misc/badcode.asl.
7088
7089 ----------------------------------------
7090 31 March 2010. Summary of changes for version 20100331:
7091
7092 1) ACPI CA Core Subsystem:
7093
7094 Completed a major update for the GPE support in order to improve support 
7095 for 
7096 shared GPEs and to simplify both host OS and ACPICA code. Added a 
7097 reference 
7098 count mechanism to support shared GPEs that require multiple device 
7099 drivers. 
7100 Several external interfaces have changed. One external interface has been 
7101 removed. One new external interface was added. Most of the GPE external 
7102 interfaces now use the GPE spinlock instead of the events mutex (and the 
7103 Flags parameter for many GPE interfaces has been removed.) See the 
7104 updated 
7105 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
7106 Rafael 
7107 Wysocki. ACPICA BZ 831.
7108
7109 Changed:
7110     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
7111 Removed:
7112     AcpiSetGpeType
7113 New:
7114     AcpiSetGpe
7115
7116 Implemented write support for DataTable operation regions. These regions 
7117 are 
7118 defined via the DataTableRegion() operator. Previously, only read support 
7119 was 
7120 implemented. The ACPI specification allows DataTableRegions to be 
7121 read/write, 
7122 however.
7123
7124 Implemented a new subsystem option to force a copy of the DSDT to local 
7125 memory. Optionally copy the entire DSDT to local memory (instead of 
7126 simply 
7127 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
7128 replace 
7129 the original DSDT, creating the need for this option. Default is FALSE, 
7130 do 
7131 not copy the DSDT.
7132
7133 Implemented detection of a corrupted or replaced DSDT. This change adds 
7134 support to detect a DSDT that has been corrupted and/or replaced from 
7135 outside 
7136 the OS (by firmware). This is typically catastrophic for the system, but 
7137 has 
7138 been seen on some machines. Once this problem has been detected, the DSDT 
7139 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
7140
7141 Fixed two problems with AcpiReallocateRootTable during the root table 
7142 copy. 
7143 When copying the root table to the new allocation, the length used was 
7144 incorrect. The new size was used instead of the current table size, 
7145 meaning 
7146 too much data was copied. Also, the count of available slots for ACPI 
7147 tables 
7148 was not set correctly. Alexey Starikovskiy, Bob Moore.
7149
7150 Example Code and Data Size: These are the sizes for the OS-independent 
7151 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7152 debug version of the code includes the debug output trace mechanism and 
7153 has a 
7154 much larger code and data size.
7155
7156   Previous Release:
7157     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7158     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7159   Current Release:
7160     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
7161     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
7162
7163 2) iASL Compiler/Disassembler and Tools:
7164
7165 iASL: Implement limited typechecking for values returned from predefined 
7166 control methods. The type of any returned static (unnamed) object is now 
7167 validated. For example, Return(1). ACPICA BZ 786.
7168
7169 iASL: Fixed a predefined name object verification regression. Fixes a 
7170 problem 
7171 introduced in version 20100304. An error is incorrectly generated if a 
7172 predefined name is declared as a static named object with a value defined 
7173 using the keywords "Zero", "One", or "Ones". Lin Ming.
7174
7175 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
7176 by 
7177 reducing the requested registry access rights. ACPICA BZ 842.
7178
7179 Disassembler: fixed a possible fault when generating External() 
7180 statements. 
7181 Introduced in commit ae7d6fd: Properly handle externals with parent-
7182 prefix 
7183 (carat). Fixes a string length allocation calculation. Lin Ming.
7184
7185 ----------------------------------------
7186 04 March 2010. Summary of changes for version 20100304:
7187
7188 1) ACPI CA Core Subsystem:
7189
7190 Fixed a possible problem with the AML Mutex handling function 
7191 AcpiExReleaseMutex where the function could fault under the very rare 
7192 condition when the interpreter has blocked, the interpreter lock is 
7193 released, 
7194 the interpreter is then reentered via the same thread, and attempts to 
7195 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
7196 Lin 
7197 Ming.
7198
7199 Implemented additional configuration support for the AML "Debug Object". 
7200 Output from the debug object can now be enabled via a global variable, 
7201 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
7202 debugging. 
7203 This debug output is now available in the release version of ACPICA 
7204 instead 
7205 of just the debug version. Also, the entire debug output module can now 
7206 be 
7207 configured out of the ACPICA build if desired. One new file added, 
7208 executer/exdebug.c. Lin Ming, Bob Moore.
7209
7210 Added header support for the ACPI MCHI table (Management Controller Host 
7211 Interface Table). This table was added in ACPI 4.0, but the defining 
7212 document 
7213 has only recently become available.
7214
7215 Standardized output of integer values for ACPICA warnings/errors. Always 
7216 use 
7217 0x prefix for hex output, always use %u for unsigned integer decimal 
7218 output. 
7219 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
7220 400 
7221 invocations.) These invocations were converted from the original 
7222 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
7223
7224 Example Code and Data Size: These are the sizes for the OS-independent 
7225 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7226 debug version of the code includes the debug output trace mechanism and 
7227 has a 
7228 much larger code and data size.
7229
7230   Previous Release:
7231     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7232     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7233   Current Release:
7234     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7235     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7236
7237 2) iASL Compiler/Disassembler and Tools:
7238
7239 iASL: Implemented typechecking support for static (non-control method) 
7240 predefined named objects that are declared with the Name() operator. For 
7241 example, the type of this object is now validated to be of type Integer: 
7242 Name(_BBN, 1). This change migrates the compiler to using the core 
7243 predefined 
7244 name table instead of maintaining a local version. Added a new file, 
7245 aslpredef.c. ACPICA BZ 832.
7246
7247 Disassembler: Added support for the ACPI 4.0 MCHI table.
7248
7249 ----------------------------------------
7250 21 January 2010. Summary of changes for version 20100121:
7251
7252 1) ACPI CA Core Subsystem:
7253
7254 Added the 2010 copyright to all module headers and signons. This affects 
7255 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
7256 tools/utilities, and the test suites.
7257
7258 Implemented a change to the AcpiGetDevices interface to eliminate 
7259 unnecessary 
7260 invocations of the _STA method. In the case where a specific _HID is 
7261 requested, do not run _STA until a _HID match is found. This eliminates 
7262 potentially dozens of _STA calls during a search for a particular 
7263 device/HID, 
7264 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
7265
7266 Implemented an additional repair for predefined method return values. 
7267 Attempt 
7268 to repair unexpected NULL elements within returned Package objects. 
7269 Create 
7270 an 
7271 Integer of value zero, a NULL String, or a zero-length Buffer as 
7272 appropriate. 
7273 ACPICA BZ 818. Lin Ming, Bob Moore.
7274
7275 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
7276 the 
7277 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
7278 (with 
7279 64-bit AML integers). It is now obsolete and this change removes it from 
7280 the 
7281 ACPICA code base, replaced by UINT64. The original typedef has been 
7282 retained 
7283 for now for compatibility with existing device driver code. ACPICA BZ 
7284 824.
7285
7286 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
7287 in 
7288 the parse tree object.
7289
7290 Added additional warning options for the gcc-4 generation. Updated the 
7291 source 
7292 accordingly. This includes some code restructuring to eliminate 
7293 unreachable 
7294 code, elimination of some gotos, elimination of unused return values, 
7295 some 
7296 additional casting, and removal of redundant declarations.
7297
7298 Example Code and Data Size: These are the sizes for the OS-independent 
7299 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7300 debug version of the code includes the debug output trace mechanism and 
7301 has a 
7302 much larger code and data size.
7303
7304   Previous Release:
7305     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7306     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7307   Current Release:
7308     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7309     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7310
7311 2) iASL Compiler/Disassembler and Tools:
7312
7313 No functional changes for this release.
7314
7315 ----------------------------------------
7316 14 December 2009. Summary of changes for version 20091214:
7317
7318 1) ACPI CA Core Subsystem:
7319
7320 Enhanced automatic data type conversions for predefined name repairs. 
7321 This 
7322 change expands the automatic repairs/conversions for predefined name 
7323 return 
7324 values to make Integers, Strings, and Buffers fully interchangeable. 
7325 Also, 
7326
7327 Buffer can be converted to a Package of Integers if necessary. The 
7328 nsrepair.c 
7329 module was completely restructured. Lin Ming, Bob Moore.
7330
7331 Implemented automatic removal of null package elements during predefined 
7332 name 
7333 repairs. This change will automatically remove embedded and trailing NULL 
7334 package elements from returned package objects that are defined to 
7335 contain 
7336
7337 variable number of sub-packages. The driver is then presented with a 
7338 package 
7339 with no null elements to deal with. ACPICA BZ 819.
7340
7341 Implemented a repair for the predefined _FDE and _GTM names. The expected 
7342 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
7343 two 
7344 possible problems (both seen in the field), where a package of integers 
7345 is 
7346 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
7347 Kim.
7348
7349 Implemented additional module-level code support. This change will 
7350 properly 
7351 execute module-level code that is not at the root of the namespace (under 
7352
7353 Device object, etc.). Now executes the code within the current scope 
7354 instead 
7355 of the root. ACPICA BZ 762. Lin Ming.
7356
7357 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
7358
7359 problem where mutex errors can occur when running a _REG method that is 
7360 in 
7361 the same scope as a method-defined operation region or an operation 
7362 region 
7363 under a module-level IF block. This type of code is rare, so the problem 
7364 has 
7365 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
7366
7367 Fixed a possible memory leak during module-level code execution. An 
7368 object 
7369 could be leaked for each block of executed module-level code if the 
7370 interpreter slack mode is enabled This change deletes any implicitly 
7371 returned 
7372 object from the module-level code block. Lin Ming.
7373
7374 Removed messages for successful predefined repair(s). The repair 
7375 mechanism 
7376 was considered too wordy. Now, messages are only unconditionally emitted 
7377 if 
7378 the return object cannot be repaired. Existing messages for successful 
7379 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
7380 827.
7381
7382 Example Code and Data Size: These are the sizes for the OS-independent 
7383 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7384 debug version of the code includes the debug output trace mechanism and 
7385 has a 
7386 much larger code and data size.
7387
7388   Previous Release:
7389     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7390     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7391   Current Release:
7392     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7393     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7394
7395 2) iASL Compiler/Disassembler and Tools:
7396
7397 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
7398 files 
7399 were no longer automatically removed at the termination of the compile.
7400
7401 acpiexec: Implemented the -f option to specify default region fill value. 
7402 This option specifies the value used to initialize buffers that simulate 
7403 operation regions. Default value is zero. Useful for debugging problems 
7404 that 
7405 depend on a specific initial value for a region or field.
7406
7407 ----------------------------------------
7408 12 November 2009. Summary of changes for version 20091112:
7409
7410 1) ACPI CA Core Subsystem:
7411
7412 Implemented a post-order callback to AcpiWalkNamespace. The existing 
7413 interface only has a pre-order callback. This change adds an additional 
7414 parameter for a post-order callback which will be more useful for bus 
7415 scans. 
7416 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
7417
7418 Modified the behavior of the operation region memory mapping cache for 
7419 SystemMemory. Ensure that the memory mappings created for operation 
7420 regions 
7421 do not cross 4K page boundaries. Crossing a page boundary while mapping 
7422 regions can cause kernel warnings on some hosts if the pages have 
7423 different 
7424 attributes. Such regions are probably BIOS bugs, and this is the 
7425 workaround. 
7426 Linux BZ 14445. Lin Ming.
7427
7428 Implemented an automatic repair for predefined methods that must return 
7429 sorted lists. This change will repair (by sorting) packages returned by 
7430 _ALR, 
7431 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
7432 sorted 
7433 and do not contain NULL package elements. Adds one new file, 
7434 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
7435
7436 Fixed a possible fault during predefined name validation if a return 
7437 Package 
7438 object contains NULL elements. Also adds a warning if a NULL element is 
7439 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
7440 may 
7441 include repair or removal of all such NULL elements where possible.
7442
7443 Implemented additional module-level executable AML code support. This 
7444 change 
7445 will execute module-level code that is not at the root of the namespace 
7446 (under a Device object, etc.) at table load time. Module-level executable 
7447 AML 
7448 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
7449
7450 Implemented a new internal function to create Integer objects. This 
7451 function 
7452 simplifies miscellaneous object creation code. ACPICA BZ 823.
7453
7454 Reduced the severity of predefined repair messages, Warning to Info. 
7455 Since 
7456 the object was successfully repaired, a warning is too severe. Reduced to 
7457 an 
7458 info message for now. These messages may eventually be changed to debug-
7459 only. 
7460 ACPICA BZ 812.
7461
7462 Example Code and Data Size: These are the sizes for the OS-independent 
7463 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7464 debug version of the code includes the debug output trace mechanism and 
7465 has a 
7466 much larger code and data size.
7467
7468   Previous Release:
7469     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7470     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7471   Current Release:
7472     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7473     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7474
7475 2) iASL Compiler/Disassembler and Tools:
7476
7477 iASL: Implemented Switch() with While(1) so that Break works correctly. 
7478 This 
7479 change correctly implements the Switch operator with a surrounding 
7480 While(1) 
7481 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
7482
7483 iASL: Added a message if a package initializer list is shorter than 
7484 package 
7485 length. Adds a new remark for a Package() declaration if an initializer 
7486 list 
7487 exists, but is shorter than the declared length of the package. Although 
7488 technically legal, this is probably a coding error and it is seen in the 
7489 field. ACPICA BZ 815. Lin Ming, Bob Moore.
7490
7491 iASL: Fixed a problem where the compiler could fault after the maximum 
7492 number 
7493 of errors was reached (200).
7494
7495 acpixtract: Fixed a possible warning for pointer cast if the compiler 
7496 warning 
7497 level set very high.
7498
7499 ----------------------------------------
7500 13 October 2009. Summary of changes for version 20091013:
7501
7502 1) ACPI CA Core Subsystem:
7503
7504 Fixed a problem where an Operation Region _REG method could be executed 
7505 more 
7506 than once. If a custom address space handler is installed by the host 
7507 before 
7508 the "initialize operation regions" phase of the ACPICA initialization, 
7509 any 
7510 _REG methods for that address space could be executed twice. This change 
7511 fixes the problem. ACPICA BZ 427. Lin Ming.
7512
7513 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
7514 invocation of "Scope(\)" is executed (change scope to root), one internal 
7515 operand object was leaked. Lin Ming.
7516
7517 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
7518 return value is defined as a Field object in the AML, and the field
7519 size is less than or equal to the default width of an integer (32 or 
7520 64),_MAT 
7521 can incorrectly return an Integer instead of a Buffer. ACPICA now 
7522 automatically repairs this problem. ACPICA BZ 810.
7523
7524 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
7525 The 
7526 "OEM Information" field is often incorrectly returned as an Integer with 
7527 value zero if the field is not supported by the platform. This is due to 
7528 an 
7529 ambiguity in the ACPI specification. The field should always be a string. 
7530 ACPICA now automatically repairs this problem by returning a NULL string 
7531 within the returned Package. ACPICA BZ 807.
7532
7533 Example Code and Data Size: These are the sizes for the OS-independent 
7534 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7535 debug version of the code includes the debug output trace mechanism and 
7536 has a 
7537 much larger code and data size.
7538
7539   Previous Release:
7540     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7541     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7542   Current Release:
7543     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7544     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7545
7546 2) iASL Compiler/Disassembler and Tools:
7547
7548 Disassembler: Fixed a problem where references to external symbols that 
7549 contained one or more parent-prefixes (carats) were not handled 
7550 correctly, 
7551 possibly causing a fault. ACPICA BZ 806. Lin Ming.
7552
7553 Disassembler: Restructured the code so that all functions that handle 
7554 external symbols are in a single module. One new file is added, 
7555 common/dmextern.c.
7556
7557 AML Debugger: Added a max count argument for the Batch command (which 
7558 executes multiple predefined methods within the namespace.)
7559
7560 iASL: Updated the compiler documentation (User Reference.) Available at 
7561 http://www.acpica.org/documentation/. ACPICA BZ 750.
7562
7563 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
7564 files.
7565
7566 ----------------------------------------
7567 03 September 2009. Summary of changes for version 20090903:
7568
7569 1) ACPI CA Core Subsystem:
7570
7571 For Windows Vista compatibility, added the automatic execution of an _INI 
7572 method located at the namespace root (\_INI). This method is executed at 
7573 table load time. This support is in addition to the automatic execution 
7574 of 
7575 \_SB._INI. Lin Ming.
7576
7577 Fixed a possible memory leak in the interpreter for AML package objects 
7578 if 
7579 the package initializer list is longer than the defined size of the 
7580 package. 
7581 This apparently can only happen if the BIOS changes the package size on 
7582 the 
7583 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
7584 interpreter will truncate the package to the defined size (and issue an 
7585 error 
7586 message), but previously could leave the extra objects undeleted if they 
7587 were 
7588 pre-created during the argument processing (such is the case if the 
7589 package 
7590 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
7591
7592 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
7593 This has been reported in the field. Previously, ACPICA would zero out 
7594 the 
7595 buffer/string. Now, the operation is treated as a noop. Provides Windows 
7596 compatibility. ACPICA BZ 803. Lin Ming.
7597
7598 Removed an extraneous error message for ASL constructs of the form 
7599 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
7600 statements 
7601 are seen in many BIOSs and are once again treated as NOOPs and no error 
7602 is 
7603 emitted when they are encountered. ACPICA BZ 785.
7604
7605 Fixed an extraneous warning message if a _DSM reserved method returns a 
7606 Package object. _DSM can return any type of object, so validation on the 
7607 return type cannot be performed. ACPICA BZ 802.
7608
7609 Example Code and Data Size: These are the sizes for the OS-independent 
7610 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7611 debug version of the code includes the debug output trace mechanism and 
7612 has a 
7613 much larger code and data size.
7614
7615   Previous Release:
7616     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7617     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7618   Current Release:
7619     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7620     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7621
7622 2) iASL Compiler/Disassembler and Tools:
7623
7624 iASL: Fixed a problem with the use of the Alias operator and Resource 
7625 Templates. The correct alias is now constructed and no error is emitted. 
7626 ACPICA BZ 738.
7627
7628 iASL: Implemented the -I option to specify additional search directories 
7629 for 
7630 include files. Allows multiple additional search paths for include files. 
7631 Directories are searched in the order specified on the command line 
7632 (after 
7633 the local directory is searched.) ACPICA BZ 800.
7634
7635 iASL: Fixed a problem where the full pathname for include files was not 
7636 emitted for warnings/errors. This caused the IDE support to not work 
7637 properly. ACPICA BZ 765.
7638
7639 iASL: Implemented the -@ option to specify a Windows-style response file 
7640 containing additional command line options. ACPICA BZ 801.
7641
7642 AcpiExec: Added support to load multiple AML files simultaneously (such 
7643 as 
7644
7645 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
7646 pathname. These features allow all machine tables to be easily loaded and 
7647 debugged together. ACPICA BZ 804.
7648
7649 Disassembler: Added missing support for disassembly of HEST table Error 
7650 Bank 
7651 subtables. 
7652
7653 ----------------------------------------
7654 30 July 2009. Summary of changes for version 20090730:
7655
7656 The ACPI 4.0 implementation for ACPICA is complete with this release.
7657
7658 1) ACPI CA Core Subsystem:
7659
7660 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
7661 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
7662 new 
7663 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
7664 BERT, 
7665 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
7666 There 
7667 have been some ACPI 4.0 changes to other existing tables. Split the large 
7668 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
7669
7670 ACPI 4.0: Implemented predefined name validation for all new names. There 
7671 are 
7672 31 new names in ACPI 4.0. The predefined validation module was split into 
7673 two 
7674 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
7675
7676 Implemented support for so-called "module-level executable code". This is 
7677 executable AML code that exists outside of any control method and is 
7678 intended 
7679 to be executed at table load time. Although illegal since ACPI 2.0, this 
7680 type 
7681 of code still exists and is apparently still being created. Blocks of 
7682 this 
7683 code are now detected and executed as intended. Currently, the code 
7684 blocks 
7685 must exist under either an If, Else, or While construct; these are the 
7686 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
7687
7688 Implemented an automatic dynamic repair for predefined names that return 
7689 nested Package objects. This applies to predefined names that are defined 
7690 to 
7691 return a variable-length Package of sub-packages. If the number of sub-
7692 packages is one, BIOS code is occasionally seen that creates a simple 
7693 single 
7694 package with no sub-packages. This code attempts to fix the problem by 
7695 wrapping a new package object around the existing package. These methods 
7696 can 
7697 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
7698 BZ 
7699 790.
7700
7701 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
7702 interface. 
7703 The _HID/_CID matching was broken and no longer matched IDs correctly. 
7704 ACPICA 
7705 BZ 793.
7706
7707 Fixed a problem with AcpiReset where the reset would silently fail if the 
7708 register was one of the protected I/O ports. AcpiReset now bypasses the 
7709 port 
7710 validation mechanism. This may eventually be driven into the 
7711 AcpiRead/Write 
7712 interfaces.
7713
7714 Fixed a regression related to the recent update of the AcpiRead/Write 
7715 interfaces. A sleep/suspend could fail if the optional PM2 Control 
7716 register 
7717 does not exist during an attempt to write the Bus Master Arbitration bit. 
7718 (However, some hosts already delete the code that writes this bit, and 
7719 the 
7720 code may in fact be obsolete at this date.) ACPICA BZ 799.
7721
7722 Fixed a problem where AcpiTerminate could fault if inadvertently called 
7723 twice 
7724 in succession. ACPICA BZ 795.
7725
7726 Example Code and Data Size: These are the sizes for the OS-independent 
7727 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7728 debug version of the code includes the debug output trace mechanism and 
7729 has a 
7730 much larger code and data size.
7731
7732   Previous Release:
7733     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7734     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7735   Current Release:
7736     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7737     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7738
7739 2) iASL Compiler/Disassembler and Tools:
7740
7741 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
7742 changes to existing tables. ACPICA BZ 775.
7743
7744 ----------------------------------------
7745 25 June 2009. Summary of changes for version 20090625:
7746
7747 The ACPI 4.0 Specification was released on June 16 and is available at 
7748 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
7749 continue for the next few releases.
7750
7751 1) ACPI CA Core Subsystem:
7752
7753 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
7754 address space. Includes support for bi-directional data buffers and an 
7755 IPMI 
7756 address space handler (to be installed by an IPMI device driver.) ACPICA 
7757 BZ 
7758 773. Lin Ming.
7759
7760 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
7761 Includes 
7762 support in both the header files and the disassembler.
7763
7764 Completed a major update for the AcpiGetObjectInfo external interface. 
7765 Changes include:
7766  - Support for variable, unlimited length HID, UID, and CID strings.
7767  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
7768 etc.)
7769  - Call the _SxW power methods on behalf of a device object.
7770  - Determine if a device is a PCI root bridge.
7771  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
7772 These changes will require an update to all callers of this interface. 
7773 See 
7774 the updated ACPICA Programmer Reference for details. One new source file 
7775 has 
7776 been added - utilities/utids.c. ACPICA BZ 368, 780.
7777
7778 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
7779 transfers. The Value parameter has been extended from 32 bits to 64 bits 
7780 in 
7781 order to support new ACPI 4.0 tables. These changes will require an 
7782 update 
7783 to 
7784 all callers of these interfaces. See the ACPICA Programmer Reference for 
7785 details. ACPICA BZ 768.
7786
7787 Fixed several problems with AcpiAttachData. The handler was not invoked 
7788 when 
7789 the host node was deleted. The data sub-object was not automatically 
7790 deleted 
7791 when the host node was deleted. The interface to the handler had an 
7792 unused 
7793 parameter, this was removed. ACPICA BZ 778.
7794
7795 Enhanced the function that dumps ACPI table headers. All non-printable 
7796 characters in the string fields are now replaced with '?' (Signature, 
7797 OemId, 
7798 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
7799 these fields are occasionally seen in the field. ACPICA BZ 788.
7800
7801 Fixed a problem with predefined method repair code where the code that 
7802 attempts to repair/convert an object of incorrect type is only executed 
7803 on 
7804 the first time the predefined method is called. The mechanism that 
7805 disables 
7806 warnings on subsequent calls was interfering with the repair mechanism. 
7807 ACPICA BZ 781.
7808
7809 Fixed a possible memory leak in the predefined validation/repair code 
7810 when 
7811
7812 buffer is automatically converted to an expected string object.
7813
7814 Removed obsolete 16-bit files from the distribution and from the current 
7815 git 
7816 tree head. ACPICA BZ 776.
7817
7818 Example Code and Data Size: These are the sizes for the OS-independent 
7819 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7820 debug version of the code includes the debug output trace mechanism and 
7821 has a 
7822 much larger code and data size.
7823
7824   Previous Release:
7825     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7826     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7827   Current Release:
7828     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7829     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7830
7831 2) iASL Compiler/Disassembler and Tools:
7832
7833 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
7834 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
7835
7836 ACPI 4.0: iASL - implemented compile-time validation support for all new 
7837 predefined names and control methods (31 total). ACPICA BZ 769.
7838
7839 ----------------------------------------
7840 21 May 2009. Summary of changes for version 20090521:
7841
7842 1) ACPI CA Core Subsystem:
7843
7844 Disabled the preservation of the SCI enable bit in the PM1 control 
7845 register. 
7846 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
7847 to 
7848 be 
7849 a "preserved" bit - "OSPM always preserves this bit position", section 
7850 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
7851 because the bit needs to be explicitly set by the OS as a workaround. No 
7852 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
7853 attempts to preserve this bit.
7854
7855 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
7856 incorrectly formed _PRT package could cause a fault. Added validation to 
7857 ensure that each package element is actually a sub-package.
7858
7859 Implemented a new interface to install or override a single control 
7860 method, 
7861 AcpiInstallMethod. This interface is useful when debugging in order to 
7862 repair 
7863 an existing method or to install a missing method without having to 
7864 override 
7865 the entire ACPI table. See the ACPICA Programmer Reference for use and 
7866 examples. Lin Ming, Bob Moore.
7867
7868 Fixed several reference count issues with the DdbHandle object that is 
7869 created from a Load or LoadTable operator. Prevent premature deletion of 
7870 the 
7871 object. Also, mark the object as invalid once the table has been 
7872 unloaded. 
7873 This is needed because the handle itself may not be deleted after the 
7874 table 
7875 unload, depending on whether it has been stored in a named object by the 
7876 caller. Lin Ming.
7877
7878 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
7879 mutexes of the same sync level are acquired but then not released in 
7880 strict 
7881 opposite order, the internally maintained Current Sync Level becomes 
7882 confused 
7883 and can cause subsequent execution errors. ACPICA BZ 471.
7884
7885 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
7886 specification has been changed to make the SyncLevel for mutex objects 
7887 more 
7888 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
7889 the 
7890 same as the current sync level. This makes more sense than the previous 
7891 rule 
7892 (SyncLevel less than or equal). This change updates the code to match the 
7893 specification.
7894
7895 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
7896 The 
7897 (local) cache must be locked during all cache object deletions. Andrew 
7898 Baumann.
7899
7900 Updated the Load operator to use operation region interfaces. This 
7901 replaces 
7902 direct memory mapping with region access calls. Now, all region accesses 
7903 go 
7904 through the installed region handler as they should.
7905
7906 Simplified and optimized the NsGetNextNode function. Reduced parameter 
7907 count 
7908 and reduced code for this frequently used function.
7909
7910 Example Code and Data Size: These are the sizes for the OS-independent 
7911 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7912 debug version of the code includes the debug output trace mechanism and 
7913 has a 
7914 much larger code and data size.
7915
7916   Previous Release:
7917     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7918     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7919   Current Release:
7920     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7921     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7922
7923 2) iASL Compiler/Disassembler and Tools:
7924
7925 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
7926 problems 
7927 with sub-table disassembly and handling invalid sub-tables. Attempt 
7928 recovery 
7929 after an invalid sub-table ID.
7930
7931 ----------------------------------------
7932 22 April 2009. Summary of changes for version 20090422:
7933
7934 1) ACPI CA Core Subsystem:
7935
7936 Fixed a compatibility issue with the recently released I/O port 
7937 protection 
7938 mechanism. For windows compatibility, 1) On a port protection violation, 
7939 simply ignore the request and do not return an exception (allow the 
7940 control 
7941 method to continue execution.) 2) If only part of the request overlaps a 
7942 protected port, read/write the individual ports that are not protected. 
7943 Linux 
7944 BZ 13036. Lin Ming
7945
7946 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
7947 actually 
7948 breaks into the AML debugger if the debugger is present. This matches the 
7949 ACPI-defined behavior.
7950
7951 Fixed several possible warnings related to the use of the configurable 
7952 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
7953 pointer with no warnings. Also fixes several warnings in printf-like 
7954 statements for the 64-bit build when the type is configured as a pointer. 
7955 ACPICA BZ 766, 767.
7956
7957 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
7958 on 
7959 warning options.) Examples include printf formats, aliasing, unused 
7960 globals, 
7961 missing prototypes, missing switch default statements, use of non-ANSI 
7962 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
7963 for 
7964 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
7965
7966 Example Code and Data Size: These are the sizes for the OS-independent 
7967 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7968 debug version of the code includes the debug output trace mechanism and 
7969 has a 
7970 much larger code and data size.
7971
7972   Previous Release:
7973     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7974     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7975   Current Release:
7976     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7977     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7978
7979 2) iASL Compiler/Disassembler and Tools:
7980
7981 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
7982 warnings 
7983 on 
7984 the 64-bit build.
7985
7986 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
7987 not 
7988 correctly digest Windows/DOS formatted files (with CR/LF).
7989
7990 iASL: Added a new option for "quiet mode" (-va) that produces only the 
7991 compilation summary, not individual errors and warnings. Useful for large 
7992 batch compilations.
7993
7994 AcpiExec: Implemented a new option (-z) to enable a forced 
7995 semaphore/mutex 
7996 timeout that can be used to detect hang conditions during execution of 
7997 AML 
7998 code (includes both internal semaphores and AML-defined mutexes and 
7999 events.)
8000
8001 Added new makefiles for the generation of acpica in a generic unix-like 
8002 environment. These makefiles are intended to generate the acpica tools 
8003 and 
8004 utilities from the original acpica git source tree structure.
8005
8006 Test Suites: Updated and cleaned up the documentation files. Updated the 
8007 copyrights to 2009, affecting all source files. Use the new version of 
8008 iASL 
8009 with quiet mode. Increased the number of available semaphores in the 
8010 Windows 
8011 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
8012 added 
8013 an alternate implementation of the semaphore timeout to allow aslts to 
8014 execute fully on Cygwin.
8015
8016 ----------------------------------------
8017 20 March 2009. Summary of changes for version 20090320:
8018
8019 1) ACPI CA Core Subsystem:
8020
8021 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
8022 table 
8023 unloads. Added a reader/writer locking mechanism to allow multiple 
8024 concurrent 
8025 namespace walks (readers), but block a dynamic table unload until it can 
8026 gain 
8027 exclusive write access to the namespace. This fixes a problem where a 
8028 table 
8029 unload could (possibly catastrophically) delete the portion of the 
8030 namespace 
8031 that is currently being examined by a walk. Adds a new file, utlock.c, 
8032 that 
8033 implements the reader/writer lock mechanism. ACPICA BZ 749.
8034
8035 Fixed a regression introduced in version 20090220 where a change to the 
8036 FADT 
8037 handling could cause the ACPICA subsystem to access non-existent I/O 
8038 ports.
8039
8040 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
8041 The 
8042 FADT can contain both 32-bit and 64-bit versions of these addresses. 
8043 Previously, the 64-bit versions were favored, meaning that if both 32 and 
8044 64 
8045 versions were valid, but not equal, the 64-bit version was used. This was 
8046 found to cause some machines to fail. Now, in this case, the 32-bit 
8047 version 
8048 is used instead. This now matches the Windows behavior.
8049
8050 Implemented a new mechanism to protect certain I/O ports. Provides 
8051 Microsoft 
8052 compatibility and protects the standard PC I/O ports from access via AML 
8053 code. Adds a new file, hwvalid.c
8054
8055 Fixed a possible extraneous warning message from the FADT support. The 
8056 message warns of a 32/64 length mismatch between the legacy and GAS 
8057 definitions for a register.
8058
8059 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
8060 is 
8061 made obsolete by the port protection mechanism above. It was previously 
8062 used 
8063 to validate the entire address range of an operation region, which could 
8064 be 
8065 incorrect if the range included illegal ports, but fields within the 
8066 operation region did not actually access those ports. Validation is now 
8067 performed on a per-field basis instead of the entire region.
8068
8069 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
8070 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
8071 this 
8072 means a read/modify/write when writing to the register. However, for 
8073 status 
8074 registers, writing a one means clear the event. Writing a zero means 
8075 preserve 
8076 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
8077 spec, 
8078 and the ACPICA code now simply always writes a zero to the ignored bit.
8079
8080 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
8081 As 
8082 per the ACPI specification, for the control registers, preserve 
8083 (read/modify/write) all bits that are defined as either reserved or 
8084 ignored.
8085
8086 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
8087 When reading the register, zero the write-only bits as per the ACPI spec. 
8088 ACPICA BZ 443. Lin Ming.
8089
8090 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
8091 wants to reply true to this request. The Windows strings are the only 
8092 paths 
8093 through the AML that are tested and known to work properly.
8094
8095   Previous Release:
8096     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8097     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8098   Current Release:
8099     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
8100     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
8101
8102 2) iASL Compiler/Disassembler and Tools:
8103
8104 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
8105 and 
8106 aetables.c
8107
8108 ----------------------------------------
8109 20 February 2009. Summary of changes for version 20090220:
8110
8111 1) ACPI CA Core Subsystem:
8112
8113 Optimized the ACPI register locking. Removed locking for reads from the 
8114 ACPI 
8115 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
8116 is 
8117 not required when reading the single-bit registers. The 
8118 AcpiGetRegisterUnlocked function is no longer needed and has been 
8119 removed. 
8120 This will improve performance for reads on these registers. ACPICA BZ 
8121 760.
8122
8123 Fixed the parameter validation for AcpiRead/Write. Now return 
8124 AE_BAD_PARAMETER if the input register pointer is null, and 
8125 AE_BAD_ADDRESS 
8126 if 
8127 the register has an address of zero. Previously, these cases simply 
8128 returned 
8129 AE_OK. For optional registers such as PM1B status/enable/control, the 
8130 caller 
8131 should check for a valid register address before calling. ACPICA BZ 748.
8132
8133 Renamed the external ACPI bit register access functions. Renamed 
8134 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
8135 functions. The new names are AcpiReadBitRegister and 
8136 AcpiWriteBitRegister. 
8137 Also, restructured the code for these functions by simplifying the code 
8138 path 
8139 and condensing duplicate code to reduce code size.
8140
8141 Added new functions to transparently handle the possibly split PM1 A/B 
8142 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
8143 functions 
8144 now handle the split registers for PM1 Status, Enable, and Control. 
8145 ACPICA 
8146 BZ 
8147 746.
8148
8149 Added a function to handle the PM1 control registers, 
8150 AcpiHwWritePm1Control. 
8151 This function writes both of the PM1 control registers (A/B). These 
8152 registers 
8153 are different than the PM1 A/B status and enable registers in that 
8154 different 
8155 values can be written to the A/B registers. Most notably, the SLP_TYP 
8156 bits 
8157 can be different, as per the values returned from the _Sx predefined 
8158 methods.
8159
8160 Removed an extra register write within AcpiHwClearAcpiStatus. This 
8161 function 
8162 was writing an optional PM1B status register twice. The existing call to 
8163 the 
8164 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
8165 A/B 
8166 register. ACPICA BZ 751.
8167
8168 Split out the PM1 Status registers from the FADT. Added new globals for 
8169 these 
8170 registers (A/B), similar to the way the PM1 Enable registers are handled. 
8171 Instead of overloading the FADT Event Register blocks. This makes the 
8172 code 
8173 clearer and less prone to error.
8174
8175 Fixed the warning message for when the platform contains too many ACPI 
8176 tables 
8177 for the default size of the global root table data structure. The 
8178 calculation 
8179 for the truncation value was incorrect.
8180
8181 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
8182 obsolete macro, since it is now a simple reference to ->common.type. 
8183 There 
8184 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
8185
8186 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
8187 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
8188 simply SLEEP_TYPE. ACPICA BZ 754.
8189
8190 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
8191 function is only needed on 64-bit host operating systems and is thus not 
8192 included for 32-bit hosts.
8193
8194 Debug output: print the input and result for invocations of the _OSI 
8195 reserved 
8196 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
8197 the 
8198 verbosity of this debug level. Len Brown.
8199
8200 Example Code and Data Size: These are the sizes for the OS-independent 
8201 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8202 debug version of the code includes the debug output trace mechanism and 
8203 has a 
8204 much larger code and data size.
8205
8206   Previous Release:
8207     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8208     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8209   Current Release:
8210     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8211     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8212
8213 2) iASL Compiler/Disassembler and Tools:
8214
8215 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
8216 various legal performance profiles.
8217
8218 ----------------------------------------
8219 23 January 2009. Summary of changes for version 20090123:
8220
8221 1) ACPI CA Core Subsystem:
8222
8223 Added the 2009 copyright to all module headers and signons. This affects 
8224 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
8225 the tools/utilities.
8226
8227 Implemented a change to allow the host to override any ACPI table, 
8228 including 
8229 dynamically loaded tables. Previously, only the DSDT could be replaced by 
8230 the 
8231 host. With this change, the AcpiOsTableOverride interface is called for 
8232 each 
8233 table found in the RSDT/XSDT during ACPICA initialization, and also 
8234 whenever 
8235 a table is dynamically loaded via the AML Load operator.
8236
8237 Updated FADT flag definitions, especially the Boot Architecture flags.
8238
8239 Debugger: For the Find command, automatically pad the input ACPI name 
8240 with 
8241 underscores if the name is shorter than 4 characters. This enables a 
8242 match 
8243 with the actual namespace entry which is itself padded with underscores.
8244
8245 Example Code and Data Size: These are the sizes for the OS-independent 
8246 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8247 debug version of the code includes the debug output trace mechanism and 
8248 has a 
8249 much larger code and data size.
8250
8251   Previous Release:
8252     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8253     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8254   Current Release:
8255     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8256     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8257
8258 2) iASL Compiler/Disassembler and Tools:
8259
8260 Fix build error under Bison-2.4.
8261
8262 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
8263 Architecture 
8264 flags. Now decode all flags, regardless of the FADT version. Flag output 
8265 includes the FADT version which first defined each flag.
8266
8267 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
8268 and 
8269 DSDT). Windows only.
8270
8271 ----------------------------------------
8272 04 December 2008. Summary of changes for version 20081204:
8273
8274 1) ACPI CA Core Subsystem:
8275
8276 The ACPICA Programmer Reference has been completely updated and revamped 
8277 for 
8278 this release. This includes updates to the external interfaces, OSL 
8279 interfaces, the overview sections, and the debugger reference.
8280
8281 Several new ACPICA interfaces have been implemented and documented in the 
8282 programmer reference:
8283 AcpiReset - Writes the reset value to the FADT-defined reset register.
8284 AcpiDisableAllGpes - Disable all available GPEs.
8285 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
8286 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
8287 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
8288 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
8289 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
8290
8291 Most of the public ACPI hardware-related interfaces have been moved to a 
8292 new 
8293 file, components/hardware/hwxface.c
8294
8295 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
8296 register lengths within the FADT are now used, and the low level ACPI 
8297 register access no longer hardcodes the ACPI register lengths. Given that 
8298 there may be some risk in actually trusting the FADT register lengths, a 
8299 run-
8300 time option was added to fall back to the default hardcoded lengths if 
8301 the 
8302 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
8303 option is set to true for now, and a warning is issued if a suspicious 
8304 FADT 
8305 register length is overridden with the default value.
8306
8307 Fixed a reference count issue in NsRepairObject. This problem was 
8308 introduced 
8309 in version 20081031 as part of a fix to repair Buffer objects within 
8310 Packages. Lin Ming.
8311
8312 Added semaphore support to the Linux/Unix application OS-services layer 
8313 (OSL). ACPICA BZ 448. Lin Ming.
8314
8315 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
8316 will 
8317 be implemented in the OSL, or will binary semaphores be used instead.
8318
8319 Example Code and Data Size: These are the sizes for the OS-independent 
8320 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8321 debug version of the code includes the debug output trace mechanism and 
8322 has a 
8323 much larger code and data size.
8324
8325   Previous Release:
8326     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8327     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8328   Current Release:
8329     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8330     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8331
8332 2) iASL Compiler/Disassembler and Tools:
8333
8334 iASL: Completed the '-e' option to include additional ACPI tables in 
8335 order 
8336 to 
8337 aid with disassembly and External statement generation. ACPICA BZ 742. 
8338 Lin 
8339 Ming.
8340
8341 iASL: Removed the "named object in while loop" error. The compiler cannot 
8342 determine how many times a loop will execute. ACPICA BZ 730.
8343
8344 Disassembler: Implemented support for FADT revision 2 (MS extension). 
8345 ACPICA 
8346 BZ 743.
8347
8348 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
8349 MCFG).
8350
8351 ----------------------------------------
8352 31 October 2008. Summary of changes for version 20081031:
8353
8354 1) ACPI CA Core Subsystem:
8355
8356 Restructured the ACPICA header files into public/private. acpi.h now 
8357 includes 
8358 only the "public" acpica headers. All other acpica headers are "private" 
8359 and 
8360 should not be included by acpica users. One new file, accommon.h is used 
8361 to 
8362 include the commonly used private headers for acpica code generation. 
8363 Future 
8364 plans include moving all private headers to a new subdirectory.
8365
8366 Implemented an automatic Buffer->String return value conversion for 
8367 predefined ACPI methods. For these methods (such as _BIF), added 
8368 automatic 
8369 conversion for return objects that are required to be a String, but a 
8370 Buffer 
8371 was found instead. This can happen when reading string battery data from 
8372 an 
8373 operation region, because it used to be difficult to convert the data 
8374 from 
8375 buffer to string from within the ASL. Ensures that the host OS is 
8376 provided 
8377 with a valid null-terminated string. Linux BZ 11822.
8378
8379 Updated the FACS waking vector interfaces. Split 
8380 AcpiSetFirmwareWakingVector 
8381 into two: one for the 32-bit vector, another for the 64-bit vector. This 
8382 is 
8383 required because the host OS must setup the wake much differently for 
8384 each 
8385 vector (real vs. protected mode, etc.) and the interface itself should 
8386 not 
8387 be 
8388 deciding which vector to use. Also, eliminated the 
8389 GetFirmwareWakingVector 
8390 interface, as it served no purpose (only the firmware reads the vector, 
8391 OS 
8392 only writes the vector.) ACPICA BZ 731.
8393
8394 Implemented a mechanism to escape infinite AML While() loops. Added a 
8395 loop 
8396 counter to force exit from AML While loops if the count becomes too 
8397 large. 
8398 This can occur in poorly written AML when the hardware does not respond 
8399 within a while loop and the loop does not implement a timeout. The 
8400 maximum 
8401 loop count is configurable. A new exception code is returned when a loop 
8402 is 
8403 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
8404
8405 Optimized the execution of AML While loops. Previously, a control state 
8406 object was allocated and freed for each execution of the loop. The 
8407 optimization is to simply reuse the control state for each iteration. 
8408 This 
8409 speeds up the raw loop execution time by about 5%.
8410
8411 Enhanced the implicit return mechanism. For Windows compatibility, return 
8412 an 
8413 implicit integer of value zero for methods that contain no executable 
8414 code. 
8415 Such methods are seen in the field as stubs (presumably), and can cause 
8416 drivers to fail if they expect a return value. Lin Ming.
8417
8418 Allow multiple backslashes as root prefixes in namepaths. In a fully 
8419 qualified namepath, allow multiple backslash prefixes. This can happen 
8420 (and 
8421 is seen in the field) because of the use of a double-backslash in strings 
8422 (since backslash is the escape character) causing confusion. ACPICA BZ 
8423 739 
8424 Lin Ming.
8425
8426 Emit a warning if two different FACS or DSDT tables are discovered in the 
8427 FADT. Checks if there are two valid but different addresses for the FACS 
8428 and 
8429 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
8430
8431 Consolidated the method argument count validation code. Merged the code 
8432 that 
8433 validates control method argument counts into the predefined validation 
8434 module. Eliminates possible multiple warnings for incorrect argument 
8435 counts.
8436
8437 Implemented ACPICA example code. Includes code for ACPICA initialization, 
8438 handler installation, and calling a control method. Available at 
8439 source/tools/examples.
8440
8441 Added a global pointer for FACS table to simplify internal FACS access. 
8442 Use 
8443 the global pointer instead of using AcpiGetTableByIndex for each FACS 
8444 access. 
8445 This simplifies the code for the Global Lock and the Firmware Waking 
8446 Vector(s).
8447
8448 Example Code and Data Size: These are the sizes for the OS-independent 
8449 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8450 debug version of the code includes the debug output trace mechanism and 
8451 has a 
8452 much larger code and data size.
8453
8454   Previous Release:
8455     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8456     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8457   Current Release:
8458     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8459     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8460
8461 2) iASL Compiler/Disassembler and Tools:
8462
8463 iASL: Improved disassembly of external method calls. Added the -e option 
8464 to 
8465 allow the inclusion of additional ACPI tables to help with the 
8466 disassembly 
8467 of 
8468 method invocations and the generation of external declarations during the 
8469 disassembly. Certain external method invocations cannot be disassembled 
8470 properly without the actual declaration of the method. Use the -e option 
8471 to 
8472 include the table where the external method(s) are actually declared. 
8473 Most 
8474 useful for disassembling SSDTs that make method calls back to the master 
8475 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
8476 -d 
8477 -e dsdt.aml ssdt1.aml
8478
8479 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
8480 problem where the use of an alias within a namepath would result in a not 
8481 found error or cause the compiler to fault. Also now allows forward 
8482 references from the Alias operator itself. ACPICA BZ 738.
8483
8484 ----------------------------------------
8485 26 September 2008. Summary of changes for version 20080926:
8486
8487 1) ACPI CA Core Subsystem:
8488
8489 Designed and implemented a mechanism to validate predefined ACPI methods 
8490 and 
8491 objects. This code validates the predefined ACPI objects (objects whose 
8492 names 
8493 start with underscore) that appear in the namespace, at the time they are 
8494 evaluated. The argument count and the type of the returned object are 
8495 validated against the ACPI specification. The purpose of this validation 
8496 is 
8497 to detect problems with the BIOS-implemented predefined ACPI objects 
8498 before 
8499 the results are returned to the ACPI-related drivers. Future enhancements 
8500 may 
8501 include actual repair of incorrect return objects where possible. Two new 
8502 files are nspredef.c and acpredef.h.
8503
8504 Fixed a fault in the AML parser if a memory allocation fails during the 
8505 Op 
8506 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
8507
8508 Fixed an issue with implicit return compatibility. This change improves 
8509 the 
8510 implicit return mechanism to be more compatible with the MS interpreter. 
8511 Lin 
8512 Ming, ACPICA BZ 349.
8513
8514 Implemented support for zero-length buffer-to-string conversions. Allow 
8515 zero 
8516 length strings during interpreter buffer-to-string conversions. For 
8517 example, 
8518 during the ToDecimalString and ToHexString operators, as well as implicit 
8519 conversions. Fiodor Suietov, ACPICA BZ 585.
8520
8521 Fixed two possible memory leaks in the error exit paths of 
8522 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
8523 are 
8524 similar in that they use a stack of state objects in order to eliminate 
8525 recursion. The stack must be fully unwound and deallocated if an error 
8526 occurs. Lin Ming. ACPICA BZ 383.
8527
8528 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
8529 global 
8530 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
8531 Moore ACPICA BZ 442.
8532
8533 Removed the obsolete version number in module headers. Removed the 
8534 "$Revision" number that appeared in each module header. This version 
8535 number 
8536 was useful under SourceSafe and CVS, but has no meaning under git. It is 
8537 not 
8538 only incorrect, it could also be misleading.
8539
8540 Example Code and Data Size: These are the sizes for the OS-independent 
8541 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8542 debug version of the code includes the debug output trace mechanism and 
8543 has a 
8544 much larger code and data size.
8545
8546   Previous Release:
8547     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8548     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8549   Current Release:
8550     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8551     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8552
8553 ----------------------------------------
8554 29 August 2008. Summary of changes for version 20080829:
8555
8556 1) ACPI CA Core Subsystem:
8557
8558 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
8559 Reference. Changes include the elimination of cheating on the Object 
8560 field 
8561 for the DdbHandle subtype, addition of a reference class field to 
8562 differentiate the various reference types (instead of an AML opcode), and 
8563 the 
8564 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
8565
8566 Reduce an error to a warning for an incorrect method argument count. 
8567 Previously aborted with an error if too few arguments were passed to a 
8568 control method via the external ACPICA interface. Now issue a warning 
8569 instead 
8570 and continue. Handles the case where the method inadvertently declares 
8571 too 
8572 many arguments, but does not actually use the extra ones. Applies mainly 
8573 to 
8574 the predefined methods. Lin Ming. Linux BZ 11032.
8575
8576 Disallow the evaluation of named object types with no intrinsic value. 
8577 Return 
8578 AE_TYPE for objects that have no value and therefore evaluation is 
8579 undefined: 
8580 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
8581 of 
8582 these types were allowed, but an exception would be generated at some 
8583 point 
8584 during the evaluation. Now, the error is generated up front.
8585
8586 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
8587 (nsnames.c). Fixes a leak in the error exit path.
8588
8589 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
8590 debug 
8591 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
8592 ACPI_EXCEPTION 
8593 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
8594 ACPI_LV_EVENTS.
8595
8596 Removed obsolete and/or unused exception codes from the acexcep.h header. 
8597 There is the possibility that certain device drivers may be affected if 
8598 they 
8599 use any of these exceptions.
8600
8601 The ACPICA documentation has been added to the public git source tree, 
8602 under 
8603 acpica/documents. Included are the ACPICA programmer reference, the iASL 
8604 compiler reference, and the changes.txt release logfile.
8605
8606 Example Code and Data Size: These are the sizes for the OS-independent 
8607 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8608 debug version of the code includes the debug output trace mechanism and 
8609 has a 
8610 much larger code and data size.
8611
8612   Previous Release:
8613     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8614     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8615   Current Release:
8616     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8617     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8618
8619 2) iASL Compiler/Disassembler and Tools:
8620
8621 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
8622 defines _SCP with 3 arguments. Previous versions defined it with only 1 
8623 argument. iASL now allows both definitions.
8624
8625 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
8626 zero-
8627 length subtables when disassembling ACPI tables. Also fixed a couple of 
8628 errors where a full 16-bit table type field was not extracted from the 
8629 input 
8630 properly.
8631
8632 acpisrc: Improve comment counting mechanism for generating source code 
8633 statistics. Count first and last lines of multi-line comments as 
8634 whitespace, 
8635 not comment lines. Handle Linux legal header in addition to standard 
8636 acpica 
8637 header.
8638
8639 ----------------------------------------
8640
8641 29 July 2008. Summary of changes for version 20080729:
8642
8643 1) ACPI CA Core Subsystem:
8644
8645 Fix a possible deadlock in the GPE dispatch. Remove call to 
8646 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
8647 attempt 
8648 to acquire the GPE lock but can deadlock since the GPE lock is already 
8649 held 
8650 at dispatch time. This code was introduced in version 20060831 as a 
8651 response 
8652 to Linux BZ 6881 and has since been removed from Linux.
8653
8654 Add a function to dereference returned reference objects. Examines the 
8655 return 
8656 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
8657 are 
8658 automatically dereferenced in an attempt to return something useful 
8659 (these 
8660 reference types cannot be converted into an external ACPI_OBJECT.) 
8661 Provides 
8662 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
8663
8664 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
8665 subtables for the MADT and one new subtable for the SRAT. Includes 
8666 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
8667 x2APIC 
8668 Specification, June 2008.
8669
8670 Additional error checking for pathname utilities. Add error check after 
8671 all 
8672 calls to AcpiNsGetPathnameLength. Add status return from 
8673 AcpiNsBuildExternalPath and check after all calls. Add parameter 
8674 validation 
8675 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
8676
8677 Return status from the global init function AcpiUtGlobalInitialize. This 
8678 is 
8679 used by both the kernel subsystem and the utilities such as iASL 
8680 compiler. 
8681 The function could possibly fail when the caches are initialized. Yang 
8682 Yi.
8683
8684 Add a function to decode reference object types to strings. Created for 
8685 improved error messages. 
8686
8687 Improve object conversion error messages. Better error messages during 
8688 object 
8689 conversion from internal to the external ACPI_OBJECT. Used for external 
8690 calls 
8691 to AcpiEvaluateObject.
8692
8693 Example Code and Data Size: These are the sizes for the OS-independent 
8694 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8695 debug version of the code includes the debug output trace mechanism and 
8696 has a 
8697 much larger code and data size.
8698
8699   Previous Release:
8700     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8701     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8702   Current Release:
8703     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8704     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8705
8706 2) iASL Compiler/Disassembler and Tools:
8707
8708 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
8709 problem 
8710 introduced in version 20080701. If the object being evaluated (via 
8711 execute 
8712 command) is not a method, the debugger can hang while trying to obtain 
8713 non-
8714 existent parameters.
8715
8716 iASL: relax error for using reserved "_T_x" identifiers. These names can 
8717 appear in a disassembled ASL file if they were emitted by the original 
8718 compiler. Instead of issuing an error or warning and forcing the user to 
8719 manually change these names, issue a remark instead.
8720
8721 iASL: error if named object created in while loop. Emit an error if any 
8722 named 
8723 object is created within a While loop. If allowed, this code will 
8724 generate 
8725
8726 run-time error on the second iteration of the loop when an attempt is 
8727 made 
8728 to 
8729 create the same named object twice. ACPICA bugzilla 730.
8730
8731 iASL: Support absolute pathnames for include files. Add support for 
8732 absolute 
8733 pathnames within the Include operator. previously, only relative 
8734 pathnames 
8735 were supported.
8736
8737 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
8738 Descriptor. 
8739 The ACPI spec requires one interrupt minimum. BZ 423
8740
8741 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
8742 Handles the case for the Interrupt Resource Descriptor where
8743 the ResourceSource argument is omitted but ResourceSourceIndex
8744 is present. Now leave room for the Index. BZ 426
8745
8746 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
8747 cases 
8748 where an error message is emitted if the target does not exist. BZ 516
8749
8750 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
8751 (get ACPI tables on Windows). This was apparently broken in version 
8752 20070919.
8753
8754 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
8755 where 
8756 the EOF happens immediately after the last table in the input file. Print 
8757 completion message. Previously, no message was displayed in this case.
8758
8759 ----------------------------------------
8760 01 July 2008. Summary of changes for version 20080701:
8761
8762 0) Git source tree / acpica.org
8763
8764 Fixed a problem where a git-clone from http would not transfer the entire 
8765 source tree.
8766
8767 1) ACPI CA Core Subsystem:
8768
8769 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
8770 enable bit. Now performs a read-change-write of the enable register 
8771 instead 
8772 of simply writing out the cached enable mask. This will prevent 
8773 inadvertent 
8774 enabling of GPEs if a rogue GPE is received during initialization (before 
8775 GPE 
8776 handlers are installed.)
8777
8778 Implemented a copy for dynamically loaded tables. Previously, dynamically 
8779 loaded tables were simply mapped - but on some machines this memory is 
8780 corrupted after suspend. Now copy the table to a local buffer. For the 
8781 OpRegion case, added checksum verify. Use the table length from the table 
8782 header, not the region length. For the Buffer case, use the table length 
8783 also. Dennis Noordsij, Bob Moore. BZ 10734
8784
8785 Fixed a problem where the same ACPI table could not be dynamically loaded 
8786 and 
8787 unloaded more than once. Without this change, a table cannot be loaded 
8788 again 
8789 once it has been loaded/unloaded one time. The current mechanism does not 
8790 unregister a table upon an unload. During a load, if the same table is 
8791 found, 
8792 this no longer returns an exception. BZ 722
8793
8794 Fixed a problem where the wrong descriptor length was calculated for the 
8795 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
8796 EndTag 
8797 are calculated as 12 bytes long, but the actual length in the internal 
8798 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
8799 Reported 
8800 by Linn Crosetto. BZ 728
8801
8802 Fixed a possible memory leak in the Unload operator. The DdbHandle 
8803 returned 
8804 by Load() did not have its reference count decremented during unload, 
8805 leading 
8806 to a memory leak. Lin Ming. BZ 727
8807
8808 Fixed a possible memory leak when deleting thermal/processor objects. Any 
8809 associated notify handlers (and objects) were not being deleted. Fiodor 
8810 Suietov. BZ 506
8811
8812 Fixed the ordering of the ASCII names in the global mutex table to match 
8813 the 
8814 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
8815 only. 
8816 Vegard Nossum. BZ 726
8817
8818 Enhanced the AcpiGetObjectInfo interface to return the number of required 
8819 arguments if the object is a control method. Added this call to the 
8820 debugger 
8821 so the proper number of default arguments are passed to a method. This 
8822 prevents a warning when executing methods from AcpiExec.
8823
8824 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
8825 AE_BAD_PARAMETER if input handle is invalid. BZ 474
8826
8827 Fixed an extraneous warning from exconfig.c on the 64-bit build.
8828
8829 Example Code and Data Size: These are the sizes for the OS-independent 
8830 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8831 debug version of the code includes the debug output trace mechanism and 
8832 has a 
8833 much larger code and data size.
8834
8835   Previous Release:
8836     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8837     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8838   Current Release:
8839     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8840     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8841
8842 2) iASL Compiler/Disassembler and Tools:
8843
8844 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
8845 resource descriptor names.
8846
8847 iASL: Detect invalid ASCII characters in input (windows version). Removed 
8848 the 
8849 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
8850 characters in the input. BZ 441
8851
8852 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
8853 the 
8854 "result of operation not used" warning when the DDB handle returned from 
8855 LoadTable is not used. The warning is not needed. BZ 590
8856
8857 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
8858 method 
8859 to 
8860 pass address of table to the AML. Added option to disable OpRegion 
8861 simulation 
8862 to allow creation of an OpRegion with a real address that was passed to 
8863 _CFG. 
8864 All of this allows testing of the Load and Unload operators from 
8865 AcpiExec.
8866
8867 Debugger: update tables command for unloaded tables. Handle unloaded 
8868 tables 
8869 and use the standard table header output routine.
8870
8871 ----------------------------------------
8872 09 June 2008. Summary of changes for version 20080609:
8873
8874 1) ACPI CA Core Subsystem:
8875
8876 Implemented a workaround for reversed _PRT entries. A significant number 
8877 of 
8878 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
8879 change dynamically detects and repairs this problem. Provides 
8880 compatibility 
8881 with MS ACPI. BZ 6859
8882
8883 Simplified the internal ACPI hardware interfaces to eliminate the locking 
8884 flag parameter from Register Read/Write. Added a new external interface, 
8885 AcpiGetRegisterUnlocked.
8886
8887 Fixed a problem where the invocation of a GPE control method could hang. 
8888 This 
8889 was a regression introduced in 20080514. The new method argument count 
8890 validation mechanism can enter an infinite loop when a GPE method is 
8891 dispatched. Problem fixed by removing the obsolete code that passed GPE 
8892 block 
8893 information to the notify handler via the control method parameter 
8894 pointer.
8895
8896 Fixed a problem where the _SST execution status was incorrectly returned 
8897 to 
8898 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
8899 in 
8900 20080514. _SST is optional and a NOT_FOUND exception should never be 
8901 returned. BZ 716
8902
8903 Fixed a problem where a deleted object could be accessed from within the 
8904 AML 
8905 parser. This was a regression introduced in version 20080123 as a fix for 
8906 the 
8907 Unload operator. Lin Ming. BZ 10669
8908
8909 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
8910 operands 
8911 and eliminated the use of a negative index in a loop. Operands are now 
8912 displayed in the correct order, not backwards. This also fixes a 
8913 regression 
8914 introduced in 20080514 on 64-bit systems where the elimination of 
8915 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
8916 715
8917
8918 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
8919 exit 
8920 path did not delete a locally allocated structure.
8921
8922 Updated definitions for the DMAR and SRAT tables to synchronize with the 
8923 current specifications. Includes disassembler support.
8924
8925 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
8926 loop termination value was used. Loop terminated on iteration early, 
8927 missing 
8928 one mutex. Linn Crosetto
8929
8930 Example Code and Data Size: These are the sizes for the OS-independent 
8931 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8932 debug version of the code includes the debug output trace mechanism and 
8933 has a 
8934 much larger code and data size.
8935
8936   Previous Release:
8937     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8938     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8939   Current Release:
8940     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8941     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8942
8943 2) iASL Compiler/Disassembler and Tools:
8944
8945 Disassembler: Implemented support for EisaId() within _CID objects. Now 
8946 disassemble integer _CID objects back to EisaId invocations, including 
8947 multiple integers within _CID packages. Includes single-step support for 
8948 debugger also.
8949
8950 Disassembler: Added support for DMAR and SRAT table definition changes.
8951
8952 ----------------------------------------
8953 14 May 2008. Summary of changes for version 20080514:
8954
8955 1) ACPI CA Core Subsystem:
8956
8957 Fixed a problem where GPEs were enabled too early during the ACPICA 
8958 initialization. This could lead to "handler not installed" errors on some 
8959 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
8960 This 
8961 ensures that all operation regions and devices throughout the namespace 
8962 have 
8963 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
8964
8965 Implemented a change to the enter sleep code. Moved execution of the _GTS 
8966 method to just before setting sleep enable bit. The execution was moved 
8967 from 
8968 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
8969 immediately before the SLP_EN bit is set, as per the ACPI specification. 
8970 Luming Yu, BZ 1653.
8971
8972 Implemented a fix to disable unknown GPEs (2nd version). Now always 
8973 disable 
8974 the GPE, even if ACPICA thinks that that it is already disabled. It is 
8975 possible that the AML or some other code has enabled the GPE unbeknownst 
8976 to 
8977 the ACPICA code.
8978
8979 Fixed a problem with the Field operator where zero-length fields would 
8980 return 
8981 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
8982 ASL 
8983 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
8984
8985 Implemented a fix for the Load operator, now load the table at the 
8986 namespace 
8987 root. This reverts a change introduced in version 20071019. The table is 
8988 now 
8989 loaded at the namespace root even though this goes against the ACPI 
8990 specification. This provides compatibility with other ACPI 
8991 implementations. 
8992 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
8993 Ming.
8994
8995 Fixed a problem where ACPICA would not Load() tables with unusual 
8996 signatures. 
8997 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
8998 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
8999 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
9000 such 
9001 signatures, ACPICA must be compatible. BZ 10454.
9002
9003 Fixed a possible negative array index in AcpiUtValidateException. Added 
9004 NULL 
9005 fields to the exception string arrays to eliminate a -1 subtraction on 
9006 the 
9007 SubStatus field.
9008
9009 Updated the debug tracking macros to reduce overall code and data size. 
9010 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
9011 instead of pointers to static strings. Jan Beulich and Bob Moore.
9012
9013 Implemented argument count checking in control method invocation via 
9014 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
9015 too 
9016 many. This applies only to extern programmatic control method execution, 
9017 not 
9018 method-to-method calls within the AML. Lin Ming.
9019
9020 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
9021 no 
9022 longer needed, especially with the removal of 16-bit support. It was 
9023 replaced 
9024 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
9025 bit 
9026 on 
9027 32/64-bit platforms is required.
9028
9029 Added the C const qualifier for appropriate string constants -- mostly 
9030 MODULE_NAME and printf format strings. Jan Beulich.
9031
9032 Example Code and Data Size: These are the sizes for the OS-independent 
9033 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9034 debug version of the code includes the debug output trace mechanism and 
9035 has a 
9036 much larger code and data size.
9037
9038   Previous Release:
9039     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
9040     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
9041   Current Release:
9042     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
9043     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
9044
9045 2) iASL Compiler/Disassembler and Tools:
9046
9047 Implemented ACPI table revision ID validation in the disassembler. Zero 
9048 is 
9049 always invalid. For DSDTs, the ID controls the interpreter integer width. 
9050
9051 means 32-bit and this is unusual. 2 or greater is 64-bit.
9052
9053 ----------------------------------------
9054 21 March 2008. Summary of changes for version 20080321:
9055
9056 1) ACPI CA Core Subsystem:
9057
9058 Implemented an additional change to the GPE support in order to suppress 
9059 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
9060 permanently 
9061 disable incoming GPEs that are neither enabled nor disabled -- meaning 
9062 that 
9063 the GPE is unknown to the system. This should prevent future interrupt 
9064 floods 
9065 from that GPE. BZ 6217 (Zhang Rui)
9066
9067 Fixed a problem where NULL package elements were not returned to the 
9068 AcpiEvaluateObject interface correctly. The element was simply ignored 
9069 instead of returning a NULL ACPI_OBJECT package element, potentially 
9070 causing 
9071 a buffer overflow and/or confusing the caller who expected a fixed number 
9072 of 
9073 elements. BZ 10132 (Lin Ming, Bob Moore)
9074
9075 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
9076 Dword, 
9077 Qword), Field, BankField, and IndexField operators when invoked from 
9078 inside 
9079 an executing control method. In this case, these operators created 
9080 namespace 
9081 nodes that were incorrectly left marked as permanent nodes instead of 
9082 temporary nodes. This could cause a problem if there is race condition 
9083 between an exiting control method and a running namespace walk. (Reported 
9084 by 
9085 Linn Crosetto)
9086
9087 Fixed a problem where the CreateField and CreateXXXField operators would 
9088 incorrectly allow duplicate names (the name of the field) with no 
9089 exception 
9090 generated.
9091
9092 Implemented several changes for Notify handling. Added support for new 
9093 Notify 
9094 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
9095 PowerResource objects is no longer allowed, as per the ACPI 
9096 specification. 
9097 (Bob Moore, Zhang Rui)
9098
9099 All Reference Objects returned via the AcpiEvaluateObject interface are 
9100 now 
9101 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
9102 for 
9103 NULL objects - either NULL package elements or unresolved named 
9104 references.
9105
9106 Fixed a problem where an extraneous debug message was produced for 
9107 package 
9108 objects (when debugging enabled). The message "Package List length larger 
9109 than NumElements count" is now produced in the correct case, and is now 
9110 an 
9111 error message rather than a debug message. Added a debug message for the 
9112 opposite case, where NumElements is larger than the Package List (the 
9113 package 
9114 will be padded out with NULL elements as per the ACPI spec.)
9115
9116 Implemented several improvements for the output of the ASL "Debug" object 
9117 to 
9118 clarify and keep all data for a given object on one output line.
9119
9120 Fixed two size calculation issues with the variable-length Start 
9121 Dependent 
9122 resource descriptor.
9123
9124 Example Code and Data Size: These are the sizes for the OS-independent 
9125 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9126 debug version of the code includes the debug output trace mechanism and 
9127 has 
9128 a much larger code and data size.
9129
9130   Previous Release:
9131     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9132     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9133   Current Release:
9134     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
9135     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
9136
9137 2) iASL Compiler/Disassembler and Tools:
9138
9139 Fixed a problem with the use of the Switch operator where execution of 
9140 the 
9141 containing method by multiple concurrent threads could cause an 
9142 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
9143 actual Switch opcode, it must be simulated with local named temporary 
9144 variables and if/else pairs. The solution chosen was to mark any method 
9145 that 
9146 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
9147 469.
9148
9149 ----------------------------------------
9150 13 February 2008. Summary of changes for version 20080213:
9151
9152 1) ACPI CA Core Subsystem:
9153
9154 Implemented another MS compatibility design change for GPE/Notify 
9155 handling. 
9156 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
9157 to 
9158 complete first. It is expected that the OSL will queue the enable request 
9159 behind all pending notify requests (may require changes to the local host 
9160 OSL 
9161 in AcpiOsExecute). Alexey Starikovskiy.
9162
9163 Fixed a problem where buffer and package objects passed as arguments to a 
9164 control method via the external AcpiEvaluateObject interface could cause 
9165 an 
9166 AE_AML_INTERNAL exception depending on the order and type of operators 
9167 executed by the target control method.
9168
9169 Fixed a problem where resource descriptor size optimization could cause a 
9170 problem when a _CRS resource template is passed to a _SRS method. The 
9171 _SRS 
9172 resource template must use the same descriptors (with the same size) as 
9173 returned from _CRS. This change affects the following resource 
9174 descriptors: 
9175 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
9176 9487)
9177
9178 Fixed a problem where a CopyObject to RegionField, BankField, and 
9179 IndexField 
9180 objects did not perform an implicit conversion as it should. These types 
9181 must 
9182 retain their initial type permanently as per the ACPI specification. 
9183 However, 
9184 a CopyObject to all other object types should not perform an implicit 
9185 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
9186
9187 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
9188 match device CIDs did not examine the entire list of available CIDs, but 
9189 instead aborted on the first non-matching CID. Andrew Patterson.
9190
9191 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
9192 was 
9193 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
9194 truncating the upper dword of a 64-bit value. This macro is only used to 
9195 display debug output, so no incorrect calculations were made. Also, 
9196 reimplemented the macro so that a 64-bit shift is not performed by 
9197 inefficient compilers.
9198
9199 Added missing va_end statements that should correspond with each va_start 
9200 statement.
9201
9202 Example Code and Data Size: These are the sizes for the OS-independent 
9203 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9204 debug version of the code includes the debug output trace mechanism and 
9205 has 
9206 a much larger code and data size.
9207
9208   Previous Release:
9209     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9210     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9211   Current Release:
9212     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9213     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9214
9215 2) iASL Compiler/Disassembler and Tools:
9216
9217 Implemented full disassembler support for the following new ACPI tables: 
9218 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
9219 complicated HEST table. These tables support the Windows Hardware Error 
9220 Architecture (WHEA).
9221
9222 ----------------------------------------
9223 23 January 2008. Summary of changes for version 20080123:
9224
9225 1) ACPI CA Core Subsystem:
9226
9227 Added the 2008 copyright to all module headers and signons. This affects 
9228 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
9229 the tools/utilities.
9230
9231 Fixed a problem with the SizeOf operator when used with Package and 
9232 Buffer 
9233 objects. These objects have deferred execution for some arguments, and 
9234 the 
9235 execution is now completed before the SizeOf is executed. This problem 
9236 caused 
9237 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
9238 BZ 
9239 9558
9240
9241 Implemented an enhancement to the interpreter "slack mode". In the 
9242 absence 
9243 of 
9244 an explicit return or an implicitly returned object from the last 
9245 executed 
9246 opcode, a control method will now implicitly return an integer of value 0 
9247 for 
9248 Microsoft compatibility. (Lin Ming) BZ 392
9249
9250 Fixed a problem with the Load operator where an exception was not 
9251 returned 
9252 in 
9253 the case where the table is already loaded. (Lin Ming) BZ 463
9254
9255 Implemented support for the use of DDBHandles as an Indexed Reference, as 
9256 per 
9257 the ACPI spec. (Lin Ming) BZ 486
9258
9259 Implemented support for UserTerm (Method invocation) for the Unload 
9260 operator 
9261 as per the ACPI spec. (Lin Ming) BZ 580
9262
9263 Fixed a problem with the LoadTable operator where the OemId and 
9264 OemTableId 
9265 input strings could cause unexpected failures if they were shorter than 
9266 the 
9267 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
9268
9269 Implemented support for UserTerm (Method invocation) for the Unload 
9270 operator 
9271 as per the ACPI spec. (Lin Ming) BZ 580
9272
9273 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
9274 HEST, 
9275 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
9276
9277 Example Code and Data Size: These are the sizes for the OS-independent 
9278 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9279 debug version of the code includes the debug output trace mechanism and 
9280 has 
9281 a much larger code and data size.
9282
9283   Previous Release:
9284     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9285     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9286   Current Release:
9287     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9288     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9289
9290 2) iASL Compiler/Disassembler and Tools:
9291
9292 Implemented support in the disassembler for checksum validation on 
9293 incoming 
9294 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
9295 table 
9296 header dump at the start of the disassembly.
9297
9298 Implemented additional debugging information in the namespace listing 
9299 file 
9300 created during compilation. In addition to the namespace hierarchy, the 
9301 full 
9302 pathname to each namespace object is displayed.
9303
9304 Fixed a problem with the disassembler where invalid ACPI tables could 
9305 cause 
9306 faults or infinite loops.
9307
9308 Fixed an unexpected parse error when using the optional "parameter types" 
9309 list in a control method declaration. (Lin Ming) BZ 397
9310
9311 Fixed a problem where two External declarations with the same name did 
9312 not 
9313 cause an error (Lin Ming) BZ 509
9314
9315 Implemented support for full TermArgs (adding Argx, Localx and method 
9316 invocation) for the ParameterData parameter to the LoadTable operator. 
9317 (Lin 
9318 Ming) BZ 583,587
9319
9320 ----------------------------------------
9321 19 December 2007. Summary of changes for version 20071219:
9322
9323 1) ACPI CA Core Subsystem:
9324
9325 Implemented full support for deferred execution for the TermArg string 
9326 arguments for DataTableRegion. This enables forward references and full 
9327 operand resolution for the three string arguments. Similar to 
9328 OperationRegion 
9329 deferred argument execution.) Lin Ming. BZ 430
9330
9331 Implemented full argument resolution support for the BankValue argument 
9332 to 
9333 BankField. Previously, only constants were supported, now any TermArg may 
9334 be 
9335 used. Lin Ming BZ 387, 393
9336
9337 Fixed a problem with AcpiGetDevices where the search of a branch of the 
9338 device tree could be terminated prematurely. In accordance with the ACPI 
9339 specification, the search down the current branch is terminated if a 
9340 device 
9341 is both not present and not functional (instead of just not present.) 
9342 Yakui 
9343 Zhao.
9344
9345 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
9346 if 
9347 the underlying AML code changed the GPE enable registers. Now, any 
9348 unknown 
9349 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
9350 disabled 
9351 instead of simply ignored. Rui Zhang.
9352
9353 Fixed a problem with Index Fields where the Index register was 
9354 incorrectly 
9355 limited to a maximum of 32 bits. Now any size may be used.
9356
9357 Fixed a couple memory leaks associated with "implicit return" objects 
9358 when 
9359 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
9360
9361 Example Code and Data Size: These are the sizes for the OS-independent 
9362 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9363 debug version of the code includes the debug output trace mechanism and 
9364 has 
9365 a much larger code and data size.
9366
9367   Previous Release:
9368     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9369     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9370   Current Release:
9371     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9372     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9373
9374 ----------------------------------------
9375 14 November 2007. Summary of changes for version 20071114:
9376
9377 1) ACPI CA Core Subsystem:
9378
9379 Implemented event counters for each of the Fixed Events, the ACPI SCI 
9380 (interrupt) itself, and control methods executed. Named 
9381 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
9382 These 
9383 should be useful for debugging and statistics.
9384
9385 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
9386 contents of the various event counters. Returns the current values for 
9387 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
9388 AcpiMethodCount. The interface can be expanded in the future if new 
9389 counters 
9390 are added. Device drivers should use this interface rather than access 
9391 the 
9392 counters directly.
9393
9394 Fixed a problem with the FromBCD and ToBCD operators. With some 
9395 compilers, 
9396 the ShortDivide function worked incorrectly, causing problems with the 
9397 BCD 
9398 functions with large input values. A truncation from 64-bit to 32-bit 
9399 inadvertently occurred. Internal BZ 435. Lin Ming
9400
9401 Fixed a problem with Index references passed as method arguments. 
9402 References 
9403 passed as arguments to control methods were dereferenced immediately 
9404 (before 
9405 control was passed to the called method). The references are now 
9406 correctly 
9407 passed directly to the called method. BZ 5389. Lin Ming
9408
9409 Fixed a problem with CopyObject used in conjunction with the Index 
9410 operator. 
9411 The reference was incorrectly dereferenced before the copy. The reference 
9412 is 
9413 now correctly copied. BZ 5391. Lin Ming
9414
9415 Fixed a problem with Control Method references within Package objects. 
9416 These 
9417 references are now correctly generated. This completes the package 
9418 construction overhaul that began in version 20071019.
9419
9420 Example Code and Data Size: These are the sizes for the OS-independent 
9421 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9422 debug version of the code includes the debug output trace mechanism and 
9423 has 
9424 a much larger code and data size.
9425
9426   Previous Release:
9427     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9428     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9429   Current Release:
9430     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9431     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9432
9433
9434 2) iASL Compiler/Disassembler and Tools:
9435
9436 The AcpiExec utility now installs handlers for all of the predefined 
9437 Operation Region types. New types supported are: PCI_Config, CMOS, and 
9438 PCIBARTarget.
9439
9440 Fixed a problem with the 64-bit version of AcpiExec where the extended 
9441 (64-
9442 bit) address fields for the DSDT and FACS within the FADT were not being 
9443 used, causing truncation of the upper 32-bits of these addresses. Lin 
9444 Ming 
9445 and Bob Moore
9446
9447 ----------------------------------------
9448 19 October 2007. Summary of changes for version 20071019:
9449
9450 1) ACPI CA Core Subsystem:
9451
9452 Fixed a problem with the Alias operator when the target of the alias is a 
9453 named ASL operator that opens a new scope -- Scope, Device, 
9454 PowerResource, 
9455 Processor, and ThermalZone. In these cases, any children of the original 
9456 operator could not be accessed via the alias, potentially causing 
9457 unexpected 
9458 AE_NOT_FOUND exceptions. (BZ 9067)
9459
9460 Fixed a problem with the Package operator where all named references were 
9461 created as object references and left otherwise unresolved. According to 
9462 the 
9463 ACPI specification, a Package can only contain Data Objects or references 
9464 to 
9465 control methods. The implication is that named references to Data Objects 
9466 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
9467 immediately upon package creation. This is the approach taken with this 
9468 change. References to all other named objects (Methods, Devices, Scopes, 
9469 etc.) are all now properly created as reference objects. (BZ 5328)
9470
9471 Reverted a change to Notify handling that was introduced in version 
9472 20070508. This version changed the Notify handling from asynchronous to 
9473 fully synchronous (Device driver Notify handling with respect to the 
9474 Notify 
9475 ASL operator). It was found that this change caused more problems than it 
9476 solved and was removed by most users.
9477
9478 Fixed a problem with the Increment and Decrement operators where the type 
9479 of 
9480 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
9481 Lin Ming.
9482
9483 Fixed a problem with the Load and LoadTable operators where the table 
9484 location within the namespace was ignored. Instead, the table was always 
9485 loaded into the root or current scope. Lin Ming.
9486
9487 Fixed a problem with the Load operator when loading a table from a buffer 
9488 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
9489
9490 Fixed a problem with the Debug object where a store of a DdbHandle 
9491 reference 
9492 object to the Debug object could cause a fault.
9493
9494 Added a table checksum verification for the Load operator, in the case 
9495 where 
9496 the load is from a buffer. (BZ 578).
9497
9498 Implemented additional parameter validation for the LoadTable operator. 
9499 The 
9500 length of the input strings SignatureString, OemIdString, and OemTableId 
9501 are 
9502 now checked for maximum lengths. (BZ 582) Lin Ming.
9503
9504 Example Code and Data Size: These are the sizes for the OS-independent 
9505 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9506 debug version of the code includes the debug output trace mechanism and 
9507 has 
9508 a much larger code and data size.
9509
9510   Previous Release:
9511     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9512     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9513   Current Release:
9514     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9515     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9516
9517
9518 2) iASL Compiler/Disassembler:
9519
9520 Fixed a problem where if a single file was specified and the file did not 
9521 exist, no error message was emitted. (Introduced with wildcard support in 
9522 version 20070917.)
9523
9524 ----------------------------------------
9525 19 September 2007. Summary of changes for version 20070919:
9526
9527 1) ACPI CA Core Subsystem:
9528
9529 Designed and implemented new external interfaces to install and remove 
9530 handlers for ACPI table-related events. Current events that are defined 
9531 are 
9532 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
9533 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
9534 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
9535
9536 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
9537 (acpi_serialized option on Linux) could cause some systems to hang during 
9538 initialization. (Bob Moore) BZ 8171
9539
9540 Fixed a problem where objects of certain types (Device, ThermalZone, 
9541 Processor, PowerResource) can be not found if they are declared and 
9542 referenced from within the same control method (Lin Ming) BZ 341
9543
9544 Example Code and Data Size: These are the sizes for the OS-independent 
9545 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9546 debug version of the code includes the debug output trace mechanism and 
9547 has 
9548 a much larger code and data size.
9549
9550   Previous Release:
9551     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9552     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9553   Current Release:
9554     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9555     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9556
9557
9558 2) iASL Compiler/Disassembler:
9559
9560 Implemented support to allow multiple files to be compiled/disassembled 
9561 in 
9562
9563 single invocation. This includes command line wildcard support for both 
9564 the 
9565 Windows and Unix versions of the compiler. This feature simplifies the 
9566 disassembly and compilation of multiple ACPI tables in a single 
9567 directory.
9568
9569 ----------------------------------------
9570 08 May 2007. Summary of changes for version 20070508:
9571
9572 1) ACPI CA Core Subsystem:
9573
9574 Implemented a Microsoft compatibility design change for the handling of 
9575 the 
9576 Notify AML operator. Previously, notify handlers were dispatched and 
9577 executed completely asynchronously in a deferred thread. The new design 
9578 still executes the notify handlers in a different thread, but the 
9579 original 
9580 thread that executed the Notify() now waits at a synchronization point 
9581 for 
9582 the notify handler to complete. Some machines depend on a synchronous 
9583 Notify 
9584 operator in order to operate correctly.
9585
9586 Implemented support to allow Package objects to be passed as method 
9587 arguments to the external AcpiEvaluateObject interface. Previously, this 
9588 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
9589 implemented since there were no reserved control methods that required it 
9590 until recently.
9591
9592 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
9593 that 
9594 contained invalid non-zero values in reserved fields could cause later 
9595 failures because these fields have meaning in later revisions of the 
9596 FADT. 
9597 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
9598 fields 
9599 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
9600
9601 Fixed a problem where the Global Lock handle was not properly updated if 
9602
9603 thread that acquired the Global Lock via executing AML code then 
9604 attempted 
9605 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
9606 Joe 
9607 Liu.
9608
9609 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
9610 could be corrupted if the interrupt being removed was at the head of the 
9611 list. Reported by Linn Crosetto.
9612
9613 Example Code and Data Size: These are the sizes for the OS-independent 
9614 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9615 debug version of the code includes the debug output trace mechanism and 
9616 has 
9617 a much larger code and data size.
9618
9619   Previous Release:
9620     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9621     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9622   Current Release:
9623     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9624     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9625
9626 ----------------------------------------
9627 20 March 2007. Summary of changes for version 20070320:
9628
9629 1) ACPI CA Core Subsystem:
9630
9631 Implemented a change to the order of interpretation and evaluation of AML 
9632 operand objects within the AML interpreter. The interpreter now evaluates 
9633 operands in the order that they appear in the AML stream (and the 
9634 corresponding ASL code), instead of in the reverse order (after the 
9635 entire 
9636 operand list has been parsed). The previous behavior caused several 
9637 subtle 
9638 incompatibilities with the Microsoft AML interpreter as well as being 
9639 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
9640
9641 Implemented a change to the ACPI Global Lock support. All interfaces to 
9642 the 
9643 global lock now allow the same thread to acquire the lock multiple times. 
9644 This affects the AcpiAcquireGlobalLock external interface to the global 
9645 lock 
9646 as well as the internal use of the global lock to support AML fields -- a 
9647 control method that is holding the global lock can now simultaneously 
9648 access 
9649 AML fields that require global lock protection. Previously, in both 
9650 cases, 
9651 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
9652 to 
9653 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
9654 Controller. There is no change to the behavior of the AML Acquire 
9655 operator, 
9656 as this can already be used to acquire a mutex multiple times by the same 
9657 thread. BZ 8066. With assistance from Alexey Starikovskiy.
9658
9659 Fixed a problem where invalid objects could be referenced in the AML 
9660 Interpreter after error conditions. During operand evaluation, ensure 
9661 that 
9662 the internal "Return Object" field is cleared on error and only valid 
9663 pointers are stored there. Caused occasional access to deleted objects 
9664 that 
9665 resulted in "large reference count" warning messages. Valery Podrezov.
9666
9667 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
9668 on 
9669 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
9670 Podrezov.
9671
9672 Fixed an internal problem with the handling of result objects on the 
9673 interpreter result stack. BZ 7872. Valery Podrezov.
9674
9675 Removed obsolete code that handled the case where AML_NAME_OP is the 
9676 target 
9677 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
9678 7874. Valery Podrezov.
9679
9680 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
9681 was 
9682
9683 remnant from the previously discontinued 16-bit support.
9684
9685 Example Code and Data Size: These are the sizes for the OS-independent 
9686 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9687 debug version of the code includes the debug output trace mechanism and 
9688 has 
9689 a much larger code and data size.
9690
9691   Previous Release:
9692     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9693     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9694   Current Release:
9695     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9696     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9697
9698 ----------------------------------------
9699 26 January 2007. Summary of changes for version 20070126:
9700
9701 1) ACPI CA Core Subsystem:
9702
9703 Added the 2007 copyright to all module headers and signons. This affects 
9704 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
9705 the utilities.
9706
9707 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
9708 during a table load. A bad pointer was passed in the case where the DSDT 
9709 is 
9710 overridden, causing a fault in this case.
9711
9712 Example Code and Data Size: These are the sizes for the OS-independent 
9713 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9714 debug version of the code includes the debug output trace mechanism and 
9715 has 
9716 a much larger code and data size.
9717
9718   Previous Release:
9719     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9720     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9721   Current Release:
9722     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9723     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9724
9725 ----------------------------------------
9726 15 December 2006. Summary of changes for version 20061215:
9727
9728 1) ACPI CA Core Subsystem:
9729
9730 Support for 16-bit ACPICA has been completely removed since it is no 
9731 longer 
9732 necessary and it clutters the code. All 16-bit macros, types, and 
9733 conditional compiles have been removed, cleaning up and simplifying the 
9734 code 
9735 across the entire subsystem. DOS support is no longer needed since the 
9736 bootable Linux firmware kit is now available.
9737
9738 The handler for the Global Lock is now removed during AcpiTerminate to 
9739 enable a clean subsystem restart, via the implementation of the 
9740 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
9741 HP)
9742
9743 Implemented enhancements to the multithreading support within the 
9744 debugger 
9745 to enable improved multithreading debugging and evaluation of the 
9746 subsystem. 
9747 (Valery Podrezov)
9748
9749 Debugger: Enhanced the Statistics/Memory command to emit the total 
9750 (maximum) 
9751 memory used during the execution, as well as the maximum memory consumed 
9752 by 
9753 each of the various object types. (Valery Podrezov)
9754
9755 Example Code and Data Size: These are the sizes for the OS-independent 
9756 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9757 debug version of the code includes the debug output trace mechanism and 
9758 has 
9759 a much larger code and data size.
9760
9761   Previous Release:
9762     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9763     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9764   Current Release:
9765     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9766     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9767
9768
9769 2) iASL Compiler/Disassembler and Tools:
9770
9771 AcpiExec: Implemented a new option (-m) to display full memory use 
9772 statistics upon subsystem/program termination. (Valery Podrezov)
9773
9774 ----------------------------------------
9775 09 November 2006. Summary of changes for version 20061109:
9776
9777 1) ACPI CA Core Subsystem:
9778
9779 Optimized the Load ASL operator in the case where the source operand is 
9780 an 
9781 operation region. Simply map the operation region memory, instead of 
9782 performing a bytewise read. (Region must be of type SystemMemory, see 
9783 below.)
9784
9785 Fixed the Load ASL operator for the case where the source operand is a 
9786 region field. A buffer object is also allowed as the source operand. BZ 
9787 480
9788
9789 Fixed a problem where the Load ASL operator allowed the source operand to 
9790 be 
9791 an operation region of any type. It is now restricted to regions of type 
9792 SystemMemory, as per the ACPI specification. BZ 481
9793
9794 Additional cleanup and optimizations for the new Table Manager code.
9795
9796 AcpiEnable will now fail if all of the required ACPI tables are not 
9797 loaded 
9798 (FADT, FACS, DSDT). BZ 477
9799
9800 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
9801 this 
9802 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
9803 manually optimized to be aligned and will not work if it is byte-packed. 
9804
9805 Example Code and Data Size: These are the sizes for the OS-independent 
9806 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9807 debug version of the code includes the debug output trace mechanism and 
9808 has 
9809 a much larger code and data size.
9810
9811   Previous Release:
9812     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9813     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9814   Current Release:
9815     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9816     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9817
9818
9819 2) iASL Compiler/Disassembler and Tools:
9820
9821 Fixed a problem where the presence of the _OSI predefined control method 
9822 within complex expressions could cause an internal compiler error.
9823
9824 AcpiExec: Implemented full region support for multiple address spaces. 
9825 SpaceId is now part of the REGION object. BZ 429
9826
9827 ----------------------------------------
9828 11 October 2006. Summary of changes for version 20061011:
9829
9830 1) ACPI CA Core Subsystem:
9831
9832 Completed an AML interpreter performance enhancement for control method 
9833 execution. Previously a 2-pass parse/execution, control methods are now 
9834 completely parsed and executed in a single pass. This improves overall 
9835 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
9836 use. (Valery Podrezov + interpreter changes in version 20051202 that 
9837 eliminated namespace loading during the pass one parse.)
9838
9839 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
9840 not 
9841 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
9842 now 
9843 obtained and also checked for an ID match.
9844
9845 Implemented additional support for the PCI _ADR execution: upsearch until 
9846
9847 device scope is found before executing _ADR. This allows PCI_Config 
9848 operation regions to be declared locally within control methods 
9849 underneath 
9850 PCI device objects.
9851
9852 Fixed a problem with a possible race condition between threads executing 
9853 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
9854 modifying AcpiWalkNamespace to (by default) ignore all temporary 
9855 namespace 
9856 entries created during any concurrent control method execution. An 
9857 additional namespace race condition is known to exist between 
9858 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
9859 investigation.
9860
9861 Restructured the AML ParseLoop function, breaking it into several 
9862 subfunctions in order to reduce CPU stack use and improve 
9863 maintainability. 
9864 (Mikhail Kouzmich)
9865
9866 AcpiGetHandle: Fix for parameter validation to detect invalid 
9867 combinations 
9868 of prefix handle and pathname. BZ 478
9869
9870 Example Code and Data Size: These are the sizes for the OS-independent 
9871 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9872 debug version of the code includes the debug output trace mechanism and 
9873 has 
9874 a much larger code and data size.
9875
9876   Previous Release:
9877     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9878     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9879   Current Release:
9880     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9881     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9882
9883 2) iASL Compiler/Disassembler and Tools:
9884
9885 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
9886 Manager 
9887 to restore original behavior.
9888
9889 ----------------------------------------
9890 27 September 2006. Summary of changes for version 20060927:
9891
9892 1) ACPI CA Core Subsystem:
9893
9894 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
9895 These functions now use a spinlock for mutual exclusion and the interrupt 
9896 level indication flag is not needed.
9897
9898 Fixed a problem with the Global Lock where the lock could appear to be 
9899 obtained before it is actually obtained. The global lock semaphore was 
9900 inadvertently created with one unit instead of zero units. (BZ 464) 
9901 Fiodor 
9902 Suietov.
9903
9904 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
9905 during 
9906 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9907
9908 Example Code and Data Size: These are the sizes for the OS-independent 
9909 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9910 debug version of the code includes the debug output trace mechanism and 
9911 has 
9912 a much larger code and data size.
9913
9914   Previous Release:
9915     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9916     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9917   Current Release:
9918     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9919     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9920
9921
9922 2) iASL Compiler/Disassembler and Tools:
9923
9924 Fixed a compilation problem with the pre-defined Resource Descriptor 
9925 field 
9926 names where an "object does not exist" error could be incorrectly 
9927 generated 
9928 if the parent ResourceTemplate pathname places the template within a 
9929 different namespace scope than the current scope. (BZ 7212)
9930
9931 Fixed a problem where the compiler could hang after syntax errors 
9932 detected 
9933 in an ElseIf construct. (BZ 453)
9934
9935 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
9936 operator. An incorrect output filename was produced when this parameter 
9937 was 
9938 a null string (""). Now, the original input filename is used as the AML 
9939 output filename, with an ".aml" extension.
9940
9941 Implemented a generic batch command mode for the AcpiExec utility 
9942 (execute 
9943 any AML debugger command) (Valery Podrezov).
9944
9945 ----------------------------------------
9946 12 September 2006. Summary of changes for version 20060912:
9947
9948 1) ACPI CA Core Subsystem:
9949
9950 Enhanced the implementation of the "serialized mode" of the interpreter 
9951 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
9952 specified, instead of creating a serialization semaphore per control 
9953 method, 
9954 the interpreter lock is simply no longer released before a blocking 
9955 operation during control method execution. This effectively makes the AML 
9956 Interpreter single-threaded. The overhead of a semaphore per-method is 
9957 eliminated.
9958
9959 Fixed a regression where an error was no longer emitted if a control 
9960 method 
9961 attempts to create 2 objects of the same name. This once again returns 
9962 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
9963 that 
9964 will dynamically serialize the control method to possible prevent future 
9965 errors. (BZ 440)
9966
9967 Integrated a fix for a problem with PCI Express HID detection in the PCI 
9968 Config Space setup procedure. (BZ 7145)
9969
9970 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
9971 AcpiHwInitialize function - the FADT registers are now validated when the 
9972 table is loaded.
9973
9974 Added two new warnings during FADT verification - 1) if the FADT is 
9975 larger 
9976 than the largest known FADT version, and 2) if there is a mismatch 
9977 between 
9978
9979 32-bit block address and the 64-bit X counterpart (when both are non-
9980 zero.)
9981
9982 Example Code and Data Size: These are the sizes for the OS-independent 
9983 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9984 debug version of the code includes the debug output trace mechanism and 
9985 has 
9986 a much larger code and data size.
9987
9988   Previous Release:
9989     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9990     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9991   Current Release:
9992     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9993     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9994
9995
9996 2) iASL Compiler/Disassembler and Tools:
9997
9998 Fixed a problem with the implementation of the Switch() operator where 
9999 the 
10000 temporary variable was declared too close to the actual Switch, instead 
10001 of 
10002 at method level. This could cause a problem if the Switch() operator is 
10003 within a while loop, causing an error on the second iteration. (BZ 460)
10004
10005 Disassembler - fix for error emitted for unknown type for target of scope 
10006 operator. Now, ignore it and continue.
10007
10008 Disassembly of an FADT now verifies the input FADT and reports any errors 
10009 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
10010
10011 Disassembly of raw data buffers with byte initialization data now 
10012 prefixes 
10013 each output line with the current buffer offset.
10014
10015 Disassembly of ASF! table now includes all variable-length data fields at 
10016 the end of some of the subtables.
10017
10018 The disassembler now emits a comment if a buffer appears to be a 
10019 ResourceTemplate, but cannot be disassembled as such because the EndTag 
10020 does 
10021 not appear at the very end of the buffer.
10022
10023 AcpiExec - Added the "-t" command line option to enable the serialized 
10024 mode 
10025 of the AML interpreter.
10026
10027 ----------------------------------------
10028 31 August 2006. Summary of changes for version 20060831:
10029
10030 1) ACPI CA Core Subsystem:
10031
10032 Miscellaneous fixes for the Table Manager:
10033 - Correctly initialize internal common FADT for all 64-bit "X" fields
10034 - Fixed a couple table mapping issues during table load
10035 - Fixed a couple alignment issues for IA64
10036 - Initialize input array to zero in AcpiInitializeTables
10037 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
10038 AcpiGetTableByIndex
10039
10040 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
10041 now 
10042 immediately disabled to prevent the waking GPE from firing again and to 
10043 prevent other wake GPEs from interrupting the wake process.
10044
10045 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
10046 to 
10047 be used for debugging systems with a large number of ACPI interrupts.
10048
10049 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
10050 both the ACPICA headers and the disassembler.
10051
10052 Example Code and Data Size: These are the sizes for the OS-independent 
10053 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10054 debug version of the code includes the debug output trace mechanism and 
10055 has 
10056 a much larger code and data size.
10057
10058   Previous Release:
10059     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10060     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10061   Current Release:
10062     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
10063     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
10064
10065
10066 2) iASL Compiler/Disassembler and Tools:
10067
10068 Disassembler support for the DMAR ACPI table.
10069
10070 ----------------------------------------
10071 23 August 2006. Summary of changes for version 20060823:
10072
10073 1) ACPI CA Core Subsystem:
10074
10075 The Table Manager component has been completely redesigned and 
10076 reimplemented. The new design is much simpler, and reduces the overall 
10077 code 
10078 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
10079 is 
10080 now possible to obtain the ACPI tables very early during kernel 
10081 initialization, even before dynamic memory management is initialized. 
10082 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
10083
10084 Obsolete ACPICA interfaces:
10085
10086 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
10087 init 
10088 time).
10089 - AcpiLoadTable: Not needed.
10090 - AcpiUnloadTable: Not needed.
10091
10092 New ACPICA interfaces:
10093
10094 - AcpiInitializeTables: Must be called before the table manager can be 
10095 used.
10096 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
10097 allocated memory after it becomes available.
10098 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
10099 tables 
10100 in the RSDT/XSDT.
10101
10102 Other ACPICA changes:
10103
10104 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
10105 Use 
10106 AcpiOsUnmapMemory to free this mapping.
10107 - AcpiGetTable returns the actual mapped table. The mapping is managed 
10108 internally and must not be deleted by the caller. Use of this interface 
10109 causes no additional dynamic memory allocation.
10110 - AcpiFindRootPointer: Support for physical addressing has been 
10111 eliminated, 
10112 it appeared to be unused.
10113 - The interface to AcpiOsMapMemory has changed to be consistent with the 
10114 other allocation interfaces.
10115 - The interface to AcpiOsGetRootPointer has changed to eliminate 
10116 unnecessary 
10117 parameters.
10118 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
10119 64-
10120 bit platforms. Was previously 64 bits on all platforms.
10121 - The interface to the ACPI Global Lock acquire/release macros have 
10122 changed 
10123 slightly since ACPICA no longer keeps a local copy of the FACS with a 
10124 constructed pointer to the actual global lock.
10125
10126 Porting to the new table manager:
10127
10128 - AcpiInitializeTables: Must be called once, and can be called anytime 
10129 during the OS initialization process. It allows the host to specify an 
10130 area 
10131 of memory to be used to store the internal version of the RSDT/XSDT (root 
10132 table). This allows the host to access ACPI tables before memory 
10133 management 
10134 is initialized and running.
10135 - AcpiReallocateRootTable: Can be called after memory management is 
10136 running 
10137 to copy the root table to a dynamically allocated array, freeing up the 
10138 scratch memory specified in the call to AcpiInitializeTables.
10139 - AcpiSubsystemInitialize: This existing interface is independent of the 
10140 Table Manager, and does not have to be called before the Table Manager 
10141 can 
10142 be used, it only must be called before the rest of ACPICA can be used.
10143 - ACPI Tables: Some changes have been made to the names and structure of 
10144 the 
10145 actbl.h and actbl1.h header files and may require changes to existing 
10146 code. 
10147 For example, bitfields have been completely removed because of their lack 
10148 of 
10149 portability across C compilers.
10150 - Update interfaces to the Global Lock acquire/release macros if local 
10151 versions are used. (see acwin.h)
10152
10153 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
10154
10155 New files: tbfind.c
10156
10157 Example Code and Data Size: These are the sizes for the OS-independent 
10158 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10159 debug version of the code includes the debug output trace mechanism and 
10160 has 
10161 a much larger code and data size.
10162
10163   Previous Release:
10164     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10165     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10166   Current Release:
10167     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10168     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10169
10170
10171 2) iASL Compiler/Disassembler and Tools:
10172
10173 No changes for this release.
10174
10175 ----------------------------------------
10176 21 July 2006. Summary of changes for version 20060721:
10177
10178 1) ACPI CA Core Subsystem:
10179
10180 The full source code for the ASL test suite used to validate the iASL 
10181 compiler and the ACPICA core subsystem is being released with the ACPICA 
10182 source for the first time. The source is contained in a separate package 
10183 and 
10184 consists of over 1100 files that exercise all ASL/AML operators. The 
10185 package 
10186 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
10187 Fiodor 
10188 Suietov)
10189
10190 Completed a new design and implementation for support of the ACPI Global 
10191 Lock. On the OS side, the global lock is now treated as a standard AML 
10192 mutex. Previously, multiple OS threads could "acquire" the global lock 
10193 simultaneously. However, this could cause the BIOS to be starved out of 
10194 the 
10195 lock - especially in cases such as the Embedded Controller driver where 
10196 there is a tight coupling between the OS and the BIOS.
10197
10198 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
10199 The Global Lock interrupt handler no longer queues the execution of a 
10200 separate thread to signal the global lock semaphore. Instead, the 
10201 semaphore 
10202 is signaled directly from the interrupt handler.
10203
10204 Implemented support within the AML interpreter for package objects that 
10205 contain a larger AML length (package list length) than the package 
10206 element 
10207 count. In this case, the length of the package is truncated to match the 
10208 package element count. Some BIOS code apparently modifies the package 
10209 length 
10210 on the fly, and this change supports this behavior. Provides 
10211 compatibility 
10212 with the MS AML interpreter. (With assistance from Fiodor Suietov)
10213
10214 Implemented a temporary fix for the BankValue parameter of a Bank Field 
10215 to 
10216 support all constant values, now including the Zero and One opcodes. 
10217 Evaluation of this parameter must eventually be converted to a full 
10218 TermArg 
10219 evaluation. A not-implemented error is now returned (temporarily) for 
10220 non-
10221 constant values for this parameter.
10222
10223 Fixed problem reports (Fiodor Suietov) integrated:
10224 - Fix for premature object deletion after CopyObject on Operation Region 
10225 (BZ 
10226 350)
10227
10228 Example Code and Data Size: These are the sizes for the OS-independent 
10229 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10230 debug version of the code includes the debug output trace mechanism and 
10231 has 
10232 a much larger code and data size.
10233
10234   Previous Release:
10235     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
10236     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
10237   Current Release:
10238     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10239     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10240
10241
10242 2) iASL Compiler/Disassembler and Tools:
10243
10244 No changes for this release.
10245
10246 ----------------------------------------
10247 07 July 2006. Summary of changes for version 20060707:
10248
10249 1) ACPI CA Core Subsystem:
10250
10251 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
10252 that do not allow the initialization of address pointers within packed 
10253 structures - even though the hardware itself may support misaligned 
10254 transfers. Some of the debug data structures are packed by default to 
10255 minimize size.
10256
10257 Added an error message for the case where AcpiOsGetThreadId() returns 
10258 zero. 
10259 A non-zero value is required by the core ACPICA code to ensure the proper 
10260 operation of AML mutexes and recursive control methods.
10261
10262 The DSDT is now the only ACPI table that determines whether the AML 
10263 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
10264 but 
10265 the hooks for per-table 32/64 switching have been removed from the code. 
10266
10267 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
10268
10269 Fixed a possible leak of an OwnerID in the error path of 
10270 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
10271 deletion to a single place in AcpiTbUninstallTable to correct possible 
10272 leaks 
10273 when using the AcpiTbDeleteTablesByType interface (with assistance from 
10274 Lance Ortiz.)
10275
10276 Fixed a problem with Serialized control methods where the semaphore 
10277 associated with the method could be over-signaled after multiple method 
10278 invocations.
10279
10280 Fixed two issues with the locking of the internal namespace data 
10281 structure. 
10282 Both the Unload() operator and AcpiUnloadTable interface now lock the 
10283 namespace during the namespace deletion associated with the table unload 
10284 (with assistance from Linn Crosetto.)
10285
10286 Fixed problem reports (Valery Podrezov) integrated:
10287 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
10288
10289 Fixed problem reports (Fiodor Suietov) integrated:
10290 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
10291 - On Address Space handler deletion, needless deactivation call (BZ 374)
10292 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
10293 375)
10294 - Possible memory leak, Notify sub-objects of Processor, Power, 
10295 ThermalZone 
10296 (BZ 376)
10297 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
10298 - Minimum Length of RSDT should be validated (BZ 379)
10299 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
10300 Handler (BZ (380)
10301 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
10302 loaded 
10303 (BZ 381)
10304
10305 Example Code and Data Size: These are the sizes for the OS-independent 
10306 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10307 debug version of the code includes the debug output trace mechanism and 
10308 has 
10309 a much larger code and data size.
10310
10311   Previous Release:
10312     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10313     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10314   Current Release:
10315     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10316     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10317
10318
10319 2) iASL Compiler/Disassembler and Tools:
10320
10321 Fixed problem reports:
10322 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
10323 436)
10324
10325 ----------------------------------------
10326 23 June 2006. Summary of changes for version 20060623:
10327
10328 1) ACPI CA Core Subsystem:
10329
10330 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
10331 allows the type to be customized to the host OS for improved efficiency 
10332 (since a spinlock is usually a very small object.)
10333
10334 Implemented support for "ignored" bits in the ACPI registers. According 
10335 to 
10336 the ACPI specification, these bits should be preserved when writing the 
10337 registers via a read/modify/write cycle. There are 3 bits preserved in 
10338 this 
10339 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
10340
10341 Implemented the initial deployment of new OSL mutex interfaces. Since 
10342 some 
10343 host operating systems have separate mutex and semaphore objects, this 
10344 feature was requested. The base code now uses mutexes (and the new mutex 
10345 interfaces) wherever a binary semaphore was used previously. However, for 
10346 the current release, the mutex interfaces are defined as macros to map 
10347 them 
10348 to the existing semaphore interfaces. Therefore, no OSL changes are 
10349 required 
10350 at this time. (See acpiosxf.h)
10351
10352 Fixed several problems with the support for the control method SyncLevel 
10353 parameter. The SyncLevel now works according to the ACPI specification 
10354 and 
10355 in concert with the Mutex SyncLevel parameter, since the current 
10356 SyncLevel 
10357 is a property of the executing thread. Mutual exclusion for control 
10358 methods 
10359 is now implemented with a mutex instead of a semaphore.
10360
10361 Fixed three instances of the use of the C shift operator in the bitfield 
10362 support code (exfldio.c) to avoid the use of a shift value larger than 
10363 the 
10364 target data width. The behavior of C compilers is undefined in this case 
10365 and 
10366 can cause unpredictable results, and therefore the case must be detected 
10367 and 
10368 avoided. (Fiodor Suietov)
10369
10370 Added an info message whenever an SSDT or OEM table is loaded dynamically 
10371 via the Load() or LoadTable() ASL operators. This should improve 
10372 debugging 
10373 capability since it will show exactly what tables have been loaded 
10374 (beyond 
10375 the tables present in the RSDT/XSDT.)
10376
10377 Example Code and Data Size: These are the sizes for the OS-independent 
10378 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10379 debug version of the code includes the debug output trace mechanism and 
10380 has 
10381 a much larger code and data size.
10382
10383   Previous Release:
10384     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10385     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10386   Current Release:
10387     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10388     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10389
10390
10391 2) iASL Compiler/Disassembler and Tools:
10392
10393 No changes for this release.
10394
10395 ----------------------------------------
10396 08 June 2006. Summary of changes for version 20060608:
10397
10398 1) ACPI CA Core Subsystem:
10399
10400 Converted the locking mutex used for the ACPI hardware to a spinlock. 
10401 This 
10402 change should eliminate all problems caused by attempting to acquire a 
10403 semaphore at interrupt level, and it means that all ACPICA external 
10404 interfaces that directly access the ACPI hardware can be safely called 
10405 from 
10406 interrupt level. OSL code that implements the semaphore interfaces should 
10407 be 
10408 able to eliminate any workarounds for being called at interrupt level.
10409
10410 Fixed a regression introduced in 20060526 where the ACPI device 
10411 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
10412 device 
10413 did not have an optional _INI method.
10414
10415 Fixed an IndexField issue where a write to the Data Register should be 
10416 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
10417 433, 
10418 Fiodor Suietov)
10419
10420 Fixed problem reports (Valery Podrezov) integrated:
10421 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
10422
10423 Fixed problem reports (Fiodor Suietov) integrated:
10424 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
10425
10426 Removed four global mutexes that were obsolete and were no longer being 
10427 used.
10428
10429 Example Code and Data Size: These are the sizes for the OS-independent 
10430 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10431 debug version of the code includes the debug output trace mechanism and 
10432 has 
10433 a much larger code and data size.
10434
10435   Previous Release:
10436     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10437     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10438   Current Release:
10439     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10440     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10441
10442
10443 2) iASL Compiler/Disassembler and Tools:
10444
10445 Fixed a fault when using -g option (get tables from registry) on Windows 
10446 machines.
10447
10448 Fixed problem reports integrated:
10449 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
10450 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
10451 Suietov)
10452 - Global table revision override (-r) is ignored (BZ 413)
10453
10454 ----------------------------------------
10455 26 May 2006. Summary of changes for version 20060526:
10456
10457 1) ACPI CA Core Subsystem:
10458
10459 Restructured, flattened, and simplified the internal interfaces for 
10460 namespace object evaluation - resulting in smaller code, less CPU stack 
10461 use, 
10462 and fewer interfaces. (With assistance from Mikhail Kouzmich)
10463
10464 Fixed a problem with the CopyObject operator where the first parameter 
10465 was 
10466 not typed correctly for the parser, interpreter, compiler, and 
10467 disassembler. 
10468 Caused various errors and unexpected behavior.
10469
10470 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
10471 produced incorrect results with some C compilers. Since the behavior of C 
10472 compilers when the shift value is larger than the datatype width is 
10473 apparently not well defined, the interpreter now detects this condition 
10474 and 
10475 simply returns zero as expected in all such cases. (BZ 395)
10476
10477 Fixed problem reports (Valery Podrezov) integrated:
10478 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
10479 - Allow interpreter to handle nested method declarations (BZ 5361)
10480
10481 Fixed problem reports (Fiodor Suietov) integrated:
10482 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
10483 355)
10484 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
10485 356)
10486 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
10487 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
10488 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
10489 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
10490 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
10491 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
10492 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
10493 365)
10494 - Status of the Global Initialization Handler call not used (BZ 366)
10495 - Incorrect object parameter to Global Initialization Handler (BZ 367)
10496
10497 Example Code and Data Size: These are the sizes for the OS-independent 
10498 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10499 debug version of the code includes the debug output trace mechanism and 
10500 has 
10501 a much larger code and data size.
10502
10503   Previous Release:
10504     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10505     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10506   Current Release:
10507     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10508     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10509
10510
10511 2) iASL Compiler/Disassembler and Tools:
10512
10513 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
10514 namespace identifiers with no collision with existing resource descriptor 
10515 macro names. This provides compatibility with other ASL compilers and is 
10516 most useful for disassembly/recompilation of existing tables without 
10517 parse 
10518 errors. (With assistance from Thomas Renninger)
10519
10520 Disassembler: fixed an incorrect disassembly problem with the 
10521 DataTableRegion and CopyObject operators. Fixed a possible fault during 
10522 disassembly of some Alias operators.
10523
10524 ----------------------------------------
10525 12 May 2006. Summary of changes for version 20060512:
10526
10527 1) ACPI CA Core Subsystem:
10528
10529 Replaced the AcpiOsQueueForExecution interface with a new interface named 
10530 AcpiOsExecute. The major difference is that the new interface does not 
10531 have 
10532 a Priority parameter, this appeared to be useless and has been replaced 
10533 by 
10534
10535 Type parameter. The Type tells the host what type of execution is being 
10536 requested, such as global lock handler, notify handler, GPE handler, etc. 
10537 This allows the host to queue and execute the request as appropriate for 
10538 the 
10539 request type, possibly using different work queues and different 
10540 priorities 
10541 for the various request types. This enables fixes for multithreading 
10542 deadlock problems such as BZ #5534, and will require changes to all 
10543 existing 
10544 OS interface layers. (Alexey Starikovskiy and Bob Moore)
10545
10546 Fixed a possible memory leak associated with the support for the so-
10547 called 
10548 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
10549 Suietov)
10550
10551 Fixed a problem with the Load() operator where a table load from an 
10552 operation region could overwrite an internal table buffer by up to 7 
10553 bytes 
10554 and cause alignment faults on IPF systems. (With assistance from Luming 
10555 Yu)
10556
10557 Example Code and Data Size: These are the sizes for the OS-independent 
10558 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10559 debug version of the code includes the debug output trace mechanism and 
10560 has 
10561 a much larger code and data size.
10562
10563   Previous Release:
10564     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10565     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10566   Current Release:
10567     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10568     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10569
10570
10571
10572 2) iASL Compiler/Disassembler and Tools:
10573
10574 Disassembler: Implemented support to cross reference the internal 
10575 namespace 
10576 and automatically generate ASL External() statements for symbols not 
10577 defined 
10578 within the current table being disassembled. This will simplify the 
10579 disassembly and recompilation of interdependent tables such as SSDTs 
10580 since 
10581 these statements will no longer have to be added manually.
10582
10583 Disassembler: Implemented experimental support to automatically detect 
10584 invocations of external control methods and generate appropriate 
10585 External() 
10586 statements. This is problematic because the AML cannot be correctly 
10587 parsed 
10588 until the number of arguments for each control method is known. 
10589 Currently, 
10590 standalone method invocations and invocations as the source operand of a 
10591 Store() statement are supported.
10592
10593 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
10594 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
10595 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
10596 more readable and likely closer to the original ASL source.
10597
10598 ----------------------------------------
10599 21 April 2006. Summary of changes for version 20060421:
10600
10601 1) ACPI CA Core Subsystem:
10602
10603 Removed a device initialization optimization introduced in 20051216 where 
10604 the _STA method was not run unless an _INI was also present for the same 
10605 device. This optimization could cause problems because it could allow 
10606 _INI 
10607 methods to be run within a not-present device subtree. (If a not-present 
10608 device had no _INI, _STA would not be run, the not-present status would 
10609 not 
10610 be discovered, and the children of the device would be incorrectly 
10611 traversed.)
10612
10613 Implemented a new _STA optimization where namespace subtrees that do not 
10614 contain _INI are identified and ignored during device initialization. 
10615 Selectively running _STA can significantly improve boot time on large 
10616 machines (with assistance from Len Brown.)
10617
10618 Implemented support for the device initialization case where the returned 
10619 _STA flags indicate a device not-present but functioning. In this case, 
10620 _INI 
10621 is not run, but the device children are examined for presence, as per the 
10622 ACPI specification.
10623
10624 Implemented an additional change to the IndexField support in order to 
10625 conform to MS behavior. The value written to the Index Register is not 
10626 simply a byte offset, it is a byte offset in units of the access width of 
10627 the parent Index Field. (Fiodor Suietov)
10628
10629 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
10630 interface is called during the creation of all AML operation regions, and 
10631 allows the host OS to exert control over what addresses it will allow the 
10632 AML code to access. Operation Regions whose addresses are disallowed will 
10633 cause a runtime exception when they are actually accessed (will not 
10634 affect 
10635 or abort table loading.) See oswinxf or osunixxf for an example 
10636 implementation.
10637
10638 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
10639 interface allows the host OS to match the various "optional" 
10640 interface/behavior strings for the _OSI predefined control method as 
10641 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
10642 for an example implementation.
10643
10644 Restructured and corrected various problems in the exception handling 
10645 code 
10646 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
10647 (with assistance from Takayoshi Kochi.)
10648
10649 Modified the Linux source converter to ignore quoted string literals 
10650 while 
10651 converting identifiers from mixed to lower case. This will correct 
10652 problems 
10653 with the disassembler and other areas where such strings must not be 
10654 modified.
10655
10656 The ACPI_FUNCTION_* macros no longer require quotes around the function 
10657 name. This allows the Linux source converter to convert the names, now 
10658 that 
10659 the converter ignores quoted strings.
10660
10661 Example Code and Data Size: These are the sizes for the OS-independent 
10662 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10663 debug version of the code includes the debug output trace mechanism and 
10664 has 
10665 a much larger code and data size.
10666
10667   Previous Release:
10668
10669     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10670     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10671   Current Release:
10672     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10673     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10674
10675
10676 2) iASL Compiler/Disassembler and Tools:
10677
10678 Implemented 3 new warnings for iASL, and implemented multiple warning 
10679 levels 
10680 (w2 flag).
10681
10682 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
10683 not 
10684 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
10685 check for the possible timeout, a warning is issued.
10686
10687 2) Useless operators: If an ASL operator does not specify an optional 
10688 target 
10689 operand and it also does not use the function return value from the 
10690 operator, a warning is issued since the operator effectively does 
10691 nothing.
10692
10693 3) Unreferenced objects: If a namespace object is created, but never 
10694 referenced, a warning is issued. This is a warning level 2 since there 
10695 are 
10696 cases where this is ok, such as when a secondary table is loaded that 
10697 uses 
10698 the unreferenced objects. Even so, care is taken to only flag objects 
10699 that 
10700 don't look like they will ever be used. For example, the reserved methods 
10701 (starting with an underscore) are usually not referenced because it is 
10702 expected that the OS will invoke them.
10703
10704 ----------------------------------------
10705 31 March 2006. Summary of changes for version 20060331:
10706
10707 1) ACPI CA Core Subsystem:
10708
10709 Implemented header file support for the following additional ACPI tables: 
10710 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
10711 support, 
10712 all current and known ACPI tables are now defined in the ACPICA headers 
10713 and 
10714 are available for use by device drivers and other software.
10715
10716 Implemented support to allow tables that contain ACPI names with invalid 
10717 characters to be loaded. Previously, this would cause the table load to 
10718 fail, but since there are several known cases of such tables on existing 
10719 machines, this change was made to enable ACPI support for them. Also, 
10720 this 
10721 matches the behavior of the Microsoft ACPI implementation.
10722
10723 Fixed a couple regressions introduced during the memory optimization in 
10724 the 
10725 20060317 release. The namespace node definition required additional 
10726 reorganization and an internal datatype that had been changed to 8-bit 
10727 was 
10728 restored to 32-bit. (Valery Podrezov)
10729
10730 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
10731 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
10732 null pointers are now trapped and ignored, matching the behavior of the 
10733 previous implementation before the deployment of AcpiOsReleaseObject.
10734 (Valery Podrezov, Fiodor Suietov)
10735
10736 Fixed a memory mapping leak during the deletion of a SystemMemory 
10737 operation 
10738 region where a cached memory mapping was not deleted. This became a 
10739 noticeable problem for operation regions that are defined within 
10740 frequently 
10741 used control methods. (Dana Meyers)
10742
10743 Reorganized the ACPI table header files into two main files: one for the 
10744 ACPI tables consumed by the ACPICA core, and another for the 
10745 miscellaneous 
10746 ACPI tables that are consumed by the drivers and other software. The 
10747 various 
10748 FADT definitions were merged into one common section and three different 
10749 tables (ACPI 1.0, 1.0+, and 2.0)
10750
10751 Example Code and Data Size: These are the sizes for the OS-independent 
10752 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10753 debug version of the code includes the debug output trace mechanism and 
10754 has 
10755 a much larger code and data size.
10756
10757   Previous Release:
10758     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10759     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10760   Current Release:
10761     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10762     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10763
10764
10765 2) iASL Compiler/Disassembler and Tools:
10766
10767 Disassembler: Implemented support to decode and format all non-AML ACPI 
10768 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
10769 added to the ACPICA headers, therefore all current and known ACPI tables 
10770 are 
10771 supported.
10772
10773 Disassembler: The change to allow ACPI names with invalid characters also 
10774 enables the disassembly of such tables. Invalid characters within names 
10775 are 
10776 changed to '*' to make the name printable; the iASL compiler will still 
10777 generate an error for such names, however, since this is an invalid ACPI 
10778 character.
10779
10780 Implemented an option for AcpiXtract (-a) to extract all tables found in 
10781 the 
10782 input file. The default invocation extracts only the DSDTs and SSDTs.
10783
10784 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
10785 makefile for the AcpiXtract utility.
10786
10787 ----------------------------------------
10788 17 March 2006. Summary of changes for version 20060317:
10789
10790 1) ACPI CA Core Subsystem:
10791
10792 Implemented the use of a cache object for all internal namespace nodes. 
10793 Since there are about 1000 static nodes in a typical system, this will 
10794 decrease memory use for cache implementations that minimize per-
10795 allocation 
10796 overhead (such as a slab allocator.)
10797
10798 Removed the reference count mechanism for internal namespace nodes, since 
10799 it 
10800 was deemed unnecessary. This reduces the size of each namespace node by 
10801 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
10802 case, 
10803 and 32 bytes for the 64-bit case.
10804
10805 Optimized several internal data structures to reduce object size on 64-
10806 bit 
10807 platforms by packing data within the 64-bit alignment. This includes the 
10808 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
10809 instances corresponding to the namespace objects.
10810
10811 Added two new strings for the predefined _OSI method: "Windows 2001.1 
10812 SP1" 
10813 and "Windows 2006".
10814
10815 Split the allocation tracking mechanism out to a separate file, from 
10816 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
10817 application-level code. Kernels may wish to not include uttrack.c in 
10818 distributions.
10819
10820 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
10821 associated 
10822 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
10823 macros.)
10824
10825 Code and Data Size: These are the sizes for the acpica.lib produced by 
10826 the 
10827 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10828 ACPI 
10829 driver or OSPM code. The debug version of the code includes the debug 
10830 output 
10831 trace mechanism and has a much larger code and data size. Note that these 
10832 values will vary depending on the efficiency of the compiler and the 
10833 compiler options used during generation.
10834
10835   Previous Release:
10836     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10837     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10838   Current Release:
10839     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10840     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10841
10842
10843 2) iASL Compiler/Disassembler and Tools:
10844
10845 Implemented an ANSI C version of the acpixtract utility. This version 
10846 will 
10847 automatically extract the DSDT and all SSDTs from the input acpidump text 
10848 file and dump the binary output to separate files. It can also display a 
10849 summary of the input file including the headers for each table found and 
10850 will extract any single ACPI table, with any signature. (See 
10851 source/tools/acpixtract)
10852
10853 ----------------------------------------
10854 10 March 2006. Summary of changes for version 20060310:
10855
10856 1) ACPI CA Core Subsystem:
10857
10858 Tagged all external interfaces to the subsystem with the new 
10859 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
10860 assist 
10861 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
10862 macro. The default definition is NULL.
10863
10864 Added the ACPI_THREAD_ID type for the return value from 
10865 AcpiOsGetThreadId. 
10866 This allows the host to define this as necessary to simplify kernel 
10867 integration. The default definition is ACPI_NATIVE_UINT.
10868
10869 Fixed two interpreter problems related to error processing, the deletion 
10870 of 
10871 objects, and placing invalid pointers onto the internal operator result 
10872 stack. BZ 6028, 6151 (Valery Podrezov)
10873
10874 Increased the reference count threshold where a warning is emitted for 
10875 large 
10876 reference counts in order to eliminate unnecessary warnings on systems 
10877 with 
10878 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
10879 0x800.
10880
10881 Due to universal disagreement as to the meaning of the 'c' in the 
10882 calloc() 
10883 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
10884 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
10885 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
10886 ACPI_FREE.
10887
10888 Code and Data Size: These are the sizes for the acpica.lib produced by 
10889 the 
10890 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10891 ACPI 
10892 driver or OSPM code. The debug version of the code includes the debug 
10893 output 
10894 trace mechanism and has a much larger code and data size. Note that these 
10895 values will vary depending on the efficiency of the compiler and the 
10896 compiler options used during generation.
10897
10898   Previous Release:
10899     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10900     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10901   Current Release:
10902     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10903     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10904
10905
10906 2) iASL Compiler/Disassembler:
10907
10908 Disassembler: implemented support for symbolic resource descriptor 
10909 references. If a CreateXxxxField operator references a fixed offset 
10910 within 
10911
10912 resource descriptor, a name is assigned to the descriptor and the offset 
10913 is 
10914 translated to the appropriate resource tag and pathname. The addition of 
10915 this support brings the disassembled code very close to the original ASL 
10916 source code and helps eliminate run-time errors when the disassembled 
10917 code 
10918 is modified (and recompiled) in such a way as to invalidate the original 
10919 fixed offsets.
10920
10921 Implemented support for a Descriptor Name as the last parameter to the 
10922 ASL 
10923 Register() macro. This parameter was inadvertently left out of the ACPI 
10924 specification, and will be added for ACPI 3.0b.
10925
10926 Fixed a problem where the use of the "_OSI" string (versus the full path 
10927 "\_OSI") caused an internal compiler error. ("No back ptr to op")
10928
10929 Fixed a problem with the error message that occurs when an invalid string 
10930 is 
10931 used for a _HID object (such as one with an embedded asterisk: 
10932 "*PNP010A".) 
10933 The correct message is now displayed.
10934
10935 ----------------------------------------
10936 17 February 2006. Summary of changes for version 20060217:
10937
10938 1) ACPI CA Core Subsystem:
10939
10940 Implemented a change to the IndexField support to match the behavior of 
10941 the 
10942 Microsoft AML interpreter. The value written to the Index register is now 
10943
10944 byte offset, no longer an index based upon the width of the Data 
10945 register. 
10946 This should fix IndexField problems seen on some machines where the Data 
10947 register is not exactly one byte wide. The ACPI specification will be 
10948 clarified on this point.
10949
10950 Fixed a problem where several resource descriptor types could overrun the 
10951 internal descriptor buffer due to size miscalculation: VendorShort, 
10952 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
10953 affect all platforms.
10954
10955 Fixed a problem where individual resource descriptors were misaligned 
10956 within 
10957 the internal buffer, causing alignment faults on IA64 platforms.
10958
10959 Code and Data Size: These are the sizes for the acpica.lib produced by 
10960 the 
10961 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10962 ACPI 
10963 driver or OSPM code. The debug version of the code includes the debug 
10964 output 
10965 trace mechanism and has a much larger code and data size. Note that these 
10966 values will vary depending on the efficiency of the compiler and the 
10967 compiler options used during generation.
10968
10969   Previous Release:
10970     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10971     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10972   Current Release:
10973     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10974     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10975
10976
10977 2) iASL Compiler/Disassembler:
10978
10979 Implemented support for new reserved names: _WDG and _WED are Microsoft 
10980 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
10981 defined method (Throttling Depth Limit.)
10982
10983 Fixed a problem where a zero-length VendorShort or VendorLong resource 
10984 descriptor was incorrectly emitted as a descriptor of length one.
10985
10986 ----------------------------------------
10987 10 February 2006. Summary of changes for version 20060210:
10988
10989 1) ACPI CA Core Subsystem:
10990
10991 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
10992 normal execution. These became apparent after the conversion from 
10993 ACPI_DEBUG_PRINT.
10994
10995 Fixed a problem where the CreateField operator could hang if the BitIndex 
10996 or 
10997 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
10998
10999 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
11000 failed with an exception. This also fixes a couple of related RefOf and 
11001 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
11002
11003 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
11004 of 
11005 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
11006 BZ 
11007 5480)
11008
11009 Implemented a memory cleanup at the end of the execution of each 
11010 iteration 
11011 of an AML While() loop, preventing the accumulation of outstanding 
11012 objects. 
11013 (Valery Podrezov, BZ 5427)
11014
11015 Eliminated a chunk of duplicate code in the object resolution code. 
11016 (Valery 
11017 Podrezov, BZ 5336)
11018
11019 Fixed several warnings during the 64-bit code generation.
11020
11021 The AcpiSrc source code conversion tool now inserts one line of 
11022 whitespace 
11023 after an if() statement that is followed immediately by a comment, 
11024 improving 
11025 readability of the Linux code.
11026
11027 Code and Data Size: The current and previous library sizes for the core 
11028 subsystem are shown below. These are the code and data sizes for the 
11029 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11030 These 
11031 values do not include any ACPI driver or OSPM code. The debug version of 
11032 the 
11033 code includes the debug output trace mechanism and has a much larger code 
11034 and data size. Note that these values will vary depending on the 
11035 efficiency 
11036 of the compiler and the compiler options used during generation.
11037
11038   Previous Release:
11039     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
11040     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
11041   Current Release:
11042     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11043     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
11044
11045
11046 2) iASL Compiler/Disassembler:
11047
11048 Fixed a problem with the disassembly of a BankField operator with a 
11049 complex 
11050 expression for the BankValue parameter.
11051
11052 ----------------------------------------
11053 27 January 2006. Summary of changes for version 20060127:
11054
11055 1) ACPI CA Core Subsystem:
11056
11057 Implemented support in the Resource Manager to allow unresolved 
11058 namestring 
11059 references within resource package objects for the _PRT method. This 
11060 support 
11061 is in addition to the previously implemented unresolved reference support 
11062 within the AML parser. If the interpreter slack mode is enabled, these 
11063 unresolved references will be passed through to the caller as a NULL 
11064 package 
11065 entry.
11066
11067 Implemented and deployed new macros and functions for error and warning 
11068 messages across the subsystem. These macros are simpler and generate less 
11069 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
11070 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
11071 macros remain defined to allow ACPI drivers time to migrate to the new 
11072 macros.
11073
11074 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
11075 the 
11076 Acquire/Release Lock OSL interfaces.
11077
11078 Fixed a problem where Alias ASL operators are sometimes not correctly 
11079 resolved, in both the interpreter and the iASL compiler.
11080
11081 Fixed several problems with the implementation of the 
11082 ConcatenateResTemplate 
11083 ASL operator. As per the ACPI specification, zero length buffers are now 
11084 treated as a single EndTag. One-length buffers always cause a fatal 
11085 exception. Non-zero length buffers that do not end with a full 2-byte 
11086 EndTag 
11087 cause a fatal exception.
11088
11089 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
11090 interface. (With assistance from Thomas Renninger)
11091
11092 Code and Data Size: The current and previous library sizes for the core 
11093 subsystem are shown below. These are the code and data sizes for the 
11094 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11095 These 
11096 values do not include any ACPI driver or OSPM code. The debug version of 
11097 the 
11098 code includes the debug output trace mechanism and has a much larger code 
11099 and data size. Note that these values will vary depending on the 
11100 efficiency 
11101 of the compiler and the compiler options used during generation.
11102
11103   Previous Release:
11104     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11105     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11106   Current Release:
11107     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
11108     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
11109
11110
11111 2) iASL Compiler/Disassembler:
11112
11113 Fixed an internal error that was generated for any forward references to 
11114 ASL 
11115 Alias objects.
11116
11117 ----------------------------------------
11118 13 January 2006. Summary of changes for version 20060113:
11119
11120 1) ACPI CA Core Subsystem:
11121
11122 Added 2006 copyright to all module headers and signons. This affects 
11123 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
11124 utilities.
11125  
11126 Enhanced the ACPICA error reporting in order to simplify user migration 
11127 to 
11128 the non-debug version of ACPICA. Replaced all instances of the 
11129 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
11130 debug 
11131 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
11132 respectively. This preserves all error and warning messages in the non-
11133 debug 
11134 version of the ACPICA code (this has been referred to as the "debug lite" 
11135 option.) Over 200 cases were converted to create a total of over 380 
11136 error/warning messages across the ACPICA code. This increases the code 
11137 and 
11138 data size of the default non-debug version of the code somewhat (about 
11139 13K), 
11140 but all error/warning reporting may be disabled if desired (and code 
11141 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
11142 configuration option. The size of the debug version of ACPICA remains 
11143 about 
11144 the same.
11145
11146 Fixed a memory leak within the AML Debugger "Set" command. One object was 
11147 not properly deleted for every successful invocation of the command.
11148
11149 Code and Data Size: The current and previous library sizes for the core 
11150 subsystem are shown below. These are the code and data sizes for the 
11151 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11152 These 
11153 values do not include any ACPI driver or OSPM code. The debug version of 
11154 the 
11155 code includes the debug output trace mechanism and has a much larger code 
11156 and data size. Note that these values will vary depending on the 
11157 efficiency 
11158 of the compiler and the compiler options used during generation.
11159
11160   Previous Release:
11161     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11162     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11163   Current Release:
11164     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11165     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11166
11167
11168 2) iASL Compiler/Disassembler:
11169
11170 The compiler now officially supports the ACPI 3.0a specification that was 
11171 released on December 30, 2005. (Specification is available at 
11172 www.acpi.info)
11173
11174 ----------------------------------------
11175 16 December 2005. Summary of changes for version 20051216:
11176
11177 1) ACPI CA Core Subsystem:
11178
11179 Implemented optional support to allow unresolved names within ASL Package 
11180 objects. A null object is inserted in the package when a named reference 
11181 cannot be located in the current namespace. Enabled via the interpreter 
11182 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
11183 machines 
11184 that contain such code.
11185
11186 Implemented an optimization to the initialization sequence that can 
11187 improve 
11188 boot time. During ACPI device initialization, the _STA method is now run 
11189 if 
11190 and only if the _INI method exists. The _STA method is used to determine 
11191 if 
11192 the device is present; An _INI can only be run if _STA returns present, 
11193 but 
11194 it is a waste of time to run the _STA method if the _INI does not exist. 
11195 (Prototype and assistance from Dong Wei)
11196
11197 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
11198 is 
11199 available in the current compiler. Otherwise, the default (void *) cast 
11200 is 
11201 used as before.
11202
11203 Fixed some possible memory leaks found within the execution path of the 
11204 Break, Continue, If, and CreateField operators. (Valery Podrezov)
11205
11206 Fixed a problem introduced in the 20051202 release where an exception is 
11207 generated during method execution if a control method attempts to declare 
11208 another method.
11209
11210 Moved resource descriptor string constants that are used by both the AML 
11211 disassembler and AML debugger to the common utilities directory so that 
11212 these components are independent.
11213
11214 Implemented support in the AcpiExec utility (-e switch) to globally 
11215 ignore 
11216 exceptions during control method execution (method is not aborted.)
11217
11218 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
11219 generation.
11220
11221 Code and Data Size: The current and previous library sizes for the core 
11222 subsystem are shown below. These are the code and data sizes for the 
11223 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11224 These 
11225 values do not include any ACPI driver or OSPM code. The debug version of 
11226 the 
11227 code includes the debug output trace mechanism and has a much larger code 
11228 and data size. Note that these values will vary depending on the 
11229 efficiency 
11230 of the compiler and the compiler options used during generation.
11231
11232   Previous Release:
11233     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11234     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11235   Current Release:
11236     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11237     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11238
11239
11240 2) iASL Compiler/Disassembler:
11241
11242 Fixed a problem where a CPU stack overflow fault could occur if a 
11243 recursive 
11244 method call was made from within a Return statement.
11245
11246 ----------------------------------------
11247 02 December 2005. Summary of changes for version 20051202:
11248
11249 1) ACPI CA Core Subsystem:
11250
11251 Modified the parsing of control methods to no longer create namespace 
11252 objects during the first pass of the parse. Objects are now created only 
11253 during the execute phase, at the moment the namespace creation operator 
11254 is 
11255 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
11256 This 
11257 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
11258 reentrant control methods are protected by an AML mutex. The mutex will 
11259 now 
11260 correctly block multiple threads from attempting to create the same 
11261 object 
11262 more than once.
11263
11264 Increased the number of available Owner Ids for namespace object tracking 
11265 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
11266 on 
11267 some machines with a large number of ACPI tables (either static or 
11268 dynamic).
11269
11270 Fixed a problem with the AcpiExec utility where a fault could occur when 
11271 the 
11272 -b switch (batch mode) is used.
11273
11274 Enhanced the namespace dump routine to output the owner ID for each 
11275 namespace object.
11276
11277 Code and Data Size: The current and previous library sizes for the core 
11278 subsystem are shown below. These are the code and data sizes for the 
11279 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11280 These 
11281 values do not include any ACPI driver or OSPM code. The debug version of 
11282 the 
11283 code includes the debug output trace mechanism and has a much larger code 
11284 and data size. Note that these values will vary depending on the 
11285 efficiency 
11286 of the compiler and the compiler options used during generation.
11287
11288   Previous Release:
11289     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11290     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11291   Current Release:
11292     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11293     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11294
11295
11296 2) iASL Compiler/Disassembler:
11297
11298 Fixed a parse error during compilation of certain Switch/Case constructs. 
11299 To 
11300 simplify the parse, the grammar now allows for multiple Default 
11301 statements 
11302 and this error is now detected and flagged during the analysis phase.
11303
11304 Disassembler: The disassembly now includes the contents of the original 
11305 table header within a comment at the start of the file. This includes the 
11306 name and version of the original ASL compiler.
11307
11308 ----------------------------------------
11309 17 November 2005. Summary of changes for version 20051117:
11310
11311 1) ACPI CA Core Subsystem:
11312
11313 Fixed a problem in the AML parser where the method thread count could be 
11314 decremented below zero if any errors occurred during the method parse 
11315 phase. 
11316 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
11317 machines. 
11318 This also fixed a related regression with the mechanism that detects and 
11319 corrects methods that cannot properly handle reentrancy (related to the 
11320 deployment of the new OwnerId mechanism.)
11321
11322 Eliminated the pre-parsing of control methods (to detect errors) during 
11323 table load. Related to the problem above, this was causing unwind issues 
11324 if 
11325 any errors occurred during the parse, and it seemed to be overkill. A 
11326 table 
11327 load should not be aborted if there are problems with any single control 
11328 method, thus rendering this feature rather pointless.
11329
11330 Fixed a problem with the new table-driven resource manager where an 
11331 internal 
11332 buffer overflow could occur for small resource templates.
11333
11334 Implemented a new external interface, AcpiGetVendorResource. This 
11335 interface 
11336 will find and return a vendor-defined resource descriptor within a _CRS 
11337 or 
11338 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
11339 Helgaas.
11340
11341 Removed the length limit (200) on string objects as per the upcoming ACPI 
11342 3.0A specification. This affects the following areas of the interpreter: 
11343 1) 
11344 any implicit conversion of a Buffer to a String, 2) a String object 
11345 result 
11346 of the ASL Concatentate operator, 3) the String object result of the ASL 
11347 ToString operator.
11348
11349 Fixed a problem in the Windows OS interface layer (OSL) where a 
11350 WAIT_FOREVER 
11351 on a semaphore object would incorrectly timeout. This allows the 
11352 multithreading features of the AcpiExec utility to work properly under 
11353 Windows.
11354
11355 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
11356 the recently added file named "utresrc.c".
11357
11358 Code and Data Size: The current and previous library sizes for the core 
11359 subsystem are shown below. These are the code and data sizes for the 
11360 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11361 These 
11362 values do not include any ACPI driver or OSPM code. The debug version of 
11363 the 
11364 code includes the debug output trace mechanism and has a much larger code 
11365 and data size. Note that these values will vary depending on the 
11366 efficiency 
11367 of the compiler and the compiler options used during generation.
11368
11369   Previous Release:
11370     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11371     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11372   Current Release:
11373     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11374     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11375
11376
11377 2) iASL Compiler/Disassembler:
11378
11379 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
11380 specification. For the iASL compiler, this means that string literals 
11381 within 
11382 the source ASL can be of any length. 
11383
11384 Enhanced the listing output to dump the AML code for resource descriptors 
11385 immediately after the ASL code for each descriptor, instead of in a block 
11386 at 
11387 the end of the entire resource template.
11388
11389 Enhanced the compiler debug output to dump the entire original parse tree 
11390 constructed during the parse phase, before any transforms are applied to 
11391 the 
11392 tree. The transformed tree is dumped also.
11393
11394 ----------------------------------------
11395 02 November 2005. Summary of changes for version 20051102:
11396
11397 1) ACPI CA Core Subsystem:
11398
11399 Modified the subsystem initialization sequence to improve GPE support. 
11400 The 
11401 GPE initialization has been split into two parts in order to defer 
11402 execution 
11403 of the _PRW methods (Power Resources for Wake) until after the hardware 
11404 is 
11405 fully initialized and the SCI handler is installed. This allows the _PRW 
11406 methods to access fields protected by the Global Lock. This will fix 
11407 systems 
11408 where a NO_GLOBAL_LOCK exception has been seen during initialization.
11409
11410 Converted the ACPI internal object disassemble and display code within 
11411 the 
11412 AML debugger to fully table-driven operation, reducing code size and 
11413 increasing maintainability.
11414
11415 Fixed a regression with the ConcatenateResTemplate() ASL operator 
11416 introduced 
11417 in the 20051021 release.
11418
11419 Implemented support for "local" internal ACPI object types within the 
11420 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
11421 These local types include RegionFields, BankFields, IndexFields, Alias, 
11422 and 
11423 reference objects.
11424
11425 Moved common AML resource handling code into a new file, "utresrc.c". 
11426 This 
11427 code is shared by both the Resource Manager and the AML Debugger.
11428
11429 Code and Data Size: The current and previous library sizes for the core 
11430 subsystem are shown below. These are the code and data sizes for the 
11431 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11432 These 
11433 values do not include any ACPI driver or OSPM code. The debug version of 
11434 the 
11435 code includes the debug output trace mechanism and has a much larger code 
11436 and data size. Note that these values will vary depending on the 
11437 efficiency 
11438 of the compiler and the compiler options used during generation.
11439
11440   Previous Release:
11441     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11442     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11443   Current Release:
11444     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11445     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11446
11447
11448 2) iASL Compiler/Disassembler:
11449
11450 Fixed a problem with very large initializer lists (more than 4000 
11451 elements) 
11452 for both Buffer and Package objects where the parse stack could overflow.
11453
11454 Enhanced the pre-compile source code scan for non-ASCII characters to 
11455 ignore 
11456 characters within comment fields. The scan is now always performed and is 
11457 no 
11458 longer optional, detecting invalid characters within a source file 
11459 immediately rather than during the parse phase or later.
11460
11461 Enhanced the ASL grammar definition to force early reductions on all 
11462 list-
11463 style grammar elements so that the overall parse stack usage is greatly 
11464 reduced. This should improve performance and reduce the possibility of 
11465 parse 
11466 stack overflow.
11467
11468 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
11469 Also, 
11470 with the addition of a %expected statement, the compiler generates from 
11471 source with no warnings.
11472
11473 Fixed a possible segment fault in the disassembler if the input filename 
11474 does not contain a "dot" extension (Thomas Renninger).
11475
11476 ----------------------------------------
11477 21 October 2005. Summary of changes for version 20051021:
11478
11479 1) ACPI CA Core Subsystem:
11480
11481 Implemented support for the EM64T and other x86-64 processors. This 
11482 essentially entails recognizing that these processors support non-aligned 
11483 memory transfers. Previously, all 64-bit processors were assumed to lack 
11484 hardware support for non-aligned transfers.
11485
11486 Completed conversion of the Resource Manager to nearly full table-driven 
11487 operation. Specifically, the resource conversion code (convert AML to 
11488 internal format and the reverse) and the debug code to dump internal 
11489 resource descriptors are fully table-driven, reducing code and data size 
11490 and 
11491 improving maintainability.
11492
11493 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
11494 word 
11495 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
11496 from 
11497 Alexey Starikovskiy)
11498
11499 Implemented support within the resource conversion code for the Type-
11500 Specific byte within the various ACPI 3.0 *WordSpace macros.
11501
11502 Fixed some issues within the resource conversion code for the type-
11503 specific 
11504 flags for both Memory and I/O address resource descriptors. For Memory, 
11505 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
11506 TTP flags into two separate fields.
11507
11508 Code and Data Size: The current and previous library sizes for the core 
11509 subsystem are shown below. These are the code and data sizes for the 
11510 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11511 These 
11512 values do not include any ACPI driver or OSPM code. The debug version of 
11513 the 
11514 code includes the debug output trace mechanism and has a much larger code 
11515 and data size. Note that these values will vary depending on the 
11516 efficiency 
11517 of the compiler and the compiler options used during generation.
11518
11519   Previous Release:
11520     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11521     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11522   Current Release:
11523     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11524     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11525
11526
11527
11528 2) iASL Compiler/Disassembler:
11529
11530 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
11531 the 
11532 corresponding ResourceSource string was not also present in a resource 
11533 descriptor declaration. This restriction caused problems with existing 
11534 AML/ASL code that includes the Index byte without the string. When such 
11535 AML 
11536 was disassembled, it could not be compiled without modification. Further, 
11537 the modified code created a resource template with a different size than 
11538 the 
11539 original, breaking code that used fixed offsets into the resource 
11540 template 
11541 buffer.
11542
11543 Removed a recent feature of the disassembler to ignore a lone 
11544 ResourceIndex 
11545 byte. This byte is now emitted if present so that the exact AML can be 
11546 reproduced when the disassembled code is recompiled.
11547
11548 Improved comments and text alignment for the resource descriptor code 
11549 emitted by the disassembler.
11550
11551 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
11552
11553 Register() resource descriptor.
11554
11555 ----------------------------------------
11556 30 September 2005. Summary of changes for version 20050930:
11557
11558 1) ACPI CA Core Subsystem:
11559
11560 Completed a major overhaul of the Resource Manager code - specifically, 
11561 optimizations in the area of the AML/internal resource conversion code. 
11562 The 
11563 code has been optimized to simplify and eliminate duplicated code, CPU 
11564 stack 
11565 use has been decreased by optimizing function parameters and local 
11566 variables, and naming conventions across the manager have been 
11567 standardized 
11568 for clarity and ease of maintenance (this includes function, parameter, 
11569 variable, and struct/typedef names.) The update may force changes in some 
11570 driver code, depending on how resources are handled by the host OS.
11571
11572 All Resource Manager dispatch and information tables have been moved to a 
11573 single location for clarity and ease of maintenance. One new file was 
11574 created, named "rsinfo.c".
11575
11576 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
11577 guarantee that the argument is not evaluated twice, making them less 
11578 prone 
11579 to macro side-effects. However, since there exists the possibility of 
11580 additional stack use if a particular compiler cannot optimize them (such 
11581 as 
11582 in the debug generation case), the original macros are optionally 
11583 available.  
11584 Note that some invocations of the return_VALUE macro may now cause size 
11585 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
11586 to 
11587 eliminate these. (From Randy Dunlap)
11588
11589 Implemented a new mechanism to enable debug tracing for individual 
11590 control 
11591 methods. A new external interface, AcpiDebugTrace, is provided to enable 
11592 this mechanism. The intent is to allow the host OS to easily enable and 
11593 disable tracing for problematic control methods. This interface can be 
11594 easily exposed to a user or debugger interface if desired. See the file 
11595 psxface.c for details.
11596
11597 AcpiUtCallocate will now return a valid pointer if a length of zero is 
11598 specified - a length of one is used and a warning is issued. This matches 
11599 the behavior of AcpiUtAllocate.
11600
11601 Code and Data Size: The current and previous library sizes for the core 
11602 subsystem are shown below. These are the code and data sizes for the 
11603 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11604 These 
11605 values do not include any ACPI driver or OSPM code. The debug version of 
11606 the 
11607 code includes the debug output trace mechanism and has a much larger code 
11608 and data size. Note that these values will vary depending on the 
11609 efficiency 
11610 of the compiler and the compiler options used during generation.
11611
11612   Previous Release:
11613     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11614     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11615   Current Release:
11616     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11617     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11618
11619
11620 2) iASL Compiler/Disassembler:
11621
11622 A remark is issued if the effective compile-time length of a package or 
11623 buffer is zero. Previously, this was a warning.
11624
11625 ----------------------------------------
11626 16 September 2005. Summary of changes for version 20050916:
11627
11628 1) ACPI CA Core Subsystem:
11629
11630 Fixed a problem within the Resource Manager where support for the Generic 
11631 Register descriptor was not fully implemented. This descriptor is now 
11632 fully 
11633 recognized, parsed, disassembled, and displayed.
11634
11635 Completely restructured the Resource Manager code to utilize table-driven 
11636 dispatch and lookup, eliminating many of the large switch() statements. 
11637 This 
11638 reduces overall subsystem code size and code complexity. Affects the 
11639 resource parsing and construction, disassembly, and debug dump output.
11640
11641 Cleaned up and restructured the debug dump output for all resource 
11642 descriptors. Improved readability of the output and reduced code size.
11643
11644 Fixed a problem where changes to internal data structures caused the 
11645 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
11646
11647 Code and Data Size: The current and previous library sizes for the core 
11648 subsystem are shown below. These are the code and data sizes for the 
11649 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11650 These 
11651 values do not include any ACPI driver or OSPM code. The debug version of 
11652 the 
11653 code includes the debug output trace mechanism and has a much larger code 
11654 and data size. Note that these values will vary depending on the 
11655 efficiency 
11656 of the compiler and the compiler options used during generation.
11657
11658   Previous Release:
11659     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11660     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11661   Current Release:
11662     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11663     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11664
11665
11666 2) iASL Compiler/Disassembler:
11667
11668 Updated the disassembler to automatically insert an EndDependentFn() 
11669 macro 
11670 into the ASL stream if this macro is missing in the original AML code, 
11671 simplifying compilation of the resulting ASL module.
11672
11673 Fixed a problem in the disassembler where a disassembled ResourceSource 
11674 string (within a large resource descriptor) was not surrounded by quotes 
11675 and 
11676 not followed by a comma, causing errors when the resulting ASL module was 
11677 compiled. Also, escape sequences within a ResourceSource string are now 
11678 handled correctly (especially "\\")
11679
11680 ----------------------------------------
11681 02 September 2005. Summary of changes for version 20050902:
11682
11683 1) ACPI CA Core Subsystem:
11684
11685 Fixed a problem with the internal Owner ID allocation and deallocation 
11686 mechanisms for control method execution and recursive method invocation. 
11687 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
11688 messages seen on some systems. Recursive method invocation depth is 
11689 currently limited to 255. (Alexey Starikovskiy)
11690
11691 Completely eliminated all vestiges of support for the "module-level 
11692 executable code" until this support is fully implemented and debugged. 
11693 This 
11694 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
11695 some systems that invoke this support.
11696
11697 Fixed a problem within the resource manager code where the transaction 
11698 flags 
11699 for a 64-bit address descriptor were handled incorrectly in the type-
11700 specific flag byte.
11701
11702 Consolidated duplicate code within the address descriptor resource 
11703 manager 
11704 code, reducing overall subsystem code size.
11705
11706 Fixed a fault when using the AML debugger "disassemble" command to 
11707 disassemble individual control methods.
11708
11709 Removed references to the "release_current" directory within the Unix 
11710 release package.
11711
11712 Code and Data Size: The current and previous core subsystem library sizes 
11713 are shown below. These are the code and data sizes for the acpica.lib 
11714 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
11715 include any ACPI driver or OSPM code. The debug version of the code 
11716 includes 
11717 the debug output trace mechanism and has a much larger code and data 
11718 size. 
11719 Note that these values will vary depending on the efficiency of the 
11720 compiler 
11721 and the compiler options used during generation.
11722
11723   Previous Release:
11724     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11725     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11726   Current Release:
11727     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11728     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11729
11730
11731 2) iASL Compiler/Disassembler:
11732
11733 Implemented an error check for illegal duplicate values in the interrupt 
11734 and 
11735 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
11736 Interrupt().
11737
11738 Implemented error checking for the Irq() and IrqNoFlags() macros to 
11739 detect 
11740 too many values in the interrupt list (16 max) and invalid values in the 
11741 list (range 0 - 15)
11742
11743 The maximum length string literal within an ASL file is now restricted to 
11744 200 characters as per the ACPI specification.
11745
11746 Fixed a fault when using the -ln option (generate namespace listing).
11747
11748 Implemented an error check to determine if a DescriptorName within a 
11749 resource descriptor has already been used within the current scope.
11750
11751 ----------------------------------------
11752 15 August 2005.  Summary of changes for version 20050815:
11753  
11754 1) ACPI CA Core Subsystem:
11755  
11756 Implemented a full bytewise compare to determine if a table load request 
11757 is 
11758 attempting to load a duplicate table. The compare is performed if the 
11759 table 
11760 signatures and table lengths match. This will allow different tables with 
11761 the same OEM Table ID and revision to be loaded - probably against the 
11762 ACPI 
11763 specification, but discovered in the field nonetheless.
11764  
11765 Added the changes.txt logfile to each of the zipped release packages.
11766  
11767 Code and Data Size: Current and previous core subsystem library sizes are 
11768 shown below. These are the code and data sizes for the acpica.lib 
11769 produced 
11770 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11771 any ACPI driver or OSPM code. The debug version of the code includes the 
11772 debug output trace mechanism and has a much larger code and data size. 
11773 Note 
11774 that these values will vary depending on the efficiency of the compiler 
11775 and 
11776 the compiler options used during generation.
11777  
11778   Previous Release:
11779     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11780     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11781   Current Release:
11782     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11783     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11784  
11785  
11786 2) iASL Compiler/Disassembler:
11787  
11788 Fixed a problem where incorrect AML code could be generated for Package 
11789 objects if optimization is disabled (via the -oa switch).
11790  
11791 Fixed a problem with where incorrect AML code is generated for variable-
11792 length packages when the package length is not specified and the number 
11793 of 
11794 initializer values is greater than 255.
11795  
11796
11797 ----------------------------------------
11798 29 July 2005.  Summary of changes for version 20050729:
11799
11800 1) ACPI CA Core Subsystem:
11801
11802 Implemented support to ignore an attempt to install/load a particular 
11803 ACPI 
11804 table more than once. Apparently there exists BIOS code that repeatedly 
11805 attempts to load the same SSDT upon certain events. With assistance from 
11806 Venkatesh Pallipadi.
11807
11808 Restructured the main interface to the AML parser in order to correctly 
11809 handle all exceptional conditions. This will prevent leakage of the 
11810 OwnerId 
11811 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
11812 some 
11813 machines. With assistance from Alexey Starikovskiy.
11814
11815 Support for "module level code" has been disabled in this version due to 
11816
11817 number of issues that have appeared on various machines. The support can 
11818 be 
11819 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
11820 compilation. When the issues are fully resolved, the code will be enabled 
11821 by 
11822 default again.
11823
11824 Modified the internal functions for debug print support to define the 
11825 FunctionName parameter as a (const char *) for compatibility with 
11826 compiler 
11827 built-in macros such as __FUNCTION__, etc.
11828
11829 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
11830
11831 Implemented support to display an object count summary for the AML 
11832 Debugger 
11833 commands Object and Methods.
11834
11835 Code and Data Size: Current and previous core subsystem library sizes are 
11836 shown below. These are the code and data sizes for the acpica.lib 
11837 produced 
11838 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11839 any ACPI driver or OSPM code. The debug version of the code includes the 
11840 debug output trace mechanism and has a much larger code and data size. 
11841 Note 
11842 that these values will vary depending on the efficiency of the compiler 
11843 and 
11844 the compiler options used during generation.
11845
11846   Previous Release:
11847     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11848     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11849   Current Release:
11850     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11851     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11852
11853
11854 2) iASL Compiler/Disassembler:
11855
11856 Fixed a regression that appeared in the 20050708 version of the compiler 
11857 where an error message was inadvertently emitted for invocations of the 
11858 _OSI 
11859 reserved control method.
11860
11861 ----------------------------------------
11862 08 July 2005.  Summary of changes for version 20050708:
11863
11864 1) ACPI CA Core Subsystem:
11865
11866 The use of the CPU stack in the debug version of the subsystem has been 
11867 considerably reduced. Previously, a debug structure was declared in every 
11868 function that used the debug macros. This structure has been removed in 
11869 favor of declaring the individual elements as parameters to the debug 
11870 functions. This reduces the cumulative stack use during nested execution 
11871 of 
11872 ACPI function calls at the cost of a small increase in the code size of 
11873 the 
11874 debug version of the subsystem. With assistance from Alexey Starikovskiy 
11875 and 
11876 Len Brown.
11877
11878 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
11879 headers to define a macro that will return the current function name at 
11880 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
11881 by 
11882 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
11883 compiler-dependent header, the function name is saved on the CPU stack 
11884 (one 
11885 pointer per function.) This mechanism is used because apparently there 
11886 exists no standard ANSI-C defined macro that that returns the function 
11887 name.
11888
11889 Redesigned and reimplemented the "Owner ID" mechanism used to track 
11890 namespace objects created/deleted by ACPI tables and control method 
11891 execution. A bitmap is now used to allocate and free the IDs, thus 
11892 solving 
11893 the wraparound problem present in the previous implementation. The size 
11894 of 
11895 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
11896 Starikovskiy).
11897
11898 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
11899 bitfield 
11900 flag definitions within the headers for the predefined ACPI tables. These 
11901 have been replaced by UINT8_BIT in order to increase the code portability 
11902 of 
11903 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
11904 eliminate bitfields entirely because of a lack of portability.
11905
11906 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
11907 This 
11908 is a frequently used function and this improvement increases the 
11909 performance 
11910 of the entire subsystem (Alexey Starikovskiy).
11911
11912 Fixed several possible memory leaks and the inverse - premature object 
11913 deletion (Alexey Starikovskiy).
11914
11915 Code and Data Size: Current and previous core subsystem library sizes are 
11916 shown below. These are the code and data sizes for the acpica.lib 
11917 produced 
11918 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11919 any ACPI driver or OSPM code. The debug version of the code includes the 
11920 debug output trace mechanism and has a much larger code and data size. 
11921 Note 
11922 that these values will vary depending on the efficiency of the compiler 
11923 and 
11924 the compiler options used during generation.
11925
11926   Previous Release:
11927     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11928     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11929   Current Release:
11930     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11931     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11932
11933 ----------------------------------------
11934 24 June 2005.  Summary of changes for version 20050624:
11935
11936 1) ACPI CA Core Subsystem:
11937
11938 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
11939 the host-defined cache object. This allows the OSL implementation to 
11940 define 
11941 and type this object in any manner desired, simplifying the OSL 
11942 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
11943 Linux, and should be defined in the OS-specific header file for other 
11944 operating systems as required.
11945
11946 Changed the interface to AcpiOsAcquireObject to directly return the 
11947 requested object as the function return (instead of ACPI_STATUS.) This 
11948 change was made for performance reasons, since this is the purpose of the 
11949 interface in the first place. AcpiOsAcquireObject is now similar to the 
11950 AcpiOsAllocate interface.
11951
11952 Implemented a new AML debugger command named Businfo. This command 
11953 displays 
11954 information about all devices that have an associate _PRT object. The 
11955 _ADR, 
11956 _HID, _UID, and _CID are displayed for these devices.
11957
11958 Modified the initialization sequence in AcpiInitializeSubsystem to call 
11959 the 
11960 OSL interface AcpiOslInitialize first, before any local initialization. 
11961 This 
11962 change was required because the global initialization now calls OSL 
11963 interfaces.
11964
11965 Enhanced the Dump command to display the entire contents of Package 
11966 objects 
11967 (including all sub-objects and their values.) 
11968
11969 Restructured the code base to split some files because of size and/or 
11970 because the code logically belonged in a separate file. New files are 
11971 listed 
11972 below. All makefiles and project files included in the ACPI CA release 
11973 have 
11974 been updated.
11975     utilities/utcache.c           /* Local cache interfaces */
11976     utilities/utmutex.c           /* Local mutex support */
11977     utilities/utstate.c           /* State object support */
11978     interpreter/parser/psloop.c   /* Main AML parse loop */
11979
11980 Code and Data Size: Current and previous core subsystem library sizes are 
11981 shown below. These are the code and data sizes for the acpica.lib 
11982 produced 
11983 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11984 any ACPI driver or OSPM code. The debug version of the code includes the 
11985 debug output trace mechanism and has a much larger code and data size. 
11986 Note 
11987 that these values will vary depending on the efficiency of the compiler 
11988 and 
11989 the compiler options used during generation.
11990
11991   Previous Release:
11992     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11993     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11994   Current Release:
11995     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11996     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11997
11998
11999 2) iASL Compiler/Disassembler:
12000
12001 Fixed a regression introduced in version 20050513 where the use of a 
12002 Package 
12003 object within a Case() statement caused a compile time exception. The 
12004 original behavior has been restored (a Match() operator is emitted.)
12005
12006 ----------------------------------------
12007 17 June 2005.  Summary of changes for version 20050617:
12008
12009 1) ACPI CA Core Subsystem:
12010
12011 Moved the object cache operations into the OS interface layer (OSL) to 
12012 allow 
12013 the host OS to handle these operations if desired (for example, the Linux 
12014 OSL will invoke the slab allocator). This support is optional; the 
12015 compile 
12016 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
12017 cache 
12018 code in the ACPI CA core. The new OSL interfaces are shown below. See 
12019 utalloc.c for an example implementation, and acpiosxf.h for the exact 
12020 interface definitions. With assistance from Alexey Starikovskiy.
12021     AcpiOsCreateCache
12022     AcpiOsDeleteCache
12023     AcpiOsPurgeCache
12024     AcpiOsAcquireObject
12025     AcpiOsReleaseObject
12026
12027 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
12028 return 
12029 and restore a flags parameter. This fits better with many OS lock models. 
12030 Note: the current execution state (interrupt handler or not) is no longer 
12031 passed to these interfaces. If necessary, the OSL must determine this 
12032 state 
12033 by itself, a simple and fast operation. With assistance from Alexey 
12034 Starikovskiy.
12035
12036 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
12037 present if the revision of the RSDP was 2 or greater. According to the 
12038 ACPI 
12039 specification, the XSDT is optional in all cases, and the table manager 
12040 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
12041 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
12042 contain 
12043 only the RSDT.
12044
12045 Fixed an interpreter problem with the Mid() operator in the case of an 
12046 input 
12047 string where the resulting output string is of zero length. It now 
12048 correctly 
12049 returns a valid, null terminated string object instead of a string object 
12050 with a null pointer.
12051
12052 Fixed a problem with the control method argument handling to allow a 
12053 store 
12054 to an Arg object that already contains an object of type Device. The 
12055 Device 
12056 object is now correctly overwritten. Previously, an error was returned.
12057
12058
12059 Enhanced the debugger Find command to emit object values in addition to 
12060 the 
12061 found object pathnames. The output format is the same as the dump 
12062 namespace 
12063 command.
12064
12065 Enhanced the debugger Set command. It now has the ability to set the 
12066 value 
12067 of any Named integer object in the namespace (Previously, only method 
12068 locals 
12069 and args could be set.)
12070
12071 Code and Data Size: Current and previous core subsystem library sizes are 
12072 shown below. These are the code and data sizes for the acpica.lib 
12073 produced 
12074 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12075 any ACPI driver or OSPM code. The debug version of the code includes the 
12076 debug output trace mechanism and has a much larger code and data size. 
12077 Note 
12078 that these values will vary depending on the efficiency of the compiler 
12079 and 
12080 the compiler options used during generation.
12081
12082   Previous Release:
12083     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12084     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12085   Current Release:
12086     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
12087     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
12088
12089
12090 2) iASL Compiler/Disassembler:
12091
12092 Fixed a regression in the disassembler where if/else/while constructs 
12093 were 
12094 output incorrectly. This problem was introduced in the previous release 
12095 (20050526). This problem also affected the single-step disassembly in the 
12096 debugger.
12097
12098 Fixed a problem where compiling the reserved _OSI method would randomly 
12099 (but 
12100 rarely) produce compile errors.
12101
12102 Enhanced the disassembler to emit compilable code in the face of 
12103 incorrect 
12104 AML resource descriptors. If the optional ResourceSourceIndex is present, 
12105 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
12106 disassembly. Otherwise, the resulting code cannot be compiled without 
12107 errors.
12108
12109 ----------------------------------------
12110 26 May 2005.  Summary of changes for version 20050526:
12111
12112 1) ACPI CA Core Subsystem:
12113
12114 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
12115 the module level (not within a control method.) These opcodes are 
12116 executed 
12117 exactly once at the time the table is loaded. This type of code was legal 
12118 up 
12119 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
12120 in 
12121 order to provide backwards compatibility with earlier BIOS 
12122 implementations. 
12123 This eliminates the "Encountered executable code at module level" warning 
12124 that was previously generated upon detection of such code.
12125
12126 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
12127 inadvertently be generated during the lookup of namespace objects in the 
12128 second pass parse of ACPI tables and control methods. It appears that 
12129 this 
12130 problem could occur during the resolution of forward references to 
12131 namespace 
12132 objects.
12133
12134 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
12135 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
12136 allows the deadlock detection debug code to be compiled out in the normal 
12137 case, improving mutex performance (and overall subsystem performance) 
12138 considerably.
12139
12140 Implemented a handful of miscellaneous fixes for possible memory leaks on 
12141 error conditions and error handling control paths. These fixes were 
12142 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
12143
12144 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
12145 (tbxfroot.c) 
12146 to prevent a fault in this error case.
12147
12148 Code and Data Size: Current and previous core subsystem library sizes are 
12149 shown below. These are the code and data sizes for the acpica.lib 
12150 produced 
12151 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12152 any ACPI driver or OSPM code. The debug version of the code includes the 
12153 debug output trace mechanism and has a much larger code and data size. 
12154 Note 
12155 that these values will vary depending on the efficiency of the compiler 
12156 and 
12157 the compiler options used during generation.
12158
12159   Previous Release:
12160     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12161     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12162   Current Release:
12163     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12164     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12165
12166
12167 2) iASL Compiler/Disassembler:
12168
12169 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
12170 the module level (not within a control method.) These operators will be 
12171 executed once at the time the table is loaded. This type of code was 
12172 legal 
12173 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
12174 compiler in order to provide backwards compatibility with earlier BIOS 
12175 ASL 
12176 code.
12177
12178 The ACPI integer width (specified via the table revision ID or the -r 
12179 override, 32 or 64 bits) is now used internally during compile-time 
12180 constant 
12181 folding to ensure that constants are truncated to 32 bits if necessary. 
12182 Previously, the revision ID value was only emitted in the AML table 
12183 header.
12184
12185 An error message is now generated for the Mutex and Method operators if 
12186 the 
12187 SyncLevel parameter is outside the legal range of 0 through 15.
12188
12189 Fixed a problem with the Method operator ParameterTypes list handling 
12190 (ACPI 
12191 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
12192 error.  
12193 The actual underlying implementation of method argument typechecking is 
12194 still under development, however.
12195
12196 ----------------------------------------
12197 13 May 2005.  Summary of changes for version 20050513:
12198
12199 1) ACPI CA Core Subsystem:
12200
12201 Implemented support for PCI Express root bridges -- added support for 
12202 device 
12203 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
12204
12205 The interpreter now automatically truncates incoming 64-bit constants to 
12206 32 
12207 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
12208 This 
12209 also affects the iASL compiler constant folding. (Note: as per below, the 
12210 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
12211
12212 Fixed a problem where string and buffer objects with "static" pointers 
12213 (pointers to initialization data within an ACPI table) were not handled 
12214 consistently. The internal object copy operation now always copies the 
12215 data 
12216 to a newly allocated buffer, regardless of whether the source object is 
12217 static or not.
12218
12219 Fixed a problem with the FromBCD operator where an implicit result 
12220 conversion was improperly performed while storing the result to the 
12221 target 
12222 operand. Since this is an "explicit conversion" operator, the implicit 
12223 conversion should never be performed on the output.
12224
12225 Fixed a problem with the CopyObject operator where a copy to an existing 
12226 named object did not always completely overwrite the existing object 
12227 stored 
12228 at name. Specifically, a buffer-to-buffer copy did not delete the 
12229 existing 
12230 buffer.
12231
12232 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
12233 and 
12234 structs for consistency.
12235
12236 Code and Data Size: Current and previous core subsystem library sizes are 
12237 shown below. These are the code and data sizes for the acpica.lib 
12238 produced 
12239 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12240 any ACPI driver or OSPM code. The debug version of the code includes the 
12241 debug output trace mechanism and has a much larger code and data size. 
12242 Note 
12243 that these values will vary depending on the efficiency of the compiler 
12244 and 
12245 the compiler options used during generation.
12246
12247   Previous Release:
12248     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12249     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12250   Current Release: (Same sizes)
12251     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12252     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12253
12254
12255 2) iASL Compiler/Disassembler:
12256
12257 The compiler now emits a warning if an attempt is made to generate a 64-
12258 bit 
12259 integer constant from within a 32-bit ACPI table (Revision < 2). The 
12260 integer 
12261 is truncated to 32 bits.
12262
12263 Fixed a problem with large package objects: if the static length of the 
12264 package is greater than 255, the "variable length package" opcode is 
12265 emitted. Previously, this caused an error. This requires an update to the 
12266 ACPI spec, since it currently (incorrectly) states that packages larger 
12267 than 
12268 255 elements are not allowed.
12269
12270 The disassembler now correctly handles variable length packages and 
12271 packages 
12272 larger than 255 elements.
12273
12274 ----------------------------------------
12275 08 April 2005.  Summary of changes for version 20050408:
12276
12277 1) ACPI CA Core Subsystem:
12278
12279 Fixed three cases in the interpreter where an "index" argument to an ASL 
12280 function was still (internally) 32 bits instead of the required 64 bits. 
12281 This was the Index argument to the Index, Mid, and Match operators.
12282
12283 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
12284 is 
12285 not a POSIX-defined function and not present in most kernel-level C 
12286 libraries. All references to the C library strupr function have been 
12287 removed 
12288 from the headers.
12289
12290 Completed the deployment of static functions/prototypes. All prototypes 
12291 with 
12292 the static attribute have been moved from the headers to the owning C 
12293 file.
12294
12295 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
12296 utility). This option allows the utility to extract individual ACPI 
12297 tables 
12298 from the output of AcpiDmp. It provides the same functionality of the 
12299 acpixtract.pl perl script without the worry of setting the correct perl 
12300 options. AcpiBin runs on Windows and has not yet been generated/validated 
12301 in 
12302 the Linux/Unix environment (but should be soon).
12303  
12304 Updated and fixed the table dump option for AcpiBin (-d). This option 
12305 converts a single ACPI table to a hex/ascii file, similar to the output 
12306 of 
12307 AcpiDmp.
12308
12309 Code and Data Size: Current and previous core subsystem library sizes are 
12310 shown below. These are the code and data sizes for the acpica.lib 
12311 produced 
12312 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12313 any ACPI driver or OSPM code. The debug version of the code includes the 
12314 debug output trace mechanism and has a much larger code and data size. 
12315 Note 
12316 that these values will vary depending on the efficiency of the compiler 
12317 and 
12318 the compiler options used during generation.
12319
12320   Previous Release:
12321     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12322     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12323   Current Release:
12324     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12325     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12326
12327
12328 2) iASL Compiler/Disassembler:
12329
12330 Disassembler fix: Added a check to ensure that the table length found in 
12331 the 
12332 ACPI table header within the input file is not longer than the actual 
12333 input 
12334 file size. This indicates some kind of file or table corruption.
12335
12336 ----------------------------------------
12337 29 March 2005.  Summary of changes for version 20050329:
12338
12339 1) ACPI CA Core Subsystem:
12340
12341 An error is now generated if an attempt is made to create a Buffer Field 
12342 of 
12343 length zero (A CreateField with a length operand of zero.)
12344
12345 The interpreter now issues a warning whenever executable code at the 
12346 module 
12347 level is detected during ACPI table load. This will give some idea of the 
12348 prevalence of this type of code.
12349
12350 Implemented support for references to named objects (other than control 
12351 methods) within package objects.
12352
12353 Enhanced package object output for the debug object. Package objects are 
12354 now 
12355 completely dumped, showing all elements.
12356
12357 Enhanced miscellaneous object output for the debug object. Any object can 
12358 now be written to the debug object (for example, a device object can be 
12359 written, and the type of the object will be displayed.)
12360
12361 The "static" qualifier has been added to all local functions across both 
12362 the 
12363 core subsystem and the iASL compiler.
12364
12365 The number of "long" lines (> 80 chars) within the source has been 
12366 significantly reduced, by about 1/3.
12367
12368 Cleaned up all header files to ensure that all CA/iASL functions are 
12369 prototyped (even static functions) and the formatting is consistent.
12370
12371 Two new header files have been added, acopcode.h and acnames.h.
12372
12373 Removed several obsolete functions that were no longer used.
12374
12375 Code and Data Size: Current and previous core subsystem library sizes are 
12376 shown below. These are the code and data sizes for the acpica.lib 
12377 produced 
12378 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12379 any ACPI driver or OSPM code. The debug version of the code includes the 
12380 debug output trace mechanism and has a much larger code and data size. 
12381 Note 
12382 that these values will vary depending on the efficiency of the compiler 
12383 and 
12384 the compiler options used during generation.
12385
12386   Previous Release:
12387     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12388     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12389   Current Release:
12390     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12391     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12392
12393
12394
12395 2) iASL Compiler/Disassembler:
12396
12397 Fixed a problem with the resource descriptor generation/support. For the 
12398 ResourceSourceIndex and the ResourceSource fields, both must be present, 
12399 or 
12400 both must be not present - can't have one without the other.
12401
12402 The compiler now returns non-zero from the main procedure if any errors 
12403 have 
12404 occurred during the compilation.
12405
12406
12407 ----------------------------------------
12408 09 March 2005.  Summary of changes for version 20050309:
12409
12410 1) ACPI CA Core Subsystem:
12411
12412 The string-to-buffer implicit conversion code has been modified again 
12413 after 
12414 a change to the ACPI specification.  In order to match the behavior of 
12415 the 
12416 other major ACPI implementation, the target buffer is no longer truncated 
12417 if 
12418 the source string is smaller than an existing target buffer. This change 
12419 requires an update to the ACPI spec, and should eliminate the recent 
12420 AE_AML_BUFFER_LIMIT issues.
12421
12422 The "implicit return" support was rewritten to a new algorithm that 
12423 solves 
12424 the general case. Rather than attempt to determine when a method is about 
12425 to 
12426 exit, the result of every ASL operator is saved momentarily until the 
12427 very 
12428 next ASL operator is executed. Therefore, no matter how the method exits, 
12429 there will always be a saved implicit return value. This feature is only 
12430 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
12431 eliminate 
12432 AE_AML_NO_RETURN_VALUE errors when enabled.
12433
12434 Implemented implicit conversion support for the predicate (operand) of 
12435 the 
12436 If, Else, and While operators. String and Buffer arguments are 
12437 automatically 
12438 converted to Integers.
12439
12440 Changed the string-to-integer conversion behavior to match the new ACPI 
12441 errata: "If no integer object exists, a new integer is created. The ASCII 
12442 string is interpreted as a hexadecimal constant. Each string character is 
12443 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
12444 with the first character as the most significant digit, and ending with 
12445 the 
12446 first non-hexadecimal character or end-of-string." This means that the 
12447 first 
12448 non-hex character terminates the conversion and this is the code that was 
12449 changed.
12450
12451 Fixed a problem where the ObjectType operator would fail (fault) when 
12452 used 
12453 on an Index of a Package which pointed to a null package element. The 
12454 operator now properly returns zero (Uninitialized) in this case.
12455
12456 Fixed a problem where the While operator used excessive memory by not 
12457 properly popping the result stack during execution. There was no memory 
12458 leak 
12459 after execution, however. (Code provided by Valery Podrezov.)
12460
12461 Fixed a problem where references to control methods within Package 
12462 objects 
12463 caused the method to be invoked, instead of producing a reference object 
12464 pointing to the method.
12465
12466 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
12467 to 
12468 improve performance and reduce code size. (Code provided by Alexey 
12469 Starikovskiy.)
12470
12471 Code and Data Size: Current and previous core subsystem library sizes are 
12472 shown below. These are the code and data sizes for the acpica.lib 
12473 produced 
12474 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12475 any ACPI driver or OSPM code. The debug version of the code includes the 
12476 debug output trace mechanism and has a much larger code and data size. 
12477 Note 
12478 that these values will vary depending on the efficiency of the compiler 
12479 and 
12480 the compiler options used during generation.
12481
12482   Previous Release:
12483     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12484     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12485   Current Release:
12486     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12487     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12488
12489
12490 2) iASL Compiler/Disassembler:
12491
12492 Fixed a problem with the Return operator with no arguments. Since the AML 
12493 grammar for the byte encoding requires an operand for the Return opcode, 
12494 the 
12495 compiler now emits a Return(Zero) for this case.  An ACPI specification 
12496 update has been written for this case.
12497
12498 For tables other than the DSDT, namepath optimization is automatically 
12499 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
12500 the 
12501 compiler has no knowledge of where, and thus cannot optimize namepaths.
12502
12503 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
12504 inadvertently omitted from the ACPI specification, and will require an 
12505 update to the spec.
12506
12507 The source file scan for ASCII characters is now optional (-a). This 
12508 change 
12509 was made because some vendors place non-ascii characters within comments. 
12510 However, the scan is simply a brute-force byte compare to ensure all 
12511 characters in the file are in the range 0x00 to 0x7F.
12512
12513 Fixed a problem with the CondRefOf operator where the compiler was 
12514 inappropriately checking for the existence of the target. Since the point 
12515 of 
12516 the operator is to check for the existence of the target at run-time, the 
12517 compiler no longer checks for the target existence.
12518
12519 Fixed a problem where errors generated from the internal AML interpreter 
12520 during constant folding were not handled properly, causing a fault.
12521
12522 Fixed a problem with overly aggressive range checking for the Stall 
12523 operator. The valid range (max 255) is now only checked if the operand is 
12524 of 
12525 type Integer. All other operand types cannot be statically checked.
12526
12527 Fixed a problem where control method references within the RefOf, 
12528 DeRefOf, 
12529 and ObjectType operators were not treated properly. They are now treated 
12530 as 
12531 actual references, not method invocations.
12532
12533 Fixed and enhanced the "list namespace" option (-ln). This option was 
12534 broken 
12535 a number of releases ago.
12536
12537 Improved error handling for the Field, IndexField, and BankField 
12538 operators. 
12539 The compiler now cleanly reports and recovers from errors in the field 
12540 component (FieldUnit) list.
12541
12542 Fixed a disassembler problem where the optional ResourceDescriptor fields 
12543 TRS and TTP were not always handled correctly.
12544
12545 Disassembler - Comments in output now use "//" instead of "/*"
12546
12547 ----------------------------------------
12548 28 February 2005.  Summary of changes for version 20050228:
12549
12550 1) ACPI CA Core Subsystem:
12551
12552 Fixed a problem where the result of an Index() operator (an object 
12553 reference) must increment the reference count on the target object for 
12554 the 
12555 life of the object reference.
12556
12557 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
12558 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
12559 WordSpace 
12560 resource descriptors.
12561
12562 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
12563 Space Descriptor" string, indicating interpreter support for the 
12564 descriptors 
12565 above.
12566
12567 Implemented header support for the new ACPI 3.0 FADT flag bits.
12568
12569 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
12570 PM1 
12571 status/enable registers.
12572
12573 Updated header support for the MADT processor local Apic struct and MADT 
12574 platform interrupt source struct for new ACPI 3.0 fields.
12575
12576 Implemented header support for the SRAT and SLIT ACPI tables.
12577
12578 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
12579 flag 
12580 at runtime.
12581
12582 Code and Data Size: Current and previous core subsystem library sizes are 
12583 shown below. These are the code and data sizes for the acpica.lib 
12584 produced 
12585 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12586 any ACPI driver or OSPM code. The debug version of the code includes the 
12587 debug output trace mechanism and has a much larger code and data size. 
12588 Note 
12589 that these values will vary depending on the efficiency of the compiler 
12590 and 
12591 the compiler options used during generation.
12592
12593   Previous Release:
12594     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12595     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12596   Current Release:
12597     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12598     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12599
12600
12601 2) iASL Compiler/Disassembler:
12602
12603 Fixed a problem with the internal 64-bit String-to-integer conversion 
12604 with 
12605 strings less than two characters long.
12606
12607 Fixed a problem with constant folding where the result of the Index() 
12608 operator can not be considered a constant. This means that Index() cannot 
12609 be 
12610 a type3 opcode and this will require an update to the ACPI specification.
12611
12612 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
12613 descriptor fields. These fields were inadvertently ignored and not output 
12614 in 
12615 the disassembly of the resource descriptor.
12616
12617
12618  ----------------------------------------
12619 11 February 2005.  Summary of changes for version 20050211:
12620
12621 1) ACPI CA Core Subsystem:
12622
12623 Implemented ACPI 3.0 support for implicit conversion within the Match() 
12624 operator. MatchObjects can now be of type integer, buffer, or string 
12625 instead 
12626 of just type integer.  Package elements are implicitly converted to the 
12627 type 
12628 of the MatchObject. This change aligns the behavior of Match() with the 
12629 behavior of the other logical operators (LLess(), etc.) It also requires 
12630 an 
12631 errata change to the ACPI specification as this support was intended for 
12632 ACPI 3.0, but was inadvertently omitted.
12633
12634 Fixed a problem with the internal implicit "to buffer" conversion. 
12635 Strings 
12636 that are converted to buffers will cause buffer truncation if the string 
12637 is 
12638 smaller than the target buffer. Integers that are converted to buffers 
12639 will 
12640 not cause buffer truncation, only zero extension (both as per the ACPI 
12641 spec.) The problem was introduced when code was added to truncate the 
12642 buffer, but this should not be performed in all cases, only the string 
12643 case.
12644
12645 Fixed a problem with the Buffer and Package operators where the 
12646 interpreter 
12647 would get confused if two such operators were used as operands to an ASL 
12648 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
12649 stack was not being popped after the execution of these operators, 
12650 resulting 
12651 in an AE_NO_RETURN_VALUE exception.
12652
12653 Fixed a problem with constructs of the form Store(Index(...),...). The 
12654 reference object returned from Index was inadvertently resolved to an 
12655 actual 
12656 value. This problem was introduced in version 20050114 when the behavior 
12657 of 
12658 Store() was modified to restrict the object types that can be used as the 
12659 source operand (to match the ACPI specification.)
12660
12661 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
12662
12663 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
12664
12665 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
12666
12667 Code and Data Size: Current and previous core subsystem library sizes are 
12668 shown below. These are the code and data sizes for the acpica.lib 
12669 produced 
12670 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12671 any ACPI driver or OSPM code. The debug version of the code includes the 
12672 debug output trace mechanism and has a much larger code and data size. 
12673 Note 
12674 that these values will vary depending on the efficiency of the compiler 
12675 and 
12676 the compiler options used during generation.
12677
12678   Previous Release:
12679     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
12680     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
12681   Current Release:
12682     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12683     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12684
12685
12686 2) iASL Compiler/Disassembler:
12687
12688 Fixed a code generation problem in the constant folding optimization code 
12689 where incorrect code was generated if a constant was reduced to a buffer 
12690 object (i.e., a reduced type 5 opcode.)
12691
12692 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
12693 incorrect return type in the internal opcode information table.
12694
12695 ----------------------------------------
12696 25 January 2005.  Summary of changes for version 20050125:
12697
12698 1) ACPI CA Core Subsystem:
12699
12700 Fixed a recently introduced problem with the Global Lock where the 
12701 underlying semaphore was not created.  This problem was introduced in 
12702 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
12703 Acquire() operation on _GL.
12704
12705 The local object cache is now optional, and is disabled by default. Both 
12706 AcpiExec and the iASL compiler enable the cache because they run in user 
12707 mode and this enhances their performance. #define 
12708 ACPI_ENABLE_OBJECT_CACHE 
12709 to enable the local cache.
12710
12711 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
12712 the 
12713 optional "implicit return" support where an error was returned if no 
12714 return 
12715 object was expected, but one was implicitly returned. AE_OK is now 
12716 returned 
12717 in this case and the implicitly returned object is deleted. 
12718 AcpiUtEvaluateObject is only occasionally used, and only to execute 
12719 reserved 
12720 methods such as _STA and _INI where the return type is known up front.
12721
12722 Fixed a few issues with the internal convert-to-integer code. It now 
12723 returns 
12724 an error if an attempt is made to convert a null string, a string of only 
12725 blanks/tabs, or a zero-length buffer. This affects both implicit 
12726 conversion 
12727 and explicit conversion via the ToInteger() operator.
12728
12729 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
12730 is 
12731 not needed for normal operation and should increase the performance of 
12732 the 
12733 entire subsystem. The code remains in case it is needed for debug 
12734 purposes 
12735 again.
12736
12737 The AcpiExec source and makefile are included in the Unix/Linux package 
12738 for 
12739 the first time.
12740
12741 Code and Data Size: Current and previous core subsystem library sizes are 
12742 shown below. These are the code and data sizes for the acpica.lib 
12743 produced 
12744 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12745 any ACPI driver or OSPM code. The debug version of the code includes the 
12746 debug output trace mechanism and has a much larger code and data size. 
12747 Note 
12748 that these values will vary depending on the efficiency of the compiler 
12749 and 
12750 the compiler options used during generation.
12751
12752   Previous Release:
12753     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12754     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12755   Current Release:
12756     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
12757     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
12758
12759 2) iASL Compiler/Disassembler:
12760
12761 Switch/Case support: A warning is now issued if the type of the Switch 
12762 value 
12763 cannot be determined at compile time. For example, Switch(Arg0) will 
12764 generate the warning, and the type is assumed to be an integer. As per 
12765 the 
12766 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
12767 the 
12768 warning.
12769
12770 Switch/Case support: Implemented support for buffer and string objects as 
12771 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
12772 buffers and strings.
12773
12774 Switch/Case support: The emitted code for the LEqual() comparisons now 
12775 uses 
12776 the switch value as the first operand, not the second. The case value is 
12777 now 
12778 the second operand, and this allows the case value to be implicitly 
12779 converted to the type of the switch value, not the other way around.
12780
12781 Switch/Case support: Temporary variables are now emitted immediately 
12782 within 
12783 the control method, not at the global level. This means that there are 
12784 now 
12785 36 temps available per-method, not 36 temps per-module as was the case 
12786 with 
12787 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
12788
12789 ----------------------------------------
12790 14 January 2005.  Summary of changes for version 20050114:
12791
12792 Added 2005 copyright to all module headers.  This affects every module in 
12793 the core subsystem, iASL compiler, and the utilities.
12794
12795 1) ACPI CA Core Subsystem:
12796
12797 Fixed an issue with the String-to-Buffer conversion code where the string 
12798 null terminator was not included in the buffer after conversion, but 
12799 there 
12800 is existing ASL that assumes the string null terminator is included. This 
12801 is 
12802 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
12803 introduced in the previous version when the code was updated to correctly 
12804 set the converted buffer size as per the ACPI specification. The ACPI 
12805 spec 
12806 is ambiguous and will be updated to specify that the null terminator must 
12807 be 
12808 included in the converted buffer. This also affects the ToBuffer() ASL 
12809 operator.
12810
12811 Fixed a problem with the Mid() ASL/AML operator where it did not work 
12812 correctly on Buffer objects. Newly created sub-buffers were not being 
12813 marked 
12814 as initialized.
12815
12816
12817 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
12818 performed on the OemId and OemTableId table header fields.  These fields 
12819 are 
12820 not null terminated, so strncmp is now used instead of strcmp.
12821
12822 Implemented a restriction on the Store() ASL/AML operator to align the 
12823 behavior with the ACPI specification.  Previously, any object could be 
12824 used 
12825 as the source operand.  Now, the only objects that may be used are 
12826 Integers, 
12827 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
12828 necessary, the original behavior can be restored by enabling the 
12829 EnableInterpreterSlack flag.
12830
12831 Enhanced the optional "implicit return" support to allow an implicit 
12832 return 
12833 value from methods that are invoked externally via the AcpiEvaluateObject 
12834 interface.  This enables implicit returns from the _STA and _INI methods, 
12835 for example.
12836
12837 Changed the Revision() ASL/AML operator to return the current version of 
12838 the 
12839 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
12840 returned 
12841 the supported ACPI version (This is the function of the _REV method).
12842
12843 Updated the _REV predefined method to return the currently supported 
12844 version 
12845 of ACPI, now 3.
12846
12847 Implemented batch mode option for the AcpiExec utility (-b).
12848
12849 Code and Data Size: Current and previous core subsystem library sizes are 
12850 shown below. These are the code and data sizes for the acpica.lib 
12851 produced 
12852 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12853 any ACPI driver or OSPM code. The debug version of the code includes the 
12854 debug output trace mechanism and has a much larger code and data size. 
12855 Note 
12856 that these values will vary depending on the efficiency of the compiler 
12857 and 
12858 the compiler options used during generation.
12859
12860   Previous Release:
12861     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12862     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12863   Current Release:
12864     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12865     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12866
12867 ----------------------------------------
12868 10 December 2004.  Summary of changes for version 20041210:
12869
12870 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
12871 ACPI CA core subsystem.
12872
12873 1) ACPI CA Core Subsystem:
12874
12875 Fixed a problem in the ToDecimalString operator where the resulting 
12876 string 
12877 length was incorrectly calculated. The length is now calculated exactly, 
12878 eliminating incorrect AE_STRING_LIMIT exceptions.
12879
12880 Fixed a problem in the ToHexString operator to allow a maximum 200 
12881 character 
12882 string to be produced.
12883
12884 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
12885 copy 
12886 routine where the length of the resulting buffer was not truncated to the 
12887 new size (if the target buffer already existed).
12888
12889 Code and Data Size: Current and previous core subsystem library sizes are 
12890 shown below. These are the code and data sizes for the acpica.lib 
12891 produced 
12892 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12893 any ACPI driver or OSPM code. The debug version of the code includes the 
12894 debug output trace mechanism and has a much larger code and data size. 
12895 Note 
12896 that these values will vary depending on the efficiency of the compiler 
12897 and 
12898 the compiler options used during generation.
12899
12900   Previous Release:
12901     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12902     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12903   Current Release:
12904     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12905     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12906
12907
12908 2) iASL Compiler/Disassembler:
12909
12910 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
12911 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
12912 Includes support in the disassembler.
12913
12914 Implemented support for the new (ACPI 3.0) parameter to the Register 
12915 macro, 
12916 AccessSize.
12917
12918 Fixed a problem where the _HE resource name for the Interrupt macro was 
12919 referencing bit 0 instead of bit 1.
12920
12921 Implemented check for maximum 255 interrupts in the Interrupt macro.
12922
12923 Fixed a problem with the predefined resource descriptor names where 
12924 incorrect AML code was generated if the offset within the resource buffer 
12925 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
12926 but did not update the surrounding package lengths.
12927
12928 Changes to the Dma macro:  All channels within the channel list must be 
12929 in 
12930 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
12931 optional (default is BusMaster).
12932
12933 Implemented check for maximum 7 data bytes for the VendorShort macro.
12934
12935 The ReadWrite parameter is now optional for the Memory32 and similar 
12936 macros.
12937
12938 ----------------------------------------
12939 03 December 2004.  Summary of changes for version 20041203:
12940
12941 1) ACPI CA Core Subsystem:
12942
12943 The low-level field insertion/extraction code (exfldio) has been 
12944 completely 
12945 rewritten to eliminate unnecessary complexity, bugs, and boundary 
12946 conditions.
12947
12948 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
12949 ToDecimalString 
12950 operators where the input operand could be inadvertently deleted if no 
12951 conversion was necessary (e.g., if the input to ToInteger was an Integer 
12952 object.)
12953
12954 Fixed a problem with the ToDecimalString and ToHexString where an 
12955 incorrect 
12956 exception code was returned if the resulting string would be > 200 chars.  
12957 AE_STRING_LIMIT is now returned.
12958
12959 Fixed a problem with the Concatenate operator where AE_OK was always 
12960 returned, even if the operation failed.
12961
12962 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
12963 semaphores to be allocated.
12964
12965 Code and Data Size: Current and previous core subsystem library sizes are 
12966 shown below. These are the code and data sizes for the acpica.lib 
12967 produced 
12968 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12969 any ACPI driver or OSPM code. The debug version of the code includes the 
12970 debug output trace mechanism and has a much larger code and data size. 
12971 Note 
12972 that these values will vary depending on the efficiency of the compiler 
12973 and 
12974 the compiler options used during generation.
12975
12976   Previous Release:
12977     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12978     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12979   Current Release:
12980     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12981     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12982
12983
12984 2) iASL Compiler/Disassembler:
12985
12986 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
12987 recently introduced in 20041119.
12988
12989 Fixed a problem with the ToUUID macro where the upper nybble of each 
12990 buffer 
12991 byte was inadvertently set to zero.
12992
12993 ----------------------------------------
12994 19 November 2004.  Summary of changes for version 20041119:
12995
12996 1) ACPI CA Core Subsystem:
12997
12998 Fixed a problem in the internal ConvertToInteger routine where new 
12999 integers 
13000 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
13001 converts 
13002 buffers and strings to integers.
13003
13004 Implemented support to store a value to an Index() on a String object. 
13005 This 
13006 is an ACPI 2.0 feature that had not yet been implemented.
13007
13008 Implemented new behavior for storing objects to individual package 
13009 elements 
13010 (via the Index() operator). The previous behavior was to invoke the 
13011 implicit 
13012 conversion rules if an object was already present at the index.  The new 
13013 behavior is to simply delete any existing object and directly store the 
13014 new 
13015 object. Although the ACPI specification seems unclear on this subject, 
13016 other 
13017 ACPI implementations behave in this manner.  (This is the root of the 
13018 AE_BAD_HEX_CONSTANT issue.)
13019
13020 Modified the RSDP memory scan mechanism to support the extended checksum 
13021 for 
13022 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
13023 RSDP signature is found with a valid checksum.
13024
13025 Code and Data Size: Current and previous core subsystem library sizes are 
13026 shown below. These are the code and data sizes for the acpica.lib 
13027 produced 
13028 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13029 any ACPI driver or OSPM code. The debug version of the code includes the 
13030 debug output trace mechanism and has a much larger code and data size. 
13031 Note 
13032 that these values will vary depending on the efficiency of the compiler 
13033 and 
13034 the compiler options used during generation.
13035
13036   Previous Release:
13037     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13038     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13039   Current Release:
13040     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13041     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13042
13043
13044 2) iASL Compiler/Disassembler:
13045
13046 Fixed a missing semicolon in the aslcompiler.y file.
13047
13048 ----------------------------------------
13049 05 November 2004.  Summary of changes for version 20041105:
13050
13051 1) ACPI CA Core Subsystem:
13052
13053 Implemented support for FADT revision 2.  This was an interim table 
13054 (between 
13055 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
13056
13057 Implemented optional support to allow uninitialized LocalX and ArgX 
13058 variables in a control method.  The variables are initialized to an 
13059 Integer 
13060 object with a value of zero.  This support is enabled by setting the 
13061 AcpiGbl_EnableInterpreterSlack flag to TRUE.
13062
13063 Implemented support for Integer objects for the SizeOf operator.  Either 
13064
13065 or 8 is returned, depending on the current integer size (32-bit or 64-
13066 bit, 
13067 depending on the parent table revision).
13068
13069 Fixed a problem in the implementation of the SizeOf and ObjectType 
13070 operators 
13071 where the operand was resolved to a value too early, causing incorrect 
13072 return values for some objects.
13073
13074 Fixed some possible memory leaks during exceptional conditions.
13075
13076 Code and Data Size: Current and previous core subsystem library sizes are 
13077 shown below. These are the code and data sizes for the acpica.lib 
13078 produced 
13079 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13080 any ACPI driver or OSPM code. The debug version of the code includes the 
13081 debug output trace mechanism and has a much larger code and data size. 
13082 Note 
13083 that these values will vary depending on the efficiency of the compiler 
13084 and 
13085 the compiler options used during generation.
13086
13087   Previous Release:
13088     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13089     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13090   Current Release:
13091     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13092     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13093
13094
13095 2) iASL Compiler/Disassembler:
13096
13097 Implemented support for all ACPI 3.0 reserved names and methods.
13098
13099 Implemented all ACPI 3.0 grammar elements in the front-end, including 
13100 support for semicolons.
13101
13102 Implemented the ACPI 3.0 Function() and ToUUID() macros
13103
13104 Fixed a problem in the disassembler where a Scope() operator would not be 
13105 emitted properly if the target of the scope was in another table.
13106
13107 ----------------------------------------
13108 15 October 2004.  Summary of changes for version 20041015:
13109
13110 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
13111 evaluation to test/verify the following areas. Other suggestions are 
13112 welcome. This will result in an increase in the frequency of releases and 
13113 the number of bug fixes in the next few months.
13114   - Functional tests for all ASL/AML operators
13115   - All implicit/explicit type conversions
13116   - Bit fields and operation regions
13117   - 64-bit math support and 32-bit-only "truncated" math support
13118   - Exceptional conditions, both compiler and interpreter
13119   - Dynamic object deletion and memory leaks
13120   - ACPI 3.0 support when implemented
13121   - External interfaces to the ACPI subsystem
13122
13123
13124 1) ACPI CA Core Subsystem:
13125
13126 Fixed two alignment issues on 64-bit platforms - within debug statements 
13127 in 
13128 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
13129 Address 
13130 field within the non-aligned ACPI generic address structure.
13131
13132 Fixed a problem in the Increment and Decrement operators where incorrect 
13133 operand resolution could result in the inadvertent modification of the 
13134 original integer when the integer is passed into another method as an 
13135 argument and the arg is then incremented/decremented.
13136
13137 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
13138 bit 
13139 BCD number were truncated during conversion.
13140
13141 Fixed a problem in the ToDecimal operator where the length of the 
13142 resulting 
13143 string could be set incorrectly too long if the input operand was a 
13144 Buffer 
13145 object.
13146
13147 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
13148 (0) 
13149 within a buffer would prematurely terminate a compare between buffer 
13150 objects.
13151
13152 Added a check for string overflow (>200 characters as per the ACPI 
13153 specification) during the Concatenate operator with two string operands.
13154
13155 Code and Data Size: Current and previous core subsystem library sizes are 
13156 shown below. These are the code and data sizes for the acpica.lib 
13157 produced 
13158 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13159 any ACPI driver or OSPM code. The debug version of the code includes the 
13160 debug output trace mechanism and has a much larger code and data size. 
13161 Note 
13162 that these values will vary depending on the efficiency of the compiler 
13163 and 
13164 the compiler options used during generation.
13165
13166   Previous Release:
13167     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13168     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13169   Current Release:
13170     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13171     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13172
13173
13174
13175 2) iASL Compiler/Disassembler:
13176
13177 Allow the use of the ObjectType operator on uninitialized Locals and Args 
13178 (returns 0 as per the ACPI specification).
13179
13180 Fixed a problem where the compiler would fault if there was a syntax 
13181 error 
13182 in the FieldName of all of the various CreateXXXField operators.
13183
13184 Disallow the use of lower case letters within the EISAID macro, as per 
13185 the 
13186 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
13187 Where 
13188 U is an uppercase letter and N is a hex digit.
13189
13190
13191 ----------------------------------------
13192 06 October 2004.  Summary of changes for version 20041006:
13193
13194 1) ACPI CA Core Subsystem:
13195
13196 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
13197 implements a 64-bit timer with 100 nanosecond granularity.
13198
13199 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
13200 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
13201 implement 
13202 the timer with the best clock available. Also, it keeps the core 
13203 subsystem 
13204 out of the clock handling business, since the host OS (usually) performs 
13205 this function.
13206
13207 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
13208 functions use a 64-bit address which is part of the packed ACPI Generic 
13209 Address Structure. Since the structure is non-aligned, the alignment 
13210 macros 
13211 are now used to extract the address to a local variable before use.
13212
13213 Fixed a problem where the ToInteger operator assumed all input strings 
13214 were 
13215 hexadecimal. The operator now handles both decimal strings and hex 
13216 strings 
13217 (prefixed with "0x").
13218
13219 Fixed a problem where the string length in the string object created as a 
13220 result of the internal ConvertToString procedure could be incorrect. This 
13221 potentially affected all implicit conversions and also the 
13222 ToDecimalString 
13223 and ToHexString operators.
13224
13225 Fixed two problems in the ToString operator. If the length parameter was 
13226 zero, an incorrect string object was created and the value of the input 
13227 length parameter was inadvertently changed from zero to Ones.
13228
13229 Fixed a problem where the optional ResourceSource string in the 
13230 ExtendedIRQ 
13231 resource macro was ignored.
13232
13233 Simplified the interfaces to the internal division functions, reducing 
13234 code 
13235 size and complexity.
13236
13237 Code and Data Size: Current and previous core subsystem library sizes are 
13238 shown below. These are the code and data sizes for the acpica.lib 
13239 produced 
13240 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13241 any ACPI driver or OSPM code. The debug version of the code includes the 
13242 debug output trace mechanism and has a much larger code and data size. 
13243 Note 
13244 that these values will vary depending on the efficiency of the compiler 
13245 and 
13246 the compiler options used during generation.
13247
13248   Previous Release:
13249     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13250     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13251   Current Release:
13252     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13253     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13254
13255
13256 2) iASL Compiler/Disassembler:
13257
13258 Implemented support for the ACPI 3.0 Timer operator.
13259
13260 Fixed a problem where the Default() operator was inadvertently ignored in 
13261
13262 Switch/Case block.  This was a problem in the translation of the Switch 
13263 statement to If...Else pairs.
13264
13265 Added support to allow a standalone Return operator, with no parentheses 
13266 (or 
13267 operands).
13268
13269 Fixed a problem with code generation for the ElseIf operator where the 
13270 translated Else...If parse tree was improperly constructed leading to the 
13271 loss of some code.
13272
13273 ----------------------------------------
13274 22 September 2004.  Summary of changes for version 20040922:
13275
13276 1) ACPI CA Core Subsystem:
13277
13278 Fixed a problem with the implementation of the LNot() operator where 
13279 "Ones" 
13280 was not returned for the TRUE case. Changed the code to return Ones 
13281 instead 
13282 of (!Arg) which was usually 1. This change affects iASL constant folding 
13283 for 
13284 this operator also.
13285
13286 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
13287 not 
13288 initialized properly -- Now zero the entire buffer in this case where the 
13289 buffer already exists.
13290
13291 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
13292 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
13293 related code considerably. This will require changes/updates to all OS 
13294 interface layers (OSLs.)
13295
13296 Implemented a new external interface, AcpiInstallExceptionHandler, to 
13297 allow 
13298 a system exception handler to be installed. This handler is invoked upon 
13299 any 
13300 run-time exception that occurs during control method execution.
13301
13302 Added support for the DSDT in AcpiTbFindTable. This allows the 
13303 DataTableRegion() operator to access the local copy of the DSDT.
13304
13305 Code and Data Size: Current and previous core subsystem library sizes are 
13306 shown below. These are the code and data sizes for the acpica.lib 
13307 produced 
13308 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13309 any ACPI driver or OSPM code. The debug version of the code includes the 
13310 debug output trace mechanism and has a much larger code and data size. 
13311 Note 
13312 that these values will vary depending on the efficiency of the compiler 
13313 and 
13314 the compiler options used during generation.
13315
13316   Previous Release:
13317     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13318     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13319   Current Release:
13320     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13321     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13322
13323
13324 2) iASL Compiler/Disassembler:
13325
13326 Fixed a problem with constant folding and the LNot operator. LNot was 
13327 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
13328 This 
13329 could result in the generation of an incorrect folded/reduced constant.
13330
13331 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
13332 longer occurs if such a comment is at the very end of the input ASL 
13333 source 
13334 file.
13335
13336 Implemented the "-r" option to override the Revision in the table header. 
13337 The initial use of this option will be to simplify the evaluation of the 
13338 AML 
13339 interpreter by allowing a single ASL source module to be compiled for 
13340 either 
13341 32-bit or 64-bit integers.
13342
13343
13344 ----------------------------------------
13345 27 August 2004.  Summary of changes for version 20040827:
13346
13347 1) ACPI CA Core Subsystem:
13348
13349 - Implemented support for implicit object conversion in the non-numeric 
13350 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
13351 and 
13352 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
13353 the second operand is implicitly converted on the fly to match the type 
13354 of 
13355 the first operand.  For example:
13356
13357     LEqual (Source1, Source2)
13358
13359 Source1 and Source2 must each evaluate to an integer, a string, or a 
13360 buffer. 
13361 The data type of Source1 dictates the required type of Source2. Source2 
13362 is 
13363 implicitly converted if necessary to match the type of Source1.
13364
13365 - Updated and corrected the behavior of the string conversion support.  
13366 The 
13367 rules concerning conversion of buffers to strings (according to the ACPI 
13368 specification) are as follows:
13369
13370 ToDecimalString - explicit byte-wise conversion of buffer to string of 
13371 decimal values (0-255) separated by commas. ToHexString - explicit byte-
13372 wise 
13373 conversion of buffer to string of hex values (0-FF) separated by commas. 
13374 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
13375 byte 
13376 copy with no transform except NULL terminated. Any other implicit buffer-
13377 to-
13378 string conversion - byte-wise conversion of buffer to string of hex 
13379 values 
13380 (0-FF) separated by spaces.
13381
13382 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
13383
13384 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
13385 was 
13386 one byte too short in the case of a node in the root scope.  This could 
13387 cause a fault during debug output.
13388
13389 - Code and Data Size: Current and previous core subsystem library sizes 
13390 are 
13391 shown below.  These are the code and data sizes for the acpica.lib 
13392 produced 
13393 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13394 any ACPI driver or OSPM code.  The debug version of the code includes the 
13395 debug output trace mechanism and has a much larger code and data size.  
13396 Note 
13397 that these values will vary depending on the efficiency of the compiler 
13398 and 
13399 the compiler options used during generation.
13400
13401   Previous Release:
13402     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13403     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13404   Current Release:
13405     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13406     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13407
13408
13409 2) iASL Compiler/Disassembler:
13410
13411 - Fixed a Linux generation error.
13412
13413
13414 ----------------------------------------
13415 16 August 2004.  Summary of changes for version 20040816:
13416
13417 1) ACPI CA Core Subsystem:
13418
13419 Designed and implemented support within the AML interpreter for the so-
13420 called "implicit return".  This support returns the result of the last 
13421 ASL 
13422 operation within a control method, in the absence of an explicit Return() 
13423 operator.  A few machines depend on this behavior, even though it is not 
13424 explicitly supported by the ASL language.  It is optional support that 
13425 can 
13426 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
13427
13428 Removed support for the PCI_Config address space from the internal low 
13429 level 
13430 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
13431 support was not used internally, and would not work correctly anyway 
13432 because 
13433 the PCI bus number and segment number were not supported.  There are 
13434 separate interfaces for PCI configuration space access because of the 
13435 unique 
13436 interface.
13437
13438 Code and Data Size: Current and previous core subsystem library sizes are 
13439 shown below.  These are the code and data sizes for the acpica.lib 
13440 produced 
13441 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13442 any ACPI driver or OSPM code.  The debug version of the code includes the 
13443 debug output trace mechanism and has a much larger code and data size.  
13444 Note 
13445 that these values will vary depending on the efficiency of the compiler 
13446 and 
13447 the compiler options used during generation.
13448
13449   Previous Release:
13450     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13451     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13452   Current Release:
13453     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13454     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13455
13456
13457 2) iASL Compiler/Disassembler:
13458
13459 Fixed a problem where constants in ASL expressions at the root level (not 
13460 within a control method) could be inadvertently truncated during code 
13461 generation.  This problem was introduced in the 20040715 release.
13462
13463
13464 ----------------------------------------
13465 15 July 2004.  Summary of changes for version 20040715:
13466
13467 1) ACPI CA Core Subsystem:
13468
13469 Restructured the internal HW GPE interfaces to pass/track the current 
13470 state 
13471 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
13472 increase flexibility of the interfaces.
13473
13474 Implemented a "lexicographical compare" for String and Buffer objects 
13475 within 
13476 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
13477
13478 as per further clarification to the ACPI specification.  Behavior is 
13479 similar 
13480 to C library "strcmp".
13481
13482 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
13483 external function.  In the 32-bit non-debug case, the stack use has been 
13484 reduced from 168 bytes to 32 bytes.
13485
13486 Deployed a new run-time configuration flag, 
13487 AcpiGbl_EnableInterpreterSlack, 
13488 whose purpose is to allow the AML interpreter to forgive certain bad AML 
13489 constructs.  Default setting is FALSE.
13490
13491 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
13492 IO 
13493 support code.  If enabled, it allows field access to go beyond the end of 
13494
13495 region definition if the field is within the region length rounded up to 
13496 the 
13497 next access width boundary (a common coding error.)
13498
13499 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
13500 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
13501 these 
13502 symbols are lowercased by the latest version of the AcpiSrc tool.
13503
13504 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
13505 rename "Register" to simply "Reg" to prevent certain compilers from 
13506 complaining.
13507
13508 Code and Data Size: Current and previous core subsystem library sizes are 
13509 shown below.  These are the code and data sizes for the acpica.lib 
13510 produced 
13511 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13512 any ACPI driver or OSPM code.  The debug version of the code includes the 
13513 debug output trace mechanism and has a much larger code and data size.  
13514 Note 
13515 that these values will vary depending on the efficiency of the compiler 
13516 and 
13517 the compiler options used during generation.
13518
13519   Previous Release:
13520     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13521     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13522   Current Release:
13523     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13524     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13525
13526
13527 2) iASL Compiler/Disassembler:
13528
13529 Implemented full support for Package objects within the Case() operator.  
13530 Note: The Break() operator is currently not supported within Case blocks 
13531 (TermLists) as there is some question about backward compatibility with 
13532 ACPI 
13533 1.0 interpreters.
13534
13535
13536 Fixed a problem where complex terms were not supported properly within 
13537 the 
13538 Switch() operator.
13539
13540 Eliminated extraneous warning for compiler-emitted reserved names of the 
13541 form "_T_x".  (Used in Switch/Case operators.)
13542
13543 Eliminated optimization messages for "_T_x" objects and small constants 
13544 within the DefinitionBlock operator.
13545
13546
13547 ----------------------------------------
13548 15 June 2004.  Summary of changes for version 20040615:
13549
13550 1) ACPI CA Core Subsystem:
13551
13552 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13553 the 
13554 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13555 LLessEqual.
13556
13557 All directory names in the entire source package are lower case, as they 
13558 were in earlier releases.
13559
13560 Implemented "Disassemble" command in the AML debugger that will 
13561 disassemble 
13562 a single control method.
13563
13564 Code and Data Size: Current and previous core subsystem library sizes are 
13565 shown below.  These are the code and data sizes for the acpica.lib 
13566 produced 
13567 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13568 any ACPI driver or OSPM code.  The debug version of the code includes the 
13569 debug output trace mechanism and has a much larger code and data size.  
13570 Note 
13571 that these values will vary depending on the efficiency of the compiler 
13572 and 
13573 the compiler options used during generation.
13574
13575   Previous Release:
13576     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13577     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13578
13579   Current Release:
13580     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13581     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13582
13583
13584 2) iASL Compiler/Disassembler:
13585
13586 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13587 the 
13588 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13589 LLessEqual.
13590
13591 All directory names in the entire source package are lower case, as they 
13592 were in earlier releases.
13593
13594 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
13595 not found.
13596
13597 Fixed an issue with the Windows version of the compiler where later 
13598 versions 
13599 of Windows place the FADT in the registry under the name "FADT" and not 
13600 "FACP" as earlier versions did.  This applies when using the -g or -
13601 d<nofilename> options.  The compiler now looks for both strings as 
13602 necessary.
13603
13604 Fixed a problem with compiler namepath optimization where a namepath 
13605 within 
13606 the Scope() operator could not be optimized if the namepath was a subpath 
13607 of 
13608 the current scope path.
13609
13610 ----------------------------------------
13611 27 May 2004.  Summary of changes for version 20040527:
13612
13613 1) ACPI CA Core Subsystem:
13614
13615 Completed a new design and implementation for EBDA (Extended BIOS Data 
13616 Area) 
13617 support in the RSDP scan code.  The original code improperly scanned for 
13618 the 
13619 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
13620 method 
13621 is to first obtain the EBDA pointer from within the BIOS data area, then 
13622 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
13623 if 
13624 any machines that place the RSDP in the EBDA, however.
13625
13626 Integrated a fix for a possible fault during evaluation of BufferField 
13627 arguments.  Obsolete code that was causing the problem was removed.
13628
13629 Found and fixed a problem in the Field Support Code where data could be 
13630 corrupted on a bit field read that starts on an aligned boundary but does 
13631 not end on an aligned boundary.  Merged the read/write "datum length" 
13632 calculation code into a common procedure.
13633
13634 Rolled in a couple of changes to the FreeBSD-specific header.
13635
13636
13637 Code and Data Size: Current and previous core subsystem library sizes are 
13638 shown below.  These are the code and data sizes for the acpica.lib 
13639 produced 
13640 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13641 any ACPI driver or OSPM code.  The debug version of the code includes the 
13642 debug output trace mechanism and has a much larger code and data size.  
13643 Note 
13644 that these values will vary depending on the efficiency of the compiler 
13645 and 
13646 the compiler options used during generation.
13647
13648   Previous Release:
13649     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13650     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13651   Current Release:
13652     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13653     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13654
13655
13656 2) iASL Compiler/Disassembler:
13657
13658 Fixed a generation warning produced by some overly-verbose compilers for 
13659
13660 64-bit constant.
13661
13662 ----------------------------------------
13663 14 May 2004.  Summary of changes for version 20040514:
13664
13665 1) ACPI CA Core Subsystem:
13666
13667 Fixed a problem where hardware GPE enable bits sometimes not set properly 
13668 during and after GPE method execution.  Result of 04/27 changes.
13669
13670 Removed extra "clear all GPEs" when sleeping/waking.
13671
13672 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
13673 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
13674 to 
13675 the new AcpiEv* calls as appropriate.
13676
13677 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
13678 is 
13679 now "Microsoft Windows NT" for maximum compatibility.  However this can 
13680 be 
13681 changed by modifying the acconfig.h file.
13682
13683 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
13684 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
13685
13686 Run _INI methods on ThermalZone objects.  This is against the ACPI 
13687 specification, but there is apparently ASL code in the field that has 
13688 these 
13689 _INI methods, and apparently "other" AML interpreters execute them.
13690
13691 Performed a full 16/32/64 bit lint that resulted in some small changes.
13692
13693 Added a sleep simulation command to the AML debugger to test sleep code. 
13694
13695 Code and Data Size: Current and previous core subsystem library sizes are 
13696 shown below.  These are the code and data sizes for the acpica.lib 
13697 produced 
13698 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13699 any ACPI driver or OSPM code.  The debug version of the code includes the 
13700 debug output trace mechanism and has a much larger code and data size.  
13701 Note 
13702 that these values will vary depending on the efficiency of the compiler 
13703 and 
13704 the compiler options used during generation.
13705
13706   Previous Release:
13707     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13708     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13709   Current Release:
13710     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13711     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13712
13713 ----------------------------------------
13714 27 April 2004.  Summary of changes for version 20040427:
13715
13716 1) ACPI CA Core Subsystem:
13717
13718 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
13719 now three types of GPEs:  wake-only, runtime-only, and combination 
13720 wake/run.  
13721 The only GPEs allowed to be combination wake/run are for button-style 
13722 devices such as a control-method power button, control-method sleep 
13723 button, 
13724 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
13725 not 
13726 referenced by any _PRW methods are marked for "runtime" and hardware 
13727 enabled.  Any GPE that is referenced by a _PRW method is marked for 
13728 "wake" 
13729 (and disabled at runtime).  However, at sleep time, only those GPEs that 
13730 have been specifically enabled for wake via the AcpiEnableGpe interface 
13731 will 
13732 actually be hardware enabled.
13733
13734 A new external interface has been added, AcpiSetGpeType(), that is meant 
13735 to 
13736 be used by device drivers to force a GPE to a particular type.  It will 
13737 be 
13738 especially useful for the drivers for the button devices mentioned above.
13739
13740 Completed restructuring of the ACPI CA initialization sequence so that 
13741 default operation region handlers are installed before GPEs are 
13742 initialized 
13743 and the _PRW methods are executed.  This will prevent errors when the 
13744 _PRW 
13745 methods attempt to access system memory or I/O space.
13746
13747 GPE enable/disable no longer reads the GPE enable register.  We now keep 
13748 the 
13749 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
13750 thus no longer depend on the hardware to maintain these bits.
13751
13752 Always clear the wake status and fixed/GPE status bits before sleep, even 
13753 for state S5.
13754
13755 Improved the AML debugger output for displaying the GPE blocks and their 
13756 current status.
13757
13758 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
13759 where 
13760 x = 0,1,2,3,4.
13761
13762 Fixed a problem where the physical address was incorrectly calculated 
13763 when 
13764 the Load() operator was used to directly load from an Operation Region 
13765 (vs. 
13766 loading from a Field object.)  Also added check for minimum table length 
13767 for 
13768 this case.
13769
13770 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
13771 mutex release.
13772
13773 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
13774 consistency with the other fields returned.
13775
13776 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
13777 structure for each GPE in the system, so the size of this structure is 
13778 important.
13779
13780 CPU stack requirement reduction:  Cleaned up the method execution and 
13781 object 
13782 evaluation paths so that now a parameter structure is passed, instead of 
13783 copying the various method parameters over and over again.
13784
13785 In evregion.c:  Correctly exit and reenter the interpreter region if and 
13786 only if dispatching an operation region request to a user-installed 
13787 handler.  
13788 Do not exit/reenter when dispatching to a default handler (e.g., default 
13789 system memory or I/O handlers)
13790
13791
13792 Notes for updating drivers for the new GPE support.  The following 
13793 changes 
13794 must be made to ACPI-related device drivers that are attached to one or 
13795 more 
13796 GPEs: (This information will be added to the ACPI CA Programmer 
13797 Reference.)
13798
13799 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
13800 must 
13801 explicitly call AcpiEnableGpe.
13802 2) There is a new interface called AcpiSetGpeType. This should be called 
13803 before enabling the GPE.  Also, this interface will automatically disable 
13804 the GPE if it is currently enabled.
13805 3) AcpiEnableGpe no longer supports a GPE type flag.
13806
13807 Specific drivers that must be changed:
13808 1) EC driver:
13809     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
13810 AeGpeHandler, NULL);
13811     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
13812     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
13813
13814 2) Button Drivers (Power, Lid, Sleep):
13815 Run _PRW method under parent device
13816 If _PRW exists: /* This is a control-method button */
13817     Extract GPE number and possibly GpeDevice
13818     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
13819     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
13820
13821 For all other devices that have _PRWs, we automatically set the GPE type 
13822 to 
13823 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
13824 This 
13825 must be done on a selective basis, usually requiring some kind of user 
13826 app 
13827 to allow the user to pick the wake devices.
13828
13829
13830 Code and Data Size: Current and previous core subsystem library sizes are 
13831 shown below.  These are the code and data sizes for the acpica.lib 
13832 produced 
13833 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13834 any ACPI driver or OSPM code.  The debug version of the code includes the 
13835 debug output trace mechanism and has a much larger code and data size.  
13836 Note 
13837 that these values will vary depending on the efficiency of the compiler 
13838 and 
13839 the compiler options used during generation.
13840
13841   Previous Release:
13842     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13843     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13844   Current Release:
13845
13846     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13847     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13848
13849
13850
13851 ----------------------------------------
13852 02 April 2004.  Summary of changes for version 20040402:
13853
13854 1) ACPI CA Core Subsystem:
13855
13856 Fixed an interpreter problem where an indirect store through an ArgX 
13857 parameter was incorrectly applying the "implicit conversion rules" during 
13858 the store.  From the ACPI specification: "If the target is a method local 
13859 or 
13860 argument (LocalX or ArgX), no conversion is performed and the result is 
13861 stored directly to the target".  The new behavior is to disable implicit 
13862 conversion during ALL stores to an ArgX.
13863
13864 Changed the behavior of the _PRW method scan to ignore any and all errors 
13865 returned by a given _PRW.  This prevents the scan from aborting from the 
13866 failure of any single _PRW.
13867
13868 Moved the runtime configuration parameters from the global init procedure 
13869 to 
13870 static variables in acglobal.h.  This will allow the host to override the 
13871 default values easily.
13872
13873 Code and Data Size: Current and previous core subsystem library sizes are 
13874 shown below.  These are the code and data sizes for the acpica.lib 
13875 produced 
13876 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13877 any ACPI driver or OSPM code.  The debug version of the code includes the 
13878 debug output trace mechanism and has a much larger code and data size.  
13879 Note 
13880 that these values will vary depending on the efficiency of the compiler 
13881 and 
13882 the compiler options used during generation.
13883
13884   Previous Release:
13885     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13886     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13887   Current Release:
13888     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13889     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13890
13891
13892 2) iASL Compiler/Disassembler:
13893
13894 iASL now fully disassembles SSDTs.  However, External() statements are 
13895 not 
13896 generated automatically for unresolved symbols at this time.  This is a 
13897 planned feature for future implementation.
13898
13899 Fixed a scoping problem in the disassembler that occurs when the type of 
13900 the 
13901 target of a Scope() operator is overridden.  This problem caused an 
13902 incorrectly nested internal namespace to be constructed.
13903
13904 Any warnings or errors that are emitted during disassembly are now 
13905 commented 
13906 out automatically so that the resulting file can be recompiled without 
13907 any 
13908 hand editing.
13909
13910 ----------------------------------------
13911 26 March 2004.  Summary of changes for version 20040326:
13912
13913 1) ACPI CA Core Subsystem:
13914
13915 Implemented support for "wake" GPEs via interaction between GPEs and the 
13916 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
13917 identified as a WAKE GPE and by default will no longer be enabled at 
13918 runtime.  Previously, we were blindly enabling all GPEs with a 
13919 corresponding 
13920 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
13921 We 
13922 believe this has been the cause of thousands of "spurious" GPEs on some 
13923 systems.
13924
13925 This new GPE behavior is can be reverted to the original behavior (enable 
13926 ALL GPEs at runtime) via a runtime flag.
13927
13928 Fixed a problem where aliased control methods could not access objects 
13929 properly.  The proper scope within the namespace was not initialized 
13930 (transferred to the target of the aliased method) before executing the 
13931 target method.
13932
13933 Fixed a potential race condition on internal object deletion on the 
13934 return 
13935 object in AcpiEvaluateObject. 
13936
13937 Integrated a fix for resource descriptors where both _MEM and _MTP were 
13938 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
13939 wide, 0x0F instead of 0x03.)
13940
13941 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
13942 preventing 
13943
13944 fault in some cases.
13945
13946 Updated Notify() values for debug statements in evmisc.c
13947
13948 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
13949
13950 Code and Data Size: Current and previous core subsystem library sizes are 
13951 shown below.  These are the code and data sizes for the acpica.lib 
13952 produced 
13953 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13954 any ACPI driver or OSPM code.  The debug version of the code includes the 
13955 debug output trace mechanism and has a much larger code and data size.  
13956 Note 
13957 that these values will vary depending on the efficiency of the compiler 
13958 and 
13959 the compiler options used during generation.
13960
13961   Previous Release:
13962
13963     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13964     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13965   Current Release:
13966     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13967     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13968
13969 ----------------------------------------
13970 11 March 2004.  Summary of changes for version 20040311:
13971
13972 1) ACPI CA Core Subsystem:
13973
13974 Fixed a problem where errors occurring during the parse phase of control 
13975 method execution did not abort cleanly.  For example, objects created and 
13976 installed in the namespace were not deleted.  This caused all subsequent 
13977 invocations of the method to return the AE_ALREADY_EXISTS exception.
13978
13979 Implemented a mechanism to force a control method to "Serialized" 
13980 execution 
13981 if the method attempts to create namespace objects. (The root of the 
13982 AE_ALREADY_EXISTS problem.)
13983
13984 Implemented support for the predefined _OSI "internal" control method.  
13985 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
13986 and 
13987 "Windows 2001.1", and can be easily upgraded for new strings as 
13988 necessary.  
13989 This feature will allow "other" operating systems to execute the fully 
13990 tested, "Windows" code path through the ASL code
13991
13992 Global Lock Support:  Now allows multiple acquires and releases with any 
13993 internal thread.  Removed concept of "owning thread" for this special 
13994 mutex.
13995
13996 Fixed two functions that were inappropriately declaring large objects on 
13997 the 
13998 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
13999 during 
14000 method execution considerably.
14001
14002 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
14003 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
14004
14005 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
14006 defined on the machine.
14007
14008 Implemented two runtime options:  One to force all control method 
14009 execution 
14010 to "Serialized" to mimic Windows behavior, another to disable _OSI 
14011 support 
14012 if it causes problems on a given machine.
14013
14014 Code and Data Size: Current and previous core subsystem library sizes are 
14015 shown below.  These are the code and data sizes for the acpica.lib 
14016 produced 
14017 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
14018 any ACPI driver or OSPM code.  The debug version of the code includes the 
14019 debug output trace mechanism and has a much larger code and data size.  
14020 Note 
14021 that these values will vary depending on the efficiency of the compiler 
14022 and 
14023 the compiler options used during generation.
14024
14025   Previous Release:
14026     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
14027     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
14028   Current Release:
14029     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
14030     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
14031
14032 2) iASL Compiler/Disassembler:
14033
14034 Fixed an array size problem for FreeBSD that would cause the compiler to 
14035 fault.
14036
14037 ----------------------------------------
14038 20 February 2004.  Summary of changes for version 20040220:
14039
14040
14041 1) ACPI CA Core Subsystem:
14042
14043 Implemented execution of _SxD methods for Device objects in the 
14044 GetObjectInfo interface.
14045
14046 Fixed calls to _SST method to pass the correct arguments.
14047
14048 Added a call to _SST on wake to restore to "working" state.
14049
14050 Check for End-Of-Buffer failure case in the WalkResources interface.
14051
14052 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
14053 structures to the beginning of the file.
14054
14055 After wake, clear GPE status register(s) before enabling GPEs.
14056
14057 After wake, clear/enable power button.  (Perhaps we should clear/enable 
14058 all 
14059 fixed events upon wake.)
14060
14061 Fixed a couple of possible memory leaks in the Namespace manager.
14062
14063 Integrated latest acnetbsd.h file.
14064
14065 ----------------------------------------
14066 11 February 2004.  Summary of changes for version 20040211:
14067
14068
14069 1) ACPI CA Core Subsystem:
14070
14071 Completed investigation and implementation of the call-by-reference 
14072 mechanism for control method arguments.
14073
14074 Fixed a problem where a store of an object into an indexed package could 
14075 fail if the store occurs within a different method than the method that 
14076 created the package.
14077
14078 Fixed a problem where the ToDecimal operator could return incorrect 
14079 results.
14080
14081 Fixed a problem where the CopyObject operator could fail on some of the 
14082 more 
14083 obscure objects (e.g., Reference objects.)
14084
14085 Improved the output of the Debug object to display buffer, package, and 
14086 index objects.
14087
14088 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
14089 return 
14090 the expected result.
14091
14092 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
14093 ACPI_AML_INTERNAL exception.
14094
14095 Integrated latest version of acfreebsd.h
14096
14097 ----------------------------------------
14098 16 January 2004.  Summary of changes for version 20040116:
14099
14100 The purpose of this release is primarily to update the copyright years in 
14101 each module, thus causing a huge number of diffs.  There are a few small 
14102 functional changes, however.
14103
14104 1) ACPI CA Core Subsystem:
14105
14106 Improved error messages when there is a problem finding one or more of 
14107 the 
14108 required base ACPI tables
14109
14110 Reintroduced the definition of APIC_HEADER in actbl.h
14111
14112 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
14113
14114 Removed extraneous reference to NewObj in dsmthdat.c
14115
14116 2) iASL compiler
14117
14118 Fixed a problem introduced in December that disabled the correct 
14119 disassembly 
14120 of Resource Templates
14121
14122
14123 ----------------------------------------
14124 03 December 2003.  Summary of changes for version 20031203:
14125
14126 1) ACPI CA Core Subsystem:
14127
14128 Changed the initialization of Operation Regions during subsystem
14129 init to perform two entire walks of the ACPI namespace; The first
14130 to initialize the regions themselves, the second to execute the
14131 _REG methods.  This fixed some interdependencies across _REG
14132 methods found on some machines.
14133
14134 Fixed a problem where a Store(Local0, Local1) could simply update
14135 the object reference count, and not create a new copy of the
14136 object if the Local1 is uninitialized.
14137
14138 Implemented support for the _SST reserved method during sleep
14139 transitions.
14140
14141 Implemented support to clear the SLP_TYP and SLP_EN bits when
14142 waking up, this is apparently required by some machines.
14143
14144 When sleeping, clear the wake status only if SleepState is not S5.
14145
14146 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
14147 pointer arithmetic advanced a string pointer too far.
14148
14149 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
14150 could be returned if the requested table has not been loaded.
14151
14152 Within the support for IRQ resources, restructured the handling of
14153 the active and edge/level bits.
14154
14155 Fixed a few problems in AcpiPsxExecute() where memory could be
14156 leaked under certain error conditions.
14157
14158 Improved error messages for the cases where the ACPI mode could
14159 not be entered.
14160
14161 Code and Data Size: Current and previous core subsystem library
14162 sizes are shown below.  These are the code and data sizes for the
14163 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14164 these values do not include any ACPI driver or OSPM code.  The
14165 debug version of the code includes the debug output trace
14166 mechanism and has a much larger code and data size.  Note that
14167 these values will vary depending on the efficiency of the compiler
14168 and the compiler options used during generation.
14169
14170   Previous Release (20031029):
14171     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14172     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14173   Current Release:
14174     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
14175     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
14176
14177 2) iASL Compiler/Disassembler:
14178
14179 Implemented a fix for the iASL disassembler where a bad index was
14180 generated.  This was most noticeable on 64-bit platforms
14181
14182
14183 ----------------------------------------
14184 29 October 2003.  Summary of changes for version 20031029:
14185
14186 1) ACPI CA Core Subsystem:
14187
14188
14189 Fixed a problem where a level-triggered GPE with an associated
14190 _Lxx control method was incorrectly cleared twice.
14191
14192 Fixed a problem with the Field support code where an access can
14193 occur beyond the end-of-region if the field is non-aligned but
14194 extends to the very end of the parent region (resulted in an
14195 AE_AML_REGION_LIMIT exception.)
14196
14197 Fixed a problem with ACPI Fixed Events where an RT Clock handler
14198 would not get invoked on an RTC event.  The RTC event bitmasks for
14199 the PM1 registers were not being initialized properly.
14200
14201 Implemented support for executing _STA and _INI methods for
14202 Processor objects.  Although this is currently not part of the
14203 ACPI specification, there is existing ASL code that depends on the
14204 init-time execution of these methods.
14205
14206 Implemented and deployed a GetDescriptorName function to decode
14207 the various types of internal descriptors.  Guards against null
14208 descriptors during debug output also.
14209
14210 Implemented and deployed a GetNodeName function to extract the 4-
14211 character namespace node name.  This function simplifies the debug
14212 and error output, as well as guarding against null pointers during
14213 output.
14214
14215 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
14216 simplify the debug and error output of 64-bit integers.  This
14217 macro replaces the HIDWORD and LODWORD macros for dumping these
14218 integers.
14219
14220 Updated the implementation of the Stall() operator to only call
14221 AcpiOsStall(), and also return an error if the operand is larger
14222 than 255.  This preserves the required behavior of not
14223 relinquishing the processor, as would happen if AcpiOsSleep() was
14224 called for "long stalls".
14225
14226 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
14227 initialized are now treated as NOOPs.
14228
14229 Cleaned up a handful of warnings during 64-bit generation.
14230
14231 Fixed a reported error where and incorrect GPE number was passed
14232 to the GPE dispatch handler.  This value is only used for error
14233 output, however.  Used this opportunity to clean up and streamline
14234 the GPE dispatch code.
14235
14236 Code and Data Size: Current and previous core subsystem library
14237 sizes are shown below.  These are the code and data sizes for the
14238 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14239 these values do not include any ACPI driver or OSPM code.  The
14240
14241 debug version of the code includes the debug output trace
14242 mechanism and has a much larger code and data size.  Note that
14243 these values will vary depending on the efficiency of the compiler
14244 and the compiler options used during generation.
14245
14246   Previous Release (20031002):
14247     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14248     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14249   Current Release:
14250     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14251     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14252
14253
14254 2) iASL Compiler/Disassembler:
14255
14256 Updated the iASL compiler to return an error if the operand to the
14257 Stall() operator is larger than 255.
14258
14259
14260 ----------------------------------------
14261 02 October 2003.  Summary of changes for version 20031002:
14262
14263
14264 1) ACPI CA Core Subsystem:
14265
14266 Fixed a problem with Index Fields where the index was not
14267 incremented for fields that require multiple writes to the
14268 index/data registers (Fields that are wider than the data
14269 register.)
14270
14271 Fixed a problem with all Field objects where a write could go
14272 beyond the end-of-field if the field was larger than the access
14273 granularity and therefore required multiple writes to complete the
14274 request.  An extra write beyond the end of the field could happen
14275 inadvertently.
14276
14277 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
14278 would incorrectly be returned if the width of the Data Register
14279 was larger than the specified field access width.
14280
14281 Completed fixes for LoadTable() and Unload() and verified their
14282 operation.  Implemented full support for the "DdbHandle" object
14283 throughout the ACPI CA subsystem.
14284
14285 Implemented full support for the MADT and ECDT tables in the ACPI
14286 CA header files.  Even though these tables are not directly
14287 consumed by ACPI CA, the header definitions are useful for ACPI
14288 device drivers.
14289
14290 Integrated resource descriptor fixes posted to the Linux ACPI
14291 list.  This included checks for minimum descriptor length, and
14292 support for trailing NULL strings within descriptors that have
14293 optional string elements.
14294
14295 Code and Data Size: Current and previous core subsystem library
14296 sizes are shown below.  These are the code and data sizes for the
14297 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14298 these values do not include any ACPI driver or OSPM code.  The
14299 debug version of the code includes the debug output trace
14300 mechanism and has a much larger code and data size.  Note that
14301 these values will vary depending on the efficiency of the compiler
14302 and the compiler options used during generation.
14303
14304   Previous Release (20030918):
14305     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14306     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14307   Current Release:
14308     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14309     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14310
14311
14312 2) iASL Compiler:
14313
14314 Implemented detection of non-ASCII characters within the input
14315 source ASL file.  This catches attempts to compile binary (AML)
14316 files early in the compile, with an informative error message.
14317
14318 Fixed a problem where the disassembler would fault if the output
14319 filename could not be generated or if the output file could not be
14320 opened.
14321
14322 ----------------------------------------
14323 18 September 2003.  Summary of changes for version 20030918:
14324
14325
14326 1) ACPI CA Core Subsystem:
14327
14328 Found and fixed a longstanding problem with the late execution of
14329 the various deferred AML opcodes (such as Operation Regions,
14330 Buffer Fields, Buffers, and Packages).  If the name string
14331 specified for the name of the new object placed the object in a
14332 scope other than the current scope, the initialization/execution
14333 of the opcode failed.  The solution to this problem was to
14334 implement a mechanism where the late execution of such opcodes
14335 does not attempt to lookup/create the name a second time in an
14336 incorrect scope.  This fixes the "region size computed
14337 incorrectly" problem.
14338
14339 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
14340 Global Lock AE_BAD_PARAMETER error.
14341
14342 Fixed several 64-bit issues with prototypes, casting and data
14343 types.
14344
14345 Removed duplicate prototype from acdisasm.h
14346
14347 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
14348
14349 Code and Data Size: Current and previous core subsystem library
14350 sizes are shown below.  These are the code and data sizes for the
14351 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14352 these values do not include any ACPI driver or OSPM code.  The
14353 debug version of the code includes the debug output trace
14354 mechanism and has a much larger code and data size.  Note that
14355 these values will vary depending on the efficiency of the compiler
14356 and the compiler options used during generation.
14357
14358   Previous Release:
14359
14360     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14361     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14362   Current Release:
14363     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14364     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14365
14366
14367 2) Linux:
14368
14369 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
14370 correct sleep time in seconds.
14371
14372 ----------------------------------------
14373 14 July 2003.  Summary of changes for version 20030619:
14374
14375 1) ACPI CA Core Subsystem:
14376
14377 Parse SSDTs in order discovered, as opposed to reverse order
14378 (Hrvoje Habjanic)
14379
14380 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
14381 Klausner,
14382    Nate Lawson)
14383
14384
14385 2) Linux:
14386
14387 Dynamically allocate SDT list (suggested by Andi Kleen)
14388
14389 proc function return value cleanups (Andi Kleen)
14390
14391 Correctly handle NMI watchdog during long stalls (Andrew Morton)
14392
14393 Make it so acpismp=force works (reported by Andrew Morton)
14394
14395
14396 ----------------------------------------
14397 19 June 2003.  Summary of changes for version 20030619:
14398
14399 1) ACPI CA Core Subsystem:
14400
14401 Fix To/FromBCD, eliminating the need for an arch-specific #define.
14402
14403 Do not acquire a semaphore in the S5 shutdown path.
14404
14405 Fix ex_digits_needed for 0. (Takayoshi Kochi)
14406
14407 Fix sleep/stall code reversal. (Andi Kleen)
14408
14409 Revert a change having to do with control method calling
14410 semantics.
14411
14412 2) Linux:
14413
14414 acpiphp update (Takayoshi Kochi)
14415
14416 Export acpi_disabled for sonypi (Stelian Pop)
14417
14418 Mention acpismp=force in config help
14419
14420 Re-add acpitable.c and acpismp=force. This improves backwards
14421
14422 compatibility and also cleans up the code to a significant degree.
14423
14424 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
14425
14426 ----------------------------------------
14427 22 May 2003.  Summary of changes for version 20030522:
14428
14429 1) ACPI CA Core Subsystem:
14430
14431 Found and fixed a reported problem where an AE_NOT_FOUND error
14432 occurred occasionally during _BST evaluation.  This turned out to
14433 be an Owner ID allocation issue where a called method did not get
14434 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
14435 ID UINT16 would wraparound so that the ID would be the same as the
14436 caller's and the called method would delete the caller's
14437 namespace.
14438
14439 Implemented extended error reporting for control methods that are
14440 aborted due to a run-time exception.  Output includes the exact
14441 AML instruction that caused the method abort, a dump of the method
14442 locals and arguments at the time of the abort, and a trace of all
14443 nested control method calls.
14444
14445 Modified the interpreter to allow the creation of buffers of zero
14446 length from the AML code. Implemented new code to ensure that no
14447 attempt is made to actually allocate a memory buffer (of length
14448 zero) - instead, a simple buffer object with a NULL buffer pointer
14449 and length zero is created.  A warning is no longer issued when
14450 the AML attempts to create a zero-length buffer.
14451
14452 Implemented a workaround for the "leading asterisk issue" in
14453 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
14454 asterisk is automatically removed if present in any HID, UID, or
14455 CID strings.  The iASL compiler will still flag this asterisk as
14456 an error, however.
14457
14458 Implemented full support for _CID methods that return a package of
14459 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
14460 now additionally returns a device _CID list if present.  This
14461 required a change to the external interface in order to pass an
14462 ACPI_BUFFER object as a parameter since the _CID list is of
14463 variable length.
14464
14465 Fixed a problem with the new AE_SAME_HANDLER exception where
14466 handler initialization code did not know about this exception.
14467
14468 Code and Data Size: Current and previous core subsystem library
14469 sizes are shown below.  These are the code and data sizes for the
14470 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14471 these values do not include any ACPI driver or OSPM code.  The
14472 debug version of the code includes the debug output trace
14473 mechanism and has a much larger code and data size.  Note that
14474 these values will vary depending on the efficiency of the compiler
14475 and the compiler options used during generation.
14476
14477   Previous Release (20030509):
14478     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14479     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14480   Current Release:
14481     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14482     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14483
14484
14485 2) Linux:
14486
14487 Fixed a bug in which we would reinitialize the ACPI interrupt
14488 after it was already working, thus disabling all ACPI and the IRQs
14489 for any other device sharing the interrupt. (Thanks to Stian
14490 Jordet)
14491
14492 Toshiba driver update (John Belmonte)
14493
14494 Return only 0 or 1 for our interrupt handler status (Andrew
14495 Morton)
14496
14497
14498 3) iASL Compiler:
14499
14500 Fixed a reported problem where multiple (nested) ElseIf()
14501 statements were not handled correctly by the compiler, resulting
14502 in incorrect warnings and incorrect AML code.  This was a problem
14503 in both the ASL parser and the code generator.
14504
14505
14506 4) Documentation:
14507
14508 Added changes to existing interfaces, new exception codes, and new
14509 text concerning reference count object management versus garbage
14510 collection.
14511
14512 ----------------------------------------
14513 09 May 2003.  Summary of changes for version 20030509.
14514
14515
14516 1) ACPI CA Core Subsystem:
14517
14518 Changed the subsystem initialization sequence to hold off
14519 installation of address space handlers until the hardware has been
14520 initialized and the system has entered ACPI mode.  This is because
14521 the installation of space handlers can cause _REG methods to be
14522 run.  Previously, the _REG methods could potentially be run before
14523 ACPI mode was enabled.
14524
14525 Fixed some memory leak issues related to address space handler and
14526 notify handler installation.  There were some problems with the
14527 reference count mechanism caused by the fact that the handler
14528 objects are shared across several namespace objects.
14529
14530 Fixed a reported problem where reference counts within the
14531 namespace were not properly updated when named objects created by
14532 method execution were deleted.
14533
14534 Fixed a reported problem where multiple SSDTs caused a deletion
14535 issue during subsystem termination.  Restructured the table data
14536 structures to simplify the linked lists and the related code.
14537
14538 Fixed a problem where the table ID associated with secondary
14539 tables (SSDTs) was not being propagated into the namespace objects
14540 created by those tables.  This would only present a problem for
14541 tables that are unloaded at run-time, however.
14542
14543 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
14544 type as the length parameter (instead of UINT32).
14545
14546 Solved a long-standing problem where an ALREADY_EXISTS error
14547 appears on various systems.  This problem could happen when there
14548 are multiple PCI_Config operation regions under a single PCI root
14549 bus.  This doesn't happen very frequently, but there are some
14550 systems that do this in the ASL.
14551
14552 Fixed a reported problem where the internal DeleteNode function
14553 was incorrectly handling the case where a namespace node was the
14554 first in the parent's child list, and had additional peers (not
14555 the only child, but first in the list of children.)
14556
14557 Code and Data Size: Current core subsystem library sizes are shown
14558 below.  These are the code and data sizes for the acpica.lib
14559 produced by the Microsoft Visual C++ 6.0 compiler, and these
14560 values do not include any ACPI driver or OSPM code.  The debug
14561 version of the code includes the debug output trace mechanism and
14562 has a much larger code and data size.  Note that these values will
14563 vary depending on the efficiency of the compiler and the compiler
14564 options used during generation.
14565
14566   Previous Release
14567     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14568     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14569   Current Release:
14570     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14571     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14572
14573
14574 2) Linux:
14575
14576 Allow ":" in OS override string (Ducrot Bruno)
14577
14578 Kobject fix (Greg KH)
14579
14580
14581 3 iASL Compiler/Disassembler:
14582
14583 Fixed a problem in the generation of the C source code files (AML
14584 is emitted in C source statements for BIOS inclusion) where the
14585 Ascii dump that appears within a C comment at the end of each line
14586 could cause a compile time error if the AML sequence happens to
14587 have an open comment or close comment sequence embedded.
14588
14589
14590 ----------------------------------------
14591 24 April 2003.  Summary of changes for version 20030424.
14592
14593
14594 1) ACPI CA Core Subsystem:
14595
14596 Support for big-endian systems has been implemented.  Most of the
14597 support has been invisibly added behind big-endian versions of the
14598 ACPI_MOVE_* macros.
14599
14600 Fixed a problem in AcpiHwDisableGpeBlock() and
14601 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
14602 low level hardware write routine.  The offset parameter was
14603 actually eliminated from the low level read/write routines because
14604 they had become obsolete.
14605
14606 Fixed a problem where a handler object was deleted twice during
14607 the removal of a fixed event handler.
14608
14609
14610 2) Linux:
14611
14612 A fix for SMP systems with link devices was contributed by
14613
14614 Compaq's Dan Zink.
14615
14616 (2.5) Return whether we handled the interrupt in our IRQ handler.
14617 (Linux ISRs no longer return void, so we can propagate the handler
14618 return value from the ACPI CA core back to the OS.)
14619
14620
14621
14622 3) Documentation:
14623
14624 The ACPI CA Programmer Reference has been updated to reflect new
14625 interfaces and changes to existing interfaces.
14626
14627 ----------------------------------------
14628 28 March 2003.  Summary of changes for version 20030328.
14629
14630 1) ACPI CA Core Subsystem:
14631
14632 The GPE Block Device support has been completed.  New interfaces
14633 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
14634 interfaces (enable, disable, clear, getstatus) have been split
14635 into separate interfaces for Fixed Events and General Purpose
14636 Events (GPEs) in order to support GPE Block Devices properly.
14637
14638 Fixed a problem where the error message "Failed to acquire
14639 semaphore" would appear during operations on the embedded
14640 controller (EC).
14641
14642 Code and Data Size: Current core subsystem library sizes are shown
14643 below.  These are the code and data sizes for the acpica.lib
14644 produced by the Microsoft Visual C++ 6.0 compiler, and these
14645 values do not include any ACPI driver or OSPM code.  The debug
14646 version of the code includes the debug output trace mechanism and
14647 has a much larger code and data size.  Note that these values will
14648 vary depending on the efficiency of the compiler and the compiler
14649 options used during generation.
14650
14651   Previous Release
14652     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14653     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14654   Current Release:
14655     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14656     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14657
14658
14659 ----------------------------------------
14660 28 February 2003.  Summary of changes for version 20030228.
14661
14662
14663 1) ACPI CA Core Subsystem:
14664
14665 The GPE handling and dispatch code has been completely overhauled
14666 in preparation for support of GPE Block Devices (ID ACPI0006).
14667 This affects internal data structures and code only; there should
14668 be no differences visible externally.  One new file has been
14669 added, evgpeblk.c
14670
14671 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
14672 fields that are used to determine the GPE block lengths.  The
14673 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
14674 structures are ignored.  This is per the ACPI specification but it
14675 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
14676 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
14677
14678 In the SCI interrupt handler, removed the read of the PM1_CONTROL
14679 register to look at the SCI_EN bit.  On some machines, this read
14680 causes an SMI event and greatly slows down SCI events.  (This may
14681 in fact be the cause of slow battery status response on some
14682 systems.)
14683
14684 Fixed a problem where a store of a NULL string to a package object
14685 could cause the premature deletion of the object.  This was seen
14686 during execution of the battery _BIF method on some systems,
14687 resulting in no battery data being returned.
14688
14689 Added AcpiWalkResources interface to simplify parsing of resource
14690 lists.
14691
14692 Code and Data Size: Current core subsystem library sizes are shown
14693 below.  These are the code and data sizes for the acpica.lib
14694 produced by the Microsoft Visual C++ 6.0 compiler, and these
14695 values do not include any ACPI driver or OSPM code.  The debug
14696 version of the code includes the debug output trace mechanism and
14697 has a much larger code and data size.  Note that these values will
14698 vary depending on the efficiency of the compiler and the compiler
14699 options used during generation.
14700
14701   Previous Release
14702     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14703     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14704   Current Release:
14705     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14706     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14707
14708
14709 2) Linux
14710
14711 S3 fixes (Ole Rohne)
14712
14713 Update ACPI PHP driver with to use new acpi_walk_resource API
14714 (Bjorn Helgaas)
14715
14716 Add S4BIOS support (Pavel Machek)
14717
14718 Map in entire table before performing checksum (John Stultz)
14719
14720 Expand the mem= cmdline to allow the specification of reserved and
14721 ACPI DATA blocks (Pavel Machek)
14722
14723 Never use ACPI on VISWS
14724
14725 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
14726
14727 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
14728 causing us to think that some systems support C2 when they really
14729 don't.
14730
14731 Do not count processor objects for non-present CPUs (Thanks to
14732 Dominik Brodowski)
14733
14734
14735 3) iASL Compiler:
14736
14737 Fixed a problem where ASL include files could not be found and
14738 opened.
14739
14740 Added support for the _PDC reserved name.
14741
14742
14743 ----------------------------------------
14744 22 January 2003.  Summary of changes for version 20030122.
14745
14746
14747 1) ACPI CA Core Subsystem:
14748
14749 Added a check for constructs of the form:  Store (Local0, Local0)
14750 where Local0 is not initialized.  Apparently, some BIOS
14751 programmers believe that this is a NOOP.  Since this store doesn't
14752 do anything anyway, the new prototype behavior will ignore this
14753 error.  This is a case where we can relax the strict checking in
14754 the interpreter in the name of compatibility.
14755
14756
14757 2) Linux
14758
14759 The AcpiSrc Source Conversion Utility has been released with the
14760 Linux package for the first time.  This is the utility that is
14761 used to convert the ACPI CA base source code to the Linux version.
14762
14763 (Both) Handle P_BLK lengths shorter than 6 more gracefully
14764
14765 (Both) Move more headers to include/acpi, and delete an unused
14766 header.
14767
14768 (Both) Move drivers/acpi/include directory to include/acpi
14769
14770 (Both) Boot functions don't use cmdline, so don't pass it around
14771
14772 (Both) Remove include of unused header (Adrian Bunk)
14773
14774 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
14775 the
14776 former now also includes the latter, acpiphp.h only needs the one,
14777 now.
14778
14779 (2.5) Make it possible to select method of bios restoring after S3
14780 resume. [=> no more ugly ifdefs] (Pavel Machek)
14781
14782 (2.5) Make proc write interfaces work (Pavel Machek)
14783
14784 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
14785
14786 (2.5) Break out ACPI Perf code into its own module, under cpufreq
14787 (Dominik Brodowski)
14788
14789 (2.4) S4BIOS support (Ducrot Bruno)
14790
14791 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
14792 Visinoni)
14793
14794
14795 3) iASL Compiler:
14796
14797 Added support to disassemble SSDT and PSDTs.
14798
14799 Implemented support to obtain SSDTs from the Windows registry if
14800 available.
14801
14802
14803 ----------------------------------------
14804 09 January 2003.  Summary of changes for version 20030109.
14805
14806 1) ACPI CA Core Subsystem:
14807
14808 Changed the behavior of the internal Buffer-to-String conversion
14809 function.  The current ACPI specification states that the contents
14810 of the buffer are "converted to a string of two-character
14811 hexadecimal numbers, each separated by a space".  Unfortunately,
14812 this definition is not backwards compatible with existing ACPI 1.0
14813 implementations (although the behavior was not defined in the ACPI
14814 1.0 specification).  The new behavior simply copies data from the
14815 buffer to the string until a null character is found or the end of
14816 the buffer is reached.  The new String object is always null
14817 terminated.  This problem was seen during the generation of _BIF
14818 battery data where incorrect strings were returned for battery
14819 type, etc.  This will also require an errata to the ACPI
14820 specification.
14821
14822 Renamed all instances of NATIVE_UINT and NATIVE_INT to
14823 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
14824
14825 Copyright in all module headers (both Linux and non-Linux) has be
14826 updated to 2003.
14827
14828 Code and Data Size: Current core subsystem library sizes are shown
14829 below.  These are the code and data sizes for the acpica.lib
14830 produced by the Microsoft Visual C++ 6.0 compiler, and these
14831 values do not include any ACPI driver or OSPM code.  The debug
14832 version of the code includes the debug output trace mechanism and
14833 has a much larger code and data size.  Note that these values will
14834 vary depending on the efficiency of the compiler and the compiler
14835 options used during generation.
14836
14837   Previous Release
14838     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14839     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14840   Current Release:
14841     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14842     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14843
14844
14845 2) Linux
14846
14847 Fixed an oops on module insertion/removal (Matthew Tippett)
14848
14849 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
14850
14851 (2.5) Replace pr_debug (Randy Dunlap)
14852
14853 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
14854
14855 (Both) Eliminate spawning of thread from timer callback, in favor
14856 of schedule_work()
14857
14858 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
14859
14860 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
14861
14862 (Both) Add missing statics to button.c (Pavel Machek)
14863
14864 Several changes have been made to the source code translation
14865 utility that generates the Linux Code in order to make the code
14866 more "Linux-like":
14867
14868 All typedefs on structs and unions have been removed in keeping
14869 with the Linux coding style.
14870
14871 Removed the non-Linux SourceSafe module revision number from each
14872 module header.
14873
14874 Completed major overhaul of symbols to be lowercased for linux.
14875 Doubled the number of symbols that are lowercased.
14876
14877 Fixed a problem where identifiers within procedure headers and
14878 within quotes were not fully lower cased (they were left with a
14879 starting capital.)
14880
14881 Some C macros whose only purpose is to allow the generation of 16-
14882 bit code are now completely removed in the Linux code, increasing
14883 readability and maintainability.
14884
14885 ----------------------------------------
14886
14887 12 December 2002.  Summary of changes for version 20021212.
14888
14889
14890 1) ACPI CA Core Subsystem:
14891
14892 Fixed a problem where the creation of a zero-length AML Buffer
14893 would cause a fault.
14894
14895 Fixed a problem where a Buffer object that pointed to a static AML
14896 buffer (in an ACPI table) could inadvertently be deleted, causing
14897 memory corruption.
14898
14899 Fixed a problem where a user buffer (passed in to the external
14900 ACPI CA interfaces) could be overwritten if the buffer was too
14901 small to complete the operation, causing memory corruption.
14902
14903 Fixed a problem in the Buffer-to-String conversion code where a
14904 string of length one was always returned, regardless of the size
14905 of the input Buffer object.
14906
14907 Removed the NATIVE_CHAR data type across the entire source due to
14908 lack of need and lack of consistent use.
14909
14910 Code and Data Size: Current core subsystem library sizes are shown
14911 below.  These are the code and data sizes for the acpica.lib
14912 produced by the Microsoft Visual C++ 6.0 compiler, and these
14913 values do not include any ACPI driver or OSPM code.  The debug
14914 version of the code includes the debug output trace mechanism and
14915 has a much larger code and data size.  Note that these values will
14916 vary depending on the efficiency of the compiler and the compiler
14917 options used during generation.
14918
14919   Previous Release
14920     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14921     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14922   Current Release:
14923     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14924     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14925
14926
14927 ----------------------------------------
14928 05 December 2002.  Summary of changes for version 20021205.
14929
14930 1) ACPI CA Core Subsystem:
14931
14932 Fixed a problem where a store to a String or Buffer object could
14933 cause corruption of the DSDT if the object type being stored was
14934 the same as the target object type and the length of the object
14935 being stored was equal to or smaller than the original (existing)
14936 target object.  This was seen to cause corruption of battery _BIF
14937 buffers if the _BIF method modified the buffer on the fly.
14938
14939 Fixed a problem where an internal error was generated if a control
14940 method invocation was used in an OperationRegion, Buffer, or
14941 Package declaration.  This was caused by the deferred parsing of
14942 the control method and thus the deferred creation of the internal
14943 method object.  The solution to this problem was to create the
14944 internal method object at the moment the method is encountered in
14945 the first pass - so that subsequent references to the method will
14946 able to obtain the required parameter count and thus properly
14947 parse the method invocation.  This problem presented itself as an
14948 AE_AML_INTERNAL during the pass 1 parse phase during table load.
14949
14950 Fixed a problem where the internal String object copy routine did
14951 not always allocate sufficient memory for the target String object
14952 and caused memory corruption.  This problem was seen to cause
14953 "Allocation already present in list!" errors as memory allocation
14954 became corrupted.
14955
14956 Implemented a new function for the evaluation of namespace objects
14957 that allows the specification of the allowable return object
14958 types.  This simplifies a lot of code that checks for a return
14959 object of one or more specific objects returned from the
14960 evaluation (such as _STA, etc.)  This may become and external
14961 function if it would be useful to ACPI-related drivers.
14962
14963 Completed another round of prefixing #defines with "ACPI_" for
14964 clarity.
14965
14966 Completed additional code restructuring to allow more modular
14967 linking for iASL compiler and AcpiExec.  Several files were split
14968 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
14969
14970 Implemented an abort mechanism to terminate an executing control
14971 method via the AML debugger.  This feature is useful for debugging
14972 control methods that depend (wait) for specific hardware
14973 responses.
14974
14975 Code and Data Size: Current core subsystem library sizes are shown
14976 below.  These are the code and data sizes for the acpica.lib
14977 produced by the Microsoft Visual C++ 6.0 compiler, and these
14978 values do not include any ACPI driver or OSPM code.  The debug
14979 version of the code includes the debug output trace mechanism and
14980 has a much larger code and data size.  Note that these values will
14981 vary depending on the efficiency of the compiler and the compiler
14982 options used during generation.
14983
14984   Previous Release
14985     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14986     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14987   Current Release:
14988     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14989     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14990
14991
14992 2) iASL Compiler/Disassembler
14993
14994 Fixed a compiler code generation problem for "Interrupt" Resource
14995 Descriptors.  If specified in the ASL, the optional "Resource
14996 Source Index" and "Resource Source" fields were not inserted into
14997 the correct location within the AML resource descriptor, creating
14998 an invalid descriptor.
14999
15000 Fixed a disassembler problem for "Interrupt" resource descriptors.
15001 The optional "Resource Source Index" and "Resource Source" fields
15002 were ignored.
15003
15004
15005 ----------------------------------------
15006 22 November 2002.  Summary of changes for version 20021122.
15007
15008
15009 1) ACPI CA Core Subsystem:
15010
15011 Fixed a reported problem where an object stored to a Method Local
15012 or Arg was not copied to a new object during the store - the
15013 object pointer was simply copied to the Local/Arg.  This caused
15014 all subsequent operations on the Local/Arg to also affect the
15015 original source of the store operation.
15016
15017 Fixed a problem where a store operation to a Method Local or Arg
15018 was not completed properly if the Local/Arg contained a reference
15019 (from RefOf) to a named field.  The general-purpose store-to-
15020 namespace-node code is now used so that this case is handled
15021 automatically.
15022
15023 Fixed a problem where the internal object copy routine would cause
15024 a protection fault if the object being copied was a Package and
15025 contained either 1) a NULL package element or 2) a nested sub-
15026 package.
15027
15028 Fixed a problem with the GPE initialization that resulted from an
15029 ambiguity in the ACPI specification.  One section of the
15030 specification states that both the address and length of the GPE
15031 block must be zero if the block is not supported.  Another section
15032 implies that only the address need be zero if the block is not
15033 supported.  The code has been changed so that both the address and
15034 the length must be non-zero to indicate a valid GPE block (i.e.,
15035 if either the address or the length is zero, the GPE block is
15036 invalid.)
15037
15038 Code and Data Size: Current core subsystem library sizes are shown
15039 below.  These are the code and data sizes for the acpica.lib
15040 produced by the Microsoft Visual C++ 6.0 compiler, and these
15041 values do not include any ACPI driver or OSPM code.  The debug
15042 version of the code includes the debug output trace mechanism and
15043 has a much larger code and data size.  Note that these values will
15044 vary depending on the efficiency of the compiler and the compiler
15045 options used during generation.
15046
15047   Previous Release
15048     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
15049     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15050   Current Release:
15051     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15052     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
15053
15054
15055 2) Linux
15056
15057 Cleaned up EC driver. Exported an external EC read/write
15058 interface. By going through this, other drivers (most notably
15059 sonypi) will be able to serialize access to the EC.
15060
15061
15062 3) iASL Compiler/Disassembler
15063
15064 Implemented support to optionally generate include files for both
15065 ASM and C (the -i switch).  This simplifies BIOS development by
15066 automatically creating include files that contain external
15067 declarations for the symbols that are created within the
15068
15069 (optionally generated) ASM and C AML source files.
15070
15071
15072 ----------------------------------------
15073 15 November 2002.  Summary of changes for version 20021115.
15074
15075 1) ACPI CA Core Subsystem:
15076
15077 Fixed a memory leak problem where an error during resolution of
15078
15079 method arguments during a method invocation from another method
15080 failed to cleanup properly by deleting all successfully resolved
15081 argument objects.
15082
15083 Fixed a problem where the target of the Index() operator was not
15084 correctly constructed if the source object was a package.  This
15085 problem has not been detected because the use of a target operand
15086 with Index() is very rare.
15087
15088 Fixed a problem with the Index() operator where an attempt was
15089 made to delete the operand objects twice.
15090
15091 Fixed a problem where an attempt was made to delete an operand
15092 twice during execution of the CondRefOf() operator if the target
15093 did not exist.
15094
15095 Implemented the first of perhaps several internal create object
15096 functions that create and initialize a specific object type.  This
15097 consolidates duplicated code wherever the object is created, thus
15098 shrinking the size of the subsystem.
15099
15100 Implemented improved debug/error messages for errors that occur
15101 during nested method invocations.  All executing method pathnames
15102 are displayed (with the error) as the call stack is unwound - thus
15103 simplifying debug.
15104
15105 Fixed a problem introduced in the 10/02 release that caused
15106 premature deletion of a buffer object if a buffer was used as an
15107 ASL operand where an integer operand is required (Thus causing an
15108 implicit object conversion from Buffer to Integer.)  The change in
15109 the 10/02 release was attempting to fix a memory leak (albeit
15110 incorrectly.)
15111
15112 Code and Data Size: Current core subsystem library sizes are shown
15113 below.  These are the code and data sizes for the acpica.lib
15114 produced by the Microsoft Visual C++ 6.0 compiler, and these
15115 values do not include any ACPI driver or OSPM code.  The debug
15116 version of the code includes the debug output trace mechanism and
15117 has a much larger code and data size.  Note that these values will
15118 vary depending on the efficiency of the compiler and the compiler
15119 options used during generation.
15120
15121   Previous Release
15122     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15123     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15124   Current Release:
15125     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
15126     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15127
15128
15129 2) Linux
15130
15131 Changed the implementation of the ACPI semaphores to use down()
15132 instead of down_interruptable().  It is important that the
15133 execution of ACPI control methods not be interrupted by signals.
15134 Methods must run to completion, or the system may be left in an
15135 unknown/unstable state.
15136
15137 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
15138 (Shawn Starr)
15139
15140
15141 3) iASL Compiler/Disassembler
15142
15143
15144 Changed the default location of output files.  All output files
15145 are now placed in the current directory by default instead of in
15146 the directory of the source file.  This change may affect some
15147 existing makefiles, but it brings the behavior of the compiler in
15148 line with other similar tools.  The location of the output files
15149 can be overridden with the -p command line switch.
15150
15151
15152 ----------------------------------------
15153 11 November 2002.  Summary of changes for version 20021111.
15154
15155
15156 0) ACPI Specification 2.0B is released and is now available at:
15157 http://www.acpi.info/index.html
15158
15159
15160 1) ACPI CA Core Subsystem:
15161
15162 Implemented support for the ACPI 2.0 SMBus Operation Regions.
15163 This includes the early detection and handoff of the request to
15164 the SMBus region handler (avoiding all of the complex field
15165 support code), and support for the bidirectional return packet
15166 from an SMBus write operation.  This paves the way for the
15167 development of SMBus drivers in each host operating system.
15168
15169 Fixed a problem where the semaphore WAIT_FOREVER constant was
15170 defined as 32 bits, but must be 16 bits according to the ACPI
15171 specification.  This had the side effect of causing ASL
15172 Mutex/Event timeouts even though the ASL code requested a wait
15173 forever.  Changed all internal references to the ACPI timeout
15174 parameter to 16 bits to prevent future problems.  Changed the name
15175 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
15176
15177 Code and Data Size: Current core subsystem library sizes are shown
15178 below.  These are the code and data sizes for the acpica.lib
15179 produced by the Microsoft Visual C++ 6.0 compiler, and these
15180 values do not include any ACPI driver or OSPM code.  The debug
15181 version of the code includes the debug output trace mechanism and
15182 has a much larger code and data size.  Note that these values will
15183 vary depending on the efficiency of the compiler and the compiler
15184 options used during generation.
15185
15186   Previous Release
15187     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15188     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15189   Current Release:
15190     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15191     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15192
15193
15194 2) Linux
15195
15196 Module loading/unloading fixes (John Cagle)
15197
15198
15199 3) iASL Compiler/Disassembler
15200
15201 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
15202
15203 Implemented support for the disassembly of all SMBus protocol
15204 keywords (SMBQuick, SMBWord, etc.)
15205
15206 ----------------------------------------
15207 01 November 2002.  Summary of changes for version 20021101.
15208
15209
15210 1) ACPI CA Core Subsystem:
15211
15212 Fixed a problem where platforms that have a GPE1 block but no GPE0
15213 block were not handled correctly.  This resulted in a "GPE
15214 overlap" error message.  GPE0 is no longer required.
15215
15216 Removed code added in the previous release that inserted nodes
15217 into the namespace in alphabetical order.  This caused some side-
15218 effects on various machines.  The root cause of the problem is
15219 still under investigation since in theory, the internal ordering
15220 of the namespace nodes should not matter.
15221
15222
15223 Enhanced error reporting for the case where a named object is not
15224 found during control method execution.  The full ACPI namepath
15225 (name reference) of the object that was not found is displayed in
15226 this case.
15227
15228 Note: as a result of the overhaul of the namespace object types in
15229 the previous release, the namespace nodes for the predefined
15230 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
15231 instead of ACPI_TYPE_ANY.  This simplifies the namespace
15232 management code but may affect code that walks the namespace tree
15233 looking for specific object types.
15234
15235 Code and Data Size: Current core subsystem library sizes are shown
15236 below.  These are the code and data sizes for the acpica.lib
15237 produced by the Microsoft Visual C++ 6.0 compiler, and these
15238 values do not include any ACPI driver or OSPM code.  The debug
15239 version of the code includes the debug output trace mechanism and
15240 has a much larger code and data size.  Note that these values will
15241 vary depending on the efficiency of the compiler and the compiler
15242 options used during generation.
15243
15244   Previous Release
15245     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15246     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15247   Current Release:
15248     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15249     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15250
15251
15252 2) Linux
15253
15254 Fixed a problem introduced in the previous release where the
15255 Processor and Thermal objects were not recognized and installed in
15256 /proc.  This was related to the scope type change described above.
15257
15258
15259 3) iASL Compiler/Disassembler
15260
15261 Implemented the -g option to get all of the required ACPI tables
15262 from the registry and save them to files (Windows version of the
15263 compiler only.)  The required tables are the FADT, FACS, and DSDT.
15264
15265 Added ACPI table checksum validation during table disassembly in
15266 order to catch corrupted tables.
15267
15268
15269 ----------------------------------------
15270 22 October 2002.  Summary of changes for version 20021022.
15271
15272 1) ACPI CA Core Subsystem:
15273
15274 Implemented a restriction on the Scope operator that the target
15275 must already exist in the namespace at the time the operator is
15276 encountered (during table load or method execution).  In other
15277 words, forward references are not allowed and Scope() cannot
15278 create a new object. This changes the previous behavior where the
15279 interpreter would create the name if not found.  This new behavior
15280 correctly enables the search-to-root algorithm during namespace
15281 lookup of the target name.  Because of this upsearch, this fixes
15282 the known Compaq _SB_.OKEC problem and makes both the AML
15283 interpreter and iASL compiler compatible with other ACPI
15284 implementations.
15285
15286 Completed a major overhaul of the internal ACPI object types for
15287 the ACPI Namespace and the associated operand objects.  Many of
15288 these types had become obsolete with the introduction of the two-
15289 pass namespace load.  This cleanup simplifies the code and makes
15290 the entire namespace load mechanism much clearer and easier to
15291 understand.
15292
15293 Improved debug output for tracking scope opening/closing to help
15294 diagnose scoping issues.  The old scope name as well as the new
15295 scope name are displayed.  Also improved error messages for
15296 problems with ASL Mutex objects and error messages for GPE
15297 problems.
15298
15299 Cleaned up the namespace dump code, removed obsolete code.
15300
15301 All string output (for all namespace/object dumps) now uses the
15302 common ACPI string output procedure which handles escapes properly
15303 and does not emit non-printable characters.
15304
15305 Fixed some issues with constants in the 64-bit version of the
15306 local C library (utclib.c)
15307
15308
15309 2) Linux
15310
15311 EC Driver:  No longer attempts to acquire the Global Lock at
15312 interrupt level.
15313
15314
15315 3) iASL Compiler/Disassembler
15316
15317 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
15318 2 opcodes outside of a control method.  This means that the
15319 "executable" operators (versus the "namespace" operators) cannot
15320 be used at the table level; they can only be used within a control
15321 method.
15322
15323 Implemented the restriction on the Scope() operator where the
15324 target must already exist in the namespace at the time the
15325 operator is encountered (during ASL compilation). In other words,
15326 forward references are not allowed and Scope() cannot create a new
15327 object.  This makes the iASL compiler compatible with other ACPI
15328 implementations and makes the Scope() implementation adhere to the
15329 ACPI specification.
15330
15331 Fixed a problem where namepath optimization for the Alias operator
15332 was optimizing the wrong path (of the two namepaths.)  This caused
15333 a "Missing alias link" error message.
15334
15335 Fixed a problem where an "unknown reserved name" warning could be
15336 incorrectly generated for names like "_SB" when the trailing
15337 underscore is not used in the original ASL.
15338
15339 Fixed a problem where the reserved name check did not handle
15340 NamePaths with multiple NameSegs correctly.  The first nameseg of
15341 the NamePath was examined instead of the last NameSeg.
15342
15343
15344 ----------------------------------------
15345
15346 02 October 2002.  Summary of changes for this release.
15347
15348
15349 1) ACPI CA Core Subsystem version 20021002:
15350
15351 Fixed a problem where a store/copy of a string to an existing
15352 string did not always set the string length properly in the String
15353 object.
15354
15355 Fixed a reported problem with the ToString operator where the
15356 behavior was identical to the ToHexString operator instead of just
15357 simply converting a raw buffer to a string data type.
15358
15359 Fixed a problem where CopyObject and the other "explicit"
15360 conversion operators were not updating the internal namespace node
15361 type as part of the store operation.
15362
15363 Fixed a memory leak during implicit source operand conversion
15364 where the original object was not deleted if it was converted to a
15365 new object of a different type.
15366
15367 Enhanced error messages for all problems associated with namespace
15368 lookups.  Common procedure generates and prints the lookup name as
15369 well as the formatted status.
15370
15371 Completed implementation of a new design for the Alias support
15372 within the namespace.  The existing design did not handle the case
15373 where a new object was assigned to one of the two names due to the
15374 use of an explicit conversion operator, resulting in the two names
15375 pointing to two different objects.  The new design simply points
15376 the Alias name to the original name node - not to the object.
15377 This results in a level of indirection that must be handled in the
15378 name resolution mechanism.
15379
15380 Code and Data Size: Current core subsystem library sizes are shown
15381 below.  These are the code and data sizes for the acpica.lib
15382 produced by the Microsoft Visual C++ 6.0 compiler, and these
15383 values do not include any ACPI driver or OSPM code.  The debug
15384 version of the code includes the debug output trace mechanism and
15385 has a larger code and data size.  Note that these values will vary
15386 depending on the efficiency of the compiler and the compiler
15387 options used during generation.
15388
15389   Previous Release
15390     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15391     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15392   Current Release:
15393     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15394     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15395
15396
15397 2) Linux
15398
15399 Initialize thermal driver's timer before it is used. (Knut
15400 Neumann)
15401
15402 Allow handling negative celsius values. (Kochi Takayoshi)
15403
15404 Fix thermal management and make trip points. R/W (Pavel Machek)
15405
15406 Fix /proc/acpi/sleep. (P. Christeas)
15407
15408 IA64 fixes. (David Mosberger)
15409
15410 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
15411
15412 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
15413 Brodowski)
15414
15415
15416 3) iASL Compiler/Disassembler
15417
15418 Clarified some warning/error messages.
15419
15420
15421 ----------------------------------------
15422 18 September 2002.  Summary of changes for this release.
15423
15424
15425 1) ACPI CA Core Subsystem version 20020918:
15426
15427 Fixed a reported problem with reference chaining (via the Index()
15428 and RefOf() operators) in the ObjectType() and SizeOf() operators.
15429 The definition of these operators includes the dereferencing of
15430 all chained references to return information on the base object.
15431
15432 Fixed a problem with stores to indexed package elements - the
15433 existing code would not complete the store if an "implicit
15434 conversion" was not performed.  In other words, if the existing
15435 object (package element) was to be replaced completely, the code
15436 didn't handle this case.
15437
15438 Relaxed typechecking on the ASL "Scope" operator to allow the
15439 target name to refer to an object of type Integer, String, or
15440 Buffer, in addition to the scoping object types (Device,
15441 predefined Scopes, Processor, PowerResource, and ThermalZone.)
15442 This allows existing AML code that has workarounds for a bug in
15443 Windows to function properly.  A warning is issued, however.  This
15444 affects both the AML interpreter and the iASL compiler. Below is
15445 an example of this type of ASL code:
15446
15447       Name(DEB,0x00)
15448       Scope(DEB)
15449       {
15450
15451 Fixed some reported problems with 64-bit integer support in the
15452 local implementation of C library functions (clib.c)
15453
15454
15455 2) Linux
15456
15457 Use ACPI fix map region instead of IOAPIC region, since it is
15458 undefined in non-SMP.
15459
15460 Ensure that the SCI has the proper polarity and trigger, even on
15461 systems that do not have an interrupt override entry in the MADT.
15462
15463 2.5 big driver reorganization (Pat Mochel)
15464
15465 Use early table mapping code from acpitable.c (Andi Kleen)
15466
15467 New blacklist entries (Andi Kleen)
15468
15469 Blacklist improvements. Split blacklist code out into a separate
15470 file. Move checking the blacklist to very early. Previously, we
15471 would use ACPI tables, and then halfway through init, check the
15472 blacklist -- too late. Now, it's early enough to completely fall-
15473 back to non-ACPI.
15474
15475
15476 3) iASL Compiler/Disassembler version 20020918:
15477
15478 Fixed a problem where the typechecking code didn't know that an
15479 alias could point to a method.  In other words, aliases were not
15480 being dereferenced during typechecking.
15481
15482
15483 ----------------------------------------
15484 29 August 2002.  Summary of changes for this release.
15485
15486 1) ACPI CA Core Subsystem Version 20020829:
15487
15488 If the target of a Scope() operator already exists, it must be an
15489 object type that actually opens a scope -- such as a Device,
15490 Method, Scope, etc.  This is a fatal runtime error.  Similar error
15491 check has been added to the iASL compiler also.
15492
15493 Tightened up the namespace load to disallow multiple names in the
15494 same scope.  This previously was allowed if both objects were of
15495 the same type.  (i.e., a lookup was the same as entering a new
15496 name).
15497
15498
15499 2) Linux
15500
15501 Ensure that the ACPI interrupt has the proper trigger and
15502 polarity.
15503
15504 local_irq_disable is extraneous. (Matthew Wilcox)
15505
15506 Make "acpi=off" actually do what it says, and not use the ACPI
15507 interpreter *or* the tables.
15508
15509 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
15510 Takayoshi)
15511
15512
15513 3) iASL Compiler/Disassembler  Version 20020829:
15514
15515 Implemented namepath optimization for name declarations.  For
15516 example, a declaration like "Method (\_SB_.ABCD)" would get
15517 optimized to "Method (ABCD)" if the declaration is within the
15518 \_SB_ scope.  This optimization is in addition to the named
15519 reference path optimization first released in the previous
15520 version. This would seem to complete all possible optimizations
15521 for namepaths within the ASL/AML.
15522
15523 If the target of a Scope() operator already exists, it must be an
15524 object type that actually opens a scope -- such as a Device,
15525 Method, Scope, etc.
15526
15527 Implemented a check and warning for unreachable code in the same
15528 block below a Return() statement.
15529
15530 Fixed a problem where the listing file was not generated if the
15531 compiler aborted if the maximum error count was exceeded (200).
15532
15533 Fixed a problem where the typechecking of method return values was
15534 broken.  This includes the check for a return value when the
15535 method is invoked as a TermArg (a return value is expected.)
15536
15537 Fixed a reported problem where EOF conditions during a quoted
15538 string or comment caused a fault.
15539
15540
15541 ----------------------------------------
15542 15 August 2002.  Summary of changes for this release.
15543
15544 1) ACPI CA Core Subsystem Version 20020815:
15545
15546 Fixed a reported problem where a Store to a method argument that
15547 contains a reference did not perform the indirect store correctly.
15548 This problem was created during the conversion to the new
15549 reference object model - the indirect store to a method argument
15550 code was not updated to reflect the new model.
15551
15552 Reworked the ACPI mode change code to better conform to ACPI 2.0,
15553 handle corner cases, and improve code legibility (Kochi Takayoshi)
15554
15555 Fixed a problem with the pathname parsing for the carat (^)
15556 prefix.  The heavy use of the carat operator by the new namepath
15557 optimization in the iASL compiler uncovered a problem with the AML
15558 interpreter handling of this prefix.  In the case where one or
15559 more carats precede a single nameseg, the nameseg was treated as
15560 standalone and the search rule (to root) was inadvertently
15561 applied.  This could cause both the iASL compiler and the
15562 interpreter to find the wrong object or to miss the error that
15563 should occur if the object does not exist at that exact pathname.
15564
15565 Found and fixed the problem where the HP Pavilion DSDT would not
15566 load.  This was a relatively minor tweak to the table loading code
15567 (a problem caused by the unexpected encounter with a method
15568 invocation not within a control method), but it does not solve the
15569 overall issue of the execution of AML code at the table level.
15570 This investigation is still ongoing.
15571
15572 Code and Data Size: Current core subsystem library sizes are shown
15573 below.  These are the code and data sizes for the acpica.lib
15574 produced by the Microsoft Visual C++ 6.0 compiler, and these
15575 values do not include any ACPI driver or OSPM code.  The debug
15576 version of the code includes the debug output trace mechanism and
15577 has a larger code and data size.  Note that these values will vary
15578 depending on the efficiency of the compiler and the compiler
15579 options used during generation.
15580
15581   Previous Release
15582     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15583     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15584   Current Release:
15585     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15586     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15587
15588
15589 2) Linux
15590
15591 Remove redundant slab.h include (Brad Hards)
15592
15593 Fix several bugs in thermal.c (Herbert Nachtnebel)
15594
15595 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
15596
15597 Change acpi_system_suspend to use updated irq functions (Pavel
15598 Machek)
15599
15600 Export acpi_get_firmware_table (Matthew Wilcox)
15601
15602 Use proper root proc entry for ACPI (Kochi Takayoshi)
15603
15604 Fix early-boot table parsing (Bjorn Helgaas)
15605
15606
15607 3) iASL Compiler/Disassembler
15608
15609 Reworked the compiler options to make them more consistent and to
15610 use two-letter options where appropriate.  We were running out of
15611 sensible letters.   This may break some makefiles, so check the
15612 current options list by invoking the compiler with no parameters.
15613
15614 Completed the design and implementation of the ASL namepath
15615 optimization option for the compiler.  This option optimizes all
15616 references to named objects to the shortest possible path.  The
15617 first attempt tries to utilize a single nameseg (4 characters) and
15618 the "search-to-root" algorithm used by the interpreter.  If that
15619 cannot be used (because either the name is not in the search path
15620 or there is a conflict with another object with the same name),
15621 the pathname is optimized using the carat prefix (usually a
15622 shorter string than specifying the entire path from the root.)
15623
15624 Implemented support to obtain the DSDT from the Windows registry
15625 (when the disassembly option is specified with no input file).
15626 Added this code as the implementation for AcpiOsTableOverride in
15627 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
15628 utility) to scan memory for the DSDT to the AcpiOsTableOverride
15629 function in the DOS OSL to make the disassembler truly OS
15630 independent.
15631
15632 Implemented a new option to disassemble and compile in one step.
15633 When used without an input filename, this option will grab the
15634 DSDT from the local machine, disassemble it, and compile it in one
15635 step.
15636
15637 Added a warning message for invalid escapes (a backslash followed
15638 by any character other than the allowable escapes).  This catches
15639 the quoted string error "\_SB_" (which should be "\\_SB_" ).
15640
15641 Also, there are numerous instances in the ACPI specification where
15642 this error occurs.
15643
15644 Added a compiler option to disable all optimizations.  This is
15645 basically the "compatibility mode" because by using this option,
15646 the AML code will come out exactly the same as other ASL
15647 compilers.
15648
15649 Added error messages for incorrectly ordered dependent resource
15650 functions.  This includes: missing EndDependentFn macro at end of
15651 dependent resource list, nested dependent function macros (both
15652 start and end), and missing StartDependentFn macro.  These are
15653 common errors that should be caught at compile time.
15654
15655 Implemented _OSI support for the disassembler and compiler.  _OSI
15656 must be included in the namespace for proper disassembly (because
15657 the disassembler must know the number of arguments.)
15658
15659 Added an "optimization" message type that is optional (off by
15660 default).  This message is used for all optimizations - including
15661 constant folding, integer optimization, and namepath optimization.
15662
15663 ----------------------------------------
15664 25 July 2002.  Summary of changes for this release.
15665
15666
15667 1) ACPI CA Core Subsystem Version 20020725:
15668
15669 The AML Disassembler has been enhanced to produce compilable ASL
15670 code and has been integrated into the iASL compiler (see below) as
15671 well as the single-step disassembly for the AML debugger and the
15672 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
15673 resource templates and macros are fully supported.  The
15674 disassembler has been tested on over 30 different AML files,
15675 producing identical AML when the resulting disassembled ASL file
15676 is recompiled with the same ASL compiler.
15677
15678 Modified the Resource Manager to allow zero interrupts and zero
15679 dma channels during the GetCurrentResources call.  This was
15680 causing problems on some platforms.
15681
15682 Added the AcpiOsRedirectOutput interface to the OSL to simplify
15683 output redirection for the AcpiOsPrintf and AcpiOsVprintf
15684 interfaces.
15685
15686 Code and Data Size: Current core subsystem library sizes are shown
15687 below.  These are the code and data sizes for the acpica.lib
15688 produced by the Microsoft Visual C++ 6.0 compiler, and these
15689 values do not include any ACPI driver or OSPM code.  The debug
15690 version of the code includes the debug output trace mechanism and
15691 has a larger code and data size.  Note that these values will vary
15692 depending on the efficiency of the compiler and the compiler
15693 options used during generation.
15694
15695   Previous Release
15696     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15697     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15698   Current Release:
15699     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15700     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15701
15702
15703 2) Linux
15704
15705 Fixed a panic in the EC driver (Dominik Brodowski)
15706
15707 Implemented checksum of the R/XSDT itself during Linux table scan
15708 (Richard Schaal)
15709
15710
15711 3) iASL compiler
15712
15713 The AML disassembler is integrated into the compiler.  The "-d"
15714 option invokes the disassembler  to completely disassemble an
15715 input AML file, producing as output a text ASL file with the
15716 extension ".dsl" (to avoid name collisions with existing .asl
15717 source files.)  A future enhancement will allow the disassembler
15718 to obtain the BIOS DSDT from the registry under Windows.
15719
15720 Fixed a problem with the VendorShort and VendorLong resource
15721 descriptors where an invalid AML sequence was created.
15722
15723 Implemented a fix for BufferData term in the ASL parser.  It was
15724 inadvertently defined twice, allowing invalid syntax to pass and
15725 causing reduction conflicts.
15726
15727 Fixed a problem where the Ones opcode could get converted to a
15728 value of zero if "Ones" was used where a byte, word or dword value
15729 was expected.  The 64-bit value is now truncated to the correct
15730 size with the correct value.
15731
15732
15733
15734 ----------------------------------------
15735 02 July 2002.  Summary of changes for this release.
15736
15737
15738 1) ACPI CA Core Subsystem Version 20020702:
15739
15740 The Table Manager code has been restructured to add several new
15741 features.  Tables that are not required by the core subsystem
15742 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
15743 validated in any way and are returned from AcpiGetFirmwareTable if
15744 requested.  The AcpiOsTableOverride interface is now called for
15745 each table that is loaded by the subsystem in order to allow the
15746 host to override any table it chooses.  Previously, only the DSDT
15747 could be overridden.  Added one new files, tbrsdt.c and
15748 tbgetall.c.
15749
15750 Fixed a problem with the conversion of internal package objects to
15751 external objects (when a package is returned from a control
15752 method.)  The return buffer length was set to zero instead of the
15753 proper length of the package object.
15754
15755 Fixed a reported problem with the use of the RefOf and DeRefOf
15756 operators when passing reference arguments to control methods.  A
15757 new type of Reference object is used internally for references
15758 produced by the RefOf operator.
15759
15760 Added additional error messages in the Resource Manager to explain
15761 AE_BAD_DATA errors when they occur during resource parsing.
15762
15763 Split the AcpiEnableSubsystem into two primitives to enable a
15764 finer granularity initialization sequence.  These two calls should
15765 be called in this order: AcpiEnableSubsystem (flags),
15766 AcpiInitializeObjects (flags).  The flags parameter remains the
15767 same.
15768
15769
15770 2) Linux
15771
15772 Updated the ACPI utilities module to understand the new style of
15773 fully resolved package objects that are now returned from the core
15774 subsystem.  This eliminates errors of the form:
15775
15776     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
15777     acpi_utils-0430 [145] acpi_evaluate_reference:
15778         Invalid element in package (not a device reference)
15779
15780 The method evaluation utility uses the new buffer allocation
15781 scheme instead of calling AcpiEvaluate Object twice.
15782
15783 Added support for ECDT. This allows the use of the Embedded
15784
15785 Controller before the namespace has been fully initialized, which
15786 is necessary for ACPI 2.0 support, and for some laptops to
15787 initialize properly. (Laptops using ECDT are still rare, so only
15788 limited testing was performed of the added functionality.)
15789
15790 Fixed memory leaks in the EC driver.
15791
15792 Eliminated a brittle code structure in acpi_bus_init().
15793
15794 Eliminated the acpi_evaluate() helper function in utils.c. It is
15795 no longer needed since acpi_evaluate_object can optionally
15796 allocate memory for the return object.
15797
15798 Implemented fix for keyboard hang when getting battery readings on
15799 some systems (Stephen White)
15800
15801 PCI IRQ routing update (Dominik Brodowski)
15802
15803 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
15804 support
15805
15806 ----------------------------------------
15807 11 June 2002.  Summary of changes for this release.
15808
15809
15810 1) ACPI CA Core Subsystem Version 20020611:
15811
15812 Fixed a reported problem where constants such as Zero and One
15813 appearing within _PRT packages were not handled correctly within
15814 the resource manager code.  Originally reported against the ASL
15815 compiler because the code generator now optimizes integers to
15816 their minimal AML representation (i.e. AML constants if possible.)
15817 The _PRT code now handles all AML constant opcodes correctly
15818 (Zero, One, Ones, Revision).
15819
15820 Fixed a problem with the Concatenate operator in the AML
15821 interpreter where a buffer result object was incorrectly marked as
15822 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
15823
15824 All package sub-objects are now fully resolved before they are
15825 returned from the external ACPI interfaces.  This means that name
15826 strings are resolved to object handles, and constant operators
15827 (Zero, One, Ones, Revision) are resolved to Integers.
15828
15829 Implemented immediate resolution of the AML Constant opcodes
15830 (Zero, One, Ones, Revision) to Integer objects upon detection
15831 within the AML stream. This has simplified and reduced the
15832 generated code size of the subsystem by eliminating about 10
15833 switch statements for these constants (which previously were
15834 contained in Reference objects.)  The complicating issues are that
15835 the Zero opcode is used as a "placeholder" for unspecified
15836 optional target operands and stores to constants are defined to be
15837 no-ops.
15838
15839 Code and Data Size: Current core subsystem library sizes are shown
15840 below. These are the code and data sizes for the acpica.lib
15841 produced by the Microsoft Visual C++ 6.0 compiler, and these
15842 values do not include any ACPI driver or OSPM code.  The debug
15843 version of the code includes the debug output trace mechanism and
15844 has a larger code and data size.  Note that these values will vary
15845 depending on the efficiency of the compiler and the compiler
15846 options used during generation.
15847
15848   Previous Release
15849     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15850     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15851   Current Release:
15852     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15853     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15854
15855
15856 2) Linux
15857
15858
15859 Added preliminary support for obtaining _TRA data for PCI root
15860 bridges (Bjorn Helgaas).
15861
15862
15863 3) iASL Compiler Version X2046:
15864
15865 Fixed a problem where the "_DDN" reserved name was defined to be a
15866 control method with one argument.  There are no arguments, and
15867 _DDN does not have to be a control method.
15868
15869 Fixed a problem with the Linux version of the compiler where the
15870 source lines printed with error messages were the wrong lines.
15871 This turned out to be the "LF versus CR/LF" difference between
15872 Windows and Unix.  This appears to be the longstanding issue
15873 concerning listing output and error messages.
15874
15875 Fixed a problem with the Linux version of compiler where opcode
15876 names within error messages were wrong.  This was caused by a
15877 slight difference in the output of the Flex tool on Linux versus
15878 Windows.
15879
15880 Fixed a problem with the Linux compiler where the hex output files
15881 contained some garbage data caused by an internal buffer overrun.
15882
15883
15884 ----------------------------------------
15885 17 May 2002.  Summary of changes for this release.
15886
15887
15888 1) ACPI CA Core Subsystem Version 20020517:
15889
15890 Implemented a workaround to an BIOS bug discovered on the HP
15891 OmniBook where the FADT revision number and the table size are
15892 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
15893 behavior is to fallback to using only the ACPI 1.0 fields of the
15894 FADT if the table is too small to be a ACPI 2.0 table as claimed
15895 by the revision number.  Although this is a BIOS bug, this is a
15896 case where the workaround is simple enough and with no side
15897 effects, so it seemed prudent to add it.  A warning message is
15898 issued, however.
15899
15900 Implemented minimum size checks for the fixed-length ACPI tables -
15901 - the FADT and FACS, as well as consistency checks between the
15902 revision number and the table size.
15903
15904 Fixed a reported problem in the table override support where the
15905 new table pointer was incorrectly treated as a physical address
15906 instead of a logical address.
15907
15908 Eliminated the use of the AE_AML_ERROR exception and replaced it
15909 with more descriptive codes.
15910
15911 Fixed a problem where an exception would occur if an ASL Field was
15912 defined with no named Field Units underneath it (used by some
15913 index fields).
15914
15915 Code and Data Size: Current core subsystem library sizes are shown
15916 below.  These are the code and data sizes for the acpica.lib
15917 produced by the Microsoft Visual C++ 6.0 compiler, and these
15918 values do not include any ACPI driver or OSPM code.  The debug
15919 version of the code includes the debug output trace mechanism and
15920 has a larger code and data size.  Note that these values will vary
15921 depending on the efficiency of the compiler and the compiler
15922 options used during generation.
15923
15924   Previous Release
15925     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15926     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15927   Current Release:
15928     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15929     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15930
15931
15932
15933 2) Linux
15934
15935 Much work done on ACPI init (MADT and PCI IRQ routing support).
15936 (Paul D. and Dominik Brodowski)
15937
15938 Fix PCI IRQ-related panic on boot (Sam Revitch)
15939
15940 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
15941
15942 Fix "MHz" typo (Dominik Brodowski)
15943
15944 Fix RTC year 2000 issue (Dominik Brodowski)
15945
15946 Preclude multiple button proc entries (Eric Brunet)
15947
15948 Moved arch-specific code out of include/platform/aclinux.h
15949
15950 3) iASL Compiler Version X2044:
15951
15952 Implemented error checking for the string used in the EISAID macro
15953 (Usually used in the definition of the _HID object.)  The code now
15954 strictly enforces the PnP format - exactly 7 characters, 3
15955 uppercase letters and 4 hex digits.
15956
15957 If a raw string is used in the definition of the _HID object
15958 (instead of the EISAID macro), the string must contain all
15959 alphanumeric characters (e.g., "*PNP0011" is not allowed because
15960 of the asterisk.)
15961
15962 Implemented checking for invalid use of ACPI reserved names for
15963 most of the name creation operators (Name, Device, Event, Mutex,
15964 OperationRegion, PowerResource, Processor, and ThermalZone.)
15965 Previously, this check was only performed for control methods.
15966
15967 Implemented an additional check on the Name operator to emit an
15968 error if a reserved name that must be implemented in ASL as a
15969 control method is used.  We know that a reserved name must be a
15970 method if it is defined with input arguments.
15971
15972 The warning emitted when a namespace object reference is not found
15973 during the cross reference phase has been changed into an error.
15974 The "External" directive should be used for names defined in other
15975 modules.
15976
15977
15978 4) Tools and Utilities
15979
15980 The 16-bit tools (adump16 and aexec16) have been regenerated and
15981 tested.
15982
15983 Fixed a problem with the output of both acpidump and adump16 where
15984 the indentation of closing parentheses and brackets was not
15985
15986 aligned properly with the parent block.
15987
15988
15989 ----------------------------------------
15990 03 May 2002.  Summary of changes for this release.
15991
15992
15993 1) ACPI CA Core Subsystem Version 20020503:
15994
15995 Added support a new OSL interface that allows the host operating
15996
15997 system software to override the DSDT found in the firmware -
15998 AcpiOsTableOverride.  With this interface, the OSL can examine the
15999 version of the firmware DSDT and replace it with a different one
16000 if desired.
16001
16002 Added new external interfaces for accessing ACPI registers from
16003 device drivers and other system software - AcpiGetRegister and
16004 AcpiSetRegister.  This was simply an externalization of the
16005 existing AcpiHwBitRegister interfaces.
16006
16007 Fixed a regression introduced in the previous build where the
16008 ASL/AML CreateField operator always returned an error,
16009 "destination must be a NS Node".
16010
16011 Extended the maximum time (before failure) to successfully enable
16012 ACPI mode to 3 seconds.
16013
16014 Code and Data Size: Current core subsystem library sizes are shown
16015 below.  These are the code and data sizes for the acpica.lib
16016 produced by the Microsoft Visual C++ 6.0 compiler, and these
16017 values do not include any ACPI driver or OSPM code.  The debug
16018 version of the code includes the debug output trace mechanism and
16019 has a larger code and data size.  Note that these values will vary
16020 depending on the efficiency of the compiler and the compiler
16021 options used during generation.
16022
16023   Previous Release
16024     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
16025     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
16026   Current Release:
16027     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
16028     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
16029
16030
16031 2) Linux
16032
16033 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
16034 free. While 3 out of 4 of our in-house systems work fine, the last
16035 one still hangs when testing the LAPIC timer.
16036
16037 Renamed many files in 2.5 kernel release to omit "acpi_" from the
16038 name.
16039
16040 Added warning on boot for Presario 711FR.
16041
16042 Sleep improvements (Pavel Machek)
16043
16044 ACPI can now be built without CONFIG_PCI enabled.
16045
16046 IA64: Fixed memory map functions (JI Lee)
16047
16048
16049 3) iASL Compiler Version X2043:
16050
16051 Added support to allow the compiler to be integrated into the MS
16052 VC++ development environment for one-button compilation of single
16053 files or entire projects -- with error-to-source-line mapping.
16054
16055 Implemented support for compile-time constant folding for the
16056 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
16057 specification.  This allows the ASL writer to use expressions
16058 instead of Integer/Buffer/String constants in terms that must
16059 evaluate to constants at compile time and will also simplify the
16060 emitted AML in any such sub-expressions that can be folded
16061 (evaluated at compile-time.)  This increases the size of the
16062 compiler significantly because a portion of the ACPI CA AML
16063 interpreter is included within the compiler in order to pre-
16064 evaluate constant expressions.
16065
16066
16067 Fixed a problem with the "Unicode" ASL macro that caused the
16068 compiler to fault.  (This macro is used in conjunction with the
16069 _STR reserved name.)
16070
16071 Implemented an AML opcode optimization to use the Zero, One, and
16072 Ones opcodes where possible to further reduce the size of integer
16073 constants and thus reduce the overall size of the generated AML
16074 code.
16075
16076 Implemented error checking for new reserved terms for ACPI version
16077 2.0A.
16078
16079 Implemented the -qr option to display the current list of ACPI
16080 reserved names known to the compiler.
16081
16082 Implemented the -qc option to display the current list of ASL
16083 operators that are allowed within constant expressions and can
16084 therefore be folded at compile time if the operands are constants.
16085
16086
16087 4) Documentation
16088
16089 Updated the Programmer's Reference for new interfaces, data types,
16090 and memory allocation model options.
16091
16092 Updated the iASL Compiler User Reference to apply new format and
16093 add information about new features and options.
16094
16095 ----------------------------------------
16096 19 April 2002.  Summary of changes for this release.
16097
16098 1) ACPI CA Core Subsystem Version 20020419:
16099
16100 The source code base for the Core Subsystem has been completely
16101 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
16102 versions.  The Lint option files used are included in the
16103 /acpi/generate/lint directory.
16104
16105 Implemented enhanced status/error checking across the entire
16106 Hardware manager subsystem.  Any hardware errors (reported from
16107 the OSL) are now bubbled up and will abort a running control
16108 method.
16109
16110
16111 Fixed a problem where the per-ACPI-table integer width (32 or 64)
16112 was stored only with control method nodes, causing a fault when
16113 non-control method code was executed during table loading.  The
16114 solution implemented uses a global variable to indicate table
16115 width across the entire ACPI subsystem.  Therefore, ACPI CA does
16116 not support mixed integer widths across different ACPI tables
16117 (DSDT, SSDT).
16118
16119 Fixed a problem where NULL extended fields (X fields) in an ACPI
16120 2.0 ACPI FADT caused the table load to fail.  Although the
16121 existing ACPI specification is a bit fuzzy on this topic, the new
16122 behavior is to fall back on a ACPI 1.0 field if the corresponding
16123 ACPI 2.0 X field is zero (even though the table revision indicates
16124 a full ACPI 2.0 table.)  The ACPI specification will be updated to
16125 clarify this issue.
16126
16127 Fixed a problem with the SystemMemory operation region handler
16128 where memory was always accessed byte-wise even if the AML-
16129 specified access width was larger than a byte.  This caused
16130 problems on systems with memory-mapped I/O.  Memory is now
16131 accessed with the width specified.  On systems that do not support
16132 non-aligned transfers, a check is made to guarantee proper address
16133 alignment before proceeding in order to avoid an AML-caused
16134 alignment fault within the kernel.
16135
16136
16137 Fixed a problem with the ExtendedIrq resource where only one byte
16138 of the 4-byte Irq field was extracted.
16139
16140 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
16141 function was out of date and required a rewrite.
16142
16143 Code and Data Size: Current core subsystem library sizes are shown
16144 below.  These are the code and data sizes for the acpica.lib
16145 produced by the Microsoft Visual C++ 6.0 compiler, and these
16146 values do not include any ACPI driver or OSPM code.  The debug
16147 version of the code includes the debug output trace mechanism and
16148 has a larger code and data size.  Note that these values will vary
16149 depending on the efficiency of the compiler and the compiler
16150 options used during generation.
16151
16152   Previous Release
16153     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16154     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16155   Current Release:
16156     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
16157     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
16158
16159
16160 2) Linux
16161
16162 PCI IRQ routing fixes (Dominik Brodowski)
16163
16164
16165 3) iASL Compiler Version X2042:
16166
16167 Implemented an additional compile-time error check for a field
16168 unit whose size + minimum access width would cause a run-time
16169 access beyond the end-of-region.  Previously, only the field size
16170 itself was checked.
16171
16172 The Core subsystem and iASL compiler now share a common parse
16173 object in preparation for compile-time evaluation of the type
16174 3/4/5 ASL operators.
16175
16176
16177 ----------------------------------------
16178 Summary of changes for this release: 03_29_02
16179
16180 1) ACPI CA Core Subsystem Version 20020329:
16181
16182 Implemented support for late evaluation of TermArg operands to
16183 Buffer and Package objects.  This allows complex expressions to be
16184 used in the declarations of these object types.
16185
16186 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
16187 1.0, if the field was larger than 32 bits, it was returned as a
16188 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
16189 the field is returned as a buffer only if the field is larger than
16190 64 bits.  The TableRevision is now considered when making this
16191 conversion to avoid incompatibility with existing ASL code.
16192
16193 Implemented logical addressing for AcpiOsGetRootPointer.  This
16194 allows an RSDP with either a logical or physical address.  With
16195 this support, the host OS can now override all ACPI tables with
16196 one logical RSDP.  Includes implementation of  "typed" pointer
16197 support to allow a common data type for both physical and logical
16198 pointers internally.  This required a change to the
16199 AcpiOsGetRootPointer interface.
16200
16201 Implemented the use of ACPI 2.0 Generic Address Structures for all
16202 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
16203 mapped I/O for these ACPI features.
16204
16205 Initialization now ignores not only non-required tables (All
16206 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
16207 not validate the table headers of unrecognized tables.
16208
16209 Fixed a problem where a notify handler could only be
16210 installed/removed on an object of type Device.  All "notify"
16211
16212 objects are now supported -- Devices, Processor, Power, and
16213 Thermal.
16214
16215 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
16216 critical information is returned when this debug level is enabled.
16217
16218 Code and Data Size: Current core subsystem library sizes are shown
16219 below.  These are the code and data sizes for the acpica.lib
16220 produced by the Microsoft Visual C++ 6.0 compiler, and these
16221 values do not include any ACPI driver or OSPM code.  The debug
16222 version of the code includes the debug output trace mechanism and
16223 has a larger code and data size.  Note that these values will vary
16224 depending on the efficiency of the compiler and the compiler
16225 options used during generation.
16226
16227   Previous Release
16228     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16229     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16230   Current Release:
16231     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16232     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16233
16234
16235 2) Linux:
16236
16237 The processor driver (acpi_processor.c) now fully supports ACPI
16238 2.0-based processor performance control (e.g. Intel(R)
16239 SpeedStep(TM) technology) Note that older laptops that only have
16240 the Intel "applet" interface are not supported through this.  The
16241 'limit' and 'performance' interface (/proc) are fully functional.
16242 [Note that basic policy for controlling performance state
16243 transitions will be included in the next version of ospmd.]  The
16244 idle handler was modified to more aggressively use C2, and PIIX4
16245 errata handling underwent a complete overhaul (big thanks to
16246 Dominik Brodowski).
16247
16248 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
16249 based devices in the ACPI namespace are now dynamically bound
16250 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
16251 This allows, among other things, ACPI to resolve bus numbers for
16252 subordinate PCI bridges.
16253
16254 Enhanced PCI IRQ routing to get the proper bus number for _PRT
16255 entries defined underneath PCI bridges.
16256
16257 Added IBM 600E to bad bios list due to invalid _ADR value for
16258 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
16259
16260 In the process of adding full MADT support (e.g. IOAPIC) for IA32
16261 (acpi.c, mpparse.c) -- stay tuned.
16262
16263 Added back visual differentiation between fixed-feature and
16264 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
16265 button/power/PWRF) to simplify button identification.
16266
16267 We no longer use -Wno-unused when compiling debug. Please ignore
16268 any "_THIS_MODULE defined but not used" messages.
16269
16270 Can now shut down the system using "magic sysrq" key.
16271
16272
16273 3) iASL Compiler version 2041:
16274
16275 Fixed a problem where conversion errors for hex/octal/decimal
16276 constants were not reported.
16277
16278 Implemented a fix for the General Register template Address field.
16279 This field was 8 bits when it should be 64.
16280
16281 Fixed a problem where errors/warnings were no longer being emitted
16282 within the listing output file.
16283
16284 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
16285 exactly 4 characters, alphanumeric only.
16286
16287
16288
16289
16290 ----------------------------------------
16291 Summary of changes for this release: 03_08_02
16292
16293
16294 1) ACPI CA Core Subsystem Version 20020308:
16295
16296 Fixed a problem with AML Fields where the use of the "AccessAny"
16297 keyword could cause an interpreter error due to attempting to read
16298 or write beyond the end of the parent Operation Region.
16299
16300 Fixed a problem in the SystemMemory Operation Region handler where
16301 an attempt was made to map memory beyond the end of the region.
16302 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
16303 errors on some Linux systems.
16304
16305 Fixed a problem where the interpreter/namespace "search to root"
16306 algorithm was not functioning for some object types.  Relaxed the
16307 internal restriction on the search to allow upsearches for all
16308 external object types as well as most internal types.
16309
16310
16311 2) Linux:
16312
16313 We now use safe_halt() macro versus individual calls to sti | hlt.
16314
16315 Writing to the processor limit interface should now work. "echo 1"
16316 will increase the limit, 2 will decrease, and 0 will reset to the
16317
16318 default.
16319
16320
16321 3) ASL compiler:
16322
16323 Fixed segfault on Linux version.
16324
16325
16326 ----------------------------------------
16327 Summary of changes for this release: 02_25_02
16328
16329 1) ACPI CA Core Subsystem:
16330
16331
16332 Fixed a problem where the GPE bit masks were not initialized
16333 properly, causing erratic GPE behavior.
16334
16335 Implemented limited support for multiple calling conventions.  The
16336 code can be generated with either the VPL (variable parameter
16337 list, or "C") convention, or the FPL (fixed parameter list, or
16338 "Pascal") convention.  The core subsystem is about 3.4% smaller
16339 when generated with FPL.
16340
16341
16342 2) Linux
16343
16344 Re-add some /proc/acpi/event functionality that was lost during
16345 the rewrite
16346
16347 Resolved issue with /proc events for fixed-feature buttons showing
16348 up as the system device.
16349
16350 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
16351
16352 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
16353
16354 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
16355
16356 Fixed limit interface & usage to fix bugs with passive cooling
16357 hysterisis.
16358
16359 Restructured PRT support.
16360
16361
16362 ----------------------------------------
16363 Summary of changes for this label: 02_14_02
16364
16365
16366 1) ACPI CA Core Subsystem:
16367
16368 Implemented support in AcpiLoadTable to allow loading of FACS and
16369 FADT tables.
16370
16371 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
16372 been removed.  All 64-bit platforms should be migrated to the ACPI
16373 2.0 tables.  The actbl71.h header has been removed from the source
16374 tree.
16375
16376 All C macros defined within the subsystem have been prefixed with
16377 "ACPI_" to avoid collision with other system include files.
16378
16379 Removed the return value for the two AcpiOsPrint interfaces, since
16380 it is never used and causes lint warnings for ignoring the return
16381 value.
16382
16383 Added error checking to all internal mutex acquire and release
16384 calls.  Although a failure from one of these interfaces is
16385 probably a fatal system error, these checks will cause the
16386 immediate abort of the currently executing method or interface.
16387
16388 Fixed a problem where the AcpiSetCurrentResources interface could
16389 fault.  This was a side effect of the deployment of the new memory
16390 allocation model.
16391
16392 Fixed a couple of problems with the Global Lock support introduced
16393 in the last major build.  The "common" (1.0/2.0) internal FACS was
16394 being overwritten with the FACS signature and clobbering the
16395 Global Lock pointer.  Also, the actual firmware FACS was being
16396 unmapped after construction of the "common" FACS, preventing
16397 access to the actual Global Lock field within it.  The "common"
16398 internal FACS is no longer installed as an actual ACPI table; it
16399 is used simply as a global.
16400
16401 Code and Data Size: Current core subsystem library sizes are shown
16402 below.  These are the code and data sizes for the acpica.lib
16403 produced by the Microsoft Visual C++ 6.0 compiler, and these
16404 values do not include any ACPI driver or OSPM code.  The debug
16405 version of the code includes the debug output trace mechanism and
16406 has a larger code and data size.  Note that these values will vary
16407 depending on the efficiency of the compiler and the compiler
16408 options used during generation.
16409
16410   Previous Release (02_07_01)
16411     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16412     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16413   Current Release:
16414     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16415     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16416
16417
16418 2) Linux
16419
16420 Updated Linux-specific code for core macro and OSL interface
16421 changes described above.
16422
16423 Improved /proc/acpi/event. It now can be opened only once and has
16424 proper poll functionality.
16425
16426 Fixed and restructured power management (acpi_bus).
16427
16428 Only create /proc "view by type" when devices of that class exist.
16429
16430 Fixed "charging/discharging" bug (and others) in acpi_battery.
16431
16432 Improved thermal zone code.
16433
16434
16435 3) ASL Compiler, version X2039:
16436
16437
16438 Implemented the new compiler restriction on ASL String hex/octal
16439 escapes to non-null, ASCII values.  An error results if an invalid
16440 value is used.  (This will require an ACPI 2.0 specification
16441 change.)
16442
16443 AML object labels that are output to the optional C and ASM source
16444 are now prefixed with both the ACPI table signature and table ID
16445 to help guarantee uniqueness within a large BIOS project.
16446
16447
16448 ----------------------------------------
16449 Summary of changes for this label: 02_01_02
16450
16451 1) ACPI CA Core Subsystem:
16452
16453 ACPI 2.0 support is complete in the entire Core Subsystem and the
16454 ASL compiler. All new ACPI 2.0 operators are implemented and all
16455 other changes for ACPI 2.0 support are complete.  With
16456 simultaneous code and data optimizations throughout the subsystem,
16457 ACPI 2.0 support has been implemented with almost no additional
16458 cost in terms of code and data size.
16459
16460 Implemented a new mechanism for allocation of return buffers.  If
16461 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
16462 be allocated on behalf of the caller.  Consolidated all return
16463 buffer validation and allocation to a common procedure.  Return
16464 buffers will be allocated via the primary OSL allocation interface
16465 since it appears that a separate pool is not needed by most users.
16466 If a separate pool is required for these buffers, the caller can
16467 still use the original mechanism and pre-allocate the buffer(s).
16468
16469 Implemented support for string operands within the DerefOf
16470 operator.
16471
16472 Restructured the Hardware and Event managers to be table driven,
16473 simplifying the source code and reducing the amount of generated
16474 code.
16475
16476 Split the common read/write low-level ACPI register bitfield
16477 procedure into a separate read and write, simplifying the code
16478 considerably.
16479
16480 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
16481 used only a handful of times and didn't have enough critical mass
16482 for a separate interface.  Replaced with a common calloc procedure
16483 in the core.
16484
16485 Fixed a reported problem with the GPE number mapping mechanism
16486 that allows GPE1 numbers to be non-contiguous with GPE0.
16487 Reorganized the GPE information and shrunk a large array that was
16488 originally large enough to hold info for all possible GPEs (256)
16489 to simply large enough to hold all GPEs up to the largest GPE
16490 number on the machine.
16491
16492 Fixed a reported problem with resource structure alignment on 64-
16493 bit platforms.
16494
16495 Changed the AcpiEnableEvent and AcpiDisableEvent external
16496 interfaces to not require any flags for the common case of
16497 enabling/disabling a GPE.
16498
16499 Implemented support to allow a "Notify" on a Processor object.
16500
16501 Most TBDs in comments within the source code have been resolved
16502 and eliminated.
16503
16504
16505 Fixed a problem in the interpreter where a standalone parent
16506 prefix (^) was not handled correctly in the interpreter and
16507 debugger.
16508
16509 Removed obsolete and unnecessary GPE save/restore code.
16510
16511 Implemented Field support in the ASL Load operator.  This allows a
16512 table to be loaded from a named field, in addition to loading a
16513 table directly from an Operation Region.
16514
16515 Implemented timeout and handle support in the external Global Lock
16516 interfaces.
16517
16518 Fixed a problem in the AcpiDump utility where pathnames were no
16519 longer being generated correctly during the dump of named objects.
16520
16521 Modified the AML debugger to give a full display of if/while
16522 predicates instead of just one AML opcode at a time.  (The
16523 predicate can have several nested ASL statements.)  The old method
16524 was confusing during single stepping.
16525
16526 Code and Data Size: Current core subsystem library sizes are shown
16527 below. These are the code and data sizes for the acpica.lib
16528 produced by the Microsoft Visual C++ 6.0 compiler, and these
16529 values do not include any ACPI driver or OSPM code.  The debug
16530 version of the code includes the debug output trace mechanism and
16531 has a larger code and data size.  Note that these values will vary
16532 depending on the efficiency of the compiler and the compiler
16533 options used during generation.
16534
16535   Previous Release (12_18_01)
16536      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16537      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16538    Current Release:
16539      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16540      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16541
16542 2) Linux
16543
16544  Implemented fix for PIIX reverse throttling errata (Processor
16545 driver)
16546
16547 Added new Limit interface (Processor and Thermal drivers)
16548
16549 New thermal policy (Thermal driver)
16550
16551 Many updates to /proc
16552
16553 Battery "low" event support (Battery driver)
16554
16555 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
16556
16557 IA32 - IA64 initialization unification, no longer experimental
16558
16559 Menuconfig options redesigned
16560
16561 3) ASL Compiler, version X2037:
16562
16563 Implemented several new output features to simplify integration of
16564 AML code into  firmware: 1) Output the AML in C source code with
16565 labels for each named ASL object.  The    original ASL source code
16566 is interleaved as C comments. 2) Output the AML in ASM source code
16567 with labels and interleaved ASL    source. 3) Output the AML in
16568 raw hex table form, in either C or ASM.
16569
16570 Implemented support for optional string parameters to the
16571 LoadTable operator.
16572
16573 Completed support for embedded escape sequences within string
16574 literals.  The compiler now supports all single character escapes
16575 as well as the Octal and Hex escapes.  Note: the insertion of a
16576 null byte into a string literal (via the hex/octal escape) causes
16577 the string to be immediately terminated.  A warning is issued.
16578
16579 Fixed a problem where incorrect AML was generated for the case
16580 where an ASL namepath consists of a single parent prefix (
16581
16582 ) with no trailing name segments.
16583
16584 The compiler has been successfully generated with a 64-bit C
16585 compiler.
16586
16587
16588
16589
16590 ----------------------------------------
16591 Summary of changes for this label: 12_18_01
16592
16593 1) Linux
16594
16595 Enhanced blacklist with reason and severity fields. Any table's
16596 signature may now be used to identify a blacklisted system.
16597
16598 Call _PIC control method to inform the firmware which interrupt
16599 model the OS is using. Turn on any disabled link devices.
16600
16601 Cleaned up busmgr /proc error handling (Andreas Dilger)
16602
16603  2) ACPI CA Core Subsystem:
16604
16605 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
16606 while loop)
16607
16608 Completed implementation of the ACPI 2.0 "Continue",
16609 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
16610 operators.  All new ACPI 2.0 operators are now implemented in both
16611 the ASL compiler and the AML interpreter.  The only remaining ACPI
16612 2.0 task is support for the String data type in the DerefOf
16613 operator.  Fixed a problem with AcquireMutex where the status code
16614 was lost if the caller had to actually wait for the mutex.
16615
16616 Increased the maximum ASL Field size from 64K bits to 4G bits.
16617
16618 Completed implementation of the external Global Lock interfaces --
16619 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
16620 Handler parameters were added.
16621
16622 Completed another pass at removing warnings and issues when
16623 compiling with 64-bit compilers.  The code now compiles cleanly
16624 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
16625 add and subtract (diff) macros have changed considerably.
16626
16627
16628 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
16629 64-bit platforms, 32-bits on all others.  This type is used
16630 wherever memory allocation and/or the C sizeof() operator is used,
16631 and affects the OSL memory allocation interfaces AcpiOsAllocate
16632 and AcpiOsCallocate.
16633
16634 Implemented sticky user breakpoints in the AML debugger.
16635
16636 Code and Data Size: Current core subsystem library sizes are shown
16637 below. These are the code and data sizes for the acpica.lib
16638 produced by the Microsoft Visual C++ 6.0 compiler, and these
16639 values do not include any ACPI driver or OSPM code.  The debug
16640 version of the code includes the debug output trace mechanism and
16641 has a larger code and data size. Note that these values will vary
16642 depending on the efficiency of the compiler and the compiler
16643 options used during generation.
16644
16645   Previous Release (12_05_01)
16646      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16647      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16648    Current Release:
16649      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16650      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16651
16652  3) ASL Compiler, version X2034:
16653
16654 Now checks for (and generates an error if detected) the use of a
16655 Break or Continue statement without an enclosing While statement.
16656
16657
16658 Successfully generated the compiler with the Intel 64-bit C
16659 compiler.
16660
16661  ----------------------------------------
16662 Summary of changes for this label: 12_05_01
16663
16664  1) ACPI CA Core Subsystem:
16665
16666 The ACPI 2.0 CopyObject operator is fully implemented.  This
16667 operator creates a new copy of an object (and is also used to
16668 bypass the "implicit conversion" mechanism of the Store operator.)
16669
16670 The ACPI 2.0 semantics for the SizeOf operator are fully
16671 implemented.  The change is that performing a SizeOf on a
16672 reference object causes an automatic dereference of the object to
16673 tha actual value before the size is evaluated. This behavior was
16674 undefined in ACPI 1.0.
16675
16676 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
16677 have been implemented.  The interrupt polarity and mode are now
16678 independently set.
16679
16680 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
16681 appearing in Package objects were not properly converted to
16682 integers when the internal Package was converted to an external
16683 object (via the AcpiEvaluateObject interface.)
16684
16685 Fixed a problem with the namespace object deletion mechanism for
16686 objects created by control methods.  There were two parts to this
16687 problem: 1) Objects created during the initialization phase method
16688 parse were not being deleted, and 2) The object owner ID mechanism
16689 to track objects was broken.
16690
16691 Fixed a problem where the use of the ASL Scope operator within a
16692 control method would result in an invalid opcode exception.
16693
16694 Fixed a problem introduced in the previous label where the buffer
16695 length required for the _PRT structure was not being returned
16696 correctly.
16697
16698 Code and Data Size: Current core subsystem library sizes are shown
16699 below. These are the code and data sizes for the acpica.lib
16700 produced by the Microsoft Visual C++ 6.0 compiler, and these
16701 values do not include any ACPI driver or OSPM code.  The debug
16702 version of the code includes the debug output trace mechanism and
16703 has a larger code and data size.  Note that these values will vary
16704 depending on the efficiency of the compiler and the compiler
16705 options used during generation.
16706
16707   Previous Release (11_20_01)
16708      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16709      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16710
16711   Current Release:
16712      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16713      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16714
16715  2) Linux:
16716
16717 Updated all files to apply cleanly against 2.4.16.
16718
16719 Added basic PCI Interrupt Routing Table (PRT) support for IA32
16720 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
16721 version supports both static and dyanmic PRT entries, but dynamic
16722 entries are treated as if they were static (not yet
16723 reconfigurable).  Architecture- specific code to use this data is
16724 absent on IA32 but should be available shortly.
16725
16726 Changed the initialization sequence to start the ACPI interpreter
16727 (acpi_init) prior to initialization of the PCI driver (pci_init)
16728 in init/main.c.  This ordering is required to support PRT and
16729 facilitate other (future) enhancement.  A side effect is that the
16730 ACPI bus driver and certain device drivers can no longer be loaded
16731 as modules.
16732
16733 Modified the 'make menuconfig' options to allow PCI Interrupt
16734 Routing support to be included without the ACPI Bus and other
16735 device drivers.
16736
16737  3) ASL Compiler, version X2033:
16738
16739 Fixed some issues with the use of the new CopyObject and
16740 DataTableRegion operators.  Both are fully functional.
16741
16742  ----------------------------------------
16743 Summary of changes for this label: 11_20_01
16744
16745  20 November 2001.  Summary of changes for this release.
16746
16747  1) ACPI CA Core Subsystem:
16748
16749 Updated Index support to match ACPI 2.0 semantics.  Storing a
16750 Integer, String, or Buffer to an Index of a Buffer will store only
16751 the least-significant byte of the source to the Indexed buffer
16752 byte.  Multiple writes are not performed.
16753
16754 Fixed a problem where the access type used in an AccessAs ASL
16755 operator was not recorded correctly into the field object.
16756
16757 Fixed a problem where ASL Event objects were created in a
16758 signalled state. Events are now created in an unsignalled state.
16759
16760 The internal object cache is now purged after table loading and
16761 initialization to reduce the use of dynamic kernel memory -- on
16762 the assumption that object use is greatest during the parse phase
16763 of the entire table (versus the run-time use of individual control
16764 methods.)
16765
16766 ACPI 2.0 variable-length packages are now fully operational.
16767
16768 Code and Data Size: Code and Data optimizations have permitted new
16769 feature development with an actual reduction in the library size.
16770 Current core subsystem library sizes are shown below.  These are
16771 the code and data sizes for the acpica.lib produced by the
16772 Microsoft Visual C++ 6.0 compiler, and these values do not include
16773 any ACPI driver or OSPM code.  The debug version of the code
16774 includes the debug output trace mechanism and has a larger code
16775 and data size.  Note that these values will vary depending on the
16776 efficiency of the compiler and the compiler options used during
16777 generation.
16778
16779   Previous Release (11_09_01):
16780      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16781      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16782
16783   Current Release:
16784      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16785      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16786
16787  2) Linux:
16788
16789 Enhanced the ACPI boot-time initialization code to allow the use
16790 of Local APIC tables for processor enumeration on IA-32, and to
16791 pave the way for a fully MPS-free boot (on SMP systems) in the
16792 near future.  This functionality replaces
16793 arch/i386/kernel/acpitables.c, which was introduced in an earlier
16794 2.4.15-preX release.  To enable this feature you must add
16795 "acpi_boot=on" to the kernel command line -- see the help entry
16796 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
16797 the works...
16798
16799 Restructured the configuration options to allow boot-time table
16800 parsing support without inclusion of the ACPI Interpreter (and
16801 other) code.
16802
16803 NOTE: This release does not include fixes for the reported events,
16804 power-down, and thermal passive cooling issues (coming soon).
16805
16806  3) ASL Compiler:
16807
16808 Added additional typechecking for Fields within restricted access
16809 Operation Regions.  All fields within EC and CMOS regions must be
16810 declared with ByteAcc. All fields withing SMBus regions must be
16811 declared with the BufferAcc access type.
16812
16813 Fixed a problem where the listing file output of control methods
16814 no longer interleaved the actual AML code with the ASL source
16815 code.
16816
16817
16818
16819
16820 ----------------------------------------
16821 Summary of changes for this label: 11_09_01
16822
16823 1) ACPI CA Core Subsystem:
16824
16825 Implemented ACPI 2.0-defined support for writes to fields with a
16826 Buffer, String, or Integer source operand that is smaller than the
16827 target field. In these cases, the source operand is zero-extended
16828 to fill the target field.
16829
16830 Fixed a problem where a Field starting bit offset (within the
16831 parent operation region) was calculated incorrectly if the
16832
16833 alignment of the field differed from the access width.  This
16834 affected CreateWordField, CreateDwordField, CreateQwordField, and
16835 possibly other fields that use the "AccessAny" keyword.
16836
16837 Fixed a problem introduced in the 11_02_01 release where indirect
16838 stores through method arguments did not operate correctly.
16839
16840 2) Linux:
16841
16842 Implemented boot-time ACPI table parsing support
16843 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
16844 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
16845 legacy BIOS interfaces (e.g. MPS) for the configuration of system
16846 processors, memory, and interrupts during setup_arch().  Note that
16847 this patch does not include the required architecture-specific
16848 changes required to apply this information -- subsequent patches
16849 will be posted for both IA32 and IA64 to achieve this.
16850
16851 Added low-level sleep support for IA32 platforms, courtesy of Pat
16852 Mochel. This allows IA32 systems to transition to/from various
16853 sleeping states (e.g. S1, S3), although the lack of a centralized
16854 driver model and power-manageable drivers will prevent its
16855 (successful) use on most systems.
16856
16857 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
16858 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
16859 tables" option, etc.
16860
16861 Increased the default timeout for the EC driver from 1ms to 10ms
16862 (1000 cycles of 10us) to try to address AE_TIME errors during EC
16863 transactions.
16864
16865  ----------------------------------------
16866 Summary of changes for this label: 11_02_01
16867
16868 1) ACPI CA Core Subsystem:
16869
16870 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
16871 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
16872 implemented.
16873
16874 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
16875 changes to support ACPI 2.0 Qword field access.  Read/Write
16876 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
16877 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
16878 the value parameter for the address space handler interface is now
16879 an ACPI_INTEGER.  OSL implementations of these interfaces must now
16880 handle the case where the Width parameter is 64.
16881
16882 Index Fields: Fixed a problem where unaligned bit assembly and
16883 disassembly for IndexFields was not supported correctly.
16884
16885 Index and Bank Fields:  Nested Index and Bank Fields are now
16886 supported. During field access, a check is performed to ensure
16887 that the value written to an Index or Bank register is not out of
16888 the range of the register.  The Index (or Bank) register is
16889 written before each access to the field data. Future support will
16890 include allowing individual IndexFields to be wider than the
16891 DataRegister width.
16892
16893 Fields: Fixed a problem where the AML interpreter was incorrectly
16894 attempting to write beyond the end of a Field/OpRegion.  This was
16895 a boundary case that occurred when a DWORD field was written to a
16896 BYTE access OpRegion, forcing multiple writes and causing the
16897 interpreter to write one datum too many.
16898
16899 Fields: Fixed a problem with Field/OpRegion access where the
16900 starting bit address of a field was incorrectly calculated if the
16901 current access type was wider than a byte (WordAcc, DwordAcc, or
16902 QwordAcc).
16903
16904 Fields: Fixed a problem where forward references to individual
16905 FieldUnits (individual Field names within a Field definition) were
16906 not resolved during the AML table load.
16907
16908 Fields: Fixed a problem where forward references from a Field
16909 definition to the parent Operation Region definition were not
16910 resolved during the AML table load.
16911
16912 Fields: Duplicate FieldUnit names within a scope are now detected
16913 during AML table load.
16914
16915 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
16916 returned an incorrect name for the root node.
16917
16918 Code and Data Size: Code and Data optimizations have permitted new
16919 feature development with an actual reduction in the library size.
16920 Current core subsystem library sizes are shown below.  These are
16921 the code and data sizes for the acpica.lib produced by the
16922 Microsoft Visual C++ 6.0 compiler, and these values do not include
16923 any ACPI driver or OSPM code.  The debug version of the code
16924 includes the debug output trace mechanism and has a larger code
16925 and data size.  Note that these values will vary depending on the
16926 efficiency of the compiler and the compiler options used during
16927 generation.
16928
16929   Previous Release (10_18_01):
16930      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16931      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16932
16933   Current Release:
16934      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16935      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16936
16937  2) Linux:
16938
16939 Improved /proc processor output (Pavel Machek) Re-added
16940 MODULE_LICENSE("GPL") to all modules.
16941
16942  3) ASL Compiler version X2030:
16943
16944 Duplicate FieldUnit names within a scope are now detected and
16945 flagged as errors.
16946
16947  4) Documentation:
16948
16949 Programmer Reference updated to reflect OSL and address space
16950 handler interface changes described above.
16951
16952 ----------------------------------------
16953 Summary of changes for this label: 10_18_01
16954
16955 ACPI CA Core Subsystem:
16956
16957 Fixed a problem with the internal object reference count mechanism
16958 that occasionally caused premature object deletion. This resolves
16959 all of the outstanding problem reports where an object is deleted
16960 in the middle of an interpreter evaluation.  Although this problem
16961 only showed up in rather obscure cases, the solution to the
16962 problem involved an adjustment of all reference counts involving
16963 objects attached to namespace nodes.
16964
16965 Fixed a problem with Field support in the interpreter where
16966 writing to an aligned field whose length is an exact multiple (2
16967 or greater) of the field access granularity would cause an attempt
16968 to write beyond the end of the field.
16969
16970 The top level AML opcode execution functions within the
16971 interpreter have been renamed with a more meaningful and
16972 consistent naming convention.  The modules exmonad.c and
16973 exdyadic.c were eliminated.  New modules are exoparg1.c,
16974 exoparg2.c, exoparg3.c, and exoparg6.c.
16975
16976 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
16977
16978 Fixed a problem where the AML debugger was causing some internal
16979 objects to not be deleted during subsystem termination.
16980
16981 Fixed a problem with the external AcpiEvaluateObject interface
16982 where the subsystem would fault if the named object to be
16983 evaluated refered to a constant such as Zero, Ones, etc.
16984
16985 Fixed a problem with IndexFields and BankFields where the
16986 subsystem would fault if the index, data, or bank registers were
16987 not defined in the same scope as the field itself.
16988
16989 Added printf format string checking for compilers that support
16990 this feature.  Corrected more than 50 instances of issues with
16991 format specifiers within invocations of ACPI_DEBUG_PRINT
16992 throughout the core subsystem code.
16993
16994 The ASL "Revision" operator now returns the ACPI support level
16995 implemented in the core - the value "2" since the ACPI 2.0 support
16996 is more than 50% implemented.
16997
16998 Enhanced the output of the AML debugger "dump namespace" command
16999 to output in a more human-readable form.
17000
17001 Current core subsystem library code sizes are shown below.  These
17002
17003 are the code and data sizes for the acpica.lib produced by the
17004 Microsoft Visual C++ 6.0 compiler, and these values do not include
17005 any ACPI driver or OSPM code.  The debug version of the code
17006 includes the full debug trace mechanism -- leading to a much
17007
17008 larger code and data size.  Note that these values will vary
17009 depending on the efficiency of the compiler and the compiler
17010 options used during generation.
17011
17012      Previous Label (09_20_01):
17013      Non-Debug Version:    65K Code,     5K Data,     70K Total
17014      Debug Version:       138K Code,    58K Data,    196K Total
17015
17016      This Label:
17017
17018      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
17019      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
17020
17021 Linux:
17022
17023 Implemented a "Bad BIOS Blacklist" to track machines that have
17024 known ASL/AML problems.
17025
17026 Enhanced the /proc interface for the thermal zone driver and added
17027 support for _HOT (the critical suspend trip point).  The 'info'
17028 file now includes threshold/policy information, and allows setting
17029 of _SCP (cooling preference) and _TZP (polling frequency) values
17030 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
17031 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
17032 preference to the passive/quiet mode (if supported by the ASL).
17033
17034 Implemented a workaround for a gcc bug that resuted in an OOPs
17035 when loading the control method battery driver.
17036
17037  ----------------------------------------
17038 Summary of changes for this label: 09_20_01
17039
17040  ACPI CA Core Subsystem:
17041
17042 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
17043 modified to allow individual GPE levels to be flagged as wake-
17044 enabled (i.e., these GPEs are to remain enabled when the platform
17045 sleeps.)
17046
17047 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
17048 support wake-enabled GPEs.  This means that upon entering the
17049 sleep state, all GPEs that are not wake-enabled are disabled.
17050 When leaving the sleep state, these GPEs are reenabled.
17051
17052 A local double-precision divide/modulo module has been added to
17053 enhance portability to OS kernels where a 64-bit math library is
17054 not available.  The new module is "utmath.c".
17055
17056 Several optimizations have been made to reduce the use of CPU
17057 stack.  Originally over 2K, the maximum stack usage is now below
17058 2K at 1860  bytes (1.82k)
17059
17060 Fixed a problem with the AcpiGetFirmwareTable interface where the
17061 root table pointer was not mapped into a logical address properly.
17062
17063 Fixed a problem where a NULL pointer was being dereferenced in the
17064 interpreter code for the ASL Notify operator.
17065
17066 Fixed a problem where the use of the ASL Revision operator
17067 returned an error. This operator now returns the current version
17068 of the ACPI CA core subsystem.
17069
17070 Fixed a problem where objects passed as control method parameters
17071 to AcpiEvaluateObject were always deleted at method termination.
17072 However, these objects may end up being stored into the namespace
17073 by the called method.  The object reference count mechanism was
17074 applied to these objects instead of a force delete.
17075
17076 Fixed a problem where static strings or buffers (contained in the
17077 AML code) that are declared as package elements within the ASL
17078 code could cause a fault because the interpreter would attempt to
17079 delete them.  These objects are now marked with the "static
17080 object" flag to prevent any attempt to delete them.
17081
17082 Implemented an interpreter optimization to use operands directly
17083 from the state object instead of extracting the operands to local
17084 variables.  This reduces stack use and code size, and improves
17085 performance.
17086
17087 The module exxface.c was eliminated as it was an unnecessary extra
17088 layer of code.
17089
17090 Current core subsystem library code sizes are shown below.  These
17091 are the code and data sizes for the acpica.lib produced by the
17092 Microsoft Visual C++ 6.0 compiler, and these values do not include
17093 any ACPI driver or OSPM code.  The debug version of the code
17094 includes the full debug trace mechanism -- leading to a much
17095 larger code and data size.  Note that these values will vary
17096 depending on the efficiency of the compiler and the compiler
17097 options used during generation.
17098
17099   Non-Debug Version:  65K Code,   5K Data,   70K Total
17100 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
17101 Total  (Previously 195K)
17102
17103 Linux:
17104
17105 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
17106 Integer objects are now 64 bits wide
17107
17108 All Acpi data types and structures are now in lower case.  Only
17109 Acpi macros are upper case for differentiation.
17110
17111  Documentation:
17112
17113 Changes to the external interfaces as described above.
17114
17115  ----------------------------------------
17116 Summary of changes for this label: 08_31_01
17117
17118  ACPI CA Core Subsystem:
17119
17120 A bug with interpreter implementation of the ASL Divide operator
17121 was found and fixed.  The implicit function return value (not the
17122 explicit store operands) was returning the remainder instead of
17123 the quotient.  This was a longstanding bug and it fixes several
17124 known outstanding issues on various platforms.
17125
17126 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
17127 been further optimized for size.  There are 700 invocations of the
17128 DEBUG_PRINT macro alone, so each optimization reduces the size of
17129 the debug version of the subsystem significantly.
17130
17131 A stack trace mechanism has been implemented.  The maximum stack
17132 usage is about 2K on 32-bit platforms.  The debugger command "stat
17133 stack" will display the current maximum stack usage.
17134
17135 All public symbols and global variables within the subsystem are
17136 now prefixed with the string "Acpi".  This keeps all of the
17137 symbols grouped together in a kernel map, and avoids conflicts
17138 with other kernel subsystems.
17139
17140 Most of the internal fixed lookup tables have been moved into the
17141 code segment via the const operator.
17142
17143 Several enhancements have been made to the interpreter to both
17144 reduce the code size and improve performance.
17145
17146 Current core subsystem library code sizes are shown below.  These
17147 are the code and data sizes for the acpica.lib produced by the
17148 Microsoft Visual C++ 6.0 compiler, and these values do not include
17149 any ACPI driver or OSPM code.  The debug version of the code
17150 includes the full debug trace mechanism which contains over 700
17151 invocations of the DEBUG_PRINT macro, 500 function entry macro
17152 invocations, and over 900 function exit macro invocations --
17153 leading to a much larger code and data size.  Note that these
17154 values will vary depending on the efficiency of the compiler and
17155 the compiler options used during generation.
17156
17157         Non-Debug Version:  64K Code,   5K Data,   69K Total
17158 Debug Version:     137K Code,  58K Data,  195K Total
17159
17160  Linux:
17161
17162 Implemented wbinvd() macro, pending a kernel-wide definition.
17163
17164 Fixed /proc/acpi/event to handle poll() and short reads.
17165
17166  ASL Compiler, version X2026:
17167
17168 Fixed a problem introduced in the previous label where the AML
17169
17170 code emitted for package objects produced packages with zero
17171 length.
17172
17173  ----------------------------------------
17174 Summary of changes for this label: 08_16_01
17175
17176 ACPI CA Core Subsystem:
17177
17178 The following ACPI 2.0 ASL operators have been implemented in the
17179 AML interpreter (These are already supported by the Intel ASL
17180 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
17181 ToBuffer.  Support for 64-bit AML constants is implemented in the
17182 AML parser, debugger, and disassembler.
17183
17184 The internal memory tracking mechanism (leak detection code) has
17185 been upgraded to reduce the memory overhead (a separate tracking
17186 block is no longer allocated for each memory allocation), and now
17187 supports all of the internal object caches.
17188
17189 The data structures and code for the internal object caches have
17190 been coelesced and optimized so that there is a single cache and
17191 memory list data structure and a single group of functions that
17192 implement generic cache management.  This has reduced the code
17193 size in both the debug and release versions of the subsystem.
17194
17195 The DEBUG_PRINT macro(s) have been optimized for size and replaced
17196 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
17197 different, because it generates a single call to an internal
17198 function.  This results in a savings of about 90 bytes per
17199 invocation, resulting in an overall code and data savings of about
17200 16% in the debug version of the subsystem.
17201
17202  Linux:
17203
17204 Fixed C3 disk corruption problems and re-enabled C3 on supporting
17205 machines.
17206
17207 Integrated low-level sleep code by Patrick Mochel.
17208
17209 Further tweaked source code Linuxization.
17210
17211 Other minor fixes.
17212
17213  ASL Compiler:
17214
17215 Support for ACPI 2.0 variable length packages is fixed/completed.
17216
17217 Fixed a problem where the optional length parameter for the ACPI
17218 2.0 ToString operator.
17219
17220 Fixed multiple extraneous error messages when a syntax error is
17221 detected within the declaration line of a control method.
17222
17223  ----------------------------------------
17224 Summary of changes for this label: 07_17_01
17225
17226 ACPI CA Core Subsystem:
17227
17228 Added a new interface named AcpiGetFirmwareTable to obtain any
17229 ACPI table via the ACPI signature.  The interface can be called at
17230 any time during kernel initialization, even before the kernel
17231 virtual memory manager is initialized and paging is enabled.  This
17232 allows kernel subsystems to obtain ACPI tables very early, even
17233 before the ACPI CA subsystem is initialized.
17234
17235 Fixed a problem where Fields defined with the AnyAcc attribute
17236 could be resolved to the incorrect address under the following
17237 conditions: 1) the field width is larger than 8 bits and 2) the
17238 parent operation region is not defined on a DWORD boundary.
17239
17240 Fixed a problem where the interpreter is not being locked during
17241 namespace initialization (during execution of the _INI control
17242 methods), causing an error when an attempt is made to release it
17243 later.
17244
17245 ACPI 2.0 support in the AML Interpreter has begun and will be
17246 ongoing throughout the rest of this year.  In this label, The Mod
17247 operator is implemented.
17248
17249 Added a new data type to contain full PCI addresses named
17250 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
17251 and Function values.
17252
17253  Linux:
17254
17255 Enhanced the Linux version of the source code to change most
17256 capitalized ACPI type names to lowercase. For example, all
17257 instances of ACPI_STATUS are changed to acpi_status.  This will
17258 result in a large diff, but the change is strictly cosmetic and
17259 aligns the CA code closer to the Linux coding standard.
17260
17261 OSL Interfaces:
17262
17263 The interfaces to the PCI configuration space have been changed to
17264 add the PCI Segment number and to split the single 32-bit combined
17265 DeviceFunction field into two 16-bit fields.  This was
17266 accomplished by moving the four values that define an address in
17267 PCI configuration space (segment, bus, device, and function) to
17268 the new ACPI_PCI_ID structure.
17269
17270 The changes to the PCI configuration space interfaces led to a
17271 reexamination of the complete set of address space access
17272 interfaces for PCI, I/O, and Memory.  The previously existing 18
17273 interfaces have proven difficult to maintain (any small change
17274 must be propagated across at least 6 interfaces) and do not easily
17275 allow for future expansion to 64 bits if necessary.  Also, on some
17276 systems, it would not be appropriate to demultiplex the access
17277 width (8, 16, 32,or 64) before calling the OSL if the
17278 corresponding native OS interfaces contain a similar access width
17279 parameter.  For these reasons, the 18 address space interfaces
17280 have been replaced by these 6 new ones:
17281
17282 AcpiOsReadPciConfiguration
17283 AcpiOsWritePciConfiguration
17284 AcpiOsReadMemory
17285 AcpiOsWriteMemory
17286 AcpiOsReadPort
17287 AcpiOsWritePort
17288
17289 Added a new interface named AcpiOsGetRootPointer to allow the OSL
17290 to perform the platform and/or OS-specific actions necessary to
17291 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
17292 interface will simply call down to the CA core to perform the low-
17293 memory search for the table.  On IA-64, the RSDP is obtained from
17294 EFI.  Migrating this interface to the OSL allows the CA core to
17295
17296 remain OS and platform independent.
17297
17298 Added a new interface named AcpiOsSignal to provide a generic
17299 "function code and pointer" interface for various miscellaneous
17300 signals and notifications that must be made to the host OS.   The
17301 first such signals are intended to support the ASL Fatal and
17302 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
17303 interface has been obsoleted.
17304
17305 The definition of the AcpiFormatException interface has been
17306 changed to simplify its use.  The caller no longer must supply a
17307 buffer to the call; A pointer to a const string is now returned
17308 directly.  This allows the call to be easily used in printf
17309 statements, etc. since the caller does not have to manage a local
17310 buffer.
17311
17312
17313  ASL Compiler, Version X2025:
17314
17315 The ACPI 2.0 Switch/Case/Default operators have been implemented
17316 and are fully functional.  They will work with all ACPI 1.0
17317 interpreters, since the operators are simply translated to If/Else
17318 pairs.
17319
17320 The ACPI 2.0 ElseIf operator is implemented and will also work
17321 with 1.0 interpreters, for the same reason.
17322
17323 Implemented support for ACPI 2.0 variable-length packages.  These
17324 packages have a separate opcode, and their size is determined by
17325 the interpreter at run-time.
17326
17327 Documentation The ACPI CA Programmer Reference has been updated to
17328 reflect the new interfaces and changes to existing interfaces.
17329
17330  ------------------------------------------
17331 Summary of changes for this label: 06_15_01
17332
17333  ACPI CA Core Subsystem:
17334
17335 Fixed a problem where a DWORD-accessed field within a Buffer
17336 object would get its byte address inadvertently rounded down to
17337 the nearest DWORD.  Buffers are always Byte-accessible.
17338
17339  ASL Compiler, version X2024:
17340
17341 Fixed a problem where the Switch() operator would either fault or
17342 hang the compiler.  Note however, that the AML code for this ACPI
17343 2.0 operator is not yet implemented.
17344
17345 Compiler uses the new AcpiOsGetTimer interface to obtain compile
17346 timings.
17347
17348 Implementation of the CreateField operator automatically converts
17349 a reference to a named field within a resource descriptor from a
17350 byte offset to a bit offset if required.
17351
17352 Added some missing named fields from the resource descriptor
17353 support. These are the names that are automatically created by the
17354 compiler to reference fields within a descriptor.  They are only
17355 valid at compile time and are not passed through to the AML
17356 interpreter.
17357
17358 Resource descriptor named fields are now typed as Integers and
17359 subject to compile-time typechecking when used in expressions.
17360
17361  ------------------------------------------
17362 Summary of changes for this label: 05_18_01
17363
17364  ACPI CA Core Subsystem:
17365
17366 Fixed a couple of problems in the Field support code where bits
17367 from adjacent fields could be returned along with the proper field
17368 bits. Restructured the field support code to improve performance,
17369 readability and maintainability.
17370
17371 New DEBUG_PRINTP macro automatically inserts the procedure name
17372 into the output, saving hundreds of copies of procedure name
17373 strings within the source, shrinking the memory footprint of the
17374 debug version of the core subsystem.
17375
17376  Source Code Structure:
17377
17378 The source code directory tree was restructured to reflect the
17379 current organization of the component architecture.  Some files
17380 and directories have been moved and/or renamed.
17381
17382  Linux:
17383
17384 Fixed leaking kacpidpc processes.
17385
17386 Fixed queueing event data even when /proc/acpi/event is not
17387 opened.
17388
17389  ASL Compiler, version X2020:
17390
17391 Memory allocation performance enhancement - over 24X compile time
17392 improvement on large ASL files.  Parse nodes and namestring
17393 buffers are now allocated from a large internal compiler buffer.
17394
17395 The temporary .SRC file is deleted unless the "-s" option is
17396 specified
17397
17398 The "-d" debug output option now sends all output to the .DBG file
17399 instead of the console.
17400
17401 "External" second parameter is now optional
17402
17403 "ElseIf" syntax now properly allows the predicate
17404
17405 Last operand to "Load" now recognized as a Target operand
17406
17407 Debug object can now be used anywhere as a normal object.
17408
17409 ResourceTemplate now returns an object of type BUFFER
17410
17411 EISAID now returns an object of type INTEGER
17412
17413 "Index" now works with a STRING operand
17414
17415 "LoadTable" now accepts optional parameters
17416
17417 "ToString" length parameter is now optional
17418
17419 "Interrupt (ResourceType," parse error fixed.
17420
17421 "Register" with a user-defined region space parse error fixed
17422
17423 Escaped backslash at the end of a string ("\\") scan/parse error
17424 fixed
17425
17426 "Revision" is now an object of type INTEGER.
17427
17428
17429
17430 ------------------------------------------
17431 Summary of changes for this label: 05_02_01
17432
17433 Linux:
17434
17435 /proc/acpi/event now blocks properly.
17436
17437 Removed /proc/sys/acpi. You can still dump your DSDT from
17438 /proc/acpi/dsdt.
17439
17440  ACPI CA Core Subsystem:
17441
17442 Fixed a problem introduced in the previous label where some of the
17443 "small" resource descriptor types were not recognized.
17444
17445 Improved error messages for the case where an ASL Field is outside
17446 the range of the parent operation region.
17447
17448  ASL Compiler, version X2018:
17449
17450
17451 Added error detection for ASL Fields that extend beyond the length
17452 of the parent operation region (only if the length of the region
17453 is known at compile time.)  This includes fields that have a
17454 minimum access width that is smaller than the parent region, and
17455 individual field units that are partially or entirely beyond the
17456 extent of the parent.
17457
17458
17459
17460 ------------------------------------------
17461 Summary of changes for this label: 04_27_01
17462
17463  ACPI CA Core Subsystem:
17464
17465 Fixed a problem where the namespace mutex could be released at the
17466 wrong time during execution of AcpiRemoveAddressSpaceHandler.
17467
17468 Added optional thread ID output for debug traces, to simplify
17469 debugging of multiple threads.  Added context switch notification
17470 when the debug code realizes that a different thread is now
17471 executing ACPI code.
17472
17473 Some additional external data types have been prefixed with the
17474 string "ACPI_" for consistency.  This may effect existing code.
17475 The data types affected are the external callback typedefs - e.g.,
17476
17477 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
17478
17479  Linux:
17480
17481 Fixed an issue with the OSL semaphore implementation where a
17482 thread was waking up with an error from receiving a SIGCHLD
17483 signal.
17484
17485 Linux version of ACPI CA now uses the system C library for string
17486 manipulation routines instead of a local implementation.
17487
17488 Cleaned up comments and removed TBDs.
17489
17490  ASL Compiler, version X2017:
17491
17492 Enhanced error detection and reporting for all file I/O
17493 operations.
17494
17495  Documentation:
17496
17497 Programmer Reference updated to version 1.06.
17498
17499
17500
17501 ------------------------------------------
17502 Summary of changes for this label: 04_13_01
17503
17504  ACPI CA Core Subsystem:
17505
17506 Restructured support for BufferFields and RegionFields.
17507 BankFields support is now fully operational.  All known 32-bit
17508 limitations on field sizes have been removed.  Both BufferFields
17509 and (Operation) RegionFields are now supported by the same field
17510 management code.
17511
17512 Resource support now supports QWORD address and IO resources. The
17513 16/32/64 bit address structures and the Extended IRQ structure
17514 have been changed to properly handle Source Resource strings.
17515
17516 A ThreadId of -1 is now used to indicate a "mutex not acquired"
17517 condition internally and must never be returned by AcpiOsThreadId.
17518 This reserved value was changed from 0 since Unix systems allow a
17519 thread ID of 0.
17520
17521 Linux:
17522
17523 Driver code reorganized to enhance portability
17524
17525 Added a kernel configuration option to control ACPI_DEBUG
17526
17527 Fixed the EC driver to honor _GLK.
17528
17529 ASL Compiler, version X2016:
17530
17531 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
17532 address space was set to 0, not 0x7f as it should be.
17533
17534  ------------------------------------------
17535 Summary of changes for this label: 03_13_01
17536
17537  ACPI CA Core Subsystem:
17538
17539 During ACPI initialization, the _SB_._INI method is now run if
17540 present.
17541
17542 Notify handler fix - notifies are deferred until the parent method
17543 completes execution.  This fixes the "mutex already acquired"
17544 issue seen occasionally.
17545
17546 Part of the "implicit conversion" rules in ACPI 2.0 have been
17547 found to cause compatibility problems with existing ASL/AML.  The
17548 convert "result-to-target-type" implementation has been removed
17549 for stores to method Args and Locals.  Source operand conversion
17550 is still fully implemented.  Possible changes to ACPI 2.0
17551 specification pending.
17552
17553 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
17554 length.
17555
17556 Fix for compiler warnings for 64-bit compiles.
17557
17558  Linux:
17559
17560 /proc output aligned for easier parsing.
17561
17562 Release-version compile problem fixed.
17563
17564 New kernel configuration options documented in Configure.help.
17565
17566 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
17567 context" message.
17568
17569  OSPM:
17570
17571 Power resource driver integrated with bus manager.
17572
17573 Fixed kernel fault during active cooling for thermal zones.
17574
17575 Source Code:
17576
17577 The source code tree has been restructured.
17578
17579
17580
17581 ------------------------------------------
17582 Summary of changes for this label: 03_02_01
17583
17584  Linux OS Services Layer (OSL):
17585
17586 Major revision of all Linux-specific code.
17587
17588 Modularized all ACPI-specific drivers.
17589
17590 Added new thermal zone and power resource drivers.
17591
17592 Revamped /proc interface (new functionality is under /proc/acpi).
17593
17594 New kernel configuration options.
17595
17596  Linux known issues:
17597
17598 New kernel configuration options not documented in Configure.help
17599 yet.
17600
17601
17602 Module dependencies not currently implemented. If used, they
17603 should be loaded in this order: busmgr, power, ec, system,
17604 processor, battery, ac_adapter, button, thermal.
17605
17606 Modules will not load if CONFIG_MODVERSION is set.
17607
17608 IBM 600E - entering S5 may reboot instead of shutting down.
17609
17610 IBM 600E - Sleep button may generate "Invalid <NULL> context"
17611 message.
17612
17613 Some systems may fail with "execution mutex already acquired"
17614 message.
17615
17616  ACPI CA Core Subsystem:
17617
17618 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
17619 for the  deadlock detection code. Defined to return a non-zero, 32-
17620 bit thread ID for the currently executing thread.  May be a non-
17621 zero constant integer on single-thread systems.
17622
17623 Implemented deadlock detection for internal subsystem mutexes.  We
17624 may add conditional compilation for this code (debug only) later.
17625
17626 ASL/AML Mutex object semantics are now fully supported.  This
17627 includes multiple acquires/releases by owner and support for the
17628
17629 Mutex SyncLevel parameter.
17630
17631 A new "Force Release" mechanism automatically frees all ASL
17632 Mutexes that have been acquired but not released when a thread
17633 exits the interpreter.  This forces conformance to the ACPI spec
17634 ("All mutexes must be released when an invocation exits") and
17635 prevents deadlocked ASL threads.  This mechanism can be expanded
17636 (later) to monitor other resource acquisitions if OEM ASL code
17637 continues to misbehave (which it will).
17638
17639 Several new ACPI exception codes have been added for the Mutex
17640 support.
17641
17642 Recursive method calls are now allowed and supported (the ACPI
17643 spec does in fact allow recursive method calls.)  The number of
17644 recursive calls is subject to the restrictions imposed by the
17645 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
17646 parameter.
17647
17648 Implemented support for the SyncLevel parameter for control
17649 methods (ACPI 2.0 feature)
17650
17651 Fixed a deadlock problem when multiple threads attempted to use
17652 the interpreter.
17653
17654 Fixed a problem where the string length of a String package
17655 element was not always set in a package returned from
17656 AcpiEvaluateObject.
17657
17658 Fixed a problem where the length of a String package element was
17659 not always included in the length of the overall package returned
17660 from AcpiEvaluateObject.
17661
17662 Added external interfaces (Acpi*) to the ACPI debug memory
17663 manager.  This manager keeps a list of all outstanding
17664 allocations, and can therefore detect memory leaks and attempts to
17665 free memory blocks more than once. Useful for code such as the
17666 power manager, etc.  May not be appropriate for device drivers.
17667 Performance with the debug code enabled is slow.
17668
17669 The ACPI Global Lock is now an optional hardware element.
17670
17671  ASL Compiler Version X2015:
17672
17673 Integrated changes to allow the compiler to be generated on
17674 multiple platforms.
17675
17676 Linux makefile added to generate the compiler on Linux
17677
17678  Source Code:
17679
17680 All platform-specific headers have been moved to their own
17681 subdirectory, Include/Platform.
17682
17683 New source file added, Interpreter/ammutex.c
17684
17685 New header file, Include/acstruct.h
17686
17687  Documentation:
17688
17689 The programmer reference has been updated for the following new
17690 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
17691
17692  ------------------------------------------
17693 Summary of changes for this label: 02_08_01
17694
17695 Core ACPI CA Subsystem: Fixed a problem where an error was
17696 incorrectly returned if the return resource buffer was larger than
17697 the actual data (in the resource interfaces).
17698
17699 References to named objects within packages are resolved to the
17700
17701 full pathname string before packages are returned directly (via
17702 the AcpiEvaluateObject interface) or indirectly via the resource
17703 interfaces.
17704
17705 Linux OS Services Layer (OSL):
17706
17707 Improved /proc battery interface.
17708
17709
17710 Added C-state debugging output and other miscellaneous fixes.
17711
17712 ASL Compiler Version X2014:
17713
17714 All defined method arguments can now be used as local variables,
17715 including the ones that are not actually passed in as parameters.
17716 The compiler tracks initialization of the arguments and issues an
17717 exception if they are used without prior assignment (just like
17718 locals).
17719
17720 The -o option now specifies a filename prefix that is used for all
17721 output files, including the AML output file.  Otherwise, the
17722 default behavior is as follows:  1) the AML goes to the file
17723 specified in the DSDT.  2) all other output files use the input
17724 source filename as the base.
17725
17726  ------------------------------------------
17727 Summary of changes for this label: 01_25_01
17728
17729 Core ACPI CA Subsystem: Restructured the implementation of object
17730 store support within the  interpreter.  This includes support for
17731 the Store operator as well  as any ASL operators that include a
17732 target operand.
17733
17734 Partially implemented support for Implicit Result-to-Target
17735 conversion. This is when a result object is converted on the fly
17736 to the type of  an existing target object.  Completion of this
17737 support is pending  further analysis of the ACPI specification
17738 concerning this matter.
17739
17740 CPU-specific code has been removed from the subsystem (hardware
17741 directory).
17742
17743 New Power Management Timer functions added
17744
17745 Linux OS Services Layer (OSL): Moved system state transition code
17746 to the core, fixed it, and modified  Linux OSL accordingly.
17747
17748 Fixed C2 and C3 latency calculations.
17749
17750
17751 We no longer use the compilation date for the version message on
17752 initialization, but retrieve the version from AcpiGetSystemInfo().
17753
17754 Incorporated for fix Sony VAIO machines.
17755
17756 Documentation:  The Programmer Reference has been updated and
17757 reformatted.
17758
17759
17760 ASL Compiler:  Version X2013: Fixed a problem where the line
17761 numbering and error reporting could get out  of sync in the
17762 presence of multiple include files.
17763
17764  ------------------------------------------
17765 Summary of changes for this label: 01_15_01
17766
17767 Core ACPI CA Subsystem:
17768
17769 Implemented support for type conversions in the execution of the
17770 ASL  Concatenate operator (The second operand is converted to
17771 match the type  of the first operand before concatenation.)
17772
17773 Support for implicit source operand conversion is partially
17774 implemented.   The ASL source operand types Integer, Buffer, and
17775 String are freely  interchangeable for most ASL operators and are
17776 converted by the interpreter  on the fly as required.  Implicit
17777 Target operand conversion (where the  result is converted to the
17778 target type before storing) is not yet implemented.
17779
17780 Support for 32-bit and 64-bit BCD integers is implemented.
17781
17782 Problem fixed where a field read on an aligned field could cause a
17783 read  past the end of the field.
17784
17785 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
17786 does not return a value, but the caller expects one.  (The ASL
17787 compiler flags this as a warning.)
17788
17789 ASL Compiler:
17790
17791 Version X2011:
17792 1. Static typechecking of all operands is implemented. This
17793 prevents the use of invalid objects (such as using a Package where
17794 an Integer is required) at compile time instead of at interpreter
17795 run-time.
17796 2. The ASL source line is printed with ALL errors and warnings.
17797 3. Bug fix for source EOF without final linefeed.
17798 4. Debug option is split into a parse trace and a namespace trace.
17799 5. Namespace output option (-n) includes initial values for
17800 integers and strings.
17801 6. Parse-only option added for quick syntax checking.
17802 7. Compiler checks for duplicate ACPI name declarations
17803
17804 Version X2012:
17805 1. Relaxed typechecking to allow interchangeability between
17806 strings, integers, and buffers.  These types are now converted by
17807 the interpreter at runtime.
17808 2. Compiler reports time taken by each internal subsystem in the
17809 debug         output file.
17810
17811
17812  ------------------------------------------
17813 Summary of changes for this label: 12_14_00
17814
17815 ASL Compiler:
17816
17817 This is the first official release of the compiler. Since the
17818 compiler requires elements of the Core Subsystem, this label
17819 synchronizes everything.
17820
17821 ------------------------------------------
17822 Summary of changes for this label: 12_08_00
17823
17824
17825 Fixed a problem where named references within the ASL definition
17826 of both OperationRegions and CreateXXXFields did not work
17827 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17828 initialization of the region/field. This is similar (but not
17829 related internally) to the problem that was fixed in the last
17830 label.
17831
17832 Implemented both 32-bit and 64-bit support for the BCD ASL
17833 functions ToBCD and FromBCD.
17834
17835 Updated all legal headers to include "2000" in the copyright
17836 years.
17837
17838  ------------------------------------------
17839 Summary of changes for this label: 12_01_00
17840
17841 Fixed a problem where method invocations within the ASL definition
17842 of both OperationRegions and CreateXXXFields did not work
17843 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17844 initialization of the region/field:
17845
17846   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
17847 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
17848 (0x3005)
17849
17850 Fixed a problem where operators with more than one nested
17851 subexpression would fail.  The symptoms were varied, by mostly
17852 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
17853 problem that has gone unnoticed until now.
17854
17855   Subtract (Add (1,2), Multiply (3,4))
17856
17857 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
17858 previous build (The prefix part of a relative path was handled
17859 incorrectly).
17860
17861 Fixed a problem where Operation Region initialization failed if
17862 the operation region name was a "namepath" instead of a simple
17863 "nameseg". Symptom was an AE_NO_OPERAND error.
17864
17865 Fixed a problem where an assignment to a local variable via the
17866 indirect RefOf mechanism only worked for the first such
17867 assignment.  Subsequent assignments were ignored.
17868
17869  ------------------------------------------
17870 Summary of changes for this label: 11_15_00
17871
17872 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
17873 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
17874 the AML  interpreter does NOT have support for the new 2.0 ASL
17875 grammar terms at this time.
17876
17877 All ACPI hardware access is via the GAS structures in the ACPI 2.0
17878 FADT.
17879
17880 All physical memory addresses across all platforms are now 64 bits
17881 wide. Logical address width remains dependent on the platform
17882 (i.e., "void *").
17883
17884 AcpiOsMapMemory interface changed to a 64-bit physical address.
17885
17886 The AML interpreter integer size is now 64 bits, as per the ACPI
17887 2.0 specification.
17888
17889 For backwards compatibility with ACPI 1.0, ACPI tables with a
17890 revision number less than 2 use 32-bit integers only.
17891
17892 Fixed a problem where the evaluation of OpRegion operands did not
17893 always resolve them to numbers properly.
17894
17895 ------------------------------------------
17896 Summary of changes for this label: 10_20_00
17897
17898 Fix for CBN_._STA issue.  This fix will allow correct access to
17899 CBN_ OpRegions when the _STA returns 0x8.
17900
17901 Support to convert ACPI constants (Ones, Zeros, One) to actual
17902 values before a package object is returned
17903
17904 Fix for method call as predicate to if/while construct causing
17905 incorrect if/while behavior
17906
17907 Fix for Else block package lengths sometimes calculated wrong (if
17908 block > 63 bytes)
17909
17910 Fix for Processor object length field, was always zero
17911
17912 Table load abort if FACP sanity check fails
17913
17914 Fix for problem with Scope(name) if name already exists
17915
17916 Warning emitted if a named object referenced cannot be found
17917 (resolved) during method execution.
17918
17919
17920
17921
17922
17923 ------------------------------------------
17924 Summary of changes for this label: 9_29_00
17925
17926 New table initialization interfaces: AcpiInitializeSubsystem no
17927 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
17928 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
17929 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
17930 AcpiLoadTables
17931
17932 Note: These interface changes require changes to all existing OSDs
17933
17934 The PCI_Config default address space handler is always installed
17935 at the root namespace object.
17936
17937 -------------------------------------------
17938 Summary of changes for this label: 09_15_00
17939
17940 The new initialization architecture is implemented.  New
17941 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
17942 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
17943
17944 (Namespace is automatically loaded when a table is loaded)
17945
17946 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
17947 52 bytes to 32 bytes.  There is usually one of these for every
17948 namespace object, so the memory savings is significant.
17949
17950 Implemented just-in-time evaluation of the CreateField operators.
17951
17952 Bug fixes for IA-64 support have been integrated.
17953
17954 Additional code review comments have been implemented
17955
17956 The so-called "third pass parse" has been replaced by a final walk
17957 through the namespace to initialize all operation regions (address
17958 spaces) and fields that have not yet been initialized during the
17959 execution of the various _INI and REG methods.
17960
17961 New file - namespace/nsinit.c
17962
17963 -------------------------------------------
17964 Summary of changes for this label: 09_01_00
17965
17966 Namespace manager data structures have been reworked to change the
17967 primary  object from a table to a single object.  This has
17968 resulted in dynamic memory  savings of 3X within the namespace and
17969 2X overall in the ACPI CA subsystem.
17970
17971 Fixed problem where the call to AcpiEvFindPciRootBuses was
17972 inadvertently left  commented out.
17973
17974 Reduced the warning count when generating the source with the GCC
17975 compiler.
17976
17977 Revision numbers added to each module header showing the
17978 SourceSafe version of the file.  Please refer to this version
17979 number when giving us feedback or comments on individual modules.
17980
17981 The main object types within the subsystem have been renamed to
17982 clarify their  purpose:
17983
17984 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
17985 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
17986 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
17987
17988 NOTE: no changes to the initialization sequence are included in
17989 this label.
17990
17991 -------------------------------------------
17992 Summary of changes for this label: 08_23_00
17993
17994 Fixed problem where TerminateControlMethod was being called
17995 multiple times per  method
17996
17997 Fixed debugger problem where single stepping caused a semaphore to
17998 be  oversignalled
17999
18000 Improved performance through additional parse object caching -
18001 added  ACPI_EXTENDED_OP type
18002
18003 -------------------------------------------
18004 Summary of changes for this label: 08_10_00
18005
18006 Parser/Interpreter integration:  Eliminated the creation of
18007 complete parse trees  for ACPI tables and control methods.
18008 Instead, parse subtrees are created and  then deleted as soon as
18009 they are processed (Either entered into the namespace or  executed
18010 by the interpreter).  This reduces the use of dynamic kernel
18011 memory  significantly. (about 10X)
18012
18013 Exception codes broken into classes and renumbered.  Be sure to
18014 recompile all  code that includes acexcep.h.  Hopefully we won't
18015 have to renumber the codes  again now that they are split into
18016 classes (environment, programmer, AML code,  ACPI table, and
18017 internal).
18018
18019 Fixed some additional alignment issues in the Resource Manager
18020 subcomponent
18021
18022 Implemented semaphore tracking in the AcpiExec utility, and fixed
18023 several places  where mutexes/semaphores were being unlocked
18024 without a corresponding lock  operation.  There are no known
18025 semaphore or mutex "leaks" at this time.
18026
18027 Fixed the case where an ASL Return operator is used to return an
18028 unnamed  package.
18029
18030 -------------------------------------------
18031 Summary of changes for this label: 07_28_00
18032
18033 Fixed a problem with the way addresses were calculated in
18034 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
18035 manifested itself when a Field was  created with WordAccess or
18036 DwordAccess, but the field unit defined within the  Field was less
18037
18038 than a Word or Dword.
18039
18040 Fixed a problem in AmlDumpOperands() module's loop to pull
18041 operands off of the  operand stack to display information. The
18042 problem manifested itself as a TLB  error on 64-bit systems when
18043 accessing an operand stack with two or more  operands.
18044
18045 Fixed a problem with the PCI configuration space handlers where
18046 context was  getting confused between accesses. This required a
18047 change to the generic address  space handler and address space
18048 setup definitions. Handlers now get both a  global handler context
18049 (this is the one passed in by the user when executing
18050 AcpiInstallAddressSpaceHandler() and a specific region context
18051 that is unique to  each region (For example, the _ADR, _SEG and
18052 _BBN values associated with a  specific region). The generic
18053 function definitions have changed to the  following:
18054
18055 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
18056 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
18057 *HandlerContext, // This used to be void *Context void
18058 *RegionContext); // This is an additional parameter
18059
18060 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
18061 RegionHandle, UINT32 Function, void *HandlerContext,  void
18062 **RegionContext); // This used to be **ReturnContext
18063
18064 -------------------------------------------
18065 Summary of changes for this label: 07_21_00
18066
18067 Major file consolidation and rename.  All files within the
18068 interpreter have been  renamed as well as most header files.  This
18069 was done to prevent collisions with  existing files in the host
18070 OSs -- filenames such as "config.h" and "global.h"  seem to be
18071 quite common.  The VC project files have been updated.  All
18072 makefiles  will require modification.
18073
18074 The parser/interpreter integration continues in Phase 5 with the
18075 implementation  of a complete 2-pass parse (the AML is parsed
18076 twice) for each table;  This  avoids the construction of a huge
18077 parse tree and therefore reduces the amount of  dynamic memory
18078 required by the subsystem.  Greater use of the parse object cache
18079 means that performance is unaffected.
18080
18081 Many comments from the two code reviews have been rolled in.
18082
18083 The 64-bit alignment support is complete.
18084
18085 -------------------------------------------
18086 Summary of changes for this label: 06_30_00
18087
18088 With a nod and a tip of the hat to the technology of yesteryear,
18089 we've added  support in the source code for 80 column output
18090 devices.  The code is now mostly  constrained to 80 columns or
18091 less to support environments and editors that 1)  cannot display
18092 or print more than 80 characters on a single line, and 2) cannot
18093 disable line wrapping.
18094
18095 A major restructuring of the namespace data structure has been
18096 completed.  The  result is 1) cleaner and more
18097 understandable/maintainable code, and 2) a  significant reduction
18098 in the dynamic memory requirement for each named ACPI  object
18099 (almost half).
18100
18101 -------------------------------------------
18102 Summary of changes for this label: 06_23_00
18103
18104 Linux support has been added.  In order to obtain approval to get
18105 the ACPI CA  subsystem into the Linux kernel, we've had to make
18106 quite a few changes to the  base subsystem that will affect all
18107 users (all the changes are generic and OS- independent).  The
18108 effects of these global changes have been somewhat far  reaching.
18109 Files have been merged and/or renamed and interfaces have been
18110 renamed.   The major changes are described below.
18111
18112 Osd* interfaces renamed to AcpiOs* to eliminate namespace
18113 pollution/confusion  within our target kernels.  All OSD
18114 interfaces must be modified to match the new  naming convention.
18115
18116 Files merged across the subsystem.  A number of the smaller source
18117 and header  files have been merged to reduce the file count and
18118 increase the density of the  existing files.  There are too many
18119 to list here.  In general, makefiles that  call out individual
18120 files will require rebuilding.
18121
18122 Interpreter files renamed.  All interpreter files now have the
18123 prefix am*  instead of ie* and is*.
18124
18125 Header files renamed:  The acapi.h file is now acpixf.h.  The
18126 acpiosd.h file is  now acpiosxf.h.  We are removing references to
18127 the acronym "API" since it is  somewhat windowsy. The new name is
18128 "external interface" or xface or xf in the  filenames.j
18129
18130
18131 All manifest constants have been forced to upper case (some were
18132 mixed case.)   Also, the string "ACPI_" has been prepended to many
18133 (not all) of the constants,  typedefs, and structs.
18134
18135 The globals "DebugLevel" and "DebugLayer" have been renamed
18136 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
18137
18138 All other globals within the subsystem are now prefixed with
18139 "AcpiGbl_" Internal procedures within the subsystem are now
18140 prefixed with "Acpi" (with only  a few exceptions).  The original
18141 two-letter abbreviation for the subcomponent  remains after "Acpi"
18142 - for example, CmCallocate became AcpiCmCallocate.
18143
18144 Added a source code translation/conversion utility.  Used to
18145 generate the Linux  source code, it can be modified to generate
18146 other types of source as well. Can  also be used to cleanup
18147 existing source by removing extraneous spaces and blank  lines.
18148 Found in tools/acpisrc/*
18149
18150 OsdUnMapMemory was renamed to OsdUnmapMemory and then
18151 AcpiOsUnmapMemory.  (UnMap  became Unmap).
18152
18153 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
18154 When set to  one, this indicates that the caller wants to use the
18155
18156 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
18157 both types.  However, implementers of this  call may want to use
18158 different OS primitives depending on the type of semaphore
18159 requested.  For example, some operating systems provide separate
18160
18161 "mutex" and  "semaphore" interfaces - where the mutex interface is
18162 much faster because it  doesn't have all the overhead of a full
18163 semaphore implementation.
18164
18165 Fixed a deadlock problem where a method that accesses the PCI
18166 address space can  block forever if it is the first access to the
18167 space.
18168
18169 -------------------------------------------
18170 Summary of changes for this label: 06_02_00
18171
18172 Support for environments that cannot handle unaligned data
18173 accesses (e.g.  firmware and OS environments devoid of alignment
18174 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
18175 been added (via configurable macros) in  these three areas: -
18176 Transfer of data from the raw AML byte stream is done via byte
18177 moves instead of    word/dword/qword moves. - External objects are
18178 aligned within the user buffer, including package   elements (sub-
18179 objects). - Conversion of name strings to UINT32 Acpi Names is now
18180 done byte-wise.
18181
18182 The Store operator was modified to mimic Microsoft's
18183 implementation when storing  to a Buffer Field.
18184
18185 Added a check of the BM_STS bit before entering C3.
18186
18187 The methods subdirectory has been obsoleted and removed.  A new
18188 file, cmeval.c  subsumes the functionality.
18189
18190 A 16-bit (DOS) version of AcpiExec has been developed.  The
18191 makefile is under  the acpiexec directory.