]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/dev/acpica/changes.txt
Merge ACPICA 20170929.
[FreeBSD/FreeBSD.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 29 September 2017. Summary of changes for version 20170929:
3
4
5 1) ACPICA kernel-resident subsystem:
6
7 Redesigned and implemented an improved ASL While() loop timeout 
8 mechanism. This mechanism is used to prevent infinite loops in the kernel 
9 AML interpreter caused by either non-responsive hardware or incorrect AML 
10 code. The new implementation uses AcpiOsGetTimer instead of a simple 
11 maximum loop count, and is thus more accurate and constant across 
12 different machines. The default timeout is currently 30 seconds, but this 
13 may be adjusted later.
14
15 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to 
16 better reflect the new implementation of the loop timeout mechanism.
17
18 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support 
19 and to fix an off-by-one error. Jung-uk Kim.
20
21 Fixed an EFI build problem by updating the makefiles to for a new file 
22 that was added, utstrsuppt.c
23
24
25 2) iASL Compiler/Disassembler and Tools:
26
27 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This 
28 includes support in the table disassembler, compiler, and template 
29 generator.
30
31 iASL: Added an exception for an illegal type of recursive method 
32 invocation. If a method creates named objects, the first recursive call 
33 will fail at runtime. This change adds an error detection at compile time 
34 to catch the problem up front. Note: Marking such a method as 
35 "serialized" will not help with this problem, because the same thread can 
36 acquire the method mutex more than once. Example compiler and runtime 
37 output:
38
39     Method (MTH1)
40     {
41         Name (INT1, 1)
42         MTH1 ()
43     }
44
45     dsdt.asl     22: MTH1 ()
46     Error    6152 -  ^ Illegal recursive call to method
47                        that creates named objects (MTH1)
48
49 Previous runtime exception:
50     ACPI Error: [INT1] Namespace lookup failure,
51     AE_ALREADY_EXISTS (20170831/dswload2-465)
52
53 iASL: Updated support for External() opcodes to improve namespace 
54 management and error detection. These changes are related to issues seen 
55 with multiple-segment namespace pathnames within External declarations, 
56 such as below:
57
58     External(\_SB.PCI0.GFX0, DeviceObj)
59     External(\_SB.PCI0.GFX0.ALSI)
60
61 iASL: Implemented support for multi-line error/warning messages. This 
62 enables more detailed and helpful error messages as below, from the 
63 initial deployment for the duplicate names error:
64
65     DSDT.iiii   1692:       Device(PEG2) {
66     Error    6074 -                  ^ Name already exists in scope 
67 (PEG2)
68
69         Original name creation/declaration below:
70         DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
71
72 AcpiXtract: Added additional flexibility to support differing input hex 
73 dump formats. Specifically, hex dumps that contain partial disassembly 
74 and/or comments within the ACPI table data definition. There exist some 
75 dump utilities seen in the field that create this type of hex dump (such 
76 as Simics). For example:
77
78     DSDT @ 0xdfffd0c0 (10999 bytes)
79         Signature DSDT
80         Length 10999
81         Revision 1
82         Checksum 0xf3 (Ok)
83         OEM_ID BXPC
84         OEM_table_id BXDSDT
85         OEM_revision 1
86         Creator_id 1280593481
87         Creator_revision 537399345
88       0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
89       ...
90       2af0: 5f 4c 30 46 00 a4 01
91
92 Test suite: Miscellaneous changes/fixes:
93     More cleanup and simplification of makefiles
94     Continue compilation of test cases after a compile failure
95     Do not perform binary compare unless both files actually exist
96
97 iASL: Performed some code/module restructuring. Moved all memory 
98 allocation functions to new modules. Two new files, aslallocate.c and 
99 aslcache.c
100
101 ----------------------------------------
102 31 August 2017. Summary of changes for version 20170831:
103
104
105 1) ACPICA kernel-resident subsystem:
106
107 Implemented internal support for full 64-bit addresses that appear in all 
108 Generic Address Structure (GAS) structures. Previously, only the lower 32 
109 bits were used. Affects the use of GAS structures in the FADT and other 
110 tables, as well as the GAS structures passed to the AcpiRead and 
111 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
112
113 Added header support for the PDTT ACPI table (Processor Debug Trigger 
114 Table). Full support in the iASL Data Table Compiler and disassembler is 
115 forthcoming.
116
117
118 2) iASL Compiler/Disassembler and Tools:
119
120 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
121 Properties Topology Table) where a flag bit was specified in the wrong 
122 bit position ("Line Size Valid", bit 6).
123
124 iASL: Implemented support for Octal integer constants as defined by the 
125 ASL language grammar, per the ACPI specification. Any integer constant 
126 that starts with a zero is an octal constant. For example,
127     Store (037777, Local0) /* Octal constant */
128     Store (0x3FFF, Local0) /* Hex equivalent */
129     Store (16383,  Local0) /* Decimal equivalent */
130
131 iASL: Improved overflow detection for 64-bit string conversions during 
132 compilation of integer constants. "Overflow" in this case means a string 
133 that represents an integer that is too large to fit into a 64-bit value. 
134 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
135 the low-order 32 bits with a warning, as previously implemented. Several 
136 new exceptions are defined that indicate a 64-bit overflow, as well as 
137 the base (radix) that was used during the attempted conversion. Examples:
138     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
139     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
140     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
141
142 iASL: Added a warning for the case where a ResourceTemplate is declared 
143 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
144 this case, the resulting template is created with a single END_TAG 
145 descriptor, which is essentially useless.
146
147 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
148 include compilation error codes as well.
149
150 ----------------------------------------
151 28 July 2017. Summary of changes for version 20170728:
152
153
154 1) ACPICA kernel-resident subsystem:
155
156 Fixed a regression seen with small resource descriptors that could cause 
157 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
158
159 AML interpreter: Implemented a new feature that allows forward references 
160 from individual named references within package objects that are 
161 contained within blocks of "module-level code". This provides 
162 compatibility with other ACPI implementations and supports existing 
163 firmware that depends on this feature. Example:
164
165     Name (ABCD, 1)
166     If (ABCD)                       /* An If() at module-level */
167     {
168         Name (PKG1, Package()
169         {
170             INT1                    /* Forward reference to object INT1 
171 */
172         })
173         Name (INT1, 0x1234)
174     }
175
176 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
177 to some ASL objects were not handled properly. Objects affected are: 
178 Mutex, Event, and OperationRegion.
179
180 AML Debugger: Enhanced to properly handle AML Alias objects. These 
181 objects have one level of indirection which was not fully supported by 
182 the debugger.
183
184 Table Manager: Added support to detect and ignore duplicate SSDTs within 
185 the XSDT/RSDT. This error in the XSDT has been seen in the field.
186
187 EFI and EDK2 support:
188     Enabled /WX flag for MSVC builds
189     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
190     Added local support for 64-bit multiply and shift operations
191     Added support to compile acpidump.efi on Windows
192     Added OSL function stubs for interfaces not used under EFI
193
194 Added additional support for the _DMA predefined name. _DMA returns a 
195 buffer containing a resource template. This change add support within the 
196 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
197 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
198
199
200 2) iASL Compiler/Disassembler and Tools:
201
202 iASL: Fixed a problem where the internal input line buffer(s) could 
203 overflow if there are very long lines in the input ASL source code file. 
204 Implemented buffer management that automatically increases the size of 
205 the buffers as necessary.
206
207 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
208 errors. If the specified exception is not raised during compilation, the 
209 compiler emits an error. This is intended to support the ASL test suite, 
210 but may be useful in other contexts.
211
212 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
213 string containing the name of the current control method that is being 
214 compiled.
215
216 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
217 table (Software Delegated Exception Interface). James Morse 
218 <james.morse@arm.com>
219
220 Unix/Linux makefiles: Added an option to disable compile optimizations. 
221 The disable occurs when the NOOPT flag is set to TRUE. 
222 theracermaster@gmail.com
223
224 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
225 when there are different tables for 32-bit versus 64-bit.
226
227 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
228 unnecessary/verbose text, and emit the actual line number where an error 
229 has occurred. These changes are intended to improve the usefulness of the 
230 test suite.
231
232 ----------------------------------------
233 29 June 2017. Summary of changes for version 20170629:
234
235
236 1) ACPICA kernel-resident subsystem:
237
238 Tables: Implemented a deferred ACPI table verification. This is useful 
239 for operating systems where the tables cannot be verified in the early 
240 initialization stage due to early memory mapping limitations on some 
241 architectures. Lv Zheng.
242
243 Tables: Removed the signature validation for dynamically loaded tables. 
244 Provides compatibility with other ACPI implementations. Previously, only 
245 SSDT tables were allowed, as per the ACPI specification. Now, any table 
246 signature can be used via the Load() operator. Lv Zheng.
247
248 Tables: Fixed several mutex issues that could cause errors during table 
249 acquisition. Lv Zheng.
250
251 Tables: Fixed a problem where an ACPI warning could be generated if a 
252 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
253
254 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
255 AcpiPutTable interfaces. This applies to the "late stage" table loading 
256 when the use of AcpiPutTable is no longer required (since the system 
257 memory manager is fully running and available). Lv Zheng.
258
259 Fixed/Reverted a regression during processing of resource descriptors 
260 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
261 exception in this case.
262
263 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
264 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
265
266 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
267 or duplicate target is encountered during Alias creation in 
268 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
269
270 Added an option to use designated initializers for function pointers. 
271 Kees Cook <keescook@google.com>
272
273
274 2) iASL Compiler/Disassembler and Tools:
275
276 iASL: Allow compilation of External declarations with target pathnames 
277 that refer to existing named objects within the table. Erik Schmauss.
278
279 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
280 FieldUnit name also is declared via External in the same table. Erik 
281 Schmauss.
282
283 iASL: Allow existing scope names within pathnames used in External 
284 statements. For example:
285     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
286     Device (ABCD)
287
288 iASL: IORT ACPI table: Implemented changes required to decode the new 
289 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
290 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
291
292 Disassembler: Don't abort disassembly on errors from External() 
293 statements. Erik Schmauss.
294
295 Disassembler: fixed a possible fault when one of the Create*Field 
296 operators references a Resource Template. ACPICA Bugzilla 1396.
297
298 iASL: In the source code, resolved some naming inconsistences across the 
299 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
300 Adds a new file, aslparseop.c
301
302 ----------------------------------------
303 31 May 2017. Summary of changes for version 20170531:
304
305
306 0) ACPI 6.2 support:
307
308 The ACPI specification version 6.2 has been released and is available at
309 http://uefi.org/specifications
310
311 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
312 are summarized below.
313
314 New ACPI tables (Table Compiler/Disassembler/Templates):
315     HMAT (Heterogeneous Memory Attributes Table)
316     WSMT (Windows SMM Security Mitigation Table)
317     PPTT (Processor Properties Topology Table)
318
319 New subtables for existing ACPI tables:
320     HEST (New subtable, Arch-deferred machine check)
321     SRAT (New subtable, Arch-specific affinity structure)
322     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
323
324 Simple updates for existing ACPI tables:
325     BGRT (two new flag bits)
326     HEST (New bit defined for several subtables, GHES_ASSIST)
327
328 New Resource Descriptors and Resource macros (Compiler/Disassembler):
329     PinConfig()
330     PinFunction()
331     PinGroup()
332     PinGroupConfig()
333     PinGroupFunction()
334     New type for hardware error notification (section 18.3.2.9)
335
336 New predefined names/methods (Compiler/Interpreter):
337     _HMA (Heterogeneous Memory Attributes)
338     _LSI (Label Storage Information)
339     _LSR (Label Storage Read)
340     _LSW (Label Storage Write)
341
342 ASL grammar/macro changes (Compiler):
343     For() ASL macro, implemented with the AML while operator
344     Extensions to Concatenate operator
345     Support for multiple definition blocks in same ASL file
346     Clarification for Buffer operator
347     Allow executable AML code underneath all scopes (Devices, etc.)
348     Clarification/change for the _OSI return value
349     ASL grammar update for reference operators
350     Allow a zero-length string for AML filename in DefinitionBlock
351
352 Miscellaneous:
353     New device object notification value
354     Remove a notify value (0x0C) for graceful shutdown
355     New UUIDs for processor/cache properties and
356         physical package property
357     New _HID, ACPI0014 (Wireless Power Calibration Device)
358
359
360 1) ACPICA kernel-resident subsystem:
361
362 Added support to disable ACPI events on hardware-reduced platforms. 
363 Eliminates error messages of the form "Could not enable fixed event". Lv 
364 Zheng
365
366 Fixed a problem using Device/Thermal objects with the ObjectType and 
367 DerefOf ASL operators. This support had not been fully/properly 
368 implemented.
369
370 Fixed a problem where if a Buffer object containing a resource template 
371 was longer than the actual resource template, an error was generated -- 
372 even though the AML is legal. This case has been seen in the field.
373
374 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
375 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
376
377 Added header file changes for the TPM2 ACPI table. Update to new version 
378 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
379
380 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
381 These interfaces are intended to be used only in conjunction with the 
382 predefined _DLM method (Device Lock Method). "This object appears in a 
383 device scope when AML access to the device must be synchronized with the 
384 OS environment".
385
386 Example Code and Data Size: These are the sizes for the OS-independent 
387 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
388 debug version of the code includes the debug output trace mechanism and 
389 has a much larger code and data size.
390
391   Current Release:
392     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
393     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
394   Previous Release:
395     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
396     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
397
398
399 2) iASL Compiler/Disassembler and Tools:
400
401 iASL: Fixed a problem where an External() declaration could not refer to 
402 a Field Unit. Erik Schmauss.
403
404 Disassembler: Improved support for the Switch/Case operators. This 
405 feature will disassemble AML code back to the original Switch operators 
406 when possible, instead of an If..Else sequence. David Box
407
408 iASL and disassembler: Improved the handling of multiple extraneous 
409 parentheses for both ASL input and disassembled ASL output.
410
411 Improved the behavior of the iASL compiler and disassembler to detect 
412 improper use of external declarations
413
414 Disassembler: Now aborts immediately upon detection of an unknown AML 
415 opcode. The AML parser has no real way to recover from this, and can 
416 result in the creation of an ill-formed parse tree that causes errors 
417 later during the disassembly.
418
419 All tools: Fixed a problem where the Unix application OSL did not handle 
420 control-c correctly. For example, a control-c could incorrectly wake the 
421 debugger.
422
423 AcpiExec: Improved the Control-C handling and added a handler for 
424 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
425 environments.
426
427 Reduced the verbosity of the generic unix makefiles. Previously, each 
428 compilation displayed the full set of compiler options. This has been 
429 eliminated as the options are easily inspected within the makefiles. Each 
430 compilation now results in a single line of output.
431
432 ----------------------------------------
433 03 March 2017. Summary of changes for version 20170303:
434
435
436 0) ACPICA licensing:
437
438 The licensing information at the start of each source code module has 
439 been updated. In addition to the Intel license, the dual GPLv2/BSD 
440 license has been added for completeness. Now, a single version of the 
441 source code should be suitable for all ACPICA customers. This is the 
442 major change for this release since it affects all source code modules.
443
444
445 1) ACPICA kernel-resident subsystem: 
446
447 Fixed two issues with the common asltypes.h header that could cause 
448 problems in some environments: (Kim Jung-uk)
449     Removed typedef for YY_BUFFER_STATE ?
450        Fixes an error with earlier versions of Flex.
451     Removed use of FILE typedef (which is only defined in stdio.h)
452
453
454 2) iASL Compiler/Disassembler and Tools: 
455
456 Disassembler: fixed a regression introduced in 20170224. A fix for a 
457 memory leak related to resource descriptor tags (names) could fault when 
458 the disassembler was generated with 64-bit compilers.
459
460 The ASLTS test suite has been updated to implement a new testing 
461 architecture. During generation of the suite from ASL source, both the 
462 ASL and ASL+ compilers are now validated, as well as the disassembler 
463 itself (Erik Schmauss). The architecture executes as follows:
464
465     For every ASL source module:
466         Compile (legacy ASL compilation)
467         Disassemble the resulting AML to ASL+ source code
468         Compile the new ASL+ module
469         Perform a binary compare on the legacy AML and the new ASL+ AML
470     The ASLTS suite then executes normally using the AML binaries.
471
472 ----------------------------------------
473 24 February 2017. Summary of changes for version 20170224:
474
475
476 1) ACPICA kernel-resident subsystem:
477
478 Interpreter: Fixed two issues with the control method return value auto-
479 repair feature, where an attempt to double-delete an internal object 
480 could result in an ACPICA warning (for _CID repair and others). No fault 
481 occurs, however, because the attempted deletion (actually a release to an 
482 internal cache) is detected and ignored via object poisoning.
483
484 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
485 of control methods. If certain debugger commands are executed during 
486 stepping, a mutex aquire/release error could occur. Lv Zheng.
487
488 Fixed some issues generating ACPICA with the Intel C compiler by 
489 restoring the original behavior and compiler-specific include file in 
490 acenv.h. Lv Zheng.
491
492 Example Code and Data Size: These are the sizes for the OS-independent 
493 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
494 debug version of the code includes the debug output trace mechanism and 
495 has a much larger code and data size.
496
497   Current Release:
498     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
499     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
500   Previous Release:
501     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
502     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
503
504
505 2) iASL Compiler/Disassembler and Tools:
506
507 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
508 tool has been designed, implemented, and included in this release. The 
509 key feature of this utility is that the original comments within the 
510 input ASL file are preserved during the conversion process, and included 
511 within the converted ASL+ file -- thus creating a transparent conversion 
512 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
513
514     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
515 converted code
516
517 iASL/Disassembler: Improved the detection and correct disassembly of 
518 Switch/Case operators. This feature detects sequences of if/elseif/else 
519 operators that originated from ASL Switch/Case/Default operators and 
520 emits the original operators. David Box.
521
522 iASL: Improved the IORT ACPI table support in the following areas. Lv 
523 Zheng:
524     Clear MappingOffset if the MappingCount is zero.
525     Fix the disassembly of the SMMU GSU interrupt offset.
526     Update the template file for the IORT table.
527
528 Disassembler: Enhanced the detection and disassembly of resource 
529 template/descriptor within a Buffer object. An EndTag descriptor is now 
530 required to have a zero second byte, since all known ASL compilers emit 
531 this. This helps eliminate incorrect decisions when a buffer is 
532 disassembled (false positives on resource templates).
533
534 ----------------------------------------
535 19 January 2017. Summary of changes for version 20170119:
536
537
538 1) General ACPICA software:
539
540 Entire source code base: Added the 2017 copyright to all source code 
541 legal/licensing module headers and utility/tool signons. This includes 
542 the standard Linux dual-license header. This affects virtually every file 
543 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
544 the ACPICA test suite.
545
546
547 2) iASL Compiler/Disassembler and Tools:
548
549 iASL: Removed/fixed an inadvertent remark when a method argument 
550 containing a reference is used as a target operand within the method (and 
551 never used as a simple argument), as in the example below. Jeffrey Hugo.
552
553     dsdt.asl   1507:    Store(0x1, Arg0)
554     Remark   2146 -                ^ Method Argument is never used (Arg0)
555
556 All tools: Removed the bit width of the compiler that generated the tool 
557 from the common signon for all user space tools. This proved to be 
558 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
559 from the generic makefiles (Thomas Petazzoni). Example below.
560
561     Old:
562     ASL+ Optimizing Compiler version 20170119-32
563     ASL+ Optimizing Compiler version 20170119-64
564
565     New:
566     ASL+ Optimizing Compiler version 20170119
567
568 ----------------------------------------
569 22 December 2016. Summary of changes for version 20161222:
570
571
572 1) ACPICA kernel-resident subsystem:
573
574 AML Debugger: Implemented a new mechanism to simplify and enhance 
575 debugger integration into all environments, including kernel debuggers 
576 and user-space utilities, as well as remote debug services. This 
577 mechanism essentially consists of new OSL interfaces to support debugger 
578 initialization/termination, as well as wait/notify interfaces to perform 
579 the debugger handshake with the host. Lv Zheng.
580
581     New OSL interfaces:
582         AcpiOsInitializeDebugger (void)
583         AcpiOsTerminateDebugger (void)
584         AcpiOsWaitCommandReady (void)
585         AcpiOsNotifyCommandComplete (void)
586
587     New OS services layer:
588         osgendbg.c -- Example implementation, and used for AcpiExec
589
590 Update for Generic Address Space (GAS) support: Although the AccessWidth 
591 and/or BitOffset fields of the GAS are not often used, this change now 
592 fully supports these fields. This affects the internal support for FADT 
593 registers, registers in other ACPI data tables, and the AcpiRead and 
594 AcpiWrite public interfaces. Lv Zheng.
595
596 Sleep support: In order to simplify integration of ACPI sleep for the 
597 various host operating systems, a new OSL interface has been introduced. 
598 AcpiOsEnterSleep allows the host to perform any required operations 
599 before the final write to the sleep control register(s) is performed by 
600 ACPICA. Lv Zheng.
601
602     New OSL interface:
603         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
604
605     Called from these internal interfaces:
606         AcpiHwLegacySleep
607         AcpiHwExtendedSleep
608
609 EFI support: Added a very small EFI/ACPICA example application. Provides 
610 a simple demo for EFI integration, as well as assisting with resolution 
611 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
612
613     source/tools/efihello/efihello.c
614
615 Local C library: Implemented several new functions to enhance ACPICA 
616 portability, for environments where these clib functions are not 
617 available (such as EFI). Lv Zheng:
618     putchar
619     getchar
620     strpbrk
621     strtok
622     memmove
623
624 Fixed a regression where occasionally a valid resource descriptor was 
625 incorrectly detected as invalid at runtime, and a 
626 AE_AML_NO_RESOURCE_END_TAG was returned.
627
628 Fixed a problem with the recently implemented support that enables 
629 control method invocations as Target operands to many ASL operators. 
630 Warnings of this form: "Needed type [Reference], found [Processor]" were 
631 seen at runtime for some method invocations.
632
633 Example Code and Data Size: These are the sizes for the OS-independent 
634 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
635 debug version of the code includes the debug output trace mechanism and 
636 has a much larger code and data size.
637
638   Current Release:
639     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
640     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
641   Previous Release:
642     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
643     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
644
645
646 2) iASL Compiler/Disassembler and Tools:
647
648 Disassembler: Enhanced output by adding the capability to detect and 
649 disassemble ASL Switch/Case statements back to the original ASL source 
650 code instead of if/else blocks. David Box.
651
652 AcpiHelp: Split a large file into separate files based upon 
653 functionality/purpose. New files are:
654     ahaml.c
655     ahasl.c
656
657 ----------------------------------------
658 17 November 2016. Summary of changes for version 20161117:
659
660
661 1) ACPICA kernel-resident subsystem:
662
663 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
664 cleanup". This was an attempt to remove all references in the source to 
665 the FADT version 2, which never was a legal version number. It was 
666 skipped because it was an early version of 64-bit support that was 
667 eventually abandoned for the current 64-bit support.
668
669 Interpreter: Fixed a problem where runtime implicit conversion was 
670 incorrectly disabled for the ASL operators below. This brings the 
671 behavior into compliance with the ACPI specification:
672     FromBCD
673     ToBCD
674     ToDecimalString
675     ToHexString
676     ToInteger
677     ToBuffer
678
679 Table Manager: Added a new public interface, AcpiPutTable, used to 
680 release and free an ACPI table returned by AcpiGetTable and related 
681 interfaces. Lv Zheng.
682
683 Example Code and Data Size: These are the sizes for the OS-independent 
684 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
685 debug version of the code includes the debug output trace mechanism and 
686 has a much larger code and data size.
687
688   Current Release:
689     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
690     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
691   Previous Release:
692     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
693     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
694
695
696 2) iASL Compiler/Disassembler and Tools:
697
698 Disassembler: Fixed a regression for disassembly of Resource Template. 
699 Detection of templates in the AML stream missed some types of templates.
700
701 iASL: Fixed a problem where an Access Size error was returned for the PCC 
702 address space when the AccessSize of the GAS register is greater than a 
703 DWORD. Hoan Tran.
704
705 iASL: Implemented several grammar changes for the operators below. These 
706 changes are slated for the next version of the ACPI specification:
707     RefOf        - Disallow method invocation as an operand
708     CondRefOf    - Disallow method invocation as an operand
709     DerefOf      - Disallow operands that use the result from operators 
710 that
711                    do not return a reference (Changed TermArg to 
712 SuperName).
713
714 iASL: Control method invocations are now allowed for Target operands, as 
715 per the ACPI specification. Removed error for using a control method 
716 invocation as a Target operand.
717
718 Disassembler: Improved detection of Resource Templates, Unicode, and 
719 Strings within Buffer objects. These subtypes do not contain a specific 
720 opcode to indicate the originating ASL code, and they must be detected by 
721 other means within the disassembler. 
722
723 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
724 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
725 only after 64-bit to 32-bit truncation. A truncation warning message is 
726 still emitted, however.
727
728 AcpiXtract: Implemented handling for both types of line terminators (LF 
729 or CR/LF) so that it can accept AcpiDump output files from any system. 
730 Peter Wu.
731
732 AcpiBin: Added two new options for comparing AML files:
733     -a: compare and display ALL mismatches
734     -o: start compare at this offset into the second file
735
736 ----------------------------------------
737 30 September 2016. Summary of changes for version 20160930:
738
739
740 1) ACPICA kernel-resident subsystem:
741
742 Fixed a regression in the internal AcpiTbFindTable function where a non 
743 AE_OK exception could inadvertently be returned even if the function did 
744 not fail. This problem affects the following operators:
745     DataTableRegion
746     LoadTable
747
748 Fixed a regression in the LoadTable operator where a load to any 
749 namespace location other than the root no longer worked properly.
750
751 Increased the maximum loop count value that will result in the 
752 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
753 prevent infinite loops within the AML interpreter and thus the host OS 
754 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
755 1,048,575).
756
757 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
758 acpixf.h file. This allows hosts to easily configure the maximum loop 
759 count at runtime.
760
761 Removed an illegal character in the strtoul64.c file. This character 
762 caused errors with some C compilers.
763
764 Example Code and Data Size: These are the sizes for the OS-independent 
765 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
766 debug version of the code includes the debug output trace mechanism and 
767 has a much larger code and data size.
768
769   Current Release:
770     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
771     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
772   Previous Release:
773     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
774     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
775
776
777 2) iASL Compiler/Disassembler and Tools:
778
779 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
780 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
781 block could be lost and missing from the disassembled output.
782
783 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
784 the missing rule caused a parse error when using the Index operator as an 
785 operand to ObjectType. This construct now compiles properly. Example:
786     ObjectType(PKG1[4]).
787
788 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
789 option). Previously, unresolved symbols could cause a protection fault. 
790 Such symbols are now marked as unresolved in the map file.
791
792 iASL: Implemented support to allow control method invocations as an 
793 operand to the ASL DeRefOf operator. Example:
794     DeRefOf(MTH1(Local0))
795
796 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
797 possible _PLD buffer now includes examination of both the normal buffer 
798 length (16 or 20) as well as the surrounding AML package length.
799
800 Disassembler: Fixed a problem with the decoding of complex expressions 
801 within the Divide operator for ASL+. For the case where both the quotient 
802 and remainder targets are specified, the entire statement cannot be 
803 disassembled. Previously, the output incorrectly contained a mix of ASL- 
804 and ASL+ operators. This mixed statement causes a syntax error when 
805 compiled. Example:
806     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
807 disassembled to:
808     Divide (INT1 + 6, 128, RSLT, QUOT)
809
810 iASL/Tools: Added support to process AML and non-AML ACPI tables 
811 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
812 tables (AML and data tables). For the iASL -e option, allow only AML 
813 tables (DSDT/SSDT).
814
815 ----------------------------------------
816 31 August 2016. Summary of changes for version 20160831:
817
818
819 1) ACPICA kernel-resident subsystem:
820
821 Improve support for the so-called "module-level code", which is defined 
822 to be math, logical and control AML opcodes that appear outside of any 
823 control method. This change improves the support by adding more opcodes 
824 that can be executed in the manner. Some other issues have been solved, 
825 and the ASL grammar changes to support such code under all scope 
826 operators (Device, etc.) are complete. Lv Zheng.
827
828 UEFI support: these OSL functions have been implemented. This is an 
829 additional step toward supporting the AcpiExec utility natively (with 
830 full hardware access) under UEFI. Marcelo Ferreira.
831     AcpiOsReadPciConfiguration
832     AcpiOsWritePciConfiguration
833
834 Fixed a possible mutex error during control method auto-serialization. Lv 
835 Zheng. 
836
837 Updated support for the Generic Address Structure by fully implementing 
838 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
839 Zheng.
840
841 Updated the return value for the internal _OSI method. Instead of 
842 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
843 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
844 implementations, and will be reflected and clarified in the next version 
845 of the ACPI specification.
846
847 Implemented two new table events that can be passed to an ACPICA table 
848 handler. These events are used to indicate a table installation or 
849 uninstallation. These events are used in addition to existed table load 
850 and unload events. Lv Zheng.
851
852 Implemented a cleanup for all internal string-to-integer conversions. 
853 Consolidate multiple versions of this functionality and limit possible 
854 bases to either 10 or 16 to simplify the code. Adds a new file, 
855 utstrtoul64.
856
857 Cleanup the inclusion order of the various compiler-specific headers. 
858 This simplifies build configuration management. The compiler-specific 
859 headers are now split out from the host-specific headers. Lv Zheng.
860
861 Example Code and Data Size: These are the sizes for the OS-independent 
862 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
863 debug version of the code includes the debug output trace mechanism and 
864 has a much larger code and data size.
865
866   Current Release:
867     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
868     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
869
870
871 2) iASL Compiler/Disassembler and Tools:
872
873 iASL/AcpiExec: Added a command line option to display the build date/time 
874 of the tool (-vd). This can be useful to verify that the correct version 
875 of the tools are being used.
876
877 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
878 all predefined control methods and names within the current namespace. 
879 This can be useful for debugging problems with ACPI tables and the ACPI 
880 namespace.
881
882 ----------------------------------------
883 29 July 2016. Summary of changes for version 20160729:
884
885
886 1) ACPICA kernel-resident subsystem:
887
888 Implemented basic UEFI support for the various ACPICA tools. This 
889 includes:
890 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
891 2) Support to obtain the ACPI tables on UEFI.
892 3) Local implementation of required C library functions not available on 
893 UEFI.
894 4) A front-end (main) function for the tools for UEFI-related 
895 initialization.
896
897 The initial deployment of this support is the AcpiDump utility executing 
898 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
899 Current environments supported are Linux/Unix. MSVC generation is not 
900 supported at this time. See the generate/efi/README file for build 
901 instructions. Lv Zheng.
902
903 Future plans include porting the AcpiExec utility to execute natively on 
904 the platform with I/O and memory access. This will allow viewing/dump of 
905 the platform namespace and native execution of ACPI control methods that 
906 access the actual hardware. To fully implement this support, the OSL 
907 functions below must be implemented with UEFI interfaces. Any community 
908 help in the implementation of these functions would be appreciated:
909     AcpiOsReadPort
910     AcpiOsWritePort
911     AcpiOsReadMemory
912     AcpiOsWriteMemory
913     AcpiOsReadPciConfiguration
914     AcpiOsWritePciConfiguration
915
916 Restructured and standardized the C library configuration for ACPICA, 
917 resulting in the various configuration options below. This includes a 
918 global restructuring of the compiler-dependent and platform-dependent 
919 include files. These changes may affect the existing platform-dependent 
920 configuration files on some hosts. Lv Zheng. 
921
922 The current C library configuration options appear below. For any issues, 
923 it may be helpful to examine the existing compiler-dependent and 
924 platform-dependent files as examples. Lv Zheng. 
925
926 1) Linux kernel:
927     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
928 library.
929     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
930 2) Unix/Windows/BSD applications:
931     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
932 library.
933     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
934 3) UEFI applications:
935     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
936 library.
937     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
938 4) UEFI applications (EDK2/StdLib):
939     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
940     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
941
942
943 AML interpreter: "module-level code" support. Allows for execution of so-
944 called "executable" AML code (math/logical operations, etc.) outside of 
945 control methods not just at the module level (top level) but also within 
946 any scope declared outside of a control method - Scope{}, Device{}, 
947 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
948
949 Simplified the configuration of the "maximum AML loops" global option by 
950 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
951 modified at runtime.
952
953
954 Example Code and Data Size: These are the sizes for the OS-independent 
955 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
956 debug version of the code includes the debug output trace mechanism and 
957 has a much larger code and data size.
958
959   Current Release:
960     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
961     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
962
963
964 2) iASL Compiler/Disassembler and Tools:
965
966 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
967 Includes disassembler, data table compiler, and header support.
968
969 iASL Expand "module-level code" support. Allows for 
970 compilation/disassembly of so-called "executable" AML code (math/logical 
971 operations, etc.) outside of control methods not just at the module level 
972 (top level) but also within any scope declared outside of a control 
973 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
974 ThermalZone{}.
975
976 AcpiDump: Added support for dumping all SSDTs on newer versions of 
977 Windows. These tables are now easily available -- SSDTs are not available 
978 through the registry on older versions.
979
980 ----------------------------------------
981 27 May 2016. Summary of changes for version 20160527:
982
983
984 1) ACPICA kernel-resident subsystem:
985
986 Temporarily reverted the new arbitrary bit length/alignment support in 
987 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
988 a number of regressions with the new code that need to be fully resolved 
989 and tested before this support can be finally integrated into ACPICA. 
990 Apologies for any inconveniences these issues may have caused.
991
992 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
993 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
994 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
995
996 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
997 option. Adds a new return macro, return_STR. Junk-uk Kim.
998
999 Example Code and Data Size: These are the sizes for the OS-independent 
1000 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1001 debug version of the code includes the debug output trace mechanism and 
1002 has a much larger code and data size.
1003
1004   Current Release:
1005     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
1006     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1007   Previous Release:
1008     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1009     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
1010
1011 ----------------------------------------
1012 22 April 2016. Summary of changes for version 20160422:
1013
1014 1) ACPICA kernel-resident subsystem:
1015
1016 Fixed a regression in the GAS (generic address structure) arbitrary bit 
1017 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
1018 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
1019
1020 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
1021 was added to each of these macros, and the original name has been 
1022 deprecated. The AML disassembler will always disassemble to the new 
1023 names. Support for the new macros was added to iASL, disassembler, 
1024 resource manager, and the acpihelp utility. ACPICA BZ 1274.
1025
1026     I2cSerialBus  -> I2cSerialBusV2
1027     SpiSerialBus  -> SpiSerialBusV2
1028     UartSerialBus -> UartSerialBusV2
1029
1030 ACPI 6.0: Added support for a new integer field that was appended to the 
1031 package object returned by the _BIX method. This adds iASL compile-time 
1032 and AML runtime error checking. ACPICA BZ 1273.
1033
1034 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
1035 Subspace Type2" (Headers, Disassembler, and data table compiler).
1036
1037 Example Code and Data Size: These are the sizes for the OS-independent 
1038 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1039 debug version of the code includes the debug output trace mechanism and 
1040 has a much larger code and data size.
1041
1042   Current Release:
1043     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1044     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1045   Previous Release:
1046     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1047     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1048
1049
1050 2) iASL Compiler/Disassembler and Tools:
1051
1052 iASL: Implemented an ASL grammar extension to allow/enable executable 
1053 "module-level code" to be created and executed under the various 
1054 operators that create new scopes. This type of AML code is already 
1055 supported in all known AML interpreters, and the grammar change will 
1056 appear in the next version of the ACPI specification. Simplifies the 
1057 conditional runtime creation of named objects under these object types: 
1058
1059     Device
1060     PowerResource
1061     Processor
1062     Scope
1063     ThermalZone
1064
1065 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
1066 ease-of-use to the ASL language. The syntax is similar to the 
1067 corresponding C operator, and is implemented with the existing AML While 
1068 opcode -- thus requiring no changes to existing AML interpreters.
1069
1070     For (Initialize, Predicate, Update) {TermList}
1071
1072 Grammar:
1073     ForTerm :=
1074         For (
1075             Initializer    // Nothing | TermArg => ComputationalData
1076             Predicate      // Nothing | TermArg => ComputationalData
1077             Update         // Nothing | TermArg => ComputationalData
1078         ) {TermList}
1079
1080
1081 iASL: The _HID/_ADR detection and validation has been enhanced to search 
1082 under conditionals in order to allow these objects to be conditionally 
1083 created at runtime.
1084
1085 iASL: Fixed several issues with the constant folding feature. The 
1086 improvement allows better detection and resolution of statements that can 
1087 be folded at compile time. ACPICA BZ 1266. 
1088
1089 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
1090 conversion to the ASL ElseIf operator where incorrect ASL code could be 
1091 generated.
1092
1093 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
1094 sometimes an extra (and extraneous) set of parentheses were emitted for 
1095 some combinations of operators. Although this did not cause any problems 
1096 with recompilation of the disassembled code, it made the code more 
1097 difficult to read. David Box. ACPICA BZ 1231.
1098
1099 iASL: Changed to ignore the unreferenced detection for predefined names 
1100 of resource descriptor elements, when the resource descriptor is 
1101 created/defined within a control method.
1102
1103 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
1104 objects.
1105
1106 ----------------------------------------
1107 18 March 2016. Summary of changes for version 20160318:
1108
1109 1) ACPICA kernel-resident subsystem:
1110
1111 Added support for arbitrary bit lengths and bit offsets for registers 
1112 defined by the Generic Address Structure. Previously, only aligned bit 
1113 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
1114 but recently some machines have been seen that require arbitrary bit-
1115 level support. ACPICA BZ 1240. Lv Zheng.
1116
1117 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
1118 before any _REG methods are evaluated. Lv Zheng.
1119
1120 Implemented several changes related to ACPI table support 
1121 (Headers/Disassembler/TableCompiler):
1122 NFIT: For ACPI 6.1, updated to add some additional new fields and 
1123 constants.
1124 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
1125 6).
1126 DMAR: Added new constants per the 10/2014 DMAR spec.
1127 IORT: Added new subtable per the 10/2015 IORT spec.
1128 HEST: For ACPI 6.1, added new constants and new subtable.
1129 DBG2: Added new constants per the 12/2015 DBG2 spec.
1130 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
1131 ACPICA BZ 1249.
1132 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
1133
1134 Updated header support for the DMAR table to match the current version of 
1135 the related spec.
1136
1137 Added extensions to the ASL Concatenate operator to allow any ACPI object 
1138 to be passed as an operand. Any object other than Integer/String/Buffer 
1139 simply returns a string containing the object type. This extends the 
1140 usefulness of the Printf macros. Previously, Concatenate would abort the 
1141 control method if a non-data object was encountered.
1142
1143 ACPICA source code: Deployed the C "const" keyword across the source code 
1144 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
1145
1146 Example Code and Data Size: These are the sizes for the OS-independent 
1147 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1148 debug version of the code includes the debug output trace mechanism and 
1149 has a much larger code and data size.
1150
1151   Current Release:
1152     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1153     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1154   Previous Release:
1155     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1156     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1157
1158
1159 2) iASL Compiler/Disassembler and Tools:
1160
1161 iASL/Disassembler: Improved the heuristic used to determine the number of 
1162 arguments for an externally defined control method (a method in another 
1163 table). Although this is an improvement, there is no deterministic way to 
1164 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
1165 will completely solve this problem as it is deployed (automatically) in 
1166 newer BIOS code.
1167
1168 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
1169 statements that could cause errors when the disassembled file is 
1170 compiled. ACPICA BZ 1243. David Box.
1171
1172 iASL: Fixed a regression caused by the merger of the two versions of the 
1173 local strtoul64. Because of a dependency on a global variable, strtoul64 
1174 could return an error for integers greater than a 32-bit value. ACPICA BZ 
1175 1260.
1176
1177 iASL: Fixed a regression where a fault could occur for an ASL Return 
1178 statement if it invokes a control method that is not resolved. ACPICA BZ 
1179 1264.
1180
1181 AcpiXtract: Improved input file validation: detection of binary files and 
1182 non-acpidump text files.
1183
1184 ----------------------------------------
1185 12 February 2016. Summary of changes for version 20160212:
1186
1187 1) ACPICA kernel-resident subsystem:
1188
1189 Implemented full support for the ACPI 6.1 specification (released in 
1190 January). This version of the specification is available at:  
1191 http://www.uefi.org/specifications
1192
1193 Only a relatively small number of changes were required in ACPICA to 
1194 support ACPI 6.1, in these areas:
1195 - New predefined names
1196 - New _HID values
1197 - A new subtable for HEST
1198 - A few other header changes for new values
1199
1200 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
1201 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
1202
1203 Reverted a change made in version 20151218 which enabled method 
1204 invocations to be targets of various ASL operators (SuperName and Target 
1205 grammar elements). While the new behavior is supported by the ACPI 
1206 specification, other AML interpreters do not support this behavior and 
1207 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
1208 this support. Therefore, the change was reverted to the original ACPICA 
1209 behavior.
1210
1211 ACPICA now supports the GCC 6 compiler.
1212
1213 Current Release: (Note: build changes increased sizes)
1214     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1215     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1216 Previous Release:
1217     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1218     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
1219
1220
1221 2) iASL Compiler/Disassembler and Tools:
1222
1223 Completed full support for the ACPI 6.0 External() AML opcode. The 
1224 compiler emits an external AML opcode for each ASL External statement. 
1225 This opcode is used by the disassembler to assist with the disassembly of 
1226 external control methods by specifying the required number of arguments 
1227 for the method. AML interpreters do not use this opcode. To ensure that 
1228 interpreters do not even see the opcode, a block of one or more external 
1229 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
1230 commonly deployed in BIOS code, the ability of disassemblers to correctly 
1231 disassemble AML code will be greatly improved. David Box.
1232
1233 iASL: Implemented support for an optional cross-reference output file. 
1234 The -lx option will create a the cross-reference file with the suffix 
1235 "xrf". Three different types of cross-reference are created in this file:
1236 - List of object references made from within each control method
1237 - Invocation (caller) list for each user-defined control method
1238 - List of references to each non-method object in the namespace
1239
1240 iASL: Method invocations as ASL Target operands are now disallowed and 
1241 flagged as errors in preparation for ACPI 6.2 (see the description of the 
1242 problem above).
1243
1244 ----------------------------------------
1245 8 January 2016. Summary of changes for version 20160108:
1246
1247 1) ACPICA kernel-resident subsystem:
1248
1249 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
1250 copyright to all source code module headers and utility/tool signons. 
1251 This includes the standard Linux dual-license header. This affects 
1252 virtually every file in the ACPICA core subsystem, iASL compiler, all 
1253 ACPICA utilities, and the ACPICA test suite.
1254
1255 Fixed a regression introduced in version 20151218 concerning the 
1256 execution of so-called module-level ASL/AML code. Namespace objects 
1257 created under a module-level If() construct were not properly/fully 
1258 entered into the namespace and could cause an interpreter fault when 
1259 accessed.
1260
1261 Example Code and Data Size: These are the sizes for the OS-independent 
1262 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1263 debug version of the code includes the debug output trace mechanism and 
1264 has a much larger code and data size.
1265
1266 Current Release:
1267     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1268     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
1269   Previous Release:
1270     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1271     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1272
1273
1274 2) iASL Compiler/Disassembler and Tools:
1275
1276 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
1277 descriptors. The _PIN field name was incorrectly defined to be an array 
1278 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
1279 would cause incorrect bit width warnings when using Word (16-bit) fields 
1280 to access the descriptors.
1281
1282
1283 ----------------------------------------
1284 18 December 2015. Summary of changes for version 20151218:
1285
1286 1) ACPICA kernel-resident subsystem:
1287
1288 Implemented per-AML-table execution of "module-level code" as individual 
1289 ACPI tables are loaded into the namespace during ACPICA initialization. 
1290 In other words, any module-level code within an AML table is executed 
1291 immediately after the table is loaded, instead of batched and executed 
1292 after all of the tables have been loaded. This provides compatibility 
1293 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
1294 David Box.
1295
1296 To fully support the feature above, the default operation region handlers 
1297 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
1298 installed before any ACPI tables are loaded. This enables module-level 
1299 code to access these address spaces during the table load and module-
1300 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
1301 Box.
1302
1303 Implemented several changes to the internal _REG support in conjunction 
1304 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
1305 utilities for the changes above. Although these tools were changed, host 
1306 operating systems that simply use the default handlers for SystemMemory, 
1307 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
1308
1309 For example, in the code below, DEV1 is conditionally added to the 
1310 namespace by the DSDT via module-level code that accesses an operation 
1311 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
1312 created immediately after the DSDT is loaded in order for the SSDT to 
1313 successfully reference DEV1. Previously, this code would cause an 
1314 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
1315 fully supported by ACPICA.
1316
1317     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
1318     {
1319         OperationRegion (OPR1, SystemMemory, 0x400, 32)
1320         Field (OPR1, AnyAcc, NoLock, Preserve)
1321         {
1322             FLD1, 1
1323         }
1324         If (FLD1)
1325         {
1326             Device (\DEV1)
1327             {
1328             }
1329         }
1330     }
1331     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
1332     {
1333         External (\DEV1, DeviceObj)
1334         Scope (\DEV1)
1335         {
1336         }
1337     }
1338
1339 Fixed an AML interpreter problem where control method invocations were 
1340 not handled correctly when the invocation was itself a SuperName argument 
1341 to another ASL operator. In these cases, the method was not invoked. 
1342 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
1343 argument:
1344     Store
1345     Acquire, Wait
1346     CondRefOf, RefOf
1347     Decrement, Increment
1348     Load, Unload
1349     Notify
1350     Signal, Release, Reset
1351     SizeOf
1352
1353 Implemented automatic String-to-ObjectReference conversion support for 
1354 packages returned by predefined names (such as _DEP). A common BIOS error 
1355 is to add double quotes around an ObjectReference namepath, which turns 
1356 the reference into an unexpected string object. This support detects the 
1357 problem and corrects it before the package is returned to the caller that 
1358 invoked the method. Lv Zheng.
1359
1360 Implemented extensions to the Concatenate operator. Concatenate now 
1361 accepts any type of object, it is not restricted to simply 
1362 Integer/String/Buffer. For objects other than these 3 basic data types, 
1363 the argument is treated as a string containing the name of the object 
1364 type. This expands the utility of Concatenate and the Printf/Fprintf 
1365 macros. ACPICA BZ 1222.
1366
1367 Cleaned up the output of the ASL Debug object. The timer() value is now 
1368 optional and no longer emitted by default. Also, the basic data types of 
1369 Integer/String/Buffer are simply emitted as their values, without a data 
1370 type string -- since the data type is obvious from the output. ACPICA BZ 
1371 1221.
1372
1373 Example Code and Data Size: These are the sizes for the OS-independent 
1374 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1375 debug version of the code includes the debug output trace mechanism and 
1376 has a much larger code and data size.
1377
1378   Current Release:
1379     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1380     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1381   Previous Release:
1382     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1383     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1384
1385
1386 2) iASL Compiler/Disassembler and Tools:
1387
1388 iASL: Fixed some issues with the ASL Include() operator. This operator 
1389 was incorrectly defined in the iASL parser rules, causing a new scope to 
1390 be opened for the code within the include file. This could lead to 
1391 several issues, including allowing ASL code that is technically illegal 
1392 and not supported by AML interpreters. Note, this does not affect the 
1393 related #include preprocessor operator. ACPICA BZ 1212.
1394
1395 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
1396 operator is essentially an ASL macro since there is no AML opcode 
1397 associated with it. The code emitted by the iASL compiler for ElseIf is 
1398 an Else opcode followed immediately by an If opcode. The disassembler 
1399 will now emit an ElseIf if it finds an Else immediately followed by an 
1400 If. This simplifies the decoded ASL, especially for deeply nested 
1401 If..Else and large Switch constructs. Thus, the disassembled code more 
1402 closely follows the original source ASL. ACPICA BZ 1211. Example:
1403
1404     Old disassembly:
1405         Else
1406         {
1407             If (Arg0 == 0x02)
1408             {
1409                 Local0 = 0x05
1410             }
1411         }
1412
1413     New disassembly:
1414         ElseIf (Arg0 == 0x02)
1415         {
1416             Local0 = 0x05
1417         }
1418
1419 AcpiExec: Added support for the new module level code behavior and the 
1420 early region installation. This required a small change to the 
1421 initialization, since AcpiExec must install its own operation region 
1422 handlers.
1423
1424 AcpiExec: Added support to make the debug object timer optional. Default 
1425 is timer disabled. This cleans up the debug object output -- the timer 
1426 data is rarely used.
1427
1428 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
1429 appear on the command line. This can be important when there are 
1430 interdependencies/references between the tables.
1431
1432 iASL/Templates. Add support to generate template files with multiple 
1433 SSDTs within a single output file. Also added ommand line support to 
1434 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
1435 1223, 1225.
1436
1437
1438 ----------------------------------------
1439 24 November 2015. Summary of changes for version 20151124:
1440
1441 1) ACPICA kernel-resident subsystem:
1442
1443 Fixed a possible regression for a previous update to FADT handling. The 
1444 FADT no longer has a fixed table ID, causing some issues with code that 
1445 was hardwired to a specific ID. Lv Zheng.
1446
1447 Fixed a problem where the method auto-serialization could interfere with 
1448 the current SyncLevel. This change makes the auto-serialization support 
1449 transparent to the SyncLevel support and management.
1450
1451 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
1452 interface is intended for early access to the namespace during the 
1453 initial namespace device discovery walk. The _SUB method has been seen to 
1454 access operation regions in some cases, causing errors because the 
1455 operation regions are not fully initialized.
1456
1457 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
1458 that can cause faults. Lv Zheng.
1459
1460 AML Debugger: Add thread ID support so that single-step mode only applies 
1461 to the AML Debugger thread. This prevents runtime errors within some 
1462 kernels. Lv Zheng. 
1463
1464 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
1465 methods that are invoked by this interface are optional, removed warnings 
1466 emitted for the case where one or more of these methods do not exist. 
1467 ACPICA BZ 1208, original change by Prarit Bhargava.
1468
1469 Made a major pass through the entire ACPICA source code base to 
1470 standardize formatting that has diverged a bit over time. There are no 
1471 functional changes, but this will of course cause quite a few code 
1472 differences from the previous ACPICA release.
1473
1474 Example Code and Data Size: These are the sizes for the OS-independent 
1475 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1476 debug version of the code includes the debug output trace mechanism and 
1477 has a much larger code and data size.
1478
1479   Current Release:
1480     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1481     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1482   Previous Release:
1483     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1484     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1485
1486
1487 2) iASL Compiler/Disassembler and Tools:
1488
1489 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
1490 definition blocks within a single ASL file and the resulting AML file. 
1491 Support for this type of file was also added to the various tools that 
1492 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
1493 example code below shows two definition blocks within the same file:
1494
1495     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
1496 0x12345678)
1497     {
1498     }
1499     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
1500     {
1501     }
1502
1503 iASL: Enhanced typechecking for the Name() operator. All expressions for 
1504 the value of the named object must be reduced/folded to a single constant 
1505 at compile time, as per the ACPI specification (the AML definition of 
1506 Name()).
1507
1508 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
1509 and assembly headers). Now all emitted code correctly begins in column 1.
1510
1511 iASL: Added an error message for an attempt to open a Scope() on an 
1512 object defined in an SSDT. The DSDT is always loaded into the namespace 
1513 first, so any attempt to open a Scope on an SSDT object will fail at 
1514 runtime.
1515
1516
1517 ----------------------------------------
1518 30 September 2015. Summary of changes for version 20150930:
1519
1520 1) ACPICA kernel-resident subsystem:
1521
1522 Debugger: Implemented several changes and bug fixes to assist support for 
1523 the in-kernel version of the AML debugger. Lv Zheng.
1524 - Fix the "predefined" command for in-kernel debugger.
1525 - Do not enter debug command loop for the help and version commands.
1526 - Disallow "execute" command during execution/single-step of a method.
1527
1528 Interpreter: Updated runtime typechecking for all operators that have 
1529 target operands. The operand is resolved and validated that it is legal. 
1530 For example, the target cannot be a non-data object such as a Device, 
1531 Mutex, ThermalZone, etc., as per the ACPI specification.
1532
1533 Debugger: Fixed the double-mutex user I/O handshake to work when local 
1534 deadlock detection is enabled.
1535
1536 Debugger: limited display of method locals and arguments (LocalX and 
1537 ArgX) to only those that have actually been initialized. This prevents 
1538 lines of extraneous output.
1539
1540 Updated the definition of the NFIT table to correct the bit polarity of 
1541 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
1542
1543 Example Code and Data Size: These are the sizes for the OS-independent 
1544 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1545 debug version of the code includes the debug output trace mechanism and 
1546 has a much larger code and data size.
1547
1548   Current Release:
1549     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1550     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1551   Previous Release:
1552     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1553     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1554
1555
1556 2) iASL Compiler/Disassembler and Tools:
1557
1558 iASL: Improved the compile-time typechecking for operands of many of the 
1559 ASL operators:
1560
1561 -- Added an option to disable compiler operand/operator typechecking (-
1562 ot).
1563
1564 -- For the following operators, the TermArg operands are now validated 
1565 when possible to be Integer data objects: BankField, OperationRegion, 
1566 DataTableRegion, Buffer, and Package.
1567
1568 -- Store (Source, Target): Both the source and target operands are 
1569 resolved and checked that the operands are both legal. For example, 
1570 neither operand can be a non-data object such as a Device, Mutex, 
1571 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
1572 operator can be used to store an object to any type of target object.
1573
1574 -- Store (Source, Target): If the source is a Package object, the target 
1575 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
1576 is a Package, the source must also be a Package.
1577
1578 -- Store (Source, Target): A warning is issued if the source and target 
1579 resolve to the identical named object.
1580
1581 -- Store (Source, <method invocation>): An error is generated for the 
1582 target method invocation, as this construct is not supported by the AML 
1583 interpreter.
1584
1585 -- For all ASL math and logic operators, the target operand must be a 
1586 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
1587 includes the function return value also.
1588
1589 -- External declarations are also included in the typechecking where 
1590 possible. External objects defined using the UnknownObj keyword cannot be 
1591 typechecked, however.
1592
1593 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
1594 operator:
1595 - Legacy code: Index(PKG1, 3)
1596 - New ASL+ code: PKG1[3]
1597 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
1598 supported.
1599
1600 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
1601 spaces were inadvertently appended to the filename, causing file access 
1602 and deletion problems on some systems.
1603
1604 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
1605 possible compiler output files when building the test suite -- thus 
1606 exercising these features of the compiler. These files are automatically 
1607 deleted when the test suite exits.
1608
1609
1610 ----------------------------------------
1611 18 August 2015. Summary of changes for version 20150818:
1612
1613 1) ACPICA kernel-resident subsystem:
1614
1615 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
1616 Zheng. ACPICA BZ 1186.
1617
1618 Completed development to ensure that the ACPICA Disassembler and Debugger 
1619 are fully standalone components of ACPICA. Removed cross-component 
1620 dependences. Lv Zheng.
1621
1622 The max-number-of-AML-loops is now runtime configurable (previously was 
1623 compile-time only). This is essentially a loop timeout to force-abort 
1624 infinite AML loops. ACPCIA BZ 1192.
1625
1626 Debugger: Cleanup output to dump ACPI names and namepaths without any 
1627 trailing underscores. Lv Zheng. ACPICA BZ 1135.
1628
1629 Removed unnecessary conditional compilations across the Debugger and 
1630 Disassembler components where entire modules could be left uncompiled.
1631
1632 The aapits test is deprecated and has been removed from the ACPICA git 
1633 tree. The test has never been completed and has not been maintained, thus 
1634 becoming rather useless. ACPICA BZ 1015, 794.
1635
1636 A batch of small changes to close bugzilla and other reports:
1637 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
1638 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
1639 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
1640 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
1641 Moore.
1642 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
1643 ACPICA BZ 1184.
1644 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
1645 operators.
1646 - Debugger: Split debugger initialization/termination interfaces. Lv 
1647 Zheng.
1648 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
1649 identification.
1650 - AcpiExec: Add debug message during _REG method phase during table 
1651 load/init.
1652 - AcpiNames: Fix a regression where some output was missing and no longer 
1653 emitted.
1654 - Debugger: General cleanup and simplification. Lv Zheng.
1655 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
1656
1657 Example Code and Data Size: These are the sizes for the OS-independent 
1658 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1659 debug version of the code includes the debug output trace mechanism and 
1660 has a much larger code and data size.
1661
1662   Current Release:
1663     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1664     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1665   Previous Release:
1666     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1667     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1668
1669
1670 2) iASL Compiler/Disassembler and Tools:
1671
1672 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
1673 were not handled properly and caused load errors. Now, properly invoke 
1674 and use the ACPICA auto-reallocate mechanism for ACPI table data 
1675 structures. ACPICA BZ 1188
1676
1677 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
1678 BZ 1190.
1679
1680 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
1681 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
1682 executed during initialization. ACPICA BZ 1187, 1189.
1683
1684 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
1685 that corresponds to each disassembled ASL statement, to simplify 
1686 debugging. ACPICA BZ 1191.
1687
1688 Debugger: Add option to the "objects" command to display a summary of the 
1689 current namespace objects (Object type and count). This is displayed if 
1690 the command is entered with no arguments.
1691
1692 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
1693
1694
1695 ----------------------------------------
1696 17 July 2015. Summary of changes for version 20150717:
1697
1698 1) ACPICA kernel-resident subsystem:
1699
1700 Improved the partitioning between the Debugger and Disassembler 
1701 components. This allows the Debugger to be used standalone within kernel 
1702 code without the Disassembler (which is used for single stepping also). 
1703 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
1704
1705 Debugger: Implemented a new command to trace the execution of control 
1706 methods (Trace). This is especially useful for the in-kernel version of 
1707 the debugger when file I/O may not be available for method trace output. 
1708 See the ACPICA reference for more information. Lv Zheng.
1709
1710 Moved all C library prototypes (used for the local versions of these 
1711 functions when requested) to a new header, acclib.h
1712 Cleaned up the use of non-ANSI C library functions. These functions are 
1713 implemented locally in ACPICA. Moved all such functions to a common 
1714 source file, utnonansi.c
1715
1716 Debugger: Fixed a problem with the "!!" command (get last command 
1717 executed) where the debugger could enter an infinite loop and eventually 
1718 crash.
1719
1720 Removed the use of local macros that were used for some of the standard C 
1721 library functions to automatically cast input parameters. This mostly 
1722 affected the is* functions where the input parameter is defined to be an 
1723 int. This required a few modifications to the main ACPICA source code to 
1724 provide casting for these functions and eliminate possible compiler 
1725 warnings for these parameters.
1726
1727 Across the source code, added additional status/error checking to resolve 
1728 issues discovered by static source code analysis tools such as Coverity.
1729
1730 Example Code and Data Size: These are the sizes for the OS-independent 
1731 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1732 debug version of the code includes the debug output trace mechanism and 
1733 has a much larger code and data size.
1734
1735   Current Release:
1736     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1737     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1738   Previous Release:
1739     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1740     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
1741
1742
1743 2) iASL Compiler/Disassembler and Tools:
1744
1745 iASL: Fixed a regression where the device map file feature no longer 
1746 worked properly when used in conjunction with the disassembler. It only 
1747 worked properly with the compiler itself.
1748
1749 iASL: Implemented a new warning for method LocalX variables that are set 
1750 but never used (similar to a C compiler such as gcc). This also applies 
1751 to ArgX variables that are not defined by the parent method, and are 
1752 instead (legally) used as local variables.
1753
1754 iASL/Preprocessor: Finished the pass-through of line numbers from the 
1755 preprocessor to the compiler. This ensures that compiler errors/warnings 
1756 have the correct original line numbers and filenames, regardless of any 
1757 #include files.
1758
1759 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
1760 pass-through of comments to the preprocessor output file (which becomes 
1761 the compiler input file). Also fixed a problem with // comments that 
1762 appear after a math expression.
1763
1764 iASL: Added support for the TCPA server table to the table compiler and 
1765 template generator. (The client table was already previously supported)
1766
1767 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
1768 identify the iASL compiler.
1769
1770 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
1771 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
1772 ACPI_SIGN_POSITIVE.
1773
1774 AcpiHelp: Update to expand help messages for the iASL preprocessor 
1775 directives.
1776
1777
1778 ----------------------------------------
1779 19 June 2015. Summary of changes for version 20150619:
1780
1781 Two regressions in version 20150616 have been addressed:
1782
1783 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
1784 etc.) This update changes ACPICA to only use the standard headers for 
1785 functions, or the prototypes for the local versions of the C library 
1786 functions. Across the source code, this required some additional casts 
1787 for some Clib invocations for portability. Moved all local prototypes to 
1788 a new file, acclib.h
1789
1790 Fixes several problems with recent changes to the handling of the FACS 
1791 table that could cause some systems not to boot.
1792
1793
1794 ----------------------------------------
1795 16 June 2015. Summary of changes for version 20150616:
1796
1797
1798 1) ACPICA kernel-resident subsystem:
1799
1800 Across the entire ACPICA source code base, the various macros for the C 
1801 library functions (such as ACPI_STRLEN, etc.) have been removed and 
1802 replaced by the standard C library names (strlen, etc.) The original 
1803 purpose for these macros is no longer applicable. This simplification 
1804 reduces the number of macros used in the ACPICA source code 
1805 significantly, improving readability and maintainability.
1806
1807 Implemented support for a new ACPI table, the OSDT. This table, the 
1808 "override" SDT, can be loaded directly by the host OS at boot time. It 
1809 enables the replacement of existing namespace objects that were installed 
1810 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
1811 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
1812 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
1813 Moore.
1814
1815 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
1816 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
1817 X field). This change will support both automatically. There continues to 
1818 be systems found with this issue. This support requires a change to the 
1819 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
1820 been added to allow the host to select which FACS is desired 
1821 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
1822 details Lv Zheng.
1823
1824 Added a new feature to allow for systems that do not contain an FACS. 
1825 Although this is already supported on hardware-reduced platforms, the 
1826 feature has been extended for all platforms. The reasoning is that we do 
1827 not want to abort the entire ACPICA initialization just because the 
1828 system is seriously buggy and has no FACS.
1829
1830 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
1831 not correctly transcribed from the ACPI specification in ACPICA version 
1832 20150515.
1833
1834 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
1835 interface.
1836
1837 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
1838 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
1839 compiler also updated. Note: The TCPA "server" table is not supported by 
1840 the disassembler/table-compiler at this time.
1841
1842 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
1843
1844 Example Code and Data Size: These are the sizes for the OS-independent 
1845 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1846 debug version of the code includes the debug output trace mechanism and 
1847 has a much larger code and data size.
1848
1849   Current Release:
1850     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1851     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
1852   Previous Release:
1853     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
1854     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
1855
1856
1857 2) iASL Compiler/Disassembler and Tools:
1858
1859 Disassembler: Fixed a problem with the new symbolic operator disassembler 
1860 where incorrect ASL code could be emitted in some cases for the "non-
1861 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
1862 ShiftRight. The actual problem cases seem to be rather unusual in common 
1863 ASL code, however. David Box.
1864
1865 Modified the linux version of acpidump to obtain ACPI tables from not 
1866 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
1867 Zheng.
1868
1869 iASL: Fixed a problem where the user preprocessor output file (.i) 
1870 contained extra data that was not expected. The compiler was using this 
1871 file as a temporary file and passed through #line directives in order to 
1872 keep compiler error messages in sync with the input file and line number 
1873 across multiple include files. The (.i) is no longer a temporary file as 
1874 the compiler uses a new, different file for the original purpose.
1875
1876 iASL: Fixed a problem where comments within the original ASL source code 
1877 file were not passed through to the preprocessor output file, nor any 
1878 listing files.
1879
1880 iASL: Fixed some issues for the handling of the "#include" preprocessor 
1881 directive and the similar (but not the same) "Include" ASL operator.
1882
1883 iASL: Add support for the new OSDT in both the disassembler and compiler.
1884
1885 iASL: Fixed a problem with the constant folding support where a Buffer 
1886 object could be incorrectly generated (incorrectly formed) during a 
1887 conversion to a Store() operator.
1888
1889 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
1890 description text for the _REV predefined name. _REV now permanently 
1891 returns 2, as per the ACPI 6.0 specification.
1892
1893 Debugger: Enhanced the output of the Debug ASL object for references 
1894 produced by the Index operator. For Buffers and strings, only output the 
1895 actual byte pointed to by the index. For packages, only print the single 
1896 package element decoded by the index. Previously, the entire 
1897 buffer/string/package was emitted.
1898
1899 iASL/Table-compiler: Fixed a regression where the "generic" data types 
1900 were no longer recognized, causing errors.
1901
1902
1903 ----------------------------------------
1904 15 May 2015. Summary of changes for version 20150515:
1905
1906 This release implements most of ACPI 6.0 as described below.
1907
1908 1) ACPICA kernel-resident subsystem:
1909
1910 Implemented runtime argument checking and return value checking for all 
1911 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
1912 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
1913
1914 Example Code and Data Size: These are the sizes for the OS-independent 
1915 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1916 debug version of the code includes the debug output trace mechanism and 
1917 has a much larger code and data size.
1918
1919   Current Release:
1920     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
1921     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
1922   Previous Release:
1923     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
1924     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
1925
1926
1927 2) iASL Compiler/Disassembler and Tools:
1928
1929 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
1930 names (argument count validation and return value typechecking.)
1931
1932 iASL disassembler and table compiler: implemented support for all new 
1933 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
1934
1935 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
1936 tables: FADT, MADT.
1937
1938 iASL preprocessor: Added a new directive to enable inclusion of binary 
1939 blobs into ASL code. The new directive is #includebuffer. It takes a 
1940 binary file as input and emits a named ascii buffer object into the ASL 
1941 code.
1942
1943 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
1944
1945 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
1946 directives.
1947
1948 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
1949 tables.
1950
1951
1952 ----------------------------------------
1953 10 April 2015. Summary of changes for version 20150410:
1954
1955 Reverted a change introduced in version 20150408 that caused
1956 a regression in the disassembler where incorrect operator
1957 symbols could be emitted.
1958
1959
1960 ----------------------------------------
1961 08 April 2015. Summary of changes for version 20150408:
1962
1963
1964 1) ACPICA kernel-resident subsystem:
1965
1966 Permanently set the return value for the _REV predefined name. It now 
1967 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
1968 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
1969 for ACPI 2.0 and later. It should never be used to differentiate or 
1970 identify operating systems.
1971
1972 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
1973 return TRUE to a query with this string.
1974
1975 Fixed several issues with the local version of the printf function.
1976
1977 Added the C99 compiler option (-std=c99) to the Unix makefiles.
1978
1979   Current Release:
1980     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
1981     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
1982   Previous Release:
1983     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
1984     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
1985
1986
1987 2) iASL Compiler/Disassembler and Tools:
1988
1989 iASL: Implemented an enhancement to the constant folding feature to 
1990 transform the parse tree to a simple Store operation whenever possible:
1991     Add (2, 3, X) ==> is converted to: Store (5, X)
1992     X = 2 + 3     ==> is converted to: Store (5, X)
1993
1994 Updated support for the SLIC table (Software Licensing Description Table) 
1995 in both the Data Table compiler and the disassembler. The SLIC table 
1996 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
1997 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
1998 following the ACPI header is now defined to be "Proprietary Data", and as 
1999 such, can only be entered or displayed as a hex data block.
2000
2001 Implemented full support for the MSDM table as described in the document 
2002 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
2003 following the ACPI header is defined to be "Proprietary Data", and can 
2004 only be entered or displayed as a hex data block.
2005
2006 Implemented the -Pn option for the iASL Table Compiler (was only 
2007 implemented for the ASL compiler). This option disables the iASL 
2008 preprocessor.
2009
2010 Disassembler: For disassembly of Data Tables, added a comment field 
2011 around the Ascii equivalent data that is emitted as part of the "Raw 
2012 Table Data" block. This prevents the iASL Preprocessor from possible 
2013 confusion if/when the table is compiled.
2014
2015 Disassembler: Added an option (-df) to force the disassembler to assume 
2016 that the table being disassembled contains valid AML. This feature is 
2017 useful for disassembling AML files that contain ACPI signatures other 
2018 than DSDT or SSDT (such as OEMx or other signatures).
2019
2020 Changes for the EFI version of the tools:
2021 1) Fixed a build error/issue
2022 2) Fixed a cast warning
2023
2024 iASL: Fixed a path issue with the __FILE__ operator by making the 
2025 directory prefix optional within the internal SplitInputFilename 
2026 function.
2027
2028 Debugger: Removed some unused global variables.
2029
2030 Tests: Updated the makefile for proper generation of the AAPITS suite.
2031
2032
2033 ----------------------------------------
2034 04 February 2015. Summary of changes for version 20150204:
2035
2036 ACPICA kernel-resident subsystem:
2037
2038 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
2039 copyright to all module headers and signons, including the standard Linux 
2040 header. This affects virtually every file in the ACPICA core subsystem, 
2041 iASL compiler, all ACPICA utilities, and the test suites.
2042
2043 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
2044 A raw gpe handling mechanism was created to allow better handling of GPE
2045 storms that aren't easily managed by the normal handler. The raw handler
2046 allows disabling/renabling of the the GPE so that interrupt storms can be
2047 avoided in cases where events cannot be timely serviced. In this 
2048 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
2049 GPE. This API will leave the reference counts undisturbed, thereby 
2050 preventing unintentional clearing of the GPE when the intent in only to 
2051 temporarily disable it. Raw handlers allow enabling and disabling of a 
2052 GPE by removing GPE register locking. As such, raw handlers much provide 
2053 their own locks while using GPE API's to protect access to GPE data 
2054 structures.
2055 Lv Zheng
2056
2057 Events: Always modify GPE registers under the GPE lock.
2058 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
2059 values. Reported as bug by joe.liu@apple.com.
2060
2061 Unix makefiles: Separate option to disable optimizations and 
2062 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
2063 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
2064 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
2065 errors when building ACPICA. This allows disabling the option without 
2066 also having to disable optimazations.
2067 David Box
2068
2069   Current Release:
2070     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2071     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
2072
2073 --
2074 --------------------------------------
2075 07 November 2014. Summary of changes for version 20141107:
2076
2077 This release is available at https://acpica.org/downloads
2078
2079 This release introduces and implements language extensions to ASL that 
2080 provide support for symbolic ("C-style") operators and expressions. These 
2081 language extensions are known collectively as ASL+.
2082
2083
2084 1) iASL Compiler/Disassembler and Tools:
2085
2086 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
2087 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
2088 Box.
2089
2090 Disassembler: Fixed the Unicode macro support to add escape sequences. 
2091 All non-printable ASCII values are emitted as escape sequences, as well 
2092 as the standard escapes for quote and backslash. Ensures that the 
2093 disassembled macro can be correctly recompiled.
2094
2095 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
2096 translated to existing AML Concatenate and Store operations. Printf 
2097 writes to the ASL Debug object. Fprintf allows the specification of an 
2098 ASL name as the target. Only a single format specifier is required, %o, 
2099 since the AML interpreter dynamically converts objects to the required 
2100 type. David E. Box.
2101
2102     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2103                  (Concatenate (Concatenate (Concatenate ("", Arg0),
2104                  ": Unexpected value for "), Arg1), ", "), Arg2),
2105                  " at line "), Arg3), Debug)
2106
2107     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
2108                  Arg0, Arg1, Arg2, Arg3)
2109
2110     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2111                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
2112
2113     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
2114
2115 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
2116 ASL parse tree before the AML code is generated. This allows blocks of 
2117 ASL code to be removed in order to help locate and identify problem 
2118 devices and/or code. David E. Box.
2119
2120 AcpiExec: Added support (-fi) for an optional namespace object 
2121 initialization file. This file specifies initial values for namespace 
2122 objects as necessary for debugging and testing different ASL code paths 
2123 that may be taken as a result of BIOS options.
2124
2125
2126 2) Overview of symbolic operator support for ASL (ASL+)
2127 -------------------------------------------------------
2128
2129 As an extension to the ASL language, iASL implements support for symbolic 
2130 (C-style) operators for math and logical expressions. This can greatly 
2131 simplify ASL code as well as improve both readability and 
2132 maintainability. These language extensions can exist concurrently with 
2133 all legacy ASL code and expressions.
2134
2135 The symbolic extensions are 100% compatible with existing AML 
2136 interpreters, since no new AML opcodes are created. To implement the 
2137 extensions, the iASL compiler transforms the symbolic expressions into 
2138 the legacy ASL/AML equivalents at compile time.
2139
2140 Full symbolic expressions are supported, along with the standard C 
2141 precedence and associativity rules.
2142
2143 Full disassembler support for the symbolic expressions is provided, and 
2144 creates an automatic migration path for existing ASL code to ASL+ code 
2145 via the disassembly process. By default, the disassembler now emits ASL+ 
2146 code with symbolic expressions. An option (-dl) is provided to force the 
2147 disassembler to emit legacy ASL code if desired.
2148
2149 Below is the complete list of the currently supported symbolic operators 
2150 with examples. See the iASL User Guide for additional information.
2151
2152
2153 ASL+ Syntax      Legacy ASL Equivalent
2154 -----------      ---------------------
2155
2156     // Math operators
2157
2158 Z = X + Y        Add (X, Y, Z)
2159 Z = X - Y        Subtract (X, Y, Z)
2160 Z = X * Y        Multiply (X, Y, Z)
2161 Z = X / Y        Divide (X, Y, , Z)
2162 Z = X % Y        Mod (X, Y, Z)
2163 Z = X << Y       ShiftLeft (X, Y, Z)
2164 Z = X >> Y       ShiftRight (X, Y, Z)
2165 Z = X & Y        And (X, Y, Z)
2166 Z = X | Y        Or (X, Y, Z)
2167 Z = X ^ Y        Xor (X, Y, Z)
2168 Z = ~X           Not (X, Z)
2169 X++              Increment (X)
2170 X--              Decrement (X)
2171
2172     // Logical operators
2173
2174 (X == Y)         LEqual (X, Y)
2175 (X != Y)         LNotEqual (X, Y)
2176 (X < Y)          LLess (X, Y)
2177 (X > Y)          LGreater (X, Y)
2178 (X <= Y)         LLessEqual (X, Y)
2179 (X >= Y)         LGreaterEqual (X, Y)
2180 (X && Y)         LAnd (X, Y)
2181 (X || Y)         LOr (X, Y)
2182 (!X)             LNot (X)
2183
2184     // Assignment and compound assignment operations
2185
2186 X = Y           Store (Y, X)
2187 X += Y          Add (X, Y, X)
2188 X -= Y          Subtract (X, Y, X)
2189 X *= Y          Multiply (X, Y, X)
2190 X /= Y          Divide (X, Y, , X)
2191 X %= Y          Mod (X, Y, X)
2192 X <<= Y         ShiftLeft (X, Y, X)
2193 X >>= Y         ShiftRight (X, Y, X)
2194 X &= Y          And (X, Y, X)
2195 X |= Y          Or (X, Y, X)
2196 X ^= Y          Xor (X, Y, X)
2197
2198
2199 3) ASL+ Examples:
2200 -----------------
2201
2202 Legacy ASL:
2203         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
2204             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
2205 0x03FB), 
2206             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
2207         {
2208             And (MEMB, 0xFFFFFFF0, SRMB)
2209             Store (MEMB, Local2)
2210             Store (PDBM, Local1)
2211             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
2212             Store (SRMB, MEMB)
2213             Or (PDBM, 0x02, PDBM)
2214         }
2215
2216 ASL+ version:
2217         If (((R510 & 0x03FB) == 0x02E0) ||
2218             ((R520 & 0x03FB) == 0x02E0) ||
2219             ((R530 & 0x03FB) == 0x02E0) || 
2220             ((R540 & 0x03FB) == 0x02E0))
2221         {
2222             SRMB = (MEMB & 0xFFFFFFF0)
2223             Local2 = MEMB
2224             Local1 = PDBM
2225             PDBM &= 0xFFFFFFFFFFFFFFF9
2226             MEMB = SRMB
2227             PDBM |= 0x02
2228         }
2229
2230 Legacy ASL:
2231         Store (0x1234, Local1)
2232         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2233         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2234         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2235         Store (Index (PKG1, 0x03), Local6)
2236         Store (Add (Local3, Local2), Debug)
2237         Add (Local1, 0x0F, Local2)
2238         Add (Local1, Multiply (Local2, Local3), Local2)
2239         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2240
2241 ASL+ version:
2242         Local1 = 0x1234
2243         Local3 = (((Local1 + TEST) + 0x20) * Local2)
2244         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2245         Local3 = (Local1 + (TEST + (0x20 * Local2)))
2246         Local6 = Index (PKG1, 0x03)
2247         Debug = (Local3 + Local2)
2248         Local2 = (Local1 + 0x0F)
2249         Local2 = (Local1 + (Local2 * Local3))
2250         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2251
2252
2253 ----------------------------------------
2254 26 September 2014. Summary of changes for version 20140926:
2255
2256 1) ACPICA kernel-resident subsystem:
2257
2258 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
2259 In order to support GPIO Connection objects with multiple pins, along 
2260 with the related Field objects, the following changes to the interface 
2261 have been made: The Address is now defined to be the offset in bits of 
2262 the field unit from the previous invocation of a Connection. It can be 
2263 viewed as a "Pin Number Index" into the connection resource descriptor. 
2264 The BitWidth is the exact bit width of the field. It is usually one bit, 
2265 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
2266 additional information and examples.
2267
2268 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
2269 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
2270 by the firmware), so that they cannot fire until they are enabled via 
2271 AcpiUpdateAllGpes. Rafael J. Wysocki.
2272
2273 Added a new return flag for the Event/GPE status interfaces -- 
2274 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
2275 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
2276 GPE currently has a handler associated with it, and can thus actually 
2277 affect the system. Lv Zheng.
2278
2279 Example Code and Data Size: These are the sizes for the OS-independent 
2280 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2281 debug version of the code includes the debug output trace mechanism and 
2282 has a much larger code and data size.
2283
2284   Current Release:
2285     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2286     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2287   Previous Release:
2288     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2289     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2290
2291 2) iASL Compiler/Disassembler and Tools:
2292
2293 iASL: Fixed a memory allocation/free regression introduced in 20140828 
2294 that could cause the compiler to crash. This was introduced inadvertently 
2295 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
2296 1113.
2297
2298 iASL: Removed two error messages that have been found to create false 
2299 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
2300 1) Illegal forward reference within a method
2301 2) Illegal reference across two methods
2302
2303 iASL: Implemented a new option (-lm) to create a hardware mapping file 
2304 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
2305 works for both the compiler and disassembler. See the iASL compiler user 
2306 guide for additional information and examples (section 6.4.6).
2307
2308 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
2309 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
2310 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
2311
2312 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
2313 unless STDIN is actually a terminal. Assists with batch-mode processing. 
2314 ACPICA BZ 1114.
2315
2316 Disassembler/AcpiHelp: Added another large group of recognized _HID 
2317 values.
2318
2319
2320 ----------------------------------------
2321 28 August 2014. Summary of changes for version 20140828:
2322
2323 1) ACPICA kernel-resident subsystem:
2324
2325 Fixed a problem related to the internal use of the Timer() operator where 
2326 a 64-bit divide could cause an attempted link to a double-precision math 
2327 library. This divide is not actually necessary, so the code was 
2328 restructured to eliminate it. Lv Zheng.
2329
2330 ACPI 5.1: Added support for the runtime validation of the _DSD package 
2331 (similar to the iASL support).
2332
2333 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
2334 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
2335
2336 Example Code and Data Size: These are the sizes for the OS-independent 
2337 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2338 debug version of the code includes the debug output trace mechanism and 
2339 has a much larger code and data size.
2340
2341   Current Release:
2342     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2343     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2344   Previous Release:
2345     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
2346     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2347
2348 2) iASL Compiler/Disassembler and Tools:
2349
2350 AcpiExec: Fixed a problem on unix systems where the original terminal 
2351 state was not always properly restored upon exit. Seen when using the -v 
2352 option. ACPICA BZ 1104.
2353
2354 iASL: Fixed a problem with the validation of the ranges/length within the 
2355 Memory24 resource descriptor. There was a boundary condition when the 
2356 range was equal to the (length -1) caused by the fact that these values 
2357 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
2358
2359 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
2360 polarity 
2361 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
2362 is 
2363 now supported properly.
2364
2365 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
2366 in the disassembler, data table compiler, and table template generator.
2367
2368 iASL: Added a requirement for Device() objects that one of either a _HID 
2369 or _ADR must exist within the scope of a Device, as per the ACPI 
2370 specification. Remove a similar requirement that was incorrectly in place 
2371 for the _DSD object.
2372
2373 iASL: Added error detection for illegal named references within control 
2374 methods that would cause runtime failures. Now trapped as errors are: 1) 
2375 References to objects within a non-parent control method. 2) Forward 
2376 references (within a method) -- for control methods, AML interpreters use 
2377 a one-pass parse of control methods. ACPICA BZ 1008.
2378
2379 iASL: Added error checking for dependencies related to the _PSx power 
2380 methods. ACPICA BZ 1029.
2381 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
2382 _PS3.
2383 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
2384 scope.
2385
2386 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
2387 deploying the existing object and string caches and adding new caches for 
2388 the table compiler.
2389
2390 iASL: Split the huge parser source file into multiple subfiles to improve 
2391 manageability. Generation now requires the M4 macro preprocessor, which 
2392 is part of the Bison distribution on both unix and windows platforms.
2393
2394 AcpiSrc: Fixed and removed all extraneous warnings generated during 
2395 entire ACPICA source code scan and/or conversion.
2396
2397
2398 ----------------------------------------
2399
2400 24 July 2014. Summary of changes for version 20140724: 
2401
2402 The ACPI 5.1 specification has been released and is available at: 
2403 http://uefi.org/specs/access
2404
2405
2406 0) ACPI 5.1 support in ACPICA:
2407
2408 ACPI 5.1 is fully supported in ACPICA as of this release.
2409
2410 New predefined names. Support includes iASL and runtime ACPICA 
2411 validation.
2412     _CCA (Cache Coherency Attribute).
2413     _DSD (Device-Specific Data). David Box.
2414
2415 Modifications to existing ACPI tables. Support includes headers, iASL 
2416 Data Table compiler, disassembler, and the template generator.
2417     FADT - New fields and flags. Graeme Gregory.
2418     GTDT - One new subtable and new fields. Tomasz Nowicki.
2419     MADT - Two new subtables. Tomasz Nowicki.
2420     PCCT - One new subtable.
2421
2422 Miscellaneous.
2423     New notification type for System Resource Affinity change events.
2424
2425
2426 1) ACPICA kernel-resident subsystem:
2427
2428 Fixed a regression introduced in 20140627 where a fault can happen during 
2429 the deletion of Alias AML namespace objects. The problem affected both 
2430 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
2431
2432 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
2433 simple mechanism to enable wake GPEs that have no associated handler or 
2434 control method. Rafael Wysocki.
2435
2436 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
2437 handler or control method associated with the particular GPE. This will 
2438 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
2439
2440 Updated GPE handling and dispatch by disabling the GPE before clearing 
2441 the status bit for edge-triggered GPEs. Lv Zheng.
2442
2443 Added Timer() support to the AML Debug object. The current timer value is 
2444 now displayed with each invocation of (Store to) the debug object to 
2445 enable simple generation of execution times for AML code (method 
2446 execution for example.) ACPICA BZ 1093.
2447
2448 Example Code and Data Size: These are the sizes for the OS-independent 
2449 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2450 debug version of the code includes the debug output trace mechanism and 
2451 has a much larger code and data size.
2452
2453   Current Release:
2454     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
2455     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2456   Previous Release:
2457     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2458     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2459
2460
2461 2) iASL Compiler/Disassembler and Tools:
2462
2463 Fixed an issue with the recently added local printf implementation, 
2464 concerning width/precision specifiers that could cause incorrect output. 
2465 Lv Zheng. ACPICA BZ 1094.
2466
2467 Disassembler: Added support to detect buffers that contain UUIDs and 
2468 disassemble them to an invocation of the ToUUID operator. Also emit 
2469 commented descriptions of known ACPI-related UUIDs.
2470
2471 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
2472 -u. Adds three new files. 
2473
2474 iASL: Update table compiler and disassembler for DMAR table changes that 
2475 were introduced in September 2013. With assistance by David Woodhouse.
2476
2477 ----------------------------------------
2478 27 June 2014. Summary of changes for version 20140627:
2479
2480 1) ACPICA kernel-resident subsystem:
2481
2482 Formatted Output: Implemented local versions of standard formatted output 
2483 utilities such as printf, etc. Over time, it has been discovered that 
2484 there are in fact many portability issues with printf, and the addition 
2485 of this feature will fix/prevent these issues once and for all. Some 
2486 known issues are summarized below:
2487
2488 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
2489 for the Linux kernel and is %uI64 for some MSVC versions.
2490 2) Invoking printf consistently in a manner that is portable across both 
2491 32-bit and 64-bit platforms is difficult at best in many situations.
2492 3) The output format for pointers varies from system to system (leading 
2493 zeros especially), and leads to inconsistent output from ACPICA across 
2494 platforms.
2495 4) Certain platform-specific printf formats may conflict with ACPICA use.
2496 5) If there is no local C library available, ACPICA now has local support 
2497 for printf.
2498
2499 -- To address these printf issues in a complete manner, ACPICA now 
2500 directly implements a small subset of printf format specifiers, only 
2501 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
2502
2503 Implemented support for ACPICA generation within the EFI environment. 
2504 Initially, the AcpiDump utility is supported in the UEFI shell 
2505 environment. Lv Zheng.
2506
2507 Added a new external interface, AcpiLogError, to improve ACPICA 
2508 portability. This allows the host to redirect error messages from the 
2509 ACPICA utilities. Lv Zheng.
2510
2511 Added and deployed new OSL file I/O interfaces to improve ACPICA 
2512 portability:
2513   AcpiOsOpenFile
2514   AcpiOsCloseFile
2515   AcpiOsReadFile
2516   AcpiOsWriteFile
2517   AcpiOsGetFileOffset
2518   AcpiOsSetFileOffset
2519 There are C library implementations of these functions in the new file 
2520 service_layers/oslibcfs.c -- however, the functions can be implemented by 
2521 the local host in any way necessary. Lv Zheng.
2522
2523 Implemented a mechanism to disable/enable ACPI table checksum validation 
2524 at runtime. This can be useful when loading tables very early during OS 
2525 initialization when it may not be possible to map the entire table in 
2526 order to compute the checksum. Lv Zheng.
2527
2528 Fixed a buffer allocation issue for the Generic Serial Bus support. 
2529 Originally, a fixed buffer length was used. This change allows for 
2530 variable-length buffers based upon the protocol indicated by the field 
2531 access attributes. Reported by Lan Tianyu. Lv Zheng.
2532
2533 Fixed a problem where an object detached from a namespace node was not 
2534 properly terminated/cleared and could cause a circular list problem if 
2535 reattached. ACPICA BZ 1063. David Box.
2536
2537 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
2538
2539 Fixed a possible memory leak in an error return path within the function 
2540 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
2541
2542 Example Code and Data Size: These are the sizes for the OS-independent 
2543 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2544 debug version of the code includes the debug output trace mechanism and 
2545 has a much larger code and data size.
2546
2547   Current Release:
2548     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2549     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2550   Previous Release:
2551     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2552     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2553
2554
2555 2) iASL Compiler/Disassembler and Tools:
2556
2557 Disassembler: Add dump of ASCII equivalent text within a comment at the 
2558 end of each line of the output for the Buffer() ASL operator.
2559
2560 AcpiDump: Miscellaneous changes:
2561   Fixed repetitive table dump in -n mode.
2562   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
2563 the ACPI 2.0 GUID fails.
2564
2565 iASL: Fixed a problem where the compiler could fault if incorrectly given 
2566 an acpidump output file as input. ACPICA BZ 1088. David Box.
2567
2568 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
2569 they are invoked without any arguments.
2570
2571 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
2572 1086. Colin Ian King.
2573
2574 Disassembler: Cleaned up a block of code that extracts a parent Op 
2575 object. Added a comment that explains that the parent is guaranteed to be 
2576 valid in this case. ACPICA BZ 1069.
2577
2578
2579 ----------------------------------------
2580 24 April 2014. Summary of changes for version 20140424:
2581
2582 1) ACPICA kernel-resident subsystem:
2583
2584 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
2585 Some of these tables are known to contain a trailing NULL entry. Lv 
2586 Zheng.
2587
2588 Removed an extraneous error message for the case where there are a large 
2589 number of system GPEs (> 124). This was the "32-bit FADT register is too 
2590 long to convert to GAS struct" message, which is irrelevant for GPEs 
2591 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
2592 (limited capacity) GAS bit length. Also, several changes to ensure proper 
2593 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
2594 internally.
2595
2596 Implemented and deployed additional configuration support for the public 
2597 ACPICA external interfaces. Entire classes of interfaces can now be 
2598 easily modified or configured out, replaced by stubbed inline functions 
2599 by default. Lv Zheng.
2600
2601 Moved all public ACPICA runtime configuration globals to the public 
2602 ACPICA external interface file for convenience. Also, removed some 
2603 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
2604
2605 Documentation: Added a new section to the ACPICA reference describing the 
2606 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
2607 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
2608 reference.
2609
2610 Example Code and Data Size: These are the sizes for the OS-independent 
2611 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2612 debug version of the code includes the debug output trace mechanism and 
2613 has a much larger code and data size.
2614
2615   Current Release:
2616     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2617     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2618   Previous Release:
2619     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2620     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2621
2622
2623 2) iASL Compiler/Disassembler and Tools:
2624
2625 iASL and disassembler: Add full support for the LPIT table (Low Power 
2626 Idle Table). Includes support in the disassembler, data table compiler, 
2627 and template generator.
2628
2629 AcpiDump utility:
2630 1) Add option to force the use of the RSDT (over the XSDT).
2631 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
2632
2633 iASL: Add check for predefined packages that are too large.  For 
2634 predefined names that contain subpackages, check if each subpackage is 
2635 too large. (Check for too small already exists.)
2636
2637 Debugger: Updated the GPE command (which simulates a GPE by executing the 
2638 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
2639 to the GPE 0/1 FADT-defined blocks.
2640
2641 Unix application OSL: Update line-editing support. Add additional error 
2642 checking and take care not to reset terminal attributes on exit if they 
2643 were never set. This should help guarantee that the terminal is always 
2644 left in the previous state on program exit.
2645
2646
2647 ----------------------------------------
2648 25 March 2014. Summary of changes for version 20140325:
2649
2650 1) ACPICA kernel-resident subsystem:
2651
2652 Updated the auto-serialize feature for control methods. This feature 
2653 automatically serializes all methods that create named objects in order 
2654 to prevent runtime errors. The update adds support to ignore the 
2655 currently executing AML SyncLevel when invoking such a method, in order 
2656 to prevent disruption of any existing SyncLevel priorities that may exist 
2657 in the AML code. Although the use of SyncLevels is relatively rare, this 
2658 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
2659 appear on some machines starting with the 20140214 release.
2660
2661 Added a new external interface to allow the host to install ACPI tables 
2662 very early, before the namespace is even created. AcpiInstallTable gives 
2663 the host additional flexibility for ACPI table management. Tables can be 
2664 installed directly by the host as if they had originally appeared in the 
2665 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
2666 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
2667 with additional internal restructuring and cleanup. See the ACPICA 
2668 Reference for interface details. Lv Zheng.
2669
2670 Added validation of the checksum for all incoming dynamically loaded 
2671 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
2672 Zheng.
2673
2674 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
2675 and GPE handler removal. Restructured calls to eliminate possible race 
2676 conditions. Lv Zheng.
2677
2678 Added a warning for the use/execution of the ASL/AML Unload (table) 
2679 operator. This will help detect and identify machines that use this 
2680 operator if and when it is ever used. This operator has never been seen 
2681 in the field and the usage model and possible side-effects of the drastic 
2682 runtime action of a full table removal are unknown.
2683
2684 Reverted the use of #pragma push/pop which was introduced in the 20140214 
2685 release. It appears that push and pop are not implemented by enough 
2686 compilers to make the use of this feature feasible for ACPICA at this 
2687 time. However, these operators may be deployed in a future ACPICA 
2688 release.
2689
2690 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
2691 handler interfaces.
2692
2693 Source code generation:
2694 1) Disabled the use of the "strchr" macro for the gcc-specific 
2695 generation. For some versions of gcc, this macro can periodically expose 
2696 a compiler bug which in turn causes compile-time error(s).
2697 2) Added support for PPC64 compilation. Colin Ian King.
2698
2699 Example Code and Data Size: These are the sizes for the OS-independent 
2700 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2701 debug version of the code includes the debug output trace mechanism and 
2702 has a much larger code and data size.
2703
2704   Current Release:
2705     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2706     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2707   Previous Release:
2708     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
2709     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
2710
2711
2712 2) iASL Compiler/Disassembler and Tools:
2713
2714 Disassembler: Added several new features to improve the readability of 
2715 the resulting ASL code. Extra information is emitted within comment 
2716 fields in the ASL code:
2717 1) Known _HID/_CID values are decoded to descriptive text.
2718 2) Standard values for the Notify() operator are decoded to descriptive 
2719 text.
2720 3) Target operands are expanded to full pathnames (in a comment) when 
2721 possible.
2722
2723 Disassembler: Miscellaneous updates for extern() handling:
2724 1) Abort compiler if file specified by -fe option does not exist.
2725 2) Silence unnecessary warnings about argument count mismatches.
2726 3) Update warning messages concerning unresolved method externals.
2727 4) Emit "UnknownObj" keyword for externals whose type cannot be 
2728 determined.
2729
2730 AcpiHelp utility:
2731 1) Added the -a option to display both the ASL syntax and the AML 
2732 encoding for an input ASL operator. This effectively displays all known 
2733 information about an ASL operator with one AcpiHelp invocation.
2734 2) Added substring match support (similar to a wildcard) for the -i 
2735 (_HID/PNP IDs) option.
2736
2737 iASL/Disassembler: Since this tool does not yet support execution on big-
2738 endian machines, added detection of endianness and an error message if 
2739 execution is attempted on big-endian. Support for big-endian within iASL 
2740 is a feature that is on the ACPICA to-be-done list.
2741
2742 AcpiBin utility:
2743 1) Remove option to extract binary files from an acpidump; this function 
2744 is made obsolete by the AcpiXtract utility.
2745 2) General cleanup of open files and allocated buffers.
2746
2747
2748 ----------------------------------------
2749 14 February 2014. Summary of changes for version 20140214:
2750
2751 1) ACPICA kernel-resident subsystem:
2752
2753 Implemented a new mechanism to proactively prevent problems with ill-
2754 behaved reentrant control methods that create named ACPI objects. This 
2755 behavior is illegal as per the ACPI specification, but is nonetheless 
2756 frequently seen in the field. Previously, this could lead to an 
2757 AE_ALREADY_EXISTS exception if the method was actually entered by more 
2758 than one thread. This new mechanism detects such methods at table load 
2759 time and marks them "serialized" to prevent reentrancy. A new global 
2760 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
2761 feature if desired. This mechanism and global option obsoletes and 
2762 supersedes the previous AcpiGbl_SerializeAllMethods option.
2763
2764 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
2765 respond TRUE to _OSI queries with this string. It is the stated policy of 
2766 ACPICA to add new strings to the _OSI support as soon as possible after 
2767 they are defined. See the full ACPICA _OSI policy which has been added to 
2768 the utilities/utosi.c file.
2769
2770 Hardened/updated the _PRT return value auto-repair code:
2771 1) Do not abort the repair on a single subpackage failure, continue to 
2772 check all subpackages.
2773 2) Add check for the minimum subpackage length (4).
2774 3) Properly handle extraneous NULL package elements.
2775
2776 Added support to avoid the possibility of infinite loops when traversing 
2777 object linked lists. Never allow an infinite loop, even in the face of 
2778 corrupted object lists.
2779
2780 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
2781 pack(pop) directives to ensure that the ACPICA headers are independent of 
2782 compiler settings or other host headers.
2783
2784 Example Code and Data Size: These are the sizes for the OS-independent 
2785 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2786 debug version of the code includes the debug output trace mechanism and 
2787 has a much larger code and data size.
2788
2789   Current Release:
2790     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
2791     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
2792   Previous Release:
2793     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
2794     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
2795
2796
2797 2) iASL Compiler/Disassembler and Tools:
2798
2799 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
2800 first reserved field was incorrectly forced to have a value of zero. This 
2801 change correctly forces the field to have a value of one. ACPICA BZ 1081.
2802
2803 Debugger: Added missing support for the "Extra" and "Data" subobjects 
2804 when displaying object data.
2805
2806 Debugger: Added support to display entire object linked lists when 
2807 displaying object data.
2808
2809 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
2810 Windows registry. This feature has been superseded by the acpidump 
2811 utility. 
2812
2813
2814 ----------------------------------------
2815 14 January 2014. Summary of changes for version 20140114:
2816
2817 1) ACPICA kernel-resident subsystem:
2818
2819 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
2820 copyright to all module headers and signons, including the standard Linux 
2821 header. This affects virtually every file in the ACPICA core subsystem, 
2822 iASL compiler, all ACPICA utilities, and the test suites.
2823
2824 Improved parameter validation for AcpiInstallGpeBlock. Added the 
2825 following checks:
2826 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
2827 2) There is not already a GPE block attached to the device.
2828 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
2829 device.
2830
2831 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
2832 support to allow references (namespace nodes) to be passed as arguments 
2833 to control methods via the evaluate object interface. This is probably 
2834 most useful for testing purposes, however.
2835
2836 Improved support for 32/64 bit physical addresses in printf()-like 
2837 output. This change improves the support for physical addresses in printf 
2838 debug statements and other output on both 32-bit and 64-bit hosts. It 
2839 consistently outputs the appropriate number of bytes for each host. The 
2840 %p specifier is unsatisfactory since it does not emit uniform output on 
2841 all hosts/clib implementations (on some, leading zeros are not supported, 
2842 leading to difficult-to-read output).
2843
2844 Example Code and Data Size: These are the sizes for the OS-independent 
2845 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2846 debug version of the code includes the debug output trace mechanism and 
2847 has a much larger code and data size.
2848
2849   Current Release:
2850     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
2851     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
2852   Previous Release:
2853     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
2854     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
2855
2856
2857 2) iASL Compiler/Disassembler and Tools:
2858
2859 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
2860 problem if the parent Field definition for the Connection operator refers 
2861 to an operation region that does not exist. ACPICA BZ 1064.
2862
2863 AcpiExec: Load of local test tables is now optional. The utility has the 
2864 capability to load some various tables to test features of ACPICA. 
2865 However, there are enough of them that the output of the utility became 
2866 confusing. With this change, only the required local tables are displayed 
2867 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
2868 line specification. This makes the default output simler and easier to 
2869 understand. The -el command line option restores the original behavior 
2870 for testing purposes.
2871
2872 AcpiExec: Added support for overlapping operation regions. This change 
2873 expands the simulation of operation regions by supporting regions that 
2874 overlap within the given address space. Supports SystemMemory and 
2875 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
2876
2877 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
2878 allows AcpiExec to simulate these address spaces, similar to the current 
2879 support for SystemMemory and SystemIO.
2880
2881 Debugger: Added new command to read/write/compare all namespace objects. 
2882 The command "test objects" will exercise the entire namespace by writing 
2883 new values to each data object, and ensuring that the write was 
2884 successful. The original value is then restored and verified.
2885
2886 Debugger: Added the "test predefined" command. This change makes this 
2887 test public and puts it under the new "test" command. The test executes 
2888 each and every predefined name within the current namespace.
2889
2890
2891 ----------------------------------------
2892 18 December 2013. Summary of changes for version 20131218:
2893
2894 Global note: The ACPI 5.0A specification was released this month. There 
2895 are no changes needed for ACPICA since this release of ACPI is an 
2896 errata/clarification release. The specification is available at 
2897 acpi.info. 
2898
2899
2900 1) ACPICA kernel-resident subsystem:
2901
2902 Added validation of the XSDT root table if it is present. Some older 
2903 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
2904 as containing some or all entries that are NULL pointers). This change 
2905 adds a new function to validate the XSDT before actually using it. If the 
2906 XSDT is found to be invalid, ACPICA will now automatically fall back to 
2907 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
2908 ACPICA and enhanced by Lv Zheng and Bob Moore.
2909
2910 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
2911 This change adds a runtime option that will force ACPICA to use the RSDT 
2912 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
2913 requires that an XSDT be used instead of the RSDT, the XSDT has been 
2914 found to be corrupt or ill-formed on some machines. Lv Zheng.
2915
2916 Added a runtime option to favor 32-bit FADT register addresses over the 
2917 64-bit addresses. This change adds an option to favor 32-bit FADT 
2918 addresses when there is a conflict between the 32-bit and 64-bit versions 
2919 of the same register. The default behavior is to use the 64-bit version 
2920 in accordance with the ACPI specification. This can now be overridden via 
2921 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
2922
2923 During the change above, the internal "Convert FADT" and "Verify FADT" 
2924 functions have been merged to simplify the code, making it easier to 
2925 understand and maintain. ACPICA BZ 933.
2926
2927 Improve exception reporting and handling for GPE block installation. 
2928 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
2929 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
2930
2931 Added helper macros to extract bus/segment numbers from the HEST table. 
2932 This change adds two macros to extract the encoded bus and segment 
2933 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
2934 Betty Dall <betty.dall@hp.com>
2935
2936 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
2937 by ACPICA. It is not a public macro, so it should have no effect on 
2938 existing OSV code. Lv Zheng.
2939
2940 Example Code and Data Size: These are the sizes for the OS-independent 
2941 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2942 debug version of the code includes the debug output trace mechanism and 
2943 has a much larger code and data size.
2944
2945   Current Release:
2946     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
2947     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
2948   Previous Release:
2949     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
2950     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
2951
2952
2953 2) iASL Compiler/Disassembler and Tools:
2954
2955 Disassembler: Improved pathname support for emitted External() 
2956 statements. This change adds full pathname support for external names 
2957 that have been resolved internally by the inclusion of additional ACPI 
2958 tables (via the iASL -e option). Without this change, the disassembler 
2959 can emit multiple externals for the same object, or it become confused 
2960 when the Scope() operator is used on an external object. Overall, greatly 
2961 improves the ability to actually recompile the emitted ASL code when 
2962 objects a referenced across multiple ACPI tables. Reported by Michael 
2963 Tsirkin (mst@redhat.com).
2964
2965 Tests/ASLTS: Updated functional control suite to execute with no errors. 
2966 David Box. Fixed several errors related to the testing of the interpreter 
2967 slack mode. Lv Zheng.
2968
2969 iASL: Added support to detect names that are declared within a control 
2970 method, but are unused (these are temporary names that are only valid 
2971 during the time the method is executing). A remark is issued for these 
2972 cases. ACPICA BZ 1022.
2973
2974 iASL: Added full support for the DBG2 table. Adds full disassembler, 
2975 table compiler, and template generator support for the DBG2 table (Debug 
2976 Port 2 table).
2977
2978 iASL: Added full support for the PCCT table, update the table definition. 
2979 Updates the PCCT table definition in the actbl3.h header and adds table 
2980 compiler and template generator support.
2981
2982 iASL: Added an option to emit only error messages (no warnings/remarks). 
2983 The -ve option will enable only error messages, warnings and remarks are 
2984 suppressed. This can simplify debugging when only the errors are 
2985 important, such as when an ACPI table is disassembled and there are many 
2986 warnings and remarks -- but only the actual errors are of real interest.
2987
2988 Example ACPICA code (source/tools/examples): Updated the example code so 
2989 that it builds to an actual working program, not just example code. Added 
2990 ACPI tables and execution of an example control method in the DSDT. Added 
2991 makefile support for Unix generation.
2992
2993
2994 ----------------------------------------
2995 15 November 2013. Summary of changes for version 20131115:
2996
2997 This release is available at https://acpica.org/downloads
2998
2999
3000 1) ACPICA kernel-resident subsystem:
3001
3002 Resource Manager: Fixed loop termination for the "get AML length" 
3003 function. The loop previously had an error termination on a NULL resource 
3004 pointer, which can never happen since the loop simply increments a valid 
3005 resource pointer. This fix changes the loop to terminate with an error on 
3006 an invalid end-of-buffer condition. The problem can be seen as an 
3007 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
3008 corrupted resource descriptor, or a resource descriptor that is missing 
3009 an END_TAG descriptor. Reported by Dan Carpenter 
3010 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
3011
3012 Table unload and ACPICA termination: Delete all attached data objects 
3013 during namespace node deletion. This fix updates namespace node deletion 
3014 to delete the entire list of attached objects (attached via 
3015 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
3016 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
3017
3018 ACPICA termination: Added support to delete all objects attached to the 
3019 root namespace node. This fix deletes any and all objects that have been 
3020 attached to the root node via AcpiAttachData. Previously, none of these 
3021 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
3022
3023 Debug output: Do not emit the function nesting level for the in-kernel 
3024 build. The nesting level is really only useful during a single-thread 
3025 execution. Therefore, only enable this output for the AcpiExec utility. 
3026 Also, only emit the thread ID when executing under AcpiExec (Context 
3027 switches are still always detected and a message is emitted). ACPICA BZ 
3028 972.
3029
3030 Example Code and Data Size: These are the sizes for the OS-independent 
3031 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3032 debug version of the code includes the debug output trace mechanism and 
3033 has a much larger code and data size.
3034
3035   Current Release:
3036     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3037     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3038   Previous Release:
3039     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3040     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3041
3042
3043 2) iASL Compiler/Disassembler and Tools:
3044
3045 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
3046 correct portable POSIX header for terminal control functions.
3047
3048 Disassembler: Fixed control method invocation issues related to the use 
3049 of the CondRefOf() operator. The problem is seen in the disassembly where 
3050 control method invocations may not be disassembled properly if the 
3051 control method name has been used previously as an argument to CondRefOf. 
3052 The solution is to not attempt to emit an external declaration for the 
3053 CondRefOf target (it is not necessary in the first place). This prevents 
3054 disassembler object type confusion. ACPICA BZ 988.
3055
3056 Unix Makefiles: Added an option to disable compiler optimizations and the 
3057 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
3058 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
3059 command line option for make (NOOPT) that disables all compiler 
3060 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
3061 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
3062 1034. Lv Zheng, Bob Moore.
3063
3064 Tests/ASLTS: Added options to specify individual test cases and modes. 
3065 This allows testers running aslts.sh to optionally specify individual 
3066 test modes and test cases. Also added an option to disable the forced 
3067 generation of the ACPICA tools from source if desired. Lv Zheng.
3068
3069 ----------------------------------------
3070 27 September 2013. Summary of changes for version 20130927:
3071
3072 This release is available at https://acpica.org/downloads
3073
3074
3075 1) ACPICA kernel-resident subsystem:
3076
3077 Fixed a problem with store operations to reference objects. This change 
3078 fixes a problem where a Store operation to an ArgX object that contained 
3079
3080 reference to a field object did not complete the automatic dereference 
3081 and 
3082 then write to the actual field object. Instead, the object type of the 
3083 field object was inadvertently changed to match the type of the source 
3084 operand. The new behavior will actually write to the field object (buffer 
3085 field or field unit), thus matching the correct ACPI-defined behavior.
3086
3087 Implemented support to allow the host to redefine individual OSL 
3088 prototypes. This change enables the host to redefine OSL prototypes found 
3089 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
3090 with a macro or inlined function. Further, it allows the host to add any 
3091 additional required modifiers such as __iomem, __init, __exit, etc., as 
3092 necessary on a per-interface basis. Enables maximum flexibility for the 
3093 OSL interfaces. Lv Zheng.
3094
3095 Hardcoded the access width for the FADT-defined reset register. The ACPI 
3096 specification requires the reset register width to be 8 bits. ACPICA now 
3097 hardcodes the width to 8 and ignores the FADT width value. This provides 
3098 compatibility with other ACPI implementations that have allowed BIOS code 
3099 with bad register width values to go unnoticed. Matthew Garett, Bob 
3100 Moore, 
3101 Lv Zheng.
3102
3103 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
3104 used 
3105 in the OSL header (acpiosxf). The change modifies the position of this 
3106 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
3107 build issues if the OSL defines the implementation of the interface to be 
3108 an inline stub function. Lv Zheng.
3109
3110 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
3111 initialization interfaces. This change adds a new macro for the main init 
3112 and terminate external interfaces in order to support hosts that require 
3113 additional or different processing for these functions. Changed from 
3114 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
3115 Zheng, Bob Moore.
3116
3117 Cleaned up the memory allocation macros for configurability. In the 
3118 common 
3119 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
3120 respective AcpiOs* OSL interfaces. Two options:
3121 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
3122 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
3123 2) For AcpiExec (and for debugging), the macros can optionally be 
3124 resolved 
3125 to the local ACPICA interfaces that track each allocation (local tracking 
3126 is used to immediately detect memory leaks).
3127 Lv Zheng.
3128
3129 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
3130 to predefine this macro to either TRUE or FALSE during the system build.
3131
3132 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
3133
3134 Example Code and Data Size: These are the sizes for the OS-independent 
3135 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3136 debug version of the code includes the debug output trace mechanism and 
3137 has a much larger code and data size.
3138
3139   Current Release:
3140     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3141     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3142   Previous Release:
3143     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3144     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3145
3146
3147 2) iASL Compiler/Disassembler and Tools:
3148
3149 iASL: Implemented wildcard support for the -e option. This simplifies use 
3150 when there are many SSDTs that must be included to resolve external 
3151 method 
3152 declarations. ACPICA BZ 1041. Example:
3153     iasl -e ssdt*.dat -d dsdt.dat
3154
3155 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
3156 adds a portable module that implements full history and limited line 
3157 editing for Unix and Linux systems. It does not use readline() due to 
3158 portability issues. Instead it uses the POSIX termio interface to put the 
3159 terminal in raw input mode so that the various special keys can be 
3160 trapped 
3161 (such as up/down-arrow for history support and left/right-arrow for line 
3162 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
3163
3164 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
3165 one or more spaces. This provides compatible with early or different 
3166 versions of the AcpiDump utility. ACPICA BZ 1044.
3167
3168 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
3169 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
3170 no other data. This change adds support to dump these tables. Any tables 
3171 shorter than the length of an ACPI table header remain in error (an error 
3172 message is emitted). Reported by Yi Li.
3173
3174 Debugger: Echo actual command along with the "unknown command" message.
3175
3176 ----------------------------------------
3177 23 August 2013. Summary of changes for version 20130823:
3178
3179 1) ACPICA kernel-resident subsystem:
3180
3181 Implemented support for host-installed System Control Interrupt (SCI) 
3182 handlers. Certain ACPI functionality requires the host to handle raw 
3183 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
3184 state support requires the host device driver to handle SCIs to examine 
3185 if the doorbell has been activated. Multiple SCI handlers can be 
3186 installed to allow for future expansion. New external interfaces are 
3187 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
3188 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
3189
3190 Operation region support: Never locally free the handler "context" 
3191 pointer. This change removes some dangerous code that attempts to free 
3192 the handler context pointer in some (rare) circumstances. The owner of 
3193 the handler owns this pointer and the ACPICA code should never touch it. 
3194 Although not seen to be an issue in any kernel, it did show up as a 
3195 problem (fault) under AcpiExec. Also, set the internal storage field for 
3196 the context pointer to zero when the region is deactivated, simply for 
3197 sanity. David Box. ACPICA BZ 1039.
3198
3199 AcpiRead: On error, do not modify the return value target location. If an 
3200 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
3201 modify the target of the return value pointer. Makes the code consistent 
3202 with the rest of ACPICA. Bjorn Helgaas.
3203
3204 Example Code and Data Size: These are the sizes for the OS-independent 
3205 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3206 debug version of the code includes the debug output trace mechanism and 
3207 has a much larger code and data size.
3208
3209   Current Release:
3210     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3211     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3212   Previous Release:
3213     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3214     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
3215
3216
3217 2) iASL Compiler/Disassembler and Tools:
3218
3219 AcpiDump: Implemented several new features and fixed some problems:
3220 1) Added support to dump the RSDP, RSDT, and XSDT tables.
3221 2) Added support for multiple table instances (SSDT, UEFI).
3222 3) Added option to dump "customized" (overridden) tables (-c).
3223 4) Fixed a problem where some table filenames were improperly 
3224 constructed.
3225 5) Improved some error messages, removed some unnecessary messages.
3226
3227 iASL: Implemented additional support for disassembly of ACPI tables that 
3228 contain invocations of external control methods. The -fe<file> option 
3229 allows the import of a file that specifies the external methods along 
3230 with the required number of arguments for each -- allowing for the 
3231 correct disassembly of the table. This is a workaround for a limitation 
3232 of AML code where the disassembler often cannot determine the number of 
3233 arguments required for an external control method and generates incorrect 
3234 ASL code. See the iASL reference for details. ACPICA BZ 1030.
3235
3236 Debugger: Implemented a new command (paths) that displays the full 
3237 pathnames (namepaths) and object types of all objects in the namespace. 
3238 This is an alternative to the namespace command.
3239
3240 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
3241 mechanism and any installed handlers.
3242
3243 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
3244 This can occur if there are too many parent prefixes in a namepath (for 
3245 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3246
3247 Application OSLs: Set the return value for the PCI read functions. These 
3248 functions simply return AE_OK, but should set the return value to zero 
3249 also. This change implements this. ACPICA BZ 1038.
3250
3251 Debugger: Prevent possible command line buffer overflow. Increase the 
3252 size of a couple of the debugger line buffers, and ensure that overflow 
3253 cannot happen. ACPICA BZ 1037.
3254
3255 iASL: Changed to abort immediately on serious errors during the parsing 
3256 phase. Due to the nature of ASL, there is no point in attempting to 
3257 compile these types of errors, and they typically end up causing a 
3258 cascade of hundreds of errors which obscure the original problem.
3259
3260 ----------------------------------------
3261 25 July 2013. Summary of changes for version 20130725:
3262
3263 1) ACPICA kernel-resident subsystem:
3264
3265 Fixed a problem with the DerefOf operator where references to FieldUnits 
3266 and BufferFields incorrectly returned the parent object, not the actual 
3267 value of the object. After this change, a dereference of a FieldUnit 
3268 reference results in a read operation on the field to get the value, and 
3269 likewise, the appropriate BufferField value is extracted from the target 
3270 buffer.
3271
3272 Fixed a problem where the _WAK method could cause a fault under these 
3273 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
3274 method returned no value. The problem is rarely seen because most kernels 
3275 run ACPICA in slack mode.
3276
3277 For the DerefOf operator, a fatal error now results if an attempt is made 
3278 to dereference a reference (created by the Index operator) to a NULL 
3279 package element. Provides compatibility with other ACPI implementations, 
3280 and this behavior will be added to a future version of the ACPI 
3281 specification.
3282
3283 The ACPI Power Management Timer (defined in the FADT) is now optional. 
3284 This provides compatibility with other ACPI implementations and will 
3285 appear in the next version of the ACPI specification. If there is no PM 
3286 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
3287 zero in the FADT indicates no PM timer.
3288
3289 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
3290 allows the host to globally enable/disable all vendor strings, all 
3291 feature strings, or both. Intended to be primarily used for debugging 
3292 purposes only. Lv Zheng.
3293
3294 Expose the collected _OSI data to the host via a global variable. This 
3295 data tracks the highest level vendor ID that has been invoked by the BIOS 
3296 so that the host (and potentially ACPICA itself) can change behaviors 
3297 based upon the age of the BIOS.
3298
3299 Example Code and Data Size: These are the sizes for the OS-independent 
3300 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3301 debug version of the code includes the debug output trace mechanism and 
3302 has a much larger code and data size.
3303
3304   Current Release:
3305     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3306     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3307   Previous Release:
3308     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3309     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3310
3311
3312 2) iASL Compiler/Disassembler and Tools:
3313
3314 iASL: Created the following enhancements for the -so option (create 
3315 offset table):
3316 1)Add offsets for the last nameseg in each namepath for every supported 
3317 object type
3318 2)Add support for Processor, Device, Thermal Zone, and Scope objects
3319 3)Add the actual AML opcode for the parent object of every supported 
3320 object type
3321 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
3322
3323 Disassembler: Emit all unresolved external symbols in a single block. 
3324 These are external references to control methods that could not be 
3325 resolved, and thus, the disassembler had to make a guess at the number of 
3326 arguments to parse.
3327
3328 iASL: The argument to the -T option (create table template) is now 
3329 optional. If not specified, the default table is a DSDT, typically the 
3330 most common case.
3331
3332 ----------------------------------------
3333 26 June 2013. Summary of changes for version 20130626:
3334
3335 1) ACPICA kernel-resident subsystem:
3336
3337 Fixed an issue with runtime repair of the _CST object. Null or invalid 
3338 elements were not always removed properly. Lv Zheng. 
3339
3340 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
3341 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
3342 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
3343 makes the system-wide number of GPEs essentially unlimited.
3344
3345 Example Code and Data Size: These are the sizes for the OS-independent 
3346 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3347 debug version of the code includes the debug output trace mechanism and 
3348 has a much larger code and data size.
3349
3350   Current Release:
3351     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3352     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3353   Previous Release:
3354     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3355     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3356
3357
3358 2) iASL Compiler/Disassembler and Tools:
3359
3360 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
3361 hosts. Now supports Linux, FreeBSD, and Windows.
3362
3363 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
3364 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
3365
3366 iASL/Preprocessor: Implemented full support for nested 
3367 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
3368
3369 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
3370 max. The original purpose of this constraint was to limit the amount of 
3371 debug output. However, the string function in question (UtPrintString) is 
3372 now used for the disassembler also, where 256 bytes is insufficient. 
3373 Reported by RehabMan@GitHub.
3374
3375 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
3376 tables. ACPICA BZ 999. Lv Zheng.
3377
3378 iASL: Fixed a couple of error exit issues that could result in a "Could 
3379 not delete <file>" message during ASL compilation.
3380
3381 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
3382 the actual signatures for these tables are "FACP" and "APIC", 
3383 respectively.
3384
3385 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
3386 tables are allowed to have multiple instances.
3387
3388 ----------------------------------------
3389 17 May 2013. Summary of changes for version 20130517:
3390
3391 1) ACPICA kernel-resident subsystem:
3392
3393 Fixed a regression introduced in version 20130328 for _INI methods. This 
3394 change fixes a problem introduced in 20130328 where _INI methods are no 
3395 longer executed properly because of a memory block that was not 
3396 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
3397 <tomasz.nowicki@linaro.org>.
3398
3399 Fixed a possible problem with the new extended sleep registers in the 
3400 ACPI 
3401 5.0 FADT. Do not use these registers (even if populated) unless the HW-
3402 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
3403 1020. Lv Zheng.
3404
3405 Implemented return value repair code for _CST predefined objects: Sort 
3406 the 
3407 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
3408
3409 Implemented a debug-only option to disable loading of SSDTs from the 
3410 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
3411 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
3412 acglobal.h - ACPICA BZ 1005. Lv Zheng.
3413
3414 Fixed some issues in the ACPICA initialization and termination code: 
3415 Tomasz Nowicki <tomasz.nowicki@linaro.org>
3416 1) Clear events initialized flag upon event component termination. ACPICA 
3417 BZ 1013.
3418 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
3419 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
3420 4) Clear debug buffer global on termination to prevent possible multiple 
3421 delete. ACPICA BZ 1010.
3422
3423 Standardized all switch() blocks across the entire source base. After 
3424 many 
3425 years, different formatting for switch() had crept in. This change makes 
3426 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
3427
3428 Split some files to enhance ACPICA modularity and configurability:
3429 1) Split buffer dump routines into utilities/utbuffer.c
3430 2) Split internal error message routines into utilities/uterror.c
3431 3) Split table print utilities into tables/tbprint.c
3432 4) Split iASL command-line option processing into asloptions.c
3433
3434 Makefile enhancements:
3435 1) Support for all new files above.
3436 2) Abort make on errors from any subcomponent. Chao Guan.
3437 3) Add build support for Apple Mac OS X. Liang Qi.
3438
3439 Example Code and Data Size: These are the sizes for the OS-independent 
3440 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3441 debug version of the code includes the debug output trace mechanism and 
3442 has a much larger code and data size.
3443
3444   Current Release:
3445     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3446     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3447   Previous Release:
3448     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3449     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3450
3451
3452 2) iASL Compiler/Disassembler and Tools:
3453
3454 New utility: Implemented an easily portable version of the acpidump 
3455 utility to extract ACPI tables from the system (or a file) in an ASCII 
3456 hex 
3457 dump format. The top-level code implements the various command line 
3458 options, file I/O, and table dump routines. To port to a new host, only 
3459 three functions need to be implemented to get tables -- since this 
3460 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
3461 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
3462 1) The Windows version obtains the ACPI tables from the Registry.
3463 2) The Linux version is under development.
3464 3) Other hosts - If an OS-dependent module is submitted, it will be 
3465 distributed with ACPICA.
3466
3467 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
3468 restructuring/change to the initialization sequence caused this option to 
3469 no longer work properly.
3470
3471 iASL: Implemented a mechanism to disable specific warnings and remarks. 
3472 Adds a new command line option, "-vw <messageid> as well as "#pragma 
3473 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
3474
3475 iASL: Fix for too-strict package object validation. The package object 
3476 validation for return values from the predefined names is a bit too 
3477 strict, it does not allow names references within the package (which will 
3478 be resolved at runtime.) These types of references cannot be validated at 
3479 compile time. This change ignores named references within package objects 
3480 for names that return or define static packages.
3481
3482 Debugger: Fixed the 80-character command line limitation for the History 
3483 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
3484
3485 iASL: Added control method and package support for the -so option 
3486 (generates AML offset table for BIOS support.)
3487
3488 iASL: issue a remark if a non-serialized method creates named objects. If 
3489 a thread blocks within the method for any reason, and another thread 
3490 enters the method, the method will fail because an attempt will be made 
3491 to 
3492 create the same (named) object twice. In this case, issue a remark that 
3493 the method should be marked serialized. NOTE: may become a warning later. 
3494 ACPICA BZ 909.
3495
3496 ----------------------------------------
3497 18 April 2013. Summary of changes for version 20130418:
3498
3499 1) ACPICA kernel-resident subsystem:
3500
3501 Fixed a possible buffer overrun during some rare but specific field unit 
3502 read operations. This overrun can only happen if the DSDT version is 1 -- 
3503 meaning that all AML integers are 32 bits -- and the field length is 
3504 between 33 and 55 bits long. During the read, an internal buffer object 
3505 is 
3506 created for the field unit because the field is larger than an integer 
3507 (32 
3508 bits). However, in this case, the buffer will be incorrectly written 
3509 beyond the end because the buffer length is less than the internal 
3510 minimum 
3511 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
3512 long, but a full 8 bytes will be written.
3513
3514 Updated the Embedded Controller "orphan" _REG method support. This refers 
3515 to _REG methods under the EC device that have no corresponding operation 
3516 region. This is allowed by the ACPI specification. This update removes a 
3517 dependency on the existence an ECDT table. It will execute an orphan _REG 
3518 method as long as the operation region handler for the EC is installed at 
3519 the EC device node and not the namespace root. Rui Zhang (original 
3520 update), Bob Moore (update/integrate).
3521
3522 Implemented run-time argument typechecking for all predefined ACPI names 
3523 (_STA, _BIF, etc.) This change performs object typechecking on all 
3524 incoming arguments for all predefined names executed via 
3525 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
3526 passing correct object types as well as the correct number of arguments 
3527 (therefore identifying any issues immediately). Also, the ASL/namespace 
3528 definition of the predefined name is checked against the ACPI 
3529 specification for the proper argument count. Adds one new file, 
3530 nsarguments.c
3531
3532 Changed an exception code for the ASL UnLoad() operator. Changed the 
3533 exception code for the case where the input DdbHandle is invalid, from 
3534 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
3535
3536 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
3537 global makefile. The use of this flag causes compiler errors on earlier 
3538 versions of GCC, so it has been removed for compatibility.
3539
3540 Miscellaneous cleanup:
3541 1) Removed some unused/obsolete macros
3542 2) Fixed a possible memory leak in the _OSI support
3543 3) Removed an unused variable in the predefined name support
3544 4) Windows OSL: remove obsolete reference to a memory list field
3545
3546 Example Code and Data Size: These are the sizes for the OS-independent 
3547 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3548 debug version of the code includes the debug output trace mechanism and 
3549 has a much larger code and data size.
3550
3551   Current Release:
3552     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3553     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3554   Previous Release:
3555     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3556     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3557
3558
3559 2) iASL Compiler/Disassembler and Tools:
3560
3561 AcpiExec: Added installation of a handler for the SystemCMOS address 
3562 space. This prevents control method abort if a method accesses this 
3563 space.
3564
3565 AcpiExec: Added support for multiple EC devices, and now install EC 
3566 operation region handler(s) at the actual EC device instead of the 
3567 namespace root. This reflects the typical behavior of host operating 
3568 systems.
3569
3570 AcpiExec: Updated to ensure that all operation region handlers are 
3571 installed before the _REG methods are executed. This prevents a _REG 
3572 method from aborting if it accesses an address space has no handler. 
3573 AcpiExec installs a handler for every possible address space.
3574
3575 Debugger: Enhanced the "handlers" command to display non-root handlers. 
3576 This change enhances the handlers command to display handlers associated 
3577 with individual devices throughout the namespace, in addition to the 
3578 currently supported display of handlers associated with the root 
3579 namespace 
3580 node.
3581
3582 ASL Test Suite: Several test suite errors have been identified and 
3583 resolved, reducing the total error count during execution. Chao Guan.
3584
3585 ----------------------------------------
3586 28 March 2013. Summary of changes for version 20130328:
3587
3588 1) ACPICA kernel-resident subsystem:
3589
3590 Fixed several possible race conditions with the internal object reference 
3591 counting mechanism. Some of the external ACPICA interfaces update object 
3592 reference counts without holding the interpreter or namespace lock. This 
3593 change adds a spinlock to protect reference count updates on the internal 
3594 ACPICA objects. Reported by and with assistance from Andriy Gapon 
3595 (avg@FreeBSD.org).
3596
3597 FADT support: Removed an extraneous warning for very large GPE register 
3598 sets. This change removes a size mismatch warning if the legacy length 
3599 field for a GPE register set is larger than the 64-bit GAS structure can 
3600 accommodate. GPE register sets can be larger than the 255-bit width 
3601 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
3602
3603 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
3604 return from this interface. Handles a possible timeout case if 
3605 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
3606 "forever". Jung-uk Kim.
3607
3608 Predefined name support: Add allowed/required argument type information 
3609 to 
3610 the master predefined info table. This change adds the infrastructure to 
3611 enable typechecking on incoming arguments for all predefined 
3612 methods/objects. It does not actually contain the code that will fully 
3613 utilize this information, this is still under development. Also condenses 
3614 some duplicate code for the predefined names into a new module, 
3615 utilities/utpredef.c
3616
3617 Example Code and Data Size: These are the sizes for the OS-independent 
3618 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3619 debug version of the code includes the debug output trace mechanism and 
3620 has a much larger code and data size.
3621
3622   Previous Release:
3623     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3624     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3625   Current Release:
3626     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3627     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3628
3629
3630 2) iASL Compiler/Disassembler and Tools:
3631
3632 iASL: Implemented a new option to simplify the development of ACPI-
3633 related 
3634 BIOS code. Adds support for a new "offset table" output file. The -so 
3635 option will create a C table containing the AML table offsets of various 
3636 named objects in the namespace so that BIOS code can modify them easily 
3637 at 
3638 boot time. This can simplify BIOS runtime code by eliminating expensive 
3639 searches for "magic values", enhancing boot times and adding greater 
3640 reliability. With assistance from Lee Hamel.
3641
3642 iASL: Allow additional predefined names to return zero-length packages. 
3643 Now, all predefined names that are defined by the ACPI specification to 
3644 return a "variable-length package of packages" are allowed to return a 
3645 zero length top-level package. This allows the BIOS to tell the host that 
3646 the requested feature is not supported, and supports existing BIOS/ASL 
3647 code and practices.
3648
3649 iASL: Changed the "result not used" warning to an error. This is the case 
3650 where an ASL operator is effectively a NOOP because the result of the 
3651 operation is not stored anywhere. For example:
3652     Add (4, Local0)
3653 There is no target (missing 3rd argument), nor is the function return 
3654 value used. This is potentially a very serious problem -- since the code 
3655 was probably intended to do something, but for whatever reason, the value 
3656 was not stored. Therefore, this issue has been upgraded from a warning to 
3657 an error.
3658
3659 AcpiHelp: Added allowable/required argument types to the predefined names 
3660 info display. This feature utilizes the recent update to the predefined 
3661 names table (above).
3662
3663 ----------------------------------------
3664 14 February 2013. Summary of changes for version 20130214:
3665
3666 1) ACPICA Kernel-resident Subsystem:
3667
3668 Fixed a possible regression on some hosts: Reinstated the safe return 
3669 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
3670 evaluated only once. Although these macros are not needed for the ACPICA 
3671 code itself, they are often used by ACPI-related host device drivers 
3672 where 
3673 the safe feature may be necessary.
3674
3675 Fixed several issues related to the ACPI 5.0 reduced hardware support 
3676 (SOC): Now ensure that if the platform declares itself as hardware-
3677 reduced 
3678 via the FADT, the following functions become NOOPs (and always return 
3679 AE_OK) because ACPI is always enabled by definition on these machines:
3680   AcpiEnable
3681   AcpiDisable
3682   AcpiHwGetMode
3683   AcpiHwSetMode
3684
3685 Dynamic Object Repair: Implemented additional runtime repairs for 
3686 predefined name return values. Both of these repairs can simplify code in 
3687 the related device drivers that invoke these methods:
3688 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
3689 string to a Unicode buffer. 
3690 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
3691
3692 lone end tag descriptor in the following cases: A Return(0) was executed, 
3693 a null buffer was returned, or no object at all was returned (non-slack 
3694 mode only). Adds a new file, nsconvert.c
3695 ACPICA BZ 998. Bob Moore, Lv Zheng.
3696
3697 Resource Manager: Added additional code to prevent possible infinite 
3698 loops 
3699 while traversing corrupted or ill-formed resource template buffers. Check 
3700 for zero-length resource descriptors in all code that loops through 
3701 resource templates (the length field is used to index through the 
3702 template). This change also hardens the external AcpiWalkResources and 
3703 AcpiWalkResourceBuffer interfaces.
3704
3705 Local Cache Manager: Enhanced the main data structure to eliminate an 
3706 unnecessary mechanism to access the next object in the list. Actually 
3707 provides a small performance enhancement for hosts that use the local 
3708 ACPICA cache manager. Jung-uk Kim.
3709
3710 Example Code and Data Size: These are the sizes for the OS-independent 
3711 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3712 debug version of the code includes the debug output trace mechanism and 
3713 has a much larger code and data size.
3714
3715   Previous Release:
3716     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
3717     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
3718   Current Release:
3719     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3720     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3721
3722
3723 2) iASL Compiler/Disassembler and Tools:
3724
3725 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
3726 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
3727 that were made to the ACPI 5.0 specification.
3728
3729 iASL/Disassembler: Added full support for the following new ACPI tables:
3730   1) The MTMR table (MID Timer Table)
3731   2) The VRTC table (Virtual Real Time Clock Table).
3732 Includes header file, disassembler, table compiler, and template support 
3733 for both tables.
3734
3735 iASL: Implemented compile-time validation of package objects returned by 
3736 predefined names. This new feature validates static package objects 
3737 returned by the various predefined names defined to return packages. Both 
3738 object types and package lengths are validated, for both parent packages 
3739 and sub-packages, if any. The code is similar in structure and behavior 
3740 to 
3741 the runtime repair mechanism within the AML interpreter and uses the 
3742 existing predefined name information table. Adds a new file, aslprepkg.c. 
3743 ACPICA BZ 938.
3744
3745 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
3746 This feature detects a binary file with a valid ACPI table header and 
3747 invokes the disassembler automatically. Eliminates the need to 
3748 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
3749
3750 iASL/Disassembler: Added several warnings for the case where there are 
3751 unresolved control methods during the disassembly. This can potentially 
3752 cause errors when the output file is compiled, because the disassembler 
3753 assumes zero method arguments in these cases (it cannot determine the 
3754 actual number of arguments without resolution/definition of the method).
3755
3756 Debugger: Added support to display all resources with a single command. 
3757 Invocation of the resources command with no arguments will now display 
3758 all 
3759 resources within the current namespace.
3760
3761 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
3762 via the -e option.
3763
3764 ----------------------------------------
3765 17 January 2013. Summary of changes for version 20130117:
3766
3767 1) ACPICA Kernel-resident Subsystem:
3768
3769 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
3770 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
3771 objects to return a package containing one integer, most BIOS code 
3772 returns 
3773 two integers and the previous code reflects that. However, we also need 
3774 to 
3775 support BIOS code that actually implements to the ACPI spec, and this 
3776 change reflects this.
3777
3778 Fixed two issues with the ACPI_DEBUG_PRINT macros:
3779 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
3780 C compilers that require this support.
3781 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
3782 ACPI_DEBUG is already used by many of the various hosts.
3783
3784 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
3785 copyright to all module headers and signons, including the standard Linux 
3786 header. This affects virtually every file in the ACPICA core subsystem, 
3787 iASL compiler, all ACPICA utilities, and the test suites.
3788
3789 Example Code and Data Size: These are the sizes for the OS-independent 
3790 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3791 debug version of the code includes the debug output trace mechanism and 
3792 has a much larger code and data size.
3793
3794   Previous Release:
3795     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
3796     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
3797   Current Release:
3798     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
3799     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
3800
3801
3802 2) iASL Compiler/Disassembler and Tools:
3803
3804 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
3805 prevent a possible fault on some hosts. Some C libraries modify the arg 
3806 pointer parameter to vfprintf making it difficult to call it twice in the 
3807 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
3808 does not affect the Windows OSL since the Win C library does not modify 
3809 the arg pointer. Chao Guan, Bob Moore.
3810
3811 iASL: Fixed a possible infinite loop when the maximum error count is 
3812 reached. If an output file other than the .AML file is specified (such as 
3813 a listing file), and the maximum number of errors is reached, do not 
3814 attempt to flush data to the output file(s) as the compiler is aborting. 
3815 This can cause an infinite loop as the max error count code essentially 
3816 keeps calling itself.
3817
3818 iASL/Disassembler: Added an option (-in) to ignore NOOP 
3819 opcodes/operators. 
3820 Implemented for both the compiler and the disassembler. Often, the NOOP 
3821 opcode is used as padding for packages that are changed dynamically by 
3822 the 
3823 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
3824 errors. This option causes the disassembler to ignore all NOOP opcodes 
3825 (0xA3), and it also causes the compiler to ignore all ASL source code 
3826 NOOP 
3827 statements as well.
3828
3829 Debugger: Enhanced the Sleep command to execute all sleep states. This 
3830 change allows Sleep to be invoked with no arguments and causes the 
3831 debugger to execute all of the sleep states, 0-5, automatically.
3832
3833 ----------------------------------------
3834 20 December 2012. Summary of changes for version 20121220:
3835
3836 1) ACPICA Kernel-resident Subsystem:
3837
3838 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
3839 alternate entry point for AcpiWalkResources and improves the usability of 
3840 the resource manager by accepting as input a buffer containing the output 
3841 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
3842 input buffer is not deleted by this interface so that it can be used by 
3843 the host later. See the ACPICA reference for details.
3844
3845 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
3846 (DSDT version < 2). The constant will be truncated and this warning 
3847 reflects that behavior.
3848
3849 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
3850 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
3851 both get and set the new wake bit in these descriptors, separately from 
3852 the existing share bit. Reported by Aaron Lu.
3853
3854 Interpreter: Fix Store() when an implicit conversion is not possible. For 
3855 example, in the cases such as a store of a string to an existing package 
3856 object, implement the store as a CopyObject(). This is a small departure 
3857 from the ACPI specification which states that the control method should 
3858 be 
3859 aborted in this case. However, the ASLTS suite depends on this behavior.
3860
3861 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
3862 macros: check if debug output is currently enabled as soon as possible to 
3863 minimize performance impact if debug is in fact not enabled.
3864
3865 Source code restructuring: Cleanup to improve modularity. The following 
3866 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
3867 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
3868 Associated makefiles and project files have been updated.
3869
3870 Changed an exception code for LoadTable operator. For the case where one 
3871 of the input strings is too long, change the returned exception code from 
3872 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
3873
3874 Fixed a possible memory leak in dispatcher error path. On error, delete 
3875 the mutex object created during method mutex creation. Reported by 
3876 tim.gardner@canonical.com.
3877
3878 Example Code and Data Size: These are the sizes for the OS-independent 
3879 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3880 debug version of the code includes the debug output trace mechanism and 
3881 has a much larger code and data size.
3882
3883   Previous Release:
3884     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
3885     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3886   Current Release:
3887     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
3888     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
3889
3890
3891 2) iASL Compiler/Disassembler and Tools:
3892
3893 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
3894 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
3895 will not allow the interpreter to differentiate between a method and a 
3896 method invocation when these are used as an argument to the ObjectType 
3897 operator. The ACPI specification change is to disallow a method 
3898 invocation 
3899 (UserTerm) for the ObjectType operator.
3900
3901 Finish support for the TPM2 and CSRT tables in the headers, table 
3902 compiler, and disassembler.
3903
3904 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
3905 always expires immediately if the semaphore is not available. The 
3906 original 
3907 code was using a relative-time timeout, but sem_timedwait requires the 
3908 use 
3909 of an absolute time.
3910
3911 iASL: Added a remark if the Timer() operator is used within a 32-bit 
3912 table. This operator returns a 64-bit time value that will be truncated 
3913 within a 32-bit table.
3914
3915 iASL Source code restructuring: Cleanup to improve modularity. The 
3916 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
3917 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
3918 been updated.
3919
3920
3921 ----------------------------------------
3922 14 November 2012. Summary of changes for version 20121114:
3923
3924 1) ACPICA Kernel-resident Subsystem:
3925
3926 Implemented a performance enhancement for ACPI/AML Package objects. This 
3927 change greatly increases the performance of Package objects within the 
3928 interpreter. It changes the processing of reference counts for packages 
3929 by 
3930 optimizing for the most common case where the package sub-objects are 
3931 either Integers, Strings, or Buffers. Increases the overall performance 
3932 of 
3933 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
3934 2X.) 
3935 Chao Guan. ACPICA BZ 943.
3936
3937 Implemented and deployed common macros to extract flag bits from resource 
3938 descriptors. Improves readability and maintainability of the code. Fixes 
3939
3940 problem with the UART serial bus descriptor for the number of data bits 
3941 flags (was incorrectly 2 bits, should be 3).
3942
3943 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
3944 of the macros and changed the SETx macros to the style of (destination, 
3945 source). Also added ACPI_CASTx companion macros. Lv Zheng.
3946
3947 Example Code and Data Size: These are the sizes for the OS-independent 
3948 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3949 debug version of the code includes the debug output trace mechanism and 
3950 has a much larger code and data size.
3951
3952   Previous Release:
3953     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
3954     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3955   Current Release:
3956     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
3957     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3958
3959
3960 2) iASL Compiler/Disassembler and Tools:
3961
3962 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
3963 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
3964 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
3965
3966 Disassembler: Fixed a problem with external declaration generation. Fixes 
3967 a problem where an incorrect pathname could be generated for an external 
3968 declaration if the original reference to the object includes leading 
3969 carats (^). ACPICA BZ 984.
3970
3971 Debugger: Completed a major update for the Disassemble<method> command. 
3972 This command was out-of-date and did not properly disassemble control 
3973 methods that had any reasonable complexity. This fix brings the command 
3974 up 
3975 to the same level as the rest of the disassembler. Adds one new file, 
3976 dmdeferred.c, which is existing code that is now common with the main 
3977 disassembler and the debugger disassemble command. ACPICA MZ 978.
3978
3979 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
3980 Newer versions of Bison emit this prototype, so moved the prototype out 
3981 of 
3982 the iASL header to where it is actually used in order to avoid a 
3983 duplicate 
3984 declaration.
3985
3986 iASL/Tools: Standardized use of the stream I/O functions:
3987   1) Ensure check for I/O error after every fopen/fread/fwrite
3988   2) Ensure proper order of size/count arguments for fread/fwrite
3989   3) Use test of (Actual != Requested) after all fwrite, and most fread
3990   4) Standardize I/O error messages
3991 Improves reliability and maintainability of the code. Bob Moore, Lv 
3992 Zheng. 
3993 ACPICA BZ 981.
3994
3995 Disassembler: Prevent duplicate External() statements. During generation 
3996 of external statements, detect similar pathnames that are actually 
3997 duplicates such as these:
3998   External (\ABCD)
3999   External (ABCD)
4000 Remove all leading '\' characters from pathnames during the external 
4001 statement generation so that duplicates will be detected and tossed. 
4002 ACPICA BZ 985.
4003
4004 Tools: Replace low-level I/O with stream I/O functions. Replace 
4005 open/read/write/close with the stream I/O equivalents 
4006 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
4007 Moore.
4008
4009 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
4010 name header so that AcpiXtract recognizes the output file/table.
4011
4012 iASL: Remove obsolete -2 option flag. Originally intended to force the 
4013 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
4014 and the entire concept is now obsolete.
4015
4016 ----------------------------------------
4017 18 October 2012. Summary of changes for version 20121018:
4018
4019
4020 1) ACPICA Kernel-resident Subsystem:
4021
4022 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
4023 introduced by late changes to the table as it was added to the ACPI 5.0 
4024 specification. Includes header, disassembler, and data table compiler 
4025 support as well as a new version of the MPST template.
4026
4027 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
4028 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
4029 methods: _HID, _CID, and _UID.
4030
4031 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
4032 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
4033 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
4034 names for their various drivers. Affects the AcpiGetObjectInfo external 
4035 interface, and other internal interfaces as well.
4036
4037 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
4038 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
4039 on machines that support non-aligned transfers. Optimizes for this case 
4040 rather than using a strncpy. With assistance from Zheng Lv.
4041
4042 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
4043 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
4044
4045 Added a new debug print message for AML mutex objects that are force-
4046 released. At control method termination, any currently acquired mutex 
4047 objects are force-released. Adds a new debug-only message for each one 
4048 that is released.
4049
4050 Audited/updated all ACPICA return macros and the function debug depth 
4051 counter: 1) Ensure that all functions that use the various TRACE macros 
4052 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
4053 return statements surround the return expression (value) with parens to 
4054 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
4055 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
4056
4057 Global source code changes/maintenance: All extra lines at the start and 
4058 end of each source file have been removed for consistency. Also, within 
4059 comments, all new sentences start with a single space instead of a double 
4060 space, again for consistency across the code base.
4061
4062 Example Code and Data Size: These are the sizes for the OS-independent 
4063 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4064 debug version of the code includes the debug output trace mechanism and 
4065 has a much larger code and data size.
4066
4067   Previous Release:
4068     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4069     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4070   Current Release:
4071     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4072     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4073
4074
4075 2) iASL Compiler/Disassembler and Tools:
4076
4077 AcpiExec: Improved the algorithm used for memory leak/corruption 
4078 detection. Added some intelligence to the code that maintains the global 
4079 list of allocated memory. The list is now ordered by allocated memory 
4080 address, significantly improving performance. When running AcpiExec on 
4081 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
4082 on the platform and/or the environment. Note, this performance 
4083 enhancement affects the AcpiExec utility only, not the kernel-resident 
4084 ACPICA code.
4085
4086 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
4087 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
4088 incorrect table offset reported for invalid opcodes. Report the original 
4089 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
4090
4091 Disassembler: Enhanced the -vt option to emit the binary table data in 
4092 hex format to assist with debugging.
4093
4094 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
4095 size of file structure. Colin Ian King.
4096
4097 ----------------------------------------
4098 13 September 2012. Summary of changes for version 20120913:
4099
4100
4101 1) ACPICA Kernel-resident Subsystem:
4102
4103 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
4104 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
4105 and 
4106 MCE(6).
4107  
4108 Table Manager: Merged/removed duplicate code in the root table resize 
4109 functions. One function is external, the other is internal. Lv Zheng, 
4110 ACPICA 
4111 BZ 846.
4112
4113 Makefiles: Completely removed the obsolete "Linux" makefiles under 
4114 acpica/generate/linux. These makefiles are obsolete and have been 
4115 replaced 
4116 by 
4117 the generic unix makefiles under acpica/generate/unix.
4118
4119 Makefiles: Ensure that binary files always copied properly. Minor rule 
4120 change 
4121 to ensure that the final binary output files are always copied up to the 
4122 appropriate binary directory (bin32 or bin64.)
4123
4124 Example Code and Data Size: These are the sizes for the OS-independent 
4125 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4126 debug 
4127 version of the code includes the debug output trace mechanism and has a 
4128 much 
4129 larger code and data size.
4130
4131   Previous Release:
4132     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4133     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4134   Current Release:
4135     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4136     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4137
4138
4139 2) iASL Compiler/Disassembler and Tools:
4140
4141 Disassembler: Fixed a possible fault during the disassembly of resource 
4142 descriptors when a second parse is required because of the invocation of 
4143 external control methods within the table. With assistance from 
4144 adq@lidskialf.net. ACPICA BZ 976.
4145
4146 iASL: Fixed a namepath optimization problem. An error can occur if the 
4147 parse 
4148 node that contains the namepath to be optimized does not have a parent 
4149 node 
4150 that is a named object. This change fixes the problem.
4151
4152 iASL: Fixed a regression where the AML file is not deleted on errors. The 
4153 AML 
4154 output file should be deleted if there are any errors during the 
4155 compiler. 
4156 The 
4157 only exception is if the -f (force output) option is used. ACPICA BZ 974.
4158
4159 iASL: Added a feature to automatically increase internal line buffer 
4160 sizes. 
4161 Via realloc(), automatically increase the internal line buffer sizes as 
4162 necessary to support very long source code lines. The current version of 
4163 the 
4164 preprocessor requires a buffer long enough to contain full source code 
4165 lines. 
4166 This change increases the line buffer(s) if the input lines go beyond the 
4167 current buffer size. This eliminates errors that occurred when a source 
4168 code 
4169 line was longer than the buffer.
4170
4171 iASL: Fixed a problem with constant folding in method declarations. The 
4172 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
4173 if a 
4174 Type3 opcode was used.
4175
4176 Debugger: Improved command help support. For incorrect argument count, 
4177 display 
4178 full help for the command. For help command itself, allow an argument to 
4179 specify a command.
4180
4181 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
4182 errors during execution of the suite. Guan Chao.
4183
4184 ----------------------------------------
4185 16 August 2012. Summary of changes for version 20120816:
4186
4187
4188 1) ACPICA Kernel-resident Subsystem:
4189
4190 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
4191 _GTS 
4192 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
4193 deprecated and will probably be removed from the ACPI specification. 
4194 Windows 
4195 does not invoke them, and reportedly never will. The final nail in the 
4196 coffin 
4197 is that the ACPI specification states that these methods must be run with 
4198 interrupts off, which is not going to happen in a kernel interpreter. 
4199 Note: 
4200 Linux has removed all use of the methods also. It was discovered that 
4201 invoking these functions caused failures on some machines, probably 
4202 because 
4203 they were never tested since Windows does not call them. Affects two 
4204 external 
4205 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
4206 ACPICA BZ 969.
4207
4208 Implemented support for complex bit-packed buffers returned from the _PLD 
4209 (Physical Location of Device) predefined method. Adds a new external 
4210 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
4211
4212 structure. Note: C Bitfields cannot be used for this type of predefined 
4213 structure since the memory layout of individual bitfields is not defined 
4214 by 
4215 the C language. In addition, there are endian concerns where a compiler 
4216 will 
4217 change the bitfield ordering based on the machine type. The new ACPICA 
4218 interface eliminates these issues, and should be called after _PLD is 
4219 executed. ACPICA BZ 954.
4220
4221 Implemented a change to allow a scope change to root (via "Scope (\)") 
4222 during 
4223 execution of module-level ASL code (code that is executed at table load 
4224 time.) Lin Ming.
4225
4226 Added the Windows8/Server2012 string for the _OSI method. This change 
4227 adds 
4228
4229 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
4230 2012.
4231
4232 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
4233 2) 
4234 and CSRT (Core System Resource Table).
4235
4236 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
4237 names. This simplifies access to the buffers returned by these predefined 
4238 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4239
4240 GPE support: Removed an extraneous parameter from the various low-level 
4241 internal GPE functions. Tang Feng.
4242
4243 Removed the linux makefiles from the unix packages. The generate/linux 
4244 makefiles are obsolete and have been removed from the unix tarball 
4245 release 
4246 packages. The replacement makefiles are under generate/unix, and there is 
4247
4248 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4249
4250 Updates for Unix makefiles:
4251 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
4252 2) Update linker flags (move to end of command line) for AcpiExec 
4253 utility. 
4254 Guan Chao.
4255
4256 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
4257 utxface.c to improve modularity and reduce file size.
4258
4259 Example Code and Data Size: These are the sizes for the OS-independent 
4260 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4261 debug version of the code includes the debug output trace mechanism and 
4262 has a 
4263 much larger code and data size.
4264
4265   Previous Release:
4266     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4267     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4268   Current Release:
4269     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4270     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4271
4272
4273 2) iASL Compiler/Disassembler and Tools:
4274
4275 iASL: Fixed a problem with constant folding for fixed-length constant 
4276 expressions. The constant-folding code was not being invoked for constant 
4277 expressions that allow the use of type 3/4/5 opcodes to generate 
4278 constants 
4279 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
4280 result 
4281 in the generation of invalid AML bytecode. ACPICA BZ 970.
4282
4283 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
4284 apparently automatically emit some of the necessary externals. This 
4285 change 
4286 handles these versions in order to eliminate generation warnings.
4287
4288 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
4289
4290 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
4291 appears 
4292 within comments in the output file.
4293
4294 Debugger: Fixed a regression with the "Threads" command where 
4295 AE_BAD_PARAMETER was always returned.
4296
4297 ----------------------------------------
4298 11 July 2012. Summary of changes for version 20120711:
4299
4300 1) ACPICA Kernel-resident Subsystem:
4301
4302 Fixed a possible fault in the return package object repair code. Fixes a 
4303 problem that can occur when a lone package object is wrapped with an 
4304 outer 
4305 package object in order to force conformance to the ACPI specification. 
4306 Can 
4307 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
4308 _DLM, 
4309 _CSD, _PSD, _TSD.
4310
4311 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
4312 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
4313 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
4314 state 
4315 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
4316 both 
4317 Intel and other vendors. (for Intel: ICH4-M and earlier)
4318
4319 This change removes the code to disable/enable bus master arbitration 
4320 during 
4321 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
4322 causes 
4323 resume problems on some machines. The change has been in use for over 
4324 seven 
4325 years within Linux.
4326
4327 Implemented two new external interfaces to support host-directed dynamic 
4328 ACPI 
4329 table load and unload. They are intended to simplify the host 
4330 implementation 
4331 of hot-plug support:
4332   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
4333   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
4334 table.
4335 See the ACPICA reference for additional details. Adds one new file, 
4336 components/tables/tbxfload.c
4337
4338 Implemented and deployed two new interfaces for errors and warnings that 
4339 are 
4340 known to be caused by BIOS/firmware issues:
4341   AcpiBiosError: Prints "ACPI Firmware Error" message.
4342   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
4343 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
4344 table 
4345 and FADT errors. Additional deployment to be completed as appropriate in 
4346 the 
4347 future. The associated conditional macros are ACPI_BIOS_ERROR and 
4348 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
4349 ACPICA 
4350 BZ 
4351 843.
4352
4353 Implicit notify support: ensure that no memory allocation occurs within a 
4354 critical region. This fix moves a memory allocation outside of the time 
4355 that a 
4356 spinlock is held. Fixes issues on systems that do not allow this 
4357 behavior. 
4358 Jung-uk Kim.
4359
4360 Split exception code utilities and tables into a new file, 
4361 utilities/utexcep.c
4362
4363 Example Code and Data Size: These are the sizes for the OS-independent 
4364 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4365 debug 
4366 version of the code includes the debug output trace mechanism and has a 
4367 much 
4368 larger code and data size.
4369
4370   Previous Release:
4371     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4372     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4373   Current Release:
4374     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4375     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4376
4377
4378 2) iASL Compiler/Disassembler and Tools:
4379
4380 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
4381 of 
4382 0. Jung-uk Kim.
4383
4384 Debugger: Enhanced the "tables" command to emit additional information 
4385 about 
4386 the current set of ACPI tables, including the owner ID and flags decode.
4387
4388 Debugger: Reimplemented the "unload" command to use the new 
4389 AcpiUnloadParentTable external interface. This command was disable 
4390 previously 
4391 due to need for an unload interface.
4392
4393 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
4394 option 
4395 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
4396
4397 ----------------------------------------
4398 20 June 2012. Summary of changes for version 20120620:
4399
4400
4401 1) ACPICA Kernel-resident Subsystem:
4402
4403 Implemented support to expand the "implicit notify" feature to allow 
4404 multiple 
4405 devices to be notified by a single GPE. This feature automatically 
4406 generates a 
4407 runtime device notification in the absence of a BIOS-provided GPE control 
4408 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
4409 notify is 
4410 provided by ACPICA for Windows compatibility, and is a workaround for 
4411 BIOS 
4412 AML 
4413 code errors. See the description of the AcpiSetupGpeForWake interface in 
4414 the 
4415 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
4416
4417 Changed some comments and internal function names to simplify and ensure 
4418 correctness of the Linux code translation. No functional changes.
4419
4420 Example Code and Data Size: These are the sizes for the OS-independent 
4421 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4422 debug 
4423 version of the code includes the debug output trace mechanism and has a 
4424 much 
4425 larger code and data size.
4426
4427   Previous Release:
4428     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4429     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4430   Current Release:
4431     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4432     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4433
4434
4435 2) iASL Compiler/Disassembler and Tools:
4436
4437 Disassembler: Added support to emit short, commented descriptions for the 
4438 ACPI 
4439 predefined names in order to improve the readability of the disassembled 
4440 output. ACPICA BZ 959. Changes include:
4441   1) Emit descriptions for all standard predefined names (_INI, _STA, 
4442 _PRW, 
4443 etc.)
4444   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
4445   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
4446 etc.)
4447
4448 AcpiSrc: Fixed several long-standing Linux code translation issues. 
4449 Argument 
4450 descriptions in function headers are now translated properly to lower 
4451 case 
4452 and 
4453 underscores. ACPICA BZ 961. Also fixes translation problems such as 
4454 these: 
4455 (old -> new)
4456   i_aSL -> iASL
4457   00-7_f -> 00-7F
4458   16_k -> 16K
4459   local_fADT -> local_FADT
4460   execute_oSI -> execute_OSI
4461
4462 iASL: Fixed a problem where null bytes were inadvertently emitted into 
4463 some 
4464 listing files.
4465
4466 iASL: Added the existing debug options to the standard help screen. There 
4467 are 
4468 no longer two different help screens. ACPICA BZ 957.
4469
4470 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
4471 Also 
4472 expand some of the descriptions where appropriate.
4473
4474 iASL: Fixed the -ot option (display compile times/statistics). Was not 
4475 working 
4476 properly for standard output; only worked for the debug file case.
4477
4478 ----------------------------------------
4479 18 May 2012. Summary of changes for version 20120518:
4480
4481
4482 1) ACPICA Core Subsystem:
4483
4484 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
4485 defined 
4486 to block until asynchronous events such as notifies and GPEs have 
4487 completed. 
4488 Within ACPICA, it is only called before a notify or GPE handler is 
4489 removed/uninstalled. It also may be useful for the host OS within related 
4490 drivers such as the Embedded Controller driver. See the ACPICA reference 
4491 for 
4492 additional information. ACPICA BZ 868.
4493
4494 ACPI Tables: Added a new error message for a possible overflow failure 
4495 during 
4496 the conversion of FADT 32-bit legacy register addresses to internal 
4497 common 
4498 64-
4499 bit GAS structure representation. The GAS has a one-byte "bit length" 
4500 field, 
4501 thus limiting the register length to 255 bits. ACPICA BZ 953.
4502
4503 Example Code and Data Size: These are the sizes for the OS-independent 
4504 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4505 debug 
4506 version of the code includes the debug output trace mechanism and has a 
4507 much 
4508 larger code and data size.
4509
4510   Previous Release:
4511     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4512     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4513   Current Release:
4514     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4515     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4516
4517
4518 2) iASL Compiler/Disassembler and Tools:
4519
4520 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
4521 macro. 
4522 This keyword was added late in the ACPI 5.0 release cycle and was not 
4523 implemented until now.
4524
4525 Disassembler: Added support for Operation Region externals. Adds missing 
4526 support for operation regions that are defined in another table, and 
4527 referenced locally via a Field or BankField ASL operator. Now generates 
4528 the 
4529 correct External statement.
4530
4531 Disassembler: Several additional fixes for the External() statement 
4532 generation 
4533 related to some ASL operators. Also, order the External() statements 
4534 alphabetically in the disassembler output. Fixes the External() 
4535 generation 
4536 for 
4537 the Create* field, Alias, and Scope operators:
4538  1) Create* buffer field operators - fix type mismatch warning on 
4539 disassembly
4540  2) Alias - implement missing External support
4541  3) Scope - fix to make sure all necessary externals are emitted.
4542
4543 iASL: Improved pathname support. For include files, merge the prefix 
4544 pathname 
4545 with the file pathname and eliminate unnecessary components. Convert 
4546 backslashes in all pathnames to forward slashes, for readability. Include 
4547 file 
4548 pathname changes affect both #include and Include() type operators.
4549
4550 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
4551 end 
4552 of a valid line by inserting a newline and then returning the EOF during 
4553 the 
4554 next call to GetNextLine. Prevents the line from being ignored due to EOF 
4555 condition.
4556
4557 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
4558 Error 
4559 and Warning messages are now correctly recognized for both the source 
4560 code 
4561 browser and the global error and warning counts.
4562
4563 ----------------------------------------
4564 20 April 2012. Summary of changes for version 20120420:
4565
4566
4567 1) ACPICA Core Subsystem:
4568
4569 Implemented support for multiple notify handlers. This change adds 
4570 support 
4571 to 
4572 allow multiple system and device notify handlers on Device, Thermal Zone, 
4573 and 
4574 Processor objects. This can simplify the host OS notification 
4575 implementation. 
4576 Also re-worked and restructured the entire notify support code to 
4577 simplify 
4578 handler installation, handler removal, notify event queuing, and notify 
4579 dispatch to handler(s). Note: there can still only be two global notify 
4580 handlers - one for system notifies and one for device notifies. There are 
4581 no 
4582 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
4583 Moore, Rafael Wysocki.
4584
4585 Fixed a regression in the package repair code where the object reference 
4586 count was calculated incorrectly. Regression was introduced in the commit 
4587 "Support to add Package wrappers".
4588
4589 Fixed a couple possible memory leaks in the AML parser, in the error 
4590 recovery 
4591 path. Jesper Juhl, Lin Ming.
4592
4593 Example Code and Data Size: These are the sizes for the OS-independent 
4594 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4595 debug version of the code includes the debug output trace mechanism and 
4596 has a 
4597 much larger code and data size.
4598
4599   Previous Release:
4600     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4601     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4602   Current Release:
4603     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4604     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4605
4606
4607 2) iASL Compiler/Disassembler and Tools:
4608
4609 iASL: Fixed a problem with the resource descriptor support where the 
4610 length 
4611 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
4612 included in cumulative descriptor offset, resulting in incorrect values 
4613 for 
4614 resource tags within resource descriptors appearing after a 
4615 StartDependent* 
4616 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
4617
4618 iASL and Preprocessor: Implemented full support for the #line directive 
4619 to 
4620 correctly track original source file line numbers through the .i 
4621 preprocessor 
4622 output file - for error and warning messages.
4623
4624 iASL: Expand the allowable byte constants for address space IDs. 
4625 Previously, 
4626 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
4627 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
4628
4629 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
4630
4631 iASL: Add option to completely disable the preprocessor (-Pn).
4632
4633 iASL: Now emit all error/warning messages to standard error (stderr) by 
4634 default (instead of the previous stdout).
4635
4636 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
4637 Update 
4638 for resource descriptor offset fix above. Update/cleanup error output 
4639 routines. Enable and send iASL errors/warnings to an error logfile 
4640 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
4641 Fixed 
4642 several extraneous "unrecognized operator" messages.
4643
4644 ----------------------------------------
4645 20 March 2012. Summary of changes for version 20120320:
4646
4647
4648 1) ACPICA Core Subsystem:
4649
4650 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
4651 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
4652 apparently 
4653 does not execute these methods, and therefore these methods are often 
4654 untested. It has been seen on some systems where the execution of these 
4655 methods causes errors and also prevents the machine from entering S5. It 
4656 is 
4657 therefore suggested that host operating systems do not execute these 
4658 methods 
4659 by default. In the future, perhaps these methods can be optionally 
4660 executed 
4661 based on the age of the system and/or what is the newest version of 
4662 Windows 
4663 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
4664 and 
4665 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
4666 Ming.
4667
4668 Fixed a problem where the length of the local/common FADT was set too 
4669 early. 
4670 The local FADT table length cannot be set to the common length until the 
4671 original length has been examined. There is code that checks the table 
4672 length 
4673 and sets various fields appropriately. This can affect older machines 
4674 with 
4675 early FADT versions. For example, this can cause inadvertent writes to 
4676 the 
4677 CST_CNT register. Julian Anastasov.
4678
4679 Fixed a mapping issue related to a physical table override. Use the 
4680 deferred 
4681 mapping mechanism for tables loaded via the physical override OSL 
4682 interface. 
4683 This allows for early mapping before the virtual memory manager is 
4684 available. 
4685 Thomas Renninger, Bob Moore.
4686
4687 Enhanced the automatic return-object repair code: Repair a common problem 
4688 with 
4689 predefined methods that are defined to return a variable-length Package 
4690 of 
4691 sub-objects. If there is only one sub-object, some BIOS ASL code 
4692 mistakenly 
4693 simply returns the single object instead of a Package with one sub-
4694 object. 
4695 This new support will repair this error by wrapping a Package object 
4696 around 
4697 the original object, creating the correct and expected Package with one 
4698 sub-
4699 object. Names that can be repaired in this manner include: _ALR, _CSD, 
4700 _HPX, 
4701 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
4702 939.
4703
4704 Changed the exception code returned for invalid ACPI paths passed as 
4705 parameters to external interfaces such as AcpiEvaluateObject. Was 
4706 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
4707
4708 Example Code and Data Size: These are the sizes for the OS-independent 
4709 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4710 debug 
4711 version of the code includes the debug output trace mechanism and has a 
4712 much 
4713 larger code and data size.
4714
4715   Previous Release:
4716     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
4717     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4718   Current Release:
4719     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4720     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4721
4722
4723 2) iASL Compiler/Disassembler and Tools:
4724
4725 iASL: Added the infrastructure and initial implementation of a integrated 
4726 C-
4727 like preprocessor. This will simplify BIOS development process by 
4728 eliminating 
4729 the need for a separate preprocessing step during builds. On Windows, it 
4730 also 
4731 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
4732 features including full #define() macro support are still under 
4733 development. 
4734 These preprocessor directives are supported:
4735     #define
4736     #elif
4737     #else
4738     #endif
4739     #error
4740     #if
4741     #ifdef
4742     #ifndef
4743     #include
4744     #pragma message
4745     #undef
4746     #warning
4747 In addition, these new command line options are supported:
4748     -D <symbol> Define symbol for preprocessor use
4749     -li         Create preprocessed output file (*.i)
4750     -P          Preprocess only and create preprocessor output file (*.i)
4751
4752 Table Compiler: Fixed a problem where the equals operator within an 
4753 expression 
4754 did not work properly.
4755
4756 Updated iASL to use the current versions of Bison/Flex. Updated the 
4757 Windows 
4758 project file to invoke these tools from the standard location. ACPICA BZ 
4759 904. 
4760 Versions supported:
4761     Flex for Windows:  V2.5.4
4762     Bison for Windows: V2.4.1
4763
4764 ----------------------------------------
4765 15 February 2012. Summary of changes for version 20120215:
4766
4767
4768 1) ACPICA Core Subsystem:
4769
4770 There have been some major changes to the sleep/wake support code, as 
4771 described below (a - e).
4772
4773 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
4774 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
4775 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
4776 the 
4777 time the _BFS method is called and the _WAK method is called. NOTE: all 
4778 hosts 
4779 must update their wake/resume code or else sleep/wake will not work 
4780 properly. 
4781 Rafael Wysocki.
4782
4783 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
4784 _WAK 
4785 method. Some machines require that the GPEs are enabled before the _WAK 
4786 method 
4787 is executed. Thomas Renninger.
4788
4789 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
4790 bit. 
4791 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
4792 to 
4793 determine whether the system is rebooting or resuming. Matthew Garrett.
4794
4795 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
4796 Sleep) to 
4797 match the ACPI specification requirement. Rafael Wysocki.
4798
4799 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
4800 registers within the V5 FADT. This support adds two new files: 
4801 hardware/hwesleep.c implements the support for the new registers. Moved 
4802 all 
4803 sleep/wake external interfaces to hardware/hwxfsleep.c.
4804
4805
4806 Added a new OSL interface for ACPI table overrides, 
4807 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
4808 table via a physical address, instead of the logical address required by 
4809 AcpiOsTableOverride. This simplifies the host implementation. Initial 
4810 implementation by Thomas Renninger. The ACPICA implementation creates a 
4811 single 
4812 shared function for table overrides that attempts both a logical and a 
4813 physical override.
4814
4815 Expanded the OSL memory read/write interfaces to 64-bit data 
4816 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
4817 transfer support for GAS register structures passed to AcpiRead and 
4818 AcpiWrite.
4819
4820 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
4821 custom 
4822 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
4823 model. 
4824 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
4825 about 
4826 10% of the code and 5% of the static data, and the following hardware 
4827 ACPI 
4828 features become unavailable:
4829     PM Event and Control registers
4830     SCI interrupt (and handler)
4831     Fixed Events
4832     General Purpose Events (GPEs)
4833     Global Lock
4834     ACPI PM timer
4835     FACS table (Waking vectors and Global Lock)
4836
4837 Updated the unix tarball directory structure to match the ACPICA git 
4838 source 
4839 tree. This ensures that the generic unix makefiles work properly (in 
4840 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
4841 867.
4842
4843 Updated the return value of the _REV predefined method to integer value 5 
4844 to 
4845 reflect ACPI 5.0 support.
4846
4847 Moved the external ACPI PM timer interface prototypes to the public 
4848 acpixf.h 
4849 file where they belong.
4850
4851 Example Code and Data Size: These are the sizes for the OS-independent 
4852 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4853 debug 
4854 version of the code includes the debug output trace mechanism and has a 
4855 much 
4856 larger code and data size.
4857
4858   Previous Release:
4859     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
4860     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
4861   Current Release:
4862     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
4863     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4864
4865
4866 2) iASL Compiler/Disassembler and Tools:
4867
4868 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
4869 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
4870 incorrectly displayed.
4871
4872 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
4873 specification.
4874
4875 ----------------------------------------
4876 11 January 2012. Summary of changes for version 20120111:
4877
4878
4879 1) ACPICA Core Subsystem:
4880
4881 Implemented a new mechanism to allow host device drivers to check for 
4882 address 
4883 range conflicts with ACPI Operation Regions. Both SystemMemory and 
4884 SystemIO 
4885 address spaces are supported. A new external interface, 
4886 AcpiCheckAddressRange, 
4887 allows drivers to check an address range against the ACPI namespace. See 
4888 the 
4889 ACPICA reference for additional details. Adds one new file, 
4890 utilities/utaddress.c. Lin Ming, Bob Moore.
4891
4892 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
4893 Control 
4894 and 
4895 Status registers, update the ACPI 5.0 flags, and update internal data 
4896 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
4897 5.0 
4898 FADT is 268 bytes.
4899
4900 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
4901 copyright to 
4902 all module headers and signons, including the standard Linux header. This 
4903 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
4904 and 
4905 all ACPICA utilities.
4906
4907 Example Code and Data Size: These are the sizes for the OS-independent 
4908 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4909 debug 
4910 version of the code includes the debug output trace mechanism and has a 
4911 much 
4912 larger code and data size.
4913
4914   Previous Release:
4915     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
4916     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
4917   Current Release:
4918     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
4919     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
4920
4921
4922 2) iASL Compiler/Disassembler and Tools:
4923
4924 Disassembler: fixed a problem with the automatic resource tag generation 
4925 support. Fixes a problem where the resource tags are inadvertently not 
4926 constructed if the table being disassembled contains external references 
4927 to 
4928 control methods. Moved the actual construction of the tags to after the 
4929 final 
4930 namespace is constructed (after 2nd parse is invoked due to external 
4931 control 
4932 method references.) ACPICA BZ 941.
4933
4934 Table Compiler: Make all "generic" operators caseless. These are the 
4935 operators 
4936 like UINT8, String, etc. Making these caseless improves ease-of-use. 
4937 ACPICA BZ 
4938 934.
4939
4940 ----------------------------------------
4941 23 November 2011. Summary of changes for version 20111123:
4942
4943 0) ACPI 5.0 Support:
4944
4945 This release contains full support for the ACPI 5.0 specification, as 
4946 summarized below.
4947
4948 Reduced Hardware Support:
4949 -------------------------
4950
4951 This support allows for ACPI systems without the usual ACPI hardware. 
4952 This 
4953 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
4954 will 
4955 not attempt to initialize or use any of the usual ACPI hardware. Note, 
4956 when 
4957 this flag is set, all of the following ACPI hardware is assumed to be not 
4958 present and is not initialized or accessed:
4959
4960     General Purpose Events (GPEs)
4961     Fixed Events (PM1a/PM1b and PM Control)
4962     Power Management Timer and Console Buttons (power/sleep)
4963     Real-time Clock Alarm
4964     Global Lock
4965     System Control Interrupt (SCI)
4966     The FACS is assumed to be non-existent
4967
4968 ACPI Tables:
4969 ------------
4970
4971 All new tables and updates to existing tables are fully supported in the 
4972 ACPICA headers (for use by device drivers), the disassembler, and the 
4973 iASL 
4974 Data Table Compiler. ACPI 5.0 defines these new tables:
4975
4976     BGRT        /* Boot Graphics Resource Table */
4977     DRTM        /* Dynamic Root of Trust for Measurement table */
4978     FPDT        /* Firmware Performance Data Table */
4979     GTDT        /* Generic Timer Description Table */
4980     MPST        /* Memory Power State Table */
4981     PCCT        /* Platform Communications Channel Table */
4982     PMTT        /* Platform Memory Topology Table */
4983     RASF        /* RAS Feature table */
4984
4985 Operation Regions/SpaceIDs:
4986 ---------------------------
4987
4988 All new operation regions are fully supported by the iASL compiler, the 
4989 disassembler, and the ACPICA runtime code (for dispatch to region 
4990 handlers.) 
4991 The new operation region Space IDs are:
4992
4993     GeneralPurposeIo
4994     GenericSerialBus
4995
4996 Resource Descriptors:
4997 ---------------------
4998
4999 All new ASL resource descriptors are fully supported by the iASL 
5000 compiler, 
5001 the 
5002 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
5003 (including 
5004 all new predefined resource tags). New descriptors are:
5005
5006     FixedDma
5007     GpioIo
5008     GpioInt
5009     I2cSerialBus
5010     SpiSerialBus
5011     UartSerialBus
5012
5013 ASL/AML Operators, New and Modified:
5014 ------------------------------------
5015
5016 One new operator is added, the Connection operator, which is used to 
5017 associate 
5018 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
5019 individual 
5020 field objects within an operation region. Several new protocols are 
5021 associated 
5022 with the AccessAs operator. All are fully supported by the iASL compiler, 
5023 disassembler, and runtime ACPICA AML interpreter:
5024
5025     Connection                      // Declare Field Connection 
5026 attributes
5027     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
5028     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
5029 Protocol
5030     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
5031     RawDataBuffer                       // Data type for Vendor Data 
5032 fields
5033
5034 Predefined ASL/AML Objects:
5035 ---------------------------
5036
5037 All new predefined objects/control-methods are supported by the iASL 
5038 compiler 
5039 and the ACPICA runtime validation/repair (arguments and return values.) 
5040 New 
5041 predefined names include the following:
5042
5043 Standard Predefined Names (Objects or Control Methods):
5044     _AEI, _CLS, _CPC, _CWS, _DEP,
5045     _DLM, _EVT, _GCP, _CRT, _GWS,
5046     _HRV, _PRE, _PSE, _SRT, _SUB.
5047
5048 Resource Tags (Names used to access individual fields within resource 
5049 descriptors):
5050     _DBT, _DPL, _DRS, _END, _FLC,
5051     _IOR, _LIN, _MOD, _PAR, _PHA,
5052     _PIN, _PPI, _POL, _RXL, _SLV,
5053     _SPE, _STB, _TXL, _VEN.
5054
5055 ACPICA External Interfaces:
5056 ---------------------------
5057
5058 Several new interfaces have been defined for use by ACPI-related device 
5059 drivers and other host OS services:
5060
5061 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
5062 to 
5063 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
5064 provided by the BIOS. They are intended to be used in conjunction with 
5065 the 
5066 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
5067 mutual exclusion with the AML code/interpreter.
5068
5069 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
5070 defined 
5071 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
5072 provides 
5073 resource descriptors associated with hardware-reduced platform events, 
5074 similar 
5075 to the AcpiGetCurrentResources interface.
5076
5077 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
5078 operation regions, information about the Connection() object and any 
5079 optional 
5080 length information is passed to the region handler within the Context 
5081 parameter.
5082
5083 AcpiBufferToResource: This interface converts a raw AML buffer containing 
5084
5085 resource template or resource descriptor to the ACPI_RESOURCE internal 
5086 format 
5087 suitable for use by device drivers. Can be used by an operation region 
5088 handler 
5089 to convert the Connection() buffer object into a ACPI_RESOURCE.
5090
5091 Miscellaneous/Tools/TestSuites: 
5092 -------------------------------
5093
5094 Support for extended _HID names (Four alpha characters instead of three).
5095 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
5096 Support for ACPI 5.0 features in the ASLTS test suite.
5097 Fully updated documentation (ACPICA and iASL reference documents.)
5098
5099 ACPI Table Definition Language:
5100 -------------------------------
5101
5102 Support for this language was implemented and released as a subsystem of 
5103 the 
5104 iASL compiler in 2010. (See the iASL compiler User Guide.)
5105
5106
5107 Non-ACPI 5.0 changes for this release:
5108 --------------------------------------
5109
5110 1) ACPICA Core Subsystem:
5111
5112 Fix a problem with operation region declarations where a failure can 
5113 occur 
5114 if 
5115 the region name and an argument that evaluates to an object (such as the 
5116 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
5117 937.
5118
5119 Do not abort an ACPI table load if an invalid space ID is found within. 
5120 This 
5121 will be caught later if the offending method is executed. ACPICA BZ 925.
5122
5123 Fixed an issue with the FFixedHW space ID where the ID was not always 
5124 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
5125
5126 Fixed a problem with the 32-bit generation of the unix-specific OSL 
5127 (osunixxf.c). Lin Ming, ACPICA BZ 936.
5128
5129 Several changes made to enable generation with the GCC 4.6 compiler. 
5130 ACPICA BZ 
5131 935.
5132
5133 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
5134 Index/Bank 
5135 field registers out-of-range.
5136
5137 2) iASL Compiler/Disassembler and Tools:
5138
5139 iASL: Implemented the __PATH__ operator, which returns the full pathname 
5140 of 
5141 the current source file.
5142
5143 AcpiHelp: Automatically display expanded keyword information for all ASL 
5144 operators.
5145
5146 Debugger: Add "Template" command to disassemble/dump resource template 
5147 buffers.
5148
5149 Added a new master script to generate and execute the ASLTS test suite. 
5150 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
5151
5152 iASL: Fix problem with listing generation during processing of the 
5153 Switch() 
5154 operator where AML listing was disabled until the entire Switch block was 
5155 completed.
5156
5157 iASL: Improve support for semicolon statement terminators. Fix "invalid 
5158 character" message for some cases when the semicolon is used. Semicolons 
5159 are 
5160 now allowed after every <Term> grammar element. ACPICA BZ 927.
5161
5162 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
5163 923.
5164
5165 Disassembler: Fix problem with disassembly of the DataTableRegion 
5166 operator 
5167 where an inadvertent "Unhandled deferred opcode" message could be 
5168 generated.
5169
5170 3) Example Code and Data Size
5171
5172 These are the sizes for the OS-independent acpica.lib produced by the 
5173 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5174 includes the debug output trace mechanism and has a much larger code and 
5175 data 
5176 size.
5177
5178   Previous Release:
5179     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5180     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5181   Current Release:
5182     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5183     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5184
5185 ----------------------------------------
5186 22 September 2011. Summary of changes for version 20110922:
5187
5188 0) ACPI 5.0 News:
5189
5190 Support for ACPI 5.0 in ACPICA has been underway for several months and 
5191 will 
5192 be released at the same time that ACPI 5.0 is officially released.
5193
5194 The ACPI 5.0 specification is on track for release in the next few 
5195 months.
5196  
5197 1) ACPICA Core Subsystem:
5198
5199 Fixed a problem where the maximum sleep time for the Sleep() operator was 
5200 intended to be limited to two seconds, but was inadvertently limited to 
5201 20 
5202 seconds instead.
5203
5204 Linux and Unix makefiles: Added header file dependencies to ensure 
5205 correct 
5206 generation of ACPICA core code and utilities. Also simplified the 
5207 makefiles 
5208 considerably through the use of the vpath variable to specify search 
5209 paths. 
5210 ACPICA BZ 924.
5211
5212 2) iASL Compiler/Disassembler and Tools:
5213
5214 iASL: Implemented support to check the access length for all fields 
5215 created to 
5216 access named Resource Descriptor fields. For example, if a resource field 
5217 is 
5218 defined to be two bits, a warning is issued if a CreateXxxxField() is 
5219 used 
5220 with an incorrect bit length. This is implemented for all current 
5221 resource 
5222 descriptor names. ACPICA BZ 930.
5223   
5224 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
5225 56-
5226 bit integers.
5227
5228 iASL: Fixed a couple of issues associated with variable-length package 
5229 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
5230
5231 VAR_PACKAGE when these are used as a package length. 2) Allow the 
5232 VAR_PACKAGE 
5233 opcode (in addition to PACKAGE) when validating object types for 
5234 predefined 
5235 names.
5236
5237 iASL: Emit statistics for all output files (instead of just the ASL input 
5238 and 
5239 AML output). Includes listings, hex files, etc.
5240
5241 iASL: Added -G option to the table compiler to allow the compilation of 
5242 custom 
5243 ACPI tables. The only part of a table that is required is the standard 
5244 36-
5245 byte 
5246 ACPI header.
5247
5248 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
5249 headers), 
5250 which also adds correct 64-bit support. Also, now all output filenames 
5251 are 
5252 completely lower case.
5253
5254 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
5255 loading table files. A warning is issued for any such tables. The only 
5256 exception is an FADT. This also fixes a possible fault when attempting to 
5257 load 
5258 non-AML tables. ACPICA BZ 932.
5259
5260 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
5261
5262 missing table terminator could cause a fault when using the -p option.
5263
5264 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
5265 statistics.
5266
5267 3) Example Code and Data Size
5268
5269 These are the sizes for the OS-independent acpica.lib produced by the 
5270 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5271 includes the debug output trace mechanism and has a much larger code and 
5272 data 
5273 size.
5274
5275   Previous Release (VC 9.0):
5276     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5277     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5278   Current Release (VC 9.0):
5279     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5280     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5281
5282
5283 ----------------------------------------
5284 23 June 2011. Summary of changes for version 20110623:
5285
5286 1) ACPI CA Core Subsystem:
5287
5288 Updated the predefined name repair mechanism to not attempt repair of a 
5289 _TSS 
5290 return object if a _PSS object is present. We can only sort the _TSS 
5291 return 
5292 package if there is no _PSS within the same scope. This is because if 
5293 _PSS 
5294 is 
5295 present, the ACPI specification dictates that the _TSS Power Dissipation 
5296 field 
5297 is to be ignored, and therefore some BIOSs leave garbage values in the 
5298 _TSS 
5299 Power field(s). In this case, it is best to just return the _TSS package 
5300 as-
5301 is. Reported by, and fixed with assistance from Fenghua Yu.
5302
5303 Added an option to globally disable the control method return value 
5304 validation 
5305 and repair. This runtime option can be used to disable return value 
5306 repair 
5307 if 
5308 this is causing a problem on a particular machine. Also added an option 
5309 to 
5310 AcpiExec (-dr) to set this disable flag.
5311
5312 All makefiles and project files: Major changes to improve generation of 
5313 ACPICA 
5314 tools. ACPICA BZ 912:
5315     Reduce default optimization levels to improve compatibility
5316     For Linux, add strict-aliasing=0 for gcc 4
5317     Cleanup and simplify use of command line defines
5318     Cleanup multithread library support
5319     Improve usage messages
5320
5321 Linux-specific header: update handling of THREAD_ID and pthread. For the 
5322 32-
5323 bit case, improve casting to eliminate possible warnings, especially with 
5324 the 
5325 acpica tools.
5326
5327 Example Code and Data Size: These are the sizes for the OS-independent 
5328 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5329 debug 
5330 version of the code includes the debug output trace mechanism and has a 
5331 much 
5332 larger code and data size.
5333
5334   Previous Release (VC 9.0):
5335     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5336     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5337   Current Release (VC 9.0):
5338     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5339     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5340
5341 2) iASL Compiler/Disassembler and Tools:
5342
5343 With this release, a new utility named "acpihelp" has been added to the 
5344 ACPICA 
5345 package. This utility summarizes the ACPI specification chapters for the 
5346 ASL 
5347 and AML languages. It generates under Linux/Unix as well as Windows, and 
5348 provides the following functionality:
5349     Find/display ASL operator(s) -- with description and syntax.
5350     Find/display ASL keyword(s) -- with exact spelling and descriptions.
5351     Find/display ACPI predefined name(s) -- with description, number
5352         of arguments, and the return value data type.
5353     Find/display AML opcode name(s) -- with opcode, arguments, and 
5354 grammar.
5355     Decode/display AML opcode -- with opcode name, arguments, and 
5356 grammar.
5357
5358 Service Layers: Make multi-thread support configurable. Conditionally 
5359 compile 
5360 the multi-thread support so that threading libraries will not be linked 
5361 if 
5362 not 
5363 necessary. The only tool that requires multi-thread support is AcpiExec.
5364
5365 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
5366 of 
5367 Bison appear to want the interface to yyerror to be a const char * (or at 
5368 least this is a problem when generating iASL on some systems.) ACPICA BZ 
5369 923 
5370 Pierre Lejeune.
5371
5372 Tools: Fix for systems where O_BINARY is not defined. Only used for 
5373 Windows 
5374 versions of the tools.
5375
5376 ----------------------------------------
5377 27 May 2011. Summary of changes for version 20110527:
5378
5379 1) ACPI CA Core Subsystem:
5380
5381 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
5382 table 
5383 signature. Now, only allow SSDT, OEMx, and a null signature. History:
5384     1) Originally, we checked the table signature for "SSDT" or "PSDT".
5385        (PSDT is now obsolete.)
5386     2) We added support for OEMx tables, signature "OEM" plus a fourth
5387        "don't care" character.
5388     3) Valid tables were encountered with a null signature, so we just
5389        gave up on validating the signature, (05/2008).
5390     4) We encountered non-AML tables such as the MADT, which caused
5391        interpreter errors and kernel faults. So now, we once again allow
5392        only SSDT, OEMx, and now, also a null signature. (05/2011).
5393
5394 Added the missing _TDL predefined name to the global name list in order 
5395 to 
5396 enable validation. Affects both the core ACPICA code and the iASL 
5397 compiler.
5398
5399 Example Code and Data Size: These are the sizes for the OS-independent 
5400 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5401 debug 
5402 version of the code includes the debug output trace mechanism and has a 
5403 much 
5404 larger code and data size.
5405
5406   Previous Release (VC 9.0):
5407     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5408     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5409   Current Release (VC 9.0):
5410     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5411     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5412
5413 2) iASL Compiler/Disassembler and Tools:
5414
5415 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
5416 the 
5417 debugger command line. This adds support beyond simple integers -- 
5418 including 
5419 Strings, Buffers, and Packages. Includes support for nested packages. 
5420 Increased the default command line buffer size to accommodate these 
5421 arguments. 
5422 See the ACPICA reference for details and syntax. ACPICA BZ 917.
5423  
5424 Debugger/AcpiExec: Implemented support for "default" method arguments for 
5425 the 
5426 Execute/Debug command. Now, the debugger will always invoke a control 
5427 method 
5428 with the required number of arguments -- even if the command line 
5429 specifies 
5430 none or insufficient arguments. It uses default integer values for any 
5431 missing 
5432 arguments. Also fixes a bug where only six method arguments maximum were 
5433 supported instead of the required seven.
5434
5435 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
5436 and 
5437 also return status in order to prevent buffer overruns. See the ACPICA 
5438 reference for details and syntax. ACPICA BZ 921
5439
5440 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
5441 makefiles to simplify support for the two different but similar parser 
5442 generators, bison and yacc.
5443
5444 Updated the generic unix makefile for gcc 4. The default gcc version is 
5445 now 
5446 expected to be 4 or greater, since options specific to gcc 4 are used.
5447
5448 ----------------------------------------
5449 13 April 2011. Summary of changes for version 20110413:
5450
5451 1) ACPI CA Core Subsystem:
5452
5453 Implemented support to execute a so-called "orphan" _REG method under the 
5454 EC 
5455 device. This change will force the execution of a _REG method underneath 
5456 the 
5457 EC 
5458 device even if there is no corresponding operation region of type 
5459 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
5460 compatible with Windows behavior. ACPICA BZ 875.
5461
5462 Added more predefined methods that are eligible for automatic NULL 
5463 package 
5464 element removal. This change adds another group of predefined names to 
5465 the 
5466 list 
5467 of names that can be repaired by having NULL package elements dynamically 
5468 removed. This group are those methods that return a single variable-
5469 length 
5470 package containing simple data types such as integers, buffers, strings. 
5471 This 
5472 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
5473 _PSL, 
5474 _Sx, 
5475 and _TZD. ACPICA BZ 914.
5476
5477 Split and segregated all internal global lock functions to a new file, 
5478 evglock.c.
5479
5480 Updated internal address SpaceID for DataTable regions. Moved this 
5481 internal 
5482 space 
5483 id in preparation for ACPI 5.0 changes that will include some new space 
5484 IDs. 
5485 This 
5486 change should not affect user/host code.
5487
5488 Example Code and Data Size: These are the sizes for the OS-independent 
5489 acpica.lib 
5490 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
5491 version of 
5492 the code includes the debug output trace mechanism and has a much larger 
5493 code 
5494 and 
5495 data size.
5496
5497   Previous Release (VC 9.0):
5498     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5499     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5500   Current Release (VC 9.0):
5501     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5502     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5503
5504 2) iASL Compiler/Disassembler and Tools:
5505
5506 iASL/DTC: Major update for new grammar features. Allow generic data types 
5507 in 
5508 custom ACPI tables. Field names are now optional. Any line can be split 
5509 to 
5510 multiple lines using the continuation char (\). Large buffers now use 
5511 line-
5512 continuation character(s) and no colon on the continuation lines. See the 
5513 grammar 
5514 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
5515 Moore.
5516
5517 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
5518 statements. 
5519 Since the parser stuffs a "zero" as the return value for these statements 
5520 (due 
5521 to 
5522 the underlying AML grammar), they were seen as "return with value" by the 
5523 iASL 
5524 semantic checking. They are now seen correctly as "null" return 
5525 statements.
5526
5527 iASL: Check if a_REG declaration has a corresponding Operation Region. 
5528 Adds a 
5529 check for each _REG to ensure that there is in fact a corresponding 
5530 operation 
5531 region declaration in the same scope. If not, the _REG method is not very 
5532 useful 
5533 since it probably won't be executed. ACPICA BZ 915.
5534
5535 iASL/DTC: Finish support for expression evaluation. Added a new 
5536 expression 
5537 parser 
5538 that implements c-style operator precedence and parenthesization. ACPICA 
5539 bugzilla 
5540 908.
5541
5542 Disassembler/DTC: Remove support for () and <> style comments in data 
5543 tables. 
5544 Now 
5545 that DTC has full expression support, we don't want to have comment 
5546 strings 
5547 that 
5548 start with a parentheses or a less-than symbol. Now, only the standard /* 
5549 and 
5550 // 
5551 comments are supported, as well as the bracket [] comments.
5552
5553 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
5554 "unusual" 
5555 headers in the acpidump file. Update the header validation to support 
5556 these 
5557 tables. Problem introduced in previous AcpiXtract version in the change 
5558 to 
5559 support "wrong checksum" error messages emitted by acpidump utility.
5560
5561 iASL: Add a * option to generate all template files (as a synonym for 
5562 ALL) 
5563 as 
5564 in 
5565 "iasl -T *" or "iasl -T ALL".
5566
5567 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
5568 completely 
5569 abort the compiler on "fatal" errors, simply should abort the current 
5570 compile. 
5571 This allows multiple compiles with a single (possibly wildcard) compiler 
5572 invocation.
5573
5574 ----------------------------------------
5575 16 March 2011. Summary of changes for version 20110316:
5576
5577 1) ACPI CA Core Subsystem:
5578
5579 Fixed a problem caused by a _PRW method appearing at the namespace root 
5580 scope 
5581 during the setup of wake GPEs. A fault could occur if a _PRW directly 
5582 under 
5583 the 
5584 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
5585
5586 Implemented support for "spurious" Global Lock interrupts. On some 
5587 systems, a 
5588 global lock interrupt can occur without the pending flag being set. Upon 
5589
5590 GL 
5591 interrupt, we now ensure that a thread is actually waiting for the lock 
5592 before 
5593 signaling GL availability. Rafael Wysocki, Bob Moore.
5594
5595 Example Code and Data Size: These are the sizes for the OS-independent 
5596 acpica.lib 
5597 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
5598 version of 
5599 the code includes the debug output trace mechanism and has a much larger 
5600 code 
5601 and 
5602 data size.
5603
5604   Previous Release (VC 9.0):
5605     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5606     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5607   Current Release (VC 9.0):
5608     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5609     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5610
5611 2) iASL Compiler/Disassembler and Tools:
5612
5613 Implemented full support for the "SLIC" ACPI table. Includes support in 
5614 the 
5615 header files, disassembler, table compiler, and template generator. Bob 
5616 Moore, 
5617 Lin Ming.
5618
5619 AcpiXtract: Correctly handle embedded comments and messages from 
5620 AcpiDump. 
5621 Apparently some or all versions of acpidump will occasionally emit a 
5622 comment 
5623 like 
5624 "Wrong checksum", etc., into the dump file. This was causing problems for 
5625 AcpiXtract. ACPICA BZ 905.
5626
5627 iASL: Fix the Linux makefile by removing an inadvertent double file 
5628 inclusion. 
5629 ACPICA BZ 913.
5630
5631 AcpiExec: Update installation of operation region handlers. Install one 
5632 handler 
5633 for a user-defined address space. This is used by the ASL test suite 
5634 (ASLTS).
5635
5636 ----------------------------------------
5637 11 February 2011. Summary of changes for version 20110211:
5638
5639 1) ACPI CA Core Subsystem:
5640
5641 Added a mechanism to defer _REG methods for some early-installed 
5642 handlers. 
5643 Most user handlers should be installed before call to 
5644 AcpiEnableSubsystem. 
5645 However, Event handlers and region handlers should be installed after 
5646 AcpiInitializeObjects. Override handlers for the "default" regions should 
5647 be 
5648 installed early, however. This change executes all _REG methods for the 
5649 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
5650 chicken/egg issues between them. ACPICA BZ 848.
5651
5652 Implemented an optimization for GPE detection. This optimization will 
5653 simply 
5654 ignore GPE registers that contain no enabled GPEs -- there is no need to 
5655 read the register since this information is available internally. This 
5656 becomes more important on machines with a large GPE space. ACPICA 
5657 bugzilla 
5658 884. Lin Ming. Suggestion from Joe Liu.
5659
5660 Removed all use of the highly unreliable FADT revision field. The 
5661 revision 
5662 number in the FADT has been found to be completely unreliable and cannot 
5663 be 
5664 trusted. Only the actual table length can be used to infer the version. 
5665 This 
5666 change updates the ACPICA core and the disassembler so that both no 
5667 longer 
5668 even look at the FADT version and instead depend solely upon the FADT 
5669 length.
5670
5671 Fix an unresolved name issue for the no-debug and no-error-message source 
5672 generation cases. The _AcpiModuleName was left undefined in these cases, 
5673 but 
5674 it is actually needed as a parameter to some interfaces. Define 
5675 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
5676
5677 Split several large files (makefiles and project files updated)
5678   utglobal.c   -> utdecode.c
5679   dbcomds.c    -> dbmethod.c dbnames.c
5680   dsopcode.c   -> dsargs.c dscontrol.c
5681   dsload.c     -> dsload2.c
5682   aslanalyze.c -> aslbtypes.c aslwalks.c
5683
5684 Example Code and Data Size: These are the sizes for the OS-independent 
5685 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5686 debug version of the code includes the debug output trace mechanism and 
5687 has 
5688 a much larger code and data size.
5689
5690   Previous Release (VC 9.0):
5691     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5692     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5693   Current Release (VC 9.0):
5694     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5695     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5696
5697 2) iASL Compiler/Disassembler and Tools:
5698
5699 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
5700 These are useful C-style macros with the standard definitions. ACPICA 
5701 bugzilla 898.
5702
5703 iASL/DTC: Added support for integer expressions and labels. Support for 
5704 full 
5705 expressions for all integer fields in all ACPI tables. Support for labels 
5706 in 
5707 "generic" portions of tables such as UEFI. See the iASL reference manual.
5708
5709 Debugger: Added a command to display the status of global handlers. The 
5710 "handlers" command will display op region, fixed event, and miscellaneous 
5711 global handlers. installation status -- and for op regions, whether 
5712 default 
5713 or user-installed handler will be used.
5714
5715 iASL: Warn if reserved method incorrectly returns a value. Many 
5716 predefined 
5717 names are defined such that they do not return a value. If implemented as 
5718
5719 method, issue a warning if such a name explicitly returns a value. ACPICA 
5720 Bugzilla 855.
5721
5722 iASL: Added detection of GPE method name conflicts. Detects a conflict 
5723 where 
5724 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
5725 (For 
5726 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
5727
5728 iASL/DTC: Fixed a couple input scanner issues with comments and line 
5729 numbers. Comment remover could get confused and miss a comment ending. 
5730 Fixed 
5731 a problem with line counter maintenance.
5732
5733 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
5734 is 
5735 no need to abort on simple errors within a field definition.
5736
5737 Debugger: Simplified the output of the help command. All help output now 
5738 in 
5739 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
5740
5741 ----------------------------------------
5742 12 January 2011. Summary of changes for version 20110112:
5743
5744 1) ACPI CA Core Subsystem:
5745
5746 Fixed a race condition between method execution and namespace walks that 
5747 can 
5748 possibly cause a fault. The problem was apparently introduced in version 
5749 20100528 as a result of a performance optimization that reduces the 
5750 number 
5751 of 
5752 namespace walks upon method exit by using the delete_namespace_subtree 
5753 function instead of the delete_namespace_by_owner function used 
5754 previously. 
5755 Bug is a missing namespace lock in the delete_namespace_subtree function. 
5756 dana.myers@oracle.com
5757
5758 Fixed several issues and a possible fault with the automatic "serialized" 
5759 method support. History: This support changes a method to "serialized" on 
5760 the 
5761 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
5762 possibility that it cannot handle reentrancy. This fix repairs a couple 
5763 of 
5764 issues seen in the field, especially on machines with many cores:
5765
5766     1) Delete method children only upon the exit of the last thread,
5767        so as to not delete objects out from under other running threads
5768       (and possibly causing a fault.)
5769     2) Set the "serialized" bit for the method only upon the exit of the
5770        Last thread, so as to not cause deadlock when running threads
5771        attempt to exit.
5772     3) Cleanup the use of the AML "MethodFlags" and internal method flags
5773        so that there is no longer any confusion between the two.
5774
5775     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
5776
5777 Debugger: Now lock the namespace for duration of a namespace dump. 
5778 Prevents 
5779 issues if the namespace is changing dynamically underneath the debugger. 
5780 Especially affects temporary namespace nodes, since the debugger displays 
5781 these also.
5782
5783 Updated the ordering of include files. The ACPICA headers should appear 
5784 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
5785 set 
5786 any necessary compiler-specific defines, etc. Affects the ACPI-related 
5787 tools 
5788 and utilities.
5789
5790 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
5791 copyright 
5792 to all module headers and signons, including the Linux header. This 
5793 affects 
5794 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
5795 utilities.
5796
5797 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
5798 project files for VC++ 6.0 are now obsolete. New project files can be 
5799 found 
5800 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
5801 details.
5802
5803 Example Code and Data Size: These are the sizes for the OS-independent 
5804 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5805 debug version of the code includes the debug output trace mechanism and 
5806 has a 
5807 much larger code and data size.
5808
5809   Previous Release (VC 6.0):
5810     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
5811     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
5812   Current Release (VC 9.0):
5813     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5814     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5815
5816 2) iASL Compiler/Disassembler and Tools:
5817
5818 iASL: Added generic data types to the Data Table compiler. Add "generic" 
5819 data 
5820 types such as UINT32, String, Unicode, etc., to simplify the generation 
5821 of 
5822 platform-defined tables such as UEFI. Lin Ming.
5823
5824 iASL: Added listing support for the Data Table Compiler. Adds listing 
5825 support 
5826 (-l) to display actual binary output for each line of input code.
5827
5828 ----------------------------------------
5829 09 December 2010. Summary of changes for version 20101209:
5830
5831 1) ACPI CA Core Subsystem:
5832
5833 Completed the major overhaul of the GPE support code that was begun in 
5834 July 
5835 2010. Major features include: removal of _PRW execution in ACPICA (host 
5836 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
5837 changes to existing interfaces, simplification of GPE handler operation, 
5838 and 
5839 a handful of new interfaces:
5840
5841     AcpiUpdateAllGpes
5842     AcpiFinishGpe
5843     AcpiSetupGpeForWake
5844     AcpiSetGpeWakeMask
5845     One new file, evxfgpe.c to consolidate all external GPE interfaces.
5846
5847 See the ACPICA Programmer Reference for full details and programming 
5848 information. See the new section 4.4 "General Purpose Event (GPE) 
5849 Support" 
5850 for a full overview, and section 8.7 "ACPI General Purpose Event 
5851 Management" 
5852 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
5853 Ming, 
5854 Bob Moore, Rafael Wysocki.
5855
5856 Implemented a new GPE feature for Windows compatibility, the "Implicit 
5857 Wake 
5858 GPE Notify". This feature will automatically issue a Notify(2) on a 
5859 device 
5860 when a Wake GPE is received if there is no corresponding GPE method or 
5861 handler. ACPICA BZ 870.
5862
5863 Fixed a problem with the Scope() operator during table parse and load 
5864 phase. 
5865 During load phase (table load or method execution), the scope operator 
5866 should 
5867 not enter the target into the namespace. Instead, it should open a new 
5868 scope 
5869 at the target location. Linux BZ 19462, ACPICA BZ 882.
5870
5871 Example Code and Data Size: These are the sizes for the OS-independent 
5872 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5873 debug version of the code includes the debug output trace mechanism and 
5874 has a 
5875 much larger code and data size.
5876
5877   Previous Release:
5878     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
5879     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
5880   Current Release:
5881     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5882     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5883
5884 2) iASL Compiler/Disassembler and Tools:
5885
5886 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
5887 are 
5888 "bus-specific" per the ACPI specification, and therefore any characters 
5889 are 
5890 acceptable. The only checks that can be performed are for a null string 
5891 and 
5892 perhaps for a leading asterisk. ACPICA BZ 886.
5893
5894 iASL: Fixed a problem where a syntax error that caused a premature EOF 
5895 condition on the source file emitted a very confusing error message. The 
5896 premature EOF is now detected correctly. ACPICA BZ 891.
5897
5898 Disassembler: Decode the AccessSize within a Generic Address Structure 
5899 (byte 
5900 access, word access, etc.) Note, this field does not allow arbitrary bit 
5901 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
5902
5903 New: AcpiNames utility - Example namespace dump utility. Shows an example 
5904 of 
5905 ACPICA configuration for a minimal namespace dump utility. Uses table and 
5906 namespace managers, but no AML interpreter. Does not add any 
5907 functionality 
5908 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
5909 partition and configure ACPICA. ACPICA BZ 883.
5910
5911 AML Debugger: Increased the debugger buffer size for method return 
5912 objects. 
5913 Was 4K, increased to 16K. Also enhanced error messages for debugger 
5914 method 
5915 execution, including the buffer overflow case.
5916
5917 ----------------------------------------
5918 13 October 2010. Summary of changes for version 20101013:
5919
5920 1) ACPI CA Core Subsystem:
5921
5922 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
5923 now 
5924 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
5925 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
5926
5927 Changed the type of the predefined namespace object _TZ from ThermalZone 
5928 to 
5929 Device. This was found to be confusing to the host software that 
5930 processes 
5931 the various thermal zones, since _TZ is not really a ThermalZone. 
5932 However, 
5933
5934 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
5935 Zhang.
5936
5937 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
5938 string is "Windows 2006 SP2".
5939
5940 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
5941 nsrepair 
5942 code automatically repairs _HID-related strings, this type of code is no 
5943 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
5944 878.
5945
5946 Example Code and Data Size: These are the sizes for the OS-independent 
5947 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5948 debug version of the code includes the debug output trace mechanism and 
5949 has a 
5950 much larger code and data size.
5951
5952   Previous Release:
5953     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5954     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5955   Current Release:
5956     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5957     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5958
5959 2) iASL Compiler/Disassembler and Tools:
5960
5961 iASL: Implemented additional compile-time validation for _HID strings. 
5962 The 
5963 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
5964 length 
5965 of 
5966 the string must be exactly seven or eight characters. For both _HID and 
5967 _CID 
5968 strings, all characters must be alphanumeric. ACPICA BZ 874.
5969
5970 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
5971 descriptors that are mostly or all zeros, with the expectation that they 
5972 will 
5973 be filled in at runtime. iASL now allows this as long as there is a 
5974 "resource 
5975 tag" (name) associated with the descriptor, which gives the ASL a handle 
5976 needed to modify the descriptor. ACPICA BZ 873.
5977
5978 Added single-thread support to the generic Unix application OSL. 
5979 Primarily 
5980 for iASL support, this change removes the use of semaphores in the 
5981 single-
5982 threaded ACPICA tools/applications - increasing performance. The 
5983 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
5984 option. ACPICA BZ 879.
5985
5986 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
5987 support 
5988 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
5989
5990 iASL: Moved all compiler messages to a new file, aslmessages.h.
5991
5992 ----------------------------------------
5993 15 September 2010. Summary of changes for version 20100915:
5994
5995 1) ACPI CA Core Subsystem:
5996
5997 Removed the AcpiOsDerivePciId OSL interface. The various host 
5998 implementations 
5999 of this function were not OS-dependent and are now obsolete and can be 
6000 removed from all host OSLs. This function has been replaced by 
6001 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
6002 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
6003 module, hwpci.c. ACPICA BZ 857.
6004
6005 Implemented a dynamic repair for _HID and _CID strings. The following 
6006 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
6007 string, and 2) the entire string is uppercased. Both repairs are in 
6008 accordance with the ACPI specification and will simplify host driver 
6009 code. 
6010 ACPICA BZ 871.
6011
6012 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
6013 always UINT64. This simplifies the ACPICA code, especially any printf 
6014 output. 
6015 UINT64 is the only common data type for all thread_id types across all 
6016 operating systems. It is now up to the host OSL to cast the native 
6017 thread_id 
6018 type to UINT64 before returning the value to ACPICA (via 
6019 AcpiOsGetThreadId). 
6020 Lin Ming, Bob Moore.
6021
6022 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
6023 "inline" 
6024 keyword is not standard across compilers, and this type allows inline to 
6025 be 
6026 configured on a per-compiler basis. Lin Ming.
6027
6028 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
6029 available. 
6030 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
6031 value 
6032 during suspend/restore operations. ACPICA BZ 869.
6033
6034 All code that implements error/warning messages with the "ACPI:" prefix 
6035 has 
6036 been moved to a new module, utxferror.c.
6037
6038 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
6039 it 
6040 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
6041
6042 Example Code and Data Size: These are the sizes for the OS-independent 
6043 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6044 debug version of the code includes the debug output trace mechanism and 
6045 has a 
6046 much larger code and data size.
6047
6048   Previous Release:
6049     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6050     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6051   Current Release:
6052     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6053     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6054
6055 2) iASL Compiler/Disassembler and Tools:
6056
6057 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
6058 file. 
6059 This keeps the output files free of random error messages that may 
6060 originate 
6061 from within the namespace/interpreter code. Used this opportunity to 
6062 merge 
6063 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
6064 866. Lin Ming, Bob Moore.
6065
6066 Tools: update some printfs for ansi warnings on size_t. Handle width 
6067 change 
6068 of size_t on 32-bit versus 64-bit generations. Lin Ming.
6069
6070 ----------------------------------------
6071 06 August 2010. Summary of changes for version 20100806:
6072
6073 1) ACPI CA Core Subsystem:
6074
6075 Designed and implemented a new host interface to the _OSI support code. 
6076 This 
6077 will allow the host to dynamically add or remove multiple _OSI strings, 
6078 as 
6079 well as install an optional handler that is called for each _OSI 
6080 invocation. 
6081 Also added a new AML debugger command, 'osi' to display and modify the 
6082 global 
6083 _OSI string table, and test support in the AcpiExec utility. See the 
6084 ACPICA 
6085 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
6086 New Functions:
6087     AcpiInstallInterface - Add an _OSI string.
6088     AcpiRemoveInterface - Delete an _OSI string.
6089     AcpiInstallInterfaceHandler - Install optional _OSI handler.
6090 Obsolete Functions:
6091     AcpiOsValidateInterface - no longer used.
6092 New Files:
6093     source/components/utilities/utosi.c
6094
6095 Re-introduced the support to enable multi-byte transfers for Embedded 
6096 Controller (EC) operation regions. A reported problem was found to be a 
6097 bug 
6098 in the host OS, not in the multi-byte support. Previously, the maximum 
6099 data 
6100 size passed to the EC operation region handler was a single byte. There 
6101 are 
6102 often EC Fields larger than one byte that need to be transferred, and it 
6103 is 
6104 useful for the EC driver to lock these as a single transaction. This 
6105 change 
6106 enables single transfers larger than 8 bits. This effectively changes the 
6107 access to the EC space from ByteAcc to AnyAcc, and will probably require 
6108 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
6109 bit 
6110 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
6111
6112 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
6113 prototype in acpiosxf.h had the output value pointer as a (void *).
6114 It should be a (UINT64 *). This may affect some host OSL code.
6115
6116 Fixed a couple problems with the recently modified Linux makefiles for 
6117 iASL 
6118 and AcpiExec. These new makefiles place the generated object files in the 
6119 local directory so that there can be no collisions between the files that 
6120 are 
6121 shared between them that are compiled with different options.
6122
6123 Example Code and Data Size: These are the sizes for the OS-independent 
6124 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6125 debug version of the code includes the debug output trace mechanism and 
6126 has a 
6127 much larger code and data size.
6128
6129   Previous Release:
6130     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6131     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6132   Current Release:
6133     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6134     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6135
6136 2) iASL Compiler/Disassembler and Tools:
6137
6138 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
6139 the 
6140 namespace from and disassemble an entire group of AML files. Useful for 
6141 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
6142 and 
6143 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
6144
6145 iASL: Allow multiple invocations of -e option. This change allows 
6146 multiple 
6147 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
6148 834. 
6149 Lin Ming.
6150
6151 ----------------------------------------
6152 02 July 2010. Summary of changes for version 20100702:
6153
6154 1) ACPI CA Core Subsystem:
6155
6156 Implemented several updates to the recently added GPE reference count 
6157 support. The model for "wake" GPEs is changing to give the host OS 
6158 complete 
6159 control of these GPEs. Eventually, the ACPICA core will not execute any 
6160 _PRW 
6161 methods, since the host already must execute them. Also, additional 
6162 changes 
6163 were made to help ensure that the reference counts are kept in proper 
6164 synchronization with reality. Rafael J. Wysocki.
6165
6166 1) Ensure that GPEs are not enabled twice during initialization.
6167 2) Ensure that GPE enable masks stay in sync with the reference count.
6168 3) Do not inadvertently enable GPEs when writing GPE registers.
6169 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
6170 interface. This interface will set or clear individual GPEs for wakeup.
6171 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
6172 interfaces 
6173 are now used for "runtime" GPEs only.
6174
6175 Changed the behavior of the GPE install/remove handler interfaces. The 
6176 GPE 
6177 is 
6178 no longer disabled during this process, as it was found to cause problems 
6179 on 
6180 some machines. Rafael J. Wysocki.
6181
6182 Reverted a change introduced in version 20100528 to enable Embedded 
6183 Controller multi-byte transfers. This change was found to cause problems 
6184 with 
6185 Index Fields and possibly Bank Fields. It will be reintroduced when these 
6186 problems have been resolved.
6187
6188 Fixed a problem with references to Alias objects within Package Objects. 
6189
6190 reference to an Alias within the definition of a Package was not always 
6191 resolved properly. Aliases to objects like Processors, Thermal zones, 
6192 etc. 
6193 were resolved to the actual object instead of a reference to the object 
6194 as 
6195 it 
6196 should be. Package objects are only allowed to contain integer, string, 
6197 buffer, package, and reference objects. Redhat bugzilla 608648.
6198
6199 Example Code and Data Size: These are the sizes for the OS-independent 
6200 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6201 debug version of the code includes the debug output trace mechanism and 
6202 has a 
6203 much larger code and data size.
6204
6205   Previous Release:
6206     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6207     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6208   Current Release:
6209     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6210     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6211
6212 2) iASL Compiler/Disassembler and Tools:
6213
6214 iASL: Implemented a new compiler subsystem to allow definition and 
6215 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
6216 These 
6217 are called "ACPI Data Tables", and the new compiler is the "Data Table 
6218 Compiler". This compiler is intended to simplify the existing error-prone 
6219 process of creating these tables for the BIOS, as well as allowing the 
6220 disassembly, modification, recompilation, and override of existing ACPI 
6221 data 
6222 tables. See the iASL User Guide for detailed information.
6223
6224 iASL: Implemented a new Template Generator option in support of the new 
6225 Data 
6226 Table Compiler. This option will create examples of all known ACPI tables 
6227 that can be used as the basis for table development. See the iASL 
6228 documentation and the -T option.
6229
6230 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
6231 Descriptor Table).
6232
6233 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
6234 object files in the local directory so that there can be no collisions 
6235 between the shared files between them that are generated with different 
6236 options.
6237
6238 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
6239 Use 
6240 the #define __APPLE__ to enable this support.
6241
6242 ----------------------------------------
6243 28 May 2010. Summary of changes for version 20100528:
6244
6245 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
6246 available at www.acpi.info. This is primarily an errata release.
6247
6248 1) ACPI CA Core Subsystem:
6249
6250 Undefined ACPI tables: We are looking for the definitions for the 
6251 following 
6252 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6253
6254 Implemented support to enable multi-byte transfers for Embedded 
6255 Controller 
6256 (EC) operation regions. Previously, the maximum data size passed to the 
6257 EC 
6258 operation region handler was a single byte. There are often EC Fields 
6259 larger 
6260 than one byte that need to be transferred, and it is useful for the EC 
6261 driver 
6262 to lock these as a single transaction. This change enables single 
6263 transfers 
6264 larger than 8 bits. This effectively changes the access to the EC space 
6265 from 
6266 ByteAcc to AnyAcc, and will probably require changes to the host OS 
6267 Embedded 
6268 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
6269 bit 
6270 transfers. Alexey Starikovskiy, Lin Ming
6271
6272 Implemented a performance enhancement for namespace search and access. 
6273 This 
6274 change enhances the performance of namespace searches and walks by adding 
6275
6276 backpointer to the parent in each namespace node. On large namespaces, 
6277 this 
6278 change can improve overall ACPI performance by up to 9X. Adding a pointer 
6279 to 
6280 each namespace node increases the overall size of the internal namespace 
6281 by 
6282 about 5%, since each namespace entry usually consists of both a namespace 
6283 node and an ACPI operand object. However, this is the first growth of the 
6284 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
6285
6286 Implemented a performance optimization that reduces the number of 
6287 namespace 
6288 walks. On control method exit, only walk the namespace if the method is 
6289 known 
6290 to have created namespace objects outside of its local scope. Previously, 
6291 the 
6292 entire namespace was traversed on each control method exit. This change 
6293 can 
6294 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
6295 Moore.
6296
6297 Added support to truncate I/O addresses to 16 bits for Windows 
6298 compatibility. 
6299 Some ASL code has been seen in the field that inadvertently has bits set 
6300 above bit 15. This feature is optional and is enabled if the BIOS 
6301 requests 
6302 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
6303 Garrett, Bob Moore.
6304
6305 Added support to limit the maximum time for the ASL Sleep() operator. To 
6306 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
6307 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
6308 bugzilla 854.
6309
6310 Added run-time validation support for the _WDG and_WED Microsoft 
6311 predefined 
6312 methods. These objects are defined by "Windows Instrumentation", and are 
6313 not 
6314 part of the ACPI spec. ACPICA BZ 860.
6315
6316 Expanded all statistic counters used during namespace and device 
6317 initialization from 16 to 32 bits in order to support very large 
6318 namespaces.
6319
6320 Replaced all instances of %d in printf format specifiers with %u since 
6321 nearly 
6322 all integers in ACPICA are unsigned.
6323
6324 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
6325 returned 
6326 as AE_NO_HANDLER.
6327
6328 Example Code and Data Size: These are the sizes for the OS-independent 
6329 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6330 debug version of the code includes the debug output trace mechanism and 
6331 has a 
6332 much larger code and data size.
6333
6334   Previous Release:
6335     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6336     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6337   Current Release:
6338     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6339     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6340
6341 2) iASL Compiler/Disassembler and Tools:
6342
6343 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
6344 methods. These objects are defined by "Windows Instrumentation", and are 
6345 not 
6346 part of the ACPI spec. ACPICA BZ 860.
6347
6348 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
6349 option will disable the tracking mechanism, which improves performance 
6350 considerably.
6351
6352 AcpiExec: Restructured the command line options into -d (disable) and -e 
6353 (enable) options.
6354
6355 ----------------------------------------
6356 28 April 2010. Summary of changes for version 20100428:
6357
6358 1) ACPI CA Core Subsystem:
6359
6360 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
6361 including FADT-based and GPE Block Devices, execute any _PRW methods in 
6362 the 
6363 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
6364 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
6365 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
6366 Devices. Provides compatibility with other ACPI implementations. Two new 
6367 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
6368 Moore.
6369
6370 Fixed a regression introduced in version 20100331 within the table 
6371 manager 
6372 where initial table loading could fail. This was introduced in the fix 
6373 for 
6374 AcpiReallocateRootTable. Also, renamed some of fields in the table 
6375 manager 
6376 data structures to clarify their meaning and use.
6377
6378 Fixed a possible allocation overrun during internal object copy in 
6379 AcpiUtCopySimpleObject. The original code did not correctly handle the 
6380 case 
6381 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
6382 847.
6383
6384 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
6385 possible access beyond end-of-allocation. Also, now fully validate 
6386 descriptor 
6387 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
6388
6389 Example Code and Data Size: These are the sizes for the OS-independent 
6390 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6391 debug version of the code includes the debug output trace mechanism and 
6392 has a 
6393 much larger code and data size.
6394
6395   Previous Release:
6396     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6397     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6398   Current Release:
6399     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6400     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6401
6402 2) iASL Compiler/Disassembler and Tools:
6403
6404 iASL: Implemented Min/Max/Len/Gran validation for address resource 
6405 descriptors. This change implements validation for the address fields 
6406 that 
6407 are common to all address-type resource descriptors. These checks are 
6408 implemented: Checks for valid Min/Max, length within the Min/Max window, 
6409 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
6410 per 
6411 table 6-40 in the ACPI 4.0a specification. Also split the large 
6412 aslrestype1.c 
6413 and aslrestype2.c files into five new files. ACPICA BZ 840.
6414
6415 iASL: Added support for the _Wxx predefined names. This support was 
6416 missing 
6417 and these names were not recognized by the compiler as valid predefined 
6418 names. ACPICA BZ 851.
6419
6420 iASL: Added an error for all predefined names that are defined to return 
6421 no 
6422 value and thus must be implemented as Control Methods. These include all 
6423 of 
6424 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
6425 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
6426
6427 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
6428 an 
6429 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
6430 be 
6431 dynamically loaded via the Load() operator. Also cleaned up output for 
6432 the 
6433 -
6434 ta and -tc options. ACPICA BZ 853.
6435
6436 Tests: Added a new file with examples of extended iASL error checking. 
6437 Demonstrates the advanced error checking ability of the iASL compiler. 
6438 Available at tests/misc/badcode.asl.
6439
6440 ----------------------------------------
6441 31 March 2010. Summary of changes for version 20100331:
6442
6443 1) ACPI CA Core Subsystem:
6444
6445 Completed a major update for the GPE support in order to improve support 
6446 for 
6447 shared GPEs and to simplify both host OS and ACPICA code. Added a 
6448 reference 
6449 count mechanism to support shared GPEs that require multiple device 
6450 drivers. 
6451 Several external interfaces have changed. One external interface has been 
6452 removed. One new external interface was added. Most of the GPE external 
6453 interfaces now use the GPE spinlock instead of the events mutex (and the 
6454 Flags parameter for many GPE interfaces has been removed.) See the 
6455 updated 
6456 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
6457 Rafael 
6458 Wysocki. ACPICA BZ 831.
6459
6460 Changed:
6461     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
6462 Removed:
6463     AcpiSetGpeType
6464 New:
6465     AcpiSetGpe
6466
6467 Implemented write support for DataTable operation regions. These regions 
6468 are 
6469 defined via the DataTableRegion() operator. Previously, only read support 
6470 was 
6471 implemented. The ACPI specification allows DataTableRegions to be 
6472 read/write, 
6473 however.
6474
6475 Implemented a new subsystem option to force a copy of the DSDT to local 
6476 memory. Optionally copy the entire DSDT to local memory (instead of 
6477 simply 
6478 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
6479 replace 
6480 the original DSDT, creating the need for this option. Default is FALSE, 
6481 do 
6482 not copy the DSDT.
6483
6484 Implemented detection of a corrupted or replaced DSDT. This change adds 
6485 support to detect a DSDT that has been corrupted and/or replaced from 
6486 outside 
6487 the OS (by firmware). This is typically catastrophic for the system, but 
6488 has 
6489 been seen on some machines. Once this problem has been detected, the DSDT 
6490 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
6491
6492 Fixed two problems with AcpiReallocateRootTable during the root table 
6493 copy. 
6494 When copying the root table to the new allocation, the length used was 
6495 incorrect. The new size was used instead of the current table size, 
6496 meaning 
6497 too much data was copied. Also, the count of available slots for ACPI 
6498 tables 
6499 was not set correctly. Alexey Starikovskiy, Bob Moore.
6500
6501 Example Code and Data Size: These are the sizes for the OS-independent 
6502 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6503 debug version of the code includes the debug output trace mechanism and 
6504 has a 
6505 much larger code and data size.
6506
6507   Previous Release:
6508     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6509     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6510   Current Release:
6511     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6512     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6513
6514 2) iASL Compiler/Disassembler and Tools:
6515
6516 iASL: Implement limited typechecking for values returned from predefined 
6517 control methods. The type of any returned static (unnamed) object is now 
6518 validated. For example, Return(1). ACPICA BZ 786.
6519
6520 iASL: Fixed a predefined name object verification regression. Fixes a 
6521 problem 
6522 introduced in version 20100304. An error is incorrectly generated if a 
6523 predefined name is declared as a static named object with a value defined 
6524 using the keywords "Zero", "One", or "Ones". Lin Ming.
6525
6526 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
6527 by 
6528 reducing the requested registry access rights. ACPICA BZ 842.
6529
6530 Disassembler: fixed a possible fault when generating External() 
6531 statements. 
6532 Introduced in commit ae7d6fd: Properly handle externals with parent-
6533 prefix 
6534 (carat). Fixes a string length allocation calculation. Lin Ming.
6535
6536 ----------------------------------------
6537 04 March 2010. Summary of changes for version 20100304:
6538
6539 1) ACPI CA Core Subsystem:
6540
6541 Fixed a possible problem with the AML Mutex handling function 
6542 AcpiExReleaseMutex where the function could fault under the very rare 
6543 condition when the interpreter has blocked, the interpreter lock is 
6544 released, 
6545 the interpreter is then reentered via the same thread, and attempts to 
6546 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
6547 Lin 
6548 Ming.
6549
6550 Implemented additional configuration support for the AML "Debug Object". 
6551 Output from the debug object can now be enabled via a global variable, 
6552 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
6553 debugging. 
6554 This debug output is now available in the release version of ACPICA 
6555 instead 
6556 of just the debug version. Also, the entire debug output module can now 
6557 be 
6558 configured out of the ACPICA build if desired. One new file added, 
6559 executer/exdebug.c. Lin Ming, Bob Moore.
6560
6561 Added header support for the ACPI MCHI table (Management Controller Host 
6562 Interface Table). This table was added in ACPI 4.0, but the defining 
6563 document 
6564 has only recently become available.
6565
6566 Standardized output of integer values for ACPICA warnings/errors. Always 
6567 use 
6568 0x prefix for hex output, always use %u for unsigned integer decimal 
6569 output. 
6570 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
6571 400 
6572 invocations.) These invocations were converted from the original 
6573 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
6574
6575 Example Code and Data Size: These are the sizes for the OS-independent 
6576 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6577 debug version of the code includes the debug output trace mechanism and 
6578 has a 
6579 much larger code and data size.
6580
6581   Previous Release:
6582     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6583     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6584   Current Release:
6585     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6586     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6587
6588 2) iASL Compiler/Disassembler and Tools:
6589
6590 iASL: Implemented typechecking support for static (non-control method) 
6591 predefined named objects that are declared with the Name() operator. For 
6592 example, the type of this object is now validated to be of type Integer: 
6593 Name(_BBN, 1). This change migrates the compiler to using the core 
6594 predefined 
6595 name table instead of maintaining a local version. Added a new file, 
6596 aslpredef.c. ACPICA BZ 832.
6597
6598 Disassembler: Added support for the ACPI 4.0 MCHI table.
6599
6600 ----------------------------------------
6601 21 January 2010. Summary of changes for version 20100121:
6602
6603 1) ACPI CA Core Subsystem:
6604
6605 Added the 2010 copyright to all module headers and signons. This affects 
6606 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
6607 tools/utilities, and the test suites.
6608
6609 Implemented a change to the AcpiGetDevices interface to eliminate 
6610 unnecessary 
6611 invocations of the _STA method. In the case where a specific _HID is 
6612 requested, do not run _STA until a _HID match is found. This eliminates 
6613 potentially dozens of _STA calls during a search for a particular 
6614 device/HID, 
6615 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
6616
6617 Implemented an additional repair for predefined method return values. 
6618 Attempt 
6619 to repair unexpected NULL elements within returned Package objects. 
6620 Create 
6621 an 
6622 Integer of value zero, a NULL String, or a zero-length Buffer as 
6623 appropriate. 
6624 ACPICA BZ 818. Lin Ming, Bob Moore.
6625
6626 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
6627 the 
6628 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
6629 (with 
6630 64-bit AML integers). It is now obsolete and this change removes it from 
6631 the 
6632 ACPICA code base, replaced by UINT64. The original typedef has been 
6633 retained 
6634 for now for compatibility with existing device driver code. ACPICA BZ 
6635 824.
6636
6637 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
6638 in 
6639 the parse tree object.
6640
6641 Added additional warning options for the gcc-4 generation. Updated the 
6642 source 
6643 accordingly. This includes some code restructuring to eliminate 
6644 unreachable 
6645 code, elimination of some gotos, elimination of unused return values, 
6646 some 
6647 additional casting, and removal of redundant declarations.
6648
6649 Example Code and Data Size: These are the sizes for the OS-independent 
6650 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6651 debug version of the code includes the debug output trace mechanism and 
6652 has a 
6653 much larger code and data size.
6654
6655   Previous Release:
6656     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6657     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6658   Current Release:
6659     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6660     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6661
6662 2) iASL Compiler/Disassembler and Tools:
6663
6664 No functional changes for this release.
6665
6666 ----------------------------------------
6667 14 December 2009. Summary of changes for version 20091214:
6668
6669 1) ACPI CA Core Subsystem:
6670
6671 Enhanced automatic data type conversions for predefined name repairs. 
6672 This 
6673 change expands the automatic repairs/conversions for predefined name 
6674 return 
6675 values to make Integers, Strings, and Buffers fully interchangeable. 
6676 Also, 
6677
6678 Buffer can be converted to a Package of Integers if necessary. The 
6679 nsrepair.c 
6680 module was completely restructured. Lin Ming, Bob Moore.
6681
6682 Implemented automatic removal of null package elements during predefined 
6683 name 
6684 repairs. This change will automatically remove embedded and trailing NULL 
6685 package elements from returned package objects that are defined to 
6686 contain 
6687
6688 variable number of sub-packages. The driver is then presented with a 
6689 package 
6690 with no null elements to deal with. ACPICA BZ 819.
6691
6692 Implemented a repair for the predefined _FDE and _GTM names. The expected 
6693 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
6694 two 
6695 possible problems (both seen in the field), where a package of integers 
6696 is 
6697 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
6698 Kim.
6699
6700 Implemented additional module-level code support. This change will 
6701 properly 
6702 execute module-level code that is not at the root of the namespace (under 
6703
6704 Device object, etc.). Now executes the code within the current scope 
6705 instead 
6706 of the root. ACPICA BZ 762. Lin Ming.
6707
6708 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
6709
6710 problem where mutex errors can occur when running a _REG method that is 
6711 in 
6712 the same scope as a method-defined operation region or an operation 
6713 region 
6714 under a module-level IF block. This type of code is rare, so the problem 
6715 has 
6716 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
6717
6718 Fixed a possible memory leak during module-level code execution. An 
6719 object 
6720 could be leaked for each block of executed module-level code if the 
6721 interpreter slack mode is enabled This change deletes any implicitly 
6722 returned 
6723 object from the module-level code block. Lin Ming.
6724
6725 Removed messages for successful predefined repair(s). The repair 
6726 mechanism 
6727 was considered too wordy. Now, messages are only unconditionally emitted 
6728 if 
6729 the return object cannot be repaired. Existing messages for successful 
6730 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
6731 827.
6732
6733 Example Code and Data Size: These are the sizes for the OS-independent 
6734 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6735 debug version of the code includes the debug output trace mechanism and 
6736 has a 
6737 much larger code and data size.
6738
6739   Previous Release:
6740     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
6741     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
6742   Current Release:
6743     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6744     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6745
6746 2) iASL Compiler/Disassembler and Tools:
6747
6748 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
6749 files 
6750 were no longer automatically removed at the termination of the compile.
6751
6752 acpiexec: Implemented the -f option to specify default region fill value. 
6753 This option specifies the value used to initialize buffers that simulate 
6754 operation regions. Default value is zero. Useful for debugging problems 
6755 that 
6756 depend on a specific initial value for a region or field.
6757
6758 ----------------------------------------
6759 12 November 2009. Summary of changes for version 20091112:
6760
6761 1) ACPI CA Core Subsystem:
6762
6763 Implemented a post-order callback to AcpiWalkNamespace. The existing 
6764 interface only has a pre-order callback. This change adds an additional 
6765 parameter for a post-order callback which will be more useful for bus 
6766 scans. 
6767 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
6768
6769 Modified the behavior of the operation region memory mapping cache for 
6770 SystemMemory. Ensure that the memory mappings created for operation 
6771 regions 
6772 do not cross 4K page boundaries. Crossing a page boundary while mapping 
6773 regions can cause kernel warnings on some hosts if the pages have 
6774 different 
6775 attributes. Such regions are probably BIOS bugs, and this is the 
6776 workaround. 
6777 Linux BZ 14445. Lin Ming.
6778
6779 Implemented an automatic repair for predefined methods that must return 
6780 sorted lists. This change will repair (by sorting) packages returned by 
6781 _ALR, 
6782 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
6783 sorted 
6784 and do not contain NULL package elements. Adds one new file, 
6785 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
6786
6787 Fixed a possible fault during predefined name validation if a return 
6788 Package 
6789 object contains NULL elements. Also adds a warning if a NULL element is 
6790 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
6791 may 
6792 include repair or removal of all such NULL elements where possible.
6793
6794 Implemented additional module-level executable AML code support. This 
6795 change 
6796 will execute module-level code that is not at the root of the namespace 
6797 (under a Device object, etc.) at table load time. Module-level executable 
6798 AML 
6799 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
6800
6801 Implemented a new internal function to create Integer objects. This 
6802 function 
6803 simplifies miscellaneous object creation code. ACPICA BZ 823.
6804
6805 Reduced the severity of predefined repair messages, Warning to Info. 
6806 Since 
6807 the object was successfully repaired, a warning is too severe. Reduced to 
6808 an 
6809 info message for now. These messages may eventually be changed to debug-
6810 only. 
6811 ACPICA BZ 812.
6812
6813 Example Code and Data Size: These are the sizes for the OS-independent 
6814 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6815 debug version of the code includes the debug output trace mechanism and 
6816 has a 
6817 much larger code and data size.
6818
6819   Previous Release:
6820     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
6821     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
6822   Current Release:
6823     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
6824     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
6825
6826 2) iASL Compiler/Disassembler and Tools:
6827
6828 iASL: Implemented Switch() with While(1) so that Break works correctly. 
6829 This 
6830 change correctly implements the Switch operator with a surrounding 
6831 While(1) 
6832 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
6833
6834 iASL: Added a message if a package initializer list is shorter than 
6835 package 
6836 length. Adds a new remark for a Package() declaration if an initializer 
6837 list 
6838 exists, but is shorter than the declared length of the package. Although 
6839 technically legal, this is probably a coding error and it is seen in the 
6840 field. ACPICA BZ 815. Lin Ming, Bob Moore.
6841
6842 iASL: Fixed a problem where the compiler could fault after the maximum 
6843 number 
6844 of errors was reached (200).
6845
6846 acpixtract: Fixed a possible warning for pointer cast if the compiler 
6847 warning 
6848 level set very high.
6849
6850 ----------------------------------------
6851 13 October 2009. Summary of changes for version 20091013:
6852
6853 1) ACPI CA Core Subsystem:
6854
6855 Fixed a problem where an Operation Region _REG method could be executed 
6856 more 
6857 than once. If a custom address space handler is installed by the host 
6858 before 
6859 the "initialize operation regions" phase of the ACPICA initialization, 
6860 any 
6861 _REG methods for that address space could be executed twice. This change 
6862 fixes the problem. ACPICA BZ 427. Lin Ming.
6863
6864 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
6865 invocation of "Scope(\)" is executed (change scope to root), one internal 
6866 operand object was leaked. Lin Ming.
6867
6868 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
6869 return value is defined as a Field object in the AML, and the field
6870 size is less than or equal to the default width of an integer (32 or 
6871 64),_MAT 
6872 can incorrectly return an Integer instead of a Buffer. ACPICA now 
6873 automatically repairs this problem. ACPICA BZ 810.
6874
6875 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
6876 The 
6877 "OEM Information" field is often incorrectly returned as an Integer with 
6878 value zero if the field is not supported by the platform. This is due to 
6879 an 
6880 ambiguity in the ACPI specification. The field should always be a string. 
6881 ACPICA now automatically repairs this problem by returning a NULL string 
6882 within the returned Package. ACPICA BZ 807.
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:  85.6K Code, 18.0K Data, 103.6K Total
6892     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
6893   Current Release:
6894     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
6895     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
6896
6897 2) iASL Compiler/Disassembler and Tools:
6898
6899 Disassembler: Fixed a problem where references to external symbols that 
6900 contained one or more parent-prefixes (carats) were not handled 
6901 correctly, 
6902 possibly causing a fault. ACPICA BZ 806. Lin Ming.
6903
6904 Disassembler: Restructured the code so that all functions that handle 
6905 external symbols are in a single module. One new file is added, 
6906 common/dmextern.c.
6907
6908 AML Debugger: Added a max count argument for the Batch command (which 
6909 executes multiple predefined methods within the namespace.)
6910
6911 iASL: Updated the compiler documentation (User Reference.) Available at 
6912 http://www.acpica.org/documentation/. ACPICA BZ 750.
6913
6914 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
6915 files.
6916
6917 ----------------------------------------
6918 03 September 2009. Summary of changes for version 20090903:
6919
6920 1) ACPI CA Core Subsystem:
6921
6922 For Windows Vista compatibility, added the automatic execution of an _INI 
6923 method located at the namespace root (\_INI). This method is executed at 
6924 table load time. This support is in addition to the automatic execution 
6925 of 
6926 \_SB._INI. Lin Ming.
6927
6928 Fixed a possible memory leak in the interpreter for AML package objects 
6929 if 
6930 the package initializer list is longer than the defined size of the 
6931 package. 
6932 This apparently can only happen if the BIOS changes the package size on 
6933 the 
6934 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
6935 interpreter will truncate the package to the defined size (and issue an 
6936 error 
6937 message), but previously could leave the extra objects undeleted if they 
6938 were 
6939 pre-created during the argument processing (such is the case if the 
6940 package 
6941 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
6942
6943 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
6944 This has been reported in the field. Previously, ACPICA would zero out 
6945 the 
6946 buffer/string. Now, the operation is treated as a noop. Provides Windows 
6947 compatibility. ACPICA BZ 803. Lin Ming.
6948
6949 Removed an extraneous error message for ASL constructs of the form 
6950 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
6951 statements 
6952 are seen in many BIOSs and are once again treated as NOOPs and no error 
6953 is 
6954 emitted when they are encountered. ACPICA BZ 785.
6955
6956 Fixed an extraneous warning message if a _DSM reserved method returns a 
6957 Package object. _DSM can return any type of object, so validation on the 
6958 return type cannot be performed. ACPICA BZ 802.
6959
6960 Example Code and Data Size: These are the sizes for the OS-independent 
6961 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6962 debug version of the code includes the debug output trace mechanism and 
6963 has a 
6964 much larger code and data size.
6965
6966   Previous Release:
6967     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
6968     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
6969   Current Release:
6970     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
6971     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
6972
6973 2) iASL Compiler/Disassembler and Tools:
6974
6975 iASL: Fixed a problem with the use of the Alias operator and Resource 
6976 Templates. The correct alias is now constructed and no error is emitted. 
6977 ACPICA BZ 738.
6978
6979 iASL: Implemented the -I option to specify additional search directories 
6980 for 
6981 include files. Allows multiple additional search paths for include files. 
6982 Directories are searched in the order specified on the command line 
6983 (after 
6984 the local directory is searched.) ACPICA BZ 800.
6985
6986 iASL: Fixed a problem where the full pathname for include files was not 
6987 emitted for warnings/errors. This caused the IDE support to not work 
6988 properly. ACPICA BZ 765.
6989
6990 iASL: Implemented the -@ option to specify a Windows-style response file 
6991 containing additional command line options. ACPICA BZ 801.
6992
6993 AcpiExec: Added support to load multiple AML files simultaneously (such 
6994 as 
6995
6996 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
6997 pathname. These features allow all machine tables to be easily loaded and 
6998 debugged together. ACPICA BZ 804.
6999
7000 Disassembler: Added missing support for disassembly of HEST table Error 
7001 Bank 
7002 subtables. 
7003
7004 ----------------------------------------
7005 30 July 2009. Summary of changes for version 20090730:
7006
7007 The ACPI 4.0 implementation for ACPICA is complete with this release.
7008
7009 1) ACPI CA Core Subsystem:
7010
7011 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
7012 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
7013 new 
7014 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
7015 BERT, 
7016 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
7017 There 
7018 have been some ACPI 4.0 changes to other existing tables. Split the large 
7019 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
7020
7021 ACPI 4.0: Implemented predefined name validation for all new names. There 
7022 are 
7023 31 new names in ACPI 4.0. The predefined validation module was split into 
7024 two 
7025 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
7026
7027 Implemented support for so-called "module-level executable code". This is 
7028 executable AML code that exists outside of any control method and is 
7029 intended 
7030 to be executed at table load time. Although illegal since ACPI 2.0, this 
7031 type 
7032 of code still exists and is apparently still being created. Blocks of 
7033 this 
7034 code are now detected and executed as intended. Currently, the code 
7035 blocks 
7036 must exist under either an If, Else, or While construct; these are the 
7037 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
7038
7039 Implemented an automatic dynamic repair for predefined names that return 
7040 nested Package objects. This applies to predefined names that are defined 
7041 to 
7042 return a variable-length Package of sub-packages. If the number of sub-
7043 packages is one, BIOS code is occasionally seen that creates a simple 
7044 single 
7045 package with no sub-packages. This code attempts to fix the problem by 
7046 wrapping a new package object around the existing package. These methods 
7047 can 
7048 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
7049 BZ 
7050 790.
7051
7052 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
7053 interface. 
7054 The _HID/_CID matching was broken and no longer matched IDs correctly. 
7055 ACPICA 
7056 BZ 793.
7057
7058 Fixed a problem with AcpiReset where the reset would silently fail if the 
7059 register was one of the protected I/O ports. AcpiReset now bypasses the 
7060 port 
7061 validation mechanism. This may eventually be driven into the 
7062 AcpiRead/Write 
7063 interfaces.
7064
7065 Fixed a regression related to the recent update of the AcpiRead/Write 
7066 interfaces. A sleep/suspend could fail if the optional PM2 Control 
7067 register 
7068 does not exist during an attempt to write the Bus Master Arbitration bit. 
7069 (However, some hosts already delete the code that writes this bit, and 
7070 the 
7071 code may in fact be obsolete at this date.) ACPICA BZ 799.
7072
7073 Fixed a problem where AcpiTerminate could fault if inadvertently called 
7074 twice 
7075 in succession. ACPICA BZ 795.
7076
7077 Example Code and Data Size: These are the sizes for the OS-independent 
7078 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7079 debug version of the code includes the debug output trace mechanism and 
7080 has a 
7081 much larger code and data size.
7082
7083   Previous Release:
7084     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7085     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7086   Current Release:
7087     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7088     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7089
7090 2) iASL Compiler/Disassembler and Tools:
7091
7092 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
7093 changes to existing tables. ACPICA BZ 775.
7094
7095 ----------------------------------------
7096 25 June 2009. Summary of changes for version 20090625:
7097
7098 The ACPI 4.0 Specification was released on June 16 and is available at 
7099 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
7100 continue for the next few releases.
7101
7102 1) ACPI CA Core Subsystem:
7103
7104 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
7105 address space. Includes support for bi-directional data buffers and an 
7106 IPMI 
7107 address space handler (to be installed by an IPMI device driver.) ACPICA 
7108 BZ 
7109 773. Lin Ming.
7110
7111 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
7112 Includes 
7113 support in both the header files and the disassembler.
7114
7115 Completed a major update for the AcpiGetObjectInfo external interface. 
7116 Changes include:
7117  - Support for variable, unlimited length HID, UID, and CID strings.
7118  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
7119 etc.)
7120  - Call the _SxW power methods on behalf of a device object.
7121  - Determine if a device is a PCI root bridge.
7122  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
7123 These changes will require an update to all callers of this interface. 
7124 See 
7125 the updated ACPICA Programmer Reference for details. One new source file 
7126 has 
7127 been added - utilities/utids.c. ACPICA BZ 368, 780.
7128
7129 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
7130 transfers. The Value parameter has been extended from 32 bits to 64 bits 
7131 in 
7132 order to support new ACPI 4.0 tables. These changes will require an 
7133 update 
7134 to 
7135 all callers of these interfaces. See the ACPICA Programmer Reference for 
7136 details. ACPICA BZ 768.
7137
7138 Fixed several problems with AcpiAttachData. The handler was not invoked 
7139 when 
7140 the host node was deleted. The data sub-object was not automatically 
7141 deleted 
7142 when the host node was deleted. The interface to the handler had an 
7143 unused 
7144 parameter, this was removed. ACPICA BZ 778.
7145
7146 Enhanced the function that dumps ACPI table headers. All non-printable 
7147 characters in the string fields are now replaced with '?' (Signature, 
7148 OemId, 
7149 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
7150 these fields are occasionally seen in the field. ACPICA BZ 788.
7151
7152 Fixed a problem with predefined method repair code where the code that 
7153 attempts to repair/convert an object of incorrect type is only executed 
7154 on 
7155 the first time the predefined method is called. The mechanism that 
7156 disables 
7157 warnings on subsequent calls was interfering with the repair mechanism. 
7158 ACPICA BZ 781.
7159
7160 Fixed a possible memory leak in the predefined validation/repair code 
7161 when 
7162
7163 buffer is automatically converted to an expected string object.
7164
7165 Removed obsolete 16-bit files from the distribution and from the current 
7166 git 
7167 tree head. ACPICA BZ 776.
7168
7169 Example Code and Data Size: These are the sizes for the OS-independent 
7170 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7171 debug version of the code includes the debug output trace mechanism and 
7172 has a 
7173 much larger code and data size.
7174
7175   Previous Release:
7176     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7177     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7178   Current Release:
7179     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7180     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7181
7182 2) iASL Compiler/Disassembler and Tools:
7183
7184 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
7185 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
7186
7187 ACPI 4.0: iASL - implemented compile-time validation support for all new 
7188 predefined names and control methods (31 total). ACPICA BZ 769.
7189
7190 ----------------------------------------
7191 21 May 2009. Summary of changes for version 20090521:
7192
7193 1) ACPI CA Core Subsystem:
7194
7195 Disabled the preservation of the SCI enable bit in the PM1 control 
7196 register. 
7197 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
7198 to 
7199 be 
7200 a "preserved" bit - "OSPM always preserves this bit position", section 
7201 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
7202 because the bit needs to be explicitly set by the OS as a workaround. No 
7203 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
7204 attempts to preserve this bit.
7205
7206 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
7207 incorrectly formed _PRT package could cause a fault. Added validation to 
7208 ensure that each package element is actually a sub-package.
7209
7210 Implemented a new interface to install or override a single control 
7211 method, 
7212 AcpiInstallMethod. This interface is useful when debugging in order to 
7213 repair 
7214 an existing method or to install a missing method without having to 
7215 override 
7216 the entire ACPI table. See the ACPICA Programmer Reference for use and 
7217 examples. Lin Ming, Bob Moore.
7218
7219 Fixed several reference count issues with the DdbHandle object that is 
7220 created from a Load or LoadTable operator. Prevent premature deletion of 
7221 the 
7222 object. Also, mark the object as invalid once the table has been 
7223 unloaded. 
7224 This is needed because the handle itself may not be deleted after the 
7225 table 
7226 unload, depending on whether it has been stored in a named object by the 
7227 caller. Lin Ming.
7228
7229 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
7230 mutexes of the same sync level are acquired but then not released in 
7231 strict 
7232 opposite order, the internally maintained Current Sync Level becomes 
7233 confused 
7234 and can cause subsequent execution errors. ACPICA BZ 471.
7235
7236 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
7237 specification has been changed to make the SyncLevel for mutex objects 
7238 more 
7239 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
7240 the 
7241 same as the current sync level. This makes more sense than the previous 
7242 rule 
7243 (SyncLevel less than or equal). This change updates the code to match the 
7244 specification.
7245
7246 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
7247 The 
7248 (local) cache must be locked during all cache object deletions. Andrew 
7249 Baumann.
7250
7251 Updated the Load operator to use operation region interfaces. This 
7252 replaces 
7253 direct memory mapping with region access calls. Now, all region accesses 
7254 go 
7255 through the installed region handler as they should.
7256
7257 Simplified and optimized the NsGetNextNode function. Reduced parameter 
7258 count 
7259 and reduced code for this frequently used function.
7260
7261 Example Code and Data Size: These are the sizes for the OS-independent 
7262 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7263 debug version of the code includes the debug output trace mechanism and 
7264 has a 
7265 much larger code and data size.
7266
7267   Previous Release:
7268     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7269     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7270   Current Release:
7271     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7272     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7273
7274 2) iASL Compiler/Disassembler and Tools:
7275
7276 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
7277 problems 
7278 with sub-table disassembly and handling invalid sub-tables. Attempt 
7279 recovery 
7280 after an invalid sub-table ID.
7281
7282 ----------------------------------------
7283 22 April 2009. Summary of changes for version 20090422:
7284
7285 1) ACPI CA Core Subsystem:
7286
7287 Fixed a compatibility issue with the recently released I/O port 
7288 protection 
7289 mechanism. For windows compatibility, 1) On a port protection violation, 
7290 simply ignore the request and do not return an exception (allow the 
7291 control 
7292 method to continue execution.) 2) If only part of the request overlaps a 
7293 protected port, read/write the individual ports that are not protected. 
7294 Linux 
7295 BZ 13036. Lin Ming
7296
7297 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
7298 actually 
7299 breaks into the AML debugger if the debugger is present. This matches the 
7300 ACPI-defined behavior.
7301
7302 Fixed several possible warnings related to the use of the configurable 
7303 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
7304 pointer with no warnings. Also fixes several warnings in printf-like 
7305 statements for the 64-bit build when the type is configured as a pointer. 
7306 ACPICA BZ 766, 767.
7307
7308 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
7309 on 
7310 warning options.) Examples include printf formats, aliasing, unused 
7311 globals, 
7312 missing prototypes, missing switch default statements, use of non-ANSI 
7313 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
7314 for 
7315 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
7316
7317 Example Code and Data Size: These are the sizes for the OS-independent 
7318 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7319 debug version of the code includes the debug output trace mechanism and 
7320 has a 
7321 much larger code and data size.
7322
7323   Previous Release:
7324     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7325     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7326   Current Release:
7327     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7328     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7329
7330 2) iASL Compiler/Disassembler and Tools:
7331
7332 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
7333 warnings 
7334 on 
7335 the 64-bit build.
7336
7337 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
7338 not 
7339 correctly digest Windows/DOS formatted files (with CR/LF).
7340
7341 iASL: Added a new option for "quiet mode" (-va) that produces only the 
7342 compilation summary, not individual errors and warnings. Useful for large 
7343 batch compilations.
7344
7345 AcpiExec: Implemented a new option (-z) to enable a forced 
7346 semaphore/mutex 
7347 timeout that can be used to detect hang conditions during execution of 
7348 AML 
7349 code (includes both internal semaphores and AML-defined mutexes and 
7350 events.)
7351
7352 Added new makefiles for the generation of acpica in a generic unix-like 
7353 environment. These makefiles are intended to generate the acpica tools 
7354 and 
7355 utilities from the original acpica git source tree structure.
7356
7357 Test Suites: Updated and cleaned up the documentation files. Updated the 
7358 copyrights to 2009, affecting all source files. Use the new version of 
7359 iASL 
7360 with quiet mode. Increased the number of available semaphores in the 
7361 Windows 
7362 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
7363 added 
7364 an alternate implementation of the semaphore timeout to allow aslts to 
7365 execute fully on Cygwin.
7366
7367 ----------------------------------------
7368 20 March 2009. Summary of changes for version 20090320:
7369
7370 1) ACPI CA Core Subsystem:
7371
7372 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
7373 table 
7374 unloads. Added a reader/writer locking mechanism to allow multiple 
7375 concurrent 
7376 namespace walks (readers), but block a dynamic table unload until it can 
7377 gain 
7378 exclusive write access to the namespace. This fixes a problem where a 
7379 table 
7380 unload could (possibly catastrophically) delete the portion of the 
7381 namespace 
7382 that is currently being examined by a walk. Adds a new file, utlock.c, 
7383 that 
7384 implements the reader/writer lock mechanism. ACPICA BZ 749.
7385
7386 Fixed a regression introduced in version 20090220 where a change to the 
7387 FADT 
7388 handling could cause the ACPICA subsystem to access non-existent I/O 
7389 ports.
7390
7391 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
7392 The 
7393 FADT can contain both 32-bit and 64-bit versions of these addresses. 
7394 Previously, the 64-bit versions were favored, meaning that if both 32 and 
7395 64 
7396 versions were valid, but not equal, the 64-bit version was used. This was 
7397 found to cause some machines to fail. Now, in this case, the 32-bit 
7398 version 
7399 is used instead. This now matches the Windows behavior.
7400
7401 Implemented a new mechanism to protect certain I/O ports. Provides 
7402 Microsoft 
7403 compatibility and protects the standard PC I/O ports from access via AML 
7404 code. Adds a new file, hwvalid.c
7405
7406 Fixed a possible extraneous warning message from the FADT support. The 
7407 message warns of a 32/64 length mismatch between the legacy and GAS 
7408 definitions for a register.
7409
7410 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
7411 is 
7412 made obsolete by the port protection mechanism above. It was previously 
7413 used 
7414 to validate the entire address range of an operation region, which could 
7415 be 
7416 incorrect if the range included illegal ports, but fields within the 
7417 operation region did not actually access those ports. Validation is now 
7418 performed on a per-field basis instead of the entire region.
7419
7420 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
7421 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
7422 this 
7423 means a read/modify/write when writing to the register. However, for 
7424 status 
7425 registers, writing a one means clear the event. Writing a zero means 
7426 preserve 
7427 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
7428 spec, 
7429 and the ACPICA code now simply always writes a zero to the ignored bit.
7430
7431 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
7432 As 
7433 per the ACPI specification, for the control registers, preserve 
7434 (read/modify/write) all bits that are defined as either reserved or 
7435 ignored.
7436
7437 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
7438 When reading the register, zero the write-only bits as per the ACPI spec. 
7439 ACPICA BZ 443. Lin Ming.
7440
7441 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
7442 wants to reply true to this request. The Windows strings are the only 
7443 paths 
7444 through the AML that are tested and known to work properly.
7445
7446   Previous Release:
7447     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7448     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7449   Current Release:
7450     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7451     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7452
7453 2) iASL Compiler/Disassembler and Tools:
7454
7455 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
7456 and 
7457 aetables.c
7458
7459 ----------------------------------------
7460 20 February 2009. Summary of changes for version 20090220:
7461
7462 1) ACPI CA Core Subsystem:
7463
7464 Optimized the ACPI register locking. Removed locking for reads from the 
7465 ACPI 
7466 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
7467 is 
7468 not required when reading the single-bit registers. The 
7469 AcpiGetRegisterUnlocked function is no longer needed and has been 
7470 removed. 
7471 This will improve performance for reads on these registers. ACPICA BZ 
7472 760.
7473
7474 Fixed the parameter validation for AcpiRead/Write. Now return 
7475 AE_BAD_PARAMETER if the input register pointer is null, and 
7476 AE_BAD_ADDRESS 
7477 if 
7478 the register has an address of zero. Previously, these cases simply 
7479 returned 
7480 AE_OK. For optional registers such as PM1B status/enable/control, the 
7481 caller 
7482 should check for a valid register address before calling. ACPICA BZ 748.
7483
7484 Renamed the external ACPI bit register access functions. Renamed 
7485 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
7486 functions. The new names are AcpiReadBitRegister and 
7487 AcpiWriteBitRegister. 
7488 Also, restructured the code for these functions by simplifying the code 
7489 path 
7490 and condensing duplicate code to reduce code size.
7491
7492 Added new functions to transparently handle the possibly split PM1 A/B 
7493 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
7494 functions 
7495 now handle the split registers for PM1 Status, Enable, and Control. 
7496 ACPICA 
7497 BZ 
7498 746.
7499
7500 Added a function to handle the PM1 control registers, 
7501 AcpiHwWritePm1Control. 
7502 This function writes both of the PM1 control registers (A/B). These 
7503 registers 
7504 are different than the PM1 A/B status and enable registers in that 
7505 different 
7506 values can be written to the A/B registers. Most notably, the SLP_TYP 
7507 bits 
7508 can be different, as per the values returned from the _Sx predefined 
7509 methods.
7510
7511 Removed an extra register write within AcpiHwClearAcpiStatus. This 
7512 function 
7513 was writing an optional PM1B status register twice. The existing call to 
7514 the 
7515 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
7516 A/B 
7517 register. ACPICA BZ 751.
7518
7519 Split out the PM1 Status registers from the FADT. Added new globals for 
7520 these 
7521 registers (A/B), similar to the way the PM1 Enable registers are handled. 
7522 Instead of overloading the FADT Event Register blocks. This makes the 
7523 code 
7524 clearer and less prone to error.
7525
7526 Fixed the warning message for when the platform contains too many ACPI 
7527 tables 
7528 for the default size of the global root table data structure. The 
7529 calculation 
7530 for the truncation value was incorrect.
7531
7532 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
7533 obsolete macro, since it is now a simple reference to ->common.type. 
7534 There 
7535 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
7536
7537 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
7538 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
7539 simply SLEEP_TYPE. ACPICA BZ 754.
7540
7541 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
7542 function is only needed on 64-bit host operating systems and is thus not 
7543 included for 32-bit hosts.
7544
7545 Debug output: print the input and result for invocations of the _OSI 
7546 reserved 
7547 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
7548 the 
7549 verbosity of this debug level. Len Brown.
7550
7551 Example Code and Data Size: These are the sizes for the OS-independent 
7552 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7553 debug version of the code includes the debug output trace mechanism and 
7554 has a 
7555 much larger code and data size.
7556
7557   Previous Release:
7558     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7559     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7560   Current Release:
7561     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7562     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7563
7564 2) iASL Compiler/Disassembler and Tools:
7565
7566 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
7567 various legal performance profiles.
7568
7569 ----------------------------------------
7570 23 January 2009. Summary of changes for version 20090123:
7571
7572 1) ACPI CA Core Subsystem:
7573
7574 Added the 2009 copyright to all module headers and signons. This affects 
7575 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
7576 the tools/utilities.
7577
7578 Implemented a change to allow the host to override any ACPI table, 
7579 including 
7580 dynamically loaded tables. Previously, only the DSDT could be replaced by 
7581 the 
7582 host. With this change, the AcpiOsTableOverride interface is called for 
7583 each 
7584 table found in the RSDT/XSDT during ACPICA initialization, and also 
7585 whenever 
7586 a table is dynamically loaded via the AML Load operator.
7587
7588 Updated FADT flag definitions, especially the Boot Architecture flags.
7589
7590 Debugger: For the Find command, automatically pad the input ACPI name 
7591 with 
7592 underscores if the name is shorter than 4 characters. This enables a 
7593 match 
7594 with the actual namespace entry which is itself padded with underscores.
7595
7596 Example Code and Data Size: These are the sizes for the OS-independent 
7597 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7598 debug version of the code includes the debug output trace mechanism and 
7599 has a 
7600 much larger code and data size.
7601
7602   Previous Release:
7603     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7604     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7605   Current Release:
7606     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7607     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7608
7609 2) iASL Compiler/Disassembler and Tools:
7610
7611 Fix build error under Bison-2.4.
7612
7613 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
7614 Architecture 
7615 flags. Now decode all flags, regardless of the FADT version. Flag output 
7616 includes the FADT version which first defined each flag.
7617
7618 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
7619 and 
7620 DSDT). Windows only.
7621
7622 ----------------------------------------
7623 04 December 2008. Summary of changes for version 20081204:
7624
7625 1) ACPI CA Core Subsystem:
7626
7627 The ACPICA Programmer Reference has been completely updated and revamped 
7628 for 
7629 this release. This includes updates to the external interfaces, OSL 
7630 interfaces, the overview sections, and the debugger reference.
7631
7632 Several new ACPICA interfaces have been implemented and documented in the 
7633 programmer reference:
7634 AcpiReset - Writes the reset value to the FADT-defined reset register.
7635 AcpiDisableAllGpes - Disable all available GPEs.
7636 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
7637 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
7638 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
7639 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
7640 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
7641
7642 Most of the public ACPI hardware-related interfaces have been moved to a 
7643 new 
7644 file, components/hardware/hwxface.c
7645
7646 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
7647 register lengths within the FADT are now used, and the low level ACPI 
7648 register access no longer hardcodes the ACPI register lengths. Given that 
7649 there may be some risk in actually trusting the FADT register lengths, a 
7650 run-
7651 time option was added to fall back to the default hardcoded lengths if 
7652 the 
7653 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
7654 option is set to true for now, and a warning is issued if a suspicious 
7655 FADT 
7656 register length is overridden with the default value.
7657
7658 Fixed a reference count issue in NsRepairObject. This problem was 
7659 introduced 
7660 in version 20081031 as part of a fix to repair Buffer objects within 
7661 Packages. Lin Ming.
7662
7663 Added semaphore support to the Linux/Unix application OS-services layer 
7664 (OSL). ACPICA BZ 448. Lin Ming.
7665
7666 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
7667 will 
7668 be implemented in the OSL, or will binary semaphores be used instead.
7669
7670 Example Code and Data Size: These are the sizes for the OS-independent 
7671 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7672 debug version of the code includes the debug output trace mechanism and 
7673 has a 
7674 much larger code and data size.
7675
7676   Previous Release:
7677     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
7678     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
7679   Current Release:
7680     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7681     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7682
7683 2) iASL Compiler/Disassembler and Tools:
7684
7685 iASL: Completed the '-e' option to include additional ACPI tables in 
7686 order 
7687 to 
7688 aid with disassembly and External statement generation. ACPICA BZ 742. 
7689 Lin 
7690 Ming.
7691
7692 iASL: Removed the "named object in while loop" error. The compiler cannot 
7693 determine how many times a loop will execute. ACPICA BZ 730.
7694
7695 Disassembler: Implemented support for FADT revision 2 (MS extension). 
7696 ACPICA 
7697 BZ 743.
7698
7699 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
7700 MCFG).
7701
7702 ----------------------------------------
7703 31 October 2008. Summary of changes for version 20081031:
7704
7705 1) ACPI CA Core Subsystem:
7706
7707 Restructured the ACPICA header files into public/private. acpi.h now 
7708 includes 
7709 only the "public" acpica headers. All other acpica headers are "private" 
7710 and 
7711 should not be included by acpica users. One new file, accommon.h is used 
7712 to 
7713 include the commonly used private headers for acpica code generation. 
7714 Future 
7715 plans include moving all private headers to a new subdirectory.
7716
7717 Implemented an automatic Buffer->String return value conversion for 
7718 predefined ACPI methods. For these methods (such as _BIF), added 
7719 automatic 
7720 conversion for return objects that are required to be a String, but a 
7721 Buffer 
7722 was found instead. This can happen when reading string battery data from 
7723 an 
7724 operation region, because it used to be difficult to convert the data 
7725 from 
7726 buffer to string from within the ASL. Ensures that the host OS is 
7727 provided 
7728 with a valid null-terminated string. Linux BZ 11822.
7729
7730 Updated the FACS waking vector interfaces. Split 
7731 AcpiSetFirmwareWakingVector 
7732 into two: one for the 32-bit vector, another for the 64-bit vector. This 
7733 is 
7734 required because the host OS must setup the wake much differently for 
7735 each 
7736 vector (real vs. protected mode, etc.) and the interface itself should 
7737 not 
7738 be 
7739 deciding which vector to use. Also, eliminated the 
7740 GetFirmwareWakingVector 
7741 interface, as it served no purpose (only the firmware reads the vector, 
7742 OS 
7743 only writes the vector.) ACPICA BZ 731.
7744
7745 Implemented a mechanism to escape infinite AML While() loops. Added a 
7746 loop 
7747 counter to force exit from AML While loops if the count becomes too 
7748 large. 
7749 This can occur in poorly written AML when the hardware does not respond 
7750 within a while loop and the loop does not implement a timeout. The 
7751 maximum 
7752 loop count is configurable. A new exception code is returned when a loop 
7753 is 
7754 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
7755
7756 Optimized the execution of AML While loops. Previously, a control state 
7757 object was allocated and freed for each execution of the loop. The 
7758 optimization is to simply reuse the control state for each iteration. 
7759 This 
7760 speeds up the raw loop execution time by about 5%.
7761
7762 Enhanced the implicit return mechanism. For Windows compatibility, return 
7763 an 
7764 implicit integer of value zero for methods that contain no executable 
7765 code. 
7766 Such methods are seen in the field as stubs (presumably), and can cause 
7767 drivers to fail if they expect a return value. Lin Ming.
7768
7769 Allow multiple backslashes as root prefixes in namepaths. In a fully 
7770 qualified namepath, allow multiple backslash prefixes. This can happen 
7771 (and 
7772 is seen in the field) because of the use of a double-backslash in strings 
7773 (since backslash is the escape character) causing confusion. ACPICA BZ 
7774 739 
7775 Lin Ming.
7776
7777 Emit a warning if two different FACS or DSDT tables are discovered in the 
7778 FADT. Checks if there are two valid but different addresses for the FACS 
7779 and 
7780 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
7781
7782 Consolidated the method argument count validation code. Merged the code 
7783 that 
7784 validates control method argument counts into the predefined validation 
7785 module. Eliminates possible multiple warnings for incorrect argument 
7786 counts.
7787
7788 Implemented ACPICA example code. Includes code for ACPICA initialization, 
7789 handler installation, and calling a control method. Available at 
7790 source/tools/examples.
7791
7792 Added a global pointer for FACS table to simplify internal FACS access. 
7793 Use 
7794 the global pointer instead of using AcpiGetTableByIndex for each FACS 
7795 access. 
7796 This simplifies the code for the Global Lock and the Firmware Waking 
7797 Vector(s).
7798
7799 Example Code and Data Size: These are the sizes for the OS-independent 
7800 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7801 debug version of the code includes the debug output trace mechanism and 
7802 has a 
7803 much larger code and data size.
7804
7805   Previous Release:
7806     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
7807     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
7808   Current Release:
7809     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
7810     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
7811
7812 2) iASL Compiler/Disassembler and Tools:
7813
7814 iASL: Improved disassembly of external method calls. Added the -e option 
7815 to 
7816 allow the inclusion of additional ACPI tables to help with the 
7817 disassembly 
7818 of 
7819 method invocations and the generation of external declarations during the 
7820 disassembly. Certain external method invocations cannot be disassembled 
7821 properly without the actual declaration of the method. Use the -e option 
7822 to 
7823 include the table where the external method(s) are actually declared. 
7824 Most 
7825 useful for disassembling SSDTs that make method calls back to the master 
7826 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
7827 -d 
7828 -e dsdt.aml ssdt1.aml
7829
7830 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
7831 problem where the use of an alias within a namepath would result in a not 
7832 found error or cause the compiler to fault. Also now allows forward 
7833 references from the Alias operator itself. ACPICA BZ 738.
7834
7835 ----------------------------------------
7836 26 September 2008. Summary of changes for version 20080926:
7837
7838 1) ACPI CA Core Subsystem:
7839
7840 Designed and implemented a mechanism to validate predefined ACPI methods 
7841 and 
7842 objects. This code validates the predefined ACPI objects (objects whose 
7843 names 
7844 start with underscore) that appear in the namespace, at the time they are 
7845 evaluated. The argument count and the type of the returned object are 
7846 validated against the ACPI specification. The purpose of this validation 
7847 is 
7848 to detect problems with the BIOS-implemented predefined ACPI objects 
7849 before 
7850 the results are returned to the ACPI-related drivers. Future enhancements 
7851 may 
7852 include actual repair of incorrect return objects where possible. Two new 
7853 files are nspredef.c and acpredef.h.
7854
7855 Fixed a fault in the AML parser if a memory allocation fails during the 
7856 Op 
7857 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
7858
7859 Fixed an issue with implicit return compatibility. This change improves 
7860 the 
7861 implicit return mechanism to be more compatible with the MS interpreter. 
7862 Lin 
7863 Ming, ACPICA BZ 349.
7864
7865 Implemented support for zero-length buffer-to-string conversions. Allow 
7866 zero 
7867 length strings during interpreter buffer-to-string conversions. For 
7868 example, 
7869 during the ToDecimalString and ToHexString operators, as well as implicit 
7870 conversions. Fiodor Suietov, ACPICA BZ 585.
7871
7872 Fixed two possible memory leaks in the error exit paths of 
7873 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
7874 are 
7875 similar in that they use a stack of state objects in order to eliminate 
7876 recursion. The stack must be fully unwound and deallocated if an error 
7877 occurs. Lin Ming. ACPICA BZ 383.
7878
7879 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
7880 global 
7881 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
7882 Moore ACPICA BZ 442.
7883
7884 Removed the obsolete version number in module headers. Removed the 
7885 "$Revision" number that appeared in each module header. This version 
7886 number 
7887 was useful under SourceSafe and CVS, but has no meaning under git. It is 
7888 not 
7889 only incorrect, it could also be misleading.
7890
7891 Example Code and Data Size: These are the sizes for the OS-independent 
7892 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7893 debug version of the code includes the debug output trace mechanism and 
7894 has a 
7895 much larger code and data size.
7896
7897   Previous Release:
7898     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7899     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
7900   Current Release:
7901     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
7902     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
7903
7904 ----------------------------------------
7905 29 August 2008. Summary of changes for version 20080829:
7906
7907 1) ACPI CA Core Subsystem:
7908
7909 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
7910 Reference. Changes include the elimination of cheating on the Object 
7911 field 
7912 for the DdbHandle subtype, addition of a reference class field to 
7913 differentiate the various reference types (instead of an AML opcode), and 
7914 the 
7915 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
7916
7917 Reduce an error to a warning for an incorrect method argument count. 
7918 Previously aborted with an error if too few arguments were passed to a 
7919 control method via the external ACPICA interface. Now issue a warning 
7920 instead 
7921 and continue. Handles the case where the method inadvertently declares 
7922 too 
7923 many arguments, but does not actually use the extra ones. Applies mainly 
7924 to 
7925 the predefined methods. Lin Ming. Linux BZ 11032.
7926
7927 Disallow the evaluation of named object types with no intrinsic value. 
7928 Return 
7929 AE_TYPE for objects that have no value and therefore evaluation is 
7930 undefined: 
7931 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
7932 of 
7933 these types were allowed, but an exception would be generated at some 
7934 point 
7935 during the evaluation. Now, the error is generated up front.
7936
7937 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
7938 (nsnames.c). Fixes a leak in the error exit path.
7939
7940 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
7941 debug 
7942 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
7943 ACPI_EXCEPTION 
7944 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
7945 ACPI_LV_EVENTS.
7946
7947 Removed obsolete and/or unused exception codes from the acexcep.h header. 
7948 There is the possibility that certain device drivers may be affected if 
7949 they 
7950 use any of these exceptions.
7951
7952 The ACPICA documentation has been added to the public git source tree, 
7953 under 
7954 acpica/documents. Included are the ACPICA programmer reference, the iASL 
7955 compiler reference, and the changes.txt release logfile.
7956
7957 Example Code and Data Size: These are the sizes for the OS-independent 
7958 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7959 debug version of the code includes the debug output trace mechanism and 
7960 has a 
7961 much larger code and data size.
7962
7963   Previous Release:
7964     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7965     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
7966   Current Release:
7967     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7968     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
7969
7970 2) iASL Compiler/Disassembler and Tools:
7971
7972 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
7973 defines _SCP with 3 arguments. Previous versions defined it with only 1 
7974 argument. iASL now allows both definitions.
7975
7976 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
7977 zero-
7978 length subtables when disassembling ACPI tables. Also fixed a couple of 
7979 errors where a full 16-bit table type field was not extracted from the 
7980 input 
7981 properly.
7982
7983 acpisrc: Improve comment counting mechanism for generating source code 
7984 statistics. Count first and last lines of multi-line comments as 
7985 whitespace, 
7986 not comment lines. Handle Linux legal header in addition to standard 
7987 acpica 
7988 header.
7989
7990 ----------------------------------------
7991
7992 29 July 2008. Summary of changes for version 20080729:
7993
7994 1) ACPI CA Core Subsystem:
7995
7996 Fix a possible deadlock in the GPE dispatch. Remove call to 
7997 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
7998 attempt 
7999 to acquire the GPE lock but can deadlock since the GPE lock is already 
8000 held 
8001 at dispatch time. This code was introduced in version 20060831 as a 
8002 response 
8003 to Linux BZ 6881 and has since been removed from Linux.
8004
8005 Add a function to dereference returned reference objects. Examines the 
8006 return 
8007 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
8008 are 
8009 automatically dereferenced in an attempt to return something useful 
8010 (these 
8011 reference types cannot be converted into an external ACPI_OBJECT.) 
8012 Provides 
8013 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
8014
8015 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
8016 subtables for the MADT and one new subtable for the SRAT. Includes 
8017 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
8018 x2APIC 
8019 Specification, June 2008.
8020
8021 Additional error checking for pathname utilities. Add error check after 
8022 all 
8023 calls to AcpiNsGetPathnameLength. Add status return from 
8024 AcpiNsBuildExternalPath and check after all calls. Add parameter 
8025 validation 
8026 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
8027
8028 Return status from the global init function AcpiUtGlobalInitialize. This 
8029 is 
8030 used by both the kernel subsystem and the utilities such as iASL 
8031 compiler. 
8032 The function could possibly fail when the caches are initialized. Yang 
8033 Yi.
8034
8035 Add a function to decode reference object types to strings. Created for 
8036 improved error messages. 
8037
8038 Improve object conversion error messages. Better error messages during 
8039 object 
8040 conversion from internal to the external ACPI_OBJECT. Used for external 
8041 calls 
8042 to AcpiEvaluateObject.
8043
8044 Example Code and Data Size: These are the sizes for the OS-independent 
8045 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8046 debug version of the code includes the debug output trace mechanism and 
8047 has a 
8048 much larger code and data size.
8049
8050   Previous Release:
8051     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8052     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8053   Current Release:
8054     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8055     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8056
8057 2) iASL Compiler/Disassembler and Tools:
8058
8059 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
8060 problem 
8061 introduced in version 20080701. If the object being evaluated (via 
8062 execute 
8063 command) is not a method, the debugger can hang while trying to obtain 
8064 non-
8065 existent parameters.
8066
8067 iASL: relax error for using reserved "_T_x" identifiers. These names can 
8068 appear in a disassembled ASL file if they were emitted by the original 
8069 compiler. Instead of issuing an error or warning and forcing the user to 
8070 manually change these names, issue a remark instead.
8071
8072 iASL: error if named object created in while loop. Emit an error if any 
8073 named 
8074 object is created within a While loop. If allowed, this code will 
8075 generate 
8076
8077 run-time error on the second iteration of the loop when an attempt is 
8078 made 
8079 to 
8080 create the same named object twice. ACPICA bugzilla 730.
8081
8082 iASL: Support absolute pathnames for include files. Add support for 
8083 absolute 
8084 pathnames within the Include operator. previously, only relative 
8085 pathnames 
8086 were supported.
8087
8088 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
8089 Descriptor. 
8090 The ACPI spec requires one interrupt minimum. BZ 423
8091
8092 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
8093 Handles the case for the Interrupt Resource Descriptor where
8094 the ResourceSource argument is omitted but ResourceSourceIndex
8095 is present. Now leave room for the Index. BZ 426
8096
8097 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
8098 cases 
8099 where an error message is emitted if the target does not exist. BZ 516
8100
8101 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
8102 (get ACPI tables on Windows). This was apparently broken in version 
8103 20070919.
8104
8105 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
8106 where 
8107 the EOF happens immediately after the last table in the input file. Print 
8108 completion message. Previously, no message was displayed in this case.
8109
8110 ----------------------------------------
8111 01 July 2008. Summary of changes for version 20080701:
8112
8113 0) Git source tree / acpica.org
8114
8115 Fixed a problem where a git-clone from http would not transfer the entire 
8116 source tree.
8117
8118 1) ACPI CA Core Subsystem:
8119
8120 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
8121 enable bit. Now performs a read-change-write of the enable register 
8122 instead 
8123 of simply writing out the cached enable mask. This will prevent 
8124 inadvertent 
8125 enabling of GPEs if a rogue GPE is received during initialization (before 
8126 GPE 
8127 handlers are installed.)
8128
8129 Implemented a copy for dynamically loaded tables. Previously, dynamically 
8130 loaded tables were simply mapped - but on some machines this memory is 
8131 corrupted after suspend. Now copy the table to a local buffer. For the 
8132 OpRegion case, added checksum verify. Use the table length from the table 
8133 header, not the region length. For the Buffer case, use the table length 
8134 also. Dennis Noordsij, Bob Moore. BZ 10734
8135
8136 Fixed a problem where the same ACPI table could not be dynamically loaded 
8137 and 
8138 unloaded more than once. Without this change, a table cannot be loaded 
8139 again 
8140 once it has been loaded/unloaded one time. The current mechanism does not 
8141 unregister a table upon an unload. During a load, if the same table is 
8142 found, 
8143 this no longer returns an exception. BZ 722
8144
8145 Fixed a problem where the wrong descriptor length was calculated for the 
8146 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
8147 EndTag 
8148 are calculated as 12 bytes long, but the actual length in the internal 
8149 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
8150 Reported 
8151 by Linn Crosetto. BZ 728
8152
8153 Fixed a possible memory leak in the Unload operator. The DdbHandle 
8154 returned 
8155 by Load() did not have its reference count decremented during unload, 
8156 leading 
8157 to a memory leak. Lin Ming. BZ 727
8158
8159 Fixed a possible memory leak when deleting thermal/processor objects. Any 
8160 associated notify handlers (and objects) were not being deleted. Fiodor 
8161 Suietov. BZ 506
8162
8163 Fixed the ordering of the ASCII names in the global mutex table to match 
8164 the 
8165 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
8166 only. 
8167 Vegard Nossum. BZ 726
8168
8169 Enhanced the AcpiGetObjectInfo interface to return the number of required 
8170 arguments if the object is a control method. Added this call to the 
8171 debugger 
8172 so the proper number of default arguments are passed to a method. This 
8173 prevents a warning when executing methods from AcpiExec.
8174
8175 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
8176 AE_BAD_PARAMETER if input handle is invalid. BZ 474
8177
8178 Fixed an extraneous warning from exconfig.c on the 64-bit build.
8179
8180 Example Code and Data Size: These are the sizes for the OS-independent 
8181 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8182 debug version of the code includes the debug output trace mechanism and 
8183 has a 
8184 much larger code and data size.
8185
8186   Previous Release:
8187     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8188     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8189   Current Release:
8190     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8191     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8192
8193 2) iASL Compiler/Disassembler and Tools:
8194
8195 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
8196 resource descriptor names.
8197
8198 iASL: Detect invalid ASCII characters in input (windows version). Removed 
8199 the 
8200 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
8201 characters in the input. BZ 441
8202
8203 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
8204 the 
8205 "result of operation not used" warning when the DDB handle returned from 
8206 LoadTable is not used. The warning is not needed. BZ 590
8207
8208 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
8209 method 
8210 to 
8211 pass address of table to the AML. Added option to disable OpRegion 
8212 simulation 
8213 to allow creation of an OpRegion with a real address that was passed to 
8214 _CFG. 
8215 All of this allows testing of the Load and Unload operators from 
8216 AcpiExec.
8217
8218 Debugger: update tables command for unloaded tables. Handle unloaded 
8219 tables 
8220 and use the standard table header output routine.
8221
8222 ----------------------------------------
8223 09 June 2008. Summary of changes for version 20080609:
8224
8225 1) ACPI CA Core Subsystem:
8226
8227 Implemented a workaround for reversed _PRT entries. A significant number 
8228 of 
8229 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
8230 change dynamically detects and repairs this problem. Provides 
8231 compatibility 
8232 with MS ACPI. BZ 6859
8233
8234 Simplified the internal ACPI hardware interfaces to eliminate the locking 
8235 flag parameter from Register Read/Write. Added a new external interface, 
8236 AcpiGetRegisterUnlocked.
8237
8238 Fixed a problem where the invocation of a GPE control method could hang. 
8239 This 
8240 was a regression introduced in 20080514. The new method argument count 
8241 validation mechanism can enter an infinite loop when a GPE method is 
8242 dispatched. Problem fixed by removing the obsolete code that passed GPE 
8243 block 
8244 information to the notify handler via the control method parameter 
8245 pointer.
8246
8247 Fixed a problem where the _SST execution status was incorrectly returned 
8248 to 
8249 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
8250 in 
8251 20080514. _SST is optional and a NOT_FOUND exception should never be 
8252 returned. BZ 716
8253
8254 Fixed a problem where a deleted object could be accessed from within the 
8255 AML 
8256 parser. This was a regression introduced in version 20080123 as a fix for 
8257 the 
8258 Unload operator. Lin Ming. BZ 10669
8259
8260 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
8261 operands 
8262 and eliminated the use of a negative index in a loop. Operands are now 
8263 displayed in the correct order, not backwards. This also fixes a 
8264 regression 
8265 introduced in 20080514 on 64-bit systems where the elimination of 
8266 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
8267 715
8268
8269 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
8270 exit 
8271 path did not delete a locally allocated structure.
8272
8273 Updated definitions for the DMAR and SRAT tables to synchronize with the 
8274 current specifications. Includes disassembler support.
8275
8276 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
8277 loop termination value was used. Loop terminated on iteration early, 
8278 missing 
8279 one mutex. Linn Crosetto
8280
8281 Example Code and Data Size: These are the sizes for the OS-independent 
8282 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8283 debug version of the code includes the debug output trace mechanism and 
8284 has a 
8285 much larger code and data size.
8286
8287   Previous Release:
8288     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8289     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8290   Current Release:
8291     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8292     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8293
8294 2) iASL Compiler/Disassembler and Tools:
8295
8296 Disassembler: Implemented support for EisaId() within _CID objects. Now 
8297 disassemble integer _CID objects back to EisaId invocations, including 
8298 multiple integers within _CID packages. Includes single-step support for 
8299 debugger also.
8300
8301 Disassembler: Added support for DMAR and SRAT table definition changes.
8302
8303 ----------------------------------------
8304 14 May 2008. Summary of changes for version 20080514:
8305
8306 1) ACPI CA Core Subsystem:
8307
8308 Fixed a problem where GPEs were enabled too early during the ACPICA 
8309 initialization. This could lead to "handler not installed" errors on some 
8310 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
8311 This 
8312 ensures that all operation regions and devices throughout the namespace 
8313 have 
8314 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
8315
8316 Implemented a change to the enter sleep code. Moved execution of the _GTS 
8317 method to just before setting sleep enable bit. The execution was moved 
8318 from 
8319 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
8320 immediately before the SLP_EN bit is set, as per the ACPI specification. 
8321 Luming Yu, BZ 1653.
8322
8323 Implemented a fix to disable unknown GPEs (2nd version). Now always 
8324 disable 
8325 the GPE, even if ACPICA thinks that that it is already disabled. It is 
8326 possible that the AML or some other code has enabled the GPE unbeknownst 
8327 to 
8328 the ACPICA code.
8329
8330 Fixed a problem with the Field operator where zero-length fields would 
8331 return 
8332 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
8333 ASL 
8334 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
8335
8336 Implemented a fix for the Load operator, now load the table at the 
8337 namespace 
8338 root. This reverts a change introduced in version 20071019. The table is 
8339 now 
8340 loaded at the namespace root even though this goes against the ACPI 
8341 specification. This provides compatibility with other ACPI 
8342 implementations. 
8343 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
8344 Ming.
8345
8346 Fixed a problem where ACPICA would not Load() tables with unusual 
8347 signatures. 
8348 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
8349 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
8350 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
8351 such 
8352 signatures, ACPICA must be compatible. BZ 10454.
8353
8354 Fixed a possible negative array index in AcpiUtValidateException. Added 
8355 NULL 
8356 fields to the exception string arrays to eliminate a -1 subtraction on 
8357 the 
8358 SubStatus field.
8359
8360 Updated the debug tracking macros to reduce overall code and data size. 
8361 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
8362 instead of pointers to static strings. Jan Beulich and Bob Moore.
8363
8364 Implemented argument count checking in control method invocation via 
8365 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
8366 too 
8367 many. This applies only to extern programmatic control method execution, 
8368 not 
8369 method-to-method calls within the AML. Lin Ming.
8370
8371 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
8372 no 
8373 longer needed, especially with the removal of 16-bit support. It was 
8374 replaced 
8375 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
8376 bit 
8377 on 
8378 32/64-bit platforms is required.
8379
8380 Added the C const qualifier for appropriate string constants -- mostly 
8381 MODULE_NAME and printf format strings. Jan Beulich.
8382
8383 Example Code and Data Size: These are the sizes for the OS-independent 
8384 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8385 debug version of the code includes the debug output trace mechanism and 
8386 has a 
8387 much larger code and data size.
8388
8389   Previous Release:
8390     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8391     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8392   Current Release:
8393     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8394     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8395
8396 2) iASL Compiler/Disassembler and Tools:
8397
8398 Implemented ACPI table revision ID validation in the disassembler. Zero 
8399 is 
8400 always invalid. For DSDTs, the ID controls the interpreter integer width. 
8401
8402 means 32-bit and this is unusual. 2 or greater is 64-bit.
8403
8404 ----------------------------------------
8405 21 March 2008. Summary of changes for version 20080321:
8406
8407 1) ACPI CA Core Subsystem:
8408
8409 Implemented an additional change to the GPE support in order to suppress 
8410 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
8411 permanently 
8412 disable incoming GPEs that are neither enabled nor disabled -- meaning 
8413 that 
8414 the GPE is unknown to the system. This should prevent future interrupt 
8415 floods 
8416 from that GPE. BZ 6217 (Zhang Rui)
8417
8418 Fixed a problem where NULL package elements were not returned to the 
8419 AcpiEvaluateObject interface correctly. The element was simply ignored 
8420 instead of returning a NULL ACPI_OBJECT package element, potentially 
8421 causing 
8422 a buffer overflow and/or confusing the caller who expected a fixed number 
8423 of 
8424 elements. BZ 10132 (Lin Ming, Bob Moore)
8425
8426 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
8427 Dword, 
8428 Qword), Field, BankField, and IndexField operators when invoked from 
8429 inside 
8430 an executing control method. In this case, these operators created 
8431 namespace 
8432 nodes that were incorrectly left marked as permanent nodes instead of 
8433 temporary nodes. This could cause a problem if there is race condition 
8434 between an exiting control method and a running namespace walk. (Reported 
8435 by 
8436 Linn Crosetto)
8437
8438 Fixed a problem where the CreateField and CreateXXXField operators would 
8439 incorrectly allow duplicate names (the name of the field) with no 
8440 exception 
8441 generated.
8442
8443 Implemented several changes for Notify handling. Added support for new 
8444 Notify 
8445 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
8446 PowerResource objects is no longer allowed, as per the ACPI 
8447 specification. 
8448 (Bob Moore, Zhang Rui)
8449
8450 All Reference Objects returned via the AcpiEvaluateObject interface are 
8451 now 
8452 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
8453 for 
8454 NULL objects - either NULL package elements or unresolved named 
8455 references.
8456
8457 Fixed a problem where an extraneous debug message was produced for 
8458 package 
8459 objects (when debugging enabled). The message "Package List length larger 
8460 than NumElements count" is now produced in the correct case, and is now 
8461 an 
8462 error message rather than a debug message. Added a debug message for the 
8463 opposite case, where NumElements is larger than the Package List (the 
8464 package 
8465 will be padded out with NULL elements as per the ACPI spec.)
8466
8467 Implemented several improvements for the output of the ASL "Debug" object 
8468 to 
8469 clarify and keep all data for a given object on one output line.
8470
8471 Fixed two size calculation issues with the variable-length Start 
8472 Dependent 
8473 resource descriptor.
8474
8475 Example Code and Data Size: These are the sizes for the OS-independent 
8476 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8477 debug version of the code includes the debug output trace mechanism and 
8478 has 
8479 a much larger code and data size.
8480
8481   Previous Release:
8482     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8483     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8484   Current Release:
8485     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8486     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8487
8488 2) iASL Compiler/Disassembler and Tools:
8489
8490 Fixed a problem with the use of the Switch operator where execution of 
8491 the 
8492 containing method by multiple concurrent threads could cause an 
8493 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
8494 actual Switch opcode, it must be simulated with local named temporary 
8495 variables and if/else pairs. The solution chosen was to mark any method 
8496 that 
8497 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
8498 469.
8499
8500 ----------------------------------------
8501 13 February 2008. Summary of changes for version 20080213:
8502
8503 1) ACPI CA Core Subsystem:
8504
8505 Implemented another MS compatibility design change for GPE/Notify 
8506 handling. 
8507 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
8508 to 
8509 complete first. It is expected that the OSL will queue the enable request 
8510 behind all pending notify requests (may require changes to the local host 
8511 OSL 
8512 in AcpiOsExecute). Alexey Starikovskiy.
8513
8514 Fixed a problem where buffer and package objects passed as arguments to a 
8515 control method via the external AcpiEvaluateObject interface could cause 
8516 an 
8517 AE_AML_INTERNAL exception depending on the order and type of operators 
8518 executed by the target control method.
8519
8520 Fixed a problem where resource descriptor size optimization could cause a 
8521 problem when a _CRS resource template is passed to a _SRS method. The 
8522 _SRS 
8523 resource template must use the same descriptors (with the same size) as 
8524 returned from _CRS. This change affects the following resource 
8525 descriptors: 
8526 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
8527 9487)
8528
8529 Fixed a problem where a CopyObject to RegionField, BankField, and 
8530 IndexField 
8531 objects did not perform an implicit conversion as it should. These types 
8532 must 
8533 retain their initial type permanently as per the ACPI specification. 
8534 However, 
8535 a CopyObject to all other object types should not perform an implicit 
8536 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
8537
8538 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
8539 match device CIDs did not examine the entire list of available CIDs, but 
8540 instead aborted on the first non-matching CID. Andrew Patterson.
8541
8542 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
8543 was 
8544 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
8545 truncating the upper dword of a 64-bit value. This macro is only used to 
8546 display debug output, so no incorrect calculations were made. Also, 
8547 reimplemented the macro so that a 64-bit shift is not performed by 
8548 inefficient compilers.
8549
8550 Added missing va_end statements that should correspond with each va_start 
8551 statement.
8552
8553 Example Code and Data Size: These are the sizes for the OS-independent 
8554 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8555 debug version of the code includes the debug output trace mechanism and 
8556 has 
8557 a much larger code and data size.
8558
8559   Previous Release:
8560     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8561     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8562   Current Release:
8563     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8564     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8565
8566 2) iASL Compiler/Disassembler and Tools:
8567
8568 Implemented full disassembler support for the following new ACPI tables: 
8569 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
8570 complicated HEST table. These tables support the Windows Hardware Error 
8571 Architecture (WHEA).
8572
8573 ----------------------------------------
8574 23 January 2008. Summary of changes for version 20080123:
8575
8576 1) ACPI CA Core Subsystem:
8577
8578 Added the 2008 copyright to all module headers and signons. This affects 
8579 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
8580 the tools/utilities.
8581
8582 Fixed a problem with the SizeOf operator when used with Package and 
8583 Buffer 
8584 objects. These objects have deferred execution for some arguments, and 
8585 the 
8586 execution is now completed before the SizeOf is executed. This problem 
8587 caused 
8588 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
8589 BZ 
8590 9558
8591
8592 Implemented an enhancement to the interpreter "slack mode". In the 
8593 absence 
8594 of 
8595 an explicit return or an implicitly returned object from the last 
8596 executed 
8597 opcode, a control method will now implicitly return an integer of value 0 
8598 for 
8599 Microsoft compatibility. (Lin Ming) BZ 392
8600
8601 Fixed a problem with the Load operator where an exception was not 
8602 returned 
8603 in 
8604 the case where the table is already loaded. (Lin Ming) BZ 463
8605
8606 Implemented support for the use of DDBHandles as an Indexed Reference, as 
8607 per 
8608 the ACPI spec. (Lin Ming) BZ 486
8609
8610 Implemented support for UserTerm (Method invocation) for the Unload 
8611 operator 
8612 as per the ACPI spec. (Lin Ming) BZ 580
8613
8614 Fixed a problem with the LoadTable operator where the OemId and 
8615 OemTableId 
8616 input strings could cause unexpected failures if they were shorter than 
8617 the 
8618 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
8619
8620 Implemented support for UserTerm (Method invocation) for the Unload 
8621 operator 
8622 as per the ACPI spec. (Lin Ming) BZ 580
8623
8624 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
8625 HEST, 
8626 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
8627
8628 Example Code and Data Size: These are the sizes for the OS-independent 
8629 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8630 debug version of the code includes the debug output trace mechanism and 
8631 has 
8632 a much larger code and data size.
8633
8634   Previous Release:
8635     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8636     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8637   Current Release:
8638     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8639     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8640
8641 2) iASL Compiler/Disassembler and Tools:
8642
8643 Implemented support in the disassembler for checksum validation on 
8644 incoming 
8645 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
8646 table 
8647 header dump at the start of the disassembly.
8648
8649 Implemented additional debugging information in the namespace listing 
8650 file 
8651 created during compilation. In addition to the namespace hierarchy, the 
8652 full 
8653 pathname to each namespace object is displayed.
8654
8655 Fixed a problem with the disassembler where invalid ACPI tables could 
8656 cause 
8657 faults or infinite loops.
8658
8659 Fixed an unexpected parse error when using the optional "parameter types" 
8660 list in a control method declaration. (Lin Ming) BZ 397
8661
8662 Fixed a problem where two External declarations with the same name did 
8663 not 
8664 cause an error (Lin Ming) BZ 509
8665
8666 Implemented support for full TermArgs (adding Argx, Localx and method 
8667 invocation) for the ParameterData parameter to the LoadTable operator. 
8668 (Lin 
8669 Ming) BZ 583,587
8670
8671 ----------------------------------------
8672 19 December 2007. Summary of changes for version 20071219:
8673
8674 1) ACPI CA Core Subsystem:
8675
8676 Implemented full support for deferred execution for the TermArg string 
8677 arguments for DataTableRegion. This enables forward references and full 
8678 operand resolution for the three string arguments. Similar to 
8679 OperationRegion 
8680 deferred argument execution.) Lin Ming. BZ 430
8681
8682 Implemented full argument resolution support for the BankValue argument 
8683 to 
8684 BankField. Previously, only constants were supported, now any TermArg may 
8685 be 
8686 used. Lin Ming BZ 387, 393
8687
8688 Fixed a problem with AcpiGetDevices where the search of a branch of the 
8689 device tree could be terminated prematurely. In accordance with the ACPI 
8690 specification, the search down the current branch is terminated if a 
8691 device 
8692 is both not present and not functional (instead of just not present.) 
8693 Yakui 
8694 Zhao.
8695
8696 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
8697 if 
8698 the underlying AML code changed the GPE enable registers. Now, any 
8699 unknown 
8700 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
8701 disabled 
8702 instead of simply ignored. Rui Zhang.
8703
8704 Fixed a problem with Index Fields where the Index register was 
8705 incorrectly 
8706 limited to a maximum of 32 bits. Now any size may be used.
8707
8708 Fixed a couple memory leaks associated with "implicit return" objects 
8709 when 
8710 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
8711
8712 Example Code and Data Size: These are the sizes for the OS-independent 
8713 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8714 debug version of the code includes the debug output trace mechanism and 
8715 has 
8716 a much larger code and data size.
8717
8718   Previous Release:
8719     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
8720     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
8721   Current Release:
8722     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8723     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8724
8725 ----------------------------------------
8726 14 November 2007. Summary of changes for version 20071114:
8727
8728 1) ACPI CA Core Subsystem:
8729
8730 Implemented event counters for each of the Fixed Events, the ACPI SCI 
8731 (interrupt) itself, and control methods executed. Named 
8732 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
8733 These 
8734 should be useful for debugging and statistics.
8735
8736 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
8737 contents of the various event counters. Returns the current values for 
8738 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
8739 AcpiMethodCount. The interface can be expanded in the future if new 
8740 counters 
8741 are added. Device drivers should use this interface rather than access 
8742 the 
8743 counters directly.
8744
8745 Fixed a problem with the FromBCD and ToBCD operators. With some 
8746 compilers, 
8747 the ShortDivide function worked incorrectly, causing problems with the 
8748 BCD 
8749 functions with large input values. A truncation from 64-bit to 32-bit 
8750 inadvertently occurred. Internal BZ 435. Lin Ming
8751
8752 Fixed a problem with Index references passed as method arguments. 
8753 References 
8754 passed as arguments to control methods were dereferenced immediately 
8755 (before 
8756 control was passed to the called method). The references are now 
8757 correctly 
8758 passed directly to the called method. BZ 5389. Lin Ming
8759
8760 Fixed a problem with CopyObject used in conjunction with the Index 
8761 operator. 
8762 The reference was incorrectly dereferenced before the copy. The reference 
8763 is 
8764 now correctly copied. BZ 5391. Lin Ming
8765
8766 Fixed a problem with Control Method references within Package objects. 
8767 These 
8768 references are now correctly generated. This completes the package 
8769 construction overhaul that began in version 20071019.
8770
8771 Example Code and Data Size: These are the sizes for the OS-independent 
8772 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8773 debug version of the code includes the debug output trace mechanism and 
8774 has 
8775 a much larger code and data size.
8776
8777   Previous Release:
8778     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
8779     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
8780   Current Release:
8781     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
8782     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
8783
8784
8785 2) iASL Compiler/Disassembler and Tools:
8786
8787 The AcpiExec utility now installs handlers for all of the predefined 
8788 Operation Region types. New types supported are: PCI_Config, CMOS, and 
8789 PCIBARTarget.
8790
8791 Fixed a problem with the 64-bit version of AcpiExec where the extended 
8792 (64-
8793 bit) address fields for the DSDT and FACS within the FADT were not being 
8794 used, causing truncation of the upper 32-bits of these addresses. Lin 
8795 Ming 
8796 and Bob Moore
8797
8798 ----------------------------------------
8799 19 October 2007. Summary of changes for version 20071019:
8800
8801 1) ACPI CA Core Subsystem:
8802
8803 Fixed a problem with the Alias operator when the target of the alias is a 
8804 named ASL operator that opens a new scope -- Scope, Device, 
8805 PowerResource, 
8806 Processor, and ThermalZone. In these cases, any children of the original 
8807 operator could not be accessed via the alias, potentially causing 
8808 unexpected 
8809 AE_NOT_FOUND exceptions. (BZ 9067)
8810
8811 Fixed a problem with the Package operator where all named references were 
8812 created as object references and left otherwise unresolved. According to 
8813 the 
8814 ACPI specification, a Package can only contain Data Objects or references 
8815 to 
8816 control methods. The implication is that named references to Data Objects 
8817 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
8818 immediately upon package creation. This is the approach taken with this 
8819 change. References to all other named objects (Methods, Devices, Scopes, 
8820 etc.) are all now properly created as reference objects. (BZ 5328)
8821
8822 Reverted a change to Notify handling that was introduced in version 
8823 20070508. This version changed the Notify handling from asynchronous to 
8824 fully synchronous (Device driver Notify handling with respect to the 
8825 Notify 
8826 ASL operator). It was found that this change caused more problems than it 
8827 solved and was removed by most users.
8828
8829 Fixed a problem with the Increment and Decrement operators where the type 
8830 of 
8831 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
8832 Lin Ming.
8833
8834 Fixed a problem with the Load and LoadTable operators where the table 
8835 location within the namespace was ignored. Instead, the table was always 
8836 loaded into the root or current scope. Lin Ming.
8837
8838 Fixed a problem with the Load operator when loading a table from a buffer 
8839 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
8840
8841 Fixed a problem with the Debug object where a store of a DdbHandle 
8842 reference 
8843 object to the Debug object could cause a fault.
8844
8845 Added a table checksum verification for the Load operator, in the case 
8846 where 
8847 the load is from a buffer. (BZ 578).
8848
8849 Implemented additional parameter validation for the LoadTable operator. 
8850 The 
8851 length of the input strings SignatureString, OemIdString, and OemTableId 
8852 are 
8853 now checked for maximum lengths. (BZ 582) Lin Ming.
8854
8855 Example Code and Data Size: These are the sizes for the OS-independent 
8856 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8857 debug version of the code includes the debug output trace mechanism and 
8858 has 
8859 a much larger code and data size.
8860
8861   Previous Release:
8862     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
8863     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
8864   Current Release:
8865     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
8866     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
8867
8868
8869 2) iASL Compiler/Disassembler:
8870
8871 Fixed a problem where if a single file was specified and the file did not 
8872 exist, no error message was emitted. (Introduced with wildcard support in 
8873 version 20070917.)
8874
8875 ----------------------------------------
8876 19 September 2007. Summary of changes for version 20070919:
8877
8878 1) ACPI CA Core Subsystem:
8879
8880 Designed and implemented new external interfaces to install and remove 
8881 handlers for ACPI table-related events. Current events that are defined 
8882 are 
8883 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
8884 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
8885 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
8886
8887 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
8888 (acpi_serialized option on Linux) could cause some systems to hang during 
8889 initialization. (Bob Moore) BZ 8171
8890
8891 Fixed a problem where objects of certain types (Device, ThermalZone, 
8892 Processor, PowerResource) can be not found if they are declared and 
8893 referenced from within the same control method (Lin Ming) BZ 341
8894
8895 Example Code and Data Size: These are the sizes for the OS-independent 
8896 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8897 debug version of the code includes the debug output trace mechanism and 
8898 has 
8899 a much larger code and data size.
8900
8901   Previous Release:
8902     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
8903     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
8904   Current Release:
8905     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
8906     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
8907
8908
8909 2) iASL Compiler/Disassembler:
8910
8911 Implemented support to allow multiple files to be compiled/disassembled 
8912 in 
8913
8914 single invocation. This includes command line wildcard support for both 
8915 the 
8916 Windows and Unix versions of the compiler. This feature simplifies the 
8917 disassembly and compilation of multiple ACPI tables in a single 
8918 directory.
8919
8920 ----------------------------------------
8921 08 May 2007. Summary of changes for version 20070508:
8922
8923 1) ACPI CA Core Subsystem:
8924
8925 Implemented a Microsoft compatibility design change for the handling of 
8926 the 
8927 Notify AML operator. Previously, notify handlers were dispatched and 
8928 executed completely asynchronously in a deferred thread. The new design 
8929 still executes the notify handlers in a different thread, but the 
8930 original 
8931 thread that executed the Notify() now waits at a synchronization point 
8932 for 
8933 the notify handler to complete. Some machines depend on a synchronous 
8934 Notify 
8935 operator in order to operate correctly.
8936
8937 Implemented support to allow Package objects to be passed as method 
8938 arguments to the external AcpiEvaluateObject interface. Previously, this 
8939 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
8940 implemented since there were no reserved control methods that required it 
8941 until recently.
8942
8943 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
8944 that 
8945 contained invalid non-zero values in reserved fields could cause later 
8946 failures because these fields have meaning in later revisions of the 
8947 FADT. 
8948 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
8949 fields 
8950 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
8951
8952 Fixed a problem where the Global Lock handle was not properly updated if 
8953
8954 thread that acquired the Global Lock via executing AML code then 
8955 attempted 
8956 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
8957 Joe 
8958 Liu.
8959
8960 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
8961 could be corrupted if the interrupt being removed was at the head of the 
8962 list. Reported by Linn Crosetto.
8963
8964 Example Code and Data Size: These are the sizes for the OS-independent 
8965 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8966 debug version of the code includes the debug output trace mechanism and 
8967 has 
8968 a much larger code and data size.
8969
8970   Previous Release:
8971     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8972     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
8973   Current Release:
8974     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
8975     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
8976
8977 ----------------------------------------
8978 20 March 2007. Summary of changes for version 20070320:
8979
8980 1) ACPI CA Core Subsystem:
8981
8982 Implemented a change to the order of interpretation and evaluation of AML 
8983 operand objects within the AML interpreter. The interpreter now evaluates 
8984 operands in the order that they appear in the AML stream (and the 
8985 corresponding ASL code), instead of in the reverse order (after the 
8986 entire 
8987 operand list has been parsed). The previous behavior caused several 
8988 subtle 
8989 incompatibilities with the Microsoft AML interpreter as well as being 
8990 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
8991
8992 Implemented a change to the ACPI Global Lock support. All interfaces to 
8993 the 
8994 global lock now allow the same thread to acquire the lock multiple times. 
8995 This affects the AcpiAcquireGlobalLock external interface to the global 
8996 lock 
8997 as well as the internal use of the global lock to support AML fields -- a 
8998 control method that is holding the global lock can now simultaneously 
8999 access 
9000 AML fields that require global lock protection. Previously, in both 
9001 cases, 
9002 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
9003 to 
9004 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
9005 Controller. There is no change to the behavior of the AML Acquire 
9006 operator, 
9007 as this can already be used to acquire a mutex multiple times by the same 
9008 thread. BZ 8066. With assistance from Alexey Starikovskiy.
9009
9010 Fixed a problem where invalid objects could be referenced in the AML 
9011 Interpreter after error conditions. During operand evaluation, ensure 
9012 that 
9013 the internal "Return Object" field is cleared on error and only valid 
9014 pointers are stored there. Caused occasional access to deleted objects 
9015 that 
9016 resulted in "large reference count" warning messages. Valery Podrezov.
9017
9018 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
9019 on 
9020 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
9021 Podrezov.
9022
9023 Fixed an internal problem with the handling of result objects on the 
9024 interpreter result stack. BZ 7872. Valery Podrezov.
9025
9026 Removed obsolete code that handled the case where AML_NAME_OP is the 
9027 target 
9028 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
9029 7874. Valery Podrezov.
9030
9031 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
9032 was 
9033
9034 remnant from the previously discontinued 16-bit support.
9035
9036 Example Code and Data Size: These are the sizes for the OS-independent 
9037 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9038 debug version of the code includes the debug output trace mechanism and 
9039 has 
9040 a much larger code and data size.
9041
9042   Previous Release:
9043     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9044     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9045   Current Release:
9046     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9047     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9048
9049 ----------------------------------------
9050 26 January 2007. Summary of changes for version 20070126:
9051
9052 1) ACPI CA Core Subsystem:
9053
9054 Added the 2007 copyright to all module headers and signons. This affects 
9055 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
9056 the utilities.
9057
9058 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
9059 during a table load. A bad pointer was passed in the case where the DSDT 
9060 is 
9061 overridden, causing a fault in this case.
9062
9063 Example Code and Data Size: These are the sizes for the OS-independent 
9064 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9065 debug version of the code includes the debug output trace mechanism and 
9066 has 
9067 a much larger code and data size.
9068
9069   Previous Release:
9070     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9071     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9072   Current Release:
9073     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9074     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9075
9076 ----------------------------------------
9077 15 December 2006. Summary of changes for version 20061215:
9078
9079 1) ACPI CA Core Subsystem:
9080
9081 Support for 16-bit ACPICA has been completely removed since it is no 
9082 longer 
9083 necessary and it clutters the code. All 16-bit macros, types, and 
9084 conditional compiles have been removed, cleaning up and simplifying the 
9085 code 
9086 across the entire subsystem. DOS support is no longer needed since the 
9087 bootable Linux firmware kit is now available.
9088
9089 The handler for the Global Lock is now removed during AcpiTerminate to 
9090 enable a clean subsystem restart, via the implementation of the 
9091 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
9092 HP)
9093
9094 Implemented enhancements to the multithreading support within the 
9095 debugger 
9096 to enable improved multithreading debugging and evaluation of the 
9097 subsystem. 
9098 (Valery Podrezov)
9099
9100 Debugger: Enhanced the Statistics/Memory command to emit the total 
9101 (maximum) 
9102 memory used during the execution, as well as the maximum memory consumed 
9103 by 
9104 each of the various object types. (Valery Podrezov)
9105
9106 Example Code and Data Size: These are the sizes for the OS-independent 
9107 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9108 debug version of the code includes the debug output trace mechanism and 
9109 has 
9110 a much larger code and data size.
9111
9112   Previous Release:
9113     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9114     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9115   Current Release:
9116     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9117     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9118
9119
9120 2) iASL Compiler/Disassembler and Tools:
9121
9122 AcpiExec: Implemented a new option (-m) to display full memory use 
9123 statistics upon subsystem/program termination. (Valery Podrezov)
9124
9125 ----------------------------------------
9126 09 November 2006. Summary of changes for version 20061109:
9127
9128 1) ACPI CA Core Subsystem:
9129
9130 Optimized the Load ASL operator in the case where the source operand is 
9131 an 
9132 operation region. Simply map the operation region memory, instead of 
9133 performing a bytewise read. (Region must be of type SystemMemory, see 
9134 below.)
9135
9136 Fixed the Load ASL operator for the case where the source operand is a 
9137 region field. A buffer object is also allowed as the source operand. BZ 
9138 480
9139
9140 Fixed a problem where the Load ASL operator allowed the source operand to 
9141 be 
9142 an operation region of any type. It is now restricted to regions of type 
9143 SystemMemory, as per the ACPI specification. BZ 481
9144
9145 Additional cleanup and optimizations for the new Table Manager code.
9146
9147 AcpiEnable will now fail if all of the required ACPI tables are not 
9148 loaded 
9149 (FADT, FACS, DSDT). BZ 477
9150
9151 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
9152 this 
9153 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
9154 manually optimized to be aligned and will not work if it is byte-packed. 
9155
9156 Example Code and Data Size: These are the sizes for the OS-independent 
9157 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9158 debug version of the code includes the debug output trace mechanism and 
9159 has 
9160 a much larger code and data size.
9161
9162   Previous Release:
9163     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9164     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9165   Current Release:
9166     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9167     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9168
9169
9170 2) iASL Compiler/Disassembler and Tools:
9171
9172 Fixed a problem where the presence of the _OSI predefined control method 
9173 within complex expressions could cause an internal compiler error.
9174
9175 AcpiExec: Implemented full region support for multiple address spaces. 
9176 SpaceId is now part of the REGION object. BZ 429
9177
9178 ----------------------------------------
9179 11 October 2006. Summary of changes for version 20061011:
9180
9181 1) ACPI CA Core Subsystem:
9182
9183 Completed an AML interpreter performance enhancement for control method 
9184 execution. Previously a 2-pass parse/execution, control methods are now 
9185 completely parsed and executed in a single pass. This improves overall 
9186 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
9187 use. (Valery Podrezov + interpreter changes in version 20051202 that 
9188 eliminated namespace loading during the pass one parse.)
9189
9190 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
9191 not 
9192 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
9193 now 
9194 obtained and also checked for an ID match.
9195
9196 Implemented additional support for the PCI _ADR execution: upsearch until 
9197
9198 device scope is found before executing _ADR. This allows PCI_Config 
9199 operation regions to be declared locally within control methods 
9200 underneath 
9201 PCI device objects.
9202
9203 Fixed a problem with a possible race condition between threads executing 
9204 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
9205 modifying AcpiWalkNamespace to (by default) ignore all temporary 
9206 namespace 
9207 entries created during any concurrent control method execution. An 
9208 additional namespace race condition is known to exist between 
9209 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
9210 investigation.
9211
9212 Restructured the AML ParseLoop function, breaking it into several 
9213 subfunctions in order to reduce CPU stack use and improve 
9214 maintainability. 
9215 (Mikhail Kouzmich)
9216
9217 AcpiGetHandle: Fix for parameter validation to detect invalid 
9218 combinations 
9219 of prefix handle and pathname. BZ 478
9220
9221 Example Code and Data Size: These are the sizes for the OS-independent 
9222 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9223 debug version of the code includes the debug output trace mechanism and 
9224 has 
9225 a much larger code and data size.
9226
9227   Previous Release:
9228     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9229     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9230   Current Release:
9231     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9232     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9233
9234 2) iASL Compiler/Disassembler and Tools:
9235
9236 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
9237 Manager 
9238 to restore original behavior.
9239
9240 ----------------------------------------
9241 27 September 2006. Summary of changes for version 20060927:
9242
9243 1) ACPI CA Core Subsystem:
9244
9245 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
9246 These functions now use a spinlock for mutual exclusion and the interrupt 
9247 level indication flag is not needed.
9248
9249 Fixed a problem with the Global Lock where the lock could appear to be 
9250 obtained before it is actually obtained. The global lock semaphore was 
9251 inadvertently created with one unit instead of zero units. (BZ 464) 
9252 Fiodor 
9253 Suietov.
9254
9255 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
9256 during 
9257 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9258
9259 Example Code and Data Size: These are the sizes for the OS-independent 
9260 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9261 debug version of the code includes the debug output trace mechanism and 
9262 has 
9263 a much larger code and data size.
9264
9265   Previous Release:
9266     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9267     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9268   Current Release:
9269     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9270     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9271
9272
9273 2) iASL Compiler/Disassembler and Tools:
9274
9275 Fixed a compilation problem with the pre-defined Resource Descriptor 
9276 field 
9277 names where an "object does not exist" error could be incorrectly 
9278 generated 
9279 if the parent ResourceTemplate pathname places the template within a 
9280 different namespace scope than the current scope. (BZ 7212)
9281
9282 Fixed a problem where the compiler could hang after syntax errors 
9283 detected 
9284 in an ElseIf construct. (BZ 453)
9285
9286 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
9287 operator. An incorrect output filename was produced when this parameter 
9288 was 
9289 a null string (""). Now, the original input filename is used as the AML 
9290 output filename, with an ".aml" extension.
9291
9292 Implemented a generic batch command mode for the AcpiExec utility 
9293 (execute 
9294 any AML debugger command) (Valery Podrezov).
9295
9296 ----------------------------------------
9297 12 September 2006. Summary of changes for version 20060912:
9298
9299 1) ACPI CA Core Subsystem:
9300
9301 Enhanced the implementation of the "serialized mode" of the interpreter 
9302 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
9303 specified, instead of creating a serialization semaphore per control 
9304 method, 
9305 the interpreter lock is simply no longer released before a blocking 
9306 operation during control method execution. This effectively makes the AML 
9307 Interpreter single-threaded. The overhead of a semaphore per-method is 
9308 eliminated.
9309
9310 Fixed a regression where an error was no longer emitted if a control 
9311 method 
9312 attempts to create 2 objects of the same name. This once again returns 
9313 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
9314 that 
9315 will dynamically serialize the control method to possible prevent future 
9316 errors. (BZ 440)
9317
9318 Integrated a fix for a problem with PCI Express HID detection in the PCI 
9319 Config Space setup procedure. (BZ 7145)
9320
9321 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
9322 AcpiHwInitialize function - the FADT registers are now validated when the 
9323 table is loaded.
9324
9325 Added two new warnings during FADT verification - 1) if the FADT is 
9326 larger 
9327 than the largest known FADT version, and 2) if there is a mismatch 
9328 between 
9329
9330 32-bit block address and the 64-bit X counterpart (when both are non-
9331 zero.)
9332
9333 Example Code and Data Size: These are the sizes for the OS-independent 
9334 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9335 debug version of the code includes the debug output trace mechanism and 
9336 has 
9337 a much larger code and data size.
9338
9339   Previous Release:
9340     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9341     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9342   Current Release:
9343     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9344     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9345
9346
9347 2) iASL Compiler/Disassembler and Tools:
9348
9349 Fixed a problem with the implementation of the Switch() operator where 
9350 the 
9351 temporary variable was declared too close to the actual Switch, instead 
9352 of 
9353 at method level. This could cause a problem if the Switch() operator is 
9354 within a while loop, causing an error on the second iteration. (BZ 460)
9355
9356 Disassembler - fix for error emitted for unknown type for target of scope 
9357 operator. Now, ignore it and continue.
9358
9359 Disassembly of an FADT now verifies the input FADT and reports any errors 
9360 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
9361
9362 Disassembly of raw data buffers with byte initialization data now 
9363 prefixes 
9364 each output line with the current buffer offset.
9365
9366 Disassembly of ASF! table now includes all variable-length data fields at 
9367 the end of some of the subtables.
9368
9369 The disassembler now emits a comment if a buffer appears to be a 
9370 ResourceTemplate, but cannot be disassembled as such because the EndTag 
9371 does 
9372 not appear at the very end of the buffer.
9373
9374 AcpiExec - Added the "-t" command line option to enable the serialized 
9375 mode 
9376 of the AML interpreter.
9377
9378 ----------------------------------------
9379 31 August 2006. Summary of changes for version 20060831:
9380
9381 1) ACPI CA Core Subsystem:
9382
9383 Miscellaneous fixes for the Table Manager:
9384 - Correctly initialize internal common FADT for all 64-bit "X" fields
9385 - Fixed a couple table mapping issues during table load
9386 - Fixed a couple alignment issues for IA64
9387 - Initialize input array to zero in AcpiInitializeTables
9388 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
9389 AcpiGetTableByIndex
9390
9391 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
9392 now 
9393 immediately disabled to prevent the waking GPE from firing again and to 
9394 prevent other wake GPEs from interrupting the wake process.
9395
9396 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
9397 to 
9398 be used for debugging systems with a large number of ACPI interrupts.
9399
9400 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
9401 both the ACPICA headers and the disassembler.
9402
9403 Example Code and Data Size: These are the sizes for the OS-independent 
9404 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9405 debug version of the code includes the debug output trace mechanism and 
9406 has 
9407 a much larger code and data size.
9408
9409   Previous Release:
9410     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9411     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9412   Current Release:
9413     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9414     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9415
9416
9417 2) iASL Compiler/Disassembler and Tools:
9418
9419 Disassembler support for the DMAR ACPI table.
9420
9421 ----------------------------------------
9422 23 August 2006. Summary of changes for version 20060823:
9423
9424 1) ACPI CA Core Subsystem:
9425
9426 The Table Manager component has been completely redesigned and 
9427 reimplemented. The new design is much simpler, and reduces the overall 
9428 code 
9429 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
9430 is 
9431 now possible to obtain the ACPI tables very early during kernel 
9432 initialization, even before dynamic memory management is initialized. 
9433 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
9434
9435 Obsolete ACPICA interfaces:
9436
9437 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
9438 init 
9439 time).
9440 - AcpiLoadTable: Not needed.
9441 - AcpiUnloadTable: Not needed.
9442
9443 New ACPICA interfaces:
9444
9445 - AcpiInitializeTables: Must be called before the table manager can be 
9446 used.
9447 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
9448 allocated memory after it becomes available.
9449 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
9450 tables 
9451 in the RSDT/XSDT.
9452
9453 Other ACPICA changes:
9454
9455 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
9456 Use 
9457 AcpiOsUnmapMemory to free this mapping.
9458 - AcpiGetTable returns the actual mapped table. The mapping is managed 
9459 internally and must not be deleted by the caller. Use of this interface 
9460 causes no additional dynamic memory allocation.
9461 - AcpiFindRootPointer: Support for physical addressing has been 
9462 eliminated, 
9463 it appeared to be unused.
9464 - The interface to AcpiOsMapMemory has changed to be consistent with the 
9465 other allocation interfaces.
9466 - The interface to AcpiOsGetRootPointer has changed to eliminate 
9467 unnecessary 
9468 parameters.
9469 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
9470 64-
9471 bit platforms. Was previously 64 bits on all platforms.
9472 - The interface to the ACPI Global Lock acquire/release macros have 
9473 changed 
9474 slightly since ACPICA no longer keeps a local copy of the FACS with a 
9475 constructed pointer to the actual global lock.
9476
9477 Porting to the new table manager:
9478
9479 - AcpiInitializeTables: Must be called once, and can be called anytime 
9480 during the OS initialization process. It allows the host to specify an 
9481 area 
9482 of memory to be used to store the internal version of the RSDT/XSDT (root 
9483 table). This allows the host to access ACPI tables before memory 
9484 management 
9485 is initialized and running.
9486 - AcpiReallocateRootTable: Can be called after memory management is 
9487 running 
9488 to copy the root table to a dynamically allocated array, freeing up the 
9489 scratch memory specified in the call to AcpiInitializeTables.
9490 - AcpiSubsystemInitialize: This existing interface is independent of the 
9491 Table Manager, and does not have to be called before the Table Manager 
9492 can 
9493 be used, it only must be called before the rest of ACPICA can be used.
9494 - ACPI Tables: Some changes have been made to the names and structure of 
9495 the 
9496 actbl.h and actbl1.h header files and may require changes to existing 
9497 code. 
9498 For example, bitfields have been completely removed because of their lack 
9499 of 
9500 portability across C compilers.
9501 - Update interfaces to the Global Lock acquire/release macros if local 
9502 versions are used. (see acwin.h)
9503
9504 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
9505
9506 New files: tbfind.c
9507
9508 Example Code and Data Size: These are the sizes for the OS-independent 
9509 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9510 debug version of the code includes the debug output trace mechanism and 
9511 has 
9512 a much larger code and data size.
9513
9514   Previous Release:
9515     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9516     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9517   Current Release:
9518     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9519     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9520
9521
9522 2) iASL Compiler/Disassembler and Tools:
9523
9524 No changes for this release.
9525
9526 ----------------------------------------
9527 21 July 2006. Summary of changes for version 20060721:
9528
9529 1) ACPI CA Core Subsystem:
9530
9531 The full source code for the ASL test suite used to validate the iASL 
9532 compiler and the ACPICA core subsystem is being released with the ACPICA 
9533 source for the first time. The source is contained in a separate package 
9534 and 
9535 consists of over 1100 files that exercise all ASL/AML operators. The 
9536 package 
9537 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
9538 Fiodor 
9539 Suietov)
9540
9541 Completed a new design and implementation for support of the ACPI Global 
9542 Lock. On the OS side, the global lock is now treated as a standard AML 
9543 mutex. Previously, multiple OS threads could "acquire" the global lock 
9544 simultaneously. However, this could cause the BIOS to be starved out of 
9545 the 
9546 lock - especially in cases such as the Embedded Controller driver where 
9547 there is a tight coupling between the OS and the BIOS.
9548
9549 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
9550 The Global Lock interrupt handler no longer queues the execution of a 
9551 separate thread to signal the global lock semaphore. Instead, the 
9552 semaphore 
9553 is signaled directly from the interrupt handler.
9554
9555 Implemented support within the AML interpreter for package objects that 
9556 contain a larger AML length (package list length) than the package 
9557 element 
9558 count. In this case, the length of the package is truncated to match the 
9559 package element count. Some BIOS code apparently modifies the package 
9560 length 
9561 on the fly, and this change supports this behavior. Provides 
9562 compatibility 
9563 with the MS AML interpreter. (With assistance from Fiodor Suietov)
9564
9565 Implemented a temporary fix for the BankValue parameter of a Bank Field 
9566 to 
9567 support all constant values, now including the Zero and One opcodes. 
9568 Evaluation of this parameter must eventually be converted to a full 
9569 TermArg 
9570 evaluation. A not-implemented error is now returned (temporarily) for 
9571 non-
9572 constant values for this parameter.
9573
9574 Fixed problem reports (Fiodor Suietov) integrated:
9575 - Fix for premature object deletion after CopyObject on Operation Region 
9576 (BZ 
9577 350)
9578
9579 Example Code and Data Size: These are the sizes for the OS-independent 
9580 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9581 debug version of the code includes the debug output trace mechanism and 
9582 has 
9583 a much larger code and data size.
9584
9585   Previous Release:
9586     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
9587     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
9588   Current Release:
9589     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9590     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9591
9592
9593 2) iASL Compiler/Disassembler and Tools:
9594
9595 No changes for this release.
9596
9597 ----------------------------------------
9598 07 July 2006. Summary of changes for version 20060707:
9599
9600 1) ACPI CA Core Subsystem:
9601
9602 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
9603 that do not allow the initialization of address pointers within packed 
9604 structures - even though the hardware itself may support misaligned 
9605 transfers. Some of the debug data structures are packed by default to 
9606 minimize size.
9607
9608 Added an error message for the case where AcpiOsGetThreadId() returns 
9609 zero. 
9610 A non-zero value is required by the core ACPICA code to ensure the proper 
9611 operation of AML mutexes and recursive control methods.
9612
9613 The DSDT is now the only ACPI table that determines whether the AML 
9614 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
9615 but 
9616 the hooks for per-table 32/64 switching have been removed from the code. 
9617
9618 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
9619
9620 Fixed a possible leak of an OwnerID in the error path of 
9621 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
9622 deletion to a single place in AcpiTbUninstallTable to correct possible 
9623 leaks 
9624 when using the AcpiTbDeleteTablesByType interface (with assistance from 
9625 Lance Ortiz.)
9626
9627 Fixed a problem with Serialized control methods where the semaphore 
9628 associated with the method could be over-signaled after multiple method 
9629 invocations.
9630
9631 Fixed two issues with the locking of the internal namespace data 
9632 structure. 
9633 Both the Unload() operator and AcpiUnloadTable interface now lock the 
9634 namespace during the namespace deletion associated with the table unload 
9635 (with assistance from Linn Crosetto.)
9636
9637 Fixed problem reports (Valery Podrezov) integrated:
9638 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
9639
9640 Fixed problem reports (Fiodor Suietov) integrated:
9641 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
9642 - On Address Space handler deletion, needless deactivation call (BZ 374)
9643 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
9644 375)
9645 - Possible memory leak, Notify sub-objects of Processor, Power, 
9646 ThermalZone 
9647 (BZ 376)
9648 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
9649 - Minimum Length of RSDT should be validated (BZ 379)
9650 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
9651 Handler (BZ (380)
9652 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
9653 loaded 
9654 (BZ 381)
9655
9656 Example Code and Data Size: These are the sizes for the OS-independent 
9657 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9658 debug version of the code includes the debug output trace mechanism and 
9659 has 
9660 a much larger code and data size.
9661
9662   Previous Release:
9663     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9664     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9665   Current Release:
9666     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9667     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9668
9669
9670 2) iASL Compiler/Disassembler and Tools:
9671
9672 Fixed problem reports:
9673 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
9674 436)
9675
9676 ----------------------------------------
9677 23 June 2006. Summary of changes for version 20060623:
9678
9679 1) ACPI CA Core Subsystem:
9680
9681 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
9682 allows the type to be customized to the host OS for improved efficiency 
9683 (since a spinlock is usually a very small object.)
9684
9685 Implemented support for "ignored" bits in the ACPI registers. According 
9686 to 
9687 the ACPI specification, these bits should be preserved when writing the 
9688 registers via a read/modify/write cycle. There are 3 bits preserved in 
9689 this 
9690 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
9691
9692 Implemented the initial deployment of new OSL mutex interfaces. Since 
9693 some 
9694 host operating systems have separate mutex and semaphore objects, this 
9695 feature was requested. The base code now uses mutexes (and the new mutex 
9696 interfaces) wherever a binary semaphore was used previously. However, for 
9697 the current release, the mutex interfaces are defined as macros to map 
9698 them 
9699 to the existing semaphore interfaces. Therefore, no OSL changes are 
9700 required 
9701 at this time. (See acpiosxf.h)
9702
9703 Fixed several problems with the support for the control method SyncLevel 
9704 parameter. The SyncLevel now works according to the ACPI specification 
9705 and 
9706 in concert with the Mutex SyncLevel parameter, since the current 
9707 SyncLevel 
9708 is a property of the executing thread. Mutual exclusion for control 
9709 methods 
9710 is now implemented with a mutex instead of a semaphore.
9711
9712 Fixed three instances of the use of the C shift operator in the bitfield 
9713 support code (exfldio.c) to avoid the use of a shift value larger than 
9714 the 
9715 target data width. The behavior of C compilers is undefined in this case 
9716 and 
9717 can cause unpredictable results, and therefore the case must be detected 
9718 and 
9719 avoided. (Fiodor Suietov)
9720
9721 Added an info message whenever an SSDT or OEM table is loaded dynamically 
9722 via the Load() or LoadTable() ASL operators. This should improve 
9723 debugging 
9724 capability since it will show exactly what tables have been loaded 
9725 (beyond 
9726 the tables present in the RSDT/XSDT.)
9727
9728 Example Code and Data Size: These are the sizes for the OS-independent 
9729 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9730 debug version of the code includes the debug output trace mechanism and 
9731 has 
9732 a much larger code and data size.
9733
9734   Previous Release:
9735     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
9736     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
9737   Current Release:
9738     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9739     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9740
9741
9742 2) iASL Compiler/Disassembler and Tools:
9743
9744 No changes for this release.
9745
9746 ----------------------------------------
9747 08 June 2006. Summary of changes for version 20060608:
9748
9749 1) ACPI CA Core Subsystem:
9750
9751 Converted the locking mutex used for the ACPI hardware to a spinlock. 
9752 This 
9753 change should eliminate all problems caused by attempting to acquire a 
9754 semaphore at interrupt level, and it means that all ACPICA external 
9755 interfaces that directly access the ACPI hardware can be safely called 
9756 from 
9757 interrupt level. OSL code that implements the semaphore interfaces should 
9758 be 
9759 able to eliminate any workarounds for being called at interrupt level.
9760
9761 Fixed a regression introduced in 20060526 where the ACPI device 
9762 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
9763 device 
9764 did not have an optional _INI method.
9765
9766 Fixed an IndexField issue where a write to the Data Register should be 
9767 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
9768 433, 
9769 Fiodor Suietov)
9770
9771 Fixed problem reports (Valery Podrezov) integrated:
9772 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
9773
9774 Fixed problem reports (Fiodor Suietov) integrated:
9775 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
9776
9777 Removed four global mutexes that were obsolete and were no longer being 
9778 used.
9779
9780 Example Code and Data Size: These are the sizes for the OS-independent 
9781 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9782 debug version of the code includes the debug output trace mechanism and 
9783 has 
9784 a much larger code and data size.
9785
9786   Previous Release:
9787     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
9788     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
9789   Current Release:
9790     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
9791     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
9792
9793
9794 2) iASL Compiler/Disassembler and Tools:
9795
9796 Fixed a fault when using -g option (get tables from registry) on Windows 
9797 machines.
9798
9799 Fixed problem reports integrated:
9800 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
9801 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
9802 Suietov)
9803 - Global table revision override (-r) is ignored (BZ 413)
9804
9805 ----------------------------------------
9806 26 May 2006. Summary of changes for version 20060526:
9807
9808 1) ACPI CA Core Subsystem:
9809
9810 Restructured, flattened, and simplified the internal interfaces for 
9811 namespace object evaluation - resulting in smaller code, less CPU stack 
9812 use, 
9813 and fewer interfaces. (With assistance from Mikhail Kouzmich)
9814
9815 Fixed a problem with the CopyObject operator where the first parameter 
9816 was 
9817 not typed correctly for the parser, interpreter, compiler, and 
9818 disassembler. 
9819 Caused various errors and unexpected behavior.
9820
9821 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
9822 produced incorrect results with some C compilers. Since the behavior of C 
9823 compilers when the shift value is larger than the datatype width is 
9824 apparently not well defined, the interpreter now detects this condition 
9825 and 
9826 simply returns zero as expected in all such cases. (BZ 395)
9827
9828 Fixed problem reports (Valery Podrezov) integrated:
9829 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
9830 - Allow interpreter to handle nested method declarations (BZ 5361)
9831
9832 Fixed problem reports (Fiodor Suietov) integrated:
9833 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
9834 355)
9835 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
9836 356)
9837 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
9838 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
9839 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
9840 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
9841 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
9842 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
9843 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
9844 365)
9845 - Status of the Global Initialization Handler call not used (BZ 366)
9846 - Incorrect object parameter to Global Initialization Handler (BZ 367)
9847
9848 Example Code and Data Size: These are the sizes for the OS-independent 
9849 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9850 debug version of the code includes the debug output trace mechanism and 
9851 has 
9852 a much larger code and data size.
9853
9854   Previous Release:
9855     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
9856     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
9857   Current Release:
9858     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
9859     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
9860
9861
9862 2) iASL Compiler/Disassembler and Tools:
9863
9864 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
9865 namespace identifiers with no collision with existing resource descriptor 
9866 macro names. This provides compatibility with other ASL compilers and is 
9867 most useful for disassembly/recompilation of existing tables without 
9868 parse 
9869 errors. (With assistance from Thomas Renninger)
9870
9871 Disassembler: fixed an incorrect disassembly problem with the 
9872 DataTableRegion and CopyObject operators. Fixed a possible fault during 
9873 disassembly of some Alias operators.
9874
9875 ----------------------------------------
9876 12 May 2006. Summary of changes for version 20060512:
9877
9878 1) ACPI CA Core Subsystem:
9879
9880 Replaced the AcpiOsQueueForExecution interface with a new interface named 
9881 AcpiOsExecute. The major difference is that the new interface does not 
9882 have 
9883 a Priority parameter, this appeared to be useless and has been replaced 
9884 by 
9885
9886 Type parameter. The Type tells the host what type of execution is being 
9887 requested, such as global lock handler, notify handler, GPE handler, etc. 
9888 This allows the host to queue and execute the request as appropriate for 
9889 the 
9890 request type, possibly using different work queues and different 
9891 priorities 
9892 for the various request types. This enables fixes for multithreading 
9893 deadlock problems such as BZ #5534, and will require changes to all 
9894 existing 
9895 OS interface layers. (Alexey Starikovskiy and Bob Moore)
9896
9897 Fixed a possible memory leak associated with the support for the so-
9898 called 
9899 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
9900 Suietov)
9901
9902 Fixed a problem with the Load() operator where a table load from an 
9903 operation region could overwrite an internal table buffer by up to 7 
9904 bytes 
9905 and cause alignment faults on IPF systems. (With assistance from Luming 
9906 Yu)
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:  79.7K Code, 17.7K Data,  97.4K Total
9916     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
9917   Current Release:
9918     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
9919     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
9920
9921
9922
9923 2) iASL Compiler/Disassembler and Tools:
9924
9925 Disassembler: Implemented support to cross reference the internal 
9926 namespace 
9927 and automatically generate ASL External() statements for symbols not 
9928 defined 
9929 within the current table being disassembled. This will simplify the 
9930 disassembly and recompilation of interdependent tables such as SSDTs 
9931 since 
9932 these statements will no longer have to be added manually.
9933
9934 Disassembler: Implemented experimental support to automatically detect 
9935 invocations of external control methods and generate appropriate 
9936 External() 
9937 statements. This is problematic because the AML cannot be correctly 
9938 parsed 
9939 until the number of arguments for each control method is known. 
9940 Currently, 
9941 standalone method invocations and invocations as the source operand of a 
9942 Store() statement are supported.
9943
9944 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
9945 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
9946 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
9947 more readable and likely closer to the original ASL source.
9948
9949 ----------------------------------------
9950 21 April 2006. Summary of changes for version 20060421:
9951
9952 1) ACPI CA Core Subsystem:
9953
9954 Removed a device initialization optimization introduced in 20051216 where 
9955 the _STA method was not run unless an _INI was also present for the same 
9956 device. This optimization could cause problems because it could allow 
9957 _INI 
9958 methods to be run within a not-present device subtree. (If a not-present 
9959 device had no _INI, _STA would not be run, the not-present status would 
9960 not 
9961 be discovered, and the children of the device would be incorrectly 
9962 traversed.)
9963
9964 Implemented a new _STA optimization where namespace subtrees that do not 
9965 contain _INI are identified and ignored during device initialization. 
9966 Selectively running _STA can significantly improve boot time on large 
9967 machines (with assistance from Len Brown.)
9968
9969 Implemented support for the device initialization case where the returned 
9970 _STA flags indicate a device not-present but functioning. In this case, 
9971 _INI 
9972 is not run, but the device children are examined for presence, as per the 
9973 ACPI specification.
9974
9975 Implemented an additional change to the IndexField support in order to 
9976 conform to MS behavior. The value written to the Index Register is not 
9977 simply a byte offset, it is a byte offset in units of the access width of 
9978 the parent Index Field. (Fiodor Suietov)
9979
9980 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
9981 interface is called during the creation of all AML operation regions, and 
9982 allows the host OS to exert control over what addresses it will allow the 
9983 AML code to access. Operation Regions whose addresses are disallowed will 
9984 cause a runtime exception when they are actually accessed (will not 
9985 affect 
9986 or abort table loading.) See oswinxf or osunixxf for an example 
9987 implementation.
9988
9989 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
9990 interface allows the host OS to match the various "optional" 
9991 interface/behavior strings for the _OSI predefined control method as 
9992 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
9993 for an example implementation.
9994
9995 Restructured and corrected various problems in the exception handling 
9996 code 
9997 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
9998 (with assistance from Takayoshi Kochi.)
9999
10000 Modified the Linux source converter to ignore quoted string literals 
10001 while 
10002 converting identifiers from mixed to lower case. This will correct 
10003 problems 
10004 with the disassembler and other areas where such strings must not be 
10005 modified.
10006
10007 The ACPI_FUNCTION_* macros no longer require quotes around the function 
10008 name. This allows the Linux source converter to convert the names, now 
10009 that 
10010 the converter ignores quoted strings.
10011
10012 Example Code and Data Size: These are the sizes for the OS-independent 
10013 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10014 debug version of the code includes the debug output trace mechanism and 
10015 has 
10016 a much larger code and data size.
10017
10018   Previous Release:
10019
10020     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10021     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10022   Current Release:
10023     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10024     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10025
10026
10027 2) iASL Compiler/Disassembler and Tools:
10028
10029 Implemented 3 new warnings for iASL, and implemented multiple warning 
10030 levels 
10031 (w2 flag).
10032
10033 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
10034 not 
10035 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
10036 check for the possible timeout, a warning is issued.
10037
10038 2) Useless operators: If an ASL operator does not specify an optional 
10039 target 
10040 operand and it also does not use the function return value from the 
10041 operator, a warning is issued since the operator effectively does 
10042 nothing.
10043
10044 3) Unreferenced objects: If a namespace object is created, but never 
10045 referenced, a warning is issued. This is a warning level 2 since there 
10046 are 
10047 cases where this is ok, such as when a secondary table is loaded that 
10048 uses 
10049 the unreferenced objects. Even so, care is taken to only flag objects 
10050 that 
10051 don't look like they will ever be used. For example, the reserved methods 
10052 (starting with an underscore) are usually not referenced because it is 
10053 expected that the OS will invoke them.
10054
10055 ----------------------------------------
10056 31 March 2006. Summary of changes for version 20060331:
10057
10058 1) ACPI CA Core Subsystem:
10059
10060 Implemented header file support for the following additional ACPI tables: 
10061 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
10062 support, 
10063 all current and known ACPI tables are now defined in the ACPICA headers 
10064 and 
10065 are available for use by device drivers and other software.
10066
10067 Implemented support to allow tables that contain ACPI names with invalid 
10068 characters to be loaded. Previously, this would cause the table load to 
10069 fail, but since there are several known cases of such tables on existing 
10070 machines, this change was made to enable ACPI support for them. Also, 
10071 this 
10072 matches the behavior of the Microsoft ACPI implementation.
10073
10074 Fixed a couple regressions introduced during the memory optimization in 
10075 the 
10076 20060317 release. The namespace node definition required additional 
10077 reorganization and an internal datatype that had been changed to 8-bit 
10078 was 
10079 restored to 32-bit. (Valery Podrezov)
10080
10081 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
10082 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
10083 null pointers are now trapped and ignored, matching the behavior of the 
10084 previous implementation before the deployment of AcpiOsReleaseObject.
10085 (Valery Podrezov, Fiodor Suietov)
10086
10087 Fixed a memory mapping leak during the deletion of a SystemMemory 
10088 operation 
10089 region where a cached memory mapping was not deleted. This became a 
10090 noticeable problem for operation regions that are defined within 
10091 frequently 
10092 used control methods. (Dana Meyers)
10093
10094 Reorganized the ACPI table header files into two main files: one for the 
10095 ACPI tables consumed by the ACPICA core, and another for the 
10096 miscellaneous 
10097 ACPI tables that are consumed by the drivers and other software. The 
10098 various 
10099 FADT definitions were merged into one common section and three different 
10100 tables (ACPI 1.0, 1.0+, and 2.0)
10101
10102 Example Code and Data Size: These are the sizes for the OS-independent 
10103 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10104 debug version of the code includes the debug output trace mechanism and 
10105 has 
10106 a much larger code and data size.
10107
10108   Previous Release:
10109     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10110     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10111   Current Release:
10112     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10113     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10114
10115
10116 2) iASL Compiler/Disassembler and Tools:
10117
10118 Disassembler: Implemented support to decode and format all non-AML ACPI 
10119 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
10120 added to the ACPICA headers, therefore all current and known ACPI tables 
10121 are 
10122 supported.
10123
10124 Disassembler: The change to allow ACPI names with invalid characters also 
10125 enables the disassembly of such tables. Invalid characters within names 
10126 are 
10127 changed to '*' to make the name printable; the iASL compiler will still 
10128 generate an error for such names, however, since this is an invalid ACPI 
10129 character.
10130
10131 Implemented an option for AcpiXtract (-a) to extract all tables found in 
10132 the 
10133 input file. The default invocation extracts only the DSDTs and SSDTs.
10134
10135 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
10136 makefile for the AcpiXtract utility.
10137
10138 ----------------------------------------
10139 17 March 2006. Summary of changes for version 20060317:
10140
10141 1) ACPI CA Core Subsystem:
10142
10143 Implemented the use of a cache object for all internal namespace nodes. 
10144 Since there are about 1000 static nodes in a typical system, this will 
10145 decrease memory use for cache implementations that minimize per-
10146 allocation 
10147 overhead (such as a slab allocator.)
10148
10149 Removed the reference count mechanism for internal namespace nodes, since 
10150 it 
10151 was deemed unnecessary. This reduces the size of each namespace node by 
10152 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
10153 case, 
10154 and 32 bytes for the 64-bit case.
10155
10156 Optimized several internal data structures to reduce object size on 64-
10157 bit 
10158 platforms by packing data within the 64-bit alignment. This includes the 
10159 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
10160 instances corresponding to the namespace objects.
10161
10162 Added two new strings for the predefined _OSI method: "Windows 2001.1 
10163 SP1" 
10164 and "Windows 2006".
10165
10166 Split the allocation tracking mechanism out to a separate file, from 
10167 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
10168 application-level code. Kernels may wish to not include uttrack.c in 
10169 distributions.
10170
10171 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
10172 associated 
10173 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
10174 macros.)
10175
10176 Code and Data Size: These are the sizes for the acpica.lib produced by 
10177 the 
10178 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10179 ACPI 
10180 driver or OSPM code. The debug version of the code includes the debug 
10181 output 
10182 trace mechanism and has a much larger code and data size. Note that these 
10183 values will vary depending on the efficiency of the compiler and the 
10184 compiler options used during generation.
10185
10186   Previous Release:
10187     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10188     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10189   Current Release:
10190     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10191     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10192
10193
10194 2) iASL Compiler/Disassembler and Tools:
10195
10196 Implemented an ANSI C version of the acpixtract utility. This version 
10197 will 
10198 automatically extract the DSDT and all SSDTs from the input acpidump text 
10199 file and dump the binary output to separate files. It can also display a 
10200 summary of the input file including the headers for each table found and 
10201 will extract any single ACPI table, with any signature. (See 
10202 source/tools/acpixtract)
10203
10204 ----------------------------------------
10205 10 March 2006. Summary of changes for version 20060310:
10206
10207 1) ACPI CA Core Subsystem:
10208
10209 Tagged all external interfaces to the subsystem with the new 
10210 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
10211 assist 
10212 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
10213 macro. The default definition is NULL.
10214
10215 Added the ACPI_THREAD_ID type for the return value from 
10216 AcpiOsGetThreadId. 
10217 This allows the host to define this as necessary to simplify kernel 
10218 integration. The default definition is ACPI_NATIVE_UINT.
10219
10220 Fixed two interpreter problems related to error processing, the deletion 
10221 of 
10222 objects, and placing invalid pointers onto the internal operator result 
10223 stack. BZ 6028, 6151 (Valery Podrezov)
10224
10225 Increased the reference count threshold where a warning is emitted for 
10226 large 
10227 reference counts in order to eliminate unnecessary warnings on systems 
10228 with 
10229 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
10230 0x800.
10231
10232 Due to universal disagreement as to the meaning of the 'c' in the 
10233 calloc() 
10234 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
10235 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
10236 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
10237 ACPI_FREE.
10238
10239 Code and Data Size: These are the sizes for the acpica.lib produced by 
10240 the 
10241 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10242 ACPI 
10243 driver or OSPM code. The debug version of the code includes the debug 
10244 output 
10245 trace mechanism and has a much larger code and data size. Note that these 
10246 values will vary depending on the efficiency of the compiler and the 
10247 compiler options used during generation.
10248
10249   Previous Release:
10250     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10251     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10252   Current Release:
10253     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10254     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10255
10256
10257 2) iASL Compiler/Disassembler:
10258
10259 Disassembler: implemented support for symbolic resource descriptor 
10260 references. If a CreateXxxxField operator references a fixed offset 
10261 within 
10262
10263 resource descriptor, a name is assigned to the descriptor and the offset 
10264 is 
10265 translated to the appropriate resource tag and pathname. The addition of 
10266 this support brings the disassembled code very close to the original ASL 
10267 source code and helps eliminate run-time errors when the disassembled 
10268 code 
10269 is modified (and recompiled) in such a way as to invalidate the original 
10270 fixed offsets.
10271
10272 Implemented support for a Descriptor Name as the last parameter to the 
10273 ASL 
10274 Register() macro. This parameter was inadvertently left out of the ACPI 
10275 specification, and will be added for ACPI 3.0b.
10276
10277 Fixed a problem where the use of the "_OSI" string (versus the full path 
10278 "\_OSI") caused an internal compiler error. ("No back ptr to op")
10279
10280 Fixed a problem with the error message that occurs when an invalid string 
10281 is 
10282 used for a _HID object (such as one with an embedded asterisk: 
10283 "*PNP010A".) 
10284 The correct message is now displayed.
10285
10286 ----------------------------------------
10287 17 February 2006. Summary of changes for version 20060217:
10288
10289 1) ACPI CA Core Subsystem:
10290
10291 Implemented a change to the IndexField support to match the behavior of 
10292 the 
10293 Microsoft AML interpreter. The value written to the Index register is now 
10294
10295 byte offset, no longer an index based upon the width of the Data 
10296 register. 
10297 This should fix IndexField problems seen on some machines where the Data 
10298 register is not exactly one byte wide. The ACPI specification will be 
10299 clarified on this point.
10300
10301 Fixed a problem where several resource descriptor types could overrun the 
10302 internal descriptor buffer due to size miscalculation: VendorShort, 
10303 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
10304 affect all platforms.
10305
10306 Fixed a problem where individual resource descriptors were misaligned 
10307 within 
10308 the internal buffer, causing alignment faults on IA64 platforms.
10309
10310 Code and Data Size: These are the sizes for the acpica.lib produced by 
10311 the 
10312 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10313 ACPI 
10314 driver or OSPM code. The debug version of the code includes the debug 
10315 output 
10316 trace mechanism and has a much larger code and data size. Note that these 
10317 values will vary depending on the efficiency of the compiler and the 
10318 compiler options used during generation.
10319
10320   Previous Release:
10321     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10322     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10323   Current Release:
10324     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10325     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10326
10327
10328 2) iASL Compiler/Disassembler:
10329
10330 Implemented support for new reserved names: _WDG and _WED are Microsoft 
10331 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
10332 defined method (Throttling Depth Limit.)
10333
10334 Fixed a problem where a zero-length VendorShort or VendorLong resource 
10335 descriptor was incorrectly emitted as a descriptor of length one.
10336
10337 ----------------------------------------
10338 10 February 2006. Summary of changes for version 20060210:
10339
10340 1) ACPI CA Core Subsystem:
10341
10342 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
10343 normal execution. These became apparent after the conversion from 
10344 ACPI_DEBUG_PRINT.
10345
10346 Fixed a problem where the CreateField operator could hang if the BitIndex 
10347 or 
10348 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
10349
10350 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
10351 failed with an exception. This also fixes a couple of related RefOf and 
10352 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
10353
10354 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
10355 of 
10356 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
10357 BZ 
10358 5480)
10359
10360 Implemented a memory cleanup at the end of the execution of each 
10361 iteration 
10362 of an AML While() loop, preventing the accumulation of outstanding 
10363 objects. 
10364 (Valery Podrezov, BZ 5427)
10365
10366 Eliminated a chunk of duplicate code in the object resolution code. 
10367 (Valery 
10368 Podrezov, BZ 5336)
10369
10370 Fixed several warnings during the 64-bit code generation.
10371
10372 The AcpiSrc source code conversion tool now inserts one line of 
10373 whitespace 
10374 after an if() statement that is followed immediately by a comment, 
10375 improving 
10376 readability of the Linux code.
10377
10378 Code and Data Size: The current and previous library sizes for the core 
10379 subsystem are shown below. These are the code and data sizes for the 
10380 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10381 These 
10382 values do not include any ACPI driver or OSPM code. The debug version of 
10383 the 
10384 code includes the debug output trace mechanism and has a much larger code 
10385 and data size. Note that these values will vary depending on the 
10386 efficiency 
10387 of the compiler and the compiler options used during generation.
10388
10389   Previous Release:
10390     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10391     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10392   Current Release:
10393     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10394     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10395
10396
10397 2) iASL Compiler/Disassembler:
10398
10399 Fixed a problem with the disassembly of a BankField operator with a 
10400 complex 
10401 expression for the BankValue parameter.
10402
10403 ----------------------------------------
10404 27 January 2006. Summary of changes for version 20060127:
10405
10406 1) ACPI CA Core Subsystem:
10407
10408 Implemented support in the Resource Manager to allow unresolved 
10409 namestring 
10410 references within resource package objects for the _PRT method. This 
10411 support 
10412 is in addition to the previously implemented unresolved reference support 
10413 within the AML parser. If the interpreter slack mode is enabled, these 
10414 unresolved references will be passed through to the caller as a NULL 
10415 package 
10416 entry.
10417
10418 Implemented and deployed new macros and functions for error and warning 
10419 messages across the subsystem. These macros are simpler and generate less 
10420 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
10421 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
10422 macros remain defined to allow ACPI drivers time to migrate to the new 
10423 macros.
10424
10425 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
10426 the 
10427 Acquire/Release Lock OSL interfaces.
10428
10429 Fixed a problem where Alias ASL operators are sometimes not correctly 
10430 resolved, in both the interpreter and the iASL compiler.
10431
10432 Fixed several problems with the implementation of the 
10433 ConcatenateResTemplate 
10434 ASL operator. As per the ACPI specification, zero length buffers are now 
10435 treated as a single EndTag. One-length buffers always cause a fatal 
10436 exception. Non-zero length buffers that do not end with a full 2-byte 
10437 EndTag 
10438 cause a fatal exception.
10439
10440 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
10441 interface. (With assistance from Thomas Renninger)
10442
10443 Code and Data Size: The current and previous library sizes for the core 
10444 subsystem are shown below. These are the code and data sizes for the 
10445 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10446 These 
10447 values do not include any ACPI driver or OSPM code. The debug version of 
10448 the 
10449 code includes the debug output trace mechanism and has a much larger code 
10450 and data size. Note that these values will vary depending on the 
10451 efficiency 
10452 of the compiler and the compiler options used during generation.
10453
10454   Previous Release:
10455     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10456     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10457   Current Release:
10458     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10459     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10460
10461
10462 2) iASL Compiler/Disassembler:
10463
10464 Fixed an internal error that was generated for any forward references to 
10465 ASL 
10466 Alias objects.
10467
10468 ----------------------------------------
10469 13 January 2006. Summary of changes for version 20060113:
10470
10471 1) ACPI CA Core Subsystem:
10472
10473 Added 2006 copyright to all module headers and signons. This affects 
10474 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
10475 utilities.
10476  
10477 Enhanced the ACPICA error reporting in order to simplify user migration 
10478 to 
10479 the non-debug version of ACPICA. Replaced all instances of the 
10480 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
10481 debug 
10482 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
10483 respectively. This preserves all error and warning messages in the non-
10484 debug 
10485 version of the ACPICA code (this has been referred to as the "debug lite" 
10486 option.) Over 200 cases were converted to create a total of over 380 
10487 error/warning messages across the ACPICA code. This increases the code 
10488 and 
10489 data size of the default non-debug version of the code somewhat (about 
10490 13K), 
10491 but all error/warning reporting may be disabled if desired (and code 
10492 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
10493 configuration option. The size of the debug version of ACPICA remains 
10494 about 
10495 the same.
10496
10497 Fixed a memory leak within the AML Debugger "Set" command. One object was 
10498 not properly deleted for every successful invocation of the command.
10499
10500 Code and Data Size: The current and previous library sizes for the core 
10501 subsystem are shown below. These are the code and data sizes for the 
10502 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10503 These 
10504 values do not include any ACPI driver or OSPM code. The debug version of 
10505 the 
10506 code includes the debug output trace mechanism and has a much larger code 
10507 and data size. Note that these values will vary depending on the 
10508 efficiency 
10509 of the compiler and the compiler options used during generation.
10510
10511   Previous Release:
10512     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10513     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10514   Current Release:
10515     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10516     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10517
10518
10519 2) iASL Compiler/Disassembler:
10520
10521 The compiler now officially supports the ACPI 3.0a specification that was 
10522 released on December 30, 2005. (Specification is available at 
10523 www.acpi.info)
10524
10525 ----------------------------------------
10526 16 December 2005. Summary of changes for version 20051216:
10527
10528 1) ACPI CA Core Subsystem:
10529
10530 Implemented optional support to allow unresolved names within ASL Package 
10531 objects. A null object is inserted in the package when a named reference 
10532 cannot be located in the current namespace. Enabled via the interpreter 
10533 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
10534 machines 
10535 that contain such code.
10536
10537 Implemented an optimization to the initialization sequence that can 
10538 improve 
10539 boot time. During ACPI device initialization, the _STA method is now run 
10540 if 
10541 and only if the _INI method exists. The _STA method is used to determine 
10542 if 
10543 the device is present; An _INI can only be run if _STA returns present, 
10544 but 
10545 it is a waste of time to run the _STA method if the _INI does not exist. 
10546 (Prototype and assistance from Dong Wei)
10547
10548 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
10549 is 
10550 available in the current compiler. Otherwise, the default (void *) cast 
10551 is 
10552 used as before.
10553
10554 Fixed some possible memory leaks found within the execution path of the 
10555 Break, Continue, If, and CreateField operators. (Valery Podrezov)
10556
10557 Fixed a problem introduced in the 20051202 release where an exception is 
10558 generated during method execution if a control method attempts to declare 
10559 another method.
10560
10561 Moved resource descriptor string constants that are used by both the AML 
10562 disassembler and AML debugger to the common utilities directory so that 
10563 these components are independent.
10564
10565 Implemented support in the AcpiExec utility (-e switch) to globally 
10566 ignore 
10567 exceptions during control method execution (method is not aborted.)
10568
10569 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
10570 generation.
10571
10572 Code and Data Size: The current and previous library sizes for the core 
10573 subsystem are shown below. These are the code and data sizes for the 
10574 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10575 These 
10576 values do not include any ACPI driver or OSPM code. The debug version of 
10577 the 
10578 code includes the debug output trace mechanism and has a much larger code 
10579 and data size. Note that these values will vary depending on the 
10580 efficiency 
10581 of the compiler and the compiler options used during generation.
10582
10583   Previous Release:
10584     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10585     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10586   Current Release:
10587     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10588     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10589
10590
10591 2) iASL Compiler/Disassembler:
10592
10593 Fixed a problem where a CPU stack overflow fault could occur if a 
10594 recursive 
10595 method call was made from within a Return statement.
10596
10597 ----------------------------------------
10598 02 December 2005. Summary of changes for version 20051202:
10599
10600 1) ACPI CA Core Subsystem:
10601
10602 Modified the parsing of control methods to no longer create namespace 
10603 objects during the first pass of the parse. Objects are now created only 
10604 during the execute phase, at the moment the namespace creation operator 
10605 is 
10606 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
10607 This 
10608 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
10609 reentrant control methods are protected by an AML mutex. The mutex will 
10610 now 
10611 correctly block multiple threads from attempting to create the same 
10612 object 
10613 more than once.
10614
10615 Increased the number of available Owner Ids for namespace object tracking 
10616 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
10617 on 
10618 some machines with a large number of ACPI tables (either static or 
10619 dynamic).
10620
10621 Fixed a problem with the AcpiExec utility where a fault could occur when 
10622 the 
10623 -b switch (batch mode) is used.
10624
10625 Enhanced the namespace dump routine to output the owner ID for each 
10626 namespace object.
10627
10628 Code and Data Size: The current and previous library sizes for the core 
10629 subsystem are shown below. These are the code and data sizes for the 
10630 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10631 These 
10632 values do not include any ACPI driver or OSPM code. The debug version of 
10633 the 
10634 code includes the debug output trace mechanism and has a much larger code 
10635 and data size. Note that these values will vary depending on the 
10636 efficiency 
10637 of the compiler and the compiler options used during generation.
10638
10639   Previous Release:
10640     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10641     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10642   Current Release:
10643     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10644     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10645
10646
10647 2) iASL Compiler/Disassembler:
10648
10649 Fixed a parse error during compilation of certain Switch/Case constructs. 
10650 To 
10651 simplify the parse, the grammar now allows for multiple Default 
10652 statements 
10653 and this error is now detected and flagged during the analysis phase.
10654
10655 Disassembler: The disassembly now includes the contents of the original 
10656 table header within a comment at the start of the file. This includes the 
10657 name and version of the original ASL compiler.
10658
10659 ----------------------------------------
10660 17 November 2005. Summary of changes for version 20051117:
10661
10662 1) ACPI CA Core Subsystem:
10663
10664 Fixed a problem in the AML parser where the method thread count could be 
10665 decremented below zero if any errors occurred during the method parse 
10666 phase. 
10667 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
10668 machines. 
10669 This also fixed a related regression with the mechanism that detects and 
10670 corrects methods that cannot properly handle reentrancy (related to the 
10671 deployment of the new OwnerId mechanism.)
10672
10673 Eliminated the pre-parsing of control methods (to detect errors) during 
10674 table load. Related to the problem above, this was causing unwind issues 
10675 if 
10676 any errors occurred during the parse, and it seemed to be overkill. A 
10677 table 
10678 load should not be aborted if there are problems with any single control 
10679 method, thus rendering this feature rather pointless.
10680
10681 Fixed a problem with the new table-driven resource manager where an 
10682 internal 
10683 buffer overflow could occur for small resource templates.
10684
10685 Implemented a new external interface, AcpiGetVendorResource. This 
10686 interface 
10687 will find and return a vendor-defined resource descriptor within a _CRS 
10688 or 
10689 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
10690 Helgaas.
10691
10692 Removed the length limit (200) on string objects as per the upcoming ACPI 
10693 3.0A specification. This affects the following areas of the interpreter: 
10694 1) 
10695 any implicit conversion of a Buffer to a String, 2) a String object 
10696 result 
10697 of the ASL Concatentate operator, 3) the String object result of the ASL 
10698 ToString operator.
10699
10700 Fixed a problem in the Windows OS interface layer (OSL) where a 
10701 WAIT_FOREVER 
10702 on a semaphore object would incorrectly timeout. This allows the 
10703 multithreading features of the AcpiExec utility to work properly under 
10704 Windows.
10705
10706 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
10707 the recently added file named "utresrc.c".
10708
10709 Code and Data Size: The current and previous library sizes for the core 
10710 subsystem are shown below. These are the code and data sizes for the 
10711 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10712 These 
10713 values do not include any ACPI driver or OSPM code. The debug version of 
10714 the 
10715 code includes the debug output trace mechanism and has a much larger code 
10716 and data size. Note that these values will vary depending on the 
10717 efficiency 
10718 of the compiler and the compiler options used during generation.
10719
10720   Previous Release:
10721     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
10722     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10723   Current Release:
10724     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10725     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10726
10727
10728 2) iASL Compiler/Disassembler:
10729
10730 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
10731 specification. For the iASL compiler, this means that string literals 
10732 within 
10733 the source ASL can be of any length. 
10734
10735 Enhanced the listing output to dump the AML code for resource descriptors 
10736 immediately after the ASL code for each descriptor, instead of in a block 
10737 at 
10738 the end of the entire resource template.
10739
10740 Enhanced the compiler debug output to dump the entire original parse tree 
10741 constructed during the parse phase, before any transforms are applied to 
10742 the 
10743 tree. The transformed tree is dumped also.
10744
10745 ----------------------------------------
10746 02 November 2005. Summary of changes for version 20051102:
10747
10748 1) ACPI CA Core Subsystem:
10749
10750 Modified the subsystem initialization sequence to improve GPE support. 
10751 The 
10752 GPE initialization has been split into two parts in order to defer 
10753 execution 
10754 of the _PRW methods (Power Resources for Wake) until after the hardware 
10755 is 
10756 fully initialized and the SCI handler is installed. This allows the _PRW 
10757 methods to access fields protected by the Global Lock. This will fix 
10758 systems 
10759 where a NO_GLOBAL_LOCK exception has been seen during initialization.
10760
10761 Converted the ACPI internal object disassemble and display code within 
10762 the 
10763 AML debugger to fully table-driven operation, reducing code size and 
10764 increasing maintainability.
10765
10766 Fixed a regression with the ConcatenateResTemplate() ASL operator 
10767 introduced 
10768 in the 20051021 release.
10769
10770 Implemented support for "local" internal ACPI object types within the 
10771 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
10772 These local types include RegionFields, BankFields, IndexFields, Alias, 
10773 and 
10774 reference objects.
10775
10776 Moved common AML resource handling code into a new file, "utresrc.c". 
10777 This 
10778 code is shared by both the Resource Manager and the AML Debugger.
10779
10780 Code and Data Size: The current and previous library sizes for the core 
10781 subsystem are shown below. These are the code and data sizes for the 
10782 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10783 These 
10784 values do not include any ACPI driver or OSPM code. The debug version of 
10785 the 
10786 code includes the debug output trace mechanism and has a much larger code 
10787 and data size. Note that these values will vary depending on the 
10788 efficiency 
10789 of the compiler and the compiler options used during generation.
10790
10791   Previous Release:
10792     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
10793     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
10794   Current Release:
10795     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
10796     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10797
10798
10799 2) iASL Compiler/Disassembler:
10800
10801 Fixed a problem with very large initializer lists (more than 4000 
10802 elements) 
10803 for both Buffer and Package objects where the parse stack could overflow.
10804
10805 Enhanced the pre-compile source code scan for non-ASCII characters to 
10806 ignore 
10807 characters within comment fields. The scan is now always performed and is 
10808 no 
10809 longer optional, detecting invalid characters within a source file 
10810 immediately rather than during the parse phase or later.
10811
10812 Enhanced the ASL grammar definition to force early reductions on all 
10813 list-
10814 style grammar elements so that the overall parse stack usage is greatly 
10815 reduced. This should improve performance and reduce the possibility of 
10816 parse 
10817 stack overflow.
10818
10819 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
10820 Also, 
10821 with the addition of a %expected statement, the compiler generates from 
10822 source with no warnings.
10823
10824 Fixed a possible segment fault in the disassembler if the input filename 
10825 does not contain a "dot" extension (Thomas Renninger).
10826
10827 ----------------------------------------
10828 21 October 2005. Summary of changes for version 20051021:
10829
10830 1) ACPI CA Core Subsystem:
10831
10832 Implemented support for the EM64T and other x86-64 processors. This 
10833 essentially entails recognizing that these processors support non-aligned 
10834 memory transfers. Previously, all 64-bit processors were assumed to lack 
10835 hardware support for non-aligned transfers.
10836
10837 Completed conversion of the Resource Manager to nearly full table-driven 
10838 operation. Specifically, the resource conversion code (convert AML to 
10839 internal format and the reverse) and the debug code to dump internal 
10840 resource descriptors are fully table-driven, reducing code and data size 
10841 and 
10842 improving maintainability.
10843
10844 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
10845 word 
10846 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
10847 from 
10848 Alexey Starikovskiy)
10849
10850 Implemented support within the resource conversion code for the Type-
10851 Specific byte within the various ACPI 3.0 *WordSpace macros.
10852
10853 Fixed some issues within the resource conversion code for the type-
10854 specific 
10855 flags for both Memory and I/O address resource descriptors. For Memory, 
10856 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
10857 TTP flags into two separate fields.
10858
10859 Code and Data Size: The current and previous library sizes for the core 
10860 subsystem are shown below. These are the code and data sizes for the 
10861 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10862 These 
10863 values do not include any ACPI driver or OSPM code. The debug version of 
10864 the 
10865 code includes the debug output trace mechanism and has a much larger code 
10866 and data size. Note that these values will vary depending on the 
10867 efficiency 
10868 of the compiler and the compiler options used during generation.
10869
10870   Previous Release:
10871     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
10872     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
10873   Current Release:
10874     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
10875     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
10876
10877
10878
10879 2) iASL Compiler/Disassembler:
10880
10881 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
10882 the 
10883 corresponding ResourceSource string was not also present in a resource 
10884 descriptor declaration. This restriction caused problems with existing 
10885 AML/ASL code that includes the Index byte without the string. When such 
10886 AML 
10887 was disassembled, it could not be compiled without modification. Further, 
10888 the modified code created a resource template with a different size than 
10889 the 
10890 original, breaking code that used fixed offsets into the resource 
10891 template 
10892 buffer.
10893
10894 Removed a recent feature of the disassembler to ignore a lone 
10895 ResourceIndex 
10896 byte. This byte is now emitted if present so that the exact AML can be 
10897 reproduced when the disassembled code is recompiled.
10898
10899 Improved comments and text alignment for the resource descriptor code 
10900 emitted by the disassembler.
10901
10902 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
10903
10904 Register() resource descriptor.
10905
10906 ----------------------------------------
10907 30 September 2005. Summary of changes for version 20050930:
10908
10909 1) ACPI CA Core Subsystem:
10910
10911 Completed a major overhaul of the Resource Manager code - specifically, 
10912 optimizations in the area of the AML/internal resource conversion code. 
10913 The 
10914 code has been optimized to simplify and eliminate duplicated code, CPU 
10915 stack 
10916 use has been decreased by optimizing function parameters and local 
10917 variables, and naming conventions across the manager have been 
10918 standardized 
10919 for clarity and ease of maintenance (this includes function, parameter, 
10920 variable, and struct/typedef names.) The update may force changes in some 
10921 driver code, depending on how resources are handled by the host OS.
10922
10923 All Resource Manager dispatch and information tables have been moved to a 
10924 single location for clarity and ease of maintenance. One new file was 
10925 created, named "rsinfo.c".
10926
10927 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
10928 guarantee that the argument is not evaluated twice, making them less 
10929 prone 
10930 to macro side-effects. However, since there exists the possibility of 
10931 additional stack use if a particular compiler cannot optimize them (such 
10932 as 
10933 in the debug generation case), the original macros are optionally 
10934 available.  
10935 Note that some invocations of the return_VALUE macro may now cause size 
10936 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
10937 to 
10938 eliminate these. (From Randy Dunlap)
10939
10940 Implemented a new mechanism to enable debug tracing for individual 
10941 control 
10942 methods. A new external interface, AcpiDebugTrace, is provided to enable 
10943 this mechanism. The intent is to allow the host OS to easily enable and 
10944 disable tracing for problematic control methods. This interface can be 
10945 easily exposed to a user or debugger interface if desired. See the file 
10946 psxface.c for details.
10947
10948 AcpiUtCallocate will now return a valid pointer if a length of zero is 
10949 specified - a length of one is used and a warning is issued. This matches 
10950 the behavior of AcpiUtAllocate.
10951
10952 Code and Data Size: The current and previous library sizes for the core 
10953 subsystem are shown below. These are the code and data sizes for the 
10954 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10955 These 
10956 values do not include any ACPI driver or OSPM code. The debug version of 
10957 the 
10958 code includes the debug output trace mechanism and has a much larger code 
10959 and data size. Note that these values will vary depending on the 
10960 efficiency 
10961 of the compiler and the compiler options used during generation.
10962
10963   Previous Release:
10964     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
10965     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
10966   Current Release:
10967     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
10968     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
10969
10970
10971 2) iASL Compiler/Disassembler:
10972
10973 A remark is issued if the effective compile-time length of a package or 
10974 buffer is zero. Previously, this was a warning.
10975
10976 ----------------------------------------
10977 16 September 2005. Summary of changes for version 20050916:
10978
10979 1) ACPI CA Core Subsystem:
10980
10981 Fixed a problem within the Resource Manager where support for the Generic 
10982 Register descriptor was not fully implemented. This descriptor is now 
10983 fully 
10984 recognized, parsed, disassembled, and displayed.
10985
10986 Completely restructured the Resource Manager code to utilize table-driven 
10987 dispatch and lookup, eliminating many of the large switch() statements. 
10988 This 
10989 reduces overall subsystem code size and code complexity. Affects the 
10990 resource parsing and construction, disassembly, and debug dump output.
10991
10992 Cleaned up and restructured the debug dump output for all resource 
10993 descriptors. Improved readability of the output and reduced code size.
10994
10995 Fixed a problem where changes to internal data structures caused the 
10996 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
10997
10998 Code and Data Size: The current and previous library sizes for the core 
10999 subsystem are shown below. These are the code and data sizes for the 
11000 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11001 These 
11002 values do not include any ACPI driver or OSPM code. The debug version of 
11003 the 
11004 code includes the debug output trace mechanism and has a much larger code 
11005 and data size. Note that these values will vary depending on the 
11006 efficiency 
11007 of the compiler and the compiler options used during generation.
11008
11009   Previous Release:
11010     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11011     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11012   Current Release:
11013     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11014     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11015
11016
11017 2) iASL Compiler/Disassembler:
11018
11019 Updated the disassembler to automatically insert an EndDependentFn() 
11020 macro 
11021 into the ASL stream if this macro is missing in the original AML code, 
11022 simplifying compilation of the resulting ASL module.
11023
11024 Fixed a problem in the disassembler where a disassembled ResourceSource 
11025 string (within a large resource descriptor) was not surrounded by quotes 
11026 and 
11027 not followed by a comma, causing errors when the resulting ASL module was 
11028 compiled. Also, escape sequences within a ResourceSource string are now 
11029 handled correctly (especially "\\")
11030
11031 ----------------------------------------
11032 02 September 2005. Summary of changes for version 20050902:
11033
11034 1) ACPI CA Core Subsystem:
11035
11036 Fixed a problem with the internal Owner ID allocation and deallocation 
11037 mechanisms for control method execution and recursive method invocation. 
11038 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
11039 messages seen on some systems. Recursive method invocation depth is 
11040 currently limited to 255. (Alexey Starikovskiy)
11041
11042 Completely eliminated all vestiges of support for the "module-level 
11043 executable code" until this support is fully implemented and debugged. 
11044 This 
11045 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
11046 some systems that invoke this support.
11047
11048 Fixed a problem within the resource manager code where the transaction 
11049 flags 
11050 for a 64-bit address descriptor were handled incorrectly in the type-
11051 specific flag byte.
11052
11053 Consolidated duplicate code within the address descriptor resource 
11054 manager 
11055 code, reducing overall subsystem code size.
11056
11057 Fixed a fault when using the AML debugger "disassemble" command to 
11058 disassemble individual control methods.
11059
11060 Removed references to the "release_current" directory within the Unix 
11061 release package.
11062
11063 Code and Data Size: The current and previous core subsystem library sizes 
11064 are shown below. These are the code and data sizes for the acpica.lib 
11065 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
11066 include any ACPI driver or OSPM code. The debug version of the code 
11067 includes 
11068 the debug output trace mechanism and has a much larger code and data 
11069 size. 
11070 Note that these values will vary depending on the efficiency of the 
11071 compiler 
11072 and the compiler options used during generation.
11073
11074   Previous Release:
11075     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11076     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11077   Current Release:
11078     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11079     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11080
11081
11082 2) iASL Compiler/Disassembler:
11083
11084 Implemented an error check for illegal duplicate values in the interrupt 
11085 and 
11086 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
11087 Interrupt().
11088
11089 Implemented error checking for the Irq() and IrqNoFlags() macros to 
11090 detect 
11091 too many values in the interrupt list (16 max) and invalid values in the 
11092 list (range 0 - 15)
11093
11094 The maximum length string literal within an ASL file is now restricted to 
11095 200 characters as per the ACPI specification.
11096
11097 Fixed a fault when using the -ln option (generate namespace listing).
11098
11099 Implemented an error check to determine if a DescriptorName within a 
11100 resource descriptor has already been used within the current scope.
11101
11102 ----------------------------------------
11103 15 August 2005.  Summary of changes for version 20050815:
11104  
11105 1) ACPI CA Core Subsystem:
11106  
11107 Implemented a full bytewise compare to determine if a table load request 
11108 is 
11109 attempting to load a duplicate table. The compare is performed if the 
11110 table 
11111 signatures and table lengths match. This will allow different tables with 
11112 the same OEM Table ID and revision to be loaded - probably against the 
11113 ACPI 
11114 specification, but discovered in the field nonetheless.
11115  
11116 Added the changes.txt logfile to each of the zipped release packages.
11117  
11118 Code and Data Size: Current and previous core subsystem library sizes are 
11119 shown below. These are the code and data sizes for the acpica.lib 
11120 produced 
11121 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11122 any ACPI driver or OSPM code. The debug version of the code includes the 
11123 debug output trace mechanism and has a much larger code and data size. 
11124 Note 
11125 that these values will vary depending on the efficiency of the compiler 
11126 and 
11127 the compiler options used during generation.
11128  
11129   Previous Release:
11130     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11131     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11132   Current Release:
11133     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11134     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11135  
11136  
11137 2) iASL Compiler/Disassembler:
11138  
11139 Fixed a problem where incorrect AML code could be generated for Package 
11140 objects if optimization is disabled (via the -oa switch).
11141  
11142 Fixed a problem with where incorrect AML code is generated for variable-
11143 length packages when the package length is not specified and the number 
11144 of 
11145 initializer values is greater than 255.
11146  
11147
11148 ----------------------------------------
11149 29 July 2005.  Summary of changes for version 20050729:
11150
11151 1) ACPI CA Core Subsystem:
11152
11153 Implemented support to ignore an attempt to install/load a particular 
11154 ACPI 
11155 table more than once. Apparently there exists BIOS code that repeatedly 
11156 attempts to load the same SSDT upon certain events. With assistance from 
11157 Venkatesh Pallipadi.
11158
11159 Restructured the main interface to the AML parser in order to correctly 
11160 handle all exceptional conditions. This will prevent leakage of the 
11161 OwnerId 
11162 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
11163 some 
11164 machines. With assistance from Alexey Starikovskiy.
11165
11166 Support for "module level code" has been disabled in this version due to 
11167
11168 number of issues that have appeared on various machines. The support can 
11169 be 
11170 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
11171 compilation. When the issues are fully resolved, the code will be enabled 
11172 by 
11173 default again.
11174
11175 Modified the internal functions for debug print support to define the 
11176 FunctionName parameter as a (const char *) for compatibility with 
11177 compiler 
11178 built-in macros such as __FUNCTION__, etc.
11179
11180 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
11181
11182 Implemented support to display an object count summary for the AML 
11183 Debugger 
11184 commands Object and Methods.
11185
11186 Code and Data Size: Current and previous core subsystem library sizes are 
11187 shown below. These are the code and data sizes for the acpica.lib 
11188 produced 
11189 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11190 any ACPI driver or OSPM code. The debug version of the code includes the 
11191 debug output trace mechanism and has a much larger code and data size. 
11192 Note 
11193 that these values will vary depending on the efficiency of the compiler 
11194 and 
11195 the compiler options used during generation.
11196
11197   Previous Release:
11198     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11199     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11200   Current Release:
11201     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11202     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11203
11204
11205 2) iASL Compiler/Disassembler:
11206
11207 Fixed a regression that appeared in the 20050708 version of the compiler 
11208 where an error message was inadvertently emitted for invocations of the 
11209 _OSI 
11210 reserved control method.
11211
11212 ----------------------------------------
11213 08 July 2005.  Summary of changes for version 20050708:
11214
11215 1) ACPI CA Core Subsystem:
11216
11217 The use of the CPU stack in the debug version of the subsystem has been 
11218 considerably reduced. Previously, a debug structure was declared in every 
11219 function that used the debug macros. This structure has been removed in 
11220 favor of declaring the individual elements as parameters to the debug 
11221 functions. This reduces the cumulative stack use during nested execution 
11222 of 
11223 ACPI function calls at the cost of a small increase in the code size of 
11224 the 
11225 debug version of the subsystem. With assistance from Alexey Starikovskiy 
11226 and 
11227 Len Brown.
11228
11229 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
11230 headers to define a macro that will return the current function name at 
11231 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
11232 by 
11233 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
11234 compiler-dependent header, the function name is saved on the CPU stack 
11235 (one 
11236 pointer per function.) This mechanism is used because apparently there 
11237 exists no standard ANSI-C defined macro that that returns the function 
11238 name.
11239
11240 Redesigned and reimplemented the "Owner ID" mechanism used to track 
11241 namespace objects created/deleted by ACPI tables and control method 
11242 execution. A bitmap is now used to allocate and free the IDs, thus 
11243 solving 
11244 the wraparound problem present in the previous implementation. The size 
11245 of 
11246 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
11247 Starikovskiy).
11248
11249 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
11250 bitfield 
11251 flag definitions within the headers for the predefined ACPI tables. These 
11252 have been replaced by UINT8_BIT in order to increase the code portability 
11253 of 
11254 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
11255 eliminate bitfields entirely because of a lack of portability.
11256
11257 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
11258 This 
11259 is a frequently used function and this improvement increases the 
11260 performance 
11261 of the entire subsystem (Alexey Starikovskiy).
11262
11263 Fixed several possible memory leaks and the inverse - premature object 
11264 deletion (Alexey Starikovskiy).
11265
11266 Code and Data Size: Current and previous core subsystem library sizes are 
11267 shown below. These are the code and data sizes for the acpica.lib 
11268 produced 
11269 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11270 any ACPI driver or OSPM code. The debug version of the code includes the 
11271 debug output trace mechanism and has a much larger code and data size. 
11272 Note 
11273 that these values will vary depending on the efficiency of the compiler 
11274 and 
11275 the compiler options used during generation.
11276
11277   Previous Release:
11278     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11279     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11280   Current Release:
11281     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11282     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11283
11284 ----------------------------------------
11285 24 June 2005.  Summary of changes for version 20050624:
11286
11287 1) ACPI CA Core Subsystem:
11288
11289 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
11290 the host-defined cache object. This allows the OSL implementation to 
11291 define 
11292 and type this object in any manner desired, simplifying the OSL 
11293 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
11294 Linux, and should be defined in the OS-specific header file for other 
11295 operating systems as required.
11296
11297 Changed the interface to AcpiOsAcquireObject to directly return the 
11298 requested object as the function return (instead of ACPI_STATUS.) This 
11299 change was made for performance reasons, since this is the purpose of the 
11300 interface in the first place. AcpiOsAcquireObject is now similar to the 
11301 AcpiOsAllocate interface.
11302
11303 Implemented a new AML debugger command named Businfo. This command 
11304 displays 
11305 information about all devices that have an associate _PRT object. The 
11306 _ADR, 
11307 _HID, _UID, and _CID are displayed for these devices.
11308
11309 Modified the initialization sequence in AcpiInitializeSubsystem to call 
11310 the 
11311 OSL interface AcpiOslInitialize first, before any local initialization. 
11312 This 
11313 change was required because the global initialization now calls OSL 
11314 interfaces.
11315
11316 Enhanced the Dump command to display the entire contents of Package 
11317 objects 
11318 (including all sub-objects and their values.) 
11319
11320 Restructured the code base to split some files because of size and/or 
11321 because the code logically belonged in a separate file. New files are 
11322 listed 
11323 below. All makefiles and project files included in the ACPI CA release 
11324 have 
11325 been updated.
11326     utilities/utcache.c           /* Local cache interfaces */
11327     utilities/utmutex.c           /* Local mutex support */
11328     utilities/utstate.c           /* State object support */
11329     interpreter/parser/psloop.c   /* Main AML parse loop */
11330
11331 Code and Data Size: Current and previous core subsystem library sizes are 
11332 shown below. These are the code and data sizes for the acpica.lib 
11333 produced 
11334 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11335 any ACPI driver or OSPM code. The debug version of the code includes the 
11336 debug output trace mechanism and has a much larger code and data size. 
11337 Note 
11338 that these values will vary depending on the efficiency of the compiler 
11339 and 
11340 the compiler options used during generation.
11341
11342   Previous Release:
11343     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11344     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11345   Current Release:
11346     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11347     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11348
11349
11350 2) iASL Compiler/Disassembler:
11351
11352 Fixed a regression introduced in version 20050513 where the use of a 
11353 Package 
11354 object within a Case() statement caused a compile time exception. The 
11355 original behavior has been restored (a Match() operator is emitted.)
11356
11357 ----------------------------------------
11358 17 June 2005.  Summary of changes for version 20050617:
11359
11360 1) ACPI CA Core Subsystem:
11361
11362 Moved the object cache operations into the OS interface layer (OSL) to 
11363 allow 
11364 the host OS to handle these operations if desired (for example, the Linux 
11365 OSL will invoke the slab allocator). This support is optional; the 
11366 compile 
11367 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
11368 cache 
11369 code in the ACPI CA core. The new OSL interfaces are shown below. See 
11370 utalloc.c for an example implementation, and acpiosxf.h for the exact 
11371 interface definitions. With assistance from Alexey Starikovskiy.
11372     AcpiOsCreateCache
11373     AcpiOsDeleteCache
11374     AcpiOsPurgeCache
11375     AcpiOsAcquireObject
11376     AcpiOsReleaseObject
11377
11378 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
11379 return 
11380 and restore a flags parameter. This fits better with many OS lock models. 
11381 Note: the current execution state (interrupt handler or not) is no longer 
11382 passed to these interfaces. If necessary, the OSL must determine this 
11383 state 
11384 by itself, a simple and fast operation. With assistance from Alexey 
11385 Starikovskiy.
11386
11387 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
11388 present if the revision of the RSDP was 2 or greater. According to the 
11389 ACPI 
11390 specification, the XSDT is optional in all cases, and the table manager 
11391 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
11392 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
11393 contain 
11394 only the RSDT.
11395
11396 Fixed an interpreter problem with the Mid() operator in the case of an 
11397 input 
11398 string where the resulting output string is of zero length. It now 
11399 correctly 
11400 returns a valid, null terminated string object instead of a string object 
11401 with a null pointer.
11402
11403 Fixed a problem with the control method argument handling to allow a 
11404 store 
11405 to an Arg object that already contains an object of type Device. The 
11406 Device 
11407 object is now correctly overwritten. Previously, an error was returned.
11408
11409
11410 Enhanced the debugger Find command to emit object values in addition to 
11411 the 
11412 found object pathnames. The output format is the same as the dump 
11413 namespace 
11414 command.
11415
11416 Enhanced the debugger Set command. It now has the ability to set the 
11417 value 
11418 of any Named integer object in the namespace (Previously, only method 
11419 locals 
11420 and args could be set.)
11421
11422 Code and Data Size: Current and previous core subsystem library sizes are 
11423 shown below. These are the code and data sizes for the acpica.lib 
11424 produced 
11425 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11426 any ACPI driver or OSPM code. The debug version of the code includes the 
11427 debug output trace mechanism and has a much larger code and data size. 
11428 Note 
11429 that these values will vary depending on the efficiency of the compiler 
11430 and 
11431 the compiler options used during generation.
11432
11433   Previous Release:
11434     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11435     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11436   Current Release:
11437     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11438     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11439
11440
11441 2) iASL Compiler/Disassembler:
11442
11443 Fixed a regression in the disassembler where if/else/while constructs 
11444 were 
11445 output incorrectly. This problem was introduced in the previous release 
11446 (20050526). This problem also affected the single-step disassembly in the 
11447 debugger.
11448
11449 Fixed a problem where compiling the reserved _OSI method would randomly 
11450 (but 
11451 rarely) produce compile errors.
11452
11453 Enhanced the disassembler to emit compilable code in the face of 
11454 incorrect 
11455 AML resource descriptors. If the optional ResourceSourceIndex is present, 
11456 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
11457 disassembly. Otherwise, the resulting code cannot be compiled without 
11458 errors.
11459
11460 ----------------------------------------
11461 26 May 2005.  Summary of changes for version 20050526:
11462
11463 1) ACPI CA Core Subsystem:
11464
11465 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
11466 the module level (not within a control method.) These opcodes are 
11467 executed 
11468 exactly once at the time the table is loaded. This type of code was legal 
11469 up 
11470 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
11471 in 
11472 order to provide backwards compatibility with earlier BIOS 
11473 implementations. 
11474 This eliminates the "Encountered executable code at module level" warning 
11475 that was previously generated upon detection of such code.
11476
11477 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
11478 inadvertently be generated during the lookup of namespace objects in the 
11479 second pass parse of ACPI tables and control methods. It appears that 
11480 this 
11481 problem could occur during the resolution of forward references to 
11482 namespace 
11483 objects.
11484
11485 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
11486 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
11487 allows the deadlock detection debug code to be compiled out in the normal 
11488 case, improving mutex performance (and overall subsystem performance) 
11489 considerably.
11490
11491 Implemented a handful of miscellaneous fixes for possible memory leaks on 
11492 error conditions and error handling control paths. These fixes were 
11493 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
11494
11495 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
11496 (tbxfroot.c) 
11497 to prevent a fault in this error case.
11498
11499 Code and Data Size: Current and previous core subsystem library sizes are 
11500 shown below. These are the code and data sizes for the acpica.lib 
11501 produced 
11502 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11503 any ACPI driver or OSPM code. The debug version of the code includes the 
11504 debug output trace mechanism and has a much larger code and data size. 
11505 Note 
11506 that these values will vary depending on the efficiency of the compiler 
11507 and 
11508 the compiler options used during generation.
11509
11510   Previous Release:
11511     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11512     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11513   Current Release:
11514     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11515     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11516
11517
11518 2) iASL Compiler/Disassembler:
11519
11520 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
11521 the module level (not within a control method.) These operators will be 
11522 executed once at the time the table is loaded. This type of code was 
11523 legal 
11524 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
11525 compiler in order to provide backwards compatibility with earlier BIOS 
11526 ASL 
11527 code.
11528
11529 The ACPI integer width (specified via the table revision ID or the -r 
11530 override, 32 or 64 bits) is now used internally during compile-time 
11531 constant 
11532 folding to ensure that constants are truncated to 32 bits if necessary. 
11533 Previously, the revision ID value was only emitted in the AML table 
11534 header.
11535
11536 An error message is now generated for the Mutex and Method operators if 
11537 the 
11538 SyncLevel parameter is outside the legal range of 0 through 15.
11539
11540 Fixed a problem with the Method operator ParameterTypes list handling 
11541 (ACPI 
11542 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
11543 error.  
11544 The actual underlying implementation of method argument typechecking is 
11545 still under development, however.
11546
11547 ----------------------------------------
11548 13 May 2005.  Summary of changes for version 20050513:
11549
11550 1) ACPI CA Core Subsystem:
11551
11552 Implemented support for PCI Express root bridges -- added support for 
11553 device 
11554 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
11555
11556 The interpreter now automatically truncates incoming 64-bit constants to 
11557 32 
11558 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
11559 This 
11560 also affects the iASL compiler constant folding. (Note: as per below, the 
11561 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
11562
11563 Fixed a problem where string and buffer objects with "static" pointers 
11564 (pointers to initialization data within an ACPI table) were not handled 
11565 consistently. The internal object copy operation now always copies the 
11566 data 
11567 to a newly allocated buffer, regardless of whether the source object is 
11568 static or not.
11569
11570 Fixed a problem with the FromBCD operator where an implicit result 
11571 conversion was improperly performed while storing the result to the 
11572 target 
11573 operand. Since this is an "explicit conversion" operator, the implicit 
11574 conversion should never be performed on the output.
11575
11576 Fixed a problem with the CopyObject operator where a copy to an existing 
11577 named object did not always completely overwrite the existing object 
11578 stored 
11579 at name. Specifically, a buffer-to-buffer copy did not delete the 
11580 existing 
11581 buffer.
11582
11583 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
11584 and 
11585 structs for consistency.
11586
11587 Code and Data Size: Current and previous core subsystem library sizes are 
11588 shown below. These are the code and data sizes for the acpica.lib 
11589 produced 
11590 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11591 any ACPI driver or OSPM code. The debug version of the code includes the 
11592 debug output trace mechanism and has a much larger code and data size. 
11593 Note 
11594 that these values will vary depending on the efficiency of the compiler 
11595 and 
11596 the compiler options used during generation.
11597
11598   Previous Release:
11599     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11600     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11601   Current Release: (Same sizes)
11602     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11603     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11604
11605
11606 2) iASL Compiler/Disassembler:
11607
11608 The compiler now emits a warning if an attempt is made to generate a 64-
11609 bit 
11610 integer constant from within a 32-bit ACPI table (Revision < 2). The 
11611 integer 
11612 is truncated to 32 bits.
11613
11614 Fixed a problem with large package objects: if the static length of the 
11615 package is greater than 255, the "variable length package" opcode is 
11616 emitted. Previously, this caused an error. This requires an update to the 
11617 ACPI spec, since it currently (incorrectly) states that packages larger 
11618 than 
11619 255 elements are not allowed.
11620
11621 The disassembler now correctly handles variable length packages and 
11622 packages 
11623 larger than 255 elements.
11624
11625 ----------------------------------------
11626 08 April 2005.  Summary of changes for version 20050408:
11627
11628 1) ACPI CA Core Subsystem:
11629
11630 Fixed three cases in the interpreter where an "index" argument to an ASL 
11631 function was still (internally) 32 bits instead of the required 64 bits. 
11632 This was the Index argument to the Index, Mid, and Match operators.
11633
11634 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
11635 is 
11636 not a POSIX-defined function and not present in most kernel-level C 
11637 libraries. All references to the C library strupr function have been 
11638 removed 
11639 from the headers.
11640
11641 Completed the deployment of static functions/prototypes. All prototypes 
11642 with 
11643 the static attribute have been moved from the headers to the owning C 
11644 file.
11645
11646 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
11647 utility). This option allows the utility to extract individual ACPI 
11648 tables 
11649 from the output of AcpiDmp. It provides the same functionality of the 
11650 acpixtract.pl perl script without the worry of setting the correct perl 
11651 options. AcpiBin runs on Windows and has not yet been generated/validated 
11652 in 
11653 the Linux/Unix environment (but should be soon).
11654  
11655 Updated and fixed the table dump option for AcpiBin (-d). This option 
11656 converts a single ACPI table to a hex/ascii file, similar to the output 
11657 of 
11658 AcpiDmp.
11659
11660 Code and Data Size: Current and previous core subsystem library sizes are 
11661 shown below. These are the code and data sizes for the acpica.lib 
11662 produced 
11663 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11664 any ACPI driver or OSPM code. The debug version of the code includes the 
11665 debug output trace mechanism and has a much larger code and data size. 
11666 Note 
11667 that these values will vary depending on the efficiency of the compiler 
11668 and 
11669 the compiler options used during generation.
11670
11671   Previous Release:
11672     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11673     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11674   Current Release:
11675     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11676     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11677
11678
11679 2) iASL Compiler/Disassembler:
11680
11681 Disassembler fix: Added a check to ensure that the table length found in 
11682 the 
11683 ACPI table header within the input file is not longer than the actual 
11684 input 
11685 file size. This indicates some kind of file or table corruption.
11686
11687 ----------------------------------------
11688 29 March 2005.  Summary of changes for version 20050329:
11689
11690 1) ACPI CA Core Subsystem:
11691
11692 An error is now generated if an attempt is made to create a Buffer Field 
11693 of 
11694 length zero (A CreateField with a length operand of zero.)
11695
11696 The interpreter now issues a warning whenever executable code at the 
11697 module 
11698 level is detected during ACPI table load. This will give some idea of the 
11699 prevalence of this type of code.
11700
11701 Implemented support for references to named objects (other than control 
11702 methods) within package objects.
11703
11704 Enhanced package object output for the debug object. Package objects are 
11705 now 
11706 completely dumped, showing all elements.
11707
11708 Enhanced miscellaneous object output for the debug object. Any object can 
11709 now be written to the debug object (for example, a device object can be 
11710 written, and the type of the object will be displayed.)
11711
11712 The "static" qualifier has been added to all local functions across both 
11713 the 
11714 core subsystem and the iASL compiler.
11715
11716 The number of "long" lines (> 80 chars) within the source has been 
11717 significantly reduced, by about 1/3.
11718
11719 Cleaned up all header files to ensure that all CA/iASL functions are 
11720 prototyped (even static functions) and the formatting is consistent.
11721
11722 Two new header files have been added, acopcode.h and acnames.h.
11723
11724 Removed several obsolete functions that were no longer used.
11725
11726 Code and Data Size: Current and previous core subsystem library sizes are 
11727 shown below. These are the code and data sizes for the acpica.lib 
11728 produced 
11729 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11730 any ACPI driver or OSPM code. The debug version of the code includes the 
11731 debug output trace mechanism and has a much larger code and data size. 
11732 Note 
11733 that these values will vary depending on the efficiency of the compiler 
11734 and 
11735 the compiler options used during generation.
11736
11737   Previous Release:
11738     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11739     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
11740   Current Release:
11741     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11742     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11743
11744
11745
11746 2) iASL Compiler/Disassembler:
11747
11748 Fixed a problem with the resource descriptor generation/support. For the 
11749 ResourceSourceIndex and the ResourceSource fields, both must be present, 
11750 or 
11751 both must be not present - can't have one without the other.
11752
11753 The compiler now returns non-zero from the main procedure if any errors 
11754 have 
11755 occurred during the compilation.
11756
11757
11758 ----------------------------------------
11759 09 March 2005.  Summary of changes for version 20050309:
11760
11761 1) ACPI CA Core Subsystem:
11762
11763 The string-to-buffer implicit conversion code has been modified again 
11764 after 
11765 a change to the ACPI specification.  In order to match the behavior of 
11766 the 
11767 other major ACPI implementation, the target buffer is no longer truncated 
11768 if 
11769 the source string is smaller than an existing target buffer. This change 
11770 requires an update to the ACPI spec, and should eliminate the recent 
11771 AE_AML_BUFFER_LIMIT issues.
11772
11773 The "implicit return" support was rewritten to a new algorithm that 
11774 solves 
11775 the general case. Rather than attempt to determine when a method is about 
11776 to 
11777 exit, the result of every ASL operator is saved momentarily until the 
11778 very 
11779 next ASL operator is executed. Therefore, no matter how the method exits, 
11780 there will always be a saved implicit return value. This feature is only 
11781 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
11782 eliminate 
11783 AE_AML_NO_RETURN_VALUE errors when enabled.
11784
11785 Implemented implicit conversion support for the predicate (operand) of 
11786 the 
11787 If, Else, and While operators. String and Buffer arguments are 
11788 automatically 
11789 converted to Integers.
11790
11791 Changed the string-to-integer conversion behavior to match the new ACPI 
11792 errata: "If no integer object exists, a new integer is created. The ASCII 
11793 string is interpreted as a hexadecimal constant. Each string character is 
11794 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
11795 with the first character as the most significant digit, and ending with 
11796 the 
11797 first non-hexadecimal character or end-of-string." This means that the 
11798 first 
11799 non-hex character terminates the conversion and this is the code that was 
11800 changed.
11801
11802 Fixed a problem where the ObjectType operator would fail (fault) when 
11803 used 
11804 on an Index of a Package which pointed to a null package element. The 
11805 operator now properly returns zero (Uninitialized) in this case.
11806
11807 Fixed a problem where the While operator used excessive memory by not 
11808 properly popping the result stack during execution. There was no memory 
11809 leak 
11810 after execution, however. (Code provided by Valery Podrezov.)
11811
11812 Fixed a problem where references to control methods within Package 
11813 objects 
11814 caused the method to be invoked, instead of producing a reference object 
11815 pointing to the method.
11816
11817 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
11818 to 
11819 improve performance and reduce code size. (Code provided by Alexey 
11820 Starikovskiy.)
11821
11822 Code and Data Size: Current and previous core subsystem library sizes are 
11823 shown below. These are the code and data sizes for the acpica.lib 
11824 produced 
11825 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11826 any ACPI driver or OSPM code. The debug version of the code includes the 
11827 debug output trace mechanism and has a much larger code and data size. 
11828 Note 
11829 that these values will vary depending on the efficiency of the compiler 
11830 and 
11831 the compiler options used during generation.
11832
11833   Previous Release:
11834     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11835     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
11836   Current Release:
11837     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11838     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
11839
11840
11841 2) iASL Compiler/Disassembler:
11842
11843 Fixed a problem with the Return operator with no arguments. Since the AML 
11844 grammar for the byte encoding requires an operand for the Return opcode, 
11845 the 
11846 compiler now emits a Return(Zero) for this case.  An ACPI specification 
11847 update has been written for this case.
11848
11849 For tables other than the DSDT, namepath optimization is automatically 
11850 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
11851 the 
11852 compiler has no knowledge of where, and thus cannot optimize namepaths.
11853
11854 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
11855 inadvertently omitted from the ACPI specification, and will require an 
11856 update to the spec.
11857
11858 The source file scan for ASCII characters is now optional (-a). This 
11859 change 
11860 was made because some vendors place non-ascii characters within comments. 
11861 However, the scan is simply a brute-force byte compare to ensure all 
11862 characters in the file are in the range 0x00 to 0x7F.
11863
11864 Fixed a problem with the CondRefOf operator where the compiler was 
11865 inappropriately checking for the existence of the target. Since the point 
11866 of 
11867 the operator is to check for the existence of the target at run-time, the 
11868 compiler no longer checks for the target existence.
11869
11870 Fixed a problem where errors generated from the internal AML interpreter 
11871 during constant folding were not handled properly, causing a fault.
11872
11873 Fixed a problem with overly aggressive range checking for the Stall 
11874 operator. The valid range (max 255) is now only checked if the operand is 
11875 of 
11876 type Integer. All other operand types cannot be statically checked.
11877
11878 Fixed a problem where control method references within the RefOf, 
11879 DeRefOf, 
11880 and ObjectType operators were not treated properly. They are now treated 
11881 as 
11882 actual references, not method invocations.
11883
11884 Fixed and enhanced the "list namespace" option (-ln). This option was 
11885 broken 
11886 a number of releases ago.
11887
11888 Improved error handling for the Field, IndexField, and BankField 
11889 operators. 
11890 The compiler now cleanly reports and recovers from errors in the field 
11891 component (FieldUnit) list.
11892
11893 Fixed a disassembler problem where the optional ResourceDescriptor fields 
11894 TRS and TTP were not always handled correctly.
11895
11896 Disassembler - Comments in output now use "//" instead of "/*"
11897
11898 ----------------------------------------
11899 28 February 2005.  Summary of changes for version 20050228:
11900
11901 1) ACPI CA Core Subsystem:
11902
11903 Fixed a problem where the result of an Index() operator (an object 
11904 reference) must increment the reference count on the target object for 
11905 the 
11906 life of the object reference.
11907
11908 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
11909 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
11910 WordSpace 
11911 resource descriptors.
11912
11913 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
11914 Space Descriptor" string, indicating interpreter support for the 
11915 descriptors 
11916 above.
11917
11918 Implemented header support for the new ACPI 3.0 FADT flag bits.
11919
11920 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
11921 PM1 
11922 status/enable registers.
11923
11924 Updated header support for the MADT processor local Apic struct and MADT 
11925 platform interrupt source struct for new ACPI 3.0 fields.
11926
11927 Implemented header support for the SRAT and SLIT ACPI tables.
11928
11929 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
11930 flag 
11931 at runtime.
11932
11933 Code and Data Size: Current and previous core subsystem library sizes are 
11934 shown below. These are the code and data sizes for the acpica.lib 
11935 produced 
11936 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11937 any ACPI driver or OSPM code. The debug version of the code includes the 
11938 debug output trace mechanism and has a much larger code and data size. 
11939 Note 
11940 that these values will vary depending on the efficiency of the compiler 
11941 and 
11942 the compiler options used during generation.
11943
11944   Previous Release:
11945     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
11946     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
11947   Current Release:
11948     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11949     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
11950
11951
11952 2) iASL Compiler/Disassembler:
11953
11954 Fixed a problem with the internal 64-bit String-to-integer conversion 
11955 with 
11956 strings less than two characters long.
11957
11958 Fixed a problem with constant folding where the result of the Index() 
11959 operator can not be considered a constant. This means that Index() cannot 
11960 be 
11961 a type3 opcode and this will require an update to the ACPI specification.
11962
11963 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
11964 descriptor fields. These fields were inadvertently ignored and not output 
11965 in 
11966 the disassembly of the resource descriptor.
11967
11968
11969  ----------------------------------------
11970 11 February 2005.  Summary of changes for version 20050211:
11971
11972 1) ACPI CA Core Subsystem:
11973
11974 Implemented ACPI 3.0 support for implicit conversion within the Match() 
11975 operator. MatchObjects can now be of type integer, buffer, or string 
11976 instead 
11977 of just type integer.  Package elements are implicitly converted to the 
11978 type 
11979 of the MatchObject. This change aligns the behavior of Match() with the 
11980 behavior of the other logical operators (LLess(), etc.) It also requires 
11981 an 
11982 errata change to the ACPI specification as this support was intended for 
11983 ACPI 3.0, but was inadvertently omitted.
11984
11985 Fixed a problem with the internal implicit "to buffer" conversion. 
11986 Strings 
11987 that are converted to buffers will cause buffer truncation if the string 
11988 is 
11989 smaller than the target buffer. Integers that are converted to buffers 
11990 will 
11991 not cause buffer truncation, only zero extension (both as per the ACPI 
11992 spec.) The problem was introduced when code was added to truncate the 
11993 buffer, but this should not be performed in all cases, only the string 
11994 case.
11995
11996 Fixed a problem with the Buffer and Package operators where the 
11997 interpreter 
11998 would get confused if two such operators were used as operands to an ASL 
11999 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
12000 stack was not being popped after the execution of these operators, 
12001 resulting 
12002 in an AE_NO_RETURN_VALUE exception.
12003
12004 Fixed a problem with constructs of the form Store(Index(...),...). The 
12005 reference object returned from Index was inadvertently resolved to an 
12006 actual 
12007 value. This problem was introduced in version 20050114 when the behavior 
12008 of 
12009 Store() was modified to restrict the object types that can be used as the 
12010 source operand (to match the ACPI specification.)
12011
12012 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
12013
12014 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
12015
12016 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
12017
12018 Code and Data Size: Current and previous core subsystem library sizes are 
12019 shown below. These are the code and data sizes for the acpica.lib 
12020 produced 
12021 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12022 any ACPI driver or OSPM code. The debug version of the code includes the 
12023 debug output trace mechanism and has a much larger code and data size. 
12024 Note 
12025 that these values will vary depending on the efficiency of the compiler 
12026 and 
12027 the compiler options used during generation.
12028
12029   Previous Release:
12030     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
12031     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
12032   Current Release:
12033     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12034     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12035
12036
12037 2) iASL Compiler/Disassembler:
12038
12039 Fixed a code generation problem in the constant folding optimization code 
12040 where incorrect code was generated if a constant was reduced to a buffer 
12041 object (i.e., a reduced type 5 opcode.)
12042
12043 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
12044 incorrect return type in the internal opcode information table.
12045
12046 ----------------------------------------
12047 25 January 2005.  Summary of changes for version 20050125:
12048
12049 1) ACPI CA Core Subsystem:
12050
12051 Fixed a recently introduced problem with the Global Lock where the 
12052 underlying semaphore was not created.  This problem was introduced in 
12053 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
12054 Acquire() operation on _GL.
12055
12056 The local object cache is now optional, and is disabled by default. Both 
12057 AcpiExec and the iASL compiler enable the cache because they run in user 
12058 mode and this enhances their performance. #define 
12059 ACPI_ENABLE_OBJECT_CACHE 
12060 to enable the local cache.
12061
12062 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
12063 the 
12064 optional "implicit return" support where an error was returned if no 
12065 return 
12066 object was expected, but one was implicitly returned. AE_OK is now 
12067 returned 
12068 in this case and the implicitly returned object is deleted. 
12069 AcpiUtEvaluateObject is only occasionally used, and only to execute 
12070 reserved 
12071 methods such as _STA and _INI where the return type is known up front.
12072
12073 Fixed a few issues with the internal convert-to-integer code. It now 
12074 returns 
12075 an error if an attempt is made to convert a null string, a string of only 
12076 blanks/tabs, or a zero-length buffer. This affects both implicit 
12077 conversion 
12078 and explicit conversion via the ToInteger() operator.
12079
12080 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
12081 is 
12082 not needed for normal operation and should increase the performance of 
12083 the 
12084 entire subsystem. The code remains in case it is needed for debug 
12085 purposes 
12086 again.
12087
12088 The AcpiExec source and makefile are included in the Unix/Linux package 
12089 for 
12090 the first time.
12091
12092 Code and Data Size: Current and previous core subsystem library sizes are 
12093 shown below. These are the code and data sizes for the acpica.lib 
12094 produced 
12095 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12096 any ACPI driver or OSPM code. The debug version of the code includes the 
12097 debug output trace mechanism and has a much larger code and data size. 
12098 Note 
12099 that these values will vary depending on the efficiency of the compiler 
12100 and 
12101 the compiler options used during generation.
12102
12103   Previous Release:
12104     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12105     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12106   Current Release:
12107     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
12108     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
12109
12110 2) iASL Compiler/Disassembler:
12111
12112 Switch/Case support: A warning is now issued if the type of the Switch 
12113 value 
12114 cannot be determined at compile time. For example, Switch(Arg0) will 
12115 generate the warning, and the type is assumed to be an integer. As per 
12116 the 
12117 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
12118 the 
12119 warning.
12120
12121 Switch/Case support: Implemented support for buffer and string objects as 
12122 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
12123 buffers and strings.
12124
12125 Switch/Case support: The emitted code for the LEqual() comparisons now 
12126 uses 
12127 the switch value as the first operand, not the second. The case value is 
12128 now 
12129 the second operand, and this allows the case value to be implicitly 
12130 converted to the type of the switch value, not the other way around.
12131
12132 Switch/Case support: Temporary variables are now emitted immediately 
12133 within 
12134 the control method, not at the global level. This means that there are 
12135 now 
12136 36 temps available per-method, not 36 temps per-module as was the case 
12137 with 
12138 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
12139
12140 ----------------------------------------
12141 14 January 2005.  Summary of changes for version 20050114:
12142
12143 Added 2005 copyright to all module headers.  This affects every module in 
12144 the core subsystem, iASL compiler, and the utilities.
12145
12146 1) ACPI CA Core Subsystem:
12147
12148 Fixed an issue with the String-to-Buffer conversion code where the string 
12149 null terminator was not included in the buffer after conversion, but 
12150 there 
12151 is existing ASL that assumes the string null terminator is included. This 
12152 is 
12153 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
12154 introduced in the previous version when the code was updated to correctly 
12155 set the converted buffer size as per the ACPI specification. The ACPI 
12156 spec 
12157 is ambiguous and will be updated to specify that the null terminator must 
12158 be 
12159 included in the converted buffer. This also affects the ToBuffer() ASL 
12160 operator.
12161
12162 Fixed a problem with the Mid() ASL/AML operator where it did not work 
12163 correctly on Buffer objects. Newly created sub-buffers were not being 
12164 marked 
12165 as initialized.
12166
12167
12168 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
12169 performed on the OemId and OemTableId table header fields.  These fields 
12170 are 
12171 not null terminated, so strncmp is now used instead of strcmp.
12172
12173 Implemented a restriction on the Store() ASL/AML operator to align the 
12174 behavior with the ACPI specification.  Previously, any object could be 
12175 used 
12176 as the source operand.  Now, the only objects that may be used are 
12177 Integers, 
12178 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
12179 necessary, the original behavior can be restored by enabling the 
12180 EnableInterpreterSlack flag.
12181
12182 Enhanced the optional "implicit return" support to allow an implicit 
12183 return 
12184 value from methods that are invoked externally via the AcpiEvaluateObject 
12185 interface.  This enables implicit returns from the _STA and _INI methods, 
12186 for example.
12187
12188 Changed the Revision() ASL/AML operator to return the current version of 
12189 the 
12190 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
12191 returned 
12192 the supported ACPI version (This is the function of the _REV method).
12193
12194 Updated the _REV predefined method to return the currently supported 
12195 version 
12196 of ACPI, now 3.
12197
12198 Implemented batch mode option for the AcpiExec utility (-b).
12199
12200 Code and Data Size: Current and previous core subsystem library sizes are 
12201 shown below. These are the code and data sizes for the acpica.lib 
12202 produced 
12203 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12204 any ACPI driver or OSPM code. The debug version of the code includes the 
12205 debug output trace mechanism and has a much larger code and data size. 
12206 Note 
12207 that these values will vary depending on the efficiency of the compiler 
12208 and 
12209 the compiler options used during generation.
12210
12211   Previous Release:
12212     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12213     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12214   Current Release:
12215     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12216     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12217
12218 ----------------------------------------
12219 10 December 2004.  Summary of changes for version 20041210:
12220
12221 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
12222 ACPI CA core subsystem.
12223
12224 1) ACPI CA Core Subsystem:
12225
12226 Fixed a problem in the ToDecimalString operator where the resulting 
12227 string 
12228 length was incorrectly calculated. The length is now calculated exactly, 
12229 eliminating incorrect AE_STRING_LIMIT exceptions.
12230
12231 Fixed a problem in the ToHexString operator to allow a maximum 200 
12232 character 
12233 string to be produced.
12234
12235 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
12236 copy 
12237 routine where the length of the resulting buffer was not truncated to the 
12238 new size (if the target buffer already existed).
12239
12240 Code and Data Size: Current and previous core subsystem library sizes are 
12241 shown below. These are the code and data sizes for the acpica.lib 
12242 produced 
12243 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12244 any ACPI driver or OSPM code. The debug version of the code includes the 
12245 debug output trace mechanism and has a much larger code and data size. 
12246 Note 
12247 that these values will vary depending on the efficiency of the compiler 
12248 and 
12249 the compiler options used during generation.
12250
12251   Previous Release:
12252     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12253     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12254   Current Release:
12255     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12256     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12257
12258
12259 2) iASL Compiler/Disassembler:
12260
12261 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
12262 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
12263 Includes support in the disassembler.
12264
12265 Implemented support for the new (ACPI 3.0) parameter to the Register 
12266 macro, 
12267 AccessSize.
12268
12269 Fixed a problem where the _HE resource name for the Interrupt macro was 
12270 referencing bit 0 instead of bit 1.
12271
12272 Implemented check for maximum 255 interrupts in the Interrupt macro.
12273
12274 Fixed a problem with the predefined resource descriptor names where 
12275 incorrect AML code was generated if the offset within the resource buffer 
12276 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
12277 but did not update the surrounding package lengths.
12278
12279 Changes to the Dma macro:  All channels within the channel list must be 
12280 in 
12281 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
12282 optional (default is BusMaster).
12283
12284 Implemented check for maximum 7 data bytes for the VendorShort macro.
12285
12286 The ReadWrite parameter is now optional for the Memory32 and similar 
12287 macros.
12288
12289 ----------------------------------------
12290 03 December 2004.  Summary of changes for version 20041203:
12291
12292 1) ACPI CA Core Subsystem:
12293
12294 The low-level field insertion/extraction code (exfldio) has been 
12295 completely 
12296 rewritten to eliminate unnecessary complexity, bugs, and boundary 
12297 conditions.
12298
12299 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
12300 ToDecimalString 
12301 operators where the input operand could be inadvertently deleted if no 
12302 conversion was necessary (e.g., if the input to ToInteger was an Integer 
12303 object.)
12304
12305 Fixed a problem with the ToDecimalString and ToHexString where an 
12306 incorrect 
12307 exception code was returned if the resulting string would be > 200 chars.  
12308 AE_STRING_LIMIT is now returned.
12309
12310 Fixed a problem with the Concatenate operator where AE_OK was always 
12311 returned, even if the operation failed.
12312
12313 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
12314 semaphores to be allocated.
12315
12316 Code and Data Size: Current and previous core subsystem library sizes are 
12317 shown below. These are the code and data sizes for the acpica.lib 
12318 produced 
12319 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12320 any ACPI driver or OSPM code. The debug version of the code includes the 
12321 debug output trace mechanism and has a much larger code and data size. 
12322 Note 
12323 that these values will vary depending on the efficiency of the compiler 
12324 and 
12325 the compiler options used during generation.
12326
12327   Previous Release:
12328     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12329     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12330   Current Release:
12331     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12332     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12333
12334
12335 2) iASL Compiler/Disassembler:
12336
12337 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
12338 recently introduced in 20041119.
12339
12340 Fixed a problem with the ToUUID macro where the upper nybble of each 
12341 buffer 
12342 byte was inadvertently set to zero.
12343
12344 ----------------------------------------
12345 19 November 2004.  Summary of changes for version 20041119:
12346
12347 1) ACPI CA Core Subsystem:
12348
12349 Fixed a problem in the internal ConvertToInteger routine where new 
12350 integers 
12351 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
12352 converts 
12353 buffers and strings to integers.
12354
12355 Implemented support to store a value to an Index() on a String object. 
12356 This 
12357 is an ACPI 2.0 feature that had not yet been implemented.
12358
12359 Implemented new behavior for storing objects to individual package 
12360 elements 
12361 (via the Index() operator). The previous behavior was to invoke the 
12362 implicit 
12363 conversion rules if an object was already present at the index.  The new 
12364 behavior is to simply delete any existing object and directly store the 
12365 new 
12366 object. Although the ACPI specification seems unclear on this subject, 
12367 other 
12368 ACPI implementations behave in this manner.  (This is the root of the 
12369 AE_BAD_HEX_CONSTANT issue.)
12370
12371 Modified the RSDP memory scan mechanism to support the extended checksum 
12372 for 
12373 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
12374 RSDP signature is found with a valid checksum.
12375
12376 Code and Data Size: Current and previous core subsystem library sizes are 
12377 shown below. These are the code and data sizes for the acpica.lib 
12378 produced 
12379 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12380 any ACPI driver or OSPM code. The debug version of the code includes the 
12381 debug output trace mechanism and has a much larger code and data size. 
12382 Note 
12383 that these values will vary depending on the efficiency of the compiler 
12384 and 
12385 the compiler options used during generation.
12386
12387   Previous Release:
12388     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12389     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12390   Current Release:
12391     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12392     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12393
12394
12395 2) iASL Compiler/Disassembler:
12396
12397 Fixed a missing semicolon in the aslcompiler.y file.
12398
12399 ----------------------------------------
12400 05 November 2004.  Summary of changes for version 20041105:
12401
12402 1) ACPI CA Core Subsystem:
12403
12404 Implemented support for FADT revision 2.  This was an interim table 
12405 (between 
12406 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
12407
12408 Implemented optional support to allow uninitialized LocalX and ArgX 
12409 variables in a control method.  The variables are initialized to an 
12410 Integer 
12411 object with a value of zero.  This support is enabled by setting the 
12412 AcpiGbl_EnableInterpreterSlack flag to TRUE.
12413
12414 Implemented support for Integer objects for the SizeOf operator.  Either 
12415
12416 or 8 is returned, depending on the current integer size (32-bit or 64-
12417 bit, 
12418 depending on the parent table revision).
12419
12420 Fixed a problem in the implementation of the SizeOf and ObjectType 
12421 operators 
12422 where the operand was resolved to a value too early, causing incorrect 
12423 return values for some objects.
12424
12425 Fixed some possible memory leaks during exceptional conditions.
12426
12427 Code and Data Size: Current and previous core subsystem library sizes are 
12428 shown below. These are the code and data sizes for the acpica.lib 
12429 produced 
12430 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12431 any ACPI driver or OSPM code. The debug version of the code includes the 
12432 debug output trace mechanism and has a much larger code and data size. 
12433 Note 
12434 that these values will vary depending on the efficiency of the compiler 
12435 and 
12436 the compiler options used during generation.
12437
12438   Previous Release:
12439     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12440     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12441   Current Release:
12442     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12443     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12444
12445
12446 2) iASL Compiler/Disassembler:
12447
12448 Implemented support for all ACPI 3.0 reserved names and methods.
12449
12450 Implemented all ACPI 3.0 grammar elements in the front-end, including 
12451 support for semicolons.
12452
12453 Implemented the ACPI 3.0 Function() and ToUUID() macros
12454
12455 Fixed a problem in the disassembler where a Scope() operator would not be 
12456 emitted properly if the target of the scope was in another table.
12457
12458 ----------------------------------------
12459 15 October 2004.  Summary of changes for version 20041015:
12460
12461 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
12462 evaluation to test/verify the following areas. Other suggestions are 
12463 welcome. This will result in an increase in the frequency of releases and 
12464 the number of bug fixes in the next few months.
12465   - Functional tests for all ASL/AML operators
12466   - All implicit/explicit type conversions
12467   - Bit fields and operation regions
12468   - 64-bit math support and 32-bit-only "truncated" math support
12469   - Exceptional conditions, both compiler and interpreter
12470   - Dynamic object deletion and memory leaks
12471   - ACPI 3.0 support when implemented
12472   - External interfaces to the ACPI subsystem
12473
12474
12475 1) ACPI CA Core Subsystem:
12476
12477 Fixed two alignment issues on 64-bit platforms - within debug statements 
12478 in 
12479 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
12480 Address 
12481 field within the non-aligned ACPI generic address structure.
12482
12483 Fixed a problem in the Increment and Decrement operators where incorrect 
12484 operand resolution could result in the inadvertent modification of the 
12485 original integer when the integer is passed into another method as an 
12486 argument and the arg is then incremented/decremented.
12487
12488 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
12489 bit 
12490 BCD number were truncated during conversion.
12491
12492 Fixed a problem in the ToDecimal operator where the length of the 
12493 resulting 
12494 string could be set incorrectly too long if the input operand was a 
12495 Buffer 
12496 object.
12497
12498 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
12499 (0) 
12500 within a buffer would prematurely terminate a compare between buffer 
12501 objects.
12502
12503 Added a check for string overflow (>200 characters as per the ACPI 
12504 specification) during the Concatenate operator with two string operands.
12505
12506 Code and Data Size: Current and previous core subsystem library sizes are 
12507 shown below. These are the code and data sizes for the acpica.lib 
12508 produced 
12509 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12510 any ACPI driver or OSPM code. The debug version of the code includes the 
12511 debug output trace mechanism and has a much larger code and data size. 
12512 Note 
12513 that these values will vary depending on the efficiency of the compiler 
12514 and 
12515 the compiler options used during generation.
12516
12517   Previous Release:
12518     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12519     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12520   Current Release:
12521     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12522     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12523
12524
12525
12526 2) iASL Compiler/Disassembler:
12527
12528 Allow the use of the ObjectType operator on uninitialized Locals and Args 
12529 (returns 0 as per the ACPI specification).
12530
12531 Fixed a problem where the compiler would fault if there was a syntax 
12532 error 
12533 in the FieldName of all of the various CreateXXXField operators.
12534
12535 Disallow the use of lower case letters within the EISAID macro, as per 
12536 the 
12537 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
12538 Where 
12539 U is an uppercase letter and N is a hex digit.
12540
12541
12542 ----------------------------------------
12543 06 October 2004.  Summary of changes for version 20041006:
12544
12545 1) ACPI CA Core Subsystem:
12546
12547 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
12548 implements a 64-bit timer with 100 nanosecond granularity.
12549
12550 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
12551 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
12552 implement 
12553 the timer with the best clock available. Also, it keeps the core 
12554 subsystem 
12555 out of the clock handling business, since the host OS (usually) performs 
12556 this function.
12557
12558 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
12559 functions use a 64-bit address which is part of the packed ACPI Generic 
12560 Address Structure. Since the structure is non-aligned, the alignment 
12561 macros 
12562 are now used to extract the address to a local variable before use.
12563
12564 Fixed a problem where the ToInteger operator assumed all input strings 
12565 were 
12566 hexadecimal. The operator now handles both decimal strings and hex 
12567 strings 
12568 (prefixed with "0x").
12569
12570 Fixed a problem where the string length in the string object created as a 
12571 result of the internal ConvertToString procedure could be incorrect. This 
12572 potentially affected all implicit conversions and also the 
12573 ToDecimalString 
12574 and ToHexString operators.
12575
12576 Fixed two problems in the ToString operator. If the length parameter was 
12577 zero, an incorrect string object was created and the value of the input 
12578 length parameter was inadvertently changed from zero to Ones.
12579
12580 Fixed a problem where the optional ResourceSource string in the 
12581 ExtendedIRQ 
12582 resource macro was ignored.
12583
12584 Simplified the interfaces to the internal division functions, reducing 
12585 code 
12586 size and complexity.
12587
12588 Code and Data Size: Current and previous core subsystem library sizes are 
12589 shown below. These are the code and data sizes for the acpica.lib 
12590 produced 
12591 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12592 any ACPI driver or OSPM code. The debug version of the code includes the 
12593 debug output trace mechanism and has a much larger code and data size. 
12594 Note 
12595 that these values will vary depending on the efficiency of the compiler 
12596 and 
12597 the compiler options used during generation.
12598
12599   Previous Release:
12600     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12601     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12602   Current Release:
12603     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12604     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12605
12606
12607 2) iASL Compiler/Disassembler:
12608
12609 Implemented support for the ACPI 3.0 Timer operator.
12610
12611 Fixed a problem where the Default() operator was inadvertently ignored in 
12612
12613 Switch/Case block.  This was a problem in the translation of the Switch 
12614 statement to If...Else pairs.
12615
12616 Added support to allow a standalone Return operator, with no parentheses 
12617 (or 
12618 operands).
12619
12620 Fixed a problem with code generation for the ElseIf operator where the 
12621 translated Else...If parse tree was improperly constructed leading to the 
12622 loss of some code.
12623
12624 ----------------------------------------
12625 22 September 2004.  Summary of changes for version 20040922:
12626
12627 1) ACPI CA Core Subsystem:
12628
12629 Fixed a problem with the implementation of the LNot() operator where 
12630 "Ones" 
12631 was not returned for the TRUE case. Changed the code to return Ones 
12632 instead 
12633 of (!Arg) which was usually 1. This change affects iASL constant folding 
12634 for 
12635 this operator also.
12636
12637 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
12638 not 
12639 initialized properly -- Now zero the entire buffer in this case where the 
12640 buffer already exists.
12641
12642 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
12643 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
12644 related code considerably. This will require changes/updates to all OS 
12645 interface layers (OSLs.)
12646
12647 Implemented a new external interface, AcpiInstallExceptionHandler, to 
12648 allow 
12649 a system exception handler to be installed. This handler is invoked upon 
12650 any 
12651 run-time exception that occurs during control method execution.
12652
12653 Added support for the DSDT in AcpiTbFindTable. This allows the 
12654 DataTableRegion() operator to access the local copy of the DSDT.
12655
12656 Code and Data Size: Current and previous core subsystem library sizes are 
12657 shown below. These are the code and data sizes for the acpica.lib 
12658 produced 
12659 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12660 any ACPI driver or OSPM code. The debug version of the code includes the 
12661 debug output trace mechanism and has a much larger code and data size. 
12662 Note 
12663 that these values will vary depending on the efficiency of the compiler 
12664 and 
12665 the compiler options used during generation.
12666
12667   Previous Release:
12668     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12669     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12670   Current Release:
12671     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12672     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12673
12674
12675 2) iASL Compiler/Disassembler:
12676
12677 Fixed a problem with constant folding and the LNot operator. LNot was 
12678 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
12679 This 
12680 could result in the generation of an incorrect folded/reduced constant.
12681
12682 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
12683 longer occurs if such a comment is at the very end of the input ASL 
12684 source 
12685 file.
12686
12687 Implemented the "-r" option to override the Revision in the table header. 
12688 The initial use of this option will be to simplify the evaluation of the 
12689 AML 
12690 interpreter by allowing a single ASL source module to be compiled for 
12691 either 
12692 32-bit or 64-bit integers.
12693
12694
12695 ----------------------------------------
12696 27 August 2004.  Summary of changes for version 20040827:
12697
12698 1) ACPI CA Core Subsystem:
12699
12700 - Implemented support for implicit object conversion in the non-numeric 
12701 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
12702 and 
12703 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
12704 the second operand is implicitly converted on the fly to match the type 
12705 of 
12706 the first operand.  For example:
12707
12708     LEqual (Source1, Source2)
12709
12710 Source1 and Source2 must each evaluate to an integer, a string, or a 
12711 buffer. 
12712 The data type of Source1 dictates the required type of Source2. Source2 
12713 is 
12714 implicitly converted if necessary to match the type of Source1.
12715
12716 - Updated and corrected the behavior of the string conversion support.  
12717 The 
12718 rules concerning conversion of buffers to strings (according to the ACPI 
12719 specification) are as follows:
12720
12721 ToDecimalString - explicit byte-wise conversion of buffer to string of 
12722 decimal values (0-255) separated by commas. ToHexString - explicit byte-
12723 wise 
12724 conversion of buffer to string of hex values (0-FF) separated by commas. 
12725 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
12726 byte 
12727 copy with no transform except NULL terminated. Any other implicit buffer-
12728 to-
12729 string conversion - byte-wise conversion of buffer to string of hex 
12730 values 
12731 (0-FF) separated by spaces.
12732
12733 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
12734
12735 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
12736 was 
12737 one byte too short in the case of a node in the root scope.  This could 
12738 cause a fault during debug output.
12739
12740 - Code and Data Size: Current and previous core subsystem library sizes 
12741 are 
12742 shown below.  These are the code and data sizes for the acpica.lib 
12743 produced 
12744 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12745 any ACPI driver or OSPM code.  The debug version of the code includes the 
12746 debug output trace mechanism and has a much larger code and data size.  
12747 Note 
12748 that these values will vary depending on the efficiency of the compiler 
12749 and 
12750 the compiler options used during generation.
12751
12752   Previous Release:
12753     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
12754     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
12755   Current Release:
12756     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12757     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12758
12759
12760 2) iASL Compiler/Disassembler:
12761
12762 - Fixed a Linux generation error.
12763
12764
12765 ----------------------------------------
12766 16 August 2004.  Summary of changes for version 20040816:
12767
12768 1) ACPI CA Core Subsystem:
12769
12770 Designed and implemented support within the AML interpreter for the so-
12771 called "implicit return".  This support returns the result of the last 
12772 ASL 
12773 operation within a control method, in the absence of an explicit Return() 
12774 operator.  A few machines depend on this behavior, even though it is not 
12775 explicitly supported by the ASL language.  It is optional support that 
12776 can 
12777 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
12778
12779 Removed support for the PCI_Config address space from the internal low 
12780 level 
12781 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
12782 support was not used internally, and would not work correctly anyway 
12783 because 
12784 the PCI bus number and segment number were not supported.  There are 
12785 separate interfaces for PCI configuration space access because of the 
12786 unique 
12787 interface.
12788
12789 Code and Data Size: Current and previous core subsystem library sizes are 
12790 shown below.  These are the code and data sizes for the acpica.lib 
12791 produced 
12792 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12793 any ACPI driver or OSPM code.  The debug version of the code includes the 
12794 debug output trace mechanism and has a much larger code and data size.  
12795 Note 
12796 that these values will vary depending on the efficiency of the compiler 
12797 and 
12798 the compiler options used during generation.
12799
12800   Previous Release:
12801     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12802     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
12803   Current Release:
12804     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
12805     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
12806
12807
12808 2) iASL Compiler/Disassembler:
12809
12810 Fixed a problem where constants in ASL expressions at the root level (not 
12811 within a control method) could be inadvertently truncated during code 
12812 generation.  This problem was introduced in the 20040715 release.
12813
12814
12815 ----------------------------------------
12816 15 July 2004.  Summary of changes for version 20040715:
12817
12818 1) ACPI CA Core Subsystem:
12819
12820 Restructured the internal HW GPE interfaces to pass/track the current 
12821 state 
12822 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
12823 increase flexibility of the interfaces.
12824
12825 Implemented a "lexicographical compare" for String and Buffer objects 
12826 within 
12827 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
12828
12829 as per further clarification to the ACPI specification.  Behavior is 
12830 similar 
12831 to C library "strcmp".
12832
12833 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
12834 external function.  In the 32-bit non-debug case, the stack use has been 
12835 reduced from 168 bytes to 32 bytes.
12836
12837 Deployed a new run-time configuration flag, 
12838 AcpiGbl_EnableInterpreterSlack, 
12839 whose purpose is to allow the AML interpreter to forgive certain bad AML 
12840 constructs.  Default setting is FALSE.
12841
12842 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
12843 IO 
12844 support code.  If enabled, it allows field access to go beyond the end of 
12845
12846 region definition if the field is within the region length rounded up to 
12847 the 
12848 next access width boundary (a common coding error.)
12849
12850 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
12851 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
12852 these 
12853 symbols are lowercased by the latest version of the AcpiSrc tool.
12854
12855 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
12856 rename "Register" to simply "Reg" to prevent certain compilers from 
12857 complaining.
12858
12859 Code and Data Size: Current and previous core subsystem library sizes are 
12860 shown below.  These are the code and data sizes for the acpica.lib 
12861 produced 
12862 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12863 any ACPI driver or OSPM code.  The debug version of the code includes the 
12864 debug output trace mechanism and has a much larger code and data size.  
12865 Note 
12866 that these values will vary depending on the efficiency of the compiler 
12867 and 
12868 the compiler options used during generation.
12869
12870   Previous Release:
12871     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12872     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
12873   Current Release:
12874     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12875     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
12876
12877
12878 2) iASL Compiler/Disassembler:
12879
12880 Implemented full support for Package objects within the Case() operator.  
12881 Note: The Break() operator is currently not supported within Case blocks 
12882 (TermLists) as there is some question about backward compatibility with 
12883 ACPI 
12884 1.0 interpreters.
12885
12886
12887 Fixed a problem where complex terms were not supported properly within 
12888 the 
12889 Switch() operator.
12890
12891 Eliminated extraneous warning for compiler-emitted reserved names of the 
12892 form "_T_x".  (Used in Switch/Case operators.)
12893
12894 Eliminated optimization messages for "_T_x" objects and small constants 
12895 within the DefinitionBlock operator.
12896
12897
12898 ----------------------------------------
12899 15 June 2004.  Summary of changes for version 20040615:
12900
12901 1) ACPI CA Core Subsystem:
12902
12903 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
12904 the 
12905 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
12906 LLessEqual.
12907
12908 All directory names in the entire source package are lower case, as they 
12909 were in earlier releases.
12910
12911 Implemented "Disassemble" command in the AML debugger that will 
12912 disassemble 
12913 a single control method.
12914
12915 Code and Data Size: Current and previous core subsystem library sizes are 
12916 shown below.  These are the code and data sizes for the acpica.lib 
12917 produced 
12918 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12919 any ACPI driver or OSPM code.  The debug version of the code includes the 
12920 debug output trace mechanism and has a much larger code and data size.  
12921 Note 
12922 that these values will vary depending on the efficiency of the compiler 
12923 and 
12924 the compiler options used during generation.
12925
12926   Previous Release:
12927     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
12928     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
12929
12930   Current Release:
12931     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12932     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
12933
12934
12935 2) iASL Compiler/Disassembler:
12936
12937 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
12938 the 
12939 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
12940 LLessEqual.
12941
12942 All directory names in the entire source package are lower case, as they 
12943 were in earlier releases.
12944
12945 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
12946 not found.
12947
12948 Fixed an issue with the Windows version of the compiler where later 
12949 versions 
12950 of Windows place the FADT in the registry under the name "FADT" and not 
12951 "FACP" as earlier versions did.  This applies when using the -g or -
12952 d<nofilename> options.  The compiler now looks for both strings as 
12953 necessary.
12954
12955 Fixed a problem with compiler namepath optimization where a namepath 
12956 within 
12957 the Scope() operator could not be optimized if the namepath was a subpath 
12958 of 
12959 the current scope path.
12960
12961 ----------------------------------------
12962 27 May 2004.  Summary of changes for version 20040527:
12963
12964 1) ACPI CA Core Subsystem:
12965
12966 Completed a new design and implementation for EBDA (Extended BIOS Data 
12967 Area) 
12968 support in the RSDP scan code.  The original code improperly scanned for 
12969 the 
12970 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
12971 method 
12972 is to first obtain the EBDA pointer from within the BIOS data area, then 
12973 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
12974 if 
12975 any machines that place the RSDP in the EBDA, however.
12976
12977 Integrated a fix for a possible fault during evaluation of BufferField 
12978 arguments.  Obsolete code that was causing the problem was removed.
12979
12980 Found and fixed a problem in the Field Support Code where data could be 
12981 corrupted on a bit field read that starts on an aligned boundary but does 
12982 not end on an aligned boundary.  Merged the read/write "datum length" 
12983 calculation code into a common procedure.
12984
12985 Rolled in a couple of changes to the FreeBSD-specific header.
12986
12987
12988 Code and Data Size: Current and previous core subsystem library sizes are 
12989 shown below.  These are the code and data sizes for the acpica.lib 
12990 produced 
12991 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12992 any ACPI driver or OSPM code.  The debug version of the code includes the 
12993 debug output trace mechanism and has a much larger code and data size.  
12994 Note 
12995 that these values will vary depending on the efficiency of the compiler 
12996 and 
12997 the compiler options used during generation.
12998
12999   Previous Release:
13000     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13001     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13002   Current Release:
13003     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13004     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13005
13006
13007 2) iASL Compiler/Disassembler:
13008
13009 Fixed a generation warning produced by some overly-verbose compilers for 
13010
13011 64-bit constant.
13012
13013 ----------------------------------------
13014 14 May 2004.  Summary of changes for version 20040514:
13015
13016 1) ACPI CA Core Subsystem:
13017
13018 Fixed a problem where hardware GPE enable bits sometimes not set properly 
13019 during and after GPE method execution.  Result of 04/27 changes.
13020
13021 Removed extra "clear all GPEs" when sleeping/waking.
13022
13023 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
13024 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
13025 to 
13026 the new AcpiEv* calls as appropriate.
13027
13028 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
13029 is 
13030 now "Microsoft Windows NT" for maximum compatibility.  However this can 
13031 be 
13032 changed by modifying the acconfig.h file.
13033
13034 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
13035 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
13036
13037 Run _INI methods on ThermalZone objects.  This is against the ACPI 
13038 specification, but there is apparently ASL code in the field that has 
13039 these 
13040 _INI methods, and apparently "other" AML interpreters execute them.
13041
13042 Performed a full 16/32/64 bit lint that resulted in some small changes.
13043
13044 Added a sleep simulation command to the AML debugger to test sleep code. 
13045
13046 Code and Data Size: Current and previous core subsystem library sizes are 
13047 shown below.  These are the code and data sizes for the acpica.lib 
13048 produced 
13049 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13050 any ACPI driver or OSPM code.  The debug version of the code includes the 
13051 debug output trace mechanism and has a much larger code and data size.  
13052 Note 
13053 that these values will vary depending on the efficiency of the compiler 
13054 and 
13055 the compiler options used during generation.
13056
13057   Previous Release:
13058     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13059     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13060   Current Release:
13061     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13062     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13063
13064 ----------------------------------------
13065 27 April 2004.  Summary of changes for version 20040427:
13066
13067 1) ACPI CA Core Subsystem:
13068
13069 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
13070 now three types of GPEs:  wake-only, runtime-only, and combination 
13071 wake/run.  
13072 The only GPEs allowed to be combination wake/run are for button-style 
13073 devices such as a control-method power button, control-method sleep 
13074 button, 
13075 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
13076 not 
13077 referenced by any _PRW methods are marked for "runtime" and hardware 
13078 enabled.  Any GPE that is referenced by a _PRW method is marked for 
13079 "wake" 
13080 (and disabled at runtime).  However, at sleep time, only those GPEs that 
13081 have been specifically enabled for wake via the AcpiEnableGpe interface 
13082 will 
13083 actually be hardware enabled.
13084
13085 A new external interface has been added, AcpiSetGpeType(), that is meant 
13086 to 
13087 be used by device drivers to force a GPE to a particular type.  It will 
13088 be 
13089 especially useful for the drivers for the button devices mentioned above.
13090
13091 Completed restructuring of the ACPI CA initialization sequence so that 
13092 default operation region handlers are installed before GPEs are 
13093 initialized 
13094 and the _PRW methods are executed.  This will prevent errors when the 
13095 _PRW 
13096 methods attempt to access system memory or I/O space.
13097
13098 GPE enable/disable no longer reads the GPE enable register.  We now keep 
13099 the 
13100 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
13101 thus no longer depend on the hardware to maintain these bits.
13102
13103 Always clear the wake status and fixed/GPE status bits before sleep, even 
13104 for state S5.
13105
13106 Improved the AML debugger output for displaying the GPE blocks and their 
13107 current status.
13108
13109 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
13110 where 
13111 x = 0,1,2,3,4.
13112
13113 Fixed a problem where the physical address was incorrectly calculated 
13114 when 
13115 the Load() operator was used to directly load from an Operation Region 
13116 (vs. 
13117 loading from a Field object.)  Also added check for minimum table length 
13118 for 
13119 this case.
13120
13121 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
13122 mutex release.
13123
13124 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
13125 consistency with the other fields returned.
13126
13127 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
13128 structure for each GPE in the system, so the size of this structure is 
13129 important.
13130
13131 CPU stack requirement reduction:  Cleaned up the method execution and 
13132 object 
13133 evaluation paths so that now a parameter structure is passed, instead of 
13134 copying the various method parameters over and over again.
13135
13136 In evregion.c:  Correctly exit and reenter the interpreter region if and 
13137 only if dispatching an operation region request to a user-installed 
13138 handler.  
13139 Do not exit/reenter when dispatching to a default handler (e.g., default 
13140 system memory or I/O handlers)
13141
13142
13143 Notes for updating drivers for the new GPE support.  The following 
13144 changes 
13145 must be made to ACPI-related device drivers that are attached to one or 
13146 more 
13147 GPEs: (This information will be added to the ACPI CA Programmer 
13148 Reference.)
13149
13150 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
13151 must 
13152 explicitly call AcpiEnableGpe.
13153 2) There is a new interface called AcpiSetGpeType. This should be called 
13154 before enabling the GPE.  Also, this interface will automatically disable 
13155 the GPE if it is currently enabled.
13156 3) AcpiEnableGpe no longer supports a GPE type flag.
13157
13158 Specific drivers that must be changed:
13159 1) EC driver:
13160     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
13161 AeGpeHandler, NULL);
13162     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
13163     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
13164
13165 2) Button Drivers (Power, Lid, Sleep):
13166 Run _PRW method under parent device
13167 If _PRW exists: /* This is a control-method button */
13168     Extract GPE number and possibly GpeDevice
13169     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
13170     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
13171
13172 For all other devices that have _PRWs, we automatically set the GPE type 
13173 to 
13174 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
13175 This 
13176 must be done on a selective basis, usually requiring some kind of user 
13177 app 
13178 to allow the user to pick the wake devices.
13179
13180
13181 Code and Data Size: Current and previous core subsystem library sizes are 
13182 shown below.  These are the code and data sizes for the acpica.lib 
13183 produced 
13184 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13185 any ACPI driver or OSPM code.  The debug version of the code includes the 
13186 debug output trace mechanism and has a much larger code and data size.  
13187 Note 
13188 that these values will vary depending on the efficiency of the compiler 
13189 and 
13190 the compiler options used during generation.
13191
13192   Previous Release:
13193     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13194     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13195   Current Release:
13196
13197     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13198     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13199
13200
13201
13202 ----------------------------------------
13203 02 April 2004.  Summary of changes for version 20040402:
13204
13205 1) ACPI CA Core Subsystem:
13206
13207 Fixed an interpreter problem where an indirect store through an ArgX 
13208 parameter was incorrectly applying the "implicit conversion rules" during 
13209 the store.  From the ACPI specification: "If the target is a method local 
13210 or 
13211 argument (LocalX or ArgX), no conversion is performed and the result is 
13212 stored directly to the target".  The new behavior is to disable implicit 
13213 conversion during ALL stores to an ArgX.
13214
13215 Changed the behavior of the _PRW method scan to ignore any and all errors 
13216 returned by a given _PRW.  This prevents the scan from aborting from the 
13217 failure of any single _PRW.
13218
13219 Moved the runtime configuration parameters from the global init procedure 
13220 to 
13221 static variables in acglobal.h.  This will allow the host to override the 
13222 default values easily.
13223
13224 Code and Data Size: Current and previous core subsystem library sizes are 
13225 shown below.  These are the code and data sizes for the acpica.lib 
13226 produced 
13227 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13228 any ACPI driver or OSPM code.  The debug version of the code includes the 
13229 debug output trace mechanism and has a much larger code and data size.  
13230 Note 
13231 that these values will vary depending on the efficiency of the compiler 
13232 and 
13233 the compiler options used during generation.
13234
13235   Previous Release:
13236     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13237     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13238   Current Release:
13239     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13240     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13241
13242
13243 2) iASL Compiler/Disassembler:
13244
13245 iASL now fully disassembles SSDTs.  However, External() statements are 
13246 not 
13247 generated automatically for unresolved symbols at this time.  This is a 
13248 planned feature for future implementation.
13249
13250 Fixed a scoping problem in the disassembler that occurs when the type of 
13251 the 
13252 target of a Scope() operator is overridden.  This problem caused an 
13253 incorrectly nested internal namespace to be constructed.
13254
13255 Any warnings or errors that are emitted during disassembly are now 
13256 commented 
13257 out automatically so that the resulting file can be recompiled without 
13258 any 
13259 hand editing.
13260
13261 ----------------------------------------
13262 26 March 2004.  Summary of changes for version 20040326:
13263
13264 1) ACPI CA Core Subsystem:
13265
13266 Implemented support for "wake" GPEs via interaction between GPEs and the 
13267 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
13268 identified as a WAKE GPE and by default will no longer be enabled at 
13269 runtime.  Previously, we were blindly enabling all GPEs with a 
13270 corresponding 
13271 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
13272 We 
13273 believe this has been the cause of thousands of "spurious" GPEs on some 
13274 systems.
13275
13276 This new GPE behavior is can be reverted to the original behavior (enable 
13277 ALL GPEs at runtime) via a runtime flag.
13278
13279 Fixed a problem where aliased control methods could not access objects 
13280 properly.  The proper scope within the namespace was not initialized 
13281 (transferred to the target of the aliased method) before executing the 
13282 target method.
13283
13284 Fixed a potential race condition on internal object deletion on the 
13285 return 
13286 object in AcpiEvaluateObject. 
13287
13288 Integrated a fix for resource descriptors where both _MEM and _MTP were 
13289 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
13290 wide, 0x0F instead of 0x03.)
13291
13292 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
13293 preventing 
13294
13295 fault in some cases.
13296
13297 Updated Notify() values for debug statements in evmisc.c
13298
13299 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
13300
13301 Code and Data Size: Current and previous core subsystem library sizes are 
13302 shown below.  These are the code and data sizes for the acpica.lib 
13303 produced 
13304 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13305 any ACPI driver or OSPM code.  The debug version of the code includes the 
13306 debug output trace mechanism and has a much larger code and data size.  
13307 Note 
13308 that these values will vary depending on the efficiency of the compiler 
13309 and 
13310 the compiler options used during generation.
13311
13312   Previous Release:
13313
13314     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13315     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13316   Current Release:
13317     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13318     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13319
13320 ----------------------------------------
13321 11 March 2004.  Summary of changes for version 20040311:
13322
13323 1) ACPI CA Core Subsystem:
13324
13325 Fixed a problem where errors occurring during the parse phase of control 
13326 method execution did not abort cleanly.  For example, objects created and 
13327 installed in the namespace were not deleted.  This caused all subsequent 
13328 invocations of the method to return the AE_ALREADY_EXISTS exception.
13329
13330 Implemented a mechanism to force a control method to "Serialized" 
13331 execution 
13332 if the method attempts to create namespace objects. (The root of the 
13333 AE_ALREADY_EXISTS problem.)
13334
13335 Implemented support for the predefined _OSI "internal" control method.  
13336 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
13337 and 
13338 "Windows 2001.1", and can be easily upgraded for new strings as 
13339 necessary.  
13340 This feature will allow "other" operating systems to execute the fully 
13341 tested, "Windows" code path through the ASL code
13342
13343 Global Lock Support:  Now allows multiple acquires and releases with any 
13344 internal thread.  Removed concept of "owning thread" for this special 
13345 mutex.
13346
13347 Fixed two functions that were inappropriately declaring large objects on 
13348 the 
13349 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
13350 during 
13351 method execution considerably.
13352
13353 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
13354 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
13355
13356 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
13357 defined on the machine.
13358
13359 Implemented two runtime options:  One to force all control method 
13360 execution 
13361 to "Serialized" to mimic Windows behavior, another to disable _OSI 
13362 support 
13363 if it causes problems on a given machine.
13364
13365 Code and Data Size: Current and previous core subsystem library sizes are 
13366 shown below.  These are the code and data sizes for the acpica.lib 
13367 produced 
13368 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13369 any ACPI driver or OSPM code.  The debug version of the code includes the 
13370 debug output trace mechanism and has a much larger code and data size.  
13371 Note 
13372 that these values will vary depending on the efficiency of the compiler 
13373 and 
13374 the compiler options used during generation.
13375
13376   Previous Release:
13377     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13378     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13379   Current Release:
13380     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13381     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13382
13383 2) iASL Compiler/Disassembler:
13384
13385 Fixed an array size problem for FreeBSD that would cause the compiler to 
13386 fault.
13387
13388 ----------------------------------------
13389 20 February 2004.  Summary of changes for version 20040220:
13390
13391
13392 1) ACPI CA Core Subsystem:
13393
13394 Implemented execution of _SxD methods for Device objects in the 
13395 GetObjectInfo interface.
13396
13397 Fixed calls to _SST method to pass the correct arguments.
13398
13399 Added a call to _SST on wake to restore to "working" state.
13400
13401 Check for End-Of-Buffer failure case in the WalkResources interface.
13402
13403 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
13404 structures to the beginning of the file.
13405
13406 After wake, clear GPE status register(s) before enabling GPEs.
13407
13408 After wake, clear/enable power button.  (Perhaps we should clear/enable 
13409 all 
13410 fixed events upon wake.)
13411
13412 Fixed a couple of possible memory leaks in the Namespace manager.
13413
13414 Integrated latest acnetbsd.h file.
13415
13416 ----------------------------------------
13417 11 February 2004.  Summary of changes for version 20040211:
13418
13419
13420 1) ACPI CA Core Subsystem:
13421
13422 Completed investigation and implementation of the call-by-reference 
13423 mechanism for control method arguments.
13424
13425 Fixed a problem where a store of an object into an indexed package could 
13426 fail if the store occurs within a different method than the method that 
13427 created the package.
13428
13429 Fixed a problem where the ToDecimal operator could return incorrect 
13430 results.
13431
13432 Fixed a problem where the CopyObject operator could fail on some of the 
13433 more 
13434 obscure objects (e.g., Reference objects.)
13435
13436 Improved the output of the Debug object to display buffer, package, and 
13437 index objects.
13438
13439 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
13440 return 
13441 the expected result.
13442
13443 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
13444 ACPI_AML_INTERNAL exception.
13445
13446 Integrated latest version of acfreebsd.h
13447
13448 ----------------------------------------
13449 16 January 2004.  Summary of changes for version 20040116:
13450
13451 The purpose of this release is primarily to update the copyright years in 
13452 each module, thus causing a huge number of diffs.  There are a few small 
13453 functional changes, however.
13454
13455 1) ACPI CA Core Subsystem:
13456
13457 Improved error messages when there is a problem finding one or more of 
13458 the 
13459 required base ACPI tables
13460
13461 Reintroduced the definition of APIC_HEADER in actbl.h
13462
13463 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
13464
13465 Removed extraneous reference to NewObj in dsmthdat.c
13466
13467 2) iASL compiler
13468
13469 Fixed a problem introduced in December that disabled the correct 
13470 disassembly 
13471 of Resource Templates
13472
13473
13474 ----------------------------------------
13475 03 December 2003.  Summary of changes for version 20031203:
13476
13477 1) ACPI CA Core Subsystem:
13478
13479 Changed the initialization of Operation Regions during subsystem
13480 init to perform two entire walks of the ACPI namespace; The first
13481 to initialize the regions themselves, the second to execute the
13482 _REG methods.  This fixed some interdependencies across _REG
13483 methods found on some machines.
13484
13485 Fixed a problem where a Store(Local0, Local1) could simply update
13486 the object reference count, and not create a new copy of the
13487 object if the Local1 is uninitialized.
13488
13489 Implemented support for the _SST reserved method during sleep
13490 transitions.
13491
13492 Implemented support to clear the SLP_TYP and SLP_EN bits when
13493 waking up, this is apparently required by some machines.
13494
13495 When sleeping, clear the wake status only if SleepState is not S5.
13496
13497 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
13498 pointer arithmetic advanced a string pointer too far.
13499
13500 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
13501 could be returned if the requested table has not been loaded.
13502
13503 Within the support for IRQ resources, restructured the handling of
13504 the active and edge/level bits.
13505
13506 Fixed a few problems in AcpiPsxExecute() where memory could be
13507 leaked under certain error conditions.
13508
13509 Improved error messages for the cases where the ACPI mode could
13510 not be entered.
13511
13512 Code and Data Size: Current and previous core subsystem library
13513 sizes are shown below.  These are the code and data sizes for the
13514 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13515 these values do not include any ACPI driver or OSPM code.  The
13516 debug version of the code includes the debug output trace
13517 mechanism and has a much larger code and data size.  Note that
13518 these values will vary depending on the efficiency of the compiler
13519 and the compiler options used during generation.
13520
13521   Previous Release (20031029):
13522     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13523     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13524   Current Release:
13525     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13526     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13527
13528 2) iASL Compiler/Disassembler:
13529
13530 Implemented a fix for the iASL disassembler where a bad index was
13531 generated.  This was most noticeable on 64-bit platforms
13532
13533
13534 ----------------------------------------
13535 29 October 2003.  Summary of changes for version 20031029:
13536
13537 1) ACPI CA Core Subsystem:
13538
13539
13540 Fixed a problem where a level-triggered GPE with an associated
13541 _Lxx control method was incorrectly cleared twice.
13542
13543 Fixed a problem with the Field support code where an access can
13544 occur beyond the end-of-region if the field is non-aligned but
13545 extends to the very end of the parent region (resulted in an
13546 AE_AML_REGION_LIMIT exception.)
13547
13548 Fixed a problem with ACPI Fixed Events where an RT Clock handler
13549 would not get invoked on an RTC event.  The RTC event bitmasks for
13550 the PM1 registers were not being initialized properly.
13551
13552 Implemented support for executing _STA and _INI methods for
13553 Processor objects.  Although this is currently not part of the
13554 ACPI specification, there is existing ASL code that depends on the
13555 init-time execution of these methods.
13556
13557 Implemented and deployed a GetDescriptorName function to decode
13558 the various types of internal descriptors.  Guards against null
13559 descriptors during debug output also.
13560
13561 Implemented and deployed a GetNodeName function to extract the 4-
13562 character namespace node name.  This function simplifies the debug
13563 and error output, as well as guarding against null pointers during
13564 output.
13565
13566 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
13567 simplify the debug and error output of 64-bit integers.  This
13568 macro replaces the HIDWORD and LODWORD macros for dumping these
13569 integers.
13570
13571 Updated the implementation of the Stall() operator to only call
13572 AcpiOsStall(), and also return an error if the operand is larger
13573 than 255.  This preserves the required behavior of not
13574 relinquishing the processor, as would happen if AcpiOsSleep() was
13575 called for "long stalls".
13576
13577 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
13578 initialized are now treated as NOOPs.
13579
13580 Cleaned up a handful of warnings during 64-bit generation.
13581
13582 Fixed a reported error where and incorrect GPE number was passed
13583 to the GPE dispatch handler.  This value is only used for error
13584 output, however.  Used this opportunity to clean up and streamline
13585 the GPE dispatch code.
13586
13587 Code and Data Size: Current and previous core subsystem library
13588 sizes are shown below.  These are the code and data sizes for the
13589 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13590 these values do not include any ACPI driver or OSPM code.  The
13591
13592 debug version of the code includes the debug output trace
13593 mechanism and has a much larger code and data size.  Note that
13594 these values will vary depending on the efficiency of the compiler
13595 and the compiler options used during generation.
13596
13597   Previous Release (20031002):
13598     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13599     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13600   Current Release:
13601     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13602     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13603
13604
13605 2) iASL Compiler/Disassembler:
13606
13607 Updated the iASL compiler to return an error if the operand to the
13608 Stall() operator is larger than 255.
13609
13610
13611 ----------------------------------------
13612 02 October 2003.  Summary of changes for version 20031002:
13613
13614
13615 1) ACPI CA Core Subsystem:
13616
13617 Fixed a problem with Index Fields where the index was not
13618 incremented for fields that require multiple writes to the
13619 index/data registers (Fields that are wider than the data
13620 register.)
13621
13622 Fixed a problem with all Field objects where a write could go
13623 beyond the end-of-field if the field was larger than the access
13624 granularity and therefore required multiple writes to complete the
13625 request.  An extra write beyond the end of the field could happen
13626 inadvertently.
13627
13628 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
13629 would incorrectly be returned if the width of the Data Register
13630 was larger than the specified field access width.
13631
13632 Completed fixes for LoadTable() and Unload() and verified their
13633 operation.  Implemented full support for the "DdbHandle" object
13634 throughout the ACPI CA subsystem.
13635
13636 Implemented full support for the MADT and ECDT tables in the ACPI
13637 CA header files.  Even though these tables are not directly
13638 consumed by ACPI CA, the header definitions are useful for ACPI
13639 device drivers.
13640
13641 Integrated resource descriptor fixes posted to the Linux ACPI
13642 list.  This included checks for minimum descriptor length, and
13643 support for trailing NULL strings within descriptors that have
13644 optional string elements.
13645
13646 Code and Data Size: Current and previous core subsystem library
13647 sizes are shown below.  These are the code and data sizes for the
13648 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13649 these values do not include any ACPI driver or OSPM code.  The
13650 debug version of the code includes the debug output trace
13651 mechanism and has a much larger code and data size.  Note that
13652 these values will vary depending on the efficiency of the compiler
13653 and the compiler options used during generation.
13654
13655   Previous Release (20030918):
13656     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13657     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13658   Current Release:
13659     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13660     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13661
13662
13663 2) iASL Compiler:
13664
13665 Implemented detection of non-ASCII characters within the input
13666 source ASL file.  This catches attempts to compile binary (AML)
13667 files early in the compile, with an informative error message.
13668
13669 Fixed a problem where the disassembler would fault if the output
13670 filename could not be generated or if the output file could not be
13671 opened.
13672
13673 ----------------------------------------
13674 18 September 2003.  Summary of changes for version 20030918:
13675
13676
13677 1) ACPI CA Core Subsystem:
13678
13679 Found and fixed a longstanding problem with the late execution of
13680 the various deferred AML opcodes (such as Operation Regions,
13681 Buffer Fields, Buffers, and Packages).  If the name string
13682 specified for the name of the new object placed the object in a
13683 scope other than the current scope, the initialization/execution
13684 of the opcode failed.  The solution to this problem was to
13685 implement a mechanism where the late execution of such opcodes
13686 does not attempt to lookup/create the name a second time in an
13687 incorrect scope.  This fixes the "region size computed
13688 incorrectly" problem.
13689
13690 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
13691 Global Lock AE_BAD_PARAMETER error.
13692
13693 Fixed several 64-bit issues with prototypes, casting and data
13694 types.
13695
13696 Removed duplicate prototype from acdisasm.h
13697
13698 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
13699
13700 Code and Data Size: Current and previous core subsystem library
13701 sizes are shown below.  These are the code and data sizes for the
13702 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13703 these values do not include any ACPI driver or OSPM code.  The
13704 debug version of the code includes the debug output trace
13705 mechanism and has a much larger code and data size.  Note that
13706 these values will vary depending on the efficiency of the compiler
13707 and the compiler options used during generation.
13708
13709   Previous Release:
13710
13711     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
13712     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
13713   Current Release:
13714     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13715     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13716
13717
13718 2) Linux:
13719
13720 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
13721 correct sleep time in seconds.
13722
13723 ----------------------------------------
13724 14 July 2003.  Summary of changes for version 20030619:
13725
13726 1) ACPI CA Core Subsystem:
13727
13728 Parse SSDTs in order discovered, as opposed to reverse order
13729 (Hrvoje Habjanic)
13730
13731 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
13732 Klausner,
13733    Nate Lawson)
13734
13735
13736 2) Linux:
13737
13738 Dynamically allocate SDT list (suggested by Andi Kleen)
13739
13740 proc function return value cleanups (Andi Kleen)
13741
13742 Correctly handle NMI watchdog during long stalls (Andrew Morton)
13743
13744 Make it so acpismp=force works (reported by Andrew Morton)
13745
13746
13747 ----------------------------------------
13748 19 June 2003.  Summary of changes for version 20030619:
13749
13750 1) ACPI CA Core Subsystem:
13751
13752 Fix To/FromBCD, eliminating the need for an arch-specific #define.
13753
13754 Do not acquire a semaphore in the S5 shutdown path.
13755
13756 Fix ex_digits_needed for 0. (Takayoshi Kochi)
13757
13758 Fix sleep/stall code reversal. (Andi Kleen)
13759
13760 Revert a change having to do with control method calling
13761 semantics.
13762
13763 2) Linux:
13764
13765 acpiphp update (Takayoshi Kochi)
13766
13767 Export acpi_disabled for sonypi (Stelian Pop)
13768
13769 Mention acpismp=force in config help
13770
13771 Re-add acpitable.c and acpismp=force. This improves backwards
13772
13773 compatibility and also cleans up the code to a significant degree.
13774
13775 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
13776
13777 ----------------------------------------
13778 22 May 2003.  Summary of changes for version 20030522:
13779
13780 1) ACPI CA Core Subsystem:
13781
13782 Found and fixed a reported problem where an AE_NOT_FOUND error
13783 occurred occasionally during _BST evaluation.  This turned out to
13784 be an Owner ID allocation issue where a called method did not get
13785 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
13786 ID UINT16 would wraparound so that the ID would be the same as the
13787 caller's and the called method would delete the caller's
13788 namespace.
13789
13790 Implemented extended error reporting for control methods that are
13791 aborted due to a run-time exception.  Output includes the exact
13792 AML instruction that caused the method abort, a dump of the method
13793 locals and arguments at the time of the abort, and a trace of all
13794 nested control method calls.
13795
13796 Modified the interpreter to allow the creation of buffers of zero
13797 length from the AML code. Implemented new code to ensure that no
13798 attempt is made to actually allocate a memory buffer (of length
13799 zero) - instead, a simple buffer object with a NULL buffer pointer
13800 and length zero is created.  A warning is no longer issued when
13801 the AML attempts to create a zero-length buffer.
13802
13803 Implemented a workaround for the "leading asterisk issue" in
13804 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
13805 asterisk is automatically removed if present in any HID, UID, or
13806 CID strings.  The iASL compiler will still flag this asterisk as
13807 an error, however.
13808
13809 Implemented full support for _CID methods that return a package of
13810 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
13811 now additionally returns a device _CID list if present.  This
13812 required a change to the external interface in order to pass an
13813 ACPI_BUFFER object as a parameter since the _CID list is of
13814 variable length.
13815
13816 Fixed a problem with the new AE_SAME_HANDLER exception where
13817 handler initialization code did not know about this exception.
13818
13819 Code and Data Size: Current and previous core subsystem library
13820 sizes are shown below.  These are the code and data sizes for the
13821 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13822 these values do not include any ACPI driver or OSPM code.  The
13823 debug version of the code includes the debug output trace
13824 mechanism and has a much larger code and data size.  Note that
13825 these values will vary depending on the efficiency of the compiler
13826 and the compiler options used during generation.
13827
13828   Previous Release (20030509):
13829     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
13830     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
13831   Current Release:
13832     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
13833     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
13834
13835
13836 2) Linux:
13837
13838 Fixed a bug in which we would reinitialize the ACPI interrupt
13839 after it was already working, thus disabling all ACPI and the IRQs
13840 for any other device sharing the interrupt. (Thanks to Stian
13841 Jordet)
13842
13843 Toshiba driver update (John Belmonte)
13844
13845 Return only 0 or 1 for our interrupt handler status (Andrew
13846 Morton)
13847
13848
13849 3) iASL Compiler:
13850
13851 Fixed a reported problem where multiple (nested) ElseIf()
13852 statements were not handled correctly by the compiler, resulting
13853 in incorrect warnings and incorrect AML code.  This was a problem
13854 in both the ASL parser and the code generator.
13855
13856
13857 4) Documentation:
13858
13859 Added changes to existing interfaces, new exception codes, and new
13860 text concerning reference count object management versus garbage
13861 collection.
13862
13863 ----------------------------------------
13864 09 May 2003.  Summary of changes for version 20030509.
13865
13866
13867 1) ACPI CA Core Subsystem:
13868
13869 Changed the subsystem initialization sequence to hold off
13870 installation of address space handlers until the hardware has been
13871 initialized and the system has entered ACPI mode.  This is because
13872 the installation of space handlers can cause _REG methods to be
13873 run.  Previously, the _REG methods could potentially be run before
13874 ACPI mode was enabled.
13875
13876 Fixed some memory leak issues related to address space handler and
13877 notify handler installation.  There were some problems with the
13878 reference count mechanism caused by the fact that the handler
13879 objects are shared across several namespace objects.
13880
13881 Fixed a reported problem where reference counts within the
13882 namespace were not properly updated when named objects created by
13883 method execution were deleted.
13884
13885 Fixed a reported problem where multiple SSDTs caused a deletion
13886 issue during subsystem termination.  Restructured the table data
13887 structures to simplify the linked lists and the related code.
13888
13889 Fixed a problem where the table ID associated with secondary
13890 tables (SSDTs) was not being propagated into the namespace objects
13891 created by those tables.  This would only present a problem for
13892 tables that are unloaded at run-time, however.
13893
13894 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
13895 type as the length parameter (instead of UINT32).
13896
13897 Solved a long-standing problem where an ALREADY_EXISTS error
13898 appears on various systems.  This problem could happen when there
13899 are multiple PCI_Config operation regions under a single PCI root
13900 bus.  This doesn't happen very frequently, but there are some
13901 systems that do this in the ASL.
13902
13903 Fixed a reported problem where the internal DeleteNode function
13904 was incorrectly handling the case where a namespace node was the
13905 first in the parent's child list, and had additional peers (not
13906 the only child, but first in the list of children.)
13907
13908 Code and Data Size: Current core subsystem library sizes are shown
13909 below.  These are the code and data sizes for the acpica.lib
13910 produced by the Microsoft Visual C++ 6.0 compiler, and these
13911 values do not include any ACPI driver or OSPM code.  The debug
13912 version of the code includes the debug output trace mechanism and
13913 has a much larger code and data size.  Note that these values will
13914 vary depending on the efficiency of the compiler and the compiler
13915 options used during generation.
13916
13917   Previous Release
13918     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
13919     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
13920   Current Release:
13921     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
13922     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
13923
13924
13925 2) Linux:
13926
13927 Allow ":" in OS override string (Ducrot Bruno)
13928
13929 Kobject fix (Greg KH)
13930
13931
13932 3 iASL Compiler/Disassembler:
13933
13934 Fixed a problem in the generation of the C source code files (AML
13935 is emitted in C source statements for BIOS inclusion) where the
13936 Ascii dump that appears within a C comment at the end of each line
13937 could cause a compile time error if the AML sequence happens to
13938 have an open comment or close comment sequence embedded.
13939
13940
13941 ----------------------------------------
13942 24 April 2003.  Summary of changes for version 20030424.
13943
13944
13945 1) ACPI CA Core Subsystem:
13946
13947 Support for big-endian systems has been implemented.  Most of the
13948 support has been invisibly added behind big-endian versions of the
13949 ACPI_MOVE_* macros.
13950
13951 Fixed a problem in AcpiHwDisableGpeBlock() and
13952 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
13953 low level hardware write routine.  The offset parameter was
13954 actually eliminated from the low level read/write routines because
13955 they had become obsolete.
13956
13957 Fixed a problem where a handler object was deleted twice during
13958 the removal of a fixed event handler.
13959
13960
13961 2) Linux:
13962
13963 A fix for SMP systems with link devices was contributed by
13964
13965 Compaq's Dan Zink.
13966
13967 (2.5) Return whether we handled the interrupt in our IRQ handler.
13968 (Linux ISRs no longer return void, so we can propagate the handler
13969 return value from the ACPI CA core back to the OS.)
13970
13971
13972
13973 3) Documentation:
13974
13975 The ACPI CA Programmer Reference has been updated to reflect new
13976 interfaces and changes to existing interfaces.
13977
13978 ----------------------------------------
13979 28 March 2003.  Summary of changes for version 20030328.
13980
13981 1) ACPI CA Core Subsystem:
13982
13983 The GPE Block Device support has been completed.  New interfaces
13984 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
13985 interfaces (enable, disable, clear, getstatus) have been split
13986 into separate interfaces for Fixed Events and General Purpose
13987 Events (GPEs) in order to support GPE Block Devices properly.
13988
13989 Fixed a problem where the error message "Failed to acquire
13990 semaphore" would appear during operations on the embedded
13991 controller (EC).
13992
13993 Code and Data Size: Current core subsystem library sizes are shown
13994 below.  These are the code and data sizes for the acpica.lib
13995 produced by the Microsoft Visual C++ 6.0 compiler, and these
13996 values do not include any ACPI driver or OSPM code.  The debug
13997 version of the code includes the debug output trace mechanism and
13998 has a much larger code and data size.  Note that these values will
13999 vary depending on the efficiency of the compiler and the compiler
14000 options used during generation.
14001
14002   Previous Release
14003     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14004     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14005   Current Release:
14006     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14007     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14008
14009
14010 ----------------------------------------
14011 28 February 2003.  Summary of changes for version 20030228.
14012
14013
14014 1) ACPI CA Core Subsystem:
14015
14016 The GPE handling and dispatch code has been completely overhauled
14017 in preparation for support of GPE Block Devices (ID ACPI0006).
14018 This affects internal data structures and code only; there should
14019 be no differences visible externally.  One new file has been
14020 added, evgpeblk.c
14021
14022 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
14023 fields that are used to determine the GPE block lengths.  The
14024 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
14025 structures are ignored.  This is per the ACPI specification but it
14026 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
14027 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
14028
14029 In the SCI interrupt handler, removed the read of the PM1_CONTROL
14030 register to look at the SCI_EN bit.  On some machines, this read
14031 causes an SMI event and greatly slows down SCI events.  (This may
14032 in fact be the cause of slow battery status response on some
14033 systems.)
14034
14035 Fixed a problem where a store of a NULL string to a package object
14036 could cause the premature deletion of the object.  This was seen
14037 during execution of the battery _BIF method on some systems,
14038 resulting in no battery data being returned.
14039
14040 Added AcpiWalkResources interface to simplify parsing of resource
14041 lists.
14042
14043 Code and Data Size: Current core subsystem library sizes are shown
14044 below.  These are the code and data sizes for the acpica.lib
14045 produced by the Microsoft Visual C++ 6.0 compiler, and these
14046 values do not include any ACPI driver or OSPM code.  The debug
14047 version of the code includes the debug output trace mechanism and
14048 has a much larger code and data size.  Note that these values will
14049 vary depending on the efficiency of the compiler and the compiler
14050 options used during generation.
14051
14052   Previous Release
14053     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14054     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14055   Current Release:
14056     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14057     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14058
14059
14060 2) Linux
14061
14062 S3 fixes (Ole Rohne)
14063
14064 Update ACPI PHP driver with to use new acpi_walk_resource API
14065 (Bjorn Helgaas)
14066
14067 Add S4BIOS support (Pavel Machek)
14068
14069 Map in entire table before performing checksum (John Stultz)
14070
14071 Expand the mem= cmdline to allow the specification of reserved and
14072 ACPI DATA blocks (Pavel Machek)
14073
14074 Never use ACPI on VISWS
14075
14076 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
14077
14078 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
14079 causing us to think that some systems support C2 when they really
14080 don't.
14081
14082 Do not count processor objects for non-present CPUs (Thanks to
14083 Dominik Brodowski)
14084
14085
14086 3) iASL Compiler:
14087
14088 Fixed a problem where ASL include files could not be found and
14089 opened.
14090
14091 Added support for the _PDC reserved name.
14092
14093
14094 ----------------------------------------
14095 22 January 2003.  Summary of changes for version 20030122.
14096
14097
14098 1) ACPI CA Core Subsystem:
14099
14100 Added a check for constructs of the form:  Store (Local0, Local0)
14101 where Local0 is not initialized.  Apparently, some BIOS
14102 programmers believe that this is a NOOP.  Since this store doesn't
14103 do anything anyway, the new prototype behavior will ignore this
14104 error.  This is a case where we can relax the strict checking in
14105 the interpreter in the name of compatibility.
14106
14107
14108 2) Linux
14109
14110 The AcpiSrc Source Conversion Utility has been released with the
14111 Linux package for the first time.  This is the utility that is
14112 used to convert the ACPI CA base source code to the Linux version.
14113
14114 (Both) Handle P_BLK lengths shorter than 6 more gracefully
14115
14116 (Both) Move more headers to include/acpi, and delete an unused
14117 header.
14118
14119 (Both) Move drivers/acpi/include directory to include/acpi
14120
14121 (Both) Boot functions don't use cmdline, so don't pass it around
14122
14123 (Both) Remove include of unused header (Adrian Bunk)
14124
14125 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
14126 the
14127 former now also includes the latter, acpiphp.h only needs the one,
14128 now.
14129
14130 (2.5) Make it possible to select method of bios restoring after S3
14131 resume. [=> no more ugly ifdefs] (Pavel Machek)
14132
14133 (2.5) Make proc write interfaces work (Pavel Machek)
14134
14135 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
14136
14137 (2.5) Break out ACPI Perf code into its own module, under cpufreq
14138 (Dominik Brodowski)
14139
14140 (2.4) S4BIOS support (Ducrot Bruno)
14141
14142 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
14143 Visinoni)
14144
14145
14146 3) iASL Compiler:
14147
14148 Added support to disassemble SSDT and PSDTs.
14149
14150 Implemented support to obtain SSDTs from the Windows registry if
14151 available.
14152
14153
14154 ----------------------------------------
14155 09 January 2003.  Summary of changes for version 20030109.
14156
14157 1) ACPI CA Core Subsystem:
14158
14159 Changed the behavior of the internal Buffer-to-String conversion
14160 function.  The current ACPI specification states that the contents
14161 of the buffer are "converted to a string of two-character
14162 hexadecimal numbers, each separated by a space".  Unfortunately,
14163 this definition is not backwards compatible with existing ACPI 1.0
14164 implementations (although the behavior was not defined in the ACPI
14165 1.0 specification).  The new behavior simply copies data from the
14166 buffer to the string until a null character is found or the end of
14167 the buffer is reached.  The new String object is always null
14168 terminated.  This problem was seen during the generation of _BIF
14169 battery data where incorrect strings were returned for battery
14170 type, etc.  This will also require an errata to the ACPI
14171 specification.
14172
14173 Renamed all instances of NATIVE_UINT and NATIVE_INT to
14174 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
14175
14176 Copyright in all module headers (both Linux and non-Linux) has be
14177 updated to 2003.
14178
14179 Code and Data Size: Current core subsystem library sizes are shown
14180 below.  These are the code and data sizes for the acpica.lib
14181 produced by the Microsoft Visual C++ 6.0 compiler, and these
14182 values do not include any ACPI driver or OSPM code.  The debug
14183 version of the code includes the debug output trace mechanism and
14184 has a much larger code and data size.  Note that these values will
14185 vary depending on the efficiency of the compiler and the compiler
14186 options used during generation.
14187
14188   Previous Release
14189     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14190     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14191   Current Release:
14192     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14193     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14194
14195
14196 2) Linux
14197
14198 Fixed an oops on module insertion/removal (Matthew Tippett)
14199
14200 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
14201
14202 (2.5) Replace pr_debug (Randy Dunlap)
14203
14204 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
14205
14206 (Both) Eliminate spawning of thread from timer callback, in favor
14207 of schedule_work()
14208
14209 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
14210
14211 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
14212
14213 (Both) Add missing statics to button.c (Pavel Machek)
14214
14215 Several changes have been made to the source code translation
14216 utility that generates the Linux Code in order to make the code
14217 more "Linux-like":
14218
14219 All typedefs on structs and unions have been removed in keeping
14220 with the Linux coding style.
14221
14222 Removed the non-Linux SourceSafe module revision number from each
14223 module header.
14224
14225 Completed major overhaul of symbols to be lowercased for linux.
14226 Doubled the number of symbols that are lowercased.
14227
14228 Fixed a problem where identifiers within procedure headers and
14229 within quotes were not fully lower cased (they were left with a
14230 starting capital.)
14231
14232 Some C macros whose only purpose is to allow the generation of 16-
14233 bit code are now completely removed in the Linux code, increasing
14234 readability and maintainability.
14235
14236 ----------------------------------------
14237
14238 12 December 2002.  Summary of changes for version 20021212.
14239
14240
14241 1) ACPI CA Core Subsystem:
14242
14243 Fixed a problem where the creation of a zero-length AML Buffer
14244 would cause a fault.
14245
14246 Fixed a problem where a Buffer object that pointed to a static AML
14247 buffer (in an ACPI table) could inadvertently be deleted, causing
14248 memory corruption.
14249
14250 Fixed a problem where a user buffer (passed in to the external
14251 ACPI CA interfaces) could be overwritten if the buffer was too
14252 small to complete the operation, causing memory corruption.
14253
14254 Fixed a problem in the Buffer-to-String conversion code where a
14255 string of length one was always returned, regardless of the size
14256 of the input Buffer object.
14257
14258 Removed the NATIVE_CHAR data type across the entire source due to
14259 lack of need and lack of consistent use.
14260
14261 Code and Data Size: Current core subsystem library sizes are shown
14262 below.  These are the code and data sizes for the acpica.lib
14263 produced by the Microsoft Visual C++ 6.0 compiler, and these
14264 values do not include any ACPI driver or OSPM code.  The debug
14265 version of the code includes the debug output trace mechanism and
14266 has a much larger code and data size.  Note that these values will
14267 vary depending on the efficiency of the compiler and the compiler
14268 options used during generation.
14269
14270   Previous Release
14271     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14272     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14273   Current Release:
14274     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14275     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14276
14277
14278 ----------------------------------------
14279 05 December 2002.  Summary of changes for version 20021205.
14280
14281 1) ACPI CA Core Subsystem:
14282
14283 Fixed a problem where a store to a String or Buffer object could
14284 cause corruption of the DSDT if the object type being stored was
14285 the same as the target object type and the length of the object
14286 being stored was equal to or smaller than the original (existing)
14287 target object.  This was seen to cause corruption of battery _BIF
14288 buffers if the _BIF method modified the buffer on the fly.
14289
14290 Fixed a problem where an internal error was generated if a control
14291 method invocation was used in an OperationRegion, Buffer, or
14292 Package declaration.  This was caused by the deferred parsing of
14293 the control method and thus the deferred creation of the internal
14294 method object.  The solution to this problem was to create the
14295 internal method object at the moment the method is encountered in
14296 the first pass - so that subsequent references to the method will
14297 able to obtain the required parameter count and thus properly
14298 parse the method invocation.  This problem presented itself as an
14299 AE_AML_INTERNAL during the pass 1 parse phase during table load.
14300
14301 Fixed a problem where the internal String object copy routine did
14302 not always allocate sufficient memory for the target String object
14303 and caused memory corruption.  This problem was seen to cause
14304 "Allocation already present in list!" errors as memory allocation
14305 became corrupted.
14306
14307 Implemented a new function for the evaluation of namespace objects
14308 that allows the specification of the allowable return object
14309 types.  This simplifies a lot of code that checks for a return
14310 object of one or more specific objects returned from the
14311 evaluation (such as _STA, etc.)  This may become and external
14312 function if it would be useful to ACPI-related drivers.
14313
14314 Completed another round of prefixing #defines with "ACPI_" for
14315 clarity.
14316
14317 Completed additional code restructuring to allow more modular
14318 linking for iASL compiler and AcpiExec.  Several files were split
14319 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
14320
14321 Implemented an abort mechanism to terminate an executing control
14322 method via the AML debugger.  This feature is useful for debugging
14323 control methods that depend (wait) for specific hardware
14324 responses.
14325
14326 Code and Data Size: Current core subsystem library sizes are shown
14327 below.  These are the code and data sizes for the acpica.lib
14328 produced by the Microsoft Visual C++ 6.0 compiler, and these
14329 values do not include any ACPI driver or OSPM code.  The debug
14330 version of the code includes the debug output trace mechanism and
14331 has a much larger code and data size.  Note that these values will
14332 vary depending on the efficiency of the compiler and the compiler
14333 options used during generation.
14334
14335   Previous Release
14336     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14337     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14338   Current Release:
14339     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14340     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14341
14342
14343 2) iASL Compiler/Disassembler
14344
14345 Fixed a compiler code generation problem for "Interrupt" Resource
14346 Descriptors.  If specified in the ASL, the optional "Resource
14347 Source Index" and "Resource Source" fields were not inserted into
14348 the correct location within the AML resource descriptor, creating
14349 an invalid descriptor.
14350
14351 Fixed a disassembler problem for "Interrupt" resource descriptors.
14352 The optional "Resource Source Index" and "Resource Source" fields
14353 were ignored.
14354
14355
14356 ----------------------------------------
14357 22 November 2002.  Summary of changes for version 20021122.
14358
14359
14360 1) ACPI CA Core Subsystem:
14361
14362 Fixed a reported problem where an object stored to a Method Local
14363 or Arg was not copied to a new object during the store - the
14364 object pointer was simply copied to the Local/Arg.  This caused
14365 all subsequent operations on the Local/Arg to also affect the
14366 original source of the store operation.
14367
14368 Fixed a problem where a store operation to a Method Local or Arg
14369 was not completed properly if the Local/Arg contained a reference
14370 (from RefOf) to a named field.  The general-purpose store-to-
14371 namespace-node code is now used so that this case is handled
14372 automatically.
14373
14374 Fixed a problem where the internal object copy routine would cause
14375 a protection fault if the object being copied was a Package and
14376 contained either 1) a NULL package element or 2) a nested sub-
14377 package.
14378
14379 Fixed a problem with the GPE initialization that resulted from an
14380 ambiguity in the ACPI specification.  One section of the
14381 specification states that both the address and length of the GPE
14382 block must be zero if the block is not supported.  Another section
14383 implies that only the address need be zero if the block is not
14384 supported.  The code has been changed so that both the address and
14385 the length must be non-zero to indicate a valid GPE block (i.e.,
14386 if either the address or the length is zero, the GPE block is
14387 invalid.)
14388
14389 Code and Data Size: Current core subsystem library sizes are shown
14390 below.  These are the code and data sizes for the acpica.lib
14391 produced by the Microsoft Visual C++ 6.0 compiler, and these
14392 values do not include any ACPI driver or OSPM code.  The debug
14393 version of the code includes the debug output trace mechanism and
14394 has a much larger code and data size.  Note that these values will
14395 vary depending on the efficiency of the compiler and the compiler
14396 options used during generation.
14397
14398   Previous Release
14399     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14400     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14401   Current Release:
14402     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14403     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14404
14405
14406 2) Linux
14407
14408 Cleaned up EC driver. Exported an external EC read/write
14409 interface. By going through this, other drivers (most notably
14410 sonypi) will be able to serialize access to the EC.
14411
14412
14413 3) iASL Compiler/Disassembler
14414
14415 Implemented support to optionally generate include files for both
14416 ASM and C (the -i switch).  This simplifies BIOS development by
14417 automatically creating include files that contain external
14418 declarations for the symbols that are created within the
14419
14420 (optionally generated) ASM and C AML source files.
14421
14422
14423 ----------------------------------------
14424 15 November 2002.  Summary of changes for version 20021115.
14425
14426 1) ACPI CA Core Subsystem:
14427
14428 Fixed a memory leak problem where an error during resolution of
14429
14430 method arguments during a method invocation from another method
14431 failed to cleanup properly by deleting all successfully resolved
14432 argument objects.
14433
14434 Fixed a problem where the target of the Index() operator was not
14435 correctly constructed if the source object was a package.  This
14436 problem has not been detected because the use of a target operand
14437 with Index() is very rare.
14438
14439 Fixed a problem with the Index() operator where an attempt was
14440 made to delete the operand objects twice.
14441
14442 Fixed a problem where an attempt was made to delete an operand
14443 twice during execution of the CondRefOf() operator if the target
14444 did not exist.
14445
14446 Implemented the first of perhaps several internal create object
14447 functions that create and initialize a specific object type.  This
14448 consolidates duplicated code wherever the object is created, thus
14449 shrinking the size of the subsystem.
14450
14451 Implemented improved debug/error messages for errors that occur
14452 during nested method invocations.  All executing method pathnames
14453 are displayed (with the error) as the call stack is unwound - thus
14454 simplifying debug.
14455
14456 Fixed a problem introduced in the 10/02 release that caused
14457 premature deletion of a buffer object if a buffer was used as an
14458 ASL operand where an integer operand is required (Thus causing an
14459 implicit object conversion from Buffer to Integer.)  The change in
14460 the 10/02 release was attempting to fix a memory leak (albeit
14461 incorrectly.)
14462
14463 Code and Data Size: Current core subsystem library sizes are shown
14464 below.  These are the code and data sizes for the acpica.lib
14465 produced by the Microsoft Visual C++ 6.0 compiler, and these
14466 values do not include any ACPI driver or OSPM code.  The debug
14467 version of the code includes the debug output trace mechanism and
14468 has a much larger code and data size.  Note that these values will
14469 vary depending on the efficiency of the compiler and the compiler
14470 options used during generation.
14471
14472   Previous Release
14473     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14474     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14475   Current Release:
14476     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14477     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14478
14479
14480 2) Linux
14481
14482 Changed the implementation of the ACPI semaphores to use down()
14483 instead of down_interruptable().  It is important that the
14484 execution of ACPI control methods not be interrupted by signals.
14485 Methods must run to completion, or the system may be left in an
14486 unknown/unstable state.
14487
14488 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
14489 (Shawn Starr)
14490
14491
14492 3) iASL Compiler/Disassembler
14493
14494
14495 Changed the default location of output files.  All output files
14496 are now placed in the current directory by default instead of in
14497 the directory of the source file.  This change may affect some
14498 existing makefiles, but it brings the behavior of the compiler in
14499 line with other similar tools.  The location of the output files
14500 can be overridden with the -p command line switch.
14501
14502
14503 ----------------------------------------
14504 11 November 2002.  Summary of changes for version 20021111.
14505
14506
14507 0) ACPI Specification 2.0B is released and is now available at:
14508 http://www.acpi.info/index.html
14509
14510
14511 1) ACPI CA Core Subsystem:
14512
14513 Implemented support for the ACPI 2.0 SMBus Operation Regions.
14514 This includes the early detection and handoff of the request to
14515 the SMBus region handler (avoiding all of the complex field
14516 support code), and support for the bidirectional return packet
14517 from an SMBus write operation.  This paves the way for the
14518 development of SMBus drivers in each host operating system.
14519
14520 Fixed a problem where the semaphore WAIT_FOREVER constant was
14521 defined as 32 bits, but must be 16 bits according to the ACPI
14522 specification.  This had the side effect of causing ASL
14523 Mutex/Event timeouts even though the ASL code requested a wait
14524 forever.  Changed all internal references to the ACPI timeout
14525 parameter to 16 bits to prevent future problems.  Changed the name
14526 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
14527
14528 Code and Data Size: Current core subsystem library sizes are shown
14529 below.  These are the code and data sizes for the acpica.lib
14530 produced by the Microsoft Visual C++ 6.0 compiler, and these
14531 values do not include any ACPI driver or OSPM code.  The debug
14532 version of the code includes the debug output trace mechanism and
14533 has a much larger code and data size.  Note that these values will
14534 vary depending on the efficiency of the compiler and the compiler
14535 options used during generation.
14536
14537   Previous Release
14538     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14539     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14540   Current Release:
14541     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14542     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14543
14544
14545 2) Linux
14546
14547 Module loading/unloading fixes (John Cagle)
14548
14549
14550 3) iASL Compiler/Disassembler
14551
14552 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
14553
14554 Implemented support for the disassembly of all SMBus protocol
14555 keywords (SMBQuick, SMBWord, etc.)
14556
14557 ----------------------------------------
14558 01 November 2002.  Summary of changes for version 20021101.
14559
14560
14561 1) ACPI CA Core Subsystem:
14562
14563 Fixed a problem where platforms that have a GPE1 block but no GPE0
14564 block were not handled correctly.  This resulted in a "GPE
14565 overlap" error message.  GPE0 is no longer required.
14566
14567 Removed code added in the previous release that inserted nodes
14568 into the namespace in alphabetical order.  This caused some side-
14569 effects on various machines.  The root cause of the problem is
14570 still under investigation since in theory, the internal ordering
14571 of the namespace nodes should not matter.
14572
14573
14574 Enhanced error reporting for the case where a named object is not
14575 found during control method execution.  The full ACPI namepath
14576 (name reference) of the object that was not found is displayed in
14577 this case.
14578
14579 Note: as a result of the overhaul of the namespace object types in
14580 the previous release, the namespace nodes for the predefined
14581 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
14582 instead of ACPI_TYPE_ANY.  This simplifies the namespace
14583 management code but may affect code that walks the namespace tree
14584 looking for specific object types.
14585
14586 Code and Data Size: Current core subsystem library sizes are shown
14587 below.  These are the code and data sizes for the acpica.lib
14588 produced by the Microsoft Visual C++ 6.0 compiler, and these
14589 values do not include any ACPI driver or OSPM code.  The debug
14590 version of the code includes the debug output trace mechanism and
14591 has a much larger code and data size.  Note that these values will
14592 vary depending on the efficiency of the compiler and the compiler
14593 options used during generation.
14594
14595   Previous Release
14596     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14597     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14598   Current Release:
14599     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14600     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14601
14602
14603 2) Linux
14604
14605 Fixed a problem introduced in the previous release where the
14606 Processor and Thermal objects were not recognized and installed in
14607 /proc.  This was related to the scope type change described above.
14608
14609
14610 3) iASL Compiler/Disassembler
14611
14612 Implemented the -g option to get all of the required ACPI tables
14613 from the registry and save them to files (Windows version of the
14614 compiler only.)  The required tables are the FADT, FACS, and DSDT.
14615
14616 Added ACPI table checksum validation during table disassembly in
14617 order to catch corrupted tables.
14618
14619
14620 ----------------------------------------
14621 22 October 2002.  Summary of changes for version 20021022.
14622
14623 1) ACPI CA Core Subsystem:
14624
14625 Implemented a restriction on the Scope operator that the target
14626 must already exist in the namespace at the time the operator is
14627 encountered (during table load or method execution).  In other
14628 words, forward references are not allowed and Scope() cannot
14629 create a new object. This changes the previous behavior where the
14630 interpreter would create the name if not found.  This new behavior
14631 correctly enables the search-to-root algorithm during namespace
14632 lookup of the target name.  Because of this upsearch, this fixes
14633 the known Compaq _SB_.OKEC problem and makes both the AML
14634 interpreter and iASL compiler compatible with other ACPI
14635 implementations.
14636
14637 Completed a major overhaul of the internal ACPI object types for
14638 the ACPI Namespace and the associated operand objects.  Many of
14639 these types had become obsolete with the introduction of the two-
14640 pass namespace load.  This cleanup simplifies the code and makes
14641 the entire namespace load mechanism much clearer and easier to
14642 understand.
14643
14644 Improved debug output for tracking scope opening/closing to help
14645 diagnose scoping issues.  The old scope name as well as the new
14646 scope name are displayed.  Also improved error messages for
14647 problems with ASL Mutex objects and error messages for GPE
14648 problems.
14649
14650 Cleaned up the namespace dump code, removed obsolete code.
14651
14652 All string output (for all namespace/object dumps) now uses the
14653 common ACPI string output procedure which handles escapes properly
14654 and does not emit non-printable characters.
14655
14656 Fixed some issues with constants in the 64-bit version of the
14657 local C library (utclib.c)
14658
14659
14660 2) Linux
14661
14662 EC Driver:  No longer attempts to acquire the Global Lock at
14663 interrupt level.
14664
14665
14666 3) iASL Compiler/Disassembler
14667
14668 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
14669 2 opcodes outside of a control method.  This means that the
14670 "executable" operators (versus the "namespace" operators) cannot
14671 be used at the table level; they can only be used within a control
14672 method.
14673
14674 Implemented the restriction on the Scope() operator where the
14675 target must already exist in the namespace at the time the
14676 operator is encountered (during ASL compilation). In other words,
14677 forward references are not allowed and Scope() cannot create a new
14678 object.  This makes the iASL compiler compatible with other ACPI
14679 implementations and makes the Scope() implementation adhere to the
14680 ACPI specification.
14681
14682 Fixed a problem where namepath optimization for the Alias operator
14683 was optimizing the wrong path (of the two namepaths.)  This caused
14684 a "Missing alias link" error message.
14685
14686 Fixed a problem where an "unknown reserved name" warning could be
14687 incorrectly generated for names like "_SB" when the trailing
14688 underscore is not used in the original ASL.
14689
14690 Fixed a problem where the reserved name check did not handle
14691 NamePaths with multiple NameSegs correctly.  The first nameseg of
14692 the NamePath was examined instead of the last NameSeg.
14693
14694
14695 ----------------------------------------
14696
14697 02 October 2002.  Summary of changes for this release.
14698
14699
14700 1) ACPI CA Core Subsystem version 20021002:
14701
14702 Fixed a problem where a store/copy of a string to an existing
14703 string did not always set the string length properly in the String
14704 object.
14705
14706 Fixed a reported problem with the ToString operator where the
14707 behavior was identical to the ToHexString operator instead of just
14708 simply converting a raw buffer to a string data type.
14709
14710 Fixed a problem where CopyObject and the other "explicit"
14711 conversion operators were not updating the internal namespace node
14712 type as part of the store operation.
14713
14714 Fixed a memory leak during implicit source operand conversion
14715 where the original object was not deleted if it was converted to a
14716 new object of a different type.
14717
14718 Enhanced error messages for all problems associated with namespace
14719 lookups.  Common procedure generates and prints the lookup name as
14720 well as the formatted status.
14721
14722 Completed implementation of a new design for the Alias support
14723 within the namespace.  The existing design did not handle the case
14724 where a new object was assigned to one of the two names due to the
14725 use of an explicit conversion operator, resulting in the two names
14726 pointing to two different objects.  The new design simply points
14727 the Alias name to the original name node - not to the object.
14728 This results in a level of indirection that must be handled in the
14729 name resolution mechanism.
14730
14731 Code and Data Size: Current core subsystem library sizes are shown
14732 below.  These are the code and data sizes for the acpica.lib
14733 produced by the Microsoft Visual C++ 6.0 compiler, and these
14734 values do not include any ACPI driver or OSPM code.  The debug
14735 version of the code includes the debug output trace mechanism and
14736 has a larger code and data size.  Note that these values will vary
14737 depending on the efficiency of the compiler and the compiler
14738 options used during generation.
14739
14740   Previous Release
14741     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
14742     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
14743   Current Release:
14744     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14745     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14746
14747
14748 2) Linux
14749
14750 Initialize thermal driver's timer before it is used. (Knut
14751 Neumann)
14752
14753 Allow handling negative celsius values. (Kochi Takayoshi)
14754
14755 Fix thermal management and make trip points. R/W (Pavel Machek)
14756
14757 Fix /proc/acpi/sleep. (P. Christeas)
14758
14759 IA64 fixes. (David Mosberger)
14760
14761 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
14762
14763 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
14764 Brodowski)
14765
14766
14767 3) iASL Compiler/Disassembler
14768
14769 Clarified some warning/error messages.
14770
14771
14772 ----------------------------------------
14773 18 September 2002.  Summary of changes for this release.
14774
14775
14776 1) ACPI CA Core Subsystem version 20020918:
14777
14778 Fixed a reported problem with reference chaining (via the Index()
14779 and RefOf() operators) in the ObjectType() and SizeOf() operators.
14780 The definition of these operators includes the dereferencing of
14781 all chained references to return information on the base object.
14782
14783 Fixed a problem with stores to indexed package elements - the
14784 existing code would not complete the store if an "implicit
14785 conversion" was not performed.  In other words, if the existing
14786 object (package element) was to be replaced completely, the code
14787 didn't handle this case.
14788
14789 Relaxed typechecking on the ASL "Scope" operator to allow the
14790 target name to refer to an object of type Integer, String, or
14791 Buffer, in addition to the scoping object types (Device,
14792 predefined Scopes, Processor, PowerResource, and ThermalZone.)
14793 This allows existing AML code that has workarounds for a bug in
14794 Windows to function properly.  A warning is issued, however.  This
14795 affects both the AML interpreter and the iASL compiler. Below is
14796 an example of this type of ASL code:
14797
14798       Name(DEB,0x00)
14799       Scope(DEB)
14800       {
14801
14802 Fixed some reported problems with 64-bit integer support in the
14803 local implementation of C library functions (clib.c)
14804
14805
14806 2) Linux
14807
14808 Use ACPI fix map region instead of IOAPIC region, since it is
14809 undefined in non-SMP.
14810
14811 Ensure that the SCI has the proper polarity and trigger, even on
14812 systems that do not have an interrupt override entry in the MADT.
14813
14814 2.5 big driver reorganization (Pat Mochel)
14815
14816 Use early table mapping code from acpitable.c (Andi Kleen)
14817
14818 New blacklist entries (Andi Kleen)
14819
14820 Blacklist improvements. Split blacklist code out into a separate
14821 file. Move checking the blacklist to very early. Previously, we
14822 would use ACPI tables, and then halfway through init, check the
14823 blacklist -- too late. Now, it's early enough to completely fall-
14824 back to non-ACPI.
14825
14826
14827 3) iASL Compiler/Disassembler version 20020918:
14828
14829 Fixed a problem where the typechecking code didn't know that an
14830 alias could point to a method.  In other words, aliases were not
14831 being dereferenced during typechecking.
14832
14833
14834 ----------------------------------------
14835 29 August 2002.  Summary of changes for this release.
14836
14837 1) ACPI CA Core Subsystem Version 20020829:
14838
14839 If the target of a Scope() operator already exists, it must be an
14840 object type that actually opens a scope -- such as a Device,
14841 Method, Scope, etc.  This is a fatal runtime error.  Similar error
14842 check has been added to the iASL compiler also.
14843
14844 Tightened up the namespace load to disallow multiple names in the
14845 same scope.  This previously was allowed if both objects were of
14846 the same type.  (i.e., a lookup was the same as entering a new
14847 name).
14848
14849
14850 2) Linux
14851
14852 Ensure that the ACPI interrupt has the proper trigger and
14853 polarity.
14854
14855 local_irq_disable is extraneous. (Matthew Wilcox)
14856
14857 Make "acpi=off" actually do what it says, and not use the ACPI
14858 interpreter *or* the tables.
14859
14860 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
14861 Takayoshi)
14862
14863
14864 3) iASL Compiler/Disassembler  Version 20020829:
14865
14866 Implemented namepath optimization for name declarations.  For
14867 example, a declaration like "Method (\_SB_.ABCD)" would get
14868 optimized to "Method (ABCD)" if the declaration is within the
14869 \_SB_ scope.  This optimization is in addition to the named
14870 reference path optimization first released in the previous
14871 version. This would seem to complete all possible optimizations
14872 for namepaths within the ASL/AML.
14873
14874 If the target of a Scope() operator already exists, it must be an
14875 object type that actually opens a scope -- such as a Device,
14876 Method, Scope, etc.
14877
14878 Implemented a check and warning for unreachable code in the same
14879 block below a Return() statement.
14880
14881 Fixed a problem where the listing file was not generated if the
14882 compiler aborted if the maximum error count was exceeded (200).
14883
14884 Fixed a problem where the typechecking of method return values was
14885 broken.  This includes the check for a return value when the
14886 method is invoked as a TermArg (a return value is expected.)
14887
14888 Fixed a reported problem where EOF conditions during a quoted
14889 string or comment caused a fault.
14890
14891
14892 ----------------------------------------
14893 15 August 2002.  Summary of changes for this release.
14894
14895 1) ACPI CA Core Subsystem Version 20020815:
14896
14897 Fixed a reported problem where a Store to a method argument that
14898 contains a reference did not perform the indirect store correctly.
14899 This problem was created during the conversion to the new
14900 reference object model - the indirect store to a method argument
14901 code was not updated to reflect the new model.
14902
14903 Reworked the ACPI mode change code to better conform to ACPI 2.0,
14904 handle corner cases, and improve code legibility (Kochi Takayoshi)
14905
14906 Fixed a problem with the pathname parsing for the carat (^)
14907 prefix.  The heavy use of the carat operator by the new namepath
14908 optimization in the iASL compiler uncovered a problem with the AML
14909 interpreter handling of this prefix.  In the case where one or
14910 more carats precede a single nameseg, the nameseg was treated as
14911 standalone and the search rule (to root) was inadvertently
14912 applied.  This could cause both the iASL compiler and the
14913 interpreter to find the wrong object or to miss the error that
14914 should occur if the object does not exist at that exact pathname.
14915
14916 Found and fixed the problem where the HP Pavilion DSDT would not
14917 load.  This was a relatively minor tweak to the table loading code
14918 (a problem caused by the unexpected encounter with a method
14919 invocation not within a control method), but it does not solve the
14920 overall issue of the execution of AML code at the table level.
14921 This investigation is still ongoing.
14922
14923 Code and Data Size: Current core subsystem library sizes are shown
14924 below.  These are the code and data sizes for the acpica.lib
14925 produced by the Microsoft Visual C++ 6.0 compiler, and these
14926 values do not include any ACPI driver or OSPM code.  The debug
14927 version of the code includes the debug output trace mechanism and
14928 has a larger code and data size.  Note that these values will vary
14929 depending on the efficiency of the compiler and the compiler
14930 options used during generation.
14931
14932   Previous Release
14933     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
14934     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
14935   Current Release:
14936     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
14937     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
14938
14939
14940 2) Linux
14941
14942 Remove redundant slab.h include (Brad Hards)
14943
14944 Fix several bugs in thermal.c (Herbert Nachtnebel)
14945
14946 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
14947
14948 Change acpi_system_suspend to use updated irq functions (Pavel
14949 Machek)
14950
14951 Export acpi_get_firmware_table (Matthew Wilcox)
14952
14953 Use proper root proc entry for ACPI (Kochi Takayoshi)
14954
14955 Fix early-boot table parsing (Bjorn Helgaas)
14956
14957
14958 3) iASL Compiler/Disassembler
14959
14960 Reworked the compiler options to make them more consistent and to
14961 use two-letter options where appropriate.  We were running out of
14962 sensible letters.   This may break some makefiles, so check the
14963 current options list by invoking the compiler with no parameters.
14964
14965 Completed the design and implementation of the ASL namepath
14966 optimization option for the compiler.  This option optimizes all
14967 references to named objects to the shortest possible path.  The
14968 first attempt tries to utilize a single nameseg (4 characters) and
14969 the "search-to-root" algorithm used by the interpreter.  If that
14970 cannot be used (because either the name is not in the search path
14971 or there is a conflict with another object with the same name),
14972 the pathname is optimized using the carat prefix (usually a
14973 shorter string than specifying the entire path from the root.)
14974
14975 Implemented support to obtain the DSDT from the Windows registry
14976 (when the disassembly option is specified with no input file).
14977 Added this code as the implementation for AcpiOsTableOverride in
14978 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
14979 utility) to scan memory for the DSDT to the AcpiOsTableOverride
14980 function in the DOS OSL to make the disassembler truly OS
14981 independent.
14982
14983 Implemented a new option to disassemble and compile in one step.
14984 When used without an input filename, this option will grab the
14985 DSDT from the local machine, disassemble it, and compile it in one
14986 step.
14987
14988 Added a warning message for invalid escapes (a backslash followed
14989 by any character other than the allowable escapes).  This catches
14990 the quoted string error "\_SB_" (which should be "\\_SB_" ).
14991
14992 Also, there are numerous instances in the ACPI specification where
14993 this error occurs.
14994
14995 Added a compiler option to disable all optimizations.  This is
14996 basically the "compatibility mode" because by using this option,
14997 the AML code will come out exactly the same as other ASL
14998 compilers.
14999
15000 Added error messages for incorrectly ordered dependent resource
15001 functions.  This includes: missing EndDependentFn macro at end of
15002 dependent resource list, nested dependent function macros (both
15003 start and end), and missing StartDependentFn macro.  These are
15004 common errors that should be caught at compile time.
15005
15006 Implemented _OSI support for the disassembler and compiler.  _OSI
15007 must be included in the namespace for proper disassembly (because
15008 the disassembler must know the number of arguments.)
15009
15010 Added an "optimization" message type that is optional (off by
15011 default).  This message is used for all optimizations - including
15012 constant folding, integer optimization, and namepath optimization.
15013
15014 ----------------------------------------
15015 25 July 2002.  Summary of changes for this release.
15016
15017
15018 1) ACPI CA Core Subsystem Version 20020725:
15019
15020 The AML Disassembler has been enhanced to produce compilable ASL
15021 code and has been integrated into the iASL compiler (see below) as
15022 well as the single-step disassembly for the AML debugger and the
15023 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
15024 resource templates and macros are fully supported.  The
15025 disassembler has been tested on over 30 different AML files,
15026 producing identical AML when the resulting disassembled ASL file
15027 is recompiled with the same ASL compiler.
15028
15029 Modified the Resource Manager to allow zero interrupts and zero
15030 dma channels during the GetCurrentResources call.  This was
15031 causing problems on some platforms.
15032
15033 Added the AcpiOsRedirectOutput interface to the OSL to simplify
15034 output redirection for the AcpiOsPrintf and AcpiOsVprintf
15035 interfaces.
15036
15037 Code and Data Size: Current core subsystem library sizes are shown
15038 below.  These are the code and data sizes for the acpica.lib
15039 produced by the Microsoft Visual C++ 6.0 compiler, and these
15040 values do not include any ACPI driver or OSPM code.  The debug
15041 version of the code includes the debug output trace mechanism and
15042 has a larger code and data size.  Note that these values will vary
15043 depending on the efficiency of the compiler and the compiler
15044 options used during generation.
15045
15046   Previous Release
15047     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15048     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15049   Current Release:
15050     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15051     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15052
15053
15054 2) Linux
15055
15056 Fixed a panic in the EC driver (Dominik Brodowski)
15057
15058 Implemented checksum of the R/XSDT itself during Linux table scan
15059 (Richard Schaal)
15060
15061
15062 3) iASL compiler
15063
15064 The AML disassembler is integrated into the compiler.  The "-d"
15065 option invokes the disassembler  to completely disassemble an
15066 input AML file, producing as output a text ASL file with the
15067 extension ".dsl" (to avoid name collisions with existing .asl
15068 source files.)  A future enhancement will allow the disassembler
15069 to obtain the BIOS DSDT from the registry under Windows.
15070
15071 Fixed a problem with the VendorShort and VendorLong resource
15072 descriptors where an invalid AML sequence was created.
15073
15074 Implemented a fix for BufferData term in the ASL parser.  It was
15075 inadvertently defined twice, allowing invalid syntax to pass and
15076 causing reduction conflicts.
15077
15078 Fixed a problem where the Ones opcode could get converted to a
15079 value of zero if "Ones" was used where a byte, word or dword value
15080 was expected.  The 64-bit value is now truncated to the correct
15081 size with the correct value.
15082
15083
15084
15085 ----------------------------------------
15086 02 July 2002.  Summary of changes for this release.
15087
15088
15089 1) ACPI CA Core Subsystem Version 20020702:
15090
15091 The Table Manager code has been restructured to add several new
15092 features.  Tables that are not required by the core subsystem
15093 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
15094 validated in any way and are returned from AcpiGetFirmwareTable if
15095 requested.  The AcpiOsTableOverride interface is now called for
15096 each table that is loaded by the subsystem in order to allow the
15097 host to override any table it chooses.  Previously, only the DSDT
15098 could be overridden.  Added one new files, tbrsdt.c and
15099 tbgetall.c.
15100
15101 Fixed a problem with the conversion of internal package objects to
15102 external objects (when a package is returned from a control
15103 method.)  The return buffer length was set to zero instead of the
15104 proper length of the package object.
15105
15106 Fixed a reported problem with the use of the RefOf and DeRefOf
15107 operators when passing reference arguments to control methods.  A
15108 new type of Reference object is used internally for references
15109 produced by the RefOf operator.
15110
15111 Added additional error messages in the Resource Manager to explain
15112 AE_BAD_DATA errors when they occur during resource parsing.
15113
15114 Split the AcpiEnableSubsystem into two primitives to enable a
15115 finer granularity initialization sequence.  These two calls should
15116 be called in this order: AcpiEnableSubsystem (flags),
15117 AcpiInitializeObjects (flags).  The flags parameter remains the
15118 same.
15119
15120
15121 2) Linux
15122
15123 Updated the ACPI utilities module to understand the new style of
15124 fully resolved package objects that are now returned from the core
15125 subsystem.  This eliminates errors of the form:
15126
15127     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
15128     acpi_utils-0430 [145] acpi_evaluate_reference:
15129         Invalid element in package (not a device reference)
15130
15131 The method evaluation utility uses the new buffer allocation
15132 scheme instead of calling AcpiEvaluate Object twice.
15133
15134 Added support for ECDT. This allows the use of the Embedded
15135
15136 Controller before the namespace has been fully initialized, which
15137 is necessary for ACPI 2.0 support, and for some laptops to
15138 initialize properly. (Laptops using ECDT are still rare, so only
15139 limited testing was performed of the added functionality.)
15140
15141 Fixed memory leaks in the EC driver.
15142
15143 Eliminated a brittle code structure in acpi_bus_init().
15144
15145 Eliminated the acpi_evaluate() helper function in utils.c. It is
15146 no longer needed since acpi_evaluate_object can optionally
15147 allocate memory for the return object.
15148
15149 Implemented fix for keyboard hang when getting battery readings on
15150 some systems (Stephen White)
15151
15152 PCI IRQ routing update (Dominik Brodowski)
15153
15154 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
15155 support
15156
15157 ----------------------------------------
15158 11 June 2002.  Summary of changes for this release.
15159
15160
15161 1) ACPI CA Core Subsystem Version 20020611:
15162
15163 Fixed a reported problem where constants such as Zero and One
15164 appearing within _PRT packages were not handled correctly within
15165 the resource manager code.  Originally reported against the ASL
15166 compiler because the code generator now optimizes integers to
15167 their minimal AML representation (i.e. AML constants if possible.)
15168 The _PRT code now handles all AML constant opcodes correctly
15169 (Zero, One, Ones, Revision).
15170
15171 Fixed a problem with the Concatenate operator in the AML
15172 interpreter where a buffer result object was incorrectly marked as
15173 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
15174
15175 All package sub-objects are now fully resolved before they are
15176 returned from the external ACPI interfaces.  This means that name
15177 strings are resolved to object handles, and constant operators
15178 (Zero, One, Ones, Revision) are resolved to Integers.
15179
15180 Implemented immediate resolution of the AML Constant opcodes
15181 (Zero, One, Ones, Revision) to Integer objects upon detection
15182 within the AML stream. This has simplified and reduced the
15183 generated code size of the subsystem by eliminating about 10
15184 switch statements for these constants (which previously were
15185 contained in Reference objects.)  The complicating issues are that
15186 the Zero opcode is used as a "placeholder" for unspecified
15187 optional target operands and stores to constants are defined to be
15188 no-ops.
15189
15190 Code and Data Size: Current core subsystem library sizes are shown
15191 below. These are the code and data sizes for the acpica.lib
15192 produced by the Microsoft Visual C++ 6.0 compiler, and these
15193 values do not include any ACPI driver or OSPM code.  The debug
15194 version of the code includes the debug output trace mechanism and
15195 has a larger code and data size.  Note that these values will vary
15196 depending on the efficiency of the compiler and the compiler
15197 options used during generation.
15198
15199   Previous Release
15200     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15201     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15202   Current Release:
15203     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15204     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15205
15206
15207 2) Linux
15208
15209
15210 Added preliminary support for obtaining _TRA data for PCI root
15211 bridges (Bjorn Helgaas).
15212
15213
15214 3) iASL Compiler Version X2046:
15215
15216 Fixed a problem where the "_DDN" reserved name was defined to be a
15217 control method with one argument.  There are no arguments, and
15218 _DDN does not have to be a control method.
15219
15220 Fixed a problem with the Linux version of the compiler where the
15221 source lines printed with error messages were the wrong lines.
15222 This turned out to be the "LF versus CR/LF" difference between
15223 Windows and Unix.  This appears to be the longstanding issue
15224 concerning listing output and error messages.
15225
15226 Fixed a problem with the Linux version of compiler where opcode
15227 names within error messages were wrong.  This was caused by a
15228 slight difference in the output of the Flex tool on Linux versus
15229 Windows.
15230
15231 Fixed a problem with the Linux compiler where the hex output files
15232 contained some garbage data caused by an internal buffer overrun.
15233
15234
15235 ----------------------------------------
15236 17 May 2002.  Summary of changes for this release.
15237
15238
15239 1) ACPI CA Core Subsystem Version 20020517:
15240
15241 Implemented a workaround to an BIOS bug discovered on the HP
15242 OmniBook where the FADT revision number and the table size are
15243 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
15244 behavior is to fallback to using only the ACPI 1.0 fields of the
15245 FADT if the table is too small to be a ACPI 2.0 table as claimed
15246 by the revision number.  Although this is a BIOS bug, this is a
15247 case where the workaround is simple enough and with no side
15248 effects, so it seemed prudent to add it.  A warning message is
15249 issued, however.
15250
15251 Implemented minimum size checks for the fixed-length ACPI tables -
15252 - the FADT and FACS, as well as consistency checks between the
15253 revision number and the table size.
15254
15255 Fixed a reported problem in the table override support where the
15256 new table pointer was incorrectly treated as a physical address
15257 instead of a logical address.
15258
15259 Eliminated the use of the AE_AML_ERROR exception and replaced it
15260 with more descriptive codes.
15261
15262 Fixed a problem where an exception would occur if an ASL Field was
15263 defined with no named Field Units underneath it (used by some
15264 index fields).
15265
15266 Code and Data Size: Current core subsystem library sizes are shown
15267 below.  These are the code and data sizes for the acpica.lib
15268 produced by the Microsoft Visual C++ 6.0 compiler, and these
15269 values do not include any ACPI driver or OSPM code.  The debug
15270 version of the code includes the debug output trace mechanism and
15271 has a larger code and data size.  Note that these values will vary
15272 depending on the efficiency of the compiler and the compiler
15273 options used during generation.
15274
15275   Previous Release
15276     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15277     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15278   Current Release:
15279     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15280     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15281
15282
15283
15284 2) Linux
15285
15286 Much work done on ACPI init (MADT and PCI IRQ routing support).
15287 (Paul D. and Dominik Brodowski)
15288
15289 Fix PCI IRQ-related panic on boot (Sam Revitch)
15290
15291 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
15292
15293 Fix "MHz" typo (Dominik Brodowski)
15294
15295 Fix RTC year 2000 issue (Dominik Brodowski)
15296
15297 Preclude multiple button proc entries (Eric Brunet)
15298
15299 Moved arch-specific code out of include/platform/aclinux.h
15300
15301 3) iASL Compiler Version X2044:
15302
15303 Implemented error checking for the string used in the EISAID macro
15304 (Usually used in the definition of the _HID object.)  The code now
15305 strictly enforces the PnP format - exactly 7 characters, 3
15306 uppercase letters and 4 hex digits.
15307
15308 If a raw string is used in the definition of the _HID object
15309 (instead of the EISAID macro), the string must contain all
15310 alphanumeric characters (e.g., "*PNP0011" is not allowed because
15311 of the asterisk.)
15312
15313 Implemented checking for invalid use of ACPI reserved names for
15314 most of the name creation operators (Name, Device, Event, Mutex,
15315 OperationRegion, PowerResource, Processor, and ThermalZone.)
15316 Previously, this check was only performed for control methods.
15317
15318 Implemented an additional check on the Name operator to emit an
15319 error if a reserved name that must be implemented in ASL as a
15320 control method is used.  We know that a reserved name must be a
15321 method if it is defined with input arguments.
15322
15323 The warning emitted when a namespace object reference is not found
15324 during the cross reference phase has been changed into an error.
15325 The "External" directive should be used for names defined in other
15326 modules.
15327
15328
15329 4) Tools and Utilities
15330
15331 The 16-bit tools (adump16 and aexec16) have been regenerated and
15332 tested.
15333
15334 Fixed a problem with the output of both acpidump and adump16 where
15335 the indentation of closing parentheses and brackets was not
15336
15337 aligned properly with the parent block.
15338
15339
15340 ----------------------------------------
15341 03 May 2002.  Summary of changes for this release.
15342
15343
15344 1) ACPI CA Core Subsystem Version 20020503:
15345
15346 Added support a new OSL interface that allows the host operating
15347
15348 system software to override the DSDT found in the firmware -
15349 AcpiOsTableOverride.  With this interface, the OSL can examine the
15350 version of the firmware DSDT and replace it with a different one
15351 if desired.
15352
15353 Added new external interfaces for accessing ACPI registers from
15354 device drivers and other system software - AcpiGetRegister and
15355 AcpiSetRegister.  This was simply an externalization of the
15356 existing AcpiHwBitRegister interfaces.
15357
15358 Fixed a regression introduced in the previous build where the
15359 ASL/AML CreateField operator always returned an error,
15360 "destination must be a NS Node".
15361
15362 Extended the maximum time (before failure) to successfully enable
15363 ACPI mode to 3 seconds.
15364
15365 Code and Data Size: Current core subsystem library sizes are shown
15366 below.  These are the code and data sizes for the acpica.lib
15367 produced by the Microsoft Visual C++ 6.0 compiler, and these
15368 values do not include any ACPI driver or OSPM code.  The debug
15369 version of the code includes the debug output trace mechanism and
15370 has a larger code and data size.  Note that these values will vary
15371 depending on the efficiency of the compiler and the compiler
15372 options used during generation.
15373
15374   Previous Release
15375     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15376     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15377   Current Release:
15378     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15379     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15380
15381
15382 2) Linux
15383
15384 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
15385 free. While 3 out of 4 of our in-house systems work fine, the last
15386 one still hangs when testing the LAPIC timer.
15387
15388 Renamed many files in 2.5 kernel release to omit "acpi_" from the
15389 name.
15390
15391 Added warning on boot for Presario 711FR.
15392
15393 Sleep improvements (Pavel Machek)
15394
15395 ACPI can now be built without CONFIG_PCI enabled.
15396
15397 IA64: Fixed memory map functions (JI Lee)
15398
15399
15400 3) iASL Compiler Version X2043:
15401
15402 Added support to allow the compiler to be integrated into the MS
15403 VC++ development environment for one-button compilation of single
15404 files or entire projects -- with error-to-source-line mapping.
15405
15406 Implemented support for compile-time constant folding for the
15407 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
15408 specification.  This allows the ASL writer to use expressions
15409 instead of Integer/Buffer/String constants in terms that must
15410 evaluate to constants at compile time and will also simplify the
15411 emitted AML in any such sub-expressions that can be folded
15412 (evaluated at compile-time.)  This increases the size of the
15413 compiler significantly because a portion of the ACPI CA AML
15414 interpreter is included within the compiler in order to pre-
15415 evaluate constant expressions.
15416
15417
15418 Fixed a problem with the "Unicode" ASL macro that caused the
15419 compiler to fault.  (This macro is used in conjunction with the
15420 _STR reserved name.)
15421
15422 Implemented an AML opcode optimization to use the Zero, One, and
15423 Ones opcodes where possible to further reduce the size of integer
15424 constants and thus reduce the overall size of the generated AML
15425 code.
15426
15427 Implemented error checking for new reserved terms for ACPI version
15428 2.0A.
15429
15430 Implemented the -qr option to display the current list of ACPI
15431 reserved names known to the compiler.
15432
15433 Implemented the -qc option to display the current list of ASL
15434 operators that are allowed within constant expressions and can
15435 therefore be folded at compile time if the operands are constants.
15436
15437
15438 4) Documentation
15439
15440 Updated the Programmer's Reference for new interfaces, data types,
15441 and memory allocation model options.
15442
15443 Updated the iASL Compiler User Reference to apply new format and
15444 add information about new features and options.
15445
15446 ----------------------------------------
15447 19 April 2002.  Summary of changes for this release.
15448
15449 1) ACPI CA Core Subsystem Version 20020419:
15450
15451 The source code base for the Core Subsystem has been completely
15452 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
15453 versions.  The Lint option files used are included in the
15454 /acpi/generate/lint directory.
15455
15456 Implemented enhanced status/error checking across the entire
15457 Hardware manager subsystem.  Any hardware errors (reported from
15458 the OSL) are now bubbled up and will abort a running control
15459 method.
15460
15461
15462 Fixed a problem where the per-ACPI-table integer width (32 or 64)
15463 was stored only with control method nodes, causing a fault when
15464 non-control method code was executed during table loading.  The
15465 solution implemented uses a global variable to indicate table
15466 width across the entire ACPI subsystem.  Therefore, ACPI CA does
15467 not support mixed integer widths across different ACPI tables
15468 (DSDT, SSDT).
15469
15470 Fixed a problem where NULL extended fields (X fields) in an ACPI
15471 2.0 ACPI FADT caused the table load to fail.  Although the
15472 existing ACPI specification is a bit fuzzy on this topic, the new
15473 behavior is to fall back on a ACPI 1.0 field if the corresponding
15474 ACPI 2.0 X field is zero (even though the table revision indicates
15475 a full ACPI 2.0 table.)  The ACPI specification will be updated to
15476 clarify this issue.
15477
15478 Fixed a problem with the SystemMemory operation region handler
15479 where memory was always accessed byte-wise even if the AML-
15480 specified access width was larger than a byte.  This caused
15481 problems on systems with memory-mapped I/O.  Memory is now
15482 accessed with the width specified.  On systems that do not support
15483 non-aligned transfers, a check is made to guarantee proper address
15484 alignment before proceeding in order to avoid an AML-caused
15485 alignment fault within the kernel.
15486
15487
15488 Fixed a problem with the ExtendedIrq resource where only one byte
15489 of the 4-byte Irq field was extracted.
15490
15491 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
15492 function was out of date and required a rewrite.
15493
15494 Code and Data Size: Current core subsystem library sizes are shown
15495 below.  These are the code and data sizes for the acpica.lib
15496 produced by the Microsoft Visual C++ 6.0 compiler, and these
15497 values do not include any ACPI driver or OSPM code.  The debug
15498 version of the code includes the debug output trace mechanism and
15499 has a larger code and data size.  Note that these values will vary
15500 depending on the efficiency of the compiler and the compiler
15501 options used during generation.
15502
15503   Previous Release
15504     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15505     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15506   Current Release:
15507     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15508     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15509
15510
15511 2) Linux
15512
15513 PCI IRQ routing fixes (Dominik Brodowski)
15514
15515
15516 3) iASL Compiler Version X2042:
15517
15518 Implemented an additional compile-time error check for a field
15519 unit whose size + minimum access width would cause a run-time
15520 access beyond the end-of-region.  Previously, only the field size
15521 itself was checked.
15522
15523 The Core subsystem and iASL compiler now share a common parse
15524 object in preparation for compile-time evaluation of the type
15525 3/4/5 ASL operators.
15526
15527
15528 ----------------------------------------
15529 Summary of changes for this release: 03_29_02
15530
15531 1) ACPI CA Core Subsystem Version 20020329:
15532
15533 Implemented support for late evaluation of TermArg operands to
15534 Buffer and Package objects.  This allows complex expressions to be
15535 used in the declarations of these object types.
15536
15537 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
15538 1.0, if the field was larger than 32 bits, it was returned as a
15539 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
15540 the field is returned as a buffer only if the field is larger than
15541 64 bits.  The TableRevision is now considered when making this
15542 conversion to avoid incompatibility with existing ASL code.
15543
15544 Implemented logical addressing for AcpiOsGetRootPointer.  This
15545 allows an RSDP with either a logical or physical address.  With
15546 this support, the host OS can now override all ACPI tables with
15547 one logical RSDP.  Includes implementation of  "typed" pointer
15548 support to allow a common data type for both physical and logical
15549 pointers internally.  This required a change to the
15550 AcpiOsGetRootPointer interface.
15551
15552 Implemented the use of ACPI 2.0 Generic Address Structures for all
15553 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
15554 mapped I/O for these ACPI features.
15555
15556 Initialization now ignores not only non-required tables (All
15557 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
15558 not validate the table headers of unrecognized tables.
15559
15560 Fixed a problem where a notify handler could only be
15561 installed/removed on an object of type Device.  All "notify"
15562
15563 objects are now supported -- Devices, Processor, Power, and
15564 Thermal.
15565
15566 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
15567 critical information is returned when this debug level is enabled.
15568
15569 Code and Data Size: Current core subsystem library sizes are shown
15570 below.  These are the code and data sizes for the acpica.lib
15571 produced by the Microsoft Visual C++ 6.0 compiler, and these
15572 values do not include any ACPI driver or OSPM code.  The debug
15573 version of the code includes the debug output trace mechanism and
15574 has a larger code and data size.  Note that these values will vary
15575 depending on the efficiency of the compiler and the compiler
15576 options used during generation.
15577
15578   Previous Release
15579     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
15580     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
15581   Current Release:
15582     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15583     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15584
15585
15586 2) Linux:
15587
15588 The processor driver (acpi_processor.c) now fully supports ACPI
15589 2.0-based processor performance control (e.g. Intel(R)
15590 SpeedStep(TM) technology) Note that older laptops that only have
15591 the Intel "applet" interface are not supported through this.  The
15592 'limit' and 'performance' interface (/proc) are fully functional.
15593 [Note that basic policy for controlling performance state
15594 transitions will be included in the next version of ospmd.]  The
15595 idle handler was modified to more aggressively use C2, and PIIX4
15596 errata handling underwent a complete overhaul (big thanks to
15597 Dominik Brodowski).
15598
15599 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
15600 based devices in the ACPI namespace are now dynamically bound
15601 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
15602 This allows, among other things, ACPI to resolve bus numbers for
15603 subordinate PCI bridges.
15604
15605 Enhanced PCI IRQ routing to get the proper bus number for _PRT
15606 entries defined underneath PCI bridges.
15607
15608 Added IBM 600E to bad bios list due to invalid _ADR value for
15609 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
15610
15611 In the process of adding full MADT support (e.g. IOAPIC) for IA32
15612 (acpi.c, mpparse.c) -- stay tuned.
15613
15614 Added back visual differentiation between fixed-feature and
15615 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
15616 button/power/PWRF) to simplify button identification.
15617
15618 We no longer use -Wno-unused when compiling debug. Please ignore
15619 any "_THIS_MODULE defined but not used" messages.
15620
15621 Can now shut down the system using "magic sysrq" key.
15622
15623
15624 3) iASL Compiler version 2041:
15625
15626 Fixed a problem where conversion errors for hex/octal/decimal
15627 constants were not reported.
15628
15629 Implemented a fix for the General Register template Address field.
15630 This field was 8 bits when it should be 64.
15631
15632 Fixed a problem where errors/warnings were no longer being emitted
15633 within the listing output file.
15634
15635 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
15636 exactly 4 characters, alphanumeric only.
15637
15638
15639
15640
15641 ----------------------------------------
15642 Summary of changes for this release: 03_08_02
15643
15644
15645 1) ACPI CA Core Subsystem Version 20020308:
15646
15647 Fixed a problem with AML Fields where the use of the "AccessAny"
15648 keyword could cause an interpreter error due to attempting to read
15649 or write beyond the end of the parent Operation Region.
15650
15651 Fixed a problem in the SystemMemory Operation Region handler where
15652 an attempt was made to map memory beyond the end of the region.
15653 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
15654 errors on some Linux systems.
15655
15656 Fixed a problem where the interpreter/namespace "search to root"
15657 algorithm was not functioning for some object types.  Relaxed the
15658 internal restriction on the search to allow upsearches for all
15659 external object types as well as most internal types.
15660
15661
15662 2) Linux:
15663
15664 We now use safe_halt() macro versus individual calls to sti | hlt.
15665
15666 Writing to the processor limit interface should now work. "echo 1"
15667 will increase the limit, 2 will decrease, and 0 will reset to the
15668
15669 default.
15670
15671
15672 3) ASL compiler:
15673
15674 Fixed segfault on Linux version.
15675
15676
15677 ----------------------------------------
15678 Summary of changes for this release: 02_25_02
15679
15680 1) ACPI CA Core Subsystem:
15681
15682
15683 Fixed a problem where the GPE bit masks were not initialized
15684 properly, causing erratic GPE behavior.
15685
15686 Implemented limited support for multiple calling conventions.  The
15687 code can be generated with either the VPL (variable parameter
15688 list, or "C") convention, or the FPL (fixed parameter list, or
15689 "Pascal") convention.  The core subsystem is about 3.4% smaller
15690 when generated with FPL.
15691
15692
15693 2) Linux
15694
15695 Re-add some /proc/acpi/event functionality that was lost during
15696 the rewrite
15697
15698 Resolved issue with /proc events for fixed-feature buttons showing
15699 up as the system device.
15700
15701 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
15702
15703 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
15704
15705 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
15706
15707 Fixed limit interface & usage to fix bugs with passive cooling
15708 hysterisis.
15709
15710 Restructured PRT support.
15711
15712
15713 ----------------------------------------
15714 Summary of changes for this label: 02_14_02
15715
15716
15717 1) ACPI CA Core Subsystem:
15718
15719 Implemented support in AcpiLoadTable to allow loading of FACS and
15720 FADT tables.
15721
15722 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
15723 been removed.  All 64-bit platforms should be migrated to the ACPI
15724 2.0 tables.  The actbl71.h header has been removed from the source
15725 tree.
15726
15727 All C macros defined within the subsystem have been prefixed with
15728 "ACPI_" to avoid collision with other system include files.
15729
15730 Removed the return value for the two AcpiOsPrint interfaces, since
15731 it is never used and causes lint warnings for ignoring the return
15732 value.
15733
15734 Added error checking to all internal mutex acquire and release
15735 calls.  Although a failure from one of these interfaces is
15736 probably a fatal system error, these checks will cause the
15737 immediate abort of the currently executing method or interface.
15738
15739 Fixed a problem where the AcpiSetCurrentResources interface could
15740 fault.  This was a side effect of the deployment of the new memory
15741 allocation model.
15742
15743 Fixed a couple of problems with the Global Lock support introduced
15744 in the last major build.  The "common" (1.0/2.0) internal FACS was
15745 being overwritten with the FACS signature and clobbering the
15746 Global Lock pointer.  Also, the actual firmware FACS was being
15747 unmapped after construction of the "common" FACS, preventing
15748 access to the actual Global Lock field within it.  The "common"
15749 internal FACS is no longer installed as an actual ACPI table; it
15750 is used simply as a global.
15751
15752 Code and Data Size: Current core subsystem library sizes are shown
15753 below.  These are the code and data sizes for the acpica.lib
15754 produced by the Microsoft Visual C++ 6.0 compiler, and these
15755 values do not include any ACPI driver or OSPM code.  The debug
15756 version of the code includes the debug output trace mechanism and
15757 has a larger code and data size.  Note that these values will vary
15758 depending on the efficiency of the compiler and the compiler
15759 options used during generation.
15760
15761   Previous Release (02_07_01)
15762     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
15763     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
15764   Current Release:
15765     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
15766     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
15767
15768
15769 2) Linux
15770
15771 Updated Linux-specific code for core macro and OSL interface
15772 changes described above.
15773
15774 Improved /proc/acpi/event. It now can be opened only once and has
15775 proper poll functionality.
15776
15777 Fixed and restructured power management (acpi_bus).
15778
15779 Only create /proc "view by type" when devices of that class exist.
15780
15781 Fixed "charging/discharging" bug (and others) in acpi_battery.
15782
15783 Improved thermal zone code.
15784
15785
15786 3) ASL Compiler, version X2039:
15787
15788
15789 Implemented the new compiler restriction on ASL String hex/octal
15790 escapes to non-null, ASCII values.  An error results if an invalid
15791 value is used.  (This will require an ACPI 2.0 specification
15792 change.)
15793
15794 AML object labels that are output to the optional C and ASM source
15795 are now prefixed with both the ACPI table signature and table ID
15796 to help guarantee uniqueness within a large BIOS project.
15797
15798
15799 ----------------------------------------
15800 Summary of changes for this label: 02_01_02
15801
15802 1) ACPI CA Core Subsystem:
15803
15804 ACPI 2.0 support is complete in the entire Core Subsystem and the
15805 ASL compiler. All new ACPI 2.0 operators are implemented and all
15806 other changes for ACPI 2.0 support are complete.  With
15807 simultaneous code and data optimizations throughout the subsystem,
15808 ACPI 2.0 support has been implemented with almost no additional
15809 cost in terms of code and data size.
15810
15811 Implemented a new mechanism for allocation of return buffers.  If
15812 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
15813 be allocated on behalf of the caller.  Consolidated all return
15814 buffer validation and allocation to a common procedure.  Return
15815 buffers will be allocated via the primary OSL allocation interface
15816 since it appears that a separate pool is not needed by most users.
15817 If a separate pool is required for these buffers, the caller can
15818 still use the original mechanism and pre-allocate the buffer(s).
15819
15820 Implemented support for string operands within the DerefOf
15821 operator.
15822
15823 Restructured the Hardware and Event managers to be table driven,
15824 simplifying the source code and reducing the amount of generated
15825 code.
15826
15827 Split the common read/write low-level ACPI register bitfield
15828 procedure into a separate read and write, simplifying the code
15829 considerably.
15830
15831 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
15832 used only a handful of times and didn't have enough critical mass
15833 for a separate interface.  Replaced with a common calloc procedure
15834 in the core.
15835
15836 Fixed a reported problem with the GPE number mapping mechanism
15837 that allows GPE1 numbers to be non-contiguous with GPE0.
15838 Reorganized the GPE information and shrunk a large array that was
15839 originally large enough to hold info for all possible GPEs (256)
15840 to simply large enough to hold all GPEs up to the largest GPE
15841 number on the machine.
15842
15843 Fixed a reported problem with resource structure alignment on 64-
15844 bit platforms.
15845
15846 Changed the AcpiEnableEvent and AcpiDisableEvent external
15847 interfaces to not require any flags for the common case of
15848 enabling/disabling a GPE.
15849
15850 Implemented support to allow a "Notify" on a Processor object.
15851
15852 Most TBDs in comments within the source code have been resolved
15853 and eliminated.
15854
15855
15856 Fixed a problem in the interpreter where a standalone parent
15857 prefix (^) was not handled correctly in the interpreter and
15858 debugger.
15859
15860 Removed obsolete and unnecessary GPE save/restore code.
15861
15862 Implemented Field support in the ASL Load operator.  This allows a
15863 table to be loaded from a named field, in addition to loading a
15864 table directly from an Operation Region.
15865
15866 Implemented timeout and handle support in the external Global Lock
15867 interfaces.
15868
15869 Fixed a problem in the AcpiDump utility where pathnames were no
15870 longer being generated correctly during the dump of named objects.
15871
15872 Modified the AML debugger to give a full display of if/while
15873 predicates instead of just one AML opcode at a time.  (The
15874 predicate can have several nested ASL statements.)  The old method
15875 was confusing during single stepping.
15876
15877 Code and Data Size: Current core subsystem library sizes are shown
15878 below. These are the code and data sizes for the acpica.lib
15879 produced by the Microsoft Visual C++ 6.0 compiler, and these
15880 values do not include any ACPI driver or OSPM code.  The debug
15881 version of the code includes the debug output trace mechanism and
15882 has a larger code and data size.  Note that these values will vary
15883 depending on the efficiency of the compiler and the compiler
15884 options used during generation.
15885
15886   Previous Release (12_18_01)
15887      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
15888      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
15889    Current Release:
15890      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
15891      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
15892
15893 2) Linux
15894
15895  Implemented fix for PIIX reverse throttling errata (Processor
15896 driver)
15897
15898 Added new Limit interface (Processor and Thermal drivers)
15899
15900 New thermal policy (Thermal driver)
15901
15902 Many updates to /proc
15903
15904 Battery "low" event support (Battery driver)
15905
15906 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
15907
15908 IA32 - IA64 initialization unification, no longer experimental
15909
15910 Menuconfig options redesigned
15911
15912 3) ASL Compiler, version X2037:
15913
15914 Implemented several new output features to simplify integration of
15915 AML code into  firmware: 1) Output the AML in C source code with
15916 labels for each named ASL object.  The    original ASL source code
15917 is interleaved as C comments. 2) Output the AML in ASM source code
15918 with labels and interleaved ASL    source. 3) Output the AML in
15919 raw hex table form, in either C or ASM.
15920
15921 Implemented support for optional string parameters to the
15922 LoadTable operator.
15923
15924 Completed support for embedded escape sequences within string
15925 literals.  The compiler now supports all single character escapes
15926 as well as the Octal and Hex escapes.  Note: the insertion of a
15927 null byte into a string literal (via the hex/octal escape) causes
15928 the string to be immediately terminated.  A warning is issued.
15929
15930 Fixed a problem where incorrect AML was generated for the case
15931 where an ASL namepath consists of a single parent prefix (
15932
15933 ) with no trailing name segments.
15934
15935 The compiler has been successfully generated with a 64-bit C
15936 compiler.
15937
15938
15939
15940
15941 ----------------------------------------
15942 Summary of changes for this label: 12_18_01
15943
15944 1) Linux
15945
15946 Enhanced blacklist with reason and severity fields. Any table's
15947 signature may now be used to identify a blacklisted system.
15948
15949 Call _PIC control method to inform the firmware which interrupt
15950 model the OS is using. Turn on any disabled link devices.
15951
15952 Cleaned up busmgr /proc error handling (Andreas Dilger)
15953
15954  2) ACPI CA Core Subsystem:
15955
15956 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
15957 while loop)
15958
15959 Completed implementation of the ACPI 2.0 "Continue",
15960 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
15961 operators.  All new ACPI 2.0 operators are now implemented in both
15962 the ASL compiler and the AML interpreter.  The only remaining ACPI
15963 2.0 task is support for the String data type in the DerefOf
15964 operator.  Fixed a problem with AcquireMutex where the status code
15965 was lost if the caller had to actually wait for the mutex.
15966
15967 Increased the maximum ASL Field size from 64K bits to 4G bits.
15968
15969 Completed implementation of the external Global Lock interfaces --
15970 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
15971 Handler parameters were added.
15972
15973 Completed another pass at removing warnings and issues when
15974 compiling with 64-bit compilers.  The code now compiles cleanly
15975 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
15976 add and subtract (diff) macros have changed considerably.
15977
15978
15979 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
15980 64-bit platforms, 32-bits on all others.  This type is used
15981 wherever memory allocation and/or the C sizeof() operator is used,
15982 and affects the OSL memory allocation interfaces AcpiOsAllocate
15983 and AcpiOsCallocate.
15984
15985 Implemented sticky user breakpoints in the AML debugger.
15986
15987 Code and Data Size: Current core subsystem library sizes are shown
15988 below. These are the code and data sizes for the acpica.lib
15989 produced by the Microsoft Visual C++ 6.0 compiler, and these
15990 values do not include any ACPI driver or OSPM code.  The debug
15991 version of the code includes the debug output trace mechanism and
15992 has a larger code and data size. Note that these values will vary
15993 depending on the efficiency of the compiler and the compiler
15994 options used during generation.
15995
15996   Previous Release (12_05_01)
15997      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
15998      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
15999    Current Release:
16000      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16001      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16002
16003  3) ASL Compiler, version X2034:
16004
16005 Now checks for (and generates an error if detected) the use of a
16006 Break or Continue statement without an enclosing While statement.
16007
16008
16009 Successfully generated the compiler with the Intel 64-bit C
16010 compiler.
16011
16012  ----------------------------------------
16013 Summary of changes for this label: 12_05_01
16014
16015  1) ACPI CA Core Subsystem:
16016
16017 The ACPI 2.0 CopyObject operator is fully implemented.  This
16018 operator creates a new copy of an object (and is also used to
16019 bypass the "implicit conversion" mechanism of the Store operator.)
16020
16021 The ACPI 2.0 semantics for the SizeOf operator are fully
16022 implemented.  The change is that performing a SizeOf on a
16023 reference object causes an automatic dereference of the object to
16024 tha actual value before the size is evaluated. This behavior was
16025 undefined in ACPI 1.0.
16026
16027 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
16028 have been implemented.  The interrupt polarity and mode are now
16029 independently set.
16030
16031 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
16032 appearing in Package objects were not properly converted to
16033 integers when the internal Package was converted to an external
16034 object (via the AcpiEvaluateObject interface.)
16035
16036 Fixed a problem with the namespace object deletion mechanism for
16037 objects created by control methods.  There were two parts to this
16038 problem: 1) Objects created during the initialization phase method
16039 parse were not being deleted, and 2) The object owner ID mechanism
16040 to track objects was broken.
16041
16042 Fixed a problem where the use of the ASL Scope operator within a
16043 control method would result in an invalid opcode exception.
16044
16045 Fixed a problem introduced in the previous label where the buffer
16046 length required for the _PRT structure was not being returned
16047 correctly.
16048
16049 Code and Data Size: Current core subsystem library sizes are shown
16050 below. These are the code and data sizes for the acpica.lib
16051 produced by the Microsoft Visual C++ 6.0 compiler, and these
16052 values do not include any ACPI driver or OSPM code.  The debug
16053 version of the code includes the debug output trace mechanism and
16054 has a larger code and data size.  Note that these values will vary
16055 depending on the efficiency of the compiler and the compiler
16056 options used during generation.
16057
16058   Previous Release (11_20_01)
16059      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16060      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16061
16062   Current Release:
16063      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16064      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16065
16066  2) Linux:
16067
16068 Updated all files to apply cleanly against 2.4.16.
16069
16070 Added basic PCI Interrupt Routing Table (PRT) support for IA32
16071 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
16072 version supports both static and dyanmic PRT entries, but dynamic
16073 entries are treated as if they were static (not yet
16074 reconfigurable).  Architecture- specific code to use this data is
16075 absent on IA32 but should be available shortly.
16076
16077 Changed the initialization sequence to start the ACPI interpreter
16078 (acpi_init) prior to initialization of the PCI driver (pci_init)
16079 in init/main.c.  This ordering is required to support PRT and
16080 facilitate other (future) enhancement.  A side effect is that the
16081 ACPI bus driver and certain device drivers can no longer be loaded
16082 as modules.
16083
16084 Modified the 'make menuconfig' options to allow PCI Interrupt
16085 Routing support to be included without the ACPI Bus and other
16086 device drivers.
16087
16088  3) ASL Compiler, version X2033:
16089
16090 Fixed some issues with the use of the new CopyObject and
16091 DataTableRegion operators.  Both are fully functional.
16092
16093  ----------------------------------------
16094 Summary of changes for this label: 11_20_01
16095
16096  20 November 2001.  Summary of changes for this release.
16097
16098  1) ACPI CA Core Subsystem:
16099
16100 Updated Index support to match ACPI 2.0 semantics.  Storing a
16101 Integer, String, or Buffer to an Index of a Buffer will store only
16102 the least-significant byte of the source to the Indexed buffer
16103 byte.  Multiple writes are not performed.
16104
16105 Fixed a problem where the access type used in an AccessAs ASL
16106 operator was not recorded correctly into the field object.
16107
16108 Fixed a problem where ASL Event objects were created in a
16109 signalled state. Events are now created in an unsignalled state.
16110
16111 The internal object cache is now purged after table loading and
16112 initialization to reduce the use of dynamic kernel memory -- on
16113 the assumption that object use is greatest during the parse phase
16114 of the entire table (versus the run-time use of individual control
16115 methods.)
16116
16117 ACPI 2.0 variable-length packages are now fully operational.
16118
16119 Code and Data Size: Code and Data optimizations have permitted new
16120 feature development with an actual reduction in the library size.
16121 Current core subsystem library sizes are shown below.  These are
16122 the code and data sizes for the acpica.lib produced by the
16123 Microsoft Visual C++ 6.0 compiler, and these values do not include
16124 any ACPI driver or OSPM code.  The debug version of the code
16125 includes the debug output trace mechanism and has a larger code
16126 and data size.  Note that these values will vary depending on the
16127 efficiency of the compiler and the compiler options used during
16128 generation.
16129
16130   Previous Release (11_09_01):
16131      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16132      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16133
16134   Current Release:
16135      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16136      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16137
16138  2) Linux:
16139
16140 Enhanced the ACPI boot-time initialization code to allow the use
16141 of Local APIC tables for processor enumeration on IA-32, and to
16142 pave the way for a fully MPS-free boot (on SMP systems) in the
16143 near future.  This functionality replaces
16144 arch/i386/kernel/acpitables.c, which was introduced in an earlier
16145 2.4.15-preX release.  To enable this feature you must add
16146 "acpi_boot=on" to the kernel command line -- see the help entry
16147 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
16148 the works...
16149
16150 Restructured the configuration options to allow boot-time table
16151 parsing support without inclusion of the ACPI Interpreter (and
16152 other) code.
16153
16154 NOTE: This release does not include fixes for the reported events,
16155 power-down, and thermal passive cooling issues (coming soon).
16156
16157  3) ASL Compiler:
16158
16159 Added additional typechecking for Fields within restricted access
16160 Operation Regions.  All fields within EC and CMOS regions must be
16161 declared with ByteAcc. All fields withing SMBus regions must be
16162 declared with the BufferAcc access type.
16163
16164 Fixed a problem where the listing file output of control methods
16165 no longer interleaved the actual AML code with the ASL source
16166 code.
16167
16168
16169
16170
16171 ----------------------------------------
16172 Summary of changes for this label: 11_09_01
16173
16174 1) ACPI CA Core Subsystem:
16175
16176 Implemented ACPI 2.0-defined support for writes to fields with a
16177 Buffer, String, or Integer source operand that is smaller than the
16178 target field. In these cases, the source operand is zero-extended
16179 to fill the target field.
16180
16181 Fixed a problem where a Field starting bit offset (within the
16182 parent operation region) was calculated incorrectly if the
16183
16184 alignment of the field differed from the access width.  This
16185 affected CreateWordField, CreateDwordField, CreateQwordField, and
16186 possibly other fields that use the "AccessAny" keyword.
16187
16188 Fixed a problem introduced in the 11_02_01 release where indirect
16189 stores through method arguments did not operate correctly.
16190
16191 2) Linux:
16192
16193 Implemented boot-time ACPI table parsing support
16194 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
16195 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
16196 legacy BIOS interfaces (e.g. MPS) for the configuration of system
16197 processors, memory, and interrupts during setup_arch().  Note that
16198 this patch does not include the required architecture-specific
16199 changes required to apply this information -- subsequent patches
16200 will be posted for both IA32 and IA64 to achieve this.
16201
16202 Added low-level sleep support for IA32 platforms, courtesy of Pat
16203 Mochel. This allows IA32 systems to transition to/from various
16204 sleeping states (e.g. S1, S3), although the lack of a centralized
16205 driver model and power-manageable drivers will prevent its
16206 (successful) use on most systems.
16207
16208 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
16209 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
16210 tables" option, etc.
16211
16212 Increased the default timeout for the EC driver from 1ms to 10ms
16213 (1000 cycles of 10us) to try to address AE_TIME errors during EC
16214 transactions.
16215
16216  ----------------------------------------
16217 Summary of changes for this label: 11_02_01
16218
16219 1) ACPI CA Core Subsystem:
16220
16221 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
16222 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
16223 implemented.
16224
16225 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
16226 changes to support ACPI 2.0 Qword field access.  Read/Write
16227 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
16228 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
16229 the value parameter for the address space handler interface is now
16230 an ACPI_INTEGER.  OSL implementations of these interfaces must now
16231 handle the case where the Width parameter is 64.
16232
16233 Index Fields: Fixed a problem where unaligned bit assembly and
16234 disassembly for IndexFields was not supported correctly.
16235
16236 Index and Bank Fields:  Nested Index and Bank Fields are now
16237 supported. During field access, a check is performed to ensure
16238 that the value written to an Index or Bank register is not out of
16239 the range of the register.  The Index (or Bank) register is
16240 written before each access to the field data. Future support will
16241 include allowing individual IndexFields to be wider than the
16242 DataRegister width.
16243
16244 Fields: Fixed a problem where the AML interpreter was incorrectly
16245 attempting to write beyond the end of a Field/OpRegion.  This was
16246 a boundary case that occurred when a DWORD field was written to a
16247 BYTE access OpRegion, forcing multiple writes and causing the
16248 interpreter to write one datum too many.
16249
16250 Fields: Fixed a problem with Field/OpRegion access where the
16251 starting bit address of a field was incorrectly calculated if the
16252 current access type was wider than a byte (WordAcc, DwordAcc, or
16253 QwordAcc).
16254
16255 Fields: Fixed a problem where forward references to individual
16256 FieldUnits (individual Field names within a Field definition) were
16257 not resolved during the AML table load.
16258
16259 Fields: Fixed a problem where forward references from a Field
16260 definition to the parent Operation Region definition were not
16261 resolved during the AML table load.
16262
16263 Fields: Duplicate FieldUnit names within a scope are now detected
16264 during AML table load.
16265
16266 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
16267 returned an incorrect name for the root node.
16268
16269 Code and Data Size: Code and Data optimizations have permitted new
16270 feature development with an actual reduction in the library size.
16271 Current core subsystem library sizes are shown below.  These are
16272 the code and data sizes for the acpica.lib produced by the
16273 Microsoft Visual C++ 6.0 compiler, and these values do not include
16274 any ACPI driver or OSPM code.  The debug version of the code
16275 includes the debug output trace mechanism and has a larger code
16276 and data size.  Note that these values will vary depending on the
16277 efficiency of the compiler and the compiler options used during
16278 generation.
16279
16280   Previous Release (10_18_01):
16281      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16282      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16283
16284   Current Release:
16285      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16286      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16287
16288  2) Linux:
16289
16290 Improved /proc processor output (Pavel Machek) Re-added
16291 MODULE_LICENSE("GPL") to all modules.
16292
16293  3) ASL Compiler version X2030:
16294
16295 Duplicate FieldUnit names within a scope are now detected and
16296 flagged as errors.
16297
16298  4) Documentation:
16299
16300 Programmer Reference updated to reflect OSL and address space
16301 handler interface changes described above.
16302
16303 ----------------------------------------
16304 Summary of changes for this label: 10_18_01
16305
16306 ACPI CA Core Subsystem:
16307
16308 Fixed a problem with the internal object reference count mechanism
16309 that occasionally caused premature object deletion. This resolves
16310 all of the outstanding problem reports where an object is deleted
16311 in the middle of an interpreter evaluation.  Although this problem
16312 only showed up in rather obscure cases, the solution to the
16313 problem involved an adjustment of all reference counts involving
16314 objects attached to namespace nodes.
16315
16316 Fixed a problem with Field support in the interpreter where
16317 writing to an aligned field whose length is an exact multiple (2
16318 or greater) of the field access granularity would cause an attempt
16319 to write beyond the end of the field.
16320
16321 The top level AML opcode execution functions within the
16322 interpreter have been renamed with a more meaningful and
16323 consistent naming convention.  The modules exmonad.c and
16324 exdyadic.c were eliminated.  New modules are exoparg1.c,
16325 exoparg2.c, exoparg3.c, and exoparg6.c.
16326
16327 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
16328
16329 Fixed a problem where the AML debugger was causing some internal
16330 objects to not be deleted during subsystem termination.
16331
16332 Fixed a problem with the external AcpiEvaluateObject interface
16333 where the subsystem would fault if the named object to be
16334 evaluated refered to a constant such as Zero, Ones, etc.
16335
16336 Fixed a problem with IndexFields and BankFields where the
16337 subsystem would fault if the index, data, or bank registers were
16338 not defined in the same scope as the field itself.
16339
16340 Added printf format string checking for compilers that support
16341 this feature.  Corrected more than 50 instances of issues with
16342 format specifiers within invocations of ACPI_DEBUG_PRINT
16343 throughout the core subsystem code.
16344
16345 The ASL "Revision" operator now returns the ACPI support level
16346 implemented in the core - the value "2" since the ACPI 2.0 support
16347 is more than 50% implemented.
16348
16349 Enhanced the output of the AML debugger "dump namespace" command
16350 to output in a more human-readable form.
16351
16352 Current core subsystem library code sizes are shown below.  These
16353
16354 are the code and data sizes for the acpica.lib produced by the
16355 Microsoft Visual C++ 6.0 compiler, and these values do not include
16356 any ACPI driver or OSPM code.  The debug version of the code
16357 includes the full debug trace mechanism -- leading to a much
16358
16359 larger code and data size.  Note that these values will vary
16360 depending on the efficiency of the compiler and the compiler
16361 options used during generation.
16362
16363      Previous Label (09_20_01):
16364      Non-Debug Version:    65K Code,     5K Data,     70K Total
16365      Debug Version:       138K Code,    58K Data,    196K Total
16366
16367      This Label:
16368
16369      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16370      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16371
16372 Linux:
16373
16374 Implemented a "Bad BIOS Blacklist" to track machines that have
16375 known ASL/AML problems.
16376
16377 Enhanced the /proc interface for the thermal zone driver and added
16378 support for _HOT (the critical suspend trip point).  The 'info'
16379 file now includes threshold/policy information, and allows setting
16380 of _SCP (cooling preference) and _TZP (polling frequency) values
16381 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
16382 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
16383 preference to the passive/quiet mode (if supported by the ASL).
16384
16385 Implemented a workaround for a gcc bug that resuted in an OOPs
16386 when loading the control method battery driver.
16387
16388  ----------------------------------------
16389 Summary of changes for this label: 09_20_01
16390
16391  ACPI CA Core Subsystem:
16392
16393 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
16394 modified to allow individual GPE levels to be flagged as wake-
16395 enabled (i.e., these GPEs are to remain enabled when the platform
16396 sleeps.)
16397
16398 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
16399 support wake-enabled GPEs.  This means that upon entering the
16400 sleep state, all GPEs that are not wake-enabled are disabled.
16401 When leaving the sleep state, these GPEs are reenabled.
16402
16403 A local double-precision divide/modulo module has been added to
16404 enhance portability to OS kernels where a 64-bit math library is
16405 not available.  The new module is "utmath.c".
16406
16407 Several optimizations have been made to reduce the use of CPU
16408 stack.  Originally over 2K, the maximum stack usage is now below
16409 2K at 1860  bytes (1.82k)
16410
16411 Fixed a problem with the AcpiGetFirmwareTable interface where the
16412 root table pointer was not mapped into a logical address properly.
16413
16414 Fixed a problem where a NULL pointer was being dereferenced in the
16415 interpreter code for the ASL Notify operator.
16416
16417 Fixed a problem where the use of the ASL Revision operator
16418 returned an error. This operator now returns the current version
16419 of the ACPI CA core subsystem.
16420
16421 Fixed a problem where objects passed as control method parameters
16422 to AcpiEvaluateObject were always deleted at method termination.
16423 However, these objects may end up being stored into the namespace
16424 by the called method.  The object reference count mechanism was
16425 applied to these objects instead of a force delete.
16426
16427 Fixed a problem where static strings or buffers (contained in the
16428 AML code) that are declared as package elements within the ASL
16429 code could cause a fault because the interpreter would attempt to
16430 delete them.  These objects are now marked with the "static
16431 object" flag to prevent any attempt to delete them.
16432
16433 Implemented an interpreter optimization to use operands directly
16434 from the state object instead of extracting the operands to local
16435 variables.  This reduces stack use and code size, and improves
16436 performance.
16437
16438 The module exxface.c was eliminated as it was an unnecessary extra
16439 layer of code.
16440
16441 Current core subsystem library code sizes are shown below.  These
16442 are the code and data sizes for the acpica.lib produced by the
16443 Microsoft Visual C++ 6.0 compiler, and these values do not include
16444 any ACPI driver or OSPM code.  The debug version of the code
16445 includes the full debug trace mechanism -- leading to a much
16446 larger code and data size.  Note that these values will vary
16447 depending on the efficiency of the compiler and the compiler
16448 options used during generation.
16449
16450   Non-Debug Version:  65K Code,   5K Data,   70K Total
16451 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
16452 Total  (Previously 195K)
16453
16454 Linux:
16455
16456 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
16457 Integer objects are now 64 bits wide
16458
16459 All Acpi data types and structures are now in lower case.  Only
16460 Acpi macros are upper case for differentiation.
16461
16462  Documentation:
16463
16464 Changes to the external interfaces as described above.
16465
16466  ----------------------------------------
16467 Summary of changes for this label: 08_31_01
16468
16469  ACPI CA Core Subsystem:
16470
16471 A bug with interpreter implementation of the ASL Divide operator
16472 was found and fixed.  The implicit function return value (not the
16473 explicit store operands) was returning the remainder instead of
16474 the quotient.  This was a longstanding bug and it fixes several
16475 known outstanding issues on various platforms.
16476
16477 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
16478 been further optimized for size.  There are 700 invocations of the
16479 DEBUG_PRINT macro alone, so each optimization reduces the size of
16480 the debug version of the subsystem significantly.
16481
16482 A stack trace mechanism has been implemented.  The maximum stack
16483 usage is about 2K on 32-bit platforms.  The debugger command "stat
16484 stack" will display the current maximum stack usage.
16485
16486 All public symbols and global variables within the subsystem are
16487 now prefixed with the string "Acpi".  This keeps all of the
16488 symbols grouped together in a kernel map, and avoids conflicts
16489 with other kernel subsystems.
16490
16491 Most of the internal fixed lookup tables have been moved into the
16492 code segment via the const operator.
16493
16494 Several enhancements have been made to the interpreter to both
16495 reduce the code size and improve performance.
16496
16497 Current core subsystem library code sizes are shown below.  These
16498 are the code and data sizes for the acpica.lib produced by the
16499 Microsoft Visual C++ 6.0 compiler, and these values do not include
16500 any ACPI driver or OSPM code.  The debug version of the code
16501 includes the full debug trace mechanism which contains over 700
16502 invocations of the DEBUG_PRINT macro, 500 function entry macro
16503 invocations, and over 900 function exit macro invocations --
16504 leading to a much larger code and data size.  Note that these
16505 values will vary depending on the efficiency of the compiler and
16506 the compiler options used during generation.
16507
16508         Non-Debug Version:  64K Code,   5K Data,   69K Total
16509 Debug Version:     137K Code,  58K Data,  195K Total
16510
16511  Linux:
16512
16513 Implemented wbinvd() macro, pending a kernel-wide definition.
16514
16515 Fixed /proc/acpi/event to handle poll() and short reads.
16516
16517  ASL Compiler, version X2026:
16518
16519 Fixed a problem introduced in the previous label where the AML
16520
16521 code emitted for package objects produced packages with zero
16522 length.
16523
16524  ----------------------------------------
16525 Summary of changes for this label: 08_16_01
16526
16527 ACPI CA Core Subsystem:
16528
16529 The following ACPI 2.0 ASL operators have been implemented in the
16530 AML interpreter (These are already supported by the Intel ASL
16531 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
16532 ToBuffer.  Support for 64-bit AML constants is implemented in the
16533 AML parser, debugger, and disassembler.
16534
16535 The internal memory tracking mechanism (leak detection code) has
16536 been upgraded to reduce the memory overhead (a separate tracking
16537 block is no longer allocated for each memory allocation), and now
16538 supports all of the internal object caches.
16539
16540 The data structures and code for the internal object caches have
16541 been coelesced and optimized so that there is a single cache and
16542 memory list data structure and a single group of functions that
16543 implement generic cache management.  This has reduced the code
16544 size in both the debug and release versions of the subsystem.
16545
16546 The DEBUG_PRINT macro(s) have been optimized for size and replaced
16547 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
16548 different, because it generates a single call to an internal
16549 function.  This results in a savings of about 90 bytes per
16550 invocation, resulting in an overall code and data savings of about
16551 16% in the debug version of the subsystem.
16552
16553  Linux:
16554
16555 Fixed C3 disk corruption problems and re-enabled C3 on supporting
16556 machines.
16557
16558 Integrated low-level sleep code by Patrick Mochel.
16559
16560 Further tweaked source code Linuxization.
16561
16562 Other minor fixes.
16563
16564  ASL Compiler:
16565
16566 Support for ACPI 2.0 variable length packages is fixed/completed.
16567
16568 Fixed a problem where the optional length parameter for the ACPI
16569 2.0 ToString operator.
16570
16571 Fixed multiple extraneous error messages when a syntax error is
16572 detected within the declaration line of a control method.
16573
16574  ----------------------------------------
16575 Summary of changes for this label: 07_17_01
16576
16577 ACPI CA Core Subsystem:
16578
16579 Added a new interface named AcpiGetFirmwareTable to obtain any
16580 ACPI table via the ACPI signature.  The interface can be called at
16581 any time during kernel initialization, even before the kernel
16582 virtual memory manager is initialized and paging is enabled.  This
16583 allows kernel subsystems to obtain ACPI tables very early, even
16584 before the ACPI CA subsystem is initialized.
16585
16586 Fixed a problem where Fields defined with the AnyAcc attribute
16587 could be resolved to the incorrect address under the following
16588 conditions: 1) the field width is larger than 8 bits and 2) the
16589 parent operation region is not defined on a DWORD boundary.
16590
16591 Fixed a problem where the interpreter is not being locked during
16592 namespace initialization (during execution of the _INI control
16593 methods), causing an error when an attempt is made to release it
16594 later.
16595
16596 ACPI 2.0 support in the AML Interpreter has begun and will be
16597 ongoing throughout the rest of this year.  In this label, The Mod
16598 operator is implemented.
16599
16600 Added a new data type to contain full PCI addresses named
16601 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
16602 and Function values.
16603
16604  Linux:
16605
16606 Enhanced the Linux version of the source code to change most
16607 capitalized ACPI type names to lowercase. For example, all
16608 instances of ACPI_STATUS are changed to acpi_status.  This will
16609 result in a large diff, but the change is strictly cosmetic and
16610 aligns the CA code closer to the Linux coding standard.
16611
16612 OSL Interfaces:
16613
16614 The interfaces to the PCI configuration space have been changed to
16615 add the PCI Segment number and to split the single 32-bit combined
16616 DeviceFunction field into two 16-bit fields.  This was
16617 accomplished by moving the four values that define an address in
16618 PCI configuration space (segment, bus, device, and function) to
16619 the new ACPI_PCI_ID structure.
16620
16621 The changes to the PCI configuration space interfaces led to a
16622 reexamination of the complete set of address space access
16623 interfaces for PCI, I/O, and Memory.  The previously existing 18
16624 interfaces have proven difficult to maintain (any small change
16625 must be propagated across at least 6 interfaces) and do not easily
16626 allow for future expansion to 64 bits if necessary.  Also, on some
16627 systems, it would not be appropriate to demultiplex the access
16628 width (8, 16, 32,or 64) before calling the OSL if the
16629 corresponding native OS interfaces contain a similar access width
16630 parameter.  For these reasons, the 18 address space interfaces
16631 have been replaced by these 6 new ones:
16632
16633 AcpiOsReadPciConfiguration
16634 AcpiOsWritePciConfiguration
16635 AcpiOsReadMemory
16636 AcpiOsWriteMemory
16637 AcpiOsReadPort
16638 AcpiOsWritePort
16639
16640 Added a new interface named AcpiOsGetRootPointer to allow the OSL
16641 to perform the platform and/or OS-specific actions necessary to
16642 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
16643 interface will simply call down to the CA core to perform the low-
16644 memory search for the table.  On IA-64, the RSDP is obtained from
16645 EFI.  Migrating this interface to the OSL allows the CA core to
16646
16647 remain OS and platform independent.
16648
16649 Added a new interface named AcpiOsSignal to provide a generic
16650 "function code and pointer" interface for various miscellaneous
16651 signals and notifications that must be made to the host OS.   The
16652 first such signals are intended to support the ASL Fatal and
16653 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
16654 interface has been obsoleted.
16655
16656 The definition of the AcpiFormatException interface has been
16657 changed to simplify its use.  The caller no longer must supply a
16658 buffer to the call; A pointer to a const string is now returned
16659 directly.  This allows the call to be easily used in printf
16660 statements, etc. since the caller does not have to manage a local
16661 buffer.
16662
16663
16664  ASL Compiler, Version X2025:
16665
16666 The ACPI 2.0 Switch/Case/Default operators have been implemented
16667 and are fully functional.  They will work with all ACPI 1.0
16668 interpreters, since the operators are simply translated to If/Else
16669 pairs.
16670
16671 The ACPI 2.0 ElseIf operator is implemented and will also work
16672 with 1.0 interpreters, for the same reason.
16673
16674 Implemented support for ACPI 2.0 variable-length packages.  These
16675 packages have a separate opcode, and their size is determined by
16676 the interpreter at run-time.
16677
16678 Documentation The ACPI CA Programmer Reference has been updated to
16679 reflect the new interfaces and changes to existing interfaces.
16680
16681  ------------------------------------------
16682 Summary of changes for this label: 06_15_01
16683
16684  ACPI CA Core Subsystem:
16685
16686 Fixed a problem where a DWORD-accessed field within a Buffer
16687 object would get its byte address inadvertently rounded down to
16688 the nearest DWORD.  Buffers are always Byte-accessible.
16689
16690  ASL Compiler, version X2024:
16691
16692 Fixed a problem where the Switch() operator would either fault or
16693 hang the compiler.  Note however, that the AML code for this ACPI
16694 2.0 operator is not yet implemented.
16695
16696 Compiler uses the new AcpiOsGetTimer interface to obtain compile
16697 timings.
16698
16699 Implementation of the CreateField operator automatically converts
16700 a reference to a named field within a resource descriptor from a
16701 byte offset to a bit offset if required.
16702
16703 Added some missing named fields from the resource descriptor
16704 support. These are the names that are automatically created by the
16705 compiler to reference fields within a descriptor.  They are only
16706 valid at compile time and are not passed through to the AML
16707 interpreter.
16708
16709 Resource descriptor named fields are now typed as Integers and
16710 subject to compile-time typechecking when used in expressions.
16711
16712  ------------------------------------------
16713 Summary of changes for this label: 05_18_01
16714
16715  ACPI CA Core Subsystem:
16716
16717 Fixed a couple of problems in the Field support code where bits
16718 from adjacent fields could be returned along with the proper field
16719 bits. Restructured the field support code to improve performance,
16720 readability and maintainability.
16721
16722 New DEBUG_PRINTP macro automatically inserts the procedure name
16723 into the output, saving hundreds of copies of procedure name
16724 strings within the source, shrinking the memory footprint of the
16725 debug version of the core subsystem.
16726
16727  Source Code Structure:
16728
16729 The source code directory tree was restructured to reflect the
16730 current organization of the component architecture.  Some files
16731 and directories have been moved and/or renamed.
16732
16733  Linux:
16734
16735 Fixed leaking kacpidpc processes.
16736
16737 Fixed queueing event data even when /proc/acpi/event is not
16738 opened.
16739
16740  ASL Compiler, version X2020:
16741
16742 Memory allocation performance enhancement - over 24X compile time
16743 improvement on large ASL files.  Parse nodes and namestring
16744 buffers are now allocated from a large internal compiler buffer.
16745
16746 The temporary .SRC file is deleted unless the "-s" option is
16747 specified
16748
16749 The "-d" debug output option now sends all output to the .DBG file
16750 instead of the console.
16751
16752 "External" second parameter is now optional
16753
16754 "ElseIf" syntax now properly allows the predicate
16755
16756 Last operand to "Load" now recognized as a Target operand
16757
16758 Debug object can now be used anywhere as a normal object.
16759
16760 ResourceTemplate now returns an object of type BUFFER
16761
16762 EISAID now returns an object of type INTEGER
16763
16764 "Index" now works with a STRING operand
16765
16766 "LoadTable" now accepts optional parameters
16767
16768 "ToString" length parameter is now optional
16769
16770 "Interrupt (ResourceType," parse error fixed.
16771
16772 "Register" with a user-defined region space parse error fixed
16773
16774 Escaped backslash at the end of a string ("\\") scan/parse error
16775 fixed
16776
16777 "Revision" is now an object of type INTEGER.
16778
16779
16780
16781 ------------------------------------------
16782 Summary of changes for this label: 05_02_01
16783
16784 Linux:
16785
16786 /proc/acpi/event now blocks properly.
16787
16788 Removed /proc/sys/acpi. You can still dump your DSDT from
16789 /proc/acpi/dsdt.
16790
16791  ACPI CA Core Subsystem:
16792
16793 Fixed a problem introduced in the previous label where some of the
16794 "small" resource descriptor types were not recognized.
16795
16796 Improved error messages for the case where an ASL Field is outside
16797 the range of the parent operation region.
16798
16799  ASL Compiler, version X2018:
16800
16801
16802 Added error detection for ASL Fields that extend beyond the length
16803 of the parent operation region (only if the length of the region
16804 is known at compile time.)  This includes fields that have a
16805 minimum access width that is smaller than the parent region, and
16806 individual field units that are partially or entirely beyond the
16807 extent of the parent.
16808
16809
16810
16811 ------------------------------------------
16812 Summary of changes for this label: 04_27_01
16813
16814  ACPI CA Core Subsystem:
16815
16816 Fixed a problem where the namespace mutex could be released at the
16817 wrong time during execution of AcpiRemoveAddressSpaceHandler.
16818
16819 Added optional thread ID output for debug traces, to simplify
16820 debugging of multiple threads.  Added context switch notification
16821 when the debug code realizes that a different thread is now
16822 executing ACPI code.
16823
16824 Some additional external data types have been prefixed with the
16825 string "ACPI_" for consistency.  This may effect existing code.
16826 The data types affected are the external callback typedefs - e.g.,
16827
16828 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
16829
16830  Linux:
16831
16832 Fixed an issue with the OSL semaphore implementation where a
16833 thread was waking up with an error from receiving a SIGCHLD
16834 signal.
16835
16836 Linux version of ACPI CA now uses the system C library for string
16837 manipulation routines instead of a local implementation.
16838
16839 Cleaned up comments and removed TBDs.
16840
16841  ASL Compiler, version X2017:
16842
16843 Enhanced error detection and reporting for all file I/O
16844 operations.
16845
16846  Documentation:
16847
16848 Programmer Reference updated to version 1.06.
16849
16850
16851
16852 ------------------------------------------
16853 Summary of changes for this label: 04_13_01
16854
16855  ACPI CA Core Subsystem:
16856
16857 Restructured support for BufferFields and RegionFields.
16858 BankFields support is now fully operational.  All known 32-bit
16859 limitations on field sizes have been removed.  Both BufferFields
16860 and (Operation) RegionFields are now supported by the same field
16861 management code.
16862
16863 Resource support now supports QWORD address and IO resources. The
16864 16/32/64 bit address structures and the Extended IRQ structure
16865 have been changed to properly handle Source Resource strings.
16866
16867 A ThreadId of -1 is now used to indicate a "mutex not acquired"
16868 condition internally and must never be returned by AcpiOsThreadId.
16869 This reserved value was changed from 0 since Unix systems allow a
16870 thread ID of 0.
16871
16872 Linux:
16873
16874 Driver code reorganized to enhance portability
16875
16876 Added a kernel configuration option to control ACPI_DEBUG
16877
16878 Fixed the EC driver to honor _GLK.
16879
16880 ASL Compiler, version X2016:
16881
16882 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
16883 address space was set to 0, not 0x7f as it should be.
16884
16885  ------------------------------------------
16886 Summary of changes for this label: 03_13_01
16887
16888  ACPI CA Core Subsystem:
16889
16890 During ACPI initialization, the _SB_._INI method is now run if
16891 present.
16892
16893 Notify handler fix - notifies are deferred until the parent method
16894 completes execution.  This fixes the "mutex already acquired"
16895 issue seen occasionally.
16896
16897 Part of the "implicit conversion" rules in ACPI 2.0 have been
16898 found to cause compatibility problems with existing ASL/AML.  The
16899 convert "result-to-target-type" implementation has been removed
16900 for stores to method Args and Locals.  Source operand conversion
16901 is still fully implemented.  Possible changes to ACPI 2.0
16902 specification pending.
16903
16904 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
16905 length.
16906
16907 Fix for compiler warnings for 64-bit compiles.
16908
16909  Linux:
16910
16911 /proc output aligned for easier parsing.
16912
16913 Release-version compile problem fixed.
16914
16915 New kernel configuration options documented in Configure.help.
16916
16917 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
16918 context" message.
16919
16920  OSPM:
16921
16922 Power resource driver integrated with bus manager.
16923
16924 Fixed kernel fault during active cooling for thermal zones.
16925
16926 Source Code:
16927
16928 The source code tree has been restructured.
16929
16930
16931
16932 ------------------------------------------
16933 Summary of changes for this label: 03_02_01
16934
16935  Linux OS Services Layer (OSL):
16936
16937 Major revision of all Linux-specific code.
16938
16939 Modularized all ACPI-specific drivers.
16940
16941 Added new thermal zone and power resource drivers.
16942
16943 Revamped /proc interface (new functionality is under /proc/acpi).
16944
16945 New kernel configuration options.
16946
16947  Linux known issues:
16948
16949 New kernel configuration options not documented in Configure.help
16950 yet.
16951
16952
16953 Module dependencies not currently implemented. If used, they
16954 should be loaded in this order: busmgr, power, ec, system,
16955 processor, battery, ac_adapter, button, thermal.
16956
16957 Modules will not load if CONFIG_MODVERSION is set.
16958
16959 IBM 600E - entering S5 may reboot instead of shutting down.
16960
16961 IBM 600E - Sleep button may generate "Invalid <NULL> context"
16962 message.
16963
16964 Some systems may fail with "execution mutex already acquired"
16965 message.
16966
16967  ACPI CA Core Subsystem:
16968
16969 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
16970 for the  deadlock detection code. Defined to return a non-zero, 32-
16971 bit thread ID for the currently executing thread.  May be a non-
16972 zero constant integer on single-thread systems.
16973
16974 Implemented deadlock detection for internal subsystem mutexes.  We
16975 may add conditional compilation for this code (debug only) later.
16976
16977 ASL/AML Mutex object semantics are now fully supported.  This
16978 includes multiple acquires/releases by owner and support for the
16979
16980 Mutex SyncLevel parameter.
16981
16982 A new "Force Release" mechanism automatically frees all ASL
16983 Mutexes that have been acquired but not released when a thread
16984 exits the interpreter.  This forces conformance to the ACPI spec
16985 ("All mutexes must be released when an invocation exits") and
16986 prevents deadlocked ASL threads.  This mechanism can be expanded
16987 (later) to monitor other resource acquisitions if OEM ASL code
16988 continues to misbehave (which it will).
16989
16990 Several new ACPI exception codes have been added for the Mutex
16991 support.
16992
16993 Recursive method calls are now allowed and supported (the ACPI
16994 spec does in fact allow recursive method calls.)  The number of
16995 recursive calls is subject to the restrictions imposed by the
16996 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
16997 parameter.
16998
16999 Implemented support for the SyncLevel parameter for control
17000 methods (ACPI 2.0 feature)
17001
17002 Fixed a deadlock problem when multiple threads attempted to use
17003 the interpreter.
17004
17005 Fixed a problem where the string length of a String package
17006 element was not always set in a package returned from
17007 AcpiEvaluateObject.
17008
17009 Fixed a problem where the length of a String package element was
17010 not always included in the length of the overall package returned
17011 from AcpiEvaluateObject.
17012
17013 Added external interfaces (Acpi*) to the ACPI debug memory
17014 manager.  This manager keeps a list of all outstanding
17015 allocations, and can therefore detect memory leaks and attempts to
17016 free memory blocks more than once. Useful for code such as the
17017 power manager, etc.  May not be appropriate for device drivers.
17018 Performance with the debug code enabled is slow.
17019
17020 The ACPI Global Lock is now an optional hardware element.
17021
17022  ASL Compiler Version X2015:
17023
17024 Integrated changes to allow the compiler to be generated on
17025 multiple platforms.
17026
17027 Linux makefile added to generate the compiler on Linux
17028
17029  Source Code:
17030
17031 All platform-specific headers have been moved to their own
17032 subdirectory, Include/Platform.
17033
17034 New source file added, Interpreter/ammutex.c
17035
17036 New header file, Include/acstruct.h
17037
17038  Documentation:
17039
17040 The programmer reference has been updated for the following new
17041 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
17042
17043  ------------------------------------------
17044 Summary of changes for this label: 02_08_01
17045
17046 Core ACPI CA Subsystem: Fixed a problem where an error was
17047 incorrectly returned if the return resource buffer was larger than
17048 the actual data (in the resource interfaces).
17049
17050 References to named objects within packages are resolved to the
17051
17052 full pathname string before packages are returned directly (via
17053 the AcpiEvaluateObject interface) or indirectly via the resource
17054 interfaces.
17055
17056 Linux OS Services Layer (OSL):
17057
17058 Improved /proc battery interface.
17059
17060
17061 Added C-state debugging output and other miscellaneous fixes.
17062
17063 ASL Compiler Version X2014:
17064
17065 All defined method arguments can now be used as local variables,
17066 including the ones that are not actually passed in as parameters.
17067 The compiler tracks initialization of the arguments and issues an
17068 exception if they are used without prior assignment (just like
17069 locals).
17070
17071 The -o option now specifies a filename prefix that is used for all
17072 output files, including the AML output file.  Otherwise, the
17073 default behavior is as follows:  1) the AML goes to the file
17074 specified in the DSDT.  2) all other output files use the input
17075 source filename as the base.
17076
17077  ------------------------------------------
17078 Summary of changes for this label: 01_25_01
17079
17080 Core ACPI CA Subsystem: Restructured the implementation of object
17081 store support within the  interpreter.  This includes support for
17082 the Store operator as well  as any ASL operators that include a
17083 target operand.
17084
17085 Partially implemented support for Implicit Result-to-Target
17086 conversion. This is when a result object is converted on the fly
17087 to the type of  an existing target object.  Completion of this
17088 support is pending  further analysis of the ACPI specification
17089 concerning this matter.
17090
17091 CPU-specific code has been removed from the subsystem (hardware
17092 directory).
17093
17094 New Power Management Timer functions added
17095
17096 Linux OS Services Layer (OSL): Moved system state transition code
17097 to the core, fixed it, and modified  Linux OSL accordingly.
17098
17099 Fixed C2 and C3 latency calculations.
17100
17101
17102 We no longer use the compilation date for the version message on
17103 initialization, but retrieve the version from AcpiGetSystemInfo().
17104
17105 Incorporated for fix Sony VAIO machines.
17106
17107 Documentation:  The Programmer Reference has been updated and
17108 reformatted.
17109
17110
17111 ASL Compiler:  Version X2013: Fixed a problem where the line
17112 numbering and error reporting could get out  of sync in the
17113 presence of multiple include files.
17114
17115  ------------------------------------------
17116 Summary of changes for this label: 01_15_01
17117
17118 Core ACPI CA Subsystem:
17119
17120 Implemented support for type conversions in the execution of the
17121 ASL  Concatenate operator (The second operand is converted to
17122 match the type  of the first operand before concatenation.)
17123
17124 Support for implicit source operand conversion is partially
17125 implemented.   The ASL source operand types Integer, Buffer, and
17126 String are freely  interchangeable for most ASL operators and are
17127 converted by the interpreter  on the fly as required.  Implicit
17128 Target operand conversion (where the  result is converted to the
17129 target type before storing) is not yet implemented.
17130
17131 Support for 32-bit and 64-bit BCD integers is implemented.
17132
17133 Problem fixed where a field read on an aligned field could cause a
17134 read  past the end of the field.
17135
17136 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
17137 does not return a value, but the caller expects one.  (The ASL
17138 compiler flags this as a warning.)
17139
17140 ASL Compiler:
17141
17142 Version X2011:
17143 1. Static typechecking of all operands is implemented. This
17144 prevents the use of invalid objects (such as using a Package where
17145 an Integer is required) at compile time instead of at interpreter
17146 run-time.
17147 2. The ASL source line is printed with ALL errors and warnings.
17148 3. Bug fix for source EOF without final linefeed.
17149 4. Debug option is split into a parse trace and a namespace trace.
17150 5. Namespace output option (-n) includes initial values for
17151 integers and strings.
17152 6. Parse-only option added for quick syntax checking.
17153 7. Compiler checks for duplicate ACPI name declarations
17154
17155 Version X2012:
17156 1. Relaxed typechecking to allow interchangeability between
17157 strings, integers, and buffers.  These types are now converted by
17158 the interpreter at runtime.
17159 2. Compiler reports time taken by each internal subsystem in the
17160 debug         output file.
17161
17162
17163  ------------------------------------------
17164 Summary of changes for this label: 12_14_00
17165
17166 ASL Compiler:
17167
17168 This is the first official release of the compiler. Since the
17169 compiler requires elements of the Core Subsystem, this label
17170 synchronizes everything.
17171
17172 ------------------------------------------
17173 Summary of changes for this label: 12_08_00
17174
17175
17176 Fixed a problem where named references within the ASL definition
17177 of both OperationRegions and CreateXXXFields did not work
17178 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17179 initialization of the region/field. This is similar (but not
17180 related internally) to the problem that was fixed in the last
17181 label.
17182
17183 Implemented both 32-bit and 64-bit support for the BCD ASL
17184 functions ToBCD and FromBCD.
17185
17186 Updated all legal headers to include "2000" in the copyright
17187 years.
17188
17189  ------------------------------------------
17190 Summary of changes for this label: 12_01_00
17191
17192 Fixed a problem where method invocations within the ASL definition
17193 of both OperationRegions and CreateXXXFields did not work
17194 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17195 initialization of the region/field:
17196
17197   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
17198 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
17199 (0x3005)
17200
17201 Fixed a problem where operators with more than one nested
17202 subexpression would fail.  The symptoms were varied, by mostly
17203 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
17204 problem that has gone unnoticed until now.
17205
17206   Subtract (Add (1,2), Multiply (3,4))
17207
17208 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
17209 previous build (The prefix part of a relative path was handled
17210 incorrectly).
17211
17212 Fixed a problem where Operation Region initialization failed if
17213 the operation region name was a "namepath" instead of a simple
17214 "nameseg". Symptom was an AE_NO_OPERAND error.
17215
17216 Fixed a problem where an assignment to a local variable via the
17217 indirect RefOf mechanism only worked for the first such
17218 assignment.  Subsequent assignments were ignored.
17219
17220  ------------------------------------------
17221 Summary of changes for this label: 11_15_00
17222
17223 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
17224 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
17225 the AML  interpreter does NOT have support for the new 2.0 ASL
17226 grammar terms at this time.
17227
17228 All ACPI hardware access is via the GAS structures in the ACPI 2.0
17229 FADT.
17230
17231 All physical memory addresses across all platforms are now 64 bits
17232 wide. Logical address width remains dependent on the platform
17233 (i.e., "void *").
17234
17235 AcpiOsMapMemory interface changed to a 64-bit physical address.
17236
17237 The AML interpreter integer size is now 64 bits, as per the ACPI
17238 2.0 specification.
17239
17240 For backwards compatibility with ACPI 1.0, ACPI tables with a
17241 revision number less than 2 use 32-bit integers only.
17242
17243 Fixed a problem where the evaluation of OpRegion operands did not
17244 always resolve them to numbers properly.
17245
17246 ------------------------------------------
17247 Summary of changes for this label: 10_20_00
17248
17249 Fix for CBN_._STA issue.  This fix will allow correct access to
17250 CBN_ OpRegions when the _STA returns 0x8.
17251
17252 Support to convert ACPI constants (Ones, Zeros, One) to actual
17253 values before a package object is returned
17254
17255 Fix for method call as predicate to if/while construct causing
17256 incorrect if/while behavior
17257
17258 Fix for Else block package lengths sometimes calculated wrong (if
17259 block > 63 bytes)
17260
17261 Fix for Processor object length field, was always zero
17262
17263 Table load abort if FACP sanity check fails
17264
17265 Fix for problem with Scope(name) if name already exists
17266
17267 Warning emitted if a named object referenced cannot be found
17268 (resolved) during method execution.
17269
17270
17271
17272
17273
17274 ------------------------------------------
17275 Summary of changes for this label: 9_29_00
17276
17277 New table initialization interfaces: AcpiInitializeSubsystem no
17278 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
17279 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
17280 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
17281 AcpiLoadTables
17282
17283 Note: These interface changes require changes to all existing OSDs
17284
17285 The PCI_Config default address space handler is always installed
17286 at the root namespace object.
17287
17288 -------------------------------------------
17289 Summary of changes for this label: 09_15_00
17290
17291 The new initialization architecture is implemented.  New
17292 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
17293 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
17294
17295 (Namespace is automatically loaded when a table is loaded)
17296
17297 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
17298 52 bytes to 32 bytes.  There is usually one of these for every
17299 namespace object, so the memory savings is significant.
17300
17301 Implemented just-in-time evaluation of the CreateField operators.
17302
17303 Bug fixes for IA-64 support have been integrated.
17304
17305 Additional code review comments have been implemented
17306
17307 The so-called "third pass parse" has been replaced by a final walk
17308 through the namespace to initialize all operation regions (address
17309 spaces) and fields that have not yet been initialized during the
17310 execution of the various _INI and REG methods.
17311
17312 New file - namespace/nsinit.c
17313
17314 -------------------------------------------
17315 Summary of changes for this label: 09_01_00
17316
17317 Namespace manager data structures have been reworked to change the
17318 primary  object from a table to a single object.  This has
17319 resulted in dynamic memory  savings of 3X within the namespace and
17320 2X overall in the ACPI CA subsystem.
17321
17322 Fixed problem where the call to AcpiEvFindPciRootBuses was
17323 inadvertently left  commented out.
17324
17325 Reduced the warning count when generating the source with the GCC
17326 compiler.
17327
17328 Revision numbers added to each module header showing the
17329 SourceSafe version of the file.  Please refer to this version
17330 number when giving us feedback or comments on individual modules.
17331
17332 The main object types within the subsystem have been renamed to
17333 clarify their  purpose:
17334
17335 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
17336 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
17337 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
17338
17339 NOTE: no changes to the initialization sequence are included in
17340 this label.
17341
17342 -------------------------------------------
17343 Summary of changes for this label: 08_23_00
17344
17345 Fixed problem where TerminateControlMethod was being called
17346 multiple times per  method
17347
17348 Fixed debugger problem where single stepping caused a semaphore to
17349 be  oversignalled
17350
17351 Improved performance through additional parse object caching -
17352 added  ACPI_EXTENDED_OP type
17353
17354 -------------------------------------------
17355 Summary of changes for this label: 08_10_00
17356
17357 Parser/Interpreter integration:  Eliminated the creation of
17358 complete parse trees  for ACPI tables and control methods.
17359 Instead, parse subtrees are created and  then deleted as soon as
17360 they are processed (Either entered into the namespace or  executed
17361 by the interpreter).  This reduces the use of dynamic kernel
17362 memory  significantly. (about 10X)
17363
17364 Exception codes broken into classes and renumbered.  Be sure to
17365 recompile all  code that includes acexcep.h.  Hopefully we won't
17366 have to renumber the codes  again now that they are split into
17367 classes (environment, programmer, AML code,  ACPI table, and
17368 internal).
17369
17370 Fixed some additional alignment issues in the Resource Manager
17371 subcomponent
17372
17373 Implemented semaphore tracking in the AcpiExec utility, and fixed
17374 several places  where mutexes/semaphores were being unlocked
17375 without a corresponding lock  operation.  There are no known
17376 semaphore or mutex "leaks" at this time.
17377
17378 Fixed the case where an ASL Return operator is used to return an
17379 unnamed  package.
17380
17381 -------------------------------------------
17382 Summary of changes for this label: 07_28_00
17383
17384 Fixed a problem with the way addresses were calculated in
17385 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
17386 manifested itself when a Field was  created with WordAccess or
17387 DwordAccess, but the field unit defined within the  Field was less
17388
17389 than a Word or Dword.
17390
17391 Fixed a problem in AmlDumpOperands() module's loop to pull
17392 operands off of the  operand stack to display information. The
17393 problem manifested itself as a TLB  error on 64-bit systems when
17394 accessing an operand stack with two or more  operands.
17395
17396 Fixed a problem with the PCI configuration space handlers where
17397 context was  getting confused between accesses. This required a
17398 change to the generic address  space handler and address space
17399 setup definitions. Handlers now get both a  global handler context
17400 (this is the one passed in by the user when executing
17401 AcpiInstallAddressSpaceHandler() and a specific region context
17402 that is unique to  each region (For example, the _ADR, _SEG and
17403 _BBN values associated with a  specific region). The generic
17404 function definitions have changed to the  following:
17405
17406 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
17407 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
17408 *HandlerContext, // This used to be void *Context void
17409 *RegionContext); // This is an additional parameter
17410
17411 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
17412 RegionHandle, UINT32 Function, void *HandlerContext,  void
17413 **RegionContext); // This used to be **ReturnContext
17414
17415 -------------------------------------------
17416 Summary of changes for this label: 07_21_00
17417
17418 Major file consolidation and rename.  All files within the
17419 interpreter have been  renamed as well as most header files.  This
17420 was done to prevent collisions with  existing files in the host
17421 OSs -- filenames such as "config.h" and "global.h"  seem to be
17422 quite common.  The VC project files have been updated.  All
17423 makefiles  will require modification.
17424
17425 The parser/interpreter integration continues in Phase 5 with the
17426 implementation  of a complete 2-pass parse (the AML is parsed
17427 twice) for each table;  This  avoids the construction of a huge
17428 parse tree and therefore reduces the amount of  dynamic memory
17429 required by the subsystem.  Greater use of the parse object cache
17430 means that performance is unaffected.
17431
17432 Many comments from the two code reviews have been rolled in.
17433
17434 The 64-bit alignment support is complete.
17435
17436 -------------------------------------------
17437 Summary of changes for this label: 06_30_00
17438
17439 With a nod and a tip of the hat to the technology of yesteryear,
17440 we've added  support in the source code for 80 column output
17441 devices.  The code is now mostly  constrained to 80 columns or
17442 less to support environments and editors that 1)  cannot display
17443 or print more than 80 characters on a single line, and 2) cannot
17444 disable line wrapping.
17445
17446 A major restructuring of the namespace data structure has been
17447 completed.  The  result is 1) cleaner and more
17448 understandable/maintainable code, and 2) a  significant reduction
17449 in the dynamic memory requirement for each named ACPI  object
17450 (almost half).
17451
17452 -------------------------------------------
17453 Summary of changes for this label: 06_23_00
17454
17455 Linux support has been added.  In order to obtain approval to get
17456 the ACPI CA  subsystem into the Linux kernel, we've had to make
17457 quite a few changes to the  base subsystem that will affect all
17458 users (all the changes are generic and OS- independent).  The
17459 effects of these global changes have been somewhat far  reaching.
17460 Files have been merged and/or renamed and interfaces have been
17461 renamed.   The major changes are described below.
17462
17463 Osd* interfaces renamed to AcpiOs* to eliminate namespace
17464 pollution/confusion  within our target kernels.  All OSD
17465 interfaces must be modified to match the new  naming convention.
17466
17467 Files merged across the subsystem.  A number of the smaller source
17468 and header  files have been merged to reduce the file count and
17469 increase the density of the  existing files.  There are too many
17470 to list here.  In general, makefiles that  call out individual
17471 files will require rebuilding.
17472
17473 Interpreter files renamed.  All interpreter files now have the
17474 prefix am*  instead of ie* and is*.
17475
17476 Header files renamed:  The acapi.h file is now acpixf.h.  The
17477 acpiosd.h file is  now acpiosxf.h.  We are removing references to
17478 the acronym "API" since it is  somewhat windowsy. The new name is
17479 "external interface" or xface or xf in the  filenames.j
17480
17481
17482 All manifest constants have been forced to upper case (some were
17483 mixed case.)   Also, the string "ACPI_" has been prepended to many
17484 (not all) of the constants,  typedefs, and structs.
17485
17486 The globals "DebugLevel" and "DebugLayer" have been renamed
17487 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
17488
17489 All other globals within the subsystem are now prefixed with
17490 "AcpiGbl_" Internal procedures within the subsystem are now
17491 prefixed with "Acpi" (with only  a few exceptions).  The original
17492 two-letter abbreviation for the subcomponent  remains after "Acpi"
17493 - for example, CmCallocate became AcpiCmCallocate.
17494
17495 Added a source code translation/conversion utility.  Used to
17496 generate the Linux  source code, it can be modified to generate
17497 other types of source as well. Can  also be used to cleanup
17498 existing source by removing extraneous spaces and blank  lines.
17499 Found in tools/acpisrc/*
17500
17501 OsdUnMapMemory was renamed to OsdUnmapMemory and then
17502 AcpiOsUnmapMemory.  (UnMap  became Unmap).
17503
17504 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
17505 When set to  one, this indicates that the caller wants to use the
17506
17507 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
17508 both types.  However, implementers of this  call may want to use
17509 different OS primitives depending on the type of semaphore
17510 requested.  For example, some operating systems provide separate
17511
17512 "mutex" and  "semaphore" interfaces - where the mutex interface is
17513 much faster because it  doesn't have all the overhead of a full
17514 semaphore implementation.
17515
17516 Fixed a deadlock problem where a method that accesses the PCI
17517 address space can  block forever if it is the first access to the
17518 space.
17519
17520 -------------------------------------------
17521 Summary of changes for this label: 06_02_00
17522
17523 Support for environments that cannot handle unaligned data
17524 accesses (e.g.  firmware and OS environments devoid of alignment
17525 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
17526 been added (via configurable macros) in  these three areas: -
17527 Transfer of data from the raw AML byte stream is done via byte
17528 moves instead of    word/dword/qword moves. - External objects are
17529 aligned within the user buffer, including package   elements (sub-
17530 objects). - Conversion of name strings to UINT32 Acpi Names is now
17531 done byte-wise.
17532
17533 The Store operator was modified to mimic Microsoft's
17534 implementation when storing  to a Buffer Field.
17535
17536 Added a check of the BM_STS bit before entering C3.
17537
17538 The methods subdirectory has been obsoleted and removed.  A new
17539 file, cmeval.c  subsumes the functionality.
17540
17541 A 16-bit (DOS) version of AcpiExec has been developed.  The
17542 makefile is under  the acpiexec directory.