]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/dev/acpica/changes.txt
Merge the remainder of the projects/openssl111 branch to head.
[FreeBSD/FreeBSD.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 03 October 2018. Summary of changes for version 20181003:
3
4
5 2) iASL Compiler/Disassembler and Tools:
6
7 Fixed a regression introduced in version 20180927 that could cause the 
8 compiler to fault, especially with NamePaths containing one or more 
9 carats (^). Such as: ^^_SB_PCI0
10
11 Added a new remark for the Sleep() operator when the sleep time operand 
12 is larger than one second. This is a very long time for the ASL/BIOS code 
13 and may not be what was intended by the ASL writer.
14
15 ----------------------------------------
16 27 September 2018. Summary of changes for version 20180927:
17
18
19 1) ACPICA kernel-resident subsystem:
20
21 Updated the GPE support to clear the status of all ACPI events when 
22 entering any/all sleep states in order to avoid premature wakeups. In 
23 theory, this may cause some wakeup events to be missed, but the 
24 likelihood of this is small. This change restores the original behavior 
25 of the ACPICA code in order to fix a regression seen from the previous 
26 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change. 
27 This regression could cause some systems to incorrectly wake immediately.
28
29 Updated the execution of the _REG methods during initialization and 
30 namespace loading to bring the behavior into closer conformance to the 
31 ACPI specification and other ACPI implementations:
32
33 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
34     "Control methods must assume all operation regions are inaccessible 
35 until the _REG(RegionSpace, 1) method is executed"
36
37     "The exceptions to this rule are:
38 1.  OSPM must guarantee that the following operation regions are always 
39 accessible:
40     SystemIO operation regions.
41     SystemMemory operation regions when accessing memory returned by the 
42 System Address Map reporting interfaces."
43
44 Since the state of both the SystemIO and SystemMemory address spaces are 
45 defined by the specification to never change, this ACPICA change ensures 
46 that now _REG is never called on them. This solves some problems seen in 
47 the field and provides compatibility with other ACPI implementations. An 
48 update to the upcoming new version of the ACPI specification will help 
49 clarify this behavior.
50
51 Updated the implementation of support for the Generic Serial Bus. For the 
52 "bidirectional" protocols, the internal implementation now automatically 
53 creates a return data buffer of the maximum size (255). This handles the 
54 worst-case for data that is returned from the serial bus handler, and 
55 fixes some problems seen in the field. This new buffer is directly 
56 returned to the ASL. As such, there is no true "bidirectional" buffer, 
57 which matches the ACPI specification. This is the reason for the "double 
58 store" seen in the example ASL code in the specification, shown below:
59
60 Word Process Call (AttribProcessCall):
61     OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
62     Field(TOP1, BufferAcc, NoLock, Preserve)
63     {
64         FLD1, 8, // Virtual register at command value 1.
65     }
66
67     Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
68                              // as BUFF
69     CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
70
71     Store(0x5416, DATA)               // Save 0x5416 into the data buffer
72     Store(Store(BUFF, FLD1), BUFF)    // Invoke a write/read Process Call 
73 transaction
74                            // This is the "double store". The write to
75                            // FLD1 returns a new buffer, which is stored
76                            // back into BUFF with the second Store.
77
78
79 2) iASL Compiler/Disassembler and Tools:
80
81 iASL: Implemented detection of extraneous/redundant uses of the Offset() 
82 operator within a Field Unit list. A remark is now issued for these. For 
83 example, the first two of the Offset() operators below are extraneous. 
84 Because both the compiler and the interpreter track the offsets 
85 automatically, these Offsets simply refer to the current offset and are 
86 unnecessary. Note, when optimization is enabled, the iASL compiler will 
87 in fact remove the redundant Offset operators and will not emit any AML 
88 code for them.
89
90     OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
91     Field (OPR1)
92     {
93         Offset (0),     // Never needed
94         FLD1, 32,
95         Offset (4),     // Redundant, offset is already 4 (bytes)
96         FLD2, 8,
97         Offset (64),    // OK use of Offset.
98         FLD3, 16,
99     }
100 dsdt.asl     14:         Offset (0),
101 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
102 operator
103
104 dsdt.asl     16:         Offset (4),
105 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
106 operator
107
108 ----------------------------------------
109 10 August 2018. Summary of changes for version 20180810:
110
111
112 1) ACPICA kernel-resident subsystem:
113
114 Initial ACPI table loading: Attempt to continue loading ACPI tables 
115 regardless of malformed AML. Since migrating table initialization to the 
116 new module-level code support, the AML interpreter rejected tables upon 
117 any ACPI error encountered during table load. This is a problem because 
118 non-serious ACPI errors during table load do not necessarily mean that 
119 the entire definition block (DSDT or SSDT) is invalid. This change 
120 improves the table loading by ignoring some types of errors that can be 
121 generated by incorrect AML. This can range from object type errors, scope 
122 errors, and index errors.
123
124 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs 
125 during suspend/resume. The status of ACPI events is no longer cleared 
126 when entering the ACPI S5 system state (power off) which caused some 
127 systems to power up immediately after turning off power in certain 
128 situations. This was a functional regression. It was fixed by clearing 
129 the status of all ACPI events again when entering S5 (for system-wide 
130 suspend or hibernation the clearing of the status of all events is not 
131 desirable, as it might cause the kernel to miss wakeup events sometimes). 
132 Rafael Wysocki.
133
134
135 2) iASL Compiler/Disassembler and Tools:
136
137 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field 
138 elements listed in the initialization file were previously initialized 
139 after the table load and before executing module-level code blocks. 
140 Recent changes in the module-level code support means that the table load 
141 becomes a large control method execution. If fields are used within 
142 module-level code and we are executing with the -fi option, the 
143 initialization values were used to initialize the namespace object(s) 
144 only after the table was finished loading. This change Provides an early 
145 initialization of objects specified in the initialization file so that 
146 field unit values are populated during the table load (not after the 
147 load).
148
149 AcpiExec: Fixed a small memory leak regression that could result in 
150 warnings during exit of the utility. These warnings were similar to 
151 these:
152     0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
153     0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
154
155 ----------------------------------------
156 29 June 2018. Summary of changes for version 20180629:
157
158
159 1) iASL Compiler/Disassembler and Tools:
160
161 iASL: Fixed a regression related to the use of the ASL External 
162 statement. Error checking for the use of the External() statement has 
163 been relaxed. Previously, a restriction on the use of External meant that 
164 the referenced named object was required to be defined in a different 
165 table (an SSDT). Thus it would be an error to declare an object as an 
166 external and then define the same named object in the same table. For 
167 example:
168     DefinitionBlock (...)
169     {
170         External (DEV1)
171         Device (DEV1){...} // This was an error
172     }
173 However, this behavior has caused regressions in some existing ASL code, 
174 because there is code that depends on named objects and externals (with 
175 the same name) being declared in the same table. This change will allow 
176 the ASL code above to compile without errors or warnings.
177
178 iASL: Implemented ASL language extensions for four operators to make some 
179 of their arguments optional instead of required:
180     1) Field (RegionName, AccessType, LockRule, UpdateRule)
181     2) BankField (RegionName, BankName, BankValue,
182                 AccessType, LockRule, UpdateRule)
183     3) IndexField (IndexName, DataName,
184                 AccessType, LockRule, UpdateRule)
185 For the Field operators above, the AccessType, LockRule, and UpdateRule 
186 are now optional arguments. The default values are:
187         AccessType: AnyAcc
188         LockRule:   NoLock
189         UpdateRule: Preserve
190     4) Mutex (MutexName, SyncLevel)
191 For this operator, the SyncLevel argument is now optional. This argument 
192 is rarely used in any meaningful way by ASL code, and thus it makes sense 
193 to make it optional. The default value is:
194         SyncLevel:  0
195
196 iASL: Attempted use of the ASL Unload() operator now results in the 
197 following warning:
198     "Unload is not supported by all operating systems"
199 This is in fact very true, and the Unload operator may be completely 
200 deprecated in the near future.
201
202 AcpiExec: Fixed a regression for the -fi option (Namespace initialization 
203 file. Recent changes in the ACPICA module-level code support altered the 
204 table load/initialization sequence . This means that the table load has 
205 become a large method execution of the table itself. If Operation Region 
206 Fields are used within any module-level code and the -fi option was 
207 specified, the initialization values were populated only after the table 
208 had completely finished loading (and thus the module-level code had 
209 already been executed). This change moves the initialization of objects 
210 listed in the initialization file to before the table is executed as a 
211 method. Field unit values are now initialized before the table execution 
212 is performed.
213
214 ----------------------------------------
215 31 May 2018. Summary of changes for version 20180531:
216
217
218 1) ACPICA kernel-resident Subsystem:
219
220 Implemented additional support to help ensure that a DSDT or SSDT is 
221 fully loaded even if errors are incurred during the load. The majority of 
222 the problems that are seen is the failure of individual AML operators 
223 that occur during execution of any module-level code (MLC) existing in 
224 the table. This support adds a mechanism to abort the current ASL 
225 statement (AML opcode), emit an error message, and to simply move on to 
226 the next opcode -- instead of aborting the entire table load. This is 
227 different than the execution of a control method where the entire method 
228 is aborted upon any error. The goal is to perform a very "best effort" to 
229 load the ACPI tables. The most common MLC errors that have been seen in 
230 the field are direct references to unresolved ASL/AML symbols (referenced 
231 directly without the use of the CondRefOf operator to validate the 
232 symbol). This new ACPICA behavior is now compatible with other ACPI 
233 implementations.
234
235 Interpreter: The Unload AML operator is no longer supported for the 
236 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
237 1) A correct implementation on at least some hosts may not be possible.
238 2) Other ACPI implementations do not correctly/fully support it.
239 3) It requires host device driver support which is not known to exist.
240     (To properly support namespace unload out from underneath.)
241 4) This AML operator has never been seen in the field.
242
243 Parser: Added a debug option to dump AML parse sub-trees as they are 
244 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is 
245 ACPI_DB_PARSE_TREES.
246
247 Debugger: Reduced the verbosity for errors incurred during table load and 
248 module-level code execution.
249
250 Completed an investigation into adding a namespace node "owner list" 
251 instead of the current "owner ID" associated with namespace nodes. This 
252 list would link together all nodes that are owned by an individual 
253 control method. The purpose would be to enhance control method execution 
254 by speeding up cleanup during method exit (all namespace nodes created by 
255 a method are deleted upon method termination.) Currently, the entire 
256 namespace must be searched for matching owner IDs if (and only if) the 
257 method creates named objects outside of the local scope. However, by far 
258 the most common case is that methods create objects locally, not outside 
259 the method scope. There is already an ACPICA optimization in place that 
260 only searches the entire namespace in the rare case of a method creating 
261 objects elsewhere in the namespace. Therefore, it is felt that the 
262 overhead of adding an additional pointer to each namespace node to 
263 implement the owner list makes this feature unnecessary.
264
265
266 2) iASL Compiler/Disassembler and Tools:
267
268 iASL, Disassembler, and Template generator: Implemented support for 
269 Revision D of the IORT table. Adds a new subtable that is used to specify 
270 SMMUv3 PMCGs. rmurphy-arm.
271
272 Disassembler: Restored correct table header validation for the "special" 
273 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI 
274 table header and must be special-cased. This was a regression that has 
275 been present for apparently a long time.
276
277 AcpiExec: Reduced verbosity of the local exception handler implemented 
278 within acpiexec. This handler is invoked by ACPICA upon any exceptions 
279 generated during control method execution. A new option was added: -vh 
280 restores the original verbosity level if desired.
281
282 AcpiExec: Changed the default base from decimal to hex for the -x option 
283 (set debug level). This simplifies the use of this option and matches the 
284 behavior of the corresponding iASL -x option.
285
286 AcpiExec: Restored a force-exit on multiple control-c (sigint) 
287 interrupts. This allows program termination even if other issues cause 
288 the control-c to fail.
289
290 ASL test suite (ASLTS): Added tests for the recently implemented package 
291 element resolution mechanism that allows forward references to named 
292 objects from individual package elements (this mechanism provides 
293 compatibility with other ACPI implementations.)
294
295
296 ----------------------------------------
297 8 May 2018. Summary of changes for version 20180508:
298
299
300 1) ACPICA kernel-resident subsystem:
301
302 Completed the new (recently deployed) package resolution mechanism for 
303 the Load and LoadTable ASL/AML operators. This fixes a regression that 
304 was introduced in version 20180209 that could result in an 
305 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table 
306 (SSDT) that contains package objects.
307
308
309 2) iASL Compiler/Disassembler and Tools:
310
311 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than 
312 1 MB. This change allows for table offsets within the acpidump file to be 
313 up to 8 characters. These changes are backwards compatible with existing 
314 acpidump files.
315
316
317 ----------------------------------------
318 27 April 2018. Summary of changes for version 20180427: 
319
320
321 1) ACPICA kernel-resident subsystem:
322
323 Debugger: Added support for Package objects in the "Test Objects" 
324 command. This command walks the entire namespace and evaluates all named 
325 data objects (Integers, Strings, Buffers, and now Packages).
326
327 Improved error messages for the namespace root node. Originally, the root 
328 was referred to by the confusing string "\___". This has been replaced by 
329 "Namespace Root" for clarification.
330
331 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin 
332 Ian King <colin.king@canonical.com>.
333
334
335 2) iASL Compiler/Disassembler and Tools: 
336
337 iASL: Implemented support to detect and flag illegal forward references. 
338 For compatibility with other ACPI implementations, these references are 
339 now illegal at the root level of the DSDT or SSDTs. Forward references 
340 have always been illegal within control methods. This change should not 
341 affect existing ASL/AML code because of the fact that these references 
342 have always been illegal in the other ACPI implementation.
343
344 iASL: Added error messages for the case where a table OEM ID and OEM 
345 TABLE ID strings are longer than the ACPI-defined length. Previously, 
346 these strings were simply silently truncated.
347
348 iASL: Enhanced the -tc option (which creates an AML hex file in C, 
349 suitable for import into a firmware project):
350   1) Create a unique name for the table, to simplify use of multiple 
351 SSDTs.
352   2) Add a protection #ifdef in the file, similar to a .h header file.
353 With assistance from Sami Mujawar, sami.mujawar@arm.com and Evan Lloyd, 
354 evan.lloyd@arm.com
355
356 AcpiExec: Added a new option, -df, to disable the local fault handler. 
357 This is useful during debugging, where it may be desired to drop into a 
358 debugger on a fault.
359
360 ----------------------------------------
361 13 March 2018. Summary of changes for version 20180313:
362
363
364 1) ACPICA kernel-resident subsystem:
365
366 Implemented various improvements to the GPE support:
367
368 1) Dispatch all active GPEs at initialization time so that no GPEs are 
369 lost.
370 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled 
371 before devices are enumerated.
372 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that 
373 IRQs are not lost.
374 4) Add parallel GPE handling to eliminate the possibility of dispatching 
375 the same GPE twice.
376 5) Dispatch any pending GPEs after enabling for the first time.
377
378 AcpiGetObjectInfo - removed support for the _STA method. This was causing 
379 problems on some platforms.
380
381 Added a new _OSI string, "Windows 2017.2".
382
383 Cleaned up and simplified the module-level code support. These changes 
384 are in preparation for the eventual removal of the legacy MLC support 
385 (deferred execution), replaced by the new MLC architecture which executes 
386 the MLC as a table is loaded (DSDT/SSDTs).
387
388 Changed a compile-time option to a runtime option. Changes the option to 
389 ignore ACPI table load-time package resolution errors into a runtime 
390 option. Used only for platforms that generate many AE_NOT_FOUND errors 
391 during boot. AcpiGbl_IgnorePackageResolutionErrors.
392
393 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some 
394 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid 
395 compilation errors from unused variables (seen with some compilers).
396
397
398 2) iASL Compiler/Disassembler and Tools:
399
400 ASLTS: parallelized execution in order to achieve an (approximately) 2X 
401 performance increase.
402
403 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves 
404 error reporting.
405
406 ----------------------------------------
407 09 February 2018. Summary of changes for version 20180209:
408
409
410 1) ACPICA kernel-resident subsystem:
411
412 Completed the final integration of the recent changes to Package Object 
413 handling and the module-level AML code support. This allows forward 
414 references from individual package elements when the package object is 
415 declared from within module-level code blocks. Provides compatibility 
416 with other ACPI implementations.
417
418 The new architecture for the AML module-level code has been completed and 
419 is now the default for the ACPICA code. This new architecture executes 
420 the module-level code in-line as the ACPI table is loaded/parsed instead 
421 of the previous architecture which deferred this code until after the 
422 table was fully loaded. This solves some ASL code ordering issues and 
423 provides compatibility with other ACPI implementations. At this time, 
424 there is an option to fallback to the earlier architecture, but this 
425 support is deprecated and is planned to be completely removed later this 
426 year.
427
428 Added a compile-time option to ignore AE_NOT_FOUND exceptions during 
429 resolution of named reference elements within Package objects. Although 
430 this is potentially a serious problem, it can generate a lot of 
431 noise/errors on platforms whose firmware carries around a bunch of unused 
432 Package objects. To disable these errors, define 
433 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All 
434 errors are always reported for ACPICA applications such as AcpiExec.
435
436 Fixed a regression related to the explicit type-conversion AML operators 
437 (ToXXXX). The regression was introduced early in 2017 but was not seen 
438 until recently because these operators are not fully supported by other 
439 ACPI implementations and are thus rarely used by firmware developers. The 
440 operators are defined by the ACPI specification to not implement the 
441 "implicit result object conversion". The regression incorrectly 
442 introduced this object conversion for the following explicit conversion 
443 operators:
444     ToInteger
445     ToString
446     ToBuffer
447     ToDecimalString
448     ToHexString
449     ToBCD
450     FromBCD
451
452
453 2) iASL Compiler/Disassembler and Tools:
454
455 iASL: Fixed a problem with the compiler constant folding feature as 
456 related to the ToXXXX explicit conversion operators. These operators do 
457 not support the "implicit result object conversion" by definition. Thus, 
458 ASL expressions that use these operators cannot be folded to a simple 
459 Store operator because Store implements the implicit conversion. This 
460 change uses the CopyObject operator for the ToXXXX operator folding 
461 instead. CopyObject is defined to not implement implicit result 
462 conversions and is thus appropriate for folding the ToXXXX operators.
463
464 iASL: Changed the severity of an error condition to a simple warning for 
465 the case where a symbol is declared both locally and as an external 
466 symbol. This accommodates existing ASL code.
467
468 AcpiExec: The -ep option to enable the new architecture for module-level 
469 code has been removed. It is replaced by the -dp option which instead has 
470 the opposite effect: it disables the new architecture (the default) and 
471 enables the legacy architecture. When the legacy code is removed in the 
472 future, the -dp option will be removed also.
473
474 ----------------------------------------
475 05 January 2018. Summary of changes for version 20180105:
476
477
478 1) ACPICA kernel-resident subsystem:
479
480 Updated all copyrights to 2018. This affects all source code modules.
481
482 Fixed a possible build error caused by an unresolved reference to the 
483 AcpiUtSafeStrncpy function.
484
485 Removed NULL pointer arithmetic in the various pointer manipulation 
486 macros. All "(void *) NULL" constructs are converted to "(void *) 0". 
487 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
488
489 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj 
490 Mittal.
491
492
493 2) iASL Compiler/Disassembler and Tools:
494
495 ASLTS: Updated all copyrights to 2018.
496
497 Tools: Updated all signon copyrights to 2018.
498
499 AcpiXtract: Fixed a regression related to ACPI table signatures where the 
500 signature was truncated to 3 characters (instead of 4).
501
502 AcpiExec: Restore the original terminal mode after the use of the -v and 
503 -vd options.
504
505 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
506
507 ----------------------------------------
508 14 December 2017. Summary of changes for version 20171214:
509
510
511 1) ACPICA kernel-resident subsystem:
512
513 Fixed a regression in the external (public) AcpiEvaluateObjectTyped 
514 interface where the optional "pathname" argument had inadvertently become 
515 a required argument returning an error if omitted (NULL pointer 
516 argument).
517
518 Fixed two possible memory leaks related to the recently developed "late 
519 resolution" of reference objects within ASL Package Object definitions.
520
521 Added two recently defined _OSI strings: "Windows 2016" and "Windows 
522 2017". Mario Limonciello.
523
524 Implemented and deployed a safer version of the C library function 
525 strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the 
526 creation of unterminated strings as a possible result of a standard 
527 strncpy.
528
529 Cleaned up and restructured the global variable file (acglobal.h). There 
530 are many changes, but no functional changes.
531
532
533 2) iASL Compiler/Disassembler and Tools:
534
535 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the 
536 optional OemData field at the end of the table was incorrectly required 
537 for proper compilation. It is now correctly an optional field.
538
539 ASLTS: The entire suite was converted from standard ASL to the ASL+ 
540 language, using the ASL-to-ASL+ converter which is integrated into the 
541 iASL compiler. A binary compare of all output files has verified the 
542 correctness of the conversion.
543
544 iASL: Fixed the source code build for platforms where "char" is unsigned. 
545 This affected the iASL lexer only. Jung-uk Kim.
546
547 ----------------------------------------
548 10 November 2017. Summary of changes for version 20171110:
549
550
551 1) ACPICA kernel-resident subsystem:
552
553 This release implements full support for ACPI 6.2A:
554     NFIT - Added a new subtable, "Platform Capabilities Structure"
555 No other changes to ACPICA were required, since ACPI 6.2A is primarily an 
556 errata release of the specification.
557
558 Other ACPI table changes:
559     IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
560     PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy 
561 Linton
562
563 Utilities: Modified the string/integer conversion functions to use 
564 internal 64-bit divide support instead of a native divide. On 32-bit 
565 platforms, a 64-bit divide typically requires a library function which 
566 may not be present in the build (kernel or otherwise).
567
568 Implemented a targeted error message for timeouts returned from the 
569 Embedded Controller device driver. This is seen frequently enough to 
570 special-case an AE_TIME returned from an EC operation region access:
571     "Timeout from EC hardware or EC device driver"
572
573 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all 
574 runtime error messages have the identical prefix.
575
576
577 2) iASL Compiler/Disassembler and Tools:
578
579 AcpiXtract: Fixed a problem with table header detection within the 
580 acpidump file. Processing a table could be ended early if a 0x40 (@) 
581 appears in the original binary table, resulting in the @ symbol appearing 
582 in the decoded ASCII field at the end of the acpidump text line. The 
583 symbol caused acpixtract to incorrectly think it had reached the end of 
584 the current table and the beginning of a new table.
585
586 AcpiXtract: Added an option (-f) to ignore some errors during table 
587 extraction. This initial implementation ignores non-ASCII and non-
588 printable characters found in the acpidump text file.
589
590 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics 
591 for ASLTS. This feature is used to track memory allocations from 
592 different memory caches within the ACPICA code. At the end of an ASLTS 
593 run, these memory statistics are recorded and stored in a log file.
594
595 Debugger (user-space version): Implemented a simple "Background" command. 
596 Creates a new thread to execute a control method in the background, while 
597 control returns to the debugger prompt to allow additional commands.
598     Syntax: Background <Namepath> [Arguments]
599
600 ----------------------------------------
601 29 September 2017. Summary of changes for version 20170929:
602
603
604 1) ACPICA kernel-resident subsystem:
605
606 Redesigned and implemented an improved ASL While() loop timeout 
607 mechanism. This mechanism is used to prevent infinite loops in the kernel 
608 AML interpreter caused by either non-responsive hardware or incorrect AML 
609 code. The new implementation uses AcpiOsGetTimer instead of a simple 
610 maximum loop count, and is thus more accurate and constant across 
611 different machines. The default timeout is currently 30 seconds, but this 
612 may be adjusted later.
613
614 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to 
615 better reflect the new implementation of the loop timeout mechanism.
616
617 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support 
618 and to fix an off-by-one error. Jung-uk Kim.
619
620 Fixed an EFI build problem by updating the makefiles to for a new file 
621 that was added, utstrsuppt.c
622
623
624 2) iASL Compiler/Disassembler and Tools:
625
626 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This 
627 includes support in the table disassembler, compiler, and template 
628 generator.
629
630 iASL: Added an exception for an illegal type of recursive method 
631 invocation. If a method creates named objects, the first recursive call 
632 will fail at runtime. This change adds an error detection at compile time 
633 to catch the problem up front. Note: Marking such a method as 
634 "serialized" will not help with this problem, because the same thread can 
635 acquire the method mutex more than once. Example compiler and runtime 
636 output:
637
638     Method (MTH1)
639     {
640         Name (INT1, 1)
641         MTH1 ()
642     }
643
644     dsdt.asl     22: MTH1 ()
645     Error    6152 -  ^ Illegal recursive call to method
646                        that creates named objects (MTH1)
647
648 Previous runtime exception:
649     ACPI Error: [INT1] Namespace lookup failure,
650     AE_ALREADY_EXISTS (20170831/dswload2-465)
651
652 iASL: Updated support for External() opcodes to improve namespace 
653 management and error detection. These changes are related to issues seen 
654 with multiple-segment namespace pathnames within External declarations, 
655 such as below:
656
657     External(\_SB.PCI0.GFX0, DeviceObj)
658     External(\_SB.PCI0.GFX0.ALSI)
659
660 iASL: Implemented support for multi-line error/warning messages. This 
661 enables more detailed and helpful error messages as below, from the 
662 initial deployment for the duplicate names error:
663
664     DSDT.iiii   1692:       Device(PEG2) {
665     Error    6074 -                  ^ Name already exists in scope 
666 (PEG2)
667
668         Original name creation/declaration below:
669         DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
670
671 AcpiXtract: Added additional flexibility to support differing input hex 
672 dump formats. Specifically, hex dumps that contain partial disassembly 
673 and/or comments within the ACPI table data definition. There exist some 
674 dump utilities seen in the field that create this type of hex dump (such 
675 as Simics). For example:
676
677     DSDT @ 0xdfffd0c0 (10999 bytes)
678         Signature DSDT
679         Length 10999
680         Revision 1
681         Checksum 0xf3 (Ok)
682         OEM_ID BXPC
683         OEM_table_id BXDSDT
684         OEM_revision 1
685         Creator_id 1280593481
686         Creator_revision 537399345
687       0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
688       ...
689       2af0: 5f 4c 30 46 00 a4 01
690
691 Test suite: Miscellaneous changes/fixes:
692     More cleanup and simplification of makefiles
693     Continue compilation of test cases after a compile failure
694     Do not perform binary compare unless both files actually exist
695
696 iASL: Performed some code/module restructuring. Moved all memory 
697 allocation functions to new modules. Two new files, aslallocate.c and 
698 aslcache.c
699
700 ----------------------------------------
701 31 August 2017. Summary of changes for version 20170831:
702
703
704 1) ACPICA kernel-resident subsystem:
705
706 Implemented internal support for full 64-bit addresses that appear in all 
707 Generic Address Structure (GAS) structures. Previously, only the lower 32 
708 bits were used. Affects the use of GAS structures in the FADT and other 
709 tables, as well as the GAS structures passed to the AcpiRead and 
710 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
711
712 Added header support for the PDTT ACPI table (Processor Debug Trigger 
713 Table). Full support in the iASL Data Table Compiler and disassembler is 
714 forthcoming.
715
716
717 2) iASL Compiler/Disassembler and Tools:
718
719 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
720 Properties Topology Table) where a flag bit was specified in the wrong 
721 bit position ("Line Size Valid", bit 6).
722
723 iASL: Implemented support for Octal integer constants as defined by the 
724 ASL language grammar, per the ACPI specification. Any integer constant 
725 that starts with a zero is an octal constant. For example,
726     Store (037777, Local0) /* Octal constant */
727     Store (0x3FFF, Local0) /* Hex equivalent */
728     Store (16383,  Local0) /* Decimal equivalent */
729
730 iASL: Improved overflow detection for 64-bit string conversions during 
731 compilation of integer constants. "Overflow" in this case means a string 
732 that represents an integer that is too large to fit into a 64-bit value. 
733 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
734 the low-order 32 bits with a warning, as previously implemented. Several 
735 new exceptions are defined that indicate a 64-bit overflow, as well as 
736 the base (radix) that was used during the attempted conversion. Examples:
737     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
738     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
739     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
740
741 iASL: Added a warning for the case where a ResourceTemplate is declared 
742 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
743 this case, the resulting template is created with a single END_TAG 
744 descriptor, which is essentially useless.
745
746 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
747 include compilation error codes as well.
748
749 ----------------------------------------
750 28 July 2017. Summary of changes for version 20170728:
751
752
753 1) ACPICA kernel-resident subsystem:
754
755 Fixed a regression seen with small resource descriptors that could cause 
756 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
757
758 AML interpreter: Implemented a new feature that allows forward references 
759 from individual named references within package objects that are 
760 contained within blocks of "module-level code". This provides 
761 compatibility with other ACPI implementations and supports existing 
762 firmware that depends on this feature. Example:
763
764     Name (ABCD, 1)
765     If (ABCD)                       /* An If() at module-level */
766     {
767         Name (PKG1, Package()
768         {
769             INT1                    /* Forward reference to object INT1 
770 */
771         })
772         Name (INT1, 0x1234)
773     }
774
775 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
776 to some ASL objects were not handled properly. Objects affected are: 
777 Mutex, Event, and OperationRegion.
778
779 AML Debugger: Enhanced to properly handle AML Alias objects. These 
780 objects have one level of indirection which was not fully supported by 
781 the debugger.
782
783 Table Manager: Added support to detect and ignore duplicate SSDTs within 
784 the XSDT/RSDT. This error in the XSDT has been seen in the field.
785
786 EFI and EDK2 support:
787     Enabled /WX flag for MSVC builds
788     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
789     Added local support for 64-bit multiply and shift operations
790     Added support to compile acpidump.efi on Windows
791     Added OSL function stubs for interfaces not used under EFI
792
793 Added additional support for the _DMA predefined name. _DMA returns a 
794 buffer containing a resource template. This change add support within the 
795 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
796 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
797
798
799 2) iASL Compiler/Disassembler and Tools:
800
801 iASL: Fixed a problem where the internal input line buffer(s) could 
802 overflow if there are very long lines in the input ASL source code file. 
803 Implemented buffer management that automatically increases the size of 
804 the buffers as necessary.
805
806 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
807 errors. If the specified exception is not raised during compilation, the 
808 compiler emits an error. This is intended to support the ASL test suite, 
809 but may be useful in other contexts.
810
811 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
812 string containing the name of the current control method that is being 
813 compiled.
814
815 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
816 table (Software Delegated Exception Interface). James Morse 
817 <james.morse@arm.com>
818
819 Unix/Linux makefiles: Added an option to disable compile optimizations. 
820 The disable occurs when the NOOPT flag is set to TRUE. 
821 theracermaster@gmail.com
822
823 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
824 when there are different tables for 32-bit versus 64-bit.
825
826 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
827 unnecessary/verbose text, and emit the actual line number where an error 
828 has occurred. These changes are intended to improve the usefulness of the 
829 test suite.
830
831 ----------------------------------------
832 29 June 2017. Summary of changes for version 20170629:
833
834
835 1) ACPICA kernel-resident subsystem:
836
837 Tables: Implemented a deferred ACPI table verification. This is useful 
838 for operating systems where the tables cannot be verified in the early 
839 initialization stage due to early memory mapping limitations on some 
840 architectures. Lv Zheng.
841
842 Tables: Removed the signature validation for dynamically loaded tables. 
843 Provides compatibility with other ACPI implementations. Previously, only 
844 SSDT tables were allowed, as per the ACPI specification. Now, any table 
845 signature can be used via the Load() operator. Lv Zheng.
846
847 Tables: Fixed several mutex issues that could cause errors during table 
848 acquisition. Lv Zheng.
849
850 Tables: Fixed a problem where an ACPI warning could be generated if a 
851 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
852
853 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
854 AcpiPutTable interfaces. This applies to the "late stage" table loading 
855 when the use of AcpiPutTable is no longer required (since the system 
856 memory manager is fully running and available). Lv Zheng.
857
858 Fixed/Reverted a regression during processing of resource descriptors 
859 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
860 exception in this case.
861
862 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
863 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
864
865 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
866 or duplicate target is encountered during Alias creation in 
867 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
868
869 Added an option to use designated initializers for function pointers. 
870 Kees Cook <keescook@google.com>
871
872
873 2) iASL Compiler/Disassembler and Tools:
874
875 iASL: Allow compilation of External declarations with target pathnames 
876 that refer to existing named objects within the table. Erik Schmauss.
877
878 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
879 FieldUnit name also is declared via External in the same table. Erik 
880 Schmauss.
881
882 iASL: Allow existing scope names within pathnames used in External 
883 statements. For example:
884     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
885     Device (ABCD)
886
887 iASL: IORT ACPI table: Implemented changes required to decode the new 
888 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
889 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
890
891 Disassembler: Don't abort disassembly on errors from External() 
892 statements. Erik Schmauss.
893
894 Disassembler: fixed a possible fault when one of the Create*Field 
895 operators references a Resource Template. ACPICA Bugzilla 1396.
896
897 iASL: In the source code, resolved some naming inconsistences across the 
898 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
899 Adds a new file, aslparseop.c
900
901 ----------------------------------------
902 31 May 2017. Summary of changes for version 20170531:
903
904
905 0) ACPI 6.2 support:
906
907 The ACPI specification version 6.2 has been released and is available at
908 http://uefi.org/specifications
909
910 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
911 are summarized below.
912
913 New ACPI tables (Table Compiler/Disassembler/Templates):
914     HMAT (Heterogeneous Memory Attributes Table)
915     WSMT (Windows SMM Security Mitigation Table)
916     PPTT (Processor Properties Topology Table)
917
918 New subtables for existing ACPI tables:
919     HEST (New subtable, Arch-deferred machine check)
920     SRAT (New subtable, Arch-specific affinity structure)
921     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
922
923 Simple updates for existing ACPI tables:
924     BGRT (two new flag bits)
925     HEST (New bit defined for several subtables, GHES_ASSIST)
926
927 New Resource Descriptors and Resource macros (Compiler/Disassembler):
928     PinConfig()
929     PinFunction()
930     PinGroup()
931     PinGroupConfig()
932     PinGroupFunction()
933     New type for hardware error notification (section 18.3.2.9)
934
935 New predefined names/methods (Compiler/Interpreter):
936     _HMA (Heterogeneous Memory Attributes)
937     _LSI (Label Storage Information)
938     _LSR (Label Storage Read)
939     _LSW (Label Storage Write)
940
941 ASL grammar/macro changes (Compiler):
942     For() ASL macro, implemented with the AML while operator
943     Extensions to Concatenate operator
944     Support for multiple definition blocks in same ASL file
945     Clarification for Buffer operator
946     Allow executable AML code underneath all scopes (Devices, etc.)
947     Clarification/change for the _OSI return value
948     ASL grammar update for reference operators
949     Allow a zero-length string for AML filename in DefinitionBlock
950
951 Miscellaneous:
952     New device object notification value
953     Remove a notify value (0x0C) for graceful shutdown
954     New UUIDs for processor/cache properties and
955         physical package property
956     New _HID, ACPI0014 (Wireless Power Calibration Device)
957
958
959 1) ACPICA kernel-resident subsystem:
960
961 Added support to disable ACPI events on hardware-reduced platforms. 
962 Eliminates error messages of the form "Could not enable fixed event". Lv 
963 Zheng
964
965 Fixed a problem using Device/Thermal objects with the ObjectType and 
966 DerefOf ASL operators. This support had not been fully/properly 
967 implemented.
968
969 Fixed a problem where if a Buffer object containing a resource template 
970 was longer than the actual resource template, an error was generated -- 
971 even though the AML is legal. This case has been seen in the field.
972
973 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
974 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
975
976 Added header file changes for the TPM2 ACPI table. Update to new version 
977 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
978
979 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
980 These interfaces are intended to be used only in conjunction with the 
981 predefined _DLM method (Device Lock Method). "This object appears in a 
982 device scope when AML access to the device must be synchronized with the 
983 OS environment".
984
985 Example Code and Data Size: These are the sizes for the OS-independent 
986 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
987 debug version of the code includes the debug output trace mechanism and 
988 has a much larger code and data size.
989
990   Current Release:
991     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
992     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
993   Previous Release:
994     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
995     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
996
997
998 2) iASL Compiler/Disassembler and Tools:
999
1000 iASL: Fixed a problem where an External() declaration could not refer to 
1001 a Field Unit. Erik Schmauss.
1002
1003 Disassembler: Improved support for the Switch/Case operators. This 
1004 feature will disassemble AML code back to the original Switch operators 
1005 when possible, instead of an If..Else sequence. David Box
1006
1007 iASL and disassembler: Improved the handling of multiple extraneous 
1008 parentheses for both ASL input and disassembled ASL output.
1009
1010 Improved the behavior of the iASL compiler and disassembler to detect 
1011 improper use of external declarations
1012
1013 Disassembler: Now aborts immediately upon detection of an unknown AML 
1014 opcode. The AML parser has no real way to recover from this, and can 
1015 result in the creation of an ill-formed parse tree that causes errors 
1016 later during the disassembly.
1017
1018 All tools: Fixed a problem where the Unix application OSL did not handle 
1019 control-c correctly. For example, a control-c could incorrectly wake the 
1020 debugger.
1021
1022 AcpiExec: Improved the Control-C handling and added a handler for 
1023 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
1024 environments.
1025
1026 Reduced the verbosity of the generic unix makefiles. Previously, each 
1027 compilation displayed the full set of compiler options. This has been 
1028 eliminated as the options are easily inspected within the makefiles. Each 
1029 compilation now results in a single line of output.
1030
1031 ----------------------------------------
1032 03 March 2017. Summary of changes for version 20170303:
1033
1034
1035 0) ACPICA licensing:
1036
1037 The licensing information at the start of each source code module has 
1038 been updated. In addition to the Intel license, the dual GPLv2/BSD 
1039 license has been added for completeness. Now, a single version of the 
1040 source code should be suitable for all ACPICA customers. This is the 
1041 major change for this release since it affects all source code modules.
1042
1043
1044 1) ACPICA kernel-resident subsystem: 
1045
1046 Fixed two issues with the common asltypes.h header that could cause 
1047 problems in some environments: (Kim Jung-uk)
1048     Removed typedef for YY_BUFFER_STATE ?
1049        Fixes an error with earlier versions of Flex.
1050     Removed use of FILE typedef (which is only defined in stdio.h)
1051
1052
1053 2) iASL Compiler/Disassembler and Tools: 
1054
1055 Disassembler: fixed a regression introduced in 20170224. A fix for a 
1056 memory leak related to resource descriptor tags (names) could fault when 
1057 the disassembler was generated with 64-bit compilers.
1058
1059 The ASLTS test suite has been updated to implement a new testing 
1060 architecture. During generation of the suite from ASL source, both the 
1061 ASL and ASL+ compilers are now validated, as well as the disassembler 
1062 itself (Erik Schmauss). The architecture executes as follows:
1063
1064     For every ASL source module:
1065         Compile (legacy ASL compilation)
1066         Disassemble the resulting AML to ASL+ source code
1067         Compile the new ASL+ module
1068         Perform a binary compare on the legacy AML and the new ASL+ AML
1069     The ASLTS suite then executes normally using the AML binaries.
1070
1071 ----------------------------------------
1072 24 February 2017. Summary of changes for version 20170224:
1073
1074
1075 1) ACPICA kernel-resident subsystem:
1076
1077 Interpreter: Fixed two issues with the control method return value auto-
1078 repair feature, where an attempt to double-delete an internal object 
1079 could result in an ACPICA warning (for _CID repair and others). No fault 
1080 occurs, however, because the attempted deletion (actually a release to an 
1081 internal cache) is detected and ignored via object poisoning.
1082
1083 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
1084 of control methods. If certain debugger commands are executed during 
1085 stepping, a mutex aquire/release error could occur. Lv Zheng.
1086
1087 Fixed some issues generating ACPICA with the Intel C compiler by 
1088 restoring the original behavior and compiler-specific include file in 
1089 acenv.h. Lv Zheng.
1090
1091 Example Code and Data Size: These are the sizes for the OS-independent 
1092 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1093 debug version of the code includes the debug output trace mechanism and 
1094 has a much larger code and data size.
1095
1096   Current Release:
1097     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1098     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
1099   Previous Release:
1100     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1101     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1102
1103
1104 2) iASL Compiler/Disassembler and Tools:
1105
1106 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
1107 tool has been designed, implemented, and included in this release. The 
1108 key feature of this utility is that the original comments within the 
1109 input ASL file are preserved during the conversion process, and included 
1110 within the converted ASL+ file -- thus creating a transparent conversion 
1111 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
1112
1113     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
1114 converted code
1115
1116 iASL/Disassembler: Improved the detection and correct disassembly of 
1117 Switch/Case operators. This feature detects sequences of if/elseif/else 
1118 operators that originated from ASL Switch/Case/Default operators and 
1119 emits the original operators. David Box.
1120
1121 iASL: Improved the IORT ACPI table support in the following areas. Lv 
1122 Zheng:
1123     Clear MappingOffset if the MappingCount is zero.
1124     Fix the disassembly of the SMMU GSU interrupt offset.
1125     Update the template file for the IORT table.
1126
1127 Disassembler: Enhanced the detection and disassembly of resource 
1128 template/descriptor within a Buffer object. An EndTag descriptor is now 
1129 required to have a zero second byte, since all known ASL compilers emit 
1130 this. This helps eliminate incorrect decisions when a buffer is 
1131 disassembled (false positives on resource templates).
1132
1133 ----------------------------------------
1134 19 January 2017. Summary of changes for version 20170119:
1135
1136
1137 1) General ACPICA software:
1138
1139 Entire source code base: Added the 2017 copyright to all source code 
1140 legal/licensing module headers and utility/tool signons. This includes 
1141 the standard Linux dual-license header. This affects virtually every file 
1142 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
1143 the ACPICA test suite.
1144
1145
1146 2) iASL Compiler/Disassembler and Tools:
1147
1148 iASL: Removed/fixed an inadvertent remark when a method argument 
1149 containing a reference is used as a target operand within the method (and 
1150 never used as a simple argument), as in the example below. Jeffrey Hugo.
1151
1152     dsdt.asl   1507:    Store(0x1, Arg0)
1153     Remark   2146 -                ^ Method Argument is never used (Arg0)
1154
1155 All tools: Removed the bit width of the compiler that generated the tool 
1156 from the common signon for all user space tools. This proved to be 
1157 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
1158 from the generic makefiles (Thomas Petazzoni). Example below.
1159
1160     Old:
1161     ASL+ Optimizing Compiler version 20170119-32
1162     ASL+ Optimizing Compiler version 20170119-64
1163
1164     New:
1165     ASL+ Optimizing Compiler version 20170119
1166
1167 ----------------------------------------
1168 22 December 2016. Summary of changes for version 20161222:
1169
1170
1171 1) ACPICA kernel-resident subsystem:
1172
1173 AML Debugger: Implemented a new mechanism to simplify and enhance 
1174 debugger integration into all environments, including kernel debuggers 
1175 and user-space utilities, as well as remote debug services. This 
1176 mechanism essentially consists of new OSL interfaces to support debugger 
1177 initialization/termination, as well as wait/notify interfaces to perform 
1178 the debugger handshake with the host. Lv Zheng.
1179
1180     New OSL interfaces:
1181         AcpiOsInitializeDebugger (void)
1182         AcpiOsTerminateDebugger (void)
1183         AcpiOsWaitCommandReady (void)
1184         AcpiOsNotifyCommandComplete (void)
1185
1186     New OS services layer:
1187         osgendbg.c -- Example implementation, and used for AcpiExec
1188
1189 Update for Generic Address Space (GAS) support: Although the AccessWidth 
1190 and/or BitOffset fields of the GAS are not often used, this change now 
1191 fully supports these fields. This affects the internal support for FADT 
1192 registers, registers in other ACPI data tables, and the AcpiRead and 
1193 AcpiWrite public interfaces. Lv Zheng.
1194
1195 Sleep support: In order to simplify integration of ACPI sleep for the 
1196 various host operating systems, a new OSL interface has been introduced. 
1197 AcpiOsEnterSleep allows the host to perform any required operations 
1198 before the final write to the sleep control register(s) is performed by 
1199 ACPICA. Lv Zheng.
1200
1201     New OSL interface:
1202         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
1203
1204     Called from these internal interfaces:
1205         AcpiHwLegacySleep
1206         AcpiHwExtendedSleep
1207
1208 EFI support: Added a very small EFI/ACPICA example application. Provides 
1209 a simple demo for EFI integration, as well as assisting with resolution 
1210 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
1211
1212     source/tools/efihello/efihello.c
1213
1214 Local C library: Implemented several new functions to enhance ACPICA 
1215 portability, for environments where these clib functions are not 
1216 available (such as EFI). Lv Zheng:
1217     putchar
1218     getchar
1219     strpbrk
1220     strtok
1221     memmove
1222
1223 Fixed a regression where occasionally a valid resource descriptor was 
1224 incorrectly detected as invalid at runtime, and a 
1225 AE_AML_NO_RESOURCE_END_TAG was returned.
1226
1227 Fixed a problem with the recently implemented support that enables 
1228 control method invocations as Target operands to many ASL operators. 
1229 Warnings of this form: "Needed type [Reference], found [Processor]" were 
1230 seen at runtime for some method invocations.
1231
1232 Example Code and Data Size: These are the sizes for the OS-independent 
1233 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1234 debug version of the code includes the debug output trace mechanism and 
1235 has a much larger code and data size.
1236
1237   Current Release:
1238     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
1239     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
1240   Previous Release:
1241     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1242     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1243
1244
1245 2) iASL Compiler/Disassembler and Tools:
1246
1247 Disassembler: Enhanced output by adding the capability to detect and 
1248 disassemble ASL Switch/Case statements back to the original ASL source 
1249 code instead of if/else blocks. David Box.
1250
1251 AcpiHelp: Split a large file into separate files based upon 
1252 functionality/purpose. New files are:
1253     ahaml.c
1254     ahasl.c
1255
1256 ----------------------------------------
1257 17 November 2016. Summary of changes for version 20161117:
1258
1259
1260 1) ACPICA kernel-resident subsystem:
1261
1262 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
1263 cleanup". This was an attempt to remove all references in the source to 
1264 the FADT version 2, which never was a legal version number. It was 
1265 skipped because it was an early version of 64-bit support that was 
1266 eventually abandoned for the current 64-bit support.
1267
1268 Interpreter: Fixed a problem where runtime implicit conversion was 
1269 incorrectly disabled for the ASL operators below. This brings the 
1270 behavior into compliance with the ACPI specification:
1271     FromBCD
1272     ToBCD
1273     ToDecimalString
1274     ToHexString
1275     ToInteger
1276     ToBuffer
1277
1278 Table Manager: Added a new public interface, AcpiPutTable, used to 
1279 release and free an ACPI table returned by AcpiGetTable and related 
1280 interfaces. Lv Zheng.
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: 140.5K Code, 58.5K Data, 198.9K Total
1289     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1290   Previous Release:
1291     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1292     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1293
1294
1295 2) iASL Compiler/Disassembler and Tools:
1296
1297 Disassembler: Fixed a regression for disassembly of Resource Template. 
1298 Detection of templates in the AML stream missed some types of templates.
1299
1300 iASL: Fixed a problem where an Access Size error was returned for the PCC 
1301 address space when the AccessSize of the GAS register is greater than a 
1302 DWORD. Hoan Tran.
1303
1304 iASL: Implemented several grammar changes for the operators below. These 
1305 changes are slated for the next version of the ACPI specification:
1306     RefOf        - Disallow method invocation as an operand
1307     CondRefOf    - Disallow method invocation as an operand
1308     DerefOf      - Disallow operands that use the result from operators 
1309 that
1310                    do not return a reference (Changed TermArg to 
1311 SuperName).
1312
1313 iASL: Control method invocations are now allowed for Target operands, as 
1314 per the ACPI specification. Removed error for using a control method 
1315 invocation as a Target operand.
1316
1317 Disassembler: Improved detection of Resource Templates, Unicode, and 
1318 Strings within Buffer objects. These subtypes do not contain a specific 
1319 opcode to indicate the originating ASL code, and they must be detected by 
1320 other means within the disassembler. 
1321
1322 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
1323 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
1324 only after 64-bit to 32-bit truncation. A truncation warning message is 
1325 still emitted, however.
1326
1327 AcpiXtract: Implemented handling for both types of line terminators (LF 
1328 or CR/LF) so that it can accept AcpiDump output files from any system. 
1329 Peter Wu.
1330
1331 AcpiBin: Added two new options for comparing AML files:
1332     -a: compare and display ALL mismatches
1333     -o: start compare at this offset into the second file
1334
1335 ----------------------------------------
1336 30 September 2016. Summary of changes for version 20160930:
1337
1338
1339 1) ACPICA kernel-resident subsystem:
1340
1341 Fixed a regression in the internal AcpiTbFindTable function where a non 
1342 AE_OK exception could inadvertently be returned even if the function did 
1343 not fail. This problem affects the following operators:
1344     DataTableRegion
1345     LoadTable
1346
1347 Fixed a regression in the LoadTable operator where a load to any 
1348 namespace location other than the root no longer worked properly.
1349
1350 Increased the maximum loop count value that will result in the 
1351 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
1352 prevent infinite loops within the AML interpreter and thus the host OS 
1353 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
1354 1,048,575).
1355
1356 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
1357 acpixf.h file. This allows hosts to easily configure the maximum loop 
1358 count at runtime.
1359
1360 Removed an illegal character in the strtoul64.c file. This character 
1361 caused errors with some C compilers.
1362
1363 Example Code and Data Size: These are the sizes for the OS-independent 
1364 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1365 debug version of the code includes the debug output trace mechanism and 
1366 has a much larger code and data size.
1367
1368   Current Release:
1369     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1370     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1371   Previous Release:
1372     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
1373     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1374
1375
1376 2) iASL Compiler/Disassembler and Tools:
1377
1378 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
1379 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
1380 block could be lost and missing from the disassembled output.
1381
1382 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
1383 the missing rule caused a parse error when using the Index operator as an 
1384 operand to ObjectType. This construct now compiles properly. Example:
1385     ObjectType(PKG1[4]).
1386
1387 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
1388 option). Previously, unresolved symbols could cause a protection fault. 
1389 Such symbols are now marked as unresolved in the map file.
1390
1391 iASL: Implemented support to allow control method invocations as an 
1392 operand to the ASL DeRefOf operator. Example:
1393     DeRefOf(MTH1(Local0))
1394
1395 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
1396 possible _PLD buffer now includes examination of both the normal buffer 
1397 length (16 or 20) as well as the surrounding AML package length.
1398
1399 Disassembler: Fixed a problem with the decoding of complex expressions 
1400 within the Divide operator for ASL+. For the case where both the quotient 
1401 and remainder targets are specified, the entire statement cannot be 
1402 disassembled. Previously, the output incorrectly contained a mix of ASL- 
1403 and ASL+ operators. This mixed statement causes a syntax error when 
1404 compiled. Example:
1405     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
1406 disassembled to:
1407     Divide (INT1 + 6, 128, RSLT, QUOT)
1408
1409 iASL/Tools: Added support to process AML and non-AML ACPI tables 
1410 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
1411 tables (AML and data tables). For the iASL -e option, allow only AML 
1412 tables (DSDT/SSDT).
1413
1414 ----------------------------------------
1415 31 August 2016. Summary of changes for version 20160831:
1416
1417
1418 1) ACPICA kernel-resident subsystem:
1419
1420 Improve support for the so-called "module-level code", which is defined 
1421 to be math, logical and control AML opcodes that appear outside of any 
1422 control method. This change improves the support by adding more opcodes 
1423 that can be executed in the manner. Some other issues have been solved, 
1424 and the ASL grammar changes to support such code under all scope 
1425 operators (Device, etc.) are complete. Lv Zheng.
1426
1427 UEFI support: these OSL functions have been implemented. This is an 
1428 additional step toward supporting the AcpiExec utility natively (with 
1429 full hardware access) under UEFI. Marcelo Ferreira.
1430     AcpiOsReadPciConfiguration
1431     AcpiOsWritePciConfiguration
1432
1433 Fixed a possible mutex error during control method auto-serialization. Lv 
1434 Zheng. 
1435
1436 Updated support for the Generic Address Structure by fully implementing 
1437 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
1438 Zheng.
1439
1440 Updated the return value for the internal _OSI method. Instead of 
1441 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
1442 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
1443 implementations, and will be reflected and clarified in the next version 
1444 of the ACPI specification.
1445
1446 Implemented two new table events that can be passed to an ACPICA table 
1447 handler. These events are used to indicate a table installation or 
1448 uninstallation. These events are used in addition to existed table load 
1449 and unload events. Lv Zheng.
1450
1451 Implemented a cleanup for all internal string-to-integer conversions. 
1452 Consolidate multiple versions of this functionality and limit possible 
1453 bases to either 10 or 16 to simplify the code. Adds a new file, 
1454 utstrtoul64.
1455
1456 Cleanup the inclusion order of the various compiler-specific headers. 
1457 This simplifies build configuration management. The compiler-specific 
1458 headers are now split out from the host-specific headers. Lv Zheng.
1459
1460 Example Code and Data Size: These are the sizes for the OS-independent 
1461 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1462 debug version of the code includes the debug output trace mechanism and 
1463 has a much larger code and data size.
1464
1465   Current Release:
1466     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
1467     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1468
1469
1470 2) iASL Compiler/Disassembler and Tools:
1471
1472 iASL/AcpiExec: Added a command line option to display the build date/time 
1473 of the tool (-vd). This can be useful to verify that the correct version 
1474 of the tools are being used.
1475
1476 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
1477 all predefined control methods and names within the current namespace. 
1478 This can be useful for debugging problems with ACPI tables and the ACPI 
1479 namespace.
1480
1481 ----------------------------------------
1482 29 July 2016. Summary of changes for version 20160729:
1483
1484
1485 1) ACPICA kernel-resident subsystem:
1486
1487 Implemented basic UEFI support for the various ACPICA tools. This 
1488 includes:
1489 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
1490 2) Support to obtain the ACPI tables on UEFI.
1491 3) Local implementation of required C library functions not available on 
1492 UEFI.
1493 4) A front-end (main) function for the tools for UEFI-related 
1494 initialization.
1495
1496 The initial deployment of this support is the AcpiDump utility executing 
1497 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
1498 Current environments supported are Linux/Unix. MSVC generation is not 
1499 supported at this time. See the generate/efi/README file for build 
1500 instructions. Lv Zheng.
1501
1502 Future plans include porting the AcpiExec utility to execute natively on 
1503 the platform with I/O and memory access. This will allow viewing/dump of 
1504 the platform namespace and native execution of ACPI control methods that 
1505 access the actual hardware. To fully implement this support, the OSL 
1506 functions below must be implemented with UEFI interfaces. Any community 
1507 help in the implementation of these functions would be appreciated:
1508     AcpiOsReadPort
1509     AcpiOsWritePort
1510     AcpiOsReadMemory
1511     AcpiOsWriteMemory
1512     AcpiOsReadPciConfiguration
1513     AcpiOsWritePciConfiguration
1514
1515 Restructured and standardized the C library configuration for ACPICA, 
1516 resulting in the various configuration options below. This includes a 
1517 global restructuring of the compiler-dependent and platform-dependent 
1518 include files. These changes may affect the existing platform-dependent 
1519 configuration files on some hosts. Lv Zheng. 
1520
1521 The current C library configuration options appear below. For any issues, 
1522 it may be helpful to examine the existing compiler-dependent and 
1523 platform-dependent files as examples. Lv Zheng. 
1524
1525 1) Linux kernel:
1526     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1527 library.
1528     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1529 2) Unix/Windows/BSD applications:
1530     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
1531 library.
1532     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1533 3) UEFI applications:
1534     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1535 library.
1536     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
1537 4) UEFI applications (EDK2/StdLib):
1538     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
1539     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
1540
1541
1542 AML interpreter: "module-level code" support. Allows for execution of so-
1543 called "executable" AML code (math/logical operations, etc.) outside of 
1544 control methods not just at the module level (top level) but also within 
1545 any scope declared outside of a control method - Scope{}, Device{}, 
1546 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
1547
1548 Simplified the configuration of the "maximum AML loops" global option by 
1549 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
1550 modified at runtime.
1551
1552
1553 Example Code and Data Size: These are the sizes for the OS-independent 
1554 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1555 debug version of the code includes the debug output trace mechanism and 
1556 has a much larger code and data size.
1557
1558   Current Release:
1559     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
1560     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
1561
1562
1563 2) iASL Compiler/Disassembler and Tools:
1564
1565 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
1566 Includes disassembler, data table compiler, and header support.
1567
1568 iASL Expand "module-level code" support. Allows for 
1569 compilation/disassembly of so-called "executable" AML code (math/logical 
1570 operations, etc.) outside of control methods not just at the module level 
1571 (top level) but also within any scope declared outside of a control 
1572 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
1573 ThermalZone{}.
1574
1575 AcpiDump: Added support for dumping all SSDTs on newer versions of 
1576 Windows. These tables are now easily available -- SSDTs are not available 
1577 through the registry on older versions.
1578
1579 ----------------------------------------
1580 27 May 2016. Summary of changes for version 20160527:
1581
1582
1583 1) ACPICA kernel-resident subsystem:
1584
1585 Temporarily reverted the new arbitrary bit length/alignment support in 
1586 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
1587 a number of regressions with the new code that need to be fully resolved 
1588 and tested before this support can be finally integrated into ACPICA. 
1589 Apologies for any inconveniences these issues may have caused.
1590
1591 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
1592 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
1593 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
1594
1595 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
1596 option. Adds a new return macro, return_STR. Junk-uk Kim.
1597
1598 Example Code and Data Size: These are the sizes for the OS-independent 
1599 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1600 debug version of the code includes the debug output trace mechanism and 
1601 has a much larger code and data size.
1602
1603   Current Release:
1604     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
1605     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1606   Previous Release:
1607     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1608     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
1609
1610 ----------------------------------------
1611 22 April 2016. Summary of changes for version 20160422:
1612
1613 1) ACPICA kernel-resident subsystem:
1614
1615 Fixed a regression in the GAS (generic address structure) arbitrary bit 
1616 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
1617 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
1618
1619 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
1620 was added to each of these macros, and the original name has been 
1621 deprecated. The AML disassembler will always disassemble to the new 
1622 names. Support for the new macros was added to iASL, disassembler, 
1623 resource manager, and the acpihelp utility. ACPICA BZ 1274.
1624
1625     I2cSerialBus  -> I2cSerialBusV2
1626     SpiSerialBus  -> SpiSerialBusV2
1627     UartSerialBus -> UartSerialBusV2
1628
1629 ACPI 6.0: Added support for a new integer field that was appended to the 
1630 package object returned by the _BIX method. This adds iASL compile-time 
1631 and AML runtime error checking. ACPICA BZ 1273.
1632
1633 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
1634 Subspace Type2" (Headers, Disassembler, and data table compiler).
1635
1636 Example Code and Data Size: These are the sizes for the OS-independent 
1637 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1638 debug version of the code includes the debug output trace mechanism and 
1639 has a much larger code and data size.
1640
1641   Current Release:
1642     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1643     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1644   Previous Release:
1645     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1646     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1647
1648
1649 2) iASL Compiler/Disassembler and Tools:
1650
1651 iASL: Implemented an ASL grammar extension to allow/enable executable 
1652 "module-level code" to be created and executed under the various 
1653 operators that create new scopes. This type of AML code is already 
1654 supported in all known AML interpreters, and the grammar change will 
1655 appear in the next version of the ACPI specification. Simplifies the 
1656 conditional runtime creation of named objects under these object types: 
1657
1658     Device
1659     PowerResource
1660     Processor
1661     Scope
1662     ThermalZone
1663
1664 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
1665 ease-of-use to the ASL language. The syntax is similar to the 
1666 corresponding C operator, and is implemented with the existing AML While 
1667 opcode -- thus requiring no changes to existing AML interpreters.
1668
1669     For (Initialize, Predicate, Update) {TermList}
1670
1671 Grammar:
1672     ForTerm :=
1673         For (
1674             Initializer    // Nothing | TermArg => ComputationalData
1675             Predicate      // Nothing | TermArg => ComputationalData
1676             Update         // Nothing | TermArg => ComputationalData
1677         ) {TermList}
1678
1679
1680 iASL: The _HID/_ADR detection and validation has been enhanced to search 
1681 under conditionals in order to allow these objects to be conditionally 
1682 created at runtime.
1683
1684 iASL: Fixed several issues with the constant folding feature. The 
1685 improvement allows better detection and resolution of statements that can 
1686 be folded at compile time. ACPICA BZ 1266. 
1687
1688 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
1689 conversion to the ASL ElseIf operator where incorrect ASL code could be 
1690 generated.
1691
1692 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
1693 sometimes an extra (and extraneous) set of parentheses were emitted for 
1694 some combinations of operators. Although this did not cause any problems 
1695 with recompilation of the disassembled code, it made the code more 
1696 difficult to read. David Box. ACPICA BZ 1231.
1697
1698 iASL: Changed to ignore the unreferenced detection for predefined names 
1699 of resource descriptor elements, when the resource descriptor is 
1700 created/defined within a control method.
1701
1702 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
1703 objects.
1704
1705 ----------------------------------------
1706 18 March 2016. Summary of changes for version 20160318:
1707
1708 1) ACPICA kernel-resident subsystem:
1709
1710 Added support for arbitrary bit lengths and bit offsets for registers 
1711 defined by the Generic Address Structure. Previously, only aligned bit 
1712 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
1713 but recently some machines have been seen that require arbitrary bit-
1714 level support. ACPICA BZ 1240. Lv Zheng.
1715
1716 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
1717 before any _REG methods are evaluated. Lv Zheng.
1718
1719 Implemented several changes related to ACPI table support 
1720 (Headers/Disassembler/TableCompiler):
1721 NFIT: For ACPI 6.1, updated to add some additional new fields and 
1722 constants.
1723 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
1724 6).
1725 DMAR: Added new constants per the 10/2014 DMAR spec.
1726 IORT: Added new subtable per the 10/2015 IORT spec.
1727 HEST: For ACPI 6.1, added new constants and new subtable.
1728 DBG2: Added new constants per the 12/2015 DBG2 spec.
1729 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
1730 ACPICA BZ 1249.
1731 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
1732
1733 Updated header support for the DMAR table to match the current version of 
1734 the related spec.
1735
1736 Added extensions to the ASL Concatenate operator to allow any ACPI object 
1737 to be passed as an operand. Any object other than Integer/String/Buffer 
1738 simply returns a string containing the object type. This extends the 
1739 usefulness of the Printf macros. Previously, Concatenate would abort the 
1740 control method if a non-data object was encountered.
1741
1742 ACPICA source code: Deployed the C "const" keyword across the source code 
1743 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
1744
1745 Example Code and Data Size: These are the sizes for the OS-independent 
1746 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1747 debug version of the code includes the debug output trace mechanism and 
1748 has a much larger code and data size.
1749
1750   Current Release:
1751     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1752     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1753   Previous Release:
1754     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1755     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1756
1757
1758 2) iASL Compiler/Disassembler and Tools:
1759
1760 iASL/Disassembler: Improved the heuristic used to determine the number of 
1761 arguments for an externally defined control method (a method in another 
1762 table). Although this is an improvement, there is no deterministic way to 
1763 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
1764 will completely solve this problem as it is deployed (automatically) in 
1765 newer BIOS code.
1766
1767 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
1768 statements that could cause errors when the disassembled file is 
1769 compiled. ACPICA BZ 1243. David Box.
1770
1771 iASL: Fixed a regression caused by the merger of the two versions of the 
1772 local strtoul64. Because of a dependency on a global variable, strtoul64 
1773 could return an error for integers greater than a 32-bit value. ACPICA BZ 
1774 1260.
1775
1776 iASL: Fixed a regression where a fault could occur for an ASL Return 
1777 statement if it invokes a control method that is not resolved. ACPICA BZ 
1778 1264.
1779
1780 AcpiXtract: Improved input file validation: detection of binary files and 
1781 non-acpidump text files.
1782
1783 ----------------------------------------
1784 12 February 2016. Summary of changes for version 20160212:
1785
1786 1) ACPICA kernel-resident subsystem:
1787
1788 Implemented full support for the ACPI 6.1 specification (released in 
1789 January). This version of the specification is available at:  
1790 http://www.uefi.org/specifications
1791
1792 Only a relatively small number of changes were required in ACPICA to 
1793 support ACPI 6.1, in these areas:
1794 - New predefined names
1795 - New _HID values
1796 - A new subtable for HEST
1797 - A few other header changes for new values
1798
1799 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
1800 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
1801
1802 Reverted a change made in version 20151218 which enabled method 
1803 invocations to be targets of various ASL operators (SuperName and Target 
1804 grammar elements). While the new behavior is supported by the ACPI 
1805 specification, other AML interpreters do not support this behavior and 
1806 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
1807 this support. Therefore, the change was reverted to the original ACPICA 
1808 behavior.
1809
1810 ACPICA now supports the GCC 6 compiler.
1811
1812 Current Release: (Note: build changes increased sizes)
1813     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1814     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1815 Previous Release:
1816     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1817     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
1818
1819
1820 2) iASL Compiler/Disassembler and Tools:
1821
1822 Completed full support for the ACPI 6.0 External() AML opcode. The 
1823 compiler emits an external AML opcode for each ASL External statement. 
1824 This opcode is used by the disassembler to assist with the disassembly of 
1825 external control methods by specifying the required number of arguments 
1826 for the method. AML interpreters do not use this opcode. To ensure that 
1827 interpreters do not even see the opcode, a block of one or more external 
1828 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
1829 commonly deployed in BIOS code, the ability of disassemblers to correctly 
1830 disassemble AML code will be greatly improved. David Box.
1831
1832 iASL: Implemented support for an optional cross-reference output file. 
1833 The -lx option will create a the cross-reference file with the suffix 
1834 "xrf". Three different types of cross-reference are created in this file:
1835 - List of object references made from within each control method
1836 - Invocation (caller) list for each user-defined control method
1837 - List of references to each non-method object in the namespace
1838
1839 iASL: Method invocations as ASL Target operands are now disallowed and 
1840 flagged as errors in preparation for ACPI 6.2 (see the description of the 
1841 problem above).
1842
1843 ----------------------------------------
1844 8 January 2016. Summary of changes for version 20160108:
1845
1846 1) ACPICA kernel-resident subsystem:
1847
1848 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
1849 copyright to all source code module headers and utility/tool signons. 
1850 This includes the standard Linux dual-license header. This affects 
1851 virtually every file in the ACPICA core subsystem, iASL compiler, all 
1852 ACPICA utilities, and the ACPICA test suite.
1853
1854 Fixed a regression introduced in version 20151218 concerning the 
1855 execution of so-called module-level ASL/AML code. Namespace objects 
1856 created under a module-level If() construct were not properly/fully 
1857 entered into the namespace and could cause an interpreter fault when 
1858 accessed.
1859
1860 Example Code and Data Size: These are the sizes for the OS-independent 
1861 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1862 debug version of the code includes the debug output trace mechanism and 
1863 has a much larger code and data size.
1864
1865 Current Release:
1866     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1867     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
1868   Previous Release:
1869     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1870     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1871
1872
1873 2) iASL Compiler/Disassembler and Tools:
1874
1875 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
1876 descriptors. The _PIN field name was incorrectly defined to be an array 
1877 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
1878 would cause incorrect bit width warnings when using Word (16-bit) fields 
1879 to access the descriptors.
1880
1881
1882 ----------------------------------------
1883 18 December 2015. Summary of changes for version 20151218:
1884
1885 1) ACPICA kernel-resident subsystem:
1886
1887 Implemented per-AML-table execution of "module-level code" as individual 
1888 ACPI tables are loaded into the namespace during ACPICA initialization. 
1889 In other words, any module-level code within an AML table is executed 
1890 immediately after the table is loaded, instead of batched and executed 
1891 after all of the tables have been loaded. This provides compatibility 
1892 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
1893 David Box.
1894
1895 To fully support the feature above, the default operation region handlers 
1896 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
1897 installed before any ACPI tables are loaded. This enables module-level 
1898 code to access these address spaces during the table load and module-
1899 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
1900 Box.
1901
1902 Implemented several changes to the internal _REG support in conjunction 
1903 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
1904 utilities for the changes above. Although these tools were changed, host 
1905 operating systems that simply use the default handlers for SystemMemory, 
1906 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
1907
1908 For example, in the code below, DEV1 is conditionally added to the 
1909 namespace by the DSDT via module-level code that accesses an operation 
1910 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
1911 created immediately after the DSDT is loaded in order for the SSDT to 
1912 successfully reference DEV1. Previously, this code would cause an 
1913 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
1914 fully supported by ACPICA.
1915
1916     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
1917     {
1918         OperationRegion (OPR1, SystemMemory, 0x400, 32)
1919         Field (OPR1, AnyAcc, NoLock, Preserve)
1920         {
1921             FLD1, 1
1922         }
1923         If (FLD1)
1924         {
1925             Device (\DEV1)
1926             {
1927             }
1928         }
1929     }
1930     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
1931     {
1932         External (\DEV1, DeviceObj)
1933         Scope (\DEV1)
1934         {
1935         }
1936     }
1937
1938 Fixed an AML interpreter problem where control method invocations were 
1939 not handled correctly when the invocation was itself a SuperName argument 
1940 to another ASL operator. In these cases, the method was not invoked. 
1941 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
1942 argument:
1943     Store
1944     Acquire, Wait
1945     CondRefOf, RefOf
1946     Decrement, Increment
1947     Load, Unload
1948     Notify
1949     Signal, Release, Reset
1950     SizeOf
1951
1952 Implemented automatic String-to-ObjectReference conversion support for 
1953 packages returned by predefined names (such as _DEP). A common BIOS error 
1954 is to add double quotes around an ObjectReference namepath, which turns 
1955 the reference into an unexpected string object. This support detects the 
1956 problem and corrects it before the package is returned to the caller that 
1957 invoked the method. Lv Zheng.
1958
1959 Implemented extensions to the Concatenate operator. Concatenate now 
1960 accepts any type of object, it is not restricted to simply 
1961 Integer/String/Buffer. For objects other than these 3 basic data types, 
1962 the argument is treated as a string containing the name of the object 
1963 type. This expands the utility of Concatenate and the Printf/Fprintf 
1964 macros. ACPICA BZ 1222.
1965
1966 Cleaned up the output of the ASL Debug object. The timer() value is now 
1967 optional and no longer emitted by default. Also, the basic data types of 
1968 Integer/String/Buffer are simply emitted as their values, without a data 
1969 type string -- since the data type is obvious from the output. ACPICA BZ 
1970 1221.
1971
1972 Example Code and Data Size: These are the sizes for the OS-independent 
1973 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1974 debug version of the code includes the debug output trace mechanism and 
1975 has a much larger code and data size.
1976
1977   Current Release:
1978     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1979     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1980   Previous Release:
1981     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1982     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1983
1984
1985 2) iASL Compiler/Disassembler and Tools:
1986
1987 iASL: Fixed some issues with the ASL Include() operator. This operator 
1988 was incorrectly defined in the iASL parser rules, causing a new scope to 
1989 be opened for the code within the include file. This could lead to 
1990 several issues, including allowing ASL code that is technically illegal 
1991 and not supported by AML interpreters. Note, this does not affect the 
1992 related #include preprocessor operator. ACPICA BZ 1212.
1993
1994 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
1995 operator is essentially an ASL macro since there is no AML opcode 
1996 associated with it. The code emitted by the iASL compiler for ElseIf is 
1997 an Else opcode followed immediately by an If opcode. The disassembler 
1998 will now emit an ElseIf if it finds an Else immediately followed by an 
1999 If. This simplifies the decoded ASL, especially for deeply nested 
2000 If..Else and large Switch constructs. Thus, the disassembled code more 
2001 closely follows the original source ASL. ACPICA BZ 1211. Example:
2002
2003     Old disassembly:
2004         Else
2005         {
2006             If (Arg0 == 0x02)
2007             {
2008                 Local0 = 0x05
2009             }
2010         }
2011
2012     New disassembly:
2013         ElseIf (Arg0 == 0x02)
2014         {
2015             Local0 = 0x05
2016         }
2017
2018 AcpiExec: Added support for the new module level code behavior and the 
2019 early region installation. This required a small change to the 
2020 initialization, since AcpiExec must install its own operation region 
2021 handlers.
2022
2023 AcpiExec: Added support to make the debug object timer optional. Default 
2024 is timer disabled. This cleans up the debug object output -- the timer 
2025 data is rarely used.
2026
2027 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
2028 appear on the command line. This can be important when there are 
2029 interdependencies/references between the tables.
2030
2031 iASL/Templates. Add support to generate template files with multiple 
2032 SSDTs within a single output file. Also added ommand line support to 
2033 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
2034 1223, 1225.
2035
2036
2037 ----------------------------------------
2038 24 November 2015. Summary of changes for version 20151124:
2039
2040 1) ACPICA kernel-resident subsystem:
2041
2042 Fixed a possible regression for a previous update to FADT handling. The 
2043 FADT no longer has a fixed table ID, causing some issues with code that 
2044 was hardwired to a specific ID. Lv Zheng.
2045
2046 Fixed a problem where the method auto-serialization could interfere with 
2047 the current SyncLevel. This change makes the auto-serialization support 
2048 transparent to the SyncLevel support and management.
2049
2050 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
2051 interface is intended for early access to the namespace during the 
2052 initial namespace device discovery walk. The _SUB method has been seen to 
2053 access operation regions in some cases, causing errors because the 
2054 operation regions are not fully initialized.
2055
2056 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
2057 that can cause faults. Lv Zheng.
2058
2059 AML Debugger: Add thread ID support so that single-step mode only applies 
2060 to the AML Debugger thread. This prevents runtime errors within some 
2061 kernels. Lv Zheng. 
2062
2063 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
2064 methods that are invoked by this interface are optional, removed warnings 
2065 emitted for the case where one or more of these methods do not exist. 
2066 ACPICA BZ 1208, original change by Prarit Bhargava.
2067
2068 Made a major pass through the entire ACPICA source code base to 
2069 standardize formatting that has diverged a bit over time. There are no 
2070 functional changes, but this will of course cause quite a few code 
2071 differences from the previous ACPICA release.
2072
2073 Example Code and Data Size: These are the sizes for the OS-independent 
2074 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2075 debug version of the code includes the debug output trace mechanism and 
2076 has a much larger code and data size.
2077
2078   Current Release:
2079     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2080     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
2081   Previous Release:
2082     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2083     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2084
2085
2086 2) iASL Compiler/Disassembler and Tools:
2087
2088 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
2089 definition blocks within a single ASL file and the resulting AML file. 
2090 Support for this type of file was also added to the various tools that 
2091 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
2092 example code below shows two definition blocks within the same file:
2093
2094     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
2095 0x12345678)
2096     {
2097     }
2098     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
2099     {
2100     }
2101
2102 iASL: Enhanced typechecking for the Name() operator. All expressions for 
2103 the value of the named object must be reduced/folded to a single constant 
2104 at compile time, as per the ACPI specification (the AML definition of 
2105 Name()).
2106
2107 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
2108 and assembly headers). Now all emitted code correctly begins in column 1.
2109
2110 iASL: Added an error message for an attempt to open a Scope() on an 
2111 object defined in an SSDT. The DSDT is always loaded into the namespace 
2112 first, so any attempt to open a Scope on an SSDT object will fail at 
2113 runtime.
2114
2115
2116 ----------------------------------------
2117 30 September 2015. Summary of changes for version 20150930:
2118
2119 1) ACPICA kernel-resident subsystem:
2120
2121 Debugger: Implemented several changes and bug fixes to assist support for 
2122 the in-kernel version of the AML debugger. Lv Zheng.
2123 - Fix the "predefined" command for in-kernel debugger.
2124 - Do not enter debug command loop for the help and version commands.
2125 - Disallow "execute" command during execution/single-step of a method.
2126
2127 Interpreter: Updated runtime typechecking for all operators that have 
2128 target operands. The operand is resolved and validated that it is legal. 
2129 For example, the target cannot be a non-data object such as a Device, 
2130 Mutex, ThermalZone, etc., as per the ACPI specification.
2131
2132 Debugger: Fixed the double-mutex user I/O handshake to work when local 
2133 deadlock detection is enabled.
2134
2135 Debugger: limited display of method locals and arguments (LocalX and 
2136 ArgX) to only those that have actually been initialized. This prevents 
2137 lines of extraneous output.
2138
2139 Updated the definition of the NFIT table to correct the bit polarity of 
2140 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
2141
2142 Example Code and Data Size: These are the sizes for the OS-independent 
2143 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2144 debug version of the code includes the debug output trace mechanism and 
2145 has a much larger code and data size.
2146
2147   Current Release:
2148     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2149     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2150   Previous Release:
2151     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2152     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2153
2154
2155 2) iASL Compiler/Disassembler and Tools:
2156
2157 iASL: Improved the compile-time typechecking for operands of many of the 
2158 ASL operators:
2159
2160 -- Added an option to disable compiler operand/operator typechecking (-
2161 ot).
2162
2163 -- For the following operators, the TermArg operands are now validated 
2164 when possible to be Integer data objects: BankField, OperationRegion, 
2165 DataTableRegion, Buffer, and Package.
2166
2167 -- Store (Source, Target): Both the source and target operands are 
2168 resolved and checked that the operands are both legal. For example, 
2169 neither operand can be a non-data object such as a Device, Mutex, 
2170 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
2171 operator can be used to store an object to any type of target object.
2172
2173 -- Store (Source, Target): If the source is a Package object, the target 
2174 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
2175 is a Package, the source must also be a Package.
2176
2177 -- Store (Source, Target): A warning is issued if the source and target 
2178 resolve to the identical named object.
2179
2180 -- Store (Source, <method invocation>): An error is generated for the 
2181 target method invocation, as this construct is not supported by the AML 
2182 interpreter.
2183
2184 -- For all ASL math and logic operators, the target operand must be a 
2185 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
2186 includes the function return value also.
2187
2188 -- External declarations are also included in the typechecking where 
2189 possible. External objects defined using the UnknownObj keyword cannot be 
2190 typechecked, however.
2191
2192 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
2193 operator:
2194 - Legacy code: Index(PKG1, 3)
2195 - New ASL+ code: PKG1[3]
2196 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
2197 supported.
2198
2199 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
2200 spaces were inadvertently appended to the filename, causing file access 
2201 and deletion problems on some systems.
2202
2203 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
2204 possible compiler output files when building the test suite -- thus 
2205 exercising these features of the compiler. These files are automatically 
2206 deleted when the test suite exits.
2207
2208
2209 ----------------------------------------
2210 18 August 2015. Summary of changes for version 20150818:
2211
2212 1) ACPICA kernel-resident subsystem:
2213
2214 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
2215 Zheng. ACPICA BZ 1186.
2216
2217 Completed development to ensure that the ACPICA Disassembler and Debugger 
2218 are fully standalone components of ACPICA. Removed cross-component 
2219 dependences. Lv Zheng.
2220
2221 The max-number-of-AML-loops is now runtime configurable (previously was 
2222 compile-time only). This is essentially a loop timeout to force-abort 
2223 infinite AML loops. ACPCIA BZ 1192.
2224
2225 Debugger: Cleanup output to dump ACPI names and namepaths without any 
2226 trailing underscores. Lv Zheng. ACPICA BZ 1135.
2227
2228 Removed unnecessary conditional compilations across the Debugger and 
2229 Disassembler components where entire modules could be left uncompiled.
2230
2231 The aapits test is deprecated and has been removed from the ACPICA git 
2232 tree. The test has never been completed and has not been maintained, thus 
2233 becoming rather useless. ACPICA BZ 1015, 794.
2234
2235 A batch of small changes to close bugzilla and other reports:
2236 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
2237 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
2238 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
2239 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
2240 Moore.
2241 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
2242 ACPICA BZ 1184.
2243 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
2244 operators.
2245 - Debugger: Split debugger initialization/termination interfaces. Lv 
2246 Zheng.
2247 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
2248 identification.
2249 - AcpiExec: Add debug message during _REG method phase during table 
2250 load/init.
2251 - AcpiNames: Fix a regression where some output was missing and no longer 
2252 emitted.
2253 - Debugger: General cleanup and simplification. Lv Zheng.
2254 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
2255
2256 Example Code and Data Size: These are the sizes for the OS-independent 
2257 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2258 debug version of the code includes the debug output trace mechanism and 
2259 has a much larger code and data size.
2260
2261   Current Release:
2262     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2263     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2264   Previous Release:
2265     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2266     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2267
2268
2269 2) iASL Compiler/Disassembler and Tools:
2270
2271 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
2272 were not handled properly and caused load errors. Now, properly invoke 
2273 and use the ACPICA auto-reallocate mechanism for ACPI table data 
2274 structures. ACPICA BZ 1188
2275
2276 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
2277 BZ 1190.
2278
2279 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
2280 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
2281 executed during initialization. ACPICA BZ 1187, 1189.
2282
2283 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
2284 that corresponds to each disassembled ASL statement, to simplify 
2285 debugging. ACPICA BZ 1191.
2286
2287 Debugger: Add option to the "objects" command to display a summary of the 
2288 current namespace objects (Object type and count). This is displayed if 
2289 the command is entered with no arguments.
2290
2291 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
2292
2293
2294 ----------------------------------------
2295 17 July 2015. Summary of changes for version 20150717:
2296
2297 1) ACPICA kernel-resident subsystem:
2298
2299 Improved the partitioning between the Debugger and Disassembler 
2300 components. This allows the Debugger to be used standalone within kernel 
2301 code without the Disassembler (which is used for single stepping also). 
2302 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
2303
2304 Debugger: Implemented a new command to trace the execution of control 
2305 methods (Trace). This is especially useful for the in-kernel version of 
2306 the debugger when file I/O may not be available for method trace output. 
2307 See the ACPICA reference for more information. Lv Zheng.
2308
2309 Moved all C library prototypes (used for the local versions of these 
2310 functions when requested) to a new header, acclib.h
2311 Cleaned up the use of non-ANSI C library functions. These functions are 
2312 implemented locally in ACPICA. Moved all such functions to a common 
2313 source file, utnonansi.c
2314
2315 Debugger: Fixed a problem with the "!!" command (get last command 
2316 executed) where the debugger could enter an infinite loop and eventually 
2317 crash.
2318
2319 Removed the use of local macros that were used for some of the standard C 
2320 library functions to automatically cast input parameters. This mostly 
2321 affected the is* functions where the input parameter is defined to be an 
2322 int. This required a few modifications to the main ACPICA source code to 
2323 provide casting for these functions and eliminate possible compiler 
2324 warnings for these parameters.
2325
2326 Across the source code, added additional status/error checking to resolve 
2327 issues discovered by static source code analysis tools such as Coverity.
2328
2329 Example Code and Data Size: These are the sizes for the OS-independent 
2330 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2331 debug version of the code includes the debug output trace mechanism and 
2332 has a much larger code and data size.
2333
2334   Current Release:
2335     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2336     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2337   Previous Release:
2338     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2339     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2340
2341
2342 2) iASL Compiler/Disassembler and Tools:
2343
2344 iASL: Fixed a regression where the device map file feature no longer 
2345 worked properly when used in conjunction with the disassembler. It only 
2346 worked properly with the compiler itself.
2347
2348 iASL: Implemented a new warning for method LocalX variables that are set 
2349 but never used (similar to a C compiler such as gcc). This also applies 
2350 to ArgX variables that are not defined by the parent method, and are 
2351 instead (legally) used as local variables.
2352
2353 iASL/Preprocessor: Finished the pass-through of line numbers from the 
2354 preprocessor to the compiler. This ensures that compiler errors/warnings 
2355 have the correct original line numbers and filenames, regardless of any 
2356 #include files.
2357
2358 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
2359 pass-through of comments to the preprocessor output file (which becomes 
2360 the compiler input file). Also fixed a problem with // comments that 
2361 appear after a math expression.
2362
2363 iASL: Added support for the TCPA server table to the table compiler and 
2364 template generator. (The client table was already previously supported)
2365
2366 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
2367 identify the iASL compiler.
2368
2369 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
2370 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
2371 ACPI_SIGN_POSITIVE.
2372
2373 AcpiHelp: Update to expand help messages for the iASL preprocessor 
2374 directives.
2375
2376
2377 ----------------------------------------
2378 19 June 2015. Summary of changes for version 20150619:
2379
2380 Two regressions in version 20150616 have been addressed:
2381
2382 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
2383 etc.) This update changes ACPICA to only use the standard headers for 
2384 functions, or the prototypes for the local versions of the C library 
2385 functions. Across the source code, this required some additional casts 
2386 for some Clib invocations for portability. Moved all local prototypes to 
2387 a new file, acclib.h
2388
2389 Fixes several problems with recent changes to the handling of the FACS 
2390 table that could cause some systems not to boot.
2391
2392
2393 ----------------------------------------
2394 16 June 2015. Summary of changes for version 20150616:
2395
2396
2397 1) ACPICA kernel-resident subsystem:
2398
2399 Across the entire ACPICA source code base, the various macros for the C 
2400 library functions (such as ACPI_STRLEN, etc.) have been removed and 
2401 replaced by the standard C library names (strlen, etc.) The original 
2402 purpose for these macros is no longer applicable. This simplification 
2403 reduces the number of macros used in the ACPICA source code 
2404 significantly, improving readability and maintainability.
2405
2406 Implemented support for a new ACPI table, the OSDT. This table, the 
2407 "override" SDT, can be loaded directly by the host OS at boot time. It 
2408 enables the replacement of existing namespace objects that were installed 
2409 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
2410 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
2411 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
2412 Moore.
2413
2414 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
2415 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
2416 X field). This change will support both automatically. There continues to 
2417 be systems found with this issue. This support requires a change to the 
2418 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
2419 been added to allow the host to select which FACS is desired 
2420 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
2421 details Lv Zheng.
2422
2423 Added a new feature to allow for systems that do not contain an FACS. 
2424 Although this is already supported on hardware-reduced platforms, the 
2425 feature has been extended for all platforms. The reasoning is that we do 
2426 not want to abort the entire ACPICA initialization just because the 
2427 system is seriously buggy and has no FACS.
2428
2429 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
2430 not correctly transcribed from the ACPI specification in ACPICA version 
2431 20150515.
2432
2433 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
2434 interface.
2435
2436 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
2437 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
2438 compiler also updated. Note: The TCPA "server" table is not supported by 
2439 the disassembler/table-compiler at this time.
2440
2441 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
2442
2443 Example Code and Data Size: These are the sizes for the OS-independent 
2444 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2445 debug version of the code includes the debug output trace mechanism and 
2446 has a much larger code and data size.
2447
2448   Current Release:
2449     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2450     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2451   Previous Release:
2452     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2453     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2454
2455
2456 2) iASL Compiler/Disassembler and Tools:
2457
2458 Disassembler: Fixed a problem with the new symbolic operator disassembler 
2459 where incorrect ASL code could be emitted in some cases for the "non-
2460 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
2461 ShiftRight. The actual problem cases seem to be rather unusual in common 
2462 ASL code, however. David Box.
2463
2464 Modified the linux version of acpidump to obtain ACPI tables from not 
2465 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
2466 Zheng.
2467
2468 iASL: Fixed a problem where the user preprocessor output file (.i) 
2469 contained extra data that was not expected. The compiler was using this 
2470 file as a temporary file and passed through #line directives in order to 
2471 keep compiler error messages in sync with the input file and line number 
2472 across multiple include files. The (.i) is no longer a temporary file as 
2473 the compiler uses a new, different file for the original purpose.
2474
2475 iASL: Fixed a problem where comments within the original ASL source code 
2476 file were not passed through to the preprocessor output file, nor any 
2477 listing files.
2478
2479 iASL: Fixed some issues for the handling of the "#include" preprocessor 
2480 directive and the similar (but not the same) "Include" ASL operator.
2481
2482 iASL: Add support for the new OSDT in both the disassembler and compiler.
2483
2484 iASL: Fixed a problem with the constant folding support where a Buffer 
2485 object could be incorrectly generated (incorrectly formed) during a 
2486 conversion to a Store() operator.
2487
2488 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
2489 description text for the _REV predefined name. _REV now permanently 
2490 returns 2, as per the ACPI 6.0 specification.
2491
2492 Debugger: Enhanced the output of the Debug ASL object for references 
2493 produced by the Index operator. For Buffers and strings, only output the 
2494 actual byte pointed to by the index. For packages, only print the single 
2495 package element decoded by the index. Previously, the entire 
2496 buffer/string/package was emitted.
2497
2498 iASL/Table-compiler: Fixed a regression where the "generic" data types 
2499 were no longer recognized, causing errors.
2500
2501
2502 ----------------------------------------
2503 15 May 2015. Summary of changes for version 20150515:
2504
2505 This release implements most of ACPI 6.0 as described below.
2506
2507 1) ACPICA kernel-resident subsystem:
2508
2509 Implemented runtime argument checking and return value checking for all 
2510 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
2511 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
2512
2513 Example Code and Data Size: These are the sizes for the OS-independent 
2514 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2515 debug version of the code includes the debug output trace mechanism and 
2516 has a much larger code and data size.
2517
2518   Current Release:
2519     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2520     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2521   Previous Release:
2522     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2523     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2524
2525
2526 2) iASL Compiler/Disassembler and Tools:
2527
2528 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
2529 names (argument count validation and return value typechecking.)
2530
2531 iASL disassembler and table compiler: implemented support for all new 
2532 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
2533
2534 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
2535 tables: FADT, MADT.
2536
2537 iASL preprocessor: Added a new directive to enable inclusion of binary 
2538 blobs into ASL code. The new directive is #includebuffer. It takes a 
2539 binary file as input and emits a named ascii buffer object into the ASL 
2540 code.
2541
2542 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
2543
2544 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
2545 directives.
2546
2547 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
2548 tables.
2549
2550
2551 ----------------------------------------
2552 10 April 2015. Summary of changes for version 20150410:
2553
2554 Reverted a change introduced in version 20150408 that caused
2555 a regression in the disassembler where incorrect operator
2556 symbols could be emitted.
2557
2558
2559 ----------------------------------------
2560 08 April 2015. Summary of changes for version 20150408:
2561
2562
2563 1) ACPICA kernel-resident subsystem:
2564
2565 Permanently set the return value for the _REV predefined name. It now 
2566 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
2567 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
2568 for ACPI 2.0 and later. It should never be used to differentiate or 
2569 identify operating systems.
2570
2571 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
2572 return TRUE to a query with this string.
2573
2574 Fixed several issues with the local version of the printf function.
2575
2576 Added the C99 compiler option (-std=c99) to the Unix makefiles.
2577
2578   Current Release:
2579     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
2580     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
2581   Previous Release:
2582     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2583     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2584
2585
2586 2) iASL Compiler/Disassembler and Tools:
2587
2588 iASL: Implemented an enhancement to the constant folding feature to 
2589 transform the parse tree to a simple Store operation whenever possible:
2590     Add (2, 3, X) ==> is converted to: Store (5, X)
2591     X = 2 + 3     ==> is converted to: Store (5, X)
2592
2593 Updated support for the SLIC table (Software Licensing Description Table) 
2594 in both the Data Table compiler and the disassembler. The SLIC table 
2595 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
2596 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
2597 following the ACPI header is now defined to be "Proprietary Data", and as 
2598 such, can only be entered or displayed as a hex data block.
2599
2600 Implemented full support for the MSDM table as described in the document 
2601 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
2602 following the ACPI header is defined to be "Proprietary Data", and can 
2603 only be entered or displayed as a hex data block.
2604
2605 Implemented the -Pn option for the iASL Table Compiler (was only 
2606 implemented for the ASL compiler). This option disables the iASL 
2607 preprocessor.
2608
2609 Disassembler: For disassembly of Data Tables, added a comment field 
2610 around the Ascii equivalent data that is emitted as part of the "Raw 
2611 Table Data" block. This prevents the iASL Preprocessor from possible 
2612 confusion if/when the table is compiled.
2613
2614 Disassembler: Added an option (-df) to force the disassembler to assume 
2615 that the table being disassembled contains valid AML. This feature is 
2616 useful for disassembling AML files that contain ACPI signatures other 
2617 than DSDT or SSDT (such as OEMx or other signatures).
2618
2619 Changes for the EFI version of the tools:
2620 1) Fixed a build error/issue
2621 2) Fixed a cast warning
2622
2623 iASL: Fixed a path issue with the __FILE__ operator by making the 
2624 directory prefix optional within the internal SplitInputFilename 
2625 function.
2626
2627 Debugger: Removed some unused global variables.
2628
2629 Tests: Updated the makefile for proper generation of the AAPITS suite.
2630
2631
2632 ----------------------------------------
2633 04 February 2015. Summary of changes for version 20150204:
2634
2635 ACPICA kernel-resident subsystem:
2636
2637 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
2638 copyright to all module headers and signons, including the standard Linux 
2639 header. This affects virtually every file in the ACPICA core subsystem, 
2640 iASL compiler, all ACPICA utilities, and the test suites.
2641
2642 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
2643 A raw gpe handling mechanism was created to allow better handling of GPE
2644 storms that aren't easily managed by the normal handler. The raw handler
2645 allows disabling/renabling of the the GPE so that interrupt storms can be
2646 avoided in cases where events cannot be timely serviced. In this 
2647 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
2648 GPE. This API will leave the reference counts undisturbed, thereby 
2649 preventing unintentional clearing of the GPE when the intent in only to 
2650 temporarily disable it. Raw handlers allow enabling and disabling of a 
2651 GPE by removing GPE register locking. As such, raw handlers much provide 
2652 their own locks while using GPE API's to protect access to GPE data 
2653 structures.
2654 Lv Zheng
2655
2656 Events: Always modify GPE registers under the GPE lock.
2657 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
2658 values. Reported as bug by joe.liu@apple.com.
2659
2660 Unix makefiles: Separate option to disable optimizations and 
2661 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
2662 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
2663 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
2664 errors when building ACPICA. This allows disabling the option without 
2665 also having to disable optimazations.
2666 David Box
2667
2668   Current Release:
2669     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2670     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
2671
2672 --
2673 --------------------------------------
2674 07 November 2014. Summary of changes for version 20141107:
2675
2676 This release is available at https://acpica.org/downloads
2677
2678 This release introduces and implements language extensions to ASL that 
2679 provide support for symbolic ("C-style") operators and expressions. These 
2680 language extensions are known collectively as ASL+.
2681
2682
2683 1) iASL Compiler/Disassembler and Tools:
2684
2685 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
2686 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
2687 Box.
2688
2689 Disassembler: Fixed the Unicode macro support to add escape sequences. 
2690 All non-printable ASCII values are emitted as escape sequences, as well 
2691 as the standard escapes for quote and backslash. Ensures that the 
2692 disassembled macro can be correctly recompiled.
2693
2694 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
2695 translated to existing AML Concatenate and Store operations. Printf 
2696 writes to the ASL Debug object. Fprintf allows the specification of an 
2697 ASL name as the target. Only a single format specifier is required, %o, 
2698 since the AML interpreter dynamically converts objects to the required 
2699 type. David E. Box.
2700
2701     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2702                  (Concatenate (Concatenate (Concatenate ("", Arg0),
2703                  ": Unexpected value for "), Arg1), ", "), Arg2),
2704                  " at line "), Arg3), Debug)
2705
2706     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
2707                  Arg0, Arg1, Arg2, Arg3)
2708
2709     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2710                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
2711
2712     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
2713
2714 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
2715 ASL parse tree before the AML code is generated. This allows blocks of 
2716 ASL code to be removed in order to help locate and identify problem 
2717 devices and/or code. David E. Box.
2718
2719 AcpiExec: Added support (-fi) for an optional namespace object 
2720 initialization file. This file specifies initial values for namespace 
2721 objects as necessary for debugging and testing different ASL code paths 
2722 that may be taken as a result of BIOS options.
2723
2724
2725 2) Overview of symbolic operator support for ASL (ASL+)
2726 -------------------------------------------------------
2727
2728 As an extension to the ASL language, iASL implements support for symbolic 
2729 (C-style) operators for math and logical expressions. This can greatly 
2730 simplify ASL code as well as improve both readability and 
2731 maintainability. These language extensions can exist concurrently with 
2732 all legacy ASL code and expressions.
2733
2734 The symbolic extensions are 100% compatible with existing AML 
2735 interpreters, since no new AML opcodes are created. To implement the 
2736 extensions, the iASL compiler transforms the symbolic expressions into 
2737 the legacy ASL/AML equivalents at compile time.
2738
2739 Full symbolic expressions are supported, along with the standard C 
2740 precedence and associativity rules.
2741
2742 Full disassembler support for the symbolic expressions is provided, and 
2743 creates an automatic migration path for existing ASL code to ASL+ code 
2744 via the disassembly process. By default, the disassembler now emits ASL+ 
2745 code with symbolic expressions. An option (-dl) is provided to force the 
2746 disassembler to emit legacy ASL code if desired.
2747
2748 Below is the complete list of the currently supported symbolic operators 
2749 with examples. See the iASL User Guide for additional information.
2750
2751
2752 ASL+ Syntax      Legacy ASL Equivalent
2753 -----------      ---------------------
2754
2755     // Math operators
2756
2757 Z = X + Y        Add (X, Y, Z)
2758 Z = X - Y        Subtract (X, Y, Z)
2759 Z = X * Y        Multiply (X, Y, Z)
2760 Z = X / Y        Divide (X, Y, , Z)
2761 Z = X % Y        Mod (X, Y, Z)
2762 Z = X << Y       ShiftLeft (X, Y, Z)
2763 Z = X >> Y       ShiftRight (X, Y, Z)
2764 Z = X & Y        And (X, Y, Z)
2765 Z = X | Y        Or (X, Y, Z)
2766 Z = X ^ Y        Xor (X, Y, Z)
2767 Z = ~X           Not (X, Z)
2768 X++              Increment (X)
2769 X--              Decrement (X)
2770
2771     // Logical operators
2772
2773 (X == Y)         LEqual (X, Y)
2774 (X != Y)         LNotEqual (X, Y)
2775 (X < Y)          LLess (X, Y)
2776 (X > Y)          LGreater (X, Y)
2777 (X <= Y)         LLessEqual (X, Y)
2778 (X >= Y)         LGreaterEqual (X, Y)
2779 (X && Y)         LAnd (X, Y)
2780 (X || Y)         LOr (X, Y)
2781 (!X)             LNot (X)
2782
2783     // Assignment and compound assignment operations
2784
2785 X = Y           Store (Y, X)
2786 X += Y          Add (X, Y, X)
2787 X -= Y          Subtract (X, Y, X)
2788 X *= Y          Multiply (X, Y, X)
2789 X /= Y          Divide (X, Y, , X)
2790 X %= Y          Mod (X, Y, X)
2791 X <<= Y         ShiftLeft (X, Y, X)
2792 X >>= Y         ShiftRight (X, Y, X)
2793 X &= Y          And (X, Y, X)
2794 X |= Y          Or (X, Y, X)
2795 X ^= Y          Xor (X, Y, X)
2796
2797
2798 3) ASL+ Examples:
2799 -----------------
2800
2801 Legacy ASL:
2802         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
2803             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
2804 0x03FB), 
2805             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
2806         {
2807             And (MEMB, 0xFFFFFFF0, SRMB)
2808             Store (MEMB, Local2)
2809             Store (PDBM, Local1)
2810             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
2811             Store (SRMB, MEMB)
2812             Or (PDBM, 0x02, PDBM)
2813         }
2814
2815 ASL+ version:
2816         If (((R510 & 0x03FB) == 0x02E0) ||
2817             ((R520 & 0x03FB) == 0x02E0) ||
2818             ((R530 & 0x03FB) == 0x02E0) || 
2819             ((R540 & 0x03FB) == 0x02E0))
2820         {
2821             SRMB = (MEMB & 0xFFFFFFF0)
2822             Local2 = MEMB
2823             Local1 = PDBM
2824             PDBM &= 0xFFFFFFFFFFFFFFF9
2825             MEMB = SRMB
2826             PDBM |= 0x02
2827         }
2828
2829 Legacy ASL:
2830         Store (0x1234, Local1)
2831         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2832         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2833         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2834         Store (Index (PKG1, 0x03), Local6)
2835         Store (Add (Local3, Local2), Debug)
2836         Add (Local1, 0x0F, Local2)
2837         Add (Local1, Multiply (Local2, Local3), Local2)
2838         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2839
2840 ASL+ version:
2841         Local1 = 0x1234
2842         Local3 = (((Local1 + TEST) + 0x20) * Local2)
2843         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2844         Local3 = (Local1 + (TEST + (0x20 * Local2)))
2845         Local6 = Index (PKG1, 0x03)
2846         Debug = (Local3 + Local2)
2847         Local2 = (Local1 + 0x0F)
2848         Local2 = (Local1 + (Local2 * Local3))
2849         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2850
2851
2852 ----------------------------------------
2853 26 September 2014. Summary of changes for version 20140926:
2854
2855 1) ACPICA kernel-resident subsystem:
2856
2857 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
2858 In order to support GPIO Connection objects with multiple pins, along 
2859 with the related Field objects, the following changes to the interface 
2860 have been made: The Address is now defined to be the offset in bits of 
2861 the field unit from the previous invocation of a Connection. It can be 
2862 viewed as a "Pin Number Index" into the connection resource descriptor. 
2863 The BitWidth is the exact bit width of the field. It is usually one bit, 
2864 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
2865 additional information and examples.
2866
2867 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
2868 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
2869 by the firmware), so that they cannot fire until they are enabled via 
2870 AcpiUpdateAllGpes. Rafael J. Wysocki.
2871
2872 Added a new return flag for the Event/GPE status interfaces -- 
2873 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
2874 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
2875 GPE currently has a handler associated with it, and can thus actually 
2876 affect the system. Lv Zheng.
2877
2878 Example Code and Data Size: These are the sizes for the OS-independent 
2879 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2880 debug version of the code includes the debug output trace mechanism and 
2881 has a much larger code and data size.
2882
2883   Current Release:
2884     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2885     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2886   Previous Release:
2887     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2888     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2889
2890 2) iASL Compiler/Disassembler and Tools:
2891
2892 iASL: Fixed a memory allocation/free regression introduced in 20140828 
2893 that could cause the compiler to crash. This was introduced inadvertently 
2894 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
2895 1113.
2896
2897 iASL: Removed two error messages that have been found to create false 
2898 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
2899 1) Illegal forward reference within a method
2900 2) Illegal reference across two methods
2901
2902 iASL: Implemented a new option (-lm) to create a hardware mapping file 
2903 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
2904 works for both the compiler and disassembler. See the iASL compiler user 
2905 guide for additional information and examples (section 6.4.6).
2906
2907 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
2908 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
2909 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
2910
2911 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
2912 unless STDIN is actually a terminal. Assists with batch-mode processing. 
2913 ACPICA BZ 1114.
2914
2915 Disassembler/AcpiHelp: Added another large group of recognized _HID 
2916 values.
2917
2918
2919 ----------------------------------------
2920 28 August 2014. Summary of changes for version 20140828:
2921
2922 1) ACPICA kernel-resident subsystem:
2923
2924 Fixed a problem related to the internal use of the Timer() operator where 
2925 a 64-bit divide could cause an attempted link to a double-precision math 
2926 library. This divide is not actually necessary, so the code was 
2927 restructured to eliminate it. Lv Zheng.
2928
2929 ACPI 5.1: Added support for the runtime validation of the _DSD package 
2930 (similar to the iASL support).
2931
2932 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
2933 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
2934
2935 Example Code and Data Size: These are the sizes for the OS-independent 
2936 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2937 debug version of the code includes the debug output trace mechanism and 
2938 has a much larger code and data size.
2939
2940   Current Release:
2941     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2942     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2943   Previous Release:
2944     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
2945     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2946
2947 2) iASL Compiler/Disassembler and Tools:
2948
2949 AcpiExec: Fixed a problem on unix systems where the original terminal 
2950 state was not always properly restored upon exit. Seen when using the -v 
2951 option. ACPICA BZ 1104.
2952
2953 iASL: Fixed a problem with the validation of the ranges/length within the 
2954 Memory24 resource descriptor. There was a boundary condition when the 
2955 range was equal to the (length -1) caused by the fact that these values 
2956 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
2957
2958 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
2959 polarity 
2960 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
2961 is 
2962 now supported properly.
2963
2964 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
2965 in the disassembler, data table compiler, and table template generator.
2966
2967 iASL: Added a requirement for Device() objects that one of either a _HID 
2968 or _ADR must exist within the scope of a Device, as per the ACPI 
2969 specification. Remove a similar requirement that was incorrectly in place 
2970 for the _DSD object.
2971
2972 iASL: Added error detection for illegal named references within control 
2973 methods that would cause runtime failures. Now trapped as errors are: 1) 
2974 References to objects within a non-parent control method. 2) Forward 
2975 references (within a method) -- for control methods, AML interpreters use 
2976 a one-pass parse of control methods. ACPICA BZ 1008.
2977
2978 iASL: Added error checking for dependencies related to the _PSx power 
2979 methods. ACPICA BZ 1029.
2980 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
2981 _PS3.
2982 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
2983 scope.
2984
2985 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
2986 deploying the existing object and string caches and adding new caches for 
2987 the table compiler.
2988
2989 iASL: Split the huge parser source file into multiple subfiles to improve 
2990 manageability. Generation now requires the M4 macro preprocessor, which 
2991 is part of the Bison distribution on both unix and windows platforms.
2992
2993 AcpiSrc: Fixed and removed all extraneous warnings generated during 
2994 entire ACPICA source code scan and/or conversion.
2995
2996
2997 ----------------------------------------
2998
2999 24 July 2014. Summary of changes for version 20140724: 
3000
3001 The ACPI 5.1 specification has been released and is available at: 
3002 http://uefi.org/specs/access
3003
3004
3005 0) ACPI 5.1 support in ACPICA:
3006
3007 ACPI 5.1 is fully supported in ACPICA as of this release.
3008
3009 New predefined names. Support includes iASL and runtime ACPICA 
3010 validation.
3011     _CCA (Cache Coherency Attribute).
3012     _DSD (Device-Specific Data). David Box.
3013
3014 Modifications to existing ACPI tables. Support includes headers, iASL 
3015 Data Table compiler, disassembler, and the template generator.
3016     FADT - New fields and flags. Graeme Gregory.
3017     GTDT - One new subtable and new fields. Tomasz Nowicki.
3018     MADT - Two new subtables. Tomasz Nowicki.
3019     PCCT - One new subtable.
3020
3021 Miscellaneous.
3022     New notification type for System Resource Affinity change events.
3023
3024
3025 1) ACPICA kernel-resident subsystem:
3026
3027 Fixed a regression introduced in 20140627 where a fault can happen during 
3028 the deletion of Alias AML namespace objects. The problem affected both 
3029 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
3030
3031 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
3032 simple mechanism to enable wake GPEs that have no associated handler or 
3033 control method. Rafael Wysocki.
3034
3035 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
3036 handler or control method associated with the particular GPE. This will 
3037 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
3038
3039 Updated GPE handling and dispatch by disabling the GPE before clearing 
3040 the status bit for edge-triggered GPEs. Lv Zheng.
3041
3042 Added Timer() support to the AML Debug object. The current timer value is 
3043 now displayed with each invocation of (Store to) the debug object to 
3044 enable simple generation of execution times for AML code (method 
3045 execution for example.) ACPICA BZ 1093.
3046
3047 Example Code and Data Size: These are the sizes for the OS-independent 
3048 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3049 debug version of the code includes the debug output trace mechanism and 
3050 has a much larger code and data size.
3051
3052   Current Release:
3053     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
3054     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
3055   Previous Release:
3056     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3057     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3058
3059
3060 2) iASL Compiler/Disassembler and Tools:
3061
3062 Fixed an issue with the recently added local printf implementation, 
3063 concerning width/precision specifiers that could cause incorrect output. 
3064 Lv Zheng. ACPICA BZ 1094.
3065
3066 Disassembler: Added support to detect buffers that contain UUIDs and 
3067 disassemble them to an invocation of the ToUUID operator. Also emit 
3068 commented descriptions of known ACPI-related UUIDs.
3069
3070 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
3071 -u. Adds three new files. 
3072
3073 iASL: Update table compiler and disassembler for DMAR table changes that 
3074 were introduced in September 2013. With assistance by David Woodhouse.
3075
3076 ----------------------------------------
3077 27 June 2014. Summary of changes for version 20140627:
3078
3079 1) ACPICA kernel-resident subsystem:
3080
3081 Formatted Output: Implemented local versions of standard formatted output 
3082 utilities such as printf, etc. Over time, it has been discovered that 
3083 there are in fact many portability issues with printf, and the addition 
3084 of this feature will fix/prevent these issues once and for all. Some 
3085 known issues are summarized below:
3086
3087 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
3088 for the Linux kernel and is %uI64 for some MSVC versions.
3089 2) Invoking printf consistently in a manner that is portable across both 
3090 32-bit and 64-bit platforms is difficult at best in many situations.
3091 3) The output format for pointers varies from system to system (leading 
3092 zeros especially), and leads to inconsistent output from ACPICA across 
3093 platforms.
3094 4) Certain platform-specific printf formats may conflict with ACPICA use.
3095 5) If there is no local C library available, ACPICA now has local support 
3096 for printf.
3097
3098 -- To address these printf issues in a complete manner, ACPICA now 
3099 directly implements a small subset of printf format specifiers, only 
3100 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
3101
3102 Implemented support for ACPICA generation within the EFI environment. 
3103 Initially, the AcpiDump utility is supported in the UEFI shell 
3104 environment. Lv Zheng.
3105
3106 Added a new external interface, AcpiLogError, to improve ACPICA 
3107 portability. This allows the host to redirect error messages from the 
3108 ACPICA utilities. Lv Zheng.
3109
3110 Added and deployed new OSL file I/O interfaces to improve ACPICA 
3111 portability:
3112   AcpiOsOpenFile
3113   AcpiOsCloseFile
3114   AcpiOsReadFile
3115   AcpiOsWriteFile
3116   AcpiOsGetFileOffset
3117   AcpiOsSetFileOffset
3118 There are C library implementations of these functions in the new file 
3119 service_layers/oslibcfs.c -- however, the functions can be implemented by 
3120 the local host in any way necessary. Lv Zheng.
3121
3122 Implemented a mechanism to disable/enable ACPI table checksum validation 
3123 at runtime. This can be useful when loading tables very early during OS 
3124 initialization when it may not be possible to map the entire table in 
3125 order to compute the checksum. Lv Zheng.
3126
3127 Fixed a buffer allocation issue for the Generic Serial Bus support. 
3128 Originally, a fixed buffer length was used. This change allows for 
3129 variable-length buffers based upon the protocol indicated by the field 
3130 access attributes. Reported by Lan Tianyu. Lv Zheng.
3131
3132 Fixed a problem where an object detached from a namespace node was not 
3133 properly terminated/cleared and could cause a circular list problem if 
3134 reattached. ACPICA BZ 1063. David Box.
3135
3136 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
3137
3138 Fixed a possible memory leak in an error return path within the function 
3139 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
3140
3141 Example Code and Data Size: These are the sizes for the OS-independent 
3142 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3143 debug version of the code includes the debug output trace mechanism and 
3144 has a much larger code and data size.
3145
3146   Current Release:
3147     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3148     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3149   Previous Release:
3150     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3151     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3152
3153
3154 2) iASL Compiler/Disassembler and Tools:
3155
3156 Disassembler: Add dump of ASCII equivalent text within a comment at the 
3157 end of each line of the output for the Buffer() ASL operator.
3158
3159 AcpiDump: Miscellaneous changes:
3160   Fixed repetitive table dump in -n mode.
3161   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
3162 the ACPI 2.0 GUID fails.
3163
3164 iASL: Fixed a problem where the compiler could fault if incorrectly given 
3165 an acpidump output file as input. ACPICA BZ 1088. David Box.
3166
3167 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
3168 they are invoked without any arguments.
3169
3170 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
3171 1086. Colin Ian King.
3172
3173 Disassembler: Cleaned up a block of code that extracts a parent Op 
3174 object. Added a comment that explains that the parent is guaranteed to be 
3175 valid in this case. ACPICA BZ 1069.
3176
3177
3178 ----------------------------------------
3179 24 April 2014. Summary of changes for version 20140424:
3180
3181 1) ACPICA kernel-resident subsystem:
3182
3183 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
3184 Some of these tables are known to contain a trailing NULL entry. Lv 
3185 Zheng.
3186
3187 Removed an extraneous error message for the case where there are a large 
3188 number of system GPEs (> 124). This was the "32-bit FADT register is too 
3189 long to convert to GAS struct" message, which is irrelevant for GPEs 
3190 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
3191 (limited capacity) GAS bit length. Also, several changes to ensure proper 
3192 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
3193 internally.
3194
3195 Implemented and deployed additional configuration support for the public 
3196 ACPICA external interfaces. Entire classes of interfaces can now be 
3197 easily modified or configured out, replaced by stubbed inline functions 
3198 by default. Lv Zheng.
3199
3200 Moved all public ACPICA runtime configuration globals to the public 
3201 ACPICA external interface file for convenience. Also, removed some 
3202 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
3203
3204 Documentation: Added a new section to the ACPICA reference describing the 
3205 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
3206 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
3207 reference.
3208
3209 Example Code and Data Size: These are the sizes for the OS-independent 
3210 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3211 debug version of the code includes the debug output trace mechanism and 
3212 has a much larger code and data size.
3213
3214   Current Release:
3215     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3216     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3217   Previous Release:
3218     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
3219     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
3220
3221
3222 2) iASL Compiler/Disassembler and Tools:
3223
3224 iASL and disassembler: Add full support for the LPIT table (Low Power 
3225 Idle Table). Includes support in the disassembler, data table compiler, 
3226 and template generator.
3227
3228 AcpiDump utility:
3229 1) Add option to force the use of the RSDT (over the XSDT).
3230 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
3231
3232 iASL: Add check for predefined packages that are too large.  For 
3233 predefined names that contain subpackages, check if each subpackage is 
3234 too large. (Check for too small already exists.)
3235
3236 Debugger: Updated the GPE command (which simulates a GPE by executing the 
3237 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
3238 to the GPE 0/1 FADT-defined blocks.
3239
3240 Unix application OSL: Update line-editing support. Add additional error 
3241 checking and take care not to reset terminal attributes on exit if they 
3242 were never set. This should help guarantee that the terminal is always 
3243 left in the previous state on program exit.
3244
3245
3246 ----------------------------------------
3247 25 March 2014. Summary of changes for version 20140325:
3248
3249 1) ACPICA kernel-resident subsystem:
3250
3251 Updated the auto-serialize feature for control methods. This feature 
3252 automatically serializes all methods that create named objects in order 
3253 to prevent runtime errors. The update adds support to ignore the 
3254 currently executing AML SyncLevel when invoking such a method, in order 
3255 to prevent disruption of any existing SyncLevel priorities that may exist 
3256 in the AML code. Although the use of SyncLevels is relatively rare, this 
3257 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
3258 appear on some machines starting with the 20140214 release.
3259
3260 Added a new external interface to allow the host to install ACPI tables 
3261 very early, before the namespace is even created. AcpiInstallTable gives 
3262 the host additional flexibility for ACPI table management. Tables can be 
3263 installed directly by the host as if they had originally appeared in the 
3264 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
3265 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
3266 with additional internal restructuring and cleanup. See the ACPICA 
3267 Reference for interface details. Lv Zheng.
3268
3269 Added validation of the checksum for all incoming dynamically loaded 
3270 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
3271 Zheng.
3272
3273 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
3274 and GPE handler removal. Restructured calls to eliminate possible race 
3275 conditions. Lv Zheng.
3276
3277 Added a warning for the use/execution of the ASL/AML Unload (table) 
3278 operator. This will help detect and identify machines that use this 
3279 operator if and when it is ever used. This operator has never been seen 
3280 in the field and the usage model and possible side-effects of the drastic 
3281 runtime action of a full table removal are unknown.
3282
3283 Reverted the use of #pragma push/pop which was introduced in the 20140214 
3284 release. It appears that push and pop are not implemented by enough 
3285 compilers to make the use of this feature feasible for ACPICA at this 
3286 time. However, these operators may be deployed in a future ACPICA 
3287 release.
3288
3289 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
3290 handler interfaces.
3291
3292 Source code generation:
3293 1) Disabled the use of the "strchr" macro for the gcc-specific 
3294 generation. For some versions of gcc, this macro can periodically expose 
3295 a compiler bug which in turn causes compile-time error(s).
3296 2) Added support for PPC64 compilation. Colin Ian King.
3297
3298 Example Code and Data Size: These are the sizes for the OS-independent 
3299 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3300 debug version of the code includes the debug output trace mechanism and 
3301 has a much larger code and data size.
3302
3303   Current Release:
3304     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
3305     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
3306   Previous Release:
3307     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3308     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3309
3310
3311 2) iASL Compiler/Disassembler and Tools:
3312
3313 Disassembler: Added several new features to improve the readability of 
3314 the resulting ASL code. Extra information is emitted within comment 
3315 fields in the ASL code:
3316 1) Known _HID/_CID values are decoded to descriptive text.
3317 2) Standard values for the Notify() operator are decoded to descriptive 
3318 text.
3319 3) Target operands are expanded to full pathnames (in a comment) when 
3320 possible.
3321
3322 Disassembler: Miscellaneous updates for extern() handling:
3323 1) Abort compiler if file specified by -fe option does not exist.
3324 2) Silence unnecessary warnings about argument count mismatches.
3325 3) Update warning messages concerning unresolved method externals.
3326 4) Emit "UnknownObj" keyword for externals whose type cannot be 
3327 determined.
3328
3329 AcpiHelp utility:
3330 1) Added the -a option to display both the ASL syntax and the AML 
3331 encoding for an input ASL operator. This effectively displays all known 
3332 information about an ASL operator with one AcpiHelp invocation.
3333 2) Added substring match support (similar to a wildcard) for the -i 
3334 (_HID/PNP IDs) option.
3335
3336 iASL/Disassembler: Since this tool does not yet support execution on big-
3337 endian machines, added detection of endianness and an error message if 
3338 execution is attempted on big-endian. Support for big-endian within iASL 
3339 is a feature that is on the ACPICA to-be-done list.
3340
3341 AcpiBin utility:
3342 1) Remove option to extract binary files from an acpidump; this function 
3343 is made obsolete by the AcpiXtract utility.
3344 2) General cleanup of open files and allocated buffers.
3345
3346
3347 ----------------------------------------
3348 14 February 2014. Summary of changes for version 20140214:
3349
3350 1) ACPICA kernel-resident subsystem:
3351
3352 Implemented a new mechanism to proactively prevent problems with ill-
3353 behaved reentrant control methods that create named ACPI objects. This 
3354 behavior is illegal as per the ACPI specification, but is nonetheless 
3355 frequently seen in the field. Previously, this could lead to an 
3356 AE_ALREADY_EXISTS exception if the method was actually entered by more 
3357 than one thread. This new mechanism detects such methods at table load 
3358 time and marks them "serialized" to prevent reentrancy. A new global 
3359 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
3360 feature if desired. This mechanism and global option obsoletes and 
3361 supersedes the previous AcpiGbl_SerializeAllMethods option.
3362
3363 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
3364 respond TRUE to _OSI queries with this string. It is the stated policy of 
3365 ACPICA to add new strings to the _OSI support as soon as possible after 
3366 they are defined. See the full ACPICA _OSI policy which has been added to 
3367 the utilities/utosi.c file.
3368
3369 Hardened/updated the _PRT return value auto-repair code:
3370 1) Do not abort the repair on a single subpackage failure, continue to 
3371 check all subpackages.
3372 2) Add check for the minimum subpackage length (4).
3373 3) Properly handle extraneous NULL package elements.
3374
3375 Added support to avoid the possibility of infinite loops when traversing 
3376 object linked lists. Never allow an infinite loop, even in the face of 
3377 corrupted object lists.
3378
3379 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
3380 pack(pop) directives to ensure that the ACPICA headers are independent of 
3381 compiler settings or other host headers.
3382
3383 Example Code and Data Size: These are the sizes for the OS-independent 
3384 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3385 debug version of the code includes the debug output trace mechanism and 
3386 has a much larger code and data size.
3387
3388   Current Release:
3389     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3390     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3391   Previous Release:
3392     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3393     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3394
3395
3396 2) iASL Compiler/Disassembler and Tools:
3397
3398 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
3399 first reserved field was incorrectly forced to have a value of zero. This 
3400 change correctly forces the field to have a value of one. ACPICA BZ 1081.
3401
3402 Debugger: Added missing support for the "Extra" and "Data" subobjects 
3403 when displaying object data.
3404
3405 Debugger: Added support to display entire object linked lists when 
3406 displaying object data.
3407
3408 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
3409 Windows registry. This feature has been superseded by the acpidump 
3410 utility. 
3411
3412
3413 ----------------------------------------
3414 14 January 2014. Summary of changes for version 20140114:
3415
3416 1) ACPICA kernel-resident subsystem:
3417
3418 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
3419 copyright to all module headers and signons, including the standard Linux 
3420 header. This affects virtually every file in the ACPICA core subsystem, 
3421 iASL compiler, all ACPICA utilities, and the test suites.
3422
3423 Improved parameter validation for AcpiInstallGpeBlock. Added the 
3424 following checks:
3425 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
3426 2) There is not already a GPE block attached to the device.
3427 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
3428 device.
3429
3430 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
3431 support to allow references (namespace nodes) to be passed as arguments 
3432 to control methods via the evaluate object interface. This is probably 
3433 most useful for testing purposes, however.
3434
3435 Improved support for 32/64 bit physical addresses in printf()-like 
3436 output. This change improves the support for physical addresses in printf 
3437 debug statements and other output on both 32-bit and 64-bit hosts. It 
3438 consistently outputs the appropriate number of bytes for each host. The 
3439 %p specifier is unsatisfactory since it does not emit uniform output on 
3440 all hosts/clib implementations (on some, leading zeros are not supported, 
3441 leading to difficult-to-read output).
3442
3443 Example Code and Data Size: These are the sizes for the OS-independent 
3444 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3445 debug version of the code includes the debug output trace mechanism and 
3446 has a much larger code and data size.
3447
3448   Current Release:
3449     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3450     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3451   Previous Release:
3452     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3453     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3454
3455
3456 2) iASL Compiler/Disassembler and Tools:
3457
3458 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
3459 problem if the parent Field definition for the Connection operator refers 
3460 to an operation region that does not exist. ACPICA BZ 1064.
3461
3462 AcpiExec: Load of local test tables is now optional. The utility has the 
3463 capability to load some various tables to test features of ACPICA. 
3464 However, there are enough of them that the output of the utility became 
3465 confusing. With this change, only the required local tables are displayed 
3466 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
3467 line specification. This makes the default output simler and easier to 
3468 understand. The -el command line option restores the original behavior 
3469 for testing purposes.
3470
3471 AcpiExec: Added support for overlapping operation regions. This change 
3472 expands the simulation of operation regions by supporting regions that 
3473 overlap within the given address space. Supports SystemMemory and 
3474 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
3475
3476 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
3477 allows AcpiExec to simulate these address spaces, similar to the current 
3478 support for SystemMemory and SystemIO.
3479
3480 Debugger: Added new command to read/write/compare all namespace objects. 
3481 The command "test objects" will exercise the entire namespace by writing 
3482 new values to each data object, and ensuring that the write was 
3483 successful. The original value is then restored and verified.
3484
3485 Debugger: Added the "test predefined" command. This change makes this 
3486 test public and puts it under the new "test" command. The test executes 
3487 each and every predefined name within the current namespace.
3488
3489
3490 ----------------------------------------
3491 18 December 2013. Summary of changes for version 20131218:
3492
3493 Global note: The ACPI 5.0A specification was released this month. There 
3494 are no changes needed for ACPICA since this release of ACPI is an 
3495 errata/clarification release. The specification is available at 
3496 acpi.info. 
3497
3498
3499 1) ACPICA kernel-resident subsystem:
3500
3501 Added validation of the XSDT root table if it is present. Some older 
3502 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
3503 as containing some or all entries that are NULL pointers). This change 
3504 adds a new function to validate the XSDT before actually using it. If the 
3505 XSDT is found to be invalid, ACPICA will now automatically fall back to 
3506 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
3507 ACPICA and enhanced by Lv Zheng and Bob Moore.
3508
3509 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
3510 This change adds a runtime option that will force ACPICA to use the RSDT 
3511 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
3512 requires that an XSDT be used instead of the RSDT, the XSDT has been 
3513 found to be corrupt or ill-formed on some machines. Lv Zheng.
3514
3515 Added a runtime option to favor 32-bit FADT register addresses over the 
3516 64-bit addresses. This change adds an option to favor 32-bit FADT 
3517 addresses when there is a conflict between the 32-bit and 64-bit versions 
3518 of the same register. The default behavior is to use the 64-bit version 
3519 in accordance with the ACPI specification. This can now be overridden via 
3520 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
3521
3522 During the change above, the internal "Convert FADT" and "Verify FADT" 
3523 functions have been merged to simplify the code, making it easier to 
3524 understand and maintain. ACPICA BZ 933.
3525
3526 Improve exception reporting and handling for GPE block installation. 
3527 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
3528 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
3529
3530 Added helper macros to extract bus/segment numbers from the HEST table. 
3531 This change adds two macros to extract the encoded bus and segment 
3532 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
3533 Betty Dall <betty.dall@hp.com>
3534
3535 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
3536 by ACPICA. It is not a public macro, so it should have no effect on 
3537 existing OSV code. Lv Zheng.
3538
3539 Example Code and Data Size: These are the sizes for the OS-independent 
3540 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3541 debug version of the code includes the debug output trace mechanism and 
3542 has a much larger code and data size.
3543
3544   Current Release:
3545     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3546     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3547   Previous Release:
3548     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3549     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3550
3551
3552 2) iASL Compiler/Disassembler and Tools:
3553
3554 Disassembler: Improved pathname support for emitted External() 
3555 statements. This change adds full pathname support for external names 
3556 that have been resolved internally by the inclusion of additional ACPI 
3557 tables (via the iASL -e option). Without this change, the disassembler 
3558 can emit multiple externals for the same object, or it become confused 
3559 when the Scope() operator is used on an external object. Overall, greatly 
3560 improves the ability to actually recompile the emitted ASL code when 
3561 objects a referenced across multiple ACPI tables. Reported by Michael 
3562 Tsirkin (mst@redhat.com).
3563
3564 Tests/ASLTS: Updated functional control suite to execute with no errors. 
3565 David Box. Fixed several errors related to the testing of the interpreter 
3566 slack mode. Lv Zheng.
3567
3568 iASL: Added support to detect names that are declared within a control 
3569 method, but are unused (these are temporary names that are only valid 
3570 during the time the method is executing). A remark is issued for these 
3571 cases. ACPICA BZ 1022.
3572
3573 iASL: Added full support for the DBG2 table. Adds full disassembler, 
3574 table compiler, and template generator support for the DBG2 table (Debug 
3575 Port 2 table).
3576
3577 iASL: Added full support for the PCCT table, update the table definition. 
3578 Updates the PCCT table definition in the actbl3.h header and adds table 
3579 compiler and template generator support.
3580
3581 iASL: Added an option to emit only error messages (no warnings/remarks). 
3582 The -ve option will enable only error messages, warnings and remarks are 
3583 suppressed. This can simplify debugging when only the errors are 
3584 important, such as when an ACPI table is disassembled and there are many 
3585 warnings and remarks -- but only the actual errors are of real interest.
3586
3587 Example ACPICA code (source/tools/examples): Updated the example code so 
3588 that it builds to an actual working program, not just example code. Added 
3589 ACPI tables and execution of an example control method in the DSDT. Added 
3590 makefile support for Unix generation.
3591
3592
3593 ----------------------------------------
3594 15 November 2013. Summary of changes for version 20131115:
3595
3596 This release is available at https://acpica.org/downloads
3597
3598
3599 1) ACPICA kernel-resident subsystem:
3600
3601 Resource Manager: Fixed loop termination for the "get AML length" 
3602 function. The loop previously had an error termination on a NULL resource 
3603 pointer, which can never happen since the loop simply increments a valid 
3604 resource pointer. This fix changes the loop to terminate with an error on 
3605 an invalid end-of-buffer condition. The problem can be seen as an 
3606 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
3607 corrupted resource descriptor, or a resource descriptor that is missing 
3608 an END_TAG descriptor. Reported by Dan Carpenter 
3609 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
3610
3611 Table unload and ACPICA termination: Delete all attached data objects 
3612 during namespace node deletion. This fix updates namespace node deletion 
3613 to delete the entire list of attached objects (attached via 
3614 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
3615 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
3616
3617 ACPICA termination: Added support to delete all objects attached to the 
3618 root namespace node. This fix deletes any and all objects that have been 
3619 attached to the root node via AcpiAttachData. Previously, none of these 
3620 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
3621
3622 Debug output: Do not emit the function nesting level for the in-kernel 
3623 build. The nesting level is really only useful during a single-thread 
3624 execution. Therefore, only enable this output for the AcpiExec utility. 
3625 Also, only emit the thread ID when executing under AcpiExec (Context 
3626 switches are still always detected and a message is emitted). ACPICA BZ 
3627 972.
3628
3629 Example Code and Data Size: These are the sizes for the OS-independent 
3630 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3631 debug version of the code includes the debug output trace mechanism and 
3632 has a much larger code and data size.
3633
3634   Current Release:
3635     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3636     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3637   Previous Release:
3638     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3639     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3640
3641
3642 2) iASL Compiler/Disassembler and Tools:
3643
3644 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
3645 correct portable POSIX header for terminal control functions.
3646
3647 Disassembler: Fixed control method invocation issues related to the use 
3648 of the CondRefOf() operator. The problem is seen in the disassembly where 
3649 control method invocations may not be disassembled properly if the 
3650 control method name has been used previously as an argument to CondRefOf. 
3651 The solution is to not attempt to emit an external declaration for the 
3652 CondRefOf target (it is not necessary in the first place). This prevents 
3653 disassembler object type confusion. ACPICA BZ 988.
3654
3655 Unix Makefiles: Added an option to disable compiler optimizations and the 
3656 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
3657 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
3658 command line option for make (NOOPT) that disables all compiler 
3659 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
3660 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
3661 1034. Lv Zheng, Bob Moore.
3662
3663 Tests/ASLTS: Added options to specify individual test cases and modes. 
3664 This allows testers running aslts.sh to optionally specify individual 
3665 test modes and test cases. Also added an option to disable the forced 
3666 generation of the ACPICA tools from source if desired. Lv Zheng.
3667
3668 ----------------------------------------
3669 27 September 2013. Summary of changes for version 20130927:
3670
3671 This release is available at https://acpica.org/downloads
3672
3673
3674 1) ACPICA kernel-resident subsystem:
3675
3676 Fixed a problem with store operations to reference objects. This change 
3677 fixes a problem where a Store operation to an ArgX object that contained 
3678
3679 reference to a field object did not complete the automatic dereference 
3680 and 
3681 then write to the actual field object. Instead, the object type of the 
3682 field object was inadvertently changed to match the type of the source 
3683 operand. The new behavior will actually write to the field object (buffer 
3684 field or field unit), thus matching the correct ACPI-defined behavior.
3685
3686 Implemented support to allow the host to redefine individual OSL 
3687 prototypes. This change enables the host to redefine OSL prototypes found 
3688 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
3689 with a macro or inlined function. Further, it allows the host to add any 
3690 additional required modifiers such as __iomem, __init, __exit, etc., as 
3691 necessary on a per-interface basis. Enables maximum flexibility for the 
3692 OSL interfaces. Lv Zheng.
3693
3694 Hardcoded the access width for the FADT-defined reset register. The ACPI 
3695 specification requires the reset register width to be 8 bits. ACPICA now 
3696 hardcodes the width to 8 and ignores the FADT width value. This provides 
3697 compatibility with other ACPI implementations that have allowed BIOS code 
3698 with bad register width values to go unnoticed. Matthew Garett, Bob 
3699 Moore, 
3700 Lv Zheng.
3701
3702 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
3703 used 
3704 in the OSL header (acpiosxf). The change modifies the position of this 
3705 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
3706 build issues if the OSL defines the implementation of the interface to be 
3707 an inline stub function. Lv Zheng.
3708
3709 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
3710 initialization interfaces. This change adds a new macro for the main init 
3711 and terminate external interfaces in order to support hosts that require 
3712 additional or different processing for these functions. Changed from 
3713 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
3714 Zheng, Bob Moore.
3715
3716 Cleaned up the memory allocation macros for configurability. In the 
3717 common 
3718 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
3719 respective AcpiOs* OSL interfaces. Two options:
3720 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
3721 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
3722 2) For AcpiExec (and for debugging), the macros can optionally be 
3723 resolved 
3724 to the local ACPICA interfaces that track each allocation (local tracking 
3725 is used to immediately detect memory leaks).
3726 Lv Zheng.
3727
3728 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
3729 to predefine this macro to either TRUE or FALSE during the system build.
3730
3731 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
3732
3733 Example Code and Data Size: These are the sizes for the OS-independent 
3734 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3735 debug version of the code includes the debug output trace mechanism and 
3736 has a much larger code and data size.
3737
3738   Current Release:
3739     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3740     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3741   Previous Release:
3742     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3743     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3744
3745
3746 2) iASL Compiler/Disassembler and Tools:
3747
3748 iASL: Implemented wildcard support for the -e option. This simplifies use 
3749 when there are many SSDTs that must be included to resolve external 
3750 method 
3751 declarations. ACPICA BZ 1041. Example:
3752     iasl -e ssdt*.dat -d dsdt.dat
3753
3754 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
3755 adds a portable module that implements full history and limited line 
3756 editing for Unix and Linux systems. It does not use readline() due to 
3757 portability issues. Instead it uses the POSIX termio interface to put the 
3758 terminal in raw input mode so that the various special keys can be 
3759 trapped 
3760 (such as up/down-arrow for history support and left/right-arrow for line 
3761 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
3762
3763 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
3764 one or more spaces. This provides compatible with early or different 
3765 versions of the AcpiDump utility. ACPICA BZ 1044.
3766
3767 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
3768 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
3769 no other data. This change adds support to dump these tables. Any tables 
3770 shorter than the length of an ACPI table header remain in error (an error 
3771 message is emitted). Reported by Yi Li.
3772
3773 Debugger: Echo actual command along with the "unknown command" message.
3774
3775 ----------------------------------------
3776 23 August 2013. Summary of changes for version 20130823:
3777
3778 1) ACPICA kernel-resident subsystem:
3779
3780 Implemented support for host-installed System Control Interrupt (SCI) 
3781 handlers. Certain ACPI functionality requires the host to handle raw 
3782 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
3783 state support requires the host device driver to handle SCIs to examine 
3784 if the doorbell has been activated. Multiple SCI handlers can be 
3785 installed to allow for future expansion. New external interfaces are 
3786 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
3787 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
3788
3789 Operation region support: Never locally free the handler "context" 
3790 pointer. This change removes some dangerous code that attempts to free 
3791 the handler context pointer in some (rare) circumstances. The owner of 
3792 the handler owns this pointer and the ACPICA code should never touch it. 
3793 Although not seen to be an issue in any kernel, it did show up as a 
3794 problem (fault) under AcpiExec. Also, set the internal storage field for 
3795 the context pointer to zero when the region is deactivated, simply for 
3796 sanity. David Box. ACPICA BZ 1039.
3797
3798 AcpiRead: On error, do not modify the return value target location. If an 
3799 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
3800 modify the target of the return value pointer. Makes the code consistent 
3801 with the rest of ACPICA. Bjorn Helgaas.
3802
3803 Example Code and Data Size: These are the sizes for the OS-independent 
3804 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3805 debug version of the code includes the debug output trace mechanism and 
3806 has a much larger code and data size.
3807
3808   Current Release:
3809     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3810     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3811   Previous Release:
3812     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3813     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
3814
3815
3816 2) iASL Compiler/Disassembler and Tools:
3817
3818 AcpiDump: Implemented several new features and fixed some problems:
3819 1) Added support to dump the RSDP, RSDT, and XSDT tables.
3820 2) Added support for multiple table instances (SSDT, UEFI).
3821 3) Added option to dump "customized" (overridden) tables (-c).
3822 4) Fixed a problem where some table filenames were improperly 
3823 constructed.
3824 5) Improved some error messages, removed some unnecessary messages.
3825
3826 iASL: Implemented additional support for disassembly of ACPI tables that 
3827 contain invocations of external control methods. The -fe<file> option 
3828 allows the import of a file that specifies the external methods along 
3829 with the required number of arguments for each -- allowing for the 
3830 correct disassembly of the table. This is a workaround for a limitation 
3831 of AML code where the disassembler often cannot determine the number of 
3832 arguments required for an external control method and generates incorrect 
3833 ASL code. See the iASL reference for details. ACPICA BZ 1030.
3834
3835 Debugger: Implemented a new command (paths) that displays the full 
3836 pathnames (namepaths) and object types of all objects in the namespace. 
3837 This is an alternative to the namespace command.
3838
3839 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
3840 mechanism and any installed handlers.
3841
3842 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
3843 This can occur if there are too many parent prefixes in a namepath (for 
3844 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3845
3846 Application OSLs: Set the return value for the PCI read functions. These 
3847 functions simply return AE_OK, but should set the return value to zero 
3848 also. This change implements this. ACPICA BZ 1038.
3849
3850 Debugger: Prevent possible command line buffer overflow. Increase the 
3851 size of a couple of the debugger line buffers, and ensure that overflow 
3852 cannot happen. ACPICA BZ 1037.
3853
3854 iASL: Changed to abort immediately on serious errors during the parsing 
3855 phase. Due to the nature of ASL, there is no point in attempting to 
3856 compile these types of errors, and they typically end up causing a 
3857 cascade of hundreds of errors which obscure the original problem.
3858
3859 ----------------------------------------
3860 25 July 2013. Summary of changes for version 20130725:
3861
3862 1) ACPICA kernel-resident subsystem:
3863
3864 Fixed a problem with the DerefOf operator where references to FieldUnits 
3865 and BufferFields incorrectly returned the parent object, not the actual 
3866 value of the object. After this change, a dereference of a FieldUnit 
3867 reference results in a read operation on the field to get the value, and 
3868 likewise, the appropriate BufferField value is extracted from the target 
3869 buffer.
3870
3871 Fixed a problem where the _WAK method could cause a fault under these 
3872 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
3873 method returned no value. The problem is rarely seen because most kernels 
3874 run ACPICA in slack mode.
3875
3876 For the DerefOf operator, a fatal error now results if an attempt is made 
3877 to dereference a reference (created by the Index operator) to a NULL 
3878 package element. Provides compatibility with other ACPI implementations, 
3879 and this behavior will be added to a future version of the ACPI 
3880 specification.
3881
3882 The ACPI Power Management Timer (defined in the FADT) is now optional. 
3883 This provides compatibility with other ACPI implementations and will 
3884 appear in the next version of the ACPI specification. If there is no PM 
3885 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
3886 zero in the FADT indicates no PM timer.
3887
3888 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
3889 allows the host to globally enable/disable all vendor strings, all 
3890 feature strings, or both. Intended to be primarily used for debugging 
3891 purposes only. Lv Zheng.
3892
3893 Expose the collected _OSI data to the host via a global variable. This 
3894 data tracks the highest level vendor ID that has been invoked by the BIOS 
3895 so that the host (and potentially ACPICA itself) can change behaviors 
3896 based upon the age of the BIOS.
3897
3898 Example Code and Data Size: These are the sizes for the OS-independent 
3899 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3900 debug version of the code includes the debug output trace mechanism and 
3901 has a much larger code and data size.
3902
3903   Current Release:
3904     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3905     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3906   Previous Release:
3907     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3908     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3909
3910
3911 2) iASL Compiler/Disassembler and Tools:
3912
3913 iASL: Created the following enhancements for the -so option (create 
3914 offset table):
3915 1)Add offsets for the last nameseg in each namepath for every supported 
3916 object type
3917 2)Add support for Processor, Device, Thermal Zone, and Scope objects
3918 3)Add the actual AML opcode for the parent object of every supported 
3919 object type
3920 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
3921
3922 Disassembler: Emit all unresolved external symbols in a single block. 
3923 These are external references to control methods that could not be 
3924 resolved, and thus, the disassembler had to make a guess at the number of 
3925 arguments to parse.
3926
3927 iASL: The argument to the -T option (create table template) is now 
3928 optional. If not specified, the default table is a DSDT, typically the 
3929 most common case.
3930
3931 ----------------------------------------
3932 26 June 2013. Summary of changes for version 20130626:
3933
3934 1) ACPICA kernel-resident subsystem:
3935
3936 Fixed an issue with runtime repair of the _CST object. Null or invalid 
3937 elements were not always removed properly. Lv Zheng. 
3938
3939 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
3940 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
3941 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
3942 makes the system-wide number of GPEs essentially unlimited.
3943
3944 Example Code and Data Size: These are the sizes for the OS-independent 
3945 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3946 debug version of the code includes the debug output trace mechanism and 
3947 has a much larger code and data size.
3948
3949   Current Release:
3950     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3951     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3952   Previous Release:
3953     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3954     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3955
3956
3957 2) iASL Compiler/Disassembler and Tools:
3958
3959 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
3960 hosts. Now supports Linux, FreeBSD, and Windows.
3961
3962 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
3963 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
3964
3965 iASL/Preprocessor: Implemented full support for nested 
3966 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
3967
3968 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
3969 max. The original purpose of this constraint was to limit the amount of 
3970 debug output. However, the string function in question (UtPrintString) is 
3971 now used for the disassembler also, where 256 bytes is insufficient. 
3972 Reported by RehabMan@GitHub.
3973
3974 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
3975 tables. ACPICA BZ 999. Lv Zheng.
3976
3977 iASL: Fixed a couple of error exit issues that could result in a "Could 
3978 not delete <file>" message during ASL compilation.
3979
3980 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
3981 the actual signatures for these tables are "FACP" and "APIC", 
3982 respectively.
3983
3984 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
3985 tables are allowed to have multiple instances.
3986
3987 ----------------------------------------
3988 17 May 2013. Summary of changes for version 20130517:
3989
3990 1) ACPICA kernel-resident subsystem:
3991
3992 Fixed a regression introduced in version 20130328 for _INI methods. This 
3993 change fixes a problem introduced in 20130328 where _INI methods are no 
3994 longer executed properly because of a memory block that was not 
3995 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
3996 <tomasz.nowicki@linaro.org>.
3997
3998 Fixed a possible problem with the new extended sleep registers in the 
3999 ACPI 
4000 5.0 FADT. Do not use these registers (even if populated) unless the HW-
4001 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
4002 1020. Lv Zheng.
4003
4004 Implemented return value repair code for _CST predefined objects: Sort 
4005 the 
4006 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
4007
4008 Implemented a debug-only option to disable loading of SSDTs from the 
4009 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
4010 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
4011 acglobal.h - ACPICA BZ 1005. Lv Zheng.
4012
4013 Fixed some issues in the ACPICA initialization and termination code: 
4014 Tomasz Nowicki <tomasz.nowicki@linaro.org>
4015 1) Clear events initialized flag upon event component termination. ACPICA 
4016 BZ 1013.
4017 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
4018 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
4019 4) Clear debug buffer global on termination to prevent possible multiple 
4020 delete. ACPICA BZ 1010.
4021
4022 Standardized all switch() blocks across the entire source base. After 
4023 many 
4024 years, different formatting for switch() had crept in. This change makes 
4025 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
4026
4027 Split some files to enhance ACPICA modularity and configurability:
4028 1) Split buffer dump routines into utilities/utbuffer.c
4029 2) Split internal error message routines into utilities/uterror.c
4030 3) Split table print utilities into tables/tbprint.c
4031 4) Split iASL command-line option processing into asloptions.c
4032
4033 Makefile enhancements:
4034 1) Support for all new files above.
4035 2) Abort make on errors from any subcomponent. Chao Guan.
4036 3) Add build support for Apple Mac OS X. Liang Qi.
4037
4038 Example Code and Data Size: These are the sizes for the OS-independent 
4039 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4040 debug version of the code includes the debug output trace mechanism and 
4041 has a much larger code and data size.
4042
4043   Current Release:
4044     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
4045     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
4046   Previous Release:
4047     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4048     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4049
4050
4051 2) iASL Compiler/Disassembler and Tools:
4052
4053 New utility: Implemented an easily portable version of the acpidump 
4054 utility to extract ACPI tables from the system (or a file) in an ASCII 
4055 hex 
4056 dump format. The top-level code implements the various command line 
4057 options, file I/O, and table dump routines. To port to a new host, only 
4058 three functions need to be implemented to get tables -- since this 
4059 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
4060 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
4061 1) The Windows version obtains the ACPI tables from the Registry.
4062 2) The Linux version is under development.
4063 3) Other hosts - If an OS-dependent module is submitted, it will be 
4064 distributed with ACPICA.
4065
4066 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
4067 restructuring/change to the initialization sequence caused this option to 
4068 no longer work properly.
4069
4070 iASL: Implemented a mechanism to disable specific warnings and remarks. 
4071 Adds a new command line option, "-vw <messageid> as well as "#pragma 
4072 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
4073
4074 iASL: Fix for too-strict package object validation. The package object 
4075 validation for return values from the predefined names is a bit too 
4076 strict, it does not allow names references within the package (which will 
4077 be resolved at runtime.) These types of references cannot be validated at 
4078 compile time. This change ignores named references within package objects 
4079 for names that return or define static packages.
4080
4081 Debugger: Fixed the 80-character command line limitation for the History 
4082 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
4083
4084 iASL: Added control method and package support for the -so option 
4085 (generates AML offset table for BIOS support.)
4086
4087 iASL: issue a remark if a non-serialized method creates named objects. If 
4088 a thread blocks within the method for any reason, and another thread 
4089 enters the method, the method will fail because an attempt will be made 
4090 to 
4091 create the same (named) object twice. In this case, issue a remark that 
4092 the method should be marked serialized. NOTE: may become a warning later. 
4093 ACPICA BZ 909.
4094
4095 ----------------------------------------
4096 18 April 2013. Summary of changes for version 20130418:
4097
4098 1) ACPICA kernel-resident subsystem:
4099
4100 Fixed a possible buffer overrun during some rare but specific field unit 
4101 read operations. This overrun can only happen if the DSDT version is 1 -- 
4102 meaning that all AML integers are 32 bits -- and the field length is 
4103 between 33 and 55 bits long. During the read, an internal buffer object 
4104 is 
4105 created for the field unit because the field is larger than an integer 
4106 (32 
4107 bits). However, in this case, the buffer will be incorrectly written 
4108 beyond the end because the buffer length is less than the internal 
4109 minimum 
4110 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
4111 long, but a full 8 bytes will be written.
4112
4113 Updated the Embedded Controller "orphan" _REG method support. This refers 
4114 to _REG methods under the EC device that have no corresponding operation 
4115 region. This is allowed by the ACPI specification. This update removes a 
4116 dependency on the existence an ECDT table. It will execute an orphan _REG 
4117 method as long as the operation region handler for the EC is installed at 
4118 the EC device node and not the namespace root. Rui Zhang (original 
4119 update), Bob Moore (update/integrate).
4120
4121 Implemented run-time argument typechecking for all predefined ACPI names 
4122 (_STA, _BIF, etc.) This change performs object typechecking on all 
4123 incoming arguments for all predefined names executed via 
4124 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
4125 passing correct object types as well as the correct number of arguments 
4126 (therefore identifying any issues immediately). Also, the ASL/namespace 
4127 definition of the predefined name is checked against the ACPI 
4128 specification for the proper argument count. Adds one new file, 
4129 nsarguments.c
4130
4131 Changed an exception code for the ASL UnLoad() operator. Changed the 
4132 exception code for the case where the input DdbHandle is invalid, from 
4133 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
4134
4135 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
4136 global makefile. The use of this flag causes compiler errors on earlier 
4137 versions of GCC, so it has been removed for compatibility.
4138
4139 Miscellaneous cleanup:
4140 1) Removed some unused/obsolete macros
4141 2) Fixed a possible memory leak in the _OSI support
4142 3) Removed an unused variable in the predefined name support
4143 4) Windows OSL: remove obsolete reference to a memory list field
4144
4145 Example Code and Data Size: These are the sizes for the OS-independent 
4146 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4147 debug version of the code includes the debug output trace mechanism and 
4148 has a much larger code and data size.
4149
4150   Current Release:
4151     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4152     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4153   Previous Release:
4154     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4155     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4156
4157
4158 2) iASL Compiler/Disassembler and Tools:
4159
4160 AcpiExec: Added installation of a handler for the SystemCMOS address 
4161 space. This prevents control method abort if a method accesses this 
4162 space.
4163
4164 AcpiExec: Added support for multiple EC devices, and now install EC 
4165 operation region handler(s) at the actual EC device instead of the 
4166 namespace root. This reflects the typical behavior of host operating 
4167 systems.
4168
4169 AcpiExec: Updated to ensure that all operation region handlers are 
4170 installed before the _REG methods are executed. This prevents a _REG 
4171 method from aborting if it accesses an address space has no handler. 
4172 AcpiExec installs a handler for every possible address space.
4173
4174 Debugger: Enhanced the "handlers" command to display non-root handlers. 
4175 This change enhances the handlers command to display handlers associated 
4176 with individual devices throughout the namespace, in addition to the 
4177 currently supported display of handlers associated with the root 
4178 namespace 
4179 node.
4180
4181 ASL Test Suite: Several test suite errors have been identified and 
4182 resolved, reducing the total error count during execution. Chao Guan.
4183
4184 ----------------------------------------
4185 28 March 2013. Summary of changes for version 20130328:
4186
4187 1) ACPICA kernel-resident subsystem:
4188
4189 Fixed several possible race conditions with the internal object reference 
4190 counting mechanism. Some of the external ACPICA interfaces update object 
4191 reference counts without holding the interpreter or namespace lock. This 
4192 change adds a spinlock to protect reference count updates on the internal 
4193 ACPICA objects. Reported by and with assistance from Andriy Gapon 
4194 (avg@FreeBSD.org).
4195
4196 FADT support: Removed an extraneous warning for very large GPE register 
4197 sets. This change removes a size mismatch warning if the legacy length 
4198 field for a GPE register set is larger than the 64-bit GAS structure can 
4199 accommodate. GPE register sets can be larger than the 255-bit width 
4200 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
4201
4202 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
4203 return from this interface. Handles a possible timeout case if 
4204 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
4205 "forever". Jung-uk Kim.
4206
4207 Predefined name support: Add allowed/required argument type information 
4208 to 
4209 the master predefined info table. This change adds the infrastructure to 
4210 enable typechecking on incoming arguments for all predefined 
4211 methods/objects. It does not actually contain the code that will fully 
4212 utilize this information, this is still under development. Also condenses 
4213 some duplicate code for the predefined names into a new module, 
4214 utilities/utpredef.c
4215
4216 Example Code and Data Size: These are the sizes for the OS-independent 
4217 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4218 debug version of the code includes the debug output trace mechanism and 
4219 has a much larger code and data size.
4220
4221   Previous Release:
4222     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4223     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4224   Current Release:
4225     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4226     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4227
4228
4229 2) iASL Compiler/Disassembler and Tools:
4230
4231 iASL: Implemented a new option to simplify the development of ACPI-
4232 related 
4233 BIOS code. Adds support for a new "offset table" output file. The -so 
4234 option will create a C table containing the AML table offsets of various 
4235 named objects in the namespace so that BIOS code can modify them easily 
4236 at 
4237 boot time. This can simplify BIOS runtime code by eliminating expensive 
4238 searches for "magic values", enhancing boot times and adding greater 
4239 reliability. With assistance from Lee Hamel.
4240
4241 iASL: Allow additional predefined names to return zero-length packages. 
4242 Now, all predefined names that are defined by the ACPI specification to 
4243 return a "variable-length package of packages" are allowed to return a 
4244 zero length top-level package. This allows the BIOS to tell the host that 
4245 the requested feature is not supported, and supports existing BIOS/ASL 
4246 code and practices.
4247
4248 iASL: Changed the "result not used" warning to an error. This is the case 
4249 where an ASL operator is effectively a NOOP because the result of the 
4250 operation is not stored anywhere. For example:
4251     Add (4, Local0)
4252 There is no target (missing 3rd argument), nor is the function return 
4253 value used. This is potentially a very serious problem -- since the code 
4254 was probably intended to do something, but for whatever reason, the value 
4255 was not stored. Therefore, this issue has been upgraded from a warning to 
4256 an error.
4257
4258 AcpiHelp: Added allowable/required argument types to the predefined names 
4259 info display. This feature utilizes the recent update to the predefined 
4260 names table (above).
4261
4262 ----------------------------------------
4263 14 February 2013. Summary of changes for version 20130214:
4264
4265 1) ACPICA Kernel-resident Subsystem:
4266
4267 Fixed a possible regression on some hosts: Reinstated the safe return 
4268 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
4269 evaluated only once. Although these macros are not needed for the ACPICA 
4270 code itself, they are often used by ACPI-related host device drivers 
4271 where 
4272 the safe feature may be necessary.
4273
4274 Fixed several issues related to the ACPI 5.0 reduced hardware support 
4275 (SOC): Now ensure that if the platform declares itself as hardware-
4276 reduced 
4277 via the FADT, the following functions become NOOPs (and always return 
4278 AE_OK) because ACPI is always enabled by definition on these machines:
4279   AcpiEnable
4280   AcpiDisable
4281   AcpiHwGetMode
4282   AcpiHwSetMode
4283
4284 Dynamic Object Repair: Implemented additional runtime repairs for 
4285 predefined name return values. Both of these repairs can simplify code in 
4286 the related device drivers that invoke these methods:
4287 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
4288 string to a Unicode buffer. 
4289 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
4290
4291 lone end tag descriptor in the following cases: A Return(0) was executed, 
4292 a null buffer was returned, or no object at all was returned (non-slack 
4293 mode only). Adds a new file, nsconvert.c
4294 ACPICA BZ 998. Bob Moore, Lv Zheng.
4295
4296 Resource Manager: Added additional code to prevent possible infinite 
4297 loops 
4298 while traversing corrupted or ill-formed resource template buffers. Check 
4299 for zero-length resource descriptors in all code that loops through 
4300 resource templates (the length field is used to index through the 
4301 template). This change also hardens the external AcpiWalkResources and 
4302 AcpiWalkResourceBuffer interfaces.
4303
4304 Local Cache Manager: Enhanced the main data structure to eliminate an 
4305 unnecessary mechanism to access the next object in the list. Actually 
4306 provides a small performance enhancement for hosts that use the local 
4307 ACPICA cache manager. Jung-uk Kim.
4308
4309 Example Code and Data Size: These are the sizes for the OS-independent 
4310 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4311 debug version of the code includes the debug output trace mechanism and 
4312 has a much larger code and data size.
4313
4314   Previous Release:
4315     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4316     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4317   Current Release:
4318     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4319     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4320
4321
4322 2) iASL Compiler/Disassembler and Tools:
4323
4324 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
4325 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
4326 that were made to the ACPI 5.0 specification.
4327
4328 iASL/Disassembler: Added full support for the following new ACPI tables:
4329   1) The MTMR table (MID Timer Table)
4330   2) The VRTC table (Virtual Real Time Clock Table).
4331 Includes header file, disassembler, table compiler, and template support 
4332 for both tables.
4333
4334 iASL: Implemented compile-time validation of package objects returned by 
4335 predefined names. This new feature validates static package objects 
4336 returned by the various predefined names defined to return packages. Both 
4337 object types and package lengths are validated, for both parent packages 
4338 and sub-packages, if any. The code is similar in structure and behavior 
4339 to 
4340 the runtime repair mechanism within the AML interpreter and uses the 
4341 existing predefined name information table. Adds a new file, aslprepkg.c. 
4342 ACPICA BZ 938.
4343
4344 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
4345 This feature detects a binary file with a valid ACPI table header and 
4346 invokes the disassembler automatically. Eliminates the need to 
4347 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
4348
4349 iASL/Disassembler: Added several warnings for the case where there are 
4350 unresolved control methods during the disassembly. This can potentially 
4351 cause errors when the output file is compiled, because the disassembler 
4352 assumes zero method arguments in these cases (it cannot determine the 
4353 actual number of arguments without resolution/definition of the method).
4354
4355 Debugger: Added support to display all resources with a single command. 
4356 Invocation of the resources command with no arguments will now display 
4357 all 
4358 resources within the current namespace.
4359
4360 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
4361 via the -e option.
4362
4363 ----------------------------------------
4364 17 January 2013. Summary of changes for version 20130117:
4365
4366 1) ACPICA Kernel-resident Subsystem:
4367
4368 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
4369 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
4370 objects to return a package containing one integer, most BIOS code 
4371 returns 
4372 two integers and the previous code reflects that. However, we also need 
4373 to 
4374 support BIOS code that actually implements to the ACPI spec, and this 
4375 change reflects this.
4376
4377 Fixed two issues with the ACPI_DEBUG_PRINT macros:
4378 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
4379 C compilers that require this support.
4380 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
4381 ACPI_DEBUG is already used by many of the various hosts.
4382
4383 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
4384 copyright to all module headers and signons, including the standard Linux 
4385 header. This affects virtually every file in the ACPICA core subsystem, 
4386 iASL compiler, all ACPICA utilities, and the test suites.
4387
4388 Example Code and Data Size: These are the sizes for the OS-independent 
4389 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4390 debug version of the code includes the debug output trace mechanism and 
4391 has a much larger code and data size.
4392
4393   Previous Release:
4394     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4395     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4396   Current Release:
4397     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4398     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4399
4400
4401 2) iASL Compiler/Disassembler and Tools:
4402
4403 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
4404 prevent a possible fault on some hosts. Some C libraries modify the arg 
4405 pointer parameter to vfprintf making it difficult to call it twice in the 
4406 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
4407 does not affect the Windows OSL since the Win C library does not modify 
4408 the arg pointer. Chao Guan, Bob Moore.
4409
4410 iASL: Fixed a possible infinite loop when the maximum error count is 
4411 reached. If an output file other than the .AML file is specified (such as 
4412 a listing file), and the maximum number of errors is reached, do not 
4413 attempt to flush data to the output file(s) as the compiler is aborting. 
4414 This can cause an infinite loop as the max error count code essentially 
4415 keeps calling itself.
4416
4417 iASL/Disassembler: Added an option (-in) to ignore NOOP 
4418 opcodes/operators. 
4419 Implemented for both the compiler and the disassembler. Often, the NOOP 
4420 opcode is used as padding for packages that are changed dynamically by 
4421 the 
4422 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
4423 errors. This option causes the disassembler to ignore all NOOP opcodes 
4424 (0xA3), and it also causes the compiler to ignore all ASL source code 
4425 NOOP 
4426 statements as well.
4427
4428 Debugger: Enhanced the Sleep command to execute all sleep states. This 
4429 change allows Sleep to be invoked with no arguments and causes the 
4430 debugger to execute all of the sleep states, 0-5, automatically.
4431
4432 ----------------------------------------
4433 20 December 2012. Summary of changes for version 20121220:
4434
4435 1) ACPICA Kernel-resident Subsystem:
4436
4437 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
4438 alternate entry point for AcpiWalkResources and improves the usability of 
4439 the resource manager by accepting as input a buffer containing the output 
4440 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
4441 input buffer is not deleted by this interface so that it can be used by 
4442 the host later. See the ACPICA reference for details.
4443
4444 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
4445 (DSDT version < 2). The constant will be truncated and this warning 
4446 reflects that behavior.
4447
4448 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
4449 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
4450 both get and set the new wake bit in these descriptors, separately from 
4451 the existing share bit. Reported by Aaron Lu.
4452
4453 Interpreter: Fix Store() when an implicit conversion is not possible. For 
4454 example, in the cases such as a store of a string to an existing package 
4455 object, implement the store as a CopyObject(). This is a small departure 
4456 from the ACPI specification which states that the control method should 
4457 be 
4458 aborted in this case. However, the ASLTS suite depends on this behavior.
4459
4460 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
4461 macros: check if debug output is currently enabled as soon as possible to 
4462 minimize performance impact if debug is in fact not enabled.
4463
4464 Source code restructuring: Cleanup to improve modularity. The following 
4465 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
4466 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
4467 Associated makefiles and project files have been updated.
4468
4469 Changed an exception code for LoadTable operator. For the case where one 
4470 of the input strings is too long, change the returned exception code from 
4471 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
4472
4473 Fixed a possible memory leak in dispatcher error path. On error, delete 
4474 the mutex object created during method mutex creation. Reported by 
4475 tim.gardner@canonical.com.
4476
4477 Example Code and Data Size: These are the sizes for the OS-independent 
4478 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4479 debug version of the code includes the debug output trace mechanism and 
4480 has a much larger code and data size.
4481
4482   Previous Release:
4483     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4484     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4485   Current Release:
4486     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4487     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4488
4489
4490 2) iASL Compiler/Disassembler and Tools:
4491
4492 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
4493 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
4494 will not allow the interpreter to differentiate between a method and a 
4495 method invocation when these are used as an argument to the ObjectType 
4496 operator. The ACPI specification change is to disallow a method 
4497 invocation 
4498 (UserTerm) for the ObjectType operator.
4499
4500 Finish support for the TPM2 and CSRT tables in the headers, table 
4501 compiler, and disassembler.
4502
4503 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
4504 always expires immediately if the semaphore is not available. The 
4505 original 
4506 code was using a relative-time timeout, but sem_timedwait requires the 
4507 use 
4508 of an absolute time.
4509
4510 iASL: Added a remark if the Timer() operator is used within a 32-bit 
4511 table. This operator returns a 64-bit time value that will be truncated 
4512 within a 32-bit table.
4513
4514 iASL Source code restructuring: Cleanup to improve modularity. The 
4515 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
4516 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
4517 been updated.
4518
4519
4520 ----------------------------------------
4521 14 November 2012. Summary of changes for version 20121114:
4522
4523 1) ACPICA Kernel-resident Subsystem:
4524
4525 Implemented a performance enhancement for ACPI/AML Package objects. This 
4526 change greatly increases the performance of Package objects within the 
4527 interpreter. It changes the processing of reference counts for packages 
4528 by 
4529 optimizing for the most common case where the package sub-objects are 
4530 either Integers, Strings, or Buffers. Increases the overall performance 
4531 of 
4532 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
4533 2X.) 
4534 Chao Guan. ACPICA BZ 943.
4535
4536 Implemented and deployed common macros to extract flag bits from resource 
4537 descriptors. Improves readability and maintainability of the code. Fixes 
4538
4539 problem with the UART serial bus descriptor for the number of data bits 
4540 flags (was incorrectly 2 bits, should be 3).
4541
4542 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
4543 of the macros and changed the SETx macros to the style of (destination, 
4544 source). Also added ACPI_CASTx companion macros. Lv Zheng.
4545
4546 Example Code and Data Size: These are the sizes for the OS-independent 
4547 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4548 debug version of the code includes the debug output trace mechanism and 
4549 has a much larger code and data size.
4550
4551   Previous Release:
4552     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4553     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4554   Current Release:
4555     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4556     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4557
4558
4559 2) iASL Compiler/Disassembler and Tools:
4560
4561 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
4562 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
4563 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
4564
4565 Disassembler: Fixed a problem with external declaration generation. Fixes 
4566 a problem where an incorrect pathname could be generated for an external 
4567 declaration if the original reference to the object includes leading 
4568 carats (^). ACPICA BZ 984.
4569
4570 Debugger: Completed a major update for the Disassemble<method> command. 
4571 This command was out-of-date and did not properly disassemble control 
4572 methods that had any reasonable complexity. This fix brings the command 
4573 up 
4574 to the same level as the rest of the disassembler. Adds one new file, 
4575 dmdeferred.c, which is existing code that is now common with the main 
4576 disassembler and the debugger disassemble command. ACPICA MZ 978.
4577
4578 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
4579 Newer versions of Bison emit this prototype, so moved the prototype out 
4580 of 
4581 the iASL header to where it is actually used in order to avoid a 
4582 duplicate 
4583 declaration.
4584
4585 iASL/Tools: Standardized use of the stream I/O functions:
4586   1) Ensure check for I/O error after every fopen/fread/fwrite
4587   2) Ensure proper order of size/count arguments for fread/fwrite
4588   3) Use test of (Actual != Requested) after all fwrite, and most fread
4589   4) Standardize I/O error messages
4590 Improves reliability and maintainability of the code. Bob Moore, Lv 
4591 Zheng. 
4592 ACPICA BZ 981.
4593
4594 Disassembler: Prevent duplicate External() statements. During generation 
4595 of external statements, detect similar pathnames that are actually 
4596 duplicates such as these:
4597   External (\ABCD)
4598   External (ABCD)
4599 Remove all leading '\' characters from pathnames during the external 
4600 statement generation so that duplicates will be detected and tossed. 
4601 ACPICA BZ 985.
4602
4603 Tools: Replace low-level I/O with stream I/O functions. Replace 
4604 open/read/write/close with the stream I/O equivalents 
4605 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
4606 Moore.
4607
4608 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
4609 name header so that AcpiXtract recognizes the output file/table.
4610
4611 iASL: Remove obsolete -2 option flag. Originally intended to force the 
4612 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
4613 and the entire concept is now obsolete.
4614
4615 ----------------------------------------
4616 18 October 2012. Summary of changes for version 20121018:
4617
4618
4619 1) ACPICA Kernel-resident Subsystem:
4620
4621 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
4622 introduced by late changes to the table as it was added to the ACPI 5.0 
4623 specification. Includes header, disassembler, and data table compiler 
4624 support as well as a new version of the MPST template.
4625
4626 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
4627 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
4628 methods: _HID, _CID, and _UID.
4629
4630 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
4631 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
4632 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
4633 names for their various drivers. Affects the AcpiGetObjectInfo external 
4634 interface, and other internal interfaces as well.
4635
4636 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
4637 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
4638 on machines that support non-aligned transfers. Optimizes for this case 
4639 rather than using a strncpy. With assistance from Zheng Lv.
4640
4641 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
4642 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
4643
4644 Added a new debug print message for AML mutex objects that are force-
4645 released. At control method termination, any currently acquired mutex 
4646 objects are force-released. Adds a new debug-only message for each one 
4647 that is released.
4648
4649 Audited/updated all ACPICA return macros and the function debug depth 
4650 counter: 1) Ensure that all functions that use the various TRACE macros 
4651 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
4652 return statements surround the return expression (value) with parens to 
4653 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
4654 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
4655
4656 Global source code changes/maintenance: All extra lines at the start and 
4657 end of each source file have been removed for consistency. Also, within 
4658 comments, all new sentences start with a single space instead of a double 
4659 space, again for consistency across the code base.
4660
4661 Example Code and Data Size: These are the sizes for the OS-independent 
4662 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4663 debug version of the code includes the debug output trace mechanism and 
4664 has a much larger code and data size.
4665
4666   Previous Release:
4667     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4668     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4669   Current Release:
4670     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4671     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4672
4673
4674 2) iASL Compiler/Disassembler and Tools:
4675
4676 AcpiExec: Improved the algorithm used for memory leak/corruption 
4677 detection. Added some intelligence to the code that maintains the global 
4678 list of allocated memory. The list is now ordered by allocated memory 
4679 address, significantly improving performance. When running AcpiExec on 
4680 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
4681 on the platform and/or the environment. Note, this performance 
4682 enhancement affects the AcpiExec utility only, not the kernel-resident 
4683 ACPICA code.
4684
4685 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
4686 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
4687 incorrect table offset reported for invalid opcodes. Report the original 
4688 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
4689
4690 Disassembler: Enhanced the -vt option to emit the binary table data in 
4691 hex format to assist with debugging.
4692
4693 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
4694 size of file structure. Colin Ian King.
4695
4696 ----------------------------------------
4697 13 September 2012. Summary of changes for version 20120913:
4698
4699
4700 1) ACPICA Kernel-resident Subsystem:
4701
4702 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
4703 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
4704 and 
4705 MCE(6).
4706  
4707 Table Manager: Merged/removed duplicate code in the root table resize 
4708 functions. One function is external, the other is internal. Lv Zheng, 
4709 ACPICA 
4710 BZ 846.
4711
4712 Makefiles: Completely removed the obsolete "Linux" makefiles under 
4713 acpica/generate/linux. These makefiles are obsolete and have been 
4714 replaced 
4715 by 
4716 the generic unix makefiles under acpica/generate/unix.
4717
4718 Makefiles: Ensure that binary files always copied properly. Minor rule 
4719 change 
4720 to ensure that the final binary output files are always copied up to the 
4721 appropriate binary directory (bin32 or bin64.)
4722
4723 Example Code and Data Size: These are the sizes for the OS-independent 
4724 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4725 debug 
4726 version of the code includes the debug output trace mechanism and has a 
4727 much 
4728 larger code and data size.
4729
4730   Previous Release:
4731     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4732     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4733   Current Release:
4734     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4735     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4736
4737
4738 2) iASL Compiler/Disassembler and Tools:
4739
4740 Disassembler: Fixed a possible fault during the disassembly of resource 
4741 descriptors when a second parse is required because of the invocation of 
4742 external control methods within the table. With assistance from 
4743 adq@lidskialf.net. ACPICA BZ 976.
4744
4745 iASL: Fixed a namepath optimization problem. An error can occur if the 
4746 parse 
4747 node that contains the namepath to be optimized does not have a parent 
4748 node 
4749 that is a named object. This change fixes the problem.
4750
4751 iASL: Fixed a regression where the AML file is not deleted on errors. The 
4752 AML 
4753 output file should be deleted if there are any errors during the 
4754 compiler. 
4755 The 
4756 only exception is if the -f (force output) option is used. ACPICA BZ 974.
4757
4758 iASL: Added a feature to automatically increase internal line buffer 
4759 sizes. 
4760 Via realloc(), automatically increase the internal line buffer sizes as 
4761 necessary to support very long source code lines. The current version of 
4762 the 
4763 preprocessor requires a buffer long enough to contain full source code 
4764 lines. 
4765 This change increases the line buffer(s) if the input lines go beyond the 
4766 current buffer size. This eliminates errors that occurred when a source 
4767 code 
4768 line was longer than the buffer.
4769
4770 iASL: Fixed a problem with constant folding in method declarations. The 
4771 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
4772 if a 
4773 Type3 opcode was used.
4774
4775 Debugger: Improved command help support. For incorrect argument count, 
4776 display 
4777 full help for the command. For help command itself, allow an argument to 
4778 specify a command.
4779
4780 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
4781 errors during execution of the suite. Guan Chao.
4782
4783 ----------------------------------------
4784 16 August 2012. Summary of changes for version 20120816:
4785
4786
4787 1) ACPICA Kernel-resident Subsystem:
4788
4789 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
4790 _GTS 
4791 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
4792 deprecated and will probably be removed from the ACPI specification. 
4793 Windows 
4794 does not invoke them, and reportedly never will. The final nail in the 
4795 coffin 
4796 is that the ACPI specification states that these methods must be run with 
4797 interrupts off, which is not going to happen in a kernel interpreter. 
4798 Note: 
4799 Linux has removed all use of the methods also. It was discovered that 
4800 invoking these functions caused failures on some machines, probably 
4801 because 
4802 they were never tested since Windows does not call them. Affects two 
4803 external 
4804 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
4805 ACPICA BZ 969.
4806
4807 Implemented support for complex bit-packed buffers returned from the _PLD 
4808 (Physical Location of Device) predefined method. Adds a new external 
4809 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
4810
4811 structure. Note: C Bitfields cannot be used for this type of predefined 
4812 structure since the memory layout of individual bitfields is not defined 
4813 by 
4814 the C language. In addition, there are endian concerns where a compiler 
4815 will 
4816 change the bitfield ordering based on the machine type. The new ACPICA 
4817 interface eliminates these issues, and should be called after _PLD is 
4818 executed. ACPICA BZ 954.
4819
4820 Implemented a change to allow a scope change to root (via "Scope (\)") 
4821 during 
4822 execution of module-level ASL code (code that is executed at table load 
4823 time.) Lin Ming.
4824
4825 Added the Windows8/Server2012 string for the _OSI method. This change 
4826 adds 
4827
4828 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
4829 2012.
4830
4831 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
4832 2) 
4833 and CSRT (Core System Resource Table).
4834
4835 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
4836 names. This simplifies access to the buffers returned by these predefined 
4837 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4838
4839 GPE support: Removed an extraneous parameter from the various low-level 
4840 internal GPE functions. Tang Feng.
4841
4842 Removed the linux makefiles from the unix packages. The generate/linux 
4843 makefiles are obsolete and have been removed from the unix tarball 
4844 release 
4845 packages. The replacement makefiles are under generate/unix, and there is 
4846
4847 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4848
4849 Updates for Unix makefiles:
4850 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
4851 2) Update linker flags (move to end of command line) for AcpiExec 
4852 utility. 
4853 Guan Chao.
4854
4855 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
4856 utxface.c to improve modularity and reduce file size.
4857
4858 Example Code and Data Size: These are the sizes for the OS-independent 
4859 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4860 debug version of the code includes the debug output trace mechanism and 
4861 has a 
4862 much larger code and data size.
4863
4864   Previous Release:
4865     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4866     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4867   Current Release:
4868     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4869     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4870
4871
4872 2) iASL Compiler/Disassembler and Tools:
4873
4874 iASL: Fixed a problem with constant folding for fixed-length constant 
4875 expressions. The constant-folding code was not being invoked for constant 
4876 expressions that allow the use of type 3/4/5 opcodes to generate 
4877 constants 
4878 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
4879 result 
4880 in the generation of invalid AML bytecode. ACPICA BZ 970.
4881
4882 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
4883 apparently automatically emit some of the necessary externals. This 
4884 change 
4885 handles these versions in order to eliminate generation warnings.
4886
4887 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
4888
4889 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
4890 appears 
4891 within comments in the output file.
4892
4893 Debugger: Fixed a regression with the "Threads" command where 
4894 AE_BAD_PARAMETER was always returned.
4895
4896 ----------------------------------------
4897 11 July 2012. Summary of changes for version 20120711:
4898
4899 1) ACPICA Kernel-resident Subsystem:
4900
4901 Fixed a possible fault in the return package object repair code. Fixes a 
4902 problem that can occur when a lone package object is wrapped with an 
4903 outer 
4904 package object in order to force conformance to the ACPI specification. 
4905 Can 
4906 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
4907 _DLM, 
4908 _CSD, _PSD, _TSD.
4909
4910 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
4911 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
4912 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
4913 state 
4914 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
4915 both 
4916 Intel and other vendors. (for Intel: ICH4-M and earlier)
4917
4918 This change removes the code to disable/enable bus master arbitration 
4919 during 
4920 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
4921 causes 
4922 resume problems on some machines. The change has been in use for over 
4923 seven 
4924 years within Linux.
4925
4926 Implemented two new external interfaces to support host-directed dynamic 
4927 ACPI 
4928 table load and unload. They are intended to simplify the host 
4929 implementation 
4930 of hot-plug support:
4931   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
4932   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
4933 table.
4934 See the ACPICA reference for additional details. Adds one new file, 
4935 components/tables/tbxfload.c
4936
4937 Implemented and deployed two new interfaces for errors and warnings that 
4938 are 
4939 known to be caused by BIOS/firmware issues:
4940   AcpiBiosError: Prints "ACPI Firmware Error" message.
4941   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
4942 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
4943 table 
4944 and FADT errors. Additional deployment to be completed as appropriate in 
4945 the 
4946 future. The associated conditional macros are ACPI_BIOS_ERROR and 
4947 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
4948 ACPICA 
4949 BZ 
4950 843.
4951
4952 Implicit notify support: ensure that no memory allocation occurs within a 
4953 critical region. This fix moves a memory allocation outside of the time 
4954 that a 
4955 spinlock is held. Fixes issues on systems that do not allow this 
4956 behavior. 
4957 Jung-uk Kim.
4958
4959 Split exception code utilities and tables into a new file, 
4960 utilities/utexcep.c
4961
4962 Example Code and Data Size: These are the sizes for the OS-independent 
4963 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4964 debug 
4965 version of the code includes the debug output trace mechanism and has a 
4966 much 
4967 larger code and data size.
4968
4969   Previous Release:
4970     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4971     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4972   Current Release:
4973     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4974     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4975
4976
4977 2) iASL Compiler/Disassembler and Tools:
4978
4979 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
4980 of 
4981 0. Jung-uk Kim.
4982
4983 Debugger: Enhanced the "tables" command to emit additional information 
4984 about 
4985 the current set of ACPI tables, including the owner ID and flags decode.
4986
4987 Debugger: Reimplemented the "unload" command to use the new 
4988 AcpiUnloadParentTable external interface. This command was disable 
4989 previously 
4990 due to need for an unload interface.
4991
4992 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
4993 option 
4994 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
4995
4996 ----------------------------------------
4997 20 June 2012. Summary of changes for version 20120620:
4998
4999
5000 1) ACPICA Kernel-resident Subsystem:
5001
5002 Implemented support to expand the "implicit notify" feature to allow 
5003 multiple 
5004 devices to be notified by a single GPE. This feature automatically 
5005 generates a 
5006 runtime device notification in the absence of a BIOS-provided GPE control 
5007 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
5008 notify is 
5009 provided by ACPICA for Windows compatibility, and is a workaround for 
5010 BIOS 
5011 AML 
5012 code errors. See the description of the AcpiSetupGpeForWake interface in 
5013 the 
5014 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
5015
5016 Changed some comments and internal function names to simplify and ensure 
5017 correctness of the Linux code translation. No functional changes.
5018
5019 Example Code and Data Size: These are the sizes for the OS-independent 
5020 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5021 debug 
5022 version of the code includes the debug output trace mechanism and has a 
5023 much 
5024 larger code and data size.
5025
5026   Previous Release:
5027     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
5028     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
5029   Current Release:
5030     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
5031     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
5032
5033
5034 2) iASL Compiler/Disassembler and Tools:
5035
5036 Disassembler: Added support to emit short, commented descriptions for the 
5037 ACPI 
5038 predefined names in order to improve the readability of the disassembled 
5039 output. ACPICA BZ 959. Changes include:
5040   1) Emit descriptions for all standard predefined names (_INI, _STA, 
5041 _PRW, 
5042 etc.)
5043   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
5044   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
5045 etc.)
5046
5047 AcpiSrc: Fixed several long-standing Linux code translation issues. 
5048 Argument 
5049 descriptions in function headers are now translated properly to lower 
5050 case 
5051 and 
5052 underscores. ACPICA BZ 961. Also fixes translation problems such as 
5053 these: 
5054 (old -> new)
5055   i_aSL -> iASL
5056   00-7_f -> 00-7F
5057   16_k -> 16K
5058   local_fADT -> local_FADT
5059   execute_oSI -> execute_OSI
5060
5061 iASL: Fixed a problem where null bytes were inadvertently emitted into 
5062 some 
5063 listing files.
5064
5065 iASL: Added the existing debug options to the standard help screen. There 
5066 are 
5067 no longer two different help screens. ACPICA BZ 957.
5068
5069 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
5070 Also 
5071 expand some of the descriptions where appropriate.
5072
5073 iASL: Fixed the -ot option (display compile times/statistics). Was not 
5074 working 
5075 properly for standard output; only worked for the debug file case.
5076
5077 ----------------------------------------
5078 18 May 2012. Summary of changes for version 20120518:
5079
5080
5081 1) ACPICA Core Subsystem:
5082
5083 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
5084 defined 
5085 to block until asynchronous events such as notifies and GPEs have 
5086 completed. 
5087 Within ACPICA, it is only called before a notify or GPE handler is 
5088 removed/uninstalled. It also may be useful for the host OS within related 
5089 drivers such as the Embedded Controller driver. See the ACPICA reference 
5090 for 
5091 additional information. ACPICA BZ 868.
5092
5093 ACPI Tables: Added a new error message for a possible overflow failure 
5094 during 
5095 the conversion of FADT 32-bit legacy register addresses to internal 
5096 common 
5097 64-
5098 bit GAS structure representation. The GAS has a one-byte "bit length" 
5099 field, 
5100 thus limiting the register length to 255 bits. ACPICA BZ 953.
5101
5102 Example Code and Data Size: These are the sizes for the OS-independent 
5103 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5104 debug 
5105 version of the code includes the debug output trace mechanism and has a 
5106 much 
5107 larger code and data size.
5108
5109   Previous Release:
5110     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5111     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5112   Current Release:
5113     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
5114     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
5115
5116
5117 2) iASL Compiler/Disassembler and Tools:
5118
5119 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
5120 macro. 
5121 This keyword was added late in the ACPI 5.0 release cycle and was not 
5122 implemented until now.
5123
5124 Disassembler: Added support for Operation Region externals. Adds missing 
5125 support for operation regions that are defined in another table, and 
5126 referenced locally via a Field or BankField ASL operator. Now generates 
5127 the 
5128 correct External statement.
5129
5130 Disassembler: Several additional fixes for the External() statement 
5131 generation 
5132 related to some ASL operators. Also, order the External() statements 
5133 alphabetically in the disassembler output. Fixes the External() 
5134 generation 
5135 for 
5136 the Create* field, Alias, and Scope operators:
5137  1) Create* buffer field operators - fix type mismatch warning on 
5138 disassembly
5139  2) Alias - implement missing External support
5140  3) Scope - fix to make sure all necessary externals are emitted.
5141
5142 iASL: Improved pathname support. For include files, merge the prefix 
5143 pathname 
5144 with the file pathname and eliminate unnecessary components. Convert 
5145 backslashes in all pathnames to forward slashes, for readability. Include 
5146 file 
5147 pathname changes affect both #include and Include() type operators.
5148
5149 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
5150 end 
5151 of a valid line by inserting a newline and then returning the EOF during 
5152 the 
5153 next call to GetNextLine. Prevents the line from being ignored due to EOF 
5154 condition.
5155
5156 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
5157 Error 
5158 and Warning messages are now correctly recognized for both the source 
5159 code 
5160 browser and the global error and warning counts.
5161
5162 ----------------------------------------
5163 20 April 2012. Summary of changes for version 20120420:
5164
5165
5166 1) ACPICA Core Subsystem:
5167
5168 Implemented support for multiple notify handlers. This change adds 
5169 support 
5170 to 
5171 allow multiple system and device notify handlers on Device, Thermal Zone, 
5172 and 
5173 Processor objects. This can simplify the host OS notification 
5174 implementation. 
5175 Also re-worked and restructured the entire notify support code to 
5176 simplify 
5177 handler installation, handler removal, notify event queuing, and notify 
5178 dispatch to handler(s). Note: there can still only be two global notify 
5179 handlers - one for system notifies and one for device notifies. There are 
5180 no 
5181 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
5182 Moore, Rafael Wysocki.
5183
5184 Fixed a regression in the package repair code where the object reference 
5185 count was calculated incorrectly. Regression was introduced in the commit 
5186 "Support to add Package wrappers".
5187
5188 Fixed a couple possible memory leaks in the AML parser, in the error 
5189 recovery 
5190 path. Jesper Juhl, Lin Ming.
5191
5192 Example Code and Data Size: These are the sizes for the OS-independent 
5193 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5194 debug version of the code includes the debug output trace mechanism and 
5195 has a 
5196 much larger code and data size.
5197
5198   Previous Release:
5199     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5200     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5201   Current Release:
5202     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5203     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5204
5205
5206 2) iASL Compiler/Disassembler and Tools:
5207
5208 iASL: Fixed a problem with the resource descriptor support where the 
5209 length 
5210 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
5211 included in cumulative descriptor offset, resulting in incorrect values 
5212 for 
5213 resource tags within resource descriptors appearing after a 
5214 StartDependent* 
5215 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
5216
5217 iASL and Preprocessor: Implemented full support for the #line directive 
5218 to 
5219 correctly track original source file line numbers through the .i 
5220 preprocessor 
5221 output file - for error and warning messages.
5222
5223 iASL: Expand the allowable byte constants for address space IDs. 
5224 Previously, 
5225 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
5226 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
5227
5228 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
5229
5230 iASL: Add option to completely disable the preprocessor (-Pn).
5231
5232 iASL: Now emit all error/warning messages to standard error (stderr) by 
5233 default (instead of the previous stdout).
5234
5235 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
5236 Update 
5237 for resource descriptor offset fix above. Update/cleanup error output 
5238 routines. Enable and send iASL errors/warnings to an error logfile 
5239 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
5240 Fixed 
5241 several extraneous "unrecognized operator" messages.
5242
5243 ----------------------------------------
5244 20 March 2012. Summary of changes for version 20120320:
5245
5246
5247 1) ACPICA Core Subsystem:
5248
5249 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
5250 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
5251 apparently 
5252 does not execute these methods, and therefore these methods are often 
5253 untested. It has been seen on some systems where the execution of these 
5254 methods causes errors and also prevents the machine from entering S5. It 
5255 is 
5256 therefore suggested that host operating systems do not execute these 
5257 methods 
5258 by default. In the future, perhaps these methods can be optionally 
5259 executed 
5260 based on the age of the system and/or what is the newest version of 
5261 Windows 
5262 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
5263 and 
5264 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
5265 Ming.
5266
5267 Fixed a problem where the length of the local/common FADT was set too 
5268 early. 
5269 The local FADT table length cannot be set to the common length until the 
5270 original length has been examined. There is code that checks the table 
5271 length 
5272 and sets various fields appropriately. This can affect older machines 
5273 with 
5274 early FADT versions. For example, this can cause inadvertent writes to 
5275 the 
5276 CST_CNT register. Julian Anastasov.
5277
5278 Fixed a mapping issue related to a physical table override. Use the 
5279 deferred 
5280 mapping mechanism for tables loaded via the physical override OSL 
5281 interface. 
5282 This allows for early mapping before the virtual memory manager is 
5283 available. 
5284 Thomas Renninger, Bob Moore.
5285
5286 Enhanced the automatic return-object repair code: Repair a common problem 
5287 with 
5288 predefined methods that are defined to return a variable-length Package 
5289 of 
5290 sub-objects. If there is only one sub-object, some BIOS ASL code 
5291 mistakenly 
5292 simply returns the single object instead of a Package with one sub-
5293 object. 
5294 This new support will repair this error by wrapping a Package object 
5295 around 
5296 the original object, creating the correct and expected Package with one 
5297 sub-
5298 object. Names that can be repaired in this manner include: _ALR, _CSD, 
5299 _HPX, 
5300 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
5301 939.
5302
5303 Changed the exception code returned for invalid ACPI paths passed as 
5304 parameters to external interfaces such as AcpiEvaluateObject. Was 
5305 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
5306
5307 Example Code and Data Size: These are the sizes for the OS-independent 
5308 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5309 debug 
5310 version of the code includes the debug output trace mechanism and has a 
5311 much 
5312 larger code and data size.
5313
5314   Previous Release:
5315     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5316     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5317   Current Release:
5318     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5319     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5320
5321
5322 2) iASL Compiler/Disassembler and Tools:
5323
5324 iASL: Added the infrastructure and initial implementation of a integrated 
5325 C-
5326 like preprocessor. This will simplify BIOS development process by 
5327 eliminating 
5328 the need for a separate preprocessing step during builds. On Windows, it 
5329 also 
5330 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
5331 features including full #define() macro support are still under 
5332 development. 
5333 These preprocessor directives are supported:
5334     #define
5335     #elif
5336     #else
5337     #endif
5338     #error
5339     #if
5340     #ifdef
5341     #ifndef
5342     #include
5343     #pragma message
5344     #undef
5345     #warning
5346 In addition, these new command line options are supported:
5347     -D <symbol> Define symbol for preprocessor use
5348     -li         Create preprocessed output file (*.i)
5349     -P          Preprocess only and create preprocessor output file (*.i)
5350
5351 Table Compiler: Fixed a problem where the equals operator within an 
5352 expression 
5353 did not work properly.
5354
5355 Updated iASL to use the current versions of Bison/Flex. Updated the 
5356 Windows 
5357 project file to invoke these tools from the standard location. ACPICA BZ 
5358 904. 
5359 Versions supported:
5360     Flex for Windows:  V2.5.4
5361     Bison for Windows: V2.4.1
5362
5363 ----------------------------------------
5364 15 February 2012. Summary of changes for version 20120215:
5365
5366
5367 1) ACPICA Core Subsystem:
5368
5369 There have been some major changes to the sleep/wake support code, as 
5370 described below (a - e).
5371
5372 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
5373 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
5374 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
5375 the 
5376 time the _BFS method is called and the _WAK method is called. NOTE: all 
5377 hosts 
5378 must update their wake/resume code or else sleep/wake will not work 
5379 properly. 
5380 Rafael Wysocki.
5381
5382 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
5383 _WAK 
5384 method. Some machines require that the GPEs are enabled before the _WAK 
5385 method 
5386 is executed. Thomas Renninger.
5387
5388 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
5389 bit. 
5390 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
5391 to 
5392 determine whether the system is rebooting or resuming. Matthew Garrett.
5393
5394 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
5395 Sleep) to 
5396 match the ACPI specification requirement. Rafael Wysocki.
5397
5398 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
5399 registers within the V5 FADT. This support adds two new files: 
5400 hardware/hwesleep.c implements the support for the new registers. Moved 
5401 all 
5402 sleep/wake external interfaces to hardware/hwxfsleep.c.
5403
5404
5405 Added a new OSL interface for ACPI table overrides, 
5406 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
5407 table via a physical address, instead of the logical address required by 
5408 AcpiOsTableOverride. This simplifies the host implementation. Initial 
5409 implementation by Thomas Renninger. The ACPICA implementation creates a 
5410 single 
5411 shared function for table overrides that attempts both a logical and a 
5412 physical override.
5413
5414 Expanded the OSL memory read/write interfaces to 64-bit data 
5415 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
5416 transfer support for GAS register structures passed to AcpiRead and 
5417 AcpiWrite.
5418
5419 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
5420 custom 
5421 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
5422 model. 
5423 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
5424 about 
5425 10% of the code and 5% of the static data, and the following hardware 
5426 ACPI 
5427 features become unavailable:
5428     PM Event and Control registers
5429     SCI interrupt (and handler)
5430     Fixed Events
5431     General Purpose Events (GPEs)
5432     Global Lock
5433     ACPI PM timer
5434     FACS table (Waking vectors and Global Lock)
5435
5436 Updated the unix tarball directory structure to match the ACPICA git 
5437 source 
5438 tree. This ensures that the generic unix makefiles work properly (in 
5439 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
5440 867.
5441
5442 Updated the return value of the _REV predefined method to integer value 5 
5443 to 
5444 reflect ACPI 5.0 support.
5445
5446 Moved the external ACPI PM timer interface prototypes to the public 
5447 acpixf.h 
5448 file where they belong.
5449
5450 Example Code and Data Size: These are the sizes for the OS-independent 
5451 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5452 debug 
5453 version of the code includes the debug output trace mechanism and has a 
5454 much 
5455 larger code and data size.
5456
5457   Previous Release:
5458     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5459     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5460   Current Release:
5461     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5462     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5463
5464
5465 2) iASL Compiler/Disassembler and Tools:
5466
5467 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
5468 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
5469 incorrectly displayed.
5470
5471 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
5472 specification.
5473
5474 ----------------------------------------
5475 11 January 2012. Summary of changes for version 20120111:
5476
5477
5478 1) ACPICA Core Subsystem:
5479
5480 Implemented a new mechanism to allow host device drivers to check for 
5481 address 
5482 range conflicts with ACPI Operation Regions. Both SystemMemory and 
5483 SystemIO 
5484 address spaces are supported. A new external interface, 
5485 AcpiCheckAddressRange, 
5486 allows drivers to check an address range against the ACPI namespace. See 
5487 the 
5488 ACPICA reference for additional details. Adds one new file, 
5489 utilities/utaddress.c. Lin Ming, Bob Moore.
5490
5491 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
5492 Control 
5493 and 
5494 Status registers, update the ACPI 5.0 flags, and update internal data 
5495 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
5496 5.0 
5497 FADT is 268 bytes.
5498
5499 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
5500 copyright to 
5501 all module headers and signons, including the standard Linux header. This 
5502 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
5503 and 
5504 all ACPICA utilities.
5505
5506 Example Code and Data Size: These are the sizes for the OS-independent 
5507 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5508 debug 
5509 version of the code includes the debug output trace mechanism and has a 
5510 much 
5511 larger code and data size.
5512
5513   Previous Release:
5514     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5515     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5516   Current Release:
5517     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5518     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5519
5520
5521 2) iASL Compiler/Disassembler and Tools:
5522
5523 Disassembler: fixed a problem with the automatic resource tag generation 
5524 support. Fixes a problem where the resource tags are inadvertently not 
5525 constructed if the table being disassembled contains external references 
5526 to 
5527 control methods. Moved the actual construction of the tags to after the 
5528 final 
5529 namespace is constructed (after 2nd parse is invoked due to external 
5530 control 
5531 method references.) ACPICA BZ 941.
5532
5533 Table Compiler: Make all "generic" operators caseless. These are the 
5534 operators 
5535 like UINT8, String, etc. Making these caseless improves ease-of-use. 
5536 ACPICA BZ 
5537 934.
5538
5539 ----------------------------------------
5540 23 November 2011. Summary of changes for version 20111123:
5541
5542 0) ACPI 5.0 Support:
5543
5544 This release contains full support for the ACPI 5.0 specification, as 
5545 summarized below.
5546
5547 Reduced Hardware Support:
5548 -------------------------
5549
5550 This support allows for ACPI systems without the usual ACPI hardware. 
5551 This 
5552 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
5553 will 
5554 not attempt to initialize or use any of the usual ACPI hardware. Note, 
5555 when 
5556 this flag is set, all of the following ACPI hardware is assumed to be not 
5557 present and is not initialized or accessed:
5558
5559     General Purpose Events (GPEs)
5560     Fixed Events (PM1a/PM1b and PM Control)
5561     Power Management Timer and Console Buttons (power/sleep)
5562     Real-time Clock Alarm
5563     Global Lock
5564     System Control Interrupt (SCI)
5565     The FACS is assumed to be non-existent
5566
5567 ACPI Tables:
5568 ------------
5569
5570 All new tables and updates to existing tables are fully supported in the 
5571 ACPICA headers (for use by device drivers), the disassembler, and the 
5572 iASL 
5573 Data Table Compiler. ACPI 5.0 defines these new tables:
5574
5575     BGRT        /* Boot Graphics Resource Table */
5576     DRTM        /* Dynamic Root of Trust for Measurement table */
5577     FPDT        /* Firmware Performance Data Table */
5578     GTDT        /* Generic Timer Description Table */
5579     MPST        /* Memory Power State Table */
5580     PCCT        /* Platform Communications Channel Table */
5581     PMTT        /* Platform Memory Topology Table */
5582     RASF        /* RAS Feature table */
5583
5584 Operation Regions/SpaceIDs:
5585 ---------------------------
5586
5587 All new operation regions are fully supported by the iASL compiler, the 
5588 disassembler, and the ACPICA runtime code (for dispatch to region 
5589 handlers.) 
5590 The new operation region Space IDs are:
5591
5592     GeneralPurposeIo
5593     GenericSerialBus
5594
5595 Resource Descriptors:
5596 ---------------------
5597
5598 All new ASL resource descriptors are fully supported by the iASL 
5599 compiler, 
5600 the 
5601 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
5602 (including 
5603 all new predefined resource tags). New descriptors are:
5604
5605     FixedDma
5606     GpioIo
5607     GpioInt
5608     I2cSerialBus
5609     SpiSerialBus
5610     UartSerialBus
5611
5612 ASL/AML Operators, New and Modified:
5613 ------------------------------------
5614
5615 One new operator is added, the Connection operator, which is used to 
5616 associate 
5617 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
5618 individual 
5619 field objects within an operation region. Several new protocols are 
5620 associated 
5621 with the AccessAs operator. All are fully supported by the iASL compiler, 
5622 disassembler, and runtime ACPICA AML interpreter:
5623
5624     Connection                      // Declare Field Connection 
5625 attributes
5626     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
5627     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
5628 Protocol
5629     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
5630     RawDataBuffer                       // Data type for Vendor Data 
5631 fields
5632
5633 Predefined ASL/AML Objects:
5634 ---------------------------
5635
5636 All new predefined objects/control-methods are supported by the iASL 
5637 compiler 
5638 and the ACPICA runtime validation/repair (arguments and return values.) 
5639 New 
5640 predefined names include the following:
5641
5642 Standard Predefined Names (Objects or Control Methods):
5643     _AEI, _CLS, _CPC, _CWS, _DEP,
5644     _DLM, _EVT, _GCP, _CRT, _GWS,
5645     _HRV, _PRE, _PSE, _SRT, _SUB.
5646
5647 Resource Tags (Names used to access individual fields within resource 
5648 descriptors):
5649     _DBT, _DPL, _DRS, _END, _FLC,
5650     _IOR, _LIN, _MOD, _PAR, _PHA,
5651     _PIN, _PPI, _POL, _RXL, _SLV,
5652     _SPE, _STB, _TXL, _VEN.
5653
5654 ACPICA External Interfaces:
5655 ---------------------------
5656
5657 Several new interfaces have been defined for use by ACPI-related device 
5658 drivers and other host OS services:
5659
5660 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
5661 to 
5662 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
5663 provided by the BIOS. They are intended to be used in conjunction with 
5664 the 
5665 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
5666 mutual exclusion with the AML code/interpreter.
5667
5668 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
5669 defined 
5670 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
5671 provides 
5672 resource descriptors associated with hardware-reduced platform events, 
5673 similar 
5674 to the AcpiGetCurrentResources interface.
5675
5676 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
5677 operation regions, information about the Connection() object and any 
5678 optional 
5679 length information is passed to the region handler within the Context 
5680 parameter.
5681
5682 AcpiBufferToResource: This interface converts a raw AML buffer containing 
5683
5684 resource template or resource descriptor to the ACPI_RESOURCE internal 
5685 format 
5686 suitable for use by device drivers. Can be used by an operation region 
5687 handler 
5688 to convert the Connection() buffer object into a ACPI_RESOURCE.
5689
5690 Miscellaneous/Tools/TestSuites: 
5691 -------------------------------
5692
5693 Support for extended _HID names (Four alpha characters instead of three).
5694 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
5695 Support for ACPI 5.0 features in the ASLTS test suite.
5696 Fully updated documentation (ACPICA and iASL reference documents.)
5697
5698 ACPI Table Definition Language:
5699 -------------------------------
5700
5701 Support for this language was implemented and released as a subsystem of 
5702 the 
5703 iASL compiler in 2010. (See the iASL compiler User Guide.)
5704
5705
5706 Non-ACPI 5.0 changes for this release:
5707 --------------------------------------
5708
5709 1) ACPICA Core Subsystem:
5710
5711 Fix a problem with operation region declarations where a failure can 
5712 occur 
5713 if 
5714 the region name and an argument that evaluates to an object (such as the 
5715 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
5716 937.
5717
5718 Do not abort an ACPI table load if an invalid space ID is found within. 
5719 This 
5720 will be caught later if the offending method is executed. ACPICA BZ 925.
5721
5722 Fixed an issue with the FFixedHW space ID where the ID was not always 
5723 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
5724
5725 Fixed a problem with the 32-bit generation of the unix-specific OSL 
5726 (osunixxf.c). Lin Ming, ACPICA BZ 936.
5727
5728 Several changes made to enable generation with the GCC 4.6 compiler. 
5729 ACPICA BZ 
5730 935.
5731
5732 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
5733 Index/Bank 
5734 field registers out-of-range.
5735
5736 2) iASL Compiler/Disassembler and Tools:
5737
5738 iASL: Implemented the __PATH__ operator, which returns the full pathname 
5739 of 
5740 the current source file.
5741
5742 AcpiHelp: Automatically display expanded keyword information for all ASL 
5743 operators.
5744
5745 Debugger: Add "Template" command to disassemble/dump resource template 
5746 buffers.
5747
5748 Added a new master script to generate and execute the ASLTS test suite. 
5749 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
5750
5751 iASL: Fix problem with listing generation during processing of the 
5752 Switch() 
5753 operator where AML listing was disabled until the entire Switch block was 
5754 completed.
5755
5756 iASL: Improve support for semicolon statement terminators. Fix "invalid 
5757 character" message for some cases when the semicolon is used. Semicolons 
5758 are 
5759 now allowed after every <Term> grammar element. ACPICA BZ 927.
5760
5761 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
5762 923.
5763
5764 Disassembler: Fix problem with disassembly of the DataTableRegion 
5765 operator 
5766 where an inadvertent "Unhandled deferred opcode" message could be 
5767 generated.
5768
5769 3) Example Code and Data Size
5770
5771 These are the sizes for the OS-independent acpica.lib produced by the 
5772 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5773 includes the debug output trace mechanism and has a much larger code and 
5774 data 
5775 size.
5776
5777   Previous Release:
5778     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5779     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5780   Current Release:
5781     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5782     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5783
5784 ----------------------------------------
5785 22 September 2011. Summary of changes for version 20110922:
5786
5787 0) ACPI 5.0 News:
5788
5789 Support for ACPI 5.0 in ACPICA has been underway for several months and 
5790 will 
5791 be released at the same time that ACPI 5.0 is officially released.
5792
5793 The ACPI 5.0 specification is on track for release in the next few 
5794 months.
5795  
5796 1) ACPICA Core Subsystem:
5797
5798 Fixed a problem where the maximum sleep time for the Sleep() operator was 
5799 intended to be limited to two seconds, but was inadvertently limited to 
5800 20 
5801 seconds instead.
5802
5803 Linux and Unix makefiles: Added header file dependencies to ensure 
5804 correct 
5805 generation of ACPICA core code and utilities. Also simplified the 
5806 makefiles 
5807 considerably through the use of the vpath variable to specify search 
5808 paths. 
5809 ACPICA BZ 924.
5810
5811 2) iASL Compiler/Disassembler and Tools:
5812
5813 iASL: Implemented support to check the access length for all fields 
5814 created to 
5815 access named Resource Descriptor fields. For example, if a resource field 
5816 is 
5817 defined to be two bits, a warning is issued if a CreateXxxxField() is 
5818 used 
5819 with an incorrect bit length. This is implemented for all current 
5820 resource 
5821 descriptor names. ACPICA BZ 930.
5822   
5823 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
5824 56-
5825 bit integers.
5826
5827 iASL: Fixed a couple of issues associated with variable-length package 
5828 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
5829
5830 VAR_PACKAGE when these are used as a package length. 2) Allow the 
5831 VAR_PACKAGE 
5832 opcode (in addition to PACKAGE) when validating object types for 
5833 predefined 
5834 names.
5835
5836 iASL: Emit statistics for all output files (instead of just the ASL input 
5837 and 
5838 AML output). Includes listings, hex files, etc.
5839
5840 iASL: Added -G option to the table compiler to allow the compilation of 
5841 custom 
5842 ACPI tables. The only part of a table that is required is the standard 
5843 36-
5844 byte 
5845 ACPI header.
5846
5847 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
5848 headers), 
5849 which also adds correct 64-bit support. Also, now all output filenames 
5850 are 
5851 completely lower case.
5852
5853 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
5854 loading table files. A warning is issued for any such tables. The only 
5855 exception is an FADT. This also fixes a possible fault when attempting to 
5856 load 
5857 non-AML tables. ACPICA BZ 932.
5858
5859 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
5860
5861 missing table terminator could cause a fault when using the -p option.
5862
5863 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
5864 statistics.
5865
5866 3) Example Code and Data Size
5867
5868 These are the sizes for the OS-independent acpica.lib produced by the 
5869 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5870 includes the debug output trace mechanism and has a much larger code and 
5871 data 
5872 size.
5873
5874   Previous Release (VC 9.0):
5875     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5876     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5877   Current Release (VC 9.0):
5878     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5879     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5880
5881
5882 ----------------------------------------
5883 23 June 2011. Summary of changes for version 20110623:
5884
5885 1) ACPI CA Core Subsystem:
5886
5887 Updated the predefined name repair mechanism to not attempt repair of a 
5888 _TSS 
5889 return object if a _PSS object is present. We can only sort the _TSS 
5890 return 
5891 package if there is no _PSS within the same scope. This is because if 
5892 _PSS 
5893 is 
5894 present, the ACPI specification dictates that the _TSS Power Dissipation 
5895 field 
5896 is to be ignored, and therefore some BIOSs leave garbage values in the 
5897 _TSS 
5898 Power field(s). In this case, it is best to just return the _TSS package 
5899 as-
5900 is. Reported by, and fixed with assistance from Fenghua Yu.
5901
5902 Added an option to globally disable the control method return value 
5903 validation 
5904 and repair. This runtime option can be used to disable return value 
5905 repair 
5906 if 
5907 this is causing a problem on a particular machine. Also added an option 
5908 to 
5909 AcpiExec (-dr) to set this disable flag.
5910
5911 All makefiles and project files: Major changes to improve generation of 
5912 ACPICA 
5913 tools. ACPICA BZ 912:
5914     Reduce default optimization levels to improve compatibility
5915     For Linux, add strict-aliasing=0 for gcc 4
5916     Cleanup and simplify use of command line defines
5917     Cleanup multithread library support
5918     Improve usage messages
5919
5920 Linux-specific header: update handling of THREAD_ID and pthread. For the 
5921 32-
5922 bit case, improve casting to eliminate possible warnings, especially with 
5923 the 
5924 acpica tools.
5925
5926 Example Code and Data Size: These are the sizes for the OS-independent 
5927 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5928 debug 
5929 version of the code includes the debug output trace mechanism and has a 
5930 much 
5931 larger code and data size.
5932
5933   Previous Release (VC 9.0):
5934     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5935     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5936   Current Release (VC 9.0):
5937     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5938     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5939
5940 2) iASL Compiler/Disassembler and Tools:
5941
5942 With this release, a new utility named "acpihelp" has been added to the 
5943 ACPICA 
5944 package. This utility summarizes the ACPI specification chapters for the 
5945 ASL 
5946 and AML languages. It generates under Linux/Unix as well as Windows, and 
5947 provides the following functionality:
5948     Find/display ASL operator(s) -- with description and syntax.
5949     Find/display ASL keyword(s) -- with exact spelling and descriptions.
5950     Find/display ACPI predefined name(s) -- with description, number
5951         of arguments, and the return value data type.
5952     Find/display AML opcode name(s) -- with opcode, arguments, and 
5953 grammar.
5954     Decode/display AML opcode -- with opcode name, arguments, and 
5955 grammar.
5956
5957 Service Layers: Make multi-thread support configurable. Conditionally 
5958 compile 
5959 the multi-thread support so that threading libraries will not be linked 
5960 if 
5961 not 
5962 necessary. The only tool that requires multi-thread support is AcpiExec.
5963
5964 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
5965 of 
5966 Bison appear to want the interface to yyerror to be a const char * (or at 
5967 least this is a problem when generating iASL on some systems.) ACPICA BZ 
5968 923 
5969 Pierre Lejeune.
5970
5971 Tools: Fix for systems where O_BINARY is not defined. Only used for 
5972 Windows 
5973 versions of the tools.
5974
5975 ----------------------------------------
5976 27 May 2011. Summary of changes for version 20110527:
5977
5978 1) ACPI CA Core Subsystem:
5979
5980 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
5981 table 
5982 signature. Now, only allow SSDT, OEMx, and a null signature. History:
5983     1) Originally, we checked the table signature for "SSDT" or "PSDT".
5984        (PSDT is now obsolete.)
5985     2) We added support for OEMx tables, signature "OEM" plus a fourth
5986        "don't care" character.
5987     3) Valid tables were encountered with a null signature, so we just
5988        gave up on validating the signature, (05/2008).
5989     4) We encountered non-AML tables such as the MADT, which caused
5990        interpreter errors and kernel faults. So now, we once again allow
5991        only SSDT, OEMx, and now, also a null signature. (05/2011).
5992
5993 Added the missing _TDL predefined name to the global name list in order 
5994 to 
5995 enable validation. Affects both the core ACPICA code and the iASL 
5996 compiler.
5997
5998 Example Code and Data Size: These are the sizes for the OS-independent 
5999 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6000 debug 
6001 version of the code includes the debug output trace mechanism and has a 
6002 much 
6003 larger code and data size.
6004
6005   Previous Release (VC 9.0):
6006     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6007     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6008   Current Release (VC 9.0):
6009     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
6010     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6011
6012 2) iASL Compiler/Disassembler and Tools:
6013
6014 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
6015 the 
6016 debugger command line. This adds support beyond simple integers -- 
6017 including 
6018 Strings, Buffers, and Packages. Includes support for nested packages. 
6019 Increased the default command line buffer size to accommodate these 
6020 arguments. 
6021 See the ACPICA reference for details and syntax. ACPICA BZ 917.
6022  
6023 Debugger/AcpiExec: Implemented support for "default" method arguments for 
6024 the 
6025 Execute/Debug command. Now, the debugger will always invoke a control 
6026 method 
6027 with the required number of arguments -- even if the command line 
6028 specifies 
6029 none or insufficient arguments. It uses default integer values for any 
6030 missing 
6031 arguments. Also fixes a bug where only six method arguments maximum were 
6032 supported instead of the required seven.
6033
6034 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
6035 and 
6036 also return status in order to prevent buffer overruns. See the ACPICA 
6037 reference for details and syntax. ACPICA BZ 921
6038
6039 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
6040 makefiles to simplify support for the two different but similar parser 
6041 generators, bison and yacc.
6042
6043 Updated the generic unix makefile for gcc 4. The default gcc version is 
6044 now 
6045 expected to be 4 or greater, since options specific to gcc 4 are used.
6046
6047 ----------------------------------------
6048 13 April 2011. Summary of changes for version 20110413:
6049
6050 1) ACPI CA Core Subsystem:
6051
6052 Implemented support to execute a so-called "orphan" _REG method under the 
6053 EC 
6054 device. This change will force the execution of a _REG method underneath 
6055 the 
6056 EC 
6057 device even if there is no corresponding operation region of type 
6058 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
6059 compatible with Windows behavior. ACPICA BZ 875.
6060
6061 Added more predefined methods that are eligible for automatic NULL 
6062 package 
6063 element removal. This change adds another group of predefined names to 
6064 the 
6065 list 
6066 of names that can be repaired by having NULL package elements dynamically 
6067 removed. This group are those methods that return a single variable-
6068 length 
6069 package containing simple data types such as integers, buffers, strings. 
6070 This 
6071 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
6072 _PSL, 
6073 _Sx, 
6074 and _TZD. ACPICA BZ 914.
6075
6076 Split and segregated all internal global lock functions to a new file, 
6077 evglock.c.
6078
6079 Updated internal address SpaceID for DataTable regions. Moved this 
6080 internal 
6081 space 
6082 id in preparation for ACPI 5.0 changes that will include some new space 
6083 IDs. 
6084 This 
6085 change should not affect user/host code.
6086
6087 Example Code and Data Size: These are the sizes for the OS-independent 
6088 acpica.lib 
6089 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
6090 version of 
6091 the code includes the debug output trace mechanism and has a much larger 
6092 code 
6093 and 
6094 data size.
6095
6096   Previous Release (VC 9.0):
6097     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6098     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6099   Current Release (VC 9.0):
6100     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6101     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6102
6103 2) iASL Compiler/Disassembler and Tools:
6104
6105 iASL/DTC: Major update for new grammar features. Allow generic data types 
6106 in 
6107 custom ACPI tables. Field names are now optional. Any line can be split 
6108 to 
6109 multiple lines using the continuation char (\). Large buffers now use 
6110 line-
6111 continuation character(s) and no colon on the continuation lines. See the 
6112 grammar 
6113 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
6114 Moore.
6115
6116 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
6117 statements. 
6118 Since the parser stuffs a "zero" as the return value for these statements 
6119 (due 
6120 to 
6121 the underlying AML grammar), they were seen as "return with value" by the 
6122 iASL 
6123 semantic checking. They are now seen correctly as "null" return 
6124 statements.
6125
6126 iASL: Check if a_REG declaration has a corresponding Operation Region. 
6127 Adds a 
6128 check for each _REG to ensure that there is in fact a corresponding 
6129 operation 
6130 region declaration in the same scope. If not, the _REG method is not very 
6131 useful 
6132 since it probably won't be executed. ACPICA BZ 915.
6133
6134 iASL/DTC: Finish support for expression evaluation. Added a new 
6135 expression 
6136 parser 
6137 that implements c-style operator precedence and parenthesization. ACPICA 
6138 bugzilla 
6139 908.
6140
6141 Disassembler/DTC: Remove support for () and <> style comments in data 
6142 tables. 
6143 Now 
6144 that DTC has full expression support, we don't want to have comment 
6145 strings 
6146 that 
6147 start with a parentheses or a less-than symbol. Now, only the standard /* 
6148 and 
6149 // 
6150 comments are supported, as well as the bracket [] comments.
6151
6152 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
6153 "unusual" 
6154 headers in the acpidump file. Update the header validation to support 
6155 these 
6156 tables. Problem introduced in previous AcpiXtract version in the change 
6157 to 
6158 support "wrong checksum" error messages emitted by acpidump utility.
6159
6160 iASL: Add a * option to generate all template files (as a synonym for 
6161 ALL) 
6162 as 
6163 in 
6164 "iasl -T *" or "iasl -T ALL".
6165
6166 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
6167 completely 
6168 abort the compiler on "fatal" errors, simply should abort the current 
6169 compile. 
6170 This allows multiple compiles with a single (possibly wildcard) compiler 
6171 invocation.
6172
6173 ----------------------------------------
6174 16 March 2011. Summary of changes for version 20110316:
6175
6176 1) ACPI CA Core Subsystem:
6177
6178 Fixed a problem caused by a _PRW method appearing at the namespace root 
6179 scope 
6180 during the setup of wake GPEs. A fault could occur if a _PRW directly 
6181 under 
6182 the 
6183 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
6184
6185 Implemented support for "spurious" Global Lock interrupts. On some 
6186 systems, a 
6187 global lock interrupt can occur without the pending flag being set. Upon 
6188
6189 GL 
6190 interrupt, we now ensure that a thread is actually waiting for the lock 
6191 before 
6192 signaling GL availability. Rafael Wysocki, Bob Moore.
6193
6194 Example Code and Data Size: These are the sizes for the OS-independent 
6195 acpica.lib 
6196 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
6197 version of 
6198 the code includes the debug output trace mechanism and has a much larger 
6199 code 
6200 and 
6201 data size.
6202
6203   Previous Release (VC 9.0):
6204     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6205     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6206   Current Release (VC 9.0):
6207     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6208     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6209
6210 2) iASL Compiler/Disassembler and Tools:
6211
6212 Implemented full support for the "SLIC" ACPI table. Includes support in 
6213 the 
6214 header files, disassembler, table compiler, and template generator. Bob 
6215 Moore, 
6216 Lin Ming.
6217
6218 AcpiXtract: Correctly handle embedded comments and messages from 
6219 AcpiDump. 
6220 Apparently some or all versions of acpidump will occasionally emit a 
6221 comment 
6222 like 
6223 "Wrong checksum", etc., into the dump file. This was causing problems for 
6224 AcpiXtract. ACPICA BZ 905.
6225
6226 iASL: Fix the Linux makefile by removing an inadvertent double file 
6227 inclusion. 
6228 ACPICA BZ 913.
6229
6230 AcpiExec: Update installation of operation region handlers. Install one 
6231 handler 
6232 for a user-defined address space. This is used by the ASL test suite 
6233 (ASLTS).
6234
6235 ----------------------------------------
6236 11 February 2011. Summary of changes for version 20110211:
6237
6238 1) ACPI CA Core Subsystem:
6239
6240 Added a mechanism to defer _REG methods for some early-installed 
6241 handlers. 
6242 Most user handlers should be installed before call to 
6243 AcpiEnableSubsystem. 
6244 However, Event handlers and region handlers should be installed after 
6245 AcpiInitializeObjects. Override handlers for the "default" regions should 
6246 be 
6247 installed early, however. This change executes all _REG methods for the 
6248 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
6249 chicken/egg issues between them. ACPICA BZ 848.
6250
6251 Implemented an optimization for GPE detection. This optimization will 
6252 simply 
6253 ignore GPE registers that contain no enabled GPEs -- there is no need to 
6254 read the register since this information is available internally. This 
6255 becomes more important on machines with a large GPE space. ACPICA 
6256 bugzilla 
6257 884. Lin Ming. Suggestion from Joe Liu.
6258
6259 Removed all use of the highly unreliable FADT revision field. The 
6260 revision 
6261 number in the FADT has been found to be completely unreliable and cannot 
6262 be 
6263 trusted. Only the actual table length can be used to infer the version. 
6264 This 
6265 change updates the ACPICA core and the disassembler so that both no 
6266 longer 
6267 even look at the FADT version and instead depend solely upon the FADT 
6268 length.
6269
6270 Fix an unresolved name issue for the no-debug and no-error-message source 
6271 generation cases. The _AcpiModuleName was left undefined in these cases, 
6272 but 
6273 it is actually needed as a parameter to some interfaces. Define 
6274 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
6275
6276 Split several large files (makefiles and project files updated)
6277   utglobal.c   -> utdecode.c
6278   dbcomds.c    -> dbmethod.c dbnames.c
6279   dsopcode.c   -> dsargs.c dscontrol.c
6280   dsload.c     -> dsload2.c
6281   aslanalyze.c -> aslbtypes.c aslwalks.c
6282
6283 Example Code and Data Size: These are the sizes for the OS-independent 
6284 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6285 debug version of the code includes the debug output trace mechanism and 
6286 has 
6287 a much larger code and data size.
6288
6289   Previous Release (VC 9.0):
6290     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6291     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6292   Current Release (VC 9.0):
6293     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6294     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6295
6296 2) iASL Compiler/Disassembler and Tools:
6297
6298 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
6299 These are useful C-style macros with the standard definitions. ACPICA 
6300 bugzilla 898.
6301
6302 iASL/DTC: Added support for integer expressions and labels. Support for 
6303 full 
6304 expressions for all integer fields in all ACPI tables. Support for labels 
6305 in 
6306 "generic" portions of tables such as UEFI. See the iASL reference manual.
6307
6308 Debugger: Added a command to display the status of global handlers. The 
6309 "handlers" command will display op region, fixed event, and miscellaneous 
6310 global handlers. installation status -- and for op regions, whether 
6311 default 
6312 or user-installed handler will be used.
6313
6314 iASL: Warn if reserved method incorrectly returns a value. Many 
6315 predefined 
6316 names are defined such that they do not return a value. If implemented as 
6317
6318 method, issue a warning if such a name explicitly returns a value. ACPICA 
6319 Bugzilla 855.
6320
6321 iASL: Added detection of GPE method name conflicts. Detects a conflict 
6322 where 
6323 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
6324 (For 
6325 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
6326
6327 iASL/DTC: Fixed a couple input scanner issues with comments and line 
6328 numbers. Comment remover could get confused and miss a comment ending. 
6329 Fixed 
6330 a problem with line counter maintenance.
6331
6332 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
6333 is 
6334 no need to abort on simple errors within a field definition.
6335
6336 Debugger: Simplified the output of the help command. All help output now 
6337 in 
6338 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
6339
6340 ----------------------------------------
6341 12 January 2011. Summary of changes for version 20110112:
6342
6343 1) ACPI CA Core Subsystem:
6344
6345 Fixed a race condition between method execution and namespace walks that 
6346 can 
6347 possibly cause a fault. The problem was apparently introduced in version 
6348 20100528 as a result of a performance optimization that reduces the 
6349 number 
6350 of 
6351 namespace walks upon method exit by using the delete_namespace_subtree 
6352 function instead of the delete_namespace_by_owner function used 
6353 previously. 
6354 Bug is a missing namespace lock in the delete_namespace_subtree function. 
6355 dana.myers@oracle.com
6356
6357 Fixed several issues and a possible fault with the automatic "serialized" 
6358 method support. History: This support changes a method to "serialized" on 
6359 the 
6360 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
6361 possibility that it cannot handle reentrancy. This fix repairs a couple 
6362 of 
6363 issues seen in the field, especially on machines with many cores:
6364
6365     1) Delete method children only upon the exit of the last thread,
6366        so as to not delete objects out from under other running threads
6367       (and possibly causing a fault.)
6368     2) Set the "serialized" bit for the method only upon the exit of the
6369        Last thread, so as to not cause deadlock when running threads
6370        attempt to exit.
6371     3) Cleanup the use of the AML "MethodFlags" and internal method flags
6372        so that there is no longer any confusion between the two.
6373
6374     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
6375
6376 Debugger: Now lock the namespace for duration of a namespace dump. 
6377 Prevents 
6378 issues if the namespace is changing dynamically underneath the debugger. 
6379 Especially affects temporary namespace nodes, since the debugger displays 
6380 these also.
6381
6382 Updated the ordering of include files. The ACPICA headers should appear 
6383 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
6384 set 
6385 any necessary compiler-specific defines, etc. Affects the ACPI-related 
6386 tools 
6387 and utilities.
6388
6389 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
6390 copyright 
6391 to all module headers and signons, including the Linux header. This 
6392 affects 
6393 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
6394 utilities.
6395
6396 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
6397 project files for VC++ 6.0 are now obsolete. New project files can be 
6398 found 
6399 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
6400 details.
6401
6402 Example Code and Data Size: These are the sizes for the OS-independent 
6403 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6404 debug version of the code includes the debug output trace mechanism and 
6405 has a 
6406 much larger code and data size.
6407
6408   Previous Release (VC 6.0):
6409     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6410     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6411   Current Release (VC 9.0):
6412     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6413     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6414
6415 2) iASL Compiler/Disassembler and Tools:
6416
6417 iASL: Added generic data types to the Data Table compiler. Add "generic" 
6418 data 
6419 types such as UINT32, String, Unicode, etc., to simplify the generation 
6420 of 
6421 platform-defined tables such as UEFI. Lin Ming.
6422
6423 iASL: Added listing support for the Data Table Compiler. Adds listing 
6424 support 
6425 (-l) to display actual binary output for each line of input code.
6426
6427 ----------------------------------------
6428 09 December 2010. Summary of changes for version 20101209:
6429
6430 1) ACPI CA Core Subsystem:
6431
6432 Completed the major overhaul of the GPE support code that was begun in 
6433 July 
6434 2010. Major features include: removal of _PRW execution in ACPICA (host 
6435 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
6436 changes to existing interfaces, simplification of GPE handler operation, 
6437 and 
6438 a handful of new interfaces:
6439
6440     AcpiUpdateAllGpes
6441     AcpiFinishGpe
6442     AcpiSetupGpeForWake
6443     AcpiSetGpeWakeMask
6444     One new file, evxfgpe.c to consolidate all external GPE interfaces.
6445
6446 See the ACPICA Programmer Reference for full details and programming 
6447 information. See the new section 4.4 "General Purpose Event (GPE) 
6448 Support" 
6449 for a full overview, and section 8.7 "ACPI General Purpose Event 
6450 Management" 
6451 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
6452 Ming, 
6453 Bob Moore, Rafael Wysocki.
6454
6455 Implemented a new GPE feature for Windows compatibility, the "Implicit 
6456 Wake 
6457 GPE Notify". This feature will automatically issue a Notify(2) on a 
6458 device 
6459 when a Wake GPE is received if there is no corresponding GPE method or 
6460 handler. ACPICA BZ 870.
6461
6462 Fixed a problem with the Scope() operator during table parse and load 
6463 phase. 
6464 During load phase (table load or method execution), the scope operator 
6465 should 
6466 not enter the target into the namespace. Instead, it should open a new 
6467 scope 
6468 at the target location. Linux BZ 19462, ACPICA BZ 882.
6469
6470 Example Code and Data Size: These are the sizes for the OS-independent 
6471 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6472 debug version of the code includes the debug output trace mechanism and 
6473 has a 
6474 much larger code and data size.
6475
6476   Previous Release:
6477     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6478     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6479   Current Release:
6480     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6481     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6482
6483 2) iASL Compiler/Disassembler and Tools:
6484
6485 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
6486 are 
6487 "bus-specific" per the ACPI specification, and therefore any characters 
6488 are 
6489 acceptable. The only checks that can be performed are for a null string 
6490 and 
6491 perhaps for a leading asterisk. ACPICA BZ 886.
6492
6493 iASL: Fixed a problem where a syntax error that caused a premature EOF 
6494 condition on the source file emitted a very confusing error message. The 
6495 premature EOF is now detected correctly. ACPICA BZ 891.
6496
6497 Disassembler: Decode the AccessSize within a Generic Address Structure 
6498 (byte 
6499 access, word access, etc.) Note, this field does not allow arbitrary bit 
6500 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
6501
6502 New: AcpiNames utility - Example namespace dump utility. Shows an example 
6503 of 
6504 ACPICA configuration for a minimal namespace dump utility. Uses table and 
6505 namespace managers, but no AML interpreter. Does not add any 
6506 functionality 
6507 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
6508 partition and configure ACPICA. ACPICA BZ 883.
6509
6510 AML Debugger: Increased the debugger buffer size for method return 
6511 objects. 
6512 Was 4K, increased to 16K. Also enhanced error messages for debugger 
6513 method 
6514 execution, including the buffer overflow case.
6515
6516 ----------------------------------------
6517 13 October 2010. Summary of changes for version 20101013:
6518
6519 1) ACPI CA Core Subsystem:
6520
6521 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
6522 now 
6523 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
6524 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
6525
6526 Changed the type of the predefined namespace object _TZ from ThermalZone 
6527 to 
6528 Device. This was found to be confusing to the host software that 
6529 processes 
6530 the various thermal zones, since _TZ is not really a ThermalZone. 
6531 However, 
6532
6533 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
6534 Zhang.
6535
6536 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
6537 string is "Windows 2006 SP2".
6538
6539 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
6540 nsrepair 
6541 code automatically repairs _HID-related strings, this type of code is no 
6542 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
6543 878.
6544
6545 Example Code and Data Size: These are the sizes for the OS-independent 
6546 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6547 debug version of the code includes the debug output trace mechanism and 
6548 has a 
6549 much larger code and data size.
6550
6551   Previous Release:
6552     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6553     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6554   Current Release:
6555     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6556     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6557
6558 2) iASL Compiler/Disassembler and Tools:
6559
6560 iASL: Implemented additional compile-time validation for _HID strings. 
6561 The 
6562 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
6563 length 
6564 of 
6565 the string must be exactly seven or eight characters. For both _HID and 
6566 _CID 
6567 strings, all characters must be alphanumeric. ACPICA BZ 874.
6568
6569 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
6570 descriptors that are mostly or all zeros, with the expectation that they 
6571 will 
6572 be filled in at runtime. iASL now allows this as long as there is a 
6573 "resource 
6574 tag" (name) associated with the descriptor, which gives the ASL a handle 
6575 needed to modify the descriptor. ACPICA BZ 873.
6576
6577 Added single-thread support to the generic Unix application OSL. 
6578 Primarily 
6579 for iASL support, this change removes the use of semaphores in the 
6580 single-
6581 threaded ACPICA tools/applications - increasing performance. The 
6582 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
6583 option. ACPICA BZ 879.
6584
6585 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
6586 support 
6587 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
6588
6589 iASL: Moved all compiler messages to a new file, aslmessages.h.
6590
6591 ----------------------------------------
6592 15 September 2010. Summary of changes for version 20100915:
6593
6594 1) ACPI CA Core Subsystem:
6595
6596 Removed the AcpiOsDerivePciId OSL interface. The various host 
6597 implementations 
6598 of this function were not OS-dependent and are now obsolete and can be 
6599 removed from all host OSLs. This function has been replaced by 
6600 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
6601 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
6602 module, hwpci.c. ACPICA BZ 857.
6603
6604 Implemented a dynamic repair for _HID and _CID strings. The following 
6605 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
6606 string, and 2) the entire string is uppercased. Both repairs are in 
6607 accordance with the ACPI specification and will simplify host driver 
6608 code. 
6609 ACPICA BZ 871.
6610
6611 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
6612 always UINT64. This simplifies the ACPICA code, especially any printf 
6613 output. 
6614 UINT64 is the only common data type for all thread_id types across all 
6615 operating systems. It is now up to the host OSL to cast the native 
6616 thread_id 
6617 type to UINT64 before returning the value to ACPICA (via 
6618 AcpiOsGetThreadId). 
6619 Lin Ming, Bob Moore.
6620
6621 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
6622 "inline" 
6623 keyword is not standard across compilers, and this type allows inline to 
6624 be 
6625 configured on a per-compiler basis. Lin Ming.
6626
6627 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
6628 available. 
6629 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
6630 value 
6631 during suspend/restore operations. ACPICA BZ 869.
6632
6633 All code that implements error/warning messages with the "ACPI:" prefix 
6634 has 
6635 been moved to a new module, utxferror.c.
6636
6637 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
6638 it 
6639 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
6640
6641 Example Code and Data Size: These are the sizes for the OS-independent 
6642 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6643 debug version of the code includes the debug output trace mechanism and 
6644 has a 
6645 much larger code and data size.
6646
6647   Previous Release:
6648     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6649     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6650   Current Release:
6651     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6652     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6653
6654 2) iASL Compiler/Disassembler and Tools:
6655
6656 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
6657 file. 
6658 This keeps the output files free of random error messages that may 
6659 originate 
6660 from within the namespace/interpreter code. Used this opportunity to 
6661 merge 
6662 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
6663 866. Lin Ming, Bob Moore.
6664
6665 Tools: update some printfs for ansi warnings on size_t. Handle width 
6666 change 
6667 of size_t on 32-bit versus 64-bit generations. Lin Ming.
6668
6669 ----------------------------------------
6670 06 August 2010. Summary of changes for version 20100806:
6671
6672 1) ACPI CA Core Subsystem:
6673
6674 Designed and implemented a new host interface to the _OSI support code. 
6675 This 
6676 will allow the host to dynamically add or remove multiple _OSI strings, 
6677 as 
6678 well as install an optional handler that is called for each _OSI 
6679 invocation. 
6680 Also added a new AML debugger command, 'osi' to display and modify the 
6681 global 
6682 _OSI string table, and test support in the AcpiExec utility. See the 
6683 ACPICA 
6684 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
6685 New Functions:
6686     AcpiInstallInterface - Add an _OSI string.
6687     AcpiRemoveInterface - Delete an _OSI string.
6688     AcpiInstallInterfaceHandler - Install optional _OSI handler.
6689 Obsolete Functions:
6690     AcpiOsValidateInterface - no longer used.
6691 New Files:
6692     source/components/utilities/utosi.c
6693
6694 Re-introduced the support to enable multi-byte transfers for Embedded 
6695 Controller (EC) operation regions. A reported problem was found to be a 
6696 bug 
6697 in the host OS, not in the multi-byte support. Previously, the maximum 
6698 data 
6699 size passed to the EC operation region handler was a single byte. There 
6700 are 
6701 often EC Fields larger than one byte that need to be transferred, and it 
6702 is 
6703 useful for the EC driver to lock these as a single transaction. This 
6704 change 
6705 enables single transfers larger than 8 bits. This effectively changes the 
6706 access to the EC space from ByteAcc to AnyAcc, and will probably require 
6707 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
6708 bit 
6709 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
6710
6711 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
6712 prototype in acpiosxf.h had the output value pointer as a (void *).
6713 It should be a (UINT64 *). This may affect some host OSL code.
6714
6715 Fixed a couple problems with the recently modified Linux makefiles for 
6716 iASL 
6717 and AcpiExec. These new makefiles place the generated object files in the 
6718 local directory so that there can be no collisions between the files that 
6719 are 
6720 shared between them that are compiled with different options.
6721
6722 Example Code and Data Size: These are the sizes for the OS-independent 
6723 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6724 debug version of the code includes the debug output trace mechanism and 
6725 has a 
6726 much larger code and data size.
6727
6728   Previous Release:
6729     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6730     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6731   Current Release:
6732     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6733     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6734
6735 2) iASL Compiler/Disassembler and Tools:
6736
6737 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
6738 the 
6739 namespace from and disassemble an entire group of AML files. Useful for 
6740 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
6741 and 
6742 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
6743
6744 iASL: Allow multiple invocations of -e option. This change allows 
6745 multiple 
6746 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
6747 834. 
6748 Lin Ming.
6749
6750 ----------------------------------------
6751 02 July 2010. Summary of changes for version 20100702:
6752
6753 1) ACPI CA Core Subsystem:
6754
6755 Implemented several updates to the recently added GPE reference count 
6756 support. The model for "wake" GPEs is changing to give the host OS 
6757 complete 
6758 control of these GPEs. Eventually, the ACPICA core will not execute any 
6759 _PRW 
6760 methods, since the host already must execute them. Also, additional 
6761 changes 
6762 were made to help ensure that the reference counts are kept in proper 
6763 synchronization with reality. Rafael J. Wysocki.
6764
6765 1) Ensure that GPEs are not enabled twice during initialization.
6766 2) Ensure that GPE enable masks stay in sync with the reference count.
6767 3) Do not inadvertently enable GPEs when writing GPE registers.
6768 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
6769 interface. This interface will set or clear individual GPEs for wakeup.
6770 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
6771 interfaces 
6772 are now used for "runtime" GPEs only.
6773
6774 Changed the behavior of the GPE install/remove handler interfaces. The 
6775 GPE 
6776 is 
6777 no longer disabled during this process, as it was found to cause problems 
6778 on 
6779 some machines. Rafael J. Wysocki.
6780
6781 Reverted a change introduced in version 20100528 to enable Embedded 
6782 Controller multi-byte transfers. This change was found to cause problems 
6783 with 
6784 Index Fields and possibly Bank Fields. It will be reintroduced when these 
6785 problems have been resolved.
6786
6787 Fixed a problem with references to Alias objects within Package Objects. 
6788
6789 reference to an Alias within the definition of a Package was not always 
6790 resolved properly. Aliases to objects like Processors, Thermal zones, 
6791 etc. 
6792 were resolved to the actual object instead of a reference to the object 
6793 as 
6794 it 
6795 should be. Package objects are only allowed to contain integer, string, 
6796 buffer, package, and reference objects. Redhat bugzilla 608648.
6797
6798 Example Code and Data Size: These are the sizes for the OS-independent 
6799 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6800 debug version of the code includes the debug output trace mechanism and 
6801 has a 
6802 much larger code and data size.
6803
6804   Previous Release:
6805     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6806     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6807   Current Release:
6808     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6809     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6810
6811 2) iASL Compiler/Disassembler and Tools:
6812
6813 iASL: Implemented a new compiler subsystem to allow definition and 
6814 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
6815 These 
6816 are called "ACPI Data Tables", and the new compiler is the "Data Table 
6817 Compiler". This compiler is intended to simplify the existing error-prone 
6818 process of creating these tables for the BIOS, as well as allowing the 
6819 disassembly, modification, recompilation, and override of existing ACPI 
6820 data 
6821 tables. See the iASL User Guide for detailed information.
6822
6823 iASL: Implemented a new Template Generator option in support of the new 
6824 Data 
6825 Table Compiler. This option will create examples of all known ACPI tables 
6826 that can be used as the basis for table development. See the iASL 
6827 documentation and the -T option.
6828
6829 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
6830 Descriptor Table).
6831
6832 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
6833 object files in the local directory so that there can be no collisions 
6834 between the shared files between them that are generated with different 
6835 options.
6836
6837 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
6838 Use 
6839 the #define __APPLE__ to enable this support.
6840
6841 ----------------------------------------
6842 28 May 2010. Summary of changes for version 20100528:
6843
6844 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
6845 available at www.acpi.info. This is primarily an errata release.
6846
6847 1) ACPI CA Core Subsystem:
6848
6849 Undefined ACPI tables: We are looking for the definitions for the 
6850 following 
6851 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6852
6853 Implemented support to enable multi-byte transfers for Embedded 
6854 Controller 
6855 (EC) operation regions. Previously, the maximum data size passed to the 
6856 EC 
6857 operation region handler was a single byte. There are often EC Fields 
6858 larger 
6859 than one byte that need to be transferred, and it is useful for the EC 
6860 driver 
6861 to lock these as a single transaction. This change enables single 
6862 transfers 
6863 larger than 8 bits. This effectively changes the access to the EC space 
6864 from 
6865 ByteAcc to AnyAcc, and will probably require changes to the host OS 
6866 Embedded 
6867 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
6868 bit 
6869 transfers. Alexey Starikovskiy, Lin Ming
6870
6871 Implemented a performance enhancement for namespace search and access. 
6872 This 
6873 change enhances the performance of namespace searches and walks by adding 
6874
6875 backpointer to the parent in each namespace node. On large namespaces, 
6876 this 
6877 change can improve overall ACPI performance by up to 9X. Adding a pointer 
6878 to 
6879 each namespace node increases the overall size of the internal namespace 
6880 by 
6881 about 5%, since each namespace entry usually consists of both a namespace 
6882 node and an ACPI operand object. However, this is the first growth of the 
6883 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
6884
6885 Implemented a performance optimization that reduces the number of 
6886 namespace 
6887 walks. On control method exit, only walk the namespace if the method is 
6888 known 
6889 to have created namespace objects outside of its local scope. Previously, 
6890 the 
6891 entire namespace was traversed on each control method exit. This change 
6892 can 
6893 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
6894 Moore.
6895
6896 Added support to truncate I/O addresses to 16 bits for Windows 
6897 compatibility. 
6898 Some ASL code has been seen in the field that inadvertently has bits set 
6899 above bit 15. This feature is optional and is enabled if the BIOS 
6900 requests 
6901 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
6902 Garrett, Bob Moore.
6903
6904 Added support to limit the maximum time for the ASL Sleep() operator. To 
6905 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
6906 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
6907 bugzilla 854.
6908
6909 Added run-time validation support for the _WDG and_WED Microsoft 
6910 predefined 
6911 methods. These objects are defined by "Windows Instrumentation", and are 
6912 not 
6913 part of the ACPI spec. ACPICA BZ 860.
6914
6915 Expanded all statistic counters used during namespace and device 
6916 initialization from 16 to 32 bits in order to support very large 
6917 namespaces.
6918
6919 Replaced all instances of %d in printf format specifiers with %u since 
6920 nearly 
6921 all integers in ACPICA are unsigned.
6922
6923 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
6924 returned 
6925 as AE_NO_HANDLER.
6926
6927 Example Code and Data Size: These are the sizes for the OS-independent 
6928 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6929 debug version of the code includes the debug output trace mechanism and 
6930 has a 
6931 much larger code and data size.
6932
6933   Previous Release:
6934     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6935     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6936   Current Release:
6937     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6938     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6939
6940 2) iASL Compiler/Disassembler and Tools:
6941
6942 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
6943 methods. These objects are defined by "Windows Instrumentation", and are 
6944 not 
6945 part of the ACPI spec. ACPICA BZ 860.
6946
6947 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
6948 option will disable the tracking mechanism, which improves performance 
6949 considerably.
6950
6951 AcpiExec: Restructured the command line options into -d (disable) and -e 
6952 (enable) options.
6953
6954 ----------------------------------------
6955 28 April 2010. Summary of changes for version 20100428:
6956
6957 1) ACPI CA Core Subsystem:
6958
6959 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
6960 including FADT-based and GPE Block Devices, execute any _PRW methods in 
6961 the 
6962 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
6963 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
6964 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
6965 Devices. Provides compatibility with other ACPI implementations. Two new 
6966 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
6967 Moore.
6968
6969 Fixed a regression introduced in version 20100331 within the table 
6970 manager 
6971 where initial table loading could fail. This was introduced in the fix 
6972 for 
6973 AcpiReallocateRootTable. Also, renamed some of fields in the table 
6974 manager 
6975 data structures to clarify their meaning and use.
6976
6977 Fixed a possible allocation overrun during internal object copy in 
6978 AcpiUtCopySimpleObject. The original code did not correctly handle the 
6979 case 
6980 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
6981 847.
6982
6983 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
6984 possible access beyond end-of-allocation. Also, now fully validate 
6985 descriptor 
6986 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
6987
6988 Example Code and Data Size: These are the sizes for the OS-independent 
6989 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6990 debug version of the code includes the debug output trace mechanism and 
6991 has a 
6992 much larger code and data size.
6993
6994   Previous Release:
6995     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6996     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6997   Current Release:
6998     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6999     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
7000
7001 2) iASL Compiler/Disassembler and Tools:
7002
7003 iASL: Implemented Min/Max/Len/Gran validation for address resource 
7004 descriptors. This change implements validation for the address fields 
7005 that 
7006 are common to all address-type resource descriptors. These checks are 
7007 implemented: Checks for valid Min/Max, length within the Min/Max window, 
7008 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
7009 per 
7010 table 6-40 in the ACPI 4.0a specification. Also split the large 
7011 aslrestype1.c 
7012 and aslrestype2.c files into five new files. ACPICA BZ 840.
7013
7014 iASL: Added support for the _Wxx predefined names. This support was 
7015 missing 
7016 and these names were not recognized by the compiler as valid predefined 
7017 names. ACPICA BZ 851.
7018
7019 iASL: Added an error for all predefined names that are defined to return 
7020 no 
7021 value and thus must be implemented as Control Methods. These include all 
7022 of 
7023 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
7024 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
7025
7026 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
7027 an 
7028 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
7029 be 
7030 dynamically loaded via the Load() operator. Also cleaned up output for 
7031 the 
7032 -
7033 ta and -tc options. ACPICA BZ 853.
7034
7035 Tests: Added a new file with examples of extended iASL error checking. 
7036 Demonstrates the advanced error checking ability of the iASL compiler. 
7037 Available at tests/misc/badcode.asl.
7038
7039 ----------------------------------------
7040 31 March 2010. Summary of changes for version 20100331:
7041
7042 1) ACPI CA Core Subsystem:
7043
7044 Completed a major update for the GPE support in order to improve support 
7045 for 
7046 shared GPEs and to simplify both host OS and ACPICA code. Added a 
7047 reference 
7048 count mechanism to support shared GPEs that require multiple device 
7049 drivers. 
7050 Several external interfaces have changed. One external interface has been 
7051 removed. One new external interface was added. Most of the GPE external 
7052 interfaces now use the GPE spinlock instead of the events mutex (and the 
7053 Flags parameter for many GPE interfaces has been removed.) See the 
7054 updated 
7055 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
7056 Rafael 
7057 Wysocki. ACPICA BZ 831.
7058
7059 Changed:
7060     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
7061 Removed:
7062     AcpiSetGpeType
7063 New:
7064     AcpiSetGpe
7065
7066 Implemented write support for DataTable operation regions. These regions 
7067 are 
7068 defined via the DataTableRegion() operator. Previously, only read support 
7069 was 
7070 implemented. The ACPI specification allows DataTableRegions to be 
7071 read/write, 
7072 however.
7073
7074 Implemented a new subsystem option to force a copy of the DSDT to local 
7075 memory. Optionally copy the entire DSDT to local memory (instead of 
7076 simply 
7077 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
7078 replace 
7079 the original DSDT, creating the need for this option. Default is FALSE, 
7080 do 
7081 not copy the DSDT.
7082
7083 Implemented detection of a corrupted or replaced DSDT. This change adds 
7084 support to detect a DSDT that has been corrupted and/or replaced from 
7085 outside 
7086 the OS (by firmware). This is typically catastrophic for the system, but 
7087 has 
7088 been seen on some machines. Once this problem has been detected, the DSDT 
7089 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
7090
7091 Fixed two problems with AcpiReallocateRootTable during the root table 
7092 copy. 
7093 When copying the root table to the new allocation, the length used was 
7094 incorrect. The new size was used instead of the current table size, 
7095 meaning 
7096 too much data was copied. Also, the count of available slots for ACPI 
7097 tables 
7098 was not set correctly. Alexey Starikovskiy, Bob Moore.
7099
7100 Example Code and Data Size: These are the sizes for the OS-independent 
7101 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7102 debug version of the code includes the debug output trace mechanism and 
7103 has a 
7104 much larger code and data size.
7105
7106   Previous Release:
7107     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7108     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7109   Current Release:
7110     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
7111     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
7112
7113 2) iASL Compiler/Disassembler and Tools:
7114
7115 iASL: Implement limited typechecking for values returned from predefined 
7116 control methods. The type of any returned static (unnamed) object is now 
7117 validated. For example, Return(1). ACPICA BZ 786.
7118
7119 iASL: Fixed a predefined name object verification regression. Fixes a 
7120 problem 
7121 introduced in version 20100304. An error is incorrectly generated if a 
7122 predefined name is declared as a static named object with a value defined 
7123 using the keywords "Zero", "One", or "Ones". Lin Ming.
7124
7125 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
7126 by 
7127 reducing the requested registry access rights. ACPICA BZ 842.
7128
7129 Disassembler: fixed a possible fault when generating External() 
7130 statements. 
7131 Introduced in commit ae7d6fd: Properly handle externals with parent-
7132 prefix 
7133 (carat). Fixes a string length allocation calculation. Lin Ming.
7134
7135 ----------------------------------------
7136 04 March 2010. Summary of changes for version 20100304:
7137
7138 1) ACPI CA Core Subsystem:
7139
7140 Fixed a possible problem with the AML Mutex handling function 
7141 AcpiExReleaseMutex where the function could fault under the very rare 
7142 condition when the interpreter has blocked, the interpreter lock is 
7143 released, 
7144 the interpreter is then reentered via the same thread, and attempts to 
7145 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
7146 Lin 
7147 Ming.
7148
7149 Implemented additional configuration support for the AML "Debug Object". 
7150 Output from the debug object can now be enabled via a global variable, 
7151 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
7152 debugging. 
7153 This debug output is now available in the release version of ACPICA 
7154 instead 
7155 of just the debug version. Also, the entire debug output module can now 
7156 be 
7157 configured out of the ACPICA build if desired. One new file added, 
7158 executer/exdebug.c. Lin Ming, Bob Moore.
7159
7160 Added header support for the ACPI MCHI table (Management Controller Host 
7161 Interface Table). This table was added in ACPI 4.0, but the defining 
7162 document 
7163 has only recently become available.
7164
7165 Standardized output of integer values for ACPICA warnings/errors. Always 
7166 use 
7167 0x prefix for hex output, always use %u for unsigned integer decimal 
7168 output. 
7169 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
7170 400 
7171 invocations.) These invocations were converted from the original 
7172 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
7173
7174 Example Code and Data Size: These are the sizes for the OS-independent 
7175 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7176 debug version of the code includes the debug output trace mechanism and 
7177 has a 
7178 much larger code and data size.
7179
7180   Previous Release:
7181     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7182     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7183   Current Release:
7184     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7185     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7186
7187 2) iASL Compiler/Disassembler and Tools:
7188
7189 iASL: Implemented typechecking support for static (non-control method) 
7190 predefined named objects that are declared with the Name() operator. For 
7191 example, the type of this object is now validated to be of type Integer: 
7192 Name(_BBN, 1). This change migrates the compiler to using the core 
7193 predefined 
7194 name table instead of maintaining a local version. Added a new file, 
7195 aslpredef.c. ACPICA BZ 832.
7196
7197 Disassembler: Added support for the ACPI 4.0 MCHI table.
7198
7199 ----------------------------------------
7200 21 January 2010. Summary of changes for version 20100121:
7201
7202 1) ACPI CA Core Subsystem:
7203
7204 Added the 2010 copyright to all module headers and signons. This affects 
7205 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
7206 tools/utilities, and the test suites.
7207
7208 Implemented a change to the AcpiGetDevices interface to eliminate 
7209 unnecessary 
7210 invocations of the _STA method. In the case where a specific _HID is 
7211 requested, do not run _STA until a _HID match is found. This eliminates 
7212 potentially dozens of _STA calls during a search for a particular 
7213 device/HID, 
7214 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
7215
7216 Implemented an additional repair for predefined method return values. 
7217 Attempt 
7218 to repair unexpected NULL elements within returned Package objects. 
7219 Create 
7220 an 
7221 Integer of value zero, a NULL String, or a zero-length Buffer as 
7222 appropriate. 
7223 ACPICA BZ 818. Lin Ming, Bob Moore.
7224
7225 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
7226 the 
7227 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
7228 (with 
7229 64-bit AML integers). It is now obsolete and this change removes it from 
7230 the 
7231 ACPICA code base, replaced by UINT64. The original typedef has been 
7232 retained 
7233 for now for compatibility with existing device driver code. ACPICA BZ 
7234 824.
7235
7236 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
7237 in 
7238 the parse tree object.
7239
7240 Added additional warning options for the gcc-4 generation. Updated the 
7241 source 
7242 accordingly. This includes some code restructuring to eliminate 
7243 unreachable 
7244 code, elimination of some gotos, elimination of unused return values, 
7245 some 
7246 additional casting, and removal of redundant declarations.
7247
7248 Example Code and Data Size: These are the sizes for the OS-independent 
7249 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7250 debug version of the code includes the debug output trace mechanism and 
7251 has a 
7252 much larger code and data size.
7253
7254   Previous Release:
7255     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7256     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7257   Current Release:
7258     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7259     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7260
7261 2) iASL Compiler/Disassembler and Tools:
7262
7263 No functional changes for this release.
7264
7265 ----------------------------------------
7266 14 December 2009. Summary of changes for version 20091214:
7267
7268 1) ACPI CA Core Subsystem:
7269
7270 Enhanced automatic data type conversions for predefined name repairs. 
7271 This 
7272 change expands the automatic repairs/conversions for predefined name 
7273 return 
7274 values to make Integers, Strings, and Buffers fully interchangeable. 
7275 Also, 
7276
7277 Buffer can be converted to a Package of Integers if necessary. The 
7278 nsrepair.c 
7279 module was completely restructured. Lin Ming, Bob Moore.
7280
7281 Implemented automatic removal of null package elements during predefined 
7282 name 
7283 repairs. This change will automatically remove embedded and trailing NULL 
7284 package elements from returned package objects that are defined to 
7285 contain 
7286
7287 variable number of sub-packages. The driver is then presented with a 
7288 package 
7289 with no null elements to deal with. ACPICA BZ 819.
7290
7291 Implemented a repair for the predefined _FDE and _GTM names. The expected 
7292 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
7293 two 
7294 possible problems (both seen in the field), where a package of integers 
7295 is 
7296 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
7297 Kim.
7298
7299 Implemented additional module-level code support. This change will 
7300 properly 
7301 execute module-level code that is not at the root of the namespace (under 
7302
7303 Device object, etc.). Now executes the code within the current scope 
7304 instead 
7305 of the root. ACPICA BZ 762. Lin Ming.
7306
7307 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
7308
7309 problem where mutex errors can occur when running a _REG method that is 
7310 in 
7311 the same scope as a method-defined operation region or an operation 
7312 region 
7313 under a module-level IF block. This type of code is rare, so the problem 
7314 has 
7315 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
7316
7317 Fixed a possible memory leak during module-level code execution. An 
7318 object 
7319 could be leaked for each block of executed module-level code if the 
7320 interpreter slack mode is enabled This change deletes any implicitly 
7321 returned 
7322 object from the module-level code block. Lin Ming.
7323
7324 Removed messages for successful predefined repair(s). The repair 
7325 mechanism 
7326 was considered too wordy. Now, messages are only unconditionally emitted 
7327 if 
7328 the return object cannot be repaired. Existing messages for successful 
7329 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
7330 827.
7331
7332 Example Code and Data Size: These are the sizes for the OS-independent 
7333 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7334 debug version of the code includes the debug output trace mechanism and 
7335 has a 
7336 much larger code and data size.
7337
7338   Previous Release:
7339     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7340     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7341   Current Release:
7342     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7343     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7344
7345 2) iASL Compiler/Disassembler and Tools:
7346
7347 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
7348 files 
7349 were no longer automatically removed at the termination of the compile.
7350
7351 acpiexec: Implemented the -f option to specify default region fill value. 
7352 This option specifies the value used to initialize buffers that simulate 
7353 operation regions. Default value is zero. Useful for debugging problems 
7354 that 
7355 depend on a specific initial value for a region or field.
7356
7357 ----------------------------------------
7358 12 November 2009. Summary of changes for version 20091112:
7359
7360 1) ACPI CA Core Subsystem:
7361
7362 Implemented a post-order callback to AcpiWalkNamespace. The existing 
7363 interface only has a pre-order callback. This change adds an additional 
7364 parameter for a post-order callback which will be more useful for bus 
7365 scans. 
7366 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
7367
7368 Modified the behavior of the operation region memory mapping cache for 
7369 SystemMemory. Ensure that the memory mappings created for operation 
7370 regions 
7371 do not cross 4K page boundaries. Crossing a page boundary while mapping 
7372 regions can cause kernel warnings on some hosts if the pages have 
7373 different 
7374 attributes. Such regions are probably BIOS bugs, and this is the 
7375 workaround. 
7376 Linux BZ 14445. Lin Ming.
7377
7378 Implemented an automatic repair for predefined methods that must return 
7379 sorted lists. This change will repair (by sorting) packages returned by 
7380 _ALR, 
7381 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
7382 sorted 
7383 and do not contain NULL package elements. Adds one new file, 
7384 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
7385
7386 Fixed a possible fault during predefined name validation if a return 
7387 Package 
7388 object contains NULL elements. Also adds a warning if a NULL element is 
7389 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
7390 may 
7391 include repair or removal of all such NULL elements where possible.
7392
7393 Implemented additional module-level executable AML code support. This 
7394 change 
7395 will execute module-level code that is not at the root of the namespace 
7396 (under a Device object, etc.) at table load time. Module-level executable 
7397 AML 
7398 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
7399
7400 Implemented a new internal function to create Integer objects. This 
7401 function 
7402 simplifies miscellaneous object creation code. ACPICA BZ 823.
7403
7404 Reduced the severity of predefined repair messages, Warning to Info. 
7405 Since 
7406 the object was successfully repaired, a warning is too severe. Reduced to 
7407 an 
7408 info message for now. These messages may eventually be changed to debug-
7409 only. 
7410 ACPICA BZ 812.
7411
7412 Example Code and Data Size: These are the sizes for the OS-independent 
7413 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7414 debug version of the code includes the debug output trace mechanism and 
7415 has a 
7416 much larger code and data size.
7417
7418   Previous Release:
7419     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7420     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7421   Current Release:
7422     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7423     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7424
7425 2) iASL Compiler/Disassembler and Tools:
7426
7427 iASL: Implemented Switch() with While(1) so that Break works correctly. 
7428 This 
7429 change correctly implements the Switch operator with a surrounding 
7430 While(1) 
7431 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
7432
7433 iASL: Added a message if a package initializer list is shorter than 
7434 package 
7435 length. Adds a new remark for a Package() declaration if an initializer 
7436 list 
7437 exists, but is shorter than the declared length of the package. Although 
7438 technically legal, this is probably a coding error and it is seen in the 
7439 field. ACPICA BZ 815. Lin Ming, Bob Moore.
7440
7441 iASL: Fixed a problem where the compiler could fault after the maximum 
7442 number 
7443 of errors was reached (200).
7444
7445 acpixtract: Fixed a possible warning for pointer cast if the compiler 
7446 warning 
7447 level set very high.
7448
7449 ----------------------------------------
7450 13 October 2009. Summary of changes for version 20091013:
7451
7452 1) ACPI CA Core Subsystem:
7453
7454 Fixed a problem where an Operation Region _REG method could be executed 
7455 more 
7456 than once. If a custom address space handler is installed by the host 
7457 before 
7458 the "initialize operation regions" phase of the ACPICA initialization, 
7459 any 
7460 _REG methods for that address space could be executed twice. This change 
7461 fixes the problem. ACPICA BZ 427. Lin Ming.
7462
7463 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
7464 invocation of "Scope(\)" is executed (change scope to root), one internal 
7465 operand object was leaked. Lin Ming.
7466
7467 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
7468 return value is defined as a Field object in the AML, and the field
7469 size is less than or equal to the default width of an integer (32 or 
7470 64),_MAT 
7471 can incorrectly return an Integer instead of a Buffer. ACPICA now 
7472 automatically repairs this problem. ACPICA BZ 810.
7473
7474 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
7475 The 
7476 "OEM Information" field is often incorrectly returned as an Integer with 
7477 value zero if the field is not supported by the platform. This is due to 
7478 an 
7479 ambiguity in the ACPI specification. The field should always be a string. 
7480 ACPICA now automatically repairs this problem by returning a NULL string 
7481 within the returned Package. ACPICA BZ 807.
7482
7483 Example Code and Data Size: These are the sizes for the OS-independent 
7484 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7485 debug version of the code includes the debug output trace mechanism and 
7486 has a 
7487 much larger code and data size.
7488
7489   Previous Release:
7490     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7491     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7492   Current Release:
7493     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7494     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7495
7496 2) iASL Compiler/Disassembler and Tools:
7497
7498 Disassembler: Fixed a problem where references to external symbols that 
7499 contained one or more parent-prefixes (carats) were not handled 
7500 correctly, 
7501 possibly causing a fault. ACPICA BZ 806. Lin Ming.
7502
7503 Disassembler: Restructured the code so that all functions that handle 
7504 external symbols are in a single module. One new file is added, 
7505 common/dmextern.c.
7506
7507 AML Debugger: Added a max count argument for the Batch command (which 
7508 executes multiple predefined methods within the namespace.)
7509
7510 iASL: Updated the compiler documentation (User Reference.) Available at 
7511 http://www.acpica.org/documentation/. ACPICA BZ 750.
7512
7513 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
7514 files.
7515
7516 ----------------------------------------
7517 03 September 2009. Summary of changes for version 20090903:
7518
7519 1) ACPI CA Core Subsystem:
7520
7521 For Windows Vista compatibility, added the automatic execution of an _INI 
7522 method located at the namespace root (\_INI). This method is executed at 
7523 table load time. This support is in addition to the automatic execution 
7524 of 
7525 \_SB._INI. Lin Ming.
7526
7527 Fixed a possible memory leak in the interpreter for AML package objects 
7528 if 
7529 the package initializer list is longer than the defined size of the 
7530 package. 
7531 This apparently can only happen if the BIOS changes the package size on 
7532 the 
7533 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
7534 interpreter will truncate the package to the defined size (and issue an 
7535 error 
7536 message), but previously could leave the extra objects undeleted if they 
7537 were 
7538 pre-created during the argument processing (such is the case if the 
7539 package 
7540 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
7541
7542 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
7543 This has been reported in the field. Previously, ACPICA would zero out 
7544 the 
7545 buffer/string. Now, the operation is treated as a noop. Provides Windows 
7546 compatibility. ACPICA BZ 803. Lin Ming.
7547
7548 Removed an extraneous error message for ASL constructs of the form 
7549 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
7550 statements 
7551 are seen in many BIOSs and are once again treated as NOOPs and no error 
7552 is 
7553 emitted when they are encountered. ACPICA BZ 785.
7554
7555 Fixed an extraneous warning message if a _DSM reserved method returns a 
7556 Package object. _DSM can return any type of object, so validation on the 
7557 return type cannot be performed. ACPICA BZ 802.
7558
7559 Example Code and Data Size: These are the sizes for the OS-independent 
7560 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7561 debug version of the code includes the debug output trace mechanism and 
7562 has a 
7563 much larger code and data size.
7564
7565   Previous Release:
7566     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7567     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7568   Current Release:
7569     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7570     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7571
7572 2) iASL Compiler/Disassembler and Tools:
7573
7574 iASL: Fixed a problem with the use of the Alias operator and Resource 
7575 Templates. The correct alias is now constructed and no error is emitted. 
7576 ACPICA BZ 738.
7577
7578 iASL: Implemented the -I option to specify additional search directories 
7579 for 
7580 include files. Allows multiple additional search paths for include files. 
7581 Directories are searched in the order specified on the command line 
7582 (after 
7583 the local directory is searched.) ACPICA BZ 800.
7584
7585 iASL: Fixed a problem where the full pathname for include files was not 
7586 emitted for warnings/errors. This caused the IDE support to not work 
7587 properly. ACPICA BZ 765.
7588
7589 iASL: Implemented the -@ option to specify a Windows-style response file 
7590 containing additional command line options. ACPICA BZ 801.
7591
7592 AcpiExec: Added support to load multiple AML files simultaneously (such 
7593 as 
7594
7595 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
7596 pathname. These features allow all machine tables to be easily loaded and 
7597 debugged together. ACPICA BZ 804.
7598
7599 Disassembler: Added missing support for disassembly of HEST table Error 
7600 Bank 
7601 subtables. 
7602
7603 ----------------------------------------
7604 30 July 2009. Summary of changes for version 20090730:
7605
7606 The ACPI 4.0 implementation for ACPICA is complete with this release.
7607
7608 1) ACPI CA Core Subsystem:
7609
7610 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
7611 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
7612 new 
7613 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
7614 BERT, 
7615 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
7616 There 
7617 have been some ACPI 4.0 changes to other existing tables. Split the large 
7618 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
7619
7620 ACPI 4.0: Implemented predefined name validation for all new names. There 
7621 are 
7622 31 new names in ACPI 4.0. The predefined validation module was split into 
7623 two 
7624 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
7625
7626 Implemented support for so-called "module-level executable code". This is 
7627 executable AML code that exists outside of any control method and is 
7628 intended 
7629 to be executed at table load time. Although illegal since ACPI 2.0, this 
7630 type 
7631 of code still exists and is apparently still being created. Blocks of 
7632 this 
7633 code are now detected and executed as intended. Currently, the code 
7634 blocks 
7635 must exist under either an If, Else, or While construct; these are the 
7636 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
7637
7638 Implemented an automatic dynamic repair for predefined names that return 
7639 nested Package objects. This applies to predefined names that are defined 
7640 to 
7641 return a variable-length Package of sub-packages. If the number of sub-
7642 packages is one, BIOS code is occasionally seen that creates a simple 
7643 single 
7644 package with no sub-packages. This code attempts to fix the problem by 
7645 wrapping a new package object around the existing package. These methods 
7646 can 
7647 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
7648 BZ 
7649 790.
7650
7651 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
7652 interface. 
7653 The _HID/_CID matching was broken and no longer matched IDs correctly. 
7654 ACPICA 
7655 BZ 793.
7656
7657 Fixed a problem with AcpiReset where the reset would silently fail if the 
7658 register was one of the protected I/O ports. AcpiReset now bypasses the 
7659 port 
7660 validation mechanism. This may eventually be driven into the 
7661 AcpiRead/Write 
7662 interfaces.
7663
7664 Fixed a regression related to the recent update of the AcpiRead/Write 
7665 interfaces. A sleep/suspend could fail if the optional PM2 Control 
7666 register 
7667 does not exist during an attempt to write the Bus Master Arbitration bit. 
7668 (However, some hosts already delete the code that writes this bit, and 
7669 the 
7670 code may in fact be obsolete at this date.) ACPICA BZ 799.
7671
7672 Fixed a problem where AcpiTerminate could fault if inadvertently called 
7673 twice 
7674 in succession. ACPICA BZ 795.
7675
7676 Example Code and Data Size: These are the sizes for the OS-independent 
7677 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7678 debug version of the code includes the debug output trace mechanism and 
7679 has a 
7680 much larger code and data size.
7681
7682   Previous Release:
7683     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7684     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7685   Current Release:
7686     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7687     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7688
7689 2) iASL Compiler/Disassembler and Tools:
7690
7691 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
7692 changes to existing tables. ACPICA BZ 775.
7693
7694 ----------------------------------------
7695 25 June 2009. Summary of changes for version 20090625:
7696
7697 The ACPI 4.0 Specification was released on June 16 and is available at 
7698 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
7699 continue for the next few releases.
7700
7701 1) ACPI CA Core Subsystem:
7702
7703 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
7704 address space. Includes support for bi-directional data buffers and an 
7705 IPMI 
7706 address space handler (to be installed by an IPMI device driver.) ACPICA 
7707 BZ 
7708 773. Lin Ming.
7709
7710 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
7711 Includes 
7712 support in both the header files and the disassembler.
7713
7714 Completed a major update for the AcpiGetObjectInfo external interface. 
7715 Changes include:
7716  - Support for variable, unlimited length HID, UID, and CID strings.
7717  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
7718 etc.)
7719  - Call the _SxW power methods on behalf of a device object.
7720  - Determine if a device is a PCI root bridge.
7721  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
7722 These changes will require an update to all callers of this interface. 
7723 See 
7724 the updated ACPICA Programmer Reference for details. One new source file 
7725 has 
7726 been added - utilities/utids.c. ACPICA BZ 368, 780.
7727
7728 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
7729 transfers. The Value parameter has been extended from 32 bits to 64 bits 
7730 in 
7731 order to support new ACPI 4.0 tables. These changes will require an 
7732 update 
7733 to 
7734 all callers of these interfaces. See the ACPICA Programmer Reference for 
7735 details. ACPICA BZ 768.
7736
7737 Fixed several problems with AcpiAttachData. The handler was not invoked 
7738 when 
7739 the host node was deleted. The data sub-object was not automatically 
7740 deleted 
7741 when the host node was deleted. The interface to the handler had an 
7742 unused 
7743 parameter, this was removed. ACPICA BZ 778.
7744
7745 Enhanced the function that dumps ACPI table headers. All non-printable 
7746 characters in the string fields are now replaced with '?' (Signature, 
7747 OemId, 
7748 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
7749 these fields are occasionally seen in the field. ACPICA BZ 788.
7750
7751 Fixed a problem with predefined method repair code where the code that 
7752 attempts to repair/convert an object of incorrect type is only executed 
7753 on 
7754 the first time the predefined method is called. The mechanism that 
7755 disables 
7756 warnings on subsequent calls was interfering with the repair mechanism. 
7757 ACPICA BZ 781.
7758
7759 Fixed a possible memory leak in the predefined validation/repair code 
7760 when 
7761
7762 buffer is automatically converted to an expected string object.
7763
7764 Removed obsolete 16-bit files from the distribution and from the current 
7765 git 
7766 tree head. ACPICA BZ 776.
7767
7768 Example Code and Data Size: These are the sizes for the OS-independent 
7769 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7770 debug version of the code includes the debug output trace mechanism and 
7771 has a 
7772 much larger code and data size.
7773
7774   Previous Release:
7775     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7776     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7777   Current Release:
7778     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7779     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7780
7781 2) iASL Compiler/Disassembler and Tools:
7782
7783 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
7784 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
7785
7786 ACPI 4.0: iASL - implemented compile-time validation support for all new 
7787 predefined names and control methods (31 total). ACPICA BZ 769.
7788
7789 ----------------------------------------
7790 21 May 2009. Summary of changes for version 20090521:
7791
7792 1) ACPI CA Core Subsystem:
7793
7794 Disabled the preservation of the SCI enable bit in the PM1 control 
7795 register. 
7796 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
7797 to 
7798 be 
7799 a "preserved" bit - "OSPM always preserves this bit position", section 
7800 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
7801 because the bit needs to be explicitly set by the OS as a workaround. No 
7802 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
7803 attempts to preserve this bit.
7804
7805 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
7806 incorrectly formed _PRT package could cause a fault. Added validation to 
7807 ensure that each package element is actually a sub-package.
7808
7809 Implemented a new interface to install or override a single control 
7810 method, 
7811 AcpiInstallMethod. This interface is useful when debugging in order to 
7812 repair 
7813 an existing method or to install a missing method without having to 
7814 override 
7815 the entire ACPI table. See the ACPICA Programmer Reference for use and 
7816 examples. Lin Ming, Bob Moore.
7817
7818 Fixed several reference count issues with the DdbHandle object that is 
7819 created from a Load or LoadTable operator. Prevent premature deletion of 
7820 the 
7821 object. Also, mark the object as invalid once the table has been 
7822 unloaded. 
7823 This is needed because the handle itself may not be deleted after the 
7824 table 
7825 unload, depending on whether it has been stored in a named object by the 
7826 caller. Lin Ming.
7827
7828 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
7829 mutexes of the same sync level are acquired but then not released in 
7830 strict 
7831 opposite order, the internally maintained Current Sync Level becomes 
7832 confused 
7833 and can cause subsequent execution errors. ACPICA BZ 471.
7834
7835 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
7836 specification has been changed to make the SyncLevel for mutex objects 
7837 more 
7838 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
7839 the 
7840 same as the current sync level. This makes more sense than the previous 
7841 rule 
7842 (SyncLevel less than or equal). This change updates the code to match the 
7843 specification.
7844
7845 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
7846 The 
7847 (local) cache must be locked during all cache object deletions. Andrew 
7848 Baumann.
7849
7850 Updated the Load operator to use operation region interfaces. This 
7851 replaces 
7852 direct memory mapping with region access calls. Now, all region accesses 
7853 go 
7854 through the installed region handler as they should.
7855
7856 Simplified and optimized the NsGetNextNode function. Reduced parameter 
7857 count 
7858 and reduced code for this frequently used function.
7859
7860 Example Code and Data Size: These are the sizes for the OS-independent 
7861 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7862 debug version of the code includes the debug output trace mechanism and 
7863 has a 
7864 much larger code and data size.
7865
7866   Previous Release:
7867     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7868     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7869   Current Release:
7870     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7871     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7872
7873 2) iASL Compiler/Disassembler and Tools:
7874
7875 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
7876 problems 
7877 with sub-table disassembly and handling invalid sub-tables. Attempt 
7878 recovery 
7879 after an invalid sub-table ID.
7880
7881 ----------------------------------------
7882 22 April 2009. Summary of changes for version 20090422:
7883
7884 1) ACPI CA Core Subsystem:
7885
7886 Fixed a compatibility issue with the recently released I/O port 
7887 protection 
7888 mechanism. For windows compatibility, 1) On a port protection violation, 
7889 simply ignore the request and do not return an exception (allow the 
7890 control 
7891 method to continue execution.) 2) If only part of the request overlaps a 
7892 protected port, read/write the individual ports that are not protected. 
7893 Linux 
7894 BZ 13036. Lin Ming
7895
7896 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
7897 actually 
7898 breaks into the AML debugger if the debugger is present. This matches the 
7899 ACPI-defined behavior.
7900
7901 Fixed several possible warnings related to the use of the configurable 
7902 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
7903 pointer with no warnings. Also fixes several warnings in printf-like 
7904 statements for the 64-bit build when the type is configured as a pointer. 
7905 ACPICA BZ 766, 767.
7906
7907 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
7908 on 
7909 warning options.) Examples include printf formats, aliasing, unused 
7910 globals, 
7911 missing prototypes, missing switch default statements, use of non-ANSI 
7912 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
7913 for 
7914 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
7915
7916 Example Code and Data Size: These are the sizes for the OS-independent 
7917 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7918 debug version of the code includes the debug output trace mechanism and 
7919 has a 
7920 much larger code and data size.
7921
7922   Previous Release:
7923     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7924     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7925   Current Release:
7926     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7927     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7928
7929 2) iASL Compiler/Disassembler and Tools:
7930
7931 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
7932 warnings 
7933 on 
7934 the 64-bit build.
7935
7936 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
7937 not 
7938 correctly digest Windows/DOS formatted files (with CR/LF).
7939
7940 iASL: Added a new option for "quiet mode" (-va) that produces only the 
7941 compilation summary, not individual errors and warnings. Useful for large 
7942 batch compilations.
7943
7944 AcpiExec: Implemented a new option (-z) to enable a forced 
7945 semaphore/mutex 
7946 timeout that can be used to detect hang conditions during execution of 
7947 AML 
7948 code (includes both internal semaphores and AML-defined mutexes and 
7949 events.)
7950
7951 Added new makefiles for the generation of acpica in a generic unix-like 
7952 environment. These makefiles are intended to generate the acpica tools 
7953 and 
7954 utilities from the original acpica git source tree structure.
7955
7956 Test Suites: Updated and cleaned up the documentation files. Updated the 
7957 copyrights to 2009, affecting all source files. Use the new version of 
7958 iASL 
7959 with quiet mode. Increased the number of available semaphores in the 
7960 Windows 
7961 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
7962 added 
7963 an alternate implementation of the semaphore timeout to allow aslts to 
7964 execute fully on Cygwin.
7965
7966 ----------------------------------------
7967 20 March 2009. Summary of changes for version 20090320:
7968
7969 1) ACPI CA Core Subsystem:
7970
7971 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
7972 table 
7973 unloads. Added a reader/writer locking mechanism to allow multiple 
7974 concurrent 
7975 namespace walks (readers), but block a dynamic table unload until it can 
7976 gain 
7977 exclusive write access to the namespace. This fixes a problem where a 
7978 table 
7979 unload could (possibly catastrophically) delete the portion of the 
7980 namespace 
7981 that is currently being examined by a walk. Adds a new file, utlock.c, 
7982 that 
7983 implements the reader/writer lock mechanism. ACPICA BZ 749.
7984
7985 Fixed a regression introduced in version 20090220 where a change to the 
7986 FADT 
7987 handling could cause the ACPICA subsystem to access non-existent I/O 
7988 ports.
7989
7990 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
7991 The 
7992 FADT can contain both 32-bit and 64-bit versions of these addresses. 
7993 Previously, the 64-bit versions were favored, meaning that if both 32 and 
7994 64 
7995 versions were valid, but not equal, the 64-bit version was used. This was 
7996 found to cause some machines to fail. Now, in this case, the 32-bit 
7997 version 
7998 is used instead. This now matches the Windows behavior.
7999
8000 Implemented a new mechanism to protect certain I/O ports. Provides 
8001 Microsoft 
8002 compatibility and protects the standard PC I/O ports from access via AML 
8003 code. Adds a new file, hwvalid.c
8004
8005 Fixed a possible extraneous warning message from the FADT support. The 
8006 message warns of a 32/64 length mismatch between the legacy and GAS 
8007 definitions for a register.
8008
8009 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
8010 is 
8011 made obsolete by the port protection mechanism above. It was previously 
8012 used 
8013 to validate the entire address range of an operation region, which could 
8014 be 
8015 incorrect if the range included illegal ports, but fields within the 
8016 operation region did not actually access those ports. Validation is now 
8017 performed on a per-field basis instead of the entire region.
8018
8019 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
8020 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
8021 this 
8022 means a read/modify/write when writing to the register. However, for 
8023 status 
8024 registers, writing a one means clear the event. Writing a zero means 
8025 preserve 
8026 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
8027 spec, 
8028 and the ACPICA code now simply always writes a zero to the ignored bit.
8029
8030 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
8031 As 
8032 per the ACPI specification, for the control registers, preserve 
8033 (read/modify/write) all bits that are defined as either reserved or 
8034 ignored.
8035
8036 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
8037 When reading the register, zero the write-only bits as per the ACPI spec. 
8038 ACPICA BZ 443. Lin Ming.
8039
8040 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
8041 wants to reply true to this request. The Windows strings are the only 
8042 paths 
8043 through the AML that are tested and known to work properly.
8044
8045   Previous Release:
8046     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8047     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8048   Current Release:
8049     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
8050     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
8051
8052 2) iASL Compiler/Disassembler and Tools:
8053
8054 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
8055 and 
8056 aetables.c
8057
8058 ----------------------------------------
8059 20 February 2009. Summary of changes for version 20090220:
8060
8061 1) ACPI CA Core Subsystem:
8062
8063 Optimized the ACPI register locking. Removed locking for reads from the 
8064 ACPI 
8065 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
8066 is 
8067 not required when reading the single-bit registers. The 
8068 AcpiGetRegisterUnlocked function is no longer needed and has been 
8069 removed. 
8070 This will improve performance for reads on these registers. ACPICA BZ 
8071 760.
8072
8073 Fixed the parameter validation for AcpiRead/Write. Now return 
8074 AE_BAD_PARAMETER if the input register pointer is null, and 
8075 AE_BAD_ADDRESS 
8076 if 
8077 the register has an address of zero. Previously, these cases simply 
8078 returned 
8079 AE_OK. For optional registers such as PM1B status/enable/control, the 
8080 caller 
8081 should check for a valid register address before calling. ACPICA BZ 748.
8082
8083 Renamed the external ACPI bit register access functions. Renamed 
8084 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
8085 functions. The new names are AcpiReadBitRegister and 
8086 AcpiWriteBitRegister. 
8087 Also, restructured the code for these functions by simplifying the code 
8088 path 
8089 and condensing duplicate code to reduce code size.
8090
8091 Added new functions to transparently handle the possibly split PM1 A/B 
8092 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
8093 functions 
8094 now handle the split registers for PM1 Status, Enable, and Control. 
8095 ACPICA 
8096 BZ 
8097 746.
8098
8099 Added a function to handle the PM1 control registers, 
8100 AcpiHwWritePm1Control. 
8101 This function writes both of the PM1 control registers (A/B). These 
8102 registers 
8103 are different than the PM1 A/B status and enable registers in that 
8104 different 
8105 values can be written to the A/B registers. Most notably, the SLP_TYP 
8106 bits 
8107 can be different, as per the values returned from the _Sx predefined 
8108 methods.
8109
8110 Removed an extra register write within AcpiHwClearAcpiStatus. This 
8111 function 
8112 was writing an optional PM1B status register twice. The existing call to 
8113 the 
8114 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
8115 A/B 
8116 register. ACPICA BZ 751.
8117
8118 Split out the PM1 Status registers from the FADT. Added new globals for 
8119 these 
8120 registers (A/B), similar to the way the PM1 Enable registers are handled. 
8121 Instead of overloading the FADT Event Register blocks. This makes the 
8122 code 
8123 clearer and less prone to error.
8124
8125 Fixed the warning message for when the platform contains too many ACPI 
8126 tables 
8127 for the default size of the global root table data structure. The 
8128 calculation 
8129 for the truncation value was incorrect.
8130
8131 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
8132 obsolete macro, since it is now a simple reference to ->common.type. 
8133 There 
8134 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
8135
8136 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
8137 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
8138 simply SLEEP_TYPE. ACPICA BZ 754.
8139
8140 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
8141 function is only needed on 64-bit host operating systems and is thus not 
8142 included for 32-bit hosts.
8143
8144 Debug output: print the input and result for invocations of the _OSI 
8145 reserved 
8146 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
8147 the 
8148 verbosity of this debug level. Len Brown.
8149
8150 Example Code and Data Size: These are the sizes for the OS-independent 
8151 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8152 debug version of the code includes the debug output trace mechanism and 
8153 has a 
8154 much larger code and data size.
8155
8156   Previous Release:
8157     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8158     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8159   Current Release:
8160     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8161     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8162
8163 2) iASL Compiler/Disassembler and Tools:
8164
8165 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
8166 various legal performance profiles.
8167
8168 ----------------------------------------
8169 23 January 2009. Summary of changes for version 20090123:
8170
8171 1) ACPI CA Core Subsystem:
8172
8173 Added the 2009 copyright to all module headers and signons. This affects 
8174 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
8175 the tools/utilities.
8176
8177 Implemented a change to allow the host to override any ACPI table, 
8178 including 
8179 dynamically loaded tables. Previously, only the DSDT could be replaced by 
8180 the 
8181 host. With this change, the AcpiOsTableOverride interface is called for 
8182 each 
8183 table found in the RSDT/XSDT during ACPICA initialization, and also 
8184 whenever 
8185 a table is dynamically loaded via the AML Load operator.
8186
8187 Updated FADT flag definitions, especially the Boot Architecture flags.
8188
8189 Debugger: For the Find command, automatically pad the input ACPI name 
8190 with 
8191 underscores if the name is shorter than 4 characters. This enables a 
8192 match 
8193 with the actual namespace entry which is itself padded with underscores.
8194
8195 Example Code and Data Size: These are the sizes for the OS-independent 
8196 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8197 debug version of the code includes the debug output trace mechanism and 
8198 has a 
8199 much larger code and data size.
8200
8201   Previous Release:
8202     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8203     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8204   Current Release:
8205     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8206     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8207
8208 2) iASL Compiler/Disassembler and Tools:
8209
8210 Fix build error under Bison-2.4.
8211
8212 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
8213 Architecture 
8214 flags. Now decode all flags, regardless of the FADT version. Flag output 
8215 includes the FADT version which first defined each flag.
8216
8217 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
8218 and 
8219 DSDT). Windows only.
8220
8221 ----------------------------------------
8222 04 December 2008. Summary of changes for version 20081204:
8223
8224 1) ACPI CA Core Subsystem:
8225
8226 The ACPICA Programmer Reference has been completely updated and revamped 
8227 for 
8228 this release. This includes updates to the external interfaces, OSL 
8229 interfaces, the overview sections, and the debugger reference.
8230
8231 Several new ACPICA interfaces have been implemented and documented in the 
8232 programmer reference:
8233 AcpiReset - Writes the reset value to the FADT-defined reset register.
8234 AcpiDisableAllGpes - Disable all available GPEs.
8235 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
8236 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
8237 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
8238 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
8239 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
8240
8241 Most of the public ACPI hardware-related interfaces have been moved to a 
8242 new 
8243 file, components/hardware/hwxface.c
8244
8245 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
8246 register lengths within the FADT are now used, and the low level ACPI 
8247 register access no longer hardcodes the ACPI register lengths. Given that 
8248 there may be some risk in actually trusting the FADT register lengths, a 
8249 run-
8250 time option was added to fall back to the default hardcoded lengths if 
8251 the 
8252 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
8253 option is set to true for now, and a warning is issued if a suspicious 
8254 FADT 
8255 register length is overridden with the default value.
8256
8257 Fixed a reference count issue in NsRepairObject. This problem was 
8258 introduced 
8259 in version 20081031 as part of a fix to repair Buffer objects within 
8260 Packages. Lin Ming.
8261
8262 Added semaphore support to the Linux/Unix application OS-services layer 
8263 (OSL). ACPICA BZ 448. Lin Ming.
8264
8265 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
8266 will 
8267 be implemented in the OSL, or will binary semaphores be used instead.
8268
8269 Example Code and Data Size: These are the sizes for the OS-independent 
8270 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8271 debug version of the code includes the debug output trace mechanism and 
8272 has a 
8273 much larger code and data size.
8274
8275   Previous Release:
8276     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8277     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8278   Current Release:
8279     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8280     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8281
8282 2) iASL Compiler/Disassembler and Tools:
8283
8284 iASL: Completed the '-e' option to include additional ACPI tables in 
8285 order 
8286 to 
8287 aid with disassembly and External statement generation. ACPICA BZ 742. 
8288 Lin 
8289 Ming.
8290
8291 iASL: Removed the "named object in while loop" error. The compiler cannot 
8292 determine how many times a loop will execute. ACPICA BZ 730.
8293
8294 Disassembler: Implemented support for FADT revision 2 (MS extension). 
8295 ACPICA 
8296 BZ 743.
8297
8298 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
8299 MCFG).
8300
8301 ----------------------------------------
8302 31 October 2008. Summary of changes for version 20081031:
8303
8304 1) ACPI CA Core Subsystem:
8305
8306 Restructured the ACPICA header files into public/private. acpi.h now 
8307 includes 
8308 only the "public" acpica headers. All other acpica headers are "private" 
8309 and 
8310 should not be included by acpica users. One new file, accommon.h is used 
8311 to 
8312 include the commonly used private headers for acpica code generation. 
8313 Future 
8314 plans include moving all private headers to a new subdirectory.
8315
8316 Implemented an automatic Buffer->String return value conversion for 
8317 predefined ACPI methods. For these methods (such as _BIF), added 
8318 automatic 
8319 conversion for return objects that are required to be a String, but a 
8320 Buffer 
8321 was found instead. This can happen when reading string battery data from 
8322 an 
8323 operation region, because it used to be difficult to convert the data 
8324 from 
8325 buffer to string from within the ASL. Ensures that the host OS is 
8326 provided 
8327 with a valid null-terminated string. Linux BZ 11822.
8328
8329 Updated the FACS waking vector interfaces. Split 
8330 AcpiSetFirmwareWakingVector 
8331 into two: one for the 32-bit vector, another for the 64-bit vector. This 
8332 is 
8333 required because the host OS must setup the wake much differently for 
8334 each 
8335 vector (real vs. protected mode, etc.) and the interface itself should 
8336 not 
8337 be 
8338 deciding which vector to use. Also, eliminated the 
8339 GetFirmwareWakingVector 
8340 interface, as it served no purpose (only the firmware reads the vector, 
8341 OS 
8342 only writes the vector.) ACPICA BZ 731.
8343
8344 Implemented a mechanism to escape infinite AML While() loops. Added a 
8345 loop 
8346 counter to force exit from AML While loops if the count becomes too 
8347 large. 
8348 This can occur in poorly written AML when the hardware does not respond 
8349 within a while loop and the loop does not implement a timeout. The 
8350 maximum 
8351 loop count is configurable. A new exception code is returned when a loop 
8352 is 
8353 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
8354
8355 Optimized the execution of AML While loops. Previously, a control state 
8356 object was allocated and freed for each execution of the loop. The 
8357 optimization is to simply reuse the control state for each iteration. 
8358 This 
8359 speeds up the raw loop execution time by about 5%.
8360
8361 Enhanced the implicit return mechanism. For Windows compatibility, return 
8362 an 
8363 implicit integer of value zero for methods that contain no executable 
8364 code. 
8365 Such methods are seen in the field as stubs (presumably), and can cause 
8366 drivers to fail if they expect a return value. Lin Ming.
8367
8368 Allow multiple backslashes as root prefixes in namepaths. In a fully 
8369 qualified namepath, allow multiple backslash prefixes. This can happen 
8370 (and 
8371 is seen in the field) because of the use of a double-backslash in strings 
8372 (since backslash is the escape character) causing confusion. ACPICA BZ 
8373 739 
8374 Lin Ming.
8375
8376 Emit a warning if two different FACS or DSDT tables are discovered in the 
8377 FADT. Checks if there are two valid but different addresses for the FACS 
8378 and 
8379 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
8380
8381 Consolidated the method argument count validation code. Merged the code 
8382 that 
8383 validates control method argument counts into the predefined validation 
8384 module. Eliminates possible multiple warnings for incorrect argument 
8385 counts.
8386
8387 Implemented ACPICA example code. Includes code for ACPICA initialization, 
8388 handler installation, and calling a control method. Available at 
8389 source/tools/examples.
8390
8391 Added a global pointer for FACS table to simplify internal FACS access. 
8392 Use 
8393 the global pointer instead of using AcpiGetTableByIndex for each FACS 
8394 access. 
8395 This simplifies the code for the Global Lock and the Firmware Waking 
8396 Vector(s).
8397
8398 Example Code and Data Size: These are the sizes for the OS-independent 
8399 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8400 debug version of the code includes the debug output trace mechanism and 
8401 has a 
8402 much larger code and data size.
8403
8404   Previous Release:
8405     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8406     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8407   Current Release:
8408     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8409     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8410
8411 2) iASL Compiler/Disassembler and Tools:
8412
8413 iASL: Improved disassembly of external method calls. Added the -e option 
8414 to 
8415 allow the inclusion of additional ACPI tables to help with the 
8416 disassembly 
8417 of 
8418 method invocations and the generation of external declarations during the 
8419 disassembly. Certain external method invocations cannot be disassembled 
8420 properly without the actual declaration of the method. Use the -e option 
8421 to 
8422 include the table where the external method(s) are actually declared. 
8423 Most 
8424 useful for disassembling SSDTs that make method calls back to the master 
8425 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
8426 -d 
8427 -e dsdt.aml ssdt1.aml
8428
8429 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
8430 problem where the use of an alias within a namepath would result in a not 
8431 found error or cause the compiler to fault. Also now allows forward 
8432 references from the Alias operator itself. ACPICA BZ 738.
8433
8434 ----------------------------------------
8435 26 September 2008. Summary of changes for version 20080926:
8436
8437 1) ACPI CA Core Subsystem:
8438
8439 Designed and implemented a mechanism to validate predefined ACPI methods 
8440 and 
8441 objects. This code validates the predefined ACPI objects (objects whose 
8442 names 
8443 start with underscore) that appear in the namespace, at the time they are 
8444 evaluated. The argument count and the type of the returned object are 
8445 validated against the ACPI specification. The purpose of this validation 
8446 is 
8447 to detect problems with the BIOS-implemented predefined ACPI objects 
8448 before 
8449 the results are returned to the ACPI-related drivers. Future enhancements 
8450 may 
8451 include actual repair of incorrect return objects where possible. Two new 
8452 files are nspredef.c and acpredef.h.
8453
8454 Fixed a fault in the AML parser if a memory allocation fails during the 
8455 Op 
8456 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
8457
8458 Fixed an issue with implicit return compatibility. This change improves 
8459 the 
8460 implicit return mechanism to be more compatible with the MS interpreter. 
8461 Lin 
8462 Ming, ACPICA BZ 349.
8463
8464 Implemented support for zero-length buffer-to-string conversions. Allow 
8465 zero 
8466 length strings during interpreter buffer-to-string conversions. For 
8467 example, 
8468 during the ToDecimalString and ToHexString operators, as well as implicit 
8469 conversions. Fiodor Suietov, ACPICA BZ 585.
8470
8471 Fixed two possible memory leaks in the error exit paths of 
8472 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
8473 are 
8474 similar in that they use a stack of state objects in order to eliminate 
8475 recursion. The stack must be fully unwound and deallocated if an error 
8476 occurs. Lin Ming. ACPICA BZ 383.
8477
8478 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
8479 global 
8480 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
8481 Moore ACPICA BZ 442.
8482
8483 Removed the obsolete version number in module headers. Removed the 
8484 "$Revision" number that appeared in each module header. This version 
8485 number 
8486 was useful under SourceSafe and CVS, but has no meaning under git. It is 
8487 not 
8488 only incorrect, it could also be misleading.
8489
8490 Example Code and Data Size: These are the sizes for the OS-independent 
8491 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8492 debug version of the code includes the debug output trace mechanism and 
8493 has a 
8494 much larger code and data size.
8495
8496   Previous Release:
8497     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8498     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8499   Current Release:
8500     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8501     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8502
8503 ----------------------------------------
8504 29 August 2008. Summary of changes for version 20080829:
8505
8506 1) ACPI CA Core Subsystem:
8507
8508 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
8509 Reference. Changes include the elimination of cheating on the Object 
8510 field 
8511 for the DdbHandle subtype, addition of a reference class field to 
8512 differentiate the various reference types (instead of an AML opcode), and 
8513 the 
8514 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
8515
8516 Reduce an error to a warning for an incorrect method argument count. 
8517 Previously aborted with an error if too few arguments were passed to a 
8518 control method via the external ACPICA interface. Now issue a warning 
8519 instead 
8520 and continue. Handles the case where the method inadvertently declares 
8521 too 
8522 many arguments, but does not actually use the extra ones. Applies mainly 
8523 to 
8524 the predefined methods. Lin Ming. Linux BZ 11032.
8525
8526 Disallow the evaluation of named object types with no intrinsic value. 
8527 Return 
8528 AE_TYPE for objects that have no value and therefore evaluation is 
8529 undefined: 
8530 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
8531 of 
8532 these types were allowed, but an exception would be generated at some 
8533 point 
8534 during the evaluation. Now, the error is generated up front.
8535
8536 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
8537 (nsnames.c). Fixes a leak in the error exit path.
8538
8539 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
8540 debug 
8541 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
8542 ACPI_EXCEPTION 
8543 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
8544 ACPI_LV_EVENTS.
8545
8546 Removed obsolete and/or unused exception codes from the acexcep.h header. 
8547 There is the possibility that certain device drivers may be affected if 
8548 they 
8549 use any of these exceptions.
8550
8551 The ACPICA documentation has been added to the public git source tree, 
8552 under 
8553 acpica/documents. Included are the ACPICA programmer reference, the iASL 
8554 compiler reference, and the changes.txt release logfile.
8555
8556 Example Code and Data Size: These are the sizes for the OS-independent 
8557 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8558 debug version of the code includes the debug output trace mechanism and 
8559 has a 
8560 much larger code and data size.
8561
8562   Previous Release:
8563     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8564     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8565   Current Release:
8566     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8567     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8568
8569 2) iASL Compiler/Disassembler and Tools:
8570
8571 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
8572 defines _SCP with 3 arguments. Previous versions defined it with only 1 
8573 argument. iASL now allows both definitions.
8574
8575 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
8576 zero-
8577 length subtables when disassembling ACPI tables. Also fixed a couple of 
8578 errors where a full 16-bit table type field was not extracted from the 
8579 input 
8580 properly.
8581
8582 acpisrc: Improve comment counting mechanism for generating source code 
8583 statistics. Count first and last lines of multi-line comments as 
8584 whitespace, 
8585 not comment lines. Handle Linux legal header in addition to standard 
8586 acpica 
8587 header.
8588
8589 ----------------------------------------
8590
8591 29 July 2008. Summary of changes for version 20080729:
8592
8593 1) ACPI CA Core Subsystem:
8594
8595 Fix a possible deadlock in the GPE dispatch. Remove call to 
8596 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
8597 attempt 
8598 to acquire the GPE lock but can deadlock since the GPE lock is already 
8599 held 
8600 at dispatch time. This code was introduced in version 20060831 as a 
8601 response 
8602 to Linux BZ 6881 and has since been removed from Linux.
8603
8604 Add a function to dereference returned reference objects. Examines the 
8605 return 
8606 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
8607 are 
8608 automatically dereferenced in an attempt to return something useful 
8609 (these 
8610 reference types cannot be converted into an external ACPI_OBJECT.) 
8611 Provides 
8612 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
8613
8614 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
8615 subtables for the MADT and one new subtable for the SRAT. Includes 
8616 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
8617 x2APIC 
8618 Specification, June 2008.
8619
8620 Additional error checking for pathname utilities. Add error check after 
8621 all 
8622 calls to AcpiNsGetPathnameLength. Add status return from 
8623 AcpiNsBuildExternalPath and check after all calls. Add parameter 
8624 validation 
8625 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
8626
8627 Return status from the global init function AcpiUtGlobalInitialize. This 
8628 is 
8629 used by both the kernel subsystem and the utilities such as iASL 
8630 compiler. 
8631 The function could possibly fail when the caches are initialized. Yang 
8632 Yi.
8633
8634 Add a function to decode reference object types to strings. Created for 
8635 improved error messages. 
8636
8637 Improve object conversion error messages. Better error messages during 
8638 object 
8639 conversion from internal to the external ACPI_OBJECT. Used for external 
8640 calls 
8641 to AcpiEvaluateObject.
8642
8643 Example Code and Data Size: These are the sizes for the OS-independent 
8644 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8645 debug version of the code includes the debug output trace mechanism and 
8646 has a 
8647 much larger code and data size.
8648
8649   Previous Release:
8650     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8651     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8652   Current Release:
8653     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8654     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8655
8656 2) iASL Compiler/Disassembler and Tools:
8657
8658 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
8659 problem 
8660 introduced in version 20080701. If the object being evaluated (via 
8661 execute 
8662 command) is not a method, the debugger can hang while trying to obtain 
8663 non-
8664 existent parameters.
8665
8666 iASL: relax error for using reserved "_T_x" identifiers. These names can 
8667 appear in a disassembled ASL file if they were emitted by the original 
8668 compiler. Instead of issuing an error or warning and forcing the user to 
8669 manually change these names, issue a remark instead.
8670
8671 iASL: error if named object created in while loop. Emit an error if any 
8672 named 
8673 object is created within a While loop. If allowed, this code will 
8674 generate 
8675
8676 run-time error on the second iteration of the loop when an attempt is 
8677 made 
8678 to 
8679 create the same named object twice. ACPICA bugzilla 730.
8680
8681 iASL: Support absolute pathnames for include files. Add support for 
8682 absolute 
8683 pathnames within the Include operator. previously, only relative 
8684 pathnames 
8685 were supported.
8686
8687 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
8688 Descriptor. 
8689 The ACPI spec requires one interrupt minimum. BZ 423
8690
8691 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
8692 Handles the case for the Interrupt Resource Descriptor where
8693 the ResourceSource argument is omitted but ResourceSourceIndex
8694 is present. Now leave room for the Index. BZ 426
8695
8696 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
8697 cases 
8698 where an error message is emitted if the target does not exist. BZ 516
8699
8700 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
8701 (get ACPI tables on Windows). This was apparently broken in version 
8702 20070919.
8703
8704 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
8705 where 
8706 the EOF happens immediately after the last table in the input file. Print 
8707 completion message. Previously, no message was displayed in this case.
8708
8709 ----------------------------------------
8710 01 July 2008. Summary of changes for version 20080701:
8711
8712 0) Git source tree / acpica.org
8713
8714 Fixed a problem where a git-clone from http would not transfer the entire 
8715 source tree.
8716
8717 1) ACPI CA Core Subsystem:
8718
8719 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
8720 enable bit. Now performs a read-change-write of the enable register 
8721 instead 
8722 of simply writing out the cached enable mask. This will prevent 
8723 inadvertent 
8724 enabling of GPEs if a rogue GPE is received during initialization (before 
8725 GPE 
8726 handlers are installed.)
8727
8728 Implemented a copy for dynamically loaded tables. Previously, dynamically 
8729 loaded tables were simply mapped - but on some machines this memory is 
8730 corrupted after suspend. Now copy the table to a local buffer. For the 
8731 OpRegion case, added checksum verify. Use the table length from the table 
8732 header, not the region length. For the Buffer case, use the table length 
8733 also. Dennis Noordsij, Bob Moore. BZ 10734
8734
8735 Fixed a problem where the same ACPI table could not be dynamically loaded 
8736 and 
8737 unloaded more than once. Without this change, a table cannot be loaded 
8738 again 
8739 once it has been loaded/unloaded one time. The current mechanism does not 
8740 unregister a table upon an unload. During a load, if the same table is 
8741 found, 
8742 this no longer returns an exception. BZ 722
8743
8744 Fixed a problem where the wrong descriptor length was calculated for the 
8745 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
8746 EndTag 
8747 are calculated as 12 bytes long, but the actual length in the internal 
8748 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
8749 Reported 
8750 by Linn Crosetto. BZ 728
8751
8752 Fixed a possible memory leak in the Unload operator. The DdbHandle 
8753 returned 
8754 by Load() did not have its reference count decremented during unload, 
8755 leading 
8756 to a memory leak. Lin Ming. BZ 727
8757
8758 Fixed a possible memory leak when deleting thermal/processor objects. Any 
8759 associated notify handlers (and objects) were not being deleted. Fiodor 
8760 Suietov. BZ 506
8761
8762 Fixed the ordering of the ASCII names in the global mutex table to match 
8763 the 
8764 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
8765 only. 
8766 Vegard Nossum. BZ 726
8767
8768 Enhanced the AcpiGetObjectInfo interface to return the number of required 
8769 arguments if the object is a control method. Added this call to the 
8770 debugger 
8771 so the proper number of default arguments are passed to a method. This 
8772 prevents a warning when executing methods from AcpiExec.
8773
8774 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
8775 AE_BAD_PARAMETER if input handle is invalid. BZ 474
8776
8777 Fixed an extraneous warning from exconfig.c on the 64-bit build.
8778
8779 Example Code and Data Size: These are the sizes for the OS-independent 
8780 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8781 debug version of the code includes the debug output trace mechanism and 
8782 has a 
8783 much larger code and data size.
8784
8785   Previous Release:
8786     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8787     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8788   Current Release:
8789     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8790     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8791
8792 2) iASL Compiler/Disassembler and Tools:
8793
8794 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
8795 resource descriptor names.
8796
8797 iASL: Detect invalid ASCII characters in input (windows version). Removed 
8798 the 
8799 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
8800 characters in the input. BZ 441
8801
8802 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
8803 the 
8804 "result of operation not used" warning when the DDB handle returned from 
8805 LoadTable is not used. The warning is not needed. BZ 590
8806
8807 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
8808 method 
8809 to 
8810 pass address of table to the AML. Added option to disable OpRegion 
8811 simulation 
8812 to allow creation of an OpRegion with a real address that was passed to 
8813 _CFG. 
8814 All of this allows testing of the Load and Unload operators from 
8815 AcpiExec.
8816
8817 Debugger: update tables command for unloaded tables. Handle unloaded 
8818 tables 
8819 and use the standard table header output routine.
8820
8821 ----------------------------------------
8822 09 June 2008. Summary of changes for version 20080609:
8823
8824 1) ACPI CA Core Subsystem:
8825
8826 Implemented a workaround for reversed _PRT entries. A significant number 
8827 of 
8828 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
8829 change dynamically detects and repairs this problem. Provides 
8830 compatibility 
8831 with MS ACPI. BZ 6859
8832
8833 Simplified the internal ACPI hardware interfaces to eliminate the locking 
8834 flag parameter from Register Read/Write. Added a new external interface, 
8835 AcpiGetRegisterUnlocked.
8836
8837 Fixed a problem where the invocation of a GPE control method could hang. 
8838 This 
8839 was a regression introduced in 20080514. The new method argument count 
8840 validation mechanism can enter an infinite loop when a GPE method is 
8841 dispatched. Problem fixed by removing the obsolete code that passed GPE 
8842 block 
8843 information to the notify handler via the control method parameter 
8844 pointer.
8845
8846 Fixed a problem where the _SST execution status was incorrectly returned 
8847 to 
8848 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
8849 in 
8850 20080514. _SST is optional and a NOT_FOUND exception should never be 
8851 returned. BZ 716
8852
8853 Fixed a problem where a deleted object could be accessed from within the 
8854 AML 
8855 parser. This was a regression introduced in version 20080123 as a fix for 
8856 the 
8857 Unload operator. Lin Ming. BZ 10669
8858
8859 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
8860 operands 
8861 and eliminated the use of a negative index in a loop. Operands are now 
8862 displayed in the correct order, not backwards. This also fixes a 
8863 regression 
8864 introduced in 20080514 on 64-bit systems where the elimination of 
8865 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
8866 715
8867
8868 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
8869 exit 
8870 path did not delete a locally allocated structure.
8871
8872 Updated definitions for the DMAR and SRAT tables to synchronize with the 
8873 current specifications. Includes disassembler support.
8874
8875 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
8876 loop termination value was used. Loop terminated on iteration early, 
8877 missing 
8878 one mutex. Linn Crosetto
8879
8880 Example Code and Data Size: These are the sizes for the OS-independent 
8881 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8882 debug version of the code includes the debug output trace mechanism and 
8883 has a 
8884 much larger code and data size.
8885
8886   Previous Release:
8887     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8888     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8889   Current Release:
8890     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8891     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8892
8893 2) iASL Compiler/Disassembler and Tools:
8894
8895 Disassembler: Implemented support for EisaId() within _CID objects. Now 
8896 disassemble integer _CID objects back to EisaId invocations, including 
8897 multiple integers within _CID packages. Includes single-step support for 
8898 debugger also.
8899
8900 Disassembler: Added support for DMAR and SRAT table definition changes.
8901
8902 ----------------------------------------
8903 14 May 2008. Summary of changes for version 20080514:
8904
8905 1) ACPI CA Core Subsystem:
8906
8907 Fixed a problem where GPEs were enabled too early during the ACPICA 
8908 initialization. This could lead to "handler not installed" errors on some 
8909 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
8910 This 
8911 ensures that all operation regions and devices throughout the namespace 
8912 have 
8913 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
8914
8915 Implemented a change to the enter sleep code. Moved execution of the _GTS 
8916 method to just before setting sleep enable bit. The execution was moved 
8917 from 
8918 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
8919 immediately before the SLP_EN bit is set, as per the ACPI specification. 
8920 Luming Yu, BZ 1653.
8921
8922 Implemented a fix to disable unknown GPEs (2nd version). Now always 
8923 disable 
8924 the GPE, even if ACPICA thinks that that it is already disabled. It is 
8925 possible that the AML or some other code has enabled the GPE unbeknownst 
8926 to 
8927 the ACPICA code.
8928
8929 Fixed a problem with the Field operator where zero-length fields would 
8930 return 
8931 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
8932 ASL 
8933 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
8934
8935 Implemented a fix for the Load operator, now load the table at the 
8936 namespace 
8937 root. This reverts a change introduced in version 20071019. The table is 
8938 now 
8939 loaded at the namespace root even though this goes against the ACPI 
8940 specification. This provides compatibility with other ACPI 
8941 implementations. 
8942 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
8943 Ming.
8944
8945 Fixed a problem where ACPICA would not Load() tables with unusual 
8946 signatures. 
8947 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
8948 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
8949 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
8950 such 
8951 signatures, ACPICA must be compatible. BZ 10454.
8952
8953 Fixed a possible negative array index in AcpiUtValidateException. Added 
8954 NULL 
8955 fields to the exception string arrays to eliminate a -1 subtraction on 
8956 the 
8957 SubStatus field.
8958
8959 Updated the debug tracking macros to reduce overall code and data size. 
8960 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
8961 instead of pointers to static strings. Jan Beulich and Bob Moore.
8962
8963 Implemented argument count checking in control method invocation via 
8964 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
8965 too 
8966 many. This applies only to extern programmatic control method execution, 
8967 not 
8968 method-to-method calls within the AML. Lin Ming.
8969
8970 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
8971 no 
8972 longer needed, especially with the removal of 16-bit support. It was 
8973 replaced 
8974 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
8975 bit 
8976 on 
8977 32/64-bit platforms is required.
8978
8979 Added the C const qualifier for appropriate string constants -- mostly 
8980 MODULE_NAME and printf format strings. Jan Beulich.
8981
8982 Example Code and Data Size: These are the sizes for the OS-independent 
8983 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8984 debug version of the code includes the debug output trace mechanism and 
8985 has a 
8986 much larger code and data size.
8987
8988   Previous Release:
8989     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8990     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8991   Current Release:
8992     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8993     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8994
8995 2) iASL Compiler/Disassembler and Tools:
8996
8997 Implemented ACPI table revision ID validation in the disassembler. Zero 
8998 is 
8999 always invalid. For DSDTs, the ID controls the interpreter integer width. 
9000
9001 means 32-bit and this is unusual. 2 or greater is 64-bit.
9002
9003 ----------------------------------------
9004 21 March 2008. Summary of changes for version 20080321:
9005
9006 1) ACPI CA Core Subsystem:
9007
9008 Implemented an additional change to the GPE support in order to suppress 
9009 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
9010 permanently 
9011 disable incoming GPEs that are neither enabled nor disabled -- meaning 
9012 that 
9013 the GPE is unknown to the system. This should prevent future interrupt 
9014 floods 
9015 from that GPE. BZ 6217 (Zhang Rui)
9016
9017 Fixed a problem where NULL package elements were not returned to the 
9018 AcpiEvaluateObject interface correctly. The element was simply ignored 
9019 instead of returning a NULL ACPI_OBJECT package element, potentially 
9020 causing 
9021 a buffer overflow and/or confusing the caller who expected a fixed number 
9022 of 
9023 elements. BZ 10132 (Lin Ming, Bob Moore)
9024
9025 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
9026 Dword, 
9027 Qword), Field, BankField, and IndexField operators when invoked from 
9028 inside 
9029 an executing control method. In this case, these operators created 
9030 namespace 
9031 nodes that were incorrectly left marked as permanent nodes instead of 
9032 temporary nodes. This could cause a problem if there is race condition 
9033 between an exiting control method and a running namespace walk. (Reported 
9034 by 
9035 Linn Crosetto)
9036
9037 Fixed a problem where the CreateField and CreateXXXField operators would 
9038 incorrectly allow duplicate names (the name of the field) with no 
9039 exception 
9040 generated.
9041
9042 Implemented several changes for Notify handling. Added support for new 
9043 Notify 
9044 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
9045 PowerResource objects is no longer allowed, as per the ACPI 
9046 specification. 
9047 (Bob Moore, Zhang Rui)
9048
9049 All Reference Objects returned via the AcpiEvaluateObject interface are 
9050 now 
9051 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
9052 for 
9053 NULL objects - either NULL package elements or unresolved named 
9054 references.
9055
9056 Fixed a problem where an extraneous debug message was produced for 
9057 package 
9058 objects (when debugging enabled). The message "Package List length larger 
9059 than NumElements count" is now produced in the correct case, and is now 
9060 an 
9061 error message rather than a debug message. Added a debug message for the 
9062 opposite case, where NumElements is larger than the Package List (the 
9063 package 
9064 will be padded out with NULL elements as per the ACPI spec.)
9065
9066 Implemented several improvements for the output of the ASL "Debug" object 
9067 to 
9068 clarify and keep all data for a given object on one output line.
9069
9070 Fixed two size calculation issues with the variable-length Start 
9071 Dependent 
9072 resource descriptor.
9073
9074 Example Code and Data Size: These are the sizes for the OS-independent 
9075 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9076 debug version of the code includes the debug output trace mechanism and 
9077 has 
9078 a much larger code and data size.
9079
9080   Previous Release:
9081     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9082     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9083   Current Release:
9084     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
9085     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
9086
9087 2) iASL Compiler/Disassembler and Tools:
9088
9089 Fixed a problem with the use of the Switch operator where execution of 
9090 the 
9091 containing method by multiple concurrent threads could cause an 
9092 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
9093 actual Switch opcode, it must be simulated with local named temporary 
9094 variables and if/else pairs. The solution chosen was to mark any method 
9095 that 
9096 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
9097 469.
9098
9099 ----------------------------------------
9100 13 February 2008. Summary of changes for version 20080213:
9101
9102 1) ACPI CA Core Subsystem:
9103
9104 Implemented another MS compatibility design change for GPE/Notify 
9105 handling. 
9106 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
9107 to 
9108 complete first. It is expected that the OSL will queue the enable request 
9109 behind all pending notify requests (may require changes to the local host 
9110 OSL 
9111 in AcpiOsExecute). Alexey Starikovskiy.
9112
9113 Fixed a problem where buffer and package objects passed as arguments to a 
9114 control method via the external AcpiEvaluateObject interface could cause 
9115 an 
9116 AE_AML_INTERNAL exception depending on the order and type of operators 
9117 executed by the target control method.
9118
9119 Fixed a problem where resource descriptor size optimization could cause a 
9120 problem when a _CRS resource template is passed to a _SRS method. The 
9121 _SRS 
9122 resource template must use the same descriptors (with the same size) as 
9123 returned from _CRS. This change affects the following resource 
9124 descriptors: 
9125 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
9126 9487)
9127
9128 Fixed a problem where a CopyObject to RegionField, BankField, and 
9129 IndexField 
9130 objects did not perform an implicit conversion as it should. These types 
9131 must 
9132 retain their initial type permanently as per the ACPI specification. 
9133 However, 
9134 a CopyObject to all other object types should not perform an implicit 
9135 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
9136
9137 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
9138 match device CIDs did not examine the entire list of available CIDs, but 
9139 instead aborted on the first non-matching CID. Andrew Patterson.
9140
9141 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
9142 was 
9143 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
9144 truncating the upper dword of a 64-bit value. This macro is only used to 
9145 display debug output, so no incorrect calculations were made. Also, 
9146 reimplemented the macro so that a 64-bit shift is not performed by 
9147 inefficient compilers.
9148
9149 Added missing va_end statements that should correspond with each va_start 
9150 statement.
9151
9152 Example Code and Data Size: These are the sizes for the OS-independent 
9153 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9154 debug version of the code includes the debug output trace mechanism and 
9155 has 
9156 a much larger code and data size.
9157
9158   Previous Release:
9159     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9160     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9161   Current Release:
9162     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9163     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9164
9165 2) iASL Compiler/Disassembler and Tools:
9166
9167 Implemented full disassembler support for the following new ACPI tables: 
9168 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
9169 complicated HEST table. These tables support the Windows Hardware Error 
9170 Architecture (WHEA).
9171
9172 ----------------------------------------
9173 23 January 2008. Summary of changes for version 20080123:
9174
9175 1) ACPI CA Core Subsystem:
9176
9177 Added the 2008 copyright to all module headers and signons. This affects 
9178 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
9179 the tools/utilities.
9180
9181 Fixed a problem with the SizeOf operator when used with Package and 
9182 Buffer 
9183 objects. These objects have deferred execution for some arguments, and 
9184 the 
9185 execution is now completed before the SizeOf is executed. This problem 
9186 caused 
9187 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
9188 BZ 
9189 9558
9190
9191 Implemented an enhancement to the interpreter "slack mode". In the 
9192 absence 
9193 of 
9194 an explicit return or an implicitly returned object from the last 
9195 executed 
9196 opcode, a control method will now implicitly return an integer of value 0 
9197 for 
9198 Microsoft compatibility. (Lin Ming) BZ 392
9199
9200 Fixed a problem with the Load operator where an exception was not 
9201 returned 
9202 in 
9203 the case where the table is already loaded. (Lin Ming) BZ 463
9204
9205 Implemented support for the use of DDBHandles as an Indexed Reference, as 
9206 per 
9207 the ACPI spec. (Lin Ming) BZ 486
9208
9209 Implemented support for UserTerm (Method invocation) for the Unload 
9210 operator 
9211 as per the ACPI spec. (Lin Ming) BZ 580
9212
9213 Fixed a problem with the LoadTable operator where the OemId and 
9214 OemTableId 
9215 input strings could cause unexpected failures if they were shorter than 
9216 the 
9217 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
9218
9219 Implemented support for UserTerm (Method invocation) for the Unload 
9220 operator 
9221 as per the ACPI spec. (Lin Ming) BZ 580
9222
9223 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
9224 HEST, 
9225 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
9226
9227 Example Code and Data Size: These are the sizes for the OS-independent 
9228 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9229 debug version of the code includes the debug output trace mechanism and 
9230 has 
9231 a much larger code and data size.
9232
9233   Previous Release:
9234     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9235     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9236   Current Release:
9237     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9238     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9239
9240 2) iASL Compiler/Disassembler and Tools:
9241
9242 Implemented support in the disassembler for checksum validation on 
9243 incoming 
9244 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
9245 table 
9246 header dump at the start of the disassembly.
9247
9248 Implemented additional debugging information in the namespace listing 
9249 file 
9250 created during compilation. In addition to the namespace hierarchy, the 
9251 full 
9252 pathname to each namespace object is displayed.
9253
9254 Fixed a problem with the disassembler where invalid ACPI tables could 
9255 cause 
9256 faults or infinite loops.
9257
9258 Fixed an unexpected parse error when using the optional "parameter types" 
9259 list in a control method declaration. (Lin Ming) BZ 397
9260
9261 Fixed a problem where two External declarations with the same name did 
9262 not 
9263 cause an error (Lin Ming) BZ 509
9264
9265 Implemented support for full TermArgs (adding Argx, Localx and method 
9266 invocation) for the ParameterData parameter to the LoadTable operator. 
9267 (Lin 
9268 Ming) BZ 583,587
9269
9270 ----------------------------------------
9271 19 December 2007. Summary of changes for version 20071219:
9272
9273 1) ACPI CA Core Subsystem:
9274
9275 Implemented full support for deferred execution for the TermArg string 
9276 arguments for DataTableRegion. This enables forward references and full 
9277 operand resolution for the three string arguments. Similar to 
9278 OperationRegion 
9279 deferred argument execution.) Lin Ming. BZ 430
9280
9281 Implemented full argument resolution support for the BankValue argument 
9282 to 
9283 BankField. Previously, only constants were supported, now any TermArg may 
9284 be 
9285 used. Lin Ming BZ 387, 393
9286
9287 Fixed a problem with AcpiGetDevices where the search of a branch of the 
9288 device tree could be terminated prematurely. In accordance with the ACPI 
9289 specification, the search down the current branch is terminated if a 
9290 device 
9291 is both not present and not functional (instead of just not present.) 
9292 Yakui 
9293 Zhao.
9294
9295 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
9296 if 
9297 the underlying AML code changed the GPE enable registers. Now, any 
9298 unknown 
9299 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
9300 disabled 
9301 instead of simply ignored. Rui Zhang.
9302
9303 Fixed a problem with Index Fields where the Index register was 
9304 incorrectly 
9305 limited to a maximum of 32 bits. Now any size may be used.
9306
9307 Fixed a couple memory leaks associated with "implicit return" objects 
9308 when 
9309 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
9310
9311 Example Code and Data Size: These are the sizes for the OS-independent 
9312 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9313 debug version of the code includes the debug output trace mechanism and 
9314 has 
9315 a much larger code and data size.
9316
9317   Previous Release:
9318     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9319     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9320   Current Release:
9321     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9322     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9323
9324 ----------------------------------------
9325 14 November 2007. Summary of changes for version 20071114:
9326
9327 1) ACPI CA Core Subsystem:
9328
9329 Implemented event counters for each of the Fixed Events, the ACPI SCI 
9330 (interrupt) itself, and control methods executed. Named 
9331 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
9332 These 
9333 should be useful for debugging and statistics.
9334
9335 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
9336 contents of the various event counters. Returns the current values for 
9337 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
9338 AcpiMethodCount. The interface can be expanded in the future if new 
9339 counters 
9340 are added. Device drivers should use this interface rather than access 
9341 the 
9342 counters directly.
9343
9344 Fixed a problem with the FromBCD and ToBCD operators. With some 
9345 compilers, 
9346 the ShortDivide function worked incorrectly, causing problems with the 
9347 BCD 
9348 functions with large input values. A truncation from 64-bit to 32-bit 
9349 inadvertently occurred. Internal BZ 435. Lin Ming
9350
9351 Fixed a problem with Index references passed as method arguments. 
9352 References 
9353 passed as arguments to control methods were dereferenced immediately 
9354 (before 
9355 control was passed to the called method). The references are now 
9356 correctly 
9357 passed directly to the called method. BZ 5389. Lin Ming
9358
9359 Fixed a problem with CopyObject used in conjunction with the Index 
9360 operator. 
9361 The reference was incorrectly dereferenced before the copy. The reference 
9362 is 
9363 now correctly copied. BZ 5391. Lin Ming
9364
9365 Fixed a problem with Control Method references within Package objects. 
9366 These 
9367 references are now correctly generated. This completes the package 
9368 construction overhaul that began in version 20071019.
9369
9370 Example Code and Data Size: These are the sizes for the OS-independent 
9371 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9372 debug version of the code includes the debug output trace mechanism and 
9373 has 
9374 a much larger code and data size.
9375
9376   Previous Release:
9377     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9378     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9379   Current Release:
9380     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9381     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9382
9383
9384 2) iASL Compiler/Disassembler and Tools:
9385
9386 The AcpiExec utility now installs handlers for all of the predefined 
9387 Operation Region types. New types supported are: PCI_Config, CMOS, and 
9388 PCIBARTarget.
9389
9390 Fixed a problem with the 64-bit version of AcpiExec where the extended 
9391 (64-
9392 bit) address fields for the DSDT and FACS within the FADT were not being 
9393 used, causing truncation of the upper 32-bits of these addresses. Lin 
9394 Ming 
9395 and Bob Moore
9396
9397 ----------------------------------------
9398 19 October 2007. Summary of changes for version 20071019:
9399
9400 1) ACPI CA Core Subsystem:
9401
9402 Fixed a problem with the Alias operator when the target of the alias is a 
9403 named ASL operator that opens a new scope -- Scope, Device, 
9404 PowerResource, 
9405 Processor, and ThermalZone. In these cases, any children of the original 
9406 operator could not be accessed via the alias, potentially causing 
9407 unexpected 
9408 AE_NOT_FOUND exceptions. (BZ 9067)
9409
9410 Fixed a problem with the Package operator where all named references were 
9411 created as object references and left otherwise unresolved. According to 
9412 the 
9413 ACPI specification, a Package can only contain Data Objects or references 
9414 to 
9415 control methods. The implication is that named references to Data Objects 
9416 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
9417 immediately upon package creation. This is the approach taken with this 
9418 change. References to all other named objects (Methods, Devices, Scopes, 
9419 etc.) are all now properly created as reference objects. (BZ 5328)
9420
9421 Reverted a change to Notify handling that was introduced in version 
9422 20070508. This version changed the Notify handling from asynchronous to 
9423 fully synchronous (Device driver Notify handling with respect to the 
9424 Notify 
9425 ASL operator). It was found that this change caused more problems than it 
9426 solved and was removed by most users.
9427
9428 Fixed a problem with the Increment and Decrement operators where the type 
9429 of 
9430 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
9431 Lin Ming.
9432
9433 Fixed a problem with the Load and LoadTable operators where the table 
9434 location within the namespace was ignored. Instead, the table was always 
9435 loaded into the root or current scope. Lin Ming.
9436
9437 Fixed a problem with the Load operator when loading a table from a buffer 
9438 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
9439
9440 Fixed a problem with the Debug object where a store of a DdbHandle 
9441 reference 
9442 object to the Debug object could cause a fault.
9443
9444 Added a table checksum verification for the Load operator, in the case 
9445 where 
9446 the load is from a buffer. (BZ 578).
9447
9448 Implemented additional parameter validation for the LoadTable operator. 
9449 The 
9450 length of the input strings SignatureString, OemIdString, and OemTableId 
9451 are 
9452 now checked for maximum lengths. (BZ 582) Lin Ming.
9453
9454 Example Code and Data Size: These are the sizes for the OS-independent 
9455 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9456 debug version of the code includes the debug output trace mechanism and 
9457 has 
9458 a much larger code and data size.
9459
9460   Previous Release:
9461     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9462     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9463   Current Release:
9464     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9465     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9466
9467
9468 2) iASL Compiler/Disassembler:
9469
9470 Fixed a problem where if a single file was specified and the file did not 
9471 exist, no error message was emitted. (Introduced with wildcard support in 
9472 version 20070917.)
9473
9474 ----------------------------------------
9475 19 September 2007. Summary of changes for version 20070919:
9476
9477 1) ACPI CA Core Subsystem:
9478
9479 Designed and implemented new external interfaces to install and remove 
9480 handlers for ACPI table-related events. Current events that are defined 
9481 are 
9482 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
9483 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
9484 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
9485
9486 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
9487 (acpi_serialized option on Linux) could cause some systems to hang during 
9488 initialization. (Bob Moore) BZ 8171
9489
9490 Fixed a problem where objects of certain types (Device, ThermalZone, 
9491 Processor, PowerResource) can be not found if they are declared and 
9492 referenced from within the same control method (Lin Ming) BZ 341
9493
9494 Example Code and Data Size: These are the sizes for the OS-independent 
9495 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9496 debug version of the code includes the debug output trace mechanism and 
9497 has 
9498 a much larger code and data size.
9499
9500   Previous Release:
9501     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9502     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9503   Current Release:
9504     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9505     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9506
9507
9508 2) iASL Compiler/Disassembler:
9509
9510 Implemented support to allow multiple files to be compiled/disassembled 
9511 in 
9512
9513 single invocation. This includes command line wildcard support for both 
9514 the 
9515 Windows and Unix versions of the compiler. This feature simplifies the 
9516 disassembly and compilation of multiple ACPI tables in a single 
9517 directory.
9518
9519 ----------------------------------------
9520 08 May 2007. Summary of changes for version 20070508:
9521
9522 1) ACPI CA Core Subsystem:
9523
9524 Implemented a Microsoft compatibility design change for the handling of 
9525 the 
9526 Notify AML operator. Previously, notify handlers were dispatched and 
9527 executed completely asynchronously in a deferred thread. The new design 
9528 still executes the notify handlers in a different thread, but the 
9529 original 
9530 thread that executed the Notify() now waits at a synchronization point 
9531 for 
9532 the notify handler to complete. Some machines depend on a synchronous 
9533 Notify 
9534 operator in order to operate correctly.
9535
9536 Implemented support to allow Package objects to be passed as method 
9537 arguments to the external AcpiEvaluateObject interface. Previously, this 
9538 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
9539 implemented since there were no reserved control methods that required it 
9540 until recently.
9541
9542 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
9543 that 
9544 contained invalid non-zero values in reserved fields could cause later 
9545 failures because these fields have meaning in later revisions of the 
9546 FADT. 
9547 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
9548 fields 
9549 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
9550
9551 Fixed a problem where the Global Lock handle was not properly updated if 
9552
9553 thread that acquired the Global Lock via executing AML code then 
9554 attempted 
9555 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
9556 Joe 
9557 Liu.
9558
9559 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
9560 could be corrupted if the interrupt being removed was at the head of the 
9561 list. Reported by Linn Crosetto.
9562
9563 Example Code and Data Size: These are the sizes for the OS-independent 
9564 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9565 debug version of the code includes the debug output trace mechanism and 
9566 has 
9567 a much larger code and data size.
9568
9569   Previous Release:
9570     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9571     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9572   Current Release:
9573     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9574     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9575
9576 ----------------------------------------
9577 20 March 2007. Summary of changes for version 20070320:
9578
9579 1) ACPI CA Core Subsystem:
9580
9581 Implemented a change to the order of interpretation and evaluation of AML 
9582 operand objects within the AML interpreter. The interpreter now evaluates 
9583 operands in the order that they appear in the AML stream (and the 
9584 corresponding ASL code), instead of in the reverse order (after the 
9585 entire 
9586 operand list has been parsed). The previous behavior caused several 
9587 subtle 
9588 incompatibilities with the Microsoft AML interpreter as well as being 
9589 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
9590
9591 Implemented a change to the ACPI Global Lock support. All interfaces to 
9592 the 
9593 global lock now allow the same thread to acquire the lock multiple times. 
9594 This affects the AcpiAcquireGlobalLock external interface to the global 
9595 lock 
9596 as well as the internal use of the global lock to support AML fields -- a 
9597 control method that is holding the global lock can now simultaneously 
9598 access 
9599 AML fields that require global lock protection. Previously, in both 
9600 cases, 
9601 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
9602 to 
9603 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
9604 Controller. There is no change to the behavior of the AML Acquire 
9605 operator, 
9606 as this can already be used to acquire a mutex multiple times by the same 
9607 thread. BZ 8066. With assistance from Alexey Starikovskiy.
9608
9609 Fixed a problem where invalid objects could be referenced in the AML 
9610 Interpreter after error conditions. During operand evaluation, ensure 
9611 that 
9612 the internal "Return Object" field is cleared on error and only valid 
9613 pointers are stored there. Caused occasional access to deleted objects 
9614 that 
9615 resulted in "large reference count" warning messages. Valery Podrezov.
9616
9617 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
9618 on 
9619 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
9620 Podrezov.
9621
9622 Fixed an internal problem with the handling of result objects on the 
9623 interpreter result stack. BZ 7872. Valery Podrezov.
9624
9625 Removed obsolete code that handled the case where AML_NAME_OP is the 
9626 target 
9627 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
9628 7874. Valery Podrezov.
9629
9630 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
9631 was 
9632
9633 remnant from the previously discontinued 16-bit support.
9634
9635 Example Code and Data Size: These are the sizes for the OS-independent 
9636 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9637 debug version of the code includes the debug output trace mechanism and 
9638 has 
9639 a much larger code and data size.
9640
9641   Previous Release:
9642     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9643     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9644   Current Release:
9645     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9646     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9647
9648 ----------------------------------------
9649 26 January 2007. Summary of changes for version 20070126:
9650
9651 1) ACPI CA Core Subsystem:
9652
9653 Added the 2007 copyright to all module headers and signons. This affects 
9654 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
9655 the utilities.
9656
9657 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
9658 during a table load. A bad pointer was passed in the case where the DSDT 
9659 is 
9660 overridden, causing a fault in this case.
9661
9662 Example Code and Data Size: These are the sizes for the OS-independent 
9663 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9664 debug version of the code includes the debug output trace mechanism and 
9665 has 
9666 a much larger code and data size.
9667
9668   Previous Release:
9669     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9670     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9671   Current Release:
9672     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9673     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9674
9675 ----------------------------------------
9676 15 December 2006. Summary of changes for version 20061215:
9677
9678 1) ACPI CA Core Subsystem:
9679
9680 Support for 16-bit ACPICA has been completely removed since it is no 
9681 longer 
9682 necessary and it clutters the code. All 16-bit macros, types, and 
9683 conditional compiles have been removed, cleaning up and simplifying the 
9684 code 
9685 across the entire subsystem. DOS support is no longer needed since the 
9686 bootable Linux firmware kit is now available.
9687
9688 The handler for the Global Lock is now removed during AcpiTerminate to 
9689 enable a clean subsystem restart, via the implementation of the 
9690 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
9691 HP)
9692
9693 Implemented enhancements to the multithreading support within the 
9694 debugger 
9695 to enable improved multithreading debugging and evaluation of the 
9696 subsystem. 
9697 (Valery Podrezov)
9698
9699 Debugger: Enhanced the Statistics/Memory command to emit the total 
9700 (maximum) 
9701 memory used during the execution, as well as the maximum memory consumed 
9702 by 
9703 each of the various object types. (Valery Podrezov)
9704
9705 Example Code and Data Size: These are the sizes for the OS-independent 
9706 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9707 debug version of the code includes the debug output trace mechanism and 
9708 has 
9709 a much larger code and data size.
9710
9711   Previous Release:
9712     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9713     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9714   Current Release:
9715     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9716     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9717
9718
9719 2) iASL Compiler/Disassembler and Tools:
9720
9721 AcpiExec: Implemented a new option (-m) to display full memory use 
9722 statistics upon subsystem/program termination. (Valery Podrezov)
9723
9724 ----------------------------------------
9725 09 November 2006. Summary of changes for version 20061109:
9726
9727 1) ACPI CA Core Subsystem:
9728
9729 Optimized the Load ASL operator in the case where the source operand is 
9730 an 
9731 operation region. Simply map the operation region memory, instead of 
9732 performing a bytewise read. (Region must be of type SystemMemory, see 
9733 below.)
9734
9735 Fixed the Load ASL operator for the case where the source operand is a 
9736 region field. A buffer object is also allowed as the source operand. BZ 
9737 480
9738
9739 Fixed a problem where the Load ASL operator allowed the source operand to 
9740 be 
9741 an operation region of any type. It is now restricted to regions of type 
9742 SystemMemory, as per the ACPI specification. BZ 481
9743
9744 Additional cleanup and optimizations for the new Table Manager code.
9745
9746 AcpiEnable will now fail if all of the required ACPI tables are not 
9747 loaded 
9748 (FADT, FACS, DSDT). BZ 477
9749
9750 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
9751 this 
9752 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
9753 manually optimized to be aligned and will not work if it is byte-packed. 
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:  78.1K Code, 17.1K Data,  95.2K Total
9763     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9764   Current Release:
9765     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9766     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9767
9768
9769 2) iASL Compiler/Disassembler and Tools:
9770
9771 Fixed a problem where the presence of the _OSI predefined control method 
9772 within complex expressions could cause an internal compiler error.
9773
9774 AcpiExec: Implemented full region support for multiple address spaces. 
9775 SpaceId is now part of the REGION object. BZ 429
9776
9777 ----------------------------------------
9778 11 October 2006. Summary of changes for version 20061011:
9779
9780 1) ACPI CA Core Subsystem:
9781
9782 Completed an AML interpreter performance enhancement for control method 
9783 execution. Previously a 2-pass parse/execution, control methods are now 
9784 completely parsed and executed in a single pass. This improves overall 
9785 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
9786 use. (Valery Podrezov + interpreter changes in version 20051202 that 
9787 eliminated namespace loading during the pass one parse.)
9788
9789 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
9790 not 
9791 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
9792 now 
9793 obtained and also checked for an ID match.
9794
9795 Implemented additional support for the PCI _ADR execution: upsearch until 
9796
9797 device scope is found before executing _ADR. This allows PCI_Config 
9798 operation regions to be declared locally within control methods 
9799 underneath 
9800 PCI device objects.
9801
9802 Fixed a problem with a possible race condition between threads executing 
9803 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
9804 modifying AcpiWalkNamespace to (by default) ignore all temporary 
9805 namespace 
9806 entries created during any concurrent control method execution. An 
9807 additional namespace race condition is known to exist between 
9808 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
9809 investigation.
9810
9811 Restructured the AML ParseLoop function, breaking it into several 
9812 subfunctions in order to reduce CPU stack use and improve 
9813 maintainability. 
9814 (Mikhail Kouzmich)
9815
9816 AcpiGetHandle: Fix for parameter validation to detect invalid 
9817 combinations 
9818 of prefix handle and pathname. BZ 478
9819
9820 Example Code and Data Size: These are the sizes for the OS-independent 
9821 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9822 debug version of the code includes the debug output trace mechanism and 
9823 has 
9824 a much larger code and data size.
9825
9826   Previous Release:
9827     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9828     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9829   Current Release:
9830     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9831     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9832
9833 2) iASL Compiler/Disassembler and Tools:
9834
9835 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
9836 Manager 
9837 to restore original behavior.
9838
9839 ----------------------------------------
9840 27 September 2006. Summary of changes for version 20060927:
9841
9842 1) ACPI CA Core Subsystem:
9843
9844 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
9845 These functions now use a spinlock for mutual exclusion and the interrupt 
9846 level indication flag is not needed.
9847
9848 Fixed a problem with the Global Lock where the lock could appear to be 
9849 obtained before it is actually obtained. The global lock semaphore was 
9850 inadvertently created with one unit instead of zero units. (BZ 464) 
9851 Fiodor 
9852 Suietov.
9853
9854 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
9855 during 
9856 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9857
9858 Example Code and Data Size: These are the sizes for the OS-independent 
9859 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9860 debug version of the code includes the debug output trace mechanism and 
9861 has 
9862 a much larger code and data size.
9863
9864   Previous Release:
9865     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9866     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9867   Current Release:
9868     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9869     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9870
9871
9872 2) iASL Compiler/Disassembler and Tools:
9873
9874 Fixed a compilation problem with the pre-defined Resource Descriptor 
9875 field 
9876 names where an "object does not exist" error could be incorrectly 
9877 generated 
9878 if the parent ResourceTemplate pathname places the template within a 
9879 different namespace scope than the current scope. (BZ 7212)
9880
9881 Fixed a problem where the compiler could hang after syntax errors 
9882 detected 
9883 in an ElseIf construct. (BZ 453)
9884
9885 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
9886 operator. An incorrect output filename was produced when this parameter 
9887 was 
9888 a null string (""). Now, the original input filename is used as the AML 
9889 output filename, with an ".aml" extension.
9890
9891 Implemented a generic batch command mode for the AcpiExec utility 
9892 (execute 
9893 any AML debugger command) (Valery Podrezov).
9894
9895 ----------------------------------------
9896 12 September 2006. Summary of changes for version 20060912:
9897
9898 1) ACPI CA Core Subsystem:
9899
9900 Enhanced the implementation of the "serialized mode" of the interpreter 
9901 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
9902 specified, instead of creating a serialization semaphore per control 
9903 method, 
9904 the interpreter lock is simply no longer released before a blocking 
9905 operation during control method execution. This effectively makes the AML 
9906 Interpreter single-threaded. The overhead of a semaphore per-method is 
9907 eliminated.
9908
9909 Fixed a regression where an error was no longer emitted if a control 
9910 method 
9911 attempts to create 2 objects of the same name. This once again returns 
9912 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
9913 that 
9914 will dynamically serialize the control method to possible prevent future 
9915 errors. (BZ 440)
9916
9917 Integrated a fix for a problem with PCI Express HID detection in the PCI 
9918 Config Space setup procedure. (BZ 7145)
9919
9920 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
9921 AcpiHwInitialize function - the FADT registers are now validated when the 
9922 table is loaded.
9923
9924 Added two new warnings during FADT verification - 1) if the FADT is 
9925 larger 
9926 than the largest known FADT version, and 2) if there is a mismatch 
9927 between 
9928
9929 32-bit block address and the 64-bit X counterpart (when both are non-
9930 zero.)
9931
9932 Example Code and Data Size: These are the sizes for the OS-independent 
9933 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9934 debug version of the code includes the debug output trace mechanism and 
9935 has 
9936 a much larger code and data size.
9937
9938   Previous Release:
9939     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9940     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9941   Current Release:
9942     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9943     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9944
9945
9946 2) iASL Compiler/Disassembler and Tools:
9947
9948 Fixed a problem with the implementation of the Switch() operator where 
9949 the 
9950 temporary variable was declared too close to the actual Switch, instead 
9951 of 
9952 at method level. This could cause a problem if the Switch() operator is 
9953 within a while loop, causing an error on the second iteration. (BZ 460)
9954
9955 Disassembler - fix for error emitted for unknown type for target of scope 
9956 operator. Now, ignore it and continue.
9957
9958 Disassembly of an FADT now verifies the input FADT and reports any errors 
9959 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
9960
9961 Disassembly of raw data buffers with byte initialization data now 
9962 prefixes 
9963 each output line with the current buffer offset.
9964
9965 Disassembly of ASF! table now includes all variable-length data fields at 
9966 the end of some of the subtables.
9967
9968 The disassembler now emits a comment if a buffer appears to be a 
9969 ResourceTemplate, but cannot be disassembled as such because the EndTag 
9970 does 
9971 not appear at the very end of the buffer.
9972
9973 AcpiExec - Added the "-t" command line option to enable the serialized 
9974 mode 
9975 of the AML interpreter.
9976
9977 ----------------------------------------
9978 31 August 2006. Summary of changes for version 20060831:
9979
9980 1) ACPI CA Core Subsystem:
9981
9982 Miscellaneous fixes for the Table Manager:
9983 - Correctly initialize internal common FADT for all 64-bit "X" fields
9984 - Fixed a couple table mapping issues during table load
9985 - Fixed a couple alignment issues for IA64
9986 - Initialize input array to zero in AcpiInitializeTables
9987 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
9988 AcpiGetTableByIndex
9989
9990 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
9991 now 
9992 immediately disabled to prevent the waking GPE from firing again and to 
9993 prevent other wake GPEs from interrupting the wake process.
9994
9995 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
9996 to 
9997 be used for debugging systems with a large number of ACPI interrupts.
9998
9999 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
10000 both the ACPICA headers and the disassembler.
10001
10002 Example Code and Data Size: These are the sizes for the OS-independent 
10003 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10004 debug version of the code includes the debug output trace mechanism and 
10005 has 
10006 a much larger code and data size.
10007
10008   Previous Release:
10009     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10010     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10011   Current Release:
10012     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
10013     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
10014
10015
10016 2) iASL Compiler/Disassembler and Tools:
10017
10018 Disassembler support for the DMAR ACPI table.
10019
10020 ----------------------------------------
10021 23 August 2006. Summary of changes for version 20060823:
10022
10023 1) ACPI CA Core Subsystem:
10024
10025 The Table Manager component has been completely redesigned and 
10026 reimplemented. The new design is much simpler, and reduces the overall 
10027 code 
10028 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
10029 is 
10030 now possible to obtain the ACPI tables very early during kernel 
10031 initialization, even before dynamic memory management is initialized. 
10032 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
10033
10034 Obsolete ACPICA interfaces:
10035
10036 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
10037 init 
10038 time).
10039 - AcpiLoadTable: Not needed.
10040 - AcpiUnloadTable: Not needed.
10041
10042 New ACPICA interfaces:
10043
10044 - AcpiInitializeTables: Must be called before the table manager can be 
10045 used.
10046 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
10047 allocated memory after it becomes available.
10048 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
10049 tables 
10050 in the RSDT/XSDT.
10051
10052 Other ACPICA changes:
10053
10054 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
10055 Use 
10056 AcpiOsUnmapMemory to free this mapping.
10057 - AcpiGetTable returns the actual mapped table. The mapping is managed 
10058 internally and must not be deleted by the caller. Use of this interface 
10059 causes no additional dynamic memory allocation.
10060 - AcpiFindRootPointer: Support for physical addressing has been 
10061 eliminated, 
10062 it appeared to be unused.
10063 - The interface to AcpiOsMapMemory has changed to be consistent with the 
10064 other allocation interfaces.
10065 - The interface to AcpiOsGetRootPointer has changed to eliminate 
10066 unnecessary 
10067 parameters.
10068 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
10069 64-
10070 bit platforms. Was previously 64 bits on all platforms.
10071 - The interface to the ACPI Global Lock acquire/release macros have 
10072 changed 
10073 slightly since ACPICA no longer keeps a local copy of the FACS with a 
10074 constructed pointer to the actual global lock.
10075
10076 Porting to the new table manager:
10077
10078 - AcpiInitializeTables: Must be called once, and can be called anytime 
10079 during the OS initialization process. It allows the host to specify an 
10080 area 
10081 of memory to be used to store the internal version of the RSDT/XSDT (root 
10082 table). This allows the host to access ACPI tables before memory 
10083 management 
10084 is initialized and running.
10085 - AcpiReallocateRootTable: Can be called after memory management is 
10086 running 
10087 to copy the root table to a dynamically allocated array, freeing up the 
10088 scratch memory specified in the call to AcpiInitializeTables.
10089 - AcpiSubsystemInitialize: This existing interface is independent of the 
10090 Table Manager, and does not have to be called before the Table Manager 
10091 can 
10092 be used, it only must be called before the rest of ACPICA can be used.
10093 - ACPI Tables: Some changes have been made to the names and structure of 
10094 the 
10095 actbl.h and actbl1.h header files and may require changes to existing 
10096 code. 
10097 For example, bitfields have been completely removed because of their lack 
10098 of 
10099 portability across C compilers.
10100 - Update interfaces to the Global Lock acquire/release macros if local 
10101 versions are used. (see acwin.h)
10102
10103 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
10104
10105 New files: tbfind.c
10106
10107 Example Code and Data Size: These are the sizes for the OS-independent 
10108 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10109 debug version of the code includes the debug output trace mechanism and 
10110 has 
10111 a much larger code and data size.
10112
10113   Previous Release:
10114     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10115     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10116   Current Release:
10117     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10118     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10119
10120
10121 2) iASL Compiler/Disassembler and Tools:
10122
10123 No changes for this release.
10124
10125 ----------------------------------------
10126 21 July 2006. Summary of changes for version 20060721:
10127
10128 1) ACPI CA Core Subsystem:
10129
10130 The full source code for the ASL test suite used to validate the iASL 
10131 compiler and the ACPICA core subsystem is being released with the ACPICA 
10132 source for the first time. The source is contained in a separate package 
10133 and 
10134 consists of over 1100 files that exercise all ASL/AML operators. The 
10135 package 
10136 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
10137 Fiodor 
10138 Suietov)
10139
10140 Completed a new design and implementation for support of the ACPI Global 
10141 Lock. On the OS side, the global lock is now treated as a standard AML 
10142 mutex. Previously, multiple OS threads could "acquire" the global lock 
10143 simultaneously. However, this could cause the BIOS to be starved out of 
10144 the 
10145 lock - especially in cases such as the Embedded Controller driver where 
10146 there is a tight coupling between the OS and the BIOS.
10147
10148 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
10149 The Global Lock interrupt handler no longer queues the execution of a 
10150 separate thread to signal the global lock semaphore. Instead, the 
10151 semaphore 
10152 is signaled directly from the interrupt handler.
10153
10154 Implemented support within the AML interpreter for package objects that 
10155 contain a larger AML length (package list length) than the package 
10156 element 
10157 count. In this case, the length of the package is truncated to match the 
10158 package element count. Some BIOS code apparently modifies the package 
10159 length 
10160 on the fly, and this change supports this behavior. Provides 
10161 compatibility 
10162 with the MS AML interpreter. (With assistance from Fiodor Suietov)
10163
10164 Implemented a temporary fix for the BankValue parameter of a Bank Field 
10165 to 
10166 support all constant values, now including the Zero and One opcodes. 
10167 Evaluation of this parameter must eventually be converted to a full 
10168 TermArg 
10169 evaluation. A not-implemented error is now returned (temporarily) for 
10170 non-
10171 constant values for this parameter.
10172
10173 Fixed problem reports (Fiodor Suietov) integrated:
10174 - Fix for premature object deletion after CopyObject on Operation Region 
10175 (BZ 
10176 350)
10177
10178 Example Code and Data Size: These are the sizes for the OS-independent 
10179 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10180 debug version of the code includes the debug output trace mechanism and 
10181 has 
10182 a much larger code and data size.
10183
10184   Previous Release:
10185     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
10186     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
10187   Current Release:
10188     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10189     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10190
10191
10192 2) iASL Compiler/Disassembler and Tools:
10193
10194 No changes for this release.
10195
10196 ----------------------------------------
10197 07 July 2006. Summary of changes for version 20060707:
10198
10199 1) ACPI CA Core Subsystem:
10200
10201 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
10202 that do not allow the initialization of address pointers within packed 
10203 structures - even though the hardware itself may support misaligned 
10204 transfers. Some of the debug data structures are packed by default to 
10205 minimize size.
10206
10207 Added an error message for the case where AcpiOsGetThreadId() returns 
10208 zero. 
10209 A non-zero value is required by the core ACPICA code to ensure the proper 
10210 operation of AML mutexes and recursive control methods.
10211
10212 The DSDT is now the only ACPI table that determines whether the AML 
10213 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
10214 but 
10215 the hooks for per-table 32/64 switching have been removed from the code. 
10216
10217 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
10218
10219 Fixed a possible leak of an OwnerID in the error path of 
10220 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
10221 deletion to a single place in AcpiTbUninstallTable to correct possible 
10222 leaks 
10223 when using the AcpiTbDeleteTablesByType interface (with assistance from 
10224 Lance Ortiz.)
10225
10226 Fixed a problem with Serialized control methods where the semaphore 
10227 associated with the method could be over-signaled after multiple method 
10228 invocations.
10229
10230 Fixed two issues with the locking of the internal namespace data 
10231 structure. 
10232 Both the Unload() operator and AcpiUnloadTable interface now lock the 
10233 namespace during the namespace deletion associated with the table unload 
10234 (with assistance from Linn Crosetto.)
10235
10236 Fixed problem reports (Valery Podrezov) integrated:
10237 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
10238
10239 Fixed problem reports (Fiodor Suietov) integrated:
10240 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
10241 - On Address Space handler deletion, needless deactivation call (BZ 374)
10242 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
10243 375)
10244 - Possible memory leak, Notify sub-objects of Processor, Power, 
10245 ThermalZone 
10246 (BZ 376)
10247 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
10248 - Minimum Length of RSDT should be validated (BZ 379)
10249 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
10250 Handler (BZ (380)
10251 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
10252 loaded 
10253 (BZ 381)
10254
10255 Example Code and Data Size: These are the sizes for the OS-independent 
10256 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10257 debug version of the code includes the debug output trace mechanism and 
10258 has 
10259 a much larger code and data size.
10260
10261   Previous Release:
10262     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10263     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10264   Current Release:
10265     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10266     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10267
10268
10269 2) iASL Compiler/Disassembler and Tools:
10270
10271 Fixed problem reports:
10272 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
10273 436)
10274
10275 ----------------------------------------
10276 23 June 2006. Summary of changes for version 20060623:
10277
10278 1) ACPI CA Core Subsystem:
10279
10280 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
10281 allows the type to be customized to the host OS for improved efficiency 
10282 (since a spinlock is usually a very small object.)
10283
10284 Implemented support for "ignored" bits in the ACPI registers. According 
10285 to 
10286 the ACPI specification, these bits should be preserved when writing the 
10287 registers via a read/modify/write cycle. There are 3 bits preserved in 
10288 this 
10289 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
10290
10291 Implemented the initial deployment of new OSL mutex interfaces. Since 
10292 some 
10293 host operating systems have separate mutex and semaphore objects, this 
10294 feature was requested. The base code now uses mutexes (and the new mutex 
10295 interfaces) wherever a binary semaphore was used previously. However, for 
10296 the current release, the mutex interfaces are defined as macros to map 
10297 them 
10298 to the existing semaphore interfaces. Therefore, no OSL changes are 
10299 required 
10300 at this time. (See acpiosxf.h)
10301
10302 Fixed several problems with the support for the control method SyncLevel 
10303 parameter. The SyncLevel now works according to the ACPI specification 
10304 and 
10305 in concert with the Mutex SyncLevel parameter, since the current 
10306 SyncLevel 
10307 is a property of the executing thread. Mutual exclusion for control 
10308 methods 
10309 is now implemented with a mutex instead of a semaphore.
10310
10311 Fixed three instances of the use of the C shift operator in the bitfield 
10312 support code (exfldio.c) to avoid the use of a shift value larger than 
10313 the 
10314 target data width. The behavior of C compilers is undefined in this case 
10315 and 
10316 can cause unpredictable results, and therefore the case must be detected 
10317 and 
10318 avoided. (Fiodor Suietov)
10319
10320 Added an info message whenever an SSDT or OEM table is loaded dynamically 
10321 via the Load() or LoadTable() ASL operators. This should improve 
10322 debugging 
10323 capability since it will show exactly what tables have been loaded 
10324 (beyond 
10325 the tables present in the RSDT/XSDT.)
10326
10327 Example Code and Data Size: These are the sizes for the OS-independent 
10328 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10329 debug version of the code includes the debug output trace mechanism and 
10330 has 
10331 a much larger code and data size.
10332
10333   Previous Release:
10334     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10335     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10336   Current Release:
10337     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10338     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10339
10340
10341 2) iASL Compiler/Disassembler and Tools:
10342
10343 No changes for this release.
10344
10345 ----------------------------------------
10346 08 June 2006. Summary of changes for version 20060608:
10347
10348 1) ACPI CA Core Subsystem:
10349
10350 Converted the locking mutex used for the ACPI hardware to a spinlock. 
10351 This 
10352 change should eliminate all problems caused by attempting to acquire a 
10353 semaphore at interrupt level, and it means that all ACPICA external 
10354 interfaces that directly access the ACPI hardware can be safely called 
10355 from 
10356 interrupt level. OSL code that implements the semaphore interfaces should 
10357 be 
10358 able to eliminate any workarounds for being called at interrupt level.
10359
10360 Fixed a regression introduced in 20060526 where the ACPI device 
10361 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
10362 device 
10363 did not have an optional _INI method.
10364
10365 Fixed an IndexField issue where a write to the Data Register should be 
10366 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
10367 433, 
10368 Fiodor Suietov)
10369
10370 Fixed problem reports (Valery Podrezov) integrated:
10371 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
10372
10373 Fixed problem reports (Fiodor Suietov) integrated:
10374 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
10375
10376 Removed four global mutexes that were obsolete and were no longer being 
10377 used.
10378
10379 Example Code and Data Size: These are the sizes for the OS-independent 
10380 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10381 debug version of the code includes the debug output trace mechanism and 
10382 has 
10383 a much larger code and data size.
10384
10385   Previous Release:
10386     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10387     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10388   Current Release:
10389     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10390     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10391
10392
10393 2) iASL Compiler/Disassembler and Tools:
10394
10395 Fixed a fault when using -g option (get tables from registry) on Windows 
10396 machines.
10397
10398 Fixed problem reports integrated:
10399 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
10400 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
10401 Suietov)
10402 - Global table revision override (-r) is ignored (BZ 413)
10403
10404 ----------------------------------------
10405 26 May 2006. Summary of changes for version 20060526:
10406
10407 1) ACPI CA Core Subsystem:
10408
10409 Restructured, flattened, and simplified the internal interfaces for 
10410 namespace object evaluation - resulting in smaller code, less CPU stack 
10411 use, 
10412 and fewer interfaces. (With assistance from Mikhail Kouzmich)
10413
10414 Fixed a problem with the CopyObject operator where the first parameter 
10415 was 
10416 not typed correctly for the parser, interpreter, compiler, and 
10417 disassembler. 
10418 Caused various errors and unexpected behavior.
10419
10420 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
10421 produced incorrect results with some C compilers. Since the behavior of C 
10422 compilers when the shift value is larger than the datatype width is 
10423 apparently not well defined, the interpreter now detects this condition 
10424 and 
10425 simply returns zero as expected in all such cases. (BZ 395)
10426
10427 Fixed problem reports (Valery Podrezov) integrated:
10428 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
10429 - Allow interpreter to handle nested method declarations (BZ 5361)
10430
10431 Fixed problem reports (Fiodor Suietov) integrated:
10432 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
10433 355)
10434 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
10435 356)
10436 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
10437 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
10438 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
10439 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
10440 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
10441 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
10442 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
10443 365)
10444 - Status of the Global Initialization Handler call not used (BZ 366)
10445 - Incorrect object parameter to Global Initialization Handler (BZ 367)
10446
10447 Example Code and Data Size: These are the sizes for the OS-independent 
10448 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10449 debug version of the code includes the debug output trace mechanism and 
10450 has 
10451 a much larger code and data size.
10452
10453   Previous Release:
10454     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10455     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10456   Current Release:
10457     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10458     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10459
10460
10461 2) iASL Compiler/Disassembler and Tools:
10462
10463 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
10464 namespace identifiers with no collision with existing resource descriptor 
10465 macro names. This provides compatibility with other ASL compilers and is 
10466 most useful for disassembly/recompilation of existing tables without 
10467 parse 
10468 errors. (With assistance from Thomas Renninger)
10469
10470 Disassembler: fixed an incorrect disassembly problem with the 
10471 DataTableRegion and CopyObject operators. Fixed a possible fault during 
10472 disassembly of some Alias operators.
10473
10474 ----------------------------------------
10475 12 May 2006. Summary of changes for version 20060512:
10476
10477 1) ACPI CA Core Subsystem:
10478
10479 Replaced the AcpiOsQueueForExecution interface with a new interface named 
10480 AcpiOsExecute. The major difference is that the new interface does not 
10481 have 
10482 a Priority parameter, this appeared to be useless and has been replaced 
10483 by 
10484
10485 Type parameter. The Type tells the host what type of execution is being 
10486 requested, such as global lock handler, notify handler, GPE handler, etc. 
10487 This allows the host to queue and execute the request as appropriate for 
10488 the 
10489 request type, possibly using different work queues and different 
10490 priorities 
10491 for the various request types. This enables fixes for multithreading 
10492 deadlock problems such as BZ #5534, and will require changes to all 
10493 existing 
10494 OS interface layers. (Alexey Starikovskiy and Bob Moore)
10495
10496 Fixed a possible memory leak associated with the support for the so-
10497 called 
10498 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
10499 Suietov)
10500
10501 Fixed a problem with the Load() operator where a table load from an 
10502 operation region could overwrite an internal table buffer by up to 7 
10503 bytes 
10504 and cause alignment faults on IPF systems. (With assistance from Luming 
10505 Yu)
10506
10507 Example Code and Data Size: These are the sizes for the OS-independent 
10508 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10509 debug version of the code includes the debug output trace mechanism and 
10510 has 
10511 a much larger code and data size.
10512
10513   Previous Release:
10514     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10515     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10516   Current Release:
10517     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10518     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10519
10520
10521
10522 2) iASL Compiler/Disassembler and Tools:
10523
10524 Disassembler: Implemented support to cross reference the internal 
10525 namespace 
10526 and automatically generate ASL External() statements for symbols not 
10527 defined 
10528 within the current table being disassembled. This will simplify the 
10529 disassembly and recompilation of interdependent tables such as SSDTs 
10530 since 
10531 these statements will no longer have to be added manually.
10532
10533 Disassembler: Implemented experimental support to automatically detect 
10534 invocations of external control methods and generate appropriate 
10535 External() 
10536 statements. This is problematic because the AML cannot be correctly 
10537 parsed 
10538 until the number of arguments for each control method is known. 
10539 Currently, 
10540 standalone method invocations and invocations as the source operand of a 
10541 Store() statement are supported.
10542
10543 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
10544 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
10545 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
10546 more readable and likely closer to the original ASL source.
10547
10548 ----------------------------------------
10549 21 April 2006. Summary of changes for version 20060421:
10550
10551 1) ACPI CA Core Subsystem:
10552
10553 Removed a device initialization optimization introduced in 20051216 where 
10554 the _STA method was not run unless an _INI was also present for the same 
10555 device. This optimization could cause problems because it could allow 
10556 _INI 
10557 methods to be run within a not-present device subtree. (If a not-present 
10558 device had no _INI, _STA would not be run, the not-present status would 
10559 not 
10560 be discovered, and the children of the device would be incorrectly 
10561 traversed.)
10562
10563 Implemented a new _STA optimization where namespace subtrees that do not 
10564 contain _INI are identified and ignored during device initialization. 
10565 Selectively running _STA can significantly improve boot time on large 
10566 machines (with assistance from Len Brown.)
10567
10568 Implemented support for the device initialization case where the returned 
10569 _STA flags indicate a device not-present but functioning. In this case, 
10570 _INI 
10571 is not run, but the device children are examined for presence, as per the 
10572 ACPI specification.
10573
10574 Implemented an additional change to the IndexField support in order to 
10575 conform to MS behavior. The value written to the Index Register is not 
10576 simply a byte offset, it is a byte offset in units of the access width of 
10577 the parent Index Field. (Fiodor Suietov)
10578
10579 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
10580 interface is called during the creation of all AML operation regions, and 
10581 allows the host OS to exert control over what addresses it will allow the 
10582 AML code to access. Operation Regions whose addresses are disallowed will 
10583 cause a runtime exception when they are actually accessed (will not 
10584 affect 
10585 or abort table loading.) See oswinxf or osunixxf for an example 
10586 implementation.
10587
10588 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
10589 interface allows the host OS to match the various "optional" 
10590 interface/behavior strings for the _OSI predefined control method as 
10591 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
10592 for an example implementation.
10593
10594 Restructured and corrected various problems in the exception handling 
10595 code 
10596 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
10597 (with assistance from Takayoshi Kochi.)
10598
10599 Modified the Linux source converter to ignore quoted string literals 
10600 while 
10601 converting identifiers from mixed to lower case. This will correct 
10602 problems 
10603 with the disassembler and other areas where such strings must not be 
10604 modified.
10605
10606 The ACPI_FUNCTION_* macros no longer require quotes around the function 
10607 name. This allows the Linux source converter to convert the names, now 
10608 that 
10609 the converter ignores quoted strings.
10610
10611 Example Code and Data Size: These are the sizes for the OS-independent 
10612 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10613 debug version of the code includes the debug output trace mechanism and 
10614 has 
10615 a much larger code and data size.
10616
10617   Previous Release:
10618
10619     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10620     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10621   Current Release:
10622     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10623     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10624
10625
10626 2) iASL Compiler/Disassembler and Tools:
10627
10628 Implemented 3 new warnings for iASL, and implemented multiple warning 
10629 levels 
10630 (w2 flag).
10631
10632 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
10633 not 
10634 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
10635 check for the possible timeout, a warning is issued.
10636
10637 2) Useless operators: If an ASL operator does not specify an optional 
10638 target 
10639 operand and it also does not use the function return value from the 
10640 operator, a warning is issued since the operator effectively does 
10641 nothing.
10642
10643 3) Unreferenced objects: If a namespace object is created, but never 
10644 referenced, a warning is issued. This is a warning level 2 since there 
10645 are 
10646 cases where this is ok, such as when a secondary table is loaded that 
10647 uses 
10648 the unreferenced objects. Even so, care is taken to only flag objects 
10649 that 
10650 don't look like they will ever be used. For example, the reserved methods 
10651 (starting with an underscore) are usually not referenced because it is 
10652 expected that the OS will invoke them.
10653
10654 ----------------------------------------
10655 31 March 2006. Summary of changes for version 20060331:
10656
10657 1) ACPI CA Core Subsystem:
10658
10659 Implemented header file support for the following additional ACPI tables: 
10660 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
10661 support, 
10662 all current and known ACPI tables are now defined in the ACPICA headers 
10663 and 
10664 are available for use by device drivers and other software.
10665
10666 Implemented support to allow tables that contain ACPI names with invalid 
10667 characters to be loaded. Previously, this would cause the table load to 
10668 fail, but since there are several known cases of such tables on existing 
10669 machines, this change was made to enable ACPI support for them. Also, 
10670 this 
10671 matches the behavior of the Microsoft ACPI implementation.
10672
10673 Fixed a couple regressions introduced during the memory optimization in 
10674 the 
10675 20060317 release. The namespace node definition required additional 
10676 reorganization and an internal datatype that had been changed to 8-bit 
10677 was 
10678 restored to 32-bit. (Valery Podrezov)
10679
10680 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
10681 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
10682 null pointers are now trapped and ignored, matching the behavior of the 
10683 previous implementation before the deployment of AcpiOsReleaseObject.
10684 (Valery Podrezov, Fiodor Suietov)
10685
10686 Fixed a memory mapping leak during the deletion of a SystemMemory 
10687 operation 
10688 region where a cached memory mapping was not deleted. This became a 
10689 noticeable problem for operation regions that are defined within 
10690 frequently 
10691 used control methods. (Dana Meyers)
10692
10693 Reorganized the ACPI table header files into two main files: one for the 
10694 ACPI tables consumed by the ACPICA core, and another for the 
10695 miscellaneous 
10696 ACPI tables that are consumed by the drivers and other software. The 
10697 various 
10698 FADT definitions were merged into one common section and three different 
10699 tables (ACPI 1.0, 1.0+, and 2.0)
10700
10701 Example Code and Data Size: These are the sizes for the OS-independent 
10702 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10703 debug version of the code includes the debug output trace mechanism and 
10704 has 
10705 a much larger code and data size.
10706
10707   Previous Release:
10708     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10709     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10710   Current Release:
10711     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10712     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10713
10714
10715 2) iASL Compiler/Disassembler and Tools:
10716
10717 Disassembler: Implemented support to decode and format all non-AML ACPI 
10718 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
10719 added to the ACPICA headers, therefore all current and known ACPI tables 
10720 are 
10721 supported.
10722
10723 Disassembler: The change to allow ACPI names with invalid characters also 
10724 enables the disassembly of such tables. Invalid characters within names 
10725 are 
10726 changed to '*' to make the name printable; the iASL compiler will still 
10727 generate an error for such names, however, since this is an invalid ACPI 
10728 character.
10729
10730 Implemented an option for AcpiXtract (-a) to extract all tables found in 
10731 the 
10732 input file. The default invocation extracts only the DSDTs and SSDTs.
10733
10734 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
10735 makefile for the AcpiXtract utility.
10736
10737 ----------------------------------------
10738 17 March 2006. Summary of changes for version 20060317:
10739
10740 1) ACPI CA Core Subsystem:
10741
10742 Implemented the use of a cache object for all internal namespace nodes. 
10743 Since there are about 1000 static nodes in a typical system, this will 
10744 decrease memory use for cache implementations that minimize per-
10745 allocation 
10746 overhead (such as a slab allocator.)
10747
10748 Removed the reference count mechanism for internal namespace nodes, since 
10749 it 
10750 was deemed unnecessary. This reduces the size of each namespace node by 
10751 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
10752 case, 
10753 and 32 bytes for the 64-bit case.
10754
10755 Optimized several internal data structures to reduce object size on 64-
10756 bit 
10757 platforms by packing data within the 64-bit alignment. This includes the 
10758 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
10759 instances corresponding to the namespace objects.
10760
10761 Added two new strings for the predefined _OSI method: "Windows 2001.1 
10762 SP1" 
10763 and "Windows 2006".
10764
10765 Split the allocation tracking mechanism out to a separate file, from 
10766 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
10767 application-level code. Kernels may wish to not include uttrack.c in 
10768 distributions.
10769
10770 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
10771 associated 
10772 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
10773 macros.)
10774
10775 Code and Data Size: These are the sizes for the acpica.lib produced by 
10776 the 
10777 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10778 ACPI 
10779 driver or OSPM code. The debug version of the code includes the debug 
10780 output 
10781 trace mechanism and has a much larger code and data size. Note that these 
10782 values will vary depending on the efficiency of the compiler and the 
10783 compiler options used during generation.
10784
10785   Previous Release:
10786     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10787     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10788   Current Release:
10789     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10790     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10791
10792
10793 2) iASL Compiler/Disassembler and Tools:
10794
10795 Implemented an ANSI C version of the acpixtract utility. This version 
10796 will 
10797 automatically extract the DSDT and all SSDTs from the input acpidump text 
10798 file and dump the binary output to separate files. It can also display a 
10799 summary of the input file including the headers for each table found and 
10800 will extract any single ACPI table, with any signature. (See 
10801 source/tools/acpixtract)
10802
10803 ----------------------------------------
10804 10 March 2006. Summary of changes for version 20060310:
10805
10806 1) ACPI CA Core Subsystem:
10807
10808 Tagged all external interfaces to the subsystem with the new 
10809 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
10810 assist 
10811 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
10812 macro. The default definition is NULL.
10813
10814 Added the ACPI_THREAD_ID type for the return value from 
10815 AcpiOsGetThreadId. 
10816 This allows the host to define this as necessary to simplify kernel 
10817 integration. The default definition is ACPI_NATIVE_UINT.
10818
10819 Fixed two interpreter problems related to error processing, the deletion 
10820 of 
10821 objects, and placing invalid pointers onto the internal operator result 
10822 stack. BZ 6028, 6151 (Valery Podrezov)
10823
10824 Increased the reference count threshold where a warning is emitted for 
10825 large 
10826 reference counts in order to eliminate unnecessary warnings on systems 
10827 with 
10828 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
10829 0x800.
10830
10831 Due to universal disagreement as to the meaning of the 'c' in the 
10832 calloc() 
10833 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
10834 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
10835 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
10836 ACPI_FREE.
10837
10838 Code and Data Size: These are the sizes for the acpica.lib produced by 
10839 the 
10840 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10841 ACPI 
10842 driver or OSPM code. The debug version of the code includes the debug 
10843 output 
10844 trace mechanism and has a much larger code and data size. Note that these 
10845 values will vary depending on the efficiency of the compiler and the 
10846 compiler options used during generation.
10847
10848   Previous Release:
10849     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10850     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10851   Current Release:
10852     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10853     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10854
10855
10856 2) iASL Compiler/Disassembler:
10857
10858 Disassembler: implemented support for symbolic resource descriptor 
10859 references. If a CreateXxxxField operator references a fixed offset 
10860 within 
10861
10862 resource descriptor, a name is assigned to the descriptor and the offset 
10863 is 
10864 translated to the appropriate resource tag and pathname. The addition of 
10865 this support brings the disassembled code very close to the original ASL 
10866 source code and helps eliminate run-time errors when the disassembled 
10867 code 
10868 is modified (and recompiled) in such a way as to invalidate the original 
10869 fixed offsets.
10870
10871 Implemented support for a Descriptor Name as the last parameter to the 
10872 ASL 
10873 Register() macro. This parameter was inadvertently left out of the ACPI 
10874 specification, and will be added for ACPI 3.0b.
10875
10876 Fixed a problem where the use of the "_OSI" string (versus the full path 
10877 "\_OSI") caused an internal compiler error. ("No back ptr to op")
10878
10879 Fixed a problem with the error message that occurs when an invalid string 
10880 is 
10881 used for a _HID object (such as one with an embedded asterisk: 
10882 "*PNP010A".) 
10883 The correct message is now displayed.
10884
10885 ----------------------------------------
10886 17 February 2006. Summary of changes for version 20060217:
10887
10888 1) ACPI CA Core Subsystem:
10889
10890 Implemented a change to the IndexField support to match the behavior of 
10891 the 
10892 Microsoft AML interpreter. The value written to the Index register is now 
10893
10894 byte offset, no longer an index based upon the width of the Data 
10895 register. 
10896 This should fix IndexField problems seen on some machines where the Data 
10897 register is not exactly one byte wide. The ACPI specification will be 
10898 clarified on this point.
10899
10900 Fixed a problem where several resource descriptor types could overrun the 
10901 internal descriptor buffer due to size miscalculation: VendorShort, 
10902 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
10903 affect all platforms.
10904
10905 Fixed a problem where individual resource descriptors were misaligned 
10906 within 
10907 the internal buffer, causing alignment faults on IA64 platforms.
10908
10909 Code and Data Size: These are the sizes for the acpica.lib produced by 
10910 the 
10911 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10912 ACPI 
10913 driver or OSPM code. The debug version of the code includes the debug 
10914 output 
10915 trace mechanism and has a much larger code and data size. Note that these 
10916 values will vary depending on the efficiency of the compiler and the 
10917 compiler options used during generation.
10918
10919   Previous Release:
10920     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10921     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10922   Current Release:
10923     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10924     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10925
10926
10927 2) iASL Compiler/Disassembler:
10928
10929 Implemented support for new reserved names: _WDG and _WED are Microsoft 
10930 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
10931 defined method (Throttling Depth Limit.)
10932
10933 Fixed a problem where a zero-length VendorShort or VendorLong resource 
10934 descriptor was incorrectly emitted as a descriptor of length one.
10935
10936 ----------------------------------------
10937 10 February 2006. Summary of changes for version 20060210:
10938
10939 1) ACPI CA Core Subsystem:
10940
10941 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
10942 normal execution. These became apparent after the conversion from 
10943 ACPI_DEBUG_PRINT.
10944
10945 Fixed a problem where the CreateField operator could hang if the BitIndex 
10946 or 
10947 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
10948
10949 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
10950 failed with an exception. This also fixes a couple of related RefOf and 
10951 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
10952
10953 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
10954 of 
10955 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
10956 BZ 
10957 5480)
10958
10959 Implemented a memory cleanup at the end of the execution of each 
10960 iteration 
10961 of an AML While() loop, preventing the accumulation of outstanding 
10962 objects. 
10963 (Valery Podrezov, BZ 5427)
10964
10965 Eliminated a chunk of duplicate code in the object resolution code. 
10966 (Valery 
10967 Podrezov, BZ 5336)
10968
10969 Fixed several warnings during the 64-bit code generation.
10970
10971 The AcpiSrc source code conversion tool now inserts one line of 
10972 whitespace 
10973 after an if() statement that is followed immediately by a comment, 
10974 improving 
10975 readability of the Linux code.
10976
10977 Code and Data Size: The current and previous library sizes for the core 
10978 subsystem are shown below. These are the code and data sizes for the 
10979 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10980 These 
10981 values do not include any ACPI driver or OSPM code. The debug version of 
10982 the 
10983 code includes the debug output trace mechanism and has a much larger code 
10984 and data size. Note that these values will vary depending on the 
10985 efficiency 
10986 of the compiler and the compiler options used during generation.
10987
10988   Previous Release:
10989     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10990     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10991   Current Release:
10992     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10993     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10994
10995
10996 2) iASL Compiler/Disassembler:
10997
10998 Fixed a problem with the disassembly of a BankField operator with a 
10999 complex 
11000 expression for the BankValue parameter.
11001
11002 ----------------------------------------
11003 27 January 2006. Summary of changes for version 20060127:
11004
11005 1) ACPI CA Core Subsystem:
11006
11007 Implemented support in the Resource Manager to allow unresolved 
11008 namestring 
11009 references within resource package objects for the _PRT method. This 
11010 support 
11011 is in addition to the previously implemented unresolved reference support 
11012 within the AML parser. If the interpreter slack mode is enabled, these 
11013 unresolved references will be passed through to the caller as a NULL 
11014 package 
11015 entry.
11016
11017 Implemented and deployed new macros and functions for error and warning 
11018 messages across the subsystem. These macros are simpler and generate less 
11019 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
11020 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
11021 macros remain defined to allow ACPI drivers time to migrate to the new 
11022 macros.
11023
11024 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
11025 the 
11026 Acquire/Release Lock OSL interfaces.
11027
11028 Fixed a problem where Alias ASL operators are sometimes not correctly 
11029 resolved, in both the interpreter and the iASL compiler.
11030
11031 Fixed several problems with the implementation of the 
11032 ConcatenateResTemplate 
11033 ASL operator. As per the ACPI specification, zero length buffers are now 
11034 treated as a single EndTag. One-length buffers always cause a fatal 
11035 exception. Non-zero length buffers that do not end with a full 2-byte 
11036 EndTag 
11037 cause a fatal exception.
11038
11039 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
11040 interface. (With assistance from Thomas Renninger)
11041
11042 Code and Data Size: The current and previous library sizes for the core 
11043 subsystem are shown below. These are the code and data sizes for the 
11044 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11045 These 
11046 values do not include any ACPI driver or OSPM code. The debug version of 
11047 the 
11048 code includes the debug output trace mechanism and has a much larger code 
11049 and data size. Note that these values will vary depending on the 
11050 efficiency 
11051 of the compiler and the compiler options used during generation.
11052
11053   Previous Release:
11054     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11055     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11056   Current Release:
11057     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
11058     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
11059
11060
11061 2) iASL Compiler/Disassembler:
11062
11063 Fixed an internal error that was generated for any forward references to 
11064 ASL 
11065 Alias objects.
11066
11067 ----------------------------------------
11068 13 January 2006. Summary of changes for version 20060113:
11069
11070 1) ACPI CA Core Subsystem:
11071
11072 Added 2006 copyright to all module headers and signons. This affects 
11073 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
11074 utilities.
11075  
11076 Enhanced the ACPICA error reporting in order to simplify user migration 
11077 to 
11078 the non-debug version of ACPICA. Replaced all instances of the 
11079 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
11080 debug 
11081 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
11082 respectively. This preserves all error and warning messages in the non-
11083 debug 
11084 version of the ACPICA code (this has been referred to as the "debug lite" 
11085 option.) Over 200 cases were converted to create a total of over 380 
11086 error/warning messages across the ACPICA code. This increases the code 
11087 and 
11088 data size of the default non-debug version of the code somewhat (about 
11089 13K), 
11090 but all error/warning reporting may be disabled if desired (and code 
11091 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
11092 configuration option. The size of the debug version of ACPICA remains 
11093 about 
11094 the same.
11095
11096 Fixed a memory leak within the AML Debugger "Set" command. One object was 
11097 not properly deleted for every successful invocation of the command.
11098
11099 Code and Data Size: The current and previous library sizes for the core 
11100 subsystem are shown below. These are the code and data sizes for the 
11101 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11102 These 
11103 values do not include any ACPI driver or OSPM code. The debug version of 
11104 the 
11105 code includes the debug output trace mechanism and has a much larger code 
11106 and data size. Note that these values will vary depending on the 
11107 efficiency 
11108 of the compiler and the compiler options used during generation.
11109
11110   Previous Release:
11111     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11112     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11113   Current Release:
11114     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11115     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11116
11117
11118 2) iASL Compiler/Disassembler:
11119
11120 The compiler now officially supports the ACPI 3.0a specification that was 
11121 released on December 30, 2005. (Specification is available at 
11122 www.acpi.info)
11123
11124 ----------------------------------------
11125 16 December 2005. Summary of changes for version 20051216:
11126
11127 1) ACPI CA Core Subsystem:
11128
11129 Implemented optional support to allow unresolved names within ASL Package 
11130 objects. A null object is inserted in the package when a named reference 
11131 cannot be located in the current namespace. Enabled via the interpreter 
11132 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
11133 machines 
11134 that contain such code.
11135
11136 Implemented an optimization to the initialization sequence that can 
11137 improve 
11138 boot time. During ACPI device initialization, the _STA method is now run 
11139 if 
11140 and only if the _INI method exists. The _STA method is used to determine 
11141 if 
11142 the device is present; An _INI can only be run if _STA returns present, 
11143 but 
11144 it is a waste of time to run the _STA method if the _INI does not exist. 
11145 (Prototype and assistance from Dong Wei)
11146
11147 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
11148 is 
11149 available in the current compiler. Otherwise, the default (void *) cast 
11150 is 
11151 used as before.
11152
11153 Fixed some possible memory leaks found within the execution path of the 
11154 Break, Continue, If, and CreateField operators. (Valery Podrezov)
11155
11156 Fixed a problem introduced in the 20051202 release where an exception is 
11157 generated during method execution if a control method attempts to declare 
11158 another method.
11159
11160 Moved resource descriptor string constants that are used by both the AML 
11161 disassembler and AML debugger to the common utilities directory so that 
11162 these components are independent.
11163
11164 Implemented support in the AcpiExec utility (-e switch) to globally 
11165 ignore 
11166 exceptions during control method execution (method is not aborted.)
11167
11168 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
11169 generation.
11170
11171 Code and Data Size: The current and previous library sizes for the core 
11172 subsystem are shown below. These are the code and data sizes for the 
11173 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11174 These 
11175 values do not include any ACPI driver or OSPM code. The debug version of 
11176 the 
11177 code includes the debug output trace mechanism and has a much larger code 
11178 and data size. Note that these values will vary depending on the 
11179 efficiency 
11180 of the compiler and the compiler options used during generation.
11181
11182   Previous Release:
11183     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11184     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11185   Current Release:
11186     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11187     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11188
11189
11190 2) iASL Compiler/Disassembler:
11191
11192 Fixed a problem where a CPU stack overflow fault could occur if a 
11193 recursive 
11194 method call was made from within a Return statement.
11195
11196 ----------------------------------------
11197 02 December 2005. Summary of changes for version 20051202:
11198
11199 1) ACPI CA Core Subsystem:
11200
11201 Modified the parsing of control methods to no longer create namespace 
11202 objects during the first pass of the parse. Objects are now created only 
11203 during the execute phase, at the moment the namespace creation operator 
11204 is 
11205 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
11206 This 
11207 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
11208 reentrant control methods are protected by an AML mutex. The mutex will 
11209 now 
11210 correctly block multiple threads from attempting to create the same 
11211 object 
11212 more than once.
11213
11214 Increased the number of available Owner Ids for namespace object tracking 
11215 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
11216 on 
11217 some machines with a large number of ACPI tables (either static or 
11218 dynamic).
11219
11220 Fixed a problem with the AcpiExec utility where a fault could occur when 
11221 the 
11222 -b switch (batch mode) is used.
11223
11224 Enhanced the namespace dump routine to output the owner ID for each 
11225 namespace object.
11226
11227 Code and Data Size: The current and previous library sizes for the core 
11228 subsystem are shown below. These are the code and data sizes for the 
11229 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11230 These 
11231 values do not include any ACPI driver or OSPM code. The debug version of 
11232 the 
11233 code includes the debug output trace mechanism and has a much larger code 
11234 and data size. Note that these values will vary depending on the 
11235 efficiency 
11236 of the compiler and the compiler options used during generation.
11237
11238   Previous Release:
11239     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11240     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11241   Current Release:
11242     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11243     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11244
11245
11246 2) iASL Compiler/Disassembler:
11247
11248 Fixed a parse error during compilation of certain Switch/Case constructs. 
11249 To 
11250 simplify the parse, the grammar now allows for multiple Default 
11251 statements 
11252 and this error is now detected and flagged during the analysis phase.
11253
11254 Disassembler: The disassembly now includes the contents of the original 
11255 table header within a comment at the start of the file. This includes the 
11256 name and version of the original ASL compiler.
11257
11258 ----------------------------------------
11259 17 November 2005. Summary of changes for version 20051117:
11260
11261 1) ACPI CA Core Subsystem:
11262
11263 Fixed a problem in the AML parser where the method thread count could be 
11264 decremented below zero if any errors occurred during the method parse 
11265 phase. 
11266 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
11267 machines. 
11268 This also fixed a related regression with the mechanism that detects and 
11269 corrects methods that cannot properly handle reentrancy (related to the 
11270 deployment of the new OwnerId mechanism.)
11271
11272 Eliminated the pre-parsing of control methods (to detect errors) during 
11273 table load. Related to the problem above, this was causing unwind issues 
11274 if 
11275 any errors occurred during the parse, and it seemed to be overkill. A 
11276 table 
11277 load should not be aborted if there are problems with any single control 
11278 method, thus rendering this feature rather pointless.
11279
11280 Fixed a problem with the new table-driven resource manager where an 
11281 internal 
11282 buffer overflow could occur for small resource templates.
11283
11284 Implemented a new external interface, AcpiGetVendorResource. This 
11285 interface 
11286 will find and return a vendor-defined resource descriptor within a _CRS 
11287 or 
11288 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
11289 Helgaas.
11290
11291 Removed the length limit (200) on string objects as per the upcoming ACPI 
11292 3.0A specification. This affects the following areas of the interpreter: 
11293 1) 
11294 any implicit conversion of a Buffer to a String, 2) a String object 
11295 result 
11296 of the ASL Concatentate operator, 3) the String object result of the ASL 
11297 ToString operator.
11298
11299 Fixed a problem in the Windows OS interface layer (OSL) where a 
11300 WAIT_FOREVER 
11301 on a semaphore object would incorrectly timeout. This allows the 
11302 multithreading features of the AcpiExec utility to work properly under 
11303 Windows.
11304
11305 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
11306 the recently added file named "utresrc.c".
11307
11308 Code and Data Size: The current and previous library sizes for the core 
11309 subsystem are shown below. These are the code and data sizes for the 
11310 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11311 These 
11312 values do not include any ACPI driver or OSPM code. The debug version of 
11313 the 
11314 code includes the debug output trace mechanism and has a much larger code 
11315 and data size. Note that these values will vary depending on the 
11316 efficiency 
11317 of the compiler and the compiler options used during generation.
11318
11319   Previous Release:
11320     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11321     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11322   Current Release:
11323     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11324     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11325
11326
11327 2) iASL Compiler/Disassembler:
11328
11329 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
11330 specification. For the iASL compiler, this means that string literals 
11331 within 
11332 the source ASL can be of any length. 
11333
11334 Enhanced the listing output to dump the AML code for resource descriptors 
11335 immediately after the ASL code for each descriptor, instead of in a block 
11336 at 
11337 the end of the entire resource template.
11338
11339 Enhanced the compiler debug output to dump the entire original parse tree 
11340 constructed during the parse phase, before any transforms are applied to 
11341 the 
11342 tree. The transformed tree is dumped also.
11343
11344 ----------------------------------------
11345 02 November 2005. Summary of changes for version 20051102:
11346
11347 1) ACPI CA Core Subsystem:
11348
11349 Modified the subsystem initialization sequence to improve GPE support. 
11350 The 
11351 GPE initialization has been split into two parts in order to defer 
11352 execution 
11353 of the _PRW methods (Power Resources for Wake) until after the hardware 
11354 is 
11355 fully initialized and the SCI handler is installed. This allows the _PRW 
11356 methods to access fields protected by the Global Lock. This will fix 
11357 systems 
11358 where a NO_GLOBAL_LOCK exception has been seen during initialization.
11359
11360 Converted the ACPI internal object disassemble and display code within 
11361 the 
11362 AML debugger to fully table-driven operation, reducing code size and 
11363 increasing maintainability.
11364
11365 Fixed a regression with the ConcatenateResTemplate() ASL operator 
11366 introduced 
11367 in the 20051021 release.
11368
11369 Implemented support for "local" internal ACPI object types within the 
11370 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
11371 These local types include RegionFields, BankFields, IndexFields, Alias, 
11372 and 
11373 reference objects.
11374
11375 Moved common AML resource handling code into a new file, "utresrc.c". 
11376 This 
11377 code is shared by both the Resource Manager and the AML Debugger.
11378
11379 Code and Data Size: The current and previous library sizes for the core 
11380 subsystem are shown below. These are the code and data sizes for the 
11381 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11382 These 
11383 values do not include any ACPI driver or OSPM code. The debug version of 
11384 the 
11385 code includes the debug output trace mechanism and has a much larger code 
11386 and data size. Note that these values will vary depending on the 
11387 efficiency 
11388 of the compiler and the compiler options used during generation.
11389
11390   Previous Release:
11391     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11392     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11393   Current Release:
11394     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11395     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11396
11397
11398 2) iASL Compiler/Disassembler:
11399
11400 Fixed a problem with very large initializer lists (more than 4000 
11401 elements) 
11402 for both Buffer and Package objects where the parse stack could overflow.
11403
11404 Enhanced the pre-compile source code scan for non-ASCII characters to 
11405 ignore 
11406 characters within comment fields. The scan is now always performed and is 
11407 no 
11408 longer optional, detecting invalid characters within a source file 
11409 immediately rather than during the parse phase or later.
11410
11411 Enhanced the ASL grammar definition to force early reductions on all 
11412 list-
11413 style grammar elements so that the overall parse stack usage is greatly 
11414 reduced. This should improve performance and reduce the possibility of 
11415 parse 
11416 stack overflow.
11417
11418 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
11419 Also, 
11420 with the addition of a %expected statement, the compiler generates from 
11421 source with no warnings.
11422
11423 Fixed a possible segment fault in the disassembler if the input filename 
11424 does not contain a "dot" extension (Thomas Renninger).
11425
11426 ----------------------------------------
11427 21 October 2005. Summary of changes for version 20051021:
11428
11429 1) ACPI CA Core Subsystem:
11430
11431 Implemented support for the EM64T and other x86-64 processors. This 
11432 essentially entails recognizing that these processors support non-aligned 
11433 memory transfers. Previously, all 64-bit processors were assumed to lack 
11434 hardware support for non-aligned transfers.
11435
11436 Completed conversion of the Resource Manager to nearly full table-driven 
11437 operation. Specifically, the resource conversion code (convert AML to 
11438 internal format and the reverse) and the debug code to dump internal 
11439 resource descriptors are fully table-driven, reducing code and data size 
11440 and 
11441 improving maintainability.
11442
11443 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
11444 word 
11445 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
11446 from 
11447 Alexey Starikovskiy)
11448
11449 Implemented support within the resource conversion code for the Type-
11450 Specific byte within the various ACPI 3.0 *WordSpace macros.
11451
11452 Fixed some issues within the resource conversion code for the type-
11453 specific 
11454 flags for both Memory and I/O address resource descriptors. For Memory, 
11455 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
11456 TTP flags into two separate fields.
11457
11458 Code and Data Size: The current and previous library sizes for the core 
11459 subsystem are shown below. These are the code and data sizes for the 
11460 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11461 These 
11462 values do not include any ACPI driver or OSPM code. The debug version of 
11463 the 
11464 code includes the debug output trace mechanism and has a much larger code 
11465 and data size. Note that these values will vary depending on the 
11466 efficiency 
11467 of the compiler and the compiler options used during generation.
11468
11469   Previous Release:
11470     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11471     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11472   Current Release:
11473     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11474     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11475
11476
11477
11478 2) iASL Compiler/Disassembler:
11479
11480 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
11481 the 
11482 corresponding ResourceSource string was not also present in a resource 
11483 descriptor declaration. This restriction caused problems with existing 
11484 AML/ASL code that includes the Index byte without the string. When such 
11485 AML 
11486 was disassembled, it could not be compiled without modification. Further, 
11487 the modified code created a resource template with a different size than 
11488 the 
11489 original, breaking code that used fixed offsets into the resource 
11490 template 
11491 buffer.
11492
11493 Removed a recent feature of the disassembler to ignore a lone 
11494 ResourceIndex 
11495 byte. This byte is now emitted if present so that the exact AML can be 
11496 reproduced when the disassembled code is recompiled.
11497
11498 Improved comments and text alignment for the resource descriptor code 
11499 emitted by the disassembler.
11500
11501 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
11502
11503 Register() resource descriptor.
11504
11505 ----------------------------------------
11506 30 September 2005. Summary of changes for version 20050930:
11507
11508 1) ACPI CA Core Subsystem:
11509
11510 Completed a major overhaul of the Resource Manager code - specifically, 
11511 optimizations in the area of the AML/internal resource conversion code. 
11512 The 
11513 code has been optimized to simplify and eliminate duplicated code, CPU 
11514 stack 
11515 use has been decreased by optimizing function parameters and local 
11516 variables, and naming conventions across the manager have been 
11517 standardized 
11518 for clarity and ease of maintenance (this includes function, parameter, 
11519 variable, and struct/typedef names.) The update may force changes in some 
11520 driver code, depending on how resources are handled by the host OS.
11521
11522 All Resource Manager dispatch and information tables have been moved to a 
11523 single location for clarity and ease of maintenance. One new file was 
11524 created, named "rsinfo.c".
11525
11526 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
11527 guarantee that the argument is not evaluated twice, making them less 
11528 prone 
11529 to macro side-effects. However, since there exists the possibility of 
11530 additional stack use if a particular compiler cannot optimize them (such 
11531 as 
11532 in the debug generation case), the original macros are optionally 
11533 available.  
11534 Note that some invocations of the return_VALUE macro may now cause size 
11535 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
11536 to 
11537 eliminate these. (From Randy Dunlap)
11538
11539 Implemented a new mechanism to enable debug tracing for individual 
11540 control 
11541 methods. A new external interface, AcpiDebugTrace, is provided to enable 
11542 this mechanism. The intent is to allow the host OS to easily enable and 
11543 disable tracing for problematic control methods. This interface can be 
11544 easily exposed to a user or debugger interface if desired. See the file 
11545 psxface.c for details.
11546
11547 AcpiUtCallocate will now return a valid pointer if a length of zero is 
11548 specified - a length of one is used and a warning is issued. This matches 
11549 the behavior of AcpiUtAllocate.
11550
11551 Code and Data Size: The current and previous library sizes for the core 
11552 subsystem are shown below. These are the code and data sizes for the 
11553 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11554 These 
11555 values do not include any ACPI driver or OSPM code. The debug version of 
11556 the 
11557 code includes the debug output trace mechanism and has a much larger code 
11558 and data size. Note that these values will vary depending on the 
11559 efficiency 
11560 of the compiler and the compiler options used during generation.
11561
11562   Previous Release:
11563     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11564     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11565   Current Release:
11566     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11567     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11568
11569
11570 2) iASL Compiler/Disassembler:
11571
11572 A remark is issued if the effective compile-time length of a package or 
11573 buffer is zero. Previously, this was a warning.
11574
11575 ----------------------------------------
11576 16 September 2005. Summary of changes for version 20050916:
11577
11578 1) ACPI CA Core Subsystem:
11579
11580 Fixed a problem within the Resource Manager where support for the Generic 
11581 Register descriptor was not fully implemented. This descriptor is now 
11582 fully 
11583 recognized, parsed, disassembled, and displayed.
11584
11585 Completely restructured the Resource Manager code to utilize table-driven 
11586 dispatch and lookup, eliminating many of the large switch() statements. 
11587 This 
11588 reduces overall subsystem code size and code complexity. Affects the 
11589 resource parsing and construction, disassembly, and debug dump output.
11590
11591 Cleaned up and restructured the debug dump output for all resource 
11592 descriptors. Improved readability of the output and reduced code size.
11593
11594 Fixed a problem where changes to internal data structures caused the 
11595 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
11596
11597 Code and Data Size: The current and previous library sizes for the core 
11598 subsystem are shown below. These are the code and data sizes for the 
11599 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11600 These 
11601 values do not include any ACPI driver or OSPM code. The debug version of 
11602 the 
11603 code includes the debug output trace mechanism and has a much larger code 
11604 and data size. Note that these values will vary depending on the 
11605 efficiency 
11606 of the compiler and the compiler options used during generation.
11607
11608   Previous Release:
11609     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11610     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11611   Current Release:
11612     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11613     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11614
11615
11616 2) iASL Compiler/Disassembler:
11617
11618 Updated the disassembler to automatically insert an EndDependentFn() 
11619 macro 
11620 into the ASL stream if this macro is missing in the original AML code, 
11621 simplifying compilation of the resulting ASL module.
11622
11623 Fixed a problem in the disassembler where a disassembled ResourceSource 
11624 string (within a large resource descriptor) was not surrounded by quotes 
11625 and 
11626 not followed by a comma, causing errors when the resulting ASL module was 
11627 compiled. Also, escape sequences within a ResourceSource string are now 
11628 handled correctly (especially "\\")
11629
11630 ----------------------------------------
11631 02 September 2005. Summary of changes for version 20050902:
11632
11633 1) ACPI CA Core Subsystem:
11634
11635 Fixed a problem with the internal Owner ID allocation and deallocation 
11636 mechanisms for control method execution and recursive method invocation. 
11637 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
11638 messages seen on some systems. Recursive method invocation depth is 
11639 currently limited to 255. (Alexey Starikovskiy)
11640
11641 Completely eliminated all vestiges of support for the "module-level 
11642 executable code" until this support is fully implemented and debugged. 
11643 This 
11644 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
11645 some systems that invoke this support.
11646
11647 Fixed a problem within the resource manager code where the transaction 
11648 flags 
11649 for a 64-bit address descriptor were handled incorrectly in the type-
11650 specific flag byte.
11651
11652 Consolidated duplicate code within the address descriptor resource 
11653 manager 
11654 code, reducing overall subsystem code size.
11655
11656 Fixed a fault when using the AML debugger "disassemble" command to 
11657 disassemble individual control methods.
11658
11659 Removed references to the "release_current" directory within the Unix 
11660 release package.
11661
11662 Code and Data Size: The current and previous core subsystem library sizes 
11663 are shown below. These are the code and data sizes for the acpica.lib 
11664 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
11665 include any ACPI driver or OSPM code. The debug version of the code 
11666 includes 
11667 the debug output trace mechanism and has a much larger code and data 
11668 size. 
11669 Note that these values will vary depending on the efficiency of the 
11670 compiler 
11671 and the compiler options used during generation.
11672
11673   Previous Release:
11674     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11675     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11676   Current Release:
11677     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11678     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11679
11680
11681 2) iASL Compiler/Disassembler:
11682
11683 Implemented an error check for illegal duplicate values in the interrupt 
11684 and 
11685 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
11686 Interrupt().
11687
11688 Implemented error checking for the Irq() and IrqNoFlags() macros to 
11689 detect 
11690 too many values in the interrupt list (16 max) and invalid values in the 
11691 list (range 0 - 15)
11692
11693 The maximum length string literal within an ASL file is now restricted to 
11694 200 characters as per the ACPI specification.
11695
11696 Fixed a fault when using the -ln option (generate namespace listing).
11697
11698 Implemented an error check to determine if a DescriptorName within a 
11699 resource descriptor has already been used within the current scope.
11700
11701 ----------------------------------------
11702 15 August 2005.  Summary of changes for version 20050815:
11703  
11704 1) ACPI CA Core Subsystem:
11705  
11706 Implemented a full bytewise compare to determine if a table load request 
11707 is 
11708 attempting to load a duplicate table. The compare is performed if the 
11709 table 
11710 signatures and table lengths match. This will allow different tables with 
11711 the same OEM Table ID and revision to be loaded - probably against the 
11712 ACPI 
11713 specification, but discovered in the field nonetheless.
11714  
11715 Added the changes.txt logfile to each of the zipped release packages.
11716  
11717 Code and Data Size: Current and previous core subsystem library sizes are 
11718 shown below. These are the code and data sizes for the acpica.lib 
11719 produced 
11720 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11721 any ACPI driver or OSPM code. The debug version of the code includes the 
11722 debug output trace mechanism and has a much larger code and data size. 
11723 Note 
11724 that these values will vary depending on the efficiency of the compiler 
11725 and 
11726 the compiler options used during generation.
11727  
11728   Previous Release:
11729     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11730     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11731   Current Release:
11732     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11733     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11734  
11735  
11736 2) iASL Compiler/Disassembler:
11737  
11738 Fixed a problem where incorrect AML code could be generated for Package 
11739 objects if optimization is disabled (via the -oa switch).
11740  
11741 Fixed a problem with where incorrect AML code is generated for variable-
11742 length packages when the package length is not specified and the number 
11743 of 
11744 initializer values is greater than 255.
11745  
11746
11747 ----------------------------------------
11748 29 July 2005.  Summary of changes for version 20050729:
11749
11750 1) ACPI CA Core Subsystem:
11751
11752 Implemented support to ignore an attempt to install/load a particular 
11753 ACPI 
11754 table more than once. Apparently there exists BIOS code that repeatedly 
11755 attempts to load the same SSDT upon certain events. With assistance from 
11756 Venkatesh Pallipadi.
11757
11758 Restructured the main interface to the AML parser in order to correctly 
11759 handle all exceptional conditions. This will prevent leakage of the 
11760 OwnerId 
11761 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
11762 some 
11763 machines. With assistance from Alexey Starikovskiy.
11764
11765 Support for "module level code" has been disabled in this version due to 
11766
11767 number of issues that have appeared on various machines. The support can 
11768 be 
11769 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
11770 compilation. When the issues are fully resolved, the code will be enabled 
11771 by 
11772 default again.
11773
11774 Modified the internal functions for debug print support to define the 
11775 FunctionName parameter as a (const char *) for compatibility with 
11776 compiler 
11777 built-in macros such as __FUNCTION__, etc.
11778
11779 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
11780
11781 Implemented support to display an object count summary for the AML 
11782 Debugger 
11783 commands Object and Methods.
11784
11785 Code and Data Size: Current and previous core subsystem library sizes are 
11786 shown below. These are the code and data sizes for the acpica.lib 
11787 produced 
11788 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11789 any ACPI driver or OSPM code. The debug version of the code includes the 
11790 debug output trace mechanism and has a much larger code and data size. 
11791 Note 
11792 that these values will vary depending on the efficiency of the compiler 
11793 and 
11794 the compiler options used during generation.
11795
11796   Previous Release:
11797     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11798     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11799   Current Release:
11800     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11801     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11802
11803
11804 2) iASL Compiler/Disassembler:
11805
11806 Fixed a regression that appeared in the 20050708 version of the compiler 
11807 where an error message was inadvertently emitted for invocations of the 
11808 _OSI 
11809 reserved control method.
11810
11811 ----------------------------------------
11812 08 July 2005.  Summary of changes for version 20050708:
11813
11814 1) ACPI CA Core Subsystem:
11815
11816 The use of the CPU stack in the debug version of the subsystem has been 
11817 considerably reduced. Previously, a debug structure was declared in every 
11818 function that used the debug macros. This structure has been removed in 
11819 favor of declaring the individual elements as parameters to the debug 
11820 functions. This reduces the cumulative stack use during nested execution 
11821 of 
11822 ACPI function calls at the cost of a small increase in the code size of 
11823 the 
11824 debug version of the subsystem. With assistance from Alexey Starikovskiy 
11825 and 
11826 Len Brown.
11827
11828 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
11829 headers to define a macro that will return the current function name at 
11830 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
11831 by 
11832 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
11833 compiler-dependent header, the function name is saved on the CPU stack 
11834 (one 
11835 pointer per function.) This mechanism is used because apparently there 
11836 exists no standard ANSI-C defined macro that that returns the function 
11837 name.
11838
11839 Redesigned and reimplemented the "Owner ID" mechanism used to track 
11840 namespace objects created/deleted by ACPI tables and control method 
11841 execution. A bitmap is now used to allocate and free the IDs, thus 
11842 solving 
11843 the wraparound problem present in the previous implementation. The size 
11844 of 
11845 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
11846 Starikovskiy).
11847
11848 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
11849 bitfield 
11850 flag definitions within the headers for the predefined ACPI tables. These 
11851 have been replaced by UINT8_BIT in order to increase the code portability 
11852 of 
11853 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
11854 eliminate bitfields entirely because of a lack of portability.
11855
11856 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
11857 This 
11858 is a frequently used function and this improvement increases the 
11859 performance 
11860 of the entire subsystem (Alexey Starikovskiy).
11861
11862 Fixed several possible memory leaks and the inverse - premature object 
11863 deletion (Alexey Starikovskiy).
11864
11865 Code and Data Size: Current and previous core subsystem library sizes are 
11866 shown below. These are the code and data sizes for the acpica.lib 
11867 produced 
11868 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11869 any ACPI driver or OSPM code. The debug version of the code includes the 
11870 debug output trace mechanism and has a much larger code and data size. 
11871 Note 
11872 that these values will vary depending on the efficiency of the compiler 
11873 and 
11874 the compiler options used during generation.
11875
11876   Previous Release:
11877     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11878     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11879   Current Release:
11880     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11881     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11882
11883 ----------------------------------------
11884 24 June 2005.  Summary of changes for version 20050624:
11885
11886 1) ACPI CA Core Subsystem:
11887
11888 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
11889 the host-defined cache object. This allows the OSL implementation to 
11890 define 
11891 and type this object in any manner desired, simplifying the OSL 
11892 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
11893 Linux, and should be defined in the OS-specific header file for other 
11894 operating systems as required.
11895
11896 Changed the interface to AcpiOsAcquireObject to directly return the 
11897 requested object as the function return (instead of ACPI_STATUS.) This 
11898 change was made for performance reasons, since this is the purpose of the 
11899 interface in the first place. AcpiOsAcquireObject is now similar to the 
11900 AcpiOsAllocate interface.
11901
11902 Implemented a new AML debugger command named Businfo. This command 
11903 displays 
11904 information about all devices that have an associate _PRT object. The 
11905 _ADR, 
11906 _HID, _UID, and _CID are displayed for these devices.
11907
11908 Modified the initialization sequence in AcpiInitializeSubsystem to call 
11909 the 
11910 OSL interface AcpiOslInitialize first, before any local initialization. 
11911 This 
11912 change was required because the global initialization now calls OSL 
11913 interfaces.
11914
11915 Enhanced the Dump command to display the entire contents of Package 
11916 objects 
11917 (including all sub-objects and their values.) 
11918
11919 Restructured the code base to split some files because of size and/or 
11920 because the code logically belonged in a separate file. New files are 
11921 listed 
11922 below. All makefiles and project files included in the ACPI CA release 
11923 have 
11924 been updated.
11925     utilities/utcache.c           /* Local cache interfaces */
11926     utilities/utmutex.c           /* Local mutex support */
11927     utilities/utstate.c           /* State object support */
11928     interpreter/parser/psloop.c   /* Main AML parse loop */
11929
11930 Code and Data Size: Current and previous core subsystem library sizes are 
11931 shown below. These are the code and data sizes for the acpica.lib 
11932 produced 
11933 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11934 any ACPI driver or OSPM code. The debug version of the code includes the 
11935 debug output trace mechanism and has a much larger code and data size. 
11936 Note 
11937 that these values will vary depending on the efficiency of the compiler 
11938 and 
11939 the compiler options used during generation.
11940
11941   Previous Release:
11942     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11943     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11944   Current Release:
11945     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11946     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11947
11948
11949 2) iASL Compiler/Disassembler:
11950
11951 Fixed a regression introduced in version 20050513 where the use of a 
11952 Package 
11953 object within a Case() statement caused a compile time exception. The 
11954 original behavior has been restored (a Match() operator is emitted.)
11955
11956 ----------------------------------------
11957 17 June 2005.  Summary of changes for version 20050617:
11958
11959 1) ACPI CA Core Subsystem:
11960
11961 Moved the object cache operations into the OS interface layer (OSL) to 
11962 allow 
11963 the host OS to handle these operations if desired (for example, the Linux 
11964 OSL will invoke the slab allocator). This support is optional; the 
11965 compile 
11966 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
11967 cache 
11968 code in the ACPI CA core. The new OSL interfaces are shown below. See 
11969 utalloc.c for an example implementation, and acpiosxf.h for the exact 
11970 interface definitions. With assistance from Alexey Starikovskiy.
11971     AcpiOsCreateCache
11972     AcpiOsDeleteCache
11973     AcpiOsPurgeCache
11974     AcpiOsAcquireObject
11975     AcpiOsReleaseObject
11976
11977 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
11978 return 
11979 and restore a flags parameter. This fits better with many OS lock models. 
11980 Note: the current execution state (interrupt handler or not) is no longer 
11981 passed to these interfaces. If necessary, the OSL must determine this 
11982 state 
11983 by itself, a simple and fast operation. With assistance from Alexey 
11984 Starikovskiy.
11985
11986 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
11987 present if the revision of the RSDP was 2 or greater. According to the 
11988 ACPI 
11989 specification, the XSDT is optional in all cases, and the table manager 
11990 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
11991 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
11992 contain 
11993 only the RSDT.
11994
11995 Fixed an interpreter problem with the Mid() operator in the case of an 
11996 input 
11997 string where the resulting output string is of zero length. It now 
11998 correctly 
11999 returns a valid, null terminated string object instead of a string object 
12000 with a null pointer.
12001
12002 Fixed a problem with the control method argument handling to allow a 
12003 store 
12004 to an Arg object that already contains an object of type Device. The 
12005 Device 
12006 object is now correctly overwritten. Previously, an error was returned.
12007
12008
12009 Enhanced the debugger Find command to emit object values in addition to 
12010 the 
12011 found object pathnames. The output format is the same as the dump 
12012 namespace 
12013 command.
12014
12015 Enhanced the debugger Set command. It now has the ability to set the 
12016 value 
12017 of any Named integer object in the namespace (Previously, only method 
12018 locals 
12019 and args could be set.)
12020
12021 Code and Data Size: Current and previous core subsystem library sizes are 
12022 shown below. These are the code and data sizes for the acpica.lib 
12023 produced 
12024 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12025 any ACPI driver or OSPM code. The debug version of the code includes the 
12026 debug output trace mechanism and has a much larger code and data size. 
12027 Note 
12028 that these values will vary depending on the efficiency of the compiler 
12029 and 
12030 the compiler options used during generation.
12031
12032   Previous Release:
12033     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12034     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12035   Current Release:
12036     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
12037     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
12038
12039
12040 2) iASL Compiler/Disassembler:
12041
12042 Fixed a regression in the disassembler where if/else/while constructs 
12043 were 
12044 output incorrectly. This problem was introduced in the previous release 
12045 (20050526). This problem also affected the single-step disassembly in the 
12046 debugger.
12047
12048 Fixed a problem where compiling the reserved _OSI method would randomly 
12049 (but 
12050 rarely) produce compile errors.
12051
12052 Enhanced the disassembler to emit compilable code in the face of 
12053 incorrect 
12054 AML resource descriptors. If the optional ResourceSourceIndex is present, 
12055 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
12056 disassembly. Otherwise, the resulting code cannot be compiled without 
12057 errors.
12058
12059 ----------------------------------------
12060 26 May 2005.  Summary of changes for version 20050526:
12061
12062 1) ACPI CA Core Subsystem:
12063
12064 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
12065 the module level (not within a control method.) These opcodes are 
12066 executed 
12067 exactly once at the time the table is loaded. This type of code was legal 
12068 up 
12069 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
12070 in 
12071 order to provide backwards compatibility with earlier BIOS 
12072 implementations. 
12073 This eliminates the "Encountered executable code at module level" warning 
12074 that was previously generated upon detection of such code.
12075
12076 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
12077 inadvertently be generated during the lookup of namespace objects in the 
12078 second pass parse of ACPI tables and control methods. It appears that 
12079 this 
12080 problem could occur during the resolution of forward references to 
12081 namespace 
12082 objects.
12083
12084 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
12085 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
12086 allows the deadlock detection debug code to be compiled out in the normal 
12087 case, improving mutex performance (and overall subsystem performance) 
12088 considerably.
12089
12090 Implemented a handful of miscellaneous fixes for possible memory leaks on 
12091 error conditions and error handling control paths. These fixes were 
12092 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
12093
12094 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
12095 (tbxfroot.c) 
12096 to prevent a fault in this error case.
12097
12098 Code and Data Size: Current and previous core subsystem library sizes are 
12099 shown below. These are the code and data sizes for the acpica.lib 
12100 produced 
12101 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12102 any ACPI driver or OSPM code. The debug version of the code includes the 
12103 debug output trace mechanism and has a much larger code and data size. 
12104 Note 
12105 that these values will vary depending on the efficiency of the compiler 
12106 and 
12107 the compiler options used during generation.
12108
12109   Previous Release:
12110     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12111     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12112   Current Release:
12113     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12114     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12115
12116
12117 2) iASL Compiler/Disassembler:
12118
12119 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
12120 the module level (not within a control method.) These operators will be 
12121 executed once at the time the table is loaded. This type of code was 
12122 legal 
12123 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
12124 compiler in order to provide backwards compatibility with earlier BIOS 
12125 ASL 
12126 code.
12127
12128 The ACPI integer width (specified via the table revision ID or the -r 
12129 override, 32 or 64 bits) is now used internally during compile-time 
12130 constant 
12131 folding to ensure that constants are truncated to 32 bits if necessary. 
12132 Previously, the revision ID value was only emitted in the AML table 
12133 header.
12134
12135 An error message is now generated for the Mutex and Method operators if 
12136 the 
12137 SyncLevel parameter is outside the legal range of 0 through 15.
12138
12139 Fixed a problem with the Method operator ParameterTypes list handling 
12140 (ACPI 
12141 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
12142 error.  
12143 The actual underlying implementation of method argument typechecking is 
12144 still under development, however.
12145
12146 ----------------------------------------
12147 13 May 2005.  Summary of changes for version 20050513:
12148
12149 1) ACPI CA Core Subsystem:
12150
12151 Implemented support for PCI Express root bridges -- added support for 
12152 device 
12153 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
12154
12155 The interpreter now automatically truncates incoming 64-bit constants to 
12156 32 
12157 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
12158 This 
12159 also affects the iASL compiler constant folding. (Note: as per below, the 
12160 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
12161
12162 Fixed a problem where string and buffer objects with "static" pointers 
12163 (pointers to initialization data within an ACPI table) were not handled 
12164 consistently. The internal object copy operation now always copies the 
12165 data 
12166 to a newly allocated buffer, regardless of whether the source object is 
12167 static or not.
12168
12169 Fixed a problem with the FromBCD operator where an implicit result 
12170 conversion was improperly performed while storing the result to the 
12171 target 
12172 operand. Since this is an "explicit conversion" operator, the implicit 
12173 conversion should never be performed on the output.
12174
12175 Fixed a problem with the CopyObject operator where a copy to an existing 
12176 named object did not always completely overwrite the existing object 
12177 stored 
12178 at name. Specifically, a buffer-to-buffer copy did not delete the 
12179 existing 
12180 buffer.
12181
12182 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
12183 and 
12184 structs for consistency.
12185
12186 Code and Data Size: Current and previous core subsystem library sizes are 
12187 shown below. These are the code and data sizes for the acpica.lib 
12188 produced 
12189 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12190 any ACPI driver or OSPM code. The debug version of the code includes the 
12191 debug output trace mechanism and has a much larger code and data size. 
12192 Note 
12193 that these values will vary depending on the efficiency of the compiler 
12194 and 
12195 the compiler options used during generation.
12196
12197   Previous Release:
12198     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12199     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12200   Current Release: (Same sizes)
12201     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12202     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12203
12204
12205 2) iASL Compiler/Disassembler:
12206
12207 The compiler now emits a warning if an attempt is made to generate a 64-
12208 bit 
12209 integer constant from within a 32-bit ACPI table (Revision < 2). The 
12210 integer 
12211 is truncated to 32 bits.
12212
12213 Fixed a problem with large package objects: if the static length of the 
12214 package is greater than 255, the "variable length package" opcode is 
12215 emitted. Previously, this caused an error. This requires an update to the 
12216 ACPI spec, since it currently (incorrectly) states that packages larger 
12217 than 
12218 255 elements are not allowed.
12219
12220 The disassembler now correctly handles variable length packages and 
12221 packages 
12222 larger than 255 elements.
12223
12224 ----------------------------------------
12225 08 April 2005.  Summary of changes for version 20050408:
12226
12227 1) ACPI CA Core Subsystem:
12228
12229 Fixed three cases in the interpreter where an "index" argument to an ASL 
12230 function was still (internally) 32 bits instead of the required 64 bits. 
12231 This was the Index argument to the Index, Mid, and Match operators.
12232
12233 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
12234 is 
12235 not a POSIX-defined function and not present in most kernel-level C 
12236 libraries. All references to the C library strupr function have been 
12237 removed 
12238 from the headers.
12239
12240 Completed the deployment of static functions/prototypes. All prototypes 
12241 with 
12242 the static attribute have been moved from the headers to the owning C 
12243 file.
12244
12245 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
12246 utility). This option allows the utility to extract individual ACPI 
12247 tables 
12248 from the output of AcpiDmp. It provides the same functionality of the 
12249 acpixtract.pl perl script without the worry of setting the correct perl 
12250 options. AcpiBin runs on Windows and has not yet been generated/validated 
12251 in 
12252 the Linux/Unix environment (but should be soon).
12253  
12254 Updated and fixed the table dump option for AcpiBin (-d). This option 
12255 converts a single ACPI table to a hex/ascii file, similar to the output 
12256 of 
12257 AcpiDmp.
12258
12259 Code and Data Size: Current and previous core subsystem library sizes are 
12260 shown below. These are the code and data sizes for the acpica.lib 
12261 produced 
12262 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12263 any ACPI driver or OSPM code. The debug version of the code includes the 
12264 debug output trace mechanism and has a much larger code and data size. 
12265 Note 
12266 that these values will vary depending on the efficiency of the compiler 
12267 and 
12268 the compiler options used during generation.
12269
12270   Previous Release:
12271     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12272     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12273   Current Release:
12274     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12275     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12276
12277
12278 2) iASL Compiler/Disassembler:
12279
12280 Disassembler fix: Added a check to ensure that the table length found in 
12281 the 
12282 ACPI table header within the input file is not longer than the actual 
12283 input 
12284 file size. This indicates some kind of file or table corruption.
12285
12286 ----------------------------------------
12287 29 March 2005.  Summary of changes for version 20050329:
12288
12289 1) ACPI CA Core Subsystem:
12290
12291 An error is now generated if an attempt is made to create a Buffer Field 
12292 of 
12293 length zero (A CreateField with a length operand of zero.)
12294
12295 The interpreter now issues a warning whenever executable code at the 
12296 module 
12297 level is detected during ACPI table load. This will give some idea of the 
12298 prevalence of this type of code.
12299
12300 Implemented support for references to named objects (other than control 
12301 methods) within package objects.
12302
12303 Enhanced package object output for the debug object. Package objects are 
12304 now 
12305 completely dumped, showing all elements.
12306
12307 Enhanced miscellaneous object output for the debug object. Any object can 
12308 now be written to the debug object (for example, a device object can be 
12309 written, and the type of the object will be displayed.)
12310
12311 The "static" qualifier has been added to all local functions across both 
12312 the 
12313 core subsystem and the iASL compiler.
12314
12315 The number of "long" lines (> 80 chars) within the source has been 
12316 significantly reduced, by about 1/3.
12317
12318 Cleaned up all header files to ensure that all CA/iASL functions are 
12319 prototyped (even static functions) and the formatting is consistent.
12320
12321 Two new header files have been added, acopcode.h and acnames.h.
12322
12323 Removed several obsolete functions that were no longer used.
12324
12325 Code and Data Size: Current and previous core subsystem library sizes are 
12326 shown below. These are the code and data sizes for the acpica.lib 
12327 produced 
12328 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12329 any ACPI driver or OSPM code. The debug version of the code includes the 
12330 debug output trace mechanism and has a much larger code and data size. 
12331 Note 
12332 that these values will vary depending on the efficiency of the compiler 
12333 and 
12334 the compiler options used during generation.
12335
12336   Previous Release:
12337     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12338     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12339   Current Release:
12340     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12341     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12342
12343
12344
12345 2) iASL Compiler/Disassembler:
12346
12347 Fixed a problem with the resource descriptor generation/support. For the 
12348 ResourceSourceIndex and the ResourceSource fields, both must be present, 
12349 or 
12350 both must be not present - can't have one without the other.
12351
12352 The compiler now returns non-zero from the main procedure if any errors 
12353 have 
12354 occurred during the compilation.
12355
12356
12357 ----------------------------------------
12358 09 March 2005.  Summary of changes for version 20050309:
12359
12360 1) ACPI CA Core Subsystem:
12361
12362 The string-to-buffer implicit conversion code has been modified again 
12363 after 
12364 a change to the ACPI specification.  In order to match the behavior of 
12365 the 
12366 other major ACPI implementation, the target buffer is no longer truncated 
12367 if 
12368 the source string is smaller than an existing target buffer. This change 
12369 requires an update to the ACPI spec, and should eliminate the recent 
12370 AE_AML_BUFFER_LIMIT issues.
12371
12372 The "implicit return" support was rewritten to a new algorithm that 
12373 solves 
12374 the general case. Rather than attempt to determine when a method is about 
12375 to 
12376 exit, the result of every ASL operator is saved momentarily until the 
12377 very 
12378 next ASL operator is executed. Therefore, no matter how the method exits, 
12379 there will always be a saved implicit return value. This feature is only 
12380 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
12381 eliminate 
12382 AE_AML_NO_RETURN_VALUE errors when enabled.
12383
12384 Implemented implicit conversion support for the predicate (operand) of 
12385 the 
12386 If, Else, and While operators. String and Buffer arguments are 
12387 automatically 
12388 converted to Integers.
12389
12390 Changed the string-to-integer conversion behavior to match the new ACPI 
12391 errata: "If no integer object exists, a new integer is created. The ASCII 
12392 string is interpreted as a hexadecimal constant. Each string character is 
12393 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
12394 with the first character as the most significant digit, and ending with 
12395 the 
12396 first non-hexadecimal character or end-of-string." This means that the 
12397 first 
12398 non-hex character terminates the conversion and this is the code that was 
12399 changed.
12400
12401 Fixed a problem where the ObjectType operator would fail (fault) when 
12402 used 
12403 on an Index of a Package which pointed to a null package element. The 
12404 operator now properly returns zero (Uninitialized) in this case.
12405
12406 Fixed a problem where the While operator used excessive memory by not 
12407 properly popping the result stack during execution. There was no memory 
12408 leak 
12409 after execution, however. (Code provided by Valery Podrezov.)
12410
12411 Fixed a problem where references to control methods within Package 
12412 objects 
12413 caused the method to be invoked, instead of producing a reference object 
12414 pointing to the method.
12415
12416 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
12417 to 
12418 improve performance and reduce code size. (Code provided by Alexey 
12419 Starikovskiy.)
12420
12421 Code and Data Size: Current and previous core subsystem library sizes are 
12422 shown below. These are the code and data sizes for the acpica.lib 
12423 produced 
12424 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12425 any ACPI driver or OSPM code. The debug version of the code includes the 
12426 debug output trace mechanism and has a much larger code and data size. 
12427 Note 
12428 that these values will vary depending on the efficiency of the compiler 
12429 and 
12430 the compiler options used during generation.
12431
12432   Previous Release:
12433     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12434     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12435   Current Release:
12436     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12437     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12438
12439
12440 2) iASL Compiler/Disassembler:
12441
12442 Fixed a problem with the Return operator with no arguments. Since the AML 
12443 grammar for the byte encoding requires an operand for the Return opcode, 
12444 the 
12445 compiler now emits a Return(Zero) for this case.  An ACPI specification 
12446 update has been written for this case.
12447
12448 For tables other than the DSDT, namepath optimization is automatically 
12449 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
12450 the 
12451 compiler has no knowledge of where, and thus cannot optimize namepaths.
12452
12453 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
12454 inadvertently omitted from the ACPI specification, and will require an 
12455 update to the spec.
12456
12457 The source file scan for ASCII characters is now optional (-a). This 
12458 change 
12459 was made because some vendors place non-ascii characters within comments. 
12460 However, the scan is simply a brute-force byte compare to ensure all 
12461 characters in the file are in the range 0x00 to 0x7F.
12462
12463 Fixed a problem with the CondRefOf operator where the compiler was 
12464 inappropriately checking for the existence of the target. Since the point 
12465 of 
12466 the operator is to check for the existence of the target at run-time, the 
12467 compiler no longer checks for the target existence.
12468
12469 Fixed a problem where errors generated from the internal AML interpreter 
12470 during constant folding were not handled properly, causing a fault.
12471
12472 Fixed a problem with overly aggressive range checking for the Stall 
12473 operator. The valid range (max 255) is now only checked if the operand is 
12474 of 
12475 type Integer. All other operand types cannot be statically checked.
12476
12477 Fixed a problem where control method references within the RefOf, 
12478 DeRefOf, 
12479 and ObjectType operators were not treated properly. They are now treated 
12480 as 
12481 actual references, not method invocations.
12482
12483 Fixed and enhanced the "list namespace" option (-ln). This option was 
12484 broken 
12485 a number of releases ago.
12486
12487 Improved error handling for the Field, IndexField, and BankField 
12488 operators. 
12489 The compiler now cleanly reports and recovers from errors in the field 
12490 component (FieldUnit) list.
12491
12492 Fixed a disassembler problem where the optional ResourceDescriptor fields 
12493 TRS and TTP were not always handled correctly.
12494
12495 Disassembler - Comments in output now use "//" instead of "/*"
12496
12497 ----------------------------------------
12498 28 February 2005.  Summary of changes for version 20050228:
12499
12500 1) ACPI CA Core Subsystem:
12501
12502 Fixed a problem where the result of an Index() operator (an object 
12503 reference) must increment the reference count on the target object for 
12504 the 
12505 life of the object reference.
12506
12507 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
12508 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
12509 WordSpace 
12510 resource descriptors.
12511
12512 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
12513 Space Descriptor" string, indicating interpreter support for the 
12514 descriptors 
12515 above.
12516
12517 Implemented header support for the new ACPI 3.0 FADT flag bits.
12518
12519 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
12520 PM1 
12521 status/enable registers.
12522
12523 Updated header support for the MADT processor local Apic struct and MADT 
12524 platform interrupt source struct for new ACPI 3.0 fields.
12525
12526 Implemented header support for the SRAT and SLIT ACPI tables.
12527
12528 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
12529 flag 
12530 at runtime.
12531
12532 Code and Data Size: Current and previous core subsystem library sizes are 
12533 shown below. These are the code and data sizes for the acpica.lib 
12534 produced 
12535 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12536 any ACPI driver or OSPM code. The debug version of the code includes the 
12537 debug output trace mechanism and has a much larger code and data size. 
12538 Note 
12539 that these values will vary depending on the efficiency of the compiler 
12540 and 
12541 the compiler options used during generation.
12542
12543   Previous Release:
12544     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12545     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12546   Current Release:
12547     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12548     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12549
12550
12551 2) iASL Compiler/Disassembler:
12552
12553 Fixed a problem with the internal 64-bit String-to-integer conversion 
12554 with 
12555 strings less than two characters long.
12556
12557 Fixed a problem with constant folding where the result of the Index() 
12558 operator can not be considered a constant. This means that Index() cannot 
12559 be 
12560 a type3 opcode and this will require an update to the ACPI specification.
12561
12562 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
12563 descriptor fields. These fields were inadvertently ignored and not output 
12564 in 
12565 the disassembly of the resource descriptor.
12566
12567
12568  ----------------------------------------
12569 11 February 2005.  Summary of changes for version 20050211:
12570
12571 1) ACPI CA Core Subsystem:
12572
12573 Implemented ACPI 3.0 support for implicit conversion within the Match() 
12574 operator. MatchObjects can now be of type integer, buffer, or string 
12575 instead 
12576 of just type integer.  Package elements are implicitly converted to the 
12577 type 
12578 of the MatchObject. This change aligns the behavior of Match() with the 
12579 behavior of the other logical operators (LLess(), etc.) It also requires 
12580 an 
12581 errata change to the ACPI specification as this support was intended for 
12582 ACPI 3.0, but was inadvertently omitted.
12583
12584 Fixed a problem with the internal implicit "to buffer" conversion. 
12585 Strings 
12586 that are converted to buffers will cause buffer truncation if the string 
12587 is 
12588 smaller than the target buffer. Integers that are converted to buffers 
12589 will 
12590 not cause buffer truncation, only zero extension (both as per the ACPI 
12591 spec.) The problem was introduced when code was added to truncate the 
12592 buffer, but this should not be performed in all cases, only the string 
12593 case.
12594
12595 Fixed a problem with the Buffer and Package operators where the 
12596 interpreter 
12597 would get confused if two such operators were used as operands to an ASL 
12598 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
12599 stack was not being popped after the execution of these operators, 
12600 resulting 
12601 in an AE_NO_RETURN_VALUE exception.
12602
12603 Fixed a problem with constructs of the form Store(Index(...),...). The 
12604 reference object returned from Index was inadvertently resolved to an 
12605 actual 
12606 value. This problem was introduced in version 20050114 when the behavior 
12607 of 
12608 Store() was modified to restrict the object types that can be used as the 
12609 source operand (to match the ACPI specification.)
12610
12611 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
12612
12613 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
12614
12615 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
12616
12617 Code and Data Size: Current and previous core subsystem library sizes are 
12618 shown below. These are the code and data sizes for the acpica.lib 
12619 produced 
12620 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12621 any ACPI driver or OSPM code. The debug version of the code includes the 
12622 debug output trace mechanism and has a much larger code and data size. 
12623 Note 
12624 that these values will vary depending on the efficiency of the compiler 
12625 and 
12626 the compiler options used during generation.
12627
12628   Previous Release:
12629     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
12630     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
12631   Current Release:
12632     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12633     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12634
12635
12636 2) iASL Compiler/Disassembler:
12637
12638 Fixed a code generation problem in the constant folding optimization code 
12639 where incorrect code was generated if a constant was reduced to a buffer 
12640 object (i.e., a reduced type 5 opcode.)
12641
12642 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
12643 incorrect return type in the internal opcode information table.
12644
12645 ----------------------------------------
12646 25 January 2005.  Summary of changes for version 20050125:
12647
12648 1) ACPI CA Core Subsystem:
12649
12650 Fixed a recently introduced problem with the Global Lock where the 
12651 underlying semaphore was not created.  This problem was introduced in 
12652 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
12653 Acquire() operation on _GL.
12654
12655 The local object cache is now optional, and is disabled by default. Both 
12656 AcpiExec and the iASL compiler enable the cache because they run in user 
12657 mode and this enhances their performance. #define 
12658 ACPI_ENABLE_OBJECT_CACHE 
12659 to enable the local cache.
12660
12661 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
12662 the 
12663 optional "implicit return" support where an error was returned if no 
12664 return 
12665 object was expected, but one was implicitly returned. AE_OK is now 
12666 returned 
12667 in this case and the implicitly returned object is deleted. 
12668 AcpiUtEvaluateObject is only occasionally used, and only to execute 
12669 reserved 
12670 methods such as _STA and _INI where the return type is known up front.
12671
12672 Fixed a few issues with the internal convert-to-integer code. It now 
12673 returns 
12674 an error if an attempt is made to convert a null string, a string of only 
12675 blanks/tabs, or a zero-length buffer. This affects both implicit 
12676 conversion 
12677 and explicit conversion via the ToInteger() operator.
12678
12679 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
12680 is 
12681 not needed for normal operation and should increase the performance of 
12682 the 
12683 entire subsystem. The code remains in case it is needed for debug 
12684 purposes 
12685 again.
12686
12687 The AcpiExec source and makefile are included in the Unix/Linux package 
12688 for 
12689 the first time.
12690
12691 Code and Data Size: Current and previous core subsystem library sizes are 
12692 shown below. These are the code and data sizes for the acpica.lib 
12693 produced 
12694 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12695 any ACPI driver or OSPM code. The debug version of the code includes the 
12696 debug output trace mechanism and has a much larger code and data size. 
12697 Note 
12698 that these values will vary depending on the efficiency of the compiler 
12699 and 
12700 the compiler options used during generation.
12701
12702   Previous Release:
12703     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12704     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12705   Current Release:
12706     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
12707     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
12708
12709 2) iASL Compiler/Disassembler:
12710
12711 Switch/Case support: A warning is now issued if the type of the Switch 
12712 value 
12713 cannot be determined at compile time. For example, Switch(Arg0) will 
12714 generate the warning, and the type is assumed to be an integer. As per 
12715 the 
12716 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
12717 the 
12718 warning.
12719
12720 Switch/Case support: Implemented support for buffer and string objects as 
12721 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
12722 buffers and strings.
12723
12724 Switch/Case support: The emitted code for the LEqual() comparisons now 
12725 uses 
12726 the switch value as the first operand, not the second. The case value is 
12727 now 
12728 the second operand, and this allows the case value to be implicitly 
12729 converted to the type of the switch value, not the other way around.
12730
12731 Switch/Case support: Temporary variables are now emitted immediately 
12732 within 
12733 the control method, not at the global level. This means that there are 
12734 now 
12735 36 temps available per-method, not 36 temps per-module as was the case 
12736 with 
12737 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
12738
12739 ----------------------------------------
12740 14 January 2005.  Summary of changes for version 20050114:
12741
12742 Added 2005 copyright to all module headers.  This affects every module in 
12743 the core subsystem, iASL compiler, and the utilities.
12744
12745 1) ACPI CA Core Subsystem:
12746
12747 Fixed an issue with the String-to-Buffer conversion code where the string 
12748 null terminator was not included in the buffer after conversion, but 
12749 there 
12750 is existing ASL that assumes the string null terminator is included. This 
12751 is 
12752 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
12753 introduced in the previous version when the code was updated to correctly 
12754 set the converted buffer size as per the ACPI specification. The ACPI 
12755 spec 
12756 is ambiguous and will be updated to specify that the null terminator must 
12757 be 
12758 included in the converted buffer. This also affects the ToBuffer() ASL 
12759 operator.
12760
12761 Fixed a problem with the Mid() ASL/AML operator where it did not work 
12762 correctly on Buffer objects. Newly created sub-buffers were not being 
12763 marked 
12764 as initialized.
12765
12766
12767 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
12768 performed on the OemId and OemTableId table header fields.  These fields 
12769 are 
12770 not null terminated, so strncmp is now used instead of strcmp.
12771
12772 Implemented a restriction on the Store() ASL/AML operator to align the 
12773 behavior with the ACPI specification.  Previously, any object could be 
12774 used 
12775 as the source operand.  Now, the only objects that may be used are 
12776 Integers, 
12777 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
12778 necessary, the original behavior can be restored by enabling the 
12779 EnableInterpreterSlack flag.
12780
12781 Enhanced the optional "implicit return" support to allow an implicit 
12782 return 
12783 value from methods that are invoked externally via the AcpiEvaluateObject 
12784 interface.  This enables implicit returns from the _STA and _INI methods, 
12785 for example.
12786
12787 Changed the Revision() ASL/AML operator to return the current version of 
12788 the 
12789 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
12790 returned 
12791 the supported ACPI version (This is the function of the _REV method).
12792
12793 Updated the _REV predefined method to return the currently supported 
12794 version 
12795 of ACPI, now 3.
12796
12797 Implemented batch mode option for the AcpiExec utility (-b).
12798
12799 Code and Data Size: Current and previous core subsystem library sizes are 
12800 shown below. These are the code and data sizes for the acpica.lib 
12801 produced 
12802 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12803 any ACPI driver or OSPM code. The debug version of the code includes the 
12804 debug output trace mechanism and has a much larger code and data size. 
12805 Note 
12806 that these values will vary depending on the efficiency of the compiler 
12807 and 
12808 the compiler options used during generation.
12809
12810   Previous Release:
12811     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12812     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12813   Current Release:
12814     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12815     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12816
12817 ----------------------------------------
12818 10 December 2004.  Summary of changes for version 20041210:
12819
12820 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
12821 ACPI CA core subsystem.
12822
12823 1) ACPI CA Core Subsystem:
12824
12825 Fixed a problem in the ToDecimalString operator where the resulting 
12826 string 
12827 length was incorrectly calculated. The length is now calculated exactly, 
12828 eliminating incorrect AE_STRING_LIMIT exceptions.
12829
12830 Fixed a problem in the ToHexString operator to allow a maximum 200 
12831 character 
12832 string to be produced.
12833
12834 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
12835 copy 
12836 routine where the length of the resulting buffer was not truncated to the 
12837 new size (if the target buffer already existed).
12838
12839 Code and Data Size: Current and previous core subsystem library sizes are 
12840 shown below. These are the code and data sizes for the acpica.lib 
12841 produced 
12842 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12843 any ACPI driver or OSPM code. The debug version of the code includes the 
12844 debug output trace mechanism and has a much larger code and data size. 
12845 Note 
12846 that these values will vary depending on the efficiency of the compiler 
12847 and 
12848 the compiler options used during generation.
12849
12850   Previous Release:
12851     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12852     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12853   Current Release:
12854     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12855     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12856
12857
12858 2) iASL Compiler/Disassembler:
12859
12860 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
12861 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
12862 Includes support in the disassembler.
12863
12864 Implemented support for the new (ACPI 3.0) parameter to the Register 
12865 macro, 
12866 AccessSize.
12867
12868 Fixed a problem where the _HE resource name for the Interrupt macro was 
12869 referencing bit 0 instead of bit 1.
12870
12871 Implemented check for maximum 255 interrupts in the Interrupt macro.
12872
12873 Fixed a problem with the predefined resource descriptor names where 
12874 incorrect AML code was generated if the offset within the resource buffer 
12875 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
12876 but did not update the surrounding package lengths.
12877
12878 Changes to the Dma macro:  All channels within the channel list must be 
12879 in 
12880 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
12881 optional (default is BusMaster).
12882
12883 Implemented check for maximum 7 data bytes for the VendorShort macro.
12884
12885 The ReadWrite parameter is now optional for the Memory32 and similar 
12886 macros.
12887
12888 ----------------------------------------
12889 03 December 2004.  Summary of changes for version 20041203:
12890
12891 1) ACPI CA Core Subsystem:
12892
12893 The low-level field insertion/extraction code (exfldio) has been 
12894 completely 
12895 rewritten to eliminate unnecessary complexity, bugs, and boundary 
12896 conditions.
12897
12898 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
12899 ToDecimalString 
12900 operators where the input operand could be inadvertently deleted if no 
12901 conversion was necessary (e.g., if the input to ToInteger was an Integer 
12902 object.)
12903
12904 Fixed a problem with the ToDecimalString and ToHexString where an 
12905 incorrect 
12906 exception code was returned if the resulting string would be > 200 chars.  
12907 AE_STRING_LIMIT is now returned.
12908
12909 Fixed a problem with the Concatenate operator where AE_OK was always 
12910 returned, even if the operation failed.
12911
12912 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
12913 semaphores to be allocated.
12914
12915 Code and Data Size: Current and previous core subsystem library sizes are 
12916 shown below. These are the code and data sizes for the acpica.lib 
12917 produced 
12918 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12919 any ACPI driver or OSPM code. The debug version of the code includes the 
12920 debug output trace mechanism and has a much larger code and data size. 
12921 Note 
12922 that these values will vary depending on the efficiency of the compiler 
12923 and 
12924 the compiler options used during generation.
12925
12926   Previous Release:
12927     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12928     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12929   Current Release:
12930     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12931     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12932
12933
12934 2) iASL Compiler/Disassembler:
12935
12936 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
12937 recently introduced in 20041119.
12938
12939 Fixed a problem with the ToUUID macro where the upper nybble of each 
12940 buffer 
12941 byte was inadvertently set to zero.
12942
12943 ----------------------------------------
12944 19 November 2004.  Summary of changes for version 20041119:
12945
12946 1) ACPI CA Core Subsystem:
12947
12948 Fixed a problem in the internal ConvertToInteger routine where new 
12949 integers 
12950 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
12951 converts 
12952 buffers and strings to integers.
12953
12954 Implemented support to store a value to an Index() on a String object. 
12955 This 
12956 is an ACPI 2.0 feature that had not yet been implemented.
12957
12958 Implemented new behavior for storing objects to individual package 
12959 elements 
12960 (via the Index() operator). The previous behavior was to invoke the 
12961 implicit 
12962 conversion rules if an object was already present at the index.  The new 
12963 behavior is to simply delete any existing object and directly store the 
12964 new 
12965 object. Although the ACPI specification seems unclear on this subject, 
12966 other 
12967 ACPI implementations behave in this manner.  (This is the root of the 
12968 AE_BAD_HEX_CONSTANT issue.)
12969
12970 Modified the RSDP memory scan mechanism to support the extended checksum 
12971 for 
12972 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
12973 RSDP signature is found with a valid checksum.
12974
12975 Code and Data Size: Current and previous core subsystem library sizes are 
12976 shown below. These are the code and data sizes for the acpica.lib 
12977 produced 
12978 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12979 any ACPI driver or OSPM code. The debug version of the code includes the 
12980 debug output trace mechanism and has a much larger code and data size. 
12981 Note 
12982 that these values will vary depending on the efficiency of the compiler 
12983 and 
12984 the compiler options used during generation.
12985
12986   Previous Release:
12987     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12988     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12989   Current Release:
12990     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12991     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12992
12993
12994 2) iASL Compiler/Disassembler:
12995
12996 Fixed a missing semicolon in the aslcompiler.y file.
12997
12998 ----------------------------------------
12999 05 November 2004.  Summary of changes for version 20041105:
13000
13001 1) ACPI CA Core Subsystem:
13002
13003 Implemented support for FADT revision 2.  This was an interim table 
13004 (between 
13005 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
13006
13007 Implemented optional support to allow uninitialized LocalX and ArgX 
13008 variables in a control method.  The variables are initialized to an 
13009 Integer 
13010 object with a value of zero.  This support is enabled by setting the 
13011 AcpiGbl_EnableInterpreterSlack flag to TRUE.
13012
13013 Implemented support for Integer objects for the SizeOf operator.  Either 
13014
13015 or 8 is returned, depending on the current integer size (32-bit or 64-
13016 bit, 
13017 depending on the parent table revision).
13018
13019 Fixed a problem in the implementation of the SizeOf and ObjectType 
13020 operators 
13021 where the operand was resolved to a value too early, causing incorrect 
13022 return values for some objects.
13023
13024 Fixed some possible memory leaks during exceptional conditions.
13025
13026 Code and Data Size: Current and previous core subsystem library sizes are 
13027 shown below. These are the code and data sizes for the acpica.lib 
13028 produced 
13029 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13030 any ACPI driver or OSPM code. The debug version of the code includes the 
13031 debug output trace mechanism and has a much larger code and data size. 
13032 Note 
13033 that these values will vary depending on the efficiency of the compiler 
13034 and 
13035 the compiler options used during generation.
13036
13037   Previous Release:
13038     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13039     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13040   Current Release:
13041     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13042     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13043
13044
13045 2) iASL Compiler/Disassembler:
13046
13047 Implemented support for all ACPI 3.0 reserved names and methods.
13048
13049 Implemented all ACPI 3.0 grammar elements in the front-end, including 
13050 support for semicolons.
13051
13052 Implemented the ACPI 3.0 Function() and ToUUID() macros
13053
13054 Fixed a problem in the disassembler where a Scope() operator would not be 
13055 emitted properly if the target of the scope was in another table.
13056
13057 ----------------------------------------
13058 15 October 2004.  Summary of changes for version 20041015:
13059
13060 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
13061 evaluation to test/verify the following areas. Other suggestions are 
13062 welcome. This will result in an increase in the frequency of releases and 
13063 the number of bug fixes in the next few months.
13064   - Functional tests for all ASL/AML operators
13065   - All implicit/explicit type conversions
13066   - Bit fields and operation regions
13067   - 64-bit math support and 32-bit-only "truncated" math support
13068   - Exceptional conditions, both compiler and interpreter
13069   - Dynamic object deletion and memory leaks
13070   - ACPI 3.0 support when implemented
13071   - External interfaces to the ACPI subsystem
13072
13073
13074 1) ACPI CA Core Subsystem:
13075
13076 Fixed two alignment issues on 64-bit platforms - within debug statements 
13077 in 
13078 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
13079 Address 
13080 field within the non-aligned ACPI generic address structure.
13081
13082 Fixed a problem in the Increment and Decrement operators where incorrect 
13083 operand resolution could result in the inadvertent modification of the 
13084 original integer when the integer is passed into another method as an 
13085 argument and the arg is then incremented/decremented.
13086
13087 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
13088 bit 
13089 BCD number were truncated during conversion.
13090
13091 Fixed a problem in the ToDecimal operator where the length of the 
13092 resulting 
13093 string could be set incorrectly too long if the input operand was a 
13094 Buffer 
13095 object.
13096
13097 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
13098 (0) 
13099 within a buffer would prematurely terminate a compare between buffer 
13100 objects.
13101
13102 Added a check for string overflow (>200 characters as per the ACPI 
13103 specification) during the Concatenate operator with two string operands.
13104
13105 Code and Data Size: Current and previous core subsystem library sizes are 
13106 shown below. These are the code and data sizes for the acpica.lib 
13107 produced 
13108 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13109 any ACPI driver or OSPM code. The debug version of the code includes the 
13110 debug output trace mechanism and has a much larger code and data size. 
13111 Note 
13112 that these values will vary depending on the efficiency of the compiler 
13113 and 
13114 the compiler options used during generation.
13115
13116   Previous Release:
13117     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13118     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13119   Current Release:
13120     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13121     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13122
13123
13124
13125 2) iASL Compiler/Disassembler:
13126
13127 Allow the use of the ObjectType operator on uninitialized Locals and Args 
13128 (returns 0 as per the ACPI specification).
13129
13130 Fixed a problem where the compiler would fault if there was a syntax 
13131 error 
13132 in the FieldName of all of the various CreateXXXField operators.
13133
13134 Disallow the use of lower case letters within the EISAID macro, as per 
13135 the 
13136 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
13137 Where 
13138 U is an uppercase letter and N is a hex digit.
13139
13140
13141 ----------------------------------------
13142 06 October 2004.  Summary of changes for version 20041006:
13143
13144 1) ACPI CA Core Subsystem:
13145
13146 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
13147 implements a 64-bit timer with 100 nanosecond granularity.
13148
13149 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
13150 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
13151 implement 
13152 the timer with the best clock available. Also, it keeps the core 
13153 subsystem 
13154 out of the clock handling business, since the host OS (usually) performs 
13155 this function.
13156
13157 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
13158 functions use a 64-bit address which is part of the packed ACPI Generic 
13159 Address Structure. Since the structure is non-aligned, the alignment 
13160 macros 
13161 are now used to extract the address to a local variable before use.
13162
13163 Fixed a problem where the ToInteger operator assumed all input strings 
13164 were 
13165 hexadecimal. The operator now handles both decimal strings and hex 
13166 strings 
13167 (prefixed with "0x").
13168
13169 Fixed a problem where the string length in the string object created as a 
13170 result of the internal ConvertToString procedure could be incorrect. This 
13171 potentially affected all implicit conversions and also the 
13172 ToDecimalString 
13173 and ToHexString operators.
13174
13175 Fixed two problems in the ToString operator. If the length parameter was 
13176 zero, an incorrect string object was created and the value of the input 
13177 length parameter was inadvertently changed from zero to Ones.
13178
13179 Fixed a problem where the optional ResourceSource string in the 
13180 ExtendedIRQ 
13181 resource macro was ignored.
13182
13183 Simplified the interfaces to the internal division functions, reducing 
13184 code 
13185 size and complexity.
13186
13187 Code and Data Size: Current and previous core subsystem library sizes are 
13188 shown below. These are the code and data sizes for the acpica.lib 
13189 produced 
13190 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13191 any ACPI driver or OSPM code. The debug version of the code includes the 
13192 debug output trace mechanism and has a much larger code and data size. 
13193 Note 
13194 that these values will vary depending on the efficiency of the compiler 
13195 and 
13196 the compiler options used during generation.
13197
13198   Previous Release:
13199     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13200     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13201   Current Release:
13202     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13203     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13204
13205
13206 2) iASL Compiler/Disassembler:
13207
13208 Implemented support for the ACPI 3.0 Timer operator.
13209
13210 Fixed a problem where the Default() operator was inadvertently ignored in 
13211
13212 Switch/Case block.  This was a problem in the translation of the Switch 
13213 statement to If...Else pairs.
13214
13215 Added support to allow a standalone Return operator, with no parentheses 
13216 (or 
13217 operands).
13218
13219 Fixed a problem with code generation for the ElseIf operator where the 
13220 translated Else...If parse tree was improperly constructed leading to the 
13221 loss of some code.
13222
13223 ----------------------------------------
13224 22 September 2004.  Summary of changes for version 20040922:
13225
13226 1) ACPI CA Core Subsystem:
13227
13228 Fixed a problem with the implementation of the LNot() operator where 
13229 "Ones" 
13230 was not returned for the TRUE case. Changed the code to return Ones 
13231 instead 
13232 of (!Arg) which was usually 1. This change affects iASL constant folding 
13233 for 
13234 this operator also.
13235
13236 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
13237 not 
13238 initialized properly -- Now zero the entire buffer in this case where the 
13239 buffer already exists.
13240
13241 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
13242 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
13243 related code considerably. This will require changes/updates to all OS 
13244 interface layers (OSLs.)
13245
13246 Implemented a new external interface, AcpiInstallExceptionHandler, to 
13247 allow 
13248 a system exception handler to be installed. This handler is invoked upon 
13249 any 
13250 run-time exception that occurs during control method execution.
13251
13252 Added support for the DSDT in AcpiTbFindTable. This allows the 
13253 DataTableRegion() operator to access the local copy of the DSDT.
13254
13255 Code and Data Size: Current and previous core subsystem library sizes are 
13256 shown below. These are the code and data sizes for the acpica.lib 
13257 produced 
13258 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13259 any ACPI driver or OSPM code. The debug version of the code includes the 
13260 debug output trace mechanism and has a much larger code and data size. 
13261 Note 
13262 that these values will vary depending on the efficiency of the compiler 
13263 and 
13264 the compiler options used during generation.
13265
13266   Previous Release:
13267     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13268     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13269   Current Release:
13270     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13271     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13272
13273
13274 2) iASL Compiler/Disassembler:
13275
13276 Fixed a problem with constant folding and the LNot operator. LNot was 
13277 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
13278 This 
13279 could result in the generation of an incorrect folded/reduced constant.
13280
13281 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
13282 longer occurs if such a comment is at the very end of the input ASL 
13283 source 
13284 file.
13285
13286 Implemented the "-r" option to override the Revision in the table header. 
13287 The initial use of this option will be to simplify the evaluation of the 
13288 AML 
13289 interpreter by allowing a single ASL source module to be compiled for 
13290 either 
13291 32-bit or 64-bit integers.
13292
13293
13294 ----------------------------------------
13295 27 August 2004.  Summary of changes for version 20040827:
13296
13297 1) ACPI CA Core Subsystem:
13298
13299 - Implemented support for implicit object conversion in the non-numeric 
13300 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
13301 and 
13302 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
13303 the second operand is implicitly converted on the fly to match the type 
13304 of 
13305 the first operand.  For example:
13306
13307     LEqual (Source1, Source2)
13308
13309 Source1 and Source2 must each evaluate to an integer, a string, or a 
13310 buffer. 
13311 The data type of Source1 dictates the required type of Source2. Source2 
13312 is 
13313 implicitly converted if necessary to match the type of Source1.
13314
13315 - Updated and corrected the behavior of the string conversion support.  
13316 The 
13317 rules concerning conversion of buffers to strings (according to the ACPI 
13318 specification) are as follows:
13319
13320 ToDecimalString - explicit byte-wise conversion of buffer to string of 
13321 decimal values (0-255) separated by commas. ToHexString - explicit byte-
13322 wise 
13323 conversion of buffer to string of hex values (0-FF) separated by commas. 
13324 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
13325 byte 
13326 copy with no transform except NULL terminated. Any other implicit buffer-
13327 to-
13328 string conversion - byte-wise conversion of buffer to string of hex 
13329 values 
13330 (0-FF) separated by spaces.
13331
13332 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
13333
13334 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
13335 was 
13336 one byte too short in the case of a node in the root scope.  This could 
13337 cause a fault during debug output.
13338
13339 - Code and Data Size: Current and previous core subsystem library sizes 
13340 are 
13341 shown below.  These are the code and data sizes for the acpica.lib 
13342 produced 
13343 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13344 any ACPI driver or OSPM code.  The debug version of the code includes the 
13345 debug output trace mechanism and has a much larger code and data size.  
13346 Note 
13347 that these values will vary depending on the efficiency of the compiler 
13348 and 
13349 the compiler options used during generation.
13350
13351   Previous Release:
13352     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13353     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13354   Current Release:
13355     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13356     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13357
13358
13359 2) iASL Compiler/Disassembler:
13360
13361 - Fixed a Linux generation error.
13362
13363
13364 ----------------------------------------
13365 16 August 2004.  Summary of changes for version 20040816:
13366
13367 1) ACPI CA Core Subsystem:
13368
13369 Designed and implemented support within the AML interpreter for the so-
13370 called "implicit return".  This support returns the result of the last 
13371 ASL 
13372 operation within a control method, in the absence of an explicit Return() 
13373 operator.  A few machines depend on this behavior, even though it is not 
13374 explicitly supported by the ASL language.  It is optional support that 
13375 can 
13376 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
13377
13378 Removed support for the PCI_Config address space from the internal low 
13379 level 
13380 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
13381 support was not used internally, and would not work correctly anyway 
13382 because 
13383 the PCI bus number and segment number were not supported.  There are 
13384 separate interfaces for PCI configuration space access because of the 
13385 unique 
13386 interface.
13387
13388 Code and Data Size: Current and previous core subsystem library sizes are 
13389 shown below.  These are the code and data sizes for the acpica.lib 
13390 produced 
13391 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13392 any ACPI driver or OSPM code.  The debug version of the code includes the 
13393 debug output trace mechanism and has a much larger code and data size.  
13394 Note 
13395 that these values will vary depending on the efficiency of the compiler 
13396 and 
13397 the compiler options used during generation.
13398
13399   Previous Release:
13400     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13401     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13402   Current Release:
13403     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13404     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13405
13406
13407 2) iASL Compiler/Disassembler:
13408
13409 Fixed a problem where constants in ASL expressions at the root level (not 
13410 within a control method) could be inadvertently truncated during code 
13411 generation.  This problem was introduced in the 20040715 release.
13412
13413
13414 ----------------------------------------
13415 15 July 2004.  Summary of changes for version 20040715:
13416
13417 1) ACPI CA Core Subsystem:
13418
13419 Restructured the internal HW GPE interfaces to pass/track the current 
13420 state 
13421 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
13422 increase flexibility of the interfaces.
13423
13424 Implemented a "lexicographical compare" for String and Buffer objects 
13425 within 
13426 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
13427
13428 as per further clarification to the ACPI specification.  Behavior is 
13429 similar 
13430 to C library "strcmp".
13431
13432 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
13433 external function.  In the 32-bit non-debug case, the stack use has been 
13434 reduced from 168 bytes to 32 bytes.
13435
13436 Deployed a new run-time configuration flag, 
13437 AcpiGbl_EnableInterpreterSlack, 
13438 whose purpose is to allow the AML interpreter to forgive certain bad AML 
13439 constructs.  Default setting is FALSE.
13440
13441 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
13442 IO 
13443 support code.  If enabled, it allows field access to go beyond the end of 
13444
13445 region definition if the field is within the region length rounded up to 
13446 the 
13447 next access width boundary (a common coding error.)
13448
13449 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
13450 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
13451 these 
13452 symbols are lowercased by the latest version of the AcpiSrc tool.
13453
13454 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
13455 rename "Register" to simply "Reg" to prevent certain compilers from 
13456 complaining.
13457
13458 Code and Data Size: Current and previous core subsystem library sizes are 
13459 shown below.  These are the code and data sizes for the acpica.lib 
13460 produced 
13461 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13462 any ACPI driver or OSPM code.  The debug version of the code includes the 
13463 debug output trace mechanism and has a much larger code and data size.  
13464 Note 
13465 that these values will vary depending on the efficiency of the compiler 
13466 and 
13467 the compiler options used during generation.
13468
13469   Previous Release:
13470     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13471     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13472   Current Release:
13473     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13474     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13475
13476
13477 2) iASL Compiler/Disassembler:
13478
13479 Implemented full support for Package objects within the Case() operator.  
13480 Note: The Break() operator is currently not supported within Case blocks 
13481 (TermLists) as there is some question about backward compatibility with 
13482 ACPI 
13483 1.0 interpreters.
13484
13485
13486 Fixed a problem where complex terms were not supported properly within 
13487 the 
13488 Switch() operator.
13489
13490 Eliminated extraneous warning for compiler-emitted reserved names of the 
13491 form "_T_x".  (Used in Switch/Case operators.)
13492
13493 Eliminated optimization messages for "_T_x" objects and small constants 
13494 within the DefinitionBlock operator.
13495
13496
13497 ----------------------------------------
13498 15 June 2004.  Summary of changes for version 20040615:
13499
13500 1) ACPI CA Core Subsystem:
13501
13502 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13503 the 
13504 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13505 LLessEqual.
13506
13507 All directory names in the entire source package are lower case, as they 
13508 were in earlier releases.
13509
13510 Implemented "Disassemble" command in the AML debugger that will 
13511 disassemble 
13512 a single control method.
13513
13514 Code and Data Size: Current and previous core subsystem library sizes are 
13515 shown below.  These are the code and data sizes for the acpica.lib 
13516 produced 
13517 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13518 any ACPI driver or OSPM code.  The debug version of the code includes the 
13519 debug output trace mechanism and has a much larger code and data size.  
13520 Note 
13521 that these values will vary depending on the efficiency of the compiler 
13522 and 
13523 the compiler options used during generation.
13524
13525   Previous Release:
13526     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13527     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13528
13529   Current Release:
13530     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13531     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13532
13533
13534 2) iASL Compiler/Disassembler:
13535
13536 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13537 the 
13538 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13539 LLessEqual.
13540
13541 All directory names in the entire source package are lower case, as they 
13542 were in earlier releases.
13543
13544 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
13545 not found.
13546
13547 Fixed an issue with the Windows version of the compiler where later 
13548 versions 
13549 of Windows place the FADT in the registry under the name "FADT" and not 
13550 "FACP" as earlier versions did.  This applies when using the -g or -
13551 d<nofilename> options.  The compiler now looks for both strings as 
13552 necessary.
13553
13554 Fixed a problem with compiler namepath optimization where a namepath 
13555 within 
13556 the Scope() operator could not be optimized if the namepath was a subpath 
13557 of 
13558 the current scope path.
13559
13560 ----------------------------------------
13561 27 May 2004.  Summary of changes for version 20040527:
13562
13563 1) ACPI CA Core Subsystem:
13564
13565 Completed a new design and implementation for EBDA (Extended BIOS Data 
13566 Area) 
13567 support in the RSDP scan code.  The original code improperly scanned for 
13568 the 
13569 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
13570 method 
13571 is to first obtain the EBDA pointer from within the BIOS data area, then 
13572 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
13573 if 
13574 any machines that place the RSDP in the EBDA, however.
13575
13576 Integrated a fix for a possible fault during evaluation of BufferField 
13577 arguments.  Obsolete code that was causing the problem was removed.
13578
13579 Found and fixed a problem in the Field Support Code where data could be 
13580 corrupted on a bit field read that starts on an aligned boundary but does 
13581 not end on an aligned boundary.  Merged the read/write "datum length" 
13582 calculation code into a common procedure.
13583
13584 Rolled in a couple of changes to the FreeBSD-specific header.
13585
13586
13587 Code and Data Size: Current and previous core subsystem library sizes are 
13588 shown below.  These are the code and data sizes for the acpica.lib 
13589 produced 
13590 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13591 any ACPI driver or OSPM code.  The debug version of the code includes the 
13592 debug output trace mechanism and has a much larger code and data size.  
13593 Note 
13594 that these values will vary depending on the efficiency of the compiler 
13595 and 
13596 the compiler options used during generation.
13597
13598   Previous Release:
13599     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13600     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13601   Current Release:
13602     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13603     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13604
13605
13606 2) iASL Compiler/Disassembler:
13607
13608 Fixed a generation warning produced by some overly-verbose compilers for 
13609
13610 64-bit constant.
13611
13612 ----------------------------------------
13613 14 May 2004.  Summary of changes for version 20040514:
13614
13615 1) ACPI CA Core Subsystem:
13616
13617 Fixed a problem where hardware GPE enable bits sometimes not set properly 
13618 during and after GPE method execution.  Result of 04/27 changes.
13619
13620 Removed extra "clear all GPEs" when sleeping/waking.
13621
13622 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
13623 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
13624 to 
13625 the new AcpiEv* calls as appropriate.
13626
13627 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
13628 is 
13629 now "Microsoft Windows NT" for maximum compatibility.  However this can 
13630 be 
13631 changed by modifying the acconfig.h file.
13632
13633 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
13634 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
13635
13636 Run _INI methods on ThermalZone objects.  This is against the ACPI 
13637 specification, but there is apparently ASL code in the field that has 
13638 these 
13639 _INI methods, and apparently "other" AML interpreters execute them.
13640
13641 Performed a full 16/32/64 bit lint that resulted in some small changes.
13642
13643 Added a sleep simulation command to the AML debugger to test sleep code. 
13644
13645 Code and Data Size: Current and previous core subsystem library sizes are 
13646 shown below.  These are the code and data sizes for the acpica.lib 
13647 produced 
13648 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13649 any ACPI driver or OSPM code.  The debug version of the code includes the 
13650 debug output trace mechanism and has a much larger code and data size.  
13651 Note 
13652 that these values will vary depending on the efficiency of the compiler 
13653 and 
13654 the compiler options used during generation.
13655
13656   Previous Release:
13657     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13658     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13659   Current Release:
13660     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13661     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13662
13663 ----------------------------------------
13664 27 April 2004.  Summary of changes for version 20040427:
13665
13666 1) ACPI CA Core Subsystem:
13667
13668 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
13669 now three types of GPEs:  wake-only, runtime-only, and combination 
13670 wake/run.  
13671 The only GPEs allowed to be combination wake/run are for button-style 
13672 devices such as a control-method power button, control-method sleep 
13673 button, 
13674 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
13675 not 
13676 referenced by any _PRW methods are marked for "runtime" and hardware 
13677 enabled.  Any GPE that is referenced by a _PRW method is marked for 
13678 "wake" 
13679 (and disabled at runtime).  However, at sleep time, only those GPEs that 
13680 have been specifically enabled for wake via the AcpiEnableGpe interface 
13681 will 
13682 actually be hardware enabled.
13683
13684 A new external interface has been added, AcpiSetGpeType(), that is meant 
13685 to 
13686 be used by device drivers to force a GPE to a particular type.  It will 
13687 be 
13688 especially useful for the drivers for the button devices mentioned above.
13689
13690 Completed restructuring of the ACPI CA initialization sequence so that 
13691 default operation region handlers are installed before GPEs are 
13692 initialized 
13693 and the _PRW methods are executed.  This will prevent errors when the 
13694 _PRW 
13695 methods attempt to access system memory or I/O space.
13696
13697 GPE enable/disable no longer reads the GPE enable register.  We now keep 
13698 the 
13699 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
13700 thus no longer depend on the hardware to maintain these bits.
13701
13702 Always clear the wake status and fixed/GPE status bits before sleep, even 
13703 for state S5.
13704
13705 Improved the AML debugger output for displaying the GPE blocks and their 
13706 current status.
13707
13708 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
13709 where 
13710 x = 0,1,2,3,4.
13711
13712 Fixed a problem where the physical address was incorrectly calculated 
13713 when 
13714 the Load() operator was used to directly load from an Operation Region 
13715 (vs. 
13716 loading from a Field object.)  Also added check for minimum table length 
13717 for 
13718 this case.
13719
13720 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
13721 mutex release.
13722
13723 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
13724 consistency with the other fields returned.
13725
13726 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
13727 structure for each GPE in the system, so the size of this structure is 
13728 important.
13729
13730 CPU stack requirement reduction:  Cleaned up the method execution and 
13731 object 
13732 evaluation paths so that now a parameter structure is passed, instead of 
13733 copying the various method parameters over and over again.
13734
13735 In evregion.c:  Correctly exit and reenter the interpreter region if and 
13736 only if dispatching an operation region request to a user-installed 
13737 handler.  
13738 Do not exit/reenter when dispatching to a default handler (e.g., default 
13739 system memory or I/O handlers)
13740
13741
13742 Notes for updating drivers for the new GPE support.  The following 
13743 changes 
13744 must be made to ACPI-related device drivers that are attached to one or 
13745 more 
13746 GPEs: (This information will be added to the ACPI CA Programmer 
13747 Reference.)
13748
13749 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
13750 must 
13751 explicitly call AcpiEnableGpe.
13752 2) There is a new interface called AcpiSetGpeType. This should be called 
13753 before enabling the GPE.  Also, this interface will automatically disable 
13754 the GPE if it is currently enabled.
13755 3) AcpiEnableGpe no longer supports a GPE type flag.
13756
13757 Specific drivers that must be changed:
13758 1) EC driver:
13759     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
13760 AeGpeHandler, NULL);
13761     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
13762     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
13763
13764 2) Button Drivers (Power, Lid, Sleep):
13765 Run _PRW method under parent device
13766 If _PRW exists: /* This is a control-method button */
13767     Extract GPE number and possibly GpeDevice
13768     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
13769     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
13770
13771 For all other devices that have _PRWs, we automatically set the GPE type 
13772 to 
13773 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
13774 This 
13775 must be done on a selective basis, usually requiring some kind of user 
13776 app 
13777 to allow the user to pick the wake devices.
13778
13779
13780 Code and Data Size: Current and previous core subsystem library sizes are 
13781 shown below.  These are the code and data sizes for the acpica.lib 
13782 produced 
13783 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13784 any ACPI driver or OSPM code.  The debug version of the code includes the 
13785 debug output trace mechanism and has a much larger code and data size.  
13786 Note 
13787 that these values will vary depending on the efficiency of the compiler 
13788 and 
13789 the compiler options used during generation.
13790
13791   Previous Release:
13792     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13793     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13794   Current Release:
13795
13796     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13797     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13798
13799
13800
13801 ----------------------------------------
13802 02 April 2004.  Summary of changes for version 20040402:
13803
13804 1) ACPI CA Core Subsystem:
13805
13806 Fixed an interpreter problem where an indirect store through an ArgX 
13807 parameter was incorrectly applying the "implicit conversion rules" during 
13808 the store.  From the ACPI specification: "If the target is a method local 
13809 or 
13810 argument (LocalX or ArgX), no conversion is performed and the result is 
13811 stored directly to the target".  The new behavior is to disable implicit 
13812 conversion during ALL stores to an ArgX.
13813
13814 Changed the behavior of the _PRW method scan to ignore any and all errors 
13815 returned by a given _PRW.  This prevents the scan from aborting from the 
13816 failure of any single _PRW.
13817
13818 Moved the runtime configuration parameters from the global init procedure 
13819 to 
13820 static variables in acglobal.h.  This will allow the host to override the 
13821 default values easily.
13822
13823 Code and Data Size: Current and previous core subsystem library sizes are 
13824 shown below.  These are the code and data sizes for the acpica.lib 
13825 produced 
13826 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13827 any ACPI driver or OSPM code.  The debug version of the code includes the 
13828 debug output trace mechanism and has a much larger code and data size.  
13829 Note 
13830 that these values will vary depending on the efficiency of the compiler 
13831 and 
13832 the compiler options used during generation.
13833
13834   Previous Release:
13835     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13836     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13837   Current Release:
13838     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13839     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13840
13841
13842 2) iASL Compiler/Disassembler:
13843
13844 iASL now fully disassembles SSDTs.  However, External() statements are 
13845 not 
13846 generated automatically for unresolved symbols at this time.  This is a 
13847 planned feature for future implementation.
13848
13849 Fixed a scoping problem in the disassembler that occurs when the type of 
13850 the 
13851 target of a Scope() operator is overridden.  This problem caused an 
13852 incorrectly nested internal namespace to be constructed.
13853
13854 Any warnings or errors that are emitted during disassembly are now 
13855 commented 
13856 out automatically so that the resulting file can be recompiled without 
13857 any 
13858 hand editing.
13859
13860 ----------------------------------------
13861 26 March 2004.  Summary of changes for version 20040326:
13862
13863 1) ACPI CA Core Subsystem:
13864
13865 Implemented support for "wake" GPEs via interaction between GPEs and the 
13866 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
13867 identified as a WAKE GPE and by default will no longer be enabled at 
13868 runtime.  Previously, we were blindly enabling all GPEs with a 
13869 corresponding 
13870 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
13871 We 
13872 believe this has been the cause of thousands of "spurious" GPEs on some 
13873 systems.
13874
13875 This new GPE behavior is can be reverted to the original behavior (enable 
13876 ALL GPEs at runtime) via a runtime flag.
13877
13878 Fixed a problem where aliased control methods could not access objects 
13879 properly.  The proper scope within the namespace was not initialized 
13880 (transferred to the target of the aliased method) before executing the 
13881 target method.
13882
13883 Fixed a potential race condition on internal object deletion on the 
13884 return 
13885 object in AcpiEvaluateObject. 
13886
13887 Integrated a fix for resource descriptors where both _MEM and _MTP were 
13888 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
13889 wide, 0x0F instead of 0x03.)
13890
13891 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
13892 preventing 
13893
13894 fault in some cases.
13895
13896 Updated Notify() values for debug statements in evmisc.c
13897
13898 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
13899
13900 Code and Data Size: Current and previous core subsystem library sizes are 
13901 shown below.  These are the code and data sizes for the acpica.lib 
13902 produced 
13903 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13904 any ACPI driver or OSPM code.  The debug version of the code includes the 
13905 debug output trace mechanism and has a much larger code and data size.  
13906 Note 
13907 that these values will vary depending on the efficiency of the compiler 
13908 and 
13909 the compiler options used during generation.
13910
13911   Previous Release:
13912
13913     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13914     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13915   Current Release:
13916     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13917     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13918
13919 ----------------------------------------
13920 11 March 2004.  Summary of changes for version 20040311:
13921
13922 1) ACPI CA Core Subsystem:
13923
13924 Fixed a problem where errors occurring during the parse phase of control 
13925 method execution did not abort cleanly.  For example, objects created and 
13926 installed in the namespace were not deleted.  This caused all subsequent 
13927 invocations of the method to return the AE_ALREADY_EXISTS exception.
13928
13929 Implemented a mechanism to force a control method to "Serialized" 
13930 execution 
13931 if the method attempts to create namespace objects. (The root of the 
13932 AE_ALREADY_EXISTS problem.)
13933
13934 Implemented support for the predefined _OSI "internal" control method.  
13935 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
13936 and 
13937 "Windows 2001.1", and can be easily upgraded for new strings as 
13938 necessary.  
13939 This feature will allow "other" operating systems to execute the fully 
13940 tested, "Windows" code path through the ASL code
13941
13942 Global Lock Support:  Now allows multiple acquires and releases with any 
13943 internal thread.  Removed concept of "owning thread" for this special 
13944 mutex.
13945
13946 Fixed two functions that were inappropriately declaring large objects on 
13947 the 
13948 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
13949 during 
13950 method execution considerably.
13951
13952 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
13953 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
13954
13955 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
13956 defined on the machine.
13957
13958 Implemented two runtime options:  One to force all control method 
13959 execution 
13960 to "Serialized" to mimic Windows behavior, another to disable _OSI 
13961 support 
13962 if it causes problems on a given machine.
13963
13964 Code and Data Size: Current and previous core subsystem library sizes are 
13965 shown below.  These are the code and data sizes for the acpica.lib 
13966 produced 
13967 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13968 any ACPI driver or OSPM code.  The debug version of the code includes the 
13969 debug output trace mechanism and has a much larger code and data size.  
13970 Note 
13971 that these values will vary depending on the efficiency of the compiler 
13972 and 
13973 the compiler options used during generation.
13974
13975   Previous Release:
13976     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13977     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13978   Current Release:
13979     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13980     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13981
13982 2) iASL Compiler/Disassembler:
13983
13984 Fixed an array size problem for FreeBSD that would cause the compiler to 
13985 fault.
13986
13987 ----------------------------------------
13988 20 February 2004.  Summary of changes for version 20040220:
13989
13990
13991 1) ACPI CA Core Subsystem:
13992
13993 Implemented execution of _SxD methods for Device objects in the 
13994 GetObjectInfo interface.
13995
13996 Fixed calls to _SST method to pass the correct arguments.
13997
13998 Added a call to _SST on wake to restore to "working" state.
13999
14000 Check for End-Of-Buffer failure case in the WalkResources interface.
14001
14002 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
14003 structures to the beginning of the file.
14004
14005 After wake, clear GPE status register(s) before enabling GPEs.
14006
14007 After wake, clear/enable power button.  (Perhaps we should clear/enable 
14008 all 
14009 fixed events upon wake.)
14010
14011 Fixed a couple of possible memory leaks in the Namespace manager.
14012
14013 Integrated latest acnetbsd.h file.
14014
14015 ----------------------------------------
14016 11 February 2004.  Summary of changes for version 20040211:
14017
14018
14019 1) ACPI CA Core Subsystem:
14020
14021 Completed investigation and implementation of the call-by-reference 
14022 mechanism for control method arguments.
14023
14024 Fixed a problem where a store of an object into an indexed package could 
14025 fail if the store occurs within a different method than the method that 
14026 created the package.
14027
14028 Fixed a problem where the ToDecimal operator could return incorrect 
14029 results.
14030
14031 Fixed a problem where the CopyObject operator could fail on some of the 
14032 more 
14033 obscure objects (e.g., Reference objects.)
14034
14035 Improved the output of the Debug object to display buffer, package, and 
14036 index objects.
14037
14038 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
14039 return 
14040 the expected result.
14041
14042 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
14043 ACPI_AML_INTERNAL exception.
14044
14045 Integrated latest version of acfreebsd.h
14046
14047 ----------------------------------------
14048 16 January 2004.  Summary of changes for version 20040116:
14049
14050 The purpose of this release is primarily to update the copyright years in 
14051 each module, thus causing a huge number of diffs.  There are a few small 
14052 functional changes, however.
14053
14054 1) ACPI CA Core Subsystem:
14055
14056 Improved error messages when there is a problem finding one or more of 
14057 the 
14058 required base ACPI tables
14059
14060 Reintroduced the definition of APIC_HEADER in actbl.h
14061
14062 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
14063
14064 Removed extraneous reference to NewObj in dsmthdat.c
14065
14066 2) iASL compiler
14067
14068 Fixed a problem introduced in December that disabled the correct 
14069 disassembly 
14070 of Resource Templates
14071
14072
14073 ----------------------------------------
14074 03 December 2003.  Summary of changes for version 20031203:
14075
14076 1) ACPI CA Core Subsystem:
14077
14078 Changed the initialization of Operation Regions during subsystem
14079 init to perform two entire walks of the ACPI namespace; The first
14080 to initialize the regions themselves, the second to execute the
14081 _REG methods.  This fixed some interdependencies across _REG
14082 methods found on some machines.
14083
14084 Fixed a problem where a Store(Local0, Local1) could simply update
14085 the object reference count, and not create a new copy of the
14086 object if the Local1 is uninitialized.
14087
14088 Implemented support for the _SST reserved method during sleep
14089 transitions.
14090
14091 Implemented support to clear the SLP_TYP and SLP_EN bits when
14092 waking up, this is apparently required by some machines.
14093
14094 When sleeping, clear the wake status only if SleepState is not S5.
14095
14096 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
14097 pointer arithmetic advanced a string pointer too far.
14098
14099 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
14100 could be returned if the requested table has not been loaded.
14101
14102 Within the support for IRQ resources, restructured the handling of
14103 the active and edge/level bits.
14104
14105 Fixed a few problems in AcpiPsxExecute() where memory could be
14106 leaked under certain error conditions.
14107
14108 Improved error messages for the cases where the ACPI mode could
14109 not be entered.
14110
14111 Code and Data Size: Current and previous core subsystem library
14112 sizes are shown below.  These are the code and data sizes for the
14113 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14114 these values do not include any ACPI driver or OSPM code.  The
14115 debug version of the code includes the debug output trace
14116 mechanism and has a much larger code and data size.  Note that
14117 these values will vary depending on the efficiency of the compiler
14118 and the compiler options used during generation.
14119
14120   Previous Release (20031029):
14121     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14122     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14123   Current Release:
14124     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
14125     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
14126
14127 2) iASL Compiler/Disassembler:
14128
14129 Implemented a fix for the iASL disassembler where a bad index was
14130 generated.  This was most noticeable on 64-bit platforms
14131
14132
14133 ----------------------------------------
14134 29 October 2003.  Summary of changes for version 20031029:
14135
14136 1) ACPI CA Core Subsystem:
14137
14138
14139 Fixed a problem where a level-triggered GPE with an associated
14140 _Lxx control method was incorrectly cleared twice.
14141
14142 Fixed a problem with the Field support code where an access can
14143 occur beyond the end-of-region if the field is non-aligned but
14144 extends to the very end of the parent region (resulted in an
14145 AE_AML_REGION_LIMIT exception.)
14146
14147 Fixed a problem with ACPI Fixed Events where an RT Clock handler
14148 would not get invoked on an RTC event.  The RTC event bitmasks for
14149 the PM1 registers were not being initialized properly.
14150
14151 Implemented support for executing _STA and _INI methods for
14152 Processor objects.  Although this is currently not part of the
14153 ACPI specification, there is existing ASL code that depends on the
14154 init-time execution of these methods.
14155
14156 Implemented and deployed a GetDescriptorName function to decode
14157 the various types of internal descriptors.  Guards against null
14158 descriptors during debug output also.
14159
14160 Implemented and deployed a GetNodeName function to extract the 4-
14161 character namespace node name.  This function simplifies the debug
14162 and error output, as well as guarding against null pointers during
14163 output.
14164
14165 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
14166 simplify the debug and error output of 64-bit integers.  This
14167 macro replaces the HIDWORD and LODWORD macros for dumping these
14168 integers.
14169
14170 Updated the implementation of the Stall() operator to only call
14171 AcpiOsStall(), and also return an error if the operand is larger
14172 than 255.  This preserves the required behavior of not
14173 relinquishing the processor, as would happen if AcpiOsSleep() was
14174 called for "long stalls".
14175
14176 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
14177 initialized are now treated as NOOPs.
14178
14179 Cleaned up a handful of warnings during 64-bit generation.
14180
14181 Fixed a reported error where and incorrect GPE number was passed
14182 to the GPE dispatch handler.  This value is only used for error
14183 output, however.  Used this opportunity to clean up and streamline
14184 the GPE dispatch code.
14185
14186 Code and Data Size: Current and previous core subsystem library
14187 sizes are shown below.  These are the code and data sizes for the
14188 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14189 these values do not include any ACPI driver or OSPM code.  The
14190
14191 debug version of the code includes the debug output trace
14192 mechanism and has a much larger code and data size.  Note that
14193 these values will vary depending on the efficiency of the compiler
14194 and the compiler options used during generation.
14195
14196   Previous Release (20031002):
14197     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14198     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14199   Current Release:
14200     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14201     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14202
14203
14204 2) iASL Compiler/Disassembler:
14205
14206 Updated the iASL compiler to return an error if the operand to the
14207 Stall() operator is larger than 255.
14208
14209
14210 ----------------------------------------
14211 02 October 2003.  Summary of changes for version 20031002:
14212
14213
14214 1) ACPI CA Core Subsystem:
14215
14216 Fixed a problem with Index Fields where the index was not
14217 incremented for fields that require multiple writes to the
14218 index/data registers (Fields that are wider than the data
14219 register.)
14220
14221 Fixed a problem with all Field objects where a write could go
14222 beyond the end-of-field if the field was larger than the access
14223 granularity and therefore required multiple writes to complete the
14224 request.  An extra write beyond the end of the field could happen
14225 inadvertently.
14226
14227 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
14228 would incorrectly be returned if the width of the Data Register
14229 was larger than the specified field access width.
14230
14231 Completed fixes for LoadTable() and Unload() and verified their
14232 operation.  Implemented full support for the "DdbHandle" object
14233 throughout the ACPI CA subsystem.
14234
14235 Implemented full support for the MADT and ECDT tables in the ACPI
14236 CA header files.  Even though these tables are not directly
14237 consumed by ACPI CA, the header definitions are useful for ACPI
14238 device drivers.
14239
14240 Integrated resource descriptor fixes posted to the Linux ACPI
14241 list.  This included checks for minimum descriptor length, and
14242 support for trailing NULL strings within descriptors that have
14243 optional string elements.
14244
14245 Code and Data Size: Current and previous core subsystem library
14246 sizes are shown below.  These are the code and data sizes for the
14247 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14248 these values do not include any ACPI driver or OSPM code.  The
14249 debug version of the code includes the debug output trace
14250 mechanism and has a much larger code and data size.  Note that
14251 these values will vary depending on the efficiency of the compiler
14252 and the compiler options used during generation.
14253
14254   Previous Release (20030918):
14255     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14256     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14257   Current Release:
14258     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14259     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14260
14261
14262 2) iASL Compiler:
14263
14264 Implemented detection of non-ASCII characters within the input
14265 source ASL file.  This catches attempts to compile binary (AML)
14266 files early in the compile, with an informative error message.
14267
14268 Fixed a problem where the disassembler would fault if the output
14269 filename could not be generated or if the output file could not be
14270 opened.
14271
14272 ----------------------------------------
14273 18 September 2003.  Summary of changes for version 20030918:
14274
14275
14276 1) ACPI CA Core Subsystem:
14277
14278 Found and fixed a longstanding problem with the late execution of
14279 the various deferred AML opcodes (such as Operation Regions,
14280 Buffer Fields, Buffers, and Packages).  If the name string
14281 specified for the name of the new object placed the object in a
14282 scope other than the current scope, the initialization/execution
14283 of the opcode failed.  The solution to this problem was to
14284 implement a mechanism where the late execution of such opcodes
14285 does not attempt to lookup/create the name a second time in an
14286 incorrect scope.  This fixes the "region size computed
14287 incorrectly" problem.
14288
14289 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
14290 Global Lock AE_BAD_PARAMETER error.
14291
14292 Fixed several 64-bit issues with prototypes, casting and data
14293 types.
14294
14295 Removed duplicate prototype from acdisasm.h
14296
14297 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
14298
14299 Code and Data Size: Current and previous core subsystem library
14300 sizes are shown below.  These are the code and data sizes for the
14301 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14302 these values do not include any ACPI driver or OSPM code.  The
14303 debug version of the code includes the debug output trace
14304 mechanism and has a much larger code and data size.  Note that
14305 these values will vary depending on the efficiency of the compiler
14306 and the compiler options used during generation.
14307
14308   Previous Release:
14309
14310     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14311     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14312   Current Release:
14313     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14314     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14315
14316
14317 2) Linux:
14318
14319 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
14320 correct sleep time in seconds.
14321
14322 ----------------------------------------
14323 14 July 2003.  Summary of changes for version 20030619:
14324
14325 1) ACPI CA Core Subsystem:
14326
14327 Parse SSDTs in order discovered, as opposed to reverse order
14328 (Hrvoje Habjanic)
14329
14330 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
14331 Klausner,
14332    Nate Lawson)
14333
14334
14335 2) Linux:
14336
14337 Dynamically allocate SDT list (suggested by Andi Kleen)
14338
14339 proc function return value cleanups (Andi Kleen)
14340
14341 Correctly handle NMI watchdog during long stalls (Andrew Morton)
14342
14343 Make it so acpismp=force works (reported by Andrew Morton)
14344
14345
14346 ----------------------------------------
14347 19 June 2003.  Summary of changes for version 20030619:
14348
14349 1) ACPI CA Core Subsystem:
14350
14351 Fix To/FromBCD, eliminating the need for an arch-specific #define.
14352
14353 Do not acquire a semaphore in the S5 shutdown path.
14354
14355 Fix ex_digits_needed for 0. (Takayoshi Kochi)
14356
14357 Fix sleep/stall code reversal. (Andi Kleen)
14358
14359 Revert a change having to do with control method calling
14360 semantics.
14361
14362 2) Linux:
14363
14364 acpiphp update (Takayoshi Kochi)
14365
14366 Export acpi_disabled for sonypi (Stelian Pop)
14367
14368 Mention acpismp=force in config help
14369
14370 Re-add acpitable.c and acpismp=force. This improves backwards
14371
14372 compatibility and also cleans up the code to a significant degree.
14373
14374 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
14375
14376 ----------------------------------------
14377 22 May 2003.  Summary of changes for version 20030522:
14378
14379 1) ACPI CA Core Subsystem:
14380
14381 Found and fixed a reported problem where an AE_NOT_FOUND error
14382 occurred occasionally during _BST evaluation.  This turned out to
14383 be an Owner ID allocation issue where a called method did not get
14384 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
14385 ID UINT16 would wraparound so that the ID would be the same as the
14386 caller's and the called method would delete the caller's
14387 namespace.
14388
14389 Implemented extended error reporting for control methods that are
14390 aborted due to a run-time exception.  Output includes the exact
14391 AML instruction that caused the method abort, a dump of the method
14392 locals and arguments at the time of the abort, and a trace of all
14393 nested control method calls.
14394
14395 Modified the interpreter to allow the creation of buffers of zero
14396 length from the AML code. Implemented new code to ensure that no
14397 attempt is made to actually allocate a memory buffer (of length
14398 zero) - instead, a simple buffer object with a NULL buffer pointer
14399 and length zero is created.  A warning is no longer issued when
14400 the AML attempts to create a zero-length buffer.
14401
14402 Implemented a workaround for the "leading asterisk issue" in
14403 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
14404 asterisk is automatically removed if present in any HID, UID, or
14405 CID strings.  The iASL compiler will still flag this asterisk as
14406 an error, however.
14407
14408 Implemented full support for _CID methods that return a package of
14409 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
14410 now additionally returns a device _CID list if present.  This
14411 required a change to the external interface in order to pass an
14412 ACPI_BUFFER object as a parameter since the _CID list is of
14413 variable length.
14414
14415 Fixed a problem with the new AE_SAME_HANDLER exception where
14416 handler initialization code did not know about this exception.
14417
14418 Code and Data Size: Current and previous core subsystem library
14419 sizes are shown below.  These are the code and data sizes for the
14420 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14421 these values do not include any ACPI driver or OSPM code.  The
14422 debug version of the code includes the debug output trace
14423 mechanism and has a much larger code and data size.  Note that
14424 these values will vary depending on the efficiency of the compiler
14425 and the compiler options used during generation.
14426
14427   Previous Release (20030509):
14428     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14429     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14430   Current Release:
14431     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14432     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14433
14434
14435 2) Linux:
14436
14437 Fixed a bug in which we would reinitialize the ACPI interrupt
14438 after it was already working, thus disabling all ACPI and the IRQs
14439 for any other device sharing the interrupt. (Thanks to Stian
14440 Jordet)
14441
14442 Toshiba driver update (John Belmonte)
14443
14444 Return only 0 or 1 for our interrupt handler status (Andrew
14445 Morton)
14446
14447
14448 3) iASL Compiler:
14449
14450 Fixed a reported problem where multiple (nested) ElseIf()
14451 statements were not handled correctly by the compiler, resulting
14452 in incorrect warnings and incorrect AML code.  This was a problem
14453 in both the ASL parser and the code generator.
14454
14455
14456 4) Documentation:
14457
14458 Added changes to existing interfaces, new exception codes, and new
14459 text concerning reference count object management versus garbage
14460 collection.
14461
14462 ----------------------------------------
14463 09 May 2003.  Summary of changes for version 20030509.
14464
14465
14466 1) ACPI CA Core Subsystem:
14467
14468 Changed the subsystem initialization sequence to hold off
14469 installation of address space handlers until the hardware has been
14470 initialized and the system has entered ACPI mode.  This is because
14471 the installation of space handlers can cause _REG methods to be
14472 run.  Previously, the _REG methods could potentially be run before
14473 ACPI mode was enabled.
14474
14475 Fixed some memory leak issues related to address space handler and
14476 notify handler installation.  There were some problems with the
14477 reference count mechanism caused by the fact that the handler
14478 objects are shared across several namespace objects.
14479
14480 Fixed a reported problem where reference counts within the
14481 namespace were not properly updated when named objects created by
14482 method execution were deleted.
14483
14484 Fixed a reported problem where multiple SSDTs caused a deletion
14485 issue during subsystem termination.  Restructured the table data
14486 structures to simplify the linked lists and the related code.
14487
14488 Fixed a problem where the table ID associated with secondary
14489 tables (SSDTs) was not being propagated into the namespace objects
14490 created by those tables.  This would only present a problem for
14491 tables that are unloaded at run-time, however.
14492
14493 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
14494 type as the length parameter (instead of UINT32).
14495
14496 Solved a long-standing problem where an ALREADY_EXISTS error
14497 appears on various systems.  This problem could happen when there
14498 are multiple PCI_Config operation regions under a single PCI root
14499 bus.  This doesn't happen very frequently, but there are some
14500 systems that do this in the ASL.
14501
14502 Fixed a reported problem where the internal DeleteNode function
14503 was incorrectly handling the case where a namespace node was the
14504 first in the parent's child list, and had additional peers (not
14505 the only child, but first in the list of children.)
14506
14507 Code and Data Size: Current core subsystem library sizes are shown
14508 below.  These are the code and data sizes for the acpica.lib
14509 produced by the Microsoft Visual C++ 6.0 compiler, and these
14510 values do not include any ACPI driver or OSPM code.  The debug
14511 version of the code includes the debug output trace mechanism and
14512 has a much larger code and data size.  Note that these values will
14513 vary depending on the efficiency of the compiler and the compiler
14514 options used during generation.
14515
14516   Previous Release
14517     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14518     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14519   Current Release:
14520     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14521     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14522
14523
14524 2) Linux:
14525
14526 Allow ":" in OS override string (Ducrot Bruno)
14527
14528 Kobject fix (Greg KH)
14529
14530
14531 3 iASL Compiler/Disassembler:
14532
14533 Fixed a problem in the generation of the C source code files (AML
14534 is emitted in C source statements for BIOS inclusion) where the
14535 Ascii dump that appears within a C comment at the end of each line
14536 could cause a compile time error if the AML sequence happens to
14537 have an open comment or close comment sequence embedded.
14538
14539
14540 ----------------------------------------
14541 24 April 2003.  Summary of changes for version 20030424.
14542
14543
14544 1) ACPI CA Core Subsystem:
14545
14546 Support for big-endian systems has been implemented.  Most of the
14547 support has been invisibly added behind big-endian versions of the
14548 ACPI_MOVE_* macros.
14549
14550 Fixed a problem in AcpiHwDisableGpeBlock() and
14551 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
14552 low level hardware write routine.  The offset parameter was
14553 actually eliminated from the low level read/write routines because
14554 they had become obsolete.
14555
14556 Fixed a problem where a handler object was deleted twice during
14557 the removal of a fixed event handler.
14558
14559
14560 2) Linux:
14561
14562 A fix for SMP systems with link devices was contributed by
14563
14564 Compaq's Dan Zink.
14565
14566 (2.5) Return whether we handled the interrupt in our IRQ handler.
14567 (Linux ISRs no longer return void, so we can propagate the handler
14568 return value from the ACPI CA core back to the OS.)
14569
14570
14571
14572 3) Documentation:
14573
14574 The ACPI CA Programmer Reference has been updated to reflect new
14575 interfaces and changes to existing interfaces.
14576
14577 ----------------------------------------
14578 28 March 2003.  Summary of changes for version 20030328.
14579
14580 1) ACPI CA Core Subsystem:
14581
14582 The GPE Block Device support has been completed.  New interfaces
14583 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
14584 interfaces (enable, disable, clear, getstatus) have been split
14585 into separate interfaces for Fixed Events and General Purpose
14586 Events (GPEs) in order to support GPE Block Devices properly.
14587
14588 Fixed a problem where the error message "Failed to acquire
14589 semaphore" would appear during operations on the embedded
14590 controller (EC).
14591
14592 Code and Data Size: Current core subsystem library sizes are shown
14593 below.  These are the code and data sizes for the acpica.lib
14594 produced by the Microsoft Visual C++ 6.0 compiler, and these
14595 values do not include any ACPI driver or OSPM code.  The debug
14596 version of the code includes the debug output trace mechanism and
14597 has a much larger code and data size.  Note that these values will
14598 vary depending on the efficiency of the compiler and the compiler
14599 options used during generation.
14600
14601   Previous Release
14602     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14603     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14604   Current Release:
14605     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14606     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14607
14608
14609 ----------------------------------------
14610 28 February 2003.  Summary of changes for version 20030228.
14611
14612
14613 1) ACPI CA Core Subsystem:
14614
14615 The GPE handling and dispatch code has been completely overhauled
14616 in preparation for support of GPE Block Devices (ID ACPI0006).
14617 This affects internal data structures and code only; there should
14618 be no differences visible externally.  One new file has been
14619 added, evgpeblk.c
14620
14621 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
14622 fields that are used to determine the GPE block lengths.  The
14623 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
14624 structures are ignored.  This is per the ACPI specification but it
14625 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
14626 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
14627
14628 In the SCI interrupt handler, removed the read of the PM1_CONTROL
14629 register to look at the SCI_EN bit.  On some machines, this read
14630 causes an SMI event and greatly slows down SCI events.  (This may
14631 in fact be the cause of slow battery status response on some
14632 systems.)
14633
14634 Fixed a problem where a store of a NULL string to a package object
14635 could cause the premature deletion of the object.  This was seen
14636 during execution of the battery _BIF method on some systems,
14637 resulting in no battery data being returned.
14638
14639 Added AcpiWalkResources interface to simplify parsing of resource
14640 lists.
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.0K Code,   9.5K Data,   81.5K Total
14653     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14654   Current Release:
14655     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14656     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14657
14658
14659 2) Linux
14660
14661 S3 fixes (Ole Rohne)
14662
14663 Update ACPI PHP driver with to use new acpi_walk_resource API
14664 (Bjorn Helgaas)
14665
14666 Add S4BIOS support (Pavel Machek)
14667
14668 Map in entire table before performing checksum (John Stultz)
14669
14670 Expand the mem= cmdline to allow the specification of reserved and
14671 ACPI DATA blocks (Pavel Machek)
14672
14673 Never use ACPI on VISWS
14674
14675 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
14676
14677 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
14678 causing us to think that some systems support C2 when they really
14679 don't.
14680
14681 Do not count processor objects for non-present CPUs (Thanks to
14682 Dominik Brodowski)
14683
14684
14685 3) iASL Compiler:
14686
14687 Fixed a problem where ASL include files could not be found and
14688 opened.
14689
14690 Added support for the _PDC reserved name.
14691
14692
14693 ----------------------------------------
14694 22 January 2003.  Summary of changes for version 20030122.
14695
14696
14697 1) ACPI CA Core Subsystem:
14698
14699 Added a check for constructs of the form:  Store (Local0, Local0)
14700 where Local0 is not initialized.  Apparently, some BIOS
14701 programmers believe that this is a NOOP.  Since this store doesn't
14702 do anything anyway, the new prototype behavior will ignore this
14703 error.  This is a case where we can relax the strict checking in
14704 the interpreter in the name of compatibility.
14705
14706
14707 2) Linux
14708
14709 The AcpiSrc Source Conversion Utility has been released with the
14710 Linux package for the first time.  This is the utility that is
14711 used to convert the ACPI CA base source code to the Linux version.
14712
14713 (Both) Handle P_BLK lengths shorter than 6 more gracefully
14714
14715 (Both) Move more headers to include/acpi, and delete an unused
14716 header.
14717
14718 (Both) Move drivers/acpi/include directory to include/acpi
14719
14720 (Both) Boot functions don't use cmdline, so don't pass it around
14721
14722 (Both) Remove include of unused header (Adrian Bunk)
14723
14724 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
14725 the
14726 former now also includes the latter, acpiphp.h only needs the one,
14727 now.
14728
14729 (2.5) Make it possible to select method of bios restoring after S3
14730 resume. [=> no more ugly ifdefs] (Pavel Machek)
14731
14732 (2.5) Make proc write interfaces work (Pavel Machek)
14733
14734 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
14735
14736 (2.5) Break out ACPI Perf code into its own module, under cpufreq
14737 (Dominik Brodowski)
14738
14739 (2.4) S4BIOS support (Ducrot Bruno)
14740
14741 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
14742 Visinoni)
14743
14744
14745 3) iASL Compiler:
14746
14747 Added support to disassemble SSDT and PSDTs.
14748
14749 Implemented support to obtain SSDTs from the Windows registry if
14750 available.
14751
14752
14753 ----------------------------------------
14754 09 January 2003.  Summary of changes for version 20030109.
14755
14756 1) ACPI CA Core Subsystem:
14757
14758 Changed the behavior of the internal Buffer-to-String conversion
14759 function.  The current ACPI specification states that the contents
14760 of the buffer are "converted to a string of two-character
14761 hexadecimal numbers, each separated by a space".  Unfortunately,
14762 this definition is not backwards compatible with existing ACPI 1.0
14763 implementations (although the behavior was not defined in the ACPI
14764 1.0 specification).  The new behavior simply copies data from the
14765 buffer to the string until a null character is found or the end of
14766 the buffer is reached.  The new String object is always null
14767 terminated.  This problem was seen during the generation of _BIF
14768 battery data where incorrect strings were returned for battery
14769 type, etc.  This will also require an errata to the ACPI
14770 specification.
14771
14772 Renamed all instances of NATIVE_UINT and NATIVE_INT to
14773 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
14774
14775 Copyright in all module headers (both Linux and non-Linux) has be
14776 updated to 2003.
14777
14778 Code and Data Size: Current core subsystem library sizes are shown
14779 below.  These are the code and data sizes for the acpica.lib
14780 produced by the Microsoft Visual C++ 6.0 compiler, and these
14781 values do not include any ACPI driver or OSPM code.  The debug
14782 version of the code includes the debug output trace mechanism and
14783 has a much larger code and data size.  Note that these values will
14784 vary depending on the efficiency of the compiler and the compiler
14785 options used during generation.
14786
14787   Previous Release
14788     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14789     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14790   Current Release:
14791     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14792     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14793
14794
14795 2) Linux
14796
14797 Fixed an oops on module insertion/removal (Matthew Tippett)
14798
14799 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
14800
14801 (2.5) Replace pr_debug (Randy Dunlap)
14802
14803 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
14804
14805 (Both) Eliminate spawning of thread from timer callback, in favor
14806 of schedule_work()
14807
14808 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
14809
14810 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
14811
14812 (Both) Add missing statics to button.c (Pavel Machek)
14813
14814 Several changes have been made to the source code translation
14815 utility that generates the Linux Code in order to make the code
14816 more "Linux-like":
14817
14818 All typedefs on structs and unions have been removed in keeping
14819 with the Linux coding style.
14820
14821 Removed the non-Linux SourceSafe module revision number from each
14822 module header.
14823
14824 Completed major overhaul of symbols to be lowercased for linux.
14825 Doubled the number of symbols that are lowercased.
14826
14827 Fixed a problem where identifiers within procedure headers and
14828 within quotes were not fully lower cased (they were left with a
14829 starting capital.)
14830
14831 Some C macros whose only purpose is to allow the generation of 16-
14832 bit code are now completely removed in the Linux code, increasing
14833 readability and maintainability.
14834
14835 ----------------------------------------
14836
14837 12 December 2002.  Summary of changes for version 20021212.
14838
14839
14840 1) ACPI CA Core Subsystem:
14841
14842 Fixed a problem where the creation of a zero-length AML Buffer
14843 would cause a fault.
14844
14845 Fixed a problem where a Buffer object that pointed to a static AML
14846 buffer (in an ACPI table) could inadvertently be deleted, causing
14847 memory corruption.
14848
14849 Fixed a problem where a user buffer (passed in to the external
14850 ACPI CA interfaces) could be overwritten if the buffer was too
14851 small to complete the operation, causing memory corruption.
14852
14853 Fixed a problem in the Buffer-to-String conversion code where a
14854 string of length one was always returned, regardless of the size
14855 of the input Buffer object.
14856
14857 Removed the NATIVE_CHAR data type across the entire source due to
14858 lack of need and lack of consistent use.
14859
14860 Code and Data Size: Current core subsystem library sizes are shown
14861 below.  These are the code and data sizes for the acpica.lib
14862 produced by the Microsoft Visual C++ 6.0 compiler, and these
14863 values do not include any ACPI driver or OSPM code.  The debug
14864 version of the code includes the debug output trace mechanism and
14865 has a much larger code and data size.  Note that these values will
14866 vary depending on the efficiency of the compiler and the compiler
14867 options used during generation.
14868
14869   Previous Release
14870     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14871     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14872   Current Release:
14873     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14874     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14875
14876
14877 ----------------------------------------
14878 05 December 2002.  Summary of changes for version 20021205.
14879
14880 1) ACPI CA Core Subsystem:
14881
14882 Fixed a problem where a store to a String or Buffer object could
14883 cause corruption of the DSDT if the object type being stored was
14884 the same as the target object type and the length of the object
14885 being stored was equal to or smaller than the original (existing)
14886 target object.  This was seen to cause corruption of battery _BIF
14887 buffers if the _BIF method modified the buffer on the fly.
14888
14889 Fixed a problem where an internal error was generated if a control
14890 method invocation was used in an OperationRegion, Buffer, or
14891 Package declaration.  This was caused by the deferred parsing of
14892 the control method and thus the deferred creation of the internal
14893 method object.  The solution to this problem was to create the
14894 internal method object at the moment the method is encountered in
14895 the first pass - so that subsequent references to the method will
14896 able to obtain the required parameter count and thus properly
14897 parse the method invocation.  This problem presented itself as an
14898 AE_AML_INTERNAL during the pass 1 parse phase during table load.
14899
14900 Fixed a problem where the internal String object copy routine did
14901 not always allocate sufficient memory for the target String object
14902 and caused memory corruption.  This problem was seen to cause
14903 "Allocation already present in list!" errors as memory allocation
14904 became corrupted.
14905
14906 Implemented a new function for the evaluation of namespace objects
14907 that allows the specification of the allowable return object
14908 types.  This simplifies a lot of code that checks for a return
14909 object of one or more specific objects returned from the
14910 evaluation (such as _STA, etc.)  This may become and external
14911 function if it would be useful to ACPI-related drivers.
14912
14913 Completed another round of prefixing #defines with "ACPI_" for
14914 clarity.
14915
14916 Completed additional code restructuring to allow more modular
14917 linking for iASL compiler and AcpiExec.  Several files were split
14918 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
14919
14920 Implemented an abort mechanism to terminate an executing control
14921 method via the AML debugger.  This feature is useful for debugging
14922 control methods that depend (wait) for specific hardware
14923 responses.
14924
14925 Code and Data Size: Current core subsystem library sizes are shown
14926 below.  These are the code and data sizes for the acpica.lib
14927 produced by the Microsoft Visual C++ 6.0 compiler, and these
14928 values do not include any ACPI driver or OSPM code.  The debug
14929 version of the code includes the debug output trace mechanism and
14930 has a much larger code and data size.  Note that these values will
14931 vary depending on the efficiency of the compiler and the compiler
14932 options used during generation.
14933
14934   Previous Release
14935     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14936     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14937   Current Release:
14938     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14939     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14940
14941
14942 2) iASL Compiler/Disassembler
14943
14944 Fixed a compiler code generation problem for "Interrupt" Resource
14945 Descriptors.  If specified in the ASL, the optional "Resource
14946 Source Index" and "Resource Source" fields were not inserted into
14947 the correct location within the AML resource descriptor, creating
14948 an invalid descriptor.
14949
14950 Fixed a disassembler problem for "Interrupt" resource descriptors.
14951 The optional "Resource Source Index" and "Resource Source" fields
14952 were ignored.
14953
14954
14955 ----------------------------------------
14956 22 November 2002.  Summary of changes for version 20021122.
14957
14958
14959 1) ACPI CA Core Subsystem:
14960
14961 Fixed a reported problem where an object stored to a Method Local
14962 or Arg was not copied to a new object during the store - the
14963 object pointer was simply copied to the Local/Arg.  This caused
14964 all subsequent operations on the Local/Arg to also affect the
14965 original source of the store operation.
14966
14967 Fixed a problem where a store operation to a Method Local or Arg
14968 was not completed properly if the Local/Arg contained a reference
14969 (from RefOf) to a named field.  The general-purpose store-to-
14970 namespace-node code is now used so that this case is handled
14971 automatically.
14972
14973 Fixed a problem where the internal object copy routine would cause
14974 a protection fault if the object being copied was a Package and
14975 contained either 1) a NULL package element or 2) a nested sub-
14976 package.
14977
14978 Fixed a problem with the GPE initialization that resulted from an
14979 ambiguity in the ACPI specification.  One section of the
14980 specification states that both the address and length of the GPE
14981 block must be zero if the block is not supported.  Another section
14982 implies that only the address need be zero if the block is not
14983 supported.  The code has been changed so that both the address and
14984 the length must be non-zero to indicate a valid GPE block (i.e.,
14985 if either the address or the length is zero, the GPE block is
14986 invalid.)
14987
14988 Code and Data Size: Current core subsystem library sizes are shown
14989 below.  These are the code and data sizes for the acpica.lib
14990 produced by the Microsoft Visual C++ 6.0 compiler, and these
14991 values do not include any ACPI driver or OSPM code.  The debug
14992 version of the code includes the debug output trace mechanism and
14993 has a much larger code and data size.  Note that these values will
14994 vary depending on the efficiency of the compiler and the compiler
14995 options used during generation.
14996
14997   Previous Release
14998     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14999     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15000   Current Release:
15001     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15002     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
15003
15004
15005 2) Linux
15006
15007 Cleaned up EC driver. Exported an external EC read/write
15008 interface. By going through this, other drivers (most notably
15009 sonypi) will be able to serialize access to the EC.
15010
15011
15012 3) iASL Compiler/Disassembler
15013
15014 Implemented support to optionally generate include files for both
15015 ASM and C (the -i switch).  This simplifies BIOS development by
15016 automatically creating include files that contain external
15017 declarations for the symbols that are created within the
15018
15019 (optionally generated) ASM and C AML source files.
15020
15021
15022 ----------------------------------------
15023 15 November 2002.  Summary of changes for version 20021115.
15024
15025 1) ACPI CA Core Subsystem:
15026
15027 Fixed a memory leak problem where an error during resolution of
15028
15029 method arguments during a method invocation from another method
15030 failed to cleanup properly by deleting all successfully resolved
15031 argument objects.
15032
15033 Fixed a problem where the target of the Index() operator was not
15034 correctly constructed if the source object was a package.  This
15035 problem has not been detected because the use of a target operand
15036 with Index() is very rare.
15037
15038 Fixed a problem with the Index() operator where an attempt was
15039 made to delete the operand objects twice.
15040
15041 Fixed a problem where an attempt was made to delete an operand
15042 twice during execution of the CondRefOf() operator if the target
15043 did not exist.
15044
15045 Implemented the first of perhaps several internal create object
15046 functions that create and initialize a specific object type.  This
15047 consolidates duplicated code wherever the object is created, thus
15048 shrinking the size of the subsystem.
15049
15050 Implemented improved debug/error messages for errors that occur
15051 during nested method invocations.  All executing method pathnames
15052 are displayed (with the error) as the call stack is unwound - thus
15053 simplifying debug.
15054
15055 Fixed a problem introduced in the 10/02 release that caused
15056 premature deletion of a buffer object if a buffer was used as an
15057 ASL operand where an integer operand is required (Thus causing an
15058 implicit object conversion from Buffer to Integer.)  The change in
15059 the 10/02 release was attempting to fix a memory leak (albeit
15060 incorrectly.)
15061
15062 Code and Data Size: Current core subsystem library sizes are shown
15063 below.  These are the code and data sizes for the acpica.lib
15064 produced by the Microsoft Visual C++ 6.0 compiler, and these
15065 values do not include any ACPI driver or OSPM code.  The debug
15066 version of the code includes the debug output trace mechanism and
15067 has a much larger code and data size.  Note that these values will
15068 vary depending on the efficiency of the compiler and the compiler
15069 options used during generation.
15070
15071   Previous Release
15072     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15073     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15074   Current Release:
15075     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
15076     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15077
15078
15079 2) Linux
15080
15081 Changed the implementation of the ACPI semaphores to use down()
15082 instead of down_interruptable().  It is important that the
15083 execution of ACPI control methods not be interrupted by signals.
15084 Methods must run to completion, or the system may be left in an
15085 unknown/unstable state.
15086
15087 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
15088 (Shawn Starr)
15089
15090
15091 3) iASL Compiler/Disassembler
15092
15093
15094 Changed the default location of output files.  All output files
15095 are now placed in the current directory by default instead of in
15096 the directory of the source file.  This change may affect some
15097 existing makefiles, but it brings the behavior of the compiler in
15098 line with other similar tools.  The location of the output files
15099 can be overridden with the -p command line switch.
15100
15101
15102 ----------------------------------------
15103 11 November 2002.  Summary of changes for version 20021111.
15104
15105
15106 0) ACPI Specification 2.0B is released and is now available at:
15107 http://www.acpi.info/index.html
15108
15109
15110 1) ACPI CA Core Subsystem:
15111
15112 Implemented support for the ACPI 2.0 SMBus Operation Regions.
15113 This includes the early detection and handoff of the request to
15114 the SMBus region handler (avoiding all of the complex field
15115 support code), and support for the bidirectional return packet
15116 from an SMBus write operation.  This paves the way for the
15117 development of SMBus drivers in each host operating system.
15118
15119 Fixed a problem where the semaphore WAIT_FOREVER constant was
15120 defined as 32 bits, but must be 16 bits according to the ACPI
15121 specification.  This had the side effect of causing ASL
15122 Mutex/Event timeouts even though the ASL code requested a wait
15123 forever.  Changed all internal references to the ACPI timeout
15124 parameter to 16 bits to prevent future problems.  Changed the name
15125 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
15126
15127 Code and Data Size: Current core subsystem library sizes are shown
15128 below.  These are the code and data sizes for the acpica.lib
15129 produced by the Microsoft Visual C++ 6.0 compiler, and these
15130 values do not include any ACPI driver or OSPM code.  The debug
15131 version of the code includes the debug output trace mechanism and
15132 has a much larger code and data size.  Note that these values will
15133 vary depending on the efficiency of the compiler and the compiler
15134 options used during generation.
15135
15136   Previous Release
15137     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15138     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15139   Current Release:
15140     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15141     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15142
15143
15144 2) Linux
15145
15146 Module loading/unloading fixes (John Cagle)
15147
15148
15149 3) iASL Compiler/Disassembler
15150
15151 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
15152
15153 Implemented support for the disassembly of all SMBus protocol
15154 keywords (SMBQuick, SMBWord, etc.)
15155
15156 ----------------------------------------
15157 01 November 2002.  Summary of changes for version 20021101.
15158
15159
15160 1) ACPI CA Core Subsystem:
15161
15162 Fixed a problem where platforms that have a GPE1 block but no GPE0
15163 block were not handled correctly.  This resulted in a "GPE
15164 overlap" error message.  GPE0 is no longer required.
15165
15166 Removed code added in the previous release that inserted nodes
15167 into the namespace in alphabetical order.  This caused some side-
15168 effects on various machines.  The root cause of the problem is
15169 still under investigation since in theory, the internal ordering
15170 of the namespace nodes should not matter.
15171
15172
15173 Enhanced error reporting for the case where a named object is not
15174 found during control method execution.  The full ACPI namepath
15175 (name reference) of the object that was not found is displayed in
15176 this case.
15177
15178 Note: as a result of the overhaul of the namespace object types in
15179 the previous release, the namespace nodes for the predefined
15180 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
15181 instead of ACPI_TYPE_ANY.  This simplifies the namespace
15182 management code but may affect code that walks the namespace tree
15183 looking for specific object types.
15184
15185 Code and Data Size: Current core subsystem library sizes are shown
15186 below.  These are the code and data sizes for the acpica.lib
15187 produced by the Microsoft Visual C++ 6.0 compiler, and these
15188 values do not include any ACPI driver or OSPM code.  The debug
15189 version of the code includes the debug output trace mechanism and
15190 has a much larger code and data size.  Note that these values will
15191 vary depending on the efficiency of the compiler and the compiler
15192 options used during generation.
15193
15194   Previous Release
15195     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15196     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15197   Current Release:
15198     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15199     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15200
15201
15202 2) Linux
15203
15204 Fixed a problem introduced in the previous release where the
15205 Processor and Thermal objects were not recognized and installed in
15206 /proc.  This was related to the scope type change described above.
15207
15208
15209 3) iASL Compiler/Disassembler
15210
15211 Implemented the -g option to get all of the required ACPI tables
15212 from the registry and save them to files (Windows version of the
15213 compiler only.)  The required tables are the FADT, FACS, and DSDT.
15214
15215 Added ACPI table checksum validation during table disassembly in
15216 order to catch corrupted tables.
15217
15218
15219 ----------------------------------------
15220 22 October 2002.  Summary of changes for version 20021022.
15221
15222 1) ACPI CA Core Subsystem:
15223
15224 Implemented a restriction on the Scope operator that the target
15225 must already exist in the namespace at the time the operator is
15226 encountered (during table load or method execution).  In other
15227 words, forward references are not allowed and Scope() cannot
15228 create a new object. This changes the previous behavior where the
15229 interpreter would create the name if not found.  This new behavior
15230 correctly enables the search-to-root algorithm during namespace
15231 lookup of the target name.  Because of this upsearch, this fixes
15232 the known Compaq _SB_.OKEC problem and makes both the AML
15233 interpreter and iASL compiler compatible with other ACPI
15234 implementations.
15235
15236 Completed a major overhaul of the internal ACPI object types for
15237 the ACPI Namespace and the associated operand objects.  Many of
15238 these types had become obsolete with the introduction of the two-
15239 pass namespace load.  This cleanup simplifies the code and makes
15240 the entire namespace load mechanism much clearer and easier to
15241 understand.
15242
15243 Improved debug output for tracking scope opening/closing to help
15244 diagnose scoping issues.  The old scope name as well as the new
15245 scope name are displayed.  Also improved error messages for
15246 problems with ASL Mutex objects and error messages for GPE
15247 problems.
15248
15249 Cleaned up the namespace dump code, removed obsolete code.
15250
15251 All string output (for all namespace/object dumps) now uses the
15252 common ACPI string output procedure which handles escapes properly
15253 and does not emit non-printable characters.
15254
15255 Fixed some issues with constants in the 64-bit version of the
15256 local C library (utclib.c)
15257
15258
15259 2) Linux
15260
15261 EC Driver:  No longer attempts to acquire the Global Lock at
15262 interrupt level.
15263
15264
15265 3) iASL Compiler/Disassembler
15266
15267 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
15268 2 opcodes outside of a control method.  This means that the
15269 "executable" operators (versus the "namespace" operators) cannot
15270 be used at the table level; they can only be used within a control
15271 method.
15272
15273 Implemented the restriction on the Scope() operator where the
15274 target must already exist in the namespace at the time the
15275 operator is encountered (during ASL compilation). In other words,
15276 forward references are not allowed and Scope() cannot create a new
15277 object.  This makes the iASL compiler compatible with other ACPI
15278 implementations and makes the Scope() implementation adhere to the
15279 ACPI specification.
15280
15281 Fixed a problem where namepath optimization for the Alias operator
15282 was optimizing the wrong path (of the two namepaths.)  This caused
15283 a "Missing alias link" error message.
15284
15285 Fixed a problem where an "unknown reserved name" warning could be
15286 incorrectly generated for names like "_SB" when the trailing
15287 underscore is not used in the original ASL.
15288
15289 Fixed a problem where the reserved name check did not handle
15290 NamePaths with multiple NameSegs correctly.  The first nameseg of
15291 the NamePath was examined instead of the last NameSeg.
15292
15293
15294 ----------------------------------------
15295
15296 02 October 2002.  Summary of changes for this release.
15297
15298
15299 1) ACPI CA Core Subsystem version 20021002:
15300
15301 Fixed a problem where a store/copy of a string to an existing
15302 string did not always set the string length properly in the String
15303 object.
15304
15305 Fixed a reported problem with the ToString operator where the
15306 behavior was identical to the ToHexString operator instead of just
15307 simply converting a raw buffer to a string data type.
15308
15309 Fixed a problem where CopyObject and the other "explicit"
15310 conversion operators were not updating the internal namespace node
15311 type as part of the store operation.
15312
15313 Fixed a memory leak during implicit source operand conversion
15314 where the original object was not deleted if it was converted to a
15315 new object of a different type.
15316
15317 Enhanced error messages for all problems associated with namespace
15318 lookups.  Common procedure generates and prints the lookup name as
15319 well as the formatted status.
15320
15321 Completed implementation of a new design for the Alias support
15322 within the namespace.  The existing design did not handle the case
15323 where a new object was assigned to one of the two names due to the
15324 use of an explicit conversion operator, resulting in the two names
15325 pointing to two different objects.  The new design simply points
15326 the Alias name to the original name node - not to the object.
15327 This results in a level of indirection that must be handled in the
15328 name resolution mechanism.
15329
15330 Code and Data Size: Current core subsystem library sizes are shown
15331 below.  These are the code and data sizes for the acpica.lib
15332 produced by the Microsoft Visual C++ 6.0 compiler, and these
15333 values do not include any ACPI driver or OSPM code.  The debug
15334 version of the code includes the debug output trace mechanism and
15335 has a larger code and data size.  Note that these values will vary
15336 depending on the efficiency of the compiler and the compiler
15337 options used during generation.
15338
15339   Previous Release
15340     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15341     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15342   Current Release:
15343     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15344     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15345
15346
15347 2) Linux
15348
15349 Initialize thermal driver's timer before it is used. (Knut
15350 Neumann)
15351
15352 Allow handling negative celsius values. (Kochi Takayoshi)
15353
15354 Fix thermal management and make trip points. R/W (Pavel Machek)
15355
15356 Fix /proc/acpi/sleep. (P. Christeas)
15357
15358 IA64 fixes. (David Mosberger)
15359
15360 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
15361
15362 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
15363 Brodowski)
15364
15365
15366 3) iASL Compiler/Disassembler
15367
15368 Clarified some warning/error messages.
15369
15370
15371 ----------------------------------------
15372 18 September 2002.  Summary of changes for this release.
15373
15374
15375 1) ACPI CA Core Subsystem version 20020918:
15376
15377 Fixed a reported problem with reference chaining (via the Index()
15378 and RefOf() operators) in the ObjectType() and SizeOf() operators.
15379 The definition of these operators includes the dereferencing of
15380 all chained references to return information on the base object.
15381
15382 Fixed a problem with stores to indexed package elements - the
15383 existing code would not complete the store if an "implicit
15384 conversion" was not performed.  In other words, if the existing
15385 object (package element) was to be replaced completely, the code
15386 didn't handle this case.
15387
15388 Relaxed typechecking on the ASL "Scope" operator to allow the
15389 target name to refer to an object of type Integer, String, or
15390 Buffer, in addition to the scoping object types (Device,
15391 predefined Scopes, Processor, PowerResource, and ThermalZone.)
15392 This allows existing AML code that has workarounds for a bug in
15393 Windows to function properly.  A warning is issued, however.  This
15394 affects both the AML interpreter and the iASL compiler. Below is
15395 an example of this type of ASL code:
15396
15397       Name(DEB,0x00)
15398       Scope(DEB)
15399       {
15400
15401 Fixed some reported problems with 64-bit integer support in the
15402 local implementation of C library functions (clib.c)
15403
15404
15405 2) Linux
15406
15407 Use ACPI fix map region instead of IOAPIC region, since it is
15408 undefined in non-SMP.
15409
15410 Ensure that the SCI has the proper polarity and trigger, even on
15411 systems that do not have an interrupt override entry in the MADT.
15412
15413 2.5 big driver reorganization (Pat Mochel)
15414
15415 Use early table mapping code from acpitable.c (Andi Kleen)
15416
15417 New blacklist entries (Andi Kleen)
15418
15419 Blacklist improvements. Split blacklist code out into a separate
15420 file. Move checking the blacklist to very early. Previously, we
15421 would use ACPI tables, and then halfway through init, check the
15422 blacklist -- too late. Now, it's early enough to completely fall-
15423 back to non-ACPI.
15424
15425
15426 3) iASL Compiler/Disassembler version 20020918:
15427
15428 Fixed a problem where the typechecking code didn't know that an
15429 alias could point to a method.  In other words, aliases were not
15430 being dereferenced during typechecking.
15431
15432
15433 ----------------------------------------
15434 29 August 2002.  Summary of changes for this release.
15435
15436 1) ACPI CA Core Subsystem Version 20020829:
15437
15438 If the target of a Scope() operator already exists, it must be an
15439 object type that actually opens a scope -- such as a Device,
15440 Method, Scope, etc.  This is a fatal runtime error.  Similar error
15441 check has been added to the iASL compiler also.
15442
15443 Tightened up the namespace load to disallow multiple names in the
15444 same scope.  This previously was allowed if both objects were of
15445 the same type.  (i.e., a lookup was the same as entering a new
15446 name).
15447
15448
15449 2) Linux
15450
15451 Ensure that the ACPI interrupt has the proper trigger and
15452 polarity.
15453
15454 local_irq_disable is extraneous. (Matthew Wilcox)
15455
15456 Make "acpi=off" actually do what it says, and not use the ACPI
15457 interpreter *or* the tables.
15458
15459 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
15460 Takayoshi)
15461
15462
15463 3) iASL Compiler/Disassembler  Version 20020829:
15464
15465 Implemented namepath optimization for name declarations.  For
15466 example, a declaration like "Method (\_SB_.ABCD)" would get
15467 optimized to "Method (ABCD)" if the declaration is within the
15468 \_SB_ scope.  This optimization is in addition to the named
15469 reference path optimization first released in the previous
15470 version. This would seem to complete all possible optimizations
15471 for namepaths within the ASL/AML.
15472
15473 If the target of a Scope() operator already exists, it must be an
15474 object type that actually opens a scope -- such as a Device,
15475 Method, Scope, etc.
15476
15477 Implemented a check and warning for unreachable code in the same
15478 block below a Return() statement.
15479
15480 Fixed a problem where the listing file was not generated if the
15481 compiler aborted if the maximum error count was exceeded (200).
15482
15483 Fixed a problem where the typechecking of method return values was
15484 broken.  This includes the check for a return value when the
15485 method is invoked as a TermArg (a return value is expected.)
15486
15487 Fixed a reported problem where EOF conditions during a quoted
15488 string or comment caused a fault.
15489
15490
15491 ----------------------------------------
15492 15 August 2002.  Summary of changes for this release.
15493
15494 1) ACPI CA Core Subsystem Version 20020815:
15495
15496 Fixed a reported problem where a Store to a method argument that
15497 contains a reference did not perform the indirect store correctly.
15498 This problem was created during the conversion to the new
15499 reference object model - the indirect store to a method argument
15500 code was not updated to reflect the new model.
15501
15502 Reworked the ACPI mode change code to better conform to ACPI 2.0,
15503 handle corner cases, and improve code legibility (Kochi Takayoshi)
15504
15505 Fixed a problem with the pathname parsing for the carat (^)
15506 prefix.  The heavy use of the carat operator by the new namepath
15507 optimization in the iASL compiler uncovered a problem with the AML
15508 interpreter handling of this prefix.  In the case where one or
15509 more carats precede a single nameseg, the nameseg was treated as
15510 standalone and the search rule (to root) was inadvertently
15511 applied.  This could cause both the iASL compiler and the
15512 interpreter to find the wrong object or to miss the error that
15513 should occur if the object does not exist at that exact pathname.
15514
15515 Found and fixed the problem where the HP Pavilion DSDT would not
15516 load.  This was a relatively minor tweak to the table loading code
15517 (a problem caused by the unexpected encounter with a method
15518 invocation not within a control method), but it does not solve the
15519 overall issue of the execution of AML code at the table level.
15520 This investigation is still ongoing.
15521
15522 Code and Data Size: Current core subsystem library sizes are shown
15523 below.  These are the code and data sizes for the acpica.lib
15524 produced by the Microsoft Visual C++ 6.0 compiler, and these
15525 values do not include any ACPI driver or OSPM code.  The debug
15526 version of the code includes the debug output trace mechanism and
15527 has a larger code and data size.  Note that these values will vary
15528 depending on the efficiency of the compiler and the compiler
15529 options used during generation.
15530
15531   Previous Release
15532     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15533     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15534   Current Release:
15535     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15536     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15537
15538
15539 2) Linux
15540
15541 Remove redundant slab.h include (Brad Hards)
15542
15543 Fix several bugs in thermal.c (Herbert Nachtnebel)
15544
15545 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
15546
15547 Change acpi_system_suspend to use updated irq functions (Pavel
15548 Machek)
15549
15550 Export acpi_get_firmware_table (Matthew Wilcox)
15551
15552 Use proper root proc entry for ACPI (Kochi Takayoshi)
15553
15554 Fix early-boot table parsing (Bjorn Helgaas)
15555
15556
15557 3) iASL Compiler/Disassembler
15558
15559 Reworked the compiler options to make them more consistent and to
15560 use two-letter options where appropriate.  We were running out of
15561 sensible letters.   This may break some makefiles, so check the
15562 current options list by invoking the compiler with no parameters.
15563
15564 Completed the design and implementation of the ASL namepath
15565 optimization option for the compiler.  This option optimizes all
15566 references to named objects to the shortest possible path.  The
15567 first attempt tries to utilize a single nameseg (4 characters) and
15568 the "search-to-root" algorithm used by the interpreter.  If that
15569 cannot be used (because either the name is not in the search path
15570 or there is a conflict with another object with the same name),
15571 the pathname is optimized using the carat prefix (usually a
15572 shorter string than specifying the entire path from the root.)
15573
15574 Implemented support to obtain the DSDT from the Windows registry
15575 (when the disassembly option is specified with no input file).
15576 Added this code as the implementation for AcpiOsTableOverride in
15577 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
15578 utility) to scan memory for the DSDT to the AcpiOsTableOverride
15579 function in the DOS OSL to make the disassembler truly OS
15580 independent.
15581
15582 Implemented a new option to disassemble and compile in one step.
15583 When used without an input filename, this option will grab the
15584 DSDT from the local machine, disassemble it, and compile it in one
15585 step.
15586
15587 Added a warning message for invalid escapes (a backslash followed
15588 by any character other than the allowable escapes).  This catches
15589 the quoted string error "\_SB_" (which should be "\\_SB_" ).
15590
15591 Also, there are numerous instances in the ACPI specification where
15592 this error occurs.
15593
15594 Added a compiler option to disable all optimizations.  This is
15595 basically the "compatibility mode" because by using this option,
15596 the AML code will come out exactly the same as other ASL
15597 compilers.
15598
15599 Added error messages for incorrectly ordered dependent resource
15600 functions.  This includes: missing EndDependentFn macro at end of
15601 dependent resource list, nested dependent function macros (both
15602 start and end), and missing StartDependentFn macro.  These are
15603 common errors that should be caught at compile time.
15604
15605 Implemented _OSI support for the disassembler and compiler.  _OSI
15606 must be included in the namespace for proper disassembly (because
15607 the disassembler must know the number of arguments.)
15608
15609 Added an "optimization" message type that is optional (off by
15610 default).  This message is used for all optimizations - including
15611 constant folding, integer optimization, and namepath optimization.
15612
15613 ----------------------------------------
15614 25 July 2002.  Summary of changes for this release.
15615
15616
15617 1) ACPI CA Core Subsystem Version 20020725:
15618
15619 The AML Disassembler has been enhanced to produce compilable ASL
15620 code and has been integrated into the iASL compiler (see below) as
15621 well as the single-step disassembly for the AML debugger and the
15622 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
15623 resource templates and macros are fully supported.  The
15624 disassembler has been tested on over 30 different AML files,
15625 producing identical AML when the resulting disassembled ASL file
15626 is recompiled with the same ASL compiler.
15627
15628 Modified the Resource Manager to allow zero interrupts and zero
15629 dma channels during the GetCurrentResources call.  This was
15630 causing problems on some platforms.
15631
15632 Added the AcpiOsRedirectOutput interface to the OSL to simplify
15633 output redirection for the AcpiOsPrintf and AcpiOsVprintf
15634 interfaces.
15635
15636 Code and Data Size: Current core subsystem library sizes are shown
15637 below.  These are the code and data sizes for the acpica.lib
15638 produced by the Microsoft Visual C++ 6.0 compiler, and these
15639 values do not include any ACPI driver or OSPM code.  The debug
15640 version of the code includes the debug output trace mechanism and
15641 has a larger code and data size.  Note that these values will vary
15642 depending on the efficiency of the compiler and the compiler
15643 options used during generation.
15644
15645   Previous Release
15646     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15647     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15648   Current Release:
15649     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15650     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15651
15652
15653 2) Linux
15654
15655 Fixed a panic in the EC driver (Dominik Brodowski)
15656
15657 Implemented checksum of the R/XSDT itself during Linux table scan
15658 (Richard Schaal)
15659
15660
15661 3) iASL compiler
15662
15663 The AML disassembler is integrated into the compiler.  The "-d"
15664 option invokes the disassembler  to completely disassemble an
15665 input AML file, producing as output a text ASL file with the
15666 extension ".dsl" (to avoid name collisions with existing .asl
15667 source files.)  A future enhancement will allow the disassembler
15668 to obtain the BIOS DSDT from the registry under Windows.
15669
15670 Fixed a problem with the VendorShort and VendorLong resource
15671 descriptors where an invalid AML sequence was created.
15672
15673 Implemented a fix for BufferData term in the ASL parser.  It was
15674 inadvertently defined twice, allowing invalid syntax to pass and
15675 causing reduction conflicts.
15676
15677 Fixed a problem where the Ones opcode could get converted to a
15678 value of zero if "Ones" was used where a byte, word or dword value
15679 was expected.  The 64-bit value is now truncated to the correct
15680 size with the correct value.
15681
15682
15683
15684 ----------------------------------------
15685 02 July 2002.  Summary of changes for this release.
15686
15687
15688 1) ACPI CA Core Subsystem Version 20020702:
15689
15690 The Table Manager code has been restructured to add several new
15691 features.  Tables that are not required by the core subsystem
15692 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
15693 validated in any way and are returned from AcpiGetFirmwareTable if
15694 requested.  The AcpiOsTableOverride interface is now called for
15695 each table that is loaded by the subsystem in order to allow the
15696 host to override any table it chooses.  Previously, only the DSDT
15697 could be overridden.  Added one new files, tbrsdt.c and
15698 tbgetall.c.
15699
15700 Fixed a problem with the conversion of internal package objects to
15701 external objects (when a package is returned from a control
15702 method.)  The return buffer length was set to zero instead of the
15703 proper length of the package object.
15704
15705 Fixed a reported problem with the use of the RefOf and DeRefOf
15706 operators when passing reference arguments to control methods.  A
15707 new type of Reference object is used internally for references
15708 produced by the RefOf operator.
15709
15710 Added additional error messages in the Resource Manager to explain
15711 AE_BAD_DATA errors when they occur during resource parsing.
15712
15713 Split the AcpiEnableSubsystem into two primitives to enable a
15714 finer granularity initialization sequence.  These two calls should
15715 be called in this order: AcpiEnableSubsystem (flags),
15716 AcpiInitializeObjects (flags).  The flags parameter remains the
15717 same.
15718
15719
15720 2) Linux
15721
15722 Updated the ACPI utilities module to understand the new style of
15723 fully resolved package objects that are now returned from the core
15724 subsystem.  This eliminates errors of the form:
15725
15726     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
15727     acpi_utils-0430 [145] acpi_evaluate_reference:
15728         Invalid element in package (not a device reference)
15729
15730 The method evaluation utility uses the new buffer allocation
15731 scheme instead of calling AcpiEvaluate Object twice.
15732
15733 Added support for ECDT. This allows the use of the Embedded
15734
15735 Controller before the namespace has been fully initialized, which
15736 is necessary for ACPI 2.0 support, and for some laptops to
15737 initialize properly. (Laptops using ECDT are still rare, so only
15738 limited testing was performed of the added functionality.)
15739
15740 Fixed memory leaks in the EC driver.
15741
15742 Eliminated a brittle code structure in acpi_bus_init().
15743
15744 Eliminated the acpi_evaluate() helper function in utils.c. It is
15745 no longer needed since acpi_evaluate_object can optionally
15746 allocate memory for the return object.
15747
15748 Implemented fix for keyboard hang when getting battery readings on
15749 some systems (Stephen White)
15750
15751 PCI IRQ routing update (Dominik Brodowski)
15752
15753 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
15754 support
15755
15756 ----------------------------------------
15757 11 June 2002.  Summary of changes for this release.
15758
15759
15760 1) ACPI CA Core Subsystem Version 20020611:
15761
15762 Fixed a reported problem where constants such as Zero and One
15763 appearing within _PRT packages were not handled correctly within
15764 the resource manager code.  Originally reported against the ASL
15765 compiler because the code generator now optimizes integers to
15766 their minimal AML representation (i.e. AML constants if possible.)
15767 The _PRT code now handles all AML constant opcodes correctly
15768 (Zero, One, Ones, Revision).
15769
15770 Fixed a problem with the Concatenate operator in the AML
15771 interpreter where a buffer result object was incorrectly marked as
15772 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
15773
15774 All package sub-objects are now fully resolved before they are
15775 returned from the external ACPI interfaces.  This means that name
15776 strings are resolved to object handles, and constant operators
15777 (Zero, One, Ones, Revision) are resolved to Integers.
15778
15779 Implemented immediate resolution of the AML Constant opcodes
15780 (Zero, One, Ones, Revision) to Integer objects upon detection
15781 within the AML stream. This has simplified and reduced the
15782 generated code size of the subsystem by eliminating about 10
15783 switch statements for these constants (which previously were
15784 contained in Reference objects.)  The complicating issues are that
15785 the Zero opcode is used as a "placeholder" for unspecified
15786 optional target operands and stores to constants are defined to be
15787 no-ops.
15788
15789 Code and Data Size: Current core subsystem library sizes are shown
15790 below. These are the code and data sizes for the acpica.lib
15791 produced by the Microsoft Visual C++ 6.0 compiler, and these
15792 values do not include any ACPI driver or OSPM code.  The debug
15793 version of the code includes the debug output trace mechanism and
15794 has a larger code and data size.  Note that these values will vary
15795 depending on the efficiency of the compiler and the compiler
15796 options used during generation.
15797
15798   Previous Release
15799     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15800     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15801   Current Release:
15802     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15803     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15804
15805
15806 2) Linux
15807
15808
15809 Added preliminary support for obtaining _TRA data for PCI root
15810 bridges (Bjorn Helgaas).
15811
15812
15813 3) iASL Compiler Version X2046:
15814
15815 Fixed a problem where the "_DDN" reserved name was defined to be a
15816 control method with one argument.  There are no arguments, and
15817 _DDN does not have to be a control method.
15818
15819 Fixed a problem with the Linux version of the compiler where the
15820 source lines printed with error messages were the wrong lines.
15821 This turned out to be the "LF versus CR/LF" difference between
15822 Windows and Unix.  This appears to be the longstanding issue
15823 concerning listing output and error messages.
15824
15825 Fixed a problem with the Linux version of compiler where opcode
15826 names within error messages were wrong.  This was caused by a
15827 slight difference in the output of the Flex tool on Linux versus
15828 Windows.
15829
15830 Fixed a problem with the Linux compiler where the hex output files
15831 contained some garbage data caused by an internal buffer overrun.
15832
15833
15834 ----------------------------------------
15835 17 May 2002.  Summary of changes for this release.
15836
15837
15838 1) ACPI CA Core Subsystem Version 20020517:
15839
15840 Implemented a workaround to an BIOS bug discovered on the HP
15841 OmniBook where the FADT revision number and the table size are
15842 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
15843 behavior is to fallback to using only the ACPI 1.0 fields of the
15844 FADT if the table is too small to be a ACPI 2.0 table as claimed
15845 by the revision number.  Although this is a BIOS bug, this is a
15846 case where the workaround is simple enough and with no side
15847 effects, so it seemed prudent to add it.  A warning message is
15848 issued, however.
15849
15850 Implemented minimum size checks for the fixed-length ACPI tables -
15851 - the FADT and FACS, as well as consistency checks between the
15852 revision number and the table size.
15853
15854 Fixed a reported problem in the table override support where the
15855 new table pointer was incorrectly treated as a physical address
15856 instead of a logical address.
15857
15858 Eliminated the use of the AE_AML_ERROR exception and replaced it
15859 with more descriptive codes.
15860
15861 Fixed a problem where an exception would occur if an ASL Field was
15862 defined with no named Field Units underneath it (used by some
15863 index fields).
15864
15865 Code and Data Size: Current core subsystem library sizes are shown
15866 below.  These are the code and data sizes for the acpica.lib
15867 produced by the Microsoft Visual C++ 6.0 compiler, and these
15868 values do not include any ACPI driver or OSPM code.  The debug
15869 version of the code includes the debug output trace mechanism and
15870 has a larger code and data size.  Note that these values will vary
15871 depending on the efficiency of the compiler and the compiler
15872 options used during generation.
15873
15874   Previous Release
15875     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15876     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15877   Current Release:
15878     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15879     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15880
15881
15882
15883 2) Linux
15884
15885 Much work done on ACPI init (MADT and PCI IRQ routing support).
15886 (Paul D. and Dominik Brodowski)
15887
15888 Fix PCI IRQ-related panic on boot (Sam Revitch)
15889
15890 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
15891
15892 Fix "MHz" typo (Dominik Brodowski)
15893
15894 Fix RTC year 2000 issue (Dominik Brodowski)
15895
15896 Preclude multiple button proc entries (Eric Brunet)
15897
15898 Moved arch-specific code out of include/platform/aclinux.h
15899
15900 3) iASL Compiler Version X2044:
15901
15902 Implemented error checking for the string used in the EISAID macro
15903 (Usually used in the definition of the _HID object.)  The code now
15904 strictly enforces the PnP format - exactly 7 characters, 3
15905 uppercase letters and 4 hex digits.
15906
15907 If a raw string is used in the definition of the _HID object
15908 (instead of the EISAID macro), the string must contain all
15909 alphanumeric characters (e.g., "*PNP0011" is not allowed because
15910 of the asterisk.)
15911
15912 Implemented checking for invalid use of ACPI reserved names for
15913 most of the name creation operators (Name, Device, Event, Mutex,
15914 OperationRegion, PowerResource, Processor, and ThermalZone.)
15915 Previously, this check was only performed for control methods.
15916
15917 Implemented an additional check on the Name operator to emit an
15918 error if a reserved name that must be implemented in ASL as a
15919 control method is used.  We know that a reserved name must be a
15920 method if it is defined with input arguments.
15921
15922 The warning emitted when a namespace object reference is not found
15923 during the cross reference phase has been changed into an error.
15924 The "External" directive should be used for names defined in other
15925 modules.
15926
15927
15928 4) Tools and Utilities
15929
15930 The 16-bit tools (adump16 and aexec16) have been regenerated and
15931 tested.
15932
15933 Fixed a problem with the output of both acpidump and adump16 where
15934 the indentation of closing parentheses and brackets was not
15935
15936 aligned properly with the parent block.
15937
15938
15939 ----------------------------------------
15940 03 May 2002.  Summary of changes for this release.
15941
15942
15943 1) ACPI CA Core Subsystem Version 20020503:
15944
15945 Added support a new OSL interface that allows the host operating
15946
15947 system software to override the DSDT found in the firmware -
15948 AcpiOsTableOverride.  With this interface, the OSL can examine the
15949 version of the firmware DSDT and replace it with a different one
15950 if desired.
15951
15952 Added new external interfaces for accessing ACPI registers from
15953 device drivers and other system software - AcpiGetRegister and
15954 AcpiSetRegister.  This was simply an externalization of the
15955 existing AcpiHwBitRegister interfaces.
15956
15957 Fixed a regression introduced in the previous build where the
15958 ASL/AML CreateField operator always returned an error,
15959 "destination must be a NS Node".
15960
15961 Extended the maximum time (before failure) to successfully enable
15962 ACPI mode to 3 seconds.
15963
15964 Code and Data Size: Current core subsystem library sizes are shown
15965 below.  These are the code and data sizes for the acpica.lib
15966 produced by the Microsoft Visual C++ 6.0 compiler, and these
15967 values do not include any ACPI driver or OSPM code.  The debug
15968 version of the code includes the debug output trace mechanism and
15969 has a larger code and data size.  Note that these values will vary
15970 depending on the efficiency of the compiler and the compiler
15971 options used during generation.
15972
15973   Previous Release
15974     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15975     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15976   Current Release:
15977     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15978     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15979
15980
15981 2) Linux
15982
15983 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
15984 free. While 3 out of 4 of our in-house systems work fine, the last
15985 one still hangs when testing the LAPIC timer.
15986
15987 Renamed many files in 2.5 kernel release to omit "acpi_" from the
15988 name.
15989
15990 Added warning on boot for Presario 711FR.
15991
15992 Sleep improvements (Pavel Machek)
15993
15994 ACPI can now be built without CONFIG_PCI enabled.
15995
15996 IA64: Fixed memory map functions (JI Lee)
15997
15998
15999 3) iASL Compiler Version X2043:
16000
16001 Added support to allow the compiler to be integrated into the MS
16002 VC++ development environment for one-button compilation of single
16003 files or entire projects -- with error-to-source-line mapping.
16004
16005 Implemented support for compile-time constant folding for the
16006 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
16007 specification.  This allows the ASL writer to use expressions
16008 instead of Integer/Buffer/String constants in terms that must
16009 evaluate to constants at compile time and will also simplify the
16010 emitted AML in any such sub-expressions that can be folded
16011 (evaluated at compile-time.)  This increases the size of the
16012 compiler significantly because a portion of the ACPI CA AML
16013 interpreter is included within the compiler in order to pre-
16014 evaluate constant expressions.
16015
16016
16017 Fixed a problem with the "Unicode" ASL macro that caused the
16018 compiler to fault.  (This macro is used in conjunction with the
16019 _STR reserved name.)
16020
16021 Implemented an AML opcode optimization to use the Zero, One, and
16022 Ones opcodes where possible to further reduce the size of integer
16023 constants and thus reduce the overall size of the generated AML
16024 code.
16025
16026 Implemented error checking for new reserved terms for ACPI version
16027 2.0A.
16028
16029 Implemented the -qr option to display the current list of ACPI
16030 reserved names known to the compiler.
16031
16032 Implemented the -qc option to display the current list of ASL
16033 operators that are allowed within constant expressions and can
16034 therefore be folded at compile time if the operands are constants.
16035
16036
16037 4) Documentation
16038
16039 Updated the Programmer's Reference for new interfaces, data types,
16040 and memory allocation model options.
16041
16042 Updated the iASL Compiler User Reference to apply new format and
16043 add information about new features and options.
16044
16045 ----------------------------------------
16046 19 April 2002.  Summary of changes for this release.
16047
16048 1) ACPI CA Core Subsystem Version 20020419:
16049
16050 The source code base for the Core Subsystem has been completely
16051 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
16052 versions.  The Lint option files used are included in the
16053 /acpi/generate/lint directory.
16054
16055 Implemented enhanced status/error checking across the entire
16056 Hardware manager subsystem.  Any hardware errors (reported from
16057 the OSL) are now bubbled up and will abort a running control
16058 method.
16059
16060
16061 Fixed a problem where the per-ACPI-table integer width (32 or 64)
16062 was stored only with control method nodes, causing a fault when
16063 non-control method code was executed during table loading.  The
16064 solution implemented uses a global variable to indicate table
16065 width across the entire ACPI subsystem.  Therefore, ACPI CA does
16066 not support mixed integer widths across different ACPI tables
16067 (DSDT, SSDT).
16068
16069 Fixed a problem where NULL extended fields (X fields) in an ACPI
16070 2.0 ACPI FADT caused the table load to fail.  Although the
16071 existing ACPI specification is a bit fuzzy on this topic, the new
16072 behavior is to fall back on a ACPI 1.0 field if the corresponding
16073 ACPI 2.0 X field is zero (even though the table revision indicates
16074 a full ACPI 2.0 table.)  The ACPI specification will be updated to
16075 clarify this issue.
16076
16077 Fixed a problem with the SystemMemory operation region handler
16078 where memory was always accessed byte-wise even if the AML-
16079 specified access width was larger than a byte.  This caused
16080 problems on systems with memory-mapped I/O.  Memory is now
16081 accessed with the width specified.  On systems that do not support
16082 non-aligned transfers, a check is made to guarantee proper address
16083 alignment before proceeding in order to avoid an AML-caused
16084 alignment fault within the kernel.
16085
16086
16087 Fixed a problem with the ExtendedIrq resource where only one byte
16088 of the 4-byte Irq field was extracted.
16089
16090 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
16091 function was out of date and required a rewrite.
16092
16093 Code and Data Size: Current core subsystem library sizes are shown
16094 below.  These are the code and data sizes for the acpica.lib
16095 produced by the Microsoft Visual C++ 6.0 compiler, and these
16096 values do not include any ACPI driver or OSPM code.  The debug
16097 version of the code includes the debug output trace mechanism and
16098 has a larger code and data size.  Note that these values will vary
16099 depending on the efficiency of the compiler and the compiler
16100 options used during generation.
16101
16102   Previous Release
16103     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16104     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16105   Current Release:
16106     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
16107     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
16108
16109
16110 2) Linux
16111
16112 PCI IRQ routing fixes (Dominik Brodowski)
16113
16114
16115 3) iASL Compiler Version X2042:
16116
16117 Implemented an additional compile-time error check for a field
16118 unit whose size + minimum access width would cause a run-time
16119 access beyond the end-of-region.  Previously, only the field size
16120 itself was checked.
16121
16122 The Core subsystem and iASL compiler now share a common parse
16123 object in preparation for compile-time evaluation of the type
16124 3/4/5 ASL operators.
16125
16126
16127 ----------------------------------------
16128 Summary of changes for this release: 03_29_02
16129
16130 1) ACPI CA Core Subsystem Version 20020329:
16131
16132 Implemented support for late evaluation of TermArg operands to
16133 Buffer and Package objects.  This allows complex expressions to be
16134 used in the declarations of these object types.
16135
16136 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
16137 1.0, if the field was larger than 32 bits, it was returned as a
16138 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
16139 the field is returned as a buffer only if the field is larger than
16140 64 bits.  The TableRevision is now considered when making this
16141 conversion to avoid incompatibility with existing ASL code.
16142
16143 Implemented logical addressing for AcpiOsGetRootPointer.  This
16144 allows an RSDP with either a logical or physical address.  With
16145 this support, the host OS can now override all ACPI tables with
16146 one logical RSDP.  Includes implementation of  "typed" pointer
16147 support to allow a common data type for both physical and logical
16148 pointers internally.  This required a change to the
16149 AcpiOsGetRootPointer interface.
16150
16151 Implemented the use of ACPI 2.0 Generic Address Structures for all
16152 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
16153 mapped I/O for these ACPI features.
16154
16155 Initialization now ignores not only non-required tables (All
16156 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
16157 not validate the table headers of unrecognized tables.
16158
16159 Fixed a problem where a notify handler could only be
16160 installed/removed on an object of type Device.  All "notify"
16161
16162 objects are now supported -- Devices, Processor, Power, and
16163 Thermal.
16164
16165 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
16166 critical information is returned when this debug level is enabled.
16167
16168 Code and Data Size: Current core subsystem library sizes are shown
16169 below.  These are the code and data sizes for the acpica.lib
16170 produced by the Microsoft Visual C++ 6.0 compiler, and these
16171 values do not include any ACPI driver or OSPM code.  The debug
16172 version of the code includes the debug output trace mechanism and
16173 has a larger code and data size.  Note that these values will vary
16174 depending on the efficiency of the compiler and the compiler
16175 options used during generation.
16176
16177   Previous Release
16178     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16179     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16180   Current Release:
16181     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16182     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16183
16184
16185 2) Linux:
16186
16187 The processor driver (acpi_processor.c) now fully supports ACPI
16188 2.0-based processor performance control (e.g. Intel(R)
16189 SpeedStep(TM) technology) Note that older laptops that only have
16190 the Intel "applet" interface are not supported through this.  The
16191 'limit' and 'performance' interface (/proc) are fully functional.
16192 [Note that basic policy for controlling performance state
16193 transitions will be included in the next version of ospmd.]  The
16194 idle handler was modified to more aggressively use C2, and PIIX4
16195 errata handling underwent a complete overhaul (big thanks to
16196 Dominik Brodowski).
16197
16198 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
16199 based devices in the ACPI namespace are now dynamically bound
16200 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
16201 This allows, among other things, ACPI to resolve bus numbers for
16202 subordinate PCI bridges.
16203
16204 Enhanced PCI IRQ routing to get the proper bus number for _PRT
16205 entries defined underneath PCI bridges.
16206
16207 Added IBM 600E to bad bios list due to invalid _ADR value for
16208 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
16209
16210 In the process of adding full MADT support (e.g. IOAPIC) for IA32
16211 (acpi.c, mpparse.c) -- stay tuned.
16212
16213 Added back visual differentiation between fixed-feature and
16214 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
16215 button/power/PWRF) to simplify button identification.
16216
16217 We no longer use -Wno-unused when compiling debug. Please ignore
16218 any "_THIS_MODULE defined but not used" messages.
16219
16220 Can now shut down the system using "magic sysrq" key.
16221
16222
16223 3) iASL Compiler version 2041:
16224
16225 Fixed a problem where conversion errors for hex/octal/decimal
16226 constants were not reported.
16227
16228 Implemented a fix for the General Register template Address field.
16229 This field was 8 bits when it should be 64.
16230
16231 Fixed a problem where errors/warnings were no longer being emitted
16232 within the listing output file.
16233
16234 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
16235 exactly 4 characters, alphanumeric only.
16236
16237
16238
16239
16240 ----------------------------------------
16241 Summary of changes for this release: 03_08_02
16242
16243
16244 1) ACPI CA Core Subsystem Version 20020308:
16245
16246 Fixed a problem with AML Fields where the use of the "AccessAny"
16247 keyword could cause an interpreter error due to attempting to read
16248 or write beyond the end of the parent Operation Region.
16249
16250 Fixed a problem in the SystemMemory Operation Region handler where
16251 an attempt was made to map memory beyond the end of the region.
16252 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
16253 errors on some Linux systems.
16254
16255 Fixed a problem where the interpreter/namespace "search to root"
16256 algorithm was not functioning for some object types.  Relaxed the
16257 internal restriction on the search to allow upsearches for all
16258 external object types as well as most internal types.
16259
16260
16261 2) Linux:
16262
16263 We now use safe_halt() macro versus individual calls to sti | hlt.
16264
16265 Writing to the processor limit interface should now work. "echo 1"
16266 will increase the limit, 2 will decrease, and 0 will reset to the
16267
16268 default.
16269
16270
16271 3) ASL compiler:
16272
16273 Fixed segfault on Linux version.
16274
16275
16276 ----------------------------------------
16277 Summary of changes for this release: 02_25_02
16278
16279 1) ACPI CA Core Subsystem:
16280
16281
16282 Fixed a problem where the GPE bit masks were not initialized
16283 properly, causing erratic GPE behavior.
16284
16285 Implemented limited support for multiple calling conventions.  The
16286 code can be generated with either the VPL (variable parameter
16287 list, or "C") convention, or the FPL (fixed parameter list, or
16288 "Pascal") convention.  The core subsystem is about 3.4% smaller
16289 when generated with FPL.
16290
16291
16292 2) Linux
16293
16294 Re-add some /proc/acpi/event functionality that was lost during
16295 the rewrite
16296
16297 Resolved issue with /proc events for fixed-feature buttons showing
16298 up as the system device.
16299
16300 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
16301
16302 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
16303
16304 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
16305
16306 Fixed limit interface & usage to fix bugs with passive cooling
16307 hysterisis.
16308
16309 Restructured PRT support.
16310
16311
16312 ----------------------------------------
16313 Summary of changes for this label: 02_14_02
16314
16315
16316 1) ACPI CA Core Subsystem:
16317
16318 Implemented support in AcpiLoadTable to allow loading of FACS and
16319 FADT tables.
16320
16321 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
16322 been removed.  All 64-bit platforms should be migrated to the ACPI
16323 2.0 tables.  The actbl71.h header has been removed from the source
16324 tree.
16325
16326 All C macros defined within the subsystem have been prefixed with
16327 "ACPI_" to avoid collision with other system include files.
16328
16329 Removed the return value for the two AcpiOsPrint interfaces, since
16330 it is never used and causes lint warnings for ignoring the return
16331 value.
16332
16333 Added error checking to all internal mutex acquire and release
16334 calls.  Although a failure from one of these interfaces is
16335 probably a fatal system error, these checks will cause the
16336 immediate abort of the currently executing method or interface.
16337
16338 Fixed a problem where the AcpiSetCurrentResources interface could
16339 fault.  This was a side effect of the deployment of the new memory
16340 allocation model.
16341
16342 Fixed a couple of problems with the Global Lock support introduced
16343 in the last major build.  The "common" (1.0/2.0) internal FACS was
16344 being overwritten with the FACS signature and clobbering the
16345 Global Lock pointer.  Also, the actual firmware FACS was being
16346 unmapped after construction of the "common" FACS, preventing
16347 access to the actual Global Lock field within it.  The "common"
16348 internal FACS is no longer installed as an actual ACPI table; it
16349 is used simply as a global.
16350
16351 Code and Data Size: Current core subsystem library sizes are shown
16352 below.  These are the code and data sizes for the acpica.lib
16353 produced by the Microsoft Visual C++ 6.0 compiler, and these
16354 values do not include any ACPI driver or OSPM code.  The debug
16355 version of the code includes the debug output trace mechanism and
16356 has a larger code and data size.  Note that these values will vary
16357 depending on the efficiency of the compiler and the compiler
16358 options used during generation.
16359
16360   Previous Release (02_07_01)
16361     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16362     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16363   Current Release:
16364     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16365     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16366
16367
16368 2) Linux
16369
16370 Updated Linux-specific code for core macro and OSL interface
16371 changes described above.
16372
16373 Improved /proc/acpi/event. It now can be opened only once and has
16374 proper poll functionality.
16375
16376 Fixed and restructured power management (acpi_bus).
16377
16378 Only create /proc "view by type" when devices of that class exist.
16379
16380 Fixed "charging/discharging" bug (and others) in acpi_battery.
16381
16382 Improved thermal zone code.
16383
16384
16385 3) ASL Compiler, version X2039:
16386
16387
16388 Implemented the new compiler restriction on ASL String hex/octal
16389 escapes to non-null, ASCII values.  An error results if an invalid
16390 value is used.  (This will require an ACPI 2.0 specification
16391 change.)
16392
16393 AML object labels that are output to the optional C and ASM source
16394 are now prefixed with both the ACPI table signature and table ID
16395 to help guarantee uniqueness within a large BIOS project.
16396
16397
16398 ----------------------------------------
16399 Summary of changes for this label: 02_01_02
16400
16401 1) ACPI CA Core Subsystem:
16402
16403 ACPI 2.0 support is complete in the entire Core Subsystem and the
16404 ASL compiler. All new ACPI 2.0 operators are implemented and all
16405 other changes for ACPI 2.0 support are complete.  With
16406 simultaneous code and data optimizations throughout the subsystem,
16407 ACPI 2.0 support has been implemented with almost no additional
16408 cost in terms of code and data size.
16409
16410 Implemented a new mechanism for allocation of return buffers.  If
16411 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
16412 be allocated on behalf of the caller.  Consolidated all return
16413 buffer validation and allocation to a common procedure.  Return
16414 buffers will be allocated via the primary OSL allocation interface
16415 since it appears that a separate pool is not needed by most users.
16416 If a separate pool is required for these buffers, the caller can
16417 still use the original mechanism and pre-allocate the buffer(s).
16418
16419 Implemented support for string operands within the DerefOf
16420 operator.
16421
16422 Restructured the Hardware and Event managers to be table driven,
16423 simplifying the source code and reducing the amount of generated
16424 code.
16425
16426 Split the common read/write low-level ACPI register bitfield
16427 procedure into a separate read and write, simplifying the code
16428 considerably.
16429
16430 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
16431 used only a handful of times and didn't have enough critical mass
16432 for a separate interface.  Replaced with a common calloc procedure
16433 in the core.
16434
16435 Fixed a reported problem with the GPE number mapping mechanism
16436 that allows GPE1 numbers to be non-contiguous with GPE0.
16437 Reorganized the GPE information and shrunk a large array that was
16438 originally large enough to hold info for all possible GPEs (256)
16439 to simply large enough to hold all GPEs up to the largest GPE
16440 number on the machine.
16441
16442 Fixed a reported problem with resource structure alignment on 64-
16443 bit platforms.
16444
16445 Changed the AcpiEnableEvent and AcpiDisableEvent external
16446 interfaces to not require any flags for the common case of
16447 enabling/disabling a GPE.
16448
16449 Implemented support to allow a "Notify" on a Processor object.
16450
16451 Most TBDs in comments within the source code have been resolved
16452 and eliminated.
16453
16454
16455 Fixed a problem in the interpreter where a standalone parent
16456 prefix (^) was not handled correctly in the interpreter and
16457 debugger.
16458
16459 Removed obsolete and unnecessary GPE save/restore code.
16460
16461 Implemented Field support in the ASL Load operator.  This allows a
16462 table to be loaded from a named field, in addition to loading a
16463 table directly from an Operation Region.
16464
16465 Implemented timeout and handle support in the external Global Lock
16466 interfaces.
16467
16468 Fixed a problem in the AcpiDump utility where pathnames were no
16469 longer being generated correctly during the dump of named objects.
16470
16471 Modified the AML debugger to give a full display of if/while
16472 predicates instead of just one AML opcode at a time.  (The
16473 predicate can have several nested ASL statements.)  The old method
16474 was confusing during single stepping.
16475
16476 Code and Data Size: Current core subsystem library sizes are shown
16477 below. These are the code and data sizes for the acpica.lib
16478 produced by the Microsoft Visual C++ 6.0 compiler, and these
16479 values do not include any ACPI driver or OSPM code.  The debug
16480 version of the code includes the debug output trace mechanism and
16481 has a larger code and data size.  Note that these values will vary
16482 depending on the efficiency of the compiler and the compiler
16483 options used during generation.
16484
16485   Previous Release (12_18_01)
16486      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16487      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16488    Current Release:
16489      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16490      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16491
16492 2) Linux
16493
16494  Implemented fix for PIIX reverse throttling errata (Processor
16495 driver)
16496
16497 Added new Limit interface (Processor and Thermal drivers)
16498
16499 New thermal policy (Thermal driver)
16500
16501 Many updates to /proc
16502
16503 Battery "low" event support (Battery driver)
16504
16505 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
16506
16507 IA32 - IA64 initialization unification, no longer experimental
16508
16509 Menuconfig options redesigned
16510
16511 3) ASL Compiler, version X2037:
16512
16513 Implemented several new output features to simplify integration of
16514 AML code into  firmware: 1) Output the AML in C source code with
16515 labels for each named ASL object.  The    original ASL source code
16516 is interleaved as C comments. 2) Output the AML in ASM source code
16517 with labels and interleaved ASL    source. 3) Output the AML in
16518 raw hex table form, in either C or ASM.
16519
16520 Implemented support for optional string parameters to the
16521 LoadTable operator.
16522
16523 Completed support for embedded escape sequences within string
16524 literals.  The compiler now supports all single character escapes
16525 as well as the Octal and Hex escapes.  Note: the insertion of a
16526 null byte into a string literal (via the hex/octal escape) causes
16527 the string to be immediately terminated.  A warning is issued.
16528
16529 Fixed a problem where incorrect AML was generated for the case
16530 where an ASL namepath consists of a single parent prefix (
16531
16532 ) with no trailing name segments.
16533
16534 The compiler has been successfully generated with a 64-bit C
16535 compiler.
16536
16537
16538
16539
16540 ----------------------------------------
16541 Summary of changes for this label: 12_18_01
16542
16543 1) Linux
16544
16545 Enhanced blacklist with reason and severity fields. Any table's
16546 signature may now be used to identify a blacklisted system.
16547
16548 Call _PIC control method to inform the firmware which interrupt
16549 model the OS is using. Turn on any disabled link devices.
16550
16551 Cleaned up busmgr /proc error handling (Andreas Dilger)
16552
16553  2) ACPI CA Core Subsystem:
16554
16555 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
16556 while loop)
16557
16558 Completed implementation of the ACPI 2.0 "Continue",
16559 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
16560 operators.  All new ACPI 2.0 operators are now implemented in both
16561 the ASL compiler and the AML interpreter.  The only remaining ACPI
16562 2.0 task is support for the String data type in the DerefOf
16563 operator.  Fixed a problem with AcquireMutex where the status code
16564 was lost if the caller had to actually wait for the mutex.
16565
16566 Increased the maximum ASL Field size from 64K bits to 4G bits.
16567
16568 Completed implementation of the external Global Lock interfaces --
16569 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
16570 Handler parameters were added.
16571
16572 Completed another pass at removing warnings and issues when
16573 compiling with 64-bit compilers.  The code now compiles cleanly
16574 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
16575 add and subtract (diff) macros have changed considerably.
16576
16577
16578 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
16579 64-bit platforms, 32-bits on all others.  This type is used
16580 wherever memory allocation and/or the C sizeof() operator is used,
16581 and affects the OSL memory allocation interfaces AcpiOsAllocate
16582 and AcpiOsCallocate.
16583
16584 Implemented sticky user breakpoints in the AML debugger.
16585
16586 Code and Data Size: Current core subsystem library sizes are shown
16587 below. These are the code and data sizes for the acpica.lib
16588 produced by the Microsoft Visual C++ 6.0 compiler, and these
16589 values do not include any ACPI driver or OSPM code.  The debug
16590 version of the code includes the debug output trace mechanism and
16591 has a larger code and data size. Note that these values will vary
16592 depending on the efficiency of the compiler and the compiler
16593 options used during generation.
16594
16595   Previous Release (12_05_01)
16596      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16597      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16598    Current Release:
16599      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16600      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16601
16602  3) ASL Compiler, version X2034:
16603
16604 Now checks for (and generates an error if detected) the use of a
16605 Break or Continue statement without an enclosing While statement.
16606
16607
16608 Successfully generated the compiler with the Intel 64-bit C
16609 compiler.
16610
16611  ----------------------------------------
16612 Summary of changes for this label: 12_05_01
16613
16614  1) ACPI CA Core Subsystem:
16615
16616 The ACPI 2.0 CopyObject operator is fully implemented.  This
16617 operator creates a new copy of an object (and is also used to
16618 bypass the "implicit conversion" mechanism of the Store operator.)
16619
16620 The ACPI 2.0 semantics for the SizeOf operator are fully
16621 implemented.  The change is that performing a SizeOf on a
16622 reference object causes an automatic dereference of the object to
16623 tha actual value before the size is evaluated. This behavior was
16624 undefined in ACPI 1.0.
16625
16626 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
16627 have been implemented.  The interrupt polarity and mode are now
16628 independently set.
16629
16630 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
16631 appearing in Package objects were not properly converted to
16632 integers when the internal Package was converted to an external
16633 object (via the AcpiEvaluateObject interface.)
16634
16635 Fixed a problem with the namespace object deletion mechanism for
16636 objects created by control methods.  There were two parts to this
16637 problem: 1) Objects created during the initialization phase method
16638 parse were not being deleted, and 2) The object owner ID mechanism
16639 to track objects was broken.
16640
16641 Fixed a problem where the use of the ASL Scope operator within a
16642 control method would result in an invalid opcode exception.
16643
16644 Fixed a problem introduced in the previous label where the buffer
16645 length required for the _PRT structure was not being returned
16646 correctly.
16647
16648 Code and Data Size: Current core subsystem library sizes are shown
16649 below. These are the code and data sizes for the acpica.lib
16650 produced by the Microsoft Visual C++ 6.0 compiler, and these
16651 values do not include any ACPI driver or OSPM code.  The debug
16652 version of the code includes the debug output trace mechanism and
16653 has a larger code and data size.  Note that these values will vary
16654 depending on the efficiency of the compiler and the compiler
16655 options used during generation.
16656
16657   Previous Release (11_20_01)
16658      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16659      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16660
16661   Current Release:
16662      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16663      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16664
16665  2) Linux:
16666
16667 Updated all files to apply cleanly against 2.4.16.
16668
16669 Added basic PCI Interrupt Routing Table (PRT) support for IA32
16670 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
16671 version supports both static and dyanmic PRT entries, but dynamic
16672 entries are treated as if they were static (not yet
16673 reconfigurable).  Architecture- specific code to use this data is
16674 absent on IA32 but should be available shortly.
16675
16676 Changed the initialization sequence to start the ACPI interpreter
16677 (acpi_init) prior to initialization of the PCI driver (pci_init)
16678 in init/main.c.  This ordering is required to support PRT and
16679 facilitate other (future) enhancement.  A side effect is that the
16680 ACPI bus driver and certain device drivers can no longer be loaded
16681 as modules.
16682
16683 Modified the 'make menuconfig' options to allow PCI Interrupt
16684 Routing support to be included without the ACPI Bus and other
16685 device drivers.
16686
16687  3) ASL Compiler, version X2033:
16688
16689 Fixed some issues with the use of the new CopyObject and
16690 DataTableRegion operators.  Both are fully functional.
16691
16692  ----------------------------------------
16693 Summary of changes for this label: 11_20_01
16694
16695  20 November 2001.  Summary of changes for this release.
16696
16697  1) ACPI CA Core Subsystem:
16698
16699 Updated Index support to match ACPI 2.0 semantics.  Storing a
16700 Integer, String, or Buffer to an Index of a Buffer will store only
16701 the least-significant byte of the source to the Indexed buffer
16702 byte.  Multiple writes are not performed.
16703
16704 Fixed a problem where the access type used in an AccessAs ASL
16705 operator was not recorded correctly into the field object.
16706
16707 Fixed a problem where ASL Event objects were created in a
16708 signalled state. Events are now created in an unsignalled state.
16709
16710 The internal object cache is now purged after table loading and
16711 initialization to reduce the use of dynamic kernel memory -- on
16712 the assumption that object use is greatest during the parse phase
16713 of the entire table (versus the run-time use of individual control
16714 methods.)
16715
16716 ACPI 2.0 variable-length packages are now fully operational.
16717
16718 Code and Data Size: Code and Data optimizations have permitted new
16719 feature development with an actual reduction in the library size.
16720 Current core subsystem library sizes are shown below.  These are
16721 the code and data sizes for the acpica.lib produced by the
16722 Microsoft Visual C++ 6.0 compiler, and these values do not include
16723 any ACPI driver or OSPM code.  The debug version of the code
16724 includes the debug output trace mechanism and has a larger code
16725 and data size.  Note that these values will vary depending on the
16726 efficiency of the compiler and the compiler options used during
16727 generation.
16728
16729   Previous Release (11_09_01):
16730      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16731      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16732
16733   Current Release:
16734      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16735      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16736
16737  2) Linux:
16738
16739 Enhanced the ACPI boot-time initialization code to allow the use
16740 of Local APIC tables for processor enumeration on IA-32, and to
16741 pave the way for a fully MPS-free boot (on SMP systems) in the
16742 near future.  This functionality replaces
16743 arch/i386/kernel/acpitables.c, which was introduced in an earlier
16744 2.4.15-preX release.  To enable this feature you must add
16745 "acpi_boot=on" to the kernel command line -- see the help entry
16746 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
16747 the works...
16748
16749 Restructured the configuration options to allow boot-time table
16750 parsing support without inclusion of the ACPI Interpreter (and
16751 other) code.
16752
16753 NOTE: This release does not include fixes for the reported events,
16754 power-down, and thermal passive cooling issues (coming soon).
16755
16756  3) ASL Compiler:
16757
16758 Added additional typechecking for Fields within restricted access
16759 Operation Regions.  All fields within EC and CMOS regions must be
16760 declared with ByteAcc. All fields withing SMBus regions must be
16761 declared with the BufferAcc access type.
16762
16763 Fixed a problem where the listing file output of control methods
16764 no longer interleaved the actual AML code with the ASL source
16765 code.
16766
16767
16768
16769
16770 ----------------------------------------
16771 Summary of changes for this label: 11_09_01
16772
16773 1) ACPI CA Core Subsystem:
16774
16775 Implemented ACPI 2.0-defined support for writes to fields with a
16776 Buffer, String, or Integer source operand that is smaller than the
16777 target field. In these cases, the source operand is zero-extended
16778 to fill the target field.
16779
16780 Fixed a problem where a Field starting bit offset (within the
16781 parent operation region) was calculated incorrectly if the
16782
16783 alignment of the field differed from the access width.  This
16784 affected CreateWordField, CreateDwordField, CreateQwordField, and
16785 possibly other fields that use the "AccessAny" keyword.
16786
16787 Fixed a problem introduced in the 11_02_01 release where indirect
16788 stores through method arguments did not operate correctly.
16789
16790 2) Linux:
16791
16792 Implemented boot-time ACPI table parsing support
16793 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
16794 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
16795 legacy BIOS interfaces (e.g. MPS) for the configuration of system
16796 processors, memory, and interrupts during setup_arch().  Note that
16797 this patch does not include the required architecture-specific
16798 changes required to apply this information -- subsequent patches
16799 will be posted for both IA32 and IA64 to achieve this.
16800
16801 Added low-level sleep support for IA32 platforms, courtesy of Pat
16802 Mochel. This allows IA32 systems to transition to/from various
16803 sleeping states (e.g. S1, S3), although the lack of a centralized
16804 driver model and power-manageable drivers will prevent its
16805 (successful) use on most systems.
16806
16807 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
16808 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
16809 tables" option, etc.
16810
16811 Increased the default timeout for the EC driver from 1ms to 10ms
16812 (1000 cycles of 10us) to try to address AE_TIME errors during EC
16813 transactions.
16814
16815  ----------------------------------------
16816 Summary of changes for this label: 11_02_01
16817
16818 1) ACPI CA Core Subsystem:
16819
16820 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
16821 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
16822 implemented.
16823
16824 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
16825 changes to support ACPI 2.0 Qword field access.  Read/Write
16826 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
16827 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
16828 the value parameter for the address space handler interface is now
16829 an ACPI_INTEGER.  OSL implementations of these interfaces must now
16830 handle the case where the Width parameter is 64.
16831
16832 Index Fields: Fixed a problem where unaligned bit assembly and
16833 disassembly for IndexFields was not supported correctly.
16834
16835 Index and Bank Fields:  Nested Index and Bank Fields are now
16836 supported. During field access, a check is performed to ensure
16837 that the value written to an Index or Bank register is not out of
16838 the range of the register.  The Index (or Bank) register is
16839 written before each access to the field data. Future support will
16840 include allowing individual IndexFields to be wider than the
16841 DataRegister width.
16842
16843 Fields: Fixed a problem where the AML interpreter was incorrectly
16844 attempting to write beyond the end of a Field/OpRegion.  This was
16845 a boundary case that occurred when a DWORD field was written to a
16846 BYTE access OpRegion, forcing multiple writes and causing the
16847 interpreter to write one datum too many.
16848
16849 Fields: Fixed a problem with Field/OpRegion access where the
16850 starting bit address of a field was incorrectly calculated if the
16851 current access type was wider than a byte (WordAcc, DwordAcc, or
16852 QwordAcc).
16853
16854 Fields: Fixed a problem where forward references to individual
16855 FieldUnits (individual Field names within a Field definition) were
16856 not resolved during the AML table load.
16857
16858 Fields: Fixed a problem where forward references from a Field
16859 definition to the parent Operation Region definition were not
16860 resolved during the AML table load.
16861
16862 Fields: Duplicate FieldUnit names within a scope are now detected
16863 during AML table load.
16864
16865 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
16866 returned an incorrect name for the root node.
16867
16868 Code and Data Size: Code and Data optimizations have permitted new
16869 feature development with an actual reduction in the library size.
16870 Current core subsystem library sizes are shown below.  These are
16871 the code and data sizes for the acpica.lib produced by the
16872 Microsoft Visual C++ 6.0 compiler, and these values do not include
16873 any ACPI driver or OSPM code.  The debug version of the code
16874 includes the debug output trace mechanism and has a larger code
16875 and data size.  Note that these values will vary depending on the
16876 efficiency of the compiler and the compiler options used during
16877 generation.
16878
16879   Previous Release (10_18_01):
16880      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16881      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16882
16883   Current Release:
16884      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16885      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16886
16887  2) Linux:
16888
16889 Improved /proc processor output (Pavel Machek) Re-added
16890 MODULE_LICENSE("GPL") to all modules.
16891
16892  3) ASL Compiler version X2030:
16893
16894 Duplicate FieldUnit names within a scope are now detected and
16895 flagged as errors.
16896
16897  4) Documentation:
16898
16899 Programmer Reference updated to reflect OSL and address space
16900 handler interface changes described above.
16901
16902 ----------------------------------------
16903 Summary of changes for this label: 10_18_01
16904
16905 ACPI CA Core Subsystem:
16906
16907 Fixed a problem with the internal object reference count mechanism
16908 that occasionally caused premature object deletion. This resolves
16909 all of the outstanding problem reports where an object is deleted
16910 in the middle of an interpreter evaluation.  Although this problem
16911 only showed up in rather obscure cases, the solution to the
16912 problem involved an adjustment of all reference counts involving
16913 objects attached to namespace nodes.
16914
16915 Fixed a problem with Field support in the interpreter where
16916 writing to an aligned field whose length is an exact multiple (2
16917 or greater) of the field access granularity would cause an attempt
16918 to write beyond the end of the field.
16919
16920 The top level AML opcode execution functions within the
16921 interpreter have been renamed with a more meaningful and
16922 consistent naming convention.  The modules exmonad.c and
16923 exdyadic.c were eliminated.  New modules are exoparg1.c,
16924 exoparg2.c, exoparg3.c, and exoparg6.c.
16925
16926 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
16927
16928 Fixed a problem where the AML debugger was causing some internal
16929 objects to not be deleted during subsystem termination.
16930
16931 Fixed a problem with the external AcpiEvaluateObject interface
16932 where the subsystem would fault if the named object to be
16933 evaluated refered to a constant such as Zero, Ones, etc.
16934
16935 Fixed a problem with IndexFields and BankFields where the
16936 subsystem would fault if the index, data, or bank registers were
16937 not defined in the same scope as the field itself.
16938
16939 Added printf format string checking for compilers that support
16940 this feature.  Corrected more than 50 instances of issues with
16941 format specifiers within invocations of ACPI_DEBUG_PRINT
16942 throughout the core subsystem code.
16943
16944 The ASL "Revision" operator now returns the ACPI support level
16945 implemented in the core - the value "2" since the ACPI 2.0 support
16946 is more than 50% implemented.
16947
16948 Enhanced the output of the AML debugger "dump namespace" command
16949 to output in a more human-readable form.
16950
16951 Current core subsystem library code sizes are shown below.  These
16952
16953 are the code and data sizes for the acpica.lib produced by the
16954 Microsoft Visual C++ 6.0 compiler, and these values do not include
16955 any ACPI driver or OSPM code.  The debug version of the code
16956 includes the full debug trace mechanism -- leading to a much
16957
16958 larger code and data size.  Note that these values will vary
16959 depending on the efficiency of the compiler and the compiler
16960 options used during generation.
16961
16962      Previous Label (09_20_01):
16963      Non-Debug Version:    65K Code,     5K Data,     70K Total
16964      Debug Version:       138K Code,    58K Data,    196K Total
16965
16966      This Label:
16967
16968      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16969      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16970
16971 Linux:
16972
16973 Implemented a "Bad BIOS Blacklist" to track machines that have
16974 known ASL/AML problems.
16975
16976 Enhanced the /proc interface for the thermal zone driver and added
16977 support for _HOT (the critical suspend trip point).  The 'info'
16978 file now includes threshold/policy information, and allows setting
16979 of _SCP (cooling preference) and _TZP (polling frequency) values
16980 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
16981 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
16982 preference to the passive/quiet mode (if supported by the ASL).
16983
16984 Implemented a workaround for a gcc bug that resuted in an OOPs
16985 when loading the control method battery driver.
16986
16987  ----------------------------------------
16988 Summary of changes for this label: 09_20_01
16989
16990  ACPI CA Core Subsystem:
16991
16992 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
16993 modified to allow individual GPE levels to be flagged as wake-
16994 enabled (i.e., these GPEs are to remain enabled when the platform
16995 sleeps.)
16996
16997 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
16998 support wake-enabled GPEs.  This means that upon entering the
16999 sleep state, all GPEs that are not wake-enabled are disabled.
17000 When leaving the sleep state, these GPEs are reenabled.
17001
17002 A local double-precision divide/modulo module has been added to
17003 enhance portability to OS kernels where a 64-bit math library is
17004 not available.  The new module is "utmath.c".
17005
17006 Several optimizations have been made to reduce the use of CPU
17007 stack.  Originally over 2K, the maximum stack usage is now below
17008 2K at 1860  bytes (1.82k)
17009
17010 Fixed a problem with the AcpiGetFirmwareTable interface where the
17011 root table pointer was not mapped into a logical address properly.
17012
17013 Fixed a problem where a NULL pointer was being dereferenced in the
17014 interpreter code for the ASL Notify operator.
17015
17016 Fixed a problem where the use of the ASL Revision operator
17017 returned an error. This operator now returns the current version
17018 of the ACPI CA core subsystem.
17019
17020 Fixed a problem where objects passed as control method parameters
17021 to AcpiEvaluateObject were always deleted at method termination.
17022 However, these objects may end up being stored into the namespace
17023 by the called method.  The object reference count mechanism was
17024 applied to these objects instead of a force delete.
17025
17026 Fixed a problem where static strings or buffers (contained in the
17027 AML code) that are declared as package elements within the ASL
17028 code could cause a fault because the interpreter would attempt to
17029 delete them.  These objects are now marked with the "static
17030 object" flag to prevent any attempt to delete them.
17031
17032 Implemented an interpreter optimization to use operands directly
17033 from the state object instead of extracting the operands to local
17034 variables.  This reduces stack use and code size, and improves
17035 performance.
17036
17037 The module exxface.c was eliminated as it was an unnecessary extra
17038 layer of code.
17039
17040 Current core subsystem library code sizes are shown below.  These
17041 are the code and data sizes for the acpica.lib produced by the
17042 Microsoft Visual C++ 6.0 compiler, and these values do not include
17043 any ACPI driver or OSPM code.  The debug version of the code
17044 includes the full debug trace mechanism -- leading to a much
17045 larger code and data size.  Note that these values will vary
17046 depending on the efficiency of the compiler and the compiler
17047 options used during generation.
17048
17049   Non-Debug Version:  65K Code,   5K Data,   70K Total
17050 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
17051 Total  (Previously 195K)
17052
17053 Linux:
17054
17055 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
17056 Integer objects are now 64 bits wide
17057
17058 All Acpi data types and structures are now in lower case.  Only
17059 Acpi macros are upper case for differentiation.
17060
17061  Documentation:
17062
17063 Changes to the external interfaces as described above.
17064
17065  ----------------------------------------
17066 Summary of changes for this label: 08_31_01
17067
17068  ACPI CA Core Subsystem:
17069
17070 A bug with interpreter implementation of the ASL Divide operator
17071 was found and fixed.  The implicit function return value (not the
17072 explicit store operands) was returning the remainder instead of
17073 the quotient.  This was a longstanding bug and it fixes several
17074 known outstanding issues on various platforms.
17075
17076 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
17077 been further optimized for size.  There are 700 invocations of the
17078 DEBUG_PRINT macro alone, so each optimization reduces the size of
17079 the debug version of the subsystem significantly.
17080
17081 A stack trace mechanism has been implemented.  The maximum stack
17082 usage is about 2K on 32-bit platforms.  The debugger command "stat
17083 stack" will display the current maximum stack usage.
17084
17085 All public symbols and global variables within the subsystem are
17086 now prefixed with the string "Acpi".  This keeps all of the
17087 symbols grouped together in a kernel map, and avoids conflicts
17088 with other kernel subsystems.
17089
17090 Most of the internal fixed lookup tables have been moved into the
17091 code segment via the const operator.
17092
17093 Several enhancements have been made to the interpreter to both
17094 reduce the code size and improve performance.
17095
17096 Current core subsystem library code sizes are shown below.  These
17097 are the code and data sizes for the acpica.lib produced by the
17098 Microsoft Visual C++ 6.0 compiler, and these values do not include
17099 any ACPI driver or OSPM code.  The debug version of the code
17100 includes the full debug trace mechanism which contains over 700
17101 invocations of the DEBUG_PRINT macro, 500 function entry macro
17102 invocations, and over 900 function exit macro invocations --
17103 leading to a much larger code and data size.  Note that these
17104 values will vary depending on the efficiency of the compiler and
17105 the compiler options used during generation.
17106
17107         Non-Debug Version:  64K Code,   5K Data,   69K Total
17108 Debug Version:     137K Code,  58K Data,  195K Total
17109
17110  Linux:
17111
17112 Implemented wbinvd() macro, pending a kernel-wide definition.
17113
17114 Fixed /proc/acpi/event to handle poll() and short reads.
17115
17116  ASL Compiler, version X2026:
17117
17118 Fixed a problem introduced in the previous label where the AML
17119
17120 code emitted for package objects produced packages with zero
17121 length.
17122
17123  ----------------------------------------
17124 Summary of changes for this label: 08_16_01
17125
17126 ACPI CA Core Subsystem:
17127
17128 The following ACPI 2.0 ASL operators have been implemented in the
17129 AML interpreter (These are already supported by the Intel ASL
17130 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
17131 ToBuffer.  Support for 64-bit AML constants is implemented in the
17132 AML parser, debugger, and disassembler.
17133
17134 The internal memory tracking mechanism (leak detection code) has
17135 been upgraded to reduce the memory overhead (a separate tracking
17136 block is no longer allocated for each memory allocation), and now
17137 supports all of the internal object caches.
17138
17139 The data structures and code for the internal object caches have
17140 been coelesced and optimized so that there is a single cache and
17141 memory list data structure and a single group of functions that
17142 implement generic cache management.  This has reduced the code
17143 size in both the debug and release versions of the subsystem.
17144
17145 The DEBUG_PRINT macro(s) have been optimized for size and replaced
17146 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
17147 different, because it generates a single call to an internal
17148 function.  This results in a savings of about 90 bytes per
17149 invocation, resulting in an overall code and data savings of about
17150 16% in the debug version of the subsystem.
17151
17152  Linux:
17153
17154 Fixed C3 disk corruption problems and re-enabled C3 on supporting
17155 machines.
17156
17157 Integrated low-level sleep code by Patrick Mochel.
17158
17159 Further tweaked source code Linuxization.
17160
17161 Other minor fixes.
17162
17163  ASL Compiler:
17164
17165 Support for ACPI 2.0 variable length packages is fixed/completed.
17166
17167 Fixed a problem where the optional length parameter for the ACPI
17168 2.0 ToString operator.
17169
17170 Fixed multiple extraneous error messages when a syntax error is
17171 detected within the declaration line of a control method.
17172
17173  ----------------------------------------
17174 Summary of changes for this label: 07_17_01
17175
17176 ACPI CA Core Subsystem:
17177
17178 Added a new interface named AcpiGetFirmwareTable to obtain any
17179 ACPI table via the ACPI signature.  The interface can be called at
17180 any time during kernel initialization, even before the kernel
17181 virtual memory manager is initialized and paging is enabled.  This
17182 allows kernel subsystems to obtain ACPI tables very early, even
17183 before the ACPI CA subsystem is initialized.
17184
17185 Fixed a problem where Fields defined with the AnyAcc attribute
17186 could be resolved to the incorrect address under the following
17187 conditions: 1) the field width is larger than 8 bits and 2) the
17188 parent operation region is not defined on a DWORD boundary.
17189
17190 Fixed a problem where the interpreter is not being locked during
17191 namespace initialization (during execution of the _INI control
17192 methods), causing an error when an attempt is made to release it
17193 later.
17194
17195 ACPI 2.0 support in the AML Interpreter has begun and will be
17196 ongoing throughout the rest of this year.  In this label, The Mod
17197 operator is implemented.
17198
17199 Added a new data type to contain full PCI addresses named
17200 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
17201 and Function values.
17202
17203  Linux:
17204
17205 Enhanced the Linux version of the source code to change most
17206 capitalized ACPI type names to lowercase. For example, all
17207 instances of ACPI_STATUS are changed to acpi_status.  This will
17208 result in a large diff, but the change is strictly cosmetic and
17209 aligns the CA code closer to the Linux coding standard.
17210
17211 OSL Interfaces:
17212
17213 The interfaces to the PCI configuration space have been changed to
17214 add the PCI Segment number and to split the single 32-bit combined
17215 DeviceFunction field into two 16-bit fields.  This was
17216 accomplished by moving the four values that define an address in
17217 PCI configuration space (segment, bus, device, and function) to
17218 the new ACPI_PCI_ID structure.
17219
17220 The changes to the PCI configuration space interfaces led to a
17221 reexamination of the complete set of address space access
17222 interfaces for PCI, I/O, and Memory.  The previously existing 18
17223 interfaces have proven difficult to maintain (any small change
17224 must be propagated across at least 6 interfaces) and do not easily
17225 allow for future expansion to 64 bits if necessary.  Also, on some
17226 systems, it would not be appropriate to demultiplex the access
17227 width (8, 16, 32,or 64) before calling the OSL if the
17228 corresponding native OS interfaces contain a similar access width
17229 parameter.  For these reasons, the 18 address space interfaces
17230 have been replaced by these 6 new ones:
17231
17232 AcpiOsReadPciConfiguration
17233 AcpiOsWritePciConfiguration
17234 AcpiOsReadMemory
17235 AcpiOsWriteMemory
17236 AcpiOsReadPort
17237 AcpiOsWritePort
17238
17239 Added a new interface named AcpiOsGetRootPointer to allow the OSL
17240 to perform the platform and/or OS-specific actions necessary to
17241 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
17242 interface will simply call down to the CA core to perform the low-
17243 memory search for the table.  On IA-64, the RSDP is obtained from
17244 EFI.  Migrating this interface to the OSL allows the CA core to
17245
17246 remain OS and platform independent.
17247
17248 Added a new interface named AcpiOsSignal to provide a generic
17249 "function code and pointer" interface for various miscellaneous
17250 signals and notifications that must be made to the host OS.   The
17251 first such signals are intended to support the ASL Fatal and
17252 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
17253 interface has been obsoleted.
17254
17255 The definition of the AcpiFormatException interface has been
17256 changed to simplify its use.  The caller no longer must supply a
17257 buffer to the call; A pointer to a const string is now returned
17258 directly.  This allows the call to be easily used in printf
17259 statements, etc. since the caller does not have to manage a local
17260 buffer.
17261
17262
17263  ASL Compiler, Version X2025:
17264
17265 The ACPI 2.0 Switch/Case/Default operators have been implemented
17266 and are fully functional.  They will work with all ACPI 1.0
17267 interpreters, since the operators are simply translated to If/Else
17268 pairs.
17269
17270 The ACPI 2.0 ElseIf operator is implemented and will also work
17271 with 1.0 interpreters, for the same reason.
17272
17273 Implemented support for ACPI 2.0 variable-length packages.  These
17274 packages have a separate opcode, and their size is determined by
17275 the interpreter at run-time.
17276
17277 Documentation The ACPI CA Programmer Reference has been updated to
17278 reflect the new interfaces and changes to existing interfaces.
17279
17280  ------------------------------------------
17281 Summary of changes for this label: 06_15_01
17282
17283  ACPI CA Core Subsystem:
17284
17285 Fixed a problem where a DWORD-accessed field within a Buffer
17286 object would get its byte address inadvertently rounded down to
17287 the nearest DWORD.  Buffers are always Byte-accessible.
17288
17289  ASL Compiler, version X2024:
17290
17291 Fixed a problem where the Switch() operator would either fault or
17292 hang the compiler.  Note however, that the AML code for this ACPI
17293 2.0 operator is not yet implemented.
17294
17295 Compiler uses the new AcpiOsGetTimer interface to obtain compile
17296 timings.
17297
17298 Implementation of the CreateField operator automatically converts
17299 a reference to a named field within a resource descriptor from a
17300 byte offset to a bit offset if required.
17301
17302 Added some missing named fields from the resource descriptor
17303 support. These are the names that are automatically created by the
17304 compiler to reference fields within a descriptor.  They are only
17305 valid at compile time and are not passed through to the AML
17306 interpreter.
17307
17308 Resource descriptor named fields are now typed as Integers and
17309 subject to compile-time typechecking when used in expressions.
17310
17311  ------------------------------------------
17312 Summary of changes for this label: 05_18_01
17313
17314  ACPI CA Core Subsystem:
17315
17316 Fixed a couple of problems in the Field support code where bits
17317 from adjacent fields could be returned along with the proper field
17318 bits. Restructured the field support code to improve performance,
17319 readability and maintainability.
17320
17321 New DEBUG_PRINTP macro automatically inserts the procedure name
17322 into the output, saving hundreds of copies of procedure name
17323 strings within the source, shrinking the memory footprint of the
17324 debug version of the core subsystem.
17325
17326  Source Code Structure:
17327
17328 The source code directory tree was restructured to reflect the
17329 current organization of the component architecture.  Some files
17330 and directories have been moved and/or renamed.
17331
17332  Linux:
17333
17334 Fixed leaking kacpidpc processes.
17335
17336 Fixed queueing event data even when /proc/acpi/event is not
17337 opened.
17338
17339  ASL Compiler, version X2020:
17340
17341 Memory allocation performance enhancement - over 24X compile time
17342 improvement on large ASL files.  Parse nodes and namestring
17343 buffers are now allocated from a large internal compiler buffer.
17344
17345 The temporary .SRC file is deleted unless the "-s" option is
17346 specified
17347
17348 The "-d" debug output option now sends all output to the .DBG file
17349 instead of the console.
17350
17351 "External" second parameter is now optional
17352
17353 "ElseIf" syntax now properly allows the predicate
17354
17355 Last operand to "Load" now recognized as a Target operand
17356
17357 Debug object can now be used anywhere as a normal object.
17358
17359 ResourceTemplate now returns an object of type BUFFER
17360
17361 EISAID now returns an object of type INTEGER
17362
17363 "Index" now works with a STRING operand
17364
17365 "LoadTable" now accepts optional parameters
17366
17367 "ToString" length parameter is now optional
17368
17369 "Interrupt (ResourceType," parse error fixed.
17370
17371 "Register" with a user-defined region space parse error fixed
17372
17373 Escaped backslash at the end of a string ("\\") scan/parse error
17374 fixed
17375
17376 "Revision" is now an object of type INTEGER.
17377
17378
17379
17380 ------------------------------------------
17381 Summary of changes for this label: 05_02_01
17382
17383 Linux:
17384
17385 /proc/acpi/event now blocks properly.
17386
17387 Removed /proc/sys/acpi. You can still dump your DSDT from
17388 /proc/acpi/dsdt.
17389
17390  ACPI CA Core Subsystem:
17391
17392 Fixed a problem introduced in the previous label where some of the
17393 "small" resource descriptor types were not recognized.
17394
17395 Improved error messages for the case where an ASL Field is outside
17396 the range of the parent operation region.
17397
17398  ASL Compiler, version X2018:
17399
17400
17401 Added error detection for ASL Fields that extend beyond the length
17402 of the parent operation region (only if the length of the region
17403 is known at compile time.)  This includes fields that have a
17404 minimum access width that is smaller than the parent region, and
17405 individual field units that are partially or entirely beyond the
17406 extent of the parent.
17407
17408
17409
17410 ------------------------------------------
17411 Summary of changes for this label: 04_27_01
17412
17413  ACPI CA Core Subsystem:
17414
17415 Fixed a problem where the namespace mutex could be released at the
17416 wrong time during execution of AcpiRemoveAddressSpaceHandler.
17417
17418 Added optional thread ID output for debug traces, to simplify
17419 debugging of multiple threads.  Added context switch notification
17420 when the debug code realizes that a different thread is now
17421 executing ACPI code.
17422
17423 Some additional external data types have been prefixed with the
17424 string "ACPI_" for consistency.  This may effect existing code.
17425 The data types affected are the external callback typedefs - e.g.,
17426
17427 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
17428
17429  Linux:
17430
17431 Fixed an issue with the OSL semaphore implementation where a
17432 thread was waking up with an error from receiving a SIGCHLD
17433 signal.
17434
17435 Linux version of ACPI CA now uses the system C library for string
17436 manipulation routines instead of a local implementation.
17437
17438 Cleaned up comments and removed TBDs.
17439
17440  ASL Compiler, version X2017:
17441
17442 Enhanced error detection and reporting for all file I/O
17443 operations.
17444
17445  Documentation:
17446
17447 Programmer Reference updated to version 1.06.
17448
17449
17450
17451 ------------------------------------------
17452 Summary of changes for this label: 04_13_01
17453
17454  ACPI CA Core Subsystem:
17455
17456 Restructured support for BufferFields and RegionFields.
17457 BankFields support is now fully operational.  All known 32-bit
17458 limitations on field sizes have been removed.  Both BufferFields
17459 and (Operation) RegionFields are now supported by the same field
17460 management code.
17461
17462 Resource support now supports QWORD address and IO resources. The
17463 16/32/64 bit address structures and the Extended IRQ structure
17464 have been changed to properly handle Source Resource strings.
17465
17466 A ThreadId of -1 is now used to indicate a "mutex not acquired"
17467 condition internally and must never be returned by AcpiOsThreadId.
17468 This reserved value was changed from 0 since Unix systems allow a
17469 thread ID of 0.
17470
17471 Linux:
17472
17473 Driver code reorganized to enhance portability
17474
17475 Added a kernel configuration option to control ACPI_DEBUG
17476
17477 Fixed the EC driver to honor _GLK.
17478
17479 ASL Compiler, version X2016:
17480
17481 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
17482 address space was set to 0, not 0x7f as it should be.
17483
17484  ------------------------------------------
17485 Summary of changes for this label: 03_13_01
17486
17487  ACPI CA Core Subsystem:
17488
17489 During ACPI initialization, the _SB_._INI method is now run if
17490 present.
17491
17492 Notify handler fix - notifies are deferred until the parent method
17493 completes execution.  This fixes the "mutex already acquired"
17494 issue seen occasionally.
17495
17496 Part of the "implicit conversion" rules in ACPI 2.0 have been
17497 found to cause compatibility problems with existing ASL/AML.  The
17498 convert "result-to-target-type" implementation has been removed
17499 for stores to method Args and Locals.  Source operand conversion
17500 is still fully implemented.  Possible changes to ACPI 2.0
17501 specification pending.
17502
17503 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
17504 length.
17505
17506 Fix for compiler warnings for 64-bit compiles.
17507
17508  Linux:
17509
17510 /proc output aligned for easier parsing.
17511
17512 Release-version compile problem fixed.
17513
17514 New kernel configuration options documented in Configure.help.
17515
17516 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
17517 context" message.
17518
17519  OSPM:
17520
17521 Power resource driver integrated with bus manager.
17522
17523 Fixed kernel fault during active cooling for thermal zones.
17524
17525 Source Code:
17526
17527 The source code tree has been restructured.
17528
17529
17530
17531 ------------------------------------------
17532 Summary of changes for this label: 03_02_01
17533
17534  Linux OS Services Layer (OSL):
17535
17536 Major revision of all Linux-specific code.
17537
17538 Modularized all ACPI-specific drivers.
17539
17540 Added new thermal zone and power resource drivers.
17541
17542 Revamped /proc interface (new functionality is under /proc/acpi).
17543
17544 New kernel configuration options.
17545
17546  Linux known issues:
17547
17548 New kernel configuration options not documented in Configure.help
17549 yet.
17550
17551
17552 Module dependencies not currently implemented. If used, they
17553 should be loaded in this order: busmgr, power, ec, system,
17554 processor, battery, ac_adapter, button, thermal.
17555
17556 Modules will not load if CONFIG_MODVERSION is set.
17557
17558 IBM 600E - entering S5 may reboot instead of shutting down.
17559
17560 IBM 600E - Sleep button may generate "Invalid <NULL> context"
17561 message.
17562
17563 Some systems may fail with "execution mutex already acquired"
17564 message.
17565
17566  ACPI CA Core Subsystem:
17567
17568 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
17569 for the  deadlock detection code. Defined to return a non-zero, 32-
17570 bit thread ID for the currently executing thread.  May be a non-
17571 zero constant integer on single-thread systems.
17572
17573 Implemented deadlock detection for internal subsystem mutexes.  We
17574 may add conditional compilation for this code (debug only) later.
17575
17576 ASL/AML Mutex object semantics are now fully supported.  This
17577 includes multiple acquires/releases by owner and support for the
17578
17579 Mutex SyncLevel parameter.
17580
17581 A new "Force Release" mechanism automatically frees all ASL
17582 Mutexes that have been acquired but not released when a thread
17583 exits the interpreter.  This forces conformance to the ACPI spec
17584 ("All mutexes must be released when an invocation exits") and
17585 prevents deadlocked ASL threads.  This mechanism can be expanded
17586 (later) to monitor other resource acquisitions if OEM ASL code
17587 continues to misbehave (which it will).
17588
17589 Several new ACPI exception codes have been added for the Mutex
17590 support.
17591
17592 Recursive method calls are now allowed and supported (the ACPI
17593 spec does in fact allow recursive method calls.)  The number of
17594 recursive calls is subject to the restrictions imposed by the
17595 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
17596 parameter.
17597
17598 Implemented support for the SyncLevel parameter for control
17599 methods (ACPI 2.0 feature)
17600
17601 Fixed a deadlock problem when multiple threads attempted to use
17602 the interpreter.
17603
17604 Fixed a problem where the string length of a String package
17605 element was not always set in a package returned from
17606 AcpiEvaluateObject.
17607
17608 Fixed a problem where the length of a String package element was
17609 not always included in the length of the overall package returned
17610 from AcpiEvaluateObject.
17611
17612 Added external interfaces (Acpi*) to the ACPI debug memory
17613 manager.  This manager keeps a list of all outstanding
17614 allocations, and can therefore detect memory leaks and attempts to
17615 free memory blocks more than once. Useful for code such as the
17616 power manager, etc.  May not be appropriate for device drivers.
17617 Performance with the debug code enabled is slow.
17618
17619 The ACPI Global Lock is now an optional hardware element.
17620
17621  ASL Compiler Version X2015:
17622
17623 Integrated changes to allow the compiler to be generated on
17624 multiple platforms.
17625
17626 Linux makefile added to generate the compiler on Linux
17627
17628  Source Code:
17629
17630 All platform-specific headers have been moved to their own
17631 subdirectory, Include/Platform.
17632
17633 New source file added, Interpreter/ammutex.c
17634
17635 New header file, Include/acstruct.h
17636
17637  Documentation:
17638
17639 The programmer reference has been updated for the following new
17640 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
17641
17642  ------------------------------------------
17643 Summary of changes for this label: 02_08_01
17644
17645 Core ACPI CA Subsystem: Fixed a problem where an error was
17646 incorrectly returned if the return resource buffer was larger than
17647 the actual data (in the resource interfaces).
17648
17649 References to named objects within packages are resolved to the
17650
17651 full pathname string before packages are returned directly (via
17652 the AcpiEvaluateObject interface) or indirectly via the resource
17653 interfaces.
17654
17655 Linux OS Services Layer (OSL):
17656
17657 Improved /proc battery interface.
17658
17659
17660 Added C-state debugging output and other miscellaneous fixes.
17661
17662 ASL Compiler Version X2014:
17663
17664 All defined method arguments can now be used as local variables,
17665 including the ones that are not actually passed in as parameters.
17666 The compiler tracks initialization of the arguments and issues an
17667 exception if they are used without prior assignment (just like
17668 locals).
17669
17670 The -o option now specifies a filename prefix that is used for all
17671 output files, including the AML output file.  Otherwise, the
17672 default behavior is as follows:  1) the AML goes to the file
17673 specified in the DSDT.  2) all other output files use the input
17674 source filename as the base.
17675
17676  ------------------------------------------
17677 Summary of changes for this label: 01_25_01
17678
17679 Core ACPI CA Subsystem: Restructured the implementation of object
17680 store support within the  interpreter.  This includes support for
17681 the Store operator as well  as any ASL operators that include a
17682 target operand.
17683
17684 Partially implemented support for Implicit Result-to-Target
17685 conversion. This is when a result object is converted on the fly
17686 to the type of  an existing target object.  Completion of this
17687 support is pending  further analysis of the ACPI specification
17688 concerning this matter.
17689
17690 CPU-specific code has been removed from the subsystem (hardware
17691 directory).
17692
17693 New Power Management Timer functions added
17694
17695 Linux OS Services Layer (OSL): Moved system state transition code
17696 to the core, fixed it, and modified  Linux OSL accordingly.
17697
17698 Fixed C2 and C3 latency calculations.
17699
17700
17701 We no longer use the compilation date for the version message on
17702 initialization, but retrieve the version from AcpiGetSystemInfo().
17703
17704 Incorporated for fix Sony VAIO machines.
17705
17706 Documentation:  The Programmer Reference has been updated and
17707 reformatted.
17708
17709
17710 ASL Compiler:  Version X2013: Fixed a problem where the line
17711 numbering and error reporting could get out  of sync in the
17712 presence of multiple include files.
17713
17714  ------------------------------------------
17715 Summary of changes for this label: 01_15_01
17716
17717 Core ACPI CA Subsystem:
17718
17719 Implemented support for type conversions in the execution of the
17720 ASL  Concatenate operator (The second operand is converted to
17721 match the type  of the first operand before concatenation.)
17722
17723 Support for implicit source operand conversion is partially
17724 implemented.   The ASL source operand types Integer, Buffer, and
17725 String are freely  interchangeable for most ASL operators and are
17726 converted by the interpreter  on the fly as required.  Implicit
17727 Target operand conversion (where the  result is converted to the
17728 target type before storing) is not yet implemented.
17729
17730 Support for 32-bit and 64-bit BCD integers is implemented.
17731
17732 Problem fixed where a field read on an aligned field could cause a
17733 read  past the end of the field.
17734
17735 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
17736 does not return a value, but the caller expects one.  (The ASL
17737 compiler flags this as a warning.)
17738
17739 ASL Compiler:
17740
17741 Version X2011:
17742 1. Static typechecking of all operands is implemented. This
17743 prevents the use of invalid objects (such as using a Package where
17744 an Integer is required) at compile time instead of at interpreter
17745 run-time.
17746 2. The ASL source line is printed with ALL errors and warnings.
17747 3. Bug fix for source EOF without final linefeed.
17748 4. Debug option is split into a parse trace and a namespace trace.
17749 5. Namespace output option (-n) includes initial values for
17750 integers and strings.
17751 6. Parse-only option added for quick syntax checking.
17752 7. Compiler checks for duplicate ACPI name declarations
17753
17754 Version X2012:
17755 1. Relaxed typechecking to allow interchangeability between
17756 strings, integers, and buffers.  These types are now converted by
17757 the interpreter at runtime.
17758 2. Compiler reports time taken by each internal subsystem in the
17759 debug         output file.
17760
17761
17762  ------------------------------------------
17763 Summary of changes for this label: 12_14_00
17764
17765 ASL Compiler:
17766
17767 This is the first official release of the compiler. Since the
17768 compiler requires elements of the Core Subsystem, this label
17769 synchronizes everything.
17770
17771 ------------------------------------------
17772 Summary of changes for this label: 12_08_00
17773
17774
17775 Fixed a problem where named references within the ASL definition
17776 of both OperationRegions and CreateXXXFields did not work
17777 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17778 initialization of the region/field. This is similar (but not
17779 related internally) to the problem that was fixed in the last
17780 label.
17781
17782 Implemented both 32-bit and 64-bit support for the BCD ASL
17783 functions ToBCD and FromBCD.
17784
17785 Updated all legal headers to include "2000" in the copyright
17786 years.
17787
17788  ------------------------------------------
17789 Summary of changes for this label: 12_01_00
17790
17791 Fixed a problem where method invocations within the ASL definition
17792 of both OperationRegions and CreateXXXFields did not work
17793 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17794 initialization of the region/field:
17795
17796   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
17797 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
17798 (0x3005)
17799
17800 Fixed a problem where operators with more than one nested
17801 subexpression would fail.  The symptoms were varied, by mostly
17802 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
17803 problem that has gone unnoticed until now.
17804
17805   Subtract (Add (1,2), Multiply (3,4))
17806
17807 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
17808 previous build (The prefix part of a relative path was handled
17809 incorrectly).
17810
17811 Fixed a problem where Operation Region initialization failed if
17812 the operation region name was a "namepath" instead of a simple
17813 "nameseg". Symptom was an AE_NO_OPERAND error.
17814
17815 Fixed a problem where an assignment to a local variable via the
17816 indirect RefOf mechanism only worked for the first such
17817 assignment.  Subsequent assignments were ignored.
17818
17819  ------------------------------------------
17820 Summary of changes for this label: 11_15_00
17821
17822 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
17823 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
17824 the AML  interpreter does NOT have support for the new 2.0 ASL
17825 grammar terms at this time.
17826
17827 All ACPI hardware access is via the GAS structures in the ACPI 2.0
17828 FADT.
17829
17830 All physical memory addresses across all platforms are now 64 bits
17831 wide. Logical address width remains dependent on the platform
17832 (i.e., "void *").
17833
17834 AcpiOsMapMemory interface changed to a 64-bit physical address.
17835
17836 The AML interpreter integer size is now 64 bits, as per the ACPI
17837 2.0 specification.
17838
17839 For backwards compatibility with ACPI 1.0, ACPI tables with a
17840 revision number less than 2 use 32-bit integers only.
17841
17842 Fixed a problem where the evaluation of OpRegion operands did not
17843 always resolve them to numbers properly.
17844
17845 ------------------------------------------
17846 Summary of changes for this label: 10_20_00
17847
17848 Fix for CBN_._STA issue.  This fix will allow correct access to
17849 CBN_ OpRegions when the _STA returns 0x8.
17850
17851 Support to convert ACPI constants (Ones, Zeros, One) to actual
17852 values before a package object is returned
17853
17854 Fix for method call as predicate to if/while construct causing
17855 incorrect if/while behavior
17856
17857 Fix for Else block package lengths sometimes calculated wrong (if
17858 block > 63 bytes)
17859
17860 Fix for Processor object length field, was always zero
17861
17862 Table load abort if FACP sanity check fails
17863
17864 Fix for problem with Scope(name) if name already exists
17865
17866 Warning emitted if a named object referenced cannot be found
17867 (resolved) during method execution.
17868
17869
17870
17871
17872
17873 ------------------------------------------
17874 Summary of changes for this label: 9_29_00
17875
17876 New table initialization interfaces: AcpiInitializeSubsystem no
17877 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
17878 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
17879 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
17880 AcpiLoadTables
17881
17882 Note: These interface changes require changes to all existing OSDs
17883
17884 The PCI_Config default address space handler is always installed
17885 at the root namespace object.
17886
17887 -------------------------------------------
17888 Summary of changes for this label: 09_15_00
17889
17890 The new initialization architecture is implemented.  New
17891 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
17892 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
17893
17894 (Namespace is automatically loaded when a table is loaded)
17895
17896 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
17897 52 bytes to 32 bytes.  There is usually one of these for every
17898 namespace object, so the memory savings is significant.
17899
17900 Implemented just-in-time evaluation of the CreateField operators.
17901
17902 Bug fixes for IA-64 support have been integrated.
17903
17904 Additional code review comments have been implemented
17905
17906 The so-called "third pass parse" has been replaced by a final walk
17907 through the namespace to initialize all operation regions (address
17908 spaces) and fields that have not yet been initialized during the
17909 execution of the various _INI and REG methods.
17910
17911 New file - namespace/nsinit.c
17912
17913 -------------------------------------------
17914 Summary of changes for this label: 09_01_00
17915
17916 Namespace manager data structures have been reworked to change the
17917 primary  object from a table to a single object.  This has
17918 resulted in dynamic memory  savings of 3X within the namespace and
17919 2X overall in the ACPI CA subsystem.
17920
17921 Fixed problem where the call to AcpiEvFindPciRootBuses was
17922 inadvertently left  commented out.
17923
17924 Reduced the warning count when generating the source with the GCC
17925 compiler.
17926
17927 Revision numbers added to each module header showing the
17928 SourceSafe version of the file.  Please refer to this version
17929 number when giving us feedback or comments on individual modules.
17930
17931 The main object types within the subsystem have been renamed to
17932 clarify their  purpose:
17933
17934 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
17935 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
17936 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
17937
17938 NOTE: no changes to the initialization sequence are included in
17939 this label.
17940
17941 -------------------------------------------
17942 Summary of changes for this label: 08_23_00
17943
17944 Fixed problem where TerminateControlMethod was being called
17945 multiple times per  method
17946
17947 Fixed debugger problem where single stepping caused a semaphore to
17948 be  oversignalled
17949
17950 Improved performance through additional parse object caching -
17951 added  ACPI_EXTENDED_OP type
17952
17953 -------------------------------------------
17954 Summary of changes for this label: 08_10_00
17955
17956 Parser/Interpreter integration:  Eliminated the creation of
17957 complete parse trees  for ACPI tables and control methods.
17958 Instead, parse subtrees are created and  then deleted as soon as
17959 they are processed (Either entered into the namespace or  executed
17960 by the interpreter).  This reduces the use of dynamic kernel
17961 memory  significantly. (about 10X)
17962
17963 Exception codes broken into classes and renumbered.  Be sure to
17964 recompile all  code that includes acexcep.h.  Hopefully we won't
17965 have to renumber the codes  again now that they are split into
17966 classes (environment, programmer, AML code,  ACPI table, and
17967 internal).
17968
17969 Fixed some additional alignment issues in the Resource Manager
17970 subcomponent
17971
17972 Implemented semaphore tracking in the AcpiExec utility, and fixed
17973 several places  where mutexes/semaphores were being unlocked
17974 without a corresponding lock  operation.  There are no known
17975 semaphore or mutex "leaks" at this time.
17976
17977 Fixed the case where an ASL Return operator is used to return an
17978 unnamed  package.
17979
17980 -------------------------------------------
17981 Summary of changes for this label: 07_28_00
17982
17983 Fixed a problem with the way addresses were calculated in
17984 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
17985 manifested itself when a Field was  created with WordAccess or
17986 DwordAccess, but the field unit defined within the  Field was less
17987
17988 than a Word or Dword.
17989
17990 Fixed a problem in AmlDumpOperands() module's loop to pull
17991 operands off of the  operand stack to display information. The
17992 problem manifested itself as a TLB  error on 64-bit systems when
17993 accessing an operand stack with two or more  operands.
17994
17995 Fixed a problem with the PCI configuration space handlers where
17996 context was  getting confused between accesses. This required a
17997 change to the generic address  space handler and address space
17998 setup definitions. Handlers now get both a  global handler context
17999 (this is the one passed in by the user when executing
18000 AcpiInstallAddressSpaceHandler() and a specific region context
18001 that is unique to  each region (For example, the _ADR, _SEG and
18002 _BBN values associated with a  specific region). The generic
18003 function definitions have changed to the  following:
18004
18005 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
18006 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
18007 *HandlerContext, // This used to be void *Context void
18008 *RegionContext); // This is an additional parameter
18009
18010 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
18011 RegionHandle, UINT32 Function, void *HandlerContext,  void
18012 **RegionContext); // This used to be **ReturnContext
18013
18014 -------------------------------------------
18015 Summary of changes for this label: 07_21_00
18016
18017 Major file consolidation and rename.  All files within the
18018 interpreter have been  renamed as well as most header files.  This
18019 was done to prevent collisions with  existing files in the host
18020 OSs -- filenames such as "config.h" and "global.h"  seem to be
18021 quite common.  The VC project files have been updated.  All
18022 makefiles  will require modification.
18023
18024 The parser/interpreter integration continues in Phase 5 with the
18025 implementation  of a complete 2-pass parse (the AML is parsed
18026 twice) for each table;  This  avoids the construction of a huge
18027 parse tree and therefore reduces the amount of  dynamic memory
18028 required by the subsystem.  Greater use of the parse object cache
18029 means that performance is unaffected.
18030
18031 Many comments from the two code reviews have been rolled in.
18032
18033 The 64-bit alignment support is complete.
18034
18035 -------------------------------------------
18036 Summary of changes for this label: 06_30_00
18037
18038 With a nod and a tip of the hat to the technology of yesteryear,
18039 we've added  support in the source code for 80 column output
18040 devices.  The code is now mostly  constrained to 80 columns or
18041 less to support environments and editors that 1)  cannot display
18042 or print more than 80 characters on a single line, and 2) cannot
18043 disable line wrapping.
18044
18045 A major restructuring of the namespace data structure has been
18046 completed.  The  result is 1) cleaner and more
18047 understandable/maintainable code, and 2) a  significant reduction
18048 in the dynamic memory requirement for each named ACPI  object
18049 (almost half).
18050
18051 -------------------------------------------
18052 Summary of changes for this label: 06_23_00
18053
18054 Linux support has been added.  In order to obtain approval to get
18055 the ACPI CA  subsystem into the Linux kernel, we've had to make
18056 quite a few changes to the  base subsystem that will affect all
18057 users (all the changes are generic and OS- independent).  The
18058 effects of these global changes have been somewhat far  reaching.
18059 Files have been merged and/or renamed and interfaces have been
18060 renamed.   The major changes are described below.
18061
18062 Osd* interfaces renamed to AcpiOs* to eliminate namespace
18063 pollution/confusion  within our target kernels.  All OSD
18064 interfaces must be modified to match the new  naming convention.
18065
18066 Files merged across the subsystem.  A number of the smaller source
18067 and header  files have been merged to reduce the file count and
18068 increase the density of the  existing files.  There are too many
18069 to list here.  In general, makefiles that  call out individual
18070 files will require rebuilding.
18071
18072 Interpreter files renamed.  All interpreter files now have the
18073 prefix am*  instead of ie* and is*.
18074
18075 Header files renamed:  The acapi.h file is now acpixf.h.  The
18076 acpiosd.h file is  now acpiosxf.h.  We are removing references to
18077 the acronym "API" since it is  somewhat windowsy. The new name is
18078 "external interface" or xface or xf in the  filenames.j
18079
18080
18081 All manifest constants have been forced to upper case (some were
18082 mixed case.)   Also, the string "ACPI_" has been prepended to many
18083 (not all) of the constants,  typedefs, and structs.
18084
18085 The globals "DebugLevel" and "DebugLayer" have been renamed
18086 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
18087
18088 All other globals within the subsystem are now prefixed with
18089 "AcpiGbl_" Internal procedures within the subsystem are now
18090 prefixed with "Acpi" (with only  a few exceptions).  The original
18091 two-letter abbreviation for the subcomponent  remains after "Acpi"
18092 - for example, CmCallocate became AcpiCmCallocate.
18093
18094 Added a source code translation/conversion utility.  Used to
18095 generate the Linux  source code, it can be modified to generate
18096 other types of source as well. Can  also be used to cleanup
18097 existing source by removing extraneous spaces and blank  lines.
18098 Found in tools/acpisrc/*
18099
18100 OsdUnMapMemory was renamed to OsdUnmapMemory and then
18101 AcpiOsUnmapMemory.  (UnMap  became Unmap).
18102
18103 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
18104 When set to  one, this indicates that the caller wants to use the
18105
18106 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
18107 both types.  However, implementers of this  call may want to use
18108 different OS primitives depending on the type of semaphore
18109 requested.  For example, some operating systems provide separate
18110
18111 "mutex" and  "semaphore" interfaces - where the mutex interface is
18112 much faster because it  doesn't have all the overhead of a full
18113 semaphore implementation.
18114
18115 Fixed a deadlock problem where a method that accesses the PCI
18116 address space can  block forever if it is the first access to the
18117 space.
18118
18119 -------------------------------------------
18120 Summary of changes for this label: 06_02_00
18121
18122 Support for environments that cannot handle unaligned data
18123 accesses (e.g.  firmware and OS environments devoid of alignment
18124 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
18125 been added (via configurable macros) in  these three areas: -
18126 Transfer of data from the raw AML byte stream is done via byte
18127 moves instead of    word/dword/qword moves. - External objects are
18128 aligned within the user buffer, including package   elements (sub-
18129 objects). - Conversion of name strings to UINT32 Acpi Names is now
18130 done byte-wise.
18131
18132 The Store operator was modified to mimic Microsoft's
18133 implementation when storing  to a Buffer Field.
18134
18135 Added a check of the BM_STS bit before entering C3.
18136
18137 The methods subdirectory has been obsoleted and removed.  A new
18138 file, cmeval.c  subsumes the functionality.
18139
18140 A 16-bit (DOS) version of AcpiExec has been developed.  The
18141 makefile is under  the acpiexec directory.