]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/dev/acpica/changes.txt
MFV r348552: 9682 page fault in dsl_async_clone_destroy() while opening pool
[FreeBSD/FreeBSD.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 09 May 2019. Summary of changes for version 20190509:
3
4
5 1) ACPICA kernel-resident subsystem:
6
7 Revert commit  6c43e1a ("ACPICA: Clear status of GPEs before enabling 
8 them") that causes problems with Thunderbolt controllers to occur if a 
9 dock device is connected at init time (the xhci_hcd and thunderbolt 
10 modules crash which prevents peripherals connected through them from 
11 working). Commit 6c43e1a effectively causes commit ecc1165b8b74 ("ACPICA: 
12 Dispatch active GPEs at init time") to get undone, so the problem 
13 addressed by commit ecc1165b8b74 appears again as a result of it.
14
15
16 2) iASL Compiler/Disassembler and ACPICA tools:
17
18 Reverted iASL: Additional forward reference detection. This change 
19 reverts forward reference detection for field declarations. The feature 
20 unintentionally emitted AML bytecode with incorrect package lengths for 
21 some ASL code related to Fields and OperationRegions. This malformed AML 
22 can cause systems to crash
23 during boot. The malformed AML bytecode is emitted in iASL version 
24 20190329 and 20190405.
25
26 iASL: improve forward reference detection. This change improves forward 
27 reference detection for named objects inside of scopes. If a parse object 
28 has the OP_NOT_FOUND_DURING_LOAD set, it means that Op is a reference to 
29 a named object that is declared later in the AML bytecode. This is 
30 allowed if the reference is inside of a method and the declaration is 
31 outside of a method like so:
32
33 DefinitionBlock(...)
34 {
35     Method (TEST)
36     {
37         Return (NUM0)
38     }
39     Name (NUM0,0)
40 }
41
42 However, if the declaration and reference are both in the same method or 
43 outside any methods, this is a forward reference and should be marked as 
44 an error because it would result in runtime errors.
45
46 DefinitionBlock(...)
47 {
48     Name (BUFF, Buffer (NUM0) {}) // Forward reference
49     Name (NUM0, 0x0)
50
51     Method (TEST)
52     {
53         Local0 = NUM1
54         Name (NUM1, 0x1) // Forward reference
55         return (Local0)
56     }
57 }
58
59 iASL: Implemented additional buffer overflow analysis for BufferField 
60 declarations. Check if a buffer index argument to a create buffer field 
61 operation is beyond the end of the target buffer.
62
63 This affects these AML operators:
64  
65    AML_CREATE_FIELD_OP
66    AML_CREATE_BIT_FIELD_OP
67    AML_CREATE_BYTE_FIELD_OP
68    AML_CREATE_WORD_FIELD_OP
69    AML_CREATE_DWORD_FIELD_OP
70    AML_CREATE_QWORD_FIELD_OP
71
72  There are three conditions that must be satisfied in order to allow this 
73 validation at compile time:
74  
75    1) The length of the target buffer must be an integer constant
76    2) The index specified in the create* must be an integer constant
77    3) For CreateField, the bit length argument must be non-zero.
78
79 Example:
80     Name (BUF1, Buffer() {1,2})
81     CreateField (BUF1, 7, 9, CF03)  // 3: ERR
82
83 dsdt.asl     14:     CreateField (BUF1, 7, 9, CF03)  // 3: ERR
84 Error    6165 -                           ^ Buffer index beyond end of 
85 target buffer
86
87
88 ----------------------------------------
89 05 April 2019. Summary of changes for version 20190405:
90
91
92 1) ACPICA kernel-resident subsystem:
93
94 Event Manager: History: Commit 18996f2db918 ("ACPICA: Events: Stop 
95 unconditionally clearing ACPI IRQs during suspend/resume") was added 
96 earlier to stop clearing of event status bits unconditionally on suspend 
97 and resume paths. Though this change fixed an issue on suspend path, it 
98 introduced regressions on several resume paths. In the case of S0ix, 
99 events are enabled as part of device suspend path. If status bits for the 
100 events are set when they are enabled, it could result in premature wake 
101 from S0ix. If status is cleared for any event that is being enabled so 
102 that any stale events are cleared out. In case of S0ix, events are 
103 enabled as part of device suspend path. If status bits for the events are 
104 set when they are enabled, it could result in premature wake from S0ix.
105
106 This change ensures that status is cleared for any event that is being 
107 enabled so that any stale events are cleared out.
108
109
110 2) iASL Compiler/Disassembler and ACPICA tools:
111
112 iASL: Implemented an enhanced multiple file compilation that combines 
113 named objects from all input files to a single namespace. With this 
114 feature, any unresolved external declarations as well as duplicate named 
115 object declarations can be detected during compilation rather than 
116 generating errors much later at runtime. The following commands are 
117 examples that utilize this feature:
118     iasl dsdt.asl ssdt.asl
119     iasl dsdt.asl ssdt1.asl ssdt2.asl
120     iasl dsdt.asl ssdt*.asl
121
122 ----------------------------------------
123 29 March 2019. Summary of changes for version 20190329:
124
125
126 1) ACPICA kernel-resident subsystem:
127
128 Namespace support: Remove the address nodes from global list after method 
129 termination. The global address list contains pointers to namespace nodes 
130 that represent Operation Regions. This change properly removes Operation 
131 Region namespace nodes that are declared dynamically during method 
132 execution.
133
134 Linux: Use a different debug default than ACPICA. There was a divergence 
135 between Linux and the ACPICA codebases. In order to resolve this 
136 divergence, Linux now declares its own debug default in aclinux.h
137
138 Renamed some internal macros to improve code understanding and 
139 maintenance. The macros below all operate on single 4-character ACPI 
140 NameSegs, not generic strings (old -> new):
141     ACPI_NAME_SIZE    -> ACPI_NAMESEG_SIZE
142     ACPI_COMPARE_NAME -> ACPI_COMPARE_NAMESEG
143     ACPI_MOVE_NAME    -> ACPI_COPY_NAMESEG
144
145 Fix for missing comma in array declaration for the AcpiGbl_GenericNotify 
146 table.
147
148 Test suite: Update makefiles, add PCC operation region support
149
150
151 2) iASL Compiler/Disassembler and Tools:
152
153 iASL: Implemented additional illegal forward reference detection. Now 
154 detect and emit an error upon detection of a forward reference from a 
155 Field to an Operation Region. This will fail at runtime if allowed to 
156 pass the compiler.
157
158 AcpiExec: Add an address list check for dynamic Operation Regions. This 
159 feature performs a sanity test for each node the global address list. 
160 This is done in order to ensure that all dynamic operation regions are 
161 properly removed from the global address list and no dangling pointers 
162 are left behind.
163
164 Disassembler: Improved generation of resource pathnames. This change 
165 improves the code that generates resource descriptor and resource tag 
166 pathnames. The original code used a bunch of str* C library functions 
167 that caused warnings on some compilers.
168
169 iASL: Removed some uses of strncpy and replaced with memmove. The strncpy 
170 function can overwrite buffers if the calling code is not very careful. 
171 In the case of generating a module/table header, use of memmove is a 
172 better implementation.
173
174
175 3) Status of new features that have not been completed at this time:
176
177 iASL: Implementing an enhanced multiple file compilation into a single 
178 namespace feature (Status): This feature will be released soon, and 
179 allows multiple ASL files to be compiled into the same single namespace. 
180 By doing so, any unresolved external declarations as well as duplicate 
181 named object declarations can be detected during compilation (rather than 
182 later during runtime). The following commands are examples that utilize 
183 this feature:
184     iasl dsdt.asl ssdt.asl
185     iasl dsdt.asl ssdt1.asl ssdt2.asl
186     iasl dsdt.asl ssdt*.asl
187
188 ASL tutorial status: Feedback is being gathered internally and the 
189 current plan is to publish this tutorial on the ACPICA website after a 
190 final review by a tech writer.
191
192 ----------------------------------------
193 15 February 2019. Summary of changes for version 20190215:
194
195
196 0) Support for ACPI specification version 6.3:
197
198 Add PCC operation region support for the AML interpreter. This adds PCC 
199 operation region support in the AML interpreter and a default handler for 
200 acpiexec. The change also renames the PCC region address space keyword to 
201 PlatformCommChannel.
202
203 Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG. 
204 These methods provide OSPM with health information and device boot 
205 status.
206
207 PDTT: Add TriggerOrder to the PCC Identifier structure. The field value 
208 defines if the trigger needs to be invoked by OSPM before or at the end 
209 of kernel crash dump processing/handling operation.
210
211 SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT 
212 is used for describing devices such as heterogeneous processors, 
213 accelerators, GPUs, and IO devices with integrated compute or DMA 
214 engines.
215
216 MADT: Add support for statistical profiling in GICC. Statistical 
217 profiling extension (SPE) is an architecture-specific feature for ARM.
218
219 MADT: Add online capable flag. If this bit is set, system hardware 
220 supports enabling this processor during OS runtime.
221
222 New Error Disconnect Recover Notification value. There are a number of 
223 scenarios where system Firmware in collaboration with hardware may 
224 disconnect one or more devices from the rest of the system for purposes 
225 of error containment. Firmware can use this new notification value to 
226 alert OSPM of such a removal.
227
228 PPTT: New additional fields in Processor Structure Flags. These flags 
229 provide more information about processor topology.
230
231 NFIT/Disassembler: Change a field name from "Address Range" to "Region 
232 Type".
233
234 HMAT updates: make several existing fields to be reserved as well as 
235 rename subtable 0 to "memory proximity domain attributes".
236
237 GTDT: Add support for new GTDT Revision 3. This revision adds information 
238 for the EL2 timer.
239
240 iASL: Update the HMAT example template for new fields.
241
242 iASL: Add support for the new revision of the GTDT (Rev 3).
243
244
245 1) ACPICA kernel-resident subsystem:
246
247 AML Parser: fix the main AML parse loop to correctly skip erroneous 
248 extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2-
249 byte extended opcodes. If an error occurs during an AML table load, the 
250 AML parser will continue loading the table by skipping the offending 
251 opcode. This implements a "load table at any cost" philosophy.
252
253
254 2) iASL Compiler/Disassembler and Tools:
255
256 iASL: Add checks for illegal object references, such as a reference 
257 outside of method to an object within a method. Such an object is only 
258 temporary.
259
260 iASL: Emit error for creation of a zero-length operation region. Such a 
261 region is rather pointless. If encountered, a runtime error is also 
262 implemented in the interpeter.
263
264 Debugger: Fix a possible fault with the "test objects" command.
265
266 iASL: Makefile: support parent directory filenames containing embedded 
267 spaces.
268
269 iASL: Update the TPM2 template to revision 4.
270
271 iASL: Add the ability to report specific warnings or remarks as errors.
272
273 Disassembler: Disassemble OEMx tables as actual AML byte code. 
274 Previously, these tables were treated as "unknown table".
275
276 iASL: Add definition and disassembly for TPM2 revision 3.
277
278 iASL: Add support for TPM2 rev 3 compilation.
279
280
281 ----------------------------------------
282 08 January 2019. Summary of changes for version 20190108:
283
284
285 1) ACPICA kernel-resident subsystem:
286
287 Updated all copyrights to 2019. This affects all source code modules.
288
289
290 2) iASL Compiler/Disassembler and Tools:
291
292 ASL test suite (ASLTS): Updated all copyrights to 2019.
293
294 Tools: Updated all signon copyrights to 2019.
295
296 AcpiExec: Added a new option to dump extra information concerning any 
297 memory leaks detected by the internal object/cache tracking mechanism. -
298 va
299
300 iASL: Updated the table template for the TPM2 table to the newest version 
301 of the table (Revision 4)
302
303
304 ----------------------------------------
305 13 December 2018. Summary of changes for version 20181213:
306
307
308 1) ACPICA Kernel-resident Subsystem:
309
310 Fixed some buffer length issues with the GenericSerialBus, related to two 
311 of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes, 
312 which are rarely seen in the field. For these, the LEN field of the ASL 
313 buffer is now ignored. Hans de Goede
314
315 Implemented a new object evaluation trace mechanism for control methods 
316 and data objects. This includes nested control methods. It is 
317 particularly useful for examining the ACPI execution during system 
318 initialization since the output is relatively terse. The flag below 
319 enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface:
320    #define ACPI_LV_EVALUATION          0x00080000
321
322 Examples:
323    Enter evaluation       :  _SB.PCI0._INI (Method)
324    Exit evaluation        :  _SB.PCI0._INI
325    Enter evaluation       :  _OSI (Method)
326    Exit evaluation        :  _OSI
327    Enter evaluation       :  _SB.PCI0.TEST (Method)
328    Nested method call     :     _SB.PCI0.NST1
329    Exit nested method     :     _SB.PCI0.NST1
330    Exit evaluation        :  _SB.PCI0.TEST
331
332 Added two recently-defined _OSI strings. See 
333 https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-
334 osi.
335    "Windows 2018"
336    "Windows 2018.2"
337
338 Update for buffer-to-string conversions via the ToHexString ASL operator. 
339 A "0x" is now prepended to each of the hex values in the output string. 
340 This provides compatibility with other ACPI implementations. The ACPI 
341 specification is somewhat vague on this issue.
342    Example output string after conversion: 
343 "0x01,0x02,0x03,0x04,0x05,0x06"
344
345 Return a run-time error for TermArg expressions within individual package 
346 elements. Although this is technically supported by the ASL grammar, 
347 other ACPI implementations do not support this either. Also, this fixes a 
348 fault if this type of construct is ever encountered (it never has been).
349
350
351 2) iASL Compiler/Disassembler and Tools:
352
353 iASL: Implemented a new compile option (-ww) that will promote individual 
354 warnings and remarks to errors. This is intended to enhance the firmware 
355 build process.
356
357 AcpiExec: Implemented a new command-line option (-eo) to support the new 
358 object evaluation trace mechanism described above.
359
360 Disassembler: Added support to disassemble OEMx tables as AML/ASL tables 
361 instead of a "unknown table" message.
362
363 AcpiHelp: Improved support for the "special" predefined names such as 
364 _Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be 
365 used for "xx" and "x".
366
367 ----------------------------------------
368 31 October 2018. Summary of changes for version 20181031:
369
370
371 An Operation Region regression was fixed by properly adding address 
372 ranges to a global list during initialization. This allows OS to 
373 accurately check for overlapping regions between native devices (such as 
374 PCI) and Operation regions as well as checking for region conflicts 
375 between two Operation Regions.
376
377 Added support for the 2-byte extended opcodes in the code/feature that 
378 attempts to continue parsing during the table load phase. Skip parsing 
379 Device declarations (and other extended opcodes) when an error occurs 
380 during parsing. Previously, only single-byte opcodes were supported.
381
382 Cleanup: Simplified the module-level code support by eliminating a 
383 useless global variable (AcpiGbl_GroupModuleLeveCode).
384
385
386 2) iASL Compiler/Disassembler and Tools:
387
388 iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE 
389 could cause a fault in the preprocessor. This was an inadvertent side-
390 effect from moving more allocations/frees to the local cache/memory 
391 mechanism.
392
393 iASL: Enhanced error detection by validating that all NameSeg elements 
394 within a NamePatch actually exist. The previous behavior was spotty at 
395 best, and such errors could be improperly ignored at compiler time (never 
396 at runtime, however. There are two new error messages, as shown in the 
397 examples below:
398
399 dsdt.asl     33:     CreateByteField (TTTT.BXXX, 1, CBF1)
400 Error    6161 -                              ^ One or more objects within 
401 the Pathname do not exist (TTTT.BXXX)
402
403 dsdt.asl     34:     CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
404 Error    6160 -        One or more prefix Scopes do not exist ^  
405 (BBBB.CBF1)
406
407 iASL: Disassembler/table-compiler: Added support for the static data 
408 table TPM2 revision 3 (an older version of TPM2). The support has been 
409 added for the compiler and the disassembler.
410
411 Fixed compilation of DOS format data table file on Unix/Linux systems. 
412 iASL now properly detects line continuations (\) for DOS format data 
413 table definition language files on when executing on Unix/Linux.
414
415 ----------------------------------------
416 03 October 2018. Summary of changes for version 20181003:
417
418
419 2) iASL Compiler/Disassembler and Tools:
420
421 Fixed a regression introduced in version 20180927 that could cause the 
422 compiler to fault, especially with NamePaths containing one or more 
423 carats (^). Such as: ^^_SB_PCI0
424
425 Added a new remark for the Sleep() operator when the sleep time operand 
426 is larger than one second. This is a very long time for the ASL/BIOS code 
427 and may not be what was intended by the ASL writer.
428
429 ----------------------------------------
430 27 September 2018. Summary of changes for version 20180927:
431
432
433 1) ACPICA kernel-resident subsystem:
434
435 Updated the GPE support to clear the status of all ACPI events when 
436 entering any/all sleep states in order to avoid premature wakeups. In 
437 theory, this may cause some wakeup events to be missed, but the 
438 likelihood of this is small. This change restores the original behavior 
439 of the ACPICA code in order to fix a regression seen from the previous 
440 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change. 
441 This regression could cause some systems to incorrectly wake immediately.
442
443 Updated the execution of the _REG methods during initialization and 
444 namespace loading to bring the behavior into closer conformance to the 
445 ACPI specification and other ACPI implementations:
446
447 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
448     "Control methods must assume all operation regions are inaccessible 
449 until the _REG(RegionSpace, 1) method is executed"
450
451     "The exceptions to this rule are:
452 1.  OSPM must guarantee that the following operation regions are always 
453 accessible:
454     SystemIO operation regions.
455     SystemMemory operation regions when accessing memory returned by the 
456 System Address Map reporting interfaces."
457
458 Since the state of both the SystemIO and SystemMemory address spaces are 
459 defined by the specification to never change, this ACPICA change ensures 
460 that now _REG is never called on them. This solves some problems seen in 
461 the field and provides compatibility with other ACPI implementations. An 
462 update to the upcoming new version of the ACPI specification will help 
463 clarify this behavior.
464
465 Updated the implementation of support for the Generic Serial Bus. For the 
466 "bidirectional" protocols, the internal implementation now automatically 
467 creates a return data buffer of the maximum size (255). This handles the 
468 worst-case for data that is returned from the serial bus handler, and 
469 fixes some problems seen in the field. This new buffer is directly 
470 returned to the ASL. As such, there is no true "bidirectional" buffer, 
471 which matches the ACPI specification. This is the reason for the "double 
472 store" seen in the example ASL code in the specification, shown below:
473
474 Word Process Call (AttribProcessCall):
475     OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
476     Field(TOP1, BufferAcc, NoLock, Preserve)
477     {
478         FLD1, 8, // Virtual register at command value 1.
479     }
480
481     Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
482                              // as BUFF
483     CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
484
485     Store(0x5416, DATA)               // Save 0x5416 into the data buffer
486     Store(Store(BUFF, FLD1), BUFF)    // Invoke a write/read Process Call 
487 transaction
488                            // This is the "double store". The write to
489                            // FLD1 returns a new buffer, which is stored
490                            // back into BUFF with the second Store.
491
492
493 2) iASL Compiler/Disassembler and Tools:
494
495 iASL: Implemented detection of extraneous/redundant uses of the Offset() 
496 operator within a Field Unit list. A remark is now issued for these. For 
497 example, the first two of the Offset() operators below are extraneous. 
498 Because both the compiler and the interpreter track the offsets 
499 automatically, these Offsets simply refer to the current offset and are 
500 unnecessary. Note, when optimization is enabled, the iASL compiler will 
501 in fact remove the redundant Offset operators and will not emit any AML 
502 code for them.
503
504     OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
505     Field (OPR1)
506     {
507         Offset (0),     // Never needed
508         FLD1, 32,
509         Offset (4),     // Redundant, offset is already 4 (bytes)
510         FLD2, 8,
511         Offset (64),    // OK use of Offset.
512         FLD3, 16,
513     }
514 dsdt.asl     14:         Offset (0),
515 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
516 operator
517
518 dsdt.asl     16:         Offset (4),
519 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
520 operator
521
522 ----------------------------------------
523 10 August 2018. Summary of changes for version 20180810:
524
525
526 1) ACPICA kernel-resident subsystem:
527
528 Initial ACPI table loading: Attempt to continue loading ACPI tables 
529 regardless of malformed AML. Since migrating table initialization to the 
530 new module-level code support, the AML interpreter rejected tables upon 
531 any ACPI error encountered during table load. This is a problem because 
532 non-serious ACPI errors during table load do not necessarily mean that 
533 the entire definition block (DSDT or SSDT) is invalid. This change 
534 improves the table loading by ignoring some types of errors that can be 
535 generated by incorrect AML. This can range from object type errors, scope 
536 errors, and index errors.
537
538 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs 
539 during suspend/resume. The status of ACPI events is no longer cleared 
540 when entering the ACPI S5 system state (power off) which caused some 
541 systems to power up immediately after turning off power in certain 
542 situations. This was a functional regression. It was fixed by clearing 
543 the status of all ACPI events again when entering S5 (for system-wide 
544 suspend or hibernation the clearing of the status of all events is not 
545 desirable, as it might cause the kernel to miss wakeup events sometimes). 
546 Rafael Wysocki.
547
548
549 2) iASL Compiler/Disassembler and Tools:
550
551 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field 
552 elements listed in the initialization file were previously initialized 
553 after the table load and before executing module-level code blocks. 
554 Recent changes in the module-level code support means that the table load 
555 becomes a large control method execution. If fields are used within 
556 module-level code and we are executing with the -fi option, the 
557 initialization values were used to initialize the namespace object(s) 
558 only after the table was finished loading. This change Provides an early 
559 initialization of objects specified in the initialization file so that 
560 field unit values are populated during the table load (not after the 
561 load).
562
563 AcpiExec: Fixed a small memory leak regression that could result in 
564 warnings during exit of the utility. These warnings were similar to 
565 these:
566     0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
567     0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
568
569 ----------------------------------------
570 29 June 2018. Summary of changes for version 20180629:
571
572
573 1) iASL Compiler/Disassembler and Tools:
574
575 iASL: Fixed a regression related to the use of the ASL External 
576 statement. Error checking for the use of the External() statement has 
577 been relaxed. Previously, a restriction on the use of External meant that 
578 the referenced named object was required to be defined in a different 
579 table (an SSDT). Thus it would be an error to declare an object as an 
580 external and then define the same named object in the same table. For 
581 example:
582     DefinitionBlock (...)
583     {
584         External (DEV1)
585         Device (DEV1){...} // This was an error
586     }
587 However, this behavior has caused regressions in some existing ASL code, 
588 because there is code that depends on named objects and externals (with 
589 the same name) being declared in the same table. This change will allow 
590 the ASL code above to compile without errors or warnings.
591
592 iASL: Implemented ASL language extensions for four operators to make some 
593 of their arguments optional instead of required:
594     1) Field (RegionName, AccessType, LockRule, UpdateRule)
595     2) BankField (RegionName, BankName, BankValue,
596                 AccessType, LockRule, UpdateRule)
597     3) IndexField (IndexName, DataName,
598                 AccessType, LockRule, UpdateRule)
599 For the Field operators above, the AccessType, LockRule, and UpdateRule 
600 are now optional arguments. The default values are:
601         AccessType: AnyAcc
602         LockRule:   NoLock
603         UpdateRule: Preserve
604     4) Mutex (MutexName, SyncLevel)
605 For this operator, the SyncLevel argument is now optional. This argument 
606 is rarely used in any meaningful way by ASL code, and thus it makes sense 
607 to make it optional. The default value is:
608         SyncLevel:  0
609
610 iASL: Attempted use of the ASL Unload() operator now results in the 
611 following warning:
612     "Unload is not supported by all operating systems"
613 This is in fact very true, and the Unload operator may be completely 
614 deprecated in the near future.
615
616 AcpiExec: Fixed a regression for the -fi option (Namespace initialization 
617 file. Recent changes in the ACPICA module-level code support altered the 
618 table load/initialization sequence . This means that the table load has 
619 become a large method execution of the table itself. If Operation Region 
620 Fields are used within any module-level code and the -fi option was 
621 specified, the initialization values were populated only after the table 
622 had completely finished loading (and thus the module-level code had 
623 already been executed). This change moves the initialization of objects 
624 listed in the initialization file to before the table is executed as a 
625 method. Field unit values are now initialized before the table execution 
626 is performed.
627
628 ----------------------------------------
629 31 May 2018. Summary of changes for version 20180531:
630
631
632 1) ACPICA kernel-resident Subsystem:
633
634 Implemented additional support to help ensure that a DSDT or SSDT is 
635 fully loaded even if errors are incurred during the load. The majority of 
636 the problems that are seen is the failure of individual AML operators 
637 that occur during execution of any module-level code (MLC) existing in 
638 the table. This support adds a mechanism to abort the current ASL 
639 statement (AML opcode), emit an error message, and to simply move on to 
640 the next opcode -- instead of aborting the entire table load. This is 
641 different than the execution of a control method where the entire method 
642 is aborted upon any error. The goal is to perform a very "best effort" to 
643 load the ACPI tables. The most common MLC errors that have been seen in 
644 the field are direct references to unresolved ASL/AML symbols (referenced 
645 directly without the use of the CondRefOf operator to validate the 
646 symbol). This new ACPICA behavior is now compatible with other ACPI 
647 implementations.
648
649 Interpreter: The Unload AML operator is no longer supported for the 
650 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
651 1) A correct implementation on at least some hosts may not be possible.
652 2) Other ACPI implementations do not correctly/fully support it.
653 3) It requires host device driver support which is not known to exist.
654     (To properly support namespace unload out from underneath.)
655 4) This AML operator has never been seen in the field.
656
657 Parser: Added a debug option to dump AML parse sub-trees as they are 
658 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is 
659 ACPI_DB_PARSE_TREES.
660
661 Debugger: Reduced the verbosity for errors incurred during table load and 
662 module-level code execution.
663
664 Completed an investigation into adding a namespace node "owner list" 
665 instead of the current "owner ID" associated with namespace nodes. This 
666 list would link together all nodes that are owned by an individual 
667 control method. The purpose would be to enhance control method execution 
668 by speeding up cleanup during method exit (all namespace nodes created by 
669 a method are deleted upon method termination.) Currently, the entire 
670 namespace must be searched for matching owner IDs if (and only if) the 
671 method creates named objects outside of the local scope. However, by far 
672 the most common case is that methods create objects locally, not outside 
673 the method scope. There is already an ACPICA optimization in place that 
674 only searches the entire namespace in the rare case of a method creating 
675 objects elsewhere in the namespace. Therefore, it is felt that the 
676 overhead of adding an additional pointer to each namespace node to 
677 implement the owner list makes this feature unnecessary.
678
679
680 2) iASL Compiler/Disassembler and Tools:
681
682 iASL, Disassembler, and Template generator: Implemented support for 
683 Revision D of the IORT table. Adds a new subtable that is used to specify 
684 SMMUv3 PMCGs. rmurphy-arm.
685
686 Disassembler: Restored correct table header validation for the "special" 
687 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI 
688 table header and must be special-cased. This was a regression that has 
689 been present for apparently a long time.
690
691 AcpiExec: Reduced verbosity of the local exception handler implemented 
692 within acpiexec. This handler is invoked by ACPICA upon any exceptions 
693 generated during control method execution. A new option was added: -vh 
694 restores the original verbosity level if desired.
695
696 AcpiExec: Changed the default base from decimal to hex for the -x option 
697 (set debug level). This simplifies the use of this option and matches the 
698 behavior of the corresponding iASL -x option.
699
700 AcpiExec: Restored a force-exit on multiple control-c (sigint) 
701 interrupts. This allows program termination even if other issues cause 
702 the control-c to fail.
703
704 ASL test suite (ASLTS): Added tests for the recently implemented package 
705 element resolution mechanism that allows forward references to named 
706 objects from individual package elements (this mechanism provides 
707 compatibility with other ACPI implementations.)
708
709
710 ----------------------------------------
711 8 May 2018. Summary of changes for version 20180508:
712
713
714 1) ACPICA kernel-resident subsystem:
715
716 Completed the new (recently deployed) package resolution mechanism for 
717 the Load and LoadTable ASL/AML operators. This fixes a regression that 
718 was introduced in version 20180209 that could result in an 
719 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table 
720 (SSDT) that contains package objects.
721
722
723 2) iASL Compiler/Disassembler and Tools:
724
725 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than 
726 1 MB. This change allows for table offsets within the acpidump file to be 
727 up to 8 characters. These changes are backwards compatible with existing 
728 acpidump files.
729
730
731 ----------------------------------------
732 27 April 2018. Summary of changes for version 20180427: 
733
734
735 1) ACPICA kernel-resident subsystem:
736
737 Debugger: Added support for Package objects in the "Test Objects" 
738 command. This command walks the entire namespace and evaluates all named 
739 data objects (Integers, Strings, Buffers, and now Packages).
740
741 Improved error messages for the namespace root node. Originally, the root 
742 was referred to by the confusing string "\___". This has been replaced by 
743 "Namespace Root" for clarification.
744
745 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin 
746 Ian King <colin.king@canonical.com>.
747
748
749 2) iASL Compiler/Disassembler and Tools: 
750
751 iASL: Implemented support to detect and flag illegal forward references. 
752 For compatibility with other ACPI implementations, these references are 
753 now illegal at the root level of the DSDT or SSDTs. Forward references 
754 have always been illegal within control methods. This change should not 
755 affect existing ASL/AML code because of the fact that these references 
756 have always been illegal in the other ACPI implementation.
757
758 iASL: Added error messages for the case where a table OEM ID and OEM 
759 TABLE ID strings are longer than the ACPI-defined length. Previously, 
760 these strings were simply silently truncated.
761
762 iASL: Enhanced the -tc option (which creates an AML hex file in C, 
763 suitable for import into a firmware project):
764   1) Create a unique name for the table, to simplify use of multiple 
765 SSDTs.
766   2) Add a protection #ifdef in the file, similar to a .h header file.
767 With assistance from Sami Mujawar, sami.mujawar@arm.com and Evan Lloyd, 
768 evan.lloyd@arm.com
769
770 AcpiExec: Added a new option, -df, to disable the local fault handler. 
771 This is useful during debugging, where it may be desired to drop into a 
772 debugger on a fault.
773
774 ----------------------------------------
775 13 March 2018. Summary of changes for version 20180313:
776
777
778 1) ACPICA kernel-resident subsystem:
779
780 Implemented various improvements to the GPE support:
781
782 1) Dispatch all active GPEs at initialization time so that no GPEs are 
783 lost.
784 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled 
785 before devices are enumerated.
786 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that 
787 IRQs are not lost.
788 4) Add parallel GPE handling to eliminate the possibility of dispatching 
789 the same GPE twice.
790 5) Dispatch any pending GPEs after enabling for the first time.
791
792 AcpiGetObjectInfo - removed support for the _STA method. This was causing 
793 problems on some platforms.
794
795 Added a new _OSI string, "Windows 2017.2".
796
797 Cleaned up and simplified the module-level code support. These changes 
798 are in preparation for the eventual removal of the legacy MLC support 
799 (deferred execution), replaced by the new MLC architecture which executes 
800 the MLC as a table is loaded (DSDT/SSDTs).
801
802 Changed a compile-time option to a runtime option. Changes the option to 
803 ignore ACPI table load-time package resolution errors into a runtime 
804 option. Used only for platforms that generate many AE_NOT_FOUND errors 
805 during boot. AcpiGbl_IgnorePackageResolutionErrors.
806
807 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some 
808 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid 
809 compilation errors from unused variables (seen with some compilers).
810
811
812 2) iASL Compiler/Disassembler and Tools:
813
814 ASLTS: parallelized execution in order to achieve an (approximately) 2X 
815 performance increase.
816
817 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves 
818 error reporting.
819
820 ----------------------------------------
821 09 February 2018. Summary of changes for version 20180209:
822
823
824 1) ACPICA kernel-resident subsystem:
825
826 Completed the final integration of the recent changes to Package Object 
827 handling and the module-level AML code support. This allows forward 
828 references from individual package elements when the package object is 
829 declared from within module-level code blocks. Provides compatibility 
830 with other ACPI implementations.
831
832 The new architecture for the AML module-level code has been completed and 
833 is now the default for the ACPICA code. This new architecture executes 
834 the module-level code in-line as the ACPI table is loaded/parsed instead 
835 of the previous architecture which deferred this code until after the 
836 table was fully loaded. This solves some ASL code ordering issues and 
837 provides compatibility with other ACPI implementations. At this time, 
838 there is an option to fallback to the earlier architecture, but this 
839 support is deprecated and is planned to be completely removed later this 
840 year.
841
842 Added a compile-time option to ignore AE_NOT_FOUND exceptions during 
843 resolution of named reference elements within Package objects. Although 
844 this is potentially a serious problem, it can generate a lot of 
845 noise/errors on platforms whose firmware carries around a bunch of unused 
846 Package objects. To disable these errors, define 
847 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All 
848 errors are always reported for ACPICA applications such as AcpiExec.
849
850 Fixed a regression related to the explicit type-conversion AML operators 
851 (ToXXXX). The regression was introduced early in 2017 but was not seen 
852 until recently because these operators are not fully supported by other 
853 ACPI implementations and are thus rarely used by firmware developers. The 
854 operators are defined by the ACPI specification to not implement the 
855 "implicit result object conversion". The regression incorrectly 
856 introduced this object conversion for the following explicit conversion 
857 operators:
858     ToInteger
859     ToString
860     ToBuffer
861     ToDecimalString
862     ToHexString
863     ToBCD
864     FromBCD
865
866
867 2) iASL Compiler/Disassembler and Tools:
868
869 iASL: Fixed a problem with the compiler constant folding feature as 
870 related to the ToXXXX explicit conversion operators. These operators do 
871 not support the "implicit result object conversion" by definition. Thus, 
872 ASL expressions that use these operators cannot be folded to a simple 
873 Store operator because Store implements the implicit conversion. This 
874 change uses the CopyObject operator for the ToXXXX operator folding 
875 instead. CopyObject is defined to not implement implicit result 
876 conversions and is thus appropriate for folding the ToXXXX operators.
877
878 iASL: Changed the severity of an error condition to a simple warning for 
879 the case where a symbol is declared both locally and as an external 
880 symbol. This accommodates existing ASL code.
881
882 AcpiExec: The -ep option to enable the new architecture for module-level 
883 code has been removed. It is replaced by the -dp option which instead has 
884 the opposite effect: it disables the new architecture (the default) and 
885 enables the legacy architecture. When the legacy code is removed in the 
886 future, the -dp option will be removed also.
887
888 ----------------------------------------
889 05 January 2018. Summary of changes for version 20180105:
890
891
892 1) ACPICA kernel-resident subsystem:
893
894 Updated all copyrights to 2018. This affects all source code modules.
895
896 Fixed a possible build error caused by an unresolved reference to the 
897 AcpiUtSafeStrncpy function.
898
899 Removed NULL pointer arithmetic in the various pointer manipulation 
900 macros. All "(void *) NULL" constructs are converted to "(void *) 0". 
901 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
902
903 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj 
904 Mittal.
905
906
907 2) iASL Compiler/Disassembler and Tools:
908
909 ASLTS: Updated all copyrights to 2018.
910
911 Tools: Updated all signon copyrights to 2018.
912
913 AcpiXtract: Fixed a regression related to ACPI table signatures where the 
914 signature was truncated to 3 characters (instead of 4).
915
916 AcpiExec: Restore the original terminal mode after the use of the -v and 
917 -vd options.
918
919 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
920
921 ----------------------------------------
922 14 December 2017. Summary of changes for version 20171214:
923
924
925 1) ACPICA kernel-resident subsystem:
926
927 Fixed a regression in the external (public) AcpiEvaluateObjectTyped 
928 interface where the optional "pathname" argument had inadvertently become 
929 a required argument returning an error if omitted (NULL pointer 
930 argument).
931
932 Fixed two possible memory leaks related to the recently developed "late 
933 resolution" of reference objects within ASL Package Object definitions.
934
935 Added two recently defined _OSI strings: "Windows 2016" and "Windows 
936 2017". Mario Limonciello.
937
938 Implemented and deployed a safer version of the C library function 
939 strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the 
940 creation of unterminated strings as a possible result of a standard 
941 strncpy.
942
943 Cleaned up and restructured the global variable file (acglobal.h). There 
944 are many changes, but no functional changes.
945
946
947 2) iASL Compiler/Disassembler and Tools:
948
949 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the 
950 optional OemData field at the end of the table was incorrectly required 
951 for proper compilation. It is now correctly an optional field.
952
953 ASLTS: The entire suite was converted from standard ASL to the ASL+ 
954 language, using the ASL-to-ASL+ converter which is integrated into the 
955 iASL compiler. A binary compare of all output files has verified the 
956 correctness of the conversion.
957
958 iASL: Fixed the source code build for platforms where "char" is unsigned. 
959 This affected the iASL lexer only. Jung-uk Kim.
960
961 ----------------------------------------
962 10 November 2017. Summary of changes for version 20171110:
963
964
965 1) ACPICA kernel-resident subsystem:
966
967 This release implements full support for ACPI 6.2A:
968     NFIT - Added a new subtable, "Platform Capabilities Structure"
969 No other changes to ACPICA were required, since ACPI 6.2A is primarily an 
970 errata release of the specification.
971
972 Other ACPI table changes:
973     IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
974     PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy 
975 Linton
976
977 Utilities: Modified the string/integer conversion functions to use 
978 internal 64-bit divide support instead of a native divide. On 32-bit 
979 platforms, a 64-bit divide typically requires a library function which 
980 may not be present in the build (kernel or otherwise).
981
982 Implemented a targeted error message for timeouts returned from the 
983 Embedded Controller device driver. This is seen frequently enough to 
984 special-case an AE_TIME returned from an EC operation region access:
985     "Timeout from EC hardware or EC device driver"
986
987 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all 
988 runtime error messages have the identical prefix.
989
990
991 2) iASL Compiler/Disassembler and Tools:
992
993 AcpiXtract: Fixed a problem with table header detection within the 
994 acpidump file. Processing a table could be ended early if a 0x40 (@) 
995 appears in the original binary table, resulting in the @ symbol appearing 
996 in the decoded ASCII field at the end of the acpidump text line. The 
997 symbol caused acpixtract to incorrectly think it had reached the end of 
998 the current table and the beginning of a new table.
999
1000 AcpiXtract: Added an option (-f) to ignore some errors during table 
1001 extraction. This initial implementation ignores non-ASCII and non-
1002 printable characters found in the acpidump text file.
1003
1004 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics 
1005 for ASLTS. This feature is used to track memory allocations from 
1006 different memory caches within the ACPICA code. At the end of an ASLTS 
1007 run, these memory statistics are recorded and stored in a log file.
1008
1009 Debugger (user-space version): Implemented a simple "Background" command. 
1010 Creates a new thread to execute a control method in the background, while 
1011 control returns to the debugger prompt to allow additional commands.
1012     Syntax: Background <Namepath> [Arguments]
1013
1014 ----------------------------------------
1015 29 September 2017. Summary of changes for version 20170929:
1016
1017
1018 1) ACPICA kernel-resident subsystem:
1019
1020 Redesigned and implemented an improved ASL While() loop timeout 
1021 mechanism. This mechanism is used to prevent infinite loops in the kernel 
1022 AML interpreter caused by either non-responsive hardware or incorrect AML 
1023 code. The new implementation uses AcpiOsGetTimer instead of a simple 
1024 maximum loop count, and is thus more accurate and constant across 
1025 different machines. The default timeout is currently 30 seconds, but this 
1026 may be adjusted later.
1027
1028 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to 
1029 better reflect the new implementation of the loop timeout mechanism.
1030
1031 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support 
1032 and to fix an off-by-one error. Jung-uk Kim.
1033
1034 Fixed an EFI build problem by updating the makefiles to for a new file 
1035 that was added, utstrsuppt.c
1036
1037
1038 2) iASL Compiler/Disassembler and Tools:
1039
1040 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This 
1041 includes support in the table disassembler, compiler, and template 
1042 generator.
1043
1044 iASL: Added an exception for an illegal type of recursive method 
1045 invocation. If a method creates named objects, the first recursive call 
1046 will fail at runtime. This change adds an error detection at compile time 
1047 to catch the problem up front. Note: Marking such a method as 
1048 "serialized" will not help with this problem, because the same thread can 
1049 acquire the method mutex more than once. Example compiler and runtime 
1050 output:
1051
1052     Method (MTH1)
1053     {
1054         Name (INT1, 1)
1055         MTH1 ()
1056     }
1057
1058     dsdt.asl     22: MTH1 ()
1059     Error    6152 -  ^ Illegal recursive call to method
1060                        that creates named objects (MTH1)
1061
1062 Previous runtime exception:
1063     ACPI Error: [INT1] Namespace lookup failure,
1064     AE_ALREADY_EXISTS (20170831/dswload2-465)
1065
1066 iASL: Updated support for External() opcodes to improve namespace 
1067 management and error detection. These changes are related to issues seen 
1068 with multiple-segment namespace pathnames within External declarations, 
1069 such as below:
1070
1071     External(\_SB.PCI0.GFX0, DeviceObj)
1072     External(\_SB.PCI0.GFX0.ALSI)
1073
1074 iASL: Implemented support for multi-line error/warning messages. This 
1075 enables more detailed and helpful error messages as below, from the 
1076 initial deployment for the duplicate names error:
1077
1078     DSDT.iiii   1692:       Device(PEG2) {
1079     Error    6074 -                  ^ Name already exists in scope 
1080 (PEG2)
1081
1082         Original name creation/declaration below:
1083         DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
1084
1085 AcpiXtract: Added additional flexibility to support differing input hex 
1086 dump formats. Specifically, hex dumps that contain partial disassembly 
1087 and/or comments within the ACPI table data definition. There exist some 
1088 dump utilities seen in the field that create this type of hex dump (such 
1089 as Simics). For example:
1090
1091     DSDT @ 0xdfffd0c0 (10999 bytes)
1092         Signature DSDT
1093         Length 10999
1094         Revision 1
1095         Checksum 0xf3 (Ok)
1096         OEM_ID BXPC
1097         OEM_table_id BXDSDT
1098         OEM_revision 1
1099         Creator_id 1280593481
1100         Creator_revision 537399345
1101       0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
1102       ...
1103       2af0: 5f 4c 30 46 00 a4 01
1104
1105 Test suite: Miscellaneous changes/fixes:
1106     More cleanup and simplification of makefiles
1107     Continue compilation of test cases after a compile failure
1108     Do not perform binary compare unless both files actually exist
1109
1110 iASL: Performed some code/module restructuring. Moved all memory 
1111 allocation functions to new modules. Two new files, aslallocate.c and 
1112 aslcache.c
1113
1114 ----------------------------------------
1115 31 August 2017. Summary of changes for version 20170831:
1116
1117
1118 1) ACPICA kernel-resident subsystem:
1119
1120 Implemented internal support for full 64-bit addresses that appear in all 
1121 Generic Address Structure (GAS) structures. Previously, only the lower 32 
1122 bits were used. Affects the use of GAS structures in the FADT and other 
1123 tables, as well as the GAS structures passed to the AcpiRead and 
1124 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
1125
1126 Added header support for the PDTT ACPI table (Processor Debug Trigger 
1127 Table). Full support in the iASL Data Table Compiler and disassembler is 
1128 forthcoming.
1129
1130
1131 2) iASL Compiler/Disassembler and Tools:
1132
1133 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
1134 Properties Topology Table) where a flag bit was specified in the wrong 
1135 bit position ("Line Size Valid", bit 6).
1136
1137 iASL: Implemented support for Octal integer constants as defined by the 
1138 ASL language grammar, per the ACPI specification. Any integer constant 
1139 that starts with a zero is an octal constant. For example,
1140     Store (037777, Local0) /* Octal constant */
1141     Store (0x3FFF, Local0) /* Hex equivalent */
1142     Store (16383,  Local0) /* Decimal equivalent */
1143
1144 iASL: Improved overflow detection for 64-bit string conversions during 
1145 compilation of integer constants. "Overflow" in this case means a string 
1146 that represents an integer that is too large to fit into a 64-bit value. 
1147 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
1148 the low-order 32 bits with a warning, as previously implemented. Several 
1149 new exceptions are defined that indicate a 64-bit overflow, as well as 
1150 the base (radix) that was used during the attempted conversion. Examples:
1151     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
1152     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
1153     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
1154
1155 iASL: Added a warning for the case where a ResourceTemplate is declared 
1156 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
1157 this case, the resulting template is created with a single END_TAG 
1158 descriptor, which is essentially useless.
1159
1160 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
1161 include compilation error codes as well.
1162
1163 ----------------------------------------
1164 28 July 2017. Summary of changes for version 20170728:
1165
1166
1167 1) ACPICA kernel-resident subsystem:
1168
1169 Fixed a regression seen with small resource descriptors that could cause 
1170 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
1171
1172 AML interpreter: Implemented a new feature that allows forward references 
1173 from individual named references within package objects that are 
1174 contained within blocks of "module-level code". This provides 
1175 compatibility with other ACPI implementations and supports existing 
1176 firmware that depends on this feature. Example:
1177
1178     Name (ABCD, 1)
1179     If (ABCD)                       /* An If() at module-level */
1180     {
1181         Name (PKG1, Package()
1182         {
1183             INT1                    /* Forward reference to object INT1 
1184 */
1185         })
1186         Name (INT1, 0x1234)
1187     }
1188
1189 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
1190 to some ASL objects were not handled properly. Objects affected are: 
1191 Mutex, Event, and OperationRegion.
1192
1193 AML Debugger: Enhanced to properly handle AML Alias objects. These 
1194 objects have one level of indirection which was not fully supported by 
1195 the debugger.
1196
1197 Table Manager: Added support to detect and ignore duplicate SSDTs within 
1198 the XSDT/RSDT. This error in the XSDT has been seen in the field.
1199
1200 EFI and EDK2 support:
1201     Enabled /WX flag for MSVC builds
1202     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
1203     Added local support for 64-bit multiply and shift operations
1204     Added support to compile acpidump.efi on Windows
1205     Added OSL function stubs for interfaces not used under EFI
1206
1207 Added additional support for the _DMA predefined name. _DMA returns a 
1208 buffer containing a resource template. This change add support within the 
1209 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
1210 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
1211
1212
1213 2) iASL Compiler/Disassembler and Tools:
1214
1215 iASL: Fixed a problem where the internal input line buffer(s) could 
1216 overflow if there are very long lines in the input ASL source code file. 
1217 Implemented buffer management that automatically increases the size of 
1218 the buffers as necessary.
1219
1220 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
1221 errors. If the specified exception is not raised during compilation, the 
1222 compiler emits an error. This is intended to support the ASL test suite, 
1223 but may be useful in other contexts.
1224
1225 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
1226 string containing the name of the current control method that is being 
1227 compiled.
1228
1229 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
1230 table (Software Delegated Exception Interface). James Morse 
1231 <james.morse@arm.com>
1232
1233 Unix/Linux makefiles: Added an option to disable compile optimizations. 
1234 The disable occurs when the NOOPT flag is set to TRUE. 
1235 theracermaster@gmail.com
1236
1237 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
1238 when there are different tables for 32-bit versus 64-bit.
1239
1240 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
1241 unnecessary/verbose text, and emit the actual line number where an error 
1242 has occurred. These changes are intended to improve the usefulness of the 
1243 test suite.
1244
1245 ----------------------------------------
1246 29 June 2017. Summary of changes for version 20170629:
1247
1248
1249 1) ACPICA kernel-resident subsystem:
1250
1251 Tables: Implemented a deferred ACPI table verification. This is useful 
1252 for operating systems where the tables cannot be verified in the early 
1253 initialization stage due to early memory mapping limitations on some 
1254 architectures. Lv Zheng.
1255
1256 Tables: Removed the signature validation for dynamically loaded tables. 
1257 Provides compatibility with other ACPI implementations. Previously, only 
1258 SSDT tables were allowed, as per the ACPI specification. Now, any table 
1259 signature can be used via the Load() operator. Lv Zheng.
1260
1261 Tables: Fixed several mutex issues that could cause errors during table 
1262 acquisition. Lv Zheng.
1263
1264 Tables: Fixed a problem where an ACPI warning could be generated if a 
1265 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
1266
1267 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
1268 AcpiPutTable interfaces. This applies to the "late stage" table loading 
1269 when the use of AcpiPutTable is no longer required (since the system 
1270 memory manager is fully running and available). Lv Zheng.
1271
1272 Fixed/Reverted a regression during processing of resource descriptors 
1273 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
1274 exception in this case.
1275
1276 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
1277 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
1278
1279 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
1280 or duplicate target is encountered during Alias creation in 
1281 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
1282
1283 Added an option to use designated initializers for function pointers. 
1284 Kees Cook <keescook@google.com>
1285
1286
1287 2) iASL Compiler/Disassembler and Tools:
1288
1289 iASL: Allow compilation of External declarations with target pathnames 
1290 that refer to existing named objects within the table. Erik Schmauss.
1291
1292 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
1293 FieldUnit name also is declared via External in the same table. Erik 
1294 Schmauss.
1295
1296 iASL: Allow existing scope names within pathnames used in External 
1297 statements. For example:
1298     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
1299     Device (ABCD)
1300
1301 iASL: IORT ACPI table: Implemented changes required to decode the new 
1302 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
1303 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
1304
1305 Disassembler: Don't abort disassembly on errors from External() 
1306 statements. Erik Schmauss.
1307
1308 Disassembler: fixed a possible fault when one of the Create*Field 
1309 operators references a Resource Template. ACPICA Bugzilla 1396.
1310
1311 iASL: In the source code, resolved some naming inconsistences across the 
1312 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
1313 Adds a new file, aslparseop.c
1314
1315 ----------------------------------------
1316 31 May 2017. Summary of changes for version 20170531:
1317
1318
1319 0) ACPI 6.2 support:
1320
1321 The ACPI specification version 6.2 has been released and is available at
1322 http://uefi.org/specifications
1323
1324 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
1325 are summarized below.
1326
1327 New ACPI tables (Table Compiler/Disassembler/Templates):
1328     HMAT (Heterogeneous Memory Attributes Table)
1329     WSMT (Windows SMM Security Mitigation Table)
1330     PPTT (Processor Properties Topology Table)
1331
1332 New subtables for existing ACPI tables:
1333     HEST (New subtable, Arch-deferred machine check)
1334     SRAT (New subtable, Arch-specific affinity structure)
1335     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
1336
1337 Simple updates for existing ACPI tables:
1338     BGRT (two new flag bits)
1339     HEST (New bit defined for several subtables, GHES_ASSIST)
1340
1341 New Resource Descriptors and Resource macros (Compiler/Disassembler):
1342     PinConfig()
1343     PinFunction()
1344     PinGroup()
1345     PinGroupConfig()
1346     PinGroupFunction()
1347     New type for hardware error notification (section 18.3.2.9)
1348
1349 New predefined names/methods (Compiler/Interpreter):
1350     _HMA (Heterogeneous Memory Attributes)
1351     _LSI (Label Storage Information)
1352     _LSR (Label Storage Read)
1353     _LSW (Label Storage Write)
1354
1355 ASL grammar/macro changes (Compiler):
1356     For() ASL macro, implemented with the AML while operator
1357     Extensions to Concatenate operator
1358     Support for multiple definition blocks in same ASL file
1359     Clarification for Buffer operator
1360     Allow executable AML code underneath all scopes (Devices, etc.)
1361     Clarification/change for the _OSI return value
1362     ASL grammar update for reference operators
1363     Allow a zero-length string for AML filename in DefinitionBlock
1364
1365 Miscellaneous:
1366     New device object notification value
1367     Remove a notify value (0x0C) for graceful shutdown
1368     New UUIDs for processor/cache properties and
1369         physical package property
1370     New _HID, ACPI0014 (Wireless Power Calibration Device)
1371
1372
1373 1) ACPICA kernel-resident subsystem:
1374
1375 Added support to disable ACPI events on hardware-reduced platforms. 
1376 Eliminates error messages of the form "Could not enable fixed event". Lv 
1377 Zheng
1378
1379 Fixed a problem using Device/Thermal objects with the ObjectType and 
1380 DerefOf ASL operators. This support had not been fully/properly 
1381 implemented.
1382
1383 Fixed a problem where if a Buffer object containing a resource template 
1384 was longer than the actual resource template, an error was generated -- 
1385 even though the AML is legal. This case has been seen in the field.
1386
1387 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
1388 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
1389
1390 Added header file changes for the TPM2 ACPI table. Update to new version 
1391 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
1392
1393 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
1394 These interfaces are intended to be used only in conjunction with the 
1395 predefined _DLM method (Device Lock Method). "This object appears in a 
1396 device scope when AML access to the device must be synchronized with the 
1397 OS environment".
1398
1399 Example Code and Data Size: These are the sizes for the OS-independent 
1400 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1401 debug version of the code includes the debug output trace mechanism and 
1402 has a much larger code and data size.
1403
1404   Current Release:
1405     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
1406     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
1407   Previous Release:
1408     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1409     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
1410
1411
1412 2) iASL Compiler/Disassembler and Tools:
1413
1414 iASL: Fixed a problem where an External() declaration could not refer to 
1415 a Field Unit. Erik Schmauss.
1416
1417 Disassembler: Improved support for the Switch/Case operators. This 
1418 feature will disassemble AML code back to the original Switch operators 
1419 when possible, instead of an If..Else sequence. David Box
1420
1421 iASL and disassembler: Improved the handling of multiple extraneous 
1422 parentheses for both ASL input and disassembled ASL output.
1423
1424 Improved the behavior of the iASL compiler and disassembler to detect 
1425 improper use of external declarations
1426
1427 Disassembler: Now aborts immediately upon detection of an unknown AML 
1428 opcode. The AML parser has no real way to recover from this, and can 
1429 result in the creation of an ill-formed parse tree that causes errors 
1430 later during the disassembly.
1431
1432 All tools: Fixed a problem where the Unix application OSL did not handle 
1433 control-c correctly. For example, a control-c could incorrectly wake the 
1434 debugger.
1435
1436 AcpiExec: Improved the Control-C handling and added a handler for 
1437 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
1438 environments.
1439
1440 Reduced the verbosity of the generic unix makefiles. Previously, each 
1441 compilation displayed the full set of compiler options. This has been 
1442 eliminated as the options are easily inspected within the makefiles. Each 
1443 compilation now results in a single line of output.
1444
1445 ----------------------------------------
1446 03 March 2017. Summary of changes for version 20170303:
1447
1448
1449 0) ACPICA licensing:
1450
1451 The licensing information at the start of each source code module has 
1452 been updated. In addition to the Intel license, the dual GPLv2/BSD 
1453 license has been added for completeness. Now, a single version of the 
1454 source code should be suitable for all ACPICA customers. This is the 
1455 major change for this release since it affects all source code modules.
1456
1457
1458 1) ACPICA kernel-resident subsystem: 
1459
1460 Fixed two issues with the common asltypes.h header that could cause 
1461 problems in some environments: (Kim Jung-uk)
1462     Removed typedef for YY_BUFFER_STATE ?
1463        Fixes an error with earlier versions of Flex.
1464     Removed use of FILE typedef (which is only defined in stdio.h)
1465
1466
1467 2) iASL Compiler/Disassembler and Tools: 
1468
1469 Disassembler: fixed a regression introduced in 20170224. A fix for a 
1470 memory leak related to resource descriptor tags (names) could fault when 
1471 the disassembler was generated with 64-bit compilers.
1472
1473 The ASLTS test suite has been updated to implement a new testing 
1474 architecture. During generation of the suite from ASL source, both the 
1475 ASL and ASL+ compilers are now validated, as well as the disassembler 
1476 itself (Erik Schmauss). The architecture executes as follows:
1477
1478     For every ASL source module:
1479         Compile (legacy ASL compilation)
1480         Disassemble the resulting AML to ASL+ source code
1481         Compile the new ASL+ module
1482         Perform a binary compare on the legacy AML and the new ASL+ AML
1483     The ASLTS suite then executes normally using the AML binaries.
1484
1485 ----------------------------------------
1486 24 February 2017. Summary of changes for version 20170224:
1487
1488
1489 1) ACPICA kernel-resident subsystem:
1490
1491 Interpreter: Fixed two issues with the control method return value auto-
1492 repair feature, where an attempt to double-delete an internal object 
1493 could result in an ACPICA warning (for _CID repair and others). No fault 
1494 occurs, however, because the attempted deletion (actually a release to an 
1495 internal cache) is detected and ignored via object poisoning.
1496
1497 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
1498 of control methods. If certain debugger commands are executed during 
1499 stepping, a mutex acquire/release error could occur. Lv Zheng.
1500
1501 Fixed some issues generating ACPICA with the Intel C compiler by 
1502 restoring the original behavior and compiler-specific include file in 
1503 acenv.h. Lv Zheng.
1504
1505 Example Code and Data Size: These are the sizes for the OS-independent 
1506 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1507 debug version of the code includes the debug output trace mechanism and 
1508 has a much larger code and data size.
1509
1510   Current Release:
1511     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1512     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
1513   Previous Release:
1514     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1515     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1516
1517
1518 2) iASL Compiler/Disassembler and Tools:
1519
1520 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
1521 tool has been designed, implemented, and included in this release. The 
1522 key feature of this utility is that the original comments within the 
1523 input ASL file are preserved during the conversion process, and included 
1524 within the converted ASL+ file -- thus creating a transparent conversion 
1525 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
1526
1527     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
1528 converted code
1529
1530 iASL/Disassembler: Improved the detection and correct disassembly of 
1531 Switch/Case operators. This feature detects sequences of if/elseif/else 
1532 operators that originated from ASL Switch/Case/Default operators and 
1533 emits the original operators. David Box.
1534
1535 iASL: Improved the IORT ACPI table support in the following areas. Lv 
1536 Zheng:
1537     Clear MappingOffset if the MappingCount is zero.
1538     Fix the disassembly of the SMMU GSU interrupt offset.
1539     Update the template file for the IORT table.
1540
1541 Disassembler: Enhanced the detection and disassembly of resource 
1542 template/descriptor within a Buffer object. An EndTag descriptor is now 
1543 required to have a zero second byte, since all known ASL compilers emit 
1544 this. This helps eliminate incorrect decisions when a buffer is 
1545 disassembled (false positives on resource templates).
1546
1547 ----------------------------------------
1548 19 January 2017. Summary of changes for version 20170119:
1549
1550
1551 1) General ACPICA software:
1552
1553 Entire source code base: Added the 2017 copyright to all source code 
1554 legal/licensing module headers and utility/tool signons. This includes 
1555 the standard Linux dual-license header. This affects virtually every file 
1556 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
1557 the ACPICA test suite.
1558
1559
1560 2) iASL Compiler/Disassembler and Tools:
1561
1562 iASL: Removed/fixed an inadvertent remark when a method argument 
1563 containing a reference is used as a target operand within the method (and 
1564 never used as a simple argument), as in the example below. Jeffrey Hugo.
1565
1566     dsdt.asl   1507:    Store(0x1, Arg0)
1567     Remark   2146 -                ^ Method Argument is never used (Arg0)
1568
1569 All tools: Removed the bit width of the compiler that generated the tool 
1570 from the common signon for all user space tools. This proved to be 
1571 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
1572 from the generic makefiles (Thomas Petazzoni). Example below.
1573
1574     Old:
1575     ASL+ Optimizing Compiler version 20170119-32
1576     ASL+ Optimizing Compiler version 20170119-64
1577
1578     New:
1579     ASL+ Optimizing Compiler version 20170119
1580
1581 ----------------------------------------
1582 22 December 2016. Summary of changes for version 20161222:
1583
1584
1585 1) ACPICA kernel-resident subsystem:
1586
1587 AML Debugger: Implemented a new mechanism to simplify and enhance 
1588 debugger integration into all environments, including kernel debuggers 
1589 and user-space utilities, as well as remote debug services. This 
1590 mechanism essentially consists of new OSL interfaces to support debugger 
1591 initialization/termination, as well as wait/notify interfaces to perform 
1592 the debugger handshake with the host. Lv Zheng.
1593
1594     New OSL interfaces:
1595         AcpiOsInitializeDebugger (void)
1596         AcpiOsTerminateDebugger (void)
1597         AcpiOsWaitCommandReady (void)
1598         AcpiOsNotifyCommandComplete (void)
1599
1600     New OS services layer:
1601         osgendbg.c -- Example implementation, and used for AcpiExec
1602
1603 Update for Generic Address Space (GAS) support: Although the AccessWidth 
1604 and/or BitOffset fields of the GAS are not often used, this change now 
1605 fully supports these fields. This affects the internal support for FADT 
1606 registers, registers in other ACPI data tables, and the AcpiRead and 
1607 AcpiWrite public interfaces. Lv Zheng.
1608
1609 Sleep support: In order to simplify integration of ACPI sleep for the 
1610 various host operating systems, a new OSL interface has been introduced. 
1611 AcpiOsEnterSleep allows the host to perform any required operations 
1612 before the final write to the sleep control register(s) is performed by 
1613 ACPICA. Lv Zheng.
1614
1615     New OSL interface:
1616         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
1617
1618     Called from these internal interfaces:
1619         AcpiHwLegacySleep
1620         AcpiHwExtendedSleep
1621
1622 EFI support: Added a very small EFI/ACPICA example application. Provides 
1623 a simple demo for EFI integration, as well as assisting with resolution 
1624 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
1625
1626     source/tools/efihello/efihello.c
1627
1628 Local C library: Implemented several new functions to enhance ACPICA 
1629 portability, for environments where these clib functions are not 
1630 available (such as EFI). Lv Zheng:
1631     putchar
1632     getchar
1633     strpbrk
1634     strtok
1635     memmove
1636
1637 Fixed a regression where occasionally a valid resource descriptor was 
1638 incorrectly detected as invalid at runtime, and a 
1639 AE_AML_NO_RESOURCE_END_TAG was returned.
1640
1641 Fixed a problem with the recently implemented support that enables 
1642 control method invocations as Target operands to many ASL operators. 
1643 Warnings of this form: "Needed type [Reference], found [Processor]" were 
1644 seen at runtime for some method invocations.
1645
1646 Example Code and Data Size: These are the sizes for the OS-independent 
1647 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1648 debug version of the code includes the debug output trace mechanism and 
1649 has a much larger code and data size.
1650
1651   Current Release:
1652     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
1653     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
1654   Previous Release:
1655     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1656     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1657
1658
1659 2) iASL Compiler/Disassembler and Tools:
1660
1661 Disassembler: Enhanced output by adding the capability to detect and 
1662 disassemble ASL Switch/Case statements back to the original ASL source 
1663 code instead of if/else blocks. David Box.
1664
1665 AcpiHelp: Split a large file into separate files based upon 
1666 functionality/purpose. New files are:
1667     ahaml.c
1668     ahasl.c
1669
1670 ----------------------------------------
1671 17 November 2016. Summary of changes for version 20161117:
1672
1673
1674 1) ACPICA kernel-resident subsystem:
1675
1676 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
1677 cleanup". This was an attempt to remove all references in the source to 
1678 the FADT version 2, which never was a legal version number. It was 
1679 skipped because it was an early version of 64-bit support that was 
1680 eventually abandoned for the current 64-bit support.
1681
1682 Interpreter: Fixed a problem where runtime implicit conversion was 
1683 incorrectly disabled for the ASL operators below. This brings the 
1684 behavior into compliance with the ACPI specification:
1685     FromBCD
1686     ToBCD
1687     ToDecimalString
1688     ToHexString
1689     ToInteger
1690     ToBuffer
1691
1692 Table Manager: Added a new public interface, AcpiPutTable, used to 
1693 release and free an ACPI table returned by AcpiGetTable and related 
1694 interfaces. Lv Zheng.
1695
1696 Example Code and Data Size: These are the sizes for the OS-independent 
1697 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1698 debug version of the code includes the debug output trace mechanism and 
1699 has a much larger code and data size.
1700
1701   Current Release:
1702     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1703     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
1704   Previous Release:
1705     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1706     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1707
1708
1709 2) iASL Compiler/Disassembler and Tools:
1710
1711 Disassembler: Fixed a regression for disassembly of Resource Template. 
1712 Detection of templates in the AML stream missed some types of templates.
1713
1714 iASL: Fixed a problem where an Access Size error was returned for the PCC 
1715 address space when the AccessSize of the GAS register is greater than a 
1716 DWORD. Hoan Tran.
1717
1718 iASL: Implemented several grammar changes for the operators below. These 
1719 changes are slated for the next version of the ACPI specification:
1720     RefOf        - Disallow method invocation as an operand
1721     CondRefOf    - Disallow method invocation as an operand
1722     DerefOf      - Disallow operands that use the result from operators 
1723 that
1724                    do not return a reference (Changed TermArg to 
1725 SuperName).
1726
1727 iASL: Control method invocations are now allowed for Target operands, as 
1728 per the ACPI specification. Removed error for using a control method 
1729 invocation as a Target operand.
1730
1731 Disassembler: Improved detection of Resource Templates, Unicode, and 
1732 Strings within Buffer objects. These subtypes do not contain a specific 
1733 opcode to indicate the originating ASL code, and they must be detected by 
1734 other means within the disassembler. 
1735
1736 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
1737 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
1738 only after 64-bit to 32-bit truncation. A truncation warning message is 
1739 still emitted, however.
1740
1741 AcpiXtract: Implemented handling for both types of line terminators (LF 
1742 or CR/LF) so that it can accept AcpiDump output files from any system. 
1743 Peter Wu.
1744
1745 AcpiBin: Added two new options for comparing AML files:
1746     -a: compare and display ALL mismatches
1747     -o: start compare at this offset into the second file
1748
1749 ----------------------------------------
1750 30 September 2016. Summary of changes for version 20160930:
1751
1752
1753 1) ACPICA kernel-resident subsystem:
1754
1755 Fixed a regression in the internal AcpiTbFindTable function where a non 
1756 AE_OK exception could inadvertently be returned even if the function did 
1757 not fail. This problem affects the following operators:
1758     DataTableRegion
1759     LoadTable
1760
1761 Fixed a regression in the LoadTable operator where a load to any 
1762 namespace location other than the root no longer worked properly.
1763
1764 Increased the maximum loop count value that will result in the 
1765 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
1766 prevent infinite loops within the AML interpreter and thus the host OS 
1767 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
1768 1,048,575).
1769
1770 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
1771 acpixf.h file. This allows hosts to easily configure the maximum loop 
1772 count at runtime.
1773
1774 Removed an illegal character in the strtoul64.c file. This character 
1775 caused errors with some C compilers.
1776
1777 Example Code and Data Size: These are the sizes for the OS-independent 
1778 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1779 debug version of the code includes the debug output trace mechanism and 
1780 has a much larger code and data size.
1781
1782   Current Release:
1783     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1784     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1785   Previous Release:
1786     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
1787     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1788
1789
1790 2) iASL Compiler/Disassembler and Tools:
1791
1792 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
1793 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
1794 block could be lost and missing from the disassembled output.
1795
1796 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
1797 the missing rule caused a parse error when using the Index operator as an 
1798 operand to ObjectType. This construct now compiles properly. Example:
1799     ObjectType(PKG1[4]).
1800
1801 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
1802 option). Previously, unresolved symbols could cause a protection fault. 
1803 Such symbols are now marked as unresolved in the map file.
1804
1805 iASL: Implemented support to allow control method invocations as an 
1806 operand to the ASL DeRefOf operator. Example:
1807     DeRefOf(MTH1(Local0))
1808
1809 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
1810 possible _PLD buffer now includes examination of both the normal buffer 
1811 length (16 or 20) as well as the surrounding AML package length.
1812
1813 Disassembler: Fixed a problem with the decoding of complex expressions 
1814 within the Divide operator for ASL+. For the case where both the quotient 
1815 and remainder targets are specified, the entire statement cannot be 
1816 disassembled. Previously, the output incorrectly contained a mix of ASL- 
1817 and ASL+ operators. This mixed statement causes a syntax error when 
1818 compiled. Example:
1819     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
1820 disassembled to:
1821     Divide (INT1 + 6, 128, RSLT, QUOT)
1822
1823 iASL/Tools: Added support to process AML and non-AML ACPI tables 
1824 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
1825 tables (AML and data tables). For the iASL -e option, allow only AML 
1826 tables (DSDT/SSDT).
1827
1828 ----------------------------------------
1829 31 August 2016. Summary of changes for version 20160831:
1830
1831
1832 1) ACPICA kernel-resident subsystem:
1833
1834 Improve support for the so-called "module-level code", which is defined 
1835 to be math, logical and control AML opcodes that appear outside of any 
1836 control method. This change improves the support by adding more opcodes 
1837 that can be executed in the manner. Some other issues have been solved, 
1838 and the ASL grammar changes to support such code under all scope 
1839 operators (Device, etc.) are complete. Lv Zheng.
1840
1841 UEFI support: these OSL functions have been implemented. This is an 
1842 additional step toward supporting the AcpiExec utility natively (with 
1843 full hardware access) under UEFI. Marcelo Ferreira.
1844     AcpiOsReadPciConfiguration
1845     AcpiOsWritePciConfiguration
1846
1847 Fixed a possible mutex error during control method auto-serialization. Lv 
1848 Zheng. 
1849
1850 Updated support for the Generic Address Structure by fully implementing 
1851 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
1852 Zheng.
1853
1854 Updated the return value for the internal _OSI method. Instead of 
1855 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
1856 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
1857 implementations, and will be reflected and clarified in the next version 
1858 of the ACPI specification.
1859
1860 Implemented two new table events that can be passed to an ACPICA table 
1861 handler. These events are used to indicate a table installation or 
1862 uninstallation. These events are used in addition to existed table load 
1863 and unload events. Lv Zheng.
1864
1865 Implemented a cleanup for all internal string-to-integer conversions. 
1866 Consolidate multiple versions of this functionality and limit possible 
1867 bases to either 10 or 16 to simplify the code. Adds a new file, 
1868 utstrtoul64.
1869
1870 Cleanup the inclusion order of the various compiler-specific headers. 
1871 This simplifies build configuration management. The compiler-specific 
1872 headers are now split out from the host-specific headers. Lv Zheng.
1873
1874 Example Code and Data Size: These are the sizes for the OS-independent 
1875 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1876 debug version of the code includes the debug output trace mechanism and 
1877 has a much larger code and data size.
1878
1879   Current Release:
1880     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
1881     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1882
1883
1884 2) iASL Compiler/Disassembler and Tools:
1885
1886 iASL/AcpiExec: Added a command line option to display the build date/time 
1887 of the tool (-vd). This can be useful to verify that the correct version 
1888 of the tools are being used.
1889
1890 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
1891 all predefined control methods and names within the current namespace. 
1892 This can be useful for debugging problems with ACPI tables and the ACPI 
1893 namespace.
1894
1895 ----------------------------------------
1896 29 July 2016. Summary of changes for version 20160729:
1897
1898
1899 1) ACPICA kernel-resident subsystem:
1900
1901 Implemented basic UEFI support for the various ACPICA tools. This 
1902 includes:
1903 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
1904 2) Support to obtain the ACPI tables on UEFI.
1905 3) Local implementation of required C library functions not available on 
1906 UEFI.
1907 4) A front-end (main) function for the tools for UEFI-related 
1908 initialization.
1909
1910 The initial deployment of this support is the AcpiDump utility executing 
1911 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
1912 Current environments supported are Linux/Unix. MSVC generation is not 
1913 supported at this time. See the generate/efi/README file for build 
1914 instructions. Lv Zheng.
1915
1916 Future plans include porting the AcpiExec utility to execute natively on 
1917 the platform with I/O and memory access. This will allow viewing/dump of 
1918 the platform namespace and native execution of ACPI control methods that 
1919 access the actual hardware. To fully implement this support, the OSL 
1920 functions below must be implemented with UEFI interfaces. Any community 
1921 help in the implementation of these functions would be appreciated:
1922     AcpiOsReadPort
1923     AcpiOsWritePort
1924     AcpiOsReadMemory
1925     AcpiOsWriteMemory
1926     AcpiOsReadPciConfiguration
1927     AcpiOsWritePciConfiguration
1928
1929 Restructured and standardized the C library configuration for ACPICA, 
1930 resulting in the various configuration options below. This includes a 
1931 global restructuring of the compiler-dependent and platform-dependent 
1932 include files. These changes may affect the existing platform-dependent 
1933 configuration files on some hosts. Lv Zheng. 
1934
1935 The current C library configuration options appear below. For any issues, 
1936 it may be helpful to examine the existing compiler-dependent and 
1937 platform-dependent files as examples. Lv Zheng. 
1938
1939 1) Linux kernel:
1940     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1941 library.
1942     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1943 2) Unix/Windows/BSD applications:
1944     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
1945 library.
1946     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1947 3) UEFI applications:
1948     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1949 library.
1950     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
1951 4) UEFI applications (EDK2/StdLib):
1952     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
1953     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
1954
1955
1956 AML interpreter: "module-level code" support. Allows for execution of so-
1957 called "executable" AML code (math/logical operations, etc.) outside of 
1958 control methods not just at the module level (top level) but also within 
1959 any scope declared outside of a control method - Scope{}, Device{}, 
1960 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
1961
1962 Simplified the configuration of the "maximum AML loops" global option by 
1963 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
1964 modified at runtime.
1965
1966
1967 Example Code and Data Size: These are the sizes for the OS-independent 
1968 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1969 debug version of the code includes the debug output trace mechanism and 
1970 has a much larger code and data size.
1971
1972   Current Release:
1973     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
1974     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
1975
1976
1977 2) iASL Compiler/Disassembler and Tools:
1978
1979 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
1980 Includes disassembler, data table compiler, and header support.
1981
1982 iASL Expand "module-level code" support. Allows for 
1983 compilation/disassembly of so-called "executable" AML code (math/logical 
1984 operations, etc.) outside of control methods not just at the module level 
1985 (top level) but also within any scope declared outside of a control 
1986 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
1987 ThermalZone{}.
1988
1989 AcpiDump: Added support for dumping all SSDTs on newer versions of 
1990 Windows. These tables are now easily available -- SSDTs are not available 
1991 through the registry on older versions.
1992
1993 ----------------------------------------
1994 27 May 2016. Summary of changes for version 20160527:
1995
1996
1997 1) ACPICA kernel-resident subsystem:
1998
1999 Temporarily reverted the new arbitrary bit length/alignment support in 
2000 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
2001 a number of regressions with the new code that need to be fully resolved 
2002 and tested before this support can be finally integrated into ACPICA. 
2003 Apologies for any inconveniences these issues may have caused.
2004
2005 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
2006 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
2007 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
2008
2009 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
2010 option. Adds a new return macro, return_STR. Junk-uk Kim.
2011
2012 Example Code and Data Size: These are the sizes for the OS-independent 
2013 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2014 debug version of the code includes the debug output trace mechanism and 
2015 has a much larger code and data size.
2016
2017   Current Release:
2018     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
2019     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
2020   Previous Release:
2021     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
2022     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
2023
2024 ----------------------------------------
2025 22 April 2016. Summary of changes for version 20160422:
2026
2027 1) ACPICA kernel-resident subsystem:
2028
2029 Fixed a regression in the GAS (generic address structure) arbitrary bit 
2030 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
2031 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
2032
2033 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
2034 was added to each of these macros, and the original name has been 
2035 deprecated. The AML disassembler will always disassemble to the new 
2036 names. Support for the new macros was added to iASL, disassembler, 
2037 resource manager, and the acpihelp utility. ACPICA BZ 1274.
2038
2039     I2cSerialBus  -> I2cSerialBusV2
2040     SpiSerialBus  -> SpiSerialBusV2
2041     UartSerialBus -> UartSerialBusV2
2042
2043 ACPI 6.0: Added support for a new integer field that was appended to the 
2044 package object returned by the _BIX method. This adds iASL compile-time 
2045 and AML runtime error checking. ACPICA BZ 1273.
2046
2047 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
2048 Subspace Type2" (Headers, Disassembler, and data table compiler).
2049
2050 Example Code and Data Size: These are the sizes for the OS-independent 
2051 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2052 debug version of the code includes the debug output trace mechanism and 
2053 has a much larger code and data size.
2054
2055   Current Release:
2056     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
2057     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
2058   Previous Release:
2059     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
2060     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
2061
2062
2063 2) iASL Compiler/Disassembler and Tools:
2064
2065 iASL: Implemented an ASL grammar extension to allow/enable executable 
2066 "module-level code" to be created and executed under the various 
2067 operators that create new scopes. This type of AML code is already 
2068 supported in all known AML interpreters, and the grammar change will 
2069 appear in the next version of the ACPI specification. Simplifies the 
2070 conditional runtime creation of named objects under these object types: 
2071
2072     Device
2073     PowerResource
2074     Processor
2075     Scope
2076     ThermalZone
2077
2078 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
2079 ease-of-use to the ASL language. The syntax is similar to the 
2080 corresponding C operator, and is implemented with the existing AML While 
2081 opcode -- thus requiring no changes to existing AML interpreters.
2082
2083     For (Initialize, Predicate, Update) {TermList}
2084
2085 Grammar:
2086     ForTerm :=
2087         For (
2088             Initializer    // Nothing | TermArg => ComputationalData
2089             Predicate      // Nothing | TermArg => ComputationalData
2090             Update         // Nothing | TermArg => ComputationalData
2091         ) {TermList}
2092
2093
2094 iASL: The _HID/_ADR detection and validation has been enhanced to search 
2095 under conditionals in order to allow these objects to be conditionally 
2096 created at runtime.
2097
2098 iASL: Fixed several issues with the constant folding feature. The 
2099 improvement allows better detection and resolution of statements that can 
2100 be folded at compile time. ACPICA BZ 1266. 
2101
2102 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
2103 conversion to the ASL ElseIf operator where incorrect ASL code could be 
2104 generated.
2105
2106 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
2107 sometimes an extra (and extraneous) set of parentheses were emitted for 
2108 some combinations of operators. Although this did not cause any problems 
2109 with recompilation of the disassembled code, it made the code more 
2110 difficult to read. David Box. ACPICA BZ 1231.
2111
2112 iASL: Changed to ignore the unreferenced detection for predefined names 
2113 of resource descriptor elements, when the resource descriptor is 
2114 created/defined within a control method.
2115
2116 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
2117 objects.
2118
2119 ----------------------------------------
2120 18 March 2016. Summary of changes for version 20160318:
2121
2122 1) ACPICA kernel-resident subsystem:
2123
2124 Added support for arbitrary bit lengths and bit offsets for registers 
2125 defined by the Generic Address Structure. Previously, only aligned bit 
2126 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
2127 but recently some machines have been seen that require arbitrary bit-
2128 level support. ACPICA BZ 1240. Lv Zheng.
2129
2130 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
2131 before any _REG methods are evaluated. Lv Zheng.
2132
2133 Implemented several changes related to ACPI table support 
2134 (Headers/Disassembler/TableCompiler):
2135 NFIT: For ACPI 6.1, updated to add some additional new fields and 
2136 constants.
2137 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
2138 6).
2139 DMAR: Added new constants per the 10/2014 DMAR spec.
2140 IORT: Added new subtable per the 10/2015 IORT spec.
2141 HEST: For ACPI 6.1, added new constants and new subtable.
2142 DBG2: Added new constants per the 12/2015 DBG2 spec.
2143 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
2144 ACPICA BZ 1249.
2145 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
2146
2147 Updated header support for the DMAR table to match the current version of 
2148 the related spec.
2149
2150 Added extensions to the ASL Concatenate operator to allow any ACPI object 
2151 to be passed as an operand. Any object other than Integer/String/Buffer 
2152 simply returns a string containing the object type. This extends the 
2153 usefulness of the Printf macros. Previously, Concatenate would abort the 
2154 control method if a non-data object was encountered.
2155
2156 ACPICA source code: Deployed the C "const" keyword across the source code 
2157 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
2158
2159 Example Code and Data Size: These are the sizes for the OS-independent 
2160 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2161 debug version of the code includes the debug output trace mechanism and 
2162 has a much larger code and data size.
2163
2164   Current Release:
2165     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
2166     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
2167   Previous Release:
2168     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
2169     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
2170
2171
2172 2) iASL Compiler/Disassembler and Tools:
2173
2174 iASL/Disassembler: Improved the heuristic used to determine the number of 
2175 arguments for an externally defined control method (a method in another 
2176 table). Although this is an improvement, there is no deterministic way to 
2177 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
2178 will completely solve this problem as it is deployed (automatically) in 
2179 newer BIOS code.
2180
2181 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
2182 statements that could cause errors when the disassembled file is 
2183 compiled. ACPICA BZ 1243. David Box.
2184
2185 iASL: Fixed a regression caused by the merger of the two versions of the 
2186 local strtoul64. Because of a dependency on a global variable, strtoul64 
2187 could return an error for integers greater than a 32-bit value. ACPICA BZ 
2188 1260.
2189
2190 iASL: Fixed a regression where a fault could occur for an ASL Return 
2191 statement if it invokes a control method that is not resolved. ACPICA BZ 
2192 1264.
2193
2194 AcpiXtract: Improved input file validation: detection of binary files and 
2195 non-acpidump text files.
2196
2197 ----------------------------------------
2198 12 February 2016. Summary of changes for version 20160212:
2199
2200 1) ACPICA kernel-resident subsystem:
2201
2202 Implemented full support for the ACPI 6.1 specification (released in 
2203 January). This version of the specification is available at:  
2204 http://www.uefi.org/specifications
2205
2206 Only a relatively small number of changes were required in ACPICA to 
2207 support ACPI 6.1, in these areas:
2208 - New predefined names
2209 - New _HID values
2210 - A new subtable for HEST
2211 - A few other header changes for new values
2212
2213 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
2214 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
2215
2216 Reverted a change made in version 20151218 which enabled method 
2217 invocations to be targets of various ASL operators (SuperName and Target 
2218 grammar elements). While the new behavior is supported by the ACPI 
2219 specification, other AML interpreters do not support this behavior and 
2220 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
2221 this support. Therefore, the change was reverted to the original ACPICA 
2222 behavior.
2223
2224 ACPICA now supports the GCC 6 compiler.
2225
2226 Current Release: (Note: build changes increased sizes)
2227     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
2228     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
2229 Previous Release:
2230     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
2231     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
2232
2233
2234 2) iASL Compiler/Disassembler and Tools:
2235
2236 Completed full support for the ACPI 6.0 External() AML opcode. The 
2237 compiler emits an external AML opcode for each ASL External statement. 
2238 This opcode is used by the disassembler to assist with the disassembly of 
2239 external control methods by specifying the required number of arguments 
2240 for the method. AML interpreters do not use this opcode. To ensure that 
2241 interpreters do not even see the opcode, a block of one or more external 
2242 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
2243 commonly deployed in BIOS code, the ability of disassemblers to correctly 
2244 disassemble AML code will be greatly improved. David Box.
2245
2246 iASL: Implemented support for an optional cross-reference output file. 
2247 The -lx option will create a the cross-reference file with the suffix 
2248 "xrf". Three different types of cross-reference are created in this file:
2249 - List of object references made from within each control method
2250 - Invocation (caller) list for each user-defined control method
2251 - List of references to each non-method object in the namespace
2252
2253 iASL: Method invocations as ASL Target operands are now disallowed and 
2254 flagged as errors in preparation for ACPI 6.2 (see the description of the 
2255 problem above).
2256
2257 ----------------------------------------
2258 8 January 2016. Summary of changes for version 20160108:
2259
2260 1) ACPICA kernel-resident subsystem:
2261
2262 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
2263 copyright to all source code module headers and utility/tool signons. 
2264 This includes the standard Linux dual-license header. This affects 
2265 virtually every file in the ACPICA core subsystem, iASL compiler, all 
2266 ACPICA utilities, and the ACPICA test suite.
2267
2268 Fixed a regression introduced in version 20151218 concerning the 
2269 execution of so-called module-level ASL/AML code. Namespace objects 
2270 created under a module-level If() construct were not properly/fully 
2271 entered into the namespace and could cause an interpreter fault when 
2272 accessed.
2273
2274 Example Code and Data Size: These are the sizes for the OS-independent 
2275 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2276 debug version of the code includes the debug output trace mechanism and 
2277 has a much larger code and data size.
2278
2279 Current Release:
2280     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
2281     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
2282   Previous Release:
2283     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2284     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
2285
2286
2287 2) iASL Compiler/Disassembler and Tools:
2288
2289 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
2290 descriptors. The _PIN field name was incorrectly defined to be an array 
2291 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
2292 would cause incorrect bit width warnings when using Word (16-bit) fields 
2293 to access the descriptors.
2294
2295
2296 ----------------------------------------
2297 18 December 2015. Summary of changes for version 20151218:
2298
2299 1) ACPICA kernel-resident subsystem:
2300
2301 Implemented per-AML-table execution of "module-level code" as individual 
2302 ACPI tables are loaded into the namespace during ACPICA initialization. 
2303 In other words, any module-level code within an AML table is executed 
2304 immediately after the table is loaded, instead of batched and executed 
2305 after all of the tables have been loaded. This provides compatibility 
2306 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
2307 David Box.
2308
2309 To fully support the feature above, the default operation region handlers 
2310 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
2311 installed before any ACPI tables are loaded. This enables module-level 
2312 code to access these address spaces during the table load and module-
2313 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
2314 Box.
2315
2316 Implemented several changes to the internal _REG support in conjunction 
2317 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
2318 utilities for the changes above. Although these tools were changed, host 
2319 operating systems that simply use the default handlers for SystemMemory, 
2320 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
2321
2322 For example, in the code below, DEV1 is conditionally added to the 
2323 namespace by the DSDT via module-level code that accesses an operation 
2324 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
2325 created immediately after the DSDT is loaded in order for the SSDT to 
2326 successfully reference DEV1. Previously, this code would cause an 
2327 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
2328 fully supported by ACPICA.
2329
2330     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
2331     {
2332         OperationRegion (OPR1, SystemMemory, 0x400, 32)
2333         Field (OPR1, AnyAcc, NoLock, Preserve)
2334         {
2335             FLD1, 1
2336         }
2337         If (FLD1)
2338         {
2339             Device (\DEV1)
2340             {
2341             }
2342         }
2343     }
2344     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
2345     {
2346         External (\DEV1, DeviceObj)
2347         Scope (\DEV1)
2348         {
2349         }
2350     }
2351
2352 Fixed an AML interpreter problem where control method invocations were 
2353 not handled correctly when the invocation was itself a SuperName argument 
2354 to another ASL operator. In these cases, the method was not invoked. 
2355 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
2356 argument:
2357     Store
2358     Acquire, Wait
2359     CondRefOf, RefOf
2360     Decrement, Increment
2361     Load, Unload
2362     Notify
2363     Signal, Release, Reset
2364     SizeOf
2365
2366 Implemented automatic String-to-ObjectReference conversion support for 
2367 packages returned by predefined names (such as _DEP). A common BIOS error 
2368 is to add double quotes around an ObjectReference namepath, which turns 
2369 the reference into an unexpected string object. This support detects the 
2370 problem and corrects it before the package is returned to the caller that 
2371 invoked the method. Lv Zheng.
2372
2373 Implemented extensions to the Concatenate operator. Concatenate now 
2374 accepts any type of object, it is not restricted to simply 
2375 Integer/String/Buffer. For objects other than these 3 basic data types, 
2376 the argument is treated as a string containing the name of the object 
2377 type. This expands the utility of Concatenate and the Printf/Fprintf 
2378 macros. ACPICA BZ 1222.
2379
2380 Cleaned up the output of the ASL Debug object. The timer() value is now 
2381 optional and no longer emitted by default. Also, the basic data types of 
2382 Integer/String/Buffer are simply emitted as their values, without a data 
2383 type string -- since the data type is obvious from the output. ACPICA BZ 
2384 1221.
2385
2386 Example Code and Data Size: These are the sizes for the OS-independent 
2387 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2388 debug version of the code includes the debug output trace mechanism and 
2389 has a much larger code and data size.
2390
2391   Current Release:
2392     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2393     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
2394   Previous Release:
2395     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2396     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
2397
2398
2399 2) iASL Compiler/Disassembler and Tools:
2400
2401 iASL: Fixed some issues with the ASL Include() operator. This operator 
2402 was incorrectly defined in the iASL parser rules, causing a new scope to 
2403 be opened for the code within the include file. This could lead to 
2404 several issues, including allowing ASL code that is technically illegal 
2405 and not supported by AML interpreters. Note, this does not affect the 
2406 related #include preprocessor operator. ACPICA BZ 1212.
2407
2408 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
2409 operator is essentially an ASL macro since there is no AML opcode 
2410 associated with it. The code emitted by the iASL compiler for ElseIf is 
2411 an Else opcode followed immediately by an If opcode. The disassembler 
2412 will now emit an ElseIf if it finds an Else immediately followed by an 
2413 If. This simplifies the decoded ASL, especially for deeply nested 
2414 If..Else and large Switch constructs. Thus, the disassembled code more 
2415 closely follows the original source ASL. ACPICA BZ 1211. Example:
2416
2417     Old disassembly:
2418         Else
2419         {
2420             If (Arg0 == 0x02)
2421             {
2422                 Local0 = 0x05
2423             }
2424         }
2425
2426     New disassembly:
2427         ElseIf (Arg0 == 0x02)
2428         {
2429             Local0 = 0x05
2430         }
2431
2432 AcpiExec: Added support for the new module level code behavior and the 
2433 early region installation. This required a small change to the 
2434 initialization, since AcpiExec must install its own operation region 
2435 handlers.
2436
2437 AcpiExec: Added support to make the debug object timer optional. Default 
2438 is timer disabled. This cleans up the debug object output -- the timer 
2439 data is rarely used.
2440
2441 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
2442 appear on the command line. This can be important when there are 
2443 interdependencies/references between the tables.
2444
2445 iASL/Templates. Add support to generate template files with multiple 
2446 SSDTs within a single output file. Also added ommand line support to 
2447 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
2448 1223, 1225.
2449
2450
2451 ----------------------------------------
2452 24 November 2015. Summary of changes for version 20151124:
2453
2454 1) ACPICA kernel-resident subsystem:
2455
2456 Fixed a possible regression for a previous update to FADT handling. The 
2457 FADT no longer has a fixed table ID, causing some issues with code that 
2458 was hardwired to a specific ID. Lv Zheng.
2459
2460 Fixed a problem where the method auto-serialization could interfere with 
2461 the current SyncLevel. This change makes the auto-serialization support 
2462 transparent to the SyncLevel support and management.
2463
2464 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
2465 interface is intended for early access to the namespace during the 
2466 initial namespace device discovery walk. The _SUB method has been seen to 
2467 access operation regions in some cases, causing errors because the 
2468 operation regions are not fully initialized.
2469
2470 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
2471 that can cause faults. Lv Zheng.
2472
2473 AML Debugger: Add thread ID support so that single-step mode only applies 
2474 to the AML Debugger thread. This prevents runtime errors within some 
2475 kernels. Lv Zheng. 
2476
2477 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
2478 methods that are invoked by this interface are optional, removed warnings 
2479 emitted for the case where one or more of these methods do not exist. 
2480 ACPICA BZ 1208, original change by Prarit Bhargava.
2481
2482 Made a major pass through the entire ACPICA source code base to 
2483 standardize formatting that has diverged a bit over time. There are no 
2484 functional changes, but this will of course cause quite a few code 
2485 differences from the previous ACPICA release.
2486
2487 Example Code and Data Size: These are the sizes for the OS-independent 
2488 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2489 debug version of the code includes the debug output trace mechanism and 
2490 has a much larger code and data size.
2491
2492   Current Release:
2493     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2494     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
2495   Previous Release:
2496     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2497     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2498
2499
2500 2) iASL Compiler/Disassembler and Tools:
2501
2502 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
2503 definition blocks within a single ASL file and the resulting AML file. 
2504 Support for this type of file was also added to the various tools that 
2505 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
2506 example code below shows two definition blocks within the same file:
2507
2508     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
2509 0x12345678)
2510     {
2511     }
2512     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
2513     {
2514     }
2515
2516 iASL: Enhanced typechecking for the Name() operator. All expressions for 
2517 the value of the named object must be reduced/folded to a single constant 
2518 at compile time, as per the ACPI specification (the AML definition of 
2519 Name()).
2520
2521 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
2522 and assembly headers). Now all emitted code correctly begins in column 1.
2523
2524 iASL: Added an error message for an attempt to open a Scope() on an 
2525 object defined in an SSDT. The DSDT is always loaded into the namespace 
2526 first, so any attempt to open a Scope on an SSDT object will fail at 
2527 runtime.
2528
2529
2530 ----------------------------------------
2531 30 September 2015. Summary of changes for version 20150930:
2532
2533 1) ACPICA kernel-resident subsystem:
2534
2535 Debugger: Implemented several changes and bug fixes to assist support for 
2536 the in-kernel version of the AML debugger. Lv Zheng.
2537 - Fix the "predefined" command for in-kernel debugger.
2538 - Do not enter debug command loop for the help and version commands.
2539 - Disallow "execute" command during execution/single-step of a method.
2540
2541 Interpreter: Updated runtime typechecking for all operators that have 
2542 target operands. The operand is resolved and validated that it is legal. 
2543 For example, the target cannot be a non-data object such as a Device, 
2544 Mutex, ThermalZone, etc., as per the ACPI specification.
2545
2546 Debugger: Fixed the double-mutex user I/O handshake to work when local 
2547 deadlock detection is enabled.
2548
2549 Debugger: limited display of method locals and arguments (LocalX and 
2550 ArgX) to only those that have actually been initialized. This prevents 
2551 lines of extraneous output.
2552
2553 Updated the definition of the NFIT table to correct the bit polarity of 
2554 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
2555
2556 Example Code and Data Size: These are the sizes for the OS-independent 
2557 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2558 debug version of the code includes the debug output trace mechanism and 
2559 has a much larger code and data size.
2560
2561   Current Release:
2562     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2563     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
2564   Previous Release:
2565     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2566     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2567
2568
2569 2) iASL Compiler/Disassembler and Tools:
2570
2571 iASL: Improved the compile-time typechecking for operands of many of the 
2572 ASL operators:
2573
2574 -- Added an option to disable compiler operand/operator typechecking (-
2575 ot).
2576
2577 -- For the following operators, the TermArg operands are now validated 
2578 when possible to be Integer data objects: BankField, OperationRegion, 
2579 DataTableRegion, Buffer, and Package.
2580
2581 -- Store (Source, Target): Both the source and target operands are 
2582 resolved and checked that the operands are both legal. For example, 
2583 neither operand can be a non-data object such as a Device, Mutex, 
2584 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
2585 operator can be used to store an object to any type of target object.
2586
2587 -- Store (Source, Target): If the source is a Package object, the target 
2588 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
2589 is a Package, the source must also be a Package.
2590
2591 -- Store (Source, Target): A warning is issued if the source and target 
2592 resolve to the identical named object.
2593
2594 -- Store (Source, <method invocation>): An error is generated for the 
2595 target method invocation, as this construct is not supported by the AML 
2596 interpreter.
2597
2598 -- For all ASL math and logic operators, the target operand must be a 
2599 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
2600 includes the function return value also.
2601
2602 -- External declarations are also included in the typechecking where 
2603 possible. External objects defined using the UnknownObj keyword cannot be 
2604 typechecked, however.
2605
2606 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
2607 operator:
2608 - Legacy code: Index(PKG1, 3)
2609 - New ASL+ code: PKG1[3]
2610 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
2611 supported.
2612
2613 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
2614 spaces were inadvertently appended to the filename, causing file access 
2615 and deletion problems on some systems.
2616
2617 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
2618 possible compiler output files when building the test suite -- thus 
2619 exercising these features of the compiler. These files are automatically 
2620 deleted when the test suite exits.
2621
2622
2623 ----------------------------------------
2624 18 August 2015. Summary of changes for version 20150818:
2625
2626 1) ACPICA kernel-resident subsystem:
2627
2628 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
2629 Zheng. ACPICA BZ 1186.
2630
2631 Completed development to ensure that the ACPICA Disassembler and Debugger 
2632 are fully standalone components of ACPICA. Removed cross-component 
2633 dependences. Lv Zheng.
2634
2635 The max-number-of-AML-loops is now runtime configurable (previously was 
2636 compile-time only). This is essentially a loop timeout to force-abort 
2637 infinite AML loops. ACPCIA BZ 1192.
2638
2639 Debugger: Cleanup output to dump ACPI names and namepaths without any 
2640 trailing underscores. Lv Zheng. ACPICA BZ 1135.
2641
2642 Removed unnecessary conditional compilations across the Debugger and 
2643 Disassembler components where entire modules could be left uncompiled.
2644
2645 The aapits test is deprecated and has been removed from the ACPICA git 
2646 tree. The test has never been completed and has not been maintained, thus 
2647 becoming rather useless. ACPICA BZ 1015, 794.
2648
2649 A batch of small changes to close bugzilla and other reports:
2650 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
2651 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
2652 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
2653 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
2654 Moore.
2655 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
2656 ACPICA BZ 1184.
2657 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
2658 operators.
2659 - Debugger: Split debugger initialization/termination interfaces. Lv 
2660 Zheng.
2661 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
2662 identification.
2663 - AcpiExec: Add debug message during _REG method phase during table 
2664 load/init.
2665 - AcpiNames: Fix a regression where some output was missing and no longer 
2666 emitted.
2667 - Debugger: General cleanup and simplification. Lv Zheng.
2668 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
2669
2670 Example Code and Data Size: These are the sizes for the OS-independent 
2671 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2672 debug version of the code includes the debug output trace mechanism and 
2673 has a much larger code and data size.
2674
2675   Current Release:
2676     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2677     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
2678   Previous Release:
2679     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2680     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2681
2682
2683 2) iASL Compiler/Disassembler and Tools:
2684
2685 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
2686 were not handled properly and caused load errors. Now, properly invoke 
2687 and use the ACPICA auto-reallocate mechanism for ACPI table data 
2688 structures. ACPICA BZ 1188
2689
2690 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
2691 BZ 1190.
2692
2693 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
2694 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
2695 executed during initialization. ACPICA BZ 1187, 1189.
2696
2697 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
2698 that corresponds to each disassembled ASL statement, to simplify 
2699 debugging. ACPICA BZ 1191.
2700
2701 Debugger: Add option to the "objects" command to display a summary of the 
2702 current namespace objects (Object type and count). This is displayed if 
2703 the command is entered with no arguments.
2704
2705 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
2706
2707
2708 ----------------------------------------
2709 17 July 2015. Summary of changes for version 20150717:
2710
2711 1) ACPICA kernel-resident subsystem:
2712
2713 Improved the partitioning between the Debugger and Disassembler 
2714 components. This allows the Debugger to be used standalone within kernel 
2715 code without the Disassembler (which is used for single stepping also). 
2716 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
2717
2718 Debugger: Implemented a new command to trace the execution of control 
2719 methods (Trace). This is especially useful for the in-kernel version of 
2720 the debugger when file I/O may not be available for method trace output. 
2721 See the ACPICA reference for more information. Lv Zheng.
2722
2723 Moved all C library prototypes (used for the local versions of these 
2724 functions when requested) to a new header, acclib.h
2725 Cleaned up the use of non-ANSI C library functions. These functions are 
2726 implemented locally in ACPICA. Moved all such functions to a common 
2727 source file, utnonansi.c
2728
2729 Debugger: Fixed a problem with the "!!" command (get last command 
2730 executed) where the debugger could enter an infinite loop and eventually 
2731 crash.
2732
2733 Removed the use of local macros that were used for some of the standard C 
2734 library functions to automatically cast input parameters. This mostly 
2735 affected the is* functions where the input parameter is defined to be an 
2736 int. This required a few modifications to the main ACPICA source code to 
2737 provide casting for these functions and eliminate possible compiler 
2738 warnings for these parameters.
2739
2740 Across the source code, added additional status/error checking to resolve 
2741 issues discovered by static source code analysis tools such as Coverity.
2742
2743 Example Code and Data Size: These are the sizes for the OS-independent 
2744 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2745 debug version of the code includes the debug output trace mechanism and 
2746 has a much larger code and data size.
2747
2748   Current Release:
2749     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2750     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
2751   Previous Release:
2752     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2753     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2754
2755
2756 2) iASL Compiler/Disassembler and Tools:
2757
2758 iASL: Fixed a regression where the device map file feature no longer 
2759 worked properly when used in conjunction with the disassembler. It only 
2760 worked properly with the compiler itself.
2761
2762 iASL: Implemented a new warning for method LocalX variables that are set 
2763 but never used (similar to a C compiler such as gcc). This also applies 
2764 to ArgX variables that are not defined by the parent method, and are 
2765 instead (legally) used as local variables.
2766
2767 iASL/Preprocessor: Finished the pass-through of line numbers from the 
2768 preprocessor to the compiler. This ensures that compiler errors/warnings 
2769 have the correct original line numbers and filenames, regardless of any 
2770 #include files.
2771
2772 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
2773 pass-through of comments to the preprocessor output file (which becomes 
2774 the compiler input file). Also fixed a problem with // comments that 
2775 appear after a math expression.
2776
2777 iASL: Added support for the TCPA server table to the table compiler and 
2778 template generator. (The client table was already previously supported)
2779
2780 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
2781 identify the iASL compiler.
2782
2783 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
2784 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
2785 ACPI_SIGN_POSITIVE.
2786
2787 AcpiHelp: Update to expand help messages for the iASL preprocessor 
2788 directives.
2789
2790
2791 ----------------------------------------
2792 19 June 2015. Summary of changes for version 20150619:
2793
2794 Two regressions in version 20150616 have been addressed:
2795
2796 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
2797 etc.) This update changes ACPICA to only use the standard headers for 
2798 functions, or the prototypes for the local versions of the C library 
2799 functions. Across the source code, this required some additional casts 
2800 for some Clib invocations for portability. Moved all local prototypes to 
2801 a new file, acclib.h
2802
2803 Fixes several problems with recent changes to the handling of the FACS 
2804 table that could cause some systems not to boot.
2805
2806
2807 ----------------------------------------
2808 16 June 2015. Summary of changes for version 20150616:
2809
2810
2811 1) ACPICA kernel-resident subsystem:
2812
2813 Across the entire ACPICA source code base, the various macros for the C 
2814 library functions (such as ACPI_STRLEN, etc.) have been removed and 
2815 replaced by the standard C library names (strlen, etc.) The original 
2816 purpose for these macros is no longer applicable. This simplification 
2817 reduces the number of macros used in the ACPICA source code 
2818 significantly, improving readability and maintainability.
2819
2820 Implemented support for a new ACPI table, the OSDT. This table, the 
2821 "override" SDT, can be loaded directly by the host OS at boot time. It 
2822 enables the replacement of existing namespace objects that were installed 
2823 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
2824 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
2825 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
2826 Moore.
2827
2828 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
2829 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
2830 X field). This change will support both automatically. There continues to 
2831 be systems found with this issue. This support requires a change to the 
2832 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
2833 been added to allow the host to select which FACS is desired 
2834 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
2835 details Lv Zheng.
2836
2837 Added a new feature to allow for systems that do not contain an FACS. 
2838 Although this is already supported on hardware-reduced platforms, the 
2839 feature has been extended for all platforms. The reasoning is that we do 
2840 not want to abort the entire ACPICA initialization just because the 
2841 system is seriously buggy and has no FACS.
2842
2843 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
2844 not correctly transcribed from the ACPI specification in ACPICA version 
2845 20150515.
2846
2847 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
2848 interface.
2849
2850 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
2851 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
2852 compiler also updated. Note: The TCPA "server" table is not supported by 
2853 the disassembler/table-compiler at this time.
2854
2855 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
2856
2857 Example Code and Data Size: These are the sizes for the OS-independent 
2858 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2859 debug version of the code includes the debug output trace mechanism and 
2860 has a much larger code and data size.
2861
2862   Current Release:
2863     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2864     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2865   Previous Release:
2866     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2867     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2868
2869
2870 2) iASL Compiler/Disassembler and Tools:
2871
2872 Disassembler: Fixed a problem with the new symbolic operator disassembler 
2873 where incorrect ASL code could be emitted in some cases for the "non-
2874 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
2875 ShiftRight. The actual problem cases seem to be rather unusual in common 
2876 ASL code, however. David Box.
2877
2878 Modified the linux version of acpidump to obtain ACPI tables from not 
2879 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
2880 Zheng.
2881
2882 iASL: Fixed a problem where the user preprocessor output file (.i) 
2883 contained extra data that was not expected. The compiler was using this 
2884 file as a temporary file and passed through #line directives in order to 
2885 keep compiler error messages in sync with the input file and line number 
2886 across multiple include files. The (.i) is no longer a temporary file as 
2887 the compiler uses a new, different file for the original purpose.
2888
2889 iASL: Fixed a problem where comments within the original ASL source code 
2890 file were not passed through to the preprocessor output file, nor any 
2891 listing files.
2892
2893 iASL: Fixed some issues for the handling of the "#include" preprocessor 
2894 directive and the similar (but not the same) "Include" ASL operator.
2895
2896 iASL: Add support for the new OSDT in both the disassembler and compiler.
2897
2898 iASL: Fixed a problem with the constant folding support where a Buffer 
2899 object could be incorrectly generated (incorrectly formed) during a 
2900 conversion to a Store() operator.
2901
2902 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
2903 description text for the _REV predefined name. _REV now permanently 
2904 returns 2, as per the ACPI 6.0 specification.
2905
2906 Debugger: Enhanced the output of the Debug ASL object for references 
2907 produced by the Index operator. For Buffers and strings, only output the 
2908 actual byte pointed to by the index. For packages, only print the single 
2909 package element decoded by the index. Previously, the entire 
2910 buffer/string/package was emitted.
2911
2912 iASL/Table-compiler: Fixed a regression where the "generic" data types 
2913 were no longer recognized, causing errors.
2914
2915
2916 ----------------------------------------
2917 15 May 2015. Summary of changes for version 20150515:
2918
2919 This release implements most of ACPI 6.0 as described below.
2920
2921 1) ACPICA kernel-resident subsystem:
2922
2923 Implemented runtime argument checking and return value checking for all 
2924 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
2925 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
2926
2927 Example Code and Data Size: These are the sizes for the OS-independent 
2928 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2929 debug version of the code includes the debug output trace mechanism and 
2930 has a much larger code and data size.
2931
2932   Current Release:
2933     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2934     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2935   Previous Release:
2936     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2937     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2938
2939
2940 2) iASL Compiler/Disassembler and Tools:
2941
2942 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
2943 names (argument count validation and return value typechecking.)
2944
2945 iASL disassembler and table compiler: implemented support for all new 
2946 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
2947
2948 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
2949 tables: FADT, MADT.
2950
2951 iASL preprocessor: Added a new directive to enable inclusion of binary 
2952 blobs into ASL code. The new directive is #includebuffer. It takes a 
2953 binary file as input and emits a named ascii buffer object into the ASL 
2954 code.
2955
2956 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
2957
2958 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
2959 directives.
2960
2961 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
2962 tables.
2963
2964
2965 ----------------------------------------
2966 10 April 2015. Summary of changes for version 20150410:
2967
2968 Reverted a change introduced in version 20150408 that caused
2969 a regression in the disassembler where incorrect operator
2970 symbols could be emitted.
2971
2972
2973 ----------------------------------------
2974 08 April 2015. Summary of changes for version 20150408:
2975
2976
2977 1) ACPICA kernel-resident subsystem:
2978
2979 Permanently set the return value for the _REV predefined name. It now 
2980 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
2981 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
2982 for ACPI 2.0 and later. It should never be used to differentiate or 
2983 identify operating systems.
2984
2985 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
2986 return TRUE to a query with this string.
2987
2988 Fixed several issues with the local version of the printf function.
2989
2990 Added the C99 compiler option (-std=c99) to the Unix makefiles.
2991
2992   Current Release:
2993     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
2994     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
2995   Previous Release:
2996     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2997     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2998
2999
3000 2) iASL Compiler/Disassembler and Tools:
3001
3002 iASL: Implemented an enhancement to the constant folding feature to 
3003 transform the parse tree to a simple Store operation whenever possible:
3004     Add (2, 3, X) ==> is converted to: Store (5, X)
3005     X = 2 + 3     ==> is converted to: Store (5, X)
3006
3007 Updated support for the SLIC table (Software Licensing Description Table) 
3008 in both the Data Table compiler and the disassembler. The SLIC table 
3009 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
3010 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
3011 following the ACPI header is now defined to be "Proprietary Data", and as 
3012 such, can only be entered or displayed as a hex data block.
3013
3014 Implemented full support for the MSDM table as described in the document 
3015 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
3016 following the ACPI header is defined to be "Proprietary Data", and can 
3017 only be entered or displayed as a hex data block.
3018
3019 Implemented the -Pn option for the iASL Table Compiler (was only 
3020 implemented for the ASL compiler). This option disables the iASL 
3021 preprocessor.
3022
3023 Disassembler: For disassembly of Data Tables, added a comment field 
3024 around the Ascii equivalent data that is emitted as part of the "Raw 
3025 Table Data" block. This prevents the iASL Preprocessor from possible 
3026 confusion if/when the table is compiled.
3027
3028 Disassembler: Added an option (-df) to force the disassembler to assume 
3029 that the table being disassembled contains valid AML. This feature is 
3030 useful for disassembling AML files that contain ACPI signatures other 
3031 than DSDT or SSDT (such as OEMx or other signatures).
3032
3033 Changes for the EFI version of the tools:
3034 1) Fixed a build error/issue
3035 2) Fixed a cast warning
3036
3037 iASL: Fixed a path issue with the __FILE__ operator by making the 
3038 directory prefix optional within the internal SplitInputFilename 
3039 function.
3040
3041 Debugger: Removed some unused global variables.
3042
3043 Tests: Updated the makefile for proper generation of the AAPITS suite.
3044
3045
3046 ----------------------------------------
3047 04 February 2015. Summary of changes for version 20150204:
3048
3049 ACPICA kernel-resident subsystem:
3050
3051 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
3052 copyright to all module headers and signons, including the standard Linux 
3053 header. This affects virtually every file in the ACPICA core subsystem, 
3054 iASL compiler, all ACPICA utilities, and the test suites.
3055
3056 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
3057 A raw gpe handling mechanism was created to allow better handling of GPE
3058 storms that aren't easily managed by the normal handler. The raw handler
3059 allows disabling/renabling of the the GPE so that interrupt storms can be
3060 avoided in cases where events cannot be timely serviced. In this 
3061 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
3062 GPE. This API will leave the reference counts undisturbed, thereby 
3063 preventing unintentional clearing of the GPE when the intent in only to 
3064 temporarily disable it. Raw handlers allow enabling and disabling of a 
3065 GPE by removing GPE register locking. As such, raw handlers much provide 
3066 their own locks while using GPE API's to protect access to GPE data 
3067 structures.
3068 Lv Zheng
3069
3070 Events: Always modify GPE registers under the GPE lock.
3071 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
3072 values. Reported as bug by joe.liu@apple.com.
3073
3074 Unix makefiles: Separate option to disable optimizations and 
3075 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
3076 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
3077 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
3078 errors when building ACPICA. This allows disabling the option without 
3079 also having to disable optimazations.
3080 David Box
3081
3082   Current Release:
3083     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
3084     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
3085
3086 --
3087 --------------------------------------
3088 07 November 2014. Summary of changes for version 20141107:
3089
3090 This release is available at https://acpica.org/downloads
3091
3092 This release introduces and implements language extensions to ASL that 
3093 provide support for symbolic ("C-style") operators and expressions. These 
3094 language extensions are known collectively as ASL+.
3095
3096
3097 1) iASL Compiler/Disassembler and Tools:
3098
3099 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
3100 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
3101 Box.
3102
3103 Disassembler: Fixed the Unicode macro support to add escape sequences. 
3104 All non-printable ASCII values are emitted as escape sequences, as well 
3105 as the standard escapes for quote and backslash. Ensures that the 
3106 disassembled macro can be correctly recompiled.
3107
3108 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
3109 translated to existing AML Concatenate and Store operations. Printf 
3110 writes to the ASL Debug object. Fprintf allows the specification of an 
3111 ASL name as the target. Only a single format specifier is required, %o, 
3112 since the AML interpreter dynamically converts objects to the required 
3113 type. David E. Box.
3114
3115     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
3116                  (Concatenate (Concatenate (Concatenate ("", Arg0),
3117                  ": Unexpected value for "), Arg1), ", "), Arg2),
3118                  " at line "), Arg3), Debug)
3119
3120     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
3121                  Arg0, Arg1, Arg2, Arg3)
3122
3123     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
3124                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
3125
3126     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
3127
3128 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
3129 ASL parse tree before the AML code is generated. This allows blocks of 
3130 ASL code to be removed in order to help locate and identify problem 
3131 devices and/or code. David E. Box.
3132
3133 AcpiExec: Added support (-fi) for an optional namespace object 
3134 initialization file. This file specifies initial values for namespace 
3135 objects as necessary for debugging and testing different ASL code paths 
3136 that may be taken as a result of BIOS options.
3137
3138
3139 2) Overview of symbolic operator support for ASL (ASL+)
3140 -------------------------------------------------------
3141
3142 As an extension to the ASL language, iASL implements support for symbolic 
3143 (C-style) operators for math and logical expressions. This can greatly 
3144 simplify ASL code as well as improve both readability and 
3145 maintainability. These language extensions can exist concurrently with 
3146 all legacy ASL code and expressions.
3147
3148 The symbolic extensions are 100% compatible with existing AML 
3149 interpreters, since no new AML opcodes are created. To implement the 
3150 extensions, the iASL compiler transforms the symbolic expressions into 
3151 the legacy ASL/AML equivalents at compile time.
3152
3153 Full symbolic expressions are supported, along with the standard C 
3154 precedence and associativity rules.
3155
3156 Full disassembler support for the symbolic expressions is provided, and 
3157 creates an automatic migration path for existing ASL code to ASL+ code 
3158 via the disassembly process. By default, the disassembler now emits ASL+ 
3159 code with symbolic expressions. An option (-dl) is provided to force the 
3160 disassembler to emit legacy ASL code if desired.
3161
3162 Below is the complete list of the currently supported symbolic operators 
3163 with examples. See the iASL User Guide for additional information.
3164
3165
3166 ASL+ Syntax      Legacy ASL Equivalent
3167 -----------      ---------------------
3168
3169     // Math operators
3170
3171 Z = X + Y        Add (X, Y, Z)
3172 Z = X - Y        Subtract (X, Y, Z)
3173 Z = X * Y        Multiply (X, Y, Z)
3174 Z = X / Y        Divide (X, Y, , Z)
3175 Z = X % Y        Mod (X, Y, Z)
3176 Z = X << Y       ShiftLeft (X, Y, Z)
3177 Z = X >> Y       ShiftRight (X, Y, Z)
3178 Z = X & Y        And (X, Y, Z)
3179 Z = X | Y        Or (X, Y, Z)
3180 Z = X ^ Y        Xor (X, Y, Z)
3181 Z = ~X           Not (X, Z)
3182 X++              Increment (X)
3183 X--              Decrement (X)
3184
3185     // Logical operators
3186
3187 (X == Y)         LEqual (X, Y)
3188 (X != Y)         LNotEqual (X, Y)
3189 (X < Y)          LLess (X, Y)
3190 (X > Y)          LGreater (X, Y)
3191 (X <= Y)         LLessEqual (X, Y)
3192 (X >= Y)         LGreaterEqual (X, Y)
3193 (X && Y)         LAnd (X, Y)
3194 (X || Y)         LOr (X, Y)
3195 (!X)             LNot (X)
3196
3197     // Assignment and compound assignment operations
3198
3199 X = Y           Store (Y, X)
3200 X += Y          Add (X, Y, X)
3201 X -= Y          Subtract (X, Y, X)
3202 X *= Y          Multiply (X, Y, X)
3203 X /= Y          Divide (X, Y, , X)
3204 X %= Y          Mod (X, Y, X)
3205 X <<= Y         ShiftLeft (X, Y, X)
3206 X >>= Y         ShiftRight (X, Y, X)
3207 X &= Y          And (X, Y, X)
3208 X |= Y          Or (X, Y, X)
3209 X ^= Y          Xor (X, Y, X)
3210
3211
3212 3) ASL+ Examples:
3213 -----------------
3214
3215 Legacy ASL:
3216         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
3217             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
3218 0x03FB), 
3219             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
3220         {
3221             And (MEMB, 0xFFFFFFF0, SRMB)
3222             Store (MEMB, Local2)
3223             Store (PDBM, Local1)
3224             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
3225             Store (SRMB, MEMB)
3226             Or (PDBM, 0x02, PDBM)
3227         }
3228
3229 ASL+ version:
3230         If (((R510 & 0x03FB) == 0x02E0) ||
3231             ((R520 & 0x03FB) == 0x02E0) ||
3232             ((R530 & 0x03FB) == 0x02E0) || 
3233             ((R540 & 0x03FB) == 0x02E0))
3234         {
3235             SRMB = (MEMB & 0xFFFFFFF0)
3236             Local2 = MEMB
3237             Local1 = PDBM
3238             PDBM &= 0xFFFFFFFFFFFFFFF9
3239             MEMB = SRMB
3240             PDBM |= 0x02
3241         }
3242
3243 Legacy ASL:
3244         Store (0x1234, Local1)
3245         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
3246         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
3247         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
3248         Store (Index (PKG1, 0x03), Local6)
3249         Store (Add (Local3, Local2), Debug)
3250         Add (Local1, 0x0F, Local2)
3251         Add (Local1, Multiply (Local2, Local3), Local2)
3252         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
3253
3254 ASL+ version:
3255         Local1 = 0x1234
3256         Local3 = (((Local1 + TEST) + 0x20) * Local2)
3257         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
3258         Local3 = (Local1 + (TEST + (0x20 * Local2)))
3259         Local6 = Index (PKG1, 0x03)
3260         Debug = (Local3 + Local2)
3261         Local2 = (Local1 + 0x0F)
3262         Local2 = (Local1 + (Local2 * Local3))
3263         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
3264
3265
3266 ----------------------------------------
3267 26 September 2014. Summary of changes for version 20140926:
3268
3269 1) ACPICA kernel-resident subsystem:
3270
3271 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
3272 In order to support GPIO Connection objects with multiple pins, along 
3273 with the related Field objects, the following changes to the interface 
3274 have been made: The Address is now defined to be the offset in bits of 
3275 the field unit from the previous invocation of a Connection. It can be 
3276 viewed as a "Pin Number Index" into the connection resource descriptor. 
3277 The BitWidth is the exact bit width of the field. It is usually one bit, 
3278 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
3279 additional information and examples.
3280
3281 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
3282 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
3283 by the firmware), so that they cannot fire until they are enabled via 
3284 AcpiUpdateAllGpes. Rafael J. Wysocki.
3285
3286 Added a new return flag for the Event/GPE status interfaces -- 
3287 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
3288 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
3289 GPE currently has a handler associated with it, and can thus actually 
3290 affect the system. Lv Zheng.
3291
3292 Example Code and Data Size: These are the sizes for the OS-independent 
3293 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3294 debug version of the code includes the debug output trace mechanism and 
3295 has a much larger code and data size.
3296
3297   Current Release:
3298     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
3299     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
3300   Previous Release:
3301     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
3302     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
3303
3304 2) iASL Compiler/Disassembler and Tools:
3305
3306 iASL: Fixed a memory allocation/free regression introduced in 20140828 
3307 that could cause the compiler to crash. This was introduced inadvertently 
3308 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
3309 1113.
3310
3311 iASL: Removed two error messages that have been found to create false 
3312 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
3313 1) Illegal forward reference within a method
3314 2) Illegal reference across two methods
3315
3316 iASL: Implemented a new option (-lm) to create a hardware mapping file 
3317 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
3318 works for both the compiler and disassembler. See the iASL compiler user 
3319 guide for additional information and examples (section 6.4.6).
3320
3321 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
3322 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
3323 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
3324
3325 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
3326 unless STDIN is actually a terminal. Assists with batch-mode processing. 
3327 ACPICA BZ 1114.
3328
3329 Disassembler/AcpiHelp: Added another large group of recognized _HID 
3330 values.
3331
3332
3333 ----------------------------------------
3334 28 August 2014. Summary of changes for version 20140828:
3335
3336 1) ACPICA kernel-resident subsystem:
3337
3338 Fixed a problem related to the internal use of the Timer() operator where 
3339 a 64-bit divide could cause an attempted link to a double-precision math 
3340 library. This divide is not actually necessary, so the code was 
3341 restructured to eliminate it. Lv Zheng.
3342
3343 ACPI 5.1: Added support for the runtime validation of the _DSD package 
3344 (similar to the iASL support).
3345
3346 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
3347 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
3348
3349 Example Code and Data Size: These are the sizes for the OS-independent 
3350 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3351 debug version of the code includes the debug output trace mechanism and 
3352 has a much larger code and data size.
3353
3354   Current Release:
3355     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
3356     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
3357   Previous Release:
3358     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
3359     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
3360
3361 2) iASL Compiler/Disassembler and Tools:
3362
3363 AcpiExec: Fixed a problem on unix systems where the original terminal 
3364 state was not always properly restored upon exit. Seen when using the -v 
3365 option. ACPICA BZ 1104.
3366
3367 iASL: Fixed a problem with the validation of the ranges/length within the 
3368 Memory24 resource descriptor. There was a boundary condition when the 
3369 range was equal to the (length -1) caused by the fact that these values 
3370 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
3371
3372 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
3373 polarity 
3374 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
3375 is 
3376 now supported properly.
3377
3378 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
3379 in the disassembler, data table compiler, and table template generator.
3380
3381 iASL: Added a requirement for Device() objects that one of either a _HID 
3382 or _ADR must exist within the scope of a Device, as per the ACPI 
3383 specification. Remove a similar requirement that was incorrectly in place 
3384 for the _DSD object.
3385
3386 iASL: Added error detection for illegal named references within control 
3387 methods that would cause runtime failures. Now trapped as errors are: 1) 
3388 References to objects within a non-parent control method. 2) Forward 
3389 references (within a method) -- for control methods, AML interpreters use 
3390 a one-pass parse of control methods. ACPICA BZ 1008.
3391
3392 iASL: Added error checking for dependencies related to the _PSx power 
3393 methods. ACPICA BZ 1029.
3394 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
3395 _PS3.
3396 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
3397 scope.
3398
3399 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
3400 deploying the existing object and string caches and adding new caches for 
3401 the table compiler.
3402
3403 iASL: Split the huge parser source file into multiple subfiles to improve 
3404 manageability. Generation now requires the M4 macro preprocessor, which 
3405 is part of the Bison distribution on both unix and windows platforms.
3406
3407 AcpiSrc: Fixed and removed all extraneous warnings generated during 
3408 entire ACPICA source code scan and/or conversion.
3409
3410
3411 ----------------------------------------
3412
3413 24 July 2014. Summary of changes for version 20140724: 
3414
3415 The ACPI 5.1 specification has been released and is available at: 
3416 http://uefi.org/specs/access
3417
3418
3419 0) ACPI 5.1 support in ACPICA:
3420
3421 ACPI 5.1 is fully supported in ACPICA as of this release.
3422
3423 New predefined names. Support includes iASL and runtime ACPICA 
3424 validation.
3425     _CCA (Cache Coherency Attribute).
3426     _DSD (Device-Specific Data). David Box.
3427
3428 Modifications to existing ACPI tables. Support includes headers, iASL 
3429 Data Table compiler, disassembler, and the template generator.
3430     FADT - New fields and flags. Graeme Gregory.
3431     GTDT - One new subtable and new fields. Tomasz Nowicki.
3432     MADT - Two new subtables. Tomasz Nowicki.
3433     PCCT - One new subtable.
3434
3435 Miscellaneous.
3436     New notification type for System Resource Affinity change events.
3437
3438
3439 1) ACPICA kernel-resident subsystem:
3440
3441 Fixed a regression introduced in 20140627 where a fault can happen during 
3442 the deletion of Alias AML namespace objects. The problem affected both 
3443 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
3444
3445 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
3446 simple mechanism to enable wake GPEs that have no associated handler or 
3447 control method. Rafael Wysocki.
3448
3449 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
3450 handler or control method associated with the particular GPE. This will 
3451 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
3452
3453 Updated GPE handling and dispatch by disabling the GPE before clearing 
3454 the status bit for edge-triggered GPEs. Lv Zheng.
3455
3456 Added Timer() support to the AML Debug object. The current timer value is 
3457 now displayed with each invocation of (Store to) the debug object to 
3458 enable simple generation of execution times for AML code (method 
3459 execution for example.) ACPICA BZ 1093.
3460
3461 Example Code and Data Size: These are the sizes for the OS-independent 
3462 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3463 debug version of the code includes the debug output trace mechanism and 
3464 has a much larger code and data size.
3465
3466   Current Release:
3467     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
3468     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
3469   Previous Release:
3470     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3471     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3472
3473
3474 2) iASL Compiler/Disassembler and Tools:
3475
3476 Fixed an issue with the recently added local printf implementation, 
3477 concerning width/precision specifiers that could cause incorrect output. 
3478 Lv Zheng. ACPICA BZ 1094.
3479
3480 Disassembler: Added support to detect buffers that contain UUIDs and 
3481 disassemble them to an invocation of the ToUUID operator. Also emit 
3482 commented descriptions of known ACPI-related UUIDs.
3483
3484 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
3485 -u. Adds three new files. 
3486
3487 iASL: Update table compiler and disassembler for DMAR table changes that 
3488 were introduced in September 2013. With assistance by David Woodhouse.
3489
3490 ----------------------------------------
3491 27 June 2014. Summary of changes for version 20140627:
3492
3493 1) ACPICA kernel-resident subsystem:
3494
3495 Formatted Output: Implemented local versions of standard formatted output 
3496 utilities such as printf, etc. Over time, it has been discovered that 
3497 there are in fact many portability issues with printf, and the addition 
3498 of this feature will fix/prevent these issues once and for all. Some 
3499 known issues are summarized below:
3500
3501 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
3502 for the Linux kernel and is %uI64 for some MSVC versions.
3503 2) Invoking printf consistently in a manner that is portable across both 
3504 32-bit and 64-bit platforms is difficult at best in many situations.
3505 3) The output format for pointers varies from system to system (leading 
3506 zeros especially), and leads to inconsistent output from ACPICA across 
3507 platforms.
3508 4) Certain platform-specific printf formats may conflict with ACPICA use.
3509 5) If there is no local C library available, ACPICA now has local support 
3510 for printf.
3511
3512 -- To address these printf issues in a complete manner, ACPICA now 
3513 directly implements a small subset of printf format specifiers, only 
3514 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
3515
3516 Implemented support for ACPICA generation within the EFI environment. 
3517 Initially, the AcpiDump utility is supported in the UEFI shell 
3518 environment. Lv Zheng.
3519
3520 Added a new external interface, AcpiLogError, to improve ACPICA 
3521 portability. This allows the host to redirect error messages from the 
3522 ACPICA utilities. Lv Zheng.
3523
3524 Added and deployed new OSL file I/O interfaces to improve ACPICA 
3525 portability:
3526   AcpiOsOpenFile
3527   AcpiOsCloseFile
3528   AcpiOsReadFile
3529   AcpiOsWriteFile
3530   AcpiOsGetFileOffset
3531   AcpiOsSetFileOffset
3532 There are C library implementations of these functions in the new file 
3533 service_layers/oslibcfs.c -- however, the functions can be implemented by 
3534 the local host in any way necessary. Lv Zheng.
3535
3536 Implemented a mechanism to disable/enable ACPI table checksum validation 
3537 at runtime. This can be useful when loading tables very early during OS 
3538 initialization when it may not be possible to map the entire table in 
3539 order to compute the checksum. Lv Zheng.
3540
3541 Fixed a buffer allocation issue for the Generic Serial Bus support. 
3542 Originally, a fixed buffer length was used. This change allows for 
3543 variable-length buffers based upon the protocol indicated by the field 
3544 access attributes. Reported by Lan Tianyu. Lv Zheng.
3545
3546 Fixed a problem where an object detached from a namespace node was not 
3547 properly terminated/cleared and could cause a circular list problem if 
3548 reattached. ACPICA BZ 1063. David Box.
3549
3550 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
3551
3552 Fixed a possible memory leak in an error return path within the function 
3553 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
3554
3555 Example Code and Data Size: These are the sizes for the OS-independent 
3556 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3557 debug version of the code includes the debug output trace mechanism and 
3558 has a much larger code and data size.
3559
3560   Current Release:
3561     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
3562     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
3563   Previous Release:
3564     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3565     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3566
3567
3568 2) iASL Compiler/Disassembler and Tools:
3569
3570 Disassembler: Add dump of ASCII equivalent text within a comment at the 
3571 end of each line of the output for the Buffer() ASL operator.
3572
3573 AcpiDump: Miscellaneous changes:
3574   Fixed repetitive table dump in -n mode.
3575   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
3576 the ACPI 2.0 GUID fails.
3577
3578 iASL: Fixed a problem where the compiler could fault if incorrectly given 
3579 an acpidump output file as input. ACPICA BZ 1088. David Box.
3580
3581 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
3582 they are invoked without any arguments.
3583
3584 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
3585 1086. Colin Ian King.
3586
3587 Disassembler: Cleaned up a block of code that extracts a parent Op 
3588 object. Added a comment that explains that the parent is guaranteed to be 
3589 valid in this case. ACPICA BZ 1069.
3590
3591
3592 ----------------------------------------
3593 24 April 2014. Summary of changes for version 20140424:
3594
3595 1) ACPICA kernel-resident subsystem:
3596
3597 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
3598 Some of these tables are known to contain a trailing NULL entry. Lv 
3599 Zheng.
3600
3601 Removed an extraneous error message for the case where there are a large 
3602 number of system GPEs (> 124). This was the "32-bit FADT register is too 
3603 long to convert to GAS struct" message, which is irrelevant for GPEs 
3604 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
3605 (limited capacity) GAS bit length. Also, several changes to ensure proper 
3606 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
3607 internally.
3608
3609 Implemented and deployed additional configuration support for the public 
3610 ACPICA external interfaces. Entire classes of interfaces can now be 
3611 easily modified or configured out, replaced by stubbed inline functions 
3612 by default. Lv Zheng.
3613
3614 Moved all public ACPICA runtime configuration globals to the public 
3615 ACPICA external interface file for convenience. Also, removed some 
3616 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
3617
3618 Documentation: Added a new section to the ACPICA reference describing the 
3619 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
3620 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
3621 reference.
3622
3623 Example Code and Data Size: These are the sizes for the OS-independent 
3624 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3625 debug version of the code includes the debug output trace mechanism and 
3626 has a much larger code and data size.
3627
3628   Current Release:
3629     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
3630     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
3631   Previous Release:
3632     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
3633     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
3634
3635
3636 2) iASL Compiler/Disassembler and Tools:
3637
3638 iASL and disassembler: Add full support for the LPIT table (Low Power 
3639 Idle Table). Includes support in the disassembler, data table compiler, 
3640 and template generator.
3641
3642 AcpiDump utility:
3643 1) Add option to force the use of the RSDT (over the XSDT).
3644 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
3645
3646 iASL: Add check for predefined packages that are too large.  For 
3647 predefined names that contain subpackages, check if each subpackage is 
3648 too large. (Check for too small already exists.)
3649
3650 Debugger: Updated the GPE command (which simulates a GPE by executing the 
3651 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
3652 to the GPE 0/1 FADT-defined blocks.
3653
3654 Unix application OSL: Update line-editing support. Add additional error 
3655 checking and take care not to reset terminal attributes on exit if they 
3656 were never set. This should help guarantee that the terminal is always 
3657 left in the previous state on program exit.
3658
3659
3660 ----------------------------------------
3661 25 March 2014. Summary of changes for version 20140325:
3662
3663 1) ACPICA kernel-resident subsystem:
3664
3665 Updated the auto-serialize feature for control methods. This feature 
3666 automatically serializes all methods that create named objects in order 
3667 to prevent runtime errors. The update adds support to ignore the 
3668 currently executing AML SyncLevel when invoking such a method, in order 
3669 to prevent disruption of any existing SyncLevel priorities that may exist 
3670 in the AML code. Although the use of SyncLevels is relatively rare, this 
3671 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
3672 appear on some machines starting with the 20140214 release.
3673
3674 Added a new external interface to allow the host to install ACPI tables 
3675 very early, before the namespace is even created. AcpiInstallTable gives 
3676 the host additional flexibility for ACPI table management. Tables can be 
3677 installed directly by the host as if they had originally appeared in the 
3678 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
3679 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
3680 with additional internal restructuring and cleanup. See the ACPICA 
3681 Reference for interface details. Lv Zheng.
3682
3683 Added validation of the checksum for all incoming dynamically loaded 
3684 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
3685 Zheng.
3686
3687 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
3688 and GPE handler removal. Restructured calls to eliminate possible race 
3689 conditions. Lv Zheng.
3690
3691 Added a warning for the use/execution of the ASL/AML Unload (table) 
3692 operator. This will help detect and identify machines that use this 
3693 operator if and when it is ever used. This operator has never been seen 
3694 in the field and the usage model and possible side-effects of the drastic 
3695 runtime action of a full table removal are unknown.
3696
3697 Reverted the use of #pragma push/pop which was introduced in the 20140214 
3698 release. It appears that push and pop are not implemented by enough 
3699 compilers to make the use of this feature feasible for ACPICA at this 
3700 time. However, these operators may be deployed in a future ACPICA 
3701 release.
3702
3703 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
3704 handler interfaces.
3705
3706 Source code generation:
3707 1) Disabled the use of the "strchr" macro for the gcc-specific 
3708 generation. For some versions of gcc, this macro can periodically expose 
3709 a compiler bug which in turn causes compile-time error(s).
3710 2) Added support for PPC64 compilation. Colin Ian King.
3711
3712 Example Code and Data Size: These are the sizes for the OS-independent 
3713 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3714 debug version of the code includes the debug output trace mechanism and 
3715 has a much larger code and data size.
3716
3717   Current Release:
3718     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
3719     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
3720   Previous Release:
3721     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3722     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3723
3724
3725 2) iASL Compiler/Disassembler and Tools:
3726
3727 Disassembler: Added several new features to improve the readability of 
3728 the resulting ASL code. Extra information is emitted within comment 
3729 fields in the ASL code:
3730 1) Known _HID/_CID values are decoded to descriptive text.
3731 2) Standard values for the Notify() operator are decoded to descriptive 
3732 text.
3733 3) Target operands are expanded to full pathnames (in a comment) when 
3734 possible.
3735
3736 Disassembler: Miscellaneous updates for extern() handling:
3737 1) Abort compiler if file specified by -fe option does not exist.
3738 2) Silence unnecessary warnings about argument count mismatches.
3739 3) Update warning messages concerning unresolved method externals.
3740 4) Emit "UnknownObj" keyword for externals whose type cannot be 
3741 determined.
3742
3743 AcpiHelp utility:
3744 1) Added the -a option to display both the ASL syntax and the AML 
3745 encoding for an input ASL operator. This effectively displays all known 
3746 information about an ASL operator with one AcpiHelp invocation.
3747 2) Added substring match support (similar to a wildcard) for the -i 
3748 (_HID/PNP IDs) option.
3749
3750 iASL/Disassembler: Since this tool does not yet support execution on big-
3751 endian machines, added detection of endianness and an error message if 
3752 execution is attempted on big-endian. Support for big-endian within iASL 
3753 is a feature that is on the ACPICA to-be-done list.
3754
3755 AcpiBin utility:
3756 1) Remove option to extract binary files from an acpidump; this function 
3757 is made obsolete by the AcpiXtract utility.
3758 2) General cleanup of open files and allocated buffers.
3759
3760
3761 ----------------------------------------
3762 14 February 2014. Summary of changes for version 20140214:
3763
3764 1) ACPICA kernel-resident subsystem:
3765
3766 Implemented a new mechanism to proactively prevent problems with ill-
3767 behaved reentrant control methods that create named ACPI objects. This 
3768 behavior is illegal as per the ACPI specification, but is nonetheless 
3769 frequently seen in the field. Previously, this could lead to an 
3770 AE_ALREADY_EXISTS exception if the method was actually entered by more 
3771 than one thread. This new mechanism detects such methods at table load 
3772 time and marks them "serialized" to prevent reentrancy. A new global 
3773 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
3774 feature if desired. This mechanism and global option obsoletes and 
3775 supersedes the previous AcpiGbl_SerializeAllMethods option.
3776
3777 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
3778 respond TRUE to _OSI queries with this string. It is the stated policy of 
3779 ACPICA to add new strings to the _OSI support as soon as possible after 
3780 they are defined. See the full ACPICA _OSI policy which has been added to 
3781 the utilities/utosi.c file.
3782
3783 Hardened/updated the _PRT return value auto-repair code:
3784 1) Do not abort the repair on a single subpackage failure, continue to 
3785 check all subpackages.
3786 2) Add check for the minimum subpackage length (4).
3787 3) Properly handle extraneous NULL package elements.
3788
3789 Added support to avoid the possibility of infinite loops when traversing 
3790 object linked lists. Never allow an infinite loop, even in the face of 
3791 corrupted object lists.
3792
3793 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
3794 pack(pop) directives to ensure that the ACPICA headers are independent of 
3795 compiler settings or other host headers.
3796
3797 Example Code and Data Size: These are the sizes for the OS-independent 
3798 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3799 debug version of the code includes the debug output trace mechanism and 
3800 has a much larger code and data size.
3801
3802   Current Release:
3803     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3804     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3805   Previous Release:
3806     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3807     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3808
3809
3810 2) iASL Compiler/Disassembler and Tools:
3811
3812 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
3813 first reserved field was incorrectly forced to have a value of zero. This 
3814 change correctly forces the field to have a value of one. ACPICA BZ 1081.
3815
3816 Debugger: Added missing support for the "Extra" and "Data" subobjects 
3817 when displaying object data.
3818
3819 Debugger: Added support to display entire object linked lists when 
3820 displaying object data.
3821
3822 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
3823 Windows registry. This feature has been superseded by the acpidump 
3824 utility. 
3825
3826
3827 ----------------------------------------
3828 14 January 2014. Summary of changes for version 20140114:
3829
3830 1) ACPICA kernel-resident subsystem:
3831
3832 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
3833 copyright to all module headers and signons, including the standard Linux 
3834 header. This affects virtually every file in the ACPICA core subsystem, 
3835 iASL compiler, all ACPICA utilities, and the test suites.
3836
3837 Improved parameter validation for AcpiInstallGpeBlock. Added the 
3838 following checks:
3839 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
3840 2) There is not already a GPE block attached to the device.
3841 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
3842 device.
3843
3844 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
3845 support to allow references (namespace nodes) to be passed as arguments 
3846 to control methods via the evaluate object interface. This is probably 
3847 most useful for testing purposes, however.
3848
3849 Improved support for 32/64 bit physical addresses in printf()-like 
3850 output. This change improves the support for physical addresses in printf 
3851 debug statements and other output on both 32-bit and 64-bit hosts. It 
3852 consistently outputs the appropriate number of bytes for each host. The 
3853 %p specifier is unsatisfactory since it does not emit uniform output on 
3854 all hosts/clib implementations (on some, leading zeros are not supported, 
3855 leading to difficult-to-read output).
3856
3857 Example Code and Data Size: These are the sizes for the OS-independent 
3858 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3859 debug version of the code includes the debug output trace mechanism and 
3860 has a much larger code and data size.
3861
3862   Current Release:
3863     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3864     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3865   Previous Release:
3866     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3867     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3868
3869
3870 2) iASL Compiler/Disassembler and Tools:
3871
3872 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
3873 problem if the parent Field definition for the Connection operator refers 
3874 to an operation region that does not exist. ACPICA BZ 1064.
3875
3876 AcpiExec: Load of local test tables is now optional. The utility has the 
3877 capability to load some various tables to test features of ACPICA. 
3878 However, there are enough of them that the output of the utility became 
3879 confusing. With this change, only the required local tables are displayed 
3880 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
3881 line specification. This makes the default output simler and easier to 
3882 understand. The -el command line option restores the original behavior 
3883 for testing purposes.
3884
3885 AcpiExec: Added support for overlapping operation regions. This change 
3886 expands the simulation of operation regions by supporting regions that 
3887 overlap within the given address space. Supports SystemMemory and 
3888 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
3889
3890 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
3891 allows AcpiExec to simulate these address spaces, similar to the current 
3892 support for SystemMemory and SystemIO.
3893
3894 Debugger: Added new command to read/write/compare all namespace objects. 
3895 The command "test objects" will exercise the entire namespace by writing 
3896 new values to each data object, and ensuring that the write was 
3897 successful. The original value is then restored and verified.
3898
3899 Debugger: Added the "test predefined" command. This change makes this 
3900 test public and puts it under the new "test" command. The test executes 
3901 each and every predefined name within the current namespace.
3902
3903
3904 ----------------------------------------
3905 18 December 2013. Summary of changes for version 20131218:
3906
3907 Global note: The ACPI 5.0A specification was released this month. There 
3908 are no changes needed for ACPICA since this release of ACPI is an 
3909 errata/clarification release. The specification is available at 
3910 acpi.info. 
3911
3912
3913 1) ACPICA kernel-resident subsystem:
3914
3915 Added validation of the XSDT root table if it is present. Some older 
3916 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
3917 as containing some or all entries that are NULL pointers). This change 
3918 adds a new function to validate the XSDT before actually using it. If the 
3919 XSDT is found to be invalid, ACPICA will now automatically fall back to 
3920 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
3921 ACPICA and enhanced by Lv Zheng and Bob Moore.
3922
3923 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
3924 This change adds a runtime option that will force ACPICA to use the RSDT 
3925 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
3926 requires that an XSDT be used instead of the RSDT, the XSDT has been 
3927 found to be corrupt or ill-formed on some machines. Lv Zheng.
3928
3929 Added a runtime option to favor 32-bit FADT register addresses over the 
3930 64-bit addresses. This change adds an option to favor 32-bit FADT 
3931 addresses when there is a conflict between the 32-bit and 64-bit versions 
3932 of the same register. The default behavior is to use the 64-bit version 
3933 in accordance with the ACPI specification. This can now be overridden via 
3934 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
3935
3936 During the change above, the internal "Convert FADT" and "Verify FADT" 
3937 functions have been merged to simplify the code, making it easier to 
3938 understand and maintain. ACPICA BZ 933.
3939
3940 Improve exception reporting and handling for GPE block installation. 
3941 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
3942 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
3943
3944 Added helper macros to extract bus/segment numbers from the HEST table. 
3945 This change adds two macros to extract the encoded bus and segment 
3946 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
3947 Betty Dall <betty.dall@hp.com>
3948
3949 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
3950 by ACPICA. It is not a public macro, so it should have no effect on 
3951 existing OSV code. Lv Zheng.
3952
3953 Example Code and Data Size: These are the sizes for the OS-independent 
3954 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3955 debug version of the code includes the debug output trace mechanism and 
3956 has a much larger code and data size.
3957
3958   Current Release:
3959     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3960     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3961   Previous Release:
3962     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3963     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3964
3965
3966 2) iASL Compiler/Disassembler and Tools:
3967
3968 Disassembler: Improved pathname support for emitted External() 
3969 statements. This change adds full pathname support for external names 
3970 that have been resolved internally by the inclusion of additional ACPI 
3971 tables (via the iASL -e option). Without this change, the disassembler 
3972 can emit multiple externals for the same object, or it become confused 
3973 when the Scope() operator is used on an external object. Overall, greatly 
3974 improves the ability to actually recompile the emitted ASL code when 
3975 objects a referenced across multiple ACPI tables. Reported by Michael 
3976 Tsirkin (mst@redhat.com).
3977
3978 Tests/ASLTS: Updated functional control suite to execute with no errors. 
3979 David Box. Fixed several errors related to the testing of the interpreter 
3980 slack mode. Lv Zheng.
3981
3982 iASL: Added support to detect names that are declared within a control 
3983 method, but are unused (these are temporary names that are only valid 
3984 during the time the method is executing). A remark is issued for these 
3985 cases. ACPICA BZ 1022.
3986
3987 iASL: Added full support for the DBG2 table. Adds full disassembler, 
3988 table compiler, and template generator support for the DBG2 table (Debug 
3989 Port 2 table).
3990
3991 iASL: Added full support for the PCCT table, update the table definition. 
3992 Updates the PCCT table definition in the actbl3.h header and adds table 
3993 compiler and template generator support.
3994
3995 iASL: Added an option to emit only error messages (no warnings/remarks). 
3996 The -ve option will enable only error messages, warnings and remarks are 
3997 suppressed. This can simplify debugging when only the errors are 
3998 important, such as when an ACPI table is disassembled and there are many 
3999 warnings and remarks -- but only the actual errors are of real interest.
4000
4001 Example ACPICA code (source/tools/examples): Updated the example code so 
4002 that it builds to an actual working program, not just example code. Added 
4003 ACPI tables and execution of an example control method in the DSDT. Added 
4004 makefile support for Unix generation.
4005
4006
4007 ----------------------------------------
4008 15 November 2013. Summary of changes for version 20131115:
4009
4010 This release is available at https://acpica.org/downloads
4011
4012
4013 1) ACPICA kernel-resident subsystem:
4014
4015 Resource Manager: Fixed loop termination for the "get AML length" 
4016 function. The loop previously had an error termination on a NULL resource 
4017 pointer, which can never happen since the loop simply increments a valid 
4018 resource pointer. This fix changes the loop to terminate with an error on 
4019 an invalid end-of-buffer condition. The problem can be seen as an 
4020 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
4021 corrupted resource descriptor, or a resource descriptor that is missing 
4022 an END_TAG descriptor. Reported by Dan Carpenter 
4023 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
4024
4025 Table unload and ACPICA termination: Delete all attached data objects 
4026 during namespace node deletion. This fix updates namespace node deletion 
4027 to delete the entire list of attached objects (attached via 
4028 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
4029 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
4030
4031 ACPICA termination: Added support to delete all objects attached to the 
4032 root namespace node. This fix deletes any and all objects that have been 
4033 attached to the root node via AcpiAttachData. Previously, none of these 
4034 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
4035
4036 Debug output: Do not emit the function nesting level for the in-kernel 
4037 build. The nesting level is really only useful during a single-thread 
4038 execution. Therefore, only enable this output for the AcpiExec utility. 
4039 Also, only emit the thread ID when executing under AcpiExec (Context 
4040 switches are still always detected and a message is emitted). ACPICA BZ 
4041 972.
4042
4043 Example Code and Data Size: These are the sizes for the OS-independent 
4044 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4045 debug version of the code includes the debug output trace mechanism and 
4046 has a much larger code and data size.
4047
4048   Current Release:
4049     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
4050     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
4051   Previous Release:
4052     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
4053     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
4054
4055
4056 2) iASL Compiler/Disassembler and Tools:
4057
4058 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
4059 correct portable POSIX header for terminal control functions.
4060
4061 Disassembler: Fixed control method invocation issues related to the use 
4062 of the CondRefOf() operator. The problem is seen in the disassembly where 
4063 control method invocations may not be disassembled properly if the 
4064 control method name has been used previously as an argument to CondRefOf. 
4065 The solution is to not attempt to emit an external declaration for the 
4066 CondRefOf target (it is not necessary in the first place). This prevents 
4067 disassembler object type confusion. ACPICA BZ 988.
4068
4069 Unix Makefiles: Added an option to disable compiler optimizations and the 
4070 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
4071 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
4072 command line option for make (NOOPT) that disables all compiler 
4073 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
4074 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
4075 1034. Lv Zheng, Bob Moore.
4076
4077 Tests/ASLTS: Added options to specify individual test cases and modes. 
4078 This allows testers running aslts.sh to optionally specify individual 
4079 test modes and test cases. Also added an option to disable the forced 
4080 generation of the ACPICA tools from source if desired. Lv Zheng.
4081
4082 ----------------------------------------
4083 27 September 2013. Summary of changes for version 20130927:
4084
4085 This release is available at https://acpica.org/downloads
4086
4087
4088 1) ACPICA kernel-resident subsystem:
4089
4090 Fixed a problem with store operations to reference objects. This change 
4091 fixes a problem where a Store operation to an ArgX object that contained 
4092
4093 reference to a field object did not complete the automatic dereference 
4094 and 
4095 then write to the actual field object. Instead, the object type of the 
4096 field object was inadvertently changed to match the type of the source 
4097 operand. The new behavior will actually write to the field object (buffer 
4098 field or field unit), thus matching the correct ACPI-defined behavior.
4099
4100 Implemented support to allow the host to redefine individual OSL 
4101 prototypes. This change enables the host to redefine OSL prototypes found 
4102 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
4103 with a macro or inlined function. Further, it allows the host to add any 
4104 additional required modifiers such as __iomem, __init, __exit, etc., as 
4105 necessary on a per-interface basis. Enables maximum flexibility for the 
4106 OSL interfaces. Lv Zheng.
4107
4108 Hardcoded the access width for the FADT-defined reset register. The ACPI 
4109 specification requires the reset register width to be 8 bits. ACPICA now 
4110 hardcodes the width to 8 and ignores the FADT width value. This provides 
4111 compatibility with other ACPI implementations that have allowed BIOS code 
4112 with bad register width values to go unnoticed. Matthew Garett, Bob 
4113 Moore, 
4114 Lv Zheng.
4115
4116 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
4117 used 
4118 in the OSL header (acpiosxf). The change modifies the position of this 
4119 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
4120 build issues if the OSL defines the implementation of the interface to be 
4121 an inline stub function. Lv Zheng.
4122
4123 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
4124 initialization interfaces. This change adds a new macro for the main init 
4125 and terminate external interfaces in order to support hosts that require 
4126 additional or different processing for these functions. Changed from 
4127 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
4128 Zheng, Bob Moore.
4129
4130 Cleaned up the memory allocation macros for configurability. In the 
4131 common 
4132 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
4133 respective AcpiOs* OSL interfaces. Two options:
4134 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
4135 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
4136 2) For AcpiExec (and for debugging), the macros can optionally be 
4137 resolved 
4138 to the local ACPICA interfaces that track each allocation (local tracking 
4139 is used to immediately detect memory leaks).
4140 Lv Zheng.
4141
4142 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
4143 to predefine this macro to either TRUE or FALSE during the system build.
4144
4145 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
4146
4147 Example Code and Data Size: These are the sizes for the OS-independent 
4148 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4149 debug version of the code includes the debug output trace mechanism and 
4150 has a much larger code and data size.
4151
4152   Current Release:
4153     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
4154     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
4155   Previous Release:
4156     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
4157     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
4158
4159
4160 2) iASL Compiler/Disassembler and Tools:
4161
4162 iASL: Implemented wildcard support for the -e option. This simplifies use 
4163 when there are many SSDTs that must be included to resolve external 
4164 method 
4165 declarations. ACPICA BZ 1041. Example:
4166     iasl -e ssdt*.dat -d dsdt.dat
4167
4168 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
4169 adds a portable module that implements full history and limited line 
4170 editing for Unix and Linux systems. It does not use readline() due to 
4171 portability issues. Instead it uses the POSIX termio interface to put the 
4172 terminal in raw input mode so that the various special keys can be 
4173 trapped 
4174 (such as up/down-arrow for history support and left/right-arrow for line 
4175 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
4176
4177 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
4178 one or more spaces. This provides compatible with early or different 
4179 versions of the AcpiDump utility. ACPICA BZ 1044.
4180
4181 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
4182 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
4183 no other data. This change adds support to dump these tables. Any tables 
4184 shorter than the length of an ACPI table header remain in error (an error 
4185 message is emitted). Reported by Yi Li.
4186
4187 Debugger: Echo actual command along with the "unknown command" message.
4188
4189 ----------------------------------------
4190 23 August 2013. Summary of changes for version 20130823:
4191
4192 1) ACPICA kernel-resident subsystem:
4193
4194 Implemented support for host-installed System Control Interrupt (SCI) 
4195 handlers. Certain ACPI functionality requires the host to handle raw 
4196 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
4197 state support requires the host device driver to handle SCIs to examine 
4198 if the doorbell has been activated. Multiple SCI handlers can be 
4199 installed to allow for future expansion. New external interfaces are 
4200 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
4201 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
4202
4203 Operation region support: Never locally free the handler "context" 
4204 pointer. This change removes some dangerous code that attempts to free 
4205 the handler context pointer in some (rare) circumstances. The owner of 
4206 the handler owns this pointer and the ACPICA code should never touch it. 
4207 Although not seen to be an issue in any kernel, it did show up as a 
4208 problem (fault) under AcpiExec. Also, set the internal storage field for 
4209 the context pointer to zero when the region is deactivated, simply for 
4210 sanity. David Box. ACPICA BZ 1039.
4211
4212 AcpiRead: On error, do not modify the return value target location. If an 
4213 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
4214 modify the target of the return value pointer. Makes the code consistent 
4215 with the rest of ACPICA. Bjorn Helgaas.
4216
4217 Example Code and Data Size: These are the sizes for the OS-independent 
4218 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4219 debug version of the code includes the debug output trace mechanism and 
4220 has a much larger code and data size.
4221
4222   Current Release:
4223     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
4224     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
4225   Previous Release:
4226     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
4227     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
4228
4229
4230 2) iASL Compiler/Disassembler and Tools:
4231
4232 AcpiDump: Implemented several new features and fixed some problems:
4233 1) Added support to dump the RSDP, RSDT, and XSDT tables.
4234 2) Added support for multiple table instances (SSDT, UEFI).
4235 3) Added option to dump "customized" (overridden) tables (-c).
4236 4) Fixed a problem where some table filenames were improperly 
4237 constructed.
4238 5) Improved some error messages, removed some unnecessary messages.
4239
4240 iASL: Implemented additional support for disassembly of ACPI tables that 
4241 contain invocations of external control methods. The -fe<file> option 
4242 allows the import of a file that specifies the external methods along 
4243 with the required number of arguments for each -- allowing for the 
4244 correct disassembly of the table. This is a workaround for a limitation 
4245 of AML code where the disassembler often cannot determine the number of 
4246 arguments required for an external control method and generates incorrect 
4247 ASL code. See the iASL reference for details. ACPICA BZ 1030.
4248
4249 Debugger: Implemented a new command (paths) that displays the full 
4250 pathnames (namepaths) and object types of all objects in the namespace. 
4251 This is an alternative to the namespace command.
4252
4253 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
4254 mechanism and any installed handlers.
4255
4256 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
4257 This can occur if there are too many parent prefixes in a namepath (for 
4258 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
4259
4260 Application OSLs: Set the return value for the PCI read functions. These 
4261 functions simply return AE_OK, but should set the return value to zero 
4262 also. This change implements this. ACPICA BZ 1038.
4263
4264 Debugger: Prevent possible command line buffer overflow. Increase the 
4265 size of a couple of the debugger line buffers, and ensure that overflow 
4266 cannot happen. ACPICA BZ 1037.
4267
4268 iASL: Changed to abort immediately on serious errors during the parsing 
4269 phase. Due to the nature of ASL, there is no point in attempting to 
4270 compile these types of errors, and they typically end up causing a 
4271 cascade of hundreds of errors which obscure the original problem.
4272
4273 ----------------------------------------
4274 25 July 2013. Summary of changes for version 20130725:
4275
4276 1) ACPICA kernel-resident subsystem:
4277
4278 Fixed a problem with the DerefOf operator where references to FieldUnits 
4279 and BufferFields incorrectly returned the parent object, not the actual 
4280 value of the object. After this change, a dereference of a FieldUnit 
4281 reference results in a read operation on the field to get the value, and 
4282 likewise, the appropriate BufferField value is extracted from the target 
4283 buffer.
4284
4285 Fixed a problem where the _WAK method could cause a fault under these 
4286 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
4287 method returned no value. The problem is rarely seen because most kernels 
4288 run ACPICA in slack mode.
4289
4290 For the DerefOf operator, a fatal error now results if an attempt is made 
4291 to dereference a reference (created by the Index operator) to a NULL 
4292 package element. Provides compatibility with other ACPI implementations, 
4293 and this behavior will be added to a future version of the ACPI 
4294 specification.
4295
4296 The ACPI Power Management Timer (defined in the FADT) is now optional. 
4297 This provides compatibility with other ACPI implementations and will 
4298 appear in the next version of the ACPI specification. If there is no PM 
4299 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
4300 zero in the FADT indicates no PM timer.
4301
4302 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
4303 allows the host to globally enable/disable all vendor strings, all 
4304 feature strings, or both. Intended to be primarily used for debugging 
4305 purposes only. Lv Zheng.
4306
4307 Expose the collected _OSI data to the host via a global variable. This 
4308 data tracks the highest level vendor ID that has been invoked by the BIOS 
4309 so that the host (and potentially ACPICA itself) can change behaviors 
4310 based upon the age of the BIOS.
4311
4312 Example Code and Data Size: These are the sizes for the OS-independent 
4313 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4314 debug version of the code includes the debug output trace mechanism and 
4315 has a much larger code and data size.
4316
4317   Current Release:
4318     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
4319     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
4320   Previous Release:
4321     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
4322     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
4323
4324
4325 2) iASL Compiler/Disassembler and Tools:
4326
4327 iASL: Created the following enhancements for the -so option (create 
4328 offset table):
4329 1)Add offsets for the last nameseg in each namepath for every supported 
4330 object type
4331 2)Add support for Processor, Device, Thermal Zone, and Scope objects
4332 3)Add the actual AML opcode for the parent object of every supported 
4333 object type
4334 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
4335
4336 Disassembler: Emit all unresolved external symbols in a single block. 
4337 These are external references to control methods that could not be 
4338 resolved, and thus, the disassembler had to make a guess at the number of 
4339 arguments to parse.
4340
4341 iASL: The argument to the -T option (create table template) is now 
4342 optional. If not specified, the default table is a DSDT, typically the 
4343 most common case.
4344
4345 ----------------------------------------
4346 26 June 2013. Summary of changes for version 20130626:
4347
4348 1) ACPICA kernel-resident subsystem:
4349
4350 Fixed an issue with runtime repair of the _CST object. Null or invalid 
4351 elements were not always removed properly. Lv Zheng. 
4352
4353 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
4354 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
4355 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
4356 makes the system-wide number of GPEs essentially unlimited.
4357
4358 Example Code and Data Size: These are the sizes for the OS-independent 
4359 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4360 debug version of the code includes the debug output trace mechanism and 
4361 has a much larger code and data size.
4362
4363   Current Release:
4364     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
4365     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
4366   Previous Release:
4367     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
4368     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
4369
4370
4371 2) iASL Compiler/Disassembler and Tools:
4372
4373 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
4374 hosts. Now supports Linux, FreeBSD, and Windows.
4375
4376 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
4377 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
4378
4379 iASL/Preprocessor: Implemented full support for nested 
4380 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
4381
4382 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
4383 max. The original purpose of this constraint was to limit the amount of 
4384 debug output. However, the string function in question (UtPrintString) is 
4385 now used for the disassembler also, where 256 bytes is insufficient. 
4386 Reported by RehabMan@GitHub.
4387
4388 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
4389 tables. ACPICA BZ 999. Lv Zheng.
4390
4391 iASL: Fixed a couple of error exit issues that could result in a "Could 
4392 not delete <file>" message during ASL compilation.
4393
4394 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
4395 the actual signatures for these tables are "FACP" and "APIC", 
4396 respectively.
4397
4398 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
4399 tables are allowed to have multiple instances.
4400
4401 ----------------------------------------
4402 17 May 2013. Summary of changes for version 20130517:
4403
4404 1) ACPICA kernel-resident subsystem:
4405
4406 Fixed a regression introduced in version 20130328 for _INI methods. This 
4407 change fixes a problem introduced in 20130328 where _INI methods are no 
4408 longer executed properly because of a memory block that was not 
4409 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
4410 <tomasz.nowicki@linaro.org>.
4411
4412 Fixed a possible problem with the new extended sleep registers in the 
4413 ACPI 
4414 5.0 FADT. Do not use these registers (even if populated) unless the HW-
4415 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
4416 1020. Lv Zheng.
4417
4418 Implemented return value repair code for _CST predefined objects: Sort 
4419 the 
4420 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
4421
4422 Implemented a debug-only option to disable loading of SSDTs from the 
4423 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
4424 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
4425 acglobal.h - ACPICA BZ 1005. Lv Zheng.
4426
4427 Fixed some issues in the ACPICA initialization and termination code: 
4428 Tomasz Nowicki <tomasz.nowicki@linaro.org>
4429 1) Clear events initialized flag upon event component termination. ACPICA 
4430 BZ 1013.
4431 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
4432 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
4433 4) Clear debug buffer global on termination to prevent possible multiple 
4434 delete. ACPICA BZ 1010.
4435
4436 Standardized all switch() blocks across the entire source base. After 
4437 many 
4438 years, different formatting for switch() had crept in. This change makes 
4439 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
4440
4441 Split some files to enhance ACPICA modularity and configurability:
4442 1) Split buffer dump routines into utilities/utbuffer.c
4443 2) Split internal error message routines into utilities/uterror.c
4444 3) Split table print utilities into tables/tbprint.c
4445 4) Split iASL command-line option processing into asloptions.c
4446
4447 Makefile enhancements:
4448 1) Support for all new files above.
4449 2) Abort make on errors from any subcomponent. Chao Guan.
4450 3) Add build support for Apple Mac OS X. Liang Qi.
4451
4452 Example Code and Data Size: These are the sizes for the OS-independent 
4453 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4454 debug version of the code includes the debug output trace mechanism and 
4455 has a much larger code and data size.
4456
4457   Current Release:
4458     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
4459     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
4460   Previous Release:
4461     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4462     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4463
4464
4465 2) iASL Compiler/Disassembler and Tools:
4466
4467 New utility: Implemented an easily portable version of the acpidump 
4468 utility to extract ACPI tables from the system (or a file) in an ASCII 
4469 hex 
4470 dump format. The top-level code implements the various command line 
4471 options, file I/O, and table dump routines. To port to a new host, only 
4472 three functions need to be implemented to get tables -- since this 
4473 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
4474 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
4475 1) The Windows version obtains the ACPI tables from the Registry.
4476 2) The Linux version is under development.
4477 3) Other hosts - If an OS-dependent module is submitted, it will be 
4478 distributed with ACPICA.
4479
4480 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
4481 restructuring/change to the initialization sequence caused this option to 
4482 no longer work properly.
4483
4484 iASL: Implemented a mechanism to disable specific warnings and remarks. 
4485 Adds a new command line option, "-vw <messageid> as well as "#pragma 
4486 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
4487
4488 iASL: Fix for too-strict package object validation. The package object 
4489 validation for return values from the predefined names is a bit too 
4490 strict, it does not allow names references within the package (which will 
4491 be resolved at runtime.) These types of references cannot be validated at 
4492 compile time. This change ignores named references within package objects 
4493 for names that return or define static packages.
4494
4495 Debugger: Fixed the 80-character command line limitation for the History 
4496 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
4497
4498 iASL: Added control method and package support for the -so option 
4499 (generates AML offset table for BIOS support.)
4500
4501 iASL: issue a remark if a non-serialized method creates named objects. If 
4502 a thread blocks within the method for any reason, and another thread 
4503 enters the method, the method will fail because an attempt will be made 
4504 to 
4505 create the same (named) object twice. In this case, issue a remark that 
4506 the method should be marked serialized. NOTE: may become a warning later. 
4507 ACPICA BZ 909.
4508
4509 ----------------------------------------
4510 18 April 2013. Summary of changes for version 20130418:
4511
4512 1) ACPICA kernel-resident subsystem:
4513
4514 Fixed a possible buffer overrun during some rare but specific field unit 
4515 read operations. This overrun can only happen if the DSDT version is 1 -- 
4516 meaning that all AML integers are 32 bits -- and the field length is 
4517 between 33 and 55 bits long. During the read, an internal buffer object 
4518 is 
4519 created for the field unit because the field is larger than an integer 
4520 (32 
4521 bits). However, in this case, the buffer will be incorrectly written 
4522 beyond the end because the buffer length is less than the internal 
4523 minimum 
4524 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
4525 long, but a full 8 bytes will be written.
4526
4527 Updated the Embedded Controller "orphan" _REG method support. This refers 
4528 to _REG methods under the EC device that have no corresponding operation 
4529 region. This is allowed by the ACPI specification. This update removes a 
4530 dependency on the existence an ECDT table. It will execute an orphan _REG 
4531 method as long as the operation region handler for the EC is installed at 
4532 the EC device node and not the namespace root. Rui Zhang (original 
4533 update), Bob Moore (update/integrate).
4534
4535 Implemented run-time argument typechecking for all predefined ACPI names 
4536 (_STA, _BIF, etc.) This change performs object typechecking on all 
4537 incoming arguments for all predefined names executed via 
4538 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
4539 passing correct object types as well as the correct number of arguments 
4540 (therefore identifying any issues immediately). Also, the ASL/namespace 
4541 definition of the predefined name is checked against the ACPI 
4542 specification for the proper argument count. Adds one new file, 
4543 nsarguments.c
4544
4545 Changed an exception code for the ASL UnLoad() operator. Changed the 
4546 exception code for the case where the input DdbHandle is invalid, from 
4547 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
4548
4549 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
4550 global makefile. The use of this flag causes compiler errors on earlier 
4551 versions of GCC, so it has been removed for compatibility.
4552
4553 Miscellaneous cleanup:
4554 1) Removed some unused/obsolete macros
4555 2) Fixed a possible memory leak in the _OSI support
4556 3) Removed an unused variable in the predefined name support
4557 4) Windows OSL: remove obsolete reference to a memory list field
4558
4559 Example Code and Data Size: These are the sizes for the OS-independent 
4560 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4561 debug version of the code includes the debug output trace mechanism and 
4562 has a much larger code and data size.
4563
4564   Current Release:
4565     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4566     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4567   Previous Release:
4568     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
4569     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
4570
4571
4572 2) iASL Compiler/Disassembler and Tools:
4573
4574 AcpiExec: Added installation of a handler for the SystemCMOS address 
4575 space. This prevents control method abort if a method accesses this 
4576 space.
4577
4578 AcpiExec: Added support for multiple EC devices, and now install EC 
4579 operation region handler(s) at the actual EC device instead of the 
4580 namespace root. This reflects the typical behavior of host operating 
4581 systems.
4582
4583 AcpiExec: Updated to ensure that all operation region handlers are 
4584 installed before the _REG methods are executed. This prevents a _REG 
4585 method from aborting if it accesses an address space has no handler. 
4586 AcpiExec installs a handler for every possible address space.
4587
4588 Debugger: Enhanced the "handlers" command to display non-root handlers. 
4589 This change enhances the handlers command to display handlers associated 
4590 with individual devices throughout the namespace, in addition to the 
4591 currently supported display of handlers associated with the root 
4592 namespace 
4593 node.
4594
4595 ASL Test Suite: Several test suite errors have been identified and 
4596 resolved, reducing the total error count during execution. Chao Guan.
4597
4598 ----------------------------------------
4599 28 March 2013. Summary of changes for version 20130328:
4600
4601 1) ACPICA kernel-resident subsystem:
4602
4603 Fixed several possible race conditions with the internal object reference 
4604 counting mechanism. Some of the external ACPICA interfaces update object 
4605 reference counts without holding the interpreter or namespace lock. This 
4606 change adds a spinlock to protect reference count updates on the internal 
4607 ACPICA objects. Reported by and with assistance from Andriy Gapon 
4608 (avg@FreeBSD.org).
4609
4610 FADT support: Removed an extraneous warning for very large GPE register 
4611 sets. This change removes a size mismatch warning if the legacy length 
4612 field for a GPE register set is larger than the 64-bit GAS structure can 
4613 accommodate. GPE register sets can be larger than the 255-bit width 
4614 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
4615
4616 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
4617 return from this interface. Handles a possible timeout case if 
4618 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
4619 "forever". Jung-uk Kim.
4620
4621 Predefined name support: Add allowed/required argument type information 
4622 to 
4623 the master predefined info table. This change adds the infrastructure to 
4624 enable typechecking on incoming arguments for all predefined 
4625 methods/objects. It does not actually contain the code that will fully 
4626 utilize this information, this is still under development. Also condenses 
4627 some duplicate code for the predefined names into a new module, 
4628 utilities/utpredef.c
4629
4630 Example Code and Data Size: These are the sizes for the OS-independent 
4631 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4632 debug version of the code includes the debug output trace mechanism and 
4633 has a much larger code and data size.
4634
4635   Previous Release:
4636     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4637     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4638   Current Release:
4639     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
4640     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
4641
4642
4643 2) iASL Compiler/Disassembler and Tools:
4644
4645 iASL: Implemented a new option to simplify the development of ACPI-
4646 related 
4647 BIOS code. Adds support for a new "offset table" output file. The -so 
4648 option will create a C table containing the AML table offsets of various 
4649 named objects in the namespace so that BIOS code can modify them easily 
4650 at 
4651 boot time. This can simplify BIOS runtime code by eliminating expensive 
4652 searches for "magic values", enhancing boot times and adding greater 
4653 reliability. With assistance from Lee Hamel.
4654
4655 iASL: Allow additional predefined names to return zero-length packages. 
4656 Now, all predefined names that are defined by the ACPI specification to 
4657 return a "variable-length package of packages" are allowed to return a 
4658 zero length top-level package. This allows the BIOS to tell the host that 
4659 the requested feature is not supported, and supports existing BIOS/ASL 
4660 code and practices.
4661
4662 iASL: Changed the "result not used" warning to an error. This is the case 
4663 where an ASL operator is effectively a NOOP because the result of the 
4664 operation is not stored anywhere. For example:
4665     Add (4, Local0)
4666 There is no target (missing 3rd argument), nor is the function return 
4667 value used. This is potentially a very serious problem -- since the code 
4668 was probably intended to do something, but for whatever reason, the value 
4669 was not stored. Therefore, this issue has been upgraded from a warning to 
4670 an error.
4671
4672 AcpiHelp: Added allowable/required argument types to the predefined names 
4673 info display. This feature utilizes the recent update to the predefined 
4674 names table (above).
4675
4676 ----------------------------------------
4677 14 February 2013. Summary of changes for version 20130214:
4678
4679 1) ACPICA Kernel-resident Subsystem:
4680
4681 Fixed a possible regression on some hosts: Reinstated the safe return 
4682 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
4683 evaluated only once. Although these macros are not needed for the ACPICA 
4684 code itself, they are often used by ACPI-related host device drivers 
4685 where 
4686 the safe feature may be necessary.
4687
4688 Fixed several issues related to the ACPI 5.0 reduced hardware support 
4689 (SOC): Now ensure that if the platform declares itself as hardware-
4690 reduced 
4691 via the FADT, the following functions become NOOPs (and always return 
4692 AE_OK) because ACPI is always enabled by definition on these machines:
4693   AcpiEnable
4694   AcpiDisable
4695   AcpiHwGetMode
4696   AcpiHwSetMode
4697
4698 Dynamic Object Repair: Implemented additional runtime repairs for 
4699 predefined name return values. Both of these repairs can simplify code in 
4700 the related device drivers that invoke these methods:
4701 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
4702 string to a Unicode buffer. 
4703 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
4704
4705 lone end tag descriptor in the following cases: A Return(0) was executed, 
4706 a null buffer was returned, or no object at all was returned (non-slack 
4707 mode only). Adds a new file, nsconvert.c
4708 ACPICA BZ 998. Bob Moore, Lv Zheng.
4709
4710 Resource Manager: Added additional code to prevent possible infinite 
4711 loops 
4712 while traversing corrupted or ill-formed resource template buffers. Check 
4713 for zero-length resource descriptors in all code that loops through 
4714 resource templates (the length field is used to index through the 
4715 template). This change also hardens the external AcpiWalkResources and 
4716 AcpiWalkResourceBuffer interfaces.
4717
4718 Local Cache Manager: Enhanced the main data structure to eliminate an 
4719 unnecessary mechanism to access the next object in the list. Actually 
4720 provides a small performance enhancement for hosts that use the local 
4721 ACPICA cache manager. Jung-uk Kim.
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 version of the code includes the debug output trace mechanism and 
4726 has a much larger code and data size.
4727
4728   Previous Release:
4729     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4730     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4731   Current Release:
4732     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
4733     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
4734
4735
4736 2) iASL Compiler/Disassembler and Tools:
4737
4738 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
4739 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
4740 that were made to the ACPI 5.0 specification.
4741
4742 iASL/Disassembler: Added full support for the following new ACPI tables:
4743   1) The MTMR table (MID Timer Table)
4744   2) The VRTC table (Virtual Real Time Clock Table).
4745 Includes header file, disassembler, table compiler, and template support 
4746 for both tables.
4747
4748 iASL: Implemented compile-time validation of package objects returned by 
4749 predefined names. This new feature validates static package objects 
4750 returned by the various predefined names defined to return packages. Both 
4751 object types and package lengths are validated, for both parent packages 
4752 and sub-packages, if any. The code is similar in structure and behavior 
4753 to 
4754 the runtime repair mechanism within the AML interpreter and uses the 
4755 existing predefined name information table. Adds a new file, aslprepkg.c. 
4756 ACPICA BZ 938.
4757
4758 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
4759 This feature detects a binary file with a valid ACPI table header and 
4760 invokes the disassembler automatically. Eliminates the need to 
4761 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
4762
4763 iASL/Disassembler: Added several warnings for the case where there are 
4764 unresolved control methods during the disassembly. This can potentially 
4765 cause errors when the output file is compiled, because the disassembler 
4766 assumes zero method arguments in these cases (it cannot determine the 
4767 actual number of arguments without resolution/definition of the method).
4768
4769 Debugger: Added support to display all resources with a single command. 
4770 Invocation of the resources command with no arguments will now display 
4771 all 
4772 resources within the current namespace.
4773
4774 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
4775 via the -e option.
4776
4777 ----------------------------------------
4778 17 January 2013. Summary of changes for version 20130117:
4779
4780 1) ACPICA Kernel-resident Subsystem:
4781
4782 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
4783 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
4784 objects to return a package containing one integer, most BIOS code 
4785 returns 
4786 two integers and the previous code reflects that. However, we also need 
4787 to 
4788 support BIOS code that actually implements to the ACPI spec, and this 
4789 change reflects this.
4790
4791 Fixed two issues with the ACPI_DEBUG_PRINT macros:
4792 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
4793 C compilers that require this support.
4794 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
4795 ACPI_DEBUG is already used by many of the various hosts.
4796
4797 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
4798 copyright to all module headers and signons, including the standard Linux 
4799 header. This affects virtually every file in the ACPICA core subsystem, 
4800 iASL compiler, all ACPICA utilities, and the test suites.
4801
4802 Example Code and Data Size: These are the sizes for the OS-independent 
4803 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4804 debug version of the code includes the debug output trace mechanism and 
4805 has a much larger code and data size.
4806
4807   Previous Release:
4808     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4809     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4810   Current Release:
4811     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4812     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4813
4814
4815 2) iASL Compiler/Disassembler and Tools:
4816
4817 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
4818 prevent a possible fault on some hosts. Some C libraries modify the arg 
4819 pointer parameter to vfprintf making it difficult to call it twice in the 
4820 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
4821 does not affect the Windows OSL since the Win C library does not modify 
4822 the arg pointer. Chao Guan, Bob Moore.
4823
4824 iASL: Fixed a possible infinite loop when the maximum error count is 
4825 reached. If an output file other than the .AML file is specified (such as 
4826 a listing file), and the maximum number of errors is reached, do not 
4827 attempt to flush data to the output file(s) as the compiler is aborting. 
4828 This can cause an infinite loop as the max error count code essentially 
4829 keeps calling itself.
4830
4831 iASL/Disassembler: Added an option (-in) to ignore NOOP 
4832 opcodes/operators. 
4833 Implemented for both the compiler and the disassembler. Often, the NOOP 
4834 opcode is used as padding for packages that are changed dynamically by 
4835 the 
4836 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
4837 errors. This option causes the disassembler to ignore all NOOP opcodes 
4838 (0xA3), and it also causes the compiler to ignore all ASL source code 
4839 NOOP 
4840 statements as well.
4841
4842 Debugger: Enhanced the Sleep command to execute all sleep states. This 
4843 change allows Sleep to be invoked with no arguments and causes the 
4844 debugger to execute all of the sleep states, 0-5, automatically.
4845
4846 ----------------------------------------
4847 20 December 2012. Summary of changes for version 20121220:
4848
4849 1) ACPICA Kernel-resident Subsystem:
4850
4851 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
4852 alternate entry point for AcpiWalkResources and improves the usability of 
4853 the resource manager by accepting as input a buffer containing the output 
4854 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
4855 input buffer is not deleted by this interface so that it can be used by 
4856 the host later. See the ACPICA reference for details.
4857
4858 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
4859 (DSDT version < 2). The constant will be truncated and this warning 
4860 reflects that behavior.
4861
4862 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
4863 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
4864 both get and set the new wake bit in these descriptors, separately from 
4865 the existing share bit. Reported by Aaron Lu.
4866
4867 Interpreter: Fix Store() when an implicit conversion is not possible. For 
4868 example, in the cases such as a store of a string to an existing package 
4869 object, implement the store as a CopyObject(). This is a small departure 
4870 from the ACPI specification which states that the control method should 
4871 be 
4872 aborted in this case. However, the ASLTS suite depends on this behavior.
4873
4874 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
4875 macros: check if debug output is currently enabled as soon as possible to 
4876 minimize performance impact if debug is in fact not enabled.
4877
4878 Source code restructuring: Cleanup to improve modularity. The following 
4879 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
4880 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
4881 Associated makefiles and project files have been updated.
4882
4883 Changed an exception code for LoadTable operator. For the case where one 
4884 of the input strings is too long, change the returned exception code from 
4885 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
4886
4887 Fixed a possible memory leak in dispatcher error path. On error, delete 
4888 the mutex object created during method mutex creation. Reported by 
4889 tim.gardner@canonical.com.
4890
4891 Example Code and Data Size: These are the sizes for the OS-independent 
4892 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4893 debug version of the code includes the debug output trace mechanism and 
4894 has a much larger code and data size.
4895
4896   Previous Release:
4897     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4898     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4899   Current Release:
4900     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4901     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4902
4903
4904 2) iASL Compiler/Disassembler and Tools:
4905
4906 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
4907 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
4908 will not allow the interpreter to differentiate between a method and a 
4909 method invocation when these are used as an argument to the ObjectType 
4910 operator. The ACPI specification change is to disallow a method 
4911 invocation 
4912 (UserTerm) for the ObjectType operator.
4913
4914 Finish support for the TPM2 and CSRT tables in the headers, table 
4915 compiler, and disassembler.
4916
4917 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
4918 always expires immediately if the semaphore is not available. The 
4919 original 
4920 code was using a relative-time timeout, but sem_timedwait requires the 
4921 use 
4922 of an absolute time.
4923
4924 iASL: Added a remark if the Timer() operator is used within a 32-bit 
4925 table. This operator returns a 64-bit time value that will be truncated 
4926 within a 32-bit table.
4927
4928 iASL Source code restructuring: Cleanup to improve modularity. The 
4929 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
4930 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
4931 been updated.
4932
4933
4934 ----------------------------------------
4935 14 November 2012. Summary of changes for version 20121114:
4936
4937 1) ACPICA Kernel-resident Subsystem:
4938
4939 Implemented a performance enhancement for ACPI/AML Package objects. This 
4940 change greatly increases the performance of Package objects within the 
4941 interpreter. It changes the processing of reference counts for packages 
4942 by 
4943 optimizing for the most common case where the package sub-objects are 
4944 either Integers, Strings, or Buffers. Increases the overall performance 
4945 of 
4946 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
4947 2X.) 
4948 Chao Guan. ACPICA BZ 943.
4949
4950 Implemented and deployed common macros to extract flag bits from resource 
4951 descriptors. Improves readability and maintainability of the code. Fixes 
4952
4953 problem with the UART serial bus descriptor for the number of data bits 
4954 flags (was incorrectly 2 bits, should be 3).
4955
4956 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
4957 of the macros and changed the SETx macros to the style of (destination, 
4958 source). Also added ACPI_CASTx companion macros. Lv Zheng.
4959
4960 Example Code and Data Size: These are the sizes for the OS-independent 
4961 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4962 debug version of the code includes the debug output trace mechanism and 
4963 has a much larger code and data size.
4964
4965   Previous Release:
4966     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4967     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4968   Current Release:
4969     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4970     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4971
4972
4973 2) iASL Compiler/Disassembler and Tools:
4974
4975 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
4976 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
4977 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
4978
4979 Disassembler: Fixed a problem with external declaration generation. Fixes 
4980 a problem where an incorrect pathname could be generated for an external 
4981 declaration if the original reference to the object includes leading 
4982 carats (^). ACPICA BZ 984.
4983
4984 Debugger: Completed a major update for the Disassemble<method> command. 
4985 This command was out-of-date and did not properly disassemble control 
4986 methods that had any reasonable complexity. This fix brings the command 
4987 up 
4988 to the same level as the rest of the disassembler. Adds one new file, 
4989 dmdeferred.c, which is existing code that is now common with the main 
4990 disassembler and the debugger disassemble command. ACPICA MZ 978.
4991
4992 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
4993 Newer versions of Bison emit this prototype, so moved the prototype out 
4994 of 
4995 the iASL header to where it is actually used in order to avoid a 
4996 duplicate 
4997 declaration.
4998
4999 iASL/Tools: Standardized use of the stream I/O functions:
5000   1) Ensure check for I/O error after every fopen/fread/fwrite
5001   2) Ensure proper order of size/count arguments for fread/fwrite
5002   3) Use test of (Actual != Requested) after all fwrite, and most fread
5003   4) Standardize I/O error messages
5004 Improves reliability and maintainability of the code. Bob Moore, Lv 
5005 Zheng. 
5006 ACPICA BZ 981.
5007
5008 Disassembler: Prevent duplicate External() statements. During generation 
5009 of external statements, detect similar pathnames that are actually 
5010 duplicates such as these:
5011   External (\ABCD)
5012   External (ABCD)
5013 Remove all leading '\' characters from pathnames during the external 
5014 statement generation so that duplicates will be detected and tossed. 
5015 ACPICA BZ 985.
5016
5017 Tools: Replace low-level I/O with stream I/O functions. Replace 
5018 open/read/write/close with the stream I/O equivalents 
5019 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
5020 Moore.
5021
5022 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
5023 name header so that AcpiXtract recognizes the output file/table.
5024
5025 iASL: Remove obsolete -2 option flag. Originally intended to force the 
5026 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
5027 and the entire concept is now obsolete.
5028
5029 ----------------------------------------
5030 18 October 2012. Summary of changes for version 20121018:
5031
5032
5033 1) ACPICA Kernel-resident Subsystem:
5034
5035 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
5036 introduced by late changes to the table as it was added to the ACPI 5.0 
5037 specification. Includes header, disassembler, and data table compiler 
5038 support as well as a new version of the MPST template.
5039
5040 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
5041 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
5042 methods: _HID, _CID, and _UID.
5043
5044 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
5045 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
5046 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
5047 names for their various drivers. Affects the AcpiGetObjectInfo external 
5048 interface, and other internal interfaces as well.
5049
5050 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
5051 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
5052 on machines that support non-aligned transfers. Optimizes for this case 
5053 rather than using a strncpy. With assistance from Zheng Lv.
5054
5055 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
5056 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
5057
5058 Added a new debug print message for AML mutex objects that are force-
5059 released. At control method termination, any currently acquired mutex 
5060 objects are force-released. Adds a new debug-only message for each one 
5061 that is released.
5062
5063 Audited/updated all ACPICA return macros and the function debug depth 
5064 counter: 1) Ensure that all functions that use the various TRACE macros 
5065 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
5066 return statements surround the return expression (value) with parens to 
5067 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
5068 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
5069
5070 Global source code changes/maintenance: All extra lines at the start and 
5071 end of each source file have been removed for consistency. Also, within 
5072 comments, all new sentences start with a single space instead of a double 
5073 space, again for consistency across the code base.
5074
5075 Example Code and Data Size: These are the sizes for the OS-independent 
5076 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5077 debug version of the code includes the debug output trace mechanism and 
5078 has a much larger code and data size.
5079
5080   Previous Release:
5081     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
5082     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
5083   Current Release:
5084     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
5085     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
5086
5087
5088 2) iASL Compiler/Disassembler and Tools:
5089
5090 AcpiExec: Improved the algorithm used for memory leak/corruption 
5091 detection. Added some intelligence to the code that maintains the global 
5092 list of allocated memory. The list is now ordered by allocated memory 
5093 address, significantly improving performance. When running AcpiExec on 
5094 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
5095 on the platform and/or the environment. Note, this performance 
5096 enhancement affects the AcpiExec utility only, not the kernel-resident 
5097 ACPICA code.
5098
5099 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
5100 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
5101 incorrect table offset reported for invalid opcodes. Report the original 
5102 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
5103
5104 Disassembler: Enhanced the -vt option to emit the binary table data in 
5105 hex format to assist with debugging.
5106
5107 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
5108 size of file structure. Colin Ian King.
5109
5110 ----------------------------------------
5111 13 September 2012. Summary of changes for version 20120913:
5112
5113
5114 1) ACPICA Kernel-resident Subsystem:
5115
5116 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
5117 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
5118 and 
5119 MCE(6).
5120  
5121 Table Manager: Merged/removed duplicate code in the root table resize 
5122 functions. One function is external, the other is internal. Lv Zheng, 
5123 ACPICA 
5124 BZ 846.
5125
5126 Makefiles: Completely removed the obsolete "Linux" makefiles under 
5127 acpica/generate/linux. These makefiles are obsolete and have been 
5128 replaced 
5129 by 
5130 the generic unix makefiles under acpica/generate/unix.
5131
5132 Makefiles: Ensure that binary files always copied properly. Minor rule 
5133 change 
5134 to ensure that the final binary output files are always copied up to the 
5135 appropriate binary directory (bin32 or bin64.)
5136
5137 Example Code and Data Size: These are the sizes for the OS-independent 
5138 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5139 debug 
5140 version of the code includes the debug output trace mechanism and has a 
5141 much 
5142 larger code and data size.
5143
5144   Previous Release:
5145     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
5146     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
5147   Current Release:
5148     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
5149     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
5150
5151
5152 2) iASL Compiler/Disassembler and Tools:
5153
5154 Disassembler: Fixed a possible fault during the disassembly of resource 
5155 descriptors when a second parse is required because of the invocation of 
5156 external control methods within the table. With assistance from 
5157 adq@lidskialf.net. ACPICA BZ 976.
5158
5159 iASL: Fixed a namepath optimization problem. An error can occur if the 
5160 parse 
5161 node that contains the namepath to be optimized does not have a parent 
5162 node 
5163 that is a named object. This change fixes the problem.
5164
5165 iASL: Fixed a regression where the AML file is not deleted on errors. The 
5166 AML 
5167 output file should be deleted if there are any errors during the 
5168 compiler. 
5169 The 
5170 only exception is if the -f (force output) option is used. ACPICA BZ 974.
5171
5172 iASL: Added a feature to automatically increase internal line buffer 
5173 sizes. 
5174 Via realloc(), automatically increase the internal line buffer sizes as 
5175 necessary to support very long source code lines. The current version of 
5176 the 
5177 preprocessor requires a buffer long enough to contain full source code 
5178 lines. 
5179 This change increases the line buffer(s) if the input lines go beyond the 
5180 current buffer size. This eliminates errors that occurred when a source 
5181 code 
5182 line was longer than the buffer.
5183
5184 iASL: Fixed a problem with constant folding in method declarations. The 
5185 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
5186 if a 
5187 Type3 opcode was used.
5188
5189 Debugger: Improved command help support. For incorrect argument count, 
5190 display 
5191 full help for the command. For help command itself, allow an argument to 
5192 specify a command.
5193
5194 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
5195 errors during execution of the suite. Guan Chao.
5196
5197 ----------------------------------------
5198 16 August 2012. Summary of changes for version 20120816:
5199
5200
5201 1) ACPICA Kernel-resident Subsystem:
5202
5203 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
5204 _GTS 
5205 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
5206 deprecated and will probably be removed from the ACPI specification. 
5207 Windows 
5208 does not invoke them, and reportedly never will. The final nail in the 
5209 coffin 
5210 is that the ACPI specification states that these methods must be run with 
5211 interrupts off, which is not going to happen in a kernel interpreter. 
5212 Note: 
5213 Linux has removed all use of the methods also. It was discovered that 
5214 invoking these functions caused failures on some machines, probably 
5215 because 
5216 they were never tested since Windows does not call them. Affects two 
5217 external 
5218 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
5219 ACPICA BZ 969.
5220
5221 Implemented support for complex bit-packed buffers returned from the _PLD 
5222 (Physical Location of Device) predefined method. Adds a new external 
5223 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
5224
5225 structure. Note: C Bitfields cannot be used for this type of predefined 
5226 structure since the memory layout of individual bitfields is not defined 
5227 by 
5228 the C language. In addition, there are endian concerns where a compiler 
5229 will 
5230 change the bitfield ordering based on the machine type. The new ACPICA 
5231 interface eliminates these issues, and should be called after _PLD is 
5232 executed. ACPICA BZ 954.
5233
5234 Implemented a change to allow a scope change to root (via "Scope (\)") 
5235 during 
5236 execution of module-level ASL code (code that is executed at table load 
5237 time.) Lin Ming.
5238
5239 Added the Windows8/Server2012 string for the _OSI method. This change 
5240 adds 
5241
5242 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
5243 2012.
5244
5245 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
5246 2) 
5247 and CSRT (Core System Resource Table).
5248
5249 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
5250 names. This simplifies access to the buffers returned by these predefined 
5251 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
5252
5253 GPE support: Removed an extraneous parameter from the various low-level 
5254 internal GPE functions. Tang Feng.
5255
5256 Removed the linux makefiles from the unix packages. The generate/linux 
5257 makefiles are obsolete and have been removed from the unix tarball 
5258 release 
5259 packages. The replacement makefiles are under generate/unix, and there is 
5260
5261 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
5262
5263 Updates for Unix makefiles:
5264 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
5265 2) Update linker flags (move to end of command line) for AcpiExec 
5266 utility. 
5267 Guan Chao.
5268
5269 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
5270 utxface.c to improve modularity and reduce file size.
5271
5272 Example Code and Data Size: These are the sizes for the OS-independent 
5273 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5274 debug version of the code includes the debug output trace mechanism and 
5275 has a 
5276 much larger code and data size.
5277
5278   Previous Release:
5279     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
5280     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
5281   Current Release:
5282     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
5283     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
5284
5285
5286 2) iASL Compiler/Disassembler and Tools:
5287
5288 iASL: Fixed a problem with constant folding for fixed-length constant 
5289 expressions. The constant-folding code was not being invoked for constant 
5290 expressions that allow the use of type 3/4/5 opcodes to generate 
5291 constants 
5292 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
5293 result 
5294 in the generation of invalid AML bytecode. ACPICA BZ 970.
5295
5296 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
5297 apparently automatically emit some of the necessary externals. This 
5298 change 
5299 handles these versions in order to eliminate generation warnings.
5300
5301 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
5302
5303 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
5304 appears 
5305 within comments in the output file.
5306
5307 Debugger: Fixed a regression with the "Threads" command where 
5308 AE_BAD_PARAMETER was always returned.
5309
5310 ----------------------------------------
5311 11 July 2012. Summary of changes for version 20120711:
5312
5313 1) ACPICA Kernel-resident Subsystem:
5314
5315 Fixed a possible fault in the return package object repair code. Fixes a 
5316 problem that can occur when a lone package object is wrapped with an 
5317 outer 
5318 package object in order to force conformance to the ACPI specification. 
5319 Can 
5320 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
5321 _DLM, 
5322 _CSD, _PSD, _TSD.
5323
5324 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
5325 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
5326 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
5327 state 
5328 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
5329 both 
5330 Intel and other vendors. (for Intel: ICH4-M and earlier)
5331
5332 This change removes the code to disable/enable bus master arbitration 
5333 during 
5334 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
5335 causes 
5336 resume problems on some machines. The change has been in use for over 
5337 seven 
5338 years within Linux.
5339
5340 Implemented two new external interfaces to support host-directed dynamic 
5341 ACPI 
5342 table load and unload. They are intended to simplify the host 
5343 implementation 
5344 of hot-plug support:
5345   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
5346   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
5347 table.
5348 See the ACPICA reference for additional details. Adds one new file, 
5349 components/tables/tbxfload.c
5350
5351 Implemented and deployed two new interfaces for errors and warnings that 
5352 are 
5353 known to be caused by BIOS/firmware issues:
5354   AcpiBiosError: Prints "ACPI Firmware Error" message.
5355   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
5356 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
5357 table 
5358 and FADT errors. Additional deployment to be completed as appropriate in 
5359 the 
5360 future. The associated conditional macros are ACPI_BIOS_ERROR and 
5361 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
5362 ACPICA 
5363 BZ 
5364 843.
5365
5366 Implicit notify support: ensure that no memory allocation occurs within a 
5367 critical region. This fix moves a memory allocation outside of the time 
5368 that a 
5369 spinlock is held. Fixes issues on systems that do not allow this 
5370 behavior. 
5371 Jung-uk Kim.
5372
5373 Split exception code utilities and tables into a new file, 
5374 utilities/utexcep.c
5375
5376 Example Code and Data Size: These are the sizes for the OS-independent 
5377 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5378 debug 
5379 version of the code includes the debug output trace mechanism and has a 
5380 much 
5381 larger code and data size.
5382
5383   Previous Release:
5384     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
5385     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
5386   Current Release:
5387     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
5388     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
5389
5390
5391 2) iASL Compiler/Disassembler and Tools:
5392
5393 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
5394 of 
5395 0. Jung-uk Kim.
5396
5397 Debugger: Enhanced the "tables" command to emit additional information 
5398 about 
5399 the current set of ACPI tables, including the owner ID and flags decode.
5400
5401 Debugger: Reimplemented the "unload" command to use the new 
5402 AcpiUnloadParentTable external interface. This command was disable 
5403 previously 
5404 due to need for an unload interface.
5405
5406 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
5407 option 
5408 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
5409
5410 ----------------------------------------
5411 20 June 2012. Summary of changes for version 20120620:
5412
5413
5414 1) ACPICA Kernel-resident Subsystem:
5415
5416 Implemented support to expand the "implicit notify" feature to allow 
5417 multiple 
5418 devices to be notified by a single GPE. This feature automatically 
5419 generates a 
5420 runtime device notification in the absence of a BIOS-provided GPE control 
5421 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
5422 notify is 
5423 provided by ACPICA for Windows compatibility, and is a workaround for 
5424 BIOS 
5425 AML 
5426 code errors. See the description of the AcpiSetupGpeForWake interface in 
5427 the 
5428 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
5429
5430 Changed some comments and internal function names to simplify and ensure 
5431 correctness of the Linux code translation. No functional changes.
5432
5433 Example Code and Data Size: These are the sizes for the OS-independent 
5434 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5435 debug 
5436 version of the code includes the debug output trace mechanism and has a 
5437 much 
5438 larger code and data size.
5439
5440   Previous Release:
5441     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
5442     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
5443   Current Release:
5444     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
5445     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
5446
5447
5448 2) iASL Compiler/Disassembler and Tools:
5449
5450 Disassembler: Added support to emit short, commented descriptions for the 
5451 ACPI 
5452 predefined names in order to improve the readability of the disassembled 
5453 output. ACPICA BZ 959. Changes include:
5454   1) Emit descriptions for all standard predefined names (_INI, _STA, 
5455 _PRW, 
5456 etc.)
5457   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
5458   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
5459 etc.)
5460
5461 AcpiSrc: Fixed several long-standing Linux code translation issues. 
5462 Argument 
5463 descriptions in function headers are now translated properly to lower 
5464 case 
5465 and 
5466 underscores. ACPICA BZ 961. Also fixes translation problems such as 
5467 these: 
5468 (old -> new)
5469   i_aSL -> iASL
5470   00-7_f -> 00-7F
5471   16_k -> 16K
5472   local_fADT -> local_FADT
5473   execute_oSI -> execute_OSI
5474
5475 iASL: Fixed a problem where null bytes were inadvertently emitted into 
5476 some 
5477 listing files.
5478
5479 iASL: Added the existing debug options to the standard help screen. There 
5480 are 
5481 no longer two different help screens. ACPICA BZ 957.
5482
5483 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
5484 Also 
5485 expand some of the descriptions where appropriate.
5486
5487 iASL: Fixed the -ot option (display compile times/statistics). Was not 
5488 working 
5489 properly for standard output; only worked for the debug file case.
5490
5491 ----------------------------------------
5492 18 May 2012. Summary of changes for version 20120518:
5493
5494
5495 1) ACPICA Core Subsystem:
5496
5497 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
5498 defined 
5499 to block until asynchronous events such as notifies and GPEs have 
5500 completed. 
5501 Within ACPICA, it is only called before a notify or GPE handler is 
5502 removed/uninstalled. It also may be useful for the host OS within related 
5503 drivers such as the Embedded Controller driver. See the ACPICA reference 
5504 for 
5505 additional information. ACPICA BZ 868.
5506
5507 ACPI Tables: Added a new error message for a possible overflow failure 
5508 during 
5509 the conversion of FADT 32-bit legacy register addresses to internal 
5510 common 
5511 64-
5512 bit GAS structure representation. The GAS has a one-byte "bit length" 
5513 field, 
5514 thus limiting the register length to 255 bits. ACPICA BZ 953.
5515
5516 Example Code and Data Size: These are the sizes for the OS-independent 
5517 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5518 debug 
5519 version of the code includes the debug output trace mechanism and has a 
5520 much 
5521 larger code and data size.
5522
5523   Previous Release:
5524     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5525     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5526   Current Release:
5527     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
5528     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
5529
5530
5531 2) iASL Compiler/Disassembler and Tools:
5532
5533 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
5534 macro. 
5535 This keyword was added late in the ACPI 5.0 release cycle and was not 
5536 implemented until now.
5537
5538 Disassembler: Added support for Operation Region externals. Adds missing 
5539 support for operation regions that are defined in another table, and 
5540 referenced locally via a Field or BankField ASL operator. Now generates 
5541 the 
5542 correct External statement.
5543
5544 Disassembler: Several additional fixes for the External() statement 
5545 generation 
5546 related to some ASL operators. Also, order the External() statements 
5547 alphabetically in the disassembler output. Fixes the External() 
5548 generation 
5549 for 
5550 the Create* field, Alias, and Scope operators:
5551  1) Create* buffer field operators - fix type mismatch warning on 
5552 disassembly
5553  2) Alias - implement missing External support
5554  3) Scope - fix to make sure all necessary externals are emitted.
5555
5556 iASL: Improved pathname support. For include files, merge the prefix 
5557 pathname 
5558 with the file pathname and eliminate unnecessary components. Convert 
5559 backslashes in all pathnames to forward slashes, for readability. Include 
5560 file 
5561 pathname changes affect both #include and Include() type operators.
5562
5563 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
5564 end 
5565 of a valid line by inserting a newline and then returning the EOF during 
5566 the 
5567 next call to GetNextLine. Prevents the line from being ignored due to EOF 
5568 condition.
5569
5570 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
5571 Error 
5572 and Warning messages are now correctly recognized for both the source 
5573 code 
5574 browser and the global error and warning counts.
5575
5576 ----------------------------------------
5577 20 April 2012. Summary of changes for version 20120420:
5578
5579
5580 1) ACPICA Core Subsystem:
5581
5582 Implemented support for multiple notify handlers. This change adds 
5583 support 
5584 to 
5585 allow multiple system and device notify handlers on Device, Thermal Zone, 
5586 and 
5587 Processor objects. This can simplify the host OS notification 
5588 implementation. 
5589 Also re-worked and restructured the entire notify support code to 
5590 simplify 
5591 handler installation, handler removal, notify event queuing, and notify 
5592 dispatch to handler(s). Note: there can still only be two global notify 
5593 handlers - one for system notifies and one for device notifies. There are 
5594 no 
5595 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
5596 Moore, Rafael Wysocki.
5597
5598 Fixed a regression in the package repair code where the object reference 
5599 count was calculated incorrectly. Regression was introduced in the commit 
5600 "Support to add Package wrappers".
5601
5602 Fixed a couple possible memory leaks in the AML parser, in the error 
5603 recovery 
5604 path. Jesper Juhl, Lin Ming.
5605
5606 Example Code and Data Size: These are the sizes for the OS-independent 
5607 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5608 debug version of the code includes the debug output trace mechanism and 
5609 has a 
5610 much larger code and data size.
5611
5612   Previous Release:
5613     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5614     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5615   Current Release:
5616     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5617     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
5618
5619
5620 2) iASL Compiler/Disassembler and Tools:
5621
5622 iASL: Fixed a problem with the resource descriptor support where the 
5623 length 
5624 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
5625 included in cumulative descriptor offset, resulting in incorrect values 
5626 for 
5627 resource tags within resource descriptors appearing after a 
5628 StartDependent* 
5629 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
5630
5631 iASL and Preprocessor: Implemented full support for the #line directive 
5632 to 
5633 correctly track original source file line numbers through the .i 
5634 preprocessor 
5635 output file - for error and warning messages.
5636
5637 iASL: Expand the allowable byte constants for address space IDs. 
5638 Previously, 
5639 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
5640 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
5641
5642 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
5643
5644 iASL: Add option to completely disable the preprocessor (-Pn).
5645
5646 iASL: Now emit all error/warning messages to standard error (stderr) by 
5647 default (instead of the previous stdout).
5648
5649 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
5650 Update 
5651 for resource descriptor offset fix above. Update/cleanup error output 
5652 routines. Enable and send iASL errors/warnings to an error logfile 
5653 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
5654 Fixed 
5655 several extraneous "unrecognized operator" messages.
5656
5657 ----------------------------------------
5658 20 March 2012. Summary of changes for version 20120320:
5659
5660
5661 1) ACPICA Core Subsystem:
5662
5663 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
5664 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
5665 apparently 
5666 does not execute these methods, and therefore these methods are often 
5667 untested. It has been seen on some systems where the execution of these 
5668 methods causes errors and also prevents the machine from entering S5. It 
5669 is 
5670 therefore suggested that host operating systems do not execute these 
5671 methods 
5672 by default. In the future, perhaps these methods can be optionally 
5673 executed 
5674 based on the age of the system and/or what is the newest version of 
5675 Windows 
5676 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
5677 and 
5678 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
5679 Ming.
5680
5681 Fixed a problem where the length of the local/common FADT was set too 
5682 early. 
5683 The local FADT table length cannot be set to the common length until the 
5684 original length has been examined. There is code that checks the table 
5685 length 
5686 and sets various fields appropriately. This can affect older machines 
5687 with 
5688 early FADT versions. For example, this can cause inadvertent writes to 
5689 the 
5690 CST_CNT register. Julian Anastasov.
5691
5692 Fixed a mapping issue related to a physical table override. Use the 
5693 deferred 
5694 mapping mechanism for tables loaded via the physical override OSL 
5695 interface. 
5696 This allows for early mapping before the virtual memory manager is 
5697 available. 
5698 Thomas Renninger, Bob Moore.
5699
5700 Enhanced the automatic return-object repair code: Repair a common problem 
5701 with 
5702 predefined methods that are defined to return a variable-length Package 
5703 of 
5704 sub-objects. If there is only one sub-object, some BIOS ASL code 
5705 mistakenly 
5706 simply returns the single object instead of a Package with one sub-
5707 object. 
5708 This new support will repair this error by wrapping a Package object 
5709 around 
5710 the original object, creating the correct and expected Package with one 
5711 sub-
5712 object. Names that can be repaired in this manner include: _ALR, _CSD, 
5713 _HPX, 
5714 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
5715 939.
5716
5717 Changed the exception code returned for invalid ACPI paths passed as 
5718 parameters to external interfaces such as AcpiEvaluateObject. Was 
5719 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
5720
5721 Example Code and Data Size: These are the sizes for the OS-independent 
5722 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5723 debug 
5724 version of the code includes the debug output trace mechanism and has a 
5725 much 
5726 larger code and data size.
5727
5728   Previous Release:
5729     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5730     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5731   Current Release:
5732     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
5733     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5734
5735
5736 2) iASL Compiler/Disassembler and Tools:
5737
5738 iASL: Added the infrastructure and initial implementation of a integrated 
5739 C-
5740 like preprocessor. This will simplify BIOS development process by 
5741 eliminating 
5742 the need for a separate preprocessing step during builds. On Windows, it 
5743 also 
5744 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
5745 features including full #define() macro support are still under 
5746 development. 
5747 These preprocessor directives are supported:
5748     #define
5749     #elif
5750     #else
5751     #endif
5752     #error
5753     #if
5754     #ifdef
5755     #ifndef
5756     #include
5757     #pragma message
5758     #undef
5759     #warning
5760 In addition, these new command line options are supported:
5761     -D <symbol> Define symbol for preprocessor use
5762     -li         Create preprocessed output file (*.i)
5763     -P          Preprocess only and create preprocessor output file (*.i)
5764
5765 Table Compiler: Fixed a problem where the equals operator within an 
5766 expression 
5767 did not work properly.
5768
5769 Updated iASL to use the current versions of Bison/Flex. Updated the 
5770 Windows 
5771 project file to invoke these tools from the standard location. ACPICA BZ 
5772 904. 
5773 Versions supported:
5774     Flex for Windows:  V2.5.4
5775     Bison for Windows: V2.4.1
5776
5777 ----------------------------------------
5778 15 February 2012. Summary of changes for version 20120215:
5779
5780
5781 1) ACPICA Core Subsystem:
5782
5783 There have been some major changes to the sleep/wake support code, as 
5784 described below (a - e).
5785
5786 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
5787 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
5788 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
5789 the 
5790 time the _BFS method is called and the _WAK method is called. NOTE: all 
5791 hosts 
5792 must update their wake/resume code or else sleep/wake will not work 
5793 properly. 
5794 Rafael Wysocki.
5795
5796 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
5797 _WAK 
5798 method. Some machines require that the GPEs are enabled before the _WAK 
5799 method 
5800 is executed. Thomas Renninger.
5801
5802 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
5803 bit. 
5804 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
5805 to 
5806 determine whether the system is rebooting or resuming. Matthew Garrett.
5807
5808 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
5809 Sleep) to 
5810 match the ACPI specification requirement. Rafael Wysocki.
5811
5812 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
5813 registers within the V5 FADT. This support adds two new files: 
5814 hardware/hwesleep.c implements the support for the new registers. Moved 
5815 all 
5816 sleep/wake external interfaces to hardware/hwxfsleep.c.
5817
5818
5819 Added a new OSL interface for ACPI table overrides, 
5820 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
5821 table via a physical address, instead of the logical address required by 
5822 AcpiOsTableOverride. This simplifies the host implementation. Initial 
5823 implementation by Thomas Renninger. The ACPICA implementation creates a 
5824 single 
5825 shared function for table overrides that attempts both a logical and a 
5826 physical override.
5827
5828 Expanded the OSL memory read/write interfaces to 64-bit data 
5829 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
5830 transfer support for GAS register structures passed to AcpiRead and 
5831 AcpiWrite.
5832
5833 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
5834 custom 
5835 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
5836 model. 
5837 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
5838 about 
5839 10% of the code and 5% of the static data, and the following hardware 
5840 ACPI 
5841 features become unavailable:
5842     PM Event and Control registers
5843     SCI interrupt (and handler)
5844     Fixed Events
5845     General Purpose Events (GPEs)
5846     Global Lock
5847     ACPI PM timer
5848     FACS table (Waking vectors and Global Lock)
5849
5850 Updated the unix tarball directory structure to match the ACPICA git 
5851 source 
5852 tree. This ensures that the generic unix makefiles work properly (in 
5853 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
5854 867.
5855
5856 Updated the return value of the _REV predefined method to integer value 5 
5857 to 
5858 reflect ACPI 5.0 support.
5859
5860 Moved the external ACPI PM timer interface prototypes to the public 
5861 acpixf.h 
5862 file where they belong.
5863
5864 Example Code and Data Size: These are the sizes for the OS-independent 
5865 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5866 debug 
5867 version of the code includes the debug output trace mechanism and has a 
5868 much 
5869 larger code and data size.
5870
5871   Previous Release:
5872     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5873     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5874   Current Release:
5875     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5876     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5877
5878
5879 2) iASL Compiler/Disassembler and Tools:
5880
5881 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
5882 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
5883 incorrectly displayed.
5884
5885 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
5886 specification.
5887
5888 ----------------------------------------
5889 11 January 2012. Summary of changes for version 20120111:
5890
5891
5892 1) ACPICA Core Subsystem:
5893
5894 Implemented a new mechanism to allow host device drivers to check for 
5895 address 
5896 range conflicts with ACPI Operation Regions. Both SystemMemory and 
5897 SystemIO 
5898 address spaces are supported. A new external interface, 
5899 AcpiCheckAddressRange, 
5900 allows drivers to check an address range against the ACPI namespace. See 
5901 the 
5902 ACPICA reference for additional details. Adds one new file, 
5903 utilities/utaddress.c. Lin Ming, Bob Moore.
5904
5905 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
5906 Control 
5907 and 
5908 Status registers, update the ACPI 5.0 flags, and update internal data 
5909 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
5910 5.0 
5911 FADT is 268 bytes.
5912
5913 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
5914 copyright to 
5915 all module headers and signons, including the standard Linux header. This 
5916 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
5917 and 
5918 all ACPICA utilities.
5919
5920 Example Code and Data Size: These are the sizes for the OS-independent 
5921 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5922 debug 
5923 version of the code includes the debug output trace mechanism and has a 
5924 much 
5925 larger code and data size.
5926
5927   Previous Release:
5928     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5929     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5930   Current Release:
5931     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5932     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5933
5934
5935 2) iASL Compiler/Disassembler and Tools:
5936
5937 Disassembler: fixed a problem with the automatic resource tag generation 
5938 support. Fixes a problem where the resource tags are inadvertently not 
5939 constructed if the table being disassembled contains external references 
5940 to 
5941 control methods. Moved the actual construction of the tags to after the 
5942 final 
5943 namespace is constructed (after 2nd parse is invoked due to external 
5944 control 
5945 method references.) ACPICA BZ 941.
5946
5947 Table Compiler: Make all "generic" operators caseless. These are the 
5948 operators 
5949 like UINT8, String, etc. Making these caseless improves ease-of-use. 
5950 ACPICA BZ 
5951 934.
5952
5953 ----------------------------------------
5954 23 November 2011. Summary of changes for version 20111123:
5955
5956 0) ACPI 5.0 Support:
5957
5958 This release contains full support for the ACPI 5.0 specification, as 
5959 summarized below.
5960
5961 Reduced Hardware Support:
5962 -------------------------
5963
5964 This support allows for ACPI systems without the usual ACPI hardware. 
5965 This 
5966 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
5967 will 
5968 not attempt to initialize or use any of the usual ACPI hardware. Note, 
5969 when 
5970 this flag is set, all of the following ACPI hardware is assumed to be not 
5971 present and is not initialized or accessed:
5972
5973     General Purpose Events (GPEs)
5974     Fixed Events (PM1a/PM1b and PM Control)
5975     Power Management Timer and Console Buttons (power/sleep)
5976     Real-time Clock Alarm
5977     Global Lock
5978     System Control Interrupt (SCI)
5979     The FACS is assumed to be non-existent
5980
5981 ACPI Tables:
5982 ------------
5983
5984 All new tables and updates to existing tables are fully supported in the 
5985 ACPICA headers (for use by device drivers), the disassembler, and the 
5986 iASL 
5987 Data Table Compiler. ACPI 5.0 defines these new tables:
5988
5989     BGRT        /* Boot Graphics Resource Table */
5990     DRTM        /* Dynamic Root of Trust for Measurement table */
5991     FPDT        /* Firmware Performance Data Table */
5992     GTDT        /* Generic Timer Description Table */
5993     MPST        /* Memory Power State Table */
5994     PCCT        /* Platform Communications Channel Table */
5995     PMTT        /* Platform Memory Topology Table */
5996     RASF        /* RAS Feature table */
5997
5998 Operation Regions/SpaceIDs:
5999 ---------------------------
6000
6001 All new operation regions are fully supported by the iASL compiler, the 
6002 disassembler, and the ACPICA runtime code (for dispatch to region 
6003 handlers.) 
6004 The new operation region Space IDs are:
6005
6006     GeneralPurposeIo
6007     GenericSerialBus
6008
6009 Resource Descriptors:
6010 ---------------------
6011
6012 All new ASL resource descriptors are fully supported by the iASL 
6013 compiler, 
6014 the 
6015 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
6016 (including 
6017 all new predefined resource tags). New descriptors are:
6018
6019     FixedDma
6020     GpioIo
6021     GpioInt
6022     I2cSerialBus
6023     SpiSerialBus
6024     UartSerialBus
6025
6026 ASL/AML Operators, New and Modified:
6027 ------------------------------------
6028
6029 One new operator is added, the Connection operator, which is used to 
6030 associate 
6031 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
6032 individual 
6033 field objects within an operation region. Several new protocols are 
6034 associated 
6035 with the AccessAs operator. All are fully supported by the iASL compiler, 
6036 disassembler, and runtime ACPICA AML interpreter:
6037
6038     Connection                      // Declare Field Connection 
6039 attributes
6040     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
6041     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
6042 Protocol
6043     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
6044     RawDataBuffer                       // Data type for Vendor Data 
6045 fields
6046
6047 Predefined ASL/AML Objects:
6048 ---------------------------
6049
6050 All new predefined objects/control-methods are supported by the iASL 
6051 compiler 
6052 and the ACPICA runtime validation/repair (arguments and return values.) 
6053 New 
6054 predefined names include the following:
6055
6056 Standard Predefined Names (Objects or Control Methods):
6057     _AEI, _CLS, _CPC, _CWS, _DEP,
6058     _DLM, _EVT, _GCP, _CRT, _GWS,
6059     _HRV, _PRE, _PSE, _SRT, _SUB.
6060
6061 Resource Tags (Names used to access individual fields within resource 
6062 descriptors):
6063     _DBT, _DPL, _DRS, _END, _FLC,
6064     _IOR, _LIN, _MOD, _PAR, _PHA,
6065     _PIN, _PPI, _POL, _RXL, _SLV,
6066     _SPE, _STB, _TXL, _VEN.
6067
6068 ACPICA External Interfaces:
6069 ---------------------------
6070
6071 Several new interfaces have been defined for use by ACPI-related device 
6072 drivers and other host OS services:
6073
6074 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
6075 to 
6076 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
6077 provided by the BIOS. They are intended to be used in conjunction with 
6078 the 
6079 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
6080 mutual exclusion with the AML code/interpreter.
6081
6082 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
6083 defined 
6084 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
6085 provides 
6086 resource descriptors associated with hardware-reduced platform events, 
6087 similar 
6088 to the AcpiGetCurrentResources interface.
6089
6090 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
6091 operation regions, information about the Connection() object and any 
6092 optional 
6093 length information is passed to the region handler within the Context 
6094 parameter.
6095
6096 AcpiBufferToResource: This interface converts a raw AML buffer containing 
6097
6098 resource template or resource descriptor to the ACPI_RESOURCE internal 
6099 format 
6100 suitable for use by device drivers. Can be used by an operation region 
6101 handler 
6102 to convert the Connection() buffer object into a ACPI_RESOURCE.
6103
6104 Miscellaneous/Tools/TestSuites: 
6105 -------------------------------
6106
6107 Support for extended _HID names (Four alpha characters instead of three).
6108 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
6109 Support for ACPI 5.0 features in the ASLTS test suite.
6110 Fully updated documentation (ACPICA and iASL reference documents.)
6111
6112 ACPI Table Definition Language:
6113 -------------------------------
6114
6115 Support for this language was implemented and released as a subsystem of 
6116 the 
6117 iASL compiler in 2010. (See the iASL compiler User Guide.)
6118
6119
6120 Non-ACPI 5.0 changes for this release:
6121 --------------------------------------
6122
6123 1) ACPICA Core Subsystem:
6124
6125 Fix a problem with operation region declarations where a failure can 
6126 occur 
6127 if 
6128 the region name and an argument that evaluates to an object (such as the 
6129 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
6130 937.
6131
6132 Do not abort an ACPI table load if an invalid space ID is found within. 
6133 This 
6134 will be caught later if the offending method is executed. ACPICA BZ 925.
6135
6136 Fixed an issue with the FFixedHW space ID where the ID was not always 
6137 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
6138
6139 Fixed a problem with the 32-bit generation of the unix-specific OSL 
6140 (osunixxf.c). Lin Ming, ACPICA BZ 936.
6141
6142 Several changes made to enable generation with the GCC 4.6 compiler. 
6143 ACPICA BZ 
6144 935.
6145
6146 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
6147 Index/Bank 
6148 field registers out-of-range.
6149
6150 2) iASL Compiler/Disassembler and Tools:
6151
6152 iASL: Implemented the __PATH__ operator, which returns the full pathname 
6153 of 
6154 the current source file.
6155
6156 AcpiHelp: Automatically display expanded keyword information for all ASL 
6157 operators.
6158
6159 Debugger: Add "Template" command to disassemble/dump resource template 
6160 buffers.
6161
6162 Added a new master script to generate and execute the ASLTS test suite. 
6163 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
6164
6165 iASL: Fix problem with listing generation during processing of the 
6166 Switch() 
6167 operator where AML listing was disabled until the entire Switch block was 
6168 completed.
6169
6170 iASL: Improve support for semicolon statement terminators. Fix "invalid 
6171 character" message for some cases when the semicolon is used. Semicolons 
6172 are 
6173 now allowed after every <Term> grammar element. ACPICA BZ 927.
6174
6175 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
6176 923.
6177
6178 Disassembler: Fix problem with disassembly of the DataTableRegion 
6179 operator 
6180 where an inadvertent "Unhandled deferred opcode" message could be 
6181 generated.
6182
6183 3) Example Code and Data Size
6184
6185 These are the sizes for the OS-independent acpica.lib produced by the 
6186 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
6187 includes the debug output trace mechanism and has a much larger code and 
6188 data 
6189 size.
6190
6191   Previous Release:
6192     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6193     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6194   Current Release:
6195     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
6196     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
6197
6198 ----------------------------------------
6199 22 September 2011. Summary of changes for version 20110922:
6200
6201 0) ACPI 5.0 News:
6202
6203 Support for ACPI 5.0 in ACPICA has been underway for several months and 
6204 will 
6205 be released at the same time that ACPI 5.0 is officially released.
6206
6207 The ACPI 5.0 specification is on track for release in the next few 
6208 months.
6209  
6210 1) ACPICA Core Subsystem:
6211
6212 Fixed a problem where the maximum sleep time for the Sleep() operator was 
6213 intended to be limited to two seconds, but was inadvertently limited to 
6214 20 
6215 seconds instead.
6216
6217 Linux and Unix makefiles: Added header file dependencies to ensure 
6218 correct 
6219 generation of ACPICA core code and utilities. Also simplified the 
6220 makefiles 
6221 considerably through the use of the vpath variable to specify search 
6222 paths. 
6223 ACPICA BZ 924.
6224
6225 2) iASL Compiler/Disassembler and Tools:
6226
6227 iASL: Implemented support to check the access length for all fields 
6228 created to 
6229 access named Resource Descriptor fields. For example, if a resource field 
6230 is 
6231 defined to be two bits, a warning is issued if a CreateXxxxField() is 
6232 used 
6233 with an incorrect bit length. This is implemented for all current 
6234 resource 
6235 descriptor names. ACPICA BZ 930.
6236   
6237 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
6238 56-
6239 bit integers.
6240
6241 iASL: Fixed a couple of issues associated with variable-length package 
6242 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
6243
6244 VAR_PACKAGE when these are used as a package length. 2) Allow the 
6245 VAR_PACKAGE 
6246 opcode (in addition to PACKAGE) when validating object types for 
6247 predefined 
6248 names.
6249
6250 iASL: Emit statistics for all output files (instead of just the ASL input 
6251 and 
6252 AML output). Includes listings, hex files, etc.
6253
6254 iASL: Added -G option to the table compiler to allow the compilation of 
6255 custom 
6256 ACPI tables. The only part of a table that is required is the standard 
6257 36-
6258 byte 
6259 ACPI header.
6260
6261 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
6262 headers), 
6263 which also adds correct 64-bit support. Also, now all output filenames 
6264 are 
6265 completely lower case.
6266
6267 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
6268 loading table files. A warning is issued for any such tables. The only 
6269 exception is an FADT. This also fixes a possible fault when attempting to 
6270 load 
6271 non-AML tables. ACPICA BZ 932.
6272
6273 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
6274
6275 missing table terminator could cause a fault when using the -p option.
6276
6277 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
6278 statistics.
6279
6280 3) Example Code and Data Size
6281
6282 These are the sizes for the OS-independent acpica.lib produced by the 
6283 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
6284 includes the debug output trace mechanism and has a much larger code and 
6285 data 
6286 size.
6287
6288   Previous Release (VC 9.0):
6289     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6290     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6291   Current Release (VC 9.0):
6292     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6293     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6294
6295
6296 ----------------------------------------
6297 23 June 2011. Summary of changes for version 20110623:
6298
6299 1) ACPI CA Core Subsystem:
6300
6301 Updated the predefined name repair mechanism to not attempt repair of a 
6302 _TSS 
6303 return object if a _PSS object is present. We can only sort the _TSS 
6304 return 
6305 package if there is no _PSS within the same scope. This is because if 
6306 _PSS 
6307 is 
6308 present, the ACPI specification dictates that the _TSS Power Dissipation 
6309 field 
6310 is to be ignored, and therefore some BIOSs leave garbage values in the 
6311 _TSS 
6312 Power field(s). In this case, it is best to just return the _TSS package 
6313 as-
6314 is. Reported by, and fixed with assistance from Fenghua Yu.
6315
6316 Added an option to globally disable the control method return value 
6317 validation 
6318 and repair. This runtime option can be used to disable return value 
6319 repair 
6320 if 
6321 this is causing a problem on a particular machine. Also added an option 
6322 to 
6323 AcpiExec (-dr) to set this disable flag.
6324
6325 All makefiles and project files: Major changes to improve generation of 
6326 ACPICA 
6327 tools. ACPICA BZ 912:
6328     Reduce default optimization levels to improve compatibility
6329     For Linux, add strict-aliasing=0 for gcc 4
6330     Cleanup and simplify use of command line defines
6331     Cleanup multithread library support
6332     Improve usage messages
6333
6334 Linux-specific header: update handling of THREAD_ID and pthread. For the 
6335 32-
6336 bit case, improve casting to eliminate possible warnings, especially with 
6337 the 
6338 acpica tools.
6339
6340 Example Code and Data Size: These are the sizes for the OS-independent 
6341 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6342 debug 
6343 version of the code includes the debug output trace mechanism and has a 
6344 much 
6345 larger code and data size.
6346
6347   Previous Release (VC 9.0):
6348     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
6349     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6350   Current Release (VC 9.0):
6351     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
6352     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6353
6354 2) iASL Compiler/Disassembler and Tools:
6355
6356 With this release, a new utility named "acpihelp" has been added to the 
6357 ACPICA 
6358 package. This utility summarizes the ACPI specification chapters for the 
6359 ASL 
6360 and AML languages. It generates under Linux/Unix as well as Windows, and 
6361 provides the following functionality:
6362     Find/display ASL operator(s) -- with description and syntax.
6363     Find/display ASL keyword(s) -- with exact spelling and descriptions.
6364     Find/display ACPI predefined name(s) -- with description, number
6365         of arguments, and the return value data type.
6366     Find/display AML opcode name(s) -- with opcode, arguments, and 
6367 grammar.
6368     Decode/display AML opcode -- with opcode name, arguments, and 
6369 grammar.
6370
6371 Service Layers: Make multi-thread support configurable. Conditionally 
6372 compile 
6373 the multi-thread support so that threading libraries will not be linked 
6374 if 
6375 not 
6376 necessary. The only tool that requires multi-thread support is AcpiExec.
6377
6378 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
6379 of 
6380 Bison appear to want the interface to yyerror to be a const char * (or at 
6381 least this is a problem when generating iASL on some systems.) ACPICA BZ 
6382 923 
6383 Pierre Lejeune.
6384
6385 Tools: Fix for systems where O_BINARY is not defined. Only used for 
6386 Windows 
6387 versions of the tools.
6388
6389 ----------------------------------------
6390 27 May 2011. Summary of changes for version 20110527:
6391
6392 1) ACPI CA Core Subsystem:
6393
6394 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
6395 table 
6396 signature. Now, only allow SSDT, OEMx, and a null signature. History:
6397     1) Originally, we checked the table signature for "SSDT" or "PSDT".
6398        (PSDT is now obsolete.)
6399     2) We added support for OEMx tables, signature "OEM" plus a fourth
6400        "don't care" character.
6401     3) Valid tables were encountered with a null signature, so we just
6402        gave up on validating the signature, (05/2008).
6403     4) We encountered non-AML tables such as the MADT, which caused
6404        interpreter errors and kernel faults. So now, we once again allow
6405        only SSDT, OEMx, and now, also a null signature. (05/2011).
6406
6407 Added the missing _TDL predefined name to the global name list in order 
6408 to 
6409 enable validation. Affects both the core ACPICA code and the iASL 
6410 compiler.
6411
6412 Example Code and Data Size: These are the sizes for the OS-independent 
6413 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6414 debug 
6415 version of the code includes the debug output trace mechanism and has a 
6416 much 
6417 larger code and data size.
6418
6419   Previous Release (VC 9.0):
6420     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6421     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6422   Current Release (VC 9.0):
6423     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
6424     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
6425
6426 2) iASL Compiler/Disassembler and Tools:
6427
6428 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
6429 the 
6430 debugger command line. This adds support beyond simple integers -- 
6431 including 
6432 Strings, Buffers, and Packages. Includes support for nested packages. 
6433 Increased the default command line buffer size to accommodate these 
6434 arguments. 
6435 See the ACPICA reference for details and syntax. ACPICA BZ 917.
6436  
6437 Debugger/AcpiExec: Implemented support for "default" method arguments for 
6438 the 
6439 Execute/Debug command. Now, the debugger will always invoke a control 
6440 method 
6441 with the required number of arguments -- even if the command line 
6442 specifies 
6443 none or insufficient arguments. It uses default integer values for any 
6444 missing 
6445 arguments. Also fixes a bug where only six method arguments maximum were 
6446 supported instead of the required seven.
6447
6448 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
6449 and 
6450 also return status in order to prevent buffer overruns. See the ACPICA 
6451 reference for details and syntax. ACPICA BZ 921
6452
6453 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
6454 makefiles to simplify support for the two different but similar parser 
6455 generators, bison and yacc.
6456
6457 Updated the generic unix makefile for gcc 4. The default gcc version is 
6458 now 
6459 expected to be 4 or greater, since options specific to gcc 4 are used.
6460
6461 ----------------------------------------
6462 13 April 2011. Summary of changes for version 20110413:
6463
6464 1) ACPI CA Core Subsystem:
6465
6466 Implemented support to execute a so-called "orphan" _REG method under the 
6467 EC 
6468 device. This change will force the execution of a _REG method underneath 
6469 the 
6470 EC 
6471 device even if there is no corresponding operation region of type 
6472 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
6473 compatible with Windows behavior. ACPICA BZ 875.
6474
6475 Added more predefined methods that are eligible for automatic NULL 
6476 package 
6477 element removal. This change adds another group of predefined names to 
6478 the 
6479 list 
6480 of names that can be repaired by having NULL package elements dynamically 
6481 removed. This group are those methods that return a single variable-
6482 length 
6483 package containing simple data types such as integers, buffers, strings. 
6484 This 
6485 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
6486 _PSL, 
6487 _Sx, 
6488 and _TZD. ACPICA BZ 914.
6489
6490 Split and segregated all internal global lock functions to a new file, 
6491 evglock.c.
6492
6493 Updated internal address SpaceID for DataTable regions. Moved this 
6494 internal 
6495 space 
6496 id in preparation for ACPI 5.0 changes that will include some new space 
6497 IDs. 
6498 This 
6499 change should not affect user/host code.
6500
6501 Example Code and Data Size: These are the sizes for the OS-independent 
6502 acpica.lib 
6503 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
6504 version of 
6505 the code includes the debug output trace mechanism and has a much larger 
6506 code 
6507 and 
6508 data size.
6509
6510   Previous Release (VC 9.0):
6511     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6512     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6513   Current Release (VC 9.0):
6514     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
6515     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
6516
6517 2) iASL Compiler/Disassembler and Tools:
6518
6519 iASL/DTC: Major update for new grammar features. Allow generic data types 
6520 in 
6521 custom ACPI tables. Field names are now optional. Any line can be split 
6522 to 
6523 multiple lines using the continuation char (\). Large buffers now use 
6524 line-
6525 continuation character(s) and no colon on the continuation lines. See the 
6526 grammar 
6527 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
6528 Moore.
6529
6530 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
6531 statements. 
6532 Since the parser stuffs a "zero" as the return value for these statements 
6533 (due 
6534 to 
6535 the underlying AML grammar), they were seen as "return with value" by the 
6536 iASL 
6537 semantic checking. They are now seen correctly as "null" return 
6538 statements.
6539
6540 iASL: Check if a_REG declaration has a corresponding Operation Region. 
6541 Adds a 
6542 check for each _REG to ensure that there is in fact a corresponding 
6543 operation 
6544 region declaration in the same scope. If not, the _REG method is not very 
6545 useful 
6546 since it probably won't be executed. ACPICA BZ 915.
6547
6548 iASL/DTC: Finish support for expression evaluation. Added a new 
6549 expression 
6550 parser 
6551 that implements c-style operator precedence and parenthesization. ACPICA 
6552 bugzilla 
6553 908.
6554
6555 Disassembler/DTC: Remove support for () and <> style comments in data 
6556 tables. 
6557 Now 
6558 that DTC has full expression support, we don't want to have comment 
6559 strings 
6560 that 
6561 start with a parentheses or a less-than symbol. Now, only the standard /* 
6562 and 
6563 // 
6564 comments are supported, as well as the bracket [] comments.
6565
6566 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
6567 "unusual" 
6568 headers in the acpidump file. Update the header validation to support 
6569 these 
6570 tables. Problem introduced in previous AcpiXtract version in the change 
6571 to 
6572 support "wrong checksum" error messages emitted by acpidump utility.
6573
6574 iASL: Add a * option to generate all template files (as a synonym for 
6575 ALL) 
6576 as 
6577 in 
6578 "iasl -T *" or "iasl -T ALL".
6579
6580 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
6581 completely 
6582 abort the compiler on "fatal" errors, simply should abort the current 
6583 compile. 
6584 This allows multiple compiles with a single (possibly wildcard) compiler 
6585 invocation.
6586
6587 ----------------------------------------
6588 16 March 2011. Summary of changes for version 20110316:
6589
6590 1) ACPI CA Core Subsystem:
6591
6592 Fixed a problem caused by a _PRW method appearing at the namespace root 
6593 scope 
6594 during the setup of wake GPEs. A fault could occur if a _PRW directly 
6595 under 
6596 the 
6597 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
6598
6599 Implemented support for "spurious" Global Lock interrupts. On some 
6600 systems, a 
6601 global lock interrupt can occur without the pending flag being set. Upon 
6602
6603 GL 
6604 interrupt, we now ensure that a thread is actually waiting for the lock 
6605 before 
6606 signaling GL availability. Rafael Wysocki, Bob Moore.
6607
6608 Example Code and Data Size: These are the sizes for the OS-independent 
6609 acpica.lib 
6610 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
6611 version of 
6612 the code includes the debug output trace mechanism and has a much larger 
6613 code 
6614 and 
6615 data size.
6616
6617   Previous Release (VC 9.0):
6618     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6619     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6620   Current Release (VC 9.0):
6621     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
6622     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
6623
6624 2) iASL Compiler/Disassembler and Tools:
6625
6626 Implemented full support for the "SLIC" ACPI table. Includes support in 
6627 the 
6628 header files, disassembler, table compiler, and template generator. Bob 
6629 Moore, 
6630 Lin Ming.
6631
6632 AcpiXtract: Correctly handle embedded comments and messages from 
6633 AcpiDump. 
6634 Apparently some or all versions of acpidump will occasionally emit a 
6635 comment 
6636 like 
6637 "Wrong checksum", etc., into the dump file. This was causing problems for 
6638 AcpiXtract. ACPICA BZ 905.
6639
6640 iASL: Fix the Linux makefile by removing an inadvertent double file 
6641 inclusion. 
6642 ACPICA BZ 913.
6643
6644 AcpiExec: Update installation of operation region handlers. Install one 
6645 handler 
6646 for a user-defined address space. This is used by the ASL test suite 
6647 (ASLTS).
6648
6649 ----------------------------------------
6650 11 February 2011. Summary of changes for version 20110211:
6651
6652 1) ACPI CA Core Subsystem:
6653
6654 Added a mechanism to defer _REG methods for some early-installed 
6655 handlers. 
6656 Most user handlers should be installed before call to 
6657 AcpiEnableSubsystem. 
6658 However, Event handlers and region handlers should be installed after 
6659 AcpiInitializeObjects. Override handlers for the "default" regions should 
6660 be 
6661 installed early, however. This change executes all _REG methods for the 
6662 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
6663 chicken/egg issues between them. ACPICA BZ 848.
6664
6665 Implemented an optimization for GPE detection. This optimization will 
6666 simply 
6667 ignore GPE registers that contain no enabled GPEs -- there is no need to 
6668 read the register since this information is available internally. This 
6669 becomes more important on machines with a large GPE space. ACPICA 
6670 bugzilla 
6671 884. Lin Ming. Suggestion from Joe Liu.
6672
6673 Removed all use of the highly unreliable FADT revision field. The 
6674 revision 
6675 number in the FADT has been found to be completely unreliable and cannot 
6676 be 
6677 trusted. Only the actual table length can be used to infer the version. 
6678 This 
6679 change updates the ACPICA core and the disassembler so that both no 
6680 longer 
6681 even look at the FADT version and instead depend solely upon the FADT 
6682 length.
6683
6684 Fix an unresolved name issue for the no-debug and no-error-message source 
6685 generation cases. The _AcpiModuleName was left undefined in these cases, 
6686 but 
6687 it is actually needed as a parameter to some interfaces. Define 
6688 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
6689
6690 Split several large files (makefiles and project files updated)
6691   utglobal.c   -> utdecode.c
6692   dbcomds.c    -> dbmethod.c dbnames.c
6693   dsopcode.c   -> dsargs.c dscontrol.c
6694   dsload.c     -> dsload2.c
6695   aslanalyze.c -> aslbtypes.c aslwalks.c
6696
6697 Example Code and Data Size: These are the sizes for the OS-independent 
6698 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6699 debug version of the code includes the debug output trace mechanism and 
6700 has 
6701 a much larger code and data size.
6702
6703   Previous Release (VC 9.0):
6704     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6705     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6706   Current Release (VC 9.0):
6707     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6708     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6709
6710 2) iASL Compiler/Disassembler and Tools:
6711
6712 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
6713 These are useful C-style macros with the standard definitions. ACPICA 
6714 bugzilla 898.
6715
6716 iASL/DTC: Added support for integer expressions and labels. Support for 
6717 full 
6718 expressions for all integer fields in all ACPI tables. Support for labels 
6719 in 
6720 "generic" portions of tables such as UEFI. See the iASL reference manual.
6721
6722 Debugger: Added a command to display the status of global handlers. The 
6723 "handlers" command will display op region, fixed event, and miscellaneous 
6724 global handlers. installation status -- and for op regions, whether 
6725 default 
6726 or user-installed handler will be used.
6727
6728 iASL: Warn if reserved method incorrectly returns a value. Many 
6729 predefined 
6730 names are defined such that they do not return a value. If implemented as 
6731
6732 method, issue a warning if such a name explicitly returns a value. ACPICA 
6733 Bugzilla 855.
6734
6735 iASL: Added detection of GPE method name conflicts. Detects a conflict 
6736 where 
6737 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
6738 (For 
6739 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
6740
6741 iASL/DTC: Fixed a couple input scanner issues with comments and line 
6742 numbers. Comment remover could get confused and miss a comment ending. 
6743 Fixed 
6744 a problem with line counter maintenance.
6745
6746 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
6747 is 
6748 no need to abort on simple errors within a field definition.
6749
6750 Debugger: Simplified the output of the help command. All help output now 
6751 in 
6752 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
6753
6754 ----------------------------------------
6755 12 January 2011. Summary of changes for version 20110112:
6756
6757 1) ACPI CA Core Subsystem:
6758
6759 Fixed a race condition between method execution and namespace walks that 
6760 can 
6761 possibly cause a fault. The problem was apparently introduced in version 
6762 20100528 as a result of a performance optimization that reduces the 
6763 number 
6764 of 
6765 namespace walks upon method exit by using the delete_namespace_subtree 
6766 function instead of the delete_namespace_by_owner function used 
6767 previously. 
6768 Bug is a missing namespace lock in the delete_namespace_subtree function. 
6769 dana.myers@oracle.com
6770
6771 Fixed several issues and a possible fault with the automatic "serialized" 
6772 method support. History: This support changes a method to "serialized" on 
6773 the 
6774 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
6775 possibility that it cannot handle reentrancy. This fix repairs a couple 
6776 of 
6777 issues seen in the field, especially on machines with many cores:
6778
6779     1) Delete method children only upon the exit of the last thread,
6780        so as to not delete objects out from under other running threads
6781       (and possibly causing a fault.)
6782     2) Set the "serialized" bit for the method only upon the exit of the
6783        Last thread, so as to not cause deadlock when running threads
6784        attempt to exit.
6785     3) Cleanup the use of the AML "MethodFlags" and internal method flags
6786        so that there is no longer any confusion between the two.
6787
6788     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
6789
6790 Debugger: Now lock the namespace for duration of a namespace dump. 
6791 Prevents 
6792 issues if the namespace is changing dynamically underneath the debugger. 
6793 Especially affects temporary namespace nodes, since the debugger displays 
6794 these also.
6795
6796 Updated the ordering of include files. The ACPICA headers should appear 
6797 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
6798 set 
6799 any necessary compiler-specific defines, etc. Affects the ACPI-related 
6800 tools 
6801 and utilities.
6802
6803 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
6804 copyright 
6805 to all module headers and signons, including the Linux header. This 
6806 affects 
6807 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
6808 utilities.
6809
6810 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
6811 project files for VC++ 6.0 are now obsolete. New project files can be 
6812 found 
6813 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
6814 details.
6815
6816 Example Code and Data Size: These are the sizes for the OS-independent 
6817 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6818 debug version of the code includes the debug output trace mechanism and 
6819 has a 
6820 much larger code and data size.
6821
6822   Previous Release (VC 6.0):
6823     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6824     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6825   Current Release (VC 9.0):
6826     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6827     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6828
6829 2) iASL Compiler/Disassembler and Tools:
6830
6831 iASL: Added generic data types to the Data Table compiler. Add "generic" 
6832 data 
6833 types such as UINT32, String, Unicode, etc., to simplify the generation 
6834 of 
6835 platform-defined tables such as UEFI. Lin Ming.
6836
6837 iASL: Added listing support for the Data Table Compiler. Adds listing 
6838 support 
6839 (-l) to display actual binary output for each line of input code.
6840
6841 ----------------------------------------
6842 09 December 2010. Summary of changes for version 20101209:
6843
6844 1) ACPI CA Core Subsystem:
6845
6846 Completed the major overhaul of the GPE support code that was begun in 
6847 July 
6848 2010. Major features include: removal of _PRW execution in ACPICA (host 
6849 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
6850 changes to existing interfaces, simplification of GPE handler operation, 
6851 and 
6852 a handful of new interfaces:
6853
6854     AcpiUpdateAllGpes
6855     AcpiFinishGpe
6856     AcpiSetupGpeForWake
6857     AcpiSetGpeWakeMask
6858     One new file, evxfgpe.c to consolidate all external GPE interfaces.
6859
6860 See the ACPICA Programmer Reference for full details and programming 
6861 information. See the new section 4.4 "General Purpose Event (GPE) 
6862 Support" 
6863 for a full overview, and section 8.7 "ACPI General Purpose Event 
6864 Management" 
6865 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
6866 Ming, 
6867 Bob Moore, Rafael Wysocki.
6868
6869 Implemented a new GPE feature for Windows compatibility, the "Implicit 
6870 Wake 
6871 GPE Notify". This feature will automatically issue a Notify(2) on a 
6872 device 
6873 when a Wake GPE is received if there is no corresponding GPE method or 
6874 handler. ACPICA BZ 870.
6875
6876 Fixed a problem with the Scope() operator during table parse and load 
6877 phase. 
6878 During load phase (table load or method execution), the scope operator 
6879 should 
6880 not enter the target into the namespace. Instead, it should open a new 
6881 scope 
6882 at the target location. Linux BZ 19462, ACPICA BZ 882.
6883
6884 Example Code and Data Size: These are the sizes for the OS-independent 
6885 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6886 debug version of the code includes the debug output trace mechanism and 
6887 has a 
6888 much larger code and data size.
6889
6890   Previous Release:
6891     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6892     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6893   Current Release:
6894     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6895     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6896
6897 2) iASL Compiler/Disassembler and Tools:
6898
6899 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
6900 are 
6901 "bus-specific" per the ACPI specification, and therefore any characters 
6902 are 
6903 acceptable. The only checks that can be performed are for a null string 
6904 and 
6905 perhaps for a leading asterisk. ACPICA BZ 886.
6906
6907 iASL: Fixed a problem where a syntax error that caused a premature EOF 
6908 condition on the source file emitted a very confusing error message. The 
6909 premature EOF is now detected correctly. ACPICA BZ 891.
6910
6911 Disassembler: Decode the AccessSize within a Generic Address Structure 
6912 (byte 
6913 access, word access, etc.) Note, this field does not allow arbitrary bit 
6914 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
6915
6916 New: AcpiNames utility - Example namespace dump utility. Shows an example 
6917 of 
6918 ACPICA configuration for a minimal namespace dump utility. Uses table and 
6919 namespace managers, but no AML interpreter. Does not add any 
6920 functionality 
6921 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
6922 partition and configure ACPICA. ACPICA BZ 883.
6923
6924 AML Debugger: Increased the debugger buffer size for method return 
6925 objects. 
6926 Was 4K, increased to 16K. Also enhanced error messages for debugger 
6927 method 
6928 execution, including the buffer overflow case.
6929
6930 ----------------------------------------
6931 13 October 2010. Summary of changes for version 20101013:
6932
6933 1) ACPI CA Core Subsystem:
6934
6935 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
6936 now 
6937 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
6938 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
6939
6940 Changed the type of the predefined namespace object _TZ from ThermalZone 
6941 to 
6942 Device. This was found to be confusing to the host software that 
6943 processes 
6944 the various thermal zones, since _TZ is not really a ThermalZone. 
6945 However, 
6946
6947 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
6948 Zhang.
6949
6950 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
6951 string is "Windows 2006 SP2".
6952
6953 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
6954 nsrepair 
6955 code automatically repairs _HID-related strings, this type of code is no 
6956 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
6957 878.
6958
6959 Example Code and Data Size: These are the sizes for the OS-independent 
6960 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6961 debug version of the code includes the debug output trace mechanism and 
6962 has a 
6963 much larger code and data size.
6964
6965   Previous Release:
6966     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6967     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6968   Current Release:
6969     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6970     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6971
6972 2) iASL Compiler/Disassembler and Tools:
6973
6974 iASL: Implemented additional compile-time validation for _HID strings. 
6975 The 
6976 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
6977 length 
6978 of 
6979 the string must be exactly seven or eight characters. For both _HID and 
6980 _CID 
6981 strings, all characters must be alphanumeric. ACPICA BZ 874.
6982
6983 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
6984 descriptors that are mostly or all zeros, with the expectation that they 
6985 will 
6986 be filled in at runtime. iASL now allows this as long as there is a 
6987 "resource 
6988 tag" (name) associated with the descriptor, which gives the ASL a handle 
6989 needed to modify the descriptor. ACPICA BZ 873.
6990
6991 Added single-thread support to the generic Unix application OSL. 
6992 Primarily 
6993 for iASL support, this change removes the use of semaphores in the 
6994 single-
6995 threaded ACPICA tools/applications - increasing performance. The 
6996 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
6997 option. ACPICA BZ 879.
6998
6999 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
7000 support 
7001 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
7002
7003 iASL: Moved all compiler messages to a new file, aslmessages.h.
7004
7005 ----------------------------------------
7006 15 September 2010. Summary of changes for version 20100915:
7007
7008 1) ACPI CA Core Subsystem:
7009
7010 Removed the AcpiOsDerivePciId OSL interface. The various host 
7011 implementations 
7012 of this function were not OS-dependent and are now obsolete and can be 
7013 removed from all host OSLs. This function has been replaced by 
7014 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
7015 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
7016 module, hwpci.c. ACPICA BZ 857.
7017
7018 Implemented a dynamic repair for _HID and _CID strings. The following 
7019 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
7020 string, and 2) the entire string is uppercased. Both repairs are in 
7021 accordance with the ACPI specification and will simplify host driver 
7022 code. 
7023 ACPICA BZ 871.
7024
7025 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
7026 always UINT64. This simplifies the ACPICA code, especially any printf 
7027 output. 
7028 UINT64 is the only common data type for all thread_id types across all 
7029 operating systems. It is now up to the host OSL to cast the native 
7030 thread_id 
7031 type to UINT64 before returning the value to ACPICA (via 
7032 AcpiOsGetThreadId). 
7033 Lin Ming, Bob Moore.
7034
7035 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
7036 "inline" 
7037 keyword is not standard across compilers, and this type allows inline to 
7038 be 
7039 configured on a per-compiler basis. Lin Ming.
7040
7041 Made the system global AcpiGbl_SystemAwakeAndRunning publicly
7042 available. 
7043 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
7044 value 
7045 during suspend/restore operations. ACPICA BZ 869.
7046
7047 All code that implements error/warning messages with the "ACPI:" prefix 
7048 has 
7049 been moved to a new module, utxferror.c.
7050
7051 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
7052 it 
7053 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
7054
7055 Example Code and Data Size: These are the sizes for the OS-independent 
7056 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7057 debug version of the code includes the debug output trace mechanism and 
7058 has a 
7059 much larger code and data size.
7060
7061   Previous Release:
7062     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
7063     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
7064   Current Release:
7065     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
7066     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
7067
7068 2) iASL Compiler/Disassembler and Tools:
7069
7070 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
7071 file. 
7072 This keeps the output files free of random error messages that may 
7073 originate 
7074 from within the namespace/interpreter code. Used this opportunity to 
7075 merge 
7076 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
7077 866. Lin Ming, Bob Moore.
7078
7079 Tools: update some printfs for ansi warnings on size_t. Handle width 
7080 change 
7081 of size_t on 32-bit versus 64-bit generations. Lin Ming.
7082
7083 ----------------------------------------
7084 06 August 2010. Summary of changes for version 20100806:
7085
7086 1) ACPI CA Core Subsystem:
7087
7088 Designed and implemented a new host interface to the _OSI support code. 
7089 This 
7090 will allow the host to dynamically add or remove multiple _OSI strings, 
7091 as 
7092 well as install an optional handler that is called for each _OSI 
7093 invocation. 
7094 Also added a new AML debugger command, 'osi' to display and modify the 
7095 global 
7096 _OSI string table, and test support in the AcpiExec utility. See the 
7097 ACPICA 
7098 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
7099 New Functions:
7100     AcpiInstallInterface - Add an _OSI string.
7101     AcpiRemoveInterface - Delete an _OSI string.
7102     AcpiInstallInterfaceHandler - Install optional _OSI handler.
7103 Obsolete Functions:
7104     AcpiOsValidateInterface - no longer used.
7105 New Files:
7106     source/components/utilities/utosi.c
7107
7108 Re-introduced the support to enable multi-byte transfers for Embedded 
7109 Controller (EC) operation regions. A reported problem was found to be a 
7110 bug 
7111 in the host OS, not in the multi-byte support. Previously, the maximum 
7112 data 
7113 size passed to the EC operation region handler was a single byte. There 
7114 are 
7115 often EC Fields larger than one byte that need to be transferred, and it 
7116 is 
7117 useful for the EC driver to lock these as a single transaction. This 
7118 change 
7119 enables single transfers larger than 8 bits. This effectively changes the 
7120 access to the EC space from ByteAcc to AnyAcc, and will probably require 
7121 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
7122 bit 
7123 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
7124
7125 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
7126 prototype in acpiosxf.h had the output value pointer as a (void *).
7127 It should be a (UINT64 *). This may affect some host OSL code.
7128
7129 Fixed a couple problems with the recently modified Linux makefiles for 
7130 iASL 
7131 and AcpiExec. These new makefiles place the generated object files in the 
7132 local directory so that there can be no collisions between the files that 
7133 are 
7134 shared between them that are compiled with different options.
7135
7136 Example Code and Data Size: These are the sizes for the OS-independent 
7137 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7138 debug version of the code includes the debug output trace mechanism and 
7139 has a 
7140 much larger code and data size.
7141
7142   Previous Release:
7143     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
7144     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
7145   Current Release:
7146     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
7147     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
7148
7149 2) iASL Compiler/Disassembler and Tools:
7150
7151 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
7152 the 
7153 namespace from and disassemble an entire group of AML files. Useful for 
7154 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
7155 and 
7156 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
7157
7158 iASL: Allow multiple invocations of -e option. This change allows 
7159 multiple 
7160 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
7161 834. 
7162 Lin Ming.
7163
7164 ----------------------------------------
7165 02 July 2010. Summary of changes for version 20100702:
7166
7167 1) ACPI CA Core Subsystem:
7168
7169 Implemented several updates to the recently added GPE reference count 
7170 support. The model for "wake" GPEs is changing to give the host OS 
7171 complete 
7172 control of these GPEs. Eventually, the ACPICA core will not execute any 
7173 _PRW 
7174 methods, since the host already must execute them. Also, additional 
7175 changes 
7176 were made to help ensure that the reference counts are kept in proper 
7177 synchronization with reality. Rafael J. Wysocki.
7178
7179 1) Ensure that GPEs are not enabled twice during initialization.
7180 2) Ensure that GPE enable masks stay in sync with the reference count.
7181 3) Do not inadvertently enable GPEs when writing GPE registers.
7182 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
7183 interface. This interface will set or clear individual GPEs for wakeup.
7184 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
7185 interfaces 
7186 are now used for "runtime" GPEs only.
7187
7188 Changed the behavior of the GPE install/remove handler interfaces. The 
7189 GPE 
7190 is 
7191 no longer disabled during this process, as it was found to cause problems 
7192 on 
7193 some machines. Rafael J. Wysocki.
7194
7195 Reverted a change introduced in version 20100528 to enable Embedded 
7196 Controller multi-byte transfers. This change was found to cause problems 
7197 with 
7198 Index Fields and possibly Bank Fields. It will be reintroduced when these 
7199 problems have been resolved.
7200
7201 Fixed a problem with references to Alias objects within Package Objects. 
7202
7203 reference to an Alias within the definition of a Package was not always 
7204 resolved properly. Aliases to objects like Processors, Thermal zones, 
7205 etc. 
7206 were resolved to the actual object instead of a reference to the object 
7207 as 
7208 it 
7209 should be. Package objects are only allowed to contain integer, string, 
7210 buffer, package, and reference objects. Redhat bugzilla 608648.
7211
7212 Example Code and Data Size: These are the sizes for the OS-independent 
7213 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7214 debug version of the code includes the debug output trace mechanism and 
7215 has a 
7216 much larger code and data size.
7217
7218   Previous Release:
7219     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
7220     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
7221   Current Release:
7222     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
7223     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
7224
7225 2) iASL Compiler/Disassembler and Tools:
7226
7227 iASL: Implemented a new compiler subsystem to allow definition and 
7228 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
7229 These 
7230 are called "ACPI Data Tables", and the new compiler is the "Data Table 
7231 Compiler". This compiler is intended to simplify the existing error-prone 
7232 process of creating these tables for the BIOS, as well as allowing the 
7233 disassembly, modification, recompilation, and override of existing ACPI 
7234 data 
7235 tables. See the iASL User Guide for detailed information.
7236
7237 iASL: Implemented a new Template Generator option in support of the new 
7238 Data 
7239 Table Compiler. This option will create examples of all known ACPI tables 
7240 that can be used as the basis for table development. See the iASL 
7241 documentation and the -T option.
7242
7243 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
7244 Descriptor Table).
7245
7246 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
7247 object files in the local directory so that there can be no collisions 
7248 between the shared files between them that are generated with different 
7249 options.
7250
7251 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
7252 Use 
7253 the #define __APPLE__ to enable this support.
7254
7255 ----------------------------------------
7256 28 May 2010. Summary of changes for version 20100528:
7257
7258 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
7259 available at www.acpi.info. This is primarily an errata release.
7260
7261 1) ACPI CA Core Subsystem:
7262
7263 Undefined ACPI tables: We are looking for the definitions for the 
7264 following 
7265 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
7266
7267 Implemented support to enable multi-byte transfers for Embedded 
7268 Controller 
7269 (EC) operation regions. Previously, the maximum data size passed to the 
7270 EC 
7271 operation region handler was a single byte. There are often EC Fields 
7272 larger 
7273 than one byte that need to be transferred, and it is useful for the EC 
7274 driver 
7275 to lock these as a single transaction. This change enables single 
7276 transfers 
7277 larger than 8 bits. This effectively changes the access to the EC space 
7278 from 
7279 ByteAcc to AnyAcc, and will probably require changes to the host OS 
7280 Embedded 
7281 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
7282 bit 
7283 transfers. Alexey Starikovskiy, Lin Ming
7284
7285 Implemented a performance enhancement for namespace search and access. 
7286 This 
7287 change enhances the performance of namespace searches and walks by adding 
7288
7289 backpointer to the parent in each namespace node. On large namespaces, 
7290 this 
7291 change can improve overall ACPI performance by up to 9X. Adding a pointer 
7292 to 
7293 each namespace node increases the overall size of the internal namespace 
7294 by 
7295 about 5%, since each namespace entry usually consists of both a namespace 
7296 node and an ACPI operand object. However, this is the first growth of the 
7297 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
7298
7299 Implemented a performance optimization that reduces the number of 
7300 namespace 
7301 walks. On control method exit, only walk the namespace if the method is 
7302 known 
7303 to have created namespace objects outside of its local scope. Previously, 
7304 the 
7305 entire namespace was traversed on each control method exit. This change 
7306 can 
7307 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
7308 Moore.
7309
7310 Added support to truncate I/O addresses to 16 bits for Windows 
7311 compatibility. 
7312 Some ASL code has been seen in the field that inadvertently has bits set 
7313 above bit 15. This feature is optional and is enabled if the BIOS 
7314 requests 
7315 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
7316 Garrett, Bob Moore.
7317
7318 Added support to limit the maximum time for the ASL Sleep() operator. To 
7319 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
7320 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
7321 bugzilla 854.
7322
7323 Added run-time validation support for the _WDG and_WED Microsoft 
7324 predefined 
7325 methods. These objects are defined by "Windows Instrumentation", and are 
7326 not 
7327 part of the ACPI spec. ACPICA BZ 860.
7328
7329 Expanded all statistic counters used during namespace and device 
7330 initialization from 16 to 32 bits in order to support very large 
7331 namespaces.
7332
7333 Replaced all instances of %d in printf format specifiers with %u since 
7334 nearly 
7335 all integers in ACPICA are unsigned.
7336
7337 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
7338 returned 
7339 as AE_NO_HANDLER.
7340
7341 Example Code and Data Size: These are the sizes for the OS-independent 
7342 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7343 debug version of the code includes the debug output trace mechanism and 
7344 has a 
7345 much larger code and data size.
7346
7347   Previous Release:
7348     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
7349     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
7350   Current Release:
7351     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
7352     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
7353
7354 2) iASL Compiler/Disassembler and Tools:
7355
7356 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
7357 methods. These objects are defined by "Windows Instrumentation", and are 
7358 not 
7359 part of the ACPI spec. ACPICA BZ 860.
7360
7361 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
7362 option will disable the tracking mechanism, which improves performance 
7363 considerably.
7364
7365 AcpiExec: Restructured the command line options into -d (disable) and -e 
7366 (enable) options.
7367
7368 ----------------------------------------
7369 28 April 2010. Summary of changes for version 20100428:
7370
7371 1) ACPI CA Core Subsystem:
7372
7373 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
7374 including FADT-based and GPE Block Devices, execute any _PRW methods in 
7375 the 
7376 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
7377 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
7378 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
7379 Devices. Provides compatibility with other ACPI implementations. Two new 
7380 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
7381 Moore.
7382
7383 Fixed a regression introduced in version 20100331 within the table 
7384 manager 
7385 where initial table loading could fail. This was introduced in the fix 
7386 for 
7387 AcpiReallocateRootTable. Also, renamed some of fields in the table 
7388 manager 
7389 data structures to clarify their meaning and use.
7390
7391 Fixed a possible allocation overrun during internal object copy in 
7392 AcpiUtCopySimpleObject. The original code did not correctly handle the 
7393 case 
7394 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
7395 847.
7396
7397 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
7398 possible access beyond end-of-allocation. Also, now fully validate 
7399 descriptor 
7400 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
7401
7402 Example Code and Data Size: These are the sizes for the OS-independent 
7403 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7404 debug version of the code includes the debug output trace mechanism and 
7405 has a 
7406 much larger code and data size.
7407
7408   Previous Release:
7409     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
7410     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
7411   Current Release:
7412     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
7413     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
7414
7415 2) iASL Compiler/Disassembler and Tools:
7416
7417 iASL: Implemented Min/Max/Len/Gran validation for address resource 
7418 descriptors. This change implements validation for the address fields 
7419 that 
7420 are common to all address-type resource descriptors. These checks are 
7421 implemented: Checks for valid Min/Max, length within the Min/Max window, 
7422 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
7423 per 
7424 table 6-40 in the ACPI 4.0a specification. Also split the large 
7425 aslrestype1.c 
7426 and aslrestype2.c files into five new files. ACPICA BZ 840.
7427
7428 iASL: Added support for the _Wxx predefined names. This support was 
7429 missing 
7430 and these names were not recognized by the compiler as valid predefined 
7431 names. ACPICA BZ 851.
7432
7433 iASL: Added an error for all predefined names that are defined to return 
7434 no 
7435 value and thus must be implemented as Control Methods. These include all 
7436 of 
7437 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
7438 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
7439
7440 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
7441 an 
7442 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
7443 be 
7444 dynamically loaded via the Load() operator. Also cleaned up output for 
7445 the 
7446 -
7447 ta and -tc options. ACPICA BZ 853.
7448
7449 Tests: Added a new file with examples of extended iASL error checking. 
7450 Demonstrates the advanced error checking ability of the iASL compiler. 
7451 Available at tests/misc/badcode.asl.
7452
7453 ----------------------------------------
7454 31 March 2010. Summary of changes for version 20100331:
7455
7456 1) ACPI CA Core Subsystem:
7457
7458 Completed a major update for the GPE support in order to improve support 
7459 for 
7460 shared GPEs and to simplify both host OS and ACPICA code. Added a 
7461 reference 
7462 count mechanism to support shared GPEs that require multiple device 
7463 drivers. 
7464 Several external interfaces have changed. One external interface has been 
7465 removed. One new external interface was added. Most of the GPE external 
7466 interfaces now use the GPE spinlock instead of the events mutex (and the 
7467 Flags parameter for many GPE interfaces has been removed.) See the 
7468 updated 
7469 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
7470 Rafael 
7471 Wysocki. ACPICA BZ 831.
7472
7473 Changed:
7474     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
7475 Removed:
7476     AcpiSetGpeType
7477 New:
7478     AcpiSetGpe
7479
7480 Implemented write support for DataTable operation regions. These regions 
7481 are 
7482 defined via the DataTableRegion() operator. Previously, only read support 
7483 was 
7484 implemented. The ACPI specification allows DataTableRegions to be 
7485 read/write, 
7486 however.
7487
7488 Implemented a new subsystem option to force a copy of the DSDT to local 
7489 memory. Optionally copy the entire DSDT to local memory (instead of 
7490 simply 
7491 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
7492 replace 
7493 the original DSDT, creating the need for this option. Default is FALSE, 
7494 do 
7495 not copy the DSDT.
7496
7497 Implemented detection of a corrupted or replaced DSDT. This change adds 
7498 support to detect a DSDT that has been corrupted and/or replaced from 
7499 outside 
7500 the OS (by firmware). This is typically catastrophic for the system, but 
7501 has 
7502 been seen on some machines. Once this problem has been detected, the DSDT 
7503 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
7504
7505 Fixed two problems with AcpiReallocateRootTable during the root table 
7506 copy. 
7507 When copying the root table to the new allocation, the length used was 
7508 incorrect. The new size was used instead of the current table size, 
7509 meaning 
7510 too much data was copied. Also, the count of available slots for ACPI 
7511 tables 
7512 was not set correctly. Alexey Starikovskiy, Bob Moore.
7513
7514 Example Code and Data Size: These are the sizes for the OS-independent 
7515 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7516 debug version of the code includes the debug output trace mechanism and 
7517 has a 
7518 much larger code and data size.
7519
7520   Previous Release:
7521     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7522     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7523   Current Release:
7524     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
7525     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
7526
7527 2) iASL Compiler/Disassembler and Tools:
7528
7529 iASL: Implement limited typechecking for values returned from predefined 
7530 control methods. The type of any returned static (unnamed) object is now 
7531 validated. For example, Return(1). ACPICA BZ 786.
7532
7533 iASL: Fixed a predefined name object verification regression. Fixes a 
7534 problem 
7535 introduced in version 20100304. An error is incorrectly generated if a 
7536 predefined name is declared as a static named object with a value defined 
7537 using the keywords "Zero", "One", or "Ones". Lin Ming.
7538
7539 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
7540 by 
7541 reducing the requested registry access rights. ACPICA BZ 842.
7542
7543 Disassembler: fixed a possible fault when generating External() 
7544 statements. 
7545 Introduced in commit ae7d6fd: Properly handle externals with parent-
7546 prefix 
7547 (carat). Fixes a string length allocation calculation. Lin Ming.
7548
7549 ----------------------------------------
7550 04 March 2010. Summary of changes for version 20100304:
7551
7552 1) ACPI CA Core Subsystem:
7553
7554 Fixed a possible problem with the AML Mutex handling function 
7555 AcpiExReleaseMutex where the function could fault under the very rare 
7556 condition when the interpreter has blocked, the interpreter lock is 
7557 released, 
7558 the interpreter is then reentered via the same thread, and attempts to 
7559 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
7560 Lin 
7561 Ming.
7562
7563 Implemented additional configuration support for the AML "Debug Object". 
7564 Output from the debug object can now be enabled via a global variable, 
7565 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
7566 debugging. 
7567 This debug output is now available in the release version of ACPICA 
7568 instead 
7569 of just the debug version. Also, the entire debug output module can now 
7570 be 
7571 configured out of the ACPICA build if desired. One new file added, 
7572 executer/exdebug.c. Lin Ming, Bob Moore.
7573
7574 Added header support for the ACPI MCHI table (Management Controller Host 
7575 Interface Table). This table was added in ACPI 4.0, but the defining 
7576 document 
7577 has only recently become available.
7578
7579 Standardized output of integer values for ACPICA warnings/errors. Always 
7580 use 
7581 0x prefix for hex output, always use %u for unsigned integer decimal 
7582 output. 
7583 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
7584 400 
7585 invocations.) These invocations were converted from the original 
7586 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
7587
7588 Example Code and Data Size: These are the sizes for the OS-independent 
7589 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7590 debug version of the code includes the debug output trace mechanism and 
7591 has a 
7592 much larger code and data size.
7593
7594   Previous Release:
7595     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7596     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7597   Current Release:
7598     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
7599     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
7600
7601 2) iASL Compiler/Disassembler and Tools:
7602
7603 iASL: Implemented typechecking support for static (non-control method) 
7604 predefined named objects that are declared with the Name() operator. For 
7605 example, the type of this object is now validated to be of type Integer: 
7606 Name(_BBN, 1). This change migrates the compiler to using the core 
7607 predefined 
7608 name table instead of maintaining a local version. Added a new file, 
7609 aslpredef.c. ACPICA BZ 832.
7610
7611 Disassembler: Added support for the ACPI 4.0 MCHI table.
7612
7613 ----------------------------------------
7614 21 January 2010. Summary of changes for version 20100121:
7615
7616 1) ACPI CA Core Subsystem:
7617
7618 Added the 2010 copyright to all module headers and signons. This affects 
7619 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
7620 tools/utilities, and the test suites.
7621
7622 Implemented a change to the AcpiGetDevices interface to eliminate 
7623 unnecessary 
7624 invocations of the _STA method. In the case where a specific _HID is 
7625 requested, do not run _STA until a _HID match is found. This eliminates 
7626 potentially dozens of _STA calls during a search for a particular 
7627 device/HID, 
7628 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
7629
7630 Implemented an additional repair for predefined method return values. 
7631 Attempt 
7632 to repair unexpected NULL elements within returned Package objects. 
7633 Create 
7634 an 
7635 Integer of value zero, a NULL String, or a zero-length Buffer as 
7636 appropriate. 
7637 ACPICA BZ 818. Lin Ming, Bob Moore.
7638
7639 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
7640 the 
7641 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
7642 (with 
7643 64-bit AML integers). It is now obsolete and this change removes it from 
7644 the 
7645 ACPICA code base, replaced by UINT64. The original typedef has been 
7646 retained 
7647 for now for compatibility with existing device driver code. ACPICA BZ 
7648 824.
7649
7650 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
7651 in 
7652 the parse tree object.
7653
7654 Added additional warning options for the gcc-4 generation. Updated the 
7655 source 
7656 accordingly. This includes some code restructuring to eliminate 
7657 unreachable 
7658 code, elimination of some gotos, elimination of unused return values, 
7659 some 
7660 additional casting, and removal of redundant declarations.
7661
7662 Example Code and Data Size: These are the sizes for the OS-independent 
7663 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7664 debug version of the code includes the debug output trace mechanism and 
7665 has a 
7666 much larger code and data size.
7667
7668   Previous Release:
7669     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7670     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7671   Current Release:
7672     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
7673     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
7674
7675 2) iASL Compiler/Disassembler and Tools:
7676
7677 No functional changes for this release.
7678
7679 ----------------------------------------
7680 14 December 2009. Summary of changes for version 20091214:
7681
7682 1) ACPI CA Core Subsystem:
7683
7684 Enhanced automatic data type conversions for predefined name repairs. 
7685 This 
7686 change expands the automatic repairs/conversions for predefined name 
7687 return 
7688 values to make Integers, Strings, and Buffers fully interchangeable. 
7689 Also, 
7690
7691 Buffer can be converted to a Package of Integers if necessary. The 
7692 nsrepair.c 
7693 module was completely restructured. Lin Ming, Bob Moore.
7694
7695 Implemented automatic removal of null package elements during predefined 
7696 name 
7697 repairs. This change will automatically remove embedded and trailing NULL 
7698 package elements from returned package objects that are defined to 
7699 contain 
7700
7701 variable number of sub-packages. The driver is then presented with a 
7702 package 
7703 with no null elements to deal with. ACPICA BZ 819.
7704
7705 Implemented a repair for the predefined _FDE and _GTM names. The expected 
7706 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
7707 two 
7708 possible problems (both seen in the field), where a package of integers 
7709 is 
7710 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
7711 Kim.
7712
7713 Implemented additional module-level code support. This change will 
7714 properly 
7715 execute module-level code that is not at the root of the namespace (under 
7716
7717 Device object, etc.). Now executes the code within the current scope 
7718 instead 
7719 of the root. ACPICA BZ 762. Lin Ming.
7720
7721 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
7722
7723 problem where mutex errors can occur when running a _REG method that is 
7724 in 
7725 the same scope as a method-defined operation region or an operation 
7726 region 
7727 under a module-level IF block. This type of code is rare, so the problem 
7728 has 
7729 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
7730
7731 Fixed a possible memory leak during module-level code execution. An 
7732 object 
7733 could be leaked for each block of executed module-level code if the 
7734 interpreter slack mode is enabled This change deletes any implicitly 
7735 returned 
7736 object from the module-level code block. Lin Ming.
7737
7738 Removed messages for successful predefined repair(s). The repair 
7739 mechanism 
7740 was considered too wordy. Now, messages are only unconditionally emitted 
7741 if 
7742 the return object cannot be repaired. Existing messages for successful 
7743 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
7744 827.
7745
7746 Example Code and Data Size: These are the sizes for the OS-independent 
7747 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7748 debug version of the code includes the debug output trace mechanism and 
7749 has a 
7750 much larger code and data size.
7751
7752   Previous Release:
7753     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7754     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7755   Current Release:
7756     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
7757     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
7758
7759 2) iASL Compiler/Disassembler and Tools:
7760
7761 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
7762 files 
7763 were no longer automatically removed at the termination of the compile.
7764
7765 acpiexec: Implemented the -f option to specify default region fill value. 
7766 This option specifies the value used to initialize buffers that simulate 
7767 operation regions. Default value is zero. Useful for debugging problems 
7768 that 
7769 depend on a specific initial value for a region or field.
7770
7771 ----------------------------------------
7772 12 November 2009. Summary of changes for version 20091112:
7773
7774 1) ACPI CA Core Subsystem:
7775
7776 Implemented a post-order callback to AcpiWalkNamespace. The existing 
7777 interface only has a pre-order callback. This change adds an additional 
7778 parameter for a post-order callback which will be more useful for bus 
7779 scans. 
7780 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
7781
7782 Modified the behavior of the operation region memory mapping cache for 
7783 SystemMemory. Ensure that the memory mappings created for operation 
7784 regions 
7785 do not cross 4K page boundaries. Crossing a page boundary while mapping 
7786 regions can cause kernel warnings on some hosts if the pages have 
7787 different 
7788 attributes. Such regions are probably BIOS bugs, and this is the 
7789 workaround. 
7790 Linux BZ 14445. Lin Ming.
7791
7792 Implemented an automatic repair for predefined methods that must return 
7793 sorted lists. This change will repair (by sorting) packages returned by 
7794 _ALR, 
7795 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
7796 sorted 
7797 and do not contain NULL package elements. Adds one new file, 
7798 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
7799
7800 Fixed a possible fault during predefined name validation if a return 
7801 Package 
7802 object contains NULL elements. Also adds a warning if a NULL element is 
7803 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
7804 may 
7805 include repair or removal of all such NULL elements where possible.
7806
7807 Implemented additional module-level executable AML code support. This 
7808 change 
7809 will execute module-level code that is not at the root of the namespace 
7810 (under a Device object, etc.) at table load time. Module-level executable 
7811 AML 
7812 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
7813
7814 Implemented a new internal function to create Integer objects. This 
7815 function 
7816 simplifies miscellaneous object creation code. ACPICA BZ 823.
7817
7818 Reduced the severity of predefined repair messages, Warning to Info. 
7819 Since 
7820 the object was successfully repaired, a warning is too severe. Reduced to 
7821 an 
7822 info message for now. These messages may eventually be changed to debug-
7823 only. 
7824 ACPICA BZ 812.
7825
7826 Example Code and Data Size: These are the sizes for the OS-independent 
7827 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7828 debug version of the code includes the debug output trace mechanism and 
7829 has a 
7830 much larger code and data size.
7831
7832   Previous Release:
7833     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7834     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7835   Current Release:
7836     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7837     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7838
7839 2) iASL Compiler/Disassembler and Tools:
7840
7841 iASL: Implemented Switch() with While(1) so that Break works correctly. 
7842 This 
7843 change correctly implements the Switch operator with a surrounding 
7844 While(1) 
7845 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
7846
7847 iASL: Added a message if a package initializer list is shorter than 
7848 package 
7849 length. Adds a new remark for a Package() declaration if an initializer 
7850 list 
7851 exists, but is shorter than the declared length of the package. Although 
7852 technically legal, this is probably a coding error and it is seen in the 
7853 field. ACPICA BZ 815. Lin Ming, Bob Moore.
7854
7855 iASL: Fixed a problem where the compiler could fault after the maximum 
7856 number 
7857 of errors was reached (200).
7858
7859 acpixtract: Fixed a possible warning for pointer cast if the compiler 
7860 warning 
7861 level set very high.
7862
7863 ----------------------------------------
7864 13 October 2009. Summary of changes for version 20091013:
7865
7866 1) ACPI CA Core Subsystem:
7867
7868 Fixed a problem where an Operation Region _REG method could be executed 
7869 more 
7870 than once. If a custom address space handler is installed by the host 
7871 before 
7872 the "initialize operation regions" phase of the ACPICA initialization, 
7873 any 
7874 _REG methods for that address space could be executed twice. This change 
7875 fixes the problem. ACPICA BZ 427. Lin Ming.
7876
7877 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
7878 invocation of "Scope(\)" is executed (change scope to root), one internal 
7879 operand object was leaked. Lin Ming.
7880
7881 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
7882 return value is defined as a Field object in the AML, and the field
7883 size is less than or equal to the default width of an integer (32 or 
7884 64),_MAT 
7885 can incorrectly return an Integer instead of a Buffer. ACPICA now 
7886 automatically repairs this problem. ACPICA BZ 810.
7887
7888 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
7889 The 
7890 "OEM Information" field is often incorrectly returned as an Integer with 
7891 value zero if the field is not supported by the platform. This is due to 
7892 an 
7893 ambiguity in the ACPI specification. The field should always be a string. 
7894 ACPICA now automatically repairs this problem by returning a NULL string 
7895 within the returned Package. ACPICA BZ 807.
7896
7897 Example Code and Data Size: These are the sizes for the OS-independent 
7898 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7899 debug version of the code includes the debug output trace mechanism and 
7900 has a 
7901 much larger code and data size.
7902
7903   Previous Release:
7904     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7905     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7906   Current Release:
7907     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7908     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7909
7910 2) iASL Compiler/Disassembler and Tools:
7911
7912 Disassembler: Fixed a problem where references to external symbols that 
7913 contained one or more parent-prefixes (carats) were not handled 
7914 correctly, 
7915 possibly causing a fault. ACPICA BZ 806. Lin Ming.
7916
7917 Disassembler: Restructured the code so that all functions that handle 
7918 external symbols are in a single module. One new file is added, 
7919 common/dmextern.c.
7920
7921 AML Debugger: Added a max count argument for the Batch command (which 
7922 executes multiple predefined methods within the namespace.)
7923
7924 iASL: Updated the compiler documentation (User Reference.) Available at 
7925 http://www.acpica.org/documentation/. ACPICA BZ 750.
7926
7927 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
7928 files.
7929
7930 ----------------------------------------
7931 03 September 2009. Summary of changes for version 20090903:
7932
7933 1) ACPI CA Core Subsystem:
7934
7935 For Windows Vista compatibility, added the automatic execution of an _INI 
7936 method located at the namespace root (\_INI). This method is executed at 
7937 table load time. This support is in addition to the automatic execution 
7938 of 
7939 \_SB._INI. Lin Ming.
7940
7941 Fixed a possible memory leak in the interpreter for AML package objects 
7942 if 
7943 the package initializer list is longer than the defined size of the 
7944 package. 
7945 This apparently can only happen if the BIOS changes the package size on 
7946 the 
7947 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
7948 interpreter will truncate the package to the defined size (and issue an 
7949 error 
7950 message), but previously could leave the extra objects undeleted if they 
7951 were 
7952 pre-created during the argument processing (such is the case if the 
7953 package 
7954 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
7955
7956 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
7957 This has been reported in the field. Previously, ACPICA would zero out 
7958 the 
7959 buffer/string. Now, the operation is treated as a noop. Provides Windows 
7960 compatibility. ACPICA BZ 803. Lin Ming.
7961
7962 Removed an extraneous error message for ASL constructs of the form 
7963 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
7964 statements 
7965 are seen in many BIOSs and are once again treated as NOOPs and no error 
7966 is 
7967 emitted when they are encountered. ACPICA BZ 785.
7968
7969 Fixed an extraneous warning message if a _DSM reserved method returns a 
7970 Package object. _DSM can return any type of object, so validation on the 
7971 return type cannot be performed. ACPICA BZ 802.
7972
7973 Example Code and Data Size: These are the sizes for the OS-independent 
7974 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7975 debug version of the code includes the debug output trace mechanism and 
7976 has a 
7977 much larger code and data size.
7978
7979   Previous Release:
7980     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7981     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7982   Current Release:
7983     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7984     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7985
7986 2) iASL Compiler/Disassembler and Tools:
7987
7988 iASL: Fixed a problem with the use of the Alias operator and Resource 
7989 Templates. The correct alias is now constructed and no error is emitted. 
7990 ACPICA BZ 738.
7991
7992 iASL: Implemented the -I option to specify additional search directories 
7993 for 
7994 include files. Allows multiple additional search paths for include files. 
7995 Directories are searched in the order specified on the command line 
7996 (after 
7997 the local directory is searched.) ACPICA BZ 800.
7998
7999 iASL: Fixed a problem where the full pathname for include files was not 
8000 emitted for warnings/errors. This caused the IDE support to not work 
8001 properly. ACPICA BZ 765.
8002
8003 iASL: Implemented the -@ option to specify a Windows-style response file 
8004 containing additional command line options. ACPICA BZ 801.
8005
8006 AcpiExec: Added support to load multiple AML files simultaneously (such 
8007 as 
8008
8009 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
8010 pathname. These features allow all machine tables to be easily loaded and 
8011 debugged together. ACPICA BZ 804.
8012
8013 Disassembler: Added missing support for disassembly of HEST table Error 
8014 Bank 
8015 subtables. 
8016
8017 ----------------------------------------
8018 30 July 2009. Summary of changes for version 20090730:
8019
8020 The ACPI 4.0 implementation for ACPICA is complete with this release.
8021
8022 1) ACPI CA Core Subsystem:
8023
8024 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
8025 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
8026 new 
8027 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
8028 BERT, 
8029 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
8030 There 
8031 have been some ACPI 4.0 changes to other existing tables. Split the large 
8032 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
8033
8034 ACPI 4.0: Implemented predefined name validation for all new names. There 
8035 are 
8036 31 new names in ACPI 4.0. The predefined validation module was split into 
8037 two 
8038 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
8039
8040 Implemented support for so-called "module-level executable code". This is 
8041 executable AML code that exists outside of any control method and is 
8042 intended 
8043 to be executed at table load time. Although illegal since ACPI 2.0, this 
8044 type 
8045 of code still exists and is apparently still being created. Blocks of 
8046 this 
8047 code are now detected and executed as intended. Currently, the code 
8048 blocks 
8049 must exist under either an If, Else, or While construct; these are the 
8050 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
8051
8052 Implemented an automatic dynamic repair for predefined names that return 
8053 nested Package objects. This applies to predefined names that are defined 
8054 to 
8055 return a variable-length Package of sub-packages. If the number of sub-
8056 packages is one, BIOS code is occasionally seen that creates a simple 
8057 single 
8058 package with no sub-packages. This code attempts to fix the problem by 
8059 wrapping a new package object around the existing package. These methods 
8060 can 
8061 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
8062 BZ 
8063 790.
8064
8065 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
8066 interface. 
8067 The _HID/_CID matching was broken and no longer matched IDs correctly. 
8068 ACPICA 
8069 BZ 793.
8070
8071 Fixed a problem with AcpiReset where the reset would silently fail if the 
8072 register was one of the protected I/O ports. AcpiReset now bypasses the 
8073 port 
8074 validation mechanism. This may eventually be driven into the 
8075 AcpiRead/Write 
8076 interfaces.
8077
8078 Fixed a regression related to the recent update of the AcpiRead/Write 
8079 interfaces. A sleep/suspend could fail if the optional PM2 Control 
8080 register 
8081 does not exist during an attempt to write the Bus Master Arbitration bit. 
8082 (However, some hosts already delete the code that writes this bit, and 
8083 the 
8084 code may in fact be obsolete at this date.) ACPICA BZ 799.
8085
8086 Fixed a problem where AcpiTerminate could fault if inadvertently called 
8087 twice 
8088 in succession. ACPICA BZ 795.
8089
8090 Example Code and Data Size: These are the sizes for the OS-independent 
8091 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8092 debug version of the code includes the debug output trace mechanism and 
8093 has a 
8094 much larger code and data size.
8095
8096   Previous Release:
8097     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
8098     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
8099   Current Release:
8100     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
8101     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
8102
8103 2) iASL Compiler/Disassembler and Tools:
8104
8105 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
8106 changes to existing tables. ACPICA BZ 775.
8107
8108 ----------------------------------------
8109 25 June 2009. Summary of changes for version 20090625:
8110
8111 The ACPI 4.0 Specification was released on June 16 and is available at 
8112 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
8113 continue for the next few releases.
8114
8115 1) ACPI CA Core Subsystem:
8116
8117 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
8118 address space. Includes support for bi-directional data buffers and an 
8119 IPMI 
8120 address space handler (to be installed by an IPMI device driver.) ACPICA 
8121 BZ 
8122 773. Lin Ming.
8123
8124 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
8125 Includes 
8126 support in both the header files and the disassembler.
8127
8128 Completed a major update for the AcpiGetObjectInfo external interface. 
8129 Changes include:
8130  - Support for variable, unlimited length HID, UID, and CID strings.
8131  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
8132 etc.)
8133  - Call the _SxW power methods on behalf of a device object.
8134  - Determine if a device is a PCI root bridge.
8135  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
8136 These changes will require an update to all callers of this interface. 
8137 See 
8138 the updated ACPICA Programmer Reference for details. One new source file 
8139 has 
8140 been added - utilities/utids.c. ACPICA BZ 368, 780.
8141
8142 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
8143 transfers. The Value parameter has been extended from 32 bits to 64 bits 
8144 in 
8145 order to support new ACPI 4.0 tables. These changes will require an 
8146 update 
8147 to 
8148 all callers of these interfaces. See the ACPICA Programmer Reference for 
8149 details. ACPICA BZ 768.
8150
8151 Fixed several problems with AcpiAttachData. The handler was not invoked 
8152 when 
8153 the host node was deleted. The data sub-object was not automatically 
8154 deleted 
8155 when the host node was deleted. The interface to the handler had an 
8156 unused 
8157 parameter, this was removed. ACPICA BZ 778.
8158
8159 Enhanced the function that dumps ACPI table headers. All non-printable 
8160 characters in the string fields are now replaced with '?' (Signature, 
8161 OemId, 
8162 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
8163 these fields are occasionally seen in the field. ACPICA BZ 788.
8164
8165 Fixed a problem with predefined method repair code where the code that 
8166 attempts to repair/convert an object of incorrect type is only executed 
8167 on 
8168 the first time the predefined method is called. The mechanism that 
8169 disables 
8170 warnings on subsequent calls was interfering with the repair mechanism. 
8171 ACPICA BZ 781.
8172
8173 Fixed a possible memory leak in the predefined validation/repair code 
8174 when 
8175
8176 buffer is automatically converted to an expected string object.
8177
8178 Removed obsolete 16-bit files from the distribution and from the current 
8179 git 
8180 tree head. ACPICA BZ 776.
8181
8182 Example Code and Data Size: These are the sizes for the OS-independent 
8183 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8184 debug version of the code includes the debug output trace mechanism and 
8185 has a 
8186 much larger code and data size.
8187
8188   Previous Release:
8189     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
8190     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
8191   Current Release:
8192     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
8193     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
8194
8195 2) iASL Compiler/Disassembler and Tools:
8196
8197 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
8198 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
8199
8200 ACPI 4.0: iASL - implemented compile-time validation support for all new 
8201 predefined names and control methods (31 total). ACPICA BZ 769.
8202
8203 ----------------------------------------
8204 21 May 2009. Summary of changes for version 20090521:
8205
8206 1) ACPI CA Core Subsystem:
8207
8208 Disabled the preservation of the SCI enable bit in the PM1 control 
8209 register. 
8210 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
8211 to 
8212 be 
8213 a "preserved" bit - "OSPM always preserves this bit position", section 
8214 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
8215 because the bit needs to be explicitly set by the OS as a workaround. No 
8216 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
8217 attempts to preserve this bit.
8218
8219 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
8220 incorrectly formed _PRT package could cause a fault. Added validation to 
8221 ensure that each package element is actually a sub-package.
8222
8223 Implemented a new interface to install or override a single control 
8224 method, 
8225 AcpiInstallMethod. This interface is useful when debugging in order to 
8226 repair 
8227 an existing method or to install a missing method without having to 
8228 override 
8229 the entire ACPI table. See the ACPICA Programmer Reference for use and 
8230 examples. Lin Ming, Bob Moore.
8231
8232 Fixed several reference count issues with the DdbHandle object that is 
8233 created from a Load or LoadTable operator. Prevent premature deletion of 
8234 the 
8235 object. Also, mark the object as invalid once the table has been 
8236 unloaded. 
8237 This is needed because the handle itself may not be deleted after the 
8238 table 
8239 unload, depending on whether it has been stored in a named object by the 
8240 caller. Lin Ming.
8241
8242 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
8243 mutexes of the same sync level are acquired but then not released in 
8244 strict 
8245 opposite order, the internally maintained Current Sync Level becomes 
8246 confused 
8247 and can cause subsequent execution errors. ACPICA BZ 471.
8248
8249 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
8250 specification has been changed to make the SyncLevel for mutex objects 
8251 more 
8252 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
8253 the 
8254 same as the current sync level. This makes more sense than the previous 
8255 rule 
8256 (SyncLevel less than or equal). This change updates the code to match the 
8257 specification.
8258
8259 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
8260 The 
8261 (local) cache must be locked during all cache object deletions. Andrew 
8262 Baumann.
8263
8264 Updated the Load operator to use operation region interfaces. This 
8265 replaces 
8266 direct memory mapping with region access calls. Now, all region accesses 
8267 go 
8268 through the installed region handler as they should.
8269
8270 Simplified and optimized the NsGetNextNode function. Reduced parameter 
8271 count 
8272 and reduced code for this frequently used function.
8273
8274 Example Code and Data Size: These are the sizes for the OS-independent 
8275 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8276 debug version of the code includes the debug output trace mechanism and 
8277 has a 
8278 much larger code and data size.
8279
8280   Previous Release:
8281     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
8282     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
8283   Current Release:
8284     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
8285     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
8286
8287 2) iASL Compiler/Disassembler and Tools:
8288
8289 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
8290 problems 
8291 with sub-table disassembly and handling invalid sub-tables. Attempt 
8292 recovery 
8293 after an invalid sub-table ID.
8294
8295 ----------------------------------------
8296 22 April 2009. Summary of changes for version 20090422:
8297
8298 1) ACPI CA Core Subsystem:
8299
8300 Fixed a compatibility issue with the recently released I/O port 
8301 protection 
8302 mechanism. For windows compatibility, 1) On a port protection violation, 
8303 simply ignore the request and do not return an exception (allow the 
8304 control 
8305 method to continue execution.) 2) If only part of the request overlaps a 
8306 protected port, read/write the individual ports that are not protected. 
8307 Linux 
8308 BZ 13036. Lin Ming
8309
8310 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
8311 actually 
8312 breaks into the AML debugger if the debugger is present. This matches the 
8313 ACPI-defined behavior.
8314
8315 Fixed several possible warnings related to the use of the configurable 
8316 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
8317 pointer with no warnings. Also fixes several warnings in printf-like 
8318 statements for the 64-bit build when the type is configured as a pointer. 
8319 ACPICA BZ 766, 767.
8320
8321 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
8322 on 
8323 warning options.) Examples include printf formats, aliasing, unused 
8324 globals, 
8325 missing prototypes, missing switch default statements, use of non-ANSI 
8326 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
8327 for 
8328 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
8329
8330 Example Code and Data Size: These are the sizes for the OS-independent 
8331 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8332 debug version of the code includes the debug output trace mechanism and 
8333 has a 
8334 much larger code and data size.
8335
8336   Previous Release:
8337     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
8338     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
8339   Current Release:
8340     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
8341     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
8342
8343 2) iASL Compiler/Disassembler and Tools:
8344
8345 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
8346 warnings 
8347 on 
8348 the 64-bit build.
8349
8350 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
8351 not 
8352 correctly digest Windows/DOS formatted files (with CR/LF).
8353
8354 iASL: Added a new option for "quiet mode" (-va) that produces only the 
8355 compilation summary, not individual errors and warnings. Useful for large 
8356 batch compilations.
8357
8358 AcpiExec: Implemented a new option (-z) to enable a forced 
8359 semaphore/mutex 
8360 timeout that can be used to detect hang conditions during execution of 
8361 AML 
8362 code (includes both internal semaphores and AML-defined mutexes and 
8363 events.)
8364
8365 Added new makefiles for the generation of acpica in a generic unix-like 
8366 environment. These makefiles are intended to generate the acpica tools 
8367 and 
8368 utilities from the original acpica git source tree structure.
8369
8370 Test Suites: Updated and cleaned up the documentation files. Updated the 
8371 copyrights to 2009, affecting all source files. Use the new version of 
8372 iASL 
8373 with quiet mode. Increased the number of available semaphores in the 
8374 Windows 
8375 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
8376 added 
8377 an alternate implementation of the semaphore timeout to allow aslts to 
8378 execute fully on Cygwin.
8379
8380 ----------------------------------------
8381 20 March 2009. Summary of changes for version 20090320:
8382
8383 1) ACPI CA Core Subsystem:
8384
8385 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
8386 table 
8387 unloads. Added a reader/writer locking mechanism to allow multiple 
8388 concurrent 
8389 namespace walks (readers), but block a dynamic table unload until it can 
8390 gain 
8391 exclusive write access to the namespace. This fixes a problem where a 
8392 table 
8393 unload could (possibly catastrophically) delete the portion of the 
8394 namespace 
8395 that is currently being examined by a walk. Adds a new file, utlock.c, 
8396 that 
8397 implements the reader/writer lock mechanism. ACPICA BZ 749.
8398
8399 Fixed a regression introduced in version 20090220 where a change to the 
8400 FADT 
8401 handling could cause the ACPICA subsystem to access non-existent I/O 
8402 ports.
8403
8404 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
8405 The 
8406 FADT can contain both 32-bit and 64-bit versions of these addresses. 
8407 Previously, the 64-bit versions were favored, meaning that if both 32 and 
8408 64 
8409 versions were valid, but not equal, the 64-bit version was used. This was 
8410 found to cause some machines to fail. Now, in this case, the 32-bit 
8411 version 
8412 is used instead. This now matches the Windows behavior.
8413
8414 Implemented a new mechanism to protect certain I/O ports. Provides 
8415 Microsoft 
8416 compatibility and protects the standard PC I/O ports from access via AML 
8417 code. Adds a new file, hwvalid.c
8418
8419 Fixed a possible extraneous warning message from the FADT support. The 
8420 message warns of a 32/64 length mismatch between the legacy and GAS 
8421 definitions for a register.
8422
8423 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
8424 is 
8425 made obsolete by the port protection mechanism above. It was previously 
8426 used 
8427 to validate the entire address range of an operation region, which could 
8428 be 
8429 incorrect if the range included illegal ports, but fields within the 
8430 operation region did not actually access those ports. Validation is now 
8431 performed on a per-field basis instead of the entire region.
8432
8433 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
8434 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
8435 this 
8436 means a read/modify/write when writing to the register. However, for 
8437 status 
8438 registers, writing a one means clear the event. Writing a zero means 
8439 preserve 
8440 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
8441 spec, 
8442 and the ACPICA code now simply always writes a zero to the ignored bit.
8443
8444 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
8445 As 
8446 per the ACPI specification, for the control registers, preserve 
8447 (read/modify/write) all bits that are defined as either reserved or 
8448 ignored.
8449
8450 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
8451 When reading the register, zero the write-only bits as per the ACPI spec. 
8452 ACPICA BZ 443. Lin Ming.
8453
8454 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
8455 wants to reply true to this request. The Windows strings are the only 
8456 paths 
8457 through the AML that are tested and known to work properly.
8458
8459   Previous Release:
8460     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8461     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8462   Current Release:
8463     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
8464     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
8465
8466 2) iASL Compiler/Disassembler and Tools:
8467
8468 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
8469 and 
8470 aetables.c
8471
8472 ----------------------------------------
8473 20 February 2009. Summary of changes for version 20090220:
8474
8475 1) ACPI CA Core Subsystem:
8476
8477 Optimized the ACPI register locking. Removed locking for reads from the 
8478 ACPI 
8479 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
8480 is 
8481 not required when reading the single-bit registers. The 
8482 AcpiGetRegisterUnlocked function is no longer needed and has been 
8483 removed. 
8484 This will improve performance for reads on these registers. ACPICA BZ 
8485 760.
8486
8487 Fixed the parameter validation for AcpiRead/Write. Now return 
8488 AE_BAD_PARAMETER if the input register pointer is null, and 
8489 AE_BAD_ADDRESS 
8490 if 
8491 the register has an address of zero. Previously, these cases simply 
8492 returned 
8493 AE_OK. For optional registers such as PM1B status/enable/control, the 
8494 caller 
8495 should check for a valid register address before calling. ACPICA BZ 748.
8496
8497 Renamed the external ACPI bit register access functions. Renamed 
8498 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
8499 functions. The new names are AcpiReadBitRegister and 
8500 AcpiWriteBitRegister. 
8501 Also, restructured the code for these functions by simplifying the code 
8502 path 
8503 and condensing duplicate code to reduce code size.
8504
8505 Added new functions to transparently handle the possibly split PM1 A/B 
8506 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
8507 functions 
8508 now handle the split registers for PM1 Status, Enable, and Control. 
8509 ACPICA 
8510 BZ 
8511 746.
8512
8513 Added a function to handle the PM1 control registers, 
8514 AcpiHwWritePm1Control. 
8515 This function writes both of the PM1 control registers (A/B). These 
8516 registers 
8517 are different than the PM1 A/B status and enable registers in that 
8518 different 
8519 values can be written to the A/B registers. Most notably, the SLP_TYP 
8520 bits 
8521 can be different, as per the values returned from the _Sx predefined 
8522 methods.
8523
8524 Removed an extra register write within AcpiHwClearAcpiStatus. This 
8525 function 
8526 was writing an optional PM1B status register twice. The existing call to 
8527 the 
8528 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
8529 A/B 
8530 register. ACPICA BZ 751.
8531
8532 Split out the PM1 Status registers from the FADT. Added new globals for 
8533 these 
8534 registers (A/B), similar to the way the PM1 Enable registers are handled. 
8535 Instead of overloading the FADT Event Register blocks. This makes the 
8536 code 
8537 clearer and less prone to error.
8538
8539 Fixed the warning message for when the platform contains too many ACPI 
8540 tables 
8541 for the default size of the global root table data structure. The 
8542 calculation 
8543 for the truncation value was incorrect.
8544
8545 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
8546 obsolete macro, since it is now a simple reference to ->common.type. 
8547 There 
8548 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
8549
8550 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
8551 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
8552 simply SLEEP_TYPE. ACPICA BZ 754.
8553
8554 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
8555 function is only needed on 64-bit host operating systems and is thus not 
8556 included for 32-bit hosts.
8557
8558 Debug output: print the input and result for invocations of the _OSI 
8559 reserved 
8560 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
8561 the 
8562 verbosity of this debug level. Len Brown.
8563
8564 Example Code and Data Size: These are the sizes for the OS-independent 
8565 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8566 debug version of the code includes the debug output trace mechanism and 
8567 has a 
8568 much larger code and data size.
8569
8570   Previous Release:
8571     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8572     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8573   Current Release:
8574     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
8575     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
8576
8577 2) iASL Compiler/Disassembler and Tools:
8578
8579 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
8580 various legal performance profiles.
8581
8582 ----------------------------------------
8583 23 January 2009. Summary of changes for version 20090123:
8584
8585 1) ACPI CA Core Subsystem:
8586
8587 Added the 2009 copyright to all module headers and signons. This affects 
8588 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
8589 the tools/utilities.
8590
8591 Implemented a change to allow the host to override any ACPI table, 
8592 including 
8593 dynamically loaded tables. Previously, only the DSDT could be replaced by 
8594 the 
8595 host. With this change, the AcpiOsTableOverride interface is called for 
8596 each 
8597 table found in the RSDT/XSDT during ACPICA initialization, and also 
8598 whenever 
8599 a table is dynamically loaded via the AML Load operator.
8600
8601 Updated FADT flag definitions, especially the Boot Architecture flags.
8602
8603 Debugger: For the Find command, automatically pad the input ACPI name 
8604 with 
8605 underscores if the name is shorter than 4 characters. This enables a 
8606 match 
8607 with the actual namespace entry which is itself padded with underscores.
8608
8609 Example Code and Data Size: These are the sizes for the OS-independent 
8610 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8611 debug version of the code includes the debug output trace mechanism and 
8612 has a 
8613 much larger code and data size.
8614
8615   Previous Release:
8616     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8617     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8618   Current Release:
8619     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
8620     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
8621
8622 2) iASL Compiler/Disassembler and Tools:
8623
8624 Fix build error under Bison-2.4.
8625
8626 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
8627 Architecture 
8628 flags. Now decode all flags, regardless of the FADT version. Flag output 
8629 includes the FADT version which first defined each flag.
8630
8631 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
8632 and 
8633 DSDT). Windows only.
8634
8635 ----------------------------------------
8636 04 December 2008. Summary of changes for version 20081204:
8637
8638 1) ACPI CA Core Subsystem:
8639
8640 The ACPICA Programmer Reference has been completely updated and revamped 
8641 for 
8642 this release. This includes updates to the external interfaces, OSL 
8643 interfaces, the overview sections, and the debugger reference.
8644
8645 Several new ACPICA interfaces have been implemented and documented in the 
8646 programmer reference:
8647 AcpiReset - Writes the reset value to the FADT-defined reset register.
8648 AcpiDisableAllGpes - Disable all available GPEs.
8649 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
8650 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
8651 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
8652 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
8653 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
8654
8655 Most of the public ACPI hardware-related interfaces have been moved to a 
8656 new 
8657 file, components/hardware/hwxface.c
8658
8659 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
8660 register lengths within the FADT are now used, and the low level ACPI 
8661 register access no longer hardcodes the ACPI register lengths. Given that 
8662 there may be some risk in actually trusting the FADT register lengths, a 
8663 run-
8664 time option was added to fall back to the default hardcoded lengths if 
8665 the 
8666 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
8667 option is set to true for now, and a warning is issued if a suspicious 
8668 FADT 
8669 register length is overridden with the default value.
8670
8671 Fixed a reference count issue in NsRepairObject. This problem was 
8672 introduced 
8673 in version 20081031 as part of a fix to repair Buffer objects within 
8674 Packages. Lin Ming.
8675
8676 Added semaphore support to the Linux/Unix application OS-services layer 
8677 (OSL). ACPICA BZ 448. Lin Ming.
8678
8679 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
8680 will 
8681 be implemented in the OSL, or will binary semaphores be used instead.
8682
8683 Example Code and Data Size: These are the sizes for the OS-independent 
8684 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8685 debug version of the code includes the debug output trace mechanism and 
8686 has a 
8687 much larger code and data size.
8688
8689   Previous Release:
8690     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8691     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8692   Current Release:
8693     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
8694     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
8695
8696 2) iASL Compiler/Disassembler and Tools:
8697
8698 iASL: Completed the '-e' option to include additional ACPI tables in 
8699 order 
8700 to 
8701 aid with disassembly and External statement generation. ACPICA BZ 742. 
8702 Lin 
8703 Ming.
8704
8705 iASL: Removed the "named object in while loop" error. The compiler cannot 
8706 determine how many times a loop will execute. ACPICA BZ 730.
8707
8708 Disassembler: Implemented support for FADT revision 2 (MS extension). 
8709 ACPICA 
8710 BZ 743.
8711
8712 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
8713 MCFG).
8714
8715 ----------------------------------------
8716 31 October 2008. Summary of changes for version 20081031:
8717
8718 1) ACPI CA Core Subsystem:
8719
8720 Restructured the ACPICA header files into public/private. acpi.h now 
8721 includes 
8722 only the "public" acpica headers. All other acpica headers are "private" 
8723 and 
8724 should not be included by acpica users. One new file, accommon.h is used 
8725 to 
8726 include the commonly used private headers for acpica code generation. 
8727 Future 
8728 plans include moving all private headers to a new subdirectory.
8729
8730 Implemented an automatic Buffer->String return value conversion for 
8731 predefined ACPI methods. For these methods (such as _BIF), added 
8732 automatic 
8733 conversion for return objects that are required to be a String, but a 
8734 Buffer 
8735 was found instead. This can happen when reading string battery data from 
8736 an 
8737 operation region, because it used to be difficult to convert the data 
8738 from 
8739 buffer to string from within the ASL. Ensures that the host OS is 
8740 provided 
8741 with a valid null-terminated string. Linux BZ 11822.
8742
8743 Updated the FACS waking vector interfaces. Split 
8744 AcpiSetFirmwareWakingVector 
8745 into two: one for the 32-bit vector, another for the 64-bit vector. This 
8746 is 
8747 required because the host OS must setup the wake much differently for 
8748 each 
8749 vector (real vs. protected mode, etc.) and the interface itself should 
8750 not 
8751 be 
8752 deciding which vector to use. Also, eliminated the 
8753 GetFirmwareWakingVector 
8754 interface, as it served no purpose (only the firmware reads the vector, 
8755 OS 
8756 only writes the vector.) ACPICA BZ 731.
8757
8758 Implemented a mechanism to escape infinite AML While() loops. Added a 
8759 loop 
8760 counter to force exit from AML While loops if the count becomes too 
8761 large. 
8762 This can occur in poorly written AML when the hardware does not respond 
8763 within a while loop and the loop does not implement a timeout. The 
8764 maximum 
8765 loop count is configurable. A new exception code is returned when a loop 
8766 is 
8767 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
8768
8769 Optimized the execution of AML While loops. Previously, a control state 
8770 object was allocated and freed for each execution of the loop. The 
8771 optimization is to simply reuse the control state for each iteration. 
8772 This 
8773 speeds up the raw loop execution time by about 5%.
8774
8775 Enhanced the implicit return mechanism. For Windows compatibility, return 
8776 an 
8777 implicit integer of value zero for methods that contain no executable 
8778 code. 
8779 Such methods are seen in the field as stubs (presumably), and can cause 
8780 drivers to fail if they expect a return value. Lin Ming.
8781
8782 Allow multiple backslashes as root prefixes in namepaths. In a fully 
8783 qualified namepath, allow multiple backslash prefixes. This can happen 
8784 (and 
8785 is seen in the field) because of the use of a double-backslash in strings 
8786 (since backslash is the escape character) causing confusion. ACPICA BZ 
8787 739 
8788 Lin Ming.
8789
8790 Emit a warning if two different FACS or DSDT tables are discovered in the 
8791 FADT. Checks if there are two valid but different addresses for the FACS 
8792 and 
8793 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
8794
8795 Consolidated the method argument count validation code. Merged the code 
8796 that 
8797 validates control method argument counts into the predefined validation 
8798 module. Eliminates possible multiple warnings for incorrect argument 
8799 counts.
8800
8801 Implemented ACPICA example code. Includes code for ACPICA initialization, 
8802 handler installation, and calling a control method. Available at 
8803 source/tools/examples.
8804
8805 Added a global pointer for FACS table to simplify internal FACS access. 
8806 Use 
8807 the global pointer instead of using AcpiGetTableByIndex for each FACS 
8808 access. 
8809 This simplifies the code for the Global Lock and the Firmware Waking 
8810 Vector(s).
8811
8812 Example Code and Data Size: These are the sizes for the OS-independent 
8813 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8814 debug version of the code includes the debug output trace mechanism and 
8815 has a 
8816 much larger code and data size.
8817
8818   Previous Release:
8819     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8820     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8821   Current Release:
8822     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8823     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8824
8825 2) iASL Compiler/Disassembler and Tools:
8826
8827 iASL: Improved disassembly of external method calls. Added the -e option 
8828 to 
8829 allow the inclusion of additional ACPI tables to help with the 
8830 disassembly 
8831 of 
8832 method invocations and the generation of external declarations during the 
8833 disassembly. Certain external method invocations cannot be disassembled 
8834 properly without the actual declaration of the method. Use the -e option 
8835 to 
8836 include the table where the external method(s) are actually declared. 
8837 Most 
8838 useful for disassembling SSDTs that make method calls back to the master 
8839 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
8840 -d 
8841 -e dsdt.aml ssdt1.aml
8842
8843 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
8844 problem where the use of an alias within a namepath would result in a not 
8845 found error or cause the compiler to fault. Also now allows forward 
8846 references from the Alias operator itself. ACPICA BZ 738.
8847
8848 ----------------------------------------
8849 26 September 2008. Summary of changes for version 20080926:
8850
8851 1) ACPI CA Core Subsystem:
8852
8853 Designed and implemented a mechanism to validate predefined ACPI methods 
8854 and 
8855 objects. This code validates the predefined ACPI objects (objects whose 
8856 names 
8857 start with underscore) that appear in the namespace, at the time they are 
8858 evaluated. The argument count and the type of the returned object are 
8859 validated against the ACPI specification. The purpose of this validation 
8860 is 
8861 to detect problems with the BIOS-implemented predefined ACPI objects 
8862 before 
8863 the results are returned to the ACPI-related drivers. Future enhancements 
8864 may 
8865 include actual repair of incorrect return objects where possible. Two new 
8866 files are nspredef.c and acpredef.h.
8867
8868 Fixed a fault in the AML parser if a memory allocation fails during the 
8869 Op 
8870 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
8871
8872 Fixed an issue with implicit return compatibility. This change improves 
8873 the 
8874 implicit return mechanism to be more compatible with the MS interpreter. 
8875 Lin 
8876 Ming, ACPICA BZ 349.
8877
8878 Implemented support for zero-length buffer-to-string conversions. Allow 
8879 zero 
8880 length strings during interpreter buffer-to-string conversions. For 
8881 example, 
8882 during the ToDecimalString and ToHexString operators, as well as implicit 
8883 conversions. Fiodor Suietov, ACPICA BZ 585.
8884
8885 Fixed two possible memory leaks in the error exit paths of 
8886 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
8887 are 
8888 similar in that they use a stack of state objects in order to eliminate 
8889 recursion. The stack must be fully unwound and deallocated if an error 
8890 occurs. Lin Ming. ACPICA BZ 383.
8891
8892 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
8893 global 
8894 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
8895 Moore ACPICA BZ 442.
8896
8897 Removed the obsolete version number in module headers. Removed the 
8898 "$Revision" number that appeared in each module header. This version 
8899 number 
8900 was useful under SourceSafe and CVS, but has no meaning under git. It is 
8901 not 
8902 only incorrect, it could also be misleading.
8903
8904 Example Code and Data Size: These are the sizes for the OS-independent 
8905 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8906 debug version of the code includes the debug output trace mechanism and 
8907 has a 
8908 much larger code and data size.
8909
8910   Previous Release:
8911     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8912     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8913   Current Release:
8914     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8915     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8916
8917 ----------------------------------------
8918 29 August 2008. Summary of changes for version 20080829:
8919
8920 1) ACPI CA Core Subsystem:
8921
8922 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
8923 Reference. Changes include the elimination of cheating on the Object 
8924 field 
8925 for the DdbHandle subtype, addition of a reference class field to 
8926 differentiate the various reference types (instead of an AML opcode), and 
8927 the 
8928 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
8929
8930 Reduce an error to a warning for an incorrect method argument count. 
8931 Previously aborted with an error if too few arguments were passed to a 
8932 control method via the external ACPICA interface. Now issue a warning 
8933 instead 
8934 and continue. Handles the case where the method inadvertently declares 
8935 too 
8936 many arguments, but does not actually use the extra ones. Applies mainly 
8937 to 
8938 the predefined methods. Lin Ming. Linux BZ 11032.
8939
8940 Disallow the evaluation of named object types with no intrinsic value. 
8941 Return 
8942 AE_TYPE for objects that have no value and therefore evaluation is 
8943 undefined: 
8944 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
8945 of 
8946 these types were allowed, but an exception would be generated at some 
8947 point 
8948 during the evaluation. Now, the error is generated up front.
8949
8950 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
8951 (nsnames.c). Fixes a leak in the error exit path.
8952
8953 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
8954 debug 
8955 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
8956 ACPI_EXCEPTION 
8957 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
8958 ACPI_LV_EVENTS.
8959
8960 Removed obsolete and/or unused exception codes from the acexcep.h header. 
8961 There is the possibility that certain device drivers may be affected if 
8962 they 
8963 use any of these exceptions.
8964
8965 The ACPICA documentation has been added to the public git source tree, 
8966 under 
8967 acpica/documents. Included are the ACPICA programmer reference, the iASL 
8968 compiler reference, and the changes.txt release logfile.
8969
8970 Example Code and Data Size: These are the sizes for the OS-independent 
8971 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8972 debug version of the code includes the debug output trace mechanism and 
8973 has a 
8974 much larger code and data size.
8975
8976   Previous Release:
8977     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8978     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8979   Current Release:
8980     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8981     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8982
8983 2) iASL Compiler/Disassembler and Tools:
8984
8985 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
8986 defines _SCP with 3 arguments. Previous versions defined it with only 1 
8987 argument. iASL now allows both definitions.
8988
8989 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
8990 zero-
8991 length subtables when disassembling ACPI tables. Also fixed a couple of 
8992 errors where a full 16-bit table type field was not extracted from the 
8993 input 
8994 properly.
8995
8996 acpisrc: Improve comment counting mechanism for generating source code 
8997 statistics. Count first and last lines of multi-line comments as 
8998 whitespace, 
8999 not comment lines. Handle Linux legal header in addition to standard 
9000 acpica 
9001 header.
9002
9003 ----------------------------------------
9004
9005 29 July 2008. Summary of changes for version 20080729:
9006
9007 1) ACPI CA Core Subsystem:
9008
9009 Fix a possible deadlock in the GPE dispatch. Remove call to 
9010 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
9011 attempt 
9012 to acquire the GPE lock but can deadlock since the GPE lock is already 
9013 held 
9014 at dispatch time. This code was introduced in version 20060831 as a 
9015 response 
9016 to Linux BZ 6881 and has since been removed from Linux.
9017
9018 Add a function to dereference returned reference objects. Examines the 
9019 return 
9020 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
9021 are 
9022 automatically dereferenced in an attempt to return something useful 
9023 (these 
9024 reference types cannot be converted into an external ACPI_OBJECT.) 
9025 Provides 
9026 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
9027
9028 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
9029 subtables for the MADT and one new subtable for the SRAT. Includes 
9030 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
9031 x2APIC 
9032 Specification, June 2008.
9033
9034 Additional error checking for pathname utilities. Add error check after 
9035 all 
9036 calls to AcpiNsGetPathnameLength. Add status return from 
9037 AcpiNsBuildExternalPath and check after all calls. Add parameter 
9038 validation 
9039 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
9040
9041 Return status from the global init function AcpiUtGlobalInitialize. This 
9042 is 
9043 used by both the kernel subsystem and the utilities such as iASL 
9044 compiler. 
9045 The function could possibly fail when the caches are initialized. Yang 
9046 Yi.
9047
9048 Add a function to decode reference object types to strings. Created for 
9049 improved error messages. 
9050
9051 Improve object conversion error messages. Better error messages during 
9052 object 
9053 conversion from internal to the external ACPI_OBJECT. Used for external 
9054 calls 
9055 to AcpiEvaluateObject.
9056
9057 Example Code and Data Size: These are the sizes for the OS-independent 
9058 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9059 debug version of the code includes the debug output trace mechanism and 
9060 has a 
9061 much larger code and data size.
9062
9063   Previous Release:
9064     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
9065     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
9066   Current Release:
9067     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
9068     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
9069
9070 2) iASL Compiler/Disassembler and Tools:
9071
9072 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
9073 problem 
9074 introduced in version 20080701. If the object being evaluated (via 
9075 execute 
9076 command) is not a method, the debugger can hang while trying to obtain 
9077 non-
9078 existent parameters.
9079
9080 iASL: relax error for using reserved "_T_x" identifiers. These names can 
9081 appear in a disassembled ASL file if they were emitted by the original 
9082 compiler. Instead of issuing an error or warning and forcing the user to 
9083 manually change these names, issue a remark instead.
9084
9085 iASL: error if named object created in while loop. Emit an error if any 
9086 named 
9087 object is created within a While loop. If allowed, this code will 
9088 generate 
9089
9090 run-time error on the second iteration of the loop when an attempt is 
9091 made 
9092 to 
9093 create the same named object twice. ACPICA bugzilla 730.
9094
9095 iASL: Support absolute pathnames for include files. Add support for 
9096 absolute 
9097 pathnames within the Include operator. previously, only relative 
9098 pathnames 
9099 were supported.
9100
9101 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
9102 Descriptor. 
9103 The ACPI spec requires one interrupt minimum. BZ 423
9104
9105 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
9106 Handles the case for the Interrupt Resource Descriptor where
9107 the ResourceSource argument is omitted but ResourceSourceIndex
9108 is present. Now leave room for the Index. BZ 426
9109
9110 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
9111 cases 
9112 where an error message is emitted if the target does not exist. BZ 516
9113
9114 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
9115 (get ACPI tables on Windows). This was apparently broken in version 
9116 20070919.
9117
9118 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
9119 where 
9120 the EOF happens immediately after the last table in the input file. Print 
9121 completion message. Previously, no message was displayed in this case.
9122
9123 ----------------------------------------
9124 01 July 2008. Summary of changes for version 20080701:
9125
9126 0) Git source tree / acpica.org
9127
9128 Fixed a problem where a git-clone from http would not transfer the entire 
9129 source tree.
9130
9131 1) ACPI CA Core Subsystem:
9132
9133 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
9134 enable bit. Now performs a read-change-write of the enable register 
9135 instead 
9136 of simply writing out the cached enable mask. This will prevent 
9137 inadvertent 
9138 enabling of GPEs if a rogue GPE is received during initialization (before 
9139 GPE 
9140 handlers are installed.)
9141
9142 Implemented a copy for dynamically loaded tables. Previously, dynamically 
9143 loaded tables were simply mapped - but on some machines this memory is 
9144 corrupted after suspend. Now copy the table to a local buffer. For the 
9145 OpRegion case, added checksum verify. Use the table length from the table 
9146 header, not the region length. For the Buffer case, use the table length 
9147 also. Dennis Noordsij, Bob Moore. BZ 10734
9148
9149 Fixed a problem where the same ACPI table could not be dynamically loaded 
9150 and 
9151 unloaded more than once. Without this change, a table cannot be loaded 
9152 again 
9153 once it has been loaded/unloaded one time. The current mechanism does not 
9154 unregister a table upon an unload. During a load, if the same table is 
9155 found, 
9156 this no longer returns an exception. BZ 722
9157
9158 Fixed a problem where the wrong descriptor length was calculated for the 
9159 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
9160 EndTag 
9161 are calculated as 12 bytes long, but the actual length in the internal 
9162 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
9163 Reported 
9164 by Linn Crosetto. BZ 728
9165
9166 Fixed a possible memory leak in the Unload operator. The DdbHandle 
9167 returned 
9168 by Load() did not have its reference count decremented during unload, 
9169 leading 
9170 to a memory leak. Lin Ming. BZ 727
9171
9172 Fixed a possible memory leak when deleting thermal/processor objects. Any 
9173 associated notify handlers (and objects) were not being deleted. Fiodor 
9174 Suietov. BZ 506
9175
9176 Fixed the ordering of the ASCII names in the global mutex table to match 
9177 the 
9178 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
9179 only. 
9180 Vegard Nossum. BZ 726
9181
9182 Enhanced the AcpiGetObjectInfo interface to return the number of required 
9183 arguments if the object is a control method. Added this call to the 
9184 debugger 
9185 so the proper number of default arguments are passed to a method. This 
9186 prevents a warning when executing methods from AcpiExec.
9187
9188 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
9189 AE_BAD_PARAMETER if input handle is invalid. BZ 474
9190
9191 Fixed an extraneous warning from exconfig.c on the 64-bit build.
9192
9193 Example Code and Data Size: These are the sizes for the OS-independent 
9194 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9195 debug version of the code includes the debug output trace mechanism and 
9196 has a 
9197 much larger code and data size.
9198
9199   Previous Release:
9200     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
9201     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
9202   Current Release:
9203     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
9204     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
9205
9206 2) iASL Compiler/Disassembler and Tools:
9207
9208 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
9209 resource descriptor names.
9210
9211 iASL: Detect invalid ASCII characters in input (windows version). Removed 
9212 the 
9213 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
9214 characters in the input. BZ 441
9215
9216 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
9217 the 
9218 "result of operation not used" warning when the DDB handle returned from 
9219 LoadTable is not used. The warning is not needed. BZ 590
9220
9221 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
9222 method 
9223 to 
9224 pass address of table to the AML. Added option to disable OpRegion 
9225 simulation 
9226 to allow creation of an OpRegion with a real address that was passed to 
9227 _CFG. 
9228 All of this allows testing of the Load and Unload operators from 
9229 AcpiExec.
9230
9231 Debugger: update tables command for unloaded tables. Handle unloaded 
9232 tables 
9233 and use the standard table header output routine.
9234
9235 ----------------------------------------
9236 09 June 2008. Summary of changes for version 20080609:
9237
9238 1) ACPI CA Core Subsystem:
9239
9240 Implemented a workaround for reversed _PRT entries. A significant number 
9241 of 
9242 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
9243 change dynamically detects and repairs this problem. Provides 
9244 compatibility 
9245 with MS ACPI. BZ 6859
9246
9247 Simplified the internal ACPI hardware interfaces to eliminate the locking 
9248 flag parameter from Register Read/Write. Added a new external interface, 
9249 AcpiGetRegisterUnlocked.
9250
9251 Fixed a problem where the invocation of a GPE control method could hang. 
9252 This 
9253 was a regression introduced in 20080514. The new method argument count 
9254 validation mechanism can enter an infinite loop when a GPE method is 
9255 dispatched. Problem fixed by removing the obsolete code that passed GPE 
9256 block 
9257 information to the notify handler via the control method parameter 
9258 pointer.
9259
9260 Fixed a problem where the _SST execution status was incorrectly returned 
9261 to 
9262 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
9263 in 
9264 20080514. _SST is optional and a NOT_FOUND exception should never be 
9265 returned. BZ 716
9266
9267 Fixed a problem where a deleted object could be accessed from within the 
9268 AML 
9269 parser. This was a regression introduced in version 20080123 as a fix for 
9270 the 
9271 Unload operator. Lin Ming. BZ 10669
9272
9273 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
9274 operands 
9275 and eliminated the use of a negative index in a loop. Operands are now 
9276 displayed in the correct order, not backwards. This also fixes a 
9277 regression 
9278 introduced in 20080514 on 64-bit systems where the elimination of 
9279 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
9280 715
9281
9282 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
9283 exit 
9284 path did not delete a locally allocated structure.
9285
9286 Updated definitions for the DMAR and SRAT tables to synchronize with the 
9287 current specifications. Includes disassembler support.
9288
9289 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
9290 loop termination value was used. Loop terminated on iteration early, 
9291 missing 
9292 one mutex. Linn Crosetto
9293
9294 Example Code and Data Size: These are the sizes for the OS-independent 
9295 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9296 debug version of the code includes the debug output trace mechanism and 
9297 has a 
9298 much larger code and data size.
9299
9300   Previous Release:
9301     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
9302     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
9303   Current Release:
9304     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
9305     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
9306
9307 2) iASL Compiler/Disassembler and Tools:
9308
9309 Disassembler: Implemented support for EisaId() within _CID objects. Now 
9310 disassemble integer _CID objects back to EisaId invocations, including 
9311 multiple integers within _CID packages. Includes single-step support for 
9312 debugger also.
9313
9314 Disassembler: Added support for DMAR and SRAT table definition changes.
9315
9316 ----------------------------------------
9317 14 May 2008. Summary of changes for version 20080514:
9318
9319 1) ACPI CA Core Subsystem:
9320
9321 Fixed a problem where GPEs were enabled too early during the ACPICA 
9322 initialization. This could lead to "handler not installed" errors on some 
9323 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
9324 This 
9325 ensures that all operation regions and devices throughout the namespace 
9326 have 
9327 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
9328
9329 Implemented a change to the enter sleep code. Moved execution of the _GTS 
9330 method to just before setting sleep enable bit. The execution was moved 
9331 from 
9332 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
9333 immediately before the SLP_EN bit is set, as per the ACPI specification. 
9334 Luming Yu, BZ 1653.
9335
9336 Implemented a fix to disable unknown GPEs (2nd version). Now always 
9337 disable 
9338 the GPE, even if ACPICA thinks that that it is already disabled. It is 
9339 possible that the AML or some other code has enabled the GPE unbeknownst 
9340 to 
9341 the ACPICA code.
9342
9343 Fixed a problem with the Field operator where zero-length fields would 
9344 return 
9345 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
9346 ASL 
9347 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
9348
9349 Implemented a fix for the Load operator, now load the table at the 
9350 namespace 
9351 root. This reverts a change introduced in version 20071019. The table is 
9352 now 
9353 loaded at the namespace root even though this goes against the ACPI 
9354 specification. This provides compatibility with other ACPI 
9355 implementations. 
9356 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
9357 Ming.
9358
9359 Fixed a problem where ACPICA would not Load() tables with unusual 
9360 signatures. 
9361 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
9362 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
9363 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
9364 such 
9365 signatures, ACPICA must be compatible. BZ 10454.
9366
9367 Fixed a possible negative array index in AcpiUtValidateException. Added 
9368 NULL 
9369 fields to the exception string arrays to eliminate a -1 subtraction on 
9370 the 
9371 SubStatus field.
9372
9373 Updated the debug tracking macros to reduce overall code and data size. 
9374 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
9375 instead of pointers to static strings. Jan Beulich and Bob Moore.
9376
9377 Implemented argument count checking in control method invocation via 
9378 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
9379 too 
9380 many. This applies only to extern programmatic control method execution, 
9381 not 
9382 method-to-method calls within the AML. Lin Ming.
9383
9384 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
9385 no 
9386 longer needed, especially with the removal of 16-bit support. It was 
9387 replaced 
9388 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
9389 bit 
9390 on 
9391 32/64-bit platforms is required.
9392
9393 Added the C const qualifier for appropriate string constants -- mostly 
9394 MODULE_NAME and printf format strings. Jan Beulich.
9395
9396 Example Code and Data Size: These are the sizes for the OS-independent 
9397 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9398 debug version of the code includes the debug output trace mechanism and 
9399 has a 
9400 much larger code and data size.
9401
9402   Previous Release:
9403     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
9404     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
9405   Current Release:
9406     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
9407     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
9408
9409 2) iASL Compiler/Disassembler and Tools:
9410
9411 Implemented ACPI table revision ID validation in the disassembler. Zero 
9412 is 
9413 always invalid. For DSDTs, the ID controls the interpreter integer width. 
9414
9415 means 32-bit and this is unusual. 2 or greater is 64-bit.
9416
9417 ----------------------------------------
9418 21 March 2008. Summary of changes for version 20080321:
9419
9420 1) ACPI CA Core Subsystem:
9421
9422 Implemented an additional change to the GPE support in order to suppress 
9423 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
9424 permanently 
9425 disable incoming GPEs that are neither enabled nor disabled -- meaning 
9426 that 
9427 the GPE is unknown to the system. This should prevent future interrupt 
9428 floods 
9429 from that GPE. BZ 6217 (Zhang Rui)
9430
9431 Fixed a problem where NULL package elements were not returned to the 
9432 AcpiEvaluateObject interface correctly. The element was simply ignored 
9433 instead of returning a NULL ACPI_OBJECT package element, potentially 
9434 causing 
9435 a buffer overflow and/or confusing the caller who expected a fixed number 
9436 of 
9437 elements. BZ 10132 (Lin Ming, Bob Moore)
9438
9439 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
9440 Dword, 
9441 Qword), Field, BankField, and IndexField operators when invoked from 
9442 inside 
9443 an executing control method. In this case, these operators created 
9444 namespace 
9445 nodes that were incorrectly left marked as permanent nodes instead of 
9446 temporary nodes. This could cause a problem if there is race condition 
9447 between an exiting control method and a running namespace walk. (Reported 
9448 by 
9449 Linn Crosetto)
9450
9451 Fixed a problem where the CreateField and CreateXXXField operators would 
9452 incorrectly allow duplicate names (the name of the field) with no 
9453 exception 
9454 generated.
9455
9456 Implemented several changes for Notify handling. Added support for new 
9457 Notify 
9458 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
9459 PowerResource objects is no longer allowed, as per the ACPI 
9460 specification. 
9461 (Bob Moore, Zhang Rui)
9462
9463 All Reference Objects returned via the AcpiEvaluateObject interface are 
9464 now 
9465 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
9466 for 
9467 NULL objects - either NULL package elements or unresolved named 
9468 references.
9469
9470 Fixed a problem where an extraneous debug message was produced for 
9471 package 
9472 objects (when debugging enabled). The message "Package List length larger 
9473 than NumElements count" is now produced in the correct case, and is now 
9474 an 
9475 error message rather than a debug message. Added a debug message for the 
9476 opposite case, where NumElements is larger than the Package List (the 
9477 package 
9478 will be padded out with NULL elements as per the ACPI spec.)
9479
9480 Implemented several improvements for the output of the ASL "Debug" object 
9481 to 
9482 clarify and keep all data for a given object on one output line.
9483
9484 Fixed two size calculation issues with the variable-length Start 
9485 Dependent 
9486 resource descriptor.
9487
9488 Example Code and Data Size: These are the sizes for the OS-independent 
9489 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9490 debug version of the code includes the debug output trace mechanism and 
9491 has 
9492 a much larger code and data size.
9493
9494   Previous Release:
9495     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9496     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9497   Current Release:
9498     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
9499     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
9500
9501 2) iASL Compiler/Disassembler and Tools:
9502
9503 Fixed a problem with the use of the Switch operator where execution of 
9504 the 
9505 containing method by multiple concurrent threads could cause an 
9506 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
9507 actual Switch opcode, it must be simulated with local named temporary 
9508 variables and if/else pairs. The solution chosen was to mark any method 
9509 that 
9510 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
9511 469.
9512
9513 ----------------------------------------
9514 13 February 2008. Summary of changes for version 20080213:
9515
9516 1) ACPI CA Core Subsystem:
9517
9518 Implemented another MS compatibility design change for GPE/Notify 
9519 handling. 
9520 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
9521 to 
9522 complete first. It is expected that the OSL will queue the enable request 
9523 behind all pending notify requests (may require changes to the local host 
9524 OSL 
9525 in AcpiOsExecute). Alexey Starikovskiy.
9526
9527 Fixed a problem where buffer and package objects passed as arguments to a 
9528 control method via the external AcpiEvaluateObject interface could cause 
9529 an 
9530 AE_AML_INTERNAL exception depending on the order and type of operators 
9531 executed by the target control method.
9532
9533 Fixed a problem where resource descriptor size optimization could cause a 
9534 problem when a _CRS resource template is passed to a _SRS method. The 
9535 _SRS 
9536 resource template must use the same descriptors (with the same size) as 
9537 returned from _CRS. This change affects the following resource 
9538 descriptors: 
9539 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
9540 9487)
9541
9542 Fixed a problem where a CopyObject to RegionField, BankField, and 
9543 IndexField 
9544 objects did not perform an implicit conversion as it should. These types 
9545 must 
9546 retain their initial type permanently as per the ACPI specification. 
9547 However, 
9548 a CopyObject to all other object types should not perform an implicit 
9549 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
9550
9551 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
9552 match device CIDs did not examine the entire list of available CIDs, but 
9553 instead aborted on the first non-matching CID. Andrew Patterson.
9554
9555 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
9556 was 
9557 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
9558 truncating the upper dword of a 64-bit value. This macro is only used to 
9559 display debug output, so no incorrect calculations were made. Also, 
9560 reimplemented the macro so that a 64-bit shift is not performed by 
9561 inefficient compilers.
9562
9563 Added missing va_end statements that should correspond with each va_start 
9564 statement.
9565
9566 Example Code and Data Size: These are the sizes for the OS-independent 
9567 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9568 debug version of the code includes the debug output trace mechanism and 
9569 has 
9570 a much larger code and data size.
9571
9572   Previous Release:
9573     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9574     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9575   Current Release:
9576     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
9577     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
9578
9579 2) iASL Compiler/Disassembler and Tools:
9580
9581 Implemented full disassembler support for the following new ACPI tables: 
9582 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
9583 complicated HEST table. These tables support the Windows Hardware Error 
9584 Architecture (WHEA).
9585
9586 ----------------------------------------
9587 23 January 2008. Summary of changes for version 20080123:
9588
9589 1) ACPI CA Core Subsystem:
9590
9591 Added the 2008 copyright to all module headers and signons. This affects 
9592 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
9593 the tools/utilities.
9594
9595 Fixed a problem with the SizeOf operator when used with Package and 
9596 Buffer 
9597 objects. These objects have deferred execution for some arguments, and 
9598 the 
9599 execution is now completed before the SizeOf is executed. This problem 
9600 caused 
9601 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
9602 BZ 
9603 9558
9604
9605 Implemented an enhancement to the interpreter "slack mode". In the 
9606 absence 
9607 of 
9608 an explicit return or an implicitly returned object from the last 
9609 executed 
9610 opcode, a control method will now implicitly return an integer of value 0 
9611 for 
9612 Microsoft compatibility. (Lin Ming) BZ 392
9613
9614 Fixed a problem with the Load operator where an exception was not 
9615 returned 
9616 in 
9617 the case where the table is already loaded. (Lin Ming) BZ 463
9618
9619 Implemented support for the use of DDBHandles as an Indexed Reference, as 
9620 per 
9621 the ACPI spec. (Lin Ming) BZ 486
9622
9623 Implemented support for UserTerm (Method invocation) for the Unload 
9624 operator 
9625 as per the ACPI spec. (Lin Ming) BZ 580
9626
9627 Fixed a problem with the LoadTable operator where the OemId and 
9628 OemTableId 
9629 input strings could cause unexpected failures if they were shorter than 
9630 the 
9631 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
9632
9633 Implemented support for UserTerm (Method invocation) for the Unload 
9634 operator 
9635 as per the ACPI spec. (Lin Ming) BZ 580
9636
9637 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
9638 HEST, 
9639 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
9640
9641 Example Code and Data Size: These are the sizes for the OS-independent 
9642 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9643 debug version of the code includes the debug output trace mechanism and 
9644 has 
9645 a much larger code and data size.
9646
9647   Previous Release:
9648     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9649     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9650   Current Release:
9651     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
9652     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
9653
9654 2) iASL Compiler/Disassembler and Tools:
9655
9656 Implemented support in the disassembler for checksum validation on 
9657 incoming 
9658 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
9659 table 
9660 header dump at the start of the disassembly.
9661
9662 Implemented additional debugging information in the namespace listing 
9663 file 
9664 created during compilation. In addition to the namespace hierarchy, the 
9665 full 
9666 pathname to each namespace object is displayed.
9667
9668 Fixed a problem with the disassembler where invalid ACPI tables could 
9669 cause 
9670 faults or infinite loops.
9671
9672 Fixed an unexpected parse error when using the optional "parameter types" 
9673 list in a control method declaration. (Lin Ming) BZ 397
9674
9675 Fixed a problem where two External declarations with the same name did 
9676 not 
9677 cause an error (Lin Ming) BZ 509
9678
9679 Implemented support for full TermArgs (adding Argx, Localx and method 
9680 invocation) for the ParameterData parameter to the LoadTable operator. 
9681 (Lin 
9682 Ming) BZ 583,587
9683
9684 ----------------------------------------
9685 19 December 2007. Summary of changes for version 20071219:
9686
9687 1) ACPI CA Core Subsystem:
9688
9689 Implemented full support for deferred execution for the TermArg string 
9690 arguments for DataTableRegion. This enables forward references and full 
9691 operand resolution for the three string arguments. Similar to 
9692 OperationRegion 
9693 deferred argument execution.) Lin Ming. BZ 430
9694
9695 Implemented full argument resolution support for the BankValue argument 
9696 to 
9697 BankField. Previously, only constants were supported, now any TermArg may 
9698 be 
9699 used. Lin Ming BZ 387, 393
9700
9701 Fixed a problem with AcpiGetDevices where the search of a branch of the 
9702 device tree could be terminated prematurely. In accordance with the ACPI 
9703 specification, the search down the current branch is terminated if a 
9704 device 
9705 is both not present and not functional (instead of just not present.) 
9706 Yakui 
9707 Zhao.
9708
9709 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
9710 if 
9711 the underlying AML code changed the GPE enable registers. Now, any 
9712 unknown 
9713 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
9714 disabled 
9715 instead of simply ignored. Rui Zhang.
9716
9717 Fixed a problem with Index Fields where the Index register was 
9718 incorrectly 
9719 limited to a maximum of 32 bits. Now any size may be used.
9720
9721 Fixed a couple memory leaks associated with "implicit return" objects 
9722 when 
9723 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
9724
9725 Example Code and Data Size: These are the sizes for the OS-independent 
9726 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9727 debug version of the code includes the debug output trace mechanism and 
9728 has 
9729 a much larger code and data size.
9730
9731   Previous Release:
9732     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9733     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9734   Current Release:
9735     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
9736     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
9737
9738 ----------------------------------------
9739 14 November 2007. Summary of changes for version 20071114:
9740
9741 1) ACPI CA Core Subsystem:
9742
9743 Implemented event counters for each of the Fixed Events, the ACPI SCI 
9744 (interrupt) itself, and control methods executed. Named 
9745 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
9746 These 
9747 should be useful for debugging and statistics.
9748
9749 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
9750 contents of the various event counters. Returns the current values for 
9751 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
9752 AcpiMethodCount. The interface can be expanded in the future if new 
9753 counters 
9754 are added. Device drivers should use this interface rather than access 
9755 the 
9756 counters directly.
9757
9758 Fixed a problem with the FromBCD and ToBCD operators. With some 
9759 compilers, 
9760 the ShortDivide function worked incorrectly, causing problems with the 
9761 BCD 
9762 functions with large input values. A truncation from 64-bit to 32-bit 
9763 inadvertently occurred. Internal BZ 435. Lin Ming
9764
9765 Fixed a problem with Index references passed as method arguments. 
9766 References 
9767 passed as arguments to control methods were dereferenced immediately 
9768 (before 
9769 control was passed to the called method). The references are now 
9770 correctly 
9771 passed directly to the called method. BZ 5389. Lin Ming
9772
9773 Fixed a problem with CopyObject used in conjunction with the Index 
9774 operator. 
9775 The reference was incorrectly dereferenced before the copy. The reference 
9776 is 
9777 now correctly copied. BZ 5391. Lin Ming
9778
9779 Fixed a problem with Control Method references within Package objects. 
9780 These 
9781 references are now correctly generated. This completes the package 
9782 construction overhaul that began in version 20071019.
9783
9784 Example Code and Data Size: These are the sizes for the OS-independent 
9785 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9786 debug version of the code includes the debug output trace mechanism and 
9787 has 
9788 a much larger code and data size.
9789
9790   Previous Release:
9791     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9792     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9793   Current Release:
9794     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9795     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9796
9797
9798 2) iASL Compiler/Disassembler and Tools:
9799
9800 The AcpiExec utility now installs handlers for all of the predefined 
9801 Operation Region types. New types supported are: PCI_Config, CMOS, and 
9802 PCIBARTarget.
9803
9804 Fixed a problem with the 64-bit version of AcpiExec where the extended 
9805 (64-
9806 bit) address fields for the DSDT and FACS within the FADT were not being 
9807 used, causing truncation of the upper 32-bits of these addresses. Lin 
9808 Ming 
9809 and Bob Moore
9810
9811 ----------------------------------------
9812 19 October 2007. Summary of changes for version 20071019:
9813
9814 1) ACPI CA Core Subsystem:
9815
9816 Fixed a problem with the Alias operator when the target of the alias is a 
9817 named ASL operator that opens a new scope -- Scope, Device, 
9818 PowerResource, 
9819 Processor, and ThermalZone. In these cases, any children of the original 
9820 operator could not be accessed via the alias, potentially causing 
9821 unexpected 
9822 AE_NOT_FOUND exceptions. (BZ 9067)
9823
9824 Fixed a problem with the Package operator where all named references were 
9825 created as object references and left otherwise unresolved. According to 
9826 the 
9827 ACPI specification, a Package can only contain Data Objects or references 
9828 to 
9829 control methods. The implication is that named references to Data Objects 
9830 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
9831 immediately upon package creation. This is the approach taken with this 
9832 change. References to all other named objects (Methods, Devices, Scopes, 
9833 etc.) are all now properly created as reference objects. (BZ 5328)
9834
9835 Reverted a change to Notify handling that was introduced in version 
9836 20070508. This version changed the Notify handling from asynchronous to 
9837 fully synchronous (Device driver Notify handling with respect to the 
9838 Notify 
9839 ASL operator). It was found that this change caused more problems than it 
9840 solved and was removed by most users.
9841
9842 Fixed a problem with the Increment and Decrement operators where the type 
9843 of 
9844 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
9845 Lin Ming.
9846
9847 Fixed a problem with the Load and LoadTable operators where the table 
9848 location within the namespace was ignored. Instead, the table was always 
9849 loaded into the root or current scope. Lin Ming.
9850
9851 Fixed a problem with the Load operator when loading a table from a buffer 
9852 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
9853
9854 Fixed a problem with the Debug object where a store of a DdbHandle 
9855 reference 
9856 object to the Debug object could cause a fault.
9857
9858 Added a table checksum verification for the Load operator, in the case 
9859 where 
9860 the load is from a buffer. (BZ 578).
9861
9862 Implemented additional parameter validation for the LoadTable operator. 
9863 The 
9864 length of the input strings SignatureString, OemIdString, and OemTableId 
9865 are 
9866 now checked for maximum lengths. (BZ 582) Lin Ming.
9867
9868 Example Code and Data Size: These are the sizes for the OS-independent 
9869 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9870 debug version of the code includes the debug output trace mechanism and 
9871 has 
9872 a much larger code and data size.
9873
9874   Previous Release:
9875     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9876     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9877   Current Release:
9878     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9879     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9880
9881
9882 2) iASL Compiler/Disassembler:
9883
9884 Fixed a problem where if a single file was specified and the file did not 
9885 exist, no error message was emitted. (Introduced with wildcard support in 
9886 version 20070917.)
9887
9888 ----------------------------------------
9889 19 September 2007. Summary of changes for version 20070919:
9890
9891 1) ACPI CA Core Subsystem:
9892
9893 Designed and implemented new external interfaces to install and remove 
9894 handlers for ACPI table-related events. Current events that are defined 
9895 are 
9896 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
9897 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
9898 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
9899
9900 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
9901 (acpi_serialized option on Linux) could cause some systems to hang during 
9902 initialization. (Bob Moore) BZ 8171
9903
9904 Fixed a problem where objects of certain types (Device, ThermalZone, 
9905 Processor, PowerResource) can be not found if they are declared and 
9906 referenced from within the same control method (Lin Ming) BZ 341
9907
9908 Example Code and Data Size: These are the sizes for the OS-independent 
9909 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9910 debug version of the code includes the debug output trace mechanism and 
9911 has 
9912 a much larger code and data size.
9913
9914   Previous Release:
9915     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9916     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9917   Current Release:
9918     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9919     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9920
9921
9922 2) iASL Compiler/Disassembler:
9923
9924 Implemented support to allow multiple files to be compiled/disassembled 
9925 in 
9926
9927 single invocation. This includes command line wildcard support for both 
9928 the 
9929 Windows and Unix versions of the compiler. This feature simplifies the 
9930 disassembly and compilation of multiple ACPI tables in a single 
9931 directory.
9932
9933 ----------------------------------------
9934 08 May 2007. Summary of changes for version 20070508:
9935
9936 1) ACPI CA Core Subsystem:
9937
9938 Implemented a Microsoft compatibility design change for the handling of 
9939 the 
9940 Notify AML operator. Previously, notify handlers were dispatched and 
9941 executed completely asynchronously in a deferred thread. The new design 
9942 still executes the notify handlers in a different thread, but the 
9943 original 
9944 thread that executed the Notify() now waits at a synchronization point 
9945 for 
9946 the notify handler to complete. Some machines depend on a synchronous 
9947 Notify 
9948 operator in order to operate correctly.
9949
9950 Implemented support to allow Package objects to be passed as method 
9951 arguments to the external AcpiEvaluateObject interface. Previously, this 
9952 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
9953 implemented since there were no reserved control methods that required it 
9954 until recently.
9955
9956 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
9957 that 
9958 contained invalid non-zero values in reserved fields could cause later 
9959 failures because these fields have meaning in later revisions of the 
9960 FADT. 
9961 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
9962 fields 
9963 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
9964
9965 Fixed a problem where the Global Lock handle was not properly updated if 
9966
9967 thread that acquired the Global Lock via executing AML code then 
9968 attempted 
9969 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
9970 Joe 
9971 Liu.
9972
9973 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
9974 could be corrupted if the interrupt being removed was at the head of the 
9975 list. Reported by Linn Crosetto.
9976
9977 Example Code and Data Size: These are the sizes for the OS-independent 
9978 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9979 debug version of the code includes the debug output trace mechanism and 
9980 has 
9981 a much larger code and data size.
9982
9983   Previous Release:
9984     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9985     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9986   Current Release:
9987     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9988     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9989
9990 ----------------------------------------
9991 20 March 2007. Summary of changes for version 20070320:
9992
9993 1) ACPI CA Core Subsystem:
9994
9995 Implemented a change to the order of interpretation and evaluation of AML 
9996 operand objects within the AML interpreter. The interpreter now evaluates 
9997 operands in the order that they appear in the AML stream (and the 
9998 corresponding ASL code), instead of in the reverse order (after the 
9999 entire 
10000 operand list has been parsed). The previous behavior caused several 
10001 subtle 
10002 incompatibilities with the Microsoft AML interpreter as well as being 
10003 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
10004
10005 Implemented a change to the ACPI Global Lock support. All interfaces to 
10006 the 
10007 global lock now allow the same thread to acquire the lock multiple times. 
10008 This affects the AcpiAcquireGlobalLock external interface to the global 
10009 lock 
10010 as well as the internal use of the global lock to support AML fields -- a 
10011 control method that is holding the global lock can now simultaneously 
10012 access 
10013 AML fields that require global lock protection. Previously, in both 
10014 cases, 
10015 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
10016 to 
10017 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
10018 Controller. There is no change to the behavior of the AML Acquire 
10019 operator, 
10020 as this can already be used to acquire a mutex multiple times by the same 
10021 thread. BZ 8066. With assistance from Alexey Starikovskiy.
10022
10023 Fixed a problem where invalid objects could be referenced in the AML 
10024 Interpreter after error conditions. During operand evaluation, ensure 
10025 that 
10026 the internal "Return Object" field is cleared on error and only valid 
10027 pointers are stored there. Caused occasional access to deleted objects 
10028 that 
10029 resulted in "large reference count" warning messages. Valery Podrezov.
10030
10031 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
10032 on 
10033 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
10034 Podrezov.
10035
10036 Fixed an internal problem with the handling of result objects on the 
10037 interpreter result stack. BZ 7872. Valery Podrezov.
10038
10039 Removed obsolete code that handled the case where AML_NAME_OP is the 
10040 target 
10041 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
10042 7874. Valery Podrezov.
10043
10044 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
10045 was 
10046
10047 remnant from the previously discontinued 16-bit support.
10048
10049 Example Code and Data Size: These are the sizes for the OS-independent 
10050 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10051 debug version of the code includes the debug output trace mechanism and 
10052 has 
10053 a much larger code and data size.
10054
10055   Previous Release:
10056     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
10057     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
10058   Current Release:
10059     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
10060     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
10061
10062 ----------------------------------------
10063 26 January 2007. Summary of changes for version 20070126:
10064
10065 1) ACPI CA Core Subsystem:
10066
10067 Added the 2007 copyright to all module headers and signons. This affects 
10068 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
10069 the utilities.
10070
10071 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
10072 during a table load. A bad pointer was passed in the case where the DSDT 
10073 is 
10074 overridden, causing a fault in this case.
10075
10076 Example Code and Data Size: These are the sizes for the OS-independent 
10077 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10078 debug version of the code includes the debug output trace mechanism and 
10079 has 
10080 a much larger code and data size.
10081
10082   Previous Release:
10083     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
10084     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
10085   Current Release:
10086     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
10087     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
10088
10089 ----------------------------------------
10090 15 December 2006. Summary of changes for version 20061215:
10091
10092 1) ACPI CA Core Subsystem:
10093
10094 Support for 16-bit ACPICA has been completely removed since it is no 
10095 longer 
10096 necessary and it clutters the code. All 16-bit macros, types, and 
10097 conditional compiles have been removed, cleaning up and simplifying the 
10098 code 
10099 across the entire subsystem. DOS support is no longer needed since the 
10100 bootable Linux firmware kit is now available.
10101
10102 The handler for the Global Lock is now removed during AcpiTerminate to 
10103 enable a clean subsystem restart, via the implementation of the 
10104 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
10105 HP)
10106
10107 Implemented enhancements to the multithreading support within the 
10108 debugger 
10109 to enable improved multithreading debugging and evaluation of the 
10110 subsystem. 
10111 (Valery Podrezov)
10112
10113 Debugger: Enhanced the Statistics/Memory command to emit the total 
10114 (maximum) 
10115 memory used during the execution, as well as the maximum memory consumed 
10116 by 
10117 each of the various object types. (Valery Podrezov)
10118
10119 Example Code and Data Size: These are the sizes for the OS-independent 
10120 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10121 debug version of the code includes the debug output trace mechanism and 
10122 has 
10123 a much larger code and data size.
10124
10125   Previous Release:
10126     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
10127     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
10128   Current Release:
10129     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
10130     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
10131
10132
10133 2) iASL Compiler/Disassembler and Tools:
10134
10135 AcpiExec: Implemented a new option (-m) to display full memory use 
10136 statistics upon subsystem/program termination. (Valery Podrezov)
10137
10138 ----------------------------------------
10139 09 November 2006. Summary of changes for version 20061109:
10140
10141 1) ACPI CA Core Subsystem:
10142
10143 Optimized the Load ASL operator in the case where the source operand is 
10144 an 
10145 operation region. Simply map the operation region memory, instead of 
10146 performing a bytewise read. (Region must be of type SystemMemory, see 
10147 below.)
10148
10149 Fixed the Load ASL operator for the case where the source operand is a 
10150 region field. A buffer object is also allowed as the source operand. BZ 
10151 480
10152
10153 Fixed a problem where the Load ASL operator allowed the source operand to 
10154 be 
10155 an operation region of any type. It is now restricted to regions of type 
10156 SystemMemory, as per the ACPI specification. BZ 481
10157
10158 Additional cleanup and optimizations for the new Table Manager code.
10159
10160 AcpiEnable will now fail if all of the required ACPI tables are not 
10161 loaded 
10162 (FADT, FACS, DSDT). BZ 477
10163
10164 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
10165 this 
10166 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
10167 manually optimized to be aligned and will not work if it is byte-packed. 
10168
10169 Example Code and Data Size: These are the sizes for the OS-independent 
10170 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10171 debug version of the code includes the debug output trace mechanism and 
10172 has 
10173 a much larger code and data size.
10174
10175   Previous Release:
10176     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
10177     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
10178   Current Release:
10179     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
10180     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
10181
10182
10183 2) iASL Compiler/Disassembler and Tools:
10184
10185 Fixed a problem where the presence of the _OSI predefined control method 
10186 within complex expressions could cause an internal compiler error.
10187
10188 AcpiExec: Implemented full region support for multiple address spaces. 
10189 SpaceId is now part of the REGION object. BZ 429
10190
10191 ----------------------------------------
10192 11 October 2006. Summary of changes for version 20061011:
10193
10194 1) ACPI CA Core Subsystem:
10195
10196 Completed an AML interpreter performance enhancement for control method 
10197 execution. Previously a 2-pass parse/execution, control methods are now 
10198 completely parsed and executed in a single pass. This improves overall 
10199 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
10200 use. (Valery Podrezov + interpreter changes in version 20051202 that 
10201 eliminated namespace loading during the pass one parse.)
10202
10203 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
10204 not 
10205 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
10206 now 
10207 obtained and also checked for an ID match.
10208
10209 Implemented additional support for the PCI _ADR execution: upsearch until 
10210
10211 device scope is found before executing _ADR. This allows PCI_Config 
10212 operation regions to be declared locally within control methods 
10213 underneath 
10214 PCI device objects.
10215
10216 Fixed a problem with a possible race condition between threads executing 
10217 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
10218 modifying AcpiWalkNamespace to (by default) ignore all temporary 
10219 namespace 
10220 entries created during any concurrent control method execution. An 
10221 additional namespace race condition is known to exist between 
10222 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
10223 investigation.
10224
10225 Restructured the AML ParseLoop function, breaking it into several 
10226 subfunctions in order to reduce CPU stack use and improve 
10227 maintainability. 
10228 (Mikhail Kouzmich)
10229
10230 AcpiGetHandle: Fix for parameter validation to detect invalid 
10231 combinations 
10232 of prefix handle and pathname. BZ 478
10233
10234 Example Code and Data Size: These are the sizes for the OS-independent 
10235 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10236 debug version of the code includes the debug output trace mechanism and 
10237 has 
10238 a much larger code and data size.
10239
10240   Previous Release:
10241     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10242     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
10243   Current Release:
10244     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
10245     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
10246
10247 2) iASL Compiler/Disassembler and Tools:
10248
10249 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
10250 Manager 
10251 to restore original behavior.
10252
10253 ----------------------------------------
10254 27 September 2006. Summary of changes for version 20060927:
10255
10256 1) ACPI CA Core Subsystem:
10257
10258 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
10259 These functions now use a spinlock for mutual exclusion and the interrupt 
10260 level indication flag is not needed.
10261
10262 Fixed a problem with the Global Lock where the lock could appear to be 
10263 obtained before it is actually obtained. The global lock semaphore was 
10264 inadvertently created with one unit instead of zero units. (BZ 464) 
10265 Fiodor 
10266 Suietov.
10267
10268 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
10269 during 
10270 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
10271
10272 Example Code and Data Size: These are the sizes for the OS-independent 
10273 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10274 debug version of the code includes the debug output trace mechanism and 
10275 has 
10276 a much larger code and data size.
10277
10278   Previous Release:
10279     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10280     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
10281   Current Release:
10282     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10283     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
10284
10285
10286 2) iASL Compiler/Disassembler and Tools:
10287
10288 Fixed a compilation problem with the pre-defined Resource Descriptor 
10289 field 
10290 names where an "object does not exist" error could be incorrectly 
10291 generated 
10292 if the parent ResourceTemplate pathname places the template within a 
10293 different namespace scope than the current scope. (BZ 7212)
10294
10295 Fixed a problem where the compiler could hang after syntax errors 
10296 detected 
10297 in an ElseIf construct. (BZ 453)
10298
10299 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
10300 operator. An incorrect output filename was produced when this parameter 
10301 was 
10302 a null string (""). Now, the original input filename is used as the AML 
10303 output filename, with an ".aml" extension.
10304
10305 Implemented a generic batch command mode for the AcpiExec utility 
10306 (execute 
10307 any AML debugger command) (Valery Podrezov).
10308
10309 ----------------------------------------
10310 12 September 2006. Summary of changes for version 20060912:
10311
10312 1) ACPI CA Core Subsystem:
10313
10314 Enhanced the implementation of the "serialized mode" of the interpreter 
10315 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
10316 specified, instead of creating a serialization semaphore per control 
10317 method, 
10318 the interpreter lock is simply no longer released before a blocking 
10319 operation during control method execution. This effectively makes the AML 
10320 Interpreter single-threaded. The overhead of a semaphore per-method is 
10321 eliminated.
10322
10323 Fixed a regression where an error was no longer emitted if a control 
10324 method 
10325 attempts to create 2 objects of the same name. This once again returns 
10326 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
10327 that 
10328 will dynamically serialize the control method to possible prevent future 
10329 errors. (BZ 440)
10330
10331 Integrated a fix for a problem with PCI Express HID detection in the PCI 
10332 Config Space setup procedure. (BZ 7145)
10333
10334 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
10335 AcpiHwInitialize function - the FADT registers are now validated when the 
10336 table is loaded.
10337
10338 Added two new warnings during FADT verification - 1) if the FADT is 
10339 larger 
10340 than the largest known FADT version, and 2) if there is a mismatch 
10341 between 
10342
10343 32-bit block address and the 64-bit X counterpart (when both are non-
10344 zero.)
10345
10346 Example Code and Data Size: These are the sizes for the OS-independent 
10347 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10348 debug version of the code includes the debug output trace mechanism and 
10349 has 
10350 a much larger code and data size.
10351
10352   Previous Release:
10353     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
10354     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
10355   Current Release:
10356     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
10357     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
10358
10359
10360 2) iASL Compiler/Disassembler and Tools:
10361
10362 Fixed a problem with the implementation of the Switch() operator where 
10363 the 
10364 temporary variable was declared too close to the actual Switch, instead 
10365 of 
10366 at method level. This could cause a problem if the Switch() operator is 
10367 within a while loop, causing an error on the second iteration. (BZ 460)
10368
10369 Disassembler - fix for error emitted for unknown type for target of scope 
10370 operator. Now, ignore it and continue.
10371
10372 Disassembly of an FADT now verifies the input FADT and reports any errors 
10373 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
10374
10375 Disassembly of raw data buffers with byte initialization data now 
10376 prefixes 
10377 each output line with the current buffer offset.
10378
10379 Disassembly of ASF! table now includes all variable-length data fields at 
10380 the end of some of the subtables.
10381
10382 The disassembler now emits a comment if a buffer appears to be a 
10383 ResourceTemplate, but cannot be disassembled as such because the EndTag 
10384 does 
10385 not appear at the very end of the buffer.
10386
10387 AcpiExec - Added the "-t" command line option to enable the serialized 
10388 mode 
10389 of the AML interpreter.
10390
10391 ----------------------------------------
10392 31 August 2006. Summary of changes for version 20060831:
10393
10394 1) ACPI CA Core Subsystem:
10395
10396 Miscellaneous fixes for the Table Manager:
10397 - Correctly initialize internal common FADT for all 64-bit "X" fields
10398 - Fixed a couple table mapping issues during table load
10399 - Fixed a couple alignment issues for IA64
10400 - Initialize input array to zero in AcpiInitializeTables
10401 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
10402 AcpiGetTableByIndex
10403
10404 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
10405 now 
10406 immediately disabled to prevent the waking GPE from firing again and to 
10407 prevent other wake GPEs from interrupting the wake process.
10408
10409 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
10410 to 
10411 be used for debugging systems with a large number of ACPI interrupts.
10412
10413 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
10414 both the ACPICA headers and the disassembler.
10415
10416 Example Code and Data Size: These are the sizes for the OS-independent 
10417 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10418 debug version of the code includes the debug output trace mechanism and 
10419 has 
10420 a much larger code and data size.
10421
10422   Previous Release:
10423     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10424     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10425   Current Release:
10426     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
10427     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
10428
10429
10430 2) iASL Compiler/Disassembler and Tools:
10431
10432 Disassembler support for the DMAR ACPI table.
10433
10434 ----------------------------------------
10435 23 August 2006. Summary of changes for version 20060823:
10436
10437 1) ACPI CA Core Subsystem:
10438
10439 The Table Manager component has been completely redesigned and 
10440 reimplemented. The new design is much simpler, and reduces the overall 
10441 code 
10442 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
10443 is 
10444 now possible to obtain the ACPI tables very early during kernel 
10445 initialization, even before dynamic memory management is initialized. 
10446 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
10447
10448 Obsolete ACPICA interfaces:
10449
10450 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
10451 init 
10452 time).
10453 - AcpiLoadTable: Not needed.
10454 - AcpiUnloadTable: Not needed.
10455
10456 New ACPICA interfaces:
10457
10458 - AcpiInitializeTables: Must be called before the table manager can be 
10459 used.
10460 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
10461 allocated memory after it becomes available.
10462 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
10463 tables 
10464 in the RSDT/XSDT.
10465
10466 Other ACPICA changes:
10467
10468 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
10469 Use 
10470 AcpiOsUnmapMemory to free this mapping.
10471 - AcpiGetTable returns the actual mapped table. The mapping is managed 
10472 internally and must not be deleted by the caller. Use of this interface 
10473 causes no additional dynamic memory allocation.
10474 - AcpiFindRootPointer: Support for physical addressing has been 
10475 eliminated, 
10476 it appeared to be unused.
10477 - The interface to AcpiOsMapMemory has changed to be consistent with the 
10478 other allocation interfaces.
10479 - The interface to AcpiOsGetRootPointer has changed to eliminate 
10480 unnecessary 
10481 parameters.
10482 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
10483 64-
10484 bit platforms. Was previously 64 bits on all platforms.
10485 - The interface to the ACPI Global Lock acquire/release macros have 
10486 changed 
10487 slightly since ACPICA no longer keeps a local copy of the FACS with a 
10488 constructed pointer to the actual global lock.
10489
10490 Porting to the new table manager:
10491
10492 - AcpiInitializeTables: Must be called once, and can be called anytime 
10493 during the OS initialization process. It allows the host to specify an 
10494 area 
10495 of memory to be used to store the internal version of the RSDT/XSDT (root 
10496 table). This allows the host to access ACPI tables before memory 
10497 management 
10498 is initialized and running.
10499 - AcpiReallocateRootTable: Can be called after memory management is 
10500 running 
10501 to copy the root table to a dynamically allocated array, freeing up the 
10502 scratch memory specified in the call to AcpiInitializeTables.
10503 - AcpiSubsystemInitialize: This existing interface is independent of the 
10504 Table Manager, and does not have to be called before the Table Manager 
10505 can 
10506 be used, it only must be called before the rest of ACPICA can be used.
10507 - ACPI Tables: Some changes have been made to the names and structure of 
10508 the 
10509 actbl.h and actbl1.h header files and may require changes to existing 
10510 code. 
10511 For example, bitfields have been completely removed because of their lack 
10512 of 
10513 portability across C compilers.
10514 - Update interfaces to the Global Lock acquire/release macros if local 
10515 versions are used. (see acwin.h)
10516
10517 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
10518
10519 New files: tbfind.c
10520
10521 Example Code and Data Size: These are the sizes for the OS-independent 
10522 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10523 debug version of the code includes the debug output trace mechanism and 
10524 has 
10525 a much larger code and data size.
10526
10527   Previous Release:
10528     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10529     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10530   Current Release:
10531     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
10532     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
10533
10534
10535 2) iASL Compiler/Disassembler and Tools:
10536
10537 No changes for this release.
10538
10539 ----------------------------------------
10540 21 July 2006. Summary of changes for version 20060721:
10541
10542 1) ACPI CA Core Subsystem:
10543
10544 The full source code for the ASL test suite used to validate the iASL 
10545 compiler and the ACPICA core subsystem is being released with the ACPICA 
10546 source for the first time. The source is contained in a separate package 
10547 and 
10548 consists of over 1100 files that exercise all ASL/AML operators. The 
10549 package 
10550 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
10551 Fiodor 
10552 Suietov)
10553
10554 Completed a new design and implementation for support of the ACPI Global 
10555 Lock. On the OS side, the global lock is now treated as a standard AML 
10556 mutex. Previously, multiple OS threads could "acquire" the global lock 
10557 simultaneously. However, this could cause the BIOS to be starved out of 
10558 the 
10559 lock - especially in cases such as the Embedded Controller driver where 
10560 there is a tight coupling between the OS and the BIOS.
10561
10562 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
10563 The Global Lock interrupt handler no longer queues the execution of a 
10564 separate thread to signal the global lock semaphore. Instead, the 
10565 semaphore 
10566 is signaled directly from the interrupt handler.
10567
10568 Implemented support within the AML interpreter for package objects that 
10569 contain a larger AML length (package list length) than the package 
10570 element 
10571 count. In this case, the length of the package is truncated to match the 
10572 package element count. Some BIOS code apparently modifies the package 
10573 length 
10574 on the fly, and this change supports this behavior. Provides 
10575 compatibility 
10576 with the MS AML interpreter. (With assistance from Fiodor Suietov)
10577
10578 Implemented a temporary fix for the BankValue parameter of a Bank Field 
10579 to 
10580 support all constant values, now including the Zero and One opcodes. 
10581 Evaluation of this parameter must eventually be converted to a full 
10582 TermArg 
10583 evaluation. A not-implemented error is now returned (temporarily) for 
10584 non-
10585 constant values for this parameter.
10586
10587 Fixed problem reports (Fiodor Suietov) integrated:
10588 - Fix for premature object deletion after CopyObject on Operation Region 
10589 (BZ 
10590 350)
10591
10592 Example Code and Data Size: These are the sizes for the OS-independent 
10593 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10594 debug version of the code includes the debug output trace mechanism and 
10595 has 
10596 a much larger code and data size.
10597
10598   Previous Release:
10599     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
10600     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
10601   Current Release:
10602     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10603     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10604
10605
10606 2) iASL Compiler/Disassembler and Tools:
10607
10608 No changes for this release.
10609
10610 ----------------------------------------
10611 07 July 2006. Summary of changes for version 20060707:
10612
10613 1) ACPI CA Core Subsystem:
10614
10615 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
10616 that do not allow the initialization of address pointers within packed 
10617 structures - even though the hardware itself may support misaligned 
10618 transfers. Some of the debug data structures are packed by default to 
10619 minimize size.
10620
10621 Added an error message for the case where AcpiOsGetThreadId() returns 
10622 zero. 
10623 A non-zero value is required by the core ACPICA code to ensure the proper 
10624 operation of AML mutexes and recursive control methods.
10625
10626 The DSDT is now the only ACPI table that determines whether the AML 
10627 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
10628 but 
10629 the hooks for per-table 32/64 switching have been removed from the code. 
10630
10631 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
10632
10633 Fixed a possible leak of an OwnerID in the error path of 
10634 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
10635 deletion to a single place in AcpiTbUninstallTable to correct possible 
10636 leaks 
10637 when using the AcpiTbDeleteTablesByType interface (with assistance from 
10638 Lance Ortiz.)
10639
10640 Fixed a problem with Serialized control methods where the semaphore 
10641 associated with the method could be over-signaled after multiple method 
10642 invocations.
10643
10644 Fixed two issues with the locking of the internal namespace data 
10645 structure. 
10646 Both the Unload() operator and AcpiUnloadTable interface now lock the 
10647 namespace during the namespace deletion associated with the table unload 
10648 (with assistance from Linn Crosetto.)
10649
10650 Fixed problem reports (Valery Podrezov) integrated:
10651 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
10652
10653 Fixed problem reports (Fiodor Suietov) integrated:
10654 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
10655 - On Address Space handler deletion, needless deactivation call (BZ 374)
10656 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
10657 375)
10658 - Possible memory leak, Notify sub-objects of Processor, Power, 
10659 ThermalZone 
10660 (BZ 376)
10661 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
10662 - Minimum Length of RSDT should be validated (BZ 379)
10663 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
10664 Handler (BZ (380)
10665 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
10666 loaded 
10667 (BZ 381)
10668
10669 Example Code and Data Size: These are the sizes for the OS-independent 
10670 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10671 debug version of the code includes the debug output trace mechanism and 
10672 has 
10673 a much larger code and data size.
10674
10675   Previous Release:
10676     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10677     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10678   Current Release:
10679     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
10680     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
10681
10682
10683 2) iASL Compiler/Disassembler and Tools:
10684
10685 Fixed problem reports:
10686 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
10687 436)
10688
10689 ----------------------------------------
10690 23 June 2006. Summary of changes for version 20060623:
10691
10692 1) ACPI CA Core Subsystem:
10693
10694 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
10695 allows the type to be customized to the host OS for improved efficiency 
10696 (since a spinlock is usually a very small object.)
10697
10698 Implemented support for "ignored" bits in the ACPI registers. According 
10699 to 
10700 the ACPI specification, these bits should be preserved when writing the 
10701 registers via a read/modify/write cycle. There are 3 bits preserved in 
10702 this 
10703 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
10704
10705 Implemented the initial deployment of new OSL mutex interfaces. Since 
10706 some 
10707 host operating systems have separate mutex and semaphore objects, this 
10708 feature was requested. The base code now uses mutexes (and the new mutex 
10709 interfaces) wherever a binary semaphore was used previously. However, for 
10710 the current release, the mutex interfaces are defined as macros to map 
10711 them 
10712 to the existing semaphore interfaces. Therefore, no OSL changes are 
10713 required 
10714 at this time. (See acpiosxf.h)
10715
10716 Fixed several problems with the support for the control method SyncLevel 
10717 parameter. The SyncLevel now works according to the ACPI specification 
10718 and 
10719 in concert with the Mutex SyncLevel parameter, since the current 
10720 SyncLevel 
10721 is a property of the executing thread. Mutual exclusion for control 
10722 methods 
10723 is now implemented with a mutex instead of a semaphore.
10724
10725 Fixed three instances of the use of the C shift operator in the bitfield 
10726 support code (exfldio.c) to avoid the use of a shift value larger than 
10727 the 
10728 target data width. The behavior of C compilers is undefined in this case 
10729 and 
10730 can cause unpredictable results, and therefore the case must be detected 
10731 and 
10732 avoided. (Fiodor Suietov)
10733
10734 Added an info message whenever an SSDT or OEM table is loaded dynamically 
10735 via the Load() or LoadTable() ASL operators. This should improve 
10736 debugging 
10737 capability since it will show exactly what tables have been loaded 
10738 (beyond 
10739 the tables present in the RSDT/XSDT.)
10740
10741 Example Code and Data Size: These are the sizes for the OS-independent 
10742 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10743 debug version of the code includes the debug output trace mechanism and 
10744 has 
10745 a much larger code and data size.
10746
10747   Previous Release:
10748     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10749     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10750   Current Release:
10751     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
10752     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
10753
10754
10755 2) iASL Compiler/Disassembler and Tools:
10756
10757 No changes for this release.
10758
10759 ----------------------------------------
10760 08 June 2006. Summary of changes for version 20060608:
10761
10762 1) ACPI CA Core Subsystem:
10763
10764 Converted the locking mutex used for the ACPI hardware to a spinlock. 
10765 This 
10766 change should eliminate all problems caused by attempting to acquire a 
10767 semaphore at interrupt level, and it means that all ACPICA external 
10768 interfaces that directly access the ACPI hardware can be safely called 
10769 from 
10770 interrupt level. OSL code that implements the semaphore interfaces should 
10771 be 
10772 able to eliminate any workarounds for being called at interrupt level.
10773
10774 Fixed a regression introduced in 20060526 where the ACPI device 
10775 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
10776 device 
10777 did not have an optional _INI method.
10778
10779 Fixed an IndexField issue where a write to the Data Register should be 
10780 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
10781 433, 
10782 Fiodor Suietov)
10783
10784 Fixed problem reports (Valery Podrezov) integrated:
10785 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
10786
10787 Fixed problem reports (Fiodor Suietov) integrated:
10788 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
10789
10790 Removed four global mutexes that were obsolete and were no longer being 
10791 used.
10792
10793 Example Code and Data Size: These are the sizes for the OS-independent 
10794 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10795 debug version of the code includes the debug output trace mechanism and 
10796 has 
10797 a much larger code and data size.
10798
10799   Previous Release:
10800     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10801     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10802   Current Release:
10803     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10804     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10805
10806
10807 2) iASL Compiler/Disassembler and Tools:
10808
10809 Fixed a fault when using -g option (get tables from registry) on Windows 
10810 machines.
10811
10812 Fixed problem reports integrated:
10813 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
10814 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
10815 Suietov)
10816 - Global table revision override (-r) is ignored (BZ 413)
10817
10818 ----------------------------------------
10819 26 May 2006. Summary of changes for version 20060526:
10820
10821 1) ACPI CA Core Subsystem:
10822
10823 Restructured, flattened, and simplified the internal interfaces for 
10824 namespace object evaluation - resulting in smaller code, less CPU stack 
10825 use, 
10826 and fewer interfaces. (With assistance from Mikhail Kouzmich)
10827
10828 Fixed a problem with the CopyObject operator where the first parameter 
10829 was 
10830 not typed correctly for the parser, interpreter, compiler, and 
10831 disassembler. 
10832 Caused various errors and unexpected behavior.
10833
10834 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
10835 produced incorrect results with some C compilers. Since the behavior of C 
10836 compilers when the shift value is larger than the datatype width is 
10837 apparently not well defined, the interpreter now detects this condition 
10838 and 
10839 simply returns zero as expected in all such cases. (BZ 395)
10840
10841 Fixed problem reports (Valery Podrezov) integrated:
10842 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
10843 - Allow interpreter to handle nested method declarations (BZ 5361)
10844
10845 Fixed problem reports (Fiodor Suietov) integrated:
10846 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
10847 355)
10848 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
10849 356)
10850 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
10851 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
10852 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
10853 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
10854 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
10855 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
10856 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
10857 365)
10858 - Status of the Global Initialization Handler call not used (BZ 366)
10859 - Incorrect object parameter to Global Initialization Handler (BZ 367)
10860
10861 Example Code and Data Size: These are the sizes for the OS-independent 
10862 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10863 debug version of the code includes the debug output trace mechanism and 
10864 has 
10865 a much larger code and data size.
10866
10867   Previous Release:
10868     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10869     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10870   Current Release:
10871     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10872     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10873
10874
10875 2) iASL Compiler/Disassembler and Tools:
10876
10877 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
10878 namespace identifiers with no collision with existing resource descriptor 
10879 macro names. This provides compatibility with other ASL compilers and is 
10880 most useful for disassembly/recompilation of existing tables without 
10881 parse 
10882 errors. (With assistance from Thomas Renninger)
10883
10884 Disassembler: fixed an incorrect disassembly problem with the 
10885 DataTableRegion and CopyObject operators. Fixed a possible fault during 
10886 disassembly of some Alias operators.
10887
10888 ----------------------------------------
10889 12 May 2006. Summary of changes for version 20060512:
10890
10891 1) ACPI CA Core Subsystem:
10892
10893 Replaced the AcpiOsQueueForExecution interface with a new interface named 
10894 AcpiOsExecute. The major difference is that the new interface does not 
10895 have 
10896 a Priority parameter, this appeared to be useless and has been replaced 
10897 by 
10898
10899 Type parameter. The Type tells the host what type of execution is being 
10900 requested, such as global lock handler, notify handler, GPE handler, etc. 
10901 This allows the host to queue and execute the request as appropriate for 
10902 the 
10903 request type, possibly using different work queues and different 
10904 priorities 
10905 for the various request types. This enables fixes for multithreading 
10906 deadlock problems such as BZ #5534, and will require changes to all 
10907 existing 
10908 OS interface layers. (Alexey Starikovskiy and Bob Moore)
10909
10910 Fixed a possible memory leak associated with the support for the so-
10911 called 
10912 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
10913 Suietov)
10914
10915 Fixed a problem with the Load() operator where a table load from an 
10916 operation region could overwrite an internal table buffer by up to 7 
10917 bytes 
10918 and cause alignment faults on IPF systems. (With assistance from Luming 
10919 Yu)
10920
10921 Example Code and Data Size: These are the sizes for the OS-independent 
10922 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10923 debug version of the code includes the debug output trace mechanism and 
10924 has 
10925 a much larger code and data size.
10926
10927   Previous Release:
10928     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10929     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10930   Current Release:
10931     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10932     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10933
10934
10935
10936 2) iASL Compiler/Disassembler and Tools:
10937
10938 Disassembler: Implemented support to cross reference the internal 
10939 namespace 
10940 and automatically generate ASL External() statements for symbols not 
10941 defined 
10942 within the current table being disassembled. This will simplify the 
10943 disassembly and recompilation of interdependent tables such as SSDTs 
10944 since 
10945 these statements will no longer have to be added manually.
10946
10947 Disassembler: Implemented experimental support to automatically detect 
10948 invocations of external control methods and generate appropriate 
10949 External() 
10950 statements. This is problematic because the AML cannot be correctly 
10951 parsed 
10952 until the number of arguments for each control method is known. 
10953 Currently, 
10954 standalone method invocations and invocations as the source operand of a 
10955 Store() statement are supported.
10956
10957 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
10958 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
10959 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
10960 more readable and likely closer to the original ASL source.
10961
10962 ----------------------------------------
10963 21 April 2006. Summary of changes for version 20060421:
10964
10965 1) ACPI CA Core Subsystem:
10966
10967 Removed a device initialization optimization introduced in 20051216 where 
10968 the _STA method was not run unless an _INI was also present for the same 
10969 device. This optimization could cause problems because it could allow 
10970 _INI 
10971 methods to be run within a not-present device subtree. (If a not-present 
10972 device had no _INI, _STA would not be run, the not-present status would 
10973 not 
10974 be discovered, and the children of the device would be incorrectly 
10975 traversed.)
10976
10977 Implemented a new _STA optimization where namespace subtrees that do not 
10978 contain _INI are identified and ignored during device initialization. 
10979 Selectively running _STA can significantly improve boot time on large 
10980 machines (with assistance from Len Brown.)
10981
10982 Implemented support for the device initialization case where the returned 
10983 _STA flags indicate a device not-present but functioning. In this case, 
10984 _INI 
10985 is not run, but the device children are examined for presence, as per the 
10986 ACPI specification.
10987
10988 Implemented an additional change to the IndexField support in order to 
10989 conform to MS behavior. The value written to the Index Register is not 
10990 simply a byte offset, it is a byte offset in units of the access width of 
10991 the parent Index Field. (Fiodor Suietov)
10992
10993 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
10994 interface is called during the creation of all AML operation regions, and 
10995 allows the host OS to exert control over what addresses it will allow the 
10996 AML code to access. Operation Regions whose addresses are disallowed will 
10997 cause a runtime exception when they are actually accessed (will not 
10998 affect 
10999 or abort table loading.) See oswinxf or osunixxf for an example 
11000 implementation.
11001
11002 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
11003 interface allows the host OS to match the various "optional" 
11004 interface/behavior strings for the _OSI predefined control method as 
11005 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
11006 for an example implementation.
11007
11008 Restructured and corrected various problems in the exception handling 
11009 code 
11010 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
11011 (with assistance from Takayoshi Kochi.)
11012
11013 Modified the Linux source converter to ignore quoted string literals 
11014 while 
11015 converting identifiers from mixed to lower case. This will correct 
11016 problems 
11017 with the disassembler and other areas where such strings must not be 
11018 modified.
11019
11020 The ACPI_FUNCTION_* macros no longer require quotes around the function 
11021 name. This allows the Linux source converter to convert the names, now 
11022 that 
11023 the converter ignores quoted strings.
11024
11025 Example Code and Data Size: These are the sizes for the OS-independent 
11026 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
11027 debug version of the code includes the debug output trace mechanism and 
11028 has 
11029 a much larger code and data size.
11030
11031   Previous Release:
11032
11033     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
11034     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
11035   Current Release:
11036     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
11037     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
11038
11039
11040 2) iASL Compiler/Disassembler and Tools:
11041
11042 Implemented 3 new warnings for iASL, and implemented multiple warning 
11043 levels 
11044 (w2 flag).
11045
11046 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
11047 not 
11048 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
11049 check for the possible timeout, a warning is issued.
11050
11051 2) Useless operators: If an ASL operator does not specify an optional 
11052 target 
11053 operand and it also does not use the function return value from the 
11054 operator, a warning is issued since the operator effectively does 
11055 nothing.
11056
11057 3) Unreferenced objects: If a namespace object is created, but never 
11058 referenced, a warning is issued. This is a warning level 2 since there 
11059 are 
11060 cases where this is ok, such as when a secondary table is loaded that 
11061 uses 
11062 the unreferenced objects. Even so, care is taken to only flag objects 
11063 that 
11064 don't look like they will ever be used. For example, the reserved methods 
11065 (starting with an underscore) are usually not referenced because it is 
11066 expected that the OS will invoke them.
11067
11068 ----------------------------------------
11069 31 March 2006. Summary of changes for version 20060331:
11070
11071 1) ACPI CA Core Subsystem:
11072
11073 Implemented header file support for the following additional ACPI tables: 
11074 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
11075 support, 
11076 all current and known ACPI tables are now defined in the ACPICA headers 
11077 and 
11078 are available for use by device drivers and other software.
11079
11080 Implemented support to allow tables that contain ACPI names with invalid 
11081 characters to be loaded. Previously, this would cause the table load to 
11082 fail, but since there are several known cases of such tables on existing 
11083 machines, this change was made to enable ACPI support for them. Also, 
11084 this 
11085 matches the behavior of the Microsoft ACPI implementation.
11086
11087 Fixed a couple regressions introduced during the memory optimization in 
11088 the 
11089 20060317 release. The namespace node definition required additional 
11090 reorganization and an internal datatype that had been changed to 8-bit 
11091 was 
11092 restored to 32-bit. (Valery Podrezov)
11093
11094 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
11095 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
11096 null pointers are now trapped and ignored, matching the behavior of the 
11097 previous implementation before the deployment of AcpiOsReleaseObject.
11098 (Valery Podrezov, Fiodor Suietov)
11099
11100 Fixed a memory mapping leak during the deletion of a SystemMemory 
11101 operation 
11102 region where a cached memory mapping was not deleted. This became a 
11103 noticeable problem for operation regions that are defined within 
11104 frequently 
11105 used control methods. (Dana Meyers)
11106
11107 Reorganized the ACPI table header files into two main files: one for the 
11108 ACPI tables consumed by the ACPICA core, and another for the 
11109 miscellaneous 
11110 ACPI tables that are consumed by the drivers and other software. The 
11111 various 
11112 FADT definitions were merged into one common section and three different 
11113 tables (ACPI 1.0, 1.0+, and 2.0)
11114
11115 Example Code and Data Size: These are the sizes for the OS-independent 
11116 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
11117 debug version of the code includes the debug output trace mechanism and 
11118 has 
11119 a much larger code and data size.
11120
11121   Previous Release:
11122     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
11123     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
11124   Current Release:
11125     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
11126     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
11127
11128
11129 2) iASL Compiler/Disassembler and Tools:
11130
11131 Disassembler: Implemented support to decode and format all non-AML ACPI 
11132 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
11133 added to the ACPICA headers, therefore all current and known ACPI tables 
11134 are 
11135 supported.
11136
11137 Disassembler: The change to allow ACPI names with invalid characters also 
11138 enables the disassembly of such tables. Invalid characters within names 
11139 are 
11140 changed to '*' to make the name printable; the iASL compiler will still 
11141 generate an error for such names, however, since this is an invalid ACPI 
11142 character.
11143
11144 Implemented an option for AcpiXtract (-a) to extract all tables found in 
11145 the 
11146 input file. The default invocation extracts only the DSDTs and SSDTs.
11147
11148 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
11149 makefile for the AcpiXtract utility.
11150
11151 ----------------------------------------
11152 17 March 2006. Summary of changes for version 20060317:
11153
11154 1) ACPI CA Core Subsystem:
11155
11156 Implemented the use of a cache object for all internal namespace nodes. 
11157 Since there are about 1000 static nodes in a typical system, this will 
11158 decrease memory use for cache implementations that minimize per-
11159 allocation 
11160 overhead (such as a slab allocator.)
11161
11162 Removed the reference count mechanism for internal namespace nodes, since 
11163 it 
11164 was deemed unnecessary. This reduces the size of each namespace node by 
11165 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
11166 case, 
11167 and 32 bytes for the 64-bit case.
11168
11169 Optimized several internal data structures to reduce object size on 64-
11170 bit 
11171 platforms by packing data within the 64-bit alignment. This includes the 
11172 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
11173 instances corresponding to the namespace objects.
11174
11175 Added two new strings for the predefined _OSI method: "Windows 2001.1 
11176 SP1" 
11177 and "Windows 2006".
11178
11179 Split the allocation tracking mechanism out to a separate file, from 
11180 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
11181 application-level code. Kernels may wish to not include uttrack.c in 
11182 distributions.
11183
11184 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
11185 associated 
11186 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
11187 macros.)
11188
11189 Code and Data Size: These are the sizes for the acpica.lib produced by 
11190 the 
11191 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
11192 ACPI 
11193 driver or OSPM code. The debug version of the code includes the debug 
11194 output 
11195 trace mechanism and has a much larger code and data size. Note that these 
11196 values will vary depending on the efficiency of the compiler and the 
11197 compiler options used during generation.
11198
11199   Previous Release:
11200     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11201     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
11202   Current Release:
11203     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
11204     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
11205
11206
11207 2) iASL Compiler/Disassembler and Tools:
11208
11209 Implemented an ANSI C version of the acpixtract utility. This version 
11210 will 
11211 automatically extract the DSDT and all SSDTs from the input acpidump text 
11212 file and dump the binary output to separate files. It can also display a 
11213 summary of the input file including the headers for each table found and 
11214 will extract any single ACPI table, with any signature. (See 
11215 source/tools/acpixtract)
11216
11217 ----------------------------------------
11218 10 March 2006. Summary of changes for version 20060310:
11219
11220 1) ACPI CA Core Subsystem:
11221
11222 Tagged all external interfaces to the subsystem with the new 
11223 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
11224 assist 
11225 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
11226 macro. The default definition is NULL.
11227
11228 Added the ACPI_THREAD_ID type for the return value from 
11229 AcpiOsGetThreadId. 
11230 This allows the host to define this as necessary to simplify kernel 
11231 integration. The default definition is ACPI_NATIVE_UINT.
11232
11233 Fixed two interpreter problems related to error processing, the deletion 
11234 of 
11235 objects, and placing invalid pointers onto the internal operator result 
11236 stack. BZ 6028, 6151 (Valery Podrezov)
11237
11238 Increased the reference count threshold where a warning is emitted for 
11239 large 
11240 reference counts in order to eliminate unnecessary warnings on systems 
11241 with 
11242 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
11243 0x800.
11244
11245 Due to universal disagreement as to the meaning of the 'c' in the 
11246 calloc() 
11247 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
11248 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
11249 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
11250 ACPI_FREE.
11251
11252 Code and Data Size: These are the sizes for the acpica.lib produced by 
11253 the 
11254 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
11255 ACPI 
11256 driver or OSPM code. The debug version of the code includes the debug 
11257 output 
11258 trace mechanism and has a much larger code and data size. Note that these 
11259 values will vary depending on the efficiency of the compiler and the 
11260 compiler options used during generation.
11261
11262   Previous Release:
11263     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
11264     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
11265   Current Release:
11266     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11267     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
11268
11269
11270 2) iASL Compiler/Disassembler:
11271
11272 Disassembler: implemented support for symbolic resource descriptor 
11273 references. If a CreateXxxxField operator references a fixed offset 
11274 within 
11275
11276 resource descriptor, a name is assigned to the descriptor and the offset 
11277 is 
11278 translated to the appropriate resource tag and pathname. The addition of 
11279 this support brings the disassembled code very close to the original ASL 
11280 source code and helps eliminate run-time errors when the disassembled 
11281 code 
11282 is modified (and recompiled) in such a way as to invalidate the original 
11283 fixed offsets.
11284
11285 Implemented support for a Descriptor Name as the last parameter to the 
11286 ASL 
11287 Register() macro. This parameter was inadvertently left out of the ACPI 
11288 specification, and will be added for ACPI 3.0b.
11289
11290 Fixed a problem where the use of the "_OSI" string (versus the full path 
11291 "\_OSI") caused an internal compiler error. ("No back ptr to op")
11292
11293 Fixed a problem with the error message that occurs when an invalid string 
11294 is 
11295 used for a _HID object (such as one with an embedded asterisk: 
11296 "*PNP010A".) 
11297 The correct message is now displayed.
11298
11299 ----------------------------------------
11300 17 February 2006. Summary of changes for version 20060217:
11301
11302 1) ACPI CA Core Subsystem:
11303
11304 Implemented a change to the IndexField support to match the behavior of 
11305 the 
11306 Microsoft AML interpreter. The value written to the Index register is now 
11307
11308 byte offset, no longer an index based upon the width of the Data 
11309 register. 
11310 This should fix IndexField problems seen on some machines where the Data 
11311 register is not exactly one byte wide. The ACPI specification will be 
11312 clarified on this point.
11313
11314 Fixed a problem where several resource descriptor types could overrun the 
11315 internal descriptor buffer due to size miscalculation: VendorShort, 
11316 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
11317 affect all platforms.
11318
11319 Fixed a problem where individual resource descriptors were misaligned 
11320 within 
11321 the internal buffer, causing alignment faults on IA64 platforms.
11322
11323 Code and Data Size: These are the sizes for the acpica.lib produced by 
11324 the 
11325 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
11326 ACPI 
11327 driver or OSPM code. The debug version of the code includes the debug 
11328 output 
11329 trace mechanism and has a much larger code and data size. Note that these 
11330 values will vary depending on the efficiency of the compiler and the 
11331 compiler options used during generation.
11332
11333   Previous Release:
11334     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11335     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
11336   Current Release:
11337     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
11338     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
11339
11340
11341 2) iASL Compiler/Disassembler:
11342
11343 Implemented support for new reserved names: _WDG and _WED are Microsoft 
11344 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
11345 defined method (Throttling Depth Limit.)
11346
11347 Fixed a problem where a zero-length VendorShort or VendorLong resource 
11348 descriptor was incorrectly emitted as a descriptor of length one.
11349
11350 ----------------------------------------
11351 10 February 2006. Summary of changes for version 20060210:
11352
11353 1) ACPI CA Core Subsystem:
11354
11355 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
11356 normal execution. These became apparent after the conversion from 
11357 ACPI_DEBUG_PRINT.
11358
11359 Fixed a problem where the CreateField operator could hang if the BitIndex 
11360 or 
11361 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
11362
11363 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
11364 failed with an exception. This also fixes a couple of related RefOf and 
11365 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
11366
11367 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
11368 of 
11369 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
11370 BZ 
11371 5480)
11372
11373 Implemented a memory cleanup at the end of the execution of each 
11374 iteration 
11375 of an AML While() loop, preventing the accumulation of outstanding 
11376 objects. 
11377 (Valery Podrezov, BZ 5427)
11378
11379 Eliminated a chunk of duplicate code in the object resolution code. 
11380 (Valery 
11381 Podrezov, BZ 5336)
11382
11383 Fixed several warnings during the 64-bit code generation.
11384
11385 The AcpiSrc source code conversion tool now inserts one line of 
11386 whitespace 
11387 after an if() statement that is followed immediately by a comment, 
11388 improving 
11389 readability of the Linux code.
11390
11391 Code and Data Size: The current and previous library sizes for the core 
11392 subsystem are shown below. These are the code and data sizes for the 
11393 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11394 These 
11395 values do not include any ACPI driver or OSPM code. The debug version of 
11396 the 
11397 code includes the debug output trace mechanism and has a much larger code 
11398 and data size. Note that these values will vary depending on the 
11399 efficiency 
11400 of the compiler and the compiler options used during generation.
11401
11402   Previous Release:
11403     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
11404     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
11405   Current Release:
11406     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
11407     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
11408
11409
11410 2) iASL Compiler/Disassembler:
11411
11412 Fixed a problem with the disassembly of a BankField operator with a 
11413 complex 
11414 expression for the BankValue parameter.
11415
11416 ----------------------------------------
11417 27 January 2006. Summary of changes for version 20060127:
11418
11419 1) ACPI CA Core Subsystem:
11420
11421 Implemented support in the Resource Manager to allow unresolved 
11422 namestring 
11423 references within resource package objects for the _PRT method. This 
11424 support 
11425 is in addition to the previously implemented unresolved reference support 
11426 within the AML parser. If the interpreter slack mode is enabled, these 
11427 unresolved references will be passed through to the caller as a NULL 
11428 package 
11429 entry.
11430
11431 Implemented and deployed new macros and functions for error and warning 
11432 messages across the subsystem. These macros are simpler and generate less 
11433 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
11434 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
11435 macros remain defined to allow ACPI drivers time to migrate to the new 
11436 macros.
11437
11438 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
11439 the 
11440 Acquire/Release Lock OSL interfaces.
11441
11442 Fixed a problem where Alias ASL operators are sometimes not correctly 
11443 resolved, in both the interpreter and the iASL compiler.
11444
11445 Fixed several problems with the implementation of the 
11446 ConcatenateResTemplate 
11447 ASL operator. As per the ACPI specification, zero length buffers are now 
11448 treated as a single EndTag. One-length buffers always cause a fatal 
11449 exception. Non-zero length buffers that do not end with a full 2-byte 
11450 EndTag 
11451 cause a fatal exception.
11452
11453 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
11454 interface. (With assistance from Thomas Renninger)
11455
11456 Code and Data Size: The current and previous library sizes for the core 
11457 subsystem are shown below. These are the code and data sizes for the 
11458 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11459 These 
11460 values do not include any ACPI driver or OSPM code. The debug version of 
11461 the 
11462 code includes the debug output trace mechanism and has a much larger code 
11463 and data size. Note that these values will vary depending on the 
11464 efficiency 
11465 of the compiler and the compiler options used during generation.
11466
11467   Previous Release:
11468     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11469     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11470   Current Release:
11471     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
11472     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
11473
11474
11475 2) iASL Compiler/Disassembler:
11476
11477 Fixed an internal error that was generated for any forward references to 
11478 ASL 
11479 Alias objects.
11480
11481 ----------------------------------------
11482 13 January 2006. Summary of changes for version 20060113:
11483
11484 1) ACPI CA Core Subsystem:
11485
11486 Added 2006 copyright to all module headers and signons. This affects 
11487 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
11488 utilities.
11489  
11490 Enhanced the ACPICA error reporting in order to simplify user migration 
11491 to 
11492 the non-debug version of ACPICA. Replaced all instances of the 
11493 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
11494 debug 
11495 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
11496 respectively. This preserves all error and warning messages in the non-
11497 debug 
11498 version of the ACPICA code (this has been referred to as the "debug lite" 
11499 option.) Over 200 cases were converted to create a total of over 380 
11500 error/warning messages across the ACPICA code. This increases the code 
11501 and 
11502 data size of the default non-debug version of the code somewhat (about 
11503 13K), 
11504 but all error/warning reporting may be disabled if desired (and code 
11505 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
11506 configuration option. The size of the debug version of ACPICA remains 
11507 about 
11508 the same.
11509
11510 Fixed a memory leak within the AML Debugger "Set" command. One object was 
11511 not properly deleted for every successful invocation of the command.
11512
11513 Code and Data Size: The current and previous library sizes for the core 
11514 subsystem are shown below. These are the code and data sizes for the 
11515 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11516 These 
11517 values do not include any ACPI driver or OSPM code. The debug version of 
11518 the 
11519 code includes the debug output trace mechanism and has a much larger code 
11520 and data size. Note that these values will vary depending on the 
11521 efficiency 
11522 of the compiler and the compiler options used during generation.
11523
11524   Previous Release:
11525     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11526     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11527   Current Release:
11528     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
11529     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
11530
11531
11532 2) iASL Compiler/Disassembler:
11533
11534 The compiler now officially supports the ACPI 3.0a specification that was 
11535 released on December 30, 2005. (Specification is available at 
11536 www.acpi.info)
11537
11538 ----------------------------------------
11539 16 December 2005. Summary of changes for version 20051216:
11540
11541 1) ACPI CA Core Subsystem:
11542
11543 Implemented optional support to allow unresolved names within ASL Package 
11544 objects. A null object is inserted in the package when a named reference 
11545 cannot be located in the current namespace. Enabled via the interpreter 
11546 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
11547 machines 
11548 that contain such code.
11549
11550 Implemented an optimization to the initialization sequence that can 
11551 improve 
11552 boot time. During ACPI device initialization, the _STA method is now run 
11553 if 
11554 and only if the _INI method exists. The _STA method is used to determine 
11555 if 
11556 the device is present; An _INI can only be run if _STA returns present, 
11557 but 
11558 it is a waste of time to run the _STA method if the _INI does not exist. 
11559 (Prototype and assistance from Dong Wei)
11560
11561 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
11562 is 
11563 available in the current compiler. Otherwise, the default (void *) cast 
11564 is 
11565 used as before.
11566
11567 Fixed some possible memory leaks found within the execution path of the 
11568 Break, Continue, If, and CreateField operators. (Valery Podrezov)
11569
11570 Fixed a problem introduced in the 20051202 release where an exception is 
11571 generated during method execution if a control method attempts to declare 
11572 another method.
11573
11574 Moved resource descriptor string constants that are used by both the AML 
11575 disassembler and AML debugger to the common utilities directory so that 
11576 these components are independent.
11577
11578 Implemented support in the AcpiExec utility (-e switch) to globally 
11579 ignore 
11580 exceptions during control method execution (method is not aborted.)
11581
11582 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
11583 generation.
11584
11585 Code and Data Size: The current and previous library sizes for the core 
11586 subsystem are shown below. These are the code and data sizes for the 
11587 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11588 These 
11589 values do not include any ACPI driver or OSPM code. The debug version of 
11590 the 
11591 code includes the debug output trace mechanism and has a much larger code 
11592 and data size. Note that these values will vary depending on the 
11593 efficiency 
11594 of the compiler and the compiler options used during generation.
11595
11596   Previous Release:
11597     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11598     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11599   Current Release:
11600     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
11601     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
11602
11603
11604 2) iASL Compiler/Disassembler:
11605
11606 Fixed a problem where a CPU stack overflow fault could occur if a 
11607 recursive 
11608 method call was made from within a Return statement.
11609
11610 ----------------------------------------
11611 02 December 2005. Summary of changes for version 20051202:
11612
11613 1) ACPI CA Core Subsystem:
11614
11615 Modified the parsing of control methods to no longer create namespace 
11616 objects during the first pass of the parse. Objects are now created only 
11617 during the execute phase, at the moment the namespace creation operator 
11618 is 
11619 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
11620 This 
11621 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
11622 reentrant control methods are protected by an AML mutex. The mutex will 
11623 now 
11624 correctly block multiple threads from attempting to create the same 
11625 object 
11626 more than once.
11627
11628 Increased the number of available Owner Ids for namespace object tracking 
11629 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
11630 on 
11631 some machines with a large number of ACPI tables (either static or 
11632 dynamic).
11633
11634 Fixed a problem with the AcpiExec utility where a fault could occur when 
11635 the 
11636 -b switch (batch mode) is used.
11637
11638 Enhanced the namespace dump routine to output the owner ID for each 
11639 namespace object.
11640
11641 Code and Data Size: The current and previous library sizes for the core 
11642 subsystem are shown below. These are the code and data sizes for the 
11643 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11644 These 
11645 values do not include any ACPI driver or OSPM code. The debug version of 
11646 the 
11647 code includes the debug output trace mechanism and has a much larger code 
11648 and data size. Note that these values will vary depending on the 
11649 efficiency 
11650 of the compiler and the compiler options used during generation.
11651
11652   Previous Release:
11653     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11654     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11655   Current Release:
11656     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11657     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
11658
11659
11660 2) iASL Compiler/Disassembler:
11661
11662 Fixed a parse error during compilation of certain Switch/Case constructs. 
11663 To 
11664 simplify the parse, the grammar now allows for multiple Default 
11665 statements 
11666 and this error is now detected and flagged during the analysis phase.
11667
11668 Disassembler: The disassembly now includes the contents of the original 
11669 table header within a comment at the start of the file. This includes the 
11670 name and version of the original ASL compiler.
11671
11672 ----------------------------------------
11673 17 November 2005. Summary of changes for version 20051117:
11674
11675 1) ACPI CA Core Subsystem:
11676
11677 Fixed a problem in the AML parser where the method thread count could be 
11678 decremented below zero if any errors occurred during the method parse 
11679 phase. 
11680 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
11681 machines. 
11682 This also fixed a related regression with the mechanism that detects and 
11683 corrects methods that cannot properly handle reentrancy (related to the 
11684 deployment of the new OwnerId mechanism.)
11685
11686 Eliminated the pre-parsing of control methods (to detect errors) during 
11687 table load. Related to the problem above, this was causing unwind issues 
11688 if 
11689 any errors occurred during the parse, and it seemed to be overkill. A 
11690 table 
11691 load should not be aborted if there are problems with any single control 
11692 method, thus rendering this feature rather pointless.
11693
11694 Fixed a problem with the new table-driven resource manager where an 
11695 internal 
11696 buffer overflow could occur for small resource templates.
11697
11698 Implemented a new external interface, AcpiGetVendorResource. This 
11699 interface 
11700 will find and return a vendor-defined resource descriptor within a _CRS 
11701 or 
11702 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
11703 Helgaas.
11704
11705 Removed the length limit (200) on string objects as per the upcoming ACPI 
11706 3.0A specification. This affects the following areas of the interpreter: 
11707 1) 
11708 any implicit conversion of a Buffer to a String, 2) a String object
11709 result 
11710 of the ASL Concatenate operator, 3) the String object result of the ASL
11711 ToString operator.
11712
11713 Fixed a problem in the Windows OS interface layer (OSL) where a 
11714 WAIT_FOREVER 
11715 on a semaphore object would incorrectly timeout. This allows the 
11716 multithreading features of the AcpiExec utility to work properly under 
11717 Windows.
11718
11719 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
11720 the recently added file named "utresrc.c".
11721
11722 Code and Data Size: The current and previous library sizes for the core 
11723 subsystem are shown below. These are the code and data sizes for the 
11724 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11725 These 
11726 values do not include any ACPI driver or OSPM code. The debug version of 
11727 the 
11728 code includes the debug output trace mechanism and has a much larger code 
11729 and data size. Note that these values will vary depending on the 
11730 efficiency 
11731 of the compiler and the compiler options used during generation.
11732
11733   Previous Release:
11734     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11735     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11736   Current Release:
11737     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
11738     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11739
11740
11741 2) iASL Compiler/Disassembler:
11742
11743 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
11744 specification. For the iASL compiler, this means that string literals 
11745 within 
11746 the source ASL can be of any length. 
11747
11748 Enhanced the listing output to dump the AML code for resource descriptors 
11749 immediately after the ASL code for each descriptor, instead of in a block 
11750 at 
11751 the end of the entire resource template.
11752
11753 Enhanced the compiler debug output to dump the entire original parse tree 
11754 constructed during the parse phase, before any transforms are applied to 
11755 the 
11756 tree. The transformed tree is dumped also.
11757
11758 ----------------------------------------
11759 02 November 2005. Summary of changes for version 20051102:
11760
11761 1) ACPI CA Core Subsystem:
11762
11763 Modified the subsystem initialization sequence to improve GPE support. 
11764 The 
11765 GPE initialization has been split into two parts in order to defer 
11766 execution 
11767 of the _PRW methods (Power Resources for Wake) until after the hardware 
11768 is 
11769 fully initialized and the SCI handler is installed. This allows the _PRW 
11770 methods to access fields protected by the Global Lock. This will fix 
11771 systems 
11772 where a NO_GLOBAL_LOCK exception has been seen during initialization.
11773
11774 Converted the ACPI internal object disassemble and display code within 
11775 the 
11776 AML debugger to fully table-driven operation, reducing code size and 
11777 increasing maintainability.
11778
11779 Fixed a regression with the ConcatenateResTemplate() ASL operator 
11780 introduced 
11781 in the 20051021 release.
11782
11783 Implemented support for "local" internal ACPI object types within the 
11784 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
11785 These local types include RegionFields, BankFields, IndexFields, Alias, 
11786 and 
11787 reference objects.
11788
11789 Moved common AML resource handling code into a new file, "utresrc.c". 
11790 This 
11791 code is shared by both the Resource Manager and the AML Debugger.
11792
11793 Code and Data Size: The current and previous library sizes for the core 
11794 subsystem are shown below. These are the code and data sizes for the 
11795 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11796 These 
11797 values do not include any ACPI driver or OSPM code. The debug version of 
11798 the 
11799 code includes the debug output trace mechanism and has a much larger code 
11800 and data size. Note that these values will vary depending on the 
11801 efficiency 
11802 of the compiler and the compiler options used during generation.
11803
11804   Previous Release:
11805     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11806     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11807   Current Release:
11808     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11809     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11810
11811
11812 2) iASL Compiler/Disassembler:
11813
11814 Fixed a problem with very large initializer lists (more than 4000 
11815 elements) 
11816 for both Buffer and Package objects where the parse stack could overflow.
11817
11818 Enhanced the pre-compile source code scan for non-ASCII characters to 
11819 ignore 
11820 characters within comment fields. The scan is now always performed and is 
11821 no 
11822 longer optional, detecting invalid characters within a source file 
11823 immediately rather than during the parse phase or later.
11824
11825 Enhanced the ASL grammar definition to force early reductions on all 
11826 list-
11827 style grammar elements so that the overall parse stack usage is greatly 
11828 reduced. This should improve performance and reduce the possibility of 
11829 parse 
11830 stack overflow.
11831
11832 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
11833 Also, 
11834 with the addition of a %expected statement, the compiler generates from 
11835 source with no warnings.
11836
11837 Fixed a possible segment fault in the disassembler if the input filename 
11838 does not contain a "dot" extension (Thomas Renninger).
11839
11840 ----------------------------------------
11841 21 October 2005. Summary of changes for version 20051021:
11842
11843 1) ACPI CA Core Subsystem:
11844
11845 Implemented support for the EM64T and other x86-64 processors. This 
11846 essentially entails recognizing that these processors support non-aligned 
11847 memory transfers. Previously, all 64-bit processors were assumed to lack 
11848 hardware support for non-aligned transfers.
11849
11850 Completed conversion of the Resource Manager to nearly full table-driven 
11851 operation. Specifically, the resource conversion code (convert AML to 
11852 internal format and the reverse) and the debug code to dump internal 
11853 resource descriptors are fully table-driven, reducing code and data size 
11854 and 
11855 improving maintainability.
11856
11857 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
11858 word 
11859 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
11860 from 
11861 Alexey Starikovskiy)
11862
11863 Implemented support within the resource conversion code for the Type-
11864 Specific byte within the various ACPI 3.0 *WordSpace macros.
11865
11866 Fixed some issues within the resource conversion code for the type-
11867 specific 
11868 flags for both Memory and I/O address resource descriptors. For Memory, 
11869 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
11870 TTP flags into two separate fields.
11871
11872 Code and Data Size: The current and previous library sizes for the core 
11873 subsystem are shown below. These are the code and data sizes for the 
11874 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11875 These 
11876 values do not include any ACPI driver or OSPM code. The debug version of 
11877 the 
11878 code includes the debug output trace mechanism and has a much larger code 
11879 and data size. Note that these values will vary depending on the 
11880 efficiency 
11881 of the compiler and the compiler options used during generation.
11882
11883   Previous Release:
11884     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11885     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11886   Current Release:
11887     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11888     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11889
11890
11891
11892 2) iASL Compiler/Disassembler:
11893
11894 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
11895 the 
11896 corresponding ResourceSource string was not also present in a resource 
11897 descriptor declaration. This restriction caused problems with existing 
11898 AML/ASL code that includes the Index byte without the string. When such 
11899 AML 
11900 was disassembled, it could not be compiled without modification. Further, 
11901 the modified code created a resource template with a different size than 
11902 the 
11903 original, breaking code that used fixed offsets into the resource 
11904 template 
11905 buffer.
11906
11907 Removed a recent feature of the disassembler to ignore a lone 
11908 ResourceIndex 
11909 byte. This byte is now emitted if present so that the exact AML can be 
11910 reproduced when the disassembled code is recompiled.
11911
11912 Improved comments and text alignment for the resource descriptor code 
11913 emitted by the disassembler.
11914
11915 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
11916
11917 Register() resource descriptor.
11918
11919 ----------------------------------------
11920 30 September 2005. Summary of changes for version 20050930:
11921
11922 1) ACPI CA Core Subsystem:
11923
11924 Completed a major overhaul of the Resource Manager code - specifically, 
11925 optimizations in the area of the AML/internal resource conversion code. 
11926 The 
11927 code has been optimized to simplify and eliminate duplicated code, CPU 
11928 stack 
11929 use has been decreased by optimizing function parameters and local 
11930 variables, and naming conventions across the manager have been 
11931 standardized 
11932 for clarity and ease of maintenance (this includes function, parameter, 
11933 variable, and struct/typedef names.) The update may force changes in some 
11934 driver code, depending on how resources are handled by the host OS.
11935
11936 All Resource Manager dispatch and information tables have been moved to a 
11937 single location for clarity and ease of maintenance. One new file was 
11938 created, named "rsinfo.c".
11939
11940 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
11941 guarantee that the argument is not evaluated twice, making them less 
11942 prone 
11943 to macro side-effects. However, since there exists the possibility of 
11944 additional stack use if a particular compiler cannot optimize them (such 
11945 as 
11946 in the debug generation case), the original macros are optionally 
11947 available.  
11948 Note that some invocations of the return_VALUE macro may now cause size 
11949 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
11950 to 
11951 eliminate these. (From Randy Dunlap)
11952
11953 Implemented a new mechanism to enable debug tracing for individual 
11954 control 
11955 methods. A new external interface, AcpiDebugTrace, is provided to enable 
11956 this mechanism. The intent is to allow the host OS to easily enable and 
11957 disable tracing for problematic control methods. This interface can be 
11958 easily exposed to a user or debugger interface if desired. See the file 
11959 psxface.c for details.
11960
11961 AcpiUtCallocate will now return a valid pointer if a length of zero is 
11962 specified - a length of one is used and a warning is issued. This matches 
11963 the behavior of AcpiUtAllocate.
11964
11965 Code and Data Size: The current and previous library sizes for the core 
11966 subsystem are shown below. These are the code and data sizes for the 
11967 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11968 These 
11969 values do not include any ACPI driver or OSPM code. The debug version of 
11970 the 
11971 code includes the debug output trace mechanism and has a much larger code 
11972 and data size. Note that these values will vary depending on the 
11973 efficiency 
11974 of the compiler and the compiler options used during generation.
11975
11976   Previous Release:
11977     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11978     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11979   Current Release:
11980     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11981     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11982
11983
11984 2) iASL Compiler/Disassembler:
11985
11986 A remark is issued if the effective compile-time length of a package or 
11987 buffer is zero. Previously, this was a warning.
11988
11989 ----------------------------------------
11990 16 September 2005. Summary of changes for version 20050916:
11991
11992 1) ACPI CA Core Subsystem:
11993
11994 Fixed a problem within the Resource Manager where support for the Generic 
11995 Register descriptor was not fully implemented. This descriptor is now 
11996 fully 
11997 recognized, parsed, disassembled, and displayed.
11998
11999 Completely restructured the Resource Manager code to utilize table-driven 
12000 dispatch and lookup, eliminating many of the large switch() statements. 
12001 This 
12002 reduces overall subsystem code size and code complexity. Affects the 
12003 resource parsing and construction, disassembly, and debug dump output.
12004
12005 Cleaned up and restructured the debug dump output for all resource 
12006 descriptors. Improved readability of the output and reduced code size.
12007
12008 Fixed a problem where changes to internal data structures caused the 
12009 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
12010
12011 Code and Data Size: The current and previous library sizes for the core 
12012 subsystem are shown below. These are the code and data sizes for the 
12013 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
12014 These 
12015 values do not include any ACPI driver or OSPM code. The debug version of 
12016 the 
12017 code includes the debug output trace mechanism and has a much larger code 
12018 and data size. Note that these values will vary depending on the 
12019 efficiency 
12020 of the compiler and the compiler options used during generation.
12021
12022   Previous Release:
12023     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
12024     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
12025   Current Release:
12026     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
12027     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
12028
12029
12030 2) iASL Compiler/Disassembler:
12031
12032 Updated the disassembler to automatically insert an EndDependentFn() 
12033 macro 
12034 into the ASL stream if this macro is missing in the original AML code, 
12035 simplifying compilation of the resulting ASL module.
12036
12037 Fixed a problem in the disassembler where a disassembled ResourceSource 
12038 string (within a large resource descriptor) was not surrounded by quotes 
12039 and 
12040 not followed by a comma, causing errors when the resulting ASL module was 
12041 compiled. Also, escape sequences within a ResourceSource string are now 
12042 handled correctly (especially "\\")
12043
12044 ----------------------------------------
12045 02 September 2005. Summary of changes for version 20050902:
12046
12047 1) ACPI CA Core Subsystem:
12048
12049 Fixed a problem with the internal Owner ID allocation and deallocation 
12050 mechanisms for control method execution and recursive method invocation. 
12051 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
12052 messages seen on some systems. Recursive method invocation depth is 
12053 currently limited to 255. (Alexey Starikovskiy)
12054
12055 Completely eliminated all vestiges of support for the "module-level 
12056 executable code" until this support is fully implemented and debugged. 
12057 This 
12058 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
12059 some systems that invoke this support.
12060
12061 Fixed a problem within the resource manager code where the transaction 
12062 flags 
12063 for a 64-bit address descriptor were handled incorrectly in the type-
12064 specific flag byte.
12065
12066 Consolidated duplicate code within the address descriptor resource 
12067 manager 
12068 code, reducing overall subsystem code size.
12069
12070 Fixed a fault when using the AML debugger "disassemble" command to 
12071 disassemble individual control methods.
12072
12073 Removed references to the "release_current" directory within the Unix 
12074 release package.
12075
12076 Code and Data Size: The current and previous core subsystem library sizes 
12077 are shown below. These are the code and data sizes for the acpica.lib 
12078 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
12079 include any ACPI driver or OSPM code. The debug version of the code 
12080 includes 
12081 the debug output trace mechanism and has a much larger code and data 
12082 size. 
12083 Note that these values will vary depending on the efficiency of the 
12084 compiler 
12085 and the compiler options used during generation.
12086
12087   Previous Release:
12088     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
12089     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
12090   Current Release:
12091     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
12092     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
12093
12094
12095 2) iASL Compiler/Disassembler:
12096
12097 Implemented an error check for illegal duplicate values in the interrupt 
12098 and 
12099 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
12100 Interrupt().
12101
12102 Implemented error checking for the Irq() and IrqNoFlags() macros to 
12103 detect 
12104 too many values in the interrupt list (16 max) and invalid values in the 
12105 list (range 0 - 15)
12106
12107 The maximum length string literal within an ASL file is now restricted to 
12108 200 characters as per the ACPI specification.
12109
12110 Fixed a fault when using the -ln option (generate namespace listing).
12111
12112 Implemented an error check to determine if a DescriptorName within a 
12113 resource descriptor has already been used within the current scope.
12114
12115 ----------------------------------------
12116 15 August 2005.  Summary of changes for version 20050815:
12117  
12118 1) ACPI CA Core Subsystem:
12119  
12120 Implemented a full bytewise compare to determine if a table load request 
12121 is 
12122 attempting to load a duplicate table. The compare is performed if the 
12123 table 
12124 signatures and table lengths match. This will allow different tables with 
12125 the same OEM Table ID and revision to be loaded - probably against the 
12126 ACPI 
12127 specification, but discovered in the field nonetheless.
12128  
12129 Added the changes.txt logfile to each of the zipped release packages.
12130  
12131 Code and Data Size: Current and previous core subsystem library sizes are 
12132 shown below. These are the code and data sizes for the acpica.lib 
12133 produced 
12134 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12135 any ACPI driver or OSPM code. The debug version of the code includes the 
12136 debug output trace mechanism and has a much larger code and data size. 
12137 Note 
12138 that these values will vary depending on the efficiency of the compiler 
12139 and 
12140 the compiler options used during generation.
12141  
12142   Previous Release:
12143     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
12144     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
12145   Current Release:
12146     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
12147     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
12148  
12149  
12150 2) iASL Compiler/Disassembler:
12151  
12152 Fixed a problem where incorrect AML code could be generated for Package 
12153 objects if optimization is disabled (via the -oa switch).
12154  
12155 Fixed a problem with where incorrect AML code is generated for variable-
12156 length packages when the package length is not specified and the number 
12157 of 
12158 initializer values is greater than 255.
12159  
12160
12161 ----------------------------------------
12162 29 July 2005.  Summary of changes for version 20050729:
12163
12164 1) ACPI CA Core Subsystem:
12165
12166 Implemented support to ignore an attempt to install/load a particular 
12167 ACPI 
12168 table more than once. Apparently there exists BIOS code that repeatedly 
12169 attempts to load the same SSDT upon certain events. With assistance from 
12170 Venkatesh Pallipadi.
12171
12172 Restructured the main interface to the AML parser in order to correctly 
12173 handle all exceptional conditions. This will prevent leakage of the 
12174 OwnerId 
12175 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
12176 some 
12177 machines. With assistance from Alexey Starikovskiy.
12178
12179 Support for "module level code" has been disabled in this version due to 
12180
12181 number of issues that have appeared on various machines. The support can 
12182 be 
12183 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
12184 compilation. When the issues are fully resolved, the code will be enabled 
12185 by 
12186 default again.
12187
12188 Modified the internal functions for debug print support to define the 
12189 FunctionName parameter as a (const char *) for compatibility with 
12190 compiler 
12191 built-in macros such as __FUNCTION__, etc.
12192
12193 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
12194
12195 Implemented support to display an object count summary for the AML 
12196 Debugger 
12197 commands Object and Methods.
12198
12199 Code and Data Size: Current and previous core subsystem library sizes are 
12200 shown below. These are the code and data sizes for the acpica.lib 
12201 produced 
12202 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12203 any ACPI driver or OSPM code. The debug version of the code includes the 
12204 debug output trace mechanism and has a much larger code and data size. 
12205 Note 
12206 that these values will vary depending on the efficiency of the compiler 
12207 and 
12208 the compiler options used during generation.
12209
12210   Previous Release:
12211     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
12212     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
12213   Current Release:
12214     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
12215     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
12216
12217
12218 2) iASL Compiler/Disassembler:
12219
12220 Fixed a regression that appeared in the 20050708 version of the compiler 
12221 where an error message was inadvertently emitted for invocations of the 
12222 _OSI 
12223 reserved control method.
12224
12225 ----------------------------------------
12226 08 July 2005.  Summary of changes for version 20050708:
12227
12228 1) ACPI CA Core Subsystem:
12229
12230 The use of the CPU stack in the debug version of the subsystem has been 
12231 considerably reduced. Previously, a debug structure was declared in every 
12232 function that used the debug macros. This structure has been removed in 
12233 favor of declaring the individual elements as parameters to the debug 
12234 functions. This reduces the cumulative stack use during nested execution 
12235 of 
12236 ACPI function calls at the cost of a small increase in the code size of 
12237 the 
12238 debug version of the subsystem. With assistance from Alexey Starikovskiy 
12239 and 
12240 Len Brown.
12241
12242 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
12243 headers to define a macro that will return the current function name at 
12244 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
12245 by 
12246 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
12247 compiler-dependent header, the function name is saved on the CPU stack 
12248 (one 
12249 pointer per function.) This mechanism is used because apparently there 
12250 exists no standard ANSI-C defined macro that that returns the function 
12251 name.
12252
12253 Redesigned and reimplemented the "Owner ID" mechanism used to track 
12254 namespace objects created/deleted by ACPI tables and control method 
12255 execution. A bitmap is now used to allocate and free the IDs, thus 
12256 solving 
12257 the wraparound problem present in the previous implementation. The size 
12258 of 
12259 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
12260 Starikovskiy).
12261
12262 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
12263 bitfield 
12264 flag definitions within the headers for the predefined ACPI tables. These 
12265 have been replaced by UINT8_BIT in order to increase the code portability 
12266 of 
12267 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
12268 eliminate bitfields entirely because of a lack of portability.
12269
12270 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
12271 This 
12272 is a frequently used function and this improvement increases the 
12273 performance 
12274 of the entire subsystem (Alexey Starikovskiy).
12275
12276 Fixed several possible memory leaks and the inverse - premature object 
12277 deletion (Alexey Starikovskiy).
12278
12279 Code and Data Size: Current and previous core subsystem library sizes are 
12280 shown below. These are the code and data sizes for the acpica.lib 
12281 produced 
12282 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12283 any ACPI driver or OSPM code. The debug version of the code includes the 
12284 debug output trace mechanism and has a much larger code and data size. 
12285 Note 
12286 that these values will vary depending on the efficiency of the compiler 
12287 and 
12288 the compiler options used during generation.
12289
12290   Previous Release:
12291     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
12292     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
12293   Current Release:
12294     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
12295     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
12296
12297 ----------------------------------------
12298 24 June 2005.  Summary of changes for version 20050624:
12299
12300 1) ACPI CA Core Subsystem:
12301
12302 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
12303 the host-defined cache object. This allows the OSL implementation to 
12304 define 
12305 and type this object in any manner desired, simplifying the OSL 
12306 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
12307 Linux, and should be defined in the OS-specific header file for other 
12308 operating systems as required.
12309
12310 Changed the interface to AcpiOsAcquireObject to directly return the 
12311 requested object as the function return (instead of ACPI_STATUS.) This 
12312 change was made for performance reasons, since this is the purpose of the 
12313 interface in the first place. AcpiOsAcquireObject is now similar to the 
12314 AcpiOsAllocate interface.
12315
12316 Implemented a new AML debugger command named Businfo. This command 
12317 displays 
12318 information about all devices that have an associate _PRT object. The 
12319 _ADR, 
12320 _HID, _UID, and _CID are displayed for these devices.
12321
12322 Modified the initialization sequence in AcpiInitializeSubsystem to call 
12323 the 
12324 OSL interface AcpiOslInitialize first, before any local initialization. 
12325 This 
12326 change was required because the global initialization now calls OSL 
12327 interfaces.
12328
12329 Enhanced the Dump command to display the entire contents of Package 
12330 objects 
12331 (including all sub-objects and their values.) 
12332
12333 Restructured the code base to split some files because of size and/or 
12334 because the code logically belonged in a separate file. New files are 
12335 listed 
12336 below. All makefiles and project files included in the ACPI CA release 
12337 have 
12338 been updated.
12339     utilities/utcache.c           /* Local cache interfaces */
12340     utilities/utmutex.c           /* Local mutex support */
12341     utilities/utstate.c           /* State object support */
12342     interpreter/parser/psloop.c   /* Main AML parse loop */
12343
12344 Code and Data Size: Current and previous core subsystem library sizes are 
12345 shown below. These are the code and data sizes for the acpica.lib 
12346 produced 
12347 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12348 any ACPI driver or OSPM code. The debug version of the code includes the 
12349 debug output trace mechanism and has a much larger code and data size. 
12350 Note 
12351 that these values will vary depending on the efficiency of the compiler 
12352 and 
12353 the compiler options used during generation.
12354
12355   Previous Release:
12356     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
12357     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
12358   Current Release:
12359     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
12360     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
12361
12362
12363 2) iASL Compiler/Disassembler:
12364
12365 Fixed a regression introduced in version 20050513 where the use of a 
12366 Package 
12367 object within a Case() statement caused a compile time exception. The 
12368 original behavior has been restored (a Match() operator is emitted.)
12369
12370 ----------------------------------------
12371 17 June 2005.  Summary of changes for version 20050617:
12372
12373 1) ACPI CA Core Subsystem:
12374
12375 Moved the object cache operations into the OS interface layer (OSL) to 
12376 allow 
12377 the host OS to handle these operations if desired (for example, the Linux 
12378 OSL will invoke the slab allocator). This support is optional; the 
12379 compile 
12380 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
12381 cache 
12382 code in the ACPI CA core. The new OSL interfaces are shown below. See 
12383 utalloc.c for an example implementation, and acpiosxf.h for the exact 
12384 interface definitions. With assistance from Alexey Starikovskiy.
12385     AcpiOsCreateCache
12386     AcpiOsDeleteCache
12387     AcpiOsPurgeCache
12388     AcpiOsAcquireObject
12389     AcpiOsReleaseObject
12390
12391 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
12392 return 
12393 and restore a flags parameter. This fits better with many OS lock models. 
12394 Note: the current execution state (interrupt handler or not) is no longer 
12395 passed to these interfaces. If necessary, the OSL must determine this 
12396 state 
12397 by itself, a simple and fast operation. With assistance from Alexey 
12398 Starikovskiy.
12399
12400 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
12401 present if the revision of the RSDP was 2 or greater. According to the 
12402 ACPI 
12403 specification, the XSDT is optional in all cases, and the table manager 
12404 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
12405 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
12406 contain 
12407 only the RSDT.
12408
12409 Fixed an interpreter problem with the Mid() operator in the case of an 
12410 input 
12411 string where the resulting output string is of zero length. It now 
12412 correctly 
12413 returns a valid, null terminated string object instead of a string object 
12414 with a null pointer.
12415
12416 Fixed a problem with the control method argument handling to allow a 
12417 store 
12418 to an Arg object that already contains an object of type Device. The 
12419 Device 
12420 object is now correctly overwritten. Previously, an error was returned.
12421
12422
12423 Enhanced the debugger Find command to emit object values in addition to 
12424 the 
12425 found object pathnames. The output format is the same as the dump 
12426 namespace 
12427 command.
12428
12429 Enhanced the debugger Set command. It now has the ability to set the 
12430 value 
12431 of any Named integer object in the namespace (Previously, only method 
12432 locals 
12433 and args could be set.)
12434
12435 Code and Data Size: Current and previous core subsystem library sizes are 
12436 shown below. These are the code and data sizes for the acpica.lib 
12437 produced 
12438 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12439 any ACPI driver or OSPM code. The debug version of the code includes the 
12440 debug output trace mechanism and has a much larger code and data size. 
12441 Note 
12442 that these values will vary depending on the efficiency of the compiler 
12443 and 
12444 the compiler options used during generation.
12445
12446   Previous Release:
12447     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12448     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12449   Current Release:
12450     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
12451     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
12452
12453
12454 2) iASL Compiler/Disassembler:
12455
12456 Fixed a regression in the disassembler where if/else/while constructs 
12457 were 
12458 output incorrectly. This problem was introduced in the previous release 
12459 (20050526). This problem also affected the single-step disassembly in the 
12460 debugger.
12461
12462 Fixed a problem where compiling the reserved _OSI method would randomly 
12463 (but 
12464 rarely) produce compile errors.
12465
12466 Enhanced the disassembler to emit compilable code in the face of 
12467 incorrect 
12468 AML resource descriptors. If the optional ResourceSourceIndex is present, 
12469 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
12470 disassembly. Otherwise, the resulting code cannot be compiled without 
12471 errors.
12472
12473 ----------------------------------------
12474 26 May 2005.  Summary of changes for version 20050526:
12475
12476 1) ACPI CA Core Subsystem:
12477
12478 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
12479 the module level (not within a control method.) These opcodes are 
12480 executed 
12481 exactly once at the time the table is loaded. This type of code was legal 
12482 up 
12483 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
12484 in 
12485 order to provide backwards compatibility with earlier BIOS 
12486 implementations. 
12487 This eliminates the "Encountered executable code at module level" warning 
12488 that was previously generated upon detection of such code.
12489
12490 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
12491 inadvertently be generated during the lookup of namespace objects in the 
12492 second pass parse of ACPI tables and control methods. It appears that 
12493 this 
12494 problem could occur during the resolution of forward references to 
12495 namespace 
12496 objects.
12497
12498 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
12499 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
12500 allows the deadlock detection debug code to be compiled out in the normal 
12501 case, improving mutex performance (and overall subsystem performance) 
12502 considerably.
12503
12504 Implemented a handful of miscellaneous fixes for possible memory leaks on 
12505 error conditions and error handling control paths. These fixes were 
12506 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
12507
12508 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
12509 (tbxfroot.c) 
12510 to prevent a fault in this error case.
12511
12512 Code and Data Size: Current and previous core subsystem library sizes are 
12513 shown below. These are the code and data sizes for the acpica.lib 
12514 produced 
12515 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12516 any ACPI driver or OSPM code. The debug version of the code includes the 
12517 debug output trace mechanism and has a much larger code and data size. 
12518 Note 
12519 that these values will vary depending on the efficiency of the compiler 
12520 and 
12521 the compiler options used during generation.
12522
12523   Previous Release:
12524     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12525     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12526   Current Release:
12527     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
12528     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
12529
12530
12531 2) iASL Compiler/Disassembler:
12532
12533 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
12534 the module level (not within a control method.) These operators will be 
12535 executed once at the time the table is loaded. This type of code was 
12536 legal 
12537 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
12538 compiler in order to provide backwards compatibility with earlier BIOS 
12539 ASL 
12540 code.
12541
12542 The ACPI integer width (specified via the table revision ID or the -r 
12543 override, 32 or 64 bits) is now used internally during compile-time 
12544 constant 
12545 folding to ensure that constants are truncated to 32 bits if necessary. 
12546 Previously, the revision ID value was only emitted in the AML table 
12547 header.
12548
12549 An error message is now generated for the Mutex and Method operators if 
12550 the 
12551 SyncLevel parameter is outside the legal range of 0 through 15.
12552
12553 Fixed a problem with the Method operator ParameterTypes list handling 
12554 (ACPI 
12555 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
12556 error.  
12557 The actual underlying implementation of method argument typechecking is 
12558 still under development, however.
12559
12560 ----------------------------------------
12561 13 May 2005.  Summary of changes for version 20050513:
12562
12563 1) ACPI CA Core Subsystem:
12564
12565 Implemented support for PCI Express root bridges -- added support for 
12566 device 
12567 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
12568
12569 The interpreter now automatically truncates incoming 64-bit constants to 
12570 32 
12571 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
12572 This 
12573 also affects the iASL compiler constant folding. (Note: as per below, the 
12574 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
12575
12576 Fixed a problem where string and buffer objects with "static" pointers 
12577 (pointers to initialization data within an ACPI table) were not handled 
12578 consistently. The internal object copy operation now always copies the 
12579 data 
12580 to a newly allocated buffer, regardless of whether the source object is 
12581 static or not.
12582
12583 Fixed a problem with the FromBCD operator where an implicit result 
12584 conversion was improperly performed while storing the result to the 
12585 target 
12586 operand. Since this is an "explicit conversion" operator, the implicit 
12587 conversion should never be performed on the output.
12588
12589 Fixed a problem with the CopyObject operator where a copy to an existing 
12590 named object did not always completely overwrite the existing object 
12591 stored 
12592 at name. Specifically, a buffer-to-buffer copy did not delete the 
12593 existing 
12594 buffer.
12595
12596 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
12597 and 
12598 structs for consistency.
12599
12600 Code and Data Size: Current and previous core subsystem library sizes are 
12601 shown below. These are the code and data sizes for the acpica.lib 
12602 produced 
12603 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12604 any ACPI driver or OSPM code. The debug version of the code includes the 
12605 debug output trace mechanism and has a much larger code and data size. 
12606 Note 
12607 that these values will vary depending on the efficiency of the compiler 
12608 and 
12609 the compiler options used during generation.
12610
12611   Previous Release:
12612     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12613     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12614   Current Release: (Same sizes)
12615     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12616     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12617
12618
12619 2) iASL Compiler/Disassembler:
12620
12621 The compiler now emits a warning if an attempt is made to generate a 64-
12622 bit 
12623 integer constant from within a 32-bit ACPI table (Revision < 2). The 
12624 integer 
12625 is truncated to 32 bits.
12626
12627 Fixed a problem with large package objects: if the static length of the 
12628 package is greater than 255, the "variable length package" opcode is 
12629 emitted. Previously, this caused an error. This requires an update to the 
12630 ACPI spec, since it currently (incorrectly) states that packages larger 
12631 than 
12632 255 elements are not allowed.
12633
12634 The disassembler now correctly handles variable length packages and 
12635 packages 
12636 larger than 255 elements.
12637
12638 ----------------------------------------
12639 08 April 2005.  Summary of changes for version 20050408:
12640
12641 1) ACPI CA Core Subsystem:
12642
12643 Fixed three cases in the interpreter where an "index" argument to an ASL 
12644 function was still (internally) 32 bits instead of the required 64 bits. 
12645 This was the Index argument to the Index, Mid, and Match operators.
12646
12647 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
12648 is 
12649 not a POSIX-defined function and not present in most kernel-level C 
12650 libraries. All references to the C library strupr function have been 
12651 removed 
12652 from the headers.
12653
12654 Completed the deployment of static functions/prototypes. All prototypes 
12655 with 
12656 the static attribute have been moved from the headers to the owning C 
12657 file.
12658
12659 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
12660 utility). This option allows the utility to extract individual ACPI 
12661 tables 
12662 from the output of AcpiDmp. It provides the same functionality of the 
12663 acpixtract.pl perl script without the worry of setting the correct perl 
12664 options. AcpiBin runs on Windows and has not yet been generated/validated 
12665 in 
12666 the Linux/Unix environment (but should be soon).
12667  
12668 Updated and fixed the table dump option for AcpiBin (-d). This option 
12669 converts a single ACPI table to a hex/ascii file, similar to the output 
12670 of 
12671 AcpiDmp.
12672
12673 Code and Data Size: Current and previous core subsystem library sizes are 
12674 shown below. These are the code and data sizes for the acpica.lib 
12675 produced 
12676 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12677 any ACPI driver or OSPM code. The debug version of the code includes the 
12678 debug output trace mechanism and has a much larger code and data size. 
12679 Note 
12680 that these values will vary depending on the efficiency of the compiler 
12681 and 
12682 the compiler options used during generation.
12683
12684   Previous Release:
12685     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12686     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12687   Current Release:
12688     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
12689     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
12690
12691
12692 2) iASL Compiler/Disassembler:
12693
12694 Disassembler fix: Added a check to ensure that the table length found in 
12695 the 
12696 ACPI table header within the input file is not longer than the actual 
12697 input 
12698 file size. This indicates some kind of file or table corruption.
12699
12700 ----------------------------------------
12701 29 March 2005.  Summary of changes for version 20050329:
12702
12703 1) ACPI CA Core Subsystem:
12704
12705 An error is now generated if an attempt is made to create a Buffer Field 
12706 of 
12707 length zero (A CreateField with a length operand of zero.)
12708
12709 The interpreter now issues a warning whenever executable code at the 
12710 module 
12711 level is detected during ACPI table load. This will give some idea of the 
12712 prevalence of this type of code.
12713
12714 Implemented support for references to named objects (other than control 
12715 methods) within package objects.
12716
12717 Enhanced package object output for the debug object. Package objects are 
12718 now 
12719 completely dumped, showing all elements.
12720
12721 Enhanced miscellaneous object output for the debug object. Any object can 
12722 now be written to the debug object (for example, a device object can be 
12723 written, and the type of the object will be displayed.)
12724
12725 The "static" qualifier has been added to all local functions across both 
12726 the 
12727 core subsystem and the iASL compiler.
12728
12729 The number of "long" lines (> 80 chars) within the source has been 
12730 significantly reduced, by about 1/3.
12731
12732 Cleaned up all header files to ensure that all CA/iASL functions are 
12733 prototyped (even static functions) and the formatting is consistent.
12734
12735 Two new header files have been added, acopcode.h and acnames.h.
12736
12737 Removed several obsolete functions that were no longer used.
12738
12739 Code and Data Size: Current and previous core subsystem library sizes are 
12740 shown below. These are the code and data sizes for the acpica.lib 
12741 produced 
12742 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12743 any ACPI driver or OSPM code. The debug version of the code includes the 
12744 debug output trace mechanism and has a much larger code and data size. 
12745 Note 
12746 that these values will vary depending on the efficiency of the compiler 
12747 and 
12748 the compiler options used during generation.
12749
12750   Previous Release:
12751     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12752     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12753   Current Release:
12754     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
12755     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
12756
12757
12758
12759 2) iASL Compiler/Disassembler:
12760
12761 Fixed a problem with the resource descriptor generation/support. For the 
12762 ResourceSourceIndex and the ResourceSource fields, both must be present, 
12763 or 
12764 both must be not present - can't have one without the other.
12765
12766 The compiler now returns non-zero from the main procedure if any errors 
12767 have 
12768 occurred during the compilation.
12769
12770
12771 ----------------------------------------
12772 09 March 2005.  Summary of changes for version 20050309:
12773
12774 1) ACPI CA Core Subsystem:
12775
12776 The string-to-buffer implicit conversion code has been modified again 
12777 after 
12778 a change to the ACPI specification.  In order to match the behavior of 
12779 the 
12780 other major ACPI implementation, the target buffer is no longer truncated 
12781 if 
12782 the source string is smaller than an existing target buffer. This change 
12783 requires an update to the ACPI spec, and should eliminate the recent 
12784 AE_AML_BUFFER_LIMIT issues.
12785
12786 The "implicit return" support was rewritten to a new algorithm that 
12787 solves 
12788 the general case. Rather than attempt to determine when a method is about 
12789 to 
12790 exit, the result of every ASL operator is saved momentarily until the 
12791 very 
12792 next ASL operator is executed. Therefore, no matter how the method exits, 
12793 there will always be a saved implicit return value. This feature is only 
12794 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
12795 eliminate 
12796 AE_AML_NO_RETURN_VALUE errors when enabled.
12797
12798 Implemented implicit conversion support for the predicate (operand) of 
12799 the 
12800 If, Else, and While operators. String and Buffer arguments are 
12801 automatically 
12802 converted to Integers.
12803
12804 Changed the string-to-integer conversion behavior to match the new ACPI 
12805 errata: "If no integer object exists, a new integer is created. The ASCII 
12806 string is interpreted as a hexadecimal constant. Each string character is 
12807 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
12808 with the first character as the most significant digit, and ending with 
12809 the 
12810 first non-hexadecimal character or end-of-string." This means that the 
12811 first 
12812 non-hex character terminates the conversion and this is the code that was 
12813 changed.
12814
12815 Fixed a problem where the ObjectType operator would fail (fault) when 
12816 used 
12817 on an Index of a Package which pointed to a null package element. The 
12818 operator now properly returns zero (Uninitialized) in this case.
12819
12820 Fixed a problem where the While operator used excessive memory by not 
12821 properly popping the result stack during execution. There was no memory 
12822 leak 
12823 after execution, however. (Code provided by Valery Podrezov.)
12824
12825 Fixed a problem where references to control methods within Package 
12826 objects 
12827 caused the method to be invoked, instead of producing a reference object 
12828 pointing to the method.
12829
12830 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
12831 to 
12832 improve performance and reduce code size. (Code provided by Alexey 
12833 Starikovskiy.)
12834
12835 Code and Data Size: Current and previous core subsystem library sizes are 
12836 shown below. These are the code and data sizes for the acpica.lib 
12837 produced 
12838 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12839 any ACPI driver or OSPM code. The debug version of the code includes the 
12840 debug output trace mechanism and has a much larger code and data size. 
12841 Note 
12842 that these values will vary depending on the efficiency of the compiler 
12843 and 
12844 the compiler options used during generation.
12845
12846   Previous Release:
12847     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12848     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12849   Current Release:
12850     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12851     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12852
12853
12854 2) iASL Compiler/Disassembler:
12855
12856 Fixed a problem with the Return operator with no arguments. Since the AML 
12857 grammar for the byte encoding requires an operand for the Return opcode, 
12858 the 
12859 compiler now emits a Return(Zero) for this case.  An ACPI specification 
12860 update has been written for this case.
12861
12862 For tables other than the DSDT, namepath optimization is automatically 
12863 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
12864 the 
12865 compiler has no knowledge of where, and thus cannot optimize namepaths.
12866
12867 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
12868 inadvertently omitted from the ACPI specification, and will require an 
12869 update to the spec.
12870
12871 The source file scan for ASCII characters is now optional (-a). This 
12872 change 
12873 was made because some vendors place non-ascii characters within comments. 
12874 However, the scan is simply a brute-force byte compare to ensure all 
12875 characters in the file are in the range 0x00 to 0x7F.
12876
12877 Fixed a problem with the CondRefOf operator where the compiler was 
12878 inappropriately checking for the existence of the target. Since the point 
12879 of 
12880 the operator is to check for the existence of the target at run-time, the 
12881 compiler no longer checks for the target existence.
12882
12883 Fixed a problem where errors generated from the internal AML interpreter 
12884 during constant folding were not handled properly, causing a fault.
12885
12886 Fixed a problem with overly aggressive range checking for the Stall 
12887 operator. The valid range (max 255) is now only checked if the operand is 
12888 of 
12889 type Integer. All other operand types cannot be statically checked.
12890
12891 Fixed a problem where control method references within the RefOf, 
12892 DeRefOf, 
12893 and ObjectType operators were not treated properly. They are now treated 
12894 as 
12895 actual references, not method invocations.
12896
12897 Fixed and enhanced the "list namespace" option (-ln). This option was 
12898 broken 
12899 a number of releases ago.
12900
12901 Improved error handling for the Field, IndexField, and BankField 
12902 operators. 
12903 The compiler now cleanly reports and recovers from errors in the field 
12904 component (FieldUnit) list.
12905
12906 Fixed a disassembler problem where the optional ResourceDescriptor fields 
12907 TRS and TTP were not always handled correctly.
12908
12909 Disassembler - Comments in output now use "//" instead of "/*"
12910
12911 ----------------------------------------
12912 28 February 2005.  Summary of changes for version 20050228:
12913
12914 1) ACPI CA Core Subsystem:
12915
12916 Fixed a problem where the result of an Index() operator (an object 
12917 reference) must increment the reference count on the target object for 
12918 the 
12919 life of the object reference.
12920
12921 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
12922 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
12923 WordSpace 
12924 resource descriptors.
12925
12926 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
12927 Space Descriptor" string, indicating interpreter support for the 
12928 descriptors 
12929 above.
12930
12931 Implemented header support for the new ACPI 3.0 FADT flag bits.
12932
12933 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
12934 PM1 
12935 status/enable registers.
12936
12937 Updated header support for the MADT processor local Apic struct and MADT 
12938 platform interrupt source struct for new ACPI 3.0 fields.
12939
12940 Implemented header support for the SRAT and SLIT ACPI tables.
12941
12942 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
12943 flag 
12944 at runtime.
12945
12946 Code and Data Size: Current and previous core subsystem library sizes are 
12947 shown below. These are the code and data sizes for the acpica.lib 
12948 produced 
12949 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12950 any ACPI driver or OSPM code. The debug version of the code includes the 
12951 debug output trace mechanism and has a much larger code and data size. 
12952 Note 
12953 that these values will vary depending on the efficiency of the compiler 
12954 and 
12955 the compiler options used during generation.
12956
12957   Previous Release:
12958     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12959     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12960   Current Release:
12961     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12962     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12963
12964
12965 2) iASL Compiler/Disassembler:
12966
12967 Fixed a problem with the internal 64-bit String-to-integer conversion 
12968 with 
12969 strings less than two characters long.
12970
12971 Fixed a problem with constant folding where the result of the Index() 
12972 operator can not be considered a constant. This means that Index() cannot 
12973 be 
12974 a type3 opcode and this will require an update to the ACPI specification.
12975
12976 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
12977 descriptor fields. These fields were inadvertently ignored and not output 
12978 in 
12979 the disassembly of the resource descriptor.
12980
12981
12982  ----------------------------------------
12983 11 February 2005.  Summary of changes for version 20050211:
12984
12985 1) ACPI CA Core Subsystem:
12986
12987 Implemented ACPI 3.0 support for implicit conversion within the Match() 
12988 operator. MatchObjects can now be of type integer, buffer, or string 
12989 instead 
12990 of just type integer.  Package elements are implicitly converted to the 
12991 type 
12992 of the MatchObject. This change aligns the behavior of Match() with the 
12993 behavior of the other logical operators (LLess(), etc.) It also requires 
12994 an 
12995 errata change to the ACPI specification as this support was intended for 
12996 ACPI 3.0, but was inadvertently omitted.
12997
12998 Fixed a problem with the internal implicit "to buffer" conversion. 
12999 Strings 
13000 that are converted to buffers will cause buffer truncation if the string 
13001 is 
13002 smaller than the target buffer. Integers that are converted to buffers 
13003 will 
13004 not cause buffer truncation, only zero extension (both as per the ACPI 
13005 spec.) The problem was introduced when code was added to truncate the 
13006 buffer, but this should not be performed in all cases, only the string 
13007 case.
13008
13009 Fixed a problem with the Buffer and Package operators where the 
13010 interpreter 
13011 would get confused if two such operators were used as operands to an ASL 
13012 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
13013 stack was not being popped after the execution of these operators, 
13014 resulting 
13015 in an AE_NO_RETURN_VALUE exception.
13016
13017 Fixed a problem with constructs of the form Store(Index(...),...). The 
13018 reference object returned from Index was inadvertently resolved to an 
13019 actual 
13020 value. This problem was introduced in version 20050114 when the behavior 
13021 of 
13022 Store() was modified to restrict the object types that can be used as the 
13023 source operand (to match the ACPI specification.)
13024
13025 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
13026
13027 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
13028
13029 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
13030
13031 Code and Data Size: Current and previous core subsystem library sizes are 
13032 shown below. These are the code and data sizes for the acpica.lib 
13033 produced 
13034 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13035 any ACPI driver or OSPM code. The debug version of the code includes the 
13036 debug output trace mechanism and has a much larger code and data size. 
13037 Note 
13038 that these values will vary depending on the efficiency of the compiler 
13039 and 
13040 the compiler options used during generation.
13041
13042   Previous Release:
13043     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
13044     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
13045   Current Release:
13046     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
13047     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
13048
13049
13050 2) iASL Compiler/Disassembler:
13051
13052 Fixed a code generation problem in the constant folding optimization code 
13053 where incorrect code was generated if a constant was reduced to a buffer 
13054 object (i.e., a reduced type 5 opcode.)
13055
13056 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
13057 incorrect return type in the internal opcode information table.
13058
13059 ----------------------------------------
13060 25 January 2005.  Summary of changes for version 20050125:
13061
13062 1) ACPI CA Core Subsystem:
13063
13064 Fixed a recently introduced problem with the Global Lock where the 
13065 underlying semaphore was not created.  This problem was introduced in 
13066 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
13067 Acquire() operation on _GL.
13068
13069 The local object cache is now optional, and is disabled by default. Both 
13070 AcpiExec and the iASL compiler enable the cache because they run in user 
13071 mode and this enhances their performance. #define 
13072 ACPI_ENABLE_OBJECT_CACHE 
13073 to enable the local cache.
13074
13075 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
13076 the 
13077 optional "implicit return" support where an error was returned if no 
13078 return 
13079 object was expected, but one was implicitly returned. AE_OK is now 
13080 returned 
13081 in this case and the implicitly returned object is deleted. 
13082 AcpiUtEvaluateObject is only occasionally used, and only to execute 
13083 reserved 
13084 methods such as _STA and _INI where the return type is known up front.
13085
13086 Fixed a few issues with the internal convert-to-integer code. It now 
13087 returns 
13088 an error if an attempt is made to convert a null string, a string of only 
13089 blanks/tabs, or a zero-length buffer. This affects both implicit 
13090 conversion 
13091 and explicit conversion via the ToInteger() operator.
13092
13093 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
13094 is 
13095 not needed for normal operation and should increase the performance of 
13096 the 
13097 entire subsystem. The code remains in case it is needed for debug 
13098 purposes 
13099 again.
13100
13101 The AcpiExec source and makefile are included in the Unix/Linux package 
13102 for 
13103 the first time.
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:  78.4K Code,  11.5K Data,   89.9K Total
13118     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
13119   Current Release:
13120     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
13121     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
13122
13123 2) iASL Compiler/Disassembler:
13124
13125 Switch/Case support: A warning is now issued if the type of the Switch 
13126 value 
13127 cannot be determined at compile time. For example, Switch(Arg0) will 
13128 generate the warning, and the type is assumed to be an integer. As per 
13129 the 
13130 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
13131 the 
13132 warning.
13133
13134 Switch/Case support: Implemented support for buffer and string objects as 
13135 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
13136 buffers and strings.
13137
13138 Switch/Case support: The emitted code for the LEqual() comparisons now 
13139 uses 
13140 the switch value as the first operand, not the second. The case value is 
13141 now 
13142 the second operand, and this allows the case value to be implicitly 
13143 converted to the type of the switch value, not the other way around.
13144
13145 Switch/Case support: Temporary variables are now emitted immediately 
13146 within 
13147 the control method, not at the global level. This means that there are 
13148 now 
13149 36 temps available per-method, not 36 temps per-module as was the case 
13150 with 
13151 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
13152
13153 ----------------------------------------
13154 14 January 2005.  Summary of changes for version 20050114:
13155
13156 Added 2005 copyright to all module headers.  This affects every module in 
13157 the core subsystem, iASL compiler, and the utilities.
13158
13159 1) ACPI CA Core Subsystem:
13160
13161 Fixed an issue with the String-to-Buffer conversion code where the string 
13162 null terminator was not included in the buffer after conversion, but 
13163 there 
13164 is existing ASL that assumes the string null terminator is included. This 
13165 is 
13166 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
13167 introduced in the previous version when the code was updated to correctly 
13168 set the converted buffer size as per the ACPI specification. The ACPI 
13169 spec 
13170 is ambiguous and will be updated to specify that the null terminator must 
13171 be 
13172 included in the converted buffer. This also affects the ToBuffer() ASL 
13173 operator.
13174
13175 Fixed a problem with the Mid() ASL/AML operator where it did not work 
13176 correctly on Buffer objects. Newly created sub-buffers were not being 
13177 marked 
13178 as initialized.
13179
13180
13181 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
13182 performed on the OemId and OemTableId table header fields.  These fields 
13183 are 
13184 not null terminated, so strncmp is now used instead of strcmp.
13185
13186 Implemented a restriction on the Store() ASL/AML operator to align the 
13187 behavior with the ACPI specification.  Previously, any object could be 
13188 used 
13189 as the source operand.  Now, the only objects that may be used are 
13190 Integers, 
13191 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
13192 necessary, the original behavior can be restored by enabling the 
13193 EnableInterpreterSlack flag.
13194
13195 Enhanced the optional "implicit return" support to allow an implicit 
13196 return 
13197 value from methods that are invoked externally via the AcpiEvaluateObject 
13198 interface.  This enables implicit returns from the _STA and _INI methods, 
13199 for example.
13200
13201 Changed the Revision() ASL/AML operator to return the current version of 
13202 the 
13203 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
13204 returned 
13205 the supported ACPI version (This is the function of the _REV method).
13206
13207 Updated the _REV predefined method to return the currently supported 
13208 version 
13209 of ACPI, now 3.
13210
13211 Implemented batch mode option for the AcpiExec utility (-b).
13212
13213 Code and Data Size: Current and previous core subsystem library sizes are 
13214 shown below. These are the code and data sizes for the acpica.lib 
13215 produced 
13216 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13217 any ACPI driver or OSPM code. The debug version of the code includes the 
13218 debug output trace mechanism and has a much larger code and data size. 
13219 Note 
13220 that these values will vary depending on the efficiency of the compiler 
13221 and 
13222 the compiler options used during generation.
13223
13224   Previous Release:
13225     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
13226     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
13227   Current Release:
13228     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
13229     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
13230
13231 ----------------------------------------
13232 10 December 2004.  Summary of changes for version 20041210:
13233
13234 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
13235 ACPI CA core subsystem.
13236
13237 1) ACPI CA Core Subsystem:
13238
13239 Fixed a problem in the ToDecimalString operator where the resulting 
13240 string 
13241 length was incorrectly calculated. The length is now calculated exactly, 
13242 eliminating incorrect AE_STRING_LIMIT exceptions.
13243
13244 Fixed a problem in the ToHexString operator to allow a maximum 200 
13245 character 
13246 string to be produced.
13247
13248 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
13249 copy 
13250 routine where the length of the resulting buffer was not truncated to the 
13251 new size (if the target buffer already existed).
13252
13253 Code and Data Size: Current and previous core subsystem library sizes are 
13254 shown below. These are the code and data sizes for the acpica.lib 
13255 produced 
13256 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13257 any ACPI driver or OSPM code. The debug version of the code includes the 
13258 debug output trace mechanism and has a much larger code and data size. 
13259 Note 
13260 that these values will vary depending on the efficiency of the compiler 
13261 and 
13262 the compiler options used during generation.
13263
13264   Previous Release:
13265     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
13266     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
13267   Current Release:
13268     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
13269     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
13270
13271
13272 2) iASL Compiler/Disassembler:
13273
13274 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
13275 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
13276 Includes support in the disassembler.
13277
13278 Implemented support for the new (ACPI 3.0) parameter to the Register 
13279 macro, 
13280 AccessSize.
13281
13282 Fixed a problem where the _HE resource name for the Interrupt macro was 
13283 referencing bit 0 instead of bit 1.
13284
13285 Implemented check for maximum 255 interrupts in the Interrupt macro.
13286
13287 Fixed a problem with the predefined resource descriptor names where 
13288 incorrect AML code was generated if the offset within the resource buffer 
13289 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
13290 but did not update the surrounding package lengths.
13291
13292 Changes to the Dma macro:  All channels within the channel list must be 
13293 in 
13294 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
13295 optional (default is BusMaster).
13296
13297 Implemented check for maximum 7 data bytes for the VendorShort macro.
13298
13299 The ReadWrite parameter is now optional for the Memory32 and similar 
13300 macros.
13301
13302 ----------------------------------------
13303 03 December 2004.  Summary of changes for version 20041203:
13304
13305 1) ACPI CA Core Subsystem:
13306
13307 The low-level field insertion/extraction code (exfldio) has been 
13308 completely 
13309 rewritten to eliminate unnecessary complexity, bugs, and boundary 
13310 conditions.
13311
13312 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
13313 ToDecimalString 
13314 operators where the input operand could be inadvertently deleted if no 
13315 conversion was necessary (e.g., if the input to ToInteger was an Integer 
13316 object.)
13317
13318 Fixed a problem with the ToDecimalString and ToHexString where an 
13319 incorrect 
13320 exception code was returned if the resulting string would be > 200 chars.  
13321 AE_STRING_LIMIT is now returned.
13322
13323 Fixed a problem with the Concatenate operator where AE_OK was always 
13324 returned, even if the operation failed.
13325
13326 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
13327 semaphores to be allocated.
13328
13329 Code and Data Size: Current and previous core subsystem library sizes are 
13330 shown below. These are the code and data sizes for the acpica.lib 
13331 produced 
13332 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13333 any ACPI driver or OSPM code. The debug version of the code includes the 
13334 debug output trace mechanism and has a much larger code and data size. 
13335 Note 
13336 that these values will vary depending on the efficiency of the compiler 
13337 and 
13338 the compiler options used during generation.
13339
13340   Previous Release:
13341     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13342     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13343   Current Release:
13344     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
13345     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
13346
13347
13348 2) iASL Compiler/Disassembler:
13349
13350 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
13351 recently introduced in 20041119.
13352
13353 Fixed a problem with the ToUUID macro where the upper nybble of each 
13354 buffer 
13355 byte was inadvertently set to zero.
13356
13357 ----------------------------------------
13358 19 November 2004.  Summary of changes for version 20041119:
13359
13360 1) ACPI CA Core Subsystem:
13361
13362 Fixed a problem in the internal ConvertToInteger routine where new 
13363 integers 
13364 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
13365 converts 
13366 buffers and strings to integers.
13367
13368 Implemented support to store a value to an Index() on a String object. 
13369 This 
13370 is an ACPI 2.0 feature that had not yet been implemented.
13371
13372 Implemented new behavior for storing objects to individual package 
13373 elements 
13374 (via the Index() operator). The previous behavior was to invoke the 
13375 implicit 
13376 conversion rules if an object was already present at the index.  The new 
13377 behavior is to simply delete any existing object and directly store the 
13378 new 
13379 object. Although the ACPI specification seems unclear on this subject, 
13380 other 
13381 ACPI implementations behave in this manner.  (This is the root of the 
13382 AE_BAD_HEX_CONSTANT issue.)
13383
13384 Modified the RSDP memory scan mechanism to support the extended checksum 
13385 for 
13386 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
13387 RSDP signature is found with a valid checksum.
13388
13389 Code and Data Size: Current and previous core subsystem library sizes are 
13390 shown below. These are the code and data sizes for the acpica.lib 
13391 produced 
13392 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13393 any ACPI driver or OSPM code. The debug version of the code includes the 
13394 debug output trace mechanism and has a much larger code and data size. 
13395 Note 
13396 that these values will vary depending on the efficiency of the compiler 
13397 and 
13398 the compiler options used during generation.
13399
13400   Previous Release:
13401     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13402     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13403   Current Release:
13404     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13405     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13406
13407
13408 2) iASL Compiler/Disassembler:
13409
13410 Fixed a missing semicolon in the aslcompiler.y file.
13411
13412 ----------------------------------------
13413 05 November 2004.  Summary of changes for version 20041105:
13414
13415 1) ACPI CA Core Subsystem:
13416
13417 Implemented support for FADT revision 2.  This was an interim table 
13418 (between 
13419 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
13420
13421 Implemented optional support to allow uninitialized LocalX and ArgX 
13422 variables in a control method.  The variables are initialized to an 
13423 Integer 
13424 object with a value of zero.  This support is enabled by setting the 
13425 AcpiGbl_EnableInterpreterSlack flag to TRUE.
13426
13427 Implemented support for Integer objects for the SizeOf operator.  Either 
13428
13429 or 8 is returned, depending on the current integer size (32-bit or 64-
13430 bit, 
13431 depending on the parent table revision).
13432
13433 Fixed a problem in the implementation of the SizeOf and ObjectType 
13434 operators 
13435 where the operand was resolved to a value too early, causing incorrect 
13436 return values for some objects.
13437
13438 Fixed some possible memory leaks during exceptional conditions.
13439
13440 Code and Data Size: Current and previous core subsystem library sizes are 
13441 shown below. These are the code and data sizes for the acpica.lib 
13442 produced 
13443 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13444 any ACPI driver or OSPM code. The debug version of the code includes the 
13445 debug output trace mechanism and has a much larger code and data size. 
13446 Note 
13447 that these values will vary depending on the efficiency of the compiler 
13448 and 
13449 the compiler options used during generation.
13450
13451   Previous Release:
13452     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13453     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13454   Current Release:
13455     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
13456     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
13457
13458
13459 2) iASL Compiler/Disassembler:
13460
13461 Implemented support for all ACPI 3.0 reserved names and methods.
13462
13463 Implemented all ACPI 3.0 grammar elements in the front-end, including 
13464 support for semicolons.
13465
13466 Implemented the ACPI 3.0 Function() and ToUUID() macros
13467
13468 Fixed a problem in the disassembler where a Scope() operator would not be 
13469 emitted properly if the target of the scope was in another table.
13470
13471 ----------------------------------------
13472 15 October 2004.  Summary of changes for version 20041015:
13473
13474 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
13475 evaluation to test/verify the following areas. Other suggestions are 
13476 welcome. This will result in an increase in the frequency of releases and 
13477 the number of bug fixes in the next few months.
13478   - Functional tests for all ASL/AML operators
13479   - All implicit/explicit type conversions
13480   - Bit fields and operation regions
13481   - 64-bit math support and 32-bit-only "truncated" math support
13482   - Exceptional conditions, both compiler and interpreter
13483   - Dynamic object deletion and memory leaks
13484   - ACPI 3.0 support when implemented
13485   - External interfaces to the ACPI subsystem
13486
13487
13488 1) ACPI CA Core Subsystem:
13489
13490 Fixed two alignment issues on 64-bit platforms - within debug statements 
13491 in 
13492 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
13493 Address 
13494 field within the non-aligned ACPI generic address structure.
13495
13496 Fixed a problem in the Increment and Decrement operators where incorrect 
13497 operand resolution could result in the inadvertent modification of the 
13498 original integer when the integer is passed into another method as an 
13499 argument and the arg is then incremented/decremented.
13500
13501 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
13502 bit 
13503 BCD number were truncated during conversion.
13504
13505 Fixed a problem in the ToDecimal operator where the length of the 
13506 resulting 
13507 string could be set incorrectly too long if the input operand was a 
13508 Buffer 
13509 object.
13510
13511 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
13512 (0) 
13513 within a buffer would prematurely terminate a compare between buffer 
13514 objects.
13515
13516 Added a check for string overflow (>200 characters as per the ACPI 
13517 specification) during the Concatenate operator with two string operands.
13518
13519 Code and Data Size: Current and previous core subsystem library sizes are 
13520 shown below. These are the code and data sizes for the acpica.lib 
13521 produced 
13522 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13523 any ACPI driver or OSPM code. The debug version of the code includes the 
13524 debug output trace mechanism and has a much larger code and data size. 
13525 Note 
13526 that these values will vary depending on the efficiency of the compiler 
13527 and 
13528 the compiler options used during generation.
13529
13530   Previous Release:
13531     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13532     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13533   Current Release:
13534     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13535     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
13536
13537
13538
13539 2) iASL Compiler/Disassembler:
13540
13541 Allow the use of the ObjectType operator on uninitialized Locals and Args 
13542 (returns 0 as per the ACPI specification).
13543
13544 Fixed a problem where the compiler would fault if there was a syntax 
13545 error 
13546 in the FieldName of all of the various CreateXXXField operators.
13547
13548 Disallow the use of lower case letters within the EISAID macro, as per 
13549 the 
13550 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
13551 Where 
13552 U is an uppercase letter and N is a hex digit.
13553
13554
13555 ----------------------------------------
13556 06 October 2004.  Summary of changes for version 20041006:
13557
13558 1) ACPI CA Core Subsystem:
13559
13560 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
13561 implements a 64-bit timer with 100 nanosecond granularity.
13562
13563 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
13564 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
13565 implement 
13566 the timer with the best clock available. Also, it keeps the core 
13567 subsystem 
13568 out of the clock handling business, since the host OS (usually) performs 
13569 this function.
13570
13571 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
13572 functions use a 64-bit address which is part of the packed ACPI Generic 
13573 Address Structure. Since the structure is non-aligned, the alignment 
13574 macros 
13575 are now used to extract the address to a local variable before use.
13576
13577 Fixed a problem where the ToInteger operator assumed all input strings 
13578 were 
13579 hexadecimal. The operator now handles both decimal strings and hex 
13580 strings 
13581 (prefixed with "0x").
13582
13583 Fixed a problem where the string length in the string object created as a 
13584 result of the internal ConvertToString procedure could be incorrect. This 
13585 potentially affected all implicit conversions and also the 
13586 ToDecimalString 
13587 and ToHexString operators.
13588
13589 Fixed two problems in the ToString operator. If the length parameter was 
13590 zero, an incorrect string object was created and the value of the input 
13591 length parameter was inadvertently changed from zero to Ones.
13592
13593 Fixed a problem where the optional ResourceSource string in the 
13594 ExtendedIRQ 
13595 resource macro was ignored.
13596
13597 Simplified the interfaces to the internal division functions, reducing 
13598 code 
13599 size and complexity.
13600
13601 Code and Data Size: Current and previous core subsystem library sizes are 
13602 shown below. These are the code and data sizes for the acpica.lib 
13603 produced 
13604 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13605 any ACPI driver or OSPM code. The debug version of the code includes the 
13606 debug output trace mechanism and has a much larger code and data size. 
13607 Note 
13608 that these values will vary depending on the efficiency of the compiler 
13609 and 
13610 the compiler options used during generation.
13611
13612   Previous Release:
13613     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13614     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13615   Current Release:
13616     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13617     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
13618
13619
13620 2) iASL Compiler/Disassembler:
13621
13622 Implemented support for the ACPI 3.0 Timer operator.
13623
13624 Fixed a problem where the Default() operator was inadvertently ignored in 
13625
13626 Switch/Case block.  This was a problem in the translation of the Switch 
13627 statement to If...Else pairs.
13628
13629 Added support to allow a standalone Return operator, with no parentheses 
13630 (or 
13631 operands).
13632
13633 Fixed a problem with code generation for the ElseIf operator where the 
13634 translated Else...If parse tree was improperly constructed leading to the 
13635 loss of some code.
13636
13637 ----------------------------------------
13638 22 September 2004.  Summary of changes for version 20040922:
13639
13640 1) ACPI CA Core Subsystem:
13641
13642 Fixed a problem with the implementation of the LNot() operator where 
13643 "Ones" 
13644 was not returned for the TRUE case. Changed the code to return Ones 
13645 instead 
13646 of (!Arg) which was usually 1. This change affects iASL constant folding 
13647 for 
13648 this operator also.
13649
13650 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
13651 not 
13652 initialized properly -- Now zero the entire buffer in this case where the 
13653 buffer already exists.
13654
13655 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
13656 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
13657 related code considerably. This will require changes/updates to all OS 
13658 interface layers (OSLs.)
13659
13660 Implemented a new external interface, AcpiInstallExceptionHandler, to 
13661 allow 
13662 a system exception handler to be installed. This handler is invoked upon 
13663 any 
13664 run-time exception that occurs during control method execution.
13665
13666 Added support for the DSDT in AcpiTbFindTable. This allows the 
13667 DataTableRegion() operator to access the local copy of the DSDT.
13668
13669 Code and Data Size: Current and previous core subsystem library sizes are 
13670 shown below. These are the code and data sizes for the acpica.lib 
13671 produced 
13672 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13673 any ACPI driver or OSPM code. The debug version of the code includes the 
13674 debug output trace mechanism and has a much larger code and data size. 
13675 Note 
13676 that these values will vary depending on the efficiency of the compiler 
13677 and 
13678 the compiler options used during generation.
13679
13680   Previous Release:
13681     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13682     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13683   Current Release:
13684     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
13685     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
13686
13687
13688 2) iASL Compiler/Disassembler:
13689
13690 Fixed a problem with constant folding and the LNot operator. LNot was 
13691 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
13692 This 
13693 could result in the generation of an incorrect folded/reduced constant.
13694
13695 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
13696 longer occurs if such a comment is at the very end of the input ASL 
13697 source 
13698 file.
13699
13700 Implemented the "-r" option to override the Revision in the table header. 
13701 The initial use of this option will be to simplify the evaluation of the 
13702 AML 
13703 interpreter by allowing a single ASL source module to be compiled for 
13704 either 
13705 32-bit or 64-bit integers.
13706
13707
13708 ----------------------------------------
13709 27 August 2004.  Summary of changes for version 20040827:
13710
13711 1) ACPI CA Core Subsystem:
13712
13713 - Implemented support for implicit object conversion in the non-numeric 
13714 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
13715 and 
13716 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
13717 the second operand is implicitly converted on the fly to match the type 
13718 of 
13719 the first operand.  For example:
13720
13721     LEqual (Source1, Source2)
13722
13723 Source1 and Source2 must each evaluate to an integer, a string, or a 
13724 buffer. 
13725 The data type of Source1 dictates the required type of Source2. Source2 
13726 is 
13727 implicitly converted if necessary to match the type of Source1.
13728
13729 - Updated and corrected the behavior of the string conversion support.  
13730 The 
13731 rules concerning conversion of buffers to strings (according to the ACPI 
13732 specification) are as follows:
13733
13734 ToDecimalString - explicit byte-wise conversion of buffer to string of 
13735 decimal values (0-255) separated by commas. ToHexString - explicit byte-
13736 wise 
13737 conversion of buffer to string of hex values (0-FF) separated by commas. 
13738 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
13739 byte 
13740 copy with no transform except NULL terminated. Any other implicit buffer-
13741 to-
13742 string conversion - byte-wise conversion of buffer to string of hex 
13743 values 
13744 (0-FF) separated by spaces.
13745
13746 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
13747
13748 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
13749 was 
13750 one byte too short in the case of a node in the root scope.  This could 
13751 cause a fault during debug output.
13752
13753 - Code and Data Size: Current and previous core subsystem library sizes 
13754 are 
13755 shown below.  These are the code and data sizes for the acpica.lib 
13756 produced 
13757 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13758 any ACPI driver or OSPM code.  The debug version of the code includes the 
13759 debug output trace mechanism and has a much larger code and data size.  
13760 Note 
13761 that these values will vary depending on the efficiency of the compiler 
13762 and 
13763 the compiler options used during generation.
13764
13765   Previous Release:
13766     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13767     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13768   Current Release:
13769     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
13770     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
13771
13772
13773 2) iASL Compiler/Disassembler:
13774
13775 - Fixed a Linux generation error.
13776
13777
13778 ----------------------------------------
13779 16 August 2004.  Summary of changes for version 20040816:
13780
13781 1) ACPI CA Core Subsystem:
13782
13783 Designed and implemented support within the AML interpreter for the so-
13784 called "implicit return".  This support returns the result of the last 
13785 ASL 
13786 operation within a control method, in the absence of an explicit Return() 
13787 operator.  A few machines depend on this behavior, even though it is not 
13788 explicitly supported by the ASL language.  It is optional support that 
13789 can 
13790 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
13791
13792 Removed support for the PCI_Config address space from the internal low 
13793 level 
13794 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
13795 support was not used internally, and would not work correctly anyway 
13796 because 
13797 the PCI bus number and segment number were not supported.  There are 
13798 separate interfaces for PCI configuration space access because of the 
13799 unique 
13800 interface.
13801
13802 Code and Data Size: Current and previous core subsystem library sizes are 
13803 shown below.  These are the code and data sizes for the acpica.lib 
13804 produced 
13805 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13806 any ACPI driver or OSPM code.  The debug version of the code includes the 
13807 debug output trace mechanism and has a much larger code and data size.  
13808 Note 
13809 that these values will vary depending on the efficiency of the compiler 
13810 and 
13811 the compiler options used during generation.
13812
13813   Previous Release:
13814     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13815     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13816   Current Release:
13817     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13818     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13819
13820
13821 2) iASL Compiler/Disassembler:
13822
13823 Fixed a problem where constants in ASL expressions at the root level (not 
13824 within a control method) could be inadvertently truncated during code 
13825 generation.  This problem was introduced in the 20040715 release.
13826
13827
13828 ----------------------------------------
13829 15 July 2004.  Summary of changes for version 20040715:
13830
13831 1) ACPI CA Core Subsystem:
13832
13833 Restructured the internal HW GPE interfaces to pass/track the current 
13834 state 
13835 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
13836 increase flexibility of the interfaces.
13837
13838 Implemented a "lexicographical compare" for String and Buffer objects 
13839 within 
13840 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
13841
13842 as per further clarification to the ACPI specification.  Behavior is 
13843 similar 
13844 to C library "strcmp".
13845
13846 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
13847 external function.  In the 32-bit non-debug case, the stack use has been 
13848 reduced from 168 bytes to 32 bytes.
13849
13850 Deployed a new run-time configuration flag, 
13851 AcpiGbl_EnableInterpreterSlack, 
13852 whose purpose is to allow the AML interpreter to forgive certain bad AML 
13853 constructs.  Default setting is FALSE.
13854
13855 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
13856 IO 
13857 support code.  If enabled, it allows field access to go beyond the end of 
13858
13859 region definition if the field is within the region length rounded up to 
13860 the 
13861 next access width boundary (a common coding error.)
13862
13863 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
13864 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
13865 these 
13866 symbols are lowercase by the latest version of the AcpiSrc tool.
13867
13868 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
13869 rename "Register" to simply "Reg" to prevent certain compilers from 
13870 complaining.
13871
13872 Code and Data Size: Current and previous core subsystem library sizes are 
13873 shown below.  These are the code and data sizes for the acpica.lib 
13874 produced 
13875 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13876 any ACPI driver or OSPM code.  The debug version of the code includes the 
13877 debug output trace mechanism and has a much larger code and data size.  
13878 Note 
13879 that these values will vary depending on the efficiency of the compiler 
13880 and 
13881 the compiler options used during generation.
13882
13883   Previous Release:
13884     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13885     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13886   Current Release:
13887     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13888     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13889
13890
13891 2) iASL Compiler/Disassembler:
13892
13893 Implemented full support for Package objects within the Case() operator.  
13894 Note: The Break() operator is currently not supported within Case blocks 
13895 (TermLists) as there is some question about backward compatibility with 
13896 ACPI 
13897 1.0 interpreters.
13898
13899
13900 Fixed a problem where complex terms were not supported properly within 
13901 the 
13902 Switch() operator.
13903
13904 Eliminated extraneous warning for compiler-emitted reserved names of the 
13905 form "_T_x".  (Used in Switch/Case operators.)
13906
13907 Eliminated optimization messages for "_T_x" objects and small constants 
13908 within the DefinitionBlock operator.
13909
13910
13911 ----------------------------------------
13912 15 June 2004.  Summary of changes for version 20040615:
13913
13914 1) ACPI CA Core Subsystem:
13915
13916 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13917 the 
13918 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13919 LLessEqual.
13920
13921 All directory names in the entire source package are lower case, as they 
13922 were in earlier releases.
13923
13924 Implemented "Disassemble" command in the AML debugger that will 
13925 disassemble 
13926 a single control method.
13927
13928 Code and Data Size: Current and previous core subsystem library sizes are 
13929 shown below.  These are the code and data sizes for the acpica.lib 
13930 produced 
13931 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13932 any ACPI driver or OSPM code.  The debug version of the code includes the 
13933 debug output trace mechanism and has a much larger code and data size.  
13934 Note 
13935 that these values will vary depending on the efficiency of the compiler 
13936 and 
13937 the compiler options used during generation.
13938
13939   Previous Release:
13940     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13941     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13942
13943   Current Release:
13944     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13945     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13946
13947
13948 2) iASL Compiler/Disassembler:
13949
13950 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13951 the 
13952 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13953 LLessEqual.
13954
13955 All directory names in the entire source package are lower case, as they 
13956 were in earlier releases.
13957
13958 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
13959 not found.
13960
13961 Fixed an issue with the Windows version of the compiler where later 
13962 versions 
13963 of Windows place the FADT in the registry under the name "FADT" and not 
13964 "FACP" as earlier versions did.  This applies when using the -g or -
13965 d<nofilename> options.  The compiler now looks for both strings as 
13966 necessary.
13967
13968 Fixed a problem with compiler namepath optimization where a namepath 
13969 within 
13970 the Scope() operator could not be optimized if the namepath was a subpath 
13971 of 
13972 the current scope path.
13973
13974 ----------------------------------------
13975 27 May 2004.  Summary of changes for version 20040527:
13976
13977 1) ACPI CA Core Subsystem:
13978
13979 Completed a new design and implementation for EBDA (Extended BIOS Data 
13980 Area) 
13981 support in the RSDP scan code.  The original code improperly scanned for 
13982 the 
13983 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
13984 method 
13985 is to first obtain the EBDA pointer from within the BIOS data area, then 
13986 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
13987 if 
13988 any machines that place the RSDP in the EBDA, however.
13989
13990 Integrated a fix for a possible fault during evaluation of BufferField 
13991 arguments.  Obsolete code that was causing the problem was removed.
13992
13993 Found and fixed a problem in the Field Support Code where data could be 
13994 corrupted on a bit field read that starts on an aligned boundary but does 
13995 not end on an aligned boundary.  Merged the read/write "datum length" 
13996 calculation code into a common procedure.
13997
13998 Rolled in a couple of changes to the FreeBSD-specific header.
13999
14000
14001 Code and Data Size: Current and previous core subsystem library sizes are 
14002 shown below.  These are the code and data sizes for the acpica.lib 
14003 produced 
14004 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
14005 any ACPI driver or OSPM code.  The debug version of the code includes the 
14006 debug output trace mechanism and has a much larger code and data size.  
14007 Note 
14008 that these values will vary depending on the efficiency of the compiler 
14009 and 
14010 the compiler options used during generation.
14011
14012   Previous Release:
14013     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
14014     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
14015   Current Release:
14016     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
14017     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
14018
14019
14020 2) iASL Compiler/Disassembler:
14021
14022 Fixed a generation warning produced by some overly-verbose compilers for 
14023
14024 64-bit constant.
14025
14026 ----------------------------------------
14027 14 May 2004.  Summary of changes for version 20040514:
14028
14029 1) ACPI CA Core Subsystem:
14030
14031 Fixed a problem where hardware GPE enable bits sometimes not set properly 
14032 during and after GPE method execution.  Result of 04/27 changes.
14033
14034 Removed extra "clear all GPEs" when sleeping/waking.
14035
14036 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
14037 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
14038 to 
14039 the new AcpiEv* calls as appropriate.
14040
14041 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
14042 is 
14043 now "Microsoft Windows NT" for maximum compatibility.  However this can 
14044 be 
14045 changed by modifying the acconfig.h file.
14046
14047 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
14048 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
14049
14050 Run _INI methods on ThermalZone objects.  This is against the ACPI 
14051 specification, but there is apparently ASL code in the field that has 
14052 these 
14053 _INI methods, and apparently "other" AML interpreters execute them.
14054
14055 Performed a full 16/32/64 bit lint that resulted in some small changes.
14056
14057 Added a sleep simulation command to the AML debugger to test sleep code. 
14058
14059 Code and Data Size: Current and previous core subsystem library sizes are 
14060 shown below.  These are the code and data sizes for the acpica.lib 
14061 produced 
14062 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
14063 any ACPI driver or OSPM code.  The debug version of the code includes the 
14064 debug output trace mechanism and has a much larger code and data size.  
14065 Note 
14066 that these values will vary depending on the efficiency of the compiler 
14067 and 
14068 the compiler options used during generation.
14069
14070   Previous Release:
14071     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
14072     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
14073   Current Release:
14074     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
14075     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
14076
14077 ----------------------------------------
14078 27 April 2004.  Summary of changes for version 20040427:
14079
14080 1) ACPI CA Core Subsystem:
14081
14082 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
14083 now three types of GPEs:  wake-only, runtime-only, and combination 
14084 wake/run.  
14085 The only GPEs allowed to be combination wake/run are for button-style 
14086 devices such as a control-method power button, control-method sleep 
14087 button, 
14088 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
14089 not 
14090 referenced by any _PRW methods are marked for "runtime" and hardware 
14091 enabled.  Any GPE that is referenced by a _PRW method is marked for 
14092 "wake" 
14093 (and disabled at runtime).  However, at sleep time, only those GPEs that 
14094 have been specifically enabled for wake via the AcpiEnableGpe interface 
14095 will 
14096 actually be hardware enabled.
14097
14098 A new external interface has been added, AcpiSetGpeType(), that is meant 
14099 to 
14100 be used by device drivers to force a GPE to a particular type.  It will 
14101 be 
14102 especially useful for the drivers for the button devices mentioned above.
14103
14104 Completed restructuring of the ACPI CA initialization sequence so that 
14105 default operation region handlers are installed before GPEs are 
14106 initialized 
14107 and the _PRW methods are executed.  This will prevent errors when the 
14108 _PRW 
14109 methods attempt to access system memory or I/O space.
14110
14111 GPE enable/disable no longer reads the GPE enable register.  We now keep 
14112 the 
14113 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
14114 thus no longer depend on the hardware to maintain these bits.
14115
14116 Always clear the wake status and fixed/GPE status bits before sleep, even 
14117 for state S5.
14118
14119 Improved the AML debugger output for displaying the GPE blocks and their 
14120 current status.
14121
14122 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
14123 where 
14124 x = 0,1,2,3,4.
14125
14126 Fixed a problem where the physical address was incorrectly calculated 
14127 when 
14128 the Load() operator was used to directly load from an Operation Region 
14129 (vs. 
14130 loading from a Field object.)  Also added check for minimum table length 
14131 for 
14132 this case.
14133
14134 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
14135 mutex release.
14136
14137 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
14138 consistency with the other fields returned.
14139
14140 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
14141 structure for each GPE in the system, so the size of this structure is 
14142 important.
14143
14144 CPU stack requirement reduction:  Cleaned up the method execution and 
14145 object 
14146 evaluation paths so that now a parameter structure is passed, instead of 
14147 copying the various method parameters over and over again.
14148
14149 In evregion.c:  Correctly exit and reenter the interpreter region if and 
14150 only if dispatching an operation region request to a user-installed 
14151 handler.  
14152 Do not exit/reenter when dispatching to a default handler (e.g., default 
14153 system memory or I/O handlers)
14154
14155
14156 Notes for updating drivers for the new GPE support.  The following 
14157 changes 
14158 must be made to ACPI-related device drivers that are attached to one or 
14159 more 
14160 GPEs: (This information will be added to the ACPI CA Programmer 
14161 Reference.)
14162
14163 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
14164 must 
14165 explicitly call AcpiEnableGpe.
14166 2) There is a new interface called AcpiSetGpeType. This should be called 
14167 before enabling the GPE.  Also, this interface will automatically disable 
14168 the GPE if it is currently enabled.
14169 3) AcpiEnableGpe no longer supports a GPE type flag.
14170
14171 Specific drivers that must be changed:
14172 1) EC driver:
14173     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
14174 AeGpeHandler, NULL);
14175     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
14176     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
14177
14178 2) Button Drivers (Power, Lid, Sleep):
14179 Run _PRW method under parent device
14180 If _PRW exists: /* This is a control-method button */
14181     Extract GPE number and possibly GpeDevice
14182     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
14183     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
14184
14185 For all other devices that have _PRWs, we automatically set the GPE type 
14186 to 
14187 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
14188 This 
14189 must be done on a selective basis, usually requiring some kind of user 
14190 app 
14191 to allow the user to pick the wake devices.
14192
14193
14194 Code and Data Size: Current and previous core subsystem library sizes are 
14195 shown below.  These are the code and data sizes for the acpica.lib 
14196 produced 
14197 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
14198 any ACPI driver or OSPM code.  The debug version of the code includes the 
14199 debug output trace mechanism and has a much larger code and data size.  
14200 Note 
14201 that these values will vary depending on the efficiency of the compiler 
14202 and 
14203 the compiler options used during generation.
14204
14205   Previous Release:
14206     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
14207     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
14208   Current Release:
14209
14210     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
14211     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
14212
14213
14214
14215 ----------------------------------------
14216 02 April 2004.  Summary of changes for version 20040402:
14217
14218 1) ACPI CA Core Subsystem:
14219
14220 Fixed an interpreter problem where an indirect store through an ArgX 
14221 parameter was incorrectly applying the "implicit conversion rules" during 
14222 the store.  From the ACPI specification: "If the target is a method local 
14223 or 
14224 argument (LocalX or ArgX), no conversion is performed and the result is 
14225 stored directly to the target".  The new behavior is to disable implicit 
14226 conversion during ALL stores to an ArgX.
14227
14228 Changed the behavior of the _PRW method scan to ignore any and all errors 
14229 returned by a given _PRW.  This prevents the scan from aborting from the 
14230 failure of any single _PRW.
14231
14232 Moved the runtime configuration parameters from the global init procedure 
14233 to 
14234 static variables in acglobal.h.  This will allow the host to override the 
14235 default values easily.
14236
14237 Code and Data Size: Current and previous core subsystem library sizes are 
14238 shown below.  These are the code and data sizes for the acpica.lib 
14239 produced 
14240 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
14241 any ACPI driver or OSPM code.  The debug version of the code includes the 
14242 debug output trace mechanism and has a much larger code and data size.  
14243 Note 
14244 that these values will vary depending on the efficiency of the compiler 
14245 and 
14246 the compiler options used during generation.
14247
14248   Previous Release:
14249     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
14250     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
14251   Current Release:
14252     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
14253     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
14254
14255
14256 2) iASL Compiler/Disassembler:
14257
14258 iASL now fully disassembles SSDTs.  However, External() statements are 
14259 not 
14260 generated automatically for unresolved symbols at this time.  This is a 
14261 planned feature for future implementation.
14262
14263 Fixed a scoping problem in the disassembler that occurs when the type of 
14264 the 
14265 target of a Scope() operator is overridden.  This problem caused an 
14266 incorrectly nested internal namespace to be constructed.
14267
14268 Any warnings or errors that are emitted during disassembly are now 
14269 commented 
14270 out automatically so that the resulting file can be recompiled without 
14271 any 
14272 hand editing.
14273
14274 ----------------------------------------
14275 26 March 2004.  Summary of changes for version 20040326:
14276
14277 1) ACPI CA Core Subsystem:
14278
14279 Implemented support for "wake" GPEs via interaction between GPEs and the 
14280 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
14281 identified as a WAKE GPE and by default will no longer be enabled at 
14282 runtime.  Previously, we were blindly enabling all GPEs with a 
14283 corresponding 
14284 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
14285 We 
14286 believe this has been the cause of thousands of "spurious" GPEs on some 
14287 systems.
14288
14289 This new GPE behavior is can be reverted to the original behavior (enable 
14290 ALL GPEs at runtime) via a runtime flag.
14291
14292 Fixed a problem where aliased control methods could not access objects 
14293 properly.  The proper scope within the namespace was not initialized 
14294 (transferred to the target of the aliased method) before executing the 
14295 target method.
14296
14297 Fixed a potential race condition on internal object deletion on the 
14298 return 
14299 object in AcpiEvaluateObject. 
14300
14301 Integrated a fix for resource descriptors where both _MEM and _MTP were 
14302 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
14303 wide, 0x0F instead of 0x03.)
14304
14305 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
14306 preventing 
14307
14308 fault in some cases.
14309
14310 Updated Notify() values for debug statements in evmisc.c
14311
14312 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
14313
14314 Code and Data Size: Current and previous core subsystem library sizes are 
14315 shown below.  These are the code and data sizes for the acpica.lib 
14316 produced 
14317 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
14318 any ACPI driver or OSPM code.  The debug version of the code includes the 
14319 debug output trace mechanism and has a much larger code and data size.  
14320 Note 
14321 that these values will vary depending on the efficiency of the compiler 
14322 and 
14323 the compiler options used during generation.
14324
14325   Previous Release:
14326
14327     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
14328     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
14329   Current Release:
14330     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
14331     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
14332
14333 ----------------------------------------
14334 11 March 2004.  Summary of changes for version 20040311:
14335
14336 1) ACPI CA Core Subsystem:
14337
14338 Fixed a problem where errors occurring during the parse phase of control 
14339 method execution did not abort cleanly.  For example, objects created and 
14340 installed in the namespace were not deleted.  This caused all subsequent 
14341 invocations of the method to return the AE_ALREADY_EXISTS exception.
14342
14343 Implemented a mechanism to force a control method to "Serialized" 
14344 execution 
14345 if the method attempts to create namespace objects. (The root of the 
14346 AE_ALREADY_EXISTS problem.)
14347
14348 Implemented support for the predefined _OSI "internal" control method.  
14349 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
14350 and 
14351 "Windows 2001.1", and can be easily upgraded for new strings as 
14352 necessary.  
14353 This feature will allow "other" operating systems to execute the fully 
14354 tested, "Windows" code path through the ASL code
14355
14356 Global Lock Support:  Now allows multiple acquires and releases with any 
14357 internal thread.  Removed concept of "owning thread" for this special 
14358 mutex.
14359
14360 Fixed two functions that were inappropriately declaring large objects on 
14361 the 
14362 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
14363 during 
14364 method execution considerably.
14365
14366 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
14367 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
14368
14369 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
14370 defined on the machine.
14371
14372 Implemented two runtime options:  One to force all control method 
14373 execution 
14374 to "Serialized" to mimic Windows behavior, another to disable _OSI 
14375 support 
14376 if it causes problems on a given machine.
14377
14378 Code and Data Size: Current and previous core subsystem library sizes are 
14379 shown below.  These are the code and data sizes for the acpica.lib 
14380 produced 
14381 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
14382 any ACPI driver or OSPM code.  The debug version of the code includes the 
14383 debug output trace mechanism and has a much larger code and data size.  
14384 Note 
14385 that these values will vary depending on the efficiency of the compiler 
14386 and 
14387 the compiler options used during generation.
14388
14389   Previous Release:
14390     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
14391     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
14392   Current Release:
14393     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
14394     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
14395
14396 2) iASL Compiler/Disassembler:
14397
14398 Fixed an array size problem for FreeBSD that would cause the compiler to 
14399 fault.
14400
14401 ----------------------------------------
14402 20 February 2004.  Summary of changes for version 20040220:
14403
14404
14405 1) ACPI CA Core Subsystem:
14406
14407 Implemented execution of _SxD methods for Device objects in the 
14408 GetObjectInfo interface.
14409
14410 Fixed calls to _SST method to pass the correct arguments.
14411
14412 Added a call to _SST on wake to restore to "working" state.
14413
14414 Check for End-Of-Buffer failure case in the WalkResources interface.
14415
14416 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
14417 structures to the beginning of the file.
14418
14419 After wake, clear GPE status register(s) before enabling GPEs.
14420
14421 After wake, clear/enable power button.  (Perhaps we should clear/enable 
14422 all 
14423 fixed events upon wake.)
14424
14425 Fixed a couple of possible memory leaks in the Namespace manager.
14426
14427 Integrated latest acnetbsd.h file.
14428
14429 ----------------------------------------
14430 11 February 2004.  Summary of changes for version 20040211:
14431
14432
14433 1) ACPI CA Core Subsystem:
14434
14435 Completed investigation and implementation of the call-by-reference 
14436 mechanism for control method arguments.
14437
14438 Fixed a problem where a store of an object into an indexed package could 
14439 fail if the store occurs within a different method than the method that 
14440 created the package.
14441
14442 Fixed a problem where the ToDecimal operator could return incorrect 
14443 results.
14444
14445 Fixed a problem where the CopyObject operator could fail on some of the 
14446 more 
14447 obscure objects (e.g., Reference objects.)
14448
14449 Improved the output of the Debug object to display buffer, package, and 
14450 index objects.
14451
14452 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
14453 return 
14454 the expected result.
14455
14456 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
14457 ACPI_AML_INTERNAL exception.
14458
14459 Integrated latest version of acfreebsd.h
14460
14461 ----------------------------------------
14462 16 January 2004.  Summary of changes for version 20040116:
14463
14464 The purpose of this release is primarily to update the copyright years in 
14465 each module, thus causing a huge number of diffs.  There are a few small 
14466 functional changes, however.
14467
14468 1) ACPI CA Core Subsystem:
14469
14470 Improved error messages when there is a problem finding one or more of 
14471 the 
14472 required base ACPI tables
14473
14474 Reintroduced the definition of APIC_HEADER in actbl.h
14475
14476 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
14477
14478 Removed extraneous reference to NewObj in dsmthdat.c
14479
14480 2) iASL compiler
14481
14482 Fixed a problem introduced in December that disabled the correct 
14483 disassembly 
14484 of Resource Templates
14485
14486
14487 ----------------------------------------
14488 03 December 2003.  Summary of changes for version 20031203:
14489
14490 1) ACPI CA Core Subsystem:
14491
14492 Changed the initialization of Operation Regions during subsystem
14493 init to perform two entire walks of the ACPI namespace; The first
14494 to initialize the regions themselves, the second to execute the
14495 _REG methods.  This fixed some interdependencies across _REG
14496 methods found on some machines.
14497
14498 Fixed a problem where a Store(Local0, Local1) could simply update
14499 the object reference count, and not create a new copy of the
14500 object if the Local1 is uninitialized.
14501
14502 Implemented support for the _SST reserved method during sleep
14503 transitions.
14504
14505 Implemented support to clear the SLP_TYP and SLP_EN bits when
14506 waking up, this is apparently required by some machines.
14507
14508 When sleeping, clear the wake status only if SleepState is not S5.
14509
14510 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
14511 pointer arithmetic advanced a string pointer too far.
14512
14513 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
14514 could be returned if the requested table has not been loaded.
14515
14516 Within the support for IRQ resources, restructured the handling of
14517 the active and edge/level bits.
14518
14519 Fixed a few problems in AcpiPsxExecute() where memory could be
14520 leaked under certain error conditions.
14521
14522 Improved error messages for the cases where the ACPI mode could
14523 not be entered.
14524
14525 Code and Data Size: Current and previous core subsystem library
14526 sizes are shown below.  These are the code and data sizes for the
14527 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14528 these values do not include any ACPI driver or OSPM code.  The
14529 debug version of the code includes the debug output trace
14530 mechanism and has a much larger code and data size.  Note that
14531 these values will vary depending on the efficiency of the compiler
14532 and the compiler options used during generation.
14533
14534   Previous Release (20031029):
14535     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14536     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14537   Current Release:
14538     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
14539     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
14540
14541 2) iASL Compiler/Disassembler:
14542
14543 Implemented a fix for the iASL disassembler where a bad index was
14544 generated.  This was most noticeable on 64-bit platforms
14545
14546
14547 ----------------------------------------
14548 29 October 2003.  Summary of changes for version 20031029:
14549
14550 1) ACPI CA Core Subsystem:
14551
14552
14553 Fixed a problem where a level-triggered GPE with an associated
14554 _Lxx control method was incorrectly cleared twice.
14555
14556 Fixed a problem with the Field support code where an access can
14557 occur beyond the end-of-region if the field is non-aligned but
14558 extends to the very end of the parent region (resulted in an
14559 AE_AML_REGION_LIMIT exception.)
14560
14561 Fixed a problem with ACPI Fixed Events where an RT Clock handler
14562 would not get invoked on an RTC event.  The RTC event bitmasks for
14563 the PM1 registers were not being initialized properly.
14564
14565 Implemented support for executing _STA and _INI methods for
14566 Processor objects.  Although this is currently not part of the
14567 ACPI specification, there is existing ASL code that depends on the
14568 init-time execution of these methods.
14569
14570 Implemented and deployed a GetDescriptorName function to decode
14571 the various types of internal descriptors.  Guards against null
14572 descriptors during debug output also.
14573
14574 Implemented and deployed a GetNodeName function to extract the 4-
14575 character namespace node name.  This function simplifies the debug
14576 and error output, as well as guarding against null pointers during
14577 output.
14578
14579 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
14580 simplify the debug and error output of 64-bit integers.  This
14581 macro replaces the HIDWORD and LODWORD macros for dumping these
14582 integers.
14583
14584 Updated the implementation of the Stall() operator to only call
14585 AcpiOsStall(), and also return an error if the operand is larger
14586 than 255.  This preserves the required behavior of not
14587 relinquishing the processor, as would happen if AcpiOsSleep() was
14588 called for "long stalls".
14589
14590 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
14591 initialized are now treated as NOOPs.
14592
14593 Cleaned up a handful of warnings during 64-bit generation.
14594
14595 Fixed a reported error where and incorrect GPE number was passed
14596 to the GPE dispatch handler.  This value is only used for error
14597 output, however.  Used this opportunity to clean up and streamline
14598 the GPE dispatch code.
14599
14600 Code and Data Size: Current and previous core subsystem library
14601 sizes are shown below.  These are the code and data sizes for the
14602 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14603 these values do not include any ACPI driver or OSPM code.  The
14604
14605 debug version of the code includes the debug output trace
14606 mechanism and has a much larger code and data size.  Note that
14607 these values will vary depending on the efficiency of the compiler
14608 and the compiler options used during generation.
14609
14610   Previous Release (20031002):
14611     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14612     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14613   Current Release:
14614     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
14615     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
14616
14617
14618 2) iASL Compiler/Disassembler:
14619
14620 Updated the iASL compiler to return an error if the operand to the
14621 Stall() operator is larger than 255.
14622
14623
14624 ----------------------------------------
14625 02 October 2003.  Summary of changes for version 20031002:
14626
14627
14628 1) ACPI CA Core Subsystem:
14629
14630 Fixed a problem with Index Fields where the index was not
14631 incremented for fields that require multiple writes to the
14632 index/data registers (Fields that are wider than the data
14633 register.)
14634
14635 Fixed a problem with all Field objects where a write could go
14636 beyond the end-of-field if the field was larger than the access
14637 granularity and therefore required multiple writes to complete the
14638 request.  An extra write beyond the end of the field could happen
14639 inadvertently.
14640
14641 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
14642 would incorrectly be returned if the width of the Data Register
14643 was larger than the specified field access width.
14644
14645 Completed fixes for LoadTable() and Unload() and verified their
14646 operation.  Implemented full support for the "DdbHandle" object
14647 throughout the ACPI CA subsystem.
14648
14649 Implemented full support for the MADT and ECDT tables in the ACPI
14650 CA header files.  Even though these tables are not directly
14651 consumed by ACPI CA, the header definitions are useful for ACPI
14652 device drivers.
14653
14654 Integrated resource descriptor fixes posted to the Linux ACPI
14655 list.  This included checks for minimum descriptor length, and
14656 support for trailing NULL strings within descriptors that have
14657 optional string elements.
14658
14659 Code and Data Size: Current and previous core subsystem library
14660 sizes are shown below.  These are the code and data sizes for the
14661 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14662 these values do not include any ACPI driver or OSPM code.  The
14663 debug version of the code includes the debug output trace
14664 mechanism and has a much larger code and data size.  Note that
14665 these values will vary depending on the efficiency of the compiler
14666 and the compiler options used during generation.
14667
14668   Previous Release (20030918):
14669     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14670     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14671   Current Release:
14672     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
14673     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
14674
14675
14676 2) iASL Compiler:
14677
14678 Implemented detection of non-ASCII characters within the input
14679 source ASL file.  This catches attempts to compile binary (AML)
14680 files early in the compile, with an informative error message.
14681
14682 Fixed a problem where the disassembler would fault if the output
14683 filename could not be generated or if the output file could not be
14684 opened.
14685
14686 ----------------------------------------
14687 18 September 2003.  Summary of changes for version 20030918:
14688
14689
14690 1) ACPI CA Core Subsystem:
14691
14692 Found and fixed a longstanding problem with the late execution of
14693 the various deferred AML opcodes (such as Operation Regions,
14694 Buffer Fields, Buffers, and Packages).  If the name string
14695 specified for the name of the new object placed the object in a
14696 scope other than the current scope, the initialization/execution
14697 of the opcode failed.  The solution to this problem was to
14698 implement a mechanism where the late execution of such opcodes
14699 does not attempt to lookup/create the name a second time in an
14700 incorrect scope.  This fixes the "region size computed
14701 incorrectly" problem.
14702
14703 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
14704 Global Lock AE_BAD_PARAMETER error.
14705
14706 Fixed several 64-bit issues with prototypes, casting and data
14707 types.
14708
14709 Removed duplicate prototype from acdisasm.h
14710
14711 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
14712
14713 Code and Data Size: Current and previous core subsystem library
14714 sizes are shown below.  These are the code and data sizes for the
14715 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14716 these values do not include any ACPI driver or OSPM code.  The
14717 debug version of the code includes the debug output trace
14718 mechanism and has a much larger code and data size.  Note that
14719 these values will vary depending on the efficiency of the compiler
14720 and the compiler options used during generation.
14721
14722   Previous Release:
14723
14724     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14725     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14726   Current Release:
14727     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
14728     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
14729
14730
14731 2) Linux:
14732
14733 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
14734 correct sleep time in seconds.
14735
14736 ----------------------------------------
14737 14 July 2003.  Summary of changes for version 20030619:
14738
14739 1) ACPI CA Core Subsystem:
14740
14741 Parse SSDTs in order discovered, as opposed to reverse order
14742 (Hrvoje Habjanic)
14743
14744 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
14745 Klausner,
14746    Nate Lawson)
14747
14748
14749 2) Linux:
14750
14751 Dynamically allocate SDT list (suggested by Andi Kleen)
14752
14753 proc function return value cleanups (Andi Kleen)
14754
14755 Correctly handle NMI watchdog during long stalls (Andrew Morton)
14756
14757 Make it so acpismp=force works (reported by Andrew Morton)
14758
14759
14760 ----------------------------------------
14761 19 June 2003.  Summary of changes for version 20030619:
14762
14763 1) ACPI CA Core Subsystem:
14764
14765 Fix To/FromBCD, eliminating the need for an arch-specific #define.
14766
14767 Do not acquire a semaphore in the S5 shutdown path.
14768
14769 Fix ex_digits_needed for 0. (Takayoshi Kochi)
14770
14771 Fix sleep/stall code reversal. (Andi Kleen)
14772
14773 Revert a change having to do with control method calling
14774 semantics.
14775
14776 2) Linux:
14777
14778 acpiphp update (Takayoshi Kochi)
14779
14780 Export acpi_disabled for sonypi (Stelian Pop)
14781
14782 Mention acpismp=force in config help
14783
14784 Re-add acpitable.c and acpismp=force. This improves backwards
14785
14786 compatibility and also cleans up the code to a significant degree.
14787
14788 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
14789
14790 ----------------------------------------
14791 22 May 2003.  Summary of changes for version 20030522:
14792
14793 1) ACPI CA Core Subsystem:
14794
14795 Found and fixed a reported problem where an AE_NOT_FOUND error
14796 occurred occasionally during _BST evaluation.  This turned out to
14797 be an Owner ID allocation issue where a called method did not get
14798 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
14799 ID UINT16 would wraparound so that the ID would be the same as the
14800 caller's and the called method would delete the caller's
14801 namespace.
14802
14803 Implemented extended error reporting for control methods that are
14804 aborted due to a run-time exception.  Output includes the exact
14805 AML instruction that caused the method abort, a dump of the method
14806 locals and arguments at the time of the abort, and a trace of all
14807 nested control method calls.
14808
14809 Modified the interpreter to allow the creation of buffers of zero
14810 length from the AML code. Implemented new code to ensure that no
14811 attempt is made to actually allocate a memory buffer (of length
14812 zero) - instead, a simple buffer object with a NULL buffer pointer
14813 and length zero is created.  A warning is no longer issued when
14814 the AML attempts to create a zero-length buffer.
14815
14816 Implemented a workaround for the "leading asterisk issue" in
14817 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
14818 asterisk is automatically removed if present in any HID, UID, or
14819 CID strings.  The iASL compiler will still flag this asterisk as
14820 an error, however.
14821
14822 Implemented full support for _CID methods that return a package of
14823 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
14824 now additionally returns a device _CID list if present.  This
14825 required a change to the external interface in order to pass an
14826 ACPI_BUFFER object as a parameter since the _CID list is of
14827 variable length.
14828
14829 Fixed a problem with the new AE_SAME_HANDLER exception where
14830 handler initialization code did not know about this exception.
14831
14832 Code and Data Size: Current and previous core subsystem library
14833 sizes are shown below.  These are the code and data sizes for the
14834 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14835 these values do not include any ACPI driver or OSPM code.  The
14836 debug version of the code includes the debug output trace
14837 mechanism and has a much larger code and data size.  Note that
14838 these values will vary depending on the efficiency of the compiler
14839 and the compiler options used during generation.
14840
14841   Previous Release (20030509):
14842     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14843     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14844   Current Release:
14845     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14846     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14847
14848
14849 2) Linux:
14850
14851 Fixed a bug in which we would reinitialize the ACPI interrupt
14852 after it was already working, thus disabling all ACPI and the IRQs
14853 for any other device sharing the interrupt. (Thanks to Stian
14854 Jordet)
14855
14856 Toshiba driver update (John Belmonte)
14857
14858 Return only 0 or 1 for our interrupt handler status (Andrew
14859 Morton)
14860
14861
14862 3) iASL Compiler:
14863
14864 Fixed a reported problem where multiple (nested) ElseIf()
14865 statements were not handled correctly by the compiler, resulting
14866 in incorrect warnings and incorrect AML code.  This was a problem
14867 in both the ASL parser and the code generator.
14868
14869
14870 4) Documentation:
14871
14872 Added changes to existing interfaces, new exception codes, and new
14873 text concerning reference count object management versus garbage
14874 collection.
14875
14876 ----------------------------------------
14877 09 May 2003.  Summary of changes for version 20030509.
14878
14879
14880 1) ACPI CA Core Subsystem:
14881
14882 Changed the subsystem initialization sequence to hold off
14883 installation of address space handlers until the hardware has been
14884 initialized and the system has entered ACPI mode.  This is because
14885 the installation of space handlers can cause _REG methods to be
14886 run.  Previously, the _REG methods could potentially be run before
14887 ACPI mode was enabled.
14888
14889 Fixed some memory leak issues related to address space handler and
14890 notify handler installation.  There were some problems with the
14891 reference count mechanism caused by the fact that the handler
14892 objects are shared across several namespace objects.
14893
14894 Fixed a reported problem where reference counts within the
14895 namespace were not properly updated when named objects created by
14896 method execution were deleted.
14897
14898 Fixed a reported problem where multiple SSDTs caused a deletion
14899 issue during subsystem termination.  Restructured the table data
14900 structures to simplify the linked lists and the related code.
14901
14902 Fixed a problem where the table ID associated with secondary
14903 tables (SSDTs) was not being propagated into the namespace objects
14904 created by those tables.  This would only present a problem for
14905 tables that are unloaded at run-time, however.
14906
14907 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
14908 type as the length parameter (instead of UINT32).
14909
14910 Solved a long-standing problem where an ALREADY_EXISTS error
14911 appears on various systems.  This problem could happen when there
14912 are multiple PCI_Config operation regions under a single PCI root
14913 bus.  This doesn't happen very frequently, but there are some
14914 systems that do this in the ASL.
14915
14916 Fixed a reported problem where the internal DeleteNode function
14917 was incorrectly handling the case where a namespace node was the
14918 first in the parent's child list, and had additional peers (not
14919 the only child, but first in the list of children.)
14920
14921 Code and Data Size: Current core subsystem library sizes are shown
14922 below.  These are the code and data sizes for the acpica.lib
14923 produced by the Microsoft Visual C++ 6.0 compiler, and these
14924 values do not include any ACPI driver or OSPM code.  The debug
14925 version of the code includes the debug output trace mechanism and
14926 has a much larger code and data size.  Note that these values will
14927 vary depending on the efficiency of the compiler and the compiler
14928 options used during generation.
14929
14930   Previous Release
14931     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14932     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14933   Current Release:
14934     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14935     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14936
14937
14938 2) Linux:
14939
14940 Allow ":" in OS override string (Ducrot Bruno)
14941
14942 Kobject fix (Greg KH)
14943
14944
14945 3 iASL Compiler/Disassembler:
14946
14947 Fixed a problem in the generation of the C source code files (AML
14948 is emitted in C source statements for BIOS inclusion) where the
14949 Ascii dump that appears within a C comment at the end of each line
14950 could cause a compile time error if the AML sequence happens to
14951 have an open comment or close comment sequence embedded.
14952
14953
14954 ----------------------------------------
14955 24 April 2003.  Summary of changes for version 20030424.
14956
14957
14958 1) ACPI CA Core Subsystem:
14959
14960 Support for big-endian systems has been implemented.  Most of the
14961 support has been invisibly added behind big-endian versions of the
14962 ACPI_MOVE_* macros.
14963
14964 Fixed a problem in AcpiHwDisableGpeBlock() and
14965 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
14966 low level hardware write routine.  The offset parameter was
14967 actually eliminated from the low level read/write routines because
14968 they had become obsolete.
14969
14970 Fixed a problem where a handler object was deleted twice during
14971 the removal of a fixed event handler.
14972
14973
14974 2) Linux:
14975
14976 A fix for SMP systems with link devices was contributed by
14977
14978 Compaq's Dan Zink.
14979
14980 (2.5) Return whether we handled the interrupt in our IRQ handler.
14981 (Linux ISRs no longer return void, so we can propagate the handler
14982 return value from the ACPI CA core back to the OS.)
14983
14984
14985
14986 3) Documentation:
14987
14988 The ACPI CA Programmer Reference has been updated to reflect new
14989 interfaces and changes to existing interfaces.
14990
14991 ----------------------------------------
14992 28 March 2003.  Summary of changes for version 20030328.
14993
14994 1) ACPI CA Core Subsystem:
14995
14996 The GPE Block Device support has been completed.  New interfaces
14997 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
14998 interfaces (enable, disable, clear, getstatus) have been split
14999 into separate interfaces for Fixed Events and General Purpose
15000 Events (GPEs) in order to support GPE Block Devices properly.
15001
15002 Fixed a problem where the error message "Failed to acquire
15003 semaphore" would appear during operations on the embedded
15004 controller (EC).
15005
15006 Code and Data Size: Current core subsystem library sizes are shown
15007 below.  These are the code and data sizes for the acpica.lib
15008 produced by the Microsoft Visual C++ 6.0 compiler, and these
15009 values do not include any ACPI driver or OSPM code.  The debug
15010 version of the code includes the debug output trace mechanism and
15011 has a much larger code and data size.  Note that these values will
15012 vary depending on the efficiency of the compiler and the compiler
15013 options used during generation.
15014
15015   Previous Release
15016     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
15017     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
15018   Current Release:
15019     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
15020     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
15021
15022
15023 ----------------------------------------
15024 28 February 2003.  Summary of changes for version 20030228.
15025
15026
15027 1) ACPI CA Core Subsystem:
15028
15029 The GPE handling and dispatch code has been completely overhauled
15030 in preparation for support of GPE Block Devices (ID ACPI0006).
15031 This affects internal data structures and code only; there should
15032 be no differences visible externally.  One new file has been
15033 added, evgpeblk.c
15034
15035 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
15036 fields that are used to determine the GPE block lengths.  The
15037 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
15038 structures are ignored.  This is per the ACPI specification but it
15039 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
15040 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
15041
15042 In the SCI interrupt handler, removed the read of the PM1_CONTROL
15043 register to look at the SCI_EN bit.  On some machines, this read
15044 causes an SMI event and greatly slows down SCI events.  (This may
15045 in fact be the cause of slow battery status response on some
15046 systems.)
15047
15048 Fixed a problem where a store of a NULL string to a package object
15049 could cause the premature deletion of the object.  This was seen
15050 during execution of the battery _BIF method on some systems,
15051 resulting in no battery data being returned.
15052
15053 Added AcpiWalkResources interface to simplify parsing of resource
15054 lists.
15055
15056 Code and Data Size: Current core subsystem library sizes are shown
15057 below.  These are the code and data sizes for the acpica.lib
15058 produced by the Microsoft Visual C++ 6.0 compiler, and these
15059 values do not include any ACPI driver or OSPM code.  The debug
15060 version of the code includes the debug output trace mechanism and
15061 has a much larger code and data size.  Note that these values will
15062 vary depending on the efficiency of the compiler and the compiler
15063 options used during generation.
15064
15065   Previous Release
15066     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
15067     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
15068   Current Release:
15069     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
15070     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
15071
15072
15073 2) Linux
15074
15075 S3 fixes (Ole Rohne)
15076
15077 Update ACPI PHP driver with to use new acpi_walk_resource API
15078 (Bjorn Helgaas)
15079
15080 Add S4BIOS support (Pavel Machek)
15081
15082 Map in entire table before performing checksum (John Stultz)
15083
15084 Expand the mem= cmdline to allow the specification of reserved and
15085 ACPI DATA blocks (Pavel Machek)
15086
15087 Never use ACPI on VISWS
15088
15089 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
15090
15091 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
15092 causing us to think that some systems support C2 when they really
15093 don't.
15094
15095 Do not count processor objects for non-present CPUs (Thanks to
15096 Dominik Brodowski)
15097
15098
15099 3) iASL Compiler:
15100
15101 Fixed a problem where ASL include files could not be found and
15102 opened.
15103
15104 Added support for the _PDC reserved name.
15105
15106
15107 ----------------------------------------
15108 22 January 2003.  Summary of changes for version 20030122.
15109
15110
15111 1) ACPI CA Core Subsystem:
15112
15113 Added a check for constructs of the form:  Store (Local0, Local0)
15114 where Local0 is not initialized.  Apparently, some BIOS
15115 programmers believe that this is a NOOP.  Since this store doesn't
15116 do anything anyway, the new prototype behavior will ignore this
15117 error.  This is a case where we can relax the strict checking in
15118 the interpreter in the name of compatibility.
15119
15120
15121 2) Linux
15122
15123 The AcpiSrc Source Conversion Utility has been released with the
15124 Linux package for the first time.  This is the utility that is
15125 used to convert the ACPI CA base source code to the Linux version.
15126
15127 (Both) Handle P_BLK lengths shorter than 6 more gracefully
15128
15129 (Both) Move more headers to include/acpi, and delete an unused
15130 header.
15131
15132 (Both) Move drivers/acpi/include directory to include/acpi
15133
15134 (Both) Boot functions don't use cmdline, so don't pass it around
15135
15136 (Both) Remove include of unused header (Adrian Bunk)
15137
15138 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
15139 the
15140 former now also includes the latter, acpiphp.h only needs the one,
15141 now.
15142
15143 (2.5) Make it possible to select method of bios restoring after S3
15144 resume. [=> no more ugly ifdefs] (Pavel Machek)
15145
15146 (2.5) Make proc write interfaces work (Pavel Machek)
15147
15148 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
15149
15150 (2.5) Break out ACPI Perf code into its own module, under cpufreq
15151 (Dominik Brodowski)
15152
15153 (2.4) S4BIOS support (Ducrot Bruno)
15154
15155 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
15156 Visinoni)
15157
15158
15159 3) iASL Compiler:
15160
15161 Added support to disassemble SSDT and PSDTs.
15162
15163 Implemented support to obtain SSDTs from the Windows registry if
15164 available.
15165
15166
15167 ----------------------------------------
15168 09 January 2003.  Summary of changes for version 20030109.
15169
15170 1) ACPI CA Core Subsystem:
15171
15172 Changed the behavior of the internal Buffer-to-String conversion
15173 function.  The current ACPI specification states that the contents
15174 of the buffer are "converted to a string of two-character
15175 hexadecimal numbers, each separated by a space".  Unfortunately,
15176 this definition is not backwards compatible with existing ACPI 1.0
15177 implementations (although the behavior was not defined in the ACPI
15178 1.0 specification).  The new behavior simply copies data from the
15179 buffer to the string until a null character is found or the end of
15180 the buffer is reached.  The new String object is always null
15181 terminated.  This problem was seen during the generation of _BIF
15182 battery data where incorrect strings were returned for battery
15183 type, etc.  This will also require an errata to the ACPI
15184 specification.
15185
15186 Renamed all instances of NATIVE_UINT and NATIVE_INT to
15187 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
15188
15189 Copyright in all module headers (both Linux and non-Linux) has be
15190 updated to 2003.
15191
15192 Code and Data Size: Current core subsystem library sizes are shown
15193 below.  These are the code and data sizes for the acpica.lib
15194 produced by the Microsoft Visual C++ 6.0 compiler, and these
15195 values do not include any ACPI driver or OSPM code.  The debug
15196 version of the code includes the debug output trace mechanism and
15197 has a much larger code and data size.  Note that these values will
15198 vary depending on the efficiency of the compiler and the compiler
15199 options used during generation.
15200
15201   Previous Release
15202     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
15203     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
15204   Current Release:
15205     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
15206     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
15207
15208
15209 2) Linux
15210
15211 Fixed an oops on module insertion/removal (Matthew Tippett)
15212
15213 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
15214
15215 (2.5) Replace pr_debug (Randy Dunlap)
15216
15217 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
15218
15219 (Both) Eliminate spawning of thread from timer callback, in favor
15220 of schedule_work()
15221
15222 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
15223
15224 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
15225
15226 (Both) Add missing statics to button.c (Pavel Machek)
15227
15228 Several changes have been made to the source code translation
15229 utility that generates the Linux Code in order to make the code
15230 more "Linux-like":
15231
15232 All typedefs on structs and unions have been removed in keeping
15233 with the Linux coding style.
15234
15235 Removed the non-Linux SourceSafe module revision number from each
15236 module header.
15237
15238 Completed major overhaul of symbols to be lowercase for linux.
15239 Doubled the number of symbols that are lowercase.
15240
15241 Fixed a problem where identifiers within procedure headers and
15242 within quotes were not fully lower cased (they were left with a
15243 starting capital.)
15244
15245 Some C macros whose only purpose is to allow the generation of 16-
15246 bit code are now completely removed in the Linux code, increasing
15247 readability and maintainability.
15248
15249 ----------------------------------------
15250
15251 12 December 2002.  Summary of changes for version 20021212.
15252
15253
15254 1) ACPI CA Core Subsystem:
15255
15256 Fixed a problem where the creation of a zero-length AML Buffer
15257 would cause a fault.
15258
15259 Fixed a problem where a Buffer object that pointed to a static AML
15260 buffer (in an ACPI table) could inadvertently be deleted, causing
15261 memory corruption.
15262
15263 Fixed a problem where a user buffer (passed in to the external
15264 ACPI CA interfaces) could be overwritten if the buffer was too
15265 small to complete the operation, causing memory corruption.
15266
15267 Fixed a problem in the Buffer-to-String conversion code where a
15268 string of length one was always returned, regardless of the size
15269 of the input Buffer object.
15270
15271 Removed the NATIVE_CHAR data type across the entire source due to
15272 lack of need and lack of consistent use.
15273
15274 Code and Data Size: Current core subsystem library sizes are shown
15275 below.  These are the code and data sizes for the acpica.lib
15276 produced by the Microsoft Visual C++ 6.0 compiler, and these
15277 values do not include any ACPI driver or OSPM code.  The debug
15278 version of the code includes the debug output trace mechanism and
15279 has a much larger code and data size.  Note that these values will
15280 vary depending on the efficiency of the compiler and the compiler
15281 options used during generation.
15282
15283   Previous Release
15284     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
15285     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
15286   Current Release:
15287     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
15288     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
15289
15290
15291 ----------------------------------------
15292 05 December 2002.  Summary of changes for version 20021205.
15293
15294 1) ACPI CA Core Subsystem:
15295
15296 Fixed a problem where a store to a String or Buffer object could
15297 cause corruption of the DSDT if the object type being stored was
15298 the same as the target object type and the length of the object
15299 being stored was equal to or smaller than the original (existing)
15300 target object.  This was seen to cause corruption of battery _BIF
15301 buffers if the _BIF method modified the buffer on the fly.
15302
15303 Fixed a problem where an internal error was generated if a control
15304 method invocation was used in an OperationRegion, Buffer, or
15305 Package declaration.  This was caused by the deferred parsing of
15306 the control method and thus the deferred creation of the internal
15307 method object.  The solution to this problem was to create the
15308 internal method object at the moment the method is encountered in
15309 the first pass - so that subsequent references to the method will
15310 able to obtain the required parameter count and thus properly
15311 parse the method invocation.  This problem presented itself as an
15312 AE_AML_INTERNAL during the pass 1 parse phase during table load.
15313
15314 Fixed a problem where the internal String object copy routine did
15315 not always allocate sufficient memory for the target String object
15316 and caused memory corruption.  This problem was seen to cause
15317 "Allocation already present in list!" errors as memory allocation
15318 became corrupted.
15319
15320 Implemented a new function for the evaluation of namespace objects
15321 that allows the specification of the allowable return object
15322 types.  This simplifies a lot of code that checks for a return
15323 object of one or more specific objects returned from the
15324 evaluation (such as _STA, etc.)  This may become and external
15325 function if it would be useful to ACPI-related drivers.
15326
15327 Completed another round of prefixing #defines with "ACPI_" for
15328 clarity.
15329
15330 Completed additional code restructuring to allow more modular
15331 linking for iASL compiler and AcpiExec.  Several files were split
15332 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
15333
15334 Implemented an abort mechanism to terminate an executing control
15335 method via the AML debugger.  This feature is useful for debugging
15336 control methods that depend (wait) for specific hardware
15337 responses.
15338
15339 Code and Data Size: Current core subsystem library sizes are shown
15340 below.  These are the code and data sizes for the acpica.lib
15341 produced by the Microsoft Visual C++ 6.0 compiler, and these
15342 values do not include any ACPI driver or OSPM code.  The debug
15343 version of the code includes the debug output trace mechanism and
15344 has a much larger code and data size.  Note that these values will
15345 vary depending on the efficiency of the compiler and the compiler
15346 options used during generation.
15347
15348   Previous Release
15349     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15350     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
15351   Current Release:
15352     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
15353     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
15354
15355
15356 2) iASL Compiler/Disassembler
15357
15358 Fixed a compiler code generation problem for "Interrupt" Resource
15359 Descriptors.  If specified in the ASL, the optional "Resource
15360 Source Index" and "Resource Source" fields were not inserted into
15361 the correct location within the AML resource descriptor, creating
15362 an invalid descriptor.
15363
15364 Fixed a disassembler problem for "Interrupt" resource descriptors.
15365 The optional "Resource Source Index" and "Resource Source" fields
15366 were ignored.
15367
15368
15369 ----------------------------------------
15370 22 November 2002.  Summary of changes for version 20021122.
15371
15372
15373 1) ACPI CA Core Subsystem:
15374
15375 Fixed a reported problem where an object stored to a Method Local
15376 or Arg was not copied to a new object during the store - the
15377 object pointer was simply copied to the Local/Arg.  This caused
15378 all subsequent operations on the Local/Arg to also affect the
15379 original source of the store operation.
15380
15381 Fixed a problem where a store operation to a Method Local or Arg
15382 was not completed properly if the Local/Arg contained a reference
15383 (from RefOf) to a named field.  The general-purpose store-to-
15384 namespace-node code is now used so that this case is handled
15385 automatically.
15386
15387 Fixed a problem where the internal object copy routine would cause
15388 a protection fault if the object being copied was a Package and
15389 contained either 1) a NULL package element or 2) a nested sub-
15390 package.
15391
15392 Fixed a problem with the GPE initialization that resulted from an
15393 ambiguity in the ACPI specification.  One section of the
15394 specification states that both the address and length of the GPE
15395 block must be zero if the block is not supported.  Another section
15396 implies that only the address need be zero if the block is not
15397 supported.  The code has been changed so that both the address and
15398 the length must be non-zero to indicate a valid GPE block (i.e.,
15399 if either the address or the length is zero, the GPE block is
15400 invalid.)
15401
15402 Code and Data Size: Current core subsystem library sizes are shown
15403 below.  These are the code and data sizes for the acpica.lib
15404 produced by the Microsoft Visual C++ 6.0 compiler, and these
15405 values do not include any ACPI driver or OSPM code.  The debug
15406 version of the code includes the debug output trace mechanism and
15407 has a much larger code and data size.  Note that these values will
15408 vary depending on the efficiency of the compiler and the compiler
15409 options used during generation.
15410
15411   Previous Release
15412     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
15413     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15414   Current Release:
15415     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15416     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
15417
15418
15419 2) Linux
15420
15421 Cleaned up EC driver. Exported an external EC read/write
15422 interface. By going through this, other drivers (most notably
15423 sonypi) will be able to serialize access to the EC.
15424
15425
15426 3) iASL Compiler/Disassembler
15427
15428 Implemented support to optionally generate include files for both
15429 ASM and C (the -i switch).  This simplifies BIOS development by
15430 automatically creating include files that contain external
15431 declarations for the symbols that are created within the
15432
15433 (optionally generated) ASM and C AML source files.
15434
15435
15436 ----------------------------------------
15437 15 November 2002.  Summary of changes for version 20021115.
15438
15439 1) ACPI CA Core Subsystem:
15440
15441 Fixed a memory leak problem where an error during resolution of
15442
15443 method arguments during a method invocation from another method
15444 failed to cleanup properly by deleting all successfully resolved
15445 argument objects.
15446
15447 Fixed a problem where the target of the Index() operator was not
15448 correctly constructed if the source object was a package.  This
15449 problem has not been detected because the use of a target operand
15450 with Index() is very rare.
15451
15452 Fixed a problem with the Index() operator where an attempt was
15453 made to delete the operand objects twice.
15454
15455 Fixed a problem where an attempt was made to delete an operand
15456 twice during execution of the CondRefOf() operator if the target
15457 did not exist.
15458
15459 Implemented the first of perhaps several internal create object
15460 functions that create and initialize a specific object type.  This
15461 consolidates duplicated code wherever the object is created, thus
15462 shrinking the size of the subsystem.
15463
15464 Implemented improved debug/error messages for errors that occur
15465 during nested method invocations.  All executing method pathnames
15466 are displayed (with the error) as the call stack is unwound - thus
15467 simplifying debug.
15468
15469 Fixed a problem introduced in the 10/02 release that caused
15470 premature deletion of a buffer object if a buffer was used as an
15471 ASL operand where an integer operand is required (Thus causing an
15472 implicit object conversion from Buffer to Integer.)  The change in
15473 the 10/02 release was attempting to fix a memory leak (albeit
15474 incorrectly.)
15475
15476 Code and Data Size: Current core subsystem library sizes are shown
15477 below.  These are the code and data sizes for the acpica.lib
15478 produced by the Microsoft Visual C++ 6.0 compiler, and these
15479 values do not include any ACPI driver or OSPM code.  The debug
15480 version of the code includes the debug output trace mechanism and
15481 has a much larger code and data size.  Note that these values will
15482 vary depending on the efficiency of the compiler and the compiler
15483 options used during generation.
15484
15485   Previous Release
15486     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15487     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15488   Current Release:
15489     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
15490     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
15491
15492
15493 2) Linux
15494
15495 Changed the implementation of the ACPI semaphores to use down()
15496 instead of down_interruptable().  It is important that the
15497 execution of ACPI control methods not be interrupted by signals.
15498 Methods must run to completion, or the system may be left in an
15499 unknown/unstable state.
15500
15501 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
15502 (Shawn Starr)
15503
15504
15505 3) iASL Compiler/Disassembler
15506
15507
15508 Changed the default location of output files.  All output files
15509 are now placed in the current directory by default instead of in
15510 the directory of the source file.  This change may affect some
15511 existing makefiles, but it brings the behavior of the compiler in
15512 line with other similar tools.  The location of the output files
15513 can be overridden with the -p command line switch.
15514
15515
15516 ----------------------------------------
15517 11 November 2002.  Summary of changes for version 20021111.
15518
15519
15520 0) ACPI Specification 2.0B is released and is now available at:
15521 http://www.acpi.info/index.html
15522
15523
15524 1) ACPI CA Core Subsystem:
15525
15526 Implemented support for the ACPI 2.0 SMBus Operation Regions.
15527 This includes the early detection and handoff of the request to
15528 the SMBus region handler (avoiding all of the complex field
15529 support code), and support for the bidirectional return packet
15530 from an SMBus write operation.  This paves the way for the
15531 development of SMBus drivers in each host operating system.
15532
15533 Fixed a problem where the semaphore WAIT_FOREVER constant was
15534 defined as 32 bits, but must be 16 bits according to the ACPI
15535 specification.  This had the side effect of causing ASL
15536 Mutex/Event timeouts even though the ASL code requested a wait
15537 forever.  Changed all internal references to the ACPI timeout
15538 parameter to 16 bits to prevent future problems.  Changed the name
15539 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
15540
15541 Code and Data Size: Current core subsystem library sizes are shown
15542 below.  These are the code and data sizes for the acpica.lib
15543 produced by the Microsoft Visual C++ 6.0 compiler, and these
15544 values do not include any ACPI driver or OSPM code.  The debug
15545 version of the code includes the debug output trace mechanism and
15546 has a much larger code and data size.  Note that these values will
15547 vary depending on the efficiency of the compiler and the compiler
15548 options used during generation.
15549
15550   Previous Release
15551     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15552     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15553   Current Release:
15554     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
15555     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
15556
15557
15558 2) Linux
15559
15560 Module loading/unloading fixes (John Cagle)
15561
15562
15563 3) iASL Compiler/Disassembler
15564
15565 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
15566
15567 Implemented support for the disassembly of all SMBus protocol
15568 keywords (SMBQuick, SMBWord, etc.)
15569
15570 ----------------------------------------
15571 01 November 2002.  Summary of changes for version 20021101.
15572
15573
15574 1) ACPI CA Core Subsystem:
15575
15576 Fixed a problem where platforms that have a GPE1 block but no GPE0
15577 block were not handled correctly.  This resulted in a "GPE
15578 overlap" error message.  GPE0 is no longer required.
15579
15580 Removed code added in the previous release that inserted nodes
15581 into the namespace in alphabetical order.  This caused some side-
15582 effects on various machines.  The root cause of the problem is
15583 still under investigation since in theory, the internal ordering
15584 of the namespace nodes should not matter.
15585
15586
15587 Enhanced error reporting for the case where a named object is not
15588 found during control method execution.  The full ACPI namepath
15589 (name reference) of the object that was not found is displayed in
15590 this case.
15591
15592 Note: as a result of the overhaul of the namespace object types in
15593 the previous release, the namespace nodes for the predefined
15594 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
15595 instead of ACPI_TYPE_ANY.  This simplifies the namespace
15596 management code but may affect code that walks the namespace tree
15597 looking for specific object types.
15598
15599 Code and Data Size: Current core subsystem library sizes are shown
15600 below.  These are the code and data sizes for the acpica.lib
15601 produced by the Microsoft Visual C++ 6.0 compiler, and these
15602 values do not include any ACPI driver or OSPM code.  The debug
15603 version of the code includes the debug output trace mechanism and
15604 has a much larger code and data size.  Note that these values will
15605 vary depending on the efficiency of the compiler and the compiler
15606 options used during generation.
15607
15608   Previous Release
15609     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15610     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15611   Current Release:
15612     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
15613     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
15614
15615
15616 2) Linux
15617
15618 Fixed a problem introduced in the previous release where the
15619 Processor and Thermal objects were not recognized and installed in
15620 /proc.  This was related to the scope type change described above.
15621
15622
15623 3) iASL Compiler/Disassembler
15624
15625 Implemented the -g option to get all of the required ACPI tables
15626 from the registry and save them to files (Windows version of the
15627 compiler only.)  The required tables are the FADT, FACS, and DSDT.
15628
15629 Added ACPI table checksum validation during table disassembly in
15630 order to catch corrupted tables.
15631
15632
15633 ----------------------------------------
15634 22 October 2002.  Summary of changes for version 20021022.
15635
15636 1) ACPI CA Core Subsystem:
15637
15638 Implemented a restriction on the Scope operator that the target
15639 must already exist in the namespace at the time the operator is
15640 encountered (during table load or method execution).  In other
15641 words, forward references are not allowed and Scope() cannot
15642 create a new object. This changes the previous behavior where the
15643 interpreter would create the name if not found.  This new behavior
15644 correctly enables the search-to-root algorithm during namespace
15645 lookup of the target name.  Because of this upsearch, this fixes
15646 the known Compaq _SB_.OKEC problem and makes both the AML
15647 interpreter and iASL compiler compatible with other ACPI
15648 implementations.
15649
15650 Completed a major overhaul of the internal ACPI object types for
15651 the ACPI Namespace and the associated operand objects.  Many of
15652 these types had become obsolete with the introduction of the two-
15653 pass namespace load.  This cleanup simplifies the code and makes
15654 the entire namespace load mechanism much clearer and easier to
15655 understand.
15656
15657 Improved debug output for tracking scope opening/closing to help
15658 diagnose scoping issues.  The old scope name as well as the new
15659 scope name are displayed.  Also improved error messages for
15660 problems with ASL Mutex objects and error messages for GPE
15661 problems.
15662
15663 Cleaned up the namespace dump code, removed obsolete code.
15664
15665 All string output (for all namespace/object dumps) now uses the
15666 common ACPI string output procedure which handles escapes properly
15667 and does not emit non-printable characters.
15668
15669 Fixed some issues with constants in the 64-bit version of the
15670 local C library (utclib.c)
15671
15672
15673 2) Linux
15674
15675 EC Driver:  No longer attempts to acquire the Global Lock at
15676 interrupt level.
15677
15678
15679 3) iASL Compiler/Disassembler
15680
15681 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
15682 2 opcodes outside of a control method.  This means that the
15683 "executable" operators (versus the "namespace" operators) cannot
15684 be used at the table level; they can only be used within a control
15685 method.
15686
15687 Implemented the restriction on the Scope() operator where the
15688 target must already exist in the namespace at the time the
15689 operator is encountered (during ASL compilation). In other words,
15690 forward references are not allowed and Scope() cannot create a new
15691 object.  This makes the iASL compiler compatible with other ACPI
15692 implementations and makes the Scope() implementation adhere to the
15693 ACPI specification.
15694
15695 Fixed a problem where namepath optimization for the Alias operator
15696 was optimizing the wrong path (of the two namepaths.)  This caused
15697 a "Missing alias link" error message.
15698
15699 Fixed a problem where an "unknown reserved name" warning could be
15700 incorrectly generated for names like "_SB" when the trailing
15701 underscore is not used in the original ASL.
15702
15703 Fixed a problem where the reserved name check did not handle
15704 NamePaths with multiple NameSegs correctly.  The first nameseg of
15705 the NamePath was examined instead of the last NameSeg.
15706
15707
15708 ----------------------------------------
15709
15710 02 October 2002.  Summary of changes for this release.
15711
15712
15713 1) ACPI CA Core Subsystem version 20021002:
15714
15715 Fixed a problem where a store/copy of a string to an existing
15716 string did not always set the string length properly in the String
15717 object.
15718
15719 Fixed a reported problem with the ToString operator where the
15720 behavior was identical to the ToHexString operator instead of just
15721 simply converting a raw buffer to a string data type.
15722
15723 Fixed a problem where CopyObject and the other "explicit"
15724 conversion operators were not updating the internal namespace node
15725 type as part of the store operation.
15726
15727 Fixed a memory leak during implicit source operand conversion
15728 where the original object was not deleted if it was converted to a
15729 new object of a different type.
15730
15731 Enhanced error messages for all problems associated with namespace
15732 lookups.  Common procedure generates and prints the lookup name as
15733 well as the formatted status.
15734
15735 Completed implementation of a new design for the Alias support
15736 within the namespace.  The existing design did not handle the case
15737 where a new object was assigned to one of the two names due to the
15738 use of an explicit conversion operator, resulting in the two names
15739 pointing to two different objects.  The new design simply points
15740 the Alias name to the original name node - not to the object.
15741 This results in a level of indirection that must be handled in the
15742 name resolution mechanism.
15743
15744 Code and Data Size: Current core subsystem library sizes are shown
15745 below.  These are the code and data sizes for the acpica.lib
15746 produced by the Microsoft Visual C++ 6.0 compiler, and these
15747 values do not include any ACPI driver or OSPM code.  The debug
15748 version of the code includes the debug output trace mechanism and
15749 has a larger code and data size.  Note that these values will vary
15750 depending on the efficiency of the compiler and the compiler
15751 options used during generation.
15752
15753   Previous Release
15754     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15755     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15756   Current Release:
15757     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
15758     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
15759
15760
15761 2) Linux
15762
15763 Initialize thermal driver's timer before it is used. (Knut
15764 Neumann)
15765
15766 Allow handling negative celsius values. (Kochi Takayoshi)
15767
15768 Fix thermal management and make trip points. R/W (Pavel Machek)
15769
15770 Fix /proc/acpi/sleep. (P. Christeas)
15771
15772 IA64 fixes. (David Mosberger)
15773
15774 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
15775
15776 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
15777 Brodowski)
15778
15779
15780 3) iASL Compiler/Disassembler
15781
15782 Clarified some warning/error messages.
15783
15784
15785 ----------------------------------------
15786 18 September 2002.  Summary of changes for this release.
15787
15788
15789 1) ACPI CA Core Subsystem version 20020918:
15790
15791 Fixed a reported problem with reference chaining (via the Index()
15792 and RefOf() operators) in the ObjectType() and SizeOf() operators.
15793 The definition of these operators includes the dereferencing of
15794 all chained references to return information on the base object.
15795
15796 Fixed a problem with stores to indexed package elements - the
15797 existing code would not complete the store if an "implicit
15798 conversion" was not performed.  In other words, if the existing
15799 object (package element) was to be replaced completely, the code
15800 didn't handle this case.
15801
15802 Relaxed typechecking on the ASL "Scope" operator to allow the
15803 target name to refer to an object of type Integer, String, or
15804 Buffer, in addition to the scoping object types (Device,
15805 predefined Scopes, Processor, PowerResource, and ThermalZone.)
15806 This allows existing AML code that has workarounds for a bug in
15807 Windows to function properly.  A warning is issued, however.  This
15808 affects both the AML interpreter and the iASL compiler. Below is
15809 an example of this type of ASL code:
15810
15811       Name(DEB,0x00)
15812       Scope(DEB)
15813       {
15814
15815 Fixed some reported problems with 64-bit integer support in the
15816 local implementation of C library functions (clib.c)
15817
15818
15819 2) Linux
15820
15821 Use ACPI fix map region instead of IOAPIC region, since it is
15822 undefined in non-SMP.
15823
15824 Ensure that the SCI has the proper polarity and trigger, even on
15825 systems that do not have an interrupt override entry in the MADT.
15826
15827 2.5 big driver reorganization (Pat Mochel)
15828
15829 Use early table mapping code from acpitable.c (Andi Kleen)
15830
15831 New blacklist entries (Andi Kleen)
15832
15833 Blacklist improvements. Split blacklist code out into a separate
15834 file. Move checking the blacklist to very early. Previously, we
15835 would use ACPI tables, and then halfway through init, check the
15836 blacklist -- too late. Now, it's early enough to completely fall-
15837 back to non-ACPI.
15838
15839
15840 3) iASL Compiler/Disassembler version 20020918:
15841
15842 Fixed a problem where the typechecking code didn't know that an
15843 alias could point to a method.  In other words, aliases were not
15844 being dereferenced during typechecking.
15845
15846
15847 ----------------------------------------
15848 29 August 2002.  Summary of changes for this release.
15849
15850 1) ACPI CA Core Subsystem Version 20020829:
15851
15852 If the target of a Scope() operator already exists, it must be an
15853 object type that actually opens a scope -- such as a Device,
15854 Method, Scope, etc.  This is a fatal runtime error.  Similar error
15855 check has been added to the iASL compiler also.
15856
15857 Tightened up the namespace load to disallow multiple names in the
15858 same scope.  This previously was allowed if both objects were of
15859 the same type.  (i.e., a lookup was the same as entering a new
15860 name).
15861
15862
15863 2) Linux
15864
15865 Ensure that the ACPI interrupt has the proper trigger and
15866 polarity.
15867
15868 local_irq_disable is extraneous. (Matthew Wilcox)
15869
15870 Make "acpi=off" actually do what it says, and not use the ACPI
15871 interpreter *or* the tables.
15872
15873 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
15874 Takayoshi)
15875
15876
15877 3) iASL Compiler/Disassembler  Version 20020829:
15878
15879 Implemented namepath optimization for name declarations.  For
15880 example, a declaration like "Method (\_SB_.ABCD)" would get
15881 optimized to "Method (ABCD)" if the declaration is within the
15882 \_SB_ scope.  This optimization is in addition to the named
15883 reference path optimization first released in the previous
15884 version. This would seem to complete all possible optimizations
15885 for namepaths within the ASL/AML.
15886
15887 If the target of a Scope() operator already exists, it must be an
15888 object type that actually opens a scope -- such as a Device,
15889 Method, Scope, etc.
15890
15891 Implemented a check and warning for unreachable code in the same
15892 block below a Return() statement.
15893
15894 Fixed a problem where the listing file was not generated if the
15895 compiler aborted if the maximum error count was exceeded (200).
15896
15897 Fixed a problem where the typechecking of method return values was
15898 broken.  This includes the check for a return value when the
15899 method is invoked as a TermArg (a return value is expected.)
15900
15901 Fixed a reported problem where EOF conditions during a quoted
15902 string or comment caused a fault.
15903
15904
15905 ----------------------------------------
15906 15 August 2002.  Summary of changes for this release.
15907
15908 1) ACPI CA Core Subsystem Version 20020815:
15909
15910 Fixed a reported problem where a Store to a method argument that
15911 contains a reference did not perform the indirect store correctly.
15912 This problem was created during the conversion to the new
15913 reference object model - the indirect store to a method argument
15914 code was not updated to reflect the new model.
15915
15916 Reworked the ACPI mode change code to better conform to ACPI 2.0,
15917 handle corner cases, and improve code legibility (Kochi Takayoshi)
15918
15919 Fixed a problem with the pathname parsing for the carat (^)
15920 prefix.  The heavy use of the carat operator by the new namepath
15921 optimization in the iASL compiler uncovered a problem with the AML
15922 interpreter handling of this prefix.  In the case where one or
15923 more carats precede a single nameseg, the nameseg was treated as
15924 standalone and the search rule (to root) was inadvertently
15925 applied.  This could cause both the iASL compiler and the
15926 interpreter to find the wrong object or to miss the error that
15927 should occur if the object does not exist at that exact pathname.
15928
15929 Found and fixed the problem where the HP Pavilion DSDT would not
15930 load.  This was a relatively minor tweak to the table loading code
15931 (a problem caused by the unexpected encounter with a method
15932 invocation not within a control method), but it does not solve the
15933 overall issue of the execution of AML code at the table level.
15934 This investigation is still ongoing.
15935
15936 Code and Data Size: Current core subsystem library sizes are shown
15937 below.  These are the code and data sizes for the acpica.lib
15938 produced by the Microsoft Visual C++ 6.0 compiler, and these
15939 values do not include any ACPI driver or OSPM code.  The debug
15940 version of the code includes the debug output trace mechanism and
15941 has a larger code and data size.  Note that these values will vary
15942 depending on the efficiency of the compiler and the compiler
15943 options used during generation.
15944
15945   Previous Release
15946     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15947     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15948   Current Release:
15949     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15950     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15951
15952
15953 2) Linux
15954
15955 Remove redundant slab.h include (Brad Hards)
15956
15957 Fix several bugs in thermal.c (Herbert Nachtnebel)
15958
15959 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
15960
15961 Change acpi_system_suspend to use updated irq functions (Pavel
15962 Machek)
15963
15964 Export acpi_get_firmware_table (Matthew Wilcox)
15965
15966 Use proper root proc entry for ACPI (Kochi Takayoshi)
15967
15968 Fix early-boot table parsing (Bjorn Helgaas)
15969
15970
15971 3) iASL Compiler/Disassembler
15972
15973 Reworked the compiler options to make them more consistent and to
15974 use two-letter options where appropriate.  We were running out of
15975 sensible letters.   This may break some makefiles, so check the
15976 current options list by invoking the compiler with no parameters.
15977
15978 Completed the design and implementation of the ASL namepath
15979 optimization option for the compiler.  This option optimizes all
15980 references to named objects to the shortest possible path.  The
15981 first attempt tries to utilize a single nameseg (4 characters) and
15982 the "search-to-root" algorithm used by the interpreter.  If that
15983 cannot be used (because either the name is not in the search path
15984 or there is a conflict with another object with the same name),
15985 the pathname is optimized using the carat prefix (usually a
15986 shorter string than specifying the entire path from the root.)
15987
15988 Implemented support to obtain the DSDT from the Windows registry
15989 (when the disassembly option is specified with no input file).
15990 Added this code as the implementation for AcpiOsTableOverride in
15991 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
15992 utility) to scan memory for the DSDT to the AcpiOsTableOverride
15993 function in the DOS OSL to make the disassembler truly OS
15994 independent.
15995
15996 Implemented a new option to disassemble and compile in one step.
15997 When used without an input filename, this option will grab the
15998 DSDT from the local machine, disassemble it, and compile it in one
15999 step.
16000
16001 Added a warning message for invalid escapes (a backslash followed
16002 by any character other than the allowable escapes).  This catches
16003 the quoted string error "\_SB_" (which should be "\\_SB_" ).
16004
16005 Also, there are numerous instances in the ACPI specification where
16006 this error occurs.
16007
16008 Added a compiler option to disable all optimizations.  This is
16009 basically the "compatibility mode" because by using this option,
16010 the AML code will come out exactly the same as other ASL
16011 compilers.
16012
16013 Added error messages for incorrectly ordered dependent resource
16014 functions.  This includes: missing EndDependentFn macro at end of
16015 dependent resource list, nested dependent function macros (both
16016 start and end), and missing StartDependentFn macro.  These are
16017 common errors that should be caught at compile time.
16018
16019 Implemented _OSI support for the disassembler and compiler.  _OSI
16020 must be included in the namespace for proper disassembly (because
16021 the disassembler must know the number of arguments.)
16022
16023 Added an "optimization" message type that is optional (off by
16024 default).  This message is used for all optimizations - including
16025 constant folding, integer optimization, and namepath optimization.
16026
16027 ----------------------------------------
16028 25 July 2002.  Summary of changes for this release.
16029
16030
16031 1) ACPI CA Core Subsystem Version 20020725:
16032
16033 The AML Disassembler has been enhanced to produce compilable ASL
16034 code and has been integrated into the iASL compiler (see below) as
16035 well as the single-step disassembly for the AML debugger and the
16036 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
16037 resource templates and macros are fully supported.  The
16038 disassembler has been tested on over 30 different AML files,
16039 producing identical AML when the resulting disassembled ASL file
16040 is recompiled with the same ASL compiler.
16041
16042 Modified the Resource Manager to allow zero interrupts and zero
16043 dma channels during the GetCurrentResources call.  This was
16044 causing problems on some platforms.
16045
16046 Added the AcpiOsRedirectOutput interface to the OSL to simplify
16047 output redirection for the AcpiOsPrintf and AcpiOsVprintf
16048 interfaces.
16049
16050 Code and Data Size: Current core subsystem library sizes are shown
16051 below.  These are the code and data sizes for the acpica.lib
16052 produced by the Microsoft Visual C++ 6.0 compiler, and these
16053 values do not include any ACPI driver or OSPM code.  The debug
16054 version of the code includes the debug output trace mechanism and
16055 has a larger code and data size.  Note that these values will vary
16056 depending on the efficiency of the compiler and the compiler
16057 options used during generation.
16058
16059   Previous Release
16060     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
16061     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
16062   Current Release:
16063     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
16064     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
16065
16066
16067 2) Linux
16068
16069 Fixed a panic in the EC driver (Dominik Brodowski)
16070
16071 Implemented checksum of the R/XSDT itself during Linux table scan
16072 (Richard Schaal)
16073
16074
16075 3) iASL compiler
16076
16077 The AML disassembler is integrated into the compiler.  The "-d"
16078 option invokes the disassembler  to completely disassemble an
16079 input AML file, producing as output a text ASL file with the
16080 extension ".dsl" (to avoid name collisions with existing .asl
16081 source files.)  A future enhancement will allow the disassembler
16082 to obtain the BIOS DSDT from the registry under Windows.
16083
16084 Fixed a problem with the VendorShort and VendorLong resource
16085 descriptors where an invalid AML sequence was created.
16086
16087 Implemented a fix for BufferData term in the ASL parser.  It was
16088 inadvertently defined twice, allowing invalid syntax to pass and
16089 causing reduction conflicts.
16090
16091 Fixed a problem where the Ones opcode could get converted to a
16092 value of zero if "Ones" was used where a byte, word or dword value
16093 was expected.  The 64-bit value is now truncated to the correct
16094 size with the correct value.
16095
16096
16097
16098 ----------------------------------------
16099 02 July 2002.  Summary of changes for this release.
16100
16101
16102 1) ACPI CA Core Subsystem Version 20020702:
16103
16104 The Table Manager code has been restructured to add several new
16105 features.  Tables that are not required by the core subsystem
16106 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
16107 validated in any way and are returned from AcpiGetFirmwareTable if
16108 requested.  The AcpiOsTableOverride interface is now called for
16109 each table that is loaded by the subsystem in order to allow the
16110 host to override any table it chooses.  Previously, only the DSDT
16111 could be overridden.  Added one new files, tbrsdt.c and
16112 tbgetall.c.
16113
16114 Fixed a problem with the conversion of internal package objects to
16115 external objects (when a package is returned from a control
16116 method.)  The return buffer length was set to zero instead of the
16117 proper length of the package object.
16118
16119 Fixed a reported problem with the use of the RefOf and DeRefOf
16120 operators when passing reference arguments to control methods.  A
16121 new type of Reference object is used internally for references
16122 produced by the RefOf operator.
16123
16124 Added additional error messages in the Resource Manager to explain
16125 AE_BAD_DATA errors when they occur during resource parsing.
16126
16127 Split the AcpiEnableSubsystem into two primitives to enable a
16128 finer granularity initialization sequence.  These two calls should
16129 be called in this order: AcpiEnableSubsystem (flags),
16130 AcpiInitializeObjects (flags).  The flags parameter remains the
16131 same.
16132
16133
16134 2) Linux
16135
16136 Updated the ACPI utilities module to understand the new style of
16137 fully resolved package objects that are now returned from the core
16138 subsystem.  This eliminates errors of the form:
16139
16140     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
16141     acpi_utils-0430 [145] acpi_evaluate_reference:
16142         Invalid element in package (not a device reference)
16143
16144 The method evaluation utility uses the new buffer allocation
16145 scheme instead of calling AcpiEvaluate Object twice.
16146
16147 Added support for ECDT. This allows the use of the Embedded
16148
16149 Controller before the namespace has been fully initialized, which
16150 is necessary for ACPI 2.0 support, and for some laptops to
16151 initialize properly. (Laptops using ECDT are still rare, so only
16152 limited testing was performed of the added functionality.)
16153
16154 Fixed memory leaks in the EC driver.
16155
16156 Eliminated a brittle code structure in acpi_bus_init().
16157
16158 Eliminated the acpi_evaluate() helper function in utils.c. It is
16159 no longer needed since acpi_evaluate_object can optionally
16160 allocate memory for the return object.
16161
16162 Implemented fix for keyboard hang when getting battery readings on
16163 some systems (Stephen White)
16164
16165 PCI IRQ routing update (Dominik Brodowski)
16166
16167 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
16168 support
16169
16170 ----------------------------------------
16171 11 June 2002.  Summary of changes for this release.
16172
16173
16174 1) ACPI CA Core Subsystem Version 20020611:
16175
16176 Fixed a reported problem where constants such as Zero and One
16177 appearing within _PRT packages were not handled correctly within
16178 the resource manager code.  Originally reported against the ASL
16179 compiler because the code generator now optimizes integers to
16180 their minimal AML representation (i.e. AML constants if possible.)
16181 The _PRT code now handles all AML constant opcodes correctly
16182 (Zero, One, Ones, Revision).
16183
16184 Fixed a problem with the Concatenate operator in the AML
16185 interpreter where a buffer result object was incorrectly marked as
16186 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
16187
16188 All package sub-objects are now fully resolved before they are
16189 returned from the external ACPI interfaces.  This means that name
16190 strings are resolved to object handles, and constant operators
16191 (Zero, One, Ones, Revision) are resolved to Integers.
16192
16193 Implemented immediate resolution of the AML Constant opcodes
16194 (Zero, One, Ones, Revision) to Integer objects upon detection
16195 within the AML stream. This has simplified and reduced the
16196 generated code size of the subsystem by eliminating about 10
16197 switch statements for these constants (which previously were
16198 contained in Reference objects.)  The complicating issues are that
16199 the Zero opcode is used as a "placeholder" for unspecified
16200 optional target operands and stores to constants are defined to be
16201 no-ops.
16202
16203 Code and Data Size: Current core subsystem library sizes are shown
16204 below. These are the code and data sizes for the acpica.lib
16205 produced by the Microsoft Visual C++ 6.0 compiler, and these
16206 values do not include any ACPI driver or OSPM code.  The debug
16207 version of the code includes the debug output trace mechanism and
16208 has a larger code and data size.  Note that these values will vary
16209 depending on the efficiency of the compiler and the compiler
16210 options used during generation.
16211
16212   Previous Release
16213     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
16214     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
16215   Current Release:
16216     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
16217     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
16218
16219
16220 2) Linux
16221
16222
16223 Added preliminary support for obtaining _TRA data for PCI root
16224 bridges (Bjorn Helgaas).
16225
16226
16227 3) iASL Compiler Version X2046:
16228
16229 Fixed a problem where the "_DDN" reserved name was defined to be a
16230 control method with one argument.  There are no arguments, and
16231 _DDN does not have to be a control method.
16232
16233 Fixed a problem with the Linux version of the compiler where the
16234 source lines printed with error messages were the wrong lines.
16235 This turned out to be the "LF versus CR/LF" difference between
16236 Windows and Unix.  This appears to be the longstanding issue
16237 concerning listing output and error messages.
16238
16239 Fixed a problem with the Linux version of compiler where opcode
16240 names within error messages were wrong.  This was caused by a
16241 slight difference in the output of the Flex tool on Linux versus
16242 Windows.
16243
16244 Fixed a problem with the Linux compiler where the hex output files
16245 contained some garbage data caused by an internal buffer overrun.
16246
16247
16248 ----------------------------------------
16249 17 May 2002.  Summary of changes for this release.
16250
16251
16252 1) ACPI CA Core Subsystem Version 20020517:
16253
16254 Implemented a workaround to an BIOS bug discovered on the HP
16255 OmniBook where the FADT revision number and the table size are
16256 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
16257 behavior is to fallback to using only the ACPI 1.0 fields of the
16258 FADT if the table is too small to be a ACPI 2.0 table as claimed
16259 by the revision number.  Although this is a BIOS bug, this is a
16260 case where the workaround is simple enough and with no side
16261 effects, so it seemed prudent to add it.  A warning message is
16262 issued, however.
16263
16264 Implemented minimum size checks for the fixed-length ACPI tables -
16265 - the FADT and FACS, as well as consistency checks between the
16266 revision number and the table size.
16267
16268 Fixed a reported problem in the table override support where the
16269 new table pointer was incorrectly treated as a physical address
16270 instead of a logical address.
16271
16272 Eliminated the use of the AE_AML_ERROR exception and replaced it
16273 with more descriptive codes.
16274
16275 Fixed a problem where an exception would occur if an ASL Field was
16276 defined with no named Field Units underneath it (used by some
16277 index fields).
16278
16279 Code and Data Size: Current core subsystem library sizes are shown
16280 below.  These are the code and data sizes for the acpica.lib
16281 produced by the Microsoft Visual C++ 6.0 compiler, and these
16282 values do not include any ACPI driver or OSPM code.  The debug
16283 version of the code includes the debug output trace mechanism and
16284 has a larger code and data size.  Note that these values will vary
16285 depending on the efficiency of the compiler and the compiler
16286 options used during generation.
16287
16288   Previous Release
16289     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
16290     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
16291   Current Release:
16292     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
16293     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
16294
16295
16296
16297 2) Linux
16298
16299 Much work done on ACPI init (MADT and PCI IRQ routing support).
16300 (Paul D. and Dominik Brodowski)
16301
16302 Fix PCI IRQ-related panic on boot (Sam Revitch)
16303
16304 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
16305
16306 Fix "MHz" typo (Dominik Brodowski)
16307
16308 Fix RTC year 2000 issue (Dominik Brodowski)
16309
16310 Preclude multiple button proc entries (Eric Brunet)
16311
16312 Moved arch-specific code out of include/platform/aclinux.h
16313
16314 3) iASL Compiler Version X2044:
16315
16316 Implemented error checking for the string used in the EISAID macro
16317 (Usually used in the definition of the _HID object.)  The code now
16318 strictly enforces the PnP format - exactly 7 characters, 3
16319 uppercase letters and 4 hex digits.
16320
16321 If a raw string is used in the definition of the _HID object
16322 (instead of the EISAID macro), the string must contain all
16323 alphanumeric characters (e.g., "*PNP0011" is not allowed because
16324 of the asterisk.)
16325
16326 Implemented checking for invalid use of ACPI reserved names for
16327 most of the name creation operators (Name, Device, Event, Mutex,
16328 OperationRegion, PowerResource, Processor, and ThermalZone.)
16329 Previously, this check was only performed for control methods.
16330
16331 Implemented an additional check on the Name operator to emit an
16332 error if a reserved name that must be implemented in ASL as a
16333 control method is used.  We know that a reserved name must be a
16334 method if it is defined with input arguments.
16335
16336 The warning emitted when a namespace object reference is not found
16337 during the cross reference phase has been changed into an error.
16338 The "External" directive should be used for names defined in other
16339 modules.
16340
16341
16342 4) Tools and Utilities
16343
16344 The 16-bit tools (adump16 and aexec16) have been regenerated and
16345 tested.
16346
16347 Fixed a problem with the output of both acpidump and adump16 where
16348 the indentation of closing parentheses and brackets was not
16349
16350 aligned properly with the parent block.
16351
16352
16353 ----------------------------------------
16354 03 May 2002.  Summary of changes for this release.
16355
16356
16357 1) ACPI CA Core Subsystem Version 20020503:
16358
16359 Added support a new OSL interface that allows the host operating
16360
16361 system software to override the DSDT found in the firmware -
16362 AcpiOsTableOverride.  With this interface, the OSL can examine the
16363 version of the firmware DSDT and replace it with a different one
16364 if desired.
16365
16366 Added new external interfaces for accessing ACPI registers from
16367 device drivers and other system software - AcpiGetRegister and
16368 AcpiSetRegister.  This was simply an externalization of the
16369 existing AcpiHwBitRegister interfaces.
16370
16371 Fixed a regression introduced in the previous build where the
16372 ASL/AML CreateField operator always returned an error,
16373 "destination must be a NS Node".
16374
16375 Extended the maximum time (before failure) to successfully enable
16376 ACPI mode to 3 seconds.
16377
16378 Code and Data Size: Current core subsystem library sizes are shown
16379 below.  These are the code and data sizes for the acpica.lib
16380 produced by the Microsoft Visual C++ 6.0 compiler, and these
16381 values do not include any ACPI driver or OSPM code.  The debug
16382 version of the code includes the debug output trace mechanism and
16383 has a larger code and data size.  Note that these values will vary
16384 depending on the efficiency of the compiler and the compiler
16385 options used during generation.
16386
16387   Previous Release
16388     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
16389     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
16390   Current Release:
16391     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
16392     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
16393
16394
16395 2) Linux
16396
16397 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
16398 free. While 3 out of 4 of our in-house systems work fine, the last
16399 one still hangs when testing the LAPIC timer.
16400
16401 Renamed many files in 2.5 kernel release to omit "acpi_" from the
16402 name.
16403
16404 Added warning on boot for Presario 711FR.
16405
16406 Sleep improvements (Pavel Machek)
16407
16408 ACPI can now be built without CONFIG_PCI enabled.
16409
16410 IA64: Fixed memory map functions (JI Lee)
16411
16412
16413 3) iASL Compiler Version X2043:
16414
16415 Added support to allow the compiler to be integrated into the MS
16416 VC++ development environment for one-button compilation of single
16417 files or entire projects -- with error-to-source-line mapping.
16418
16419 Implemented support for compile-time constant folding for the
16420 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
16421 specification.  This allows the ASL writer to use expressions
16422 instead of Integer/Buffer/String constants in terms that must
16423 evaluate to constants at compile time and will also simplify the
16424 emitted AML in any such sub-expressions that can be folded
16425 (evaluated at compile-time.)  This increases the size of the
16426 compiler significantly because a portion of the ACPI CA AML
16427 interpreter is included within the compiler in order to pre-
16428 evaluate constant expressions.
16429
16430
16431 Fixed a problem with the "Unicode" ASL macro that caused the
16432 compiler to fault.  (This macro is used in conjunction with the
16433 _STR reserved name.)
16434
16435 Implemented an AML opcode optimization to use the Zero, One, and
16436 Ones opcodes where possible to further reduce the size of integer
16437 constants and thus reduce the overall size of the generated AML
16438 code.
16439
16440 Implemented error checking for new reserved terms for ACPI version
16441 2.0A.
16442
16443 Implemented the -qr option to display the current list of ACPI
16444 reserved names known to the compiler.
16445
16446 Implemented the -qc option to display the current list of ASL
16447 operators that are allowed within constant expressions and can
16448 therefore be folded at compile time if the operands are constants.
16449
16450
16451 4) Documentation
16452
16453 Updated the Programmer's Reference for new interfaces, data types,
16454 and memory allocation model options.
16455
16456 Updated the iASL Compiler User Reference to apply new format and
16457 add information about new features and options.
16458
16459 ----------------------------------------
16460 19 April 2002.  Summary of changes for this release.
16461
16462 1) ACPI CA Core Subsystem Version 20020419:
16463
16464 The source code base for the Core Subsystem has been completely
16465 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
16466 versions.  The Lint option files used are included in the
16467 /acpi/generate/lint directory.
16468
16469 Implemented enhanced status/error checking across the entire
16470 Hardware manager subsystem.  Any hardware errors (reported from
16471 the OSL) are now bubbled up and will abort a running control
16472 method.
16473
16474
16475 Fixed a problem where the per-ACPI-table integer width (32 or 64)
16476 was stored only with control method nodes, causing a fault when
16477 non-control method code was executed during table loading.  The
16478 solution implemented uses a global variable to indicate table
16479 width across the entire ACPI subsystem.  Therefore, ACPI CA does
16480 not support mixed integer widths across different ACPI tables
16481 (DSDT, SSDT).
16482
16483 Fixed a problem where NULL extended fields (X fields) in an ACPI
16484 2.0 ACPI FADT caused the table load to fail.  Although the
16485 existing ACPI specification is a bit fuzzy on this topic, the new
16486 behavior is to fall back on a ACPI 1.0 field if the corresponding
16487 ACPI 2.0 X field is zero (even though the table revision indicates
16488 a full ACPI 2.0 table.)  The ACPI specification will be updated to
16489 clarify this issue.
16490
16491 Fixed a problem with the SystemMemory operation region handler
16492 where memory was always accessed byte-wise even if the AML-
16493 specified access width was larger than a byte.  This caused
16494 problems on systems with memory-mapped I/O.  Memory is now
16495 accessed with the width specified.  On systems that do not support
16496 non-aligned transfers, a check is made to guarantee proper address
16497 alignment before proceeding in order to avoid an AML-caused
16498 alignment fault within the kernel.
16499
16500
16501 Fixed a problem with the ExtendedIrq resource where only one byte
16502 of the 4-byte Irq field was extracted.
16503
16504 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
16505 function was out of date and required a rewrite.
16506
16507 Code and Data Size: Current core subsystem library sizes are shown
16508 below.  These are the code and data sizes for the acpica.lib
16509 produced by the Microsoft Visual C++ 6.0 compiler, and these
16510 values do not include any ACPI driver or OSPM code.  The debug
16511 version of the code includes the debug output trace mechanism and
16512 has a larger code and data size.  Note that these values will vary
16513 depending on the efficiency of the compiler and the compiler
16514 options used during generation.
16515
16516   Previous Release
16517     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16518     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16519   Current Release:
16520     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
16521     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
16522
16523
16524 2) Linux
16525
16526 PCI IRQ routing fixes (Dominik Brodowski)
16527
16528
16529 3) iASL Compiler Version X2042:
16530
16531 Implemented an additional compile-time error check for a field
16532 unit whose size + minimum access width would cause a run-time
16533 access beyond the end-of-region.  Previously, only the field size
16534 itself was checked.
16535
16536 The Core subsystem and iASL compiler now share a common parse
16537 object in preparation for compile-time evaluation of the type
16538 3/4/5 ASL operators.
16539
16540
16541 ----------------------------------------
16542 Summary of changes for this release: 03_29_02
16543
16544 1) ACPI CA Core Subsystem Version 20020329:
16545
16546 Implemented support for late evaluation of TermArg operands to
16547 Buffer and Package objects.  This allows complex expressions to be
16548 used in the declarations of these object types.
16549
16550 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
16551 1.0, if the field was larger than 32 bits, it was returned as a
16552 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
16553 the field is returned as a buffer only if the field is larger than
16554 64 bits.  The TableRevision is now considered when making this
16555 conversion to avoid incompatibility with existing ASL code.
16556
16557 Implemented logical addressing for AcpiOsGetRootPointer.  This
16558 allows an RSDP with either a logical or physical address.  With
16559 this support, the host OS can now override all ACPI tables with
16560 one logical RSDP.  Includes implementation of  "typed" pointer
16561 support to allow a common data type for both physical and logical
16562 pointers internally.  This required a change to the
16563 AcpiOsGetRootPointer interface.
16564
16565 Implemented the use of ACPI 2.0 Generic Address Structures for all
16566 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
16567 mapped I/O for these ACPI features.
16568
16569 Initialization now ignores not only non-required tables (All
16570 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
16571 not validate the table headers of unrecognized tables.
16572
16573 Fixed a problem where a notify handler could only be
16574 installed/removed on an object of type Device.  All "notify"
16575
16576 objects are now supported -- Devices, Processor, Power, and
16577 Thermal.
16578
16579 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
16580 critical information is returned when this debug level is enabled.
16581
16582 Code and Data Size: Current core subsystem library sizes are shown
16583 below.  These are the code and data sizes for the acpica.lib
16584 produced by the Microsoft Visual C++ 6.0 compiler, and these
16585 values do not include any ACPI driver or OSPM code.  The debug
16586 version of the code includes the debug output trace mechanism and
16587 has a larger code and data size.  Note that these values will vary
16588 depending on the efficiency of the compiler and the compiler
16589 options used during generation.
16590
16591   Previous Release
16592     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16593     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16594   Current Release:
16595     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
16596     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
16597
16598
16599 2) Linux:
16600
16601 The processor driver (acpi_processor.c) now fully supports ACPI
16602 2.0-based processor performance control (e.g. Intel(R)
16603 SpeedStep(TM) technology) Note that older laptops that only have
16604 the Intel "applet" interface are not supported through this.  The
16605 'limit' and 'performance' interface (/proc) are fully functional.
16606 [Note that basic policy for controlling performance state
16607 transitions will be included in the next version of ospmd.]  The
16608 idle handler was modified to more aggressively use C2, and PIIX4
16609 errata handling underwent a complete overhaul (big thanks to
16610 Dominik Brodowski).
16611
16612 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
16613 based devices in the ACPI namespace are now dynamically bound
16614 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
16615 This allows, among other things, ACPI to resolve bus numbers for
16616 subordinate PCI bridges.
16617
16618 Enhanced PCI IRQ routing to get the proper bus number for _PRT
16619 entries defined underneath PCI bridges.
16620
16621 Added IBM 600E to bad bios list due to invalid _ADR value for
16622 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
16623
16624 In the process of adding full MADT support (e.g. IOAPIC) for IA32
16625 (acpi.c, mpparse.c) -- stay tuned.
16626
16627 Added back visual differentiation between fixed-feature and
16628 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
16629 button/power/PWRF) to simplify button identification.
16630
16631 We no longer use -Wno-unused when compiling debug. Please ignore
16632 any "_THIS_MODULE defined but not used" messages.
16633
16634 Can now shut down the system using "magic sysrq" key.
16635
16636
16637 3) iASL Compiler version 2041:
16638
16639 Fixed a problem where conversion errors for hex/octal/decimal
16640 constants were not reported.
16641
16642 Implemented a fix for the General Register template Address field.
16643 This field was 8 bits when it should be 64.
16644
16645 Fixed a problem where errors/warnings were no longer being emitted
16646 within the listing output file.
16647
16648 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
16649 exactly 4 characters, alphanumeric only.
16650
16651
16652
16653
16654 ----------------------------------------
16655 Summary of changes for this release: 03_08_02
16656
16657
16658 1) ACPI CA Core Subsystem Version 20020308:
16659
16660 Fixed a problem with AML Fields where the use of the "AccessAny"
16661 keyword could cause an interpreter error due to attempting to read
16662 or write beyond the end of the parent Operation Region.
16663
16664 Fixed a problem in the SystemMemory Operation Region handler where
16665 an attempt was made to map memory beyond the end of the region.
16666 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
16667 errors on some Linux systems.
16668
16669 Fixed a problem where the interpreter/namespace "search to root"
16670 algorithm was not functioning for some object types.  Relaxed the
16671 internal restriction on the search to allow upsearches for all
16672 external object types as well as most internal types.
16673
16674
16675 2) Linux:
16676
16677 We now use safe_halt() macro versus individual calls to sti | hlt.
16678
16679 Writing to the processor limit interface should now work. "echo 1"
16680 will increase the limit, 2 will decrease, and 0 will reset to the
16681
16682 default.
16683
16684
16685 3) ASL compiler:
16686
16687 Fixed segfault on Linux version.
16688
16689
16690 ----------------------------------------
16691 Summary of changes for this release: 02_25_02
16692
16693 1) ACPI CA Core Subsystem:
16694
16695
16696 Fixed a problem where the GPE bit masks were not initialized
16697 properly, causing erratic GPE behavior.
16698
16699 Implemented limited support for multiple calling conventions.  The
16700 code can be generated with either the VPL (variable parameter
16701 list, or "C") convention, or the FPL (fixed parameter list, or
16702 "Pascal") convention.  The core subsystem is about 3.4% smaller
16703 when generated with FPL.
16704
16705
16706 2) Linux
16707
16708 Re-add some /proc/acpi/event functionality that was lost during
16709 the rewrite
16710
16711 Resolved issue with /proc events for fixed-feature buttons showing
16712 up as the system device.
16713
16714 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
16715
16716 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
16717
16718 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
16719
16720 Fixed limit interface & usage to fix bugs with passive cooling
16721 hysterisis.
16722
16723 Restructured PRT support.
16724
16725
16726 ----------------------------------------
16727 Summary of changes for this label: 02_14_02
16728
16729
16730 1) ACPI CA Core Subsystem:
16731
16732 Implemented support in AcpiLoadTable to allow loading of FACS and
16733 FADT tables.
16734
16735 Support for the now-obsolete interim 0.71 64-bit ACPI tables has
16736 been removed.  All 64-bit platforms should be migrated to the ACPI
16737 2.0 tables.  The actbl71.h header has been removed from the source
16738 tree.
16739
16740 All C macros defined within the subsystem have been prefixed with
16741 "ACPI_" to avoid collision with other system include files.
16742
16743 Removed the return value for the two AcpiOsPrint interfaces, since
16744 it is never used and causes lint warnings for ignoring the return
16745 value.
16746
16747 Added error checking to all internal mutex acquire and release
16748 calls.  Although a failure from one of these interfaces is
16749 probably a fatal system error, these checks will cause the
16750 immediate abort of the currently executing method or interface.
16751
16752 Fixed a problem where the AcpiSetCurrentResources interface could
16753 fault.  This was a side effect of the deployment of the new memory
16754 allocation model.
16755
16756 Fixed a couple of problems with the Global Lock support introduced
16757 in the last major build.  The "common" (1.0/2.0) internal FACS was
16758 being overwritten with the FACS signature and clobbering the
16759 Global Lock pointer.  Also, the actual firmware FACS was being
16760 unmapped after construction of the "common" FACS, preventing
16761 access to the actual Global Lock field within it.  The "common"
16762 internal FACS is no longer installed as an actual ACPI table; it
16763 is used simply as a global.
16764
16765 Code and Data Size: Current core subsystem library sizes are shown
16766 below.  These are the code and data sizes for the acpica.lib
16767 produced by the Microsoft Visual C++ 6.0 compiler, and these
16768 values do not include any ACPI driver or OSPM code.  The debug
16769 version of the code includes the debug output trace mechanism and
16770 has a larger code and data size.  Note that these values will vary
16771 depending on the efficiency of the compiler and the compiler
16772 options used during generation.
16773
16774   Previous Release (02_07_01)
16775     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16776     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16777   Current Release:
16778     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16779     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16780
16781
16782 2) Linux
16783
16784 Updated Linux-specific code for core macro and OSL interface
16785 changes described above.
16786
16787 Improved /proc/acpi/event. It now can be opened only once and has
16788 proper poll functionality.
16789
16790 Fixed and restructured power management (acpi_bus).
16791
16792 Only create /proc "view by type" when devices of that class exist.
16793
16794 Fixed "charging/discharging" bug (and others) in acpi_battery.
16795
16796 Improved thermal zone code.
16797
16798
16799 3) ASL Compiler, version X2039:
16800
16801
16802 Implemented the new compiler restriction on ASL String hex/octal
16803 escapes to non-null, ASCII values.  An error results if an invalid
16804 value is used.  (This will require an ACPI 2.0 specification
16805 change.)
16806
16807 AML object labels that are output to the optional C and ASM source
16808 are now prefixed with both the ACPI table signature and table ID
16809 to help guarantee uniqueness within a large BIOS project.
16810
16811
16812 ----------------------------------------
16813 Summary of changes for this label: 02_01_02
16814
16815 1) ACPI CA Core Subsystem:
16816
16817 ACPI 2.0 support is complete in the entire Core Subsystem and the
16818 ASL compiler. All new ACPI 2.0 operators are implemented and all
16819 other changes for ACPI 2.0 support are complete.  With
16820 simultaneous code and data optimizations throughout the subsystem,
16821 ACPI 2.0 support has been implemented with almost no additional
16822 cost in terms of code and data size.
16823
16824 Implemented a new mechanism for allocation of return buffers.  If
16825 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
16826 be allocated on behalf of the caller.  Consolidated all return
16827 buffer validation and allocation to a common procedure.  Return
16828 buffers will be allocated via the primary OSL allocation interface
16829 since it appears that a separate pool is not needed by most users.
16830 If a separate pool is required for these buffers, the caller can
16831 still use the original mechanism and pre-allocate the buffer(s).
16832
16833 Implemented support for string operands within the DerefOf
16834 operator.
16835
16836 Restructured the Hardware and Event managers to be table driven,
16837 simplifying the source code and reducing the amount of generated
16838 code.
16839
16840 Split the common read/write low-level ACPI register bitfield
16841 procedure into a separate read and write, simplifying the code
16842 considerably.
16843
16844 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
16845 used only a handful of times and didn't have enough critical mass
16846 for a separate interface.  Replaced with a common calloc procedure
16847 in the core.
16848
16849 Fixed a reported problem with the GPE number mapping mechanism
16850 that allows GPE1 numbers to be non-contiguous with GPE0.
16851 Reorganized the GPE information and shrunk a large array that was
16852 originally large enough to hold info for all possible GPEs (256)
16853 to simply large enough to hold all GPEs up to the largest GPE
16854 number on the machine.
16855
16856 Fixed a reported problem with resource structure alignment on 64-
16857 bit platforms.
16858
16859 Changed the AcpiEnableEvent and AcpiDisableEvent external
16860 interfaces to not require any flags for the common case of
16861 enabling/disabling a GPE.
16862
16863 Implemented support to allow a "Notify" on a Processor object.
16864
16865 Most TBDs in comments within the source code have been resolved
16866 and eliminated.
16867
16868
16869 Fixed a problem in the interpreter where a standalone parent
16870 prefix (^) was not handled correctly in the interpreter and
16871 debugger.
16872
16873 Removed obsolete and unnecessary GPE save/restore code.
16874
16875 Implemented Field support in the ASL Load operator.  This allows a
16876 table to be loaded from a named field, in addition to loading a
16877 table directly from an Operation Region.
16878
16879 Implemented timeout and handle support in the external Global Lock
16880 interfaces.
16881
16882 Fixed a problem in the AcpiDump utility where pathnames were no
16883 longer being generated correctly during the dump of named objects.
16884
16885 Modified the AML debugger to give a full display of if/while
16886 predicates instead of just one AML opcode at a time.  (The
16887 predicate can have several nested ASL statements.)  The old method
16888 was confusing during single stepping.
16889
16890 Code and Data Size: Current core subsystem library sizes are shown
16891 below. These are the code and data sizes for the acpica.lib
16892 produced by the Microsoft Visual C++ 6.0 compiler, and these
16893 values do not include any ACPI driver or OSPM code.  The debug
16894 version of the code includes the debug output trace mechanism and
16895 has a larger code and data size.  Note that these values will vary
16896 depending on the efficiency of the compiler and the compiler
16897 options used during generation.
16898
16899   Previous Release (12_18_01)
16900      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16901      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16902    Current Release:
16903      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16904      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16905
16906 2) Linux
16907
16908  Implemented fix for PIIX reverse throttling errata (Processor
16909 driver)
16910
16911 Added new Limit interface (Processor and Thermal drivers)
16912
16913 New thermal policy (Thermal driver)
16914
16915 Many updates to /proc
16916
16917 Battery "low" event support (Battery driver)
16918
16919 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
16920
16921 IA32 - IA64 initialization unification, no longer experimental
16922
16923 Menuconfig options redesigned
16924
16925 3) ASL Compiler, version X2037:
16926
16927 Implemented several new output features to simplify integration of
16928 AML code into  firmware: 1) Output the AML in C source code with
16929 labels for each named ASL object.  The    original ASL source code
16930 is interleaved as C comments. 2) Output the AML in ASM source code
16931 with labels and interleaved ASL    source. 3) Output the AML in
16932 raw hex table form, in either C or ASM.
16933
16934 Implemented support for optional string parameters to the
16935 LoadTable operator.
16936
16937 Completed support for embedded escape sequences within string
16938 literals.  The compiler now supports all single character escapes
16939 as well as the Octal and Hex escapes.  Note: the insertion of a
16940 null byte into a string literal (via the hex/octal escape) causes
16941 the string to be immediately terminated.  A warning is issued.
16942
16943 Fixed a problem where incorrect AML was generated for the case
16944 where an ASL namepath consists of a single parent prefix (
16945
16946 ) with no trailing name segments.
16947
16948 The compiler has been successfully generated with a 64-bit C
16949 compiler.
16950
16951
16952
16953
16954 ----------------------------------------
16955 Summary of changes for this label: 12_18_01
16956
16957 1) Linux
16958
16959 Enhanced blacklist with reason and severity fields. Any table's
16960 signature may now be used to identify a blacklisted system.
16961
16962 Call _PIC control method to inform the firmware which interrupt
16963 model the OS is using. Turn on any disabled link devices.
16964
16965 Cleaned up busmgr /proc error handling (Andreas Dilger)
16966
16967  2) ACPI CA Core Subsystem:
16968
16969 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
16970 while loop)
16971
16972 Completed implementation of the ACPI 2.0 "Continue",
16973 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
16974 operators.  All new ACPI 2.0 operators are now implemented in both
16975 the ASL compiler and the AML interpreter.  The only remaining ACPI
16976 2.0 task is support for the String data type in the DerefOf
16977 operator.  Fixed a problem with AcquireMutex where the status code
16978 was lost if the caller had to actually wait for the mutex.
16979
16980 Increased the maximum ASL Field size from 64K bits to 4G bits.
16981
16982 Completed implementation of the external Global Lock interfaces --
16983 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
16984 Handler parameters were added.
16985
16986 Completed another pass at removing warnings and issues when
16987 compiling with 64-bit compilers.  The code now compiles cleanly
16988 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
16989 add and subtract (diff) macros have changed considerably.
16990
16991
16992 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
16993 64-bit platforms, 32-bits on all others.  This type is used
16994 wherever memory allocation and/or the C sizeof() operator is used,
16995 and affects the OSL memory allocation interfaces AcpiOsAllocate
16996 and AcpiOsCallocate.
16997
16998 Implemented sticky user breakpoints in the AML debugger.
16999
17000 Code and Data Size: Current core subsystem library sizes are shown
17001 below. These are the code and data sizes for the acpica.lib
17002 produced by the Microsoft Visual C++ 6.0 compiler, and these
17003 values do not include any ACPI driver or OSPM code.  The debug
17004 version of the code includes the debug output trace mechanism and
17005 has a larger code and data size. Note that these values will vary
17006 depending on the efficiency of the compiler and the compiler
17007 options used during generation.
17008
17009   Previous Release (12_05_01)
17010      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
17011      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
17012    Current Release:
17013      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
17014      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
17015
17016  3) ASL Compiler, version X2034:
17017
17018 Now checks for (and generates an error if detected) the use of a
17019 Break or Continue statement without an enclosing While statement.
17020
17021
17022 Successfully generated the compiler with the Intel 64-bit C
17023 compiler.
17024
17025  ----------------------------------------
17026 Summary of changes for this label: 12_05_01
17027
17028  1) ACPI CA Core Subsystem:
17029
17030 The ACPI 2.0 CopyObject operator is fully implemented.  This
17031 operator creates a new copy of an object (and is also used to
17032 bypass the "implicit conversion" mechanism of the Store operator.)
17033
17034 The ACPI 2.0 semantics for the SizeOf operator are fully
17035 implemented.  The change is that performing a SizeOf on a
17036 reference object causes an automatic dereference of the object to
17037 tha actual value before the size is evaluated. This behavior was
17038 undefined in ACPI 1.0.
17039
17040 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
17041 have been implemented.  The interrupt polarity and mode are now
17042 independently set.
17043
17044 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
17045 appearing in Package objects were not properly converted to
17046 integers when the internal Package was converted to an external
17047 object (via the AcpiEvaluateObject interface.)
17048
17049 Fixed a problem with the namespace object deletion mechanism for
17050 objects created by control methods.  There were two parts to this
17051 problem: 1) Objects created during the initialization phase method
17052 parse were not being deleted, and 2) The object owner ID mechanism
17053 to track objects was broken.
17054
17055 Fixed a problem where the use of the ASL Scope operator within a
17056 control method would result in an invalid opcode exception.
17057
17058 Fixed a problem introduced in the previous label where the buffer
17059 length required for the _PRT structure was not being returned
17060 correctly.
17061
17062 Code and Data Size: Current core subsystem library sizes are shown
17063 below. These are the code and data sizes for the acpica.lib
17064 produced by the Microsoft Visual C++ 6.0 compiler, and these
17065 values do not include any ACPI driver or OSPM code.  The debug
17066 version of the code includes the debug output trace mechanism and
17067 has a larger code and data size.  Note that these values will vary
17068 depending on the efficiency of the compiler and the compiler
17069 options used during generation.
17070
17071   Previous Release (11_20_01)
17072      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
17073      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
17074
17075   Current Release:
17076      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
17077      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
17078
17079  2) Linux:
17080
17081 Updated all files to apply cleanly against 2.4.16.
17082
17083 Added basic PCI Interrupt Routing Table (PRT) support for IA32
17084 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
17085 version supports both static and dynamic PRT entries, but dynamic
17086 entries are treated as if they were static (not yet
17087 reconfigurable).  Architecture- specific code to use this data is
17088 absent on IA32 but should be available shortly.
17089
17090 Changed the initialization sequence to start the ACPI interpreter
17091 (acpi_init) prior to initialization of the PCI driver (pci_init)
17092 in init/main.c.  This ordering is required to support PRT and
17093 facilitate other (future) enhancement.  A side effect is that the
17094 ACPI bus driver and certain device drivers can no longer be loaded
17095 as modules.
17096
17097 Modified the 'make menuconfig' options to allow PCI Interrupt
17098 Routing support to be included without the ACPI Bus and other
17099 device drivers.
17100
17101  3) ASL Compiler, version X2033:
17102
17103 Fixed some issues with the use of the new CopyObject and
17104 DataTableRegion operators.  Both are fully functional.
17105
17106  ----------------------------------------
17107 Summary of changes for this label: 11_20_01
17108
17109  20 November 2001.  Summary of changes for this release.
17110
17111  1) ACPI CA Core Subsystem:
17112
17113 Updated Index support to match ACPI 2.0 semantics.  Storing a
17114 Integer, String, or Buffer to an Index of a Buffer will store only
17115 the least-significant byte of the source to the Indexed buffer
17116 byte.  Multiple writes are not performed.
17117
17118 Fixed a problem where the access type used in an AccessAs ASL
17119 operator was not recorded correctly into the field object.
17120
17121 Fixed a problem where ASL Event objects were created in a
17122 signalled state. Events are now created in an unsignalled state.
17123
17124 The internal object cache is now purged after table loading and
17125 initialization to reduce the use of dynamic kernel memory -- on
17126 the assumption that object use is greatest during the parse phase
17127 of the entire table (versus the run-time use of individual control
17128 methods.)
17129
17130 ACPI 2.0 variable-length packages are now fully operational.
17131
17132 Code and Data Size: Code and Data optimizations have permitted new
17133 feature development with an actual reduction in the library size.
17134 Current core subsystem library sizes are shown below.  These are
17135 the code and data sizes for the acpica.lib produced by the
17136 Microsoft Visual C++ 6.0 compiler, and these values do not include
17137 any ACPI driver or OSPM code.  The debug version of the code
17138 includes the debug output trace mechanism and has a larger code
17139 and data size.  Note that these values will vary depending on the
17140 efficiency of the compiler and the compiler options used during
17141 generation.
17142
17143   Previous Release (11_09_01):
17144      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
17145      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
17146
17147   Current Release:
17148      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
17149      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
17150
17151  2) Linux:
17152
17153 Enhanced the ACPI boot-time initialization code to allow the use
17154 of Local APIC tables for processor enumeration on IA-32, and to
17155 pave the way for a fully MPS-free boot (on SMP systems) in the
17156 near future.  This functionality replaces
17157 arch/i386/kernel/acpitables.c, which was introduced in an earlier
17158 2.4.15-preX release.  To enable this feature you must add
17159 "acpi_boot=on" to the kernel command line -- see the help entry
17160 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
17161 the works...
17162
17163 Restructured the configuration options to allow boot-time table
17164 parsing support without inclusion of the ACPI Interpreter (and
17165 other) code.
17166
17167 NOTE: This release does not include fixes for the reported events,
17168 power-down, and thermal passive cooling issues (coming soon).
17169
17170  3) ASL Compiler:
17171
17172 Added additional typechecking for Fields within restricted access
17173 Operation Regions.  All fields within EC and CMOS regions must be
17174 declared with ByteAcc. All fields within SMBus regions must be
17175 declared with the BufferAcc access type.
17176
17177 Fixed a problem where the listing file output of control methods
17178 no longer interleaved the actual AML code with the ASL source
17179 code.
17180
17181
17182
17183
17184 ----------------------------------------
17185 Summary of changes for this label: 11_09_01
17186
17187 1) ACPI CA Core Subsystem:
17188
17189 Implemented ACPI 2.0-defined support for writes to fields with a
17190 Buffer, String, or Integer source operand that is smaller than the
17191 target field. In these cases, the source operand is zero-extended
17192 to fill the target field.
17193
17194 Fixed a problem where a Field starting bit offset (within the
17195 parent operation region) was calculated incorrectly if the
17196
17197 alignment of the field differed from the access width.  This
17198 affected CreateWordField, CreateDwordField, CreateQwordField, and
17199 possibly other fields that use the "AccessAny" keyword.
17200
17201 Fixed a problem introduced in the 11_02_01 release where indirect
17202 stores through method arguments did not operate correctly.
17203
17204 2) Linux:
17205
17206 Implemented boot-time ACPI table parsing support
17207 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
17208 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
17209 legacy BIOS interfaces (e.g. MPS) for the configuration of system
17210 processors, memory, and interrupts during setup_arch().  Note that
17211 this patch does not include the required architecture-specific
17212 changes required to apply this information -- subsequent patches
17213 will be posted for both IA32 and IA64 to achieve this.
17214
17215 Added low-level sleep support for IA32 platforms, courtesy of Pat
17216 Mochel. This allows IA32 systems to transition to/from various
17217 sleeping states (e.g. S1, S3), although the lack of a centralized
17218 driver model and power-manageable drivers will prevent its
17219 (successful) use on most systems.
17220
17221 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
17222 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
17223 tables" option, etc.
17224
17225 Increased the default timeout for the EC driver from 1ms to 10ms
17226 (1000 cycles of 10us) to try to address AE_TIME errors during EC
17227 transactions.
17228
17229  ----------------------------------------
17230 Summary of changes for this label: 11_02_01
17231
17232 1) ACPI CA Core Subsystem:
17233
17234 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
17235 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
17236 implemented.
17237
17238 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
17239 changes to support ACPI 2.0 Qword field access.  Read/Write
17240 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
17241 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
17242 the value parameter for the address space handler interface is now
17243 an ACPI_INTEGER.  OSL implementations of these interfaces must now
17244 handle the case where the Width parameter is 64.
17245
17246 Index Fields: Fixed a problem where unaligned bit assembly and
17247 disassembly for IndexFields was not supported correctly.
17248
17249 Index and Bank Fields:  Nested Index and Bank Fields are now
17250 supported. During field access, a check is performed to ensure
17251 that the value written to an Index or Bank register is not out of
17252 the range of the register.  The Index (or Bank) register is
17253 written before each access to the field data. Future support will
17254 include allowing individual IndexFields to be wider than the
17255 DataRegister width.
17256
17257 Fields: Fixed a problem where the AML interpreter was incorrectly
17258 attempting to write beyond the end of a Field/OpRegion.  This was
17259 a boundary case that occurred when a DWORD field was written to a
17260 BYTE access OpRegion, forcing multiple writes and causing the
17261 interpreter to write one datum too many.
17262
17263 Fields: Fixed a problem with Field/OpRegion access where the
17264 starting bit address of a field was incorrectly calculated if the
17265 current access type was wider than a byte (WordAcc, DwordAcc, or
17266 QwordAcc).
17267
17268 Fields: Fixed a problem where forward references to individual
17269 FieldUnits (individual Field names within a Field definition) were
17270 not resolved during the AML table load.
17271
17272 Fields: Fixed a problem where forward references from a Field
17273 definition to the parent Operation Region definition were not
17274 resolved during the AML table load.
17275
17276 Fields: Duplicate FieldUnit names within a scope are now detected
17277 during AML table load.
17278
17279 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
17280 returned an incorrect name for the root node.
17281
17282 Code and Data Size: Code and Data optimizations have permitted new
17283 feature development with an actual reduction in the library size.
17284 Current core subsystem library sizes are shown below.  These are
17285 the code and data sizes for the acpica.lib produced by the
17286 Microsoft Visual C++ 6.0 compiler, and these values do not include
17287 any ACPI driver or OSPM code.  The debug version of the code
17288 includes the debug output trace mechanism and has a larger code
17289 and data size.  Note that these values will vary depending on the
17290 efficiency of the compiler and the compiler options used during
17291 generation.
17292
17293   Previous Release (10_18_01):
17294      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
17295      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
17296
17297   Current Release:
17298      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
17299      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
17300
17301  2) Linux:
17302
17303 Improved /proc processor output (Pavel Machek) Re-added
17304 MODULE_LICENSE("GPL") to all modules.
17305
17306  3) ASL Compiler version X2030:
17307
17308 Duplicate FieldUnit names within a scope are now detected and
17309 flagged as errors.
17310
17311  4) Documentation:
17312
17313 Programmer Reference updated to reflect OSL and address space
17314 handler interface changes described above.
17315
17316 ----------------------------------------
17317 Summary of changes for this label: 10_18_01
17318
17319 ACPI CA Core Subsystem:
17320
17321 Fixed a problem with the internal object reference count mechanism
17322 that occasionally caused premature object deletion. This resolves
17323 all of the outstanding problem reports where an object is deleted
17324 in the middle of an interpreter evaluation.  Although this problem
17325 only showed up in rather obscure cases, the solution to the
17326 problem involved an adjustment of all reference counts involving
17327 objects attached to namespace nodes.
17328
17329 Fixed a problem with Field support in the interpreter where
17330 writing to an aligned field whose length is an exact multiple (2
17331 or greater) of the field access granularity would cause an attempt
17332 to write beyond the end of the field.
17333
17334 The top level AML opcode execution functions within the
17335 interpreter have been renamed with a more meaningful and
17336 consistent naming convention.  The modules exmonad.c and
17337 exdyadic.c were eliminated.  New modules are exoparg1.c,
17338 exoparg2.c, exoparg3.c, and exoparg6.c.
17339
17340 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
17341
17342 Fixed a problem where the AML debugger was causing some internal
17343 objects to not be deleted during subsystem termination.
17344
17345 Fixed a problem with the external AcpiEvaluateObject interface
17346 where the subsystem would fault if the named object to be
17347 evaluated referred to a constant such as Zero, Ones, etc.
17348
17349 Fixed a problem with IndexFields and BankFields where the
17350 subsystem would fault if the index, data, or bank registers were
17351 not defined in the same scope as the field itself.
17352
17353 Added printf format string checking for compilers that support
17354 this feature.  Corrected more than 50 instances of issues with
17355 format specifiers within invocations of ACPI_DEBUG_PRINT
17356 throughout the core subsystem code.
17357
17358 The ASL "Revision" operator now returns the ACPI support level
17359 implemented in the core - the value "2" since the ACPI 2.0 support
17360 is more than 50% implemented.
17361
17362 Enhanced the output of the AML debugger "dump namespace" command
17363 to output in a more human-readable form.
17364
17365 Current core subsystem library code sizes are shown below.  These
17366
17367 are the code and data sizes for the acpica.lib produced by the
17368 Microsoft Visual C++ 6.0 compiler, and these values do not include
17369 any ACPI driver or OSPM code.  The debug version of the code
17370 includes the full debug trace mechanism -- leading to a much
17371
17372 larger code and data size.  Note that these values will vary
17373 depending on the efficiency of the compiler and the compiler
17374 options used during generation.
17375
17376      Previous Label (09_20_01):
17377      Non-Debug Version:    65K Code,     5K Data,     70K Total
17378      Debug Version:       138K Code,    58K Data,    196K Total
17379
17380      This Label:
17381
17382      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
17383      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
17384
17385 Linux:
17386
17387 Implemented a "Bad BIOS Blacklist" to track machines that have
17388 known ASL/AML problems.
17389
17390 Enhanced the /proc interface for the thermal zone driver and added
17391 support for _HOT (the critical suspend trip point).  The 'info'
17392 file now includes threshold/policy information, and allows setting
17393 of _SCP (cooling preference) and _TZP (polling frequency) values
17394 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
17395 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
17396 preference to the passive/quiet mode (if supported by the ASL).
17397
17398 Implemented a workaround for a gcc bug that resuted in an OOPs
17399 when loading the control method battery driver.
17400
17401  ----------------------------------------
17402 Summary of changes for this label: 09_20_01
17403
17404  ACPI CA Core Subsystem:
17405
17406 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
17407 modified to allow individual GPE levels to be flagged as wake-
17408 enabled (i.e., these GPEs are to remain enabled when the platform
17409 sleeps.)
17410
17411 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
17412 support wake-enabled GPEs.  This means that upon entering the
17413 sleep state, all GPEs that are not wake-enabled are disabled.
17414 When leaving the sleep state, these GPEs are re-enabled.
17415
17416 A local double-precision divide/modulo module has been added to
17417 enhance portability to OS kernels where a 64-bit math library is
17418 not available.  The new module is "utmath.c".
17419
17420 Several optimizations have been made to reduce the use of CPU
17421 stack.  Originally over 2K, the maximum stack usage is now below
17422 2K at 1860  bytes (1.82k)
17423
17424 Fixed a problem with the AcpiGetFirmwareTable interface where the
17425 root table pointer was not mapped into a logical address properly.
17426
17427 Fixed a problem where a NULL pointer was being dereferenced in the
17428 interpreter code for the ASL Notify operator.
17429
17430 Fixed a problem where the use of the ASL Revision operator
17431 returned an error. This operator now returns the current version
17432 of the ACPI CA core subsystem.
17433
17434 Fixed a problem where objects passed as control method parameters
17435 to AcpiEvaluateObject were always deleted at method termination.
17436 However, these objects may end up being stored into the namespace
17437 by the called method.  The object reference count mechanism was
17438 applied to these objects instead of a force delete.
17439
17440 Fixed a problem where static strings or buffers (contained in the
17441 AML code) that are declared as package elements within the ASL
17442 code could cause a fault because the interpreter would attempt to
17443 delete them.  These objects are now marked with the "static
17444 object" flag to prevent any attempt to delete them.
17445
17446 Implemented an interpreter optimization to use operands directly
17447 from the state object instead of extracting the operands to local
17448 variables.  This reduces stack use and code size, and improves
17449 performance.
17450
17451 The module exxface.c was eliminated as it was an unnecessary extra
17452 layer of code.
17453
17454 Current core subsystem library code sizes are shown below.  These
17455 are the code and data sizes for the acpica.lib produced by the
17456 Microsoft Visual C++ 6.0 compiler, and these values do not include
17457 any ACPI driver or OSPM code.  The debug version of the code
17458 includes the full debug trace mechanism -- leading to a much
17459 larger code and data size.  Note that these values will vary
17460 depending on the efficiency of the compiler and the compiler
17461 options used during generation.
17462
17463   Non-Debug Version:  65K Code,   5K Data,   70K Total
17464 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
17465 Total  (Previously 195K)
17466
17467 Linux:
17468
17469 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
17470 Integer objects are now 64 bits wide
17471
17472 All Acpi data types and structures are now in lower case.  Only
17473 Acpi macros are upper case for differentiation.
17474
17475  Documentation:
17476
17477 Changes to the external interfaces as described above.
17478
17479  ----------------------------------------
17480 Summary of changes for this label: 08_31_01
17481
17482  ACPI CA Core Subsystem:
17483
17484 A bug with interpreter implementation of the ASL Divide operator
17485 was found and fixed.  The implicit function return value (not the
17486 explicit store operands) was returning the remainder instead of
17487 the quotient.  This was a longstanding bug and it fixes several
17488 known outstanding issues on various platforms.
17489
17490 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
17491 been further optimized for size.  There are 700 invocations of the
17492 DEBUG_PRINT macro alone, so each optimization reduces the size of
17493 the debug version of the subsystem significantly.
17494
17495 A stack trace mechanism has been implemented.  The maximum stack
17496 usage is about 2K on 32-bit platforms.  The debugger command "stat
17497 stack" will display the current maximum stack usage.
17498
17499 All public symbols and global variables within the subsystem are
17500 now prefixed with the string "Acpi".  This keeps all of the
17501 symbols grouped together in a kernel map, and avoids conflicts
17502 with other kernel subsystems.
17503
17504 Most of the internal fixed lookup tables have been moved into the
17505 code segment via the const operator.
17506
17507 Several enhancements have been made to the interpreter to both
17508 reduce the code size and improve performance.
17509
17510 Current core subsystem library code sizes are shown below.  These
17511 are the code and data sizes for the acpica.lib produced by the
17512 Microsoft Visual C++ 6.0 compiler, and these values do not include
17513 any ACPI driver or OSPM code.  The debug version of the code
17514 includes the full debug trace mechanism which contains over 700
17515 invocations of the DEBUG_PRINT macro, 500 function entry macro
17516 invocations, and over 900 function exit macro invocations --
17517 leading to a much larger code and data size.  Note that these
17518 values will vary depending on the efficiency of the compiler and
17519 the compiler options used during generation.
17520
17521         Non-Debug Version:  64K Code,   5K Data,   69K Total
17522 Debug Version:     137K Code,  58K Data,  195K Total
17523
17524  Linux:
17525
17526 Implemented wbinvd() macro, pending a kernel-wide definition.
17527
17528 Fixed /proc/acpi/event to handle poll() and short reads.
17529
17530  ASL Compiler, version X2026:
17531
17532 Fixed a problem introduced in the previous label where the AML
17533
17534 code emitted for package objects produced packages with zero
17535 length.
17536
17537  ----------------------------------------
17538 Summary of changes for this label: 08_16_01
17539
17540 ACPI CA Core Subsystem:
17541
17542 The following ACPI 2.0 ASL operators have been implemented in the
17543 AML interpreter (These are already supported by the Intel ASL
17544 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
17545 ToBuffer.  Support for 64-bit AML constants is implemented in the
17546 AML parser, debugger, and disassembler.
17547
17548 The internal memory tracking mechanism (leak detection code) has
17549 been upgraded to reduce the memory overhead (a separate tracking
17550 block is no longer allocated for each memory allocation), and now
17551 supports all of the internal object caches.
17552
17553 The data structures and code for the internal object caches have
17554 been coelesced and optimized so that there is a single cache and
17555 memory list data structure and a single group of functions that
17556 implement generic cache management.  This has reduced the code
17557 size in both the debug and release versions of the subsystem.
17558
17559 The DEBUG_PRINT macro(s) have been optimized for size and replaced
17560 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
17561 different, because it generates a single call to an internal
17562 function.  This results in a savings of about 90 bytes per
17563 invocation, resulting in an overall code and data savings of about
17564 16% in the debug version of the subsystem.
17565
17566  Linux:
17567
17568 Fixed C3 disk corruption problems and re-enabled C3 on supporting
17569 machines.
17570
17571 Integrated low-level sleep code by Patrick Mochel.
17572
17573 Further tweaked source code Linuxization.
17574
17575 Other minor fixes.
17576
17577  ASL Compiler:
17578
17579 Support for ACPI 2.0 variable length packages is fixed/completed.
17580
17581 Fixed a problem where the optional length parameter for the ACPI
17582 2.0 ToString operator.
17583
17584 Fixed multiple extraneous error messages when a syntax error is
17585 detected within the declaration line of a control method.
17586
17587  ----------------------------------------
17588 Summary of changes for this label: 07_17_01
17589
17590 ACPI CA Core Subsystem:
17591
17592 Added a new interface named AcpiGetFirmwareTable to obtain any
17593 ACPI table via the ACPI signature.  The interface can be called at
17594 any time during kernel initialization, even before the kernel
17595 virtual memory manager is initialized and paging is enabled.  This
17596 allows kernel subsystems to obtain ACPI tables very early, even
17597 before the ACPI CA subsystem is initialized.
17598
17599 Fixed a problem where Fields defined with the AnyAcc attribute
17600 could be resolved to the incorrect address under the following
17601 conditions: 1) the field width is larger than 8 bits and 2) the
17602 parent operation region is not defined on a DWORD boundary.
17603
17604 Fixed a problem where the interpreter is not being locked during
17605 namespace initialization (during execution of the _INI control
17606 methods), causing an error when an attempt is made to release it
17607 later.
17608
17609 ACPI 2.0 support in the AML Interpreter has begun and will be
17610 ongoing throughout the rest of this year.  In this label, The Mod
17611 operator is implemented.
17612
17613 Added a new data type to contain full PCI addresses named
17614 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
17615 and Function values.
17616
17617  Linux:
17618
17619 Enhanced the Linux version of the source code to change most
17620 capitalized ACPI type names to lowercase. For example, all
17621 instances of ACPI_STATUS are changed to acpi_status.  This will
17622 result in a large diff, but the change is strictly cosmetic and
17623 aligns the CA code closer to the Linux coding standard.
17624
17625 OSL Interfaces:
17626
17627 The interfaces to the PCI configuration space have been changed to
17628 add the PCI Segment number and to split the single 32-bit combined
17629 DeviceFunction field into two 16-bit fields.  This was
17630 accomplished by moving the four values that define an address in
17631 PCI configuration space (segment, bus, device, and function) to
17632 the new ACPI_PCI_ID structure.
17633
17634 The changes to the PCI configuration space interfaces led to a
17635 reexamination of the complete set of address space access
17636 interfaces for PCI, I/O, and Memory.  The previously existing 18
17637 interfaces have proven difficult to maintain (any small change
17638 must be propagated across at least 6 interfaces) and do not easily
17639 allow for future expansion to 64 bits if necessary.  Also, on some
17640 systems, it would not be appropriate to demultiplex the access
17641 width (8, 16, 32,or 64) before calling the OSL if the
17642 corresponding native OS interfaces contain a similar access width
17643 parameter.  For these reasons, the 18 address space interfaces
17644 have been replaced by these 6 new ones:
17645
17646 AcpiOsReadPciConfiguration
17647 AcpiOsWritePciConfiguration
17648 AcpiOsReadMemory
17649 AcpiOsWriteMemory
17650 AcpiOsReadPort
17651 AcpiOsWritePort
17652
17653 Added a new interface named AcpiOsGetRootPointer to allow the OSL
17654 to perform the platform and/or OS-specific actions necessary to
17655 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
17656 interface will simply call down to the CA core to perform the low-
17657 memory search for the table.  On IA-64, the RSDP is obtained from
17658 EFI.  Migrating this interface to the OSL allows the CA core to
17659
17660 remain OS and platform independent.
17661
17662 Added a new interface named AcpiOsSignal to provide a generic
17663 "function code and pointer" interface for various miscellaneous
17664 signals and notifications that must be made to the host OS.   The
17665 first such signals are intended to support the ASL Fatal and
17666 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
17667 interface has been obsoleted.
17668
17669 The definition of the AcpiFormatException interface has been
17670 changed to simplify its use.  The caller no longer must supply a
17671 buffer to the call; A pointer to a const string is now returned
17672 directly.  This allows the call to be easily used in printf
17673 statements, etc. since the caller does not have to manage a local
17674 buffer.
17675
17676
17677  ASL Compiler, Version X2025:
17678
17679 The ACPI 2.0 Switch/Case/Default operators have been implemented
17680 and are fully functional.  They will work with all ACPI 1.0
17681 interpreters, since the operators are simply translated to If/Else
17682 pairs.
17683
17684 The ACPI 2.0 ElseIf operator is implemented and will also work
17685 with 1.0 interpreters, for the same reason.
17686
17687 Implemented support for ACPI 2.0 variable-length packages.  These
17688 packages have a separate opcode, and their size is determined by
17689 the interpreter at run-time.
17690
17691 Documentation The ACPI CA Programmer Reference has been updated to
17692 reflect the new interfaces and changes to existing interfaces.
17693
17694  ------------------------------------------
17695 Summary of changes for this label: 06_15_01
17696
17697  ACPI CA Core Subsystem:
17698
17699 Fixed a problem where a DWORD-accessed field within a Buffer
17700 object would get its byte address inadvertently rounded down to
17701 the nearest DWORD.  Buffers are always Byte-accessible.
17702
17703  ASL Compiler, version X2024:
17704
17705 Fixed a problem where the Switch() operator would either fault or
17706 hang the compiler.  Note however, that the AML code for this ACPI
17707 2.0 operator is not yet implemented.
17708
17709 Compiler uses the new AcpiOsGetTimer interface to obtain compile
17710 timings.
17711
17712 Implementation of the CreateField operator automatically converts
17713 a reference to a named field within a resource descriptor from a
17714 byte offset to a bit offset if required.
17715
17716 Added some missing named fields from the resource descriptor
17717 support. These are the names that are automatically created by the
17718 compiler to reference fields within a descriptor.  They are only
17719 valid at compile time and are not passed through to the AML
17720 interpreter.
17721
17722 Resource descriptor named fields are now typed as Integers and
17723 subject to compile-time typechecking when used in expressions.
17724
17725  ------------------------------------------
17726 Summary of changes for this label: 05_18_01
17727
17728  ACPI CA Core Subsystem:
17729
17730 Fixed a couple of problems in the Field support code where bits
17731 from adjacent fields could be returned along with the proper field
17732 bits. Restructured the field support code to improve performance,
17733 readability and maintainability.
17734
17735 New DEBUG_PRINTP macro automatically inserts the procedure name
17736 into the output, saving hundreds of copies of procedure name
17737 strings within the source, shrinking the memory footprint of the
17738 debug version of the core subsystem.
17739
17740  Source Code Structure:
17741
17742 The source code directory tree was restructured to reflect the
17743 current organization of the component architecture.  Some files
17744 and directories have been moved and/or renamed.
17745
17746  Linux:
17747
17748 Fixed leaking kacpidpc processes.
17749
17750 Fixed queueing event data even when /proc/acpi/event is not
17751 opened.
17752
17753  ASL Compiler, version X2020:
17754
17755 Memory allocation performance enhancement - over 24X compile time
17756 improvement on large ASL files.  Parse nodes and namestring
17757 buffers are now allocated from a large internal compiler buffer.
17758
17759 The temporary .SRC file is deleted unless the "-s" option is
17760 specified
17761
17762 The "-d" debug output option now sends all output to the .DBG file
17763 instead of the console.
17764
17765 "External" second parameter is now optional
17766
17767 "ElseIf" syntax now properly allows the predicate
17768
17769 Last operand to "Load" now recognized as a Target operand
17770
17771 Debug object can now be used anywhere as a normal object.
17772
17773 ResourceTemplate now returns an object of type BUFFER
17774
17775 EISAID now returns an object of type INTEGER
17776
17777 "Index" now works with a STRING operand
17778
17779 "LoadTable" now accepts optional parameters
17780
17781 "ToString" length parameter is now optional
17782
17783 "Interrupt (ResourceType," parse error fixed.
17784
17785 "Register" with a user-defined region space parse error fixed
17786
17787 Escaped backslash at the end of a string ("\\") scan/parse error
17788 fixed
17789
17790 "Revision" is now an object of type INTEGER.
17791
17792
17793
17794 ------------------------------------------
17795 Summary of changes for this label: 05_02_01
17796
17797 Linux:
17798
17799 /proc/acpi/event now blocks properly.
17800
17801 Removed /proc/sys/acpi. You can still dump your DSDT from
17802 /proc/acpi/dsdt.
17803
17804  ACPI CA Core Subsystem:
17805
17806 Fixed a problem introduced in the previous label where some of the
17807 "small" resource descriptor types were not recognized.
17808
17809 Improved error messages for the case where an ASL Field is outside
17810 the range of the parent operation region.
17811
17812  ASL Compiler, version X2018:
17813
17814
17815 Added error detection for ASL Fields that extend beyond the length
17816 of the parent operation region (only if the length of the region
17817 is known at compile time.)  This includes fields that have a
17818 minimum access width that is smaller than the parent region, and
17819 individual field units that are partially or entirely beyond the
17820 extent of the parent.
17821
17822
17823
17824 ------------------------------------------
17825 Summary of changes for this label: 04_27_01
17826
17827  ACPI CA Core Subsystem:
17828
17829 Fixed a problem where the namespace mutex could be released at the
17830 wrong time during execution of AcpiRemoveAddressSpaceHandler.
17831
17832 Added optional thread ID output for debug traces, to simplify
17833 debugging of multiple threads.  Added context switch notification
17834 when the debug code realizes that a different thread is now
17835 executing ACPI code.
17836
17837 Some additional external data types have been prefixed with the
17838 string "ACPI_" for consistency.  This may effect existing code.
17839 The data types affected are the external callback typedefs - e.g.,
17840
17841 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
17842
17843  Linux:
17844
17845 Fixed an issue with the OSL semaphore implementation where a
17846 thread was waking up with an error from receiving a SIGCHLD
17847 signal.
17848
17849 Linux version of ACPI CA now uses the system C library for string
17850 manipulation routines instead of a local implementation.
17851
17852 Cleaned up comments and removed TBDs.
17853
17854  ASL Compiler, version X2017:
17855
17856 Enhanced error detection and reporting for all file I/O
17857 operations.
17858
17859  Documentation:
17860
17861 Programmer Reference updated to version 1.06.
17862
17863
17864
17865 ------------------------------------------
17866 Summary of changes for this label: 04_13_01
17867
17868  ACPI CA Core Subsystem:
17869
17870 Restructured support for BufferFields and RegionFields.
17871 BankFields support is now fully operational.  All known 32-bit
17872 limitations on field sizes have been removed.  Both BufferFields
17873 and (Operation) RegionFields are now supported by the same field
17874 management code.
17875
17876 Resource support now supports QWORD address and IO resources. The
17877 16/32/64 bit address structures and the Extended IRQ structure
17878 have been changed to properly handle Source Resource strings.
17879
17880 A ThreadId of -1 is now used to indicate a "mutex not acquired"
17881 condition internally and must never be returned by AcpiOsThreadId.
17882 This reserved value was changed from 0 since Unix systems allow a
17883 thread ID of 0.
17884
17885 Linux:
17886
17887 Driver code reorganized to enhance portability
17888
17889 Added a kernel configuration option to control ACPI_DEBUG
17890
17891 Fixed the EC driver to honor _GLK.
17892
17893 ASL Compiler, version X2016:
17894
17895 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
17896 address space was set to 0, not 0x7f as it should be.
17897
17898  ------------------------------------------
17899 Summary of changes for this label: 03_13_01
17900
17901  ACPI CA Core Subsystem:
17902
17903 During ACPI initialization, the _SB_._INI method is now run if
17904 present.
17905
17906 Notify handler fix - notifies are deferred until the parent method
17907 completes execution.  This fixes the "mutex already acquired"
17908 issue seen occasionally.
17909
17910 Part of the "implicit conversion" rules in ACPI 2.0 have been
17911 found to cause compatibility problems with existing ASL/AML.  The
17912 convert "result-to-target-type" implementation has been removed
17913 for stores to method Args and Locals.  Source operand conversion
17914 is still fully implemented.  Possible changes to ACPI 2.0
17915 specification pending.
17916
17917 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
17918 length.
17919
17920 Fix for compiler warnings for 64-bit compiles.
17921
17922  Linux:
17923
17924 /proc output aligned for easier parsing.
17925
17926 Release-version compile problem fixed.
17927
17928 New kernel configuration options documented in Configure.help.
17929
17930 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
17931 context" message.
17932
17933  OSPM:
17934
17935 Power resource driver integrated with bus manager.
17936
17937 Fixed kernel fault during active cooling for thermal zones.
17938
17939 Source Code:
17940
17941 The source code tree has been restructured.
17942
17943
17944
17945 ------------------------------------------
17946 Summary of changes for this label: 03_02_01
17947
17948  Linux OS Services Layer (OSL):
17949
17950 Major revision of all Linux-specific code.
17951
17952 Modularized all ACPI-specific drivers.
17953
17954 Added new thermal zone and power resource drivers.
17955
17956 Revamped /proc interface (new functionality is under /proc/acpi).
17957
17958 New kernel configuration options.
17959
17960  Linux known issues:
17961
17962 New kernel configuration options not documented in Configure.help
17963 yet.
17964
17965
17966 Module dependencies not currently implemented. If used, they
17967 should be loaded in this order: busmgr, power, ec, system,
17968 processor, battery, ac_adapter, button, thermal.
17969
17970 Modules will not load if CONFIG_MODVERSION is set.
17971
17972 IBM 600E - entering S5 may reboot instead of shutting down.
17973
17974 IBM 600E - Sleep button may generate "Invalid <NULL> context"
17975 message.
17976
17977 Some systems may fail with "execution mutex already acquired"
17978 message.
17979
17980  ACPI CA Core Subsystem:
17981
17982 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
17983 for the  deadlock detection code. Defined to return a non-zero, 32-
17984 bit thread ID for the currently executing thread.  May be a non-
17985 zero constant integer on single-thread systems.
17986
17987 Implemented deadlock detection for internal subsystem mutexes.  We
17988 may add conditional compilation for this code (debug only) later.
17989
17990 ASL/AML Mutex object semantics are now fully supported.  This
17991 includes multiple acquires/releases by owner and support for the
17992
17993 Mutex SyncLevel parameter.
17994
17995 A new "Force Release" mechanism automatically frees all ASL
17996 Mutexes that have been acquired but not released when a thread
17997 exits the interpreter.  This forces conformance to the ACPI spec
17998 ("All mutexes must be released when an invocation exits") and
17999 prevents deadlocked ASL threads.  This mechanism can be expanded
18000 (later) to monitor other resource acquisitions if OEM ASL code
18001 continues to misbehave (which it will).
18002
18003 Several new ACPI exception codes have been added for the Mutex
18004 support.
18005
18006 Recursive method calls are now allowed and supported (the ACPI
18007 spec does in fact allow recursive method calls.)  The number of
18008 recursive calls is subject to the restrictions imposed by the
18009 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
18010 parameter.
18011
18012 Implemented support for the SyncLevel parameter for control
18013 methods (ACPI 2.0 feature)
18014
18015 Fixed a deadlock problem when multiple threads attempted to use
18016 the interpreter.
18017
18018 Fixed a problem where the string length of a String package
18019 element was not always set in a package returned from
18020 AcpiEvaluateObject.
18021
18022 Fixed a problem where the length of a String package element was
18023 not always included in the length of the overall package returned
18024 from AcpiEvaluateObject.
18025
18026 Added external interfaces (Acpi*) to the ACPI debug memory
18027 manager.  This manager keeps a list of all outstanding
18028 allocations, and can therefore detect memory leaks and attempts to
18029 free memory blocks more than once. Useful for code such as the
18030 power manager, etc.  May not be appropriate for device drivers.
18031 Performance with the debug code enabled is slow.
18032
18033 The ACPI Global Lock is now an optional hardware element.
18034
18035  ASL Compiler Version X2015:
18036
18037 Integrated changes to allow the compiler to be generated on
18038 multiple platforms.
18039
18040 Linux makefile added to generate the compiler on Linux
18041
18042  Source Code:
18043
18044 All platform-specific headers have been moved to their own
18045 subdirectory, Include/Platform.
18046
18047 New source file added, Interpreter/ammutex.c
18048
18049 New header file, Include/acstruct.h
18050
18051  Documentation:
18052
18053 The programmer reference has been updated for the following new
18054 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
18055
18056  ------------------------------------------
18057 Summary of changes for this label: 02_08_01
18058
18059 Core ACPI CA Subsystem: Fixed a problem where an error was
18060 incorrectly returned if the return resource buffer was larger than
18061 the actual data (in the resource interfaces).
18062
18063 References to named objects within packages are resolved to the
18064
18065 full pathname string before packages are returned directly (via
18066 the AcpiEvaluateObject interface) or indirectly via the resource
18067 interfaces.
18068
18069 Linux OS Services Layer (OSL):
18070
18071 Improved /proc battery interface.
18072
18073
18074 Added C-state debugging output and other miscellaneous fixes.
18075
18076 ASL Compiler Version X2014:
18077
18078 All defined method arguments can now be used as local variables,
18079 including the ones that are not actually passed in as parameters.
18080 The compiler tracks initialization of the arguments and issues an
18081 exception if they are used without prior assignment (just like
18082 locals).
18083
18084 The -o option now specifies a filename prefix that is used for all
18085 output files, including the AML output file.  Otherwise, the
18086 default behavior is as follows:  1) the AML goes to the file
18087 specified in the DSDT.  2) all other output files use the input
18088 source filename as the base.
18089
18090  ------------------------------------------
18091 Summary of changes for this label: 01_25_01
18092
18093 Core ACPI CA Subsystem: Restructured the implementation of object
18094 store support within the  interpreter.  This includes support for
18095 the Store operator as well  as any ASL operators that include a
18096 target operand.
18097
18098 Partially implemented support for Implicit Result-to-Target
18099 conversion. This is when a result object is converted on the fly
18100 to the type of  an existing target object.  Completion of this
18101 support is pending  further analysis of the ACPI specification
18102 concerning this matter.
18103
18104 CPU-specific code has been removed from the subsystem (hardware
18105 directory).
18106
18107 New Power Management Timer functions added
18108
18109 Linux OS Services Layer (OSL): Moved system state transition code
18110 to the core, fixed it, and modified  Linux OSL accordingly.
18111
18112 Fixed C2 and C3 latency calculations.
18113
18114
18115 We no longer use the compilation date for the version message on
18116 initialization, but retrieve the version from AcpiGetSystemInfo().
18117
18118 Incorporated for fix Sony VAIO machines.
18119
18120 Documentation:  The Programmer Reference has been updated and
18121 reformatted.
18122
18123
18124 ASL Compiler:  Version X2013: Fixed a problem where the line
18125 numbering and error reporting could get out  of sync in the
18126 presence of multiple include files.
18127
18128  ------------------------------------------
18129 Summary of changes for this label: 01_15_01
18130
18131 Core ACPI CA Subsystem:
18132
18133 Implemented support for type conversions in the execution of the
18134 ASL  Concatenate operator (The second operand is converted to
18135 match the type  of the first operand before concatenation.)
18136
18137 Support for implicit source operand conversion is partially
18138 implemented.   The ASL source operand types Integer, Buffer, and
18139 String are freely  interchangeable for most ASL operators and are
18140 converted by the interpreter  on the fly as required.  Implicit
18141 Target operand conversion (where the  result is converted to the
18142 target type before storing) is not yet implemented.
18143
18144 Support for 32-bit and 64-bit BCD integers is implemented.
18145
18146 Problem fixed where a field read on an aligned field could cause a
18147 read  past the end of the field.
18148
18149 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
18150 does not return a value, but the caller expects one.  (The ASL
18151 compiler flags this as a warning.)
18152
18153 ASL Compiler:
18154
18155 Version X2011:
18156 1. Static typechecking of all operands is implemented. This
18157 prevents the use of invalid objects (such as using a Package where
18158 an Integer is required) at compile time instead of at interpreter
18159 run-time.
18160 2. The ASL source line is printed with ALL errors and warnings.
18161 3. Bug fix for source EOF without final linefeed.
18162 4. Debug option is split into a parse trace and a namespace trace.
18163 5. Namespace output option (-n) includes initial values for
18164 integers and strings.
18165 6. Parse-only option added for quick syntax checking.
18166 7. Compiler checks for duplicate ACPI name declarations
18167
18168 Version X2012:
18169 1. Relaxed typechecking to allow interchangeability between
18170 strings, integers, and buffers.  These types are now converted by
18171 the interpreter at runtime.
18172 2. Compiler reports time taken by each internal subsystem in the
18173 debug         output file.
18174
18175
18176  ------------------------------------------
18177 Summary of changes for this label: 12_14_00
18178
18179 ASL Compiler:
18180
18181 This is the first official release of the compiler. Since the
18182 compiler requires elements of the Core Subsystem, this label
18183 synchronizes everything.
18184
18185 ------------------------------------------
18186 Summary of changes for this label: 12_08_00
18187
18188
18189 Fixed a problem where named references within the ASL definition
18190 of both OperationRegions and CreateXXXFields did not work
18191 properly.  The symptom was an AE_AML_OPERAND_TYPE during
18192 initialization of the region/field. This is similar (but not
18193 related internally) to the problem that was fixed in the last
18194 label.
18195
18196 Implemented both 32-bit and 64-bit support for the BCD ASL
18197 functions ToBCD and FromBCD.
18198
18199 Updated all legal headers to include "2000" in the copyright
18200 years.
18201
18202  ------------------------------------------
18203 Summary of changes for this label: 12_01_00
18204
18205 Fixed a problem where method invocations within the ASL definition
18206 of both OperationRegions and CreateXXXFields did not work
18207 properly.  The symptom was an AE_AML_OPERAND_TYPE during
18208 initialization of the region/field:
18209
18210   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
18211 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
18212 (0x3005)
18213
18214 Fixed a problem where operators with more than one nested
18215 subexpression would fail.  The symptoms were varied, by mostly
18216 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
18217 problem that has gone unnoticed until now.
18218
18219   Subtract (Add (1,2), Multiply (3,4))
18220
18221 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
18222 previous build (The prefix part of a relative path was handled
18223 incorrectly).
18224
18225 Fixed a problem where Operation Region initialization failed if
18226 the operation region name was a "namepath" instead of a simple
18227 "nameseg". Symptom was an AE_NO_OPERAND error.
18228
18229 Fixed a problem where an assignment to a local variable via the
18230 indirect RefOf mechanism only worked for the first such
18231 assignment.  Subsequent assignments were ignored.
18232
18233  ------------------------------------------
18234 Summary of changes for this label: 11_15_00
18235
18236 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
18237 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
18238 the AML  interpreter does NOT have support for the new 2.0 ASL
18239 grammar terms at this time.
18240
18241 All ACPI hardware access is via the GAS structures in the ACPI 2.0
18242 FADT.
18243
18244 All physical memory addresses across all platforms are now 64 bits
18245 wide. Logical address width remains dependent on the platform
18246 (i.e., "void *").
18247
18248 AcpiOsMapMemory interface changed to a 64-bit physical address.
18249
18250 The AML interpreter integer size is now 64 bits, as per the ACPI
18251 2.0 specification.
18252
18253 For backwards compatibility with ACPI 1.0, ACPI tables with a
18254 revision number less than 2 use 32-bit integers only.
18255
18256 Fixed a problem where the evaluation of OpRegion operands did not
18257 always resolve them to numbers properly.
18258
18259 ------------------------------------------
18260 Summary of changes for this label: 10_20_00
18261
18262 Fix for CBN_._STA issue.  This fix will allow correct access to
18263 CBN_ OpRegions when the _STA returns 0x8.
18264
18265 Support to convert ACPI constants (Ones, Zeros, One) to actual
18266 values before a package object is returned
18267
18268 Fix for method call as predicate to if/while construct causing
18269 incorrect if/while behavior
18270
18271 Fix for Else block package lengths sometimes calculated wrong (if
18272 block > 63 bytes)
18273
18274 Fix for Processor object length field, was always zero
18275
18276 Table load abort if FACP sanity check fails
18277
18278 Fix for problem with Scope(name) if name already exists
18279
18280 Warning emitted if a named object referenced cannot be found
18281 (resolved) during method execution.
18282
18283
18284
18285
18286
18287 ------------------------------------------
18288 Summary of changes for this label: 9_29_00
18289
18290 New table initialization interfaces: AcpiInitializeSubsystem no
18291 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
18292 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
18293 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
18294 AcpiLoadTables
18295
18296 Note: These interface changes require changes to all existing OSDs
18297
18298 The PCI_Config default address space handler is always installed
18299 at the root namespace object.
18300
18301 -------------------------------------------
18302 Summary of changes for this label: 09_15_00
18303
18304 The new initialization architecture is implemented.  New
18305 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
18306 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
18307
18308 (Namespace is automatically loaded when a table is loaded)
18309
18310 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
18311 52 bytes to 32 bytes.  There is usually one of these for every
18312 namespace object, so the memory savings is significant.
18313
18314 Implemented just-in-time evaluation of the CreateField operators.
18315
18316 Bug fixes for IA-64 support have been integrated.
18317
18318 Additional code review comments have been implemented
18319
18320 The so-called "third pass parse" has been replaced by a final walk
18321 through the namespace to initialize all operation regions (address
18322 spaces) and fields that have not yet been initialized during the
18323 execution of the various _INI and REG methods.
18324
18325 New file - namespace/nsinit.c
18326
18327 -------------------------------------------
18328 Summary of changes for this label: 09_01_00
18329
18330 Namespace manager data structures have been reworked to change the
18331 primary  object from a table to a single object.  This has
18332 resulted in dynamic memory  savings of 3X within the namespace and
18333 2X overall in the ACPI CA subsystem.
18334
18335 Fixed problem where the call to AcpiEvFindPciRootBuses was
18336 inadvertently left  commented out.
18337
18338 Reduced the warning count when generating the source with the GCC
18339 compiler.
18340
18341 Revision numbers added to each module header showing the
18342 SourceSafe version of the file.  Please refer to this version
18343 number when giving us feedback or comments on individual modules.
18344
18345 The main object types within the subsystem have been renamed to
18346 clarify their  purpose:
18347
18348 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
18349 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
18350 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
18351
18352 NOTE: no changes to the initialization sequence are included in
18353 this label.
18354
18355 -------------------------------------------
18356 Summary of changes for this label: 08_23_00
18357
18358 Fixed problem where TerminateControlMethod was being called
18359 multiple times per  method
18360
18361 Fixed debugger problem where single stepping caused a semaphore to
18362 be  oversignalled
18363
18364 Improved performance through additional parse object caching -
18365 added  ACPI_EXTENDED_OP type
18366
18367 -------------------------------------------
18368 Summary of changes for this label: 08_10_00
18369
18370 Parser/Interpreter integration:  Eliminated the creation of
18371 complete parse trees  for ACPI tables and control methods.
18372 Instead, parse subtrees are created and  then deleted as soon as
18373 they are processed (Either entered into the namespace or  executed
18374 by the interpreter).  This reduces the use of dynamic kernel
18375 memory  significantly. (about 10X)
18376
18377 Exception codes broken into classes and renumbered.  Be sure to
18378 recompile all  code that includes acexcep.h.  Hopefully we won't
18379 have to renumber the codes  again now that they are split into
18380 classes (environment, programmer, AML code,  ACPI table, and
18381 internal).
18382
18383 Fixed some additional alignment issues in the Resource Manager
18384 subcomponent
18385
18386 Implemented semaphore tracking in the AcpiExec utility, and fixed
18387 several places  where mutexes/semaphores were being unlocked
18388 without a corresponding lock  operation.  There are no known
18389 semaphore or mutex "leaks" at this time.
18390
18391 Fixed the case where an ASL Return operator is used to return an
18392 unnamed  package.
18393
18394 -------------------------------------------
18395 Summary of changes for this label: 07_28_00
18396
18397 Fixed a problem with the way addresses were calculated in
18398 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
18399 manifested itself when a Field was  created with WordAccess or
18400 DwordAccess, but the field unit defined within the  Field was less
18401
18402 than a Word or Dword.
18403
18404 Fixed a problem in AmlDumpOperands() module's loop to pull
18405 operands off of the  operand stack to display information. The
18406 problem manifested itself as a TLB  error on 64-bit systems when
18407 accessing an operand stack with two or more  operands.
18408
18409 Fixed a problem with the PCI configuration space handlers where
18410 context was  getting confused between accesses. This required a
18411 change to the generic address  space handler and address space
18412 setup definitions. Handlers now get both a  global handler context
18413 (this is the one passed in by the user when executing
18414 AcpiInstallAddressSpaceHandler() and a specific region context
18415 that is unique to  each region (For example, the _ADR, _SEG and
18416 _BBN values associated with a  specific region). The generic
18417 function definitions have changed to the  following:
18418
18419 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
18420 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
18421 *HandlerContext, // This used to be void *Context void
18422 *RegionContext); // This is an additional parameter
18423
18424 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
18425 RegionHandle, UINT32 Function, void *HandlerContext,  void
18426 **RegionContext); // This used to be **ReturnContext
18427
18428 -------------------------------------------
18429 Summary of changes for this label: 07_21_00
18430
18431 Major file consolidation and rename.  All files within the
18432 interpreter have been  renamed as well as most header files.  This
18433 was done to prevent collisions with  existing files in the host
18434 OSs -- filenames such as "config.h" and "global.h"  seem to be
18435 quite common.  The VC project files have been updated.  All
18436 makefiles  will require modification.
18437
18438 The parser/interpreter integration continues in Phase 5 with the
18439 implementation  of a complete 2-pass parse (the AML is parsed
18440 twice) for each table;  This  avoids the construction of a huge
18441 parse tree and therefore reduces the amount of  dynamic memory
18442 required by the subsystem.  Greater use of the parse object cache
18443 means that performance is unaffected.
18444
18445 Many comments from the two code reviews have been rolled in.
18446
18447 The 64-bit alignment support is complete.
18448
18449 -------------------------------------------
18450 Summary of changes for this label: 06_30_00
18451
18452 With a nod and a tip of the hat to the technology of yesteryear,
18453 we've added  support in the source code for 80 column output
18454 devices.  The code is now mostly  constrained to 80 columns or
18455 less to support environments and editors that 1)  cannot display
18456 or print more than 80 characters on a single line, and 2) cannot
18457 disable line wrapping.
18458
18459 A major restructuring of the namespace data structure has been
18460 completed.  The  result is 1) cleaner and more
18461 understandable/maintainable code, and 2) a  significant reduction
18462 in the dynamic memory requirement for each named ACPI  object
18463 (almost half).
18464
18465 -------------------------------------------
18466 Summary of changes for this label: 06_23_00
18467
18468 Linux support has been added.  In order to obtain approval to get
18469 the ACPI CA  subsystem into the Linux kernel, we've had to make
18470 quite a few changes to the  base subsystem that will affect all
18471 users (all the changes are generic and OS- independent).  The
18472 effects of these global changes have been somewhat far  reaching.
18473 Files have been merged and/or renamed and interfaces have been
18474 renamed.   The major changes are described below.
18475
18476 Osd* interfaces renamed to AcpiOs* to eliminate namespace
18477 pollution/confusion  within our target kernels.  All OSD
18478 interfaces must be modified to match the new  naming convention.
18479
18480 Files merged across the subsystem.  A number of the smaller source
18481 and header  files have been merged to reduce the file count and
18482 increase the density of the  existing files.  There are too many
18483 to list here.  In general, makefiles that  call out individual
18484 files will require rebuilding.
18485
18486 Interpreter files renamed.  All interpreter files now have the
18487 prefix am*  instead of ie* and is*.
18488
18489 Header files renamed:  The acapi.h file is now acpixf.h.  The
18490 acpiosd.h file is  now acpiosxf.h.  We are removing references to
18491 the acronym "API" since it is  somewhat windowsy. The new name is
18492 "external interface" or xface or xf in the  filenames.j
18493
18494
18495 All manifest constants have been forced to upper case (some were
18496 mixed case.)   Also, the string "ACPI_" has been prepended to many
18497 (not all) of the constants,  typedefs, and structs.
18498
18499 The globals "DebugLevel" and "DebugLayer" have been renamed
18500 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
18501
18502 All other globals within the subsystem are now prefixed with
18503 "AcpiGbl_" Internal procedures within the subsystem are now
18504 prefixed with "Acpi" (with only  a few exceptions).  The original
18505 two-letter abbreviation for the subcomponent  remains after "Acpi"
18506 - for example, CmCallocate became AcpiCmCallocate.
18507
18508 Added a source code translation/conversion utility.  Used to
18509 generate the Linux  source code, it can be modified to generate
18510 other types of source as well. Can  also be used to cleanup
18511 existing source by removing extraneous spaces and blank  lines.
18512 Found in tools/acpisrc/*
18513
18514 OsdUnMapMemory was renamed to OsdUnmapMemory and then
18515 AcpiOsUnmapMemory.  (UnMap  became Unmap).
18516
18517 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
18518 When set to  one, this indicates that the caller wants to use the
18519
18520 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
18521 both types.  However, implementers of this  call may want to use
18522 different OS primitives depending on the type of semaphore
18523 requested.  For example, some operating systems provide separate
18524
18525 "mutex" and  "semaphore" interfaces - where the mutex interface is
18526 much faster because it  doesn't have all the overhead of a full
18527 semaphore implementation.
18528
18529 Fixed a deadlock problem where a method that accesses the PCI
18530 address space can  block forever if it is the first access to the
18531 space.
18532
18533 -------------------------------------------
18534 Summary of changes for this label: 06_02_00
18535
18536 Support for environments that cannot handle unaligned data
18537 accesses (e.g.  firmware and OS environments devoid of alignment
18538 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
18539 been added (via configurable macros) in  these three areas: -
18540 Transfer of data from the raw AML byte stream is done via byte
18541 moves instead of    word/dword/qword moves. - External objects are
18542 aligned within the user buffer, including package   elements (sub-
18543 objects). - Conversion of name strings to UINT32 Acpi Names is now
18544 done byte-wise.
18545
18546 The Store operator was modified to mimic Microsoft's
18547 implementation when storing  to a Buffer Field.
18548
18549 Added a check of the BM_STS bit before entering C3.
18550
18551 The methods subdirectory has been obsoleted and removed.  A new
18552 file, cmeval.c  subsumes the functionality.
18553
18554 A 16-bit (DOS) version of AcpiExec has been developed.  The
18555 makefile is under  the acpiexec directory.