]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/dev/acpica/changes.txt
Merge ACPICA 20180313.
[FreeBSD/FreeBSD.git] / sys / contrib / dev / acpica / changes.txt
1 ----------------------------------------
2 13 March 2018. Summary of changes for version 20180313:
3
4
5 1) ACPICA kernel-resident subsystem:
6
7 Implemented various improvements to the GPE support:
8
9 1) Dispatch all active GPEs at initialization time so that no GPEs are 
10 lost.
11 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled 
12 before devices are enumerated.
13 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that 
14 IRQs are not lost.
15 4) Add parallel GPE handling to eliminate the possibility of dispatching 
16 the same GPE twice.
17 5) Dispatch any pending GPEs after enabling for the first time.
18
19 AcpiGetObjectInfo - removed support for the _STA method. This was causing 
20 problems on some platforms.
21
22 Added a new _OSI string, "Windows 2017.2".
23
24 Cleaned up and simplified the module-level code support. These changes 
25 are in preparation for the eventual removal of the legacy MLC support 
26 (deferred execution), replaced by the new MLC architecture which executes 
27 the MLC as a table is loaded (DSDT/SSDTs).
28
29 Changed a compile-time option to a runtime option. Changes the option to 
30 ignore ACPI table load-time package resolution errors into a runtime 
31 option. Used only for platforms that generate many AE_NOT_FOUND errors 
32 during boot. AcpiGbl_IgnorePackageResolutionErrors.
33
34 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some 
35 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid 
36 compilation errors from unused variables (seen with some compilers).
37
38
39 2) iASL Compiler/Disassembler and Tools:
40
41 ASLTS: parallelized execution in order to achieve an (approximately) 2X 
42 performance increase.
43
44 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves 
45 error reporting.
46
47 ----------------------------------------
48 09 February 2018. Summary of changes for version 20180209:
49
50
51 1) ACPICA kernel-resident subsystem:
52
53 Completed the final integration of the recent changes to Package Object 
54 handling and the module-level AML code support. This allows forward 
55 references from individual package elements when the package object is 
56 declared from within module-level code blocks. Provides compatibility 
57 with other ACPI implementations.
58
59 The new architecture for the AML module-level code has been completed and 
60 is now the default for the ACPICA code. This new architecture executes 
61 the module-level code in-line as the ACPI table is loaded/parsed instead 
62 of the previous architecture which deferred this code until after the 
63 table was fully loaded. This solves some ASL code ordering issues and 
64 provides compatibility with other ACPI implementations. At this time, 
65 there is an option to fallback to the earlier architecture, but this 
66 support is deprecated and is planned to be completely removed later this 
67 year.
68
69 Added a compile-time option to ignore AE_NOT_FOUND exceptions during 
70 resolution of named reference elements within Package objects. Although 
71 this is potentially a serious problem, it can generate a lot of 
72 noise/errors on platforms whose firmware carries around a bunch of unused 
73 Package objects. To disable these errors, define 
74 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All 
75 errors are always reported for ACPICA applications such as AcpiExec.
76
77 Fixed a regression related to the explicit type-conversion AML operators 
78 (ToXXXX). The regression was introduced early in 2017 but was not seen 
79 until recently because these operators are not fully supported by other 
80 ACPI implementations and are thus rarely used by firmware developers. The 
81 operators are defined by the ACPI specification to not implement the 
82 "implicit result object conversion". The regression incorrectly 
83 introduced this object conversion for the following explicit conversion 
84 operators:
85     ToInteger
86     ToString
87     ToBuffer
88     ToDecimalString
89     ToHexString
90     ToBCD
91     FromBCD
92
93
94 2) iASL Compiler/Disassembler and Tools:
95
96 iASL: Fixed a problem with the compiler constant folding feature as 
97 related to the ToXXXX explicit conversion operators. These operators do 
98 not support the "implicit result object conversion" by definition. Thus, 
99 ASL expressions that use these operators cannot be folded to a simple 
100 Store operator because Store implements the implicit conversion. This 
101 change uses the CopyObject operator for the ToXXXX operator folding 
102 instead. CopyObject is defined to not implement implicit result 
103 conversions and is thus appropriate for folding the ToXXXX operators.
104
105 iASL: Changed the severity of an error condition to a simple warning for 
106 the case where a symbol is declared both locally and as an external 
107 symbol. This accommodates existing ASL code.
108
109 AcpiExec: The -ep option to enable the new architecture for module-level 
110 code has been removed. It is replaced by the -dp option which instead has 
111 the opposite effect: it disables the new architecture (the default) and 
112 enables the legacy architecture. When the legacy code is removed in the 
113 future, the -dp option will be removed also.
114
115 ----------------------------------------
116 05 January 2018. Summary of changes for version 20180105:
117
118
119 1) ACPICA kernel-resident subsystem:
120
121 Updated all copyrights to 2018. This affects all source code modules.
122
123 Fixed a possible build error caused by an unresolved reference to the 
124 AcpiUtSafeStrncpy function.
125
126 Removed NULL pointer arithmetic in the various pointer manipulation 
127 macros. All "(void *) NULL" constructs are converted to "(void *) 0". 
128 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
129
130 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj 
131 Mittal.
132
133
134 2) iASL Compiler/Disassembler and Tools:
135
136 ASLTS: Updated all copyrights to 2018.
137
138 Tools: Updated all signon copyrights to 2018.
139
140 AcpiXtract: Fixed a regression related to ACPI table signatures where the 
141 signature was truncated to 3 characters (instead of 4).
142
143 AcpiExec: Restore the original terminal mode after the use of the -v and 
144 -vd options.
145
146 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
147
148 ----------------------------------------
149 14 December 2017. Summary of changes for version 20171214:
150
151
152 1) ACPICA kernel-resident subsystem:
153
154 Fixed a regression in the external (public) AcpiEvaluateObjectTyped 
155 interface where the optional "pathname" argument had inadvertently become 
156 a required argument returning an error if omitted (NULL pointer 
157 argument).
158
159 Fixed two possible memory leaks related to the recently developed "late 
160 resolution" of reference objects within ASL Package Object definitions.
161
162 Added two recently defined _OSI strings: "Windows 2016" and "Windows 
163 2017". Mario Limonciello.
164
165 Implemented and deployed a safer version of the C library function 
166 strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the 
167 creation of unterminated strings as a possible result of a standard 
168 strncpy.
169
170 Cleaned up and restructured the global variable file (acglobal.h). There 
171 are many changes, but no functional changes.
172
173
174 2) iASL Compiler/Disassembler and Tools:
175
176 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the 
177 optional OemData field at the end of the table was incorrectly required 
178 for proper compilation. It is now correctly an optional field.
179
180 ASLTS: The entire suite was converted from standard ASL to the ASL+ 
181 language, using the ASL-to-ASL+ converter which is integrated into the 
182 iASL compiler. A binary compare of all output files has verified the 
183 correctness of the conversion.
184
185 iASL: Fixed the source code build for platforms where "char" is unsigned. 
186 This affected the iASL lexer only. Jung-uk Kim.
187
188 ----------------------------------------
189 10 November 2017. Summary of changes for version 20171110:
190
191
192 1) ACPICA kernel-resident subsystem:
193
194 This release implements full support for ACPI 6.2A:
195     NFIT - Added a new subtable, "Platform Capabilities Structure"
196 No other changes to ACPICA were required, since ACPI 6.2A is primarily an 
197 errata release of the specification.
198
199 Other ACPI table changes:
200     IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
201     PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy 
202 Linton
203
204 Utilities: Modified the string/integer conversion functions to use 
205 internal 64-bit divide support instead of a native divide. On 32-bit 
206 platforms, a 64-bit divide typically requires a library function which 
207 may not be present in the build (kernel or otherwise).
208
209 Implemented a targeted error message for timeouts returned from the 
210 Embedded Controller device driver. This is seen frequently enough to 
211 special-case an AE_TIME returned from an EC operation region access:
212     "Timeout from EC hardware or EC device driver"
213
214 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all 
215 runtime error messages have the identical prefix.
216
217
218 2) iASL Compiler/Disassembler and Tools:
219
220 AcpiXtract: Fixed a problem with table header detection within the 
221 acpidump file. Processing a table could be ended early if a 0x40 (@) 
222 appears in the original binary table, resulting in the @ symbol appearing 
223 in the decoded ASCII field at the end of the acpidump text line. The 
224 symbol caused acpixtract to incorrectly think it had reached the end of 
225 the current table and the beginning of a new table.
226
227 AcpiXtract: Added an option (-f) to ignore some errors during table 
228 extraction. This initial implementation ignores non-ASCII and non-
229 printable characters found in the acpidump text file.
230
231 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics 
232 for ASLTS. This feature is used to track memory allocations from 
233 different memory caches within the ACPICA code. At the end of an ASLTS 
234 run, these memory statistics are recorded and stored in a log file.
235
236 Debugger (user-space version): Implemented a simple "Background" command. 
237 Creates a new thread to execute a control method in the background, while 
238 control returns to the debugger prompt to allow additional commands.
239     Syntax: Background <Namepath> [Arguments]
240
241 ----------------------------------------
242 29 September 2017. Summary of changes for version 20170929:
243
244
245 1) ACPICA kernel-resident subsystem:
246
247 Redesigned and implemented an improved ASL While() loop timeout 
248 mechanism. This mechanism is used to prevent infinite loops in the kernel 
249 AML interpreter caused by either non-responsive hardware or incorrect AML 
250 code. The new implementation uses AcpiOsGetTimer instead of a simple 
251 maximum loop count, and is thus more accurate and constant across 
252 different machines. The default timeout is currently 30 seconds, but this 
253 may be adjusted later.
254
255 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to 
256 better reflect the new implementation of the loop timeout mechanism.
257
258 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support 
259 and to fix an off-by-one error. Jung-uk Kim.
260
261 Fixed an EFI build problem by updating the makefiles to for a new file 
262 that was added, utstrsuppt.c
263
264
265 2) iASL Compiler/Disassembler and Tools:
266
267 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This 
268 includes support in the table disassembler, compiler, and template 
269 generator.
270
271 iASL: Added an exception for an illegal type of recursive method 
272 invocation. If a method creates named objects, the first recursive call 
273 will fail at runtime. This change adds an error detection at compile time 
274 to catch the problem up front. Note: Marking such a method as 
275 "serialized" will not help with this problem, because the same thread can 
276 acquire the method mutex more than once. Example compiler and runtime 
277 output:
278
279     Method (MTH1)
280     {
281         Name (INT1, 1)
282         MTH1 ()
283     }
284
285     dsdt.asl     22: MTH1 ()
286     Error    6152 -  ^ Illegal recursive call to method
287                        that creates named objects (MTH1)
288
289 Previous runtime exception:
290     ACPI Error: [INT1] Namespace lookup failure,
291     AE_ALREADY_EXISTS (20170831/dswload2-465)
292
293 iASL: Updated support for External() opcodes to improve namespace 
294 management and error detection. These changes are related to issues seen 
295 with multiple-segment namespace pathnames within External declarations, 
296 such as below:
297
298     External(\_SB.PCI0.GFX0, DeviceObj)
299     External(\_SB.PCI0.GFX0.ALSI)
300
301 iASL: Implemented support for multi-line error/warning messages. This 
302 enables more detailed and helpful error messages as below, from the 
303 initial deployment for the duplicate names error:
304
305     DSDT.iiii   1692:       Device(PEG2) {
306     Error    6074 -                  ^ Name already exists in scope 
307 (PEG2)
308
309         Original name creation/declaration below:
310         DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
311
312 AcpiXtract: Added additional flexibility to support differing input hex 
313 dump formats. Specifically, hex dumps that contain partial disassembly 
314 and/or comments within the ACPI table data definition. There exist some 
315 dump utilities seen in the field that create this type of hex dump (such 
316 as Simics). For example:
317
318     DSDT @ 0xdfffd0c0 (10999 bytes)
319         Signature DSDT
320         Length 10999
321         Revision 1
322         Checksum 0xf3 (Ok)
323         OEM_ID BXPC
324         OEM_table_id BXDSDT
325         OEM_revision 1
326         Creator_id 1280593481
327         Creator_revision 537399345
328       0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
329       ...
330       2af0: 5f 4c 30 46 00 a4 01
331
332 Test suite: Miscellaneous changes/fixes:
333     More cleanup and simplification of makefiles
334     Continue compilation of test cases after a compile failure
335     Do not perform binary compare unless both files actually exist
336
337 iASL: Performed some code/module restructuring. Moved all memory 
338 allocation functions to new modules. Two new files, aslallocate.c and 
339 aslcache.c
340
341 ----------------------------------------
342 31 August 2017. Summary of changes for version 20170831:
343
344
345 1) ACPICA kernel-resident subsystem:
346
347 Implemented internal support for full 64-bit addresses that appear in all 
348 Generic Address Structure (GAS) structures. Previously, only the lower 32 
349 bits were used. Affects the use of GAS structures in the FADT and other 
350 tables, as well as the GAS structures passed to the AcpiRead and 
351 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
352
353 Added header support for the PDTT ACPI table (Processor Debug Trigger 
354 Table). Full support in the iASL Data Table Compiler and disassembler is 
355 forthcoming.
356
357
358 2) iASL Compiler/Disassembler and Tools:
359
360 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
361 Properties Topology Table) where a flag bit was specified in the wrong 
362 bit position ("Line Size Valid", bit 6).
363
364 iASL: Implemented support for Octal integer constants as defined by the 
365 ASL language grammar, per the ACPI specification. Any integer constant 
366 that starts with a zero is an octal constant. For example,
367     Store (037777, Local0) /* Octal constant */
368     Store (0x3FFF, Local0) /* Hex equivalent */
369     Store (16383,  Local0) /* Decimal equivalent */
370
371 iASL: Improved overflow detection for 64-bit string conversions during 
372 compilation of integer constants. "Overflow" in this case means a string 
373 that represents an integer that is too large to fit into a 64-bit value. 
374 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
375 the low-order 32 bits with a warning, as previously implemented. Several 
376 new exceptions are defined that indicate a 64-bit overflow, as well as 
377 the base (radix) that was used during the attempted conversion. Examples:
378     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
379     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
380     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
381
382 iASL: Added a warning for the case where a ResourceTemplate is declared 
383 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
384 this case, the resulting template is created with a single END_TAG 
385 descriptor, which is essentially useless.
386
387 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
388 include compilation error codes as well.
389
390 ----------------------------------------
391 28 July 2017. Summary of changes for version 20170728:
392
393
394 1) ACPICA kernel-resident subsystem:
395
396 Fixed a regression seen with small resource descriptors that could cause 
397 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
398
399 AML interpreter: Implemented a new feature that allows forward references 
400 from individual named references within package objects that are 
401 contained within blocks of "module-level code". This provides 
402 compatibility with other ACPI implementations and supports existing 
403 firmware that depends on this feature. Example:
404
405     Name (ABCD, 1)
406     If (ABCD)                       /* An If() at module-level */
407     {
408         Name (PKG1, Package()
409         {
410             INT1                    /* Forward reference to object INT1 
411 */
412         })
413         Name (INT1, 0x1234)
414     }
415
416 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
417 to some ASL objects were not handled properly. Objects affected are: 
418 Mutex, Event, and OperationRegion.
419
420 AML Debugger: Enhanced to properly handle AML Alias objects. These 
421 objects have one level of indirection which was not fully supported by 
422 the debugger.
423
424 Table Manager: Added support to detect and ignore duplicate SSDTs within 
425 the XSDT/RSDT. This error in the XSDT has been seen in the field.
426
427 EFI and EDK2 support:
428     Enabled /WX flag for MSVC builds
429     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
430     Added local support for 64-bit multiply and shift operations
431     Added support to compile acpidump.efi on Windows
432     Added OSL function stubs for interfaces not used under EFI
433
434 Added additional support for the _DMA predefined name. _DMA returns a 
435 buffer containing a resource template. This change add support within the 
436 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
437 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
438
439
440 2) iASL Compiler/Disassembler and Tools:
441
442 iASL: Fixed a problem where the internal input line buffer(s) could 
443 overflow if there are very long lines in the input ASL source code file. 
444 Implemented buffer management that automatically increases the size of 
445 the buffers as necessary.
446
447 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
448 errors. If the specified exception is not raised during compilation, the 
449 compiler emits an error. This is intended to support the ASL test suite, 
450 but may be useful in other contexts.
451
452 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
453 string containing the name of the current control method that is being 
454 compiled.
455
456 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
457 table (Software Delegated Exception Interface). James Morse 
458 <james.morse@arm.com>
459
460 Unix/Linux makefiles: Added an option to disable compile optimizations. 
461 The disable occurs when the NOOPT flag is set to TRUE. 
462 theracermaster@gmail.com
463
464 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
465 when there are different tables for 32-bit versus 64-bit.
466
467 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
468 unnecessary/verbose text, and emit the actual line number where an error 
469 has occurred. These changes are intended to improve the usefulness of the 
470 test suite.
471
472 ----------------------------------------
473 29 June 2017. Summary of changes for version 20170629:
474
475
476 1) ACPICA kernel-resident subsystem:
477
478 Tables: Implemented a deferred ACPI table verification. This is useful 
479 for operating systems where the tables cannot be verified in the early 
480 initialization stage due to early memory mapping limitations on some 
481 architectures. Lv Zheng.
482
483 Tables: Removed the signature validation for dynamically loaded tables. 
484 Provides compatibility with other ACPI implementations. Previously, only 
485 SSDT tables were allowed, as per the ACPI specification. Now, any table 
486 signature can be used via the Load() operator. Lv Zheng.
487
488 Tables: Fixed several mutex issues that could cause errors during table 
489 acquisition. Lv Zheng.
490
491 Tables: Fixed a problem where an ACPI warning could be generated if a 
492 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
493
494 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
495 AcpiPutTable interfaces. This applies to the "late stage" table loading 
496 when the use of AcpiPutTable is no longer required (since the system 
497 memory manager is fully running and available). Lv Zheng.
498
499 Fixed/Reverted a regression during processing of resource descriptors 
500 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
501 exception in this case.
502
503 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
504 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
505
506 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
507 or duplicate target is encountered during Alias creation in 
508 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
509
510 Added an option to use designated initializers for function pointers. 
511 Kees Cook <keescook@google.com>
512
513
514 2) iASL Compiler/Disassembler and Tools:
515
516 iASL: Allow compilation of External declarations with target pathnames 
517 that refer to existing named objects within the table. Erik Schmauss.
518
519 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
520 FieldUnit name also is declared via External in the same table. Erik 
521 Schmauss.
522
523 iASL: Allow existing scope names within pathnames used in External 
524 statements. For example:
525     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
526     Device (ABCD)
527
528 iASL: IORT ACPI table: Implemented changes required to decode the new 
529 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
530 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
531
532 Disassembler: Don't abort disassembly on errors from External() 
533 statements. Erik Schmauss.
534
535 Disassembler: fixed a possible fault when one of the Create*Field 
536 operators references a Resource Template. ACPICA Bugzilla 1396.
537
538 iASL: In the source code, resolved some naming inconsistences across the 
539 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
540 Adds a new file, aslparseop.c
541
542 ----------------------------------------
543 31 May 2017. Summary of changes for version 20170531:
544
545
546 0) ACPI 6.2 support:
547
548 The ACPI specification version 6.2 has been released and is available at
549 http://uefi.org/specifications
550
551 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
552 are summarized below.
553
554 New ACPI tables (Table Compiler/Disassembler/Templates):
555     HMAT (Heterogeneous Memory Attributes Table)
556     WSMT (Windows SMM Security Mitigation Table)
557     PPTT (Processor Properties Topology Table)
558
559 New subtables for existing ACPI tables:
560     HEST (New subtable, Arch-deferred machine check)
561     SRAT (New subtable, Arch-specific affinity structure)
562     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
563
564 Simple updates for existing ACPI tables:
565     BGRT (two new flag bits)
566     HEST (New bit defined for several subtables, GHES_ASSIST)
567
568 New Resource Descriptors and Resource macros (Compiler/Disassembler):
569     PinConfig()
570     PinFunction()
571     PinGroup()
572     PinGroupConfig()
573     PinGroupFunction()
574     New type for hardware error notification (section 18.3.2.9)
575
576 New predefined names/methods (Compiler/Interpreter):
577     _HMA (Heterogeneous Memory Attributes)
578     _LSI (Label Storage Information)
579     _LSR (Label Storage Read)
580     _LSW (Label Storage Write)
581
582 ASL grammar/macro changes (Compiler):
583     For() ASL macro, implemented with the AML while operator
584     Extensions to Concatenate operator
585     Support for multiple definition blocks in same ASL file
586     Clarification for Buffer operator
587     Allow executable AML code underneath all scopes (Devices, etc.)
588     Clarification/change for the _OSI return value
589     ASL grammar update for reference operators
590     Allow a zero-length string for AML filename in DefinitionBlock
591
592 Miscellaneous:
593     New device object notification value
594     Remove a notify value (0x0C) for graceful shutdown
595     New UUIDs for processor/cache properties and
596         physical package property
597     New _HID, ACPI0014 (Wireless Power Calibration Device)
598
599
600 1) ACPICA kernel-resident subsystem:
601
602 Added support to disable ACPI events on hardware-reduced platforms. 
603 Eliminates error messages of the form "Could not enable fixed event". Lv 
604 Zheng
605
606 Fixed a problem using Device/Thermal objects with the ObjectType and 
607 DerefOf ASL operators. This support had not been fully/properly 
608 implemented.
609
610 Fixed a problem where if a Buffer object containing a resource template 
611 was longer than the actual resource template, an error was generated -- 
612 even though the AML is legal. This case has been seen in the field.
613
614 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
615 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
616
617 Added header file changes for the TPM2 ACPI table. Update to new version 
618 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
619
620 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
621 These interfaces are intended to be used only in conjunction with the 
622 predefined _DLM method (Device Lock Method). "This object appears in a 
623 device scope when AML access to the device must be synchronized with the 
624 OS environment".
625
626 Example Code and Data Size: These are the sizes for the OS-independent 
627 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
628 debug version of the code includes the debug output trace mechanism and 
629 has a much larger code and data size.
630
631   Current Release:
632     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
633     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
634   Previous Release:
635     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
636     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
637
638
639 2) iASL Compiler/Disassembler and Tools:
640
641 iASL: Fixed a problem where an External() declaration could not refer to 
642 a Field Unit. Erik Schmauss.
643
644 Disassembler: Improved support for the Switch/Case operators. This 
645 feature will disassemble AML code back to the original Switch operators 
646 when possible, instead of an If..Else sequence. David Box
647
648 iASL and disassembler: Improved the handling of multiple extraneous 
649 parentheses for both ASL input and disassembled ASL output.
650
651 Improved the behavior of the iASL compiler and disassembler to detect 
652 improper use of external declarations
653
654 Disassembler: Now aborts immediately upon detection of an unknown AML 
655 opcode. The AML parser has no real way to recover from this, and can 
656 result in the creation of an ill-formed parse tree that causes errors 
657 later during the disassembly.
658
659 All tools: Fixed a problem where the Unix application OSL did not handle 
660 control-c correctly. For example, a control-c could incorrectly wake the 
661 debugger.
662
663 AcpiExec: Improved the Control-C handling and added a handler for 
664 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
665 environments.
666
667 Reduced the verbosity of the generic unix makefiles. Previously, each 
668 compilation displayed the full set of compiler options. This has been 
669 eliminated as the options are easily inspected within the makefiles. Each 
670 compilation now results in a single line of output.
671
672 ----------------------------------------
673 03 March 2017. Summary of changes for version 20170303:
674
675
676 0) ACPICA licensing:
677
678 The licensing information at the start of each source code module has 
679 been updated. In addition to the Intel license, the dual GPLv2/BSD 
680 license has been added for completeness. Now, a single version of the 
681 source code should be suitable for all ACPICA customers. This is the 
682 major change for this release since it affects all source code modules.
683
684
685 1) ACPICA kernel-resident subsystem: 
686
687 Fixed two issues with the common asltypes.h header that could cause 
688 problems in some environments: (Kim Jung-uk)
689     Removed typedef for YY_BUFFER_STATE ?
690        Fixes an error with earlier versions of Flex.
691     Removed use of FILE typedef (which is only defined in stdio.h)
692
693
694 2) iASL Compiler/Disassembler and Tools: 
695
696 Disassembler: fixed a regression introduced in 20170224. A fix for a 
697 memory leak related to resource descriptor tags (names) could fault when 
698 the disassembler was generated with 64-bit compilers.
699
700 The ASLTS test suite has been updated to implement a new testing 
701 architecture. During generation of the suite from ASL source, both the 
702 ASL and ASL+ compilers are now validated, as well as the disassembler 
703 itself (Erik Schmauss). The architecture executes as follows:
704
705     For every ASL source module:
706         Compile (legacy ASL compilation)
707         Disassemble the resulting AML to ASL+ source code
708         Compile the new ASL+ module
709         Perform a binary compare on the legacy AML and the new ASL+ AML
710     The ASLTS suite then executes normally using the AML binaries.
711
712 ----------------------------------------
713 24 February 2017. Summary of changes for version 20170224:
714
715
716 1) ACPICA kernel-resident subsystem:
717
718 Interpreter: Fixed two issues with the control method return value auto-
719 repair feature, where an attempt to double-delete an internal object 
720 could result in an ACPICA warning (for _CID repair and others). No fault 
721 occurs, however, because the attempted deletion (actually a release to an 
722 internal cache) is detected and ignored via object poisoning.
723
724 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
725 of control methods. If certain debugger commands are executed during 
726 stepping, a mutex aquire/release error could occur. Lv Zheng.
727
728 Fixed some issues generating ACPICA with the Intel C compiler by 
729 restoring the original behavior and compiler-specific include file in 
730 acenv.h. Lv Zheng.
731
732 Example Code and Data Size: These are the sizes for the OS-independent 
733 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
734 debug version of the code includes the debug output trace mechanism and 
735 has a much larger code and data size.
736
737   Current Release:
738     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
739     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
740   Previous Release:
741     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
742     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
743
744
745 2) iASL Compiler/Disassembler and Tools:
746
747 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
748 tool has been designed, implemented, and included in this release. The 
749 key feature of this utility is that the original comments within the 
750 input ASL file are preserved during the conversion process, and included 
751 within the converted ASL+ file -- thus creating a transparent conversion 
752 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
753
754     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
755 converted code
756
757 iASL/Disassembler: Improved the detection and correct disassembly of 
758 Switch/Case operators. This feature detects sequences of if/elseif/else 
759 operators that originated from ASL Switch/Case/Default operators and 
760 emits the original operators. David Box.
761
762 iASL: Improved the IORT ACPI table support in the following areas. Lv 
763 Zheng:
764     Clear MappingOffset if the MappingCount is zero.
765     Fix the disassembly of the SMMU GSU interrupt offset.
766     Update the template file for the IORT table.
767
768 Disassembler: Enhanced the detection and disassembly of resource 
769 template/descriptor within a Buffer object. An EndTag descriptor is now 
770 required to have a zero second byte, since all known ASL compilers emit 
771 this. This helps eliminate incorrect decisions when a buffer is 
772 disassembled (false positives on resource templates).
773
774 ----------------------------------------
775 19 January 2017. Summary of changes for version 20170119:
776
777
778 1) General ACPICA software:
779
780 Entire source code base: Added the 2017 copyright to all source code 
781 legal/licensing module headers and utility/tool signons. This includes 
782 the standard Linux dual-license header. This affects virtually every file 
783 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
784 the ACPICA test suite.
785
786
787 2) iASL Compiler/Disassembler and Tools:
788
789 iASL: Removed/fixed an inadvertent remark when a method argument 
790 containing a reference is used as a target operand within the method (and 
791 never used as a simple argument), as in the example below. Jeffrey Hugo.
792
793     dsdt.asl   1507:    Store(0x1, Arg0)
794     Remark   2146 -                ^ Method Argument is never used (Arg0)
795
796 All tools: Removed the bit width of the compiler that generated the tool 
797 from the common signon for all user space tools. This proved to be 
798 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
799 from the generic makefiles (Thomas Petazzoni). Example below.
800
801     Old:
802     ASL+ Optimizing Compiler version 20170119-32
803     ASL+ Optimizing Compiler version 20170119-64
804
805     New:
806     ASL+ Optimizing Compiler version 20170119
807
808 ----------------------------------------
809 22 December 2016. Summary of changes for version 20161222:
810
811
812 1) ACPICA kernel-resident subsystem:
813
814 AML Debugger: Implemented a new mechanism to simplify and enhance 
815 debugger integration into all environments, including kernel debuggers 
816 and user-space utilities, as well as remote debug services. This 
817 mechanism essentially consists of new OSL interfaces to support debugger 
818 initialization/termination, as well as wait/notify interfaces to perform 
819 the debugger handshake with the host. Lv Zheng.
820
821     New OSL interfaces:
822         AcpiOsInitializeDebugger (void)
823         AcpiOsTerminateDebugger (void)
824         AcpiOsWaitCommandReady (void)
825         AcpiOsNotifyCommandComplete (void)
826
827     New OS services layer:
828         osgendbg.c -- Example implementation, and used for AcpiExec
829
830 Update for Generic Address Space (GAS) support: Although the AccessWidth 
831 and/or BitOffset fields of the GAS are not often used, this change now 
832 fully supports these fields. This affects the internal support for FADT 
833 registers, registers in other ACPI data tables, and the AcpiRead and 
834 AcpiWrite public interfaces. Lv Zheng.
835
836 Sleep support: In order to simplify integration of ACPI sleep for the 
837 various host operating systems, a new OSL interface has been introduced. 
838 AcpiOsEnterSleep allows the host to perform any required operations 
839 before the final write to the sleep control register(s) is performed by 
840 ACPICA. Lv Zheng.
841
842     New OSL interface:
843         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
844
845     Called from these internal interfaces:
846         AcpiHwLegacySleep
847         AcpiHwExtendedSleep
848
849 EFI support: Added a very small EFI/ACPICA example application. Provides 
850 a simple demo for EFI integration, as well as assisting with resolution 
851 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
852
853     source/tools/efihello/efihello.c
854
855 Local C library: Implemented several new functions to enhance ACPICA 
856 portability, for environments where these clib functions are not 
857 available (such as EFI). Lv Zheng:
858     putchar
859     getchar
860     strpbrk
861     strtok
862     memmove
863
864 Fixed a regression where occasionally a valid resource descriptor was 
865 incorrectly detected as invalid at runtime, and a 
866 AE_AML_NO_RESOURCE_END_TAG was returned.
867
868 Fixed a problem with the recently implemented support that enables 
869 control method invocations as Target operands to many ASL operators. 
870 Warnings of this form: "Needed type [Reference], found [Processor]" were 
871 seen at runtime for some method invocations.
872
873 Example Code and Data Size: These are the sizes for the OS-independent 
874 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
875 debug version of the code includes the debug output trace mechanism and 
876 has a much larger code and data size.
877
878   Current Release:
879     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
880     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
881   Previous Release:
882     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
883     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
884
885
886 2) iASL Compiler/Disassembler and Tools:
887
888 Disassembler: Enhanced output by adding the capability to detect and 
889 disassemble ASL Switch/Case statements back to the original ASL source 
890 code instead of if/else blocks. David Box.
891
892 AcpiHelp: Split a large file into separate files based upon 
893 functionality/purpose. New files are:
894     ahaml.c
895     ahasl.c
896
897 ----------------------------------------
898 17 November 2016. Summary of changes for version 20161117:
899
900
901 1) ACPICA kernel-resident subsystem:
902
903 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
904 cleanup". This was an attempt to remove all references in the source to 
905 the FADT version 2, which never was a legal version number. It was 
906 skipped because it was an early version of 64-bit support that was 
907 eventually abandoned for the current 64-bit support.
908
909 Interpreter: Fixed a problem where runtime implicit conversion was 
910 incorrectly disabled for the ASL operators below. This brings the 
911 behavior into compliance with the ACPI specification:
912     FromBCD
913     ToBCD
914     ToDecimalString
915     ToHexString
916     ToInteger
917     ToBuffer
918
919 Table Manager: Added a new public interface, AcpiPutTable, used to 
920 release and free an ACPI table returned by AcpiGetTable and related 
921 interfaces. Lv Zheng.
922
923 Example Code and Data Size: These are the sizes for the OS-independent 
924 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
925 debug version of the code includes the debug output trace mechanism and 
926 has a much larger code and data size.
927
928   Current Release:
929     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
930     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
931   Previous Release:
932     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
933     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
934
935
936 2) iASL Compiler/Disassembler and Tools:
937
938 Disassembler: Fixed a regression for disassembly of Resource Template. 
939 Detection of templates in the AML stream missed some types of templates.
940
941 iASL: Fixed a problem where an Access Size error was returned for the PCC 
942 address space when the AccessSize of the GAS register is greater than a 
943 DWORD. Hoan Tran.
944
945 iASL: Implemented several grammar changes for the operators below. These 
946 changes are slated for the next version of the ACPI specification:
947     RefOf        - Disallow method invocation as an operand
948     CondRefOf    - Disallow method invocation as an operand
949     DerefOf      - Disallow operands that use the result from operators 
950 that
951                    do not return a reference (Changed TermArg to 
952 SuperName).
953
954 iASL: Control method invocations are now allowed for Target operands, as 
955 per the ACPI specification. Removed error for using a control method 
956 invocation as a Target operand.
957
958 Disassembler: Improved detection of Resource Templates, Unicode, and 
959 Strings within Buffer objects. These subtypes do not contain a specific 
960 opcode to indicate the originating ASL code, and they must be detected by 
961 other means within the disassembler. 
962
963 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
964 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
965 only after 64-bit to 32-bit truncation. A truncation warning message is 
966 still emitted, however.
967
968 AcpiXtract: Implemented handling for both types of line terminators (LF 
969 or CR/LF) so that it can accept AcpiDump output files from any system. 
970 Peter Wu.
971
972 AcpiBin: Added two new options for comparing AML files:
973     -a: compare and display ALL mismatches
974     -o: start compare at this offset into the second file
975
976 ----------------------------------------
977 30 September 2016. Summary of changes for version 20160930:
978
979
980 1) ACPICA kernel-resident subsystem:
981
982 Fixed a regression in the internal AcpiTbFindTable function where a non 
983 AE_OK exception could inadvertently be returned even if the function did 
984 not fail. This problem affects the following operators:
985     DataTableRegion
986     LoadTable
987
988 Fixed a regression in the LoadTable operator where a load to any 
989 namespace location other than the root no longer worked properly.
990
991 Increased the maximum loop count value that will result in the 
992 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
993 prevent infinite loops within the AML interpreter and thus the host OS 
994 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
995 1,048,575).
996
997 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
998 acpixf.h file. This allows hosts to easily configure the maximum loop 
999 count at runtime.
1000
1001 Removed an illegal character in the strtoul64.c file. This character 
1002 caused errors with some C compilers.
1003
1004 Example Code and Data Size: These are the sizes for the OS-independent 
1005 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1006 debug version of the code includes the debug output trace mechanism and 
1007 has a much larger code and data size.
1008
1009   Current Release:
1010     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1011     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
1012   Previous Release:
1013     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
1014     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1015
1016
1017 2) iASL Compiler/Disassembler and Tools:
1018
1019 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
1020 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
1021 block could be lost and missing from the disassembled output.
1022
1023 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
1024 the missing rule caused a parse error when using the Index operator as an 
1025 operand to ObjectType. This construct now compiles properly. Example:
1026     ObjectType(PKG1[4]).
1027
1028 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
1029 option). Previously, unresolved symbols could cause a protection fault. 
1030 Such symbols are now marked as unresolved in the map file.
1031
1032 iASL: Implemented support to allow control method invocations as an 
1033 operand to the ASL DeRefOf operator. Example:
1034     DeRefOf(MTH1(Local0))
1035
1036 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
1037 possible _PLD buffer now includes examination of both the normal buffer 
1038 length (16 or 20) as well as the surrounding AML package length.
1039
1040 Disassembler: Fixed a problem with the decoding of complex expressions 
1041 within the Divide operator for ASL+. For the case where both the quotient 
1042 and remainder targets are specified, the entire statement cannot be 
1043 disassembled. Previously, the output incorrectly contained a mix of ASL- 
1044 and ASL+ operators. This mixed statement causes a syntax error when 
1045 compiled. Example:
1046     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
1047 disassembled to:
1048     Divide (INT1 + 6, 128, RSLT, QUOT)
1049
1050 iASL/Tools: Added support to process AML and non-AML ACPI tables 
1051 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
1052 tables (AML and data tables). For the iASL -e option, allow only AML 
1053 tables (DSDT/SSDT).
1054
1055 ----------------------------------------
1056 31 August 2016. Summary of changes for version 20160831:
1057
1058
1059 1) ACPICA kernel-resident subsystem:
1060
1061 Improve support for the so-called "module-level code", which is defined 
1062 to be math, logical and control AML opcodes that appear outside of any 
1063 control method. This change improves the support by adding more opcodes 
1064 that can be executed in the manner. Some other issues have been solved, 
1065 and the ASL grammar changes to support such code under all scope 
1066 operators (Device, etc.) are complete. Lv Zheng.
1067
1068 UEFI support: these OSL functions have been implemented. This is an 
1069 additional step toward supporting the AcpiExec utility natively (with 
1070 full hardware access) under UEFI. Marcelo Ferreira.
1071     AcpiOsReadPciConfiguration
1072     AcpiOsWritePciConfiguration
1073
1074 Fixed a possible mutex error during control method auto-serialization. Lv 
1075 Zheng. 
1076
1077 Updated support for the Generic Address Structure by fully implementing 
1078 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
1079 Zheng.
1080
1081 Updated the return value for the internal _OSI method. Instead of 
1082 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
1083 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
1084 implementations, and will be reflected and clarified in the next version 
1085 of the ACPI specification.
1086
1087 Implemented two new table events that can be passed to an ACPICA table 
1088 handler. These events are used to indicate a table installation or 
1089 uninstallation. These events are used in addition to existed table load 
1090 and unload events. Lv Zheng.
1091
1092 Implemented a cleanup for all internal string-to-integer conversions. 
1093 Consolidate multiple versions of this functionality and limit possible 
1094 bases to either 10 or 16 to simplify the code. Adds a new file, 
1095 utstrtoul64.
1096
1097 Cleanup the inclusion order of the various compiler-specific headers. 
1098 This simplifies build configuration management. The compiler-specific 
1099 headers are now split out from the host-specific headers. Lv Zheng.
1100
1101 Example Code and Data Size: These are the sizes for the OS-independent 
1102 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1103 debug version of the code includes the debug output trace mechanism and 
1104 has a much larger code and data size.
1105
1106   Current Release:
1107     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
1108     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
1109
1110
1111 2) iASL Compiler/Disassembler and Tools:
1112
1113 iASL/AcpiExec: Added a command line option to display the build date/time 
1114 of the tool (-vd). This can be useful to verify that the correct version 
1115 of the tools are being used.
1116
1117 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
1118 all predefined control methods and names within the current namespace. 
1119 This can be useful for debugging problems with ACPI tables and the ACPI 
1120 namespace.
1121
1122 ----------------------------------------
1123 29 July 2016. Summary of changes for version 20160729:
1124
1125
1126 1) ACPICA kernel-resident subsystem:
1127
1128 Implemented basic UEFI support for the various ACPICA tools. This 
1129 includes:
1130 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
1131 2) Support to obtain the ACPI tables on UEFI.
1132 3) Local implementation of required C library functions not available on 
1133 UEFI.
1134 4) A front-end (main) function for the tools for UEFI-related 
1135 initialization.
1136
1137 The initial deployment of this support is the AcpiDump utility executing 
1138 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
1139 Current environments supported are Linux/Unix. MSVC generation is not 
1140 supported at this time. See the generate/efi/README file for build 
1141 instructions. Lv Zheng.
1142
1143 Future plans include porting the AcpiExec utility to execute natively on 
1144 the platform with I/O and memory access. This will allow viewing/dump of 
1145 the platform namespace and native execution of ACPI control methods that 
1146 access the actual hardware. To fully implement this support, the OSL 
1147 functions below must be implemented with UEFI interfaces. Any community 
1148 help in the implementation of these functions would be appreciated:
1149     AcpiOsReadPort
1150     AcpiOsWritePort
1151     AcpiOsReadMemory
1152     AcpiOsWriteMemory
1153     AcpiOsReadPciConfiguration
1154     AcpiOsWritePciConfiguration
1155
1156 Restructured and standardized the C library configuration for ACPICA, 
1157 resulting in the various configuration options below. This includes a 
1158 global restructuring of the compiler-dependent and platform-dependent 
1159 include files. These changes may affect the existing platform-dependent 
1160 configuration files on some hosts. Lv Zheng. 
1161
1162 The current C library configuration options appear below. For any issues, 
1163 it may be helpful to examine the existing compiler-dependent and 
1164 platform-dependent files as examples. Lv Zheng. 
1165
1166 1) Linux kernel:
1167     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1168 library.
1169     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1170 2) Unix/Windows/BSD applications:
1171     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
1172 library.
1173     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1174 3) UEFI applications:
1175     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
1176 library.
1177     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
1178 4) UEFI applications (EDK2/StdLib):
1179     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
1180     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
1181
1182
1183 AML interpreter: "module-level code" support. Allows for execution of so-
1184 called "executable" AML code (math/logical operations, etc.) outside of 
1185 control methods not just at the module level (top level) but also within 
1186 any scope declared outside of a control method - Scope{}, Device{}, 
1187 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
1188
1189 Simplified the configuration of the "maximum AML loops" global option by 
1190 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
1191 modified at runtime.
1192
1193
1194 Example Code and Data Size: These are the sizes for the OS-independent 
1195 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1196 debug version of the code includes the debug output trace mechanism and 
1197 has a much larger code and data size.
1198
1199   Current Release:
1200     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
1201     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
1202
1203
1204 2) iASL Compiler/Disassembler and Tools:
1205
1206 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
1207 Includes disassembler, data table compiler, and header support.
1208
1209 iASL Expand "module-level code" support. Allows for 
1210 compilation/disassembly of so-called "executable" AML code (math/logical 
1211 operations, etc.) outside of control methods not just at the module level 
1212 (top level) but also within any scope declared outside of a control 
1213 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
1214 ThermalZone{}.
1215
1216 AcpiDump: Added support for dumping all SSDTs on newer versions of 
1217 Windows. These tables are now easily available -- SSDTs are not available 
1218 through the registry on older versions.
1219
1220 ----------------------------------------
1221 27 May 2016. Summary of changes for version 20160527:
1222
1223
1224 1) ACPICA kernel-resident subsystem:
1225
1226 Temporarily reverted the new arbitrary bit length/alignment support in 
1227 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
1228 a number of regressions with the new code that need to be fully resolved 
1229 and tested before this support can be finally integrated into ACPICA. 
1230 Apologies for any inconveniences these issues may have caused.
1231
1232 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
1233 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
1234 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
1235
1236 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
1237 option. Adds a new return macro, return_STR. Junk-uk Kim.
1238
1239 Example Code and Data Size: These are the sizes for the OS-independent 
1240 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1241 debug version of the code includes the debug output trace mechanism and 
1242 has a much larger code and data size.
1243
1244   Current Release:
1245     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
1246     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1247   Previous Release:
1248     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1249     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
1250
1251 ----------------------------------------
1252 22 April 2016. Summary of changes for version 20160422:
1253
1254 1) ACPICA kernel-resident subsystem:
1255
1256 Fixed a regression in the GAS (generic address structure) arbitrary bit 
1257 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
1258 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
1259
1260 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
1261 was added to each of these macros, and the original name has been 
1262 deprecated. The AML disassembler will always disassemble to the new 
1263 names. Support for the new macros was added to iASL, disassembler, 
1264 resource manager, and the acpihelp utility. ACPICA BZ 1274.
1265
1266     I2cSerialBus  -> I2cSerialBusV2
1267     SpiSerialBus  -> SpiSerialBusV2
1268     UartSerialBus -> UartSerialBusV2
1269
1270 ACPI 6.0: Added support for a new integer field that was appended to the 
1271 package object returned by the _BIX method. This adds iASL compile-time 
1272 and AML runtime error checking. ACPICA BZ 1273.
1273
1274 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
1275 Subspace Type2" (Headers, Disassembler, and data table compiler).
1276
1277 Example Code and Data Size: These are the sizes for the OS-independent 
1278 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1279 debug version of the code includes the debug output trace mechanism and 
1280 has a much larger code and data size.
1281
1282   Current Release:
1283     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1284     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1285   Previous Release:
1286     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1287     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1288
1289
1290 2) iASL Compiler/Disassembler and Tools:
1291
1292 iASL: Implemented an ASL grammar extension to allow/enable executable 
1293 "module-level code" to be created and executed under the various 
1294 operators that create new scopes. This type of AML code is already 
1295 supported in all known AML interpreters, and the grammar change will 
1296 appear in the next version of the ACPI specification. Simplifies the 
1297 conditional runtime creation of named objects under these object types: 
1298
1299     Device
1300     PowerResource
1301     Processor
1302     Scope
1303     ThermalZone
1304
1305 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
1306 ease-of-use to the ASL language. The syntax is similar to the 
1307 corresponding C operator, and is implemented with the existing AML While 
1308 opcode -- thus requiring no changes to existing AML interpreters.
1309
1310     For (Initialize, Predicate, Update) {TermList}
1311
1312 Grammar:
1313     ForTerm :=
1314         For (
1315             Initializer    // Nothing | TermArg => ComputationalData
1316             Predicate      // Nothing | TermArg => ComputationalData
1317             Update         // Nothing | TermArg => ComputationalData
1318         ) {TermList}
1319
1320
1321 iASL: The _HID/_ADR detection and validation has been enhanced to search 
1322 under conditionals in order to allow these objects to be conditionally 
1323 created at runtime.
1324
1325 iASL: Fixed several issues with the constant folding feature. The 
1326 improvement allows better detection and resolution of statements that can 
1327 be folded at compile time. ACPICA BZ 1266. 
1328
1329 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
1330 conversion to the ASL ElseIf operator where incorrect ASL code could be 
1331 generated.
1332
1333 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
1334 sometimes an extra (and extraneous) set of parentheses were emitted for 
1335 some combinations of operators. Although this did not cause any problems 
1336 with recompilation of the disassembled code, it made the code more 
1337 difficult to read. David Box. ACPICA BZ 1231.
1338
1339 iASL: Changed to ignore the unreferenced detection for predefined names 
1340 of resource descriptor elements, when the resource descriptor is 
1341 created/defined within a control method.
1342
1343 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
1344 objects.
1345
1346 ----------------------------------------
1347 18 March 2016. Summary of changes for version 20160318:
1348
1349 1) ACPICA kernel-resident subsystem:
1350
1351 Added support for arbitrary bit lengths and bit offsets for registers 
1352 defined by the Generic Address Structure. Previously, only aligned bit 
1353 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
1354 but recently some machines have been seen that require arbitrary bit-
1355 level support. ACPICA BZ 1240. Lv Zheng.
1356
1357 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
1358 before any _REG methods are evaluated. Lv Zheng.
1359
1360 Implemented several changes related to ACPI table support 
1361 (Headers/Disassembler/TableCompiler):
1362 NFIT: For ACPI 6.1, updated to add some additional new fields and 
1363 constants.
1364 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
1365 6).
1366 DMAR: Added new constants per the 10/2014 DMAR spec.
1367 IORT: Added new subtable per the 10/2015 IORT spec.
1368 HEST: For ACPI 6.1, added new constants and new subtable.
1369 DBG2: Added new constants per the 12/2015 DBG2 spec.
1370 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
1371 ACPICA BZ 1249.
1372 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
1373
1374 Updated header support for the DMAR table to match the current version of 
1375 the related spec.
1376
1377 Added extensions to the ASL Concatenate operator to allow any ACPI object 
1378 to be passed as an operand. Any object other than Integer/String/Buffer 
1379 simply returns a string containing the object type. This extends the 
1380 usefulness of the Printf macros. Previously, Concatenate would abort the 
1381 control method if a non-data object was encountered.
1382
1383 ACPICA source code: Deployed the C "const" keyword across the source code 
1384 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
1385
1386 Example Code and Data Size: These are the sizes for the OS-independent 
1387 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1388 debug version of the code includes the debug output trace mechanism and 
1389 has a much larger code and data size.
1390
1391   Current Release:
1392     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1393     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1394   Previous Release:
1395     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1396     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1397
1398
1399 2) iASL Compiler/Disassembler and Tools:
1400
1401 iASL/Disassembler: Improved the heuristic used to determine the number of 
1402 arguments for an externally defined control method (a method in another 
1403 table). Although this is an improvement, there is no deterministic way to 
1404 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
1405 will completely solve this problem as it is deployed (automatically) in 
1406 newer BIOS code.
1407
1408 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
1409 statements that could cause errors when the disassembled file is 
1410 compiled. ACPICA BZ 1243. David Box.
1411
1412 iASL: Fixed a regression caused by the merger of the two versions of the 
1413 local strtoul64. Because of a dependency on a global variable, strtoul64 
1414 could return an error for integers greater than a 32-bit value. ACPICA BZ 
1415 1260.
1416
1417 iASL: Fixed a regression where a fault could occur for an ASL Return 
1418 statement if it invokes a control method that is not resolved. ACPICA BZ 
1419 1264.
1420
1421 AcpiXtract: Improved input file validation: detection of binary files and 
1422 non-acpidump text files.
1423
1424 ----------------------------------------
1425 12 February 2016. Summary of changes for version 20160212:
1426
1427 1) ACPICA kernel-resident subsystem:
1428
1429 Implemented full support for the ACPI 6.1 specification (released in 
1430 January). This version of the specification is available at:  
1431 http://www.uefi.org/specifications
1432
1433 Only a relatively small number of changes were required in ACPICA to 
1434 support ACPI 6.1, in these areas:
1435 - New predefined names
1436 - New _HID values
1437 - A new subtable for HEST
1438 - A few other header changes for new values
1439
1440 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
1441 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
1442
1443 Reverted a change made in version 20151218 which enabled method 
1444 invocations to be targets of various ASL operators (SuperName and Target 
1445 grammar elements). While the new behavior is supported by the ACPI 
1446 specification, other AML interpreters do not support this behavior and 
1447 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
1448 this support. Therefore, the change was reverted to the original ACPICA 
1449 behavior.
1450
1451 ACPICA now supports the GCC 6 compiler.
1452
1453 Current Release: (Note: build changes increased sizes)
1454     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1455     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1456 Previous Release:
1457     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1458     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
1459
1460
1461 2) iASL Compiler/Disassembler and Tools:
1462
1463 Completed full support for the ACPI 6.0 External() AML opcode. The 
1464 compiler emits an external AML opcode for each ASL External statement. 
1465 This opcode is used by the disassembler to assist with the disassembly of 
1466 external control methods by specifying the required number of arguments 
1467 for the method. AML interpreters do not use this opcode. To ensure that 
1468 interpreters do not even see the opcode, a block of one or more external 
1469 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
1470 commonly deployed in BIOS code, the ability of disassemblers to correctly 
1471 disassemble AML code will be greatly improved. David Box.
1472
1473 iASL: Implemented support for an optional cross-reference output file. 
1474 The -lx option will create a the cross-reference file with the suffix 
1475 "xrf". Three different types of cross-reference are created in this file:
1476 - List of object references made from within each control method
1477 - Invocation (caller) list for each user-defined control method
1478 - List of references to each non-method object in the namespace
1479
1480 iASL: Method invocations as ASL Target operands are now disallowed and 
1481 flagged as errors in preparation for ACPI 6.2 (see the description of the 
1482 problem above).
1483
1484 ----------------------------------------
1485 8 January 2016. Summary of changes for version 20160108:
1486
1487 1) ACPICA kernel-resident subsystem:
1488
1489 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
1490 copyright to all source code module headers and utility/tool signons. 
1491 This includes the standard Linux dual-license header. This affects 
1492 virtually every file in the ACPICA core subsystem, iASL compiler, all 
1493 ACPICA utilities, and the ACPICA test suite.
1494
1495 Fixed a regression introduced in version 20151218 concerning the 
1496 execution of so-called module-level ASL/AML code. Namespace objects 
1497 created under a module-level If() construct were not properly/fully 
1498 entered into the namespace and could cause an interpreter fault when 
1499 accessed.
1500
1501 Example Code and Data Size: These are the sizes for the OS-independent 
1502 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1503 debug version of the code includes the debug output trace mechanism and 
1504 has a much larger code and data size.
1505
1506 Current Release:
1507     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1508     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
1509   Previous Release:
1510     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1511     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1512
1513
1514 2) iASL Compiler/Disassembler and Tools:
1515
1516 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
1517 descriptors. The _PIN field name was incorrectly defined to be an array 
1518 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
1519 would cause incorrect bit width warnings when using Word (16-bit) fields 
1520 to access the descriptors.
1521
1522
1523 ----------------------------------------
1524 18 December 2015. Summary of changes for version 20151218:
1525
1526 1) ACPICA kernel-resident subsystem:
1527
1528 Implemented per-AML-table execution of "module-level code" as individual 
1529 ACPI tables are loaded into the namespace during ACPICA initialization. 
1530 In other words, any module-level code within an AML table is executed 
1531 immediately after the table is loaded, instead of batched and executed 
1532 after all of the tables have been loaded. This provides compatibility 
1533 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
1534 David Box.
1535
1536 To fully support the feature above, the default operation region handlers 
1537 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
1538 installed before any ACPI tables are loaded. This enables module-level 
1539 code to access these address spaces during the table load and module-
1540 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
1541 Box.
1542
1543 Implemented several changes to the internal _REG support in conjunction 
1544 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
1545 utilities for the changes above. Although these tools were changed, host 
1546 operating systems that simply use the default handlers for SystemMemory, 
1547 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
1548
1549 For example, in the code below, DEV1 is conditionally added to the 
1550 namespace by the DSDT via module-level code that accesses an operation 
1551 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
1552 created immediately after the DSDT is loaded in order for the SSDT to 
1553 successfully reference DEV1. Previously, this code would cause an 
1554 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
1555 fully supported by ACPICA.
1556
1557     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
1558     {
1559         OperationRegion (OPR1, SystemMemory, 0x400, 32)
1560         Field (OPR1, AnyAcc, NoLock, Preserve)
1561         {
1562             FLD1, 1
1563         }
1564         If (FLD1)
1565         {
1566             Device (\DEV1)
1567             {
1568             }
1569         }
1570     }
1571     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
1572     {
1573         External (\DEV1, DeviceObj)
1574         Scope (\DEV1)
1575         {
1576         }
1577     }
1578
1579 Fixed an AML interpreter problem where control method invocations were 
1580 not handled correctly when the invocation was itself a SuperName argument 
1581 to another ASL operator. In these cases, the method was not invoked. 
1582 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
1583 argument:
1584     Store
1585     Acquire, Wait
1586     CondRefOf, RefOf
1587     Decrement, Increment
1588     Load, Unload
1589     Notify
1590     Signal, Release, Reset
1591     SizeOf
1592
1593 Implemented automatic String-to-ObjectReference conversion support for 
1594 packages returned by predefined names (such as _DEP). A common BIOS error 
1595 is to add double quotes around an ObjectReference namepath, which turns 
1596 the reference into an unexpected string object. This support detects the 
1597 problem and corrects it before the package is returned to the caller that 
1598 invoked the method. Lv Zheng.
1599
1600 Implemented extensions to the Concatenate operator. Concatenate now 
1601 accepts any type of object, it is not restricted to simply 
1602 Integer/String/Buffer. For objects other than these 3 basic data types, 
1603 the argument is treated as a string containing the name of the object 
1604 type. This expands the utility of Concatenate and the Printf/Fprintf 
1605 macros. ACPICA BZ 1222.
1606
1607 Cleaned up the output of the ASL Debug object. The timer() value is now 
1608 optional and no longer emitted by default. Also, the basic data types of 
1609 Integer/String/Buffer are simply emitted as their values, without a data 
1610 type string -- since the data type is obvious from the output. ACPICA BZ 
1611 1221.
1612
1613 Example Code and Data Size: These are the sizes for the OS-independent 
1614 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1615 debug version of the code includes the debug output trace mechanism and 
1616 has a much larger code and data size.
1617
1618   Current Release:
1619     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1620     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1621   Previous Release:
1622     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1623     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1624
1625
1626 2) iASL Compiler/Disassembler and Tools:
1627
1628 iASL: Fixed some issues with the ASL Include() operator. This operator 
1629 was incorrectly defined in the iASL parser rules, causing a new scope to 
1630 be opened for the code within the include file. This could lead to 
1631 several issues, including allowing ASL code that is technically illegal 
1632 and not supported by AML interpreters. Note, this does not affect the 
1633 related #include preprocessor operator. ACPICA BZ 1212.
1634
1635 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
1636 operator is essentially an ASL macro since there is no AML opcode 
1637 associated with it. The code emitted by the iASL compiler for ElseIf is 
1638 an Else opcode followed immediately by an If opcode. The disassembler 
1639 will now emit an ElseIf if it finds an Else immediately followed by an 
1640 If. This simplifies the decoded ASL, especially for deeply nested 
1641 If..Else and large Switch constructs. Thus, the disassembled code more 
1642 closely follows the original source ASL. ACPICA BZ 1211. Example:
1643
1644     Old disassembly:
1645         Else
1646         {
1647             If (Arg0 == 0x02)
1648             {
1649                 Local0 = 0x05
1650             }
1651         }
1652
1653     New disassembly:
1654         ElseIf (Arg0 == 0x02)
1655         {
1656             Local0 = 0x05
1657         }
1658
1659 AcpiExec: Added support for the new module level code behavior and the 
1660 early region installation. This required a small change to the 
1661 initialization, since AcpiExec must install its own operation region 
1662 handlers.
1663
1664 AcpiExec: Added support to make the debug object timer optional. Default 
1665 is timer disabled. This cleans up the debug object output -- the timer 
1666 data is rarely used.
1667
1668 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
1669 appear on the command line. This can be important when there are 
1670 interdependencies/references between the tables.
1671
1672 iASL/Templates. Add support to generate template files with multiple 
1673 SSDTs within a single output file. Also added ommand line support to 
1674 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
1675 1223, 1225.
1676
1677
1678 ----------------------------------------
1679 24 November 2015. Summary of changes for version 20151124:
1680
1681 1) ACPICA kernel-resident subsystem:
1682
1683 Fixed a possible regression for a previous update to FADT handling. The 
1684 FADT no longer has a fixed table ID, causing some issues with code that 
1685 was hardwired to a specific ID. Lv Zheng.
1686
1687 Fixed a problem where the method auto-serialization could interfere with 
1688 the current SyncLevel. This change makes the auto-serialization support 
1689 transparent to the SyncLevel support and management.
1690
1691 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
1692 interface is intended for early access to the namespace during the 
1693 initial namespace device discovery walk. The _SUB method has been seen to 
1694 access operation regions in some cases, causing errors because the 
1695 operation regions are not fully initialized.
1696
1697 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
1698 that can cause faults. Lv Zheng.
1699
1700 AML Debugger: Add thread ID support so that single-step mode only applies 
1701 to the AML Debugger thread. This prevents runtime errors within some 
1702 kernels. Lv Zheng. 
1703
1704 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
1705 methods that are invoked by this interface are optional, removed warnings 
1706 emitted for the case where one or more of these methods do not exist. 
1707 ACPICA BZ 1208, original change by Prarit Bhargava.
1708
1709 Made a major pass through the entire ACPICA source code base to 
1710 standardize formatting that has diverged a bit over time. There are no 
1711 functional changes, but this will of course cause quite a few code 
1712 differences from the previous ACPICA release.
1713
1714 Example Code and Data Size: These are the sizes for the OS-independent 
1715 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1716 debug version of the code includes the debug output trace mechanism and 
1717 has a much larger code and data size.
1718
1719   Current Release:
1720     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1721     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1722   Previous Release:
1723     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1724     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1725
1726
1727 2) iASL Compiler/Disassembler and Tools:
1728
1729 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
1730 definition blocks within a single ASL file and the resulting AML file. 
1731 Support for this type of file was also added to the various tools that 
1732 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
1733 example code below shows two definition blocks within the same file:
1734
1735     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
1736 0x12345678)
1737     {
1738     }
1739     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
1740     {
1741     }
1742
1743 iASL: Enhanced typechecking for the Name() operator. All expressions for 
1744 the value of the named object must be reduced/folded to a single constant 
1745 at compile time, as per the ACPI specification (the AML definition of 
1746 Name()).
1747
1748 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
1749 and assembly headers). Now all emitted code correctly begins in column 1.
1750
1751 iASL: Added an error message for an attempt to open a Scope() on an 
1752 object defined in an SSDT. The DSDT is always loaded into the namespace 
1753 first, so any attempt to open a Scope on an SSDT object will fail at 
1754 runtime.
1755
1756
1757 ----------------------------------------
1758 30 September 2015. Summary of changes for version 20150930:
1759
1760 1) ACPICA kernel-resident subsystem:
1761
1762 Debugger: Implemented several changes and bug fixes to assist support for 
1763 the in-kernel version of the AML debugger. Lv Zheng.
1764 - Fix the "predefined" command for in-kernel debugger.
1765 - Do not enter debug command loop for the help and version commands.
1766 - Disallow "execute" command during execution/single-step of a method.
1767
1768 Interpreter: Updated runtime typechecking for all operators that have 
1769 target operands. The operand is resolved and validated that it is legal. 
1770 For example, the target cannot be a non-data object such as a Device, 
1771 Mutex, ThermalZone, etc., as per the ACPI specification.
1772
1773 Debugger: Fixed the double-mutex user I/O handshake to work when local 
1774 deadlock detection is enabled.
1775
1776 Debugger: limited display of method locals and arguments (LocalX and 
1777 ArgX) to only those that have actually been initialized. This prevents 
1778 lines of extraneous output.
1779
1780 Updated the definition of the NFIT table to correct the bit polarity of 
1781 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
1782
1783 Example Code and Data Size: These are the sizes for the OS-independent 
1784 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1785 debug version of the code includes the debug output trace mechanism and 
1786 has a much larger code and data size.
1787
1788   Current Release:
1789     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1790     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1791   Previous Release:
1792     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1793     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1794
1795
1796 2) iASL Compiler/Disassembler and Tools:
1797
1798 iASL: Improved the compile-time typechecking for operands of many of the 
1799 ASL operators:
1800
1801 -- Added an option to disable compiler operand/operator typechecking (-
1802 ot).
1803
1804 -- For the following operators, the TermArg operands are now validated 
1805 when possible to be Integer data objects: BankField, OperationRegion, 
1806 DataTableRegion, Buffer, and Package.
1807
1808 -- Store (Source, Target): Both the source and target operands are 
1809 resolved and checked that the operands are both legal. For example, 
1810 neither operand can be a non-data object such as a Device, Mutex, 
1811 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
1812 operator can be used to store an object to any type of target object.
1813
1814 -- Store (Source, Target): If the source is a Package object, the target 
1815 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
1816 is a Package, the source must also be a Package.
1817
1818 -- Store (Source, Target): A warning is issued if the source and target 
1819 resolve to the identical named object.
1820
1821 -- Store (Source, <method invocation>): An error is generated for the 
1822 target method invocation, as this construct is not supported by the AML 
1823 interpreter.
1824
1825 -- For all ASL math and logic operators, the target operand must be a 
1826 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
1827 includes the function return value also.
1828
1829 -- External declarations are also included in the typechecking where 
1830 possible. External objects defined using the UnknownObj keyword cannot be 
1831 typechecked, however.
1832
1833 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
1834 operator:
1835 - Legacy code: Index(PKG1, 3)
1836 - New ASL+ code: PKG1[3]
1837 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
1838 supported.
1839
1840 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
1841 spaces were inadvertently appended to the filename, causing file access 
1842 and deletion problems on some systems.
1843
1844 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
1845 possible compiler output files when building the test suite -- thus 
1846 exercising these features of the compiler. These files are automatically 
1847 deleted when the test suite exits.
1848
1849
1850 ----------------------------------------
1851 18 August 2015. Summary of changes for version 20150818:
1852
1853 1) ACPICA kernel-resident subsystem:
1854
1855 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
1856 Zheng. ACPICA BZ 1186.
1857
1858 Completed development to ensure that the ACPICA Disassembler and Debugger 
1859 are fully standalone components of ACPICA. Removed cross-component 
1860 dependences. Lv Zheng.
1861
1862 The max-number-of-AML-loops is now runtime configurable (previously was 
1863 compile-time only). This is essentially a loop timeout to force-abort 
1864 infinite AML loops. ACPCIA BZ 1192.
1865
1866 Debugger: Cleanup output to dump ACPI names and namepaths without any 
1867 trailing underscores. Lv Zheng. ACPICA BZ 1135.
1868
1869 Removed unnecessary conditional compilations across the Debugger and 
1870 Disassembler components where entire modules could be left uncompiled.
1871
1872 The aapits test is deprecated and has been removed from the ACPICA git 
1873 tree. The test has never been completed and has not been maintained, thus 
1874 becoming rather useless. ACPICA BZ 1015, 794.
1875
1876 A batch of small changes to close bugzilla and other reports:
1877 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
1878 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
1879 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
1880 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
1881 Moore.
1882 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
1883 ACPICA BZ 1184.
1884 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
1885 operators.
1886 - Debugger: Split debugger initialization/termination interfaces. Lv 
1887 Zheng.
1888 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
1889 identification.
1890 - AcpiExec: Add debug message during _REG method phase during table 
1891 load/init.
1892 - AcpiNames: Fix a regression where some output was missing and no longer 
1893 emitted.
1894 - Debugger: General cleanup and simplification. Lv Zheng.
1895 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
1896
1897 Example Code and Data Size: These are the sizes for the OS-independent 
1898 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1899 debug version of the code includes the debug output trace mechanism and 
1900 has a much larger code and data size.
1901
1902   Current Release:
1903     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1904     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1905   Previous Release:
1906     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1907     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1908
1909
1910 2) iASL Compiler/Disassembler and Tools:
1911
1912 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
1913 were not handled properly and caused load errors. Now, properly invoke 
1914 and use the ACPICA auto-reallocate mechanism for ACPI table data 
1915 structures. ACPICA BZ 1188
1916
1917 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
1918 BZ 1190.
1919
1920 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
1921 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
1922 executed during initialization. ACPICA BZ 1187, 1189.
1923
1924 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
1925 that corresponds to each disassembled ASL statement, to simplify 
1926 debugging. ACPICA BZ 1191.
1927
1928 Debugger: Add option to the "objects" command to display a summary of the 
1929 current namespace objects (Object type and count). This is displayed if 
1930 the command is entered with no arguments.
1931
1932 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
1933
1934
1935 ----------------------------------------
1936 17 July 2015. Summary of changes for version 20150717:
1937
1938 1) ACPICA kernel-resident subsystem:
1939
1940 Improved the partitioning between the Debugger and Disassembler 
1941 components. This allows the Debugger to be used standalone within kernel 
1942 code without the Disassembler (which is used for single stepping also). 
1943 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
1944
1945 Debugger: Implemented a new command to trace the execution of control 
1946 methods (Trace). This is especially useful for the in-kernel version of 
1947 the debugger when file I/O may not be available for method trace output. 
1948 See the ACPICA reference for more information. Lv Zheng.
1949
1950 Moved all C library prototypes (used for the local versions of these 
1951 functions when requested) to a new header, acclib.h
1952 Cleaned up the use of non-ANSI C library functions. These functions are 
1953 implemented locally in ACPICA. Moved all such functions to a common 
1954 source file, utnonansi.c
1955
1956 Debugger: Fixed a problem with the "!!" command (get last command 
1957 executed) where the debugger could enter an infinite loop and eventually 
1958 crash.
1959
1960 Removed the use of local macros that were used for some of the standard C 
1961 library functions to automatically cast input parameters. This mostly 
1962 affected the is* functions where the input parameter is defined to be an 
1963 int. This required a few modifications to the main ACPICA source code to 
1964 provide casting for these functions and eliminate possible compiler 
1965 warnings for these parameters.
1966
1967 Across the source code, added additional status/error checking to resolve 
1968 issues discovered by static source code analysis tools such as Coverity.
1969
1970 Example Code and Data Size: These are the sizes for the OS-independent 
1971 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1972 debug version of the code includes the debug output trace mechanism and 
1973 has a much larger code and data size.
1974
1975   Current Release:
1976     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1977     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1978   Previous Release:
1979     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1980     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
1981
1982
1983 2) iASL Compiler/Disassembler and Tools:
1984
1985 iASL: Fixed a regression where the device map file feature no longer 
1986 worked properly when used in conjunction with the disassembler. It only 
1987 worked properly with the compiler itself.
1988
1989 iASL: Implemented a new warning for method LocalX variables that are set 
1990 but never used (similar to a C compiler such as gcc). This also applies 
1991 to ArgX variables that are not defined by the parent method, and are 
1992 instead (legally) used as local variables.
1993
1994 iASL/Preprocessor: Finished the pass-through of line numbers from the 
1995 preprocessor to the compiler. This ensures that compiler errors/warnings 
1996 have the correct original line numbers and filenames, regardless of any 
1997 #include files.
1998
1999 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
2000 pass-through of comments to the preprocessor output file (which becomes 
2001 the compiler input file). Also fixed a problem with // comments that 
2002 appear after a math expression.
2003
2004 iASL: Added support for the TCPA server table to the table compiler and 
2005 template generator. (The client table was already previously supported)
2006
2007 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
2008 identify the iASL compiler.
2009
2010 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
2011 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
2012 ACPI_SIGN_POSITIVE.
2013
2014 AcpiHelp: Update to expand help messages for the iASL preprocessor 
2015 directives.
2016
2017
2018 ----------------------------------------
2019 19 June 2015. Summary of changes for version 20150619:
2020
2021 Two regressions in version 20150616 have been addressed:
2022
2023 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
2024 etc.) This update changes ACPICA to only use the standard headers for 
2025 functions, or the prototypes for the local versions of the C library 
2026 functions. Across the source code, this required some additional casts 
2027 for some Clib invocations for portability. Moved all local prototypes to 
2028 a new file, acclib.h
2029
2030 Fixes several problems with recent changes to the handling of the FACS 
2031 table that could cause some systems not to boot.
2032
2033
2034 ----------------------------------------
2035 16 June 2015. Summary of changes for version 20150616:
2036
2037
2038 1) ACPICA kernel-resident subsystem:
2039
2040 Across the entire ACPICA source code base, the various macros for the C 
2041 library functions (such as ACPI_STRLEN, etc.) have been removed and 
2042 replaced by the standard C library names (strlen, etc.) The original 
2043 purpose for these macros is no longer applicable. This simplification 
2044 reduces the number of macros used in the ACPICA source code 
2045 significantly, improving readability and maintainability.
2046
2047 Implemented support for a new ACPI table, the OSDT. This table, the 
2048 "override" SDT, can be loaded directly by the host OS at boot time. It 
2049 enables the replacement of existing namespace objects that were installed 
2050 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
2051 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
2052 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
2053 Moore.
2054
2055 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
2056 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
2057 X field). This change will support both automatically. There continues to 
2058 be systems found with this issue. This support requires a change to the 
2059 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
2060 been added to allow the host to select which FACS is desired 
2061 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
2062 details Lv Zheng.
2063
2064 Added a new feature to allow for systems that do not contain an FACS. 
2065 Although this is already supported on hardware-reduced platforms, the 
2066 feature has been extended for all platforms. The reasoning is that we do 
2067 not want to abort the entire ACPICA initialization just because the 
2068 system is seriously buggy and has no FACS.
2069
2070 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
2071 not correctly transcribed from the ACPI specification in ACPICA version 
2072 20150515.
2073
2074 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
2075 interface.
2076
2077 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
2078 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
2079 compiler also updated. Note: The TCPA "server" table is not supported by 
2080 the disassembler/table-compiler at this time.
2081
2082 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
2083
2084 Example Code and Data Size: These are the sizes for the OS-independent 
2085 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2086 debug version of the code includes the debug output trace mechanism and 
2087 has a much larger code and data size.
2088
2089   Current Release:
2090     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2091     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
2092   Previous Release:
2093     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2094     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2095
2096
2097 2) iASL Compiler/Disassembler and Tools:
2098
2099 Disassembler: Fixed a problem with the new symbolic operator disassembler 
2100 where incorrect ASL code could be emitted in some cases for the "non-
2101 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
2102 ShiftRight. The actual problem cases seem to be rather unusual in common 
2103 ASL code, however. David Box.
2104
2105 Modified the linux version of acpidump to obtain ACPI tables from not 
2106 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
2107 Zheng.
2108
2109 iASL: Fixed a problem where the user preprocessor output file (.i) 
2110 contained extra data that was not expected. The compiler was using this 
2111 file as a temporary file and passed through #line directives in order to 
2112 keep compiler error messages in sync with the input file and line number 
2113 across multiple include files. The (.i) is no longer a temporary file as 
2114 the compiler uses a new, different file for the original purpose.
2115
2116 iASL: Fixed a problem where comments within the original ASL source code 
2117 file were not passed through to the preprocessor output file, nor any 
2118 listing files.
2119
2120 iASL: Fixed some issues for the handling of the "#include" preprocessor 
2121 directive and the similar (but not the same) "Include" ASL operator.
2122
2123 iASL: Add support for the new OSDT in both the disassembler and compiler.
2124
2125 iASL: Fixed a problem with the constant folding support where a Buffer 
2126 object could be incorrectly generated (incorrectly formed) during a 
2127 conversion to a Store() operator.
2128
2129 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
2130 description text for the _REV predefined name. _REV now permanently 
2131 returns 2, as per the ACPI 6.0 specification.
2132
2133 Debugger: Enhanced the output of the Debug ASL object for references 
2134 produced by the Index operator. For Buffers and strings, only output the 
2135 actual byte pointed to by the index. For packages, only print the single 
2136 package element decoded by the index. Previously, the entire 
2137 buffer/string/package was emitted.
2138
2139 iASL/Table-compiler: Fixed a regression where the "generic" data types 
2140 were no longer recognized, causing errors.
2141
2142
2143 ----------------------------------------
2144 15 May 2015. Summary of changes for version 20150515:
2145
2146 This release implements most of ACPI 6.0 as described below.
2147
2148 1) ACPICA kernel-resident subsystem:
2149
2150 Implemented runtime argument checking and return value checking for all 
2151 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
2152 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
2153
2154 Example Code and Data Size: These are the sizes for the OS-independent 
2155 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2156 debug version of the code includes the debug output trace mechanism and 
2157 has a much larger code and data size.
2158
2159   Current Release:
2160     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
2161     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
2162   Previous Release:
2163     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2164     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2165
2166
2167 2) iASL Compiler/Disassembler and Tools:
2168
2169 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
2170 names (argument count validation and return value typechecking.)
2171
2172 iASL disassembler and table compiler: implemented support for all new 
2173 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
2174
2175 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
2176 tables: FADT, MADT.
2177
2178 iASL preprocessor: Added a new directive to enable inclusion of binary 
2179 blobs into ASL code. The new directive is #includebuffer. It takes a 
2180 binary file as input and emits a named ascii buffer object into the ASL 
2181 code.
2182
2183 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
2184
2185 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
2186 directives.
2187
2188 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
2189 tables.
2190
2191
2192 ----------------------------------------
2193 10 April 2015. Summary of changes for version 20150410:
2194
2195 Reverted a change introduced in version 20150408 that caused
2196 a regression in the disassembler where incorrect operator
2197 symbols could be emitted.
2198
2199
2200 ----------------------------------------
2201 08 April 2015. Summary of changes for version 20150408:
2202
2203
2204 1) ACPICA kernel-resident subsystem:
2205
2206 Permanently set the return value for the _REV predefined name. It now 
2207 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
2208 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
2209 for ACPI 2.0 and later. It should never be used to differentiate or 
2210 identify operating systems.
2211
2212 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
2213 return TRUE to a query with this string.
2214
2215 Fixed several issues with the local version of the printf function.
2216
2217 Added the C99 compiler option (-std=c99) to the Unix makefiles.
2218
2219   Current Release:
2220     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
2221     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
2222   Previous Release:
2223     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2224     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2225
2226
2227 2) iASL Compiler/Disassembler and Tools:
2228
2229 iASL: Implemented an enhancement to the constant folding feature to 
2230 transform the parse tree to a simple Store operation whenever possible:
2231     Add (2, 3, X) ==> is converted to: Store (5, X)
2232     X = 2 + 3     ==> is converted to: Store (5, X)
2233
2234 Updated support for the SLIC table (Software Licensing Description Table) 
2235 in both the Data Table compiler and the disassembler. The SLIC table 
2236 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
2237 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
2238 following the ACPI header is now defined to be "Proprietary Data", and as 
2239 such, can only be entered or displayed as a hex data block.
2240
2241 Implemented full support for the MSDM table as described in the document 
2242 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
2243 following the ACPI header is defined to be "Proprietary Data", and can 
2244 only be entered or displayed as a hex data block.
2245
2246 Implemented the -Pn option for the iASL Table Compiler (was only 
2247 implemented for the ASL compiler). This option disables the iASL 
2248 preprocessor.
2249
2250 Disassembler: For disassembly of Data Tables, added a comment field 
2251 around the Ascii equivalent data that is emitted as part of the "Raw 
2252 Table Data" block. This prevents the iASL Preprocessor from possible 
2253 confusion if/when the table is compiled.
2254
2255 Disassembler: Added an option (-df) to force the disassembler to assume 
2256 that the table being disassembled contains valid AML. This feature is 
2257 useful for disassembling AML files that contain ACPI signatures other 
2258 than DSDT or SSDT (such as OEMx or other signatures).
2259
2260 Changes for the EFI version of the tools:
2261 1) Fixed a build error/issue
2262 2) Fixed a cast warning
2263
2264 iASL: Fixed a path issue with the __FILE__ operator by making the 
2265 directory prefix optional within the internal SplitInputFilename 
2266 function.
2267
2268 Debugger: Removed some unused global variables.
2269
2270 Tests: Updated the makefile for proper generation of the AAPITS suite.
2271
2272
2273 ----------------------------------------
2274 04 February 2015. Summary of changes for version 20150204:
2275
2276 ACPICA kernel-resident subsystem:
2277
2278 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
2279 copyright to all module headers and signons, including the standard Linux 
2280 header. This affects virtually every file in the ACPICA core subsystem, 
2281 iASL compiler, all ACPICA utilities, and the test suites.
2282
2283 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
2284 A raw gpe handling mechanism was created to allow better handling of GPE
2285 storms that aren't easily managed by the normal handler. The raw handler
2286 allows disabling/renabling of the the GPE so that interrupt storms can be
2287 avoided in cases where events cannot be timely serviced. In this 
2288 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
2289 GPE. This API will leave the reference counts undisturbed, thereby 
2290 preventing unintentional clearing of the GPE when the intent in only to 
2291 temporarily disable it. Raw handlers allow enabling and disabling of a 
2292 GPE by removing GPE register locking. As such, raw handlers much provide 
2293 their own locks while using GPE API's to protect access to GPE data 
2294 structures.
2295 Lv Zheng
2296
2297 Events: Always modify GPE registers under the GPE lock.
2298 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
2299 values. Reported as bug by joe.liu@apple.com.
2300
2301 Unix makefiles: Separate option to disable optimizations and 
2302 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
2303 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
2304 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
2305 errors when building ACPICA. This allows disabling the option without 
2306 also having to disable optimazations.
2307 David Box
2308
2309   Current Release:
2310     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2311     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
2312
2313 --
2314 --------------------------------------
2315 07 November 2014. Summary of changes for version 20141107:
2316
2317 This release is available at https://acpica.org/downloads
2318
2319 This release introduces and implements language extensions to ASL that 
2320 provide support for symbolic ("C-style") operators and expressions. These 
2321 language extensions are known collectively as ASL+.
2322
2323
2324 1) iASL Compiler/Disassembler and Tools:
2325
2326 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
2327 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
2328 Box.
2329
2330 Disassembler: Fixed the Unicode macro support to add escape sequences. 
2331 All non-printable ASCII values are emitted as escape sequences, as well 
2332 as the standard escapes for quote and backslash. Ensures that the 
2333 disassembled macro can be correctly recompiled.
2334
2335 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
2336 translated to existing AML Concatenate and Store operations. Printf 
2337 writes to the ASL Debug object. Fprintf allows the specification of an 
2338 ASL name as the target. Only a single format specifier is required, %o, 
2339 since the AML interpreter dynamically converts objects to the required 
2340 type. David E. Box.
2341
2342     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2343                  (Concatenate (Concatenate (Concatenate ("", Arg0),
2344                  ": Unexpected value for "), Arg1), ", "), Arg2),
2345                  " at line "), Arg3), Debug)
2346
2347     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
2348                  Arg0, Arg1, Arg2, Arg3)
2349
2350     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2351                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
2352
2353     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
2354
2355 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
2356 ASL parse tree before the AML code is generated. This allows blocks of 
2357 ASL code to be removed in order to help locate and identify problem 
2358 devices and/or code. David E. Box.
2359
2360 AcpiExec: Added support (-fi) for an optional namespace object 
2361 initialization file. This file specifies initial values for namespace 
2362 objects as necessary for debugging and testing different ASL code paths 
2363 that may be taken as a result of BIOS options.
2364
2365
2366 2) Overview of symbolic operator support for ASL (ASL+)
2367 -------------------------------------------------------
2368
2369 As an extension to the ASL language, iASL implements support for symbolic 
2370 (C-style) operators for math and logical expressions. This can greatly 
2371 simplify ASL code as well as improve both readability and 
2372 maintainability. These language extensions can exist concurrently with 
2373 all legacy ASL code and expressions.
2374
2375 The symbolic extensions are 100% compatible with existing AML 
2376 interpreters, since no new AML opcodes are created. To implement the 
2377 extensions, the iASL compiler transforms the symbolic expressions into 
2378 the legacy ASL/AML equivalents at compile time.
2379
2380 Full symbolic expressions are supported, along with the standard C 
2381 precedence and associativity rules.
2382
2383 Full disassembler support for the symbolic expressions is provided, and 
2384 creates an automatic migration path for existing ASL code to ASL+ code 
2385 via the disassembly process. By default, the disassembler now emits ASL+ 
2386 code with symbolic expressions. An option (-dl) is provided to force the 
2387 disassembler to emit legacy ASL code if desired.
2388
2389 Below is the complete list of the currently supported symbolic operators 
2390 with examples. See the iASL User Guide for additional information.
2391
2392
2393 ASL+ Syntax      Legacy ASL Equivalent
2394 -----------      ---------------------
2395
2396     // Math operators
2397
2398 Z = X + Y        Add (X, Y, Z)
2399 Z = X - Y        Subtract (X, Y, Z)
2400 Z = X * Y        Multiply (X, Y, Z)
2401 Z = X / Y        Divide (X, Y, , Z)
2402 Z = X % Y        Mod (X, Y, Z)
2403 Z = X << Y       ShiftLeft (X, Y, Z)
2404 Z = X >> Y       ShiftRight (X, Y, Z)
2405 Z = X & Y        And (X, Y, Z)
2406 Z = X | Y        Or (X, Y, Z)
2407 Z = X ^ Y        Xor (X, Y, Z)
2408 Z = ~X           Not (X, Z)
2409 X++              Increment (X)
2410 X--              Decrement (X)
2411
2412     // Logical operators
2413
2414 (X == Y)         LEqual (X, Y)
2415 (X != Y)         LNotEqual (X, Y)
2416 (X < Y)          LLess (X, Y)
2417 (X > Y)          LGreater (X, Y)
2418 (X <= Y)         LLessEqual (X, Y)
2419 (X >= Y)         LGreaterEqual (X, Y)
2420 (X && Y)         LAnd (X, Y)
2421 (X || Y)         LOr (X, Y)
2422 (!X)             LNot (X)
2423
2424     // Assignment and compound assignment operations
2425
2426 X = Y           Store (Y, X)
2427 X += Y          Add (X, Y, X)
2428 X -= Y          Subtract (X, Y, X)
2429 X *= Y          Multiply (X, Y, X)
2430 X /= Y          Divide (X, Y, , X)
2431 X %= Y          Mod (X, Y, X)
2432 X <<= Y         ShiftLeft (X, Y, X)
2433 X >>= Y         ShiftRight (X, Y, X)
2434 X &= Y          And (X, Y, X)
2435 X |= Y          Or (X, Y, X)
2436 X ^= Y          Xor (X, Y, X)
2437
2438
2439 3) ASL+ Examples:
2440 -----------------
2441
2442 Legacy ASL:
2443         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
2444             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
2445 0x03FB), 
2446             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
2447         {
2448             And (MEMB, 0xFFFFFFF0, SRMB)
2449             Store (MEMB, Local2)
2450             Store (PDBM, Local1)
2451             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
2452             Store (SRMB, MEMB)
2453             Or (PDBM, 0x02, PDBM)
2454         }
2455
2456 ASL+ version:
2457         If (((R510 & 0x03FB) == 0x02E0) ||
2458             ((R520 & 0x03FB) == 0x02E0) ||
2459             ((R530 & 0x03FB) == 0x02E0) || 
2460             ((R540 & 0x03FB) == 0x02E0))
2461         {
2462             SRMB = (MEMB & 0xFFFFFFF0)
2463             Local2 = MEMB
2464             Local1 = PDBM
2465             PDBM &= 0xFFFFFFFFFFFFFFF9
2466             MEMB = SRMB
2467             PDBM |= 0x02
2468         }
2469
2470 Legacy ASL:
2471         Store (0x1234, Local1)
2472         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2473         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2474         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2475         Store (Index (PKG1, 0x03), Local6)
2476         Store (Add (Local3, Local2), Debug)
2477         Add (Local1, 0x0F, Local2)
2478         Add (Local1, Multiply (Local2, Local3), Local2)
2479         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2480
2481 ASL+ version:
2482         Local1 = 0x1234
2483         Local3 = (((Local1 + TEST) + 0x20) * Local2)
2484         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2485         Local3 = (Local1 + (TEST + (0x20 * Local2)))
2486         Local6 = Index (PKG1, 0x03)
2487         Debug = (Local3 + Local2)
2488         Local2 = (Local1 + 0x0F)
2489         Local2 = (Local1 + (Local2 * Local3))
2490         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2491
2492
2493 ----------------------------------------
2494 26 September 2014. Summary of changes for version 20140926:
2495
2496 1) ACPICA kernel-resident subsystem:
2497
2498 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
2499 In order to support GPIO Connection objects with multiple pins, along 
2500 with the related Field objects, the following changes to the interface 
2501 have been made: The Address is now defined to be the offset in bits of 
2502 the field unit from the previous invocation of a Connection. It can be 
2503 viewed as a "Pin Number Index" into the connection resource descriptor. 
2504 The BitWidth is the exact bit width of the field. It is usually one bit, 
2505 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
2506 additional information and examples.
2507
2508 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
2509 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
2510 by the firmware), so that they cannot fire until they are enabled via 
2511 AcpiUpdateAllGpes. Rafael J. Wysocki.
2512
2513 Added a new return flag for the Event/GPE status interfaces -- 
2514 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
2515 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
2516 GPE currently has a handler associated with it, and can thus actually 
2517 affect the system. Lv Zheng.
2518
2519 Example Code and Data Size: These are the sizes for the OS-independent 
2520 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2521 debug version of the code includes the debug output trace mechanism and 
2522 has a much larger code and data size.
2523
2524   Current Release:
2525     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2526     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2527   Previous Release:
2528     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2529     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2530
2531 2) iASL Compiler/Disassembler and Tools:
2532
2533 iASL: Fixed a memory allocation/free regression introduced in 20140828 
2534 that could cause the compiler to crash. This was introduced inadvertently 
2535 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
2536 1113.
2537
2538 iASL: Removed two error messages that have been found to create false 
2539 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
2540 1) Illegal forward reference within a method
2541 2) Illegal reference across two methods
2542
2543 iASL: Implemented a new option (-lm) to create a hardware mapping file 
2544 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
2545 works for both the compiler and disassembler. See the iASL compiler user 
2546 guide for additional information and examples (section 6.4.6).
2547
2548 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
2549 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
2550 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
2551
2552 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
2553 unless STDIN is actually a terminal. Assists with batch-mode processing. 
2554 ACPICA BZ 1114.
2555
2556 Disassembler/AcpiHelp: Added another large group of recognized _HID 
2557 values.
2558
2559
2560 ----------------------------------------
2561 28 August 2014. Summary of changes for version 20140828:
2562
2563 1) ACPICA kernel-resident subsystem:
2564
2565 Fixed a problem related to the internal use of the Timer() operator where 
2566 a 64-bit divide could cause an attempted link to a double-precision math 
2567 library. This divide is not actually necessary, so the code was 
2568 restructured to eliminate it. Lv Zheng.
2569
2570 ACPI 5.1: Added support for the runtime validation of the _DSD package 
2571 (similar to the iASL support).
2572
2573 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
2574 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
2575
2576 Example Code and Data Size: These are the sizes for the OS-independent 
2577 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2578 debug version of the code includes the debug output trace mechanism and 
2579 has a much larger code and data size.
2580
2581   Current Release:
2582     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2583     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2584   Previous Release:
2585     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
2586     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2587
2588 2) iASL Compiler/Disassembler and Tools:
2589
2590 AcpiExec: Fixed a problem on unix systems where the original terminal 
2591 state was not always properly restored upon exit. Seen when using the -v 
2592 option. ACPICA BZ 1104.
2593
2594 iASL: Fixed a problem with the validation of the ranges/length within the 
2595 Memory24 resource descriptor. There was a boundary condition when the 
2596 range was equal to the (length -1) caused by the fact that these values 
2597 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
2598
2599 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
2600 polarity 
2601 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
2602 is 
2603 now supported properly.
2604
2605 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
2606 in the disassembler, data table compiler, and table template generator.
2607
2608 iASL: Added a requirement for Device() objects that one of either a _HID 
2609 or _ADR must exist within the scope of a Device, as per the ACPI 
2610 specification. Remove a similar requirement that was incorrectly in place 
2611 for the _DSD object.
2612
2613 iASL: Added error detection for illegal named references within control 
2614 methods that would cause runtime failures. Now trapped as errors are: 1) 
2615 References to objects within a non-parent control method. 2) Forward 
2616 references (within a method) -- for control methods, AML interpreters use 
2617 a one-pass parse of control methods. ACPICA BZ 1008.
2618
2619 iASL: Added error checking for dependencies related to the _PSx power 
2620 methods. ACPICA BZ 1029.
2621 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
2622 _PS3.
2623 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
2624 scope.
2625
2626 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
2627 deploying the existing object and string caches and adding new caches for 
2628 the table compiler.
2629
2630 iASL: Split the huge parser source file into multiple subfiles to improve 
2631 manageability. Generation now requires the M4 macro preprocessor, which 
2632 is part of the Bison distribution on both unix and windows platforms.
2633
2634 AcpiSrc: Fixed and removed all extraneous warnings generated during 
2635 entire ACPICA source code scan and/or conversion.
2636
2637
2638 ----------------------------------------
2639
2640 24 July 2014. Summary of changes for version 20140724: 
2641
2642 The ACPI 5.1 specification has been released and is available at: 
2643 http://uefi.org/specs/access
2644
2645
2646 0) ACPI 5.1 support in ACPICA:
2647
2648 ACPI 5.1 is fully supported in ACPICA as of this release.
2649
2650 New predefined names. Support includes iASL and runtime ACPICA 
2651 validation.
2652     _CCA (Cache Coherency Attribute).
2653     _DSD (Device-Specific Data). David Box.
2654
2655 Modifications to existing ACPI tables. Support includes headers, iASL 
2656 Data Table compiler, disassembler, and the template generator.
2657     FADT - New fields and flags. Graeme Gregory.
2658     GTDT - One new subtable and new fields. Tomasz Nowicki.
2659     MADT - Two new subtables. Tomasz Nowicki.
2660     PCCT - One new subtable.
2661
2662 Miscellaneous.
2663     New notification type for System Resource Affinity change events.
2664
2665
2666 1) ACPICA kernel-resident subsystem:
2667
2668 Fixed a regression introduced in 20140627 where a fault can happen during 
2669 the deletion of Alias AML namespace objects. The problem affected both 
2670 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
2671
2672 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
2673 simple mechanism to enable wake GPEs that have no associated handler or 
2674 control method. Rafael Wysocki.
2675
2676 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
2677 handler or control method associated with the particular GPE. This will 
2678 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
2679
2680 Updated GPE handling and dispatch by disabling the GPE before clearing 
2681 the status bit for edge-triggered GPEs. Lv Zheng.
2682
2683 Added Timer() support to the AML Debug object. The current timer value is 
2684 now displayed with each invocation of (Store to) the debug object to 
2685 enable simple generation of execution times for AML code (method 
2686 execution for example.) ACPICA BZ 1093.
2687
2688 Example Code and Data Size: These are the sizes for the OS-independent 
2689 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2690 debug version of the code includes the debug output trace mechanism and 
2691 has a much larger code and data size.
2692
2693   Current Release:
2694     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
2695     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2696   Previous Release:
2697     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2698     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2699
2700
2701 2) iASL Compiler/Disassembler and Tools:
2702
2703 Fixed an issue with the recently added local printf implementation, 
2704 concerning width/precision specifiers that could cause incorrect output. 
2705 Lv Zheng. ACPICA BZ 1094.
2706
2707 Disassembler: Added support to detect buffers that contain UUIDs and 
2708 disassemble them to an invocation of the ToUUID operator. Also emit 
2709 commented descriptions of known ACPI-related UUIDs.
2710
2711 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
2712 -u. Adds three new files. 
2713
2714 iASL: Update table compiler and disassembler for DMAR table changes that 
2715 were introduced in September 2013. With assistance by David Woodhouse.
2716
2717 ----------------------------------------
2718 27 June 2014. Summary of changes for version 20140627:
2719
2720 1) ACPICA kernel-resident subsystem:
2721
2722 Formatted Output: Implemented local versions of standard formatted output 
2723 utilities such as printf, etc. Over time, it has been discovered that 
2724 there are in fact many portability issues with printf, and the addition 
2725 of this feature will fix/prevent these issues once and for all. Some 
2726 known issues are summarized below:
2727
2728 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
2729 for the Linux kernel and is %uI64 for some MSVC versions.
2730 2) Invoking printf consistently in a manner that is portable across both 
2731 32-bit and 64-bit platforms is difficult at best in many situations.
2732 3) The output format for pointers varies from system to system (leading 
2733 zeros especially), and leads to inconsistent output from ACPICA across 
2734 platforms.
2735 4) Certain platform-specific printf formats may conflict with ACPICA use.
2736 5) If there is no local C library available, ACPICA now has local support 
2737 for printf.
2738
2739 -- To address these printf issues in a complete manner, ACPICA now 
2740 directly implements a small subset of printf format specifiers, only 
2741 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
2742
2743 Implemented support for ACPICA generation within the EFI environment. 
2744 Initially, the AcpiDump utility is supported in the UEFI shell 
2745 environment. Lv Zheng.
2746
2747 Added a new external interface, AcpiLogError, to improve ACPICA 
2748 portability. This allows the host to redirect error messages from the 
2749 ACPICA utilities. Lv Zheng.
2750
2751 Added and deployed new OSL file I/O interfaces to improve ACPICA 
2752 portability:
2753   AcpiOsOpenFile
2754   AcpiOsCloseFile
2755   AcpiOsReadFile
2756   AcpiOsWriteFile
2757   AcpiOsGetFileOffset
2758   AcpiOsSetFileOffset
2759 There are C library implementations of these functions in the new file 
2760 service_layers/oslibcfs.c -- however, the functions can be implemented by 
2761 the local host in any way necessary. Lv Zheng.
2762
2763 Implemented a mechanism to disable/enable ACPI table checksum validation 
2764 at runtime. This can be useful when loading tables very early during OS 
2765 initialization when it may not be possible to map the entire table in 
2766 order to compute the checksum. Lv Zheng.
2767
2768 Fixed a buffer allocation issue for the Generic Serial Bus support. 
2769 Originally, a fixed buffer length was used. This change allows for 
2770 variable-length buffers based upon the protocol indicated by the field 
2771 access attributes. Reported by Lan Tianyu. Lv Zheng.
2772
2773 Fixed a problem where an object detached from a namespace node was not 
2774 properly terminated/cleared and could cause a circular list problem if 
2775 reattached. ACPICA BZ 1063. David Box.
2776
2777 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
2778
2779 Fixed a possible memory leak in an error return path within the function 
2780 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
2781
2782 Example Code and Data Size: These are the sizes for the OS-independent 
2783 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2784 debug version of the code includes the debug output trace mechanism and 
2785 has a much larger code and data size.
2786
2787   Current Release:
2788     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2789     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2790   Previous Release:
2791     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2792     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2793
2794
2795 2) iASL Compiler/Disassembler and Tools:
2796
2797 Disassembler: Add dump of ASCII equivalent text within a comment at the 
2798 end of each line of the output for the Buffer() ASL operator.
2799
2800 AcpiDump: Miscellaneous changes:
2801   Fixed repetitive table dump in -n mode.
2802   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
2803 the ACPI 2.0 GUID fails.
2804
2805 iASL: Fixed a problem where the compiler could fault if incorrectly given 
2806 an acpidump output file as input. ACPICA BZ 1088. David Box.
2807
2808 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
2809 they are invoked without any arguments.
2810
2811 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
2812 1086. Colin Ian King.
2813
2814 Disassembler: Cleaned up a block of code that extracts a parent Op 
2815 object. Added a comment that explains that the parent is guaranteed to be 
2816 valid in this case. ACPICA BZ 1069.
2817
2818
2819 ----------------------------------------
2820 24 April 2014. Summary of changes for version 20140424:
2821
2822 1) ACPICA kernel-resident subsystem:
2823
2824 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
2825 Some of these tables are known to contain a trailing NULL entry. Lv 
2826 Zheng.
2827
2828 Removed an extraneous error message for the case where there are a large 
2829 number of system GPEs (> 124). This was the "32-bit FADT register is too 
2830 long to convert to GAS struct" message, which is irrelevant for GPEs 
2831 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
2832 (limited capacity) GAS bit length. Also, several changes to ensure proper 
2833 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
2834 internally.
2835
2836 Implemented and deployed additional configuration support for the public 
2837 ACPICA external interfaces. Entire classes of interfaces can now be 
2838 easily modified or configured out, replaced by stubbed inline functions 
2839 by default. Lv Zheng.
2840
2841 Moved all public ACPICA runtime configuration globals to the public 
2842 ACPICA external interface file for convenience. Also, removed some 
2843 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
2844
2845 Documentation: Added a new section to the ACPICA reference describing the 
2846 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
2847 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
2848 reference.
2849
2850 Example Code and Data Size: These are the sizes for the OS-independent 
2851 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2852 debug version of the code includes the debug output trace mechanism and 
2853 has a much larger code and data size.
2854
2855   Current Release:
2856     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2857     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2858   Previous Release:
2859     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2860     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2861
2862
2863 2) iASL Compiler/Disassembler and Tools:
2864
2865 iASL and disassembler: Add full support for the LPIT table (Low Power 
2866 Idle Table). Includes support in the disassembler, data table compiler, 
2867 and template generator.
2868
2869 AcpiDump utility:
2870 1) Add option to force the use of the RSDT (over the XSDT).
2871 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
2872
2873 iASL: Add check for predefined packages that are too large.  For 
2874 predefined names that contain subpackages, check if each subpackage is 
2875 too large. (Check for too small already exists.)
2876
2877 Debugger: Updated the GPE command (which simulates a GPE by executing the 
2878 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
2879 to the GPE 0/1 FADT-defined blocks.
2880
2881 Unix application OSL: Update line-editing support. Add additional error 
2882 checking and take care not to reset terminal attributes on exit if they 
2883 were never set. This should help guarantee that the terminal is always 
2884 left in the previous state on program exit.
2885
2886
2887 ----------------------------------------
2888 25 March 2014. Summary of changes for version 20140325:
2889
2890 1) ACPICA kernel-resident subsystem:
2891
2892 Updated the auto-serialize feature for control methods. This feature 
2893 automatically serializes all methods that create named objects in order 
2894 to prevent runtime errors. The update adds support to ignore the 
2895 currently executing AML SyncLevel when invoking such a method, in order 
2896 to prevent disruption of any existing SyncLevel priorities that may exist 
2897 in the AML code. Although the use of SyncLevels is relatively rare, this 
2898 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
2899 appear on some machines starting with the 20140214 release.
2900
2901 Added a new external interface to allow the host to install ACPI tables 
2902 very early, before the namespace is even created. AcpiInstallTable gives 
2903 the host additional flexibility for ACPI table management. Tables can be 
2904 installed directly by the host as if they had originally appeared in the 
2905 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
2906 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
2907 with additional internal restructuring and cleanup. See the ACPICA 
2908 Reference for interface details. Lv Zheng.
2909
2910 Added validation of the checksum for all incoming dynamically loaded 
2911 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
2912 Zheng.
2913
2914 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
2915 and GPE handler removal. Restructured calls to eliminate possible race 
2916 conditions. Lv Zheng.
2917
2918 Added a warning for the use/execution of the ASL/AML Unload (table) 
2919 operator. This will help detect and identify machines that use this 
2920 operator if and when it is ever used. This operator has never been seen 
2921 in the field and the usage model and possible side-effects of the drastic 
2922 runtime action of a full table removal are unknown.
2923
2924 Reverted the use of #pragma push/pop which was introduced in the 20140214 
2925 release. It appears that push and pop are not implemented by enough 
2926 compilers to make the use of this feature feasible for ACPICA at this 
2927 time. However, these operators may be deployed in a future ACPICA 
2928 release.
2929
2930 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
2931 handler interfaces.
2932
2933 Source code generation:
2934 1) Disabled the use of the "strchr" macro for the gcc-specific 
2935 generation. For some versions of gcc, this macro can periodically expose 
2936 a compiler bug which in turn causes compile-time error(s).
2937 2) Added support for PPC64 compilation. Colin Ian King.
2938
2939 Example Code and Data Size: These are the sizes for the OS-independent 
2940 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2941 debug version of the code includes the debug output trace mechanism and 
2942 has a much larger code and data size.
2943
2944   Current Release:
2945     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2946     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2947   Previous Release:
2948     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
2949     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
2950
2951
2952 2) iASL Compiler/Disassembler and Tools:
2953
2954 Disassembler: Added several new features to improve the readability of 
2955 the resulting ASL code. Extra information is emitted within comment 
2956 fields in the ASL code:
2957 1) Known _HID/_CID values are decoded to descriptive text.
2958 2) Standard values for the Notify() operator are decoded to descriptive 
2959 text.
2960 3) Target operands are expanded to full pathnames (in a comment) when 
2961 possible.
2962
2963 Disassembler: Miscellaneous updates for extern() handling:
2964 1) Abort compiler if file specified by -fe option does not exist.
2965 2) Silence unnecessary warnings about argument count mismatches.
2966 3) Update warning messages concerning unresolved method externals.
2967 4) Emit "UnknownObj" keyword for externals whose type cannot be 
2968 determined.
2969
2970 AcpiHelp utility:
2971 1) Added the -a option to display both the ASL syntax and the AML 
2972 encoding for an input ASL operator. This effectively displays all known 
2973 information about an ASL operator with one AcpiHelp invocation.
2974 2) Added substring match support (similar to a wildcard) for the -i 
2975 (_HID/PNP IDs) option.
2976
2977 iASL/Disassembler: Since this tool does not yet support execution on big-
2978 endian machines, added detection of endianness and an error message if 
2979 execution is attempted on big-endian. Support for big-endian within iASL 
2980 is a feature that is on the ACPICA to-be-done list.
2981
2982 AcpiBin utility:
2983 1) Remove option to extract binary files from an acpidump; this function 
2984 is made obsolete by the AcpiXtract utility.
2985 2) General cleanup of open files and allocated buffers.
2986
2987
2988 ----------------------------------------
2989 14 February 2014. Summary of changes for version 20140214:
2990
2991 1) ACPICA kernel-resident subsystem:
2992
2993 Implemented a new mechanism to proactively prevent problems with ill-
2994 behaved reentrant control methods that create named ACPI objects. This 
2995 behavior is illegal as per the ACPI specification, but is nonetheless 
2996 frequently seen in the field. Previously, this could lead to an 
2997 AE_ALREADY_EXISTS exception if the method was actually entered by more 
2998 than one thread. This new mechanism detects such methods at table load 
2999 time and marks them "serialized" to prevent reentrancy. A new global 
3000 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
3001 feature if desired. This mechanism and global option obsoletes and 
3002 supersedes the previous AcpiGbl_SerializeAllMethods option.
3003
3004 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
3005 respond TRUE to _OSI queries with this string. It is the stated policy of 
3006 ACPICA to add new strings to the _OSI support as soon as possible after 
3007 they are defined. See the full ACPICA _OSI policy which has been added to 
3008 the utilities/utosi.c file.
3009
3010 Hardened/updated the _PRT return value auto-repair code:
3011 1) Do not abort the repair on a single subpackage failure, continue to 
3012 check all subpackages.
3013 2) Add check for the minimum subpackage length (4).
3014 3) Properly handle extraneous NULL package elements.
3015
3016 Added support to avoid the possibility of infinite loops when traversing 
3017 object linked lists. Never allow an infinite loop, even in the face of 
3018 corrupted object lists.
3019
3020 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
3021 pack(pop) directives to ensure that the ACPICA headers are independent of 
3022 compiler settings or other host headers.
3023
3024 Example Code and Data Size: These are the sizes for the OS-independent 
3025 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3026 debug version of the code includes the debug output trace mechanism and 
3027 has a much larger code and data size.
3028
3029   Current Release:
3030     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
3031     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
3032   Previous Release:
3033     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3034     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3035
3036
3037 2) iASL Compiler/Disassembler and Tools:
3038
3039 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
3040 first reserved field was incorrectly forced to have a value of zero. This 
3041 change correctly forces the field to have a value of one. ACPICA BZ 1081.
3042
3043 Debugger: Added missing support for the "Extra" and "Data" subobjects 
3044 when displaying object data.
3045
3046 Debugger: Added support to display entire object linked lists when 
3047 displaying object data.
3048
3049 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
3050 Windows registry. This feature has been superseded by the acpidump 
3051 utility. 
3052
3053
3054 ----------------------------------------
3055 14 January 2014. Summary of changes for version 20140114:
3056
3057 1) ACPICA kernel-resident subsystem:
3058
3059 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
3060 copyright to all module headers and signons, including the standard Linux 
3061 header. This affects virtually every file in the ACPICA core subsystem, 
3062 iASL compiler, all ACPICA utilities, and the test suites.
3063
3064 Improved parameter validation for AcpiInstallGpeBlock. Added the 
3065 following checks:
3066 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
3067 2) There is not already a GPE block attached to the device.
3068 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
3069 device.
3070
3071 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
3072 support to allow references (namespace nodes) to be passed as arguments 
3073 to control methods via the evaluate object interface. This is probably 
3074 most useful for testing purposes, however.
3075
3076 Improved support for 32/64 bit physical addresses in printf()-like 
3077 output. This change improves the support for physical addresses in printf 
3078 debug statements and other output on both 32-bit and 64-bit hosts. It 
3079 consistently outputs the appropriate number of bytes for each host. The 
3080 %p specifier is unsatisfactory since it does not emit uniform output on 
3081 all hosts/clib implementations (on some, leading zeros are not supported, 
3082 leading to difficult-to-read output).
3083
3084 Example Code and Data Size: These are the sizes for the OS-independent 
3085 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3086 debug version of the code includes the debug output trace mechanism and 
3087 has a much larger code and data size.
3088
3089   Current Release:
3090     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
3091     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
3092   Previous Release:
3093     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3094     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3095
3096
3097 2) iASL Compiler/Disassembler and Tools:
3098
3099 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
3100 problem if the parent Field definition for the Connection operator refers 
3101 to an operation region that does not exist. ACPICA BZ 1064.
3102
3103 AcpiExec: Load of local test tables is now optional. The utility has the 
3104 capability to load some various tables to test features of ACPICA. 
3105 However, there are enough of them that the output of the utility became 
3106 confusing. With this change, only the required local tables are displayed 
3107 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
3108 line specification. This makes the default output simler and easier to 
3109 understand. The -el command line option restores the original behavior 
3110 for testing purposes.
3111
3112 AcpiExec: Added support for overlapping operation regions. This change 
3113 expands the simulation of operation regions by supporting regions that 
3114 overlap within the given address space. Supports SystemMemory and 
3115 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
3116
3117 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
3118 allows AcpiExec to simulate these address spaces, similar to the current 
3119 support for SystemMemory and SystemIO.
3120
3121 Debugger: Added new command to read/write/compare all namespace objects. 
3122 The command "test objects" will exercise the entire namespace by writing 
3123 new values to each data object, and ensuring that the write was 
3124 successful. The original value is then restored and verified.
3125
3126 Debugger: Added the "test predefined" command. This change makes this 
3127 test public and puts it under the new "test" command. The test executes 
3128 each and every predefined name within the current namespace.
3129
3130
3131 ----------------------------------------
3132 18 December 2013. Summary of changes for version 20131218:
3133
3134 Global note: The ACPI 5.0A specification was released this month. There 
3135 are no changes needed for ACPICA since this release of ACPI is an 
3136 errata/clarification release. The specification is available at 
3137 acpi.info. 
3138
3139
3140 1) ACPICA kernel-resident subsystem:
3141
3142 Added validation of the XSDT root table if it is present. Some older 
3143 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
3144 as containing some or all entries that are NULL pointers). This change 
3145 adds a new function to validate the XSDT before actually using it. If the 
3146 XSDT is found to be invalid, ACPICA will now automatically fall back to 
3147 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
3148 ACPICA and enhanced by Lv Zheng and Bob Moore.
3149
3150 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
3151 This change adds a runtime option that will force ACPICA to use the RSDT 
3152 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
3153 requires that an XSDT be used instead of the RSDT, the XSDT has been 
3154 found to be corrupt or ill-formed on some machines. Lv Zheng.
3155
3156 Added a runtime option to favor 32-bit FADT register addresses over the 
3157 64-bit addresses. This change adds an option to favor 32-bit FADT 
3158 addresses when there is a conflict between the 32-bit and 64-bit versions 
3159 of the same register. The default behavior is to use the 64-bit version 
3160 in accordance with the ACPI specification. This can now be overridden via 
3161 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
3162
3163 During the change above, the internal "Convert FADT" and "Verify FADT" 
3164 functions have been merged to simplify the code, making it easier to 
3165 understand and maintain. ACPICA BZ 933.
3166
3167 Improve exception reporting and handling for GPE block installation. 
3168 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
3169 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
3170
3171 Added helper macros to extract bus/segment numbers from the HEST table. 
3172 This change adds two macros to extract the encoded bus and segment 
3173 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
3174 Betty Dall <betty.dall@hp.com>
3175
3176 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
3177 by ACPICA. It is not a public macro, so it should have no effect on 
3178 existing OSV code. Lv Zheng.
3179
3180 Example Code and Data Size: These are the sizes for the OS-independent 
3181 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3182 debug version of the code includes the debug output trace mechanism and 
3183 has a much larger code and data size.
3184
3185   Current Release:
3186     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
3187     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
3188   Previous Release:
3189     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3190     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3191
3192
3193 2) iASL Compiler/Disassembler and Tools:
3194
3195 Disassembler: Improved pathname support for emitted External() 
3196 statements. This change adds full pathname support for external names 
3197 that have been resolved internally by the inclusion of additional ACPI 
3198 tables (via the iASL -e option). Without this change, the disassembler 
3199 can emit multiple externals for the same object, or it become confused 
3200 when the Scope() operator is used on an external object. Overall, greatly 
3201 improves the ability to actually recompile the emitted ASL code when 
3202 objects a referenced across multiple ACPI tables. Reported by Michael 
3203 Tsirkin (mst@redhat.com).
3204
3205 Tests/ASLTS: Updated functional control suite to execute with no errors. 
3206 David Box. Fixed several errors related to the testing of the interpreter 
3207 slack mode. Lv Zheng.
3208
3209 iASL: Added support to detect names that are declared within a control 
3210 method, but are unused (these are temporary names that are only valid 
3211 during the time the method is executing). A remark is issued for these 
3212 cases. ACPICA BZ 1022.
3213
3214 iASL: Added full support for the DBG2 table. Adds full disassembler, 
3215 table compiler, and template generator support for the DBG2 table (Debug 
3216 Port 2 table).
3217
3218 iASL: Added full support for the PCCT table, update the table definition. 
3219 Updates the PCCT table definition in the actbl3.h header and adds table 
3220 compiler and template generator support.
3221
3222 iASL: Added an option to emit only error messages (no warnings/remarks). 
3223 The -ve option will enable only error messages, warnings and remarks are 
3224 suppressed. This can simplify debugging when only the errors are 
3225 important, such as when an ACPI table is disassembled and there are many 
3226 warnings and remarks -- but only the actual errors are of real interest.
3227
3228 Example ACPICA code (source/tools/examples): Updated the example code so 
3229 that it builds to an actual working program, not just example code. Added 
3230 ACPI tables and execution of an example control method in the DSDT. Added 
3231 makefile support for Unix generation.
3232
3233
3234 ----------------------------------------
3235 15 November 2013. Summary of changes for version 20131115:
3236
3237 This release is available at https://acpica.org/downloads
3238
3239
3240 1) ACPICA kernel-resident subsystem:
3241
3242 Resource Manager: Fixed loop termination for the "get AML length" 
3243 function. The loop previously had an error termination on a NULL resource 
3244 pointer, which can never happen since the loop simply increments a valid 
3245 resource pointer. This fix changes the loop to terminate with an error on 
3246 an invalid end-of-buffer condition. The problem can be seen as an 
3247 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
3248 corrupted resource descriptor, or a resource descriptor that is missing 
3249 an END_TAG descriptor. Reported by Dan Carpenter 
3250 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
3251
3252 Table unload and ACPICA termination: Delete all attached data objects 
3253 during namespace node deletion. This fix updates namespace node deletion 
3254 to delete the entire list of attached objects (attached via 
3255 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
3256 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
3257
3258 ACPICA termination: Added support to delete all objects attached to the 
3259 root namespace node. This fix deletes any and all objects that have been 
3260 attached to the root node via AcpiAttachData. Previously, none of these 
3261 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
3262
3263 Debug output: Do not emit the function nesting level for the in-kernel 
3264 build. The nesting level is really only useful during a single-thread 
3265 execution. Therefore, only enable this output for the AcpiExec utility. 
3266 Also, only emit the thread ID when executing under AcpiExec (Context 
3267 switches are still always detected and a message is emitted). ACPICA BZ 
3268 972.
3269
3270 Example Code and Data Size: These are the sizes for the OS-independent 
3271 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3272 debug version of the code includes the debug output trace mechanism and 
3273 has a much larger code and data size.
3274
3275   Current Release:
3276     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3277     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3278   Previous Release:
3279     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3280     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3281
3282
3283 2) iASL Compiler/Disassembler and Tools:
3284
3285 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
3286 correct portable POSIX header for terminal control functions.
3287
3288 Disassembler: Fixed control method invocation issues related to the use 
3289 of the CondRefOf() operator. The problem is seen in the disassembly where 
3290 control method invocations may not be disassembled properly if the 
3291 control method name has been used previously as an argument to CondRefOf. 
3292 The solution is to not attempt to emit an external declaration for the 
3293 CondRefOf target (it is not necessary in the first place). This prevents 
3294 disassembler object type confusion. ACPICA BZ 988.
3295
3296 Unix Makefiles: Added an option to disable compiler optimizations and the 
3297 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
3298 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
3299 command line option for make (NOOPT) that disables all compiler 
3300 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
3301 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
3302 1034. Lv Zheng, Bob Moore.
3303
3304 Tests/ASLTS: Added options to specify individual test cases and modes. 
3305 This allows testers running aslts.sh to optionally specify individual 
3306 test modes and test cases. Also added an option to disable the forced 
3307 generation of the ACPICA tools from source if desired. Lv Zheng.
3308
3309 ----------------------------------------
3310 27 September 2013. Summary of changes for version 20130927:
3311
3312 This release is available at https://acpica.org/downloads
3313
3314
3315 1) ACPICA kernel-resident subsystem:
3316
3317 Fixed a problem with store operations to reference objects. This change 
3318 fixes a problem where a Store operation to an ArgX object that contained 
3319
3320 reference to a field object did not complete the automatic dereference 
3321 and 
3322 then write to the actual field object. Instead, the object type of the 
3323 field object was inadvertently changed to match the type of the source 
3324 operand. The new behavior will actually write to the field object (buffer 
3325 field or field unit), thus matching the correct ACPI-defined behavior.
3326
3327 Implemented support to allow the host to redefine individual OSL 
3328 prototypes. This change enables the host to redefine OSL prototypes found 
3329 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
3330 with a macro or inlined function. Further, it allows the host to add any 
3331 additional required modifiers such as __iomem, __init, __exit, etc., as 
3332 necessary on a per-interface basis. Enables maximum flexibility for the 
3333 OSL interfaces. Lv Zheng.
3334
3335 Hardcoded the access width for the FADT-defined reset register. The ACPI 
3336 specification requires the reset register width to be 8 bits. ACPICA now 
3337 hardcodes the width to 8 and ignores the FADT width value. This provides 
3338 compatibility with other ACPI implementations that have allowed BIOS code 
3339 with bad register width values to go unnoticed. Matthew Garett, Bob 
3340 Moore, 
3341 Lv Zheng.
3342
3343 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
3344 used 
3345 in the OSL header (acpiosxf). The change modifies the position of this 
3346 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
3347 build issues if the OSL defines the implementation of the interface to be 
3348 an inline stub function. Lv Zheng.
3349
3350 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
3351 initialization interfaces. This change adds a new macro for the main init 
3352 and terminate external interfaces in order to support hosts that require 
3353 additional or different processing for these functions. Changed from 
3354 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
3355 Zheng, Bob Moore.
3356
3357 Cleaned up the memory allocation macros for configurability. In the 
3358 common 
3359 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
3360 respective AcpiOs* OSL interfaces. Two options:
3361 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
3362 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
3363 2) For AcpiExec (and for debugging), the macros can optionally be 
3364 resolved 
3365 to the local ACPICA interfaces that track each allocation (local tracking 
3366 is used to immediately detect memory leaks).
3367 Lv Zheng.
3368
3369 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
3370 to predefine this macro to either TRUE or FALSE during the system build.
3371
3372 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
3373
3374 Example Code and Data Size: These are the sizes for the OS-independent 
3375 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3376 debug version of the code includes the debug output trace mechanism and 
3377 has a much larger code and data size.
3378
3379   Current Release:
3380     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3381     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3382   Previous Release:
3383     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3384     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3385
3386
3387 2) iASL Compiler/Disassembler and Tools:
3388
3389 iASL: Implemented wildcard support for the -e option. This simplifies use 
3390 when there are many SSDTs that must be included to resolve external 
3391 method 
3392 declarations. ACPICA BZ 1041. Example:
3393     iasl -e ssdt*.dat -d dsdt.dat
3394
3395 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
3396 adds a portable module that implements full history and limited line 
3397 editing for Unix and Linux systems. It does not use readline() due to 
3398 portability issues. Instead it uses the POSIX termio interface to put the 
3399 terminal in raw input mode so that the various special keys can be 
3400 trapped 
3401 (such as up/down-arrow for history support and left/right-arrow for line 
3402 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
3403
3404 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
3405 one or more spaces. This provides compatible with early or different 
3406 versions of the AcpiDump utility. ACPICA BZ 1044.
3407
3408 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
3409 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
3410 no other data. This change adds support to dump these tables. Any tables 
3411 shorter than the length of an ACPI table header remain in error (an error 
3412 message is emitted). Reported by Yi Li.
3413
3414 Debugger: Echo actual command along with the "unknown command" message.
3415
3416 ----------------------------------------
3417 23 August 2013. Summary of changes for version 20130823:
3418
3419 1) ACPICA kernel-resident subsystem:
3420
3421 Implemented support for host-installed System Control Interrupt (SCI) 
3422 handlers. Certain ACPI functionality requires the host to handle raw 
3423 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
3424 state support requires the host device driver to handle SCIs to examine 
3425 if the doorbell has been activated. Multiple SCI handlers can be 
3426 installed to allow for future expansion. New external interfaces are 
3427 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
3428 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
3429
3430 Operation region support: Never locally free the handler "context" 
3431 pointer. This change removes some dangerous code that attempts to free 
3432 the handler context pointer in some (rare) circumstances. The owner of 
3433 the handler owns this pointer and the ACPICA code should never touch it. 
3434 Although not seen to be an issue in any kernel, it did show up as a 
3435 problem (fault) under AcpiExec. Also, set the internal storage field for 
3436 the context pointer to zero when the region is deactivated, simply for 
3437 sanity. David Box. ACPICA BZ 1039.
3438
3439 AcpiRead: On error, do not modify the return value target location. If an 
3440 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
3441 modify the target of the return value pointer. Makes the code consistent 
3442 with the rest of ACPICA. Bjorn Helgaas.
3443
3444 Example Code and Data Size: These are the sizes for the OS-independent 
3445 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3446 debug version of the code includes the debug output trace mechanism and 
3447 has a much larger code and data size.
3448
3449   Current Release:
3450     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3451     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3452   Previous Release:
3453     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3454     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
3455
3456
3457 2) iASL Compiler/Disassembler and Tools:
3458
3459 AcpiDump: Implemented several new features and fixed some problems:
3460 1) Added support to dump the RSDP, RSDT, and XSDT tables.
3461 2) Added support for multiple table instances (SSDT, UEFI).
3462 3) Added option to dump "customized" (overridden) tables (-c).
3463 4) Fixed a problem where some table filenames were improperly 
3464 constructed.
3465 5) Improved some error messages, removed some unnecessary messages.
3466
3467 iASL: Implemented additional support for disassembly of ACPI tables that 
3468 contain invocations of external control methods. The -fe<file> option 
3469 allows the import of a file that specifies the external methods along 
3470 with the required number of arguments for each -- allowing for the 
3471 correct disassembly of the table. This is a workaround for a limitation 
3472 of AML code where the disassembler often cannot determine the number of 
3473 arguments required for an external control method and generates incorrect 
3474 ASL code. See the iASL reference for details. ACPICA BZ 1030.
3475
3476 Debugger: Implemented a new command (paths) that displays the full 
3477 pathnames (namepaths) and object types of all objects in the namespace. 
3478 This is an alternative to the namespace command.
3479
3480 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
3481 mechanism and any installed handlers.
3482
3483 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
3484 This can occur if there are too many parent prefixes in a namepath (for 
3485 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3486
3487 Application OSLs: Set the return value for the PCI read functions. These 
3488 functions simply return AE_OK, but should set the return value to zero 
3489 also. This change implements this. ACPICA BZ 1038.
3490
3491 Debugger: Prevent possible command line buffer overflow. Increase the 
3492 size of a couple of the debugger line buffers, and ensure that overflow 
3493 cannot happen. ACPICA BZ 1037.
3494
3495 iASL: Changed to abort immediately on serious errors during the parsing 
3496 phase. Due to the nature of ASL, there is no point in attempting to 
3497 compile these types of errors, and they typically end up causing a 
3498 cascade of hundreds of errors which obscure the original problem.
3499
3500 ----------------------------------------
3501 25 July 2013. Summary of changes for version 20130725:
3502
3503 1) ACPICA kernel-resident subsystem:
3504
3505 Fixed a problem with the DerefOf operator where references to FieldUnits 
3506 and BufferFields incorrectly returned the parent object, not the actual 
3507 value of the object. After this change, a dereference of a FieldUnit 
3508 reference results in a read operation on the field to get the value, and 
3509 likewise, the appropriate BufferField value is extracted from the target 
3510 buffer.
3511
3512 Fixed a problem where the _WAK method could cause a fault under these 
3513 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
3514 method returned no value. The problem is rarely seen because most kernels 
3515 run ACPICA in slack mode.
3516
3517 For the DerefOf operator, a fatal error now results if an attempt is made 
3518 to dereference a reference (created by the Index operator) to a NULL 
3519 package element. Provides compatibility with other ACPI implementations, 
3520 and this behavior will be added to a future version of the ACPI 
3521 specification.
3522
3523 The ACPI Power Management Timer (defined in the FADT) is now optional. 
3524 This provides compatibility with other ACPI implementations and will 
3525 appear in the next version of the ACPI specification. If there is no PM 
3526 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
3527 zero in the FADT indicates no PM timer.
3528
3529 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
3530 allows the host to globally enable/disable all vendor strings, all 
3531 feature strings, or both. Intended to be primarily used for debugging 
3532 purposes only. Lv Zheng.
3533
3534 Expose the collected _OSI data to the host via a global variable. This 
3535 data tracks the highest level vendor ID that has been invoked by the BIOS 
3536 so that the host (and potentially ACPICA itself) can change behaviors 
3537 based upon the age of the BIOS.
3538
3539 Example Code and Data Size: These are the sizes for the OS-independent 
3540 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3541 debug version of the code includes the debug output trace mechanism and 
3542 has a much larger code and data size.
3543
3544   Current Release:
3545     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3546     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3547   Previous Release:
3548     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3549     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3550
3551
3552 2) iASL Compiler/Disassembler and Tools:
3553
3554 iASL: Created the following enhancements for the -so option (create 
3555 offset table):
3556 1)Add offsets for the last nameseg in each namepath for every supported 
3557 object type
3558 2)Add support for Processor, Device, Thermal Zone, and Scope objects
3559 3)Add the actual AML opcode for the parent object of every supported 
3560 object type
3561 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
3562
3563 Disassembler: Emit all unresolved external symbols in a single block. 
3564 These are external references to control methods that could not be 
3565 resolved, and thus, the disassembler had to make a guess at the number of 
3566 arguments to parse.
3567
3568 iASL: The argument to the -T option (create table template) is now 
3569 optional. If not specified, the default table is a DSDT, typically the 
3570 most common case.
3571
3572 ----------------------------------------
3573 26 June 2013. Summary of changes for version 20130626:
3574
3575 1) ACPICA kernel-resident subsystem:
3576
3577 Fixed an issue with runtime repair of the _CST object. Null or invalid 
3578 elements were not always removed properly. Lv Zheng. 
3579
3580 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
3581 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
3582 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
3583 makes the system-wide number of GPEs essentially unlimited.
3584
3585 Example Code and Data Size: These are the sizes for the OS-independent 
3586 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3587 debug version of the code includes the debug output trace mechanism and 
3588 has a much larger code and data size.
3589
3590   Current Release:
3591     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3592     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3593   Previous Release:
3594     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3595     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3596
3597
3598 2) iASL Compiler/Disassembler and Tools:
3599
3600 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
3601 hosts. Now supports Linux, FreeBSD, and Windows.
3602
3603 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
3604 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
3605
3606 iASL/Preprocessor: Implemented full support for nested 
3607 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
3608
3609 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
3610 max. The original purpose of this constraint was to limit the amount of 
3611 debug output. However, the string function in question (UtPrintString) is 
3612 now used for the disassembler also, where 256 bytes is insufficient. 
3613 Reported by RehabMan@GitHub.
3614
3615 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
3616 tables. ACPICA BZ 999. Lv Zheng.
3617
3618 iASL: Fixed a couple of error exit issues that could result in a "Could 
3619 not delete <file>" message during ASL compilation.
3620
3621 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
3622 the actual signatures for these tables are "FACP" and "APIC", 
3623 respectively.
3624
3625 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
3626 tables are allowed to have multiple instances.
3627
3628 ----------------------------------------
3629 17 May 2013. Summary of changes for version 20130517:
3630
3631 1) ACPICA kernel-resident subsystem:
3632
3633 Fixed a regression introduced in version 20130328 for _INI methods. This 
3634 change fixes a problem introduced in 20130328 where _INI methods are no 
3635 longer executed properly because of a memory block that was not 
3636 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
3637 <tomasz.nowicki@linaro.org>.
3638
3639 Fixed a possible problem with the new extended sleep registers in the 
3640 ACPI 
3641 5.0 FADT. Do not use these registers (even if populated) unless the HW-
3642 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
3643 1020. Lv Zheng.
3644
3645 Implemented return value repair code for _CST predefined objects: Sort 
3646 the 
3647 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
3648
3649 Implemented a debug-only option to disable loading of SSDTs from the 
3650 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
3651 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
3652 acglobal.h - ACPICA BZ 1005. Lv Zheng.
3653
3654 Fixed some issues in the ACPICA initialization and termination code: 
3655 Tomasz Nowicki <tomasz.nowicki@linaro.org>
3656 1) Clear events initialized flag upon event component termination. ACPICA 
3657 BZ 1013.
3658 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
3659 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
3660 4) Clear debug buffer global on termination to prevent possible multiple 
3661 delete. ACPICA BZ 1010.
3662
3663 Standardized all switch() blocks across the entire source base. After 
3664 many 
3665 years, different formatting for switch() had crept in. This change makes 
3666 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
3667
3668 Split some files to enhance ACPICA modularity and configurability:
3669 1) Split buffer dump routines into utilities/utbuffer.c
3670 2) Split internal error message routines into utilities/uterror.c
3671 3) Split table print utilities into tables/tbprint.c
3672 4) Split iASL command-line option processing into asloptions.c
3673
3674 Makefile enhancements:
3675 1) Support for all new files above.
3676 2) Abort make on errors from any subcomponent. Chao Guan.
3677 3) Add build support for Apple Mac OS X. Liang Qi.
3678
3679 Example Code and Data Size: These are the sizes for the OS-independent 
3680 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3681 debug version of the code includes the debug output trace mechanism and 
3682 has a much larger code and data size.
3683
3684   Current Release:
3685     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3686     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3687   Previous Release:
3688     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3689     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3690
3691
3692 2) iASL Compiler/Disassembler and Tools:
3693
3694 New utility: Implemented an easily portable version of the acpidump 
3695 utility to extract ACPI tables from the system (or a file) in an ASCII 
3696 hex 
3697 dump format. The top-level code implements the various command line 
3698 options, file I/O, and table dump routines. To port to a new host, only 
3699 three functions need to be implemented to get tables -- since this 
3700 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
3701 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
3702 1) The Windows version obtains the ACPI tables from the Registry.
3703 2) The Linux version is under development.
3704 3) Other hosts - If an OS-dependent module is submitted, it will be 
3705 distributed with ACPICA.
3706
3707 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
3708 restructuring/change to the initialization sequence caused this option to 
3709 no longer work properly.
3710
3711 iASL: Implemented a mechanism to disable specific warnings and remarks. 
3712 Adds a new command line option, "-vw <messageid> as well as "#pragma 
3713 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
3714
3715 iASL: Fix for too-strict package object validation. The package object 
3716 validation for return values from the predefined names is a bit too 
3717 strict, it does not allow names references within the package (which will 
3718 be resolved at runtime.) These types of references cannot be validated at 
3719 compile time. This change ignores named references within package objects 
3720 for names that return or define static packages.
3721
3722 Debugger: Fixed the 80-character command line limitation for the History 
3723 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
3724
3725 iASL: Added control method and package support for the -so option 
3726 (generates AML offset table for BIOS support.)
3727
3728 iASL: issue a remark if a non-serialized method creates named objects. If 
3729 a thread blocks within the method for any reason, and another thread 
3730 enters the method, the method will fail because an attempt will be made 
3731 to 
3732 create the same (named) object twice. In this case, issue a remark that 
3733 the method should be marked serialized. NOTE: may become a warning later. 
3734 ACPICA BZ 909.
3735
3736 ----------------------------------------
3737 18 April 2013. Summary of changes for version 20130418:
3738
3739 1) ACPICA kernel-resident subsystem:
3740
3741 Fixed a possible buffer overrun during some rare but specific field unit 
3742 read operations. This overrun can only happen if the DSDT version is 1 -- 
3743 meaning that all AML integers are 32 bits -- and the field length is 
3744 between 33 and 55 bits long. During the read, an internal buffer object 
3745 is 
3746 created for the field unit because the field is larger than an integer 
3747 (32 
3748 bits). However, in this case, the buffer will be incorrectly written 
3749 beyond the end because the buffer length is less than the internal 
3750 minimum 
3751 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
3752 long, but a full 8 bytes will be written.
3753
3754 Updated the Embedded Controller "orphan" _REG method support. This refers 
3755 to _REG methods under the EC device that have no corresponding operation 
3756 region. This is allowed by the ACPI specification. This update removes a 
3757 dependency on the existence an ECDT table. It will execute an orphan _REG 
3758 method as long as the operation region handler for the EC is installed at 
3759 the EC device node and not the namespace root. Rui Zhang (original 
3760 update), Bob Moore (update/integrate).
3761
3762 Implemented run-time argument typechecking for all predefined ACPI names 
3763 (_STA, _BIF, etc.) This change performs object typechecking on all 
3764 incoming arguments for all predefined names executed via 
3765 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
3766 passing correct object types as well as the correct number of arguments 
3767 (therefore identifying any issues immediately). Also, the ASL/namespace 
3768 definition of the predefined name is checked against the ACPI 
3769 specification for the proper argument count. Adds one new file, 
3770 nsarguments.c
3771
3772 Changed an exception code for the ASL UnLoad() operator. Changed the 
3773 exception code for the case where the input DdbHandle is invalid, from 
3774 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
3775
3776 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
3777 global makefile. The use of this flag causes compiler errors on earlier 
3778 versions of GCC, so it has been removed for compatibility.
3779
3780 Miscellaneous cleanup:
3781 1) Removed some unused/obsolete macros
3782 2) Fixed a possible memory leak in the _OSI support
3783 3) Removed an unused variable in the predefined name support
3784 4) Windows OSL: remove obsolete reference to a memory list field
3785
3786 Example Code and Data Size: These are the sizes for the OS-independent 
3787 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3788 debug version of the code includes the debug output trace mechanism and 
3789 has a much larger code and data size.
3790
3791   Current Release:
3792     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3793     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3794   Previous Release:
3795     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3796     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3797
3798
3799 2) iASL Compiler/Disassembler and Tools:
3800
3801 AcpiExec: Added installation of a handler for the SystemCMOS address 
3802 space. This prevents control method abort if a method accesses this 
3803 space.
3804
3805 AcpiExec: Added support for multiple EC devices, and now install EC 
3806 operation region handler(s) at the actual EC device instead of the 
3807 namespace root. This reflects the typical behavior of host operating 
3808 systems.
3809
3810 AcpiExec: Updated to ensure that all operation region handlers are 
3811 installed before the _REG methods are executed. This prevents a _REG 
3812 method from aborting if it accesses an address space has no handler. 
3813 AcpiExec installs a handler for every possible address space.
3814
3815 Debugger: Enhanced the "handlers" command to display non-root handlers. 
3816 This change enhances the handlers command to display handlers associated 
3817 with individual devices throughout the namespace, in addition to the 
3818 currently supported display of handlers associated with the root 
3819 namespace 
3820 node.
3821
3822 ASL Test Suite: Several test suite errors have been identified and 
3823 resolved, reducing the total error count during execution. Chao Guan.
3824
3825 ----------------------------------------
3826 28 March 2013. Summary of changes for version 20130328:
3827
3828 1) ACPICA kernel-resident subsystem:
3829
3830 Fixed several possible race conditions with the internal object reference 
3831 counting mechanism. Some of the external ACPICA interfaces update object 
3832 reference counts without holding the interpreter or namespace lock. This 
3833 change adds a spinlock to protect reference count updates on the internal 
3834 ACPICA objects. Reported by and with assistance from Andriy Gapon 
3835 (avg@FreeBSD.org).
3836
3837 FADT support: Removed an extraneous warning for very large GPE register 
3838 sets. This change removes a size mismatch warning if the legacy length 
3839 field for a GPE register set is larger than the 64-bit GAS structure can 
3840 accommodate. GPE register sets can be larger than the 255-bit width 
3841 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
3842
3843 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
3844 return from this interface. Handles a possible timeout case if 
3845 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
3846 "forever". Jung-uk Kim.
3847
3848 Predefined name support: Add allowed/required argument type information 
3849 to 
3850 the master predefined info table. This change adds the infrastructure to 
3851 enable typechecking on incoming arguments for all predefined 
3852 methods/objects. It does not actually contain the code that will fully 
3853 utilize this information, this is still under development. Also condenses 
3854 some duplicate code for the predefined names into a new module, 
3855 utilities/utpredef.c
3856
3857 Example Code and Data Size: These are the sizes for the OS-independent 
3858 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3859 debug version of the code includes the debug output trace mechanism and 
3860 has a much larger code and data size.
3861
3862   Previous Release:
3863     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3864     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3865   Current Release:
3866     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3867     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3868
3869
3870 2) iASL Compiler/Disassembler and Tools:
3871
3872 iASL: Implemented a new option to simplify the development of ACPI-
3873 related 
3874 BIOS code. Adds support for a new "offset table" output file. The -so 
3875 option will create a C table containing the AML table offsets of various 
3876 named objects in the namespace so that BIOS code can modify them easily 
3877 at 
3878 boot time. This can simplify BIOS runtime code by eliminating expensive 
3879 searches for "magic values", enhancing boot times and adding greater 
3880 reliability. With assistance from Lee Hamel.
3881
3882 iASL: Allow additional predefined names to return zero-length packages. 
3883 Now, all predefined names that are defined by the ACPI specification to 
3884 return a "variable-length package of packages" are allowed to return a 
3885 zero length top-level package. This allows the BIOS to tell the host that 
3886 the requested feature is not supported, and supports existing BIOS/ASL 
3887 code and practices.
3888
3889 iASL: Changed the "result not used" warning to an error. This is the case 
3890 where an ASL operator is effectively a NOOP because the result of the 
3891 operation is not stored anywhere. For example:
3892     Add (4, Local0)
3893 There is no target (missing 3rd argument), nor is the function return 
3894 value used. This is potentially a very serious problem -- since the code 
3895 was probably intended to do something, but for whatever reason, the value 
3896 was not stored. Therefore, this issue has been upgraded from a warning to 
3897 an error.
3898
3899 AcpiHelp: Added allowable/required argument types to the predefined names 
3900 info display. This feature utilizes the recent update to the predefined 
3901 names table (above).
3902
3903 ----------------------------------------
3904 14 February 2013. Summary of changes for version 20130214:
3905
3906 1) ACPICA Kernel-resident Subsystem:
3907
3908 Fixed a possible regression on some hosts: Reinstated the safe return 
3909 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
3910 evaluated only once. Although these macros are not needed for the ACPICA 
3911 code itself, they are often used by ACPI-related host device drivers 
3912 where 
3913 the safe feature may be necessary.
3914
3915 Fixed several issues related to the ACPI 5.0 reduced hardware support 
3916 (SOC): Now ensure that if the platform declares itself as hardware-
3917 reduced 
3918 via the FADT, the following functions become NOOPs (and always return 
3919 AE_OK) because ACPI is always enabled by definition on these machines:
3920   AcpiEnable
3921   AcpiDisable
3922   AcpiHwGetMode
3923   AcpiHwSetMode
3924
3925 Dynamic Object Repair: Implemented additional runtime repairs for 
3926 predefined name return values. Both of these repairs can simplify code in 
3927 the related device drivers that invoke these methods:
3928 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
3929 string to a Unicode buffer. 
3930 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
3931
3932 lone end tag descriptor in the following cases: A Return(0) was executed, 
3933 a null buffer was returned, or no object at all was returned (non-slack 
3934 mode only). Adds a new file, nsconvert.c
3935 ACPICA BZ 998. Bob Moore, Lv Zheng.
3936
3937 Resource Manager: Added additional code to prevent possible infinite 
3938 loops 
3939 while traversing corrupted or ill-formed resource template buffers. Check 
3940 for zero-length resource descriptors in all code that loops through 
3941 resource templates (the length field is used to index through the 
3942 template). This change also hardens the external AcpiWalkResources and 
3943 AcpiWalkResourceBuffer interfaces.
3944
3945 Local Cache Manager: Enhanced the main data structure to eliminate an 
3946 unnecessary mechanism to access the next object in the list. Actually 
3947 provides a small performance enhancement for hosts that use the local 
3948 ACPICA cache manager. Jung-uk Kim.
3949
3950 Example Code and Data Size: These are the sizes for the OS-independent 
3951 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3952 debug version of the code includes the debug output trace mechanism and 
3953 has a much larger code and data size.
3954
3955   Previous Release:
3956     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
3957     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
3958   Current Release:
3959     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3960     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3961
3962
3963 2) iASL Compiler/Disassembler and Tools:
3964
3965 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
3966 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
3967 that were made to the ACPI 5.0 specification.
3968
3969 iASL/Disassembler: Added full support for the following new ACPI tables:
3970   1) The MTMR table (MID Timer Table)
3971   2) The VRTC table (Virtual Real Time Clock Table).
3972 Includes header file, disassembler, table compiler, and template support 
3973 for both tables.
3974
3975 iASL: Implemented compile-time validation of package objects returned by 
3976 predefined names. This new feature validates static package objects 
3977 returned by the various predefined names defined to return packages. Both 
3978 object types and package lengths are validated, for both parent packages 
3979 and sub-packages, if any. The code is similar in structure and behavior 
3980 to 
3981 the runtime repair mechanism within the AML interpreter and uses the 
3982 existing predefined name information table. Adds a new file, aslprepkg.c. 
3983 ACPICA BZ 938.
3984
3985 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
3986 This feature detects a binary file with a valid ACPI table header and 
3987 invokes the disassembler automatically. Eliminates the need to 
3988 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
3989
3990 iASL/Disassembler: Added several warnings for the case where there are 
3991 unresolved control methods during the disassembly. This can potentially 
3992 cause errors when the output file is compiled, because the disassembler 
3993 assumes zero method arguments in these cases (it cannot determine the 
3994 actual number of arguments without resolution/definition of the method).
3995
3996 Debugger: Added support to display all resources with a single command. 
3997 Invocation of the resources command with no arguments will now display 
3998 all 
3999 resources within the current namespace.
4000
4001 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
4002 via the -e option.
4003
4004 ----------------------------------------
4005 17 January 2013. Summary of changes for version 20130117:
4006
4007 1) ACPICA Kernel-resident Subsystem:
4008
4009 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
4010 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
4011 objects to return a package containing one integer, most BIOS code 
4012 returns 
4013 two integers and the previous code reflects that. However, we also need 
4014 to 
4015 support BIOS code that actually implements to the ACPI spec, and this 
4016 change reflects this.
4017
4018 Fixed two issues with the ACPI_DEBUG_PRINT macros:
4019 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
4020 C compilers that require this support.
4021 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
4022 ACPI_DEBUG is already used by many of the various hosts.
4023
4024 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
4025 copyright to all module headers and signons, including the standard Linux 
4026 header. This affects virtually every file in the ACPICA core subsystem, 
4027 iASL compiler, all ACPICA utilities, and the test suites.
4028
4029 Example Code and Data Size: These are the sizes for the OS-independent 
4030 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4031 debug version of the code includes the debug output trace mechanism and 
4032 has a much larger code and data size.
4033
4034   Previous Release:
4035     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4036     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4037   Current Release:
4038     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
4039     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
4040
4041
4042 2) iASL Compiler/Disassembler and Tools:
4043
4044 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
4045 prevent a possible fault on some hosts. Some C libraries modify the arg 
4046 pointer parameter to vfprintf making it difficult to call it twice in the 
4047 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
4048 does not affect the Windows OSL since the Win C library does not modify 
4049 the arg pointer. Chao Guan, Bob Moore.
4050
4051 iASL: Fixed a possible infinite loop when the maximum error count is 
4052 reached. If an output file other than the .AML file is specified (such as 
4053 a listing file), and the maximum number of errors is reached, do not 
4054 attempt to flush data to the output file(s) as the compiler is aborting. 
4055 This can cause an infinite loop as the max error count code essentially 
4056 keeps calling itself.
4057
4058 iASL/Disassembler: Added an option (-in) to ignore NOOP 
4059 opcodes/operators. 
4060 Implemented for both the compiler and the disassembler. Often, the NOOP 
4061 opcode is used as padding for packages that are changed dynamically by 
4062 the 
4063 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
4064 errors. This option causes the disassembler to ignore all NOOP opcodes 
4065 (0xA3), and it also causes the compiler to ignore all ASL source code 
4066 NOOP 
4067 statements as well.
4068
4069 Debugger: Enhanced the Sleep command to execute all sleep states. This 
4070 change allows Sleep to be invoked with no arguments and causes the 
4071 debugger to execute all of the sleep states, 0-5, automatically.
4072
4073 ----------------------------------------
4074 20 December 2012. Summary of changes for version 20121220:
4075
4076 1) ACPICA Kernel-resident Subsystem:
4077
4078 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
4079 alternate entry point for AcpiWalkResources and improves the usability of 
4080 the resource manager by accepting as input a buffer containing the output 
4081 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
4082 input buffer is not deleted by this interface so that it can be used by 
4083 the host later. See the ACPICA reference for details.
4084
4085 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
4086 (DSDT version < 2). The constant will be truncated and this warning 
4087 reflects that behavior.
4088
4089 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
4090 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
4091 both get and set the new wake bit in these descriptors, separately from 
4092 the existing share bit. Reported by Aaron Lu.
4093
4094 Interpreter: Fix Store() when an implicit conversion is not possible. For 
4095 example, in the cases such as a store of a string to an existing package 
4096 object, implement the store as a CopyObject(). This is a small departure 
4097 from the ACPI specification which states that the control method should 
4098 be 
4099 aborted in this case. However, the ASLTS suite depends on this behavior.
4100
4101 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
4102 macros: check if debug output is currently enabled as soon as possible to 
4103 minimize performance impact if debug is in fact not enabled.
4104
4105 Source code restructuring: Cleanup to improve modularity. The following 
4106 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
4107 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
4108 Associated makefiles and project files have been updated.
4109
4110 Changed an exception code for LoadTable operator. For the case where one 
4111 of the input strings is too long, change the returned exception code from 
4112 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
4113
4114 Fixed a possible memory leak in dispatcher error path. On error, delete 
4115 the mutex object created during method mutex creation. Reported by 
4116 tim.gardner@canonical.com.
4117
4118 Example Code and Data Size: These are the sizes for the OS-independent 
4119 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4120 debug version of the code includes the debug output trace mechanism and 
4121 has a much larger code and data size.
4122
4123   Previous Release:
4124     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4125     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4126   Current Release:
4127     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
4128     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
4129
4130
4131 2) iASL Compiler/Disassembler and Tools:
4132
4133 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
4134 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
4135 will not allow the interpreter to differentiate between a method and a 
4136 method invocation when these are used as an argument to the ObjectType 
4137 operator. The ACPI specification change is to disallow a method 
4138 invocation 
4139 (UserTerm) for the ObjectType operator.
4140
4141 Finish support for the TPM2 and CSRT tables in the headers, table 
4142 compiler, and disassembler.
4143
4144 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
4145 always expires immediately if the semaphore is not available. The 
4146 original 
4147 code was using a relative-time timeout, but sem_timedwait requires the 
4148 use 
4149 of an absolute time.
4150
4151 iASL: Added a remark if the Timer() operator is used within a 32-bit 
4152 table. This operator returns a 64-bit time value that will be truncated 
4153 within a 32-bit table.
4154
4155 iASL Source code restructuring: Cleanup to improve modularity. The 
4156 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
4157 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
4158 been updated.
4159
4160
4161 ----------------------------------------
4162 14 November 2012. Summary of changes for version 20121114:
4163
4164 1) ACPICA Kernel-resident Subsystem:
4165
4166 Implemented a performance enhancement for ACPI/AML Package objects. This 
4167 change greatly increases the performance of Package objects within the 
4168 interpreter. It changes the processing of reference counts for packages 
4169 by 
4170 optimizing for the most common case where the package sub-objects are 
4171 either Integers, Strings, or Buffers. Increases the overall performance 
4172 of 
4173 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
4174 2X.) 
4175 Chao Guan. ACPICA BZ 943.
4176
4177 Implemented and deployed common macros to extract flag bits from resource 
4178 descriptors. Improves readability and maintainability of the code. Fixes 
4179
4180 problem with the UART serial bus descriptor for the number of data bits 
4181 flags (was incorrectly 2 bits, should be 3).
4182
4183 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
4184 of the macros and changed the SETx macros to the style of (destination, 
4185 source). Also added ACPI_CASTx companion macros. Lv Zheng.
4186
4187 Example Code and Data Size: These are the sizes for the OS-independent 
4188 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4189 debug version of the code includes the debug output trace mechanism and 
4190 has a much larger code and data size.
4191
4192   Previous Release:
4193     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4194     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4195   Current Release:
4196     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
4197     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4198
4199
4200 2) iASL Compiler/Disassembler and Tools:
4201
4202 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
4203 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
4204 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
4205
4206 Disassembler: Fixed a problem with external declaration generation. Fixes 
4207 a problem where an incorrect pathname could be generated for an external 
4208 declaration if the original reference to the object includes leading 
4209 carats (^). ACPICA BZ 984.
4210
4211 Debugger: Completed a major update for the Disassemble<method> command. 
4212 This command was out-of-date and did not properly disassemble control 
4213 methods that had any reasonable complexity. This fix brings the command 
4214 up 
4215 to the same level as the rest of the disassembler. Adds one new file, 
4216 dmdeferred.c, which is existing code that is now common with the main 
4217 disassembler and the debugger disassemble command. ACPICA MZ 978.
4218
4219 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
4220 Newer versions of Bison emit this prototype, so moved the prototype out 
4221 of 
4222 the iASL header to where it is actually used in order to avoid a 
4223 duplicate 
4224 declaration.
4225
4226 iASL/Tools: Standardized use of the stream I/O functions:
4227   1) Ensure check for I/O error after every fopen/fread/fwrite
4228   2) Ensure proper order of size/count arguments for fread/fwrite
4229   3) Use test of (Actual != Requested) after all fwrite, and most fread
4230   4) Standardize I/O error messages
4231 Improves reliability and maintainability of the code. Bob Moore, Lv 
4232 Zheng. 
4233 ACPICA BZ 981.
4234
4235 Disassembler: Prevent duplicate External() statements. During generation 
4236 of external statements, detect similar pathnames that are actually 
4237 duplicates such as these:
4238   External (\ABCD)
4239   External (ABCD)
4240 Remove all leading '\' characters from pathnames during the external 
4241 statement generation so that duplicates will be detected and tossed. 
4242 ACPICA BZ 985.
4243
4244 Tools: Replace low-level I/O with stream I/O functions. Replace 
4245 open/read/write/close with the stream I/O equivalents 
4246 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
4247 Moore.
4248
4249 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
4250 name header so that AcpiXtract recognizes the output file/table.
4251
4252 iASL: Remove obsolete -2 option flag. Originally intended to force the 
4253 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
4254 and the entire concept is now obsolete.
4255
4256 ----------------------------------------
4257 18 October 2012. Summary of changes for version 20121018:
4258
4259
4260 1) ACPICA Kernel-resident Subsystem:
4261
4262 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
4263 introduced by late changes to the table as it was added to the ACPI 5.0 
4264 specification. Includes header, disassembler, and data table compiler 
4265 support as well as a new version of the MPST template.
4266
4267 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
4268 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
4269 methods: _HID, _CID, and _UID.
4270
4271 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
4272 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
4273 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
4274 names for their various drivers. Affects the AcpiGetObjectInfo external 
4275 interface, and other internal interfaces as well.
4276
4277 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
4278 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
4279 on machines that support non-aligned transfers. Optimizes for this case 
4280 rather than using a strncpy. With assistance from Zheng Lv.
4281
4282 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
4283 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
4284
4285 Added a new debug print message for AML mutex objects that are force-
4286 released. At control method termination, any currently acquired mutex 
4287 objects are force-released. Adds a new debug-only message for each one 
4288 that is released.
4289
4290 Audited/updated all ACPICA return macros and the function debug depth 
4291 counter: 1) Ensure that all functions that use the various TRACE macros 
4292 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
4293 return statements surround the return expression (value) with parens to 
4294 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
4295 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
4296
4297 Global source code changes/maintenance: All extra lines at the start and 
4298 end of each source file have been removed for consistency. Also, within 
4299 comments, all new sentences start with a single space instead of a double 
4300 space, again for consistency across the code base.
4301
4302 Example Code and Data Size: These are the sizes for the OS-independent 
4303 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4304 debug version of the code includes the debug output trace mechanism and 
4305 has a much larger code and data size.
4306
4307   Previous Release:
4308     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4309     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4310   Current Release:
4311     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4312     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4313
4314
4315 2) iASL Compiler/Disassembler and Tools:
4316
4317 AcpiExec: Improved the algorithm used for memory leak/corruption 
4318 detection. Added some intelligence to the code that maintains the global 
4319 list of allocated memory. The list is now ordered by allocated memory 
4320 address, significantly improving performance. When running AcpiExec on 
4321 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
4322 on the platform and/or the environment. Note, this performance 
4323 enhancement affects the AcpiExec utility only, not the kernel-resident 
4324 ACPICA code.
4325
4326 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
4327 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
4328 incorrect table offset reported for invalid opcodes. Report the original 
4329 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
4330
4331 Disassembler: Enhanced the -vt option to emit the binary table data in 
4332 hex format to assist with debugging.
4333
4334 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
4335 size of file structure. Colin Ian King.
4336
4337 ----------------------------------------
4338 13 September 2012. Summary of changes for version 20120913:
4339
4340
4341 1) ACPICA Kernel-resident Subsystem:
4342
4343 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
4344 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
4345 and 
4346 MCE(6).
4347  
4348 Table Manager: Merged/removed duplicate code in the root table resize 
4349 functions. One function is external, the other is internal. Lv Zheng, 
4350 ACPICA 
4351 BZ 846.
4352
4353 Makefiles: Completely removed the obsolete "Linux" makefiles under 
4354 acpica/generate/linux. These makefiles are obsolete and have been 
4355 replaced 
4356 by 
4357 the generic unix makefiles under acpica/generate/unix.
4358
4359 Makefiles: Ensure that binary files always copied properly. Minor rule 
4360 change 
4361 to ensure that the final binary output files are always copied up to the 
4362 appropriate binary directory (bin32 or bin64.)
4363
4364 Example Code and Data Size: These are the sizes for the OS-independent 
4365 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4366 debug 
4367 version of the code includes the debug output trace mechanism and has a 
4368 much 
4369 larger code and data size.
4370
4371   Previous Release:
4372     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4373     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4374   Current Release:
4375     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4376     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4377
4378
4379 2) iASL Compiler/Disassembler and Tools:
4380
4381 Disassembler: Fixed a possible fault during the disassembly of resource 
4382 descriptors when a second parse is required because of the invocation of 
4383 external control methods within the table. With assistance from 
4384 adq@lidskialf.net. ACPICA BZ 976.
4385
4386 iASL: Fixed a namepath optimization problem. An error can occur if the 
4387 parse 
4388 node that contains the namepath to be optimized does not have a parent 
4389 node 
4390 that is a named object. This change fixes the problem.
4391
4392 iASL: Fixed a regression where the AML file is not deleted on errors. The 
4393 AML 
4394 output file should be deleted if there are any errors during the 
4395 compiler. 
4396 The 
4397 only exception is if the -f (force output) option is used. ACPICA BZ 974.
4398
4399 iASL: Added a feature to automatically increase internal line buffer 
4400 sizes. 
4401 Via realloc(), automatically increase the internal line buffer sizes as 
4402 necessary to support very long source code lines. The current version of 
4403 the 
4404 preprocessor requires a buffer long enough to contain full source code 
4405 lines. 
4406 This change increases the line buffer(s) if the input lines go beyond the 
4407 current buffer size. This eliminates errors that occurred when a source 
4408 code 
4409 line was longer than the buffer.
4410
4411 iASL: Fixed a problem with constant folding in method declarations. The 
4412 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
4413 if a 
4414 Type3 opcode was used.
4415
4416 Debugger: Improved command help support. For incorrect argument count, 
4417 display 
4418 full help for the command. For help command itself, allow an argument to 
4419 specify a command.
4420
4421 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
4422 errors during execution of the suite. Guan Chao.
4423
4424 ----------------------------------------
4425 16 August 2012. Summary of changes for version 20120816:
4426
4427
4428 1) ACPICA Kernel-resident Subsystem:
4429
4430 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
4431 _GTS 
4432 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
4433 deprecated and will probably be removed from the ACPI specification. 
4434 Windows 
4435 does not invoke them, and reportedly never will. The final nail in the 
4436 coffin 
4437 is that the ACPI specification states that these methods must be run with 
4438 interrupts off, which is not going to happen in a kernel interpreter. 
4439 Note: 
4440 Linux has removed all use of the methods also. It was discovered that 
4441 invoking these functions caused failures on some machines, probably 
4442 because 
4443 they were never tested since Windows does not call them. Affects two 
4444 external 
4445 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
4446 ACPICA BZ 969.
4447
4448 Implemented support for complex bit-packed buffers returned from the _PLD 
4449 (Physical Location of Device) predefined method. Adds a new external 
4450 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
4451
4452 structure. Note: C Bitfields cannot be used for this type of predefined 
4453 structure since the memory layout of individual bitfields is not defined 
4454 by 
4455 the C language. In addition, there are endian concerns where a compiler 
4456 will 
4457 change the bitfield ordering based on the machine type. The new ACPICA 
4458 interface eliminates these issues, and should be called after _PLD is 
4459 executed. ACPICA BZ 954.
4460
4461 Implemented a change to allow a scope change to root (via "Scope (\)") 
4462 during 
4463 execution of module-level ASL code (code that is executed at table load 
4464 time.) Lin Ming.
4465
4466 Added the Windows8/Server2012 string for the _OSI method. This change 
4467 adds 
4468
4469 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
4470 2012.
4471
4472 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
4473 2) 
4474 and CSRT (Core System Resource Table).
4475
4476 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
4477 names. This simplifies access to the buffers returned by these predefined 
4478 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4479
4480 GPE support: Removed an extraneous parameter from the various low-level 
4481 internal GPE functions. Tang Feng.
4482
4483 Removed the linux makefiles from the unix packages. The generate/linux 
4484 makefiles are obsolete and have been removed from the unix tarball 
4485 release 
4486 packages. The replacement makefiles are under generate/unix, and there is 
4487
4488 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4489
4490 Updates for Unix makefiles:
4491 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
4492 2) Update linker flags (move to end of command line) for AcpiExec 
4493 utility. 
4494 Guan Chao.
4495
4496 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
4497 utxface.c to improve modularity and reduce file size.
4498
4499 Example Code and Data Size: These are the sizes for the OS-independent 
4500 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4501 debug version of the code includes the debug output trace mechanism and 
4502 has a 
4503 much larger code and data size.
4504
4505   Previous Release:
4506     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4507     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4508   Current Release:
4509     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4510     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4511
4512
4513 2) iASL Compiler/Disassembler and Tools:
4514
4515 iASL: Fixed a problem with constant folding for fixed-length constant 
4516 expressions. The constant-folding code was not being invoked for constant 
4517 expressions that allow the use of type 3/4/5 opcodes to generate 
4518 constants 
4519 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
4520 result 
4521 in the generation of invalid AML bytecode. ACPICA BZ 970.
4522
4523 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
4524 apparently automatically emit some of the necessary externals. This 
4525 change 
4526 handles these versions in order to eliminate generation warnings.
4527
4528 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
4529
4530 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
4531 appears 
4532 within comments in the output file.
4533
4534 Debugger: Fixed a regression with the "Threads" command where 
4535 AE_BAD_PARAMETER was always returned.
4536
4537 ----------------------------------------
4538 11 July 2012. Summary of changes for version 20120711:
4539
4540 1) ACPICA Kernel-resident Subsystem:
4541
4542 Fixed a possible fault in the return package object repair code. Fixes a 
4543 problem that can occur when a lone package object is wrapped with an 
4544 outer 
4545 package object in order to force conformance to the ACPI specification. 
4546 Can 
4547 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
4548 _DLM, 
4549 _CSD, _PSD, _TSD.
4550
4551 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
4552 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
4553 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
4554 state 
4555 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
4556 both 
4557 Intel and other vendors. (for Intel: ICH4-M and earlier)
4558
4559 This change removes the code to disable/enable bus master arbitration 
4560 during 
4561 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
4562 causes 
4563 resume problems on some machines. The change has been in use for over 
4564 seven 
4565 years within Linux.
4566
4567 Implemented two new external interfaces to support host-directed dynamic 
4568 ACPI 
4569 table load and unload. They are intended to simplify the host 
4570 implementation 
4571 of hot-plug support:
4572   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
4573   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
4574 table.
4575 See the ACPICA reference for additional details. Adds one new file, 
4576 components/tables/tbxfload.c
4577
4578 Implemented and deployed two new interfaces for errors and warnings that 
4579 are 
4580 known to be caused by BIOS/firmware issues:
4581   AcpiBiosError: Prints "ACPI Firmware Error" message.
4582   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
4583 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
4584 table 
4585 and FADT errors. Additional deployment to be completed as appropriate in 
4586 the 
4587 future. The associated conditional macros are ACPI_BIOS_ERROR and 
4588 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
4589 ACPICA 
4590 BZ 
4591 843.
4592
4593 Implicit notify support: ensure that no memory allocation occurs within a 
4594 critical region. This fix moves a memory allocation outside of the time 
4595 that a 
4596 spinlock is held. Fixes issues on systems that do not allow this 
4597 behavior. 
4598 Jung-uk Kim.
4599
4600 Split exception code utilities and tables into a new file, 
4601 utilities/utexcep.c
4602
4603 Example Code and Data Size: These are the sizes for the OS-independent 
4604 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4605 debug 
4606 version of the code includes the debug output trace mechanism and has a 
4607 much 
4608 larger code and data size.
4609
4610   Previous Release:
4611     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4612     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4613   Current Release:
4614     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4615     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4616
4617
4618 2) iASL Compiler/Disassembler and Tools:
4619
4620 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
4621 of 
4622 0. Jung-uk Kim.
4623
4624 Debugger: Enhanced the "tables" command to emit additional information 
4625 about 
4626 the current set of ACPI tables, including the owner ID and flags decode.
4627
4628 Debugger: Reimplemented the "unload" command to use the new 
4629 AcpiUnloadParentTable external interface. This command was disable 
4630 previously 
4631 due to need for an unload interface.
4632
4633 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
4634 option 
4635 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
4636
4637 ----------------------------------------
4638 20 June 2012. Summary of changes for version 20120620:
4639
4640
4641 1) ACPICA Kernel-resident Subsystem:
4642
4643 Implemented support to expand the "implicit notify" feature to allow 
4644 multiple 
4645 devices to be notified by a single GPE. This feature automatically 
4646 generates a 
4647 runtime device notification in the absence of a BIOS-provided GPE control 
4648 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
4649 notify is 
4650 provided by ACPICA for Windows compatibility, and is a workaround for 
4651 BIOS 
4652 AML 
4653 code errors. See the description of the AcpiSetupGpeForWake interface in 
4654 the 
4655 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
4656
4657 Changed some comments and internal function names to simplify and ensure 
4658 correctness of the Linux code translation. No functional changes.
4659
4660 Example Code and Data Size: These are the sizes for the OS-independent 
4661 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4662 debug 
4663 version of the code includes the debug output trace mechanism and has a 
4664 much 
4665 larger code and data size.
4666
4667   Previous Release:
4668     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4669     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4670   Current Release:
4671     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4672     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4673
4674
4675 2) iASL Compiler/Disassembler and Tools:
4676
4677 Disassembler: Added support to emit short, commented descriptions for the 
4678 ACPI 
4679 predefined names in order to improve the readability of the disassembled 
4680 output. ACPICA BZ 959. Changes include:
4681   1) Emit descriptions for all standard predefined names (_INI, _STA, 
4682 _PRW, 
4683 etc.)
4684   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
4685   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
4686 etc.)
4687
4688 AcpiSrc: Fixed several long-standing Linux code translation issues. 
4689 Argument 
4690 descriptions in function headers are now translated properly to lower 
4691 case 
4692 and 
4693 underscores. ACPICA BZ 961. Also fixes translation problems such as 
4694 these: 
4695 (old -> new)
4696   i_aSL -> iASL
4697   00-7_f -> 00-7F
4698   16_k -> 16K
4699   local_fADT -> local_FADT
4700   execute_oSI -> execute_OSI
4701
4702 iASL: Fixed a problem where null bytes were inadvertently emitted into 
4703 some 
4704 listing files.
4705
4706 iASL: Added the existing debug options to the standard help screen. There 
4707 are 
4708 no longer two different help screens. ACPICA BZ 957.
4709
4710 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
4711 Also 
4712 expand some of the descriptions where appropriate.
4713
4714 iASL: Fixed the -ot option (display compile times/statistics). Was not 
4715 working 
4716 properly for standard output; only worked for the debug file case.
4717
4718 ----------------------------------------
4719 18 May 2012. Summary of changes for version 20120518:
4720
4721
4722 1) ACPICA Core Subsystem:
4723
4724 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
4725 defined 
4726 to block until asynchronous events such as notifies and GPEs have 
4727 completed. 
4728 Within ACPICA, it is only called before a notify or GPE handler is 
4729 removed/uninstalled. It also may be useful for the host OS within related 
4730 drivers such as the Embedded Controller driver. See the ACPICA reference 
4731 for 
4732 additional information. ACPICA BZ 868.
4733
4734 ACPI Tables: Added a new error message for a possible overflow failure 
4735 during 
4736 the conversion of FADT 32-bit legacy register addresses to internal 
4737 common 
4738 64-
4739 bit GAS structure representation. The GAS has a one-byte "bit length" 
4740 field, 
4741 thus limiting the register length to 255 bits. ACPICA BZ 953.
4742
4743 Example Code and Data Size: These are the sizes for the OS-independent 
4744 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4745 debug 
4746 version of the code includes the debug output trace mechanism and has a 
4747 much 
4748 larger code and data size.
4749
4750   Previous Release:
4751     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4752     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4753   Current Release:
4754     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4755     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4756
4757
4758 2) iASL Compiler/Disassembler and Tools:
4759
4760 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
4761 macro. 
4762 This keyword was added late in the ACPI 5.0 release cycle and was not 
4763 implemented until now.
4764
4765 Disassembler: Added support for Operation Region externals. Adds missing 
4766 support for operation regions that are defined in another table, and 
4767 referenced locally via a Field or BankField ASL operator. Now generates 
4768 the 
4769 correct External statement.
4770
4771 Disassembler: Several additional fixes for the External() statement 
4772 generation 
4773 related to some ASL operators. Also, order the External() statements 
4774 alphabetically in the disassembler output. Fixes the External() 
4775 generation 
4776 for 
4777 the Create* field, Alias, and Scope operators:
4778  1) Create* buffer field operators - fix type mismatch warning on 
4779 disassembly
4780  2) Alias - implement missing External support
4781  3) Scope - fix to make sure all necessary externals are emitted.
4782
4783 iASL: Improved pathname support. For include files, merge the prefix 
4784 pathname 
4785 with the file pathname and eliminate unnecessary components. Convert 
4786 backslashes in all pathnames to forward slashes, for readability. Include 
4787 file 
4788 pathname changes affect both #include and Include() type operators.
4789
4790 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
4791 end 
4792 of a valid line by inserting a newline and then returning the EOF during 
4793 the 
4794 next call to GetNextLine. Prevents the line from being ignored due to EOF 
4795 condition.
4796
4797 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
4798 Error 
4799 and Warning messages are now correctly recognized for both the source 
4800 code 
4801 browser and the global error and warning counts.
4802
4803 ----------------------------------------
4804 20 April 2012. Summary of changes for version 20120420:
4805
4806
4807 1) ACPICA Core Subsystem:
4808
4809 Implemented support for multiple notify handlers. This change adds 
4810 support 
4811 to 
4812 allow multiple system and device notify handlers on Device, Thermal Zone, 
4813 and 
4814 Processor objects. This can simplify the host OS notification 
4815 implementation. 
4816 Also re-worked and restructured the entire notify support code to 
4817 simplify 
4818 handler installation, handler removal, notify event queuing, and notify 
4819 dispatch to handler(s). Note: there can still only be two global notify 
4820 handlers - one for system notifies and one for device notifies. There are 
4821 no 
4822 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
4823 Moore, Rafael Wysocki.
4824
4825 Fixed a regression in the package repair code where the object reference 
4826 count was calculated incorrectly. Regression was introduced in the commit 
4827 "Support to add Package wrappers".
4828
4829 Fixed a couple possible memory leaks in the AML parser, in the error 
4830 recovery 
4831 path. Jesper Juhl, Lin Ming.
4832
4833 Example Code and Data Size: These are the sizes for the OS-independent 
4834 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4835 debug version of the code includes the debug output trace mechanism and 
4836 has a 
4837 much larger code and data size.
4838
4839   Previous Release:
4840     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4841     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4842   Current Release:
4843     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4844     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4845
4846
4847 2) iASL Compiler/Disassembler and Tools:
4848
4849 iASL: Fixed a problem with the resource descriptor support where the 
4850 length 
4851 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
4852 included in cumulative descriptor offset, resulting in incorrect values 
4853 for 
4854 resource tags within resource descriptors appearing after a 
4855 StartDependent* 
4856 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
4857
4858 iASL and Preprocessor: Implemented full support for the #line directive 
4859 to 
4860 correctly track original source file line numbers through the .i 
4861 preprocessor 
4862 output file - for error and warning messages.
4863
4864 iASL: Expand the allowable byte constants for address space IDs. 
4865 Previously, 
4866 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
4867 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
4868
4869 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
4870
4871 iASL: Add option to completely disable the preprocessor (-Pn).
4872
4873 iASL: Now emit all error/warning messages to standard error (stderr) by 
4874 default (instead of the previous stdout).
4875
4876 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
4877 Update 
4878 for resource descriptor offset fix above. Update/cleanup error output 
4879 routines. Enable and send iASL errors/warnings to an error logfile 
4880 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
4881 Fixed 
4882 several extraneous "unrecognized operator" messages.
4883
4884 ----------------------------------------
4885 20 March 2012. Summary of changes for version 20120320:
4886
4887
4888 1) ACPICA Core Subsystem:
4889
4890 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
4891 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
4892 apparently 
4893 does not execute these methods, and therefore these methods are often 
4894 untested. It has been seen on some systems where the execution of these 
4895 methods causes errors and also prevents the machine from entering S5. It 
4896 is 
4897 therefore suggested that host operating systems do not execute these 
4898 methods 
4899 by default. In the future, perhaps these methods can be optionally 
4900 executed 
4901 based on the age of the system and/or what is the newest version of 
4902 Windows 
4903 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
4904 and 
4905 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
4906 Ming.
4907
4908 Fixed a problem where the length of the local/common FADT was set too 
4909 early. 
4910 The local FADT table length cannot be set to the common length until the 
4911 original length has been examined. There is code that checks the table 
4912 length 
4913 and sets various fields appropriately. This can affect older machines 
4914 with 
4915 early FADT versions. For example, this can cause inadvertent writes to 
4916 the 
4917 CST_CNT register. Julian Anastasov.
4918
4919 Fixed a mapping issue related to a physical table override. Use the 
4920 deferred 
4921 mapping mechanism for tables loaded via the physical override OSL 
4922 interface. 
4923 This allows for early mapping before the virtual memory manager is 
4924 available. 
4925 Thomas Renninger, Bob Moore.
4926
4927 Enhanced the automatic return-object repair code: Repair a common problem 
4928 with 
4929 predefined methods that are defined to return a variable-length Package 
4930 of 
4931 sub-objects. If there is only one sub-object, some BIOS ASL code 
4932 mistakenly 
4933 simply returns the single object instead of a Package with one sub-
4934 object. 
4935 This new support will repair this error by wrapping a Package object 
4936 around 
4937 the original object, creating the correct and expected Package with one 
4938 sub-
4939 object. Names that can be repaired in this manner include: _ALR, _CSD, 
4940 _HPX, 
4941 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
4942 939.
4943
4944 Changed the exception code returned for invalid ACPI paths passed as 
4945 parameters to external interfaces such as AcpiEvaluateObject. Was 
4946 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
4947
4948 Example Code and Data Size: These are the sizes for the OS-independent 
4949 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4950 debug 
4951 version of the code includes the debug output trace mechanism and has a 
4952 much 
4953 larger code and data size.
4954
4955   Previous Release:
4956     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
4957     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4958   Current Release:
4959     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4960     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4961
4962
4963 2) iASL Compiler/Disassembler and Tools:
4964
4965 iASL: Added the infrastructure and initial implementation of a integrated 
4966 C-
4967 like preprocessor. This will simplify BIOS development process by 
4968 eliminating 
4969 the need for a separate preprocessing step during builds. On Windows, it 
4970 also 
4971 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
4972 features including full #define() macro support are still under 
4973 development. 
4974 These preprocessor directives are supported:
4975     #define
4976     #elif
4977     #else
4978     #endif
4979     #error
4980     #if
4981     #ifdef
4982     #ifndef
4983     #include
4984     #pragma message
4985     #undef
4986     #warning
4987 In addition, these new command line options are supported:
4988     -D <symbol> Define symbol for preprocessor use
4989     -li         Create preprocessed output file (*.i)
4990     -P          Preprocess only and create preprocessor output file (*.i)
4991
4992 Table Compiler: Fixed a problem where the equals operator within an 
4993 expression 
4994 did not work properly.
4995
4996 Updated iASL to use the current versions of Bison/Flex. Updated the 
4997 Windows 
4998 project file to invoke these tools from the standard location. ACPICA BZ 
4999 904. 
5000 Versions supported:
5001     Flex for Windows:  V2.5.4
5002     Bison for Windows: V2.4.1
5003
5004 ----------------------------------------
5005 15 February 2012. Summary of changes for version 20120215:
5006
5007
5008 1) ACPICA Core Subsystem:
5009
5010 There have been some major changes to the sleep/wake support code, as 
5011 described below (a - e).
5012
5013 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
5014 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
5015 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
5016 the 
5017 time the _BFS method is called and the _WAK method is called. NOTE: all 
5018 hosts 
5019 must update their wake/resume code or else sleep/wake will not work 
5020 properly. 
5021 Rafael Wysocki.
5022
5023 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
5024 _WAK 
5025 method. Some machines require that the GPEs are enabled before the _WAK 
5026 method 
5027 is executed. Thomas Renninger.
5028
5029 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
5030 bit. 
5031 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
5032 to 
5033 determine whether the system is rebooting or resuming. Matthew Garrett.
5034
5035 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
5036 Sleep) to 
5037 match the ACPI specification requirement. Rafael Wysocki.
5038
5039 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
5040 registers within the V5 FADT. This support adds two new files: 
5041 hardware/hwesleep.c implements the support for the new registers. Moved 
5042 all 
5043 sleep/wake external interfaces to hardware/hwxfsleep.c.
5044
5045
5046 Added a new OSL interface for ACPI table overrides, 
5047 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
5048 table via a physical address, instead of the logical address required by 
5049 AcpiOsTableOverride. This simplifies the host implementation. Initial 
5050 implementation by Thomas Renninger. The ACPICA implementation creates a 
5051 single 
5052 shared function for table overrides that attempts both a logical and a 
5053 physical override.
5054
5055 Expanded the OSL memory read/write interfaces to 64-bit data 
5056 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
5057 transfer support for GAS register structures passed to AcpiRead and 
5058 AcpiWrite.
5059
5060 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
5061 custom 
5062 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
5063 model. 
5064 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
5065 about 
5066 10% of the code and 5% of the static data, and the following hardware 
5067 ACPI 
5068 features become unavailable:
5069     PM Event and Control registers
5070     SCI interrupt (and handler)
5071     Fixed Events
5072     General Purpose Events (GPEs)
5073     Global Lock
5074     ACPI PM timer
5075     FACS table (Waking vectors and Global Lock)
5076
5077 Updated the unix tarball directory structure to match the ACPICA git 
5078 source 
5079 tree. This ensures that the generic unix makefiles work properly (in 
5080 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
5081 867.
5082
5083 Updated the return value of the _REV predefined method to integer value 5 
5084 to 
5085 reflect ACPI 5.0 support.
5086
5087 Moved the external ACPI PM timer interface prototypes to the public 
5088 acpixf.h 
5089 file where they belong.
5090
5091 Example Code and Data Size: These are the sizes for the OS-independent 
5092 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5093 debug 
5094 version of the code includes the debug output trace mechanism and has a 
5095 much 
5096 larger code and data size.
5097
5098   Previous Release:
5099     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5100     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5101   Current Release:
5102     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
5103     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
5104
5105
5106 2) iASL Compiler/Disassembler and Tools:
5107
5108 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
5109 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
5110 incorrectly displayed.
5111
5112 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
5113 specification.
5114
5115 ----------------------------------------
5116 11 January 2012. Summary of changes for version 20120111:
5117
5118
5119 1) ACPICA Core Subsystem:
5120
5121 Implemented a new mechanism to allow host device drivers to check for 
5122 address 
5123 range conflicts with ACPI Operation Regions. Both SystemMemory and 
5124 SystemIO 
5125 address spaces are supported. A new external interface, 
5126 AcpiCheckAddressRange, 
5127 allows drivers to check an address range against the ACPI namespace. See 
5128 the 
5129 ACPICA reference for additional details. Adds one new file, 
5130 utilities/utaddress.c. Lin Ming, Bob Moore.
5131
5132 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
5133 Control 
5134 and 
5135 Status registers, update the ACPI 5.0 flags, and update internal data 
5136 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
5137 5.0 
5138 FADT is 268 bytes.
5139
5140 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
5141 copyright to 
5142 all module headers and signons, including the standard Linux header. This 
5143 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
5144 and 
5145 all ACPICA utilities.
5146
5147 Example Code and Data Size: These are the sizes for the OS-independent 
5148 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5149 debug 
5150 version of the code includes the debug output trace mechanism and has a 
5151 much 
5152 larger code and data size.
5153
5154   Previous Release:
5155     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5156     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5157   Current Release:
5158     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
5159     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
5160
5161
5162 2) iASL Compiler/Disassembler and Tools:
5163
5164 Disassembler: fixed a problem with the automatic resource tag generation 
5165 support. Fixes a problem where the resource tags are inadvertently not 
5166 constructed if the table being disassembled contains external references 
5167 to 
5168 control methods. Moved the actual construction of the tags to after the 
5169 final 
5170 namespace is constructed (after 2nd parse is invoked due to external 
5171 control 
5172 method references.) ACPICA BZ 941.
5173
5174 Table Compiler: Make all "generic" operators caseless. These are the 
5175 operators 
5176 like UINT8, String, etc. Making these caseless improves ease-of-use. 
5177 ACPICA BZ 
5178 934.
5179
5180 ----------------------------------------
5181 23 November 2011. Summary of changes for version 20111123:
5182
5183 0) ACPI 5.0 Support:
5184
5185 This release contains full support for the ACPI 5.0 specification, as 
5186 summarized below.
5187
5188 Reduced Hardware Support:
5189 -------------------------
5190
5191 This support allows for ACPI systems without the usual ACPI hardware. 
5192 This 
5193 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
5194 will 
5195 not attempt to initialize or use any of the usual ACPI hardware. Note, 
5196 when 
5197 this flag is set, all of the following ACPI hardware is assumed to be not 
5198 present and is not initialized or accessed:
5199
5200     General Purpose Events (GPEs)
5201     Fixed Events (PM1a/PM1b and PM Control)
5202     Power Management Timer and Console Buttons (power/sleep)
5203     Real-time Clock Alarm
5204     Global Lock
5205     System Control Interrupt (SCI)
5206     The FACS is assumed to be non-existent
5207
5208 ACPI Tables:
5209 ------------
5210
5211 All new tables and updates to existing tables are fully supported in the 
5212 ACPICA headers (for use by device drivers), the disassembler, and the 
5213 iASL 
5214 Data Table Compiler. ACPI 5.0 defines these new tables:
5215
5216     BGRT        /* Boot Graphics Resource Table */
5217     DRTM        /* Dynamic Root of Trust for Measurement table */
5218     FPDT        /* Firmware Performance Data Table */
5219     GTDT        /* Generic Timer Description Table */
5220     MPST        /* Memory Power State Table */
5221     PCCT        /* Platform Communications Channel Table */
5222     PMTT        /* Platform Memory Topology Table */
5223     RASF        /* RAS Feature table */
5224
5225 Operation Regions/SpaceIDs:
5226 ---------------------------
5227
5228 All new operation regions are fully supported by the iASL compiler, the 
5229 disassembler, and the ACPICA runtime code (for dispatch to region 
5230 handlers.) 
5231 The new operation region Space IDs are:
5232
5233     GeneralPurposeIo
5234     GenericSerialBus
5235
5236 Resource Descriptors:
5237 ---------------------
5238
5239 All new ASL resource descriptors are fully supported by the iASL 
5240 compiler, 
5241 the 
5242 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
5243 (including 
5244 all new predefined resource tags). New descriptors are:
5245
5246     FixedDma
5247     GpioIo
5248     GpioInt
5249     I2cSerialBus
5250     SpiSerialBus
5251     UartSerialBus
5252
5253 ASL/AML Operators, New and Modified:
5254 ------------------------------------
5255
5256 One new operator is added, the Connection operator, which is used to 
5257 associate 
5258 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
5259 individual 
5260 field objects within an operation region. Several new protocols are 
5261 associated 
5262 with the AccessAs operator. All are fully supported by the iASL compiler, 
5263 disassembler, and runtime ACPICA AML interpreter:
5264
5265     Connection                      // Declare Field Connection 
5266 attributes
5267     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
5268     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
5269 Protocol
5270     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
5271     RawDataBuffer                       // Data type for Vendor Data 
5272 fields
5273
5274 Predefined ASL/AML Objects:
5275 ---------------------------
5276
5277 All new predefined objects/control-methods are supported by the iASL 
5278 compiler 
5279 and the ACPICA runtime validation/repair (arguments and return values.) 
5280 New 
5281 predefined names include the following:
5282
5283 Standard Predefined Names (Objects or Control Methods):
5284     _AEI, _CLS, _CPC, _CWS, _DEP,
5285     _DLM, _EVT, _GCP, _CRT, _GWS,
5286     _HRV, _PRE, _PSE, _SRT, _SUB.
5287
5288 Resource Tags (Names used to access individual fields within resource 
5289 descriptors):
5290     _DBT, _DPL, _DRS, _END, _FLC,
5291     _IOR, _LIN, _MOD, _PAR, _PHA,
5292     _PIN, _PPI, _POL, _RXL, _SLV,
5293     _SPE, _STB, _TXL, _VEN.
5294
5295 ACPICA External Interfaces:
5296 ---------------------------
5297
5298 Several new interfaces have been defined for use by ACPI-related device 
5299 drivers and other host OS services:
5300
5301 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
5302 to 
5303 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
5304 provided by the BIOS. They are intended to be used in conjunction with 
5305 the 
5306 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
5307 mutual exclusion with the AML code/interpreter.
5308
5309 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
5310 defined 
5311 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
5312 provides 
5313 resource descriptors associated with hardware-reduced platform events, 
5314 similar 
5315 to the AcpiGetCurrentResources interface.
5316
5317 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
5318 operation regions, information about the Connection() object and any 
5319 optional 
5320 length information is passed to the region handler within the Context 
5321 parameter.
5322
5323 AcpiBufferToResource: This interface converts a raw AML buffer containing 
5324
5325 resource template or resource descriptor to the ACPI_RESOURCE internal 
5326 format 
5327 suitable for use by device drivers. Can be used by an operation region 
5328 handler 
5329 to convert the Connection() buffer object into a ACPI_RESOURCE.
5330
5331 Miscellaneous/Tools/TestSuites: 
5332 -------------------------------
5333
5334 Support for extended _HID names (Four alpha characters instead of three).
5335 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
5336 Support for ACPI 5.0 features in the ASLTS test suite.
5337 Fully updated documentation (ACPICA and iASL reference documents.)
5338
5339 ACPI Table Definition Language:
5340 -------------------------------
5341
5342 Support for this language was implemented and released as a subsystem of 
5343 the 
5344 iASL compiler in 2010. (See the iASL compiler User Guide.)
5345
5346
5347 Non-ACPI 5.0 changes for this release:
5348 --------------------------------------
5349
5350 1) ACPICA Core Subsystem:
5351
5352 Fix a problem with operation region declarations where a failure can 
5353 occur 
5354 if 
5355 the region name and an argument that evaluates to an object (such as the 
5356 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
5357 937.
5358
5359 Do not abort an ACPI table load if an invalid space ID is found within. 
5360 This 
5361 will be caught later if the offending method is executed. ACPICA BZ 925.
5362
5363 Fixed an issue with the FFixedHW space ID where the ID was not always 
5364 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
5365
5366 Fixed a problem with the 32-bit generation of the unix-specific OSL 
5367 (osunixxf.c). Lin Ming, ACPICA BZ 936.
5368
5369 Several changes made to enable generation with the GCC 4.6 compiler. 
5370 ACPICA BZ 
5371 935.
5372
5373 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
5374 Index/Bank 
5375 field registers out-of-range.
5376
5377 2) iASL Compiler/Disassembler and Tools:
5378
5379 iASL: Implemented the __PATH__ operator, which returns the full pathname 
5380 of 
5381 the current source file.
5382
5383 AcpiHelp: Automatically display expanded keyword information for all ASL 
5384 operators.
5385
5386 Debugger: Add "Template" command to disassemble/dump resource template 
5387 buffers.
5388
5389 Added a new master script to generate and execute the ASLTS test suite. 
5390 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
5391
5392 iASL: Fix problem with listing generation during processing of the 
5393 Switch() 
5394 operator where AML listing was disabled until the entire Switch block was 
5395 completed.
5396
5397 iASL: Improve support for semicolon statement terminators. Fix "invalid 
5398 character" message for some cases when the semicolon is used. Semicolons 
5399 are 
5400 now allowed after every <Term> grammar element. ACPICA BZ 927.
5401
5402 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
5403 923.
5404
5405 Disassembler: Fix problem with disassembly of the DataTableRegion 
5406 operator 
5407 where an inadvertent "Unhandled deferred opcode" message could be 
5408 generated.
5409
5410 3) Example Code and Data Size
5411
5412 These are the sizes for the OS-independent acpica.lib produced by the 
5413 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5414 includes the debug output trace mechanism and has a much larger code and 
5415 data 
5416 size.
5417
5418   Previous Release:
5419     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5420     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5421   Current Release:
5422     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5423     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5424
5425 ----------------------------------------
5426 22 September 2011. Summary of changes for version 20110922:
5427
5428 0) ACPI 5.0 News:
5429
5430 Support for ACPI 5.0 in ACPICA has been underway for several months and 
5431 will 
5432 be released at the same time that ACPI 5.0 is officially released.
5433
5434 The ACPI 5.0 specification is on track for release in the next few 
5435 months.
5436  
5437 1) ACPICA Core Subsystem:
5438
5439 Fixed a problem where the maximum sleep time for the Sleep() operator was 
5440 intended to be limited to two seconds, but was inadvertently limited to 
5441 20 
5442 seconds instead.
5443
5444 Linux and Unix makefiles: Added header file dependencies to ensure 
5445 correct 
5446 generation of ACPICA core code and utilities. Also simplified the 
5447 makefiles 
5448 considerably through the use of the vpath variable to specify search 
5449 paths. 
5450 ACPICA BZ 924.
5451
5452 2) iASL Compiler/Disassembler and Tools:
5453
5454 iASL: Implemented support to check the access length for all fields 
5455 created to 
5456 access named Resource Descriptor fields. For example, if a resource field 
5457 is 
5458 defined to be two bits, a warning is issued if a CreateXxxxField() is 
5459 used 
5460 with an incorrect bit length. This is implemented for all current 
5461 resource 
5462 descriptor names. ACPICA BZ 930.
5463   
5464 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
5465 56-
5466 bit integers.
5467
5468 iASL: Fixed a couple of issues associated with variable-length package 
5469 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
5470
5471 VAR_PACKAGE when these are used as a package length. 2) Allow the 
5472 VAR_PACKAGE 
5473 opcode (in addition to PACKAGE) when validating object types for 
5474 predefined 
5475 names.
5476
5477 iASL: Emit statistics for all output files (instead of just the ASL input 
5478 and 
5479 AML output). Includes listings, hex files, etc.
5480
5481 iASL: Added -G option to the table compiler to allow the compilation of 
5482 custom 
5483 ACPI tables. The only part of a table that is required is the standard 
5484 36-
5485 byte 
5486 ACPI header.
5487
5488 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
5489 headers), 
5490 which also adds correct 64-bit support. Also, now all output filenames 
5491 are 
5492 completely lower case.
5493
5494 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
5495 loading table files. A warning is issued for any such tables. The only 
5496 exception is an FADT. This also fixes a possible fault when attempting to 
5497 load 
5498 non-AML tables. ACPICA BZ 932.
5499
5500 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
5501
5502 missing table terminator could cause a fault when using the -p option.
5503
5504 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
5505 statistics.
5506
5507 3) Example Code and Data Size
5508
5509 These are the sizes for the OS-independent acpica.lib produced by the 
5510 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5511 includes the debug output trace mechanism and has a much larger code and 
5512 data 
5513 size.
5514
5515   Previous Release (VC 9.0):
5516     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5517     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5518   Current Release (VC 9.0):
5519     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5520     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5521
5522
5523 ----------------------------------------
5524 23 June 2011. Summary of changes for version 20110623:
5525
5526 1) ACPI CA Core Subsystem:
5527
5528 Updated the predefined name repair mechanism to not attempt repair of a 
5529 _TSS 
5530 return object if a _PSS object is present. We can only sort the _TSS 
5531 return 
5532 package if there is no _PSS within the same scope. This is because if 
5533 _PSS 
5534 is 
5535 present, the ACPI specification dictates that the _TSS Power Dissipation 
5536 field 
5537 is to be ignored, and therefore some BIOSs leave garbage values in the 
5538 _TSS 
5539 Power field(s). In this case, it is best to just return the _TSS package 
5540 as-
5541 is. Reported by, and fixed with assistance from Fenghua Yu.
5542
5543 Added an option to globally disable the control method return value 
5544 validation 
5545 and repair. This runtime option can be used to disable return value 
5546 repair 
5547 if 
5548 this is causing a problem on a particular machine. Also added an option 
5549 to 
5550 AcpiExec (-dr) to set this disable flag.
5551
5552 All makefiles and project files: Major changes to improve generation of 
5553 ACPICA 
5554 tools. ACPICA BZ 912:
5555     Reduce default optimization levels to improve compatibility
5556     For Linux, add strict-aliasing=0 for gcc 4
5557     Cleanup and simplify use of command line defines
5558     Cleanup multithread library support
5559     Improve usage messages
5560
5561 Linux-specific header: update handling of THREAD_ID and pthread. For the 
5562 32-
5563 bit case, improve casting to eliminate possible warnings, especially with 
5564 the 
5565 acpica tools.
5566
5567 Example Code and Data Size: These are the sizes for the OS-independent 
5568 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5569 debug 
5570 version of the code includes the debug output trace mechanism and has a 
5571 much 
5572 larger code and data size.
5573
5574   Previous Release (VC 9.0):
5575     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5576     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5577   Current Release (VC 9.0):
5578     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5579     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5580
5581 2) iASL Compiler/Disassembler and Tools:
5582
5583 With this release, a new utility named "acpihelp" has been added to the 
5584 ACPICA 
5585 package. This utility summarizes the ACPI specification chapters for the 
5586 ASL 
5587 and AML languages. It generates under Linux/Unix as well as Windows, and 
5588 provides the following functionality:
5589     Find/display ASL operator(s) -- with description and syntax.
5590     Find/display ASL keyword(s) -- with exact spelling and descriptions.
5591     Find/display ACPI predefined name(s) -- with description, number
5592         of arguments, and the return value data type.
5593     Find/display AML opcode name(s) -- with opcode, arguments, and 
5594 grammar.
5595     Decode/display AML opcode -- with opcode name, arguments, and 
5596 grammar.
5597
5598 Service Layers: Make multi-thread support configurable. Conditionally 
5599 compile 
5600 the multi-thread support so that threading libraries will not be linked 
5601 if 
5602 not 
5603 necessary. The only tool that requires multi-thread support is AcpiExec.
5604
5605 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
5606 of 
5607 Bison appear to want the interface to yyerror to be a const char * (or at 
5608 least this is a problem when generating iASL on some systems.) ACPICA BZ 
5609 923 
5610 Pierre Lejeune.
5611
5612 Tools: Fix for systems where O_BINARY is not defined. Only used for 
5613 Windows 
5614 versions of the tools.
5615
5616 ----------------------------------------
5617 27 May 2011. Summary of changes for version 20110527:
5618
5619 1) ACPI CA Core Subsystem:
5620
5621 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
5622 table 
5623 signature. Now, only allow SSDT, OEMx, and a null signature. History:
5624     1) Originally, we checked the table signature for "SSDT" or "PSDT".
5625        (PSDT is now obsolete.)
5626     2) We added support for OEMx tables, signature "OEM" plus a fourth
5627        "don't care" character.
5628     3) Valid tables were encountered with a null signature, so we just
5629        gave up on validating the signature, (05/2008).
5630     4) We encountered non-AML tables such as the MADT, which caused
5631        interpreter errors and kernel faults. So now, we once again allow
5632        only SSDT, OEMx, and now, also a null signature. (05/2011).
5633
5634 Added the missing _TDL predefined name to the global name list in order 
5635 to 
5636 enable validation. Affects both the core ACPICA code and the iASL 
5637 compiler.
5638
5639 Example Code and Data Size: These are the sizes for the OS-independent 
5640 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5641 debug 
5642 version of the code includes the debug output trace mechanism and has a 
5643 much 
5644 larger code and data size.
5645
5646   Previous Release (VC 9.0):
5647     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5648     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5649   Current Release (VC 9.0):
5650     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5651     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5652
5653 2) iASL Compiler/Disassembler and Tools:
5654
5655 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
5656 the 
5657 debugger command line. This adds support beyond simple integers -- 
5658 including 
5659 Strings, Buffers, and Packages. Includes support for nested packages. 
5660 Increased the default command line buffer size to accommodate these 
5661 arguments. 
5662 See the ACPICA reference for details and syntax. ACPICA BZ 917.
5663  
5664 Debugger/AcpiExec: Implemented support for "default" method arguments for 
5665 the 
5666 Execute/Debug command. Now, the debugger will always invoke a control 
5667 method 
5668 with the required number of arguments -- even if the command line 
5669 specifies 
5670 none or insufficient arguments. It uses default integer values for any 
5671 missing 
5672 arguments. Also fixes a bug where only six method arguments maximum were 
5673 supported instead of the required seven.
5674
5675 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
5676 and 
5677 also return status in order to prevent buffer overruns. See the ACPICA 
5678 reference for details and syntax. ACPICA BZ 921
5679
5680 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
5681 makefiles to simplify support for the two different but similar parser 
5682 generators, bison and yacc.
5683
5684 Updated the generic unix makefile for gcc 4. The default gcc version is 
5685 now 
5686 expected to be 4 or greater, since options specific to gcc 4 are used.
5687
5688 ----------------------------------------
5689 13 April 2011. Summary of changes for version 20110413:
5690
5691 1) ACPI CA Core Subsystem:
5692
5693 Implemented support to execute a so-called "orphan" _REG method under the 
5694 EC 
5695 device. This change will force the execution of a _REG method underneath 
5696 the 
5697 EC 
5698 device even if there is no corresponding operation region of type 
5699 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
5700 compatible with Windows behavior. ACPICA BZ 875.
5701
5702 Added more predefined methods that are eligible for automatic NULL 
5703 package 
5704 element removal. This change adds another group of predefined names to 
5705 the 
5706 list 
5707 of names that can be repaired by having NULL package elements dynamically 
5708 removed. This group are those methods that return a single variable-
5709 length 
5710 package containing simple data types such as integers, buffers, strings. 
5711 This 
5712 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
5713 _PSL, 
5714 _Sx, 
5715 and _TZD. ACPICA BZ 914.
5716
5717 Split and segregated all internal global lock functions to a new file, 
5718 evglock.c.
5719
5720 Updated internal address SpaceID for DataTable regions. Moved this 
5721 internal 
5722 space 
5723 id in preparation for ACPI 5.0 changes that will include some new space 
5724 IDs. 
5725 This 
5726 change should not affect user/host code.
5727
5728 Example Code and Data Size: These are the sizes for the OS-independent 
5729 acpica.lib 
5730 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
5731 version of 
5732 the code includes the debug output trace mechanism and has a much larger 
5733 code 
5734 and 
5735 data size.
5736
5737   Previous Release (VC 9.0):
5738     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5739     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5740   Current Release (VC 9.0):
5741     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5742     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5743
5744 2) iASL Compiler/Disassembler and Tools:
5745
5746 iASL/DTC: Major update for new grammar features. Allow generic data types 
5747 in 
5748 custom ACPI tables. Field names are now optional. Any line can be split 
5749 to 
5750 multiple lines using the continuation char (\). Large buffers now use 
5751 line-
5752 continuation character(s) and no colon on the continuation lines. See the 
5753 grammar 
5754 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
5755 Moore.
5756
5757 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
5758 statements. 
5759 Since the parser stuffs a "zero" as the return value for these statements 
5760 (due 
5761 to 
5762 the underlying AML grammar), they were seen as "return with value" by the 
5763 iASL 
5764 semantic checking. They are now seen correctly as "null" return 
5765 statements.
5766
5767 iASL: Check if a_REG declaration has a corresponding Operation Region. 
5768 Adds a 
5769 check for each _REG to ensure that there is in fact a corresponding 
5770 operation 
5771 region declaration in the same scope. If not, the _REG method is not very 
5772 useful 
5773 since it probably won't be executed. ACPICA BZ 915.
5774
5775 iASL/DTC: Finish support for expression evaluation. Added a new 
5776 expression 
5777 parser 
5778 that implements c-style operator precedence and parenthesization. ACPICA 
5779 bugzilla 
5780 908.
5781
5782 Disassembler/DTC: Remove support for () and <> style comments in data 
5783 tables. 
5784 Now 
5785 that DTC has full expression support, we don't want to have comment 
5786 strings 
5787 that 
5788 start with a parentheses or a less-than symbol. Now, only the standard /* 
5789 and 
5790 // 
5791 comments are supported, as well as the bracket [] comments.
5792
5793 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
5794 "unusual" 
5795 headers in the acpidump file. Update the header validation to support 
5796 these 
5797 tables. Problem introduced in previous AcpiXtract version in the change 
5798 to 
5799 support "wrong checksum" error messages emitted by acpidump utility.
5800
5801 iASL: Add a * option to generate all template files (as a synonym for 
5802 ALL) 
5803 as 
5804 in 
5805 "iasl -T *" or "iasl -T ALL".
5806
5807 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
5808 completely 
5809 abort the compiler on "fatal" errors, simply should abort the current 
5810 compile. 
5811 This allows multiple compiles with a single (possibly wildcard) compiler 
5812 invocation.
5813
5814 ----------------------------------------
5815 16 March 2011. Summary of changes for version 20110316:
5816
5817 1) ACPI CA Core Subsystem:
5818
5819 Fixed a problem caused by a _PRW method appearing at the namespace root 
5820 scope 
5821 during the setup of wake GPEs. A fault could occur if a _PRW directly 
5822 under 
5823 the 
5824 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
5825
5826 Implemented support for "spurious" Global Lock interrupts. On some 
5827 systems, a 
5828 global lock interrupt can occur without the pending flag being set. Upon 
5829
5830 GL 
5831 interrupt, we now ensure that a thread is actually waiting for the lock 
5832 before 
5833 signaling GL availability. Rafael Wysocki, Bob Moore.
5834
5835 Example Code and Data Size: These are the sizes for the OS-independent 
5836 acpica.lib 
5837 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
5838 version of 
5839 the code includes the debug output trace mechanism and has a much larger 
5840 code 
5841 and 
5842 data size.
5843
5844   Previous Release (VC 9.0):
5845     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5846     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5847   Current Release (VC 9.0):
5848     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5849     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5850
5851 2) iASL Compiler/Disassembler and Tools:
5852
5853 Implemented full support for the "SLIC" ACPI table. Includes support in 
5854 the 
5855 header files, disassembler, table compiler, and template generator. Bob 
5856 Moore, 
5857 Lin Ming.
5858
5859 AcpiXtract: Correctly handle embedded comments and messages from 
5860 AcpiDump. 
5861 Apparently some or all versions of acpidump will occasionally emit a 
5862 comment 
5863 like 
5864 "Wrong checksum", etc., into the dump file. This was causing problems for 
5865 AcpiXtract. ACPICA BZ 905.
5866
5867 iASL: Fix the Linux makefile by removing an inadvertent double file 
5868 inclusion. 
5869 ACPICA BZ 913.
5870
5871 AcpiExec: Update installation of operation region handlers. Install one 
5872 handler 
5873 for a user-defined address space. This is used by the ASL test suite 
5874 (ASLTS).
5875
5876 ----------------------------------------
5877 11 February 2011. Summary of changes for version 20110211:
5878
5879 1) ACPI CA Core Subsystem:
5880
5881 Added a mechanism to defer _REG methods for some early-installed 
5882 handlers. 
5883 Most user handlers should be installed before call to 
5884 AcpiEnableSubsystem. 
5885 However, Event handlers and region handlers should be installed after 
5886 AcpiInitializeObjects. Override handlers for the "default" regions should 
5887 be 
5888 installed early, however. This change executes all _REG methods for the 
5889 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
5890 chicken/egg issues between them. ACPICA BZ 848.
5891
5892 Implemented an optimization for GPE detection. This optimization will 
5893 simply 
5894 ignore GPE registers that contain no enabled GPEs -- there is no need to 
5895 read the register since this information is available internally. This 
5896 becomes more important on machines with a large GPE space. ACPICA 
5897 bugzilla 
5898 884. Lin Ming. Suggestion from Joe Liu.
5899
5900 Removed all use of the highly unreliable FADT revision field. The 
5901 revision 
5902 number in the FADT has been found to be completely unreliable and cannot 
5903 be 
5904 trusted. Only the actual table length can be used to infer the version. 
5905 This 
5906 change updates the ACPICA core and the disassembler so that both no 
5907 longer 
5908 even look at the FADT version and instead depend solely upon the FADT 
5909 length.
5910
5911 Fix an unresolved name issue for the no-debug and no-error-message source 
5912 generation cases. The _AcpiModuleName was left undefined in these cases, 
5913 but 
5914 it is actually needed as a parameter to some interfaces. Define 
5915 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
5916
5917 Split several large files (makefiles and project files updated)
5918   utglobal.c   -> utdecode.c
5919   dbcomds.c    -> dbmethod.c dbnames.c
5920   dsopcode.c   -> dsargs.c dscontrol.c
5921   dsload.c     -> dsload2.c
5922   aslanalyze.c -> aslbtypes.c aslwalks.c
5923
5924 Example Code and Data Size: These are the sizes for the OS-independent 
5925 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5926 debug version of the code includes the debug output trace mechanism and 
5927 has 
5928 a much larger code and data size.
5929
5930   Previous Release (VC 9.0):
5931     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5932     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5933   Current Release (VC 9.0):
5934     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5935     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5936
5937 2) iASL Compiler/Disassembler and Tools:
5938
5939 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
5940 These are useful C-style macros with the standard definitions. ACPICA 
5941 bugzilla 898.
5942
5943 iASL/DTC: Added support for integer expressions and labels. Support for 
5944 full 
5945 expressions for all integer fields in all ACPI tables. Support for labels 
5946 in 
5947 "generic" portions of tables such as UEFI. See the iASL reference manual.
5948
5949 Debugger: Added a command to display the status of global handlers. The 
5950 "handlers" command will display op region, fixed event, and miscellaneous 
5951 global handlers. installation status -- and for op regions, whether 
5952 default 
5953 or user-installed handler will be used.
5954
5955 iASL: Warn if reserved method incorrectly returns a value. Many 
5956 predefined 
5957 names are defined such that they do not return a value. If implemented as 
5958
5959 method, issue a warning if such a name explicitly returns a value. ACPICA 
5960 Bugzilla 855.
5961
5962 iASL: Added detection of GPE method name conflicts. Detects a conflict 
5963 where 
5964 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
5965 (For 
5966 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
5967
5968 iASL/DTC: Fixed a couple input scanner issues with comments and line 
5969 numbers. Comment remover could get confused and miss a comment ending. 
5970 Fixed 
5971 a problem with line counter maintenance.
5972
5973 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
5974 is 
5975 no need to abort on simple errors within a field definition.
5976
5977 Debugger: Simplified the output of the help command. All help output now 
5978 in 
5979 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
5980
5981 ----------------------------------------
5982 12 January 2011. Summary of changes for version 20110112:
5983
5984 1) ACPI CA Core Subsystem:
5985
5986 Fixed a race condition between method execution and namespace walks that 
5987 can 
5988 possibly cause a fault. The problem was apparently introduced in version 
5989 20100528 as a result of a performance optimization that reduces the 
5990 number 
5991 of 
5992 namespace walks upon method exit by using the delete_namespace_subtree 
5993 function instead of the delete_namespace_by_owner function used 
5994 previously. 
5995 Bug is a missing namespace lock in the delete_namespace_subtree function. 
5996 dana.myers@oracle.com
5997
5998 Fixed several issues and a possible fault with the automatic "serialized" 
5999 method support. History: This support changes a method to "serialized" on 
6000 the 
6001 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
6002 possibility that it cannot handle reentrancy. This fix repairs a couple 
6003 of 
6004 issues seen in the field, especially on machines with many cores:
6005
6006     1) Delete method children only upon the exit of the last thread,
6007        so as to not delete objects out from under other running threads
6008       (and possibly causing a fault.)
6009     2) Set the "serialized" bit for the method only upon the exit of the
6010        Last thread, so as to not cause deadlock when running threads
6011        attempt to exit.
6012     3) Cleanup the use of the AML "MethodFlags" and internal method flags
6013        so that there is no longer any confusion between the two.
6014
6015     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
6016
6017 Debugger: Now lock the namespace for duration of a namespace dump. 
6018 Prevents 
6019 issues if the namespace is changing dynamically underneath the debugger. 
6020 Especially affects temporary namespace nodes, since the debugger displays 
6021 these also.
6022
6023 Updated the ordering of include files. The ACPICA headers should appear 
6024 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
6025 set 
6026 any necessary compiler-specific defines, etc. Affects the ACPI-related 
6027 tools 
6028 and utilities.
6029
6030 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
6031 copyright 
6032 to all module headers and signons, including the Linux header. This 
6033 affects 
6034 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
6035 utilities.
6036
6037 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
6038 project files for VC++ 6.0 are now obsolete. New project files can be 
6039 found 
6040 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
6041 details.
6042
6043 Example Code and Data Size: These are the sizes for the OS-independent 
6044 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
6045 debug version of the code includes the debug output trace mechanism and 
6046 has a 
6047 much larger code and data size.
6048
6049   Previous Release (VC 6.0):
6050     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6051     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6052   Current Release (VC 9.0):
6053     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
6054     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
6055
6056 2) iASL Compiler/Disassembler and Tools:
6057
6058 iASL: Added generic data types to the Data Table compiler. Add "generic" 
6059 data 
6060 types such as UINT32, String, Unicode, etc., to simplify the generation 
6061 of 
6062 platform-defined tables such as UEFI. Lin Ming.
6063
6064 iASL: Added listing support for the Data Table Compiler. Adds listing 
6065 support 
6066 (-l) to display actual binary output for each line of input code.
6067
6068 ----------------------------------------
6069 09 December 2010. Summary of changes for version 20101209:
6070
6071 1) ACPI CA Core Subsystem:
6072
6073 Completed the major overhaul of the GPE support code that was begun in 
6074 July 
6075 2010. Major features include: removal of _PRW execution in ACPICA (host 
6076 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
6077 changes to existing interfaces, simplification of GPE handler operation, 
6078 and 
6079 a handful of new interfaces:
6080
6081     AcpiUpdateAllGpes
6082     AcpiFinishGpe
6083     AcpiSetupGpeForWake
6084     AcpiSetGpeWakeMask
6085     One new file, evxfgpe.c to consolidate all external GPE interfaces.
6086
6087 See the ACPICA Programmer Reference for full details and programming 
6088 information. See the new section 4.4 "General Purpose Event (GPE) 
6089 Support" 
6090 for a full overview, and section 8.7 "ACPI General Purpose Event 
6091 Management" 
6092 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
6093 Ming, 
6094 Bob Moore, Rafael Wysocki.
6095
6096 Implemented a new GPE feature for Windows compatibility, the "Implicit 
6097 Wake 
6098 GPE Notify". This feature will automatically issue a Notify(2) on a 
6099 device 
6100 when a Wake GPE is received if there is no corresponding GPE method or 
6101 handler. ACPICA BZ 870.
6102
6103 Fixed a problem with the Scope() operator during table parse and load 
6104 phase. 
6105 During load phase (table load or method execution), the scope operator 
6106 should 
6107 not enter the target into the namespace. Instead, it should open a new 
6108 scope 
6109 at the target location. Linux BZ 19462, ACPICA BZ 882.
6110
6111 Example Code and Data Size: These are the sizes for the OS-independent 
6112 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6113 debug version of the code includes the debug output trace mechanism and 
6114 has a 
6115 much larger code and data size.
6116
6117   Previous Release:
6118     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
6119     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
6120   Current Release:
6121     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6122     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6123
6124 2) iASL Compiler/Disassembler and Tools:
6125
6126 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
6127 are 
6128 "bus-specific" per the ACPI specification, and therefore any characters 
6129 are 
6130 acceptable. The only checks that can be performed are for a null string 
6131 and 
6132 perhaps for a leading asterisk. ACPICA BZ 886.
6133
6134 iASL: Fixed a problem where a syntax error that caused a premature EOF 
6135 condition on the source file emitted a very confusing error message. The 
6136 premature EOF is now detected correctly. ACPICA BZ 891.
6137
6138 Disassembler: Decode the AccessSize within a Generic Address Structure 
6139 (byte 
6140 access, word access, etc.) Note, this field does not allow arbitrary bit 
6141 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
6142
6143 New: AcpiNames utility - Example namespace dump utility. Shows an example 
6144 of 
6145 ACPICA configuration for a minimal namespace dump utility. Uses table and 
6146 namespace managers, but no AML interpreter. Does not add any 
6147 functionality 
6148 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
6149 partition and configure ACPICA. ACPICA BZ 883.
6150
6151 AML Debugger: Increased the debugger buffer size for method return 
6152 objects. 
6153 Was 4K, increased to 16K. Also enhanced error messages for debugger 
6154 method 
6155 execution, including the buffer overflow case.
6156
6157 ----------------------------------------
6158 13 October 2010. Summary of changes for version 20101013:
6159
6160 1) ACPI CA Core Subsystem:
6161
6162 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
6163 now 
6164 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
6165 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
6166
6167 Changed the type of the predefined namespace object _TZ from ThermalZone 
6168 to 
6169 Device. This was found to be confusing to the host software that 
6170 processes 
6171 the various thermal zones, since _TZ is not really a ThermalZone. 
6172 However, 
6173
6174 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
6175 Zhang.
6176
6177 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
6178 string is "Windows 2006 SP2".
6179
6180 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
6181 nsrepair 
6182 code automatically repairs _HID-related strings, this type of code is no 
6183 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
6184 878.
6185
6186 Example Code and Data Size: These are the sizes for the OS-independent 
6187 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6188 debug version of the code includes the debug output trace mechanism and 
6189 has a 
6190 much larger code and data size.
6191
6192   Previous Release:
6193     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6194     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6195   Current Release:
6196     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6197     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6198
6199 2) iASL Compiler/Disassembler and Tools:
6200
6201 iASL: Implemented additional compile-time validation for _HID strings. 
6202 The 
6203 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
6204 length 
6205 of 
6206 the string must be exactly seven or eight characters. For both _HID and 
6207 _CID 
6208 strings, all characters must be alphanumeric. ACPICA BZ 874.
6209
6210 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
6211 descriptors that are mostly or all zeros, with the expectation that they 
6212 will 
6213 be filled in at runtime. iASL now allows this as long as there is a 
6214 "resource 
6215 tag" (name) associated with the descriptor, which gives the ASL a handle 
6216 needed to modify the descriptor. ACPICA BZ 873.
6217
6218 Added single-thread support to the generic Unix application OSL. 
6219 Primarily 
6220 for iASL support, this change removes the use of semaphores in the 
6221 single-
6222 threaded ACPICA tools/applications - increasing performance. The 
6223 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
6224 option. ACPICA BZ 879.
6225
6226 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
6227 support 
6228 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
6229
6230 iASL: Moved all compiler messages to a new file, aslmessages.h.
6231
6232 ----------------------------------------
6233 15 September 2010. Summary of changes for version 20100915:
6234
6235 1) ACPI CA Core Subsystem:
6236
6237 Removed the AcpiOsDerivePciId OSL interface. The various host 
6238 implementations 
6239 of this function were not OS-dependent and are now obsolete and can be 
6240 removed from all host OSLs. This function has been replaced by 
6241 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
6242 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
6243 module, hwpci.c. ACPICA BZ 857.
6244
6245 Implemented a dynamic repair for _HID and _CID strings. The following 
6246 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
6247 string, and 2) the entire string is uppercased. Both repairs are in 
6248 accordance with the ACPI specification and will simplify host driver 
6249 code. 
6250 ACPICA BZ 871.
6251
6252 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
6253 always UINT64. This simplifies the ACPICA code, especially any printf 
6254 output. 
6255 UINT64 is the only common data type for all thread_id types across all 
6256 operating systems. It is now up to the host OSL to cast the native 
6257 thread_id 
6258 type to UINT64 before returning the value to ACPICA (via 
6259 AcpiOsGetThreadId). 
6260 Lin Ming, Bob Moore.
6261
6262 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
6263 "inline" 
6264 keyword is not standard across compilers, and this type allows inline to 
6265 be 
6266 configured on a per-compiler basis. Lin Ming.
6267
6268 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
6269 available. 
6270 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
6271 value 
6272 during suspend/restore operations. ACPICA BZ 869.
6273
6274 All code that implements error/warning messages with the "ACPI:" prefix 
6275 has 
6276 been moved to a new module, utxferror.c.
6277
6278 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
6279 it 
6280 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
6281
6282 Example Code and Data Size: These are the sizes for the OS-independent 
6283 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6284 debug version of the code includes the debug output trace mechanism and 
6285 has a 
6286 much larger code and data size.
6287
6288   Previous Release:
6289     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6290     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6291   Current Release:
6292     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6293     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6294
6295 2) iASL Compiler/Disassembler and Tools:
6296
6297 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
6298 file. 
6299 This keeps the output files free of random error messages that may 
6300 originate 
6301 from within the namespace/interpreter code. Used this opportunity to 
6302 merge 
6303 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
6304 866. Lin Ming, Bob Moore.
6305
6306 Tools: update some printfs for ansi warnings on size_t. Handle width 
6307 change 
6308 of size_t on 32-bit versus 64-bit generations. Lin Ming.
6309
6310 ----------------------------------------
6311 06 August 2010. Summary of changes for version 20100806:
6312
6313 1) ACPI CA Core Subsystem:
6314
6315 Designed and implemented a new host interface to the _OSI support code. 
6316 This 
6317 will allow the host to dynamically add or remove multiple _OSI strings, 
6318 as 
6319 well as install an optional handler that is called for each _OSI 
6320 invocation. 
6321 Also added a new AML debugger command, 'osi' to display and modify the 
6322 global 
6323 _OSI string table, and test support in the AcpiExec utility. See the 
6324 ACPICA 
6325 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
6326 New Functions:
6327     AcpiInstallInterface - Add an _OSI string.
6328     AcpiRemoveInterface - Delete an _OSI string.
6329     AcpiInstallInterfaceHandler - Install optional _OSI handler.
6330 Obsolete Functions:
6331     AcpiOsValidateInterface - no longer used.
6332 New Files:
6333     source/components/utilities/utosi.c
6334
6335 Re-introduced the support to enable multi-byte transfers for Embedded 
6336 Controller (EC) operation regions. A reported problem was found to be a 
6337 bug 
6338 in the host OS, not in the multi-byte support. Previously, the maximum 
6339 data 
6340 size passed to the EC operation region handler was a single byte. There 
6341 are 
6342 often EC Fields larger than one byte that need to be transferred, and it 
6343 is 
6344 useful for the EC driver to lock these as a single transaction. This 
6345 change 
6346 enables single transfers larger than 8 bits. This effectively changes the 
6347 access to the EC space from ByteAcc to AnyAcc, and will probably require 
6348 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
6349 bit 
6350 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
6351
6352 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
6353 prototype in acpiosxf.h had the output value pointer as a (void *).
6354 It should be a (UINT64 *). This may affect some host OSL code.
6355
6356 Fixed a couple problems with the recently modified Linux makefiles for 
6357 iASL 
6358 and AcpiExec. These new makefiles place the generated object files in the 
6359 local directory so that there can be no collisions between the files that 
6360 are 
6361 shared between them that are compiled with different options.
6362
6363 Example Code and Data Size: These are the sizes for the OS-independent 
6364 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6365 debug version of the code includes the debug output trace mechanism and 
6366 has a 
6367 much larger code and data size.
6368
6369   Previous Release:
6370     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6371     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6372   Current Release:
6373     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6374     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6375
6376 2) iASL Compiler/Disassembler and Tools:
6377
6378 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
6379 the 
6380 namespace from and disassemble an entire group of AML files. Useful for 
6381 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
6382 and 
6383 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
6384
6385 iASL: Allow multiple invocations of -e option. This change allows 
6386 multiple 
6387 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
6388 834. 
6389 Lin Ming.
6390
6391 ----------------------------------------
6392 02 July 2010. Summary of changes for version 20100702:
6393
6394 1) ACPI CA Core Subsystem:
6395
6396 Implemented several updates to the recently added GPE reference count 
6397 support. The model for "wake" GPEs is changing to give the host OS 
6398 complete 
6399 control of these GPEs. Eventually, the ACPICA core will not execute any 
6400 _PRW 
6401 methods, since the host already must execute them. Also, additional 
6402 changes 
6403 were made to help ensure that the reference counts are kept in proper 
6404 synchronization with reality. Rafael J. Wysocki.
6405
6406 1) Ensure that GPEs are not enabled twice during initialization.
6407 2) Ensure that GPE enable masks stay in sync with the reference count.
6408 3) Do not inadvertently enable GPEs when writing GPE registers.
6409 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
6410 interface. This interface will set or clear individual GPEs for wakeup.
6411 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
6412 interfaces 
6413 are now used for "runtime" GPEs only.
6414
6415 Changed the behavior of the GPE install/remove handler interfaces. The 
6416 GPE 
6417 is 
6418 no longer disabled during this process, as it was found to cause problems 
6419 on 
6420 some machines. Rafael J. Wysocki.
6421
6422 Reverted a change introduced in version 20100528 to enable Embedded 
6423 Controller multi-byte transfers. This change was found to cause problems 
6424 with 
6425 Index Fields and possibly Bank Fields. It will be reintroduced when these 
6426 problems have been resolved.
6427
6428 Fixed a problem with references to Alias objects within Package Objects. 
6429
6430 reference to an Alias within the definition of a Package was not always 
6431 resolved properly. Aliases to objects like Processors, Thermal zones, 
6432 etc. 
6433 were resolved to the actual object instead of a reference to the object 
6434 as 
6435 it 
6436 should be. Package objects are only allowed to contain integer, string, 
6437 buffer, package, and reference objects. Redhat bugzilla 608648.
6438
6439 Example Code and Data Size: These are the sizes for the OS-independent 
6440 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6441 debug version of the code includes the debug output trace mechanism and 
6442 has a 
6443 much larger code and data size.
6444
6445   Previous Release:
6446     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6447     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6448   Current Release:
6449     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6450     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6451
6452 2) iASL Compiler/Disassembler and Tools:
6453
6454 iASL: Implemented a new compiler subsystem to allow definition and 
6455 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
6456 These 
6457 are called "ACPI Data Tables", and the new compiler is the "Data Table 
6458 Compiler". This compiler is intended to simplify the existing error-prone 
6459 process of creating these tables for the BIOS, as well as allowing the 
6460 disassembly, modification, recompilation, and override of existing ACPI 
6461 data 
6462 tables. See the iASL User Guide for detailed information.
6463
6464 iASL: Implemented a new Template Generator option in support of the new 
6465 Data 
6466 Table Compiler. This option will create examples of all known ACPI tables 
6467 that can be used as the basis for table development. See the iASL 
6468 documentation and the -T option.
6469
6470 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
6471 Descriptor Table).
6472
6473 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
6474 object files in the local directory so that there can be no collisions 
6475 between the shared files between them that are generated with different 
6476 options.
6477
6478 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
6479 Use 
6480 the #define __APPLE__ to enable this support.
6481
6482 ----------------------------------------
6483 28 May 2010. Summary of changes for version 20100528:
6484
6485 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
6486 available at www.acpi.info. This is primarily an errata release.
6487
6488 1) ACPI CA Core Subsystem:
6489
6490 Undefined ACPI tables: We are looking for the definitions for the 
6491 following 
6492 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6493
6494 Implemented support to enable multi-byte transfers for Embedded 
6495 Controller 
6496 (EC) operation regions. Previously, the maximum data size passed to the 
6497 EC 
6498 operation region handler was a single byte. There are often EC Fields 
6499 larger 
6500 than one byte that need to be transferred, and it is useful for the EC 
6501 driver 
6502 to lock these as a single transaction. This change enables single 
6503 transfers 
6504 larger than 8 bits. This effectively changes the access to the EC space 
6505 from 
6506 ByteAcc to AnyAcc, and will probably require changes to the host OS 
6507 Embedded 
6508 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
6509 bit 
6510 transfers. Alexey Starikovskiy, Lin Ming
6511
6512 Implemented a performance enhancement for namespace search and access. 
6513 This 
6514 change enhances the performance of namespace searches and walks by adding 
6515
6516 backpointer to the parent in each namespace node. On large namespaces, 
6517 this 
6518 change can improve overall ACPI performance by up to 9X. Adding a pointer 
6519 to 
6520 each namespace node increases the overall size of the internal namespace 
6521 by 
6522 about 5%, since each namespace entry usually consists of both a namespace 
6523 node and an ACPI operand object. However, this is the first growth of the 
6524 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
6525
6526 Implemented a performance optimization that reduces the number of 
6527 namespace 
6528 walks. On control method exit, only walk the namespace if the method is 
6529 known 
6530 to have created namespace objects outside of its local scope. Previously, 
6531 the 
6532 entire namespace was traversed on each control method exit. This change 
6533 can 
6534 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
6535 Moore.
6536
6537 Added support to truncate I/O addresses to 16 bits for Windows 
6538 compatibility. 
6539 Some ASL code has been seen in the field that inadvertently has bits set 
6540 above bit 15. This feature is optional and is enabled if the BIOS 
6541 requests 
6542 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
6543 Garrett, Bob Moore.
6544
6545 Added support to limit the maximum time for the ASL Sleep() operator. To 
6546 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
6547 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
6548 bugzilla 854.
6549
6550 Added run-time validation support for the _WDG and_WED Microsoft 
6551 predefined 
6552 methods. These objects are defined by "Windows Instrumentation", and are 
6553 not 
6554 part of the ACPI spec. ACPICA BZ 860.
6555
6556 Expanded all statistic counters used during namespace and device 
6557 initialization from 16 to 32 bits in order to support very large 
6558 namespaces.
6559
6560 Replaced all instances of %d in printf format specifiers with %u since 
6561 nearly 
6562 all integers in ACPICA are unsigned.
6563
6564 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
6565 returned 
6566 as AE_NO_HANDLER.
6567
6568 Example Code and Data Size: These are the sizes for the OS-independent 
6569 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6570 debug version of the code includes the debug output trace mechanism and 
6571 has a 
6572 much larger code and data size.
6573
6574   Previous Release:
6575     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6576     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6577   Current Release:
6578     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6579     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6580
6581 2) iASL Compiler/Disassembler and Tools:
6582
6583 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
6584 methods. These objects are defined by "Windows Instrumentation", and are 
6585 not 
6586 part of the ACPI spec. ACPICA BZ 860.
6587
6588 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
6589 option will disable the tracking mechanism, which improves performance 
6590 considerably.
6591
6592 AcpiExec: Restructured the command line options into -d (disable) and -e 
6593 (enable) options.
6594
6595 ----------------------------------------
6596 28 April 2010. Summary of changes for version 20100428:
6597
6598 1) ACPI CA Core Subsystem:
6599
6600 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
6601 including FADT-based and GPE Block Devices, execute any _PRW methods in 
6602 the 
6603 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
6604 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
6605 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
6606 Devices. Provides compatibility with other ACPI implementations. Two new 
6607 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
6608 Moore.
6609
6610 Fixed a regression introduced in version 20100331 within the table 
6611 manager 
6612 where initial table loading could fail. This was introduced in the fix 
6613 for 
6614 AcpiReallocateRootTable. Also, renamed some of fields in the table 
6615 manager 
6616 data structures to clarify their meaning and use.
6617
6618 Fixed a possible allocation overrun during internal object copy in 
6619 AcpiUtCopySimpleObject. The original code did not correctly handle the 
6620 case 
6621 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
6622 847.
6623
6624 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
6625 possible access beyond end-of-allocation. Also, now fully validate 
6626 descriptor 
6627 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
6628
6629 Example Code and Data Size: These are the sizes for the OS-independent 
6630 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6631 debug version of the code includes the debug output trace mechanism and 
6632 has a 
6633 much larger code and data size.
6634
6635   Previous Release:
6636     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6637     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6638   Current Release:
6639     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6640     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6641
6642 2) iASL Compiler/Disassembler and Tools:
6643
6644 iASL: Implemented Min/Max/Len/Gran validation for address resource 
6645 descriptors. This change implements validation for the address fields 
6646 that 
6647 are common to all address-type resource descriptors. These checks are 
6648 implemented: Checks for valid Min/Max, length within the Min/Max window, 
6649 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
6650 per 
6651 table 6-40 in the ACPI 4.0a specification. Also split the large 
6652 aslrestype1.c 
6653 and aslrestype2.c files into five new files. ACPICA BZ 840.
6654
6655 iASL: Added support for the _Wxx predefined names. This support was 
6656 missing 
6657 and these names were not recognized by the compiler as valid predefined 
6658 names. ACPICA BZ 851.
6659
6660 iASL: Added an error for all predefined names that are defined to return 
6661 no 
6662 value and thus must be implemented as Control Methods. These include all 
6663 of 
6664 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
6665 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
6666
6667 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
6668 an 
6669 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
6670 be 
6671 dynamically loaded via the Load() operator. Also cleaned up output for 
6672 the 
6673 -
6674 ta and -tc options. ACPICA BZ 853.
6675
6676 Tests: Added a new file with examples of extended iASL error checking. 
6677 Demonstrates the advanced error checking ability of the iASL compiler. 
6678 Available at tests/misc/badcode.asl.
6679
6680 ----------------------------------------
6681 31 March 2010. Summary of changes for version 20100331:
6682
6683 1) ACPI CA Core Subsystem:
6684
6685 Completed a major update for the GPE support in order to improve support 
6686 for 
6687 shared GPEs and to simplify both host OS and ACPICA code. Added a 
6688 reference 
6689 count mechanism to support shared GPEs that require multiple device 
6690 drivers. 
6691 Several external interfaces have changed. One external interface has been 
6692 removed. One new external interface was added. Most of the GPE external 
6693 interfaces now use the GPE spinlock instead of the events mutex (and the 
6694 Flags parameter for many GPE interfaces has been removed.) See the 
6695 updated 
6696 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
6697 Rafael 
6698 Wysocki. ACPICA BZ 831.
6699
6700 Changed:
6701     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
6702 Removed:
6703     AcpiSetGpeType
6704 New:
6705     AcpiSetGpe
6706
6707 Implemented write support for DataTable operation regions. These regions 
6708 are 
6709 defined via the DataTableRegion() operator. Previously, only read support 
6710 was 
6711 implemented. The ACPI specification allows DataTableRegions to be 
6712 read/write, 
6713 however.
6714
6715 Implemented a new subsystem option to force a copy of the DSDT to local 
6716 memory. Optionally copy the entire DSDT to local memory (instead of 
6717 simply 
6718 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
6719 replace 
6720 the original DSDT, creating the need for this option. Default is FALSE, 
6721 do 
6722 not copy the DSDT.
6723
6724 Implemented detection of a corrupted or replaced DSDT. This change adds 
6725 support to detect a DSDT that has been corrupted and/or replaced from 
6726 outside 
6727 the OS (by firmware). This is typically catastrophic for the system, but 
6728 has 
6729 been seen on some machines. Once this problem has been detected, the DSDT 
6730 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
6731
6732 Fixed two problems with AcpiReallocateRootTable during the root table 
6733 copy. 
6734 When copying the root table to the new allocation, the length used was 
6735 incorrect. The new size was used instead of the current table size, 
6736 meaning 
6737 too much data was copied. Also, the count of available slots for ACPI 
6738 tables 
6739 was not set correctly. Alexey Starikovskiy, Bob Moore.
6740
6741 Example Code and Data Size: These are the sizes for the OS-independent 
6742 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6743 debug version of the code includes the debug output trace mechanism and 
6744 has a 
6745 much larger code and data size.
6746
6747   Previous Release:
6748     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6749     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6750   Current Release:
6751     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6752     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6753
6754 2) iASL Compiler/Disassembler and Tools:
6755
6756 iASL: Implement limited typechecking for values returned from predefined 
6757 control methods. The type of any returned static (unnamed) object is now 
6758 validated. For example, Return(1). ACPICA BZ 786.
6759
6760 iASL: Fixed a predefined name object verification regression. Fixes a 
6761 problem 
6762 introduced in version 20100304. An error is incorrectly generated if a 
6763 predefined name is declared as a static named object with a value defined 
6764 using the keywords "Zero", "One", or "Ones". Lin Ming.
6765
6766 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
6767 by 
6768 reducing the requested registry access rights. ACPICA BZ 842.
6769
6770 Disassembler: fixed a possible fault when generating External() 
6771 statements. 
6772 Introduced in commit ae7d6fd: Properly handle externals with parent-
6773 prefix 
6774 (carat). Fixes a string length allocation calculation. Lin Ming.
6775
6776 ----------------------------------------
6777 04 March 2010. Summary of changes for version 20100304:
6778
6779 1) ACPI CA Core Subsystem:
6780
6781 Fixed a possible problem with the AML Mutex handling function 
6782 AcpiExReleaseMutex where the function could fault under the very rare 
6783 condition when the interpreter has blocked, the interpreter lock is 
6784 released, 
6785 the interpreter is then reentered via the same thread, and attempts to 
6786 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
6787 Lin 
6788 Ming.
6789
6790 Implemented additional configuration support for the AML "Debug Object". 
6791 Output from the debug object can now be enabled via a global variable, 
6792 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
6793 debugging. 
6794 This debug output is now available in the release version of ACPICA 
6795 instead 
6796 of just the debug version. Also, the entire debug output module can now 
6797 be 
6798 configured out of the ACPICA build if desired. One new file added, 
6799 executer/exdebug.c. Lin Ming, Bob Moore.
6800
6801 Added header support for the ACPI MCHI table (Management Controller Host 
6802 Interface Table). This table was added in ACPI 4.0, but the defining 
6803 document 
6804 has only recently become available.
6805
6806 Standardized output of integer values for ACPICA warnings/errors. Always 
6807 use 
6808 0x prefix for hex output, always use %u for unsigned integer decimal 
6809 output. 
6810 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
6811 400 
6812 invocations.) These invocations were converted from the original 
6813 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
6814
6815 Example Code and Data Size: These are the sizes for the OS-independent 
6816 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6817 debug version of the code includes the debug output trace mechanism and 
6818 has a 
6819 much larger code and data size.
6820
6821   Previous Release:
6822     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6823     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6824   Current Release:
6825     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6826     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6827
6828 2) iASL Compiler/Disassembler and Tools:
6829
6830 iASL: Implemented typechecking support for static (non-control method) 
6831 predefined named objects that are declared with the Name() operator. For 
6832 example, the type of this object is now validated to be of type Integer: 
6833 Name(_BBN, 1). This change migrates the compiler to using the core 
6834 predefined 
6835 name table instead of maintaining a local version. Added a new file, 
6836 aslpredef.c. ACPICA BZ 832.
6837
6838 Disassembler: Added support for the ACPI 4.0 MCHI table.
6839
6840 ----------------------------------------
6841 21 January 2010. Summary of changes for version 20100121:
6842
6843 1) ACPI CA Core Subsystem:
6844
6845 Added the 2010 copyright to all module headers and signons. This affects 
6846 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
6847 tools/utilities, and the test suites.
6848
6849 Implemented a change to the AcpiGetDevices interface to eliminate 
6850 unnecessary 
6851 invocations of the _STA method. In the case where a specific _HID is 
6852 requested, do not run _STA until a _HID match is found. This eliminates 
6853 potentially dozens of _STA calls during a search for a particular 
6854 device/HID, 
6855 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
6856
6857 Implemented an additional repair for predefined method return values. 
6858 Attempt 
6859 to repair unexpected NULL elements within returned Package objects. 
6860 Create 
6861 an 
6862 Integer of value zero, a NULL String, or a zero-length Buffer as 
6863 appropriate. 
6864 ACPICA BZ 818. Lin Ming, Bob Moore.
6865
6866 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
6867 the 
6868 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
6869 (with 
6870 64-bit AML integers). It is now obsolete and this change removes it from 
6871 the 
6872 ACPICA code base, replaced by UINT64. The original typedef has been 
6873 retained 
6874 for now for compatibility with existing device driver code. ACPICA BZ 
6875 824.
6876
6877 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
6878 in 
6879 the parse tree object.
6880
6881 Added additional warning options for the gcc-4 generation. Updated the 
6882 source 
6883 accordingly. This includes some code restructuring to eliminate 
6884 unreachable 
6885 code, elimination of some gotos, elimination of unused return values, 
6886 some 
6887 additional casting, and removal of redundant declarations.
6888
6889 Example Code and Data Size: These are the sizes for the OS-independent 
6890 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6891 debug version of the code includes the debug output trace mechanism and 
6892 has a 
6893 much larger code and data size.
6894
6895   Previous Release:
6896     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6897     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6898   Current Release:
6899     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6900     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6901
6902 2) iASL Compiler/Disassembler and Tools:
6903
6904 No functional changes for this release.
6905
6906 ----------------------------------------
6907 14 December 2009. Summary of changes for version 20091214:
6908
6909 1) ACPI CA Core Subsystem:
6910
6911 Enhanced automatic data type conversions for predefined name repairs. 
6912 This 
6913 change expands the automatic repairs/conversions for predefined name 
6914 return 
6915 values to make Integers, Strings, and Buffers fully interchangeable. 
6916 Also, 
6917
6918 Buffer can be converted to a Package of Integers if necessary. The 
6919 nsrepair.c 
6920 module was completely restructured. Lin Ming, Bob Moore.
6921
6922 Implemented automatic removal of null package elements during predefined 
6923 name 
6924 repairs. This change will automatically remove embedded and trailing NULL 
6925 package elements from returned package objects that are defined to 
6926 contain 
6927
6928 variable number of sub-packages. The driver is then presented with a 
6929 package 
6930 with no null elements to deal with. ACPICA BZ 819.
6931
6932 Implemented a repair for the predefined _FDE and _GTM names. The expected 
6933 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
6934 two 
6935 possible problems (both seen in the field), where a package of integers 
6936 is 
6937 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
6938 Kim.
6939
6940 Implemented additional module-level code support. This change will 
6941 properly 
6942 execute module-level code that is not at the root of the namespace (under 
6943
6944 Device object, etc.). Now executes the code within the current scope 
6945 instead 
6946 of the root. ACPICA BZ 762. Lin Ming.
6947
6948 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
6949
6950 problem where mutex errors can occur when running a _REG method that is 
6951 in 
6952 the same scope as a method-defined operation region or an operation 
6953 region 
6954 under a module-level IF block. This type of code is rare, so the problem 
6955 has 
6956 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
6957
6958 Fixed a possible memory leak during module-level code execution. An 
6959 object 
6960 could be leaked for each block of executed module-level code if the 
6961 interpreter slack mode is enabled This change deletes any implicitly 
6962 returned 
6963 object from the module-level code block. Lin Ming.
6964
6965 Removed messages for successful predefined repair(s). The repair 
6966 mechanism 
6967 was considered too wordy. Now, messages are only unconditionally emitted 
6968 if 
6969 the return object cannot be repaired. Existing messages for successful 
6970 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
6971 827.
6972
6973 Example Code and Data Size: These are the sizes for the OS-independent 
6974 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6975 debug version of the code includes the debug output trace mechanism and 
6976 has a 
6977 much larger code and data size.
6978
6979   Previous Release:
6980     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
6981     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
6982   Current Release:
6983     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6984     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6985
6986 2) iASL Compiler/Disassembler and Tools:
6987
6988 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
6989 files 
6990 were no longer automatically removed at the termination of the compile.
6991
6992 acpiexec: Implemented the -f option to specify default region fill value. 
6993 This option specifies the value used to initialize buffers that simulate 
6994 operation regions. Default value is zero. Useful for debugging problems 
6995 that 
6996 depend on a specific initial value for a region or field.
6997
6998 ----------------------------------------
6999 12 November 2009. Summary of changes for version 20091112:
7000
7001 1) ACPI CA Core Subsystem:
7002
7003 Implemented a post-order callback to AcpiWalkNamespace. The existing 
7004 interface only has a pre-order callback. This change adds an additional 
7005 parameter for a post-order callback which will be more useful for bus 
7006 scans. 
7007 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
7008
7009 Modified the behavior of the operation region memory mapping cache for 
7010 SystemMemory. Ensure that the memory mappings created for operation 
7011 regions 
7012 do not cross 4K page boundaries. Crossing a page boundary while mapping 
7013 regions can cause kernel warnings on some hosts if the pages have 
7014 different 
7015 attributes. Such regions are probably BIOS bugs, and this is the 
7016 workaround. 
7017 Linux BZ 14445. Lin Ming.
7018
7019 Implemented an automatic repair for predefined methods that must return 
7020 sorted lists. This change will repair (by sorting) packages returned by 
7021 _ALR, 
7022 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
7023 sorted 
7024 and do not contain NULL package elements. Adds one new file, 
7025 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
7026
7027 Fixed a possible fault during predefined name validation if a return 
7028 Package 
7029 object contains NULL elements. Also adds a warning if a NULL element is 
7030 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
7031 may 
7032 include repair or removal of all such NULL elements where possible.
7033
7034 Implemented additional module-level executable AML code support. This 
7035 change 
7036 will execute module-level code that is not at the root of the namespace 
7037 (under a Device object, etc.) at table load time. Module-level executable 
7038 AML 
7039 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
7040
7041 Implemented a new internal function to create Integer objects. This 
7042 function 
7043 simplifies miscellaneous object creation code. ACPICA BZ 823.
7044
7045 Reduced the severity of predefined repair messages, Warning to Info. 
7046 Since 
7047 the object was successfully repaired, a warning is too severe. Reduced to 
7048 an 
7049 info message for now. These messages may eventually be changed to debug-
7050 only. 
7051 ACPICA BZ 812.
7052
7053 Example Code and Data Size: These are the sizes for the OS-independent 
7054 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7055 debug version of the code includes the debug output trace mechanism and 
7056 has a 
7057 much larger code and data size.
7058
7059   Previous Release:
7060     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7061     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7062   Current Release:
7063     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
7064     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
7065
7066 2) iASL Compiler/Disassembler and Tools:
7067
7068 iASL: Implemented Switch() with While(1) so that Break works correctly. 
7069 This 
7070 change correctly implements the Switch operator with a surrounding 
7071 While(1) 
7072 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
7073
7074 iASL: Added a message if a package initializer list is shorter than 
7075 package 
7076 length. Adds a new remark for a Package() declaration if an initializer 
7077 list 
7078 exists, but is shorter than the declared length of the package. Although 
7079 technically legal, this is probably a coding error and it is seen in the 
7080 field. ACPICA BZ 815. Lin Ming, Bob Moore.
7081
7082 iASL: Fixed a problem where the compiler could fault after the maximum 
7083 number 
7084 of errors was reached (200).
7085
7086 acpixtract: Fixed a possible warning for pointer cast if the compiler 
7087 warning 
7088 level set very high.
7089
7090 ----------------------------------------
7091 13 October 2009. Summary of changes for version 20091013:
7092
7093 1) ACPI CA Core Subsystem:
7094
7095 Fixed a problem where an Operation Region _REG method could be executed 
7096 more 
7097 than once. If a custom address space handler is installed by the host 
7098 before 
7099 the "initialize operation regions" phase of the ACPICA initialization, 
7100 any 
7101 _REG methods for that address space could be executed twice. This change 
7102 fixes the problem. ACPICA BZ 427. Lin Ming.
7103
7104 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
7105 invocation of "Scope(\)" is executed (change scope to root), one internal 
7106 operand object was leaked. Lin Ming.
7107
7108 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
7109 return value is defined as a Field object in the AML, and the field
7110 size is less than or equal to the default width of an integer (32 or 
7111 64),_MAT 
7112 can incorrectly return an Integer instead of a Buffer. ACPICA now 
7113 automatically repairs this problem. ACPICA BZ 810.
7114
7115 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
7116 The 
7117 "OEM Information" field is often incorrectly returned as an Integer with 
7118 value zero if the field is not supported by the platform. This is due to 
7119 an 
7120 ambiguity in the ACPI specification. The field should always be a string. 
7121 ACPICA now automatically repairs this problem by returning a NULL string 
7122 within the returned Package. ACPICA BZ 807.
7123
7124 Example Code and Data Size: These are the sizes for the OS-independent 
7125 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7126 debug version of the code includes the debug output trace mechanism and 
7127 has a 
7128 much larger code and data size.
7129
7130   Previous Release:
7131     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7132     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7133   Current Release:
7134     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
7135     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
7136
7137 2) iASL Compiler/Disassembler and Tools:
7138
7139 Disassembler: Fixed a problem where references to external symbols that 
7140 contained one or more parent-prefixes (carats) were not handled 
7141 correctly, 
7142 possibly causing a fault. ACPICA BZ 806. Lin Ming.
7143
7144 Disassembler: Restructured the code so that all functions that handle 
7145 external symbols are in a single module. One new file is added, 
7146 common/dmextern.c.
7147
7148 AML Debugger: Added a max count argument for the Batch command (which 
7149 executes multiple predefined methods within the namespace.)
7150
7151 iASL: Updated the compiler documentation (User Reference.) Available at 
7152 http://www.acpica.org/documentation/. ACPICA BZ 750.
7153
7154 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
7155 files.
7156
7157 ----------------------------------------
7158 03 September 2009. Summary of changes for version 20090903:
7159
7160 1) ACPI CA Core Subsystem:
7161
7162 For Windows Vista compatibility, added the automatic execution of an _INI 
7163 method located at the namespace root (\_INI). This method is executed at 
7164 table load time. This support is in addition to the automatic execution 
7165 of 
7166 \_SB._INI. Lin Ming.
7167
7168 Fixed a possible memory leak in the interpreter for AML package objects 
7169 if 
7170 the package initializer list is longer than the defined size of the 
7171 package. 
7172 This apparently can only happen if the BIOS changes the package size on 
7173 the 
7174 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
7175 interpreter will truncate the package to the defined size (and issue an 
7176 error 
7177 message), but previously could leave the extra objects undeleted if they 
7178 were 
7179 pre-created during the argument processing (such is the case if the 
7180 package 
7181 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
7182
7183 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
7184 This has been reported in the field. Previously, ACPICA would zero out 
7185 the 
7186 buffer/string. Now, the operation is treated as a noop. Provides Windows 
7187 compatibility. ACPICA BZ 803. Lin Ming.
7188
7189 Removed an extraneous error message for ASL constructs of the form 
7190 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
7191 statements 
7192 are seen in many BIOSs and are once again treated as NOOPs and no error 
7193 is 
7194 emitted when they are encountered. ACPICA BZ 785.
7195
7196 Fixed an extraneous warning message if a _DSM reserved method returns a 
7197 Package object. _DSM can return any type of object, so validation on the 
7198 return type cannot be performed. ACPICA BZ 802.
7199
7200 Example Code and Data Size: These are the sizes for the OS-independent 
7201 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7202 debug version of the code includes the debug output trace mechanism and 
7203 has a 
7204 much larger code and data size.
7205
7206   Previous Release:
7207     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7208     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7209   Current Release:
7210     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
7211     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
7212
7213 2) iASL Compiler/Disassembler and Tools:
7214
7215 iASL: Fixed a problem with the use of the Alias operator and Resource 
7216 Templates. The correct alias is now constructed and no error is emitted. 
7217 ACPICA BZ 738.
7218
7219 iASL: Implemented the -I option to specify additional search directories 
7220 for 
7221 include files. Allows multiple additional search paths for include files. 
7222 Directories are searched in the order specified on the command line 
7223 (after 
7224 the local directory is searched.) ACPICA BZ 800.
7225
7226 iASL: Fixed a problem where the full pathname for include files was not 
7227 emitted for warnings/errors. This caused the IDE support to not work 
7228 properly. ACPICA BZ 765.
7229
7230 iASL: Implemented the -@ option to specify a Windows-style response file 
7231 containing additional command line options. ACPICA BZ 801.
7232
7233 AcpiExec: Added support to load multiple AML files simultaneously (such 
7234 as 
7235
7236 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
7237 pathname. These features allow all machine tables to be easily loaded and 
7238 debugged together. ACPICA BZ 804.
7239
7240 Disassembler: Added missing support for disassembly of HEST table Error 
7241 Bank 
7242 subtables. 
7243
7244 ----------------------------------------
7245 30 July 2009. Summary of changes for version 20090730:
7246
7247 The ACPI 4.0 implementation for ACPICA is complete with this release.
7248
7249 1) ACPI CA Core Subsystem:
7250
7251 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
7252 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
7253 new 
7254 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
7255 BERT, 
7256 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
7257 There 
7258 have been some ACPI 4.0 changes to other existing tables. Split the large 
7259 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
7260
7261 ACPI 4.0: Implemented predefined name validation for all new names. There 
7262 are 
7263 31 new names in ACPI 4.0. The predefined validation module was split into 
7264 two 
7265 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
7266
7267 Implemented support for so-called "module-level executable code". This is 
7268 executable AML code that exists outside of any control method and is 
7269 intended 
7270 to be executed at table load time. Although illegal since ACPI 2.0, this 
7271 type 
7272 of code still exists and is apparently still being created. Blocks of 
7273 this 
7274 code are now detected and executed as intended. Currently, the code 
7275 blocks 
7276 must exist under either an If, Else, or While construct; these are the 
7277 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
7278
7279 Implemented an automatic dynamic repair for predefined names that return 
7280 nested Package objects. This applies to predefined names that are defined 
7281 to 
7282 return a variable-length Package of sub-packages. If the number of sub-
7283 packages is one, BIOS code is occasionally seen that creates a simple 
7284 single 
7285 package with no sub-packages. This code attempts to fix the problem by 
7286 wrapping a new package object around the existing package. These methods 
7287 can 
7288 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
7289 BZ 
7290 790.
7291
7292 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
7293 interface. 
7294 The _HID/_CID matching was broken and no longer matched IDs correctly. 
7295 ACPICA 
7296 BZ 793.
7297
7298 Fixed a problem with AcpiReset where the reset would silently fail if the 
7299 register was one of the protected I/O ports. AcpiReset now bypasses the 
7300 port 
7301 validation mechanism. This may eventually be driven into the 
7302 AcpiRead/Write 
7303 interfaces.
7304
7305 Fixed a regression related to the recent update of the AcpiRead/Write 
7306 interfaces. A sleep/suspend could fail if the optional PM2 Control 
7307 register 
7308 does not exist during an attempt to write the Bus Master Arbitration bit. 
7309 (However, some hosts already delete the code that writes this bit, and 
7310 the 
7311 code may in fact be obsolete at this date.) ACPICA BZ 799.
7312
7313 Fixed a problem where AcpiTerminate could fault if inadvertently called 
7314 twice 
7315 in succession. ACPICA BZ 795.
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:  84.7K Code, 17.8K Data, 102.5K Total
7325     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7326   Current Release:
7327     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7328     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7329
7330 2) iASL Compiler/Disassembler and Tools:
7331
7332 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
7333 changes to existing tables. ACPICA BZ 775.
7334
7335 ----------------------------------------
7336 25 June 2009. Summary of changes for version 20090625:
7337
7338 The ACPI 4.0 Specification was released on June 16 and is available at 
7339 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
7340 continue for the next few releases.
7341
7342 1) ACPI CA Core Subsystem:
7343
7344 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
7345 address space. Includes support for bi-directional data buffers and an 
7346 IPMI 
7347 address space handler (to be installed by an IPMI device driver.) ACPICA 
7348 BZ 
7349 773. Lin Ming.
7350
7351 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
7352 Includes 
7353 support in both the header files and the disassembler.
7354
7355 Completed a major update for the AcpiGetObjectInfo external interface. 
7356 Changes include:
7357  - Support for variable, unlimited length HID, UID, and CID strings.
7358  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
7359 etc.)
7360  - Call the _SxW power methods on behalf of a device object.
7361  - Determine if a device is a PCI root bridge.
7362  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
7363 These changes will require an update to all callers of this interface. 
7364 See 
7365 the updated ACPICA Programmer Reference for details. One new source file 
7366 has 
7367 been added - utilities/utids.c. ACPICA BZ 368, 780.
7368
7369 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
7370 transfers. The Value parameter has been extended from 32 bits to 64 bits 
7371 in 
7372 order to support new ACPI 4.0 tables. These changes will require an 
7373 update 
7374 to 
7375 all callers of these interfaces. See the ACPICA Programmer Reference for 
7376 details. ACPICA BZ 768.
7377
7378 Fixed several problems with AcpiAttachData. The handler was not invoked 
7379 when 
7380 the host node was deleted. The data sub-object was not automatically 
7381 deleted 
7382 when the host node was deleted. The interface to the handler had an 
7383 unused 
7384 parameter, this was removed. ACPICA BZ 778.
7385
7386 Enhanced the function that dumps ACPI table headers. All non-printable 
7387 characters in the string fields are now replaced with '?' (Signature, 
7388 OemId, 
7389 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
7390 these fields are occasionally seen in the field. ACPICA BZ 788.
7391
7392 Fixed a problem with predefined method repair code where the code that 
7393 attempts to repair/convert an object of incorrect type is only executed 
7394 on 
7395 the first time the predefined method is called. The mechanism that 
7396 disables 
7397 warnings on subsequent calls was interfering with the repair mechanism. 
7398 ACPICA BZ 781.
7399
7400 Fixed a possible memory leak in the predefined validation/repair code 
7401 when 
7402
7403 buffer is automatically converted to an expected string object.
7404
7405 Removed obsolete 16-bit files from the distribution and from the current 
7406 git 
7407 tree head. ACPICA BZ 776.
7408
7409 Example Code and Data Size: These are the sizes for the OS-independent 
7410 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7411 debug version of the code includes the debug output trace mechanism and 
7412 has a 
7413 much larger code and data size.
7414
7415   Previous Release:
7416     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7417     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7418   Current Release:
7419     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7420     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7421
7422 2) iASL Compiler/Disassembler and Tools:
7423
7424 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
7425 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
7426
7427 ACPI 4.0: iASL - implemented compile-time validation support for all new 
7428 predefined names and control methods (31 total). ACPICA BZ 769.
7429
7430 ----------------------------------------
7431 21 May 2009. Summary of changes for version 20090521:
7432
7433 1) ACPI CA Core Subsystem:
7434
7435 Disabled the preservation of the SCI enable bit in the PM1 control 
7436 register. 
7437 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
7438 to 
7439 be 
7440 a "preserved" bit - "OSPM always preserves this bit position", section 
7441 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
7442 because the bit needs to be explicitly set by the OS as a workaround. No 
7443 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
7444 attempts to preserve this bit.
7445
7446 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
7447 incorrectly formed _PRT package could cause a fault. Added validation to 
7448 ensure that each package element is actually a sub-package.
7449
7450 Implemented a new interface to install or override a single control 
7451 method, 
7452 AcpiInstallMethod. This interface is useful when debugging in order to 
7453 repair 
7454 an existing method or to install a missing method without having to 
7455 override 
7456 the entire ACPI table. See the ACPICA Programmer Reference for use and 
7457 examples. Lin Ming, Bob Moore.
7458
7459 Fixed several reference count issues with the DdbHandle object that is 
7460 created from a Load or LoadTable operator. Prevent premature deletion of 
7461 the 
7462 object. Also, mark the object as invalid once the table has been 
7463 unloaded. 
7464 This is needed because the handle itself may not be deleted after the 
7465 table 
7466 unload, depending on whether it has been stored in a named object by the 
7467 caller. Lin Ming.
7468
7469 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
7470 mutexes of the same sync level are acquired but then not released in 
7471 strict 
7472 opposite order, the internally maintained Current Sync Level becomes 
7473 confused 
7474 and can cause subsequent execution errors. ACPICA BZ 471.
7475
7476 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
7477 specification has been changed to make the SyncLevel for mutex objects 
7478 more 
7479 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
7480 the 
7481 same as the current sync level. This makes more sense than the previous 
7482 rule 
7483 (SyncLevel less than or equal). This change updates the code to match the 
7484 specification.
7485
7486 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
7487 The 
7488 (local) cache must be locked during all cache object deletions. Andrew 
7489 Baumann.
7490
7491 Updated the Load operator to use operation region interfaces. This 
7492 replaces 
7493 direct memory mapping with region access calls. Now, all region accesses 
7494 go 
7495 through the installed region handler as they should.
7496
7497 Simplified and optimized the NsGetNextNode function. Reduced parameter 
7498 count 
7499 and reduced code for this frequently used function.
7500
7501 Example Code and Data Size: These are the sizes for the OS-independent 
7502 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7503 debug version of the code includes the debug output trace mechanism and 
7504 has a 
7505 much larger code and data size.
7506
7507   Previous Release:
7508     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7509     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7510   Current Release:
7511     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7512     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7513
7514 2) iASL Compiler/Disassembler and Tools:
7515
7516 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
7517 problems 
7518 with sub-table disassembly and handling invalid sub-tables. Attempt 
7519 recovery 
7520 after an invalid sub-table ID.
7521
7522 ----------------------------------------
7523 22 April 2009. Summary of changes for version 20090422:
7524
7525 1) ACPI CA Core Subsystem:
7526
7527 Fixed a compatibility issue with the recently released I/O port 
7528 protection 
7529 mechanism. For windows compatibility, 1) On a port protection violation, 
7530 simply ignore the request and do not return an exception (allow the 
7531 control 
7532 method to continue execution.) 2) If only part of the request overlaps a 
7533 protected port, read/write the individual ports that are not protected. 
7534 Linux 
7535 BZ 13036. Lin Ming
7536
7537 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
7538 actually 
7539 breaks into the AML debugger if the debugger is present. This matches the 
7540 ACPI-defined behavior.
7541
7542 Fixed several possible warnings related to the use of the configurable 
7543 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
7544 pointer with no warnings. Also fixes several warnings in printf-like 
7545 statements for the 64-bit build when the type is configured as a pointer. 
7546 ACPICA BZ 766, 767.
7547
7548 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
7549 on 
7550 warning options.) Examples include printf formats, aliasing, unused 
7551 globals, 
7552 missing prototypes, missing switch default statements, use of non-ANSI 
7553 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
7554 for 
7555 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
7556
7557 Example Code and Data Size: These are the sizes for the OS-independent 
7558 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7559 debug version of the code includes the debug output trace mechanism and 
7560 has a 
7561 much larger code and data size.
7562
7563   Previous Release:
7564     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7565     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7566   Current Release:
7567     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7568     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7569
7570 2) iASL Compiler/Disassembler and Tools:
7571
7572 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
7573 warnings 
7574 on 
7575 the 64-bit build.
7576
7577 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
7578 not 
7579 correctly digest Windows/DOS formatted files (with CR/LF).
7580
7581 iASL: Added a new option for "quiet mode" (-va) that produces only the 
7582 compilation summary, not individual errors and warnings. Useful for large 
7583 batch compilations.
7584
7585 AcpiExec: Implemented a new option (-z) to enable a forced 
7586 semaphore/mutex 
7587 timeout that can be used to detect hang conditions during execution of 
7588 AML 
7589 code (includes both internal semaphores and AML-defined mutexes and 
7590 events.)
7591
7592 Added new makefiles for the generation of acpica in a generic unix-like 
7593 environment. These makefiles are intended to generate the acpica tools 
7594 and 
7595 utilities from the original acpica git source tree structure.
7596
7597 Test Suites: Updated and cleaned up the documentation files. Updated the 
7598 copyrights to 2009, affecting all source files. Use the new version of 
7599 iASL 
7600 with quiet mode. Increased the number of available semaphores in the 
7601 Windows 
7602 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
7603 added 
7604 an alternate implementation of the semaphore timeout to allow aslts to 
7605 execute fully on Cygwin.
7606
7607 ----------------------------------------
7608 20 March 2009. Summary of changes for version 20090320:
7609
7610 1) ACPI CA Core Subsystem:
7611
7612 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
7613 table 
7614 unloads. Added a reader/writer locking mechanism to allow multiple 
7615 concurrent 
7616 namespace walks (readers), but block a dynamic table unload until it can 
7617 gain 
7618 exclusive write access to the namespace. This fixes a problem where a 
7619 table 
7620 unload could (possibly catastrophically) delete the portion of the 
7621 namespace 
7622 that is currently being examined by a walk. Adds a new file, utlock.c, 
7623 that 
7624 implements the reader/writer lock mechanism. ACPICA BZ 749.
7625
7626 Fixed a regression introduced in version 20090220 where a change to the 
7627 FADT 
7628 handling could cause the ACPICA subsystem to access non-existent I/O 
7629 ports.
7630
7631 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
7632 The 
7633 FADT can contain both 32-bit and 64-bit versions of these addresses. 
7634 Previously, the 64-bit versions were favored, meaning that if both 32 and 
7635 64 
7636 versions were valid, but not equal, the 64-bit version was used. This was 
7637 found to cause some machines to fail. Now, in this case, the 32-bit 
7638 version 
7639 is used instead. This now matches the Windows behavior.
7640
7641 Implemented a new mechanism to protect certain I/O ports. Provides 
7642 Microsoft 
7643 compatibility and protects the standard PC I/O ports from access via AML 
7644 code. Adds a new file, hwvalid.c
7645
7646 Fixed a possible extraneous warning message from the FADT support. The 
7647 message warns of a 32/64 length mismatch between the legacy and GAS 
7648 definitions for a register.
7649
7650 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
7651 is 
7652 made obsolete by the port protection mechanism above. It was previously 
7653 used 
7654 to validate the entire address range of an operation region, which could 
7655 be 
7656 incorrect if the range included illegal ports, but fields within the 
7657 operation region did not actually access those ports. Validation is now 
7658 performed on a per-field basis instead of the entire region.
7659
7660 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
7661 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
7662 this 
7663 means a read/modify/write when writing to the register. However, for 
7664 status 
7665 registers, writing a one means clear the event. Writing a zero means 
7666 preserve 
7667 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
7668 spec, 
7669 and the ACPICA code now simply always writes a zero to the ignored bit.
7670
7671 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
7672 As 
7673 per the ACPI specification, for the control registers, preserve 
7674 (read/modify/write) all bits that are defined as either reserved or 
7675 ignored.
7676
7677 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
7678 When reading the register, zero the write-only bits as per the ACPI spec. 
7679 ACPICA BZ 443. Lin Ming.
7680
7681 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
7682 wants to reply true to this request. The Windows strings are the only 
7683 paths 
7684 through the AML that are tested and known to work properly.
7685
7686   Previous Release:
7687     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7688     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7689   Current Release:
7690     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7691     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7692
7693 2) iASL Compiler/Disassembler and Tools:
7694
7695 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
7696 and 
7697 aetables.c
7698
7699 ----------------------------------------
7700 20 February 2009. Summary of changes for version 20090220:
7701
7702 1) ACPI CA Core Subsystem:
7703
7704 Optimized the ACPI register locking. Removed locking for reads from the 
7705 ACPI 
7706 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
7707 is 
7708 not required when reading the single-bit registers. The 
7709 AcpiGetRegisterUnlocked function is no longer needed and has been 
7710 removed. 
7711 This will improve performance for reads on these registers. ACPICA BZ 
7712 760.
7713
7714 Fixed the parameter validation for AcpiRead/Write. Now return 
7715 AE_BAD_PARAMETER if the input register pointer is null, and 
7716 AE_BAD_ADDRESS 
7717 if 
7718 the register has an address of zero. Previously, these cases simply 
7719 returned 
7720 AE_OK. For optional registers such as PM1B status/enable/control, the 
7721 caller 
7722 should check for a valid register address before calling. ACPICA BZ 748.
7723
7724 Renamed the external ACPI bit register access functions. Renamed 
7725 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
7726 functions. The new names are AcpiReadBitRegister and 
7727 AcpiWriteBitRegister. 
7728 Also, restructured the code for these functions by simplifying the code 
7729 path 
7730 and condensing duplicate code to reduce code size.
7731
7732 Added new functions to transparently handle the possibly split PM1 A/B 
7733 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
7734 functions 
7735 now handle the split registers for PM1 Status, Enable, and Control. 
7736 ACPICA 
7737 BZ 
7738 746.
7739
7740 Added a function to handle the PM1 control registers, 
7741 AcpiHwWritePm1Control. 
7742 This function writes both of the PM1 control registers (A/B). These 
7743 registers 
7744 are different than the PM1 A/B status and enable registers in that 
7745 different 
7746 values can be written to the A/B registers. Most notably, the SLP_TYP 
7747 bits 
7748 can be different, as per the values returned from the _Sx predefined 
7749 methods.
7750
7751 Removed an extra register write within AcpiHwClearAcpiStatus. This 
7752 function 
7753 was writing an optional PM1B status register twice. The existing call to 
7754 the 
7755 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
7756 A/B 
7757 register. ACPICA BZ 751.
7758
7759 Split out the PM1 Status registers from the FADT. Added new globals for 
7760 these 
7761 registers (A/B), similar to the way the PM1 Enable registers are handled. 
7762 Instead of overloading the FADT Event Register blocks. This makes the 
7763 code 
7764 clearer and less prone to error.
7765
7766 Fixed the warning message for when the platform contains too many ACPI 
7767 tables 
7768 for the default size of the global root table data structure. The 
7769 calculation 
7770 for the truncation value was incorrect.
7771
7772 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
7773 obsolete macro, since it is now a simple reference to ->common.type. 
7774 There 
7775 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
7776
7777 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
7778 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
7779 simply SLEEP_TYPE. ACPICA BZ 754.
7780
7781 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
7782 function is only needed on 64-bit host operating systems and is thus not 
7783 included for 32-bit hosts.
7784
7785 Debug output: print the input and result for invocations of the _OSI 
7786 reserved 
7787 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
7788 the 
7789 verbosity of this debug level. Len Brown.
7790
7791 Example Code and Data Size: These are the sizes for the OS-independent 
7792 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7793 debug version of the code includes the debug output trace mechanism and 
7794 has a 
7795 much larger code and data size.
7796
7797   Previous Release:
7798     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7799     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7800   Current Release:
7801     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7802     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7803
7804 2) iASL Compiler/Disassembler and Tools:
7805
7806 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
7807 various legal performance profiles.
7808
7809 ----------------------------------------
7810 23 January 2009. Summary of changes for version 20090123:
7811
7812 1) ACPI CA Core Subsystem:
7813
7814 Added the 2009 copyright to all module headers and signons. This affects 
7815 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
7816 the tools/utilities.
7817
7818 Implemented a change to allow the host to override any ACPI table, 
7819 including 
7820 dynamically loaded tables. Previously, only the DSDT could be replaced by 
7821 the 
7822 host. With this change, the AcpiOsTableOverride interface is called for 
7823 each 
7824 table found in the RSDT/XSDT during ACPICA initialization, and also 
7825 whenever 
7826 a table is dynamically loaded via the AML Load operator.
7827
7828 Updated FADT flag definitions, especially the Boot Architecture flags.
7829
7830 Debugger: For the Find command, automatically pad the input ACPI name 
7831 with 
7832 underscores if the name is shorter than 4 characters. This enables a 
7833 match 
7834 with the actual namespace entry which is itself padded with underscores.
7835
7836 Example Code and Data Size: These are the sizes for the OS-independent 
7837 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7838 debug version of the code includes the debug output trace mechanism and 
7839 has a 
7840 much larger code and data size.
7841
7842   Previous Release:
7843     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7844     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7845   Current Release:
7846     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7847     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7848
7849 2) iASL Compiler/Disassembler and Tools:
7850
7851 Fix build error under Bison-2.4.
7852
7853 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
7854 Architecture 
7855 flags. Now decode all flags, regardless of the FADT version. Flag output 
7856 includes the FADT version which first defined each flag.
7857
7858 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
7859 and 
7860 DSDT). Windows only.
7861
7862 ----------------------------------------
7863 04 December 2008. Summary of changes for version 20081204:
7864
7865 1) ACPI CA Core Subsystem:
7866
7867 The ACPICA Programmer Reference has been completely updated and revamped 
7868 for 
7869 this release. This includes updates to the external interfaces, OSL 
7870 interfaces, the overview sections, and the debugger reference.
7871
7872 Several new ACPICA interfaces have been implemented and documented in the 
7873 programmer reference:
7874 AcpiReset - Writes the reset value to the FADT-defined reset register.
7875 AcpiDisableAllGpes - Disable all available GPEs.
7876 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
7877 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
7878 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
7879 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
7880 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
7881
7882 Most of the public ACPI hardware-related interfaces have been moved to a 
7883 new 
7884 file, components/hardware/hwxface.c
7885
7886 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
7887 register lengths within the FADT are now used, and the low level ACPI 
7888 register access no longer hardcodes the ACPI register lengths. Given that 
7889 there may be some risk in actually trusting the FADT register lengths, a 
7890 run-
7891 time option was added to fall back to the default hardcoded lengths if 
7892 the 
7893 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
7894 option is set to true for now, and a warning is issued if a suspicious 
7895 FADT 
7896 register length is overridden with the default value.
7897
7898 Fixed a reference count issue in NsRepairObject. This problem was 
7899 introduced 
7900 in version 20081031 as part of a fix to repair Buffer objects within 
7901 Packages. Lin Ming.
7902
7903 Added semaphore support to the Linux/Unix application OS-services layer 
7904 (OSL). ACPICA BZ 448. Lin Ming.
7905
7906 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
7907 will 
7908 be implemented in the OSL, or will binary semaphores be used instead.
7909
7910 Example Code and Data Size: These are the sizes for the OS-independent 
7911 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7912 debug version of the code includes the debug output trace mechanism and 
7913 has a 
7914 much larger code and data size.
7915
7916   Previous Release:
7917     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
7918     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
7919   Current Release:
7920     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7921     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7922
7923 2) iASL Compiler/Disassembler and Tools:
7924
7925 iASL: Completed the '-e' option to include additional ACPI tables in 
7926 order 
7927 to 
7928 aid with disassembly and External statement generation. ACPICA BZ 742. 
7929 Lin 
7930 Ming.
7931
7932 iASL: Removed the "named object in while loop" error. The compiler cannot 
7933 determine how many times a loop will execute. ACPICA BZ 730.
7934
7935 Disassembler: Implemented support for FADT revision 2 (MS extension). 
7936 ACPICA 
7937 BZ 743.
7938
7939 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
7940 MCFG).
7941
7942 ----------------------------------------
7943 31 October 2008. Summary of changes for version 20081031:
7944
7945 1) ACPI CA Core Subsystem:
7946
7947 Restructured the ACPICA header files into public/private. acpi.h now 
7948 includes 
7949 only the "public" acpica headers. All other acpica headers are "private" 
7950 and 
7951 should not be included by acpica users. One new file, accommon.h is used 
7952 to 
7953 include the commonly used private headers for acpica code generation. 
7954 Future 
7955 plans include moving all private headers to a new subdirectory.
7956
7957 Implemented an automatic Buffer->String return value conversion for 
7958 predefined ACPI methods. For these methods (such as _BIF), added 
7959 automatic 
7960 conversion for return objects that are required to be a String, but a 
7961 Buffer 
7962 was found instead. This can happen when reading string battery data from 
7963 an 
7964 operation region, because it used to be difficult to convert the data 
7965 from 
7966 buffer to string from within the ASL. Ensures that the host OS is 
7967 provided 
7968 with a valid null-terminated string. Linux BZ 11822.
7969
7970 Updated the FACS waking vector interfaces. Split 
7971 AcpiSetFirmwareWakingVector 
7972 into two: one for the 32-bit vector, another for the 64-bit vector. This 
7973 is 
7974 required because the host OS must setup the wake much differently for 
7975 each 
7976 vector (real vs. protected mode, etc.) and the interface itself should 
7977 not 
7978 be 
7979 deciding which vector to use. Also, eliminated the 
7980 GetFirmwareWakingVector 
7981 interface, as it served no purpose (only the firmware reads the vector, 
7982 OS 
7983 only writes the vector.) ACPICA BZ 731.
7984
7985 Implemented a mechanism to escape infinite AML While() loops. Added a 
7986 loop 
7987 counter to force exit from AML While loops if the count becomes too 
7988 large. 
7989 This can occur in poorly written AML when the hardware does not respond 
7990 within a while loop and the loop does not implement a timeout. The 
7991 maximum 
7992 loop count is configurable. A new exception code is returned when a loop 
7993 is 
7994 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
7995
7996 Optimized the execution of AML While loops. Previously, a control state 
7997 object was allocated and freed for each execution of the loop. The 
7998 optimization is to simply reuse the control state for each iteration. 
7999 This 
8000 speeds up the raw loop execution time by about 5%.
8001
8002 Enhanced the implicit return mechanism. For Windows compatibility, return 
8003 an 
8004 implicit integer of value zero for methods that contain no executable 
8005 code. 
8006 Such methods are seen in the field as stubs (presumably), and can cause 
8007 drivers to fail if they expect a return value. Lin Ming.
8008
8009 Allow multiple backslashes as root prefixes in namepaths. In a fully 
8010 qualified namepath, allow multiple backslash prefixes. This can happen 
8011 (and 
8012 is seen in the field) because of the use of a double-backslash in strings 
8013 (since backslash is the escape character) causing confusion. ACPICA BZ 
8014 739 
8015 Lin Ming.
8016
8017 Emit a warning if two different FACS or DSDT tables are discovered in the 
8018 FADT. Checks if there are two valid but different addresses for the FACS 
8019 and 
8020 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
8021
8022 Consolidated the method argument count validation code. Merged the code 
8023 that 
8024 validates control method argument counts into the predefined validation 
8025 module. Eliminates possible multiple warnings for incorrect argument 
8026 counts.
8027
8028 Implemented ACPICA example code. Includes code for ACPICA initialization, 
8029 handler installation, and calling a control method. Available at 
8030 source/tools/examples.
8031
8032 Added a global pointer for FACS table to simplify internal FACS access. 
8033 Use 
8034 the global pointer instead of using AcpiGetTableByIndex for each FACS 
8035 access. 
8036 This simplifies the code for the Global Lock and the Firmware Waking 
8037 Vector(s).
8038
8039 Example Code and Data Size: These are the sizes for the OS-independent 
8040 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8041 debug version of the code includes the debug output trace mechanism and 
8042 has a 
8043 much larger code and data size.
8044
8045   Previous Release:
8046     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8047     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8048   Current Release:
8049     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
8050     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
8051
8052 2) iASL Compiler/Disassembler and Tools:
8053
8054 iASL: Improved disassembly of external method calls. Added the -e option 
8055 to 
8056 allow the inclusion of additional ACPI tables to help with the 
8057 disassembly 
8058 of 
8059 method invocations and the generation of external declarations during the 
8060 disassembly. Certain external method invocations cannot be disassembled 
8061 properly without the actual declaration of the method. Use the -e option 
8062 to 
8063 include the table where the external method(s) are actually declared. 
8064 Most 
8065 useful for disassembling SSDTs that make method calls back to the master 
8066 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
8067 -d 
8068 -e dsdt.aml ssdt1.aml
8069
8070 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
8071 problem where the use of an alias within a namepath would result in a not 
8072 found error or cause the compiler to fault. Also now allows forward 
8073 references from the Alias operator itself. ACPICA BZ 738.
8074
8075 ----------------------------------------
8076 26 September 2008. Summary of changes for version 20080926:
8077
8078 1) ACPI CA Core Subsystem:
8079
8080 Designed and implemented a mechanism to validate predefined ACPI methods 
8081 and 
8082 objects. This code validates the predefined ACPI objects (objects whose 
8083 names 
8084 start with underscore) that appear in the namespace, at the time they are 
8085 evaluated. The argument count and the type of the returned object are 
8086 validated against the ACPI specification. The purpose of this validation 
8087 is 
8088 to detect problems with the BIOS-implemented predefined ACPI objects 
8089 before 
8090 the results are returned to the ACPI-related drivers. Future enhancements 
8091 may 
8092 include actual repair of incorrect return objects where possible. Two new 
8093 files are nspredef.c and acpredef.h.
8094
8095 Fixed a fault in the AML parser if a memory allocation fails during the 
8096 Op 
8097 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
8098
8099 Fixed an issue with implicit return compatibility. This change improves 
8100 the 
8101 implicit return mechanism to be more compatible with the MS interpreter. 
8102 Lin 
8103 Ming, ACPICA BZ 349.
8104
8105 Implemented support for zero-length buffer-to-string conversions. Allow 
8106 zero 
8107 length strings during interpreter buffer-to-string conversions. For 
8108 example, 
8109 during the ToDecimalString and ToHexString operators, as well as implicit 
8110 conversions. Fiodor Suietov, ACPICA BZ 585.
8111
8112 Fixed two possible memory leaks in the error exit paths of 
8113 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
8114 are 
8115 similar in that they use a stack of state objects in order to eliminate 
8116 recursion. The stack must be fully unwound and deallocated if an error 
8117 occurs. Lin Ming. ACPICA BZ 383.
8118
8119 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
8120 global 
8121 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
8122 Moore ACPICA BZ 442.
8123
8124 Removed the obsolete version number in module headers. Removed the 
8125 "$Revision" number that appeared in each module header. This version 
8126 number 
8127 was useful under SourceSafe and CVS, but has no meaning under git. It is 
8128 not 
8129 only incorrect, it could also be misleading.
8130
8131 Example Code and Data Size: These are the sizes for the OS-independent 
8132 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8133 debug version of the code includes the debug output trace mechanism and 
8134 has a 
8135 much larger code and data size.
8136
8137   Previous Release:
8138     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8139     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8140   Current Release:
8141     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
8142     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
8143
8144 ----------------------------------------
8145 29 August 2008. Summary of changes for version 20080829:
8146
8147 1) ACPI CA Core Subsystem:
8148
8149 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
8150 Reference. Changes include the elimination of cheating on the Object 
8151 field 
8152 for the DdbHandle subtype, addition of a reference class field to 
8153 differentiate the various reference types (instead of an AML opcode), and 
8154 the 
8155 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
8156
8157 Reduce an error to a warning for an incorrect method argument count. 
8158 Previously aborted with an error if too few arguments were passed to a 
8159 control method via the external ACPICA interface. Now issue a warning 
8160 instead 
8161 and continue. Handles the case where the method inadvertently declares 
8162 too 
8163 many arguments, but does not actually use the extra ones. Applies mainly 
8164 to 
8165 the predefined methods. Lin Ming. Linux BZ 11032.
8166
8167 Disallow the evaluation of named object types with no intrinsic value. 
8168 Return 
8169 AE_TYPE for objects that have no value and therefore evaluation is 
8170 undefined: 
8171 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
8172 of 
8173 these types were allowed, but an exception would be generated at some 
8174 point 
8175 during the evaluation. Now, the error is generated up front.
8176
8177 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
8178 (nsnames.c). Fixes a leak in the error exit path.
8179
8180 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
8181 debug 
8182 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
8183 ACPI_EXCEPTION 
8184 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
8185 ACPI_LV_EVENTS.
8186
8187 Removed obsolete and/or unused exception codes from the acexcep.h header. 
8188 There is the possibility that certain device drivers may be affected if 
8189 they 
8190 use any of these exceptions.
8191
8192 The ACPICA documentation has been added to the public git source tree, 
8193 under 
8194 acpica/documents. Included are the ACPICA programmer reference, the iASL 
8195 compiler reference, and the changes.txt release logfile.
8196
8197 Example Code and Data Size: These are the sizes for the OS-independent 
8198 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8199 debug version of the code includes the debug output trace mechanism and 
8200 has a 
8201 much larger code and data size.
8202
8203   Previous Release:
8204     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8205     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8206   Current Release:
8207     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8208     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
8209
8210 2) iASL Compiler/Disassembler and Tools:
8211
8212 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
8213 defines _SCP with 3 arguments. Previous versions defined it with only 1 
8214 argument. iASL now allows both definitions.
8215
8216 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
8217 zero-
8218 length subtables when disassembling ACPI tables. Also fixed a couple of 
8219 errors where a full 16-bit table type field was not extracted from the 
8220 input 
8221 properly.
8222
8223 acpisrc: Improve comment counting mechanism for generating source code 
8224 statistics. Count first and last lines of multi-line comments as 
8225 whitespace, 
8226 not comment lines. Handle Linux legal header in addition to standard 
8227 acpica 
8228 header.
8229
8230 ----------------------------------------
8231
8232 29 July 2008. Summary of changes for version 20080729:
8233
8234 1) ACPI CA Core Subsystem:
8235
8236 Fix a possible deadlock in the GPE dispatch. Remove call to 
8237 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
8238 attempt 
8239 to acquire the GPE lock but can deadlock since the GPE lock is already 
8240 held 
8241 at dispatch time. This code was introduced in version 20060831 as a 
8242 response 
8243 to Linux BZ 6881 and has since been removed from Linux.
8244
8245 Add a function to dereference returned reference objects. Examines the 
8246 return 
8247 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
8248 are 
8249 automatically dereferenced in an attempt to return something useful 
8250 (these 
8251 reference types cannot be converted into an external ACPI_OBJECT.) 
8252 Provides 
8253 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
8254
8255 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
8256 subtables for the MADT and one new subtable for the SRAT. Includes 
8257 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
8258 x2APIC 
8259 Specification, June 2008.
8260
8261 Additional error checking for pathname utilities. Add error check after 
8262 all 
8263 calls to AcpiNsGetPathnameLength. Add status return from 
8264 AcpiNsBuildExternalPath and check after all calls. Add parameter 
8265 validation 
8266 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
8267
8268 Return status from the global init function AcpiUtGlobalInitialize. This 
8269 is 
8270 used by both the kernel subsystem and the utilities such as iASL 
8271 compiler. 
8272 The function could possibly fail when the caches are initialized. Yang 
8273 Yi.
8274
8275 Add a function to decode reference object types to strings. Created for 
8276 improved error messages. 
8277
8278 Improve object conversion error messages. Better error messages during 
8279 object 
8280 conversion from internal to the external ACPI_OBJECT. Used for external 
8281 calls 
8282 to AcpiEvaluateObject.
8283
8284 Example Code and Data Size: These are the sizes for the OS-independent 
8285 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8286 debug version of the code includes the debug output trace mechanism and 
8287 has a 
8288 much larger code and data size.
8289
8290   Previous Release:
8291     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8292     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8293   Current Release:
8294     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8295     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8296
8297 2) iASL Compiler/Disassembler and Tools:
8298
8299 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
8300 problem 
8301 introduced in version 20080701. If the object being evaluated (via 
8302 execute 
8303 command) is not a method, the debugger can hang while trying to obtain 
8304 non-
8305 existent parameters.
8306
8307 iASL: relax error for using reserved "_T_x" identifiers. These names can 
8308 appear in a disassembled ASL file if they were emitted by the original 
8309 compiler. Instead of issuing an error or warning and forcing the user to 
8310 manually change these names, issue a remark instead.
8311
8312 iASL: error if named object created in while loop. Emit an error if any 
8313 named 
8314 object is created within a While loop. If allowed, this code will 
8315 generate 
8316
8317 run-time error on the second iteration of the loop when an attempt is 
8318 made 
8319 to 
8320 create the same named object twice. ACPICA bugzilla 730.
8321
8322 iASL: Support absolute pathnames for include files. Add support for 
8323 absolute 
8324 pathnames within the Include operator. previously, only relative 
8325 pathnames 
8326 were supported.
8327
8328 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
8329 Descriptor. 
8330 The ACPI spec requires one interrupt minimum. BZ 423
8331
8332 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
8333 Handles the case for the Interrupt Resource Descriptor where
8334 the ResourceSource argument is omitted but ResourceSourceIndex
8335 is present. Now leave room for the Index. BZ 426
8336
8337 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
8338 cases 
8339 where an error message is emitted if the target does not exist. BZ 516
8340
8341 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
8342 (get ACPI tables on Windows). This was apparently broken in version 
8343 20070919.
8344
8345 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
8346 where 
8347 the EOF happens immediately after the last table in the input file. Print 
8348 completion message. Previously, no message was displayed in this case.
8349
8350 ----------------------------------------
8351 01 July 2008. Summary of changes for version 20080701:
8352
8353 0) Git source tree / acpica.org
8354
8355 Fixed a problem where a git-clone from http would not transfer the entire 
8356 source tree.
8357
8358 1) ACPI CA Core Subsystem:
8359
8360 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
8361 enable bit. Now performs a read-change-write of the enable register 
8362 instead 
8363 of simply writing out the cached enable mask. This will prevent 
8364 inadvertent 
8365 enabling of GPEs if a rogue GPE is received during initialization (before 
8366 GPE 
8367 handlers are installed.)
8368
8369 Implemented a copy for dynamically loaded tables. Previously, dynamically 
8370 loaded tables were simply mapped - but on some machines this memory is 
8371 corrupted after suspend. Now copy the table to a local buffer. For the 
8372 OpRegion case, added checksum verify. Use the table length from the table 
8373 header, not the region length. For the Buffer case, use the table length 
8374 also. Dennis Noordsij, Bob Moore. BZ 10734
8375
8376 Fixed a problem where the same ACPI table could not be dynamically loaded 
8377 and 
8378 unloaded more than once. Without this change, a table cannot be loaded 
8379 again 
8380 once it has been loaded/unloaded one time. The current mechanism does not 
8381 unregister a table upon an unload. During a load, if the same table is 
8382 found, 
8383 this no longer returns an exception. BZ 722
8384
8385 Fixed a problem where the wrong descriptor length was calculated for the 
8386 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
8387 EndTag 
8388 are calculated as 12 bytes long, but the actual length in the internal 
8389 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
8390 Reported 
8391 by Linn Crosetto. BZ 728
8392
8393 Fixed a possible memory leak in the Unload operator. The DdbHandle 
8394 returned 
8395 by Load() did not have its reference count decremented during unload, 
8396 leading 
8397 to a memory leak. Lin Ming. BZ 727
8398
8399 Fixed a possible memory leak when deleting thermal/processor objects. Any 
8400 associated notify handlers (and objects) were not being deleted. Fiodor 
8401 Suietov. BZ 506
8402
8403 Fixed the ordering of the ASCII names in the global mutex table to match 
8404 the 
8405 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
8406 only. 
8407 Vegard Nossum. BZ 726
8408
8409 Enhanced the AcpiGetObjectInfo interface to return the number of required 
8410 arguments if the object is a control method. Added this call to the 
8411 debugger 
8412 so the proper number of default arguments are passed to a method. This 
8413 prevents a warning when executing methods from AcpiExec.
8414
8415 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
8416 AE_BAD_PARAMETER if input handle is invalid. BZ 474
8417
8418 Fixed an extraneous warning from exconfig.c on the 64-bit build.
8419
8420 Example Code and Data Size: These are the sizes for the OS-independent 
8421 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8422 debug version of the code includes the debug output trace mechanism and 
8423 has a 
8424 much larger code and data size.
8425
8426   Previous Release:
8427     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8428     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8429   Current Release:
8430     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8431     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8432
8433 2) iASL Compiler/Disassembler and Tools:
8434
8435 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
8436 resource descriptor names.
8437
8438 iASL: Detect invalid ASCII characters in input (windows version). Removed 
8439 the 
8440 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
8441 characters in the input. BZ 441
8442
8443 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
8444 the 
8445 "result of operation not used" warning when the DDB handle returned from 
8446 LoadTable is not used. The warning is not needed. BZ 590
8447
8448 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
8449 method 
8450 to 
8451 pass address of table to the AML. Added option to disable OpRegion 
8452 simulation 
8453 to allow creation of an OpRegion with a real address that was passed to 
8454 _CFG. 
8455 All of this allows testing of the Load and Unload operators from 
8456 AcpiExec.
8457
8458 Debugger: update tables command for unloaded tables. Handle unloaded 
8459 tables 
8460 and use the standard table header output routine.
8461
8462 ----------------------------------------
8463 09 June 2008. Summary of changes for version 20080609:
8464
8465 1) ACPI CA Core Subsystem:
8466
8467 Implemented a workaround for reversed _PRT entries. A significant number 
8468 of 
8469 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
8470 change dynamically detects and repairs this problem. Provides 
8471 compatibility 
8472 with MS ACPI. BZ 6859
8473
8474 Simplified the internal ACPI hardware interfaces to eliminate the locking 
8475 flag parameter from Register Read/Write. Added a new external interface, 
8476 AcpiGetRegisterUnlocked.
8477
8478 Fixed a problem where the invocation of a GPE control method could hang. 
8479 This 
8480 was a regression introduced in 20080514. The new method argument count 
8481 validation mechanism can enter an infinite loop when a GPE method is 
8482 dispatched. Problem fixed by removing the obsolete code that passed GPE 
8483 block 
8484 information to the notify handler via the control method parameter 
8485 pointer.
8486
8487 Fixed a problem where the _SST execution status was incorrectly returned 
8488 to 
8489 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
8490 in 
8491 20080514. _SST is optional and a NOT_FOUND exception should never be 
8492 returned. BZ 716
8493
8494 Fixed a problem where a deleted object could be accessed from within the 
8495 AML 
8496 parser. This was a regression introduced in version 20080123 as a fix for 
8497 the 
8498 Unload operator. Lin Ming. BZ 10669
8499
8500 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
8501 operands 
8502 and eliminated the use of a negative index in a loop. Operands are now 
8503 displayed in the correct order, not backwards. This also fixes a 
8504 regression 
8505 introduced in 20080514 on 64-bit systems where the elimination of 
8506 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
8507 715
8508
8509 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
8510 exit 
8511 path did not delete a locally allocated structure.
8512
8513 Updated definitions for the DMAR and SRAT tables to synchronize with the 
8514 current specifications. Includes disassembler support.
8515
8516 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
8517 loop termination value was used. Loop terminated on iteration early, 
8518 missing 
8519 one mutex. Linn Crosetto
8520
8521 Example Code and Data Size: These are the sizes for the OS-independent 
8522 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8523 debug version of the code includes the debug output trace mechanism and 
8524 has a 
8525 much larger code and data size.
8526
8527   Previous Release:
8528     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8529     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8530   Current Release:
8531     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8532     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8533
8534 2) iASL Compiler/Disassembler and Tools:
8535
8536 Disassembler: Implemented support for EisaId() within _CID objects. Now 
8537 disassemble integer _CID objects back to EisaId invocations, including 
8538 multiple integers within _CID packages. Includes single-step support for 
8539 debugger also.
8540
8541 Disassembler: Added support for DMAR and SRAT table definition changes.
8542
8543 ----------------------------------------
8544 14 May 2008. Summary of changes for version 20080514:
8545
8546 1) ACPI CA Core Subsystem:
8547
8548 Fixed a problem where GPEs were enabled too early during the ACPICA 
8549 initialization. This could lead to "handler not installed" errors on some 
8550 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
8551 This 
8552 ensures that all operation regions and devices throughout the namespace 
8553 have 
8554 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
8555
8556 Implemented a change to the enter sleep code. Moved execution of the _GTS 
8557 method to just before setting sleep enable bit. The execution was moved 
8558 from 
8559 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
8560 immediately before the SLP_EN bit is set, as per the ACPI specification. 
8561 Luming Yu, BZ 1653.
8562
8563 Implemented a fix to disable unknown GPEs (2nd version). Now always 
8564 disable 
8565 the GPE, even if ACPICA thinks that that it is already disabled. It is 
8566 possible that the AML or some other code has enabled the GPE unbeknownst 
8567 to 
8568 the ACPICA code.
8569
8570 Fixed a problem with the Field operator where zero-length fields would 
8571 return 
8572 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
8573 ASL 
8574 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
8575
8576 Implemented a fix for the Load operator, now load the table at the 
8577 namespace 
8578 root. This reverts a change introduced in version 20071019. The table is 
8579 now 
8580 loaded at the namespace root even though this goes against the ACPI 
8581 specification. This provides compatibility with other ACPI 
8582 implementations. 
8583 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
8584 Ming.
8585
8586 Fixed a problem where ACPICA would not Load() tables with unusual 
8587 signatures. 
8588 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
8589 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
8590 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
8591 such 
8592 signatures, ACPICA must be compatible. BZ 10454.
8593
8594 Fixed a possible negative array index in AcpiUtValidateException. Added 
8595 NULL 
8596 fields to the exception string arrays to eliminate a -1 subtraction on 
8597 the 
8598 SubStatus field.
8599
8600 Updated the debug tracking macros to reduce overall code and data size. 
8601 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
8602 instead of pointers to static strings. Jan Beulich and Bob Moore.
8603
8604 Implemented argument count checking in control method invocation via 
8605 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
8606 too 
8607 many. This applies only to extern programmatic control method execution, 
8608 not 
8609 method-to-method calls within the AML. Lin Ming.
8610
8611 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
8612 no 
8613 longer needed, especially with the removal of 16-bit support. It was 
8614 replaced 
8615 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
8616 bit 
8617 on 
8618 32/64-bit platforms is required.
8619
8620 Added the C const qualifier for appropriate string constants -- mostly 
8621 MODULE_NAME and printf format strings. Jan Beulich.
8622
8623 Example Code and Data Size: These are the sizes for the OS-independent 
8624 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8625 debug version of the code includes the debug output trace mechanism and 
8626 has a 
8627 much larger code and data size.
8628
8629   Previous Release:
8630     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8631     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8632   Current Release:
8633     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8634     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8635
8636 2) iASL Compiler/Disassembler and Tools:
8637
8638 Implemented ACPI table revision ID validation in the disassembler. Zero 
8639 is 
8640 always invalid. For DSDTs, the ID controls the interpreter integer width. 
8641
8642 means 32-bit and this is unusual. 2 or greater is 64-bit.
8643
8644 ----------------------------------------
8645 21 March 2008. Summary of changes for version 20080321:
8646
8647 1) ACPI CA Core Subsystem:
8648
8649 Implemented an additional change to the GPE support in order to suppress 
8650 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
8651 permanently 
8652 disable incoming GPEs that are neither enabled nor disabled -- meaning 
8653 that 
8654 the GPE is unknown to the system. This should prevent future interrupt 
8655 floods 
8656 from that GPE. BZ 6217 (Zhang Rui)
8657
8658 Fixed a problem where NULL package elements were not returned to the 
8659 AcpiEvaluateObject interface correctly. The element was simply ignored 
8660 instead of returning a NULL ACPI_OBJECT package element, potentially 
8661 causing 
8662 a buffer overflow and/or confusing the caller who expected a fixed number 
8663 of 
8664 elements. BZ 10132 (Lin Ming, Bob Moore)
8665
8666 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
8667 Dword, 
8668 Qword), Field, BankField, and IndexField operators when invoked from 
8669 inside 
8670 an executing control method. In this case, these operators created 
8671 namespace 
8672 nodes that were incorrectly left marked as permanent nodes instead of 
8673 temporary nodes. This could cause a problem if there is race condition 
8674 between an exiting control method and a running namespace walk. (Reported 
8675 by 
8676 Linn Crosetto)
8677
8678 Fixed a problem where the CreateField and CreateXXXField operators would 
8679 incorrectly allow duplicate names (the name of the field) with no 
8680 exception 
8681 generated.
8682
8683 Implemented several changes for Notify handling. Added support for new 
8684 Notify 
8685 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
8686 PowerResource objects is no longer allowed, as per the ACPI 
8687 specification. 
8688 (Bob Moore, Zhang Rui)
8689
8690 All Reference Objects returned via the AcpiEvaluateObject interface are 
8691 now 
8692 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
8693 for 
8694 NULL objects - either NULL package elements or unresolved named 
8695 references.
8696
8697 Fixed a problem where an extraneous debug message was produced for 
8698 package 
8699 objects (when debugging enabled). The message "Package List length larger 
8700 than NumElements count" is now produced in the correct case, and is now 
8701 an 
8702 error message rather than a debug message. Added a debug message for the 
8703 opposite case, where NumElements is larger than the Package List (the 
8704 package 
8705 will be padded out with NULL elements as per the ACPI spec.)
8706
8707 Implemented several improvements for the output of the ASL "Debug" object 
8708 to 
8709 clarify and keep all data for a given object on one output line.
8710
8711 Fixed two size calculation issues with the variable-length Start 
8712 Dependent 
8713 resource descriptor.
8714
8715 Example Code and Data Size: These are the sizes for the OS-independent 
8716 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8717 debug version of the code includes the debug output trace mechanism and 
8718 has 
8719 a much larger code and data size.
8720
8721   Previous Release:
8722     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8723     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8724   Current Release:
8725     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8726     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8727
8728 2) iASL Compiler/Disassembler and Tools:
8729
8730 Fixed a problem with the use of the Switch operator where execution of 
8731 the 
8732 containing method by multiple concurrent threads could cause an 
8733 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
8734 actual Switch opcode, it must be simulated with local named temporary 
8735 variables and if/else pairs. The solution chosen was to mark any method 
8736 that 
8737 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
8738 469.
8739
8740 ----------------------------------------
8741 13 February 2008. Summary of changes for version 20080213:
8742
8743 1) ACPI CA Core Subsystem:
8744
8745 Implemented another MS compatibility design change for GPE/Notify 
8746 handling. 
8747 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
8748 to 
8749 complete first. It is expected that the OSL will queue the enable request 
8750 behind all pending notify requests (may require changes to the local host 
8751 OSL 
8752 in AcpiOsExecute). Alexey Starikovskiy.
8753
8754 Fixed a problem where buffer and package objects passed as arguments to a 
8755 control method via the external AcpiEvaluateObject interface could cause 
8756 an 
8757 AE_AML_INTERNAL exception depending on the order and type of operators 
8758 executed by the target control method.
8759
8760 Fixed a problem where resource descriptor size optimization could cause a 
8761 problem when a _CRS resource template is passed to a _SRS method. The 
8762 _SRS 
8763 resource template must use the same descriptors (with the same size) as 
8764 returned from _CRS. This change affects the following resource 
8765 descriptors: 
8766 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
8767 9487)
8768
8769 Fixed a problem where a CopyObject to RegionField, BankField, and 
8770 IndexField 
8771 objects did not perform an implicit conversion as it should. These types 
8772 must 
8773 retain their initial type permanently as per the ACPI specification. 
8774 However, 
8775 a CopyObject to all other object types should not perform an implicit 
8776 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
8777
8778 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
8779 match device CIDs did not examine the entire list of available CIDs, but 
8780 instead aborted on the first non-matching CID. Andrew Patterson.
8781
8782 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
8783 was 
8784 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
8785 truncating the upper dword of a 64-bit value. This macro is only used to 
8786 display debug output, so no incorrect calculations were made. Also, 
8787 reimplemented the macro so that a 64-bit shift is not performed by 
8788 inefficient compilers.
8789
8790 Added missing va_end statements that should correspond with each va_start 
8791 statement.
8792
8793 Example Code and Data Size: These are the sizes for the OS-independent 
8794 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8795 debug version of the code includes the debug output trace mechanism and 
8796 has 
8797 a much larger code and data size.
8798
8799   Previous Release:
8800     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8801     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8802   Current Release:
8803     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8804     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8805
8806 2) iASL Compiler/Disassembler and Tools:
8807
8808 Implemented full disassembler support for the following new ACPI tables: 
8809 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
8810 complicated HEST table. These tables support the Windows Hardware Error 
8811 Architecture (WHEA).
8812
8813 ----------------------------------------
8814 23 January 2008. Summary of changes for version 20080123:
8815
8816 1) ACPI CA Core Subsystem:
8817
8818 Added the 2008 copyright to all module headers and signons. This affects 
8819 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
8820 the tools/utilities.
8821
8822 Fixed a problem with the SizeOf operator when used with Package and 
8823 Buffer 
8824 objects. These objects have deferred execution for some arguments, and 
8825 the 
8826 execution is now completed before the SizeOf is executed. This problem 
8827 caused 
8828 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
8829 BZ 
8830 9558
8831
8832 Implemented an enhancement to the interpreter "slack mode". In the 
8833 absence 
8834 of 
8835 an explicit return or an implicitly returned object from the last 
8836 executed 
8837 opcode, a control method will now implicitly return an integer of value 0 
8838 for 
8839 Microsoft compatibility. (Lin Ming) BZ 392
8840
8841 Fixed a problem with the Load operator where an exception was not 
8842 returned 
8843 in 
8844 the case where the table is already loaded. (Lin Ming) BZ 463
8845
8846 Implemented support for the use of DDBHandles as an Indexed Reference, as 
8847 per 
8848 the ACPI spec. (Lin Ming) BZ 486
8849
8850 Implemented support for UserTerm (Method invocation) for the Unload 
8851 operator 
8852 as per the ACPI spec. (Lin Ming) BZ 580
8853
8854 Fixed a problem with the LoadTable operator where the OemId and 
8855 OemTableId 
8856 input strings could cause unexpected failures if they were shorter than 
8857 the 
8858 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
8859
8860 Implemented support for UserTerm (Method invocation) for the Unload 
8861 operator 
8862 as per the ACPI spec. (Lin Ming) BZ 580
8863
8864 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
8865 HEST, 
8866 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
8867
8868 Example Code and Data Size: These are the sizes for the OS-independent 
8869 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8870 debug version of the code includes the debug output trace mechanism and 
8871 has 
8872 a much larger code and data size.
8873
8874   Previous Release:
8875     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8876     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8877   Current Release:
8878     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8879     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8880
8881 2) iASL Compiler/Disassembler and Tools:
8882
8883 Implemented support in the disassembler for checksum validation on 
8884 incoming 
8885 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
8886 table 
8887 header dump at the start of the disassembly.
8888
8889 Implemented additional debugging information in the namespace listing 
8890 file 
8891 created during compilation. In addition to the namespace hierarchy, the 
8892 full 
8893 pathname to each namespace object is displayed.
8894
8895 Fixed a problem with the disassembler where invalid ACPI tables could 
8896 cause 
8897 faults or infinite loops.
8898
8899 Fixed an unexpected parse error when using the optional "parameter types" 
8900 list in a control method declaration. (Lin Ming) BZ 397
8901
8902 Fixed a problem where two External declarations with the same name did 
8903 not 
8904 cause an error (Lin Ming) BZ 509
8905
8906 Implemented support for full TermArgs (adding Argx, Localx and method 
8907 invocation) for the ParameterData parameter to the LoadTable operator. 
8908 (Lin 
8909 Ming) BZ 583,587
8910
8911 ----------------------------------------
8912 19 December 2007. Summary of changes for version 20071219:
8913
8914 1) ACPI CA Core Subsystem:
8915
8916 Implemented full support for deferred execution for the TermArg string 
8917 arguments for DataTableRegion. This enables forward references and full 
8918 operand resolution for the three string arguments. Similar to 
8919 OperationRegion 
8920 deferred argument execution.) Lin Ming. BZ 430
8921
8922 Implemented full argument resolution support for the BankValue argument 
8923 to 
8924 BankField. Previously, only constants were supported, now any TermArg may 
8925 be 
8926 used. Lin Ming BZ 387, 393
8927
8928 Fixed a problem with AcpiGetDevices where the search of a branch of the 
8929 device tree could be terminated prematurely. In accordance with the ACPI 
8930 specification, the search down the current branch is terminated if a 
8931 device 
8932 is both not present and not functional (instead of just not present.) 
8933 Yakui 
8934 Zhao.
8935
8936 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
8937 if 
8938 the underlying AML code changed the GPE enable registers. Now, any 
8939 unknown 
8940 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
8941 disabled 
8942 instead of simply ignored. Rui Zhang.
8943
8944 Fixed a problem with Index Fields where the Index register was 
8945 incorrectly 
8946 limited to a maximum of 32 bits. Now any size may be used.
8947
8948 Fixed a couple memory leaks associated with "implicit return" objects 
8949 when 
8950 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
8951
8952 Example Code and Data Size: These are the sizes for the OS-independent 
8953 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8954 debug version of the code includes the debug output trace mechanism and 
8955 has 
8956 a much larger code and data size.
8957
8958   Previous Release:
8959     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
8960     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
8961   Current Release:
8962     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8963     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8964
8965 ----------------------------------------
8966 14 November 2007. Summary of changes for version 20071114:
8967
8968 1) ACPI CA Core Subsystem:
8969
8970 Implemented event counters for each of the Fixed Events, the ACPI SCI 
8971 (interrupt) itself, and control methods executed. Named 
8972 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
8973 These 
8974 should be useful for debugging and statistics.
8975
8976 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
8977 contents of the various event counters. Returns the current values for 
8978 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
8979 AcpiMethodCount. The interface can be expanded in the future if new 
8980 counters 
8981 are added. Device drivers should use this interface rather than access 
8982 the 
8983 counters directly.
8984
8985 Fixed a problem with the FromBCD and ToBCD operators. With some 
8986 compilers, 
8987 the ShortDivide function worked incorrectly, causing problems with the 
8988 BCD 
8989 functions with large input values. A truncation from 64-bit to 32-bit 
8990 inadvertently occurred. Internal BZ 435. Lin Ming
8991
8992 Fixed a problem with Index references passed as method arguments. 
8993 References 
8994 passed as arguments to control methods were dereferenced immediately 
8995 (before 
8996 control was passed to the called method). The references are now 
8997 correctly 
8998 passed directly to the called method. BZ 5389. Lin Ming
8999
9000 Fixed a problem with CopyObject used in conjunction with the Index 
9001 operator. 
9002 The reference was incorrectly dereferenced before the copy. The reference 
9003 is 
9004 now correctly copied. BZ 5391. Lin Ming
9005
9006 Fixed a problem with Control Method references within Package objects. 
9007 These 
9008 references are now correctly generated. This completes the package 
9009 construction overhaul that began in version 20071019.
9010
9011 Example Code and Data Size: These are the sizes for the OS-independent 
9012 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9013 debug version of the code includes the debug output trace mechanism and 
9014 has 
9015 a much larger code and data size.
9016
9017   Previous Release:
9018     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9019     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9020   Current Release:
9021     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
9022     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
9023
9024
9025 2) iASL Compiler/Disassembler and Tools:
9026
9027 The AcpiExec utility now installs handlers for all of the predefined 
9028 Operation Region types. New types supported are: PCI_Config, CMOS, and 
9029 PCIBARTarget.
9030
9031 Fixed a problem with the 64-bit version of AcpiExec where the extended 
9032 (64-
9033 bit) address fields for the DSDT and FACS within the FADT were not being 
9034 used, causing truncation of the upper 32-bits of these addresses. Lin 
9035 Ming 
9036 and Bob Moore
9037
9038 ----------------------------------------
9039 19 October 2007. Summary of changes for version 20071019:
9040
9041 1) ACPI CA Core Subsystem:
9042
9043 Fixed a problem with the Alias operator when the target of the alias is a 
9044 named ASL operator that opens a new scope -- Scope, Device, 
9045 PowerResource, 
9046 Processor, and ThermalZone. In these cases, any children of the original 
9047 operator could not be accessed via the alias, potentially causing 
9048 unexpected 
9049 AE_NOT_FOUND exceptions. (BZ 9067)
9050
9051 Fixed a problem with the Package operator where all named references were 
9052 created as object references and left otherwise unresolved. According to 
9053 the 
9054 ACPI specification, a Package can only contain Data Objects or references 
9055 to 
9056 control methods. The implication is that named references to Data Objects 
9057 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
9058 immediately upon package creation. This is the approach taken with this 
9059 change. References to all other named objects (Methods, Devices, Scopes, 
9060 etc.) are all now properly created as reference objects. (BZ 5328)
9061
9062 Reverted a change to Notify handling that was introduced in version 
9063 20070508. This version changed the Notify handling from asynchronous to 
9064 fully synchronous (Device driver Notify handling with respect to the 
9065 Notify 
9066 ASL operator). It was found that this change caused more problems than it 
9067 solved and was removed by most users.
9068
9069 Fixed a problem with the Increment and Decrement operators where the type 
9070 of 
9071 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
9072 Lin Ming.
9073
9074 Fixed a problem with the Load and LoadTable operators where the table 
9075 location within the namespace was ignored. Instead, the table was always 
9076 loaded into the root or current scope. Lin Ming.
9077
9078 Fixed a problem with the Load operator when loading a table from a buffer 
9079 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
9080
9081 Fixed a problem with the Debug object where a store of a DdbHandle 
9082 reference 
9083 object to the Debug object could cause a fault.
9084
9085 Added a table checksum verification for the Load operator, in the case 
9086 where 
9087 the load is from a buffer. (BZ 578).
9088
9089 Implemented additional parameter validation for the LoadTable operator. 
9090 The 
9091 length of the input strings SignatureString, OemIdString, and OemTableId 
9092 are 
9093 now checked for maximum lengths. (BZ 582) Lin Ming.
9094
9095 Example Code and Data Size: These are the sizes for the OS-independent 
9096 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9097 debug version of the code includes the debug output trace mechanism and 
9098 has 
9099 a much larger code and data size.
9100
9101   Previous Release:
9102     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9103     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9104   Current Release:
9105     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
9106     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
9107
9108
9109 2) iASL Compiler/Disassembler:
9110
9111 Fixed a problem where if a single file was specified and the file did not 
9112 exist, no error message was emitted. (Introduced with wildcard support in 
9113 version 20070917.)
9114
9115 ----------------------------------------
9116 19 September 2007. Summary of changes for version 20070919:
9117
9118 1) ACPI CA Core Subsystem:
9119
9120 Designed and implemented new external interfaces to install and remove 
9121 handlers for ACPI table-related events. Current events that are defined 
9122 are 
9123 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
9124 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
9125 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
9126
9127 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
9128 (acpi_serialized option on Linux) could cause some systems to hang during 
9129 initialization. (Bob Moore) BZ 8171
9130
9131 Fixed a problem where objects of certain types (Device, ThermalZone, 
9132 Processor, PowerResource) can be not found if they are declared and 
9133 referenced from within the same control method (Lin Ming) BZ 341
9134
9135 Example Code and Data Size: These are the sizes for the OS-independent 
9136 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9137 debug version of the code includes the debug output trace mechanism and 
9138 has 
9139 a much larger code and data size.
9140
9141   Previous Release:
9142     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9143     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9144   Current Release:
9145     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
9146     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
9147
9148
9149 2) iASL Compiler/Disassembler:
9150
9151 Implemented support to allow multiple files to be compiled/disassembled 
9152 in 
9153
9154 single invocation. This includes command line wildcard support for both 
9155 the 
9156 Windows and Unix versions of the compiler. This feature simplifies the 
9157 disassembly and compilation of multiple ACPI tables in a single 
9158 directory.
9159
9160 ----------------------------------------
9161 08 May 2007. Summary of changes for version 20070508:
9162
9163 1) ACPI CA Core Subsystem:
9164
9165 Implemented a Microsoft compatibility design change for the handling of 
9166 the 
9167 Notify AML operator. Previously, notify handlers were dispatched and 
9168 executed completely asynchronously in a deferred thread. The new design 
9169 still executes the notify handlers in a different thread, but the 
9170 original 
9171 thread that executed the Notify() now waits at a synchronization point 
9172 for 
9173 the notify handler to complete. Some machines depend on a synchronous 
9174 Notify 
9175 operator in order to operate correctly.
9176
9177 Implemented support to allow Package objects to be passed as method 
9178 arguments to the external AcpiEvaluateObject interface. Previously, this 
9179 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
9180 implemented since there were no reserved control methods that required it 
9181 until recently.
9182
9183 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
9184 that 
9185 contained invalid non-zero values in reserved fields could cause later 
9186 failures because these fields have meaning in later revisions of the 
9187 FADT. 
9188 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
9189 fields 
9190 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
9191
9192 Fixed a problem where the Global Lock handle was not properly updated if 
9193
9194 thread that acquired the Global Lock via executing AML code then 
9195 attempted 
9196 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
9197 Joe 
9198 Liu.
9199
9200 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
9201 could be corrupted if the interrupt being removed was at the head of the 
9202 list. Reported by Linn Crosetto.
9203
9204 Example Code and Data Size: These are the sizes for the OS-independent 
9205 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9206 debug version of the code includes the debug output trace mechanism and 
9207 has 
9208 a much larger code and data size.
9209
9210   Previous Release:
9211     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9212     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9213   Current Release:
9214     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
9215     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
9216
9217 ----------------------------------------
9218 20 March 2007. Summary of changes for version 20070320:
9219
9220 1) ACPI CA Core Subsystem:
9221
9222 Implemented a change to the order of interpretation and evaluation of AML 
9223 operand objects within the AML interpreter. The interpreter now evaluates 
9224 operands in the order that they appear in the AML stream (and the 
9225 corresponding ASL code), instead of in the reverse order (after the 
9226 entire 
9227 operand list has been parsed). The previous behavior caused several 
9228 subtle 
9229 incompatibilities with the Microsoft AML interpreter as well as being 
9230 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
9231
9232 Implemented a change to the ACPI Global Lock support. All interfaces to 
9233 the 
9234 global lock now allow the same thread to acquire the lock multiple times. 
9235 This affects the AcpiAcquireGlobalLock external interface to the global 
9236 lock 
9237 as well as the internal use of the global lock to support AML fields -- a 
9238 control method that is holding the global lock can now simultaneously 
9239 access 
9240 AML fields that require global lock protection. Previously, in both 
9241 cases, 
9242 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
9243 to 
9244 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
9245 Controller. There is no change to the behavior of the AML Acquire 
9246 operator, 
9247 as this can already be used to acquire a mutex multiple times by the same 
9248 thread. BZ 8066. With assistance from Alexey Starikovskiy.
9249
9250 Fixed a problem where invalid objects could be referenced in the AML 
9251 Interpreter after error conditions. During operand evaluation, ensure 
9252 that 
9253 the internal "Return Object" field is cleared on error and only valid 
9254 pointers are stored there. Caused occasional access to deleted objects 
9255 that 
9256 resulted in "large reference count" warning messages. Valery Podrezov.
9257
9258 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
9259 on 
9260 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
9261 Podrezov.
9262
9263 Fixed an internal problem with the handling of result objects on the 
9264 interpreter result stack. BZ 7872. Valery Podrezov.
9265
9266 Removed obsolete code that handled the case where AML_NAME_OP is the 
9267 target 
9268 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
9269 7874. Valery Podrezov.
9270
9271 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
9272 was 
9273
9274 remnant from the previously discontinued 16-bit support.
9275
9276 Example Code and Data Size: These are the sizes for the OS-independent 
9277 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9278 debug version of the code includes the debug output trace mechanism and 
9279 has 
9280 a much larger code and data size.
9281
9282   Previous Release:
9283     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9284     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9285   Current Release:
9286     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9287     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9288
9289 ----------------------------------------
9290 26 January 2007. Summary of changes for version 20070126:
9291
9292 1) ACPI CA Core Subsystem:
9293
9294 Added the 2007 copyright to all module headers and signons. This affects 
9295 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
9296 the utilities.
9297
9298 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
9299 during a table load. A bad pointer was passed in the case where the DSDT 
9300 is 
9301 overridden, causing a fault in this case.
9302
9303 Example Code and Data Size: These are the sizes for the OS-independent 
9304 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9305 debug version of the code includes the debug output trace mechanism and 
9306 has 
9307 a much larger code and data size.
9308
9309   Previous Release:
9310     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9311     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9312   Current Release:
9313     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9314     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9315
9316 ----------------------------------------
9317 15 December 2006. Summary of changes for version 20061215:
9318
9319 1) ACPI CA Core Subsystem:
9320
9321 Support for 16-bit ACPICA has been completely removed since it is no 
9322 longer 
9323 necessary and it clutters the code. All 16-bit macros, types, and 
9324 conditional compiles have been removed, cleaning up and simplifying the 
9325 code 
9326 across the entire subsystem. DOS support is no longer needed since the 
9327 bootable Linux firmware kit is now available.
9328
9329 The handler for the Global Lock is now removed during AcpiTerminate to 
9330 enable a clean subsystem restart, via the implementation of the 
9331 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
9332 HP)
9333
9334 Implemented enhancements to the multithreading support within the 
9335 debugger 
9336 to enable improved multithreading debugging and evaluation of the 
9337 subsystem. 
9338 (Valery Podrezov)
9339
9340 Debugger: Enhanced the Statistics/Memory command to emit the total 
9341 (maximum) 
9342 memory used during the execution, as well as the maximum memory consumed 
9343 by 
9344 each of the various object types. (Valery Podrezov)
9345
9346 Example Code and Data Size: These are the sizes for the OS-independent 
9347 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9348 debug version of the code includes the debug output trace mechanism and 
9349 has 
9350 a much larger code and data size.
9351
9352   Previous Release:
9353     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9354     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9355   Current Release:
9356     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9357     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9358
9359
9360 2) iASL Compiler/Disassembler and Tools:
9361
9362 AcpiExec: Implemented a new option (-m) to display full memory use 
9363 statistics upon subsystem/program termination. (Valery Podrezov)
9364
9365 ----------------------------------------
9366 09 November 2006. Summary of changes for version 20061109:
9367
9368 1) ACPI CA Core Subsystem:
9369
9370 Optimized the Load ASL operator in the case where the source operand is 
9371 an 
9372 operation region. Simply map the operation region memory, instead of 
9373 performing a bytewise read. (Region must be of type SystemMemory, see 
9374 below.)
9375
9376 Fixed the Load ASL operator for the case where the source operand is a 
9377 region field. A buffer object is also allowed as the source operand. BZ 
9378 480
9379
9380 Fixed a problem where the Load ASL operator allowed the source operand to 
9381 be 
9382 an operation region of any type. It is now restricted to regions of type 
9383 SystemMemory, as per the ACPI specification. BZ 481
9384
9385 Additional cleanup and optimizations for the new Table Manager code.
9386
9387 AcpiEnable will now fail if all of the required ACPI tables are not 
9388 loaded 
9389 (FADT, FACS, DSDT). BZ 477
9390
9391 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
9392 this 
9393 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
9394 manually optimized to be aligned and will not work if it is byte-packed. 
9395
9396 Example Code and Data Size: These are the sizes for the OS-independent 
9397 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9398 debug version of the code includes the debug output trace mechanism and 
9399 has 
9400 a much larger code and data size.
9401
9402   Previous Release:
9403     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9404     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9405   Current Release:
9406     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9407     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9408
9409
9410 2) iASL Compiler/Disassembler and Tools:
9411
9412 Fixed a problem where the presence of the _OSI predefined control method 
9413 within complex expressions could cause an internal compiler error.
9414
9415 AcpiExec: Implemented full region support for multiple address spaces. 
9416 SpaceId is now part of the REGION object. BZ 429
9417
9418 ----------------------------------------
9419 11 October 2006. Summary of changes for version 20061011:
9420
9421 1) ACPI CA Core Subsystem:
9422
9423 Completed an AML interpreter performance enhancement for control method 
9424 execution. Previously a 2-pass parse/execution, control methods are now 
9425 completely parsed and executed in a single pass. This improves overall 
9426 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
9427 use. (Valery Podrezov + interpreter changes in version 20051202 that 
9428 eliminated namespace loading during the pass one parse.)
9429
9430 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
9431 not 
9432 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
9433 now 
9434 obtained and also checked for an ID match.
9435
9436 Implemented additional support for the PCI _ADR execution: upsearch until 
9437
9438 device scope is found before executing _ADR. This allows PCI_Config 
9439 operation regions to be declared locally within control methods 
9440 underneath 
9441 PCI device objects.
9442
9443 Fixed a problem with a possible race condition between threads executing 
9444 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
9445 modifying AcpiWalkNamespace to (by default) ignore all temporary 
9446 namespace 
9447 entries created during any concurrent control method execution. An 
9448 additional namespace race condition is known to exist between 
9449 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
9450 investigation.
9451
9452 Restructured the AML ParseLoop function, breaking it into several 
9453 subfunctions in order to reduce CPU stack use and improve 
9454 maintainability. 
9455 (Mikhail Kouzmich)
9456
9457 AcpiGetHandle: Fix for parameter validation to detect invalid 
9458 combinations 
9459 of prefix handle and pathname. BZ 478
9460
9461 Example Code and Data Size: These are the sizes for the OS-independent 
9462 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9463 debug version of the code includes the debug output trace mechanism and 
9464 has 
9465 a much larger code and data size.
9466
9467   Previous Release:
9468     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9469     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9470   Current Release:
9471     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9472     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9473
9474 2) iASL Compiler/Disassembler and Tools:
9475
9476 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
9477 Manager 
9478 to restore original behavior.
9479
9480 ----------------------------------------
9481 27 September 2006. Summary of changes for version 20060927:
9482
9483 1) ACPI CA Core Subsystem:
9484
9485 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
9486 These functions now use a spinlock for mutual exclusion and the interrupt 
9487 level indication flag is not needed.
9488
9489 Fixed a problem with the Global Lock where the lock could appear to be 
9490 obtained before it is actually obtained. The global lock semaphore was 
9491 inadvertently created with one unit instead of zero units. (BZ 464) 
9492 Fiodor 
9493 Suietov.
9494
9495 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
9496 during 
9497 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9498
9499 Example Code and Data Size: These are the sizes for the OS-independent 
9500 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9501 debug version of the code includes the debug output trace mechanism and 
9502 has 
9503 a much larger code and data size.
9504
9505   Previous Release:
9506     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9507     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9508   Current Release:
9509     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9510     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9511
9512
9513 2) iASL Compiler/Disassembler and Tools:
9514
9515 Fixed a compilation problem with the pre-defined Resource Descriptor 
9516 field 
9517 names where an "object does not exist" error could be incorrectly 
9518 generated 
9519 if the parent ResourceTemplate pathname places the template within a 
9520 different namespace scope than the current scope. (BZ 7212)
9521
9522 Fixed a problem where the compiler could hang after syntax errors 
9523 detected 
9524 in an ElseIf construct. (BZ 453)
9525
9526 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
9527 operator. An incorrect output filename was produced when this parameter 
9528 was 
9529 a null string (""). Now, the original input filename is used as the AML 
9530 output filename, with an ".aml" extension.
9531
9532 Implemented a generic batch command mode for the AcpiExec utility 
9533 (execute 
9534 any AML debugger command) (Valery Podrezov).
9535
9536 ----------------------------------------
9537 12 September 2006. Summary of changes for version 20060912:
9538
9539 1) ACPI CA Core Subsystem:
9540
9541 Enhanced the implementation of the "serialized mode" of the interpreter 
9542 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
9543 specified, instead of creating a serialization semaphore per control 
9544 method, 
9545 the interpreter lock is simply no longer released before a blocking 
9546 operation during control method execution. This effectively makes the AML 
9547 Interpreter single-threaded. The overhead of a semaphore per-method is 
9548 eliminated.
9549
9550 Fixed a regression where an error was no longer emitted if a control 
9551 method 
9552 attempts to create 2 objects of the same name. This once again returns 
9553 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
9554 that 
9555 will dynamically serialize the control method to possible prevent future 
9556 errors. (BZ 440)
9557
9558 Integrated a fix for a problem with PCI Express HID detection in the PCI 
9559 Config Space setup procedure. (BZ 7145)
9560
9561 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
9562 AcpiHwInitialize function - the FADT registers are now validated when the 
9563 table is loaded.
9564
9565 Added two new warnings during FADT verification - 1) if the FADT is 
9566 larger 
9567 than the largest known FADT version, and 2) if there is a mismatch 
9568 between 
9569
9570 32-bit block address and the 64-bit X counterpart (when both are non-
9571 zero.)
9572
9573 Example Code and Data Size: These are the sizes for the OS-independent 
9574 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9575 debug version of the code includes the debug output trace mechanism and 
9576 has 
9577 a much larger code and data size.
9578
9579   Previous Release:
9580     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9581     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9582   Current Release:
9583     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9584     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9585
9586
9587 2) iASL Compiler/Disassembler and Tools:
9588
9589 Fixed a problem with the implementation of the Switch() operator where 
9590 the 
9591 temporary variable was declared too close to the actual Switch, instead 
9592 of 
9593 at method level. This could cause a problem if the Switch() operator is 
9594 within a while loop, causing an error on the second iteration. (BZ 460)
9595
9596 Disassembler - fix for error emitted for unknown type for target of scope 
9597 operator. Now, ignore it and continue.
9598
9599 Disassembly of an FADT now verifies the input FADT and reports any errors 
9600 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
9601
9602 Disassembly of raw data buffers with byte initialization data now 
9603 prefixes 
9604 each output line with the current buffer offset.
9605
9606 Disassembly of ASF! table now includes all variable-length data fields at 
9607 the end of some of the subtables.
9608
9609 The disassembler now emits a comment if a buffer appears to be a 
9610 ResourceTemplate, but cannot be disassembled as such because the EndTag 
9611 does 
9612 not appear at the very end of the buffer.
9613
9614 AcpiExec - Added the "-t" command line option to enable the serialized 
9615 mode 
9616 of the AML interpreter.
9617
9618 ----------------------------------------
9619 31 August 2006. Summary of changes for version 20060831:
9620
9621 1) ACPI CA Core Subsystem:
9622
9623 Miscellaneous fixes for the Table Manager:
9624 - Correctly initialize internal common FADT for all 64-bit "X" fields
9625 - Fixed a couple table mapping issues during table load
9626 - Fixed a couple alignment issues for IA64
9627 - Initialize input array to zero in AcpiInitializeTables
9628 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
9629 AcpiGetTableByIndex
9630
9631 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
9632 now 
9633 immediately disabled to prevent the waking GPE from firing again and to 
9634 prevent other wake GPEs from interrupting the wake process.
9635
9636 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
9637 to 
9638 be used for debugging systems with a large number of ACPI interrupts.
9639
9640 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
9641 both the ACPICA headers and the disassembler.
9642
9643 Example Code and Data Size: These are the sizes for the OS-independent 
9644 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9645 debug version of the code includes the debug output trace mechanism and 
9646 has 
9647 a much larger code and data size.
9648
9649   Previous Release:
9650     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9651     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9652   Current Release:
9653     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9654     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9655
9656
9657 2) iASL Compiler/Disassembler and Tools:
9658
9659 Disassembler support for the DMAR ACPI table.
9660
9661 ----------------------------------------
9662 23 August 2006. Summary of changes for version 20060823:
9663
9664 1) ACPI CA Core Subsystem:
9665
9666 The Table Manager component has been completely redesigned and 
9667 reimplemented. The new design is much simpler, and reduces the overall 
9668 code 
9669 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
9670 is 
9671 now possible to obtain the ACPI tables very early during kernel 
9672 initialization, even before dynamic memory management is initialized. 
9673 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
9674
9675 Obsolete ACPICA interfaces:
9676
9677 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
9678 init 
9679 time).
9680 - AcpiLoadTable: Not needed.
9681 - AcpiUnloadTable: Not needed.
9682
9683 New ACPICA interfaces:
9684
9685 - AcpiInitializeTables: Must be called before the table manager can be 
9686 used.
9687 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
9688 allocated memory after it becomes available.
9689 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
9690 tables 
9691 in the RSDT/XSDT.
9692
9693 Other ACPICA changes:
9694
9695 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
9696 Use 
9697 AcpiOsUnmapMemory to free this mapping.
9698 - AcpiGetTable returns the actual mapped table. The mapping is managed 
9699 internally and must not be deleted by the caller. Use of this interface 
9700 causes no additional dynamic memory allocation.
9701 - AcpiFindRootPointer: Support for physical addressing has been 
9702 eliminated, 
9703 it appeared to be unused.
9704 - The interface to AcpiOsMapMemory has changed to be consistent with the 
9705 other allocation interfaces.
9706 - The interface to AcpiOsGetRootPointer has changed to eliminate 
9707 unnecessary 
9708 parameters.
9709 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
9710 64-
9711 bit platforms. Was previously 64 bits on all platforms.
9712 - The interface to the ACPI Global Lock acquire/release macros have 
9713 changed 
9714 slightly since ACPICA no longer keeps a local copy of the FACS with a 
9715 constructed pointer to the actual global lock.
9716
9717 Porting to the new table manager:
9718
9719 - AcpiInitializeTables: Must be called once, and can be called anytime 
9720 during the OS initialization process. It allows the host to specify an 
9721 area 
9722 of memory to be used to store the internal version of the RSDT/XSDT (root 
9723 table). This allows the host to access ACPI tables before memory 
9724 management 
9725 is initialized and running.
9726 - AcpiReallocateRootTable: Can be called after memory management is 
9727 running 
9728 to copy the root table to a dynamically allocated array, freeing up the 
9729 scratch memory specified in the call to AcpiInitializeTables.
9730 - AcpiSubsystemInitialize: This existing interface is independent of the 
9731 Table Manager, and does not have to be called before the Table Manager 
9732 can 
9733 be used, it only must be called before the rest of ACPICA can be used.
9734 - ACPI Tables: Some changes have been made to the names and structure of 
9735 the 
9736 actbl.h and actbl1.h header files and may require changes to existing 
9737 code. 
9738 For example, bitfields have been completely removed because of their lack 
9739 of 
9740 portability across C compilers.
9741 - Update interfaces to the Global Lock acquire/release macros if local 
9742 versions are used. (see acwin.h)
9743
9744 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
9745
9746 New files: tbfind.c
9747
9748 Example Code and Data Size: These are the sizes for the OS-independent 
9749 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9750 debug version of the code includes the debug output trace mechanism and 
9751 has 
9752 a much larger code and data size.
9753
9754   Previous Release:
9755     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9756     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9757   Current Release:
9758     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9759     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9760
9761
9762 2) iASL Compiler/Disassembler and Tools:
9763
9764 No changes for this release.
9765
9766 ----------------------------------------
9767 21 July 2006. Summary of changes for version 20060721:
9768
9769 1) ACPI CA Core Subsystem:
9770
9771 The full source code for the ASL test suite used to validate the iASL 
9772 compiler and the ACPICA core subsystem is being released with the ACPICA 
9773 source for the first time. The source is contained in a separate package 
9774 and 
9775 consists of over 1100 files that exercise all ASL/AML operators. The 
9776 package 
9777 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
9778 Fiodor 
9779 Suietov)
9780
9781 Completed a new design and implementation for support of the ACPI Global 
9782 Lock. On the OS side, the global lock is now treated as a standard AML 
9783 mutex. Previously, multiple OS threads could "acquire" the global lock 
9784 simultaneously. However, this could cause the BIOS to be starved out of 
9785 the 
9786 lock - especially in cases such as the Embedded Controller driver where 
9787 there is a tight coupling between the OS and the BIOS.
9788
9789 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
9790 The Global Lock interrupt handler no longer queues the execution of a 
9791 separate thread to signal the global lock semaphore. Instead, the 
9792 semaphore 
9793 is signaled directly from the interrupt handler.
9794
9795 Implemented support within the AML interpreter for package objects that 
9796 contain a larger AML length (package list length) than the package 
9797 element 
9798 count. In this case, the length of the package is truncated to match the 
9799 package element count. Some BIOS code apparently modifies the package 
9800 length 
9801 on the fly, and this change supports this behavior. Provides 
9802 compatibility 
9803 with the MS AML interpreter. (With assistance from Fiodor Suietov)
9804
9805 Implemented a temporary fix for the BankValue parameter of a Bank Field 
9806 to 
9807 support all constant values, now including the Zero and One opcodes. 
9808 Evaluation of this parameter must eventually be converted to a full 
9809 TermArg 
9810 evaluation. A not-implemented error is now returned (temporarily) for 
9811 non-
9812 constant values for this parameter.
9813
9814 Fixed problem reports (Fiodor Suietov) integrated:
9815 - Fix for premature object deletion after CopyObject on Operation Region 
9816 (BZ 
9817 350)
9818
9819 Example Code and Data Size: These are the sizes for the OS-independent 
9820 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9821 debug version of the code includes the debug output trace mechanism and 
9822 has 
9823 a much larger code and data size.
9824
9825   Previous Release:
9826     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
9827     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
9828   Current Release:
9829     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9830     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9831
9832
9833 2) iASL Compiler/Disassembler and Tools:
9834
9835 No changes for this release.
9836
9837 ----------------------------------------
9838 07 July 2006. Summary of changes for version 20060707:
9839
9840 1) ACPI CA Core Subsystem:
9841
9842 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
9843 that do not allow the initialization of address pointers within packed 
9844 structures - even though the hardware itself may support misaligned 
9845 transfers. Some of the debug data structures are packed by default to 
9846 minimize size.
9847
9848 Added an error message for the case where AcpiOsGetThreadId() returns 
9849 zero. 
9850 A non-zero value is required by the core ACPICA code to ensure the proper 
9851 operation of AML mutexes and recursive control methods.
9852
9853 The DSDT is now the only ACPI table that determines whether the AML 
9854 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
9855 but 
9856 the hooks for per-table 32/64 switching have been removed from the code. 
9857
9858 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
9859
9860 Fixed a possible leak of an OwnerID in the error path of 
9861 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
9862 deletion to a single place in AcpiTbUninstallTable to correct possible 
9863 leaks 
9864 when using the AcpiTbDeleteTablesByType interface (with assistance from 
9865 Lance Ortiz.)
9866
9867 Fixed a problem with Serialized control methods where the semaphore 
9868 associated with the method could be over-signaled after multiple method 
9869 invocations.
9870
9871 Fixed two issues with the locking of the internal namespace data 
9872 structure. 
9873 Both the Unload() operator and AcpiUnloadTable interface now lock the 
9874 namespace during the namespace deletion associated with the table unload 
9875 (with assistance from Linn Crosetto.)
9876
9877 Fixed problem reports (Valery Podrezov) integrated:
9878 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
9879
9880 Fixed problem reports (Fiodor Suietov) integrated:
9881 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
9882 - On Address Space handler deletion, needless deactivation call (BZ 374)
9883 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
9884 375)
9885 - Possible memory leak, Notify sub-objects of Processor, Power, 
9886 ThermalZone 
9887 (BZ 376)
9888 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
9889 - Minimum Length of RSDT should be validated (BZ 379)
9890 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
9891 Handler (BZ (380)
9892 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
9893 loaded 
9894 (BZ 381)
9895
9896 Example Code and Data Size: These are the sizes for the OS-independent 
9897 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9898 debug version of the code includes the debug output trace mechanism and 
9899 has 
9900 a much larger code and data size.
9901
9902   Previous Release:
9903     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9904     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9905   Current Release:
9906     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9907     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9908
9909
9910 2) iASL Compiler/Disassembler and Tools:
9911
9912 Fixed problem reports:
9913 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
9914 436)
9915
9916 ----------------------------------------
9917 23 June 2006. Summary of changes for version 20060623:
9918
9919 1) ACPI CA Core Subsystem:
9920
9921 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
9922 allows the type to be customized to the host OS for improved efficiency 
9923 (since a spinlock is usually a very small object.)
9924
9925 Implemented support for "ignored" bits in the ACPI registers. According 
9926 to 
9927 the ACPI specification, these bits should be preserved when writing the 
9928 registers via a read/modify/write cycle. There are 3 bits preserved in 
9929 this 
9930 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
9931
9932 Implemented the initial deployment of new OSL mutex interfaces. Since 
9933 some 
9934 host operating systems have separate mutex and semaphore objects, this 
9935 feature was requested. The base code now uses mutexes (and the new mutex 
9936 interfaces) wherever a binary semaphore was used previously. However, for 
9937 the current release, the mutex interfaces are defined as macros to map 
9938 them 
9939 to the existing semaphore interfaces. Therefore, no OSL changes are 
9940 required 
9941 at this time. (See acpiosxf.h)
9942
9943 Fixed several problems with the support for the control method SyncLevel 
9944 parameter. The SyncLevel now works according to the ACPI specification 
9945 and 
9946 in concert with the Mutex SyncLevel parameter, since the current 
9947 SyncLevel 
9948 is a property of the executing thread. Mutual exclusion for control 
9949 methods 
9950 is now implemented with a mutex instead of a semaphore.
9951
9952 Fixed three instances of the use of the C shift operator in the bitfield 
9953 support code (exfldio.c) to avoid the use of a shift value larger than 
9954 the 
9955 target data width. The behavior of C compilers is undefined in this case 
9956 and 
9957 can cause unpredictable results, and therefore the case must be detected 
9958 and 
9959 avoided. (Fiodor Suietov)
9960
9961 Added an info message whenever an SSDT or OEM table is loaded dynamically 
9962 via the Load() or LoadTable() ASL operators. This should improve 
9963 debugging 
9964 capability since it will show exactly what tables have been loaded 
9965 (beyond 
9966 the tables present in the RSDT/XSDT.)
9967
9968 Example Code and Data Size: These are the sizes for the OS-independent 
9969 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9970 debug version of the code includes the debug output trace mechanism and 
9971 has 
9972 a much larger code and data size.
9973
9974   Previous Release:
9975     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
9976     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
9977   Current Release:
9978     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9979     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9980
9981
9982 2) iASL Compiler/Disassembler and Tools:
9983
9984 No changes for this release.
9985
9986 ----------------------------------------
9987 08 June 2006. Summary of changes for version 20060608:
9988
9989 1) ACPI CA Core Subsystem:
9990
9991 Converted the locking mutex used for the ACPI hardware to a spinlock. 
9992 This 
9993 change should eliminate all problems caused by attempting to acquire a 
9994 semaphore at interrupt level, and it means that all ACPICA external 
9995 interfaces that directly access the ACPI hardware can be safely called 
9996 from 
9997 interrupt level. OSL code that implements the semaphore interfaces should 
9998 be 
9999 able to eliminate any workarounds for being called at interrupt level.
10000
10001 Fixed a regression introduced in 20060526 where the ACPI device 
10002 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
10003 device 
10004 did not have an optional _INI method.
10005
10006 Fixed an IndexField issue where a write to the Data Register should be 
10007 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
10008 433, 
10009 Fiodor Suietov)
10010
10011 Fixed problem reports (Valery Podrezov) integrated:
10012 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
10013
10014 Fixed problem reports (Fiodor Suietov) integrated:
10015 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
10016
10017 Removed four global mutexes that were obsolete and were no longer being 
10018 used.
10019
10020 Example Code and Data Size: These are the sizes for the OS-independent 
10021 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10022 debug version of the code includes the debug output trace mechanism and 
10023 has 
10024 a much larger code and data size.
10025
10026   Previous Release:
10027     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10028     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10029   Current Release:
10030     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
10031     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
10032
10033
10034 2) iASL Compiler/Disassembler and Tools:
10035
10036 Fixed a fault when using -g option (get tables from registry) on Windows 
10037 machines.
10038
10039 Fixed problem reports integrated:
10040 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
10041 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
10042 Suietov)
10043 - Global table revision override (-r) is ignored (BZ 413)
10044
10045 ----------------------------------------
10046 26 May 2006. Summary of changes for version 20060526:
10047
10048 1) ACPI CA Core Subsystem:
10049
10050 Restructured, flattened, and simplified the internal interfaces for 
10051 namespace object evaluation - resulting in smaller code, less CPU stack 
10052 use, 
10053 and fewer interfaces. (With assistance from Mikhail Kouzmich)
10054
10055 Fixed a problem with the CopyObject operator where the first parameter 
10056 was 
10057 not typed correctly for the parser, interpreter, compiler, and 
10058 disassembler. 
10059 Caused various errors and unexpected behavior.
10060
10061 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
10062 produced incorrect results with some C compilers. Since the behavior of C 
10063 compilers when the shift value is larger than the datatype width is 
10064 apparently not well defined, the interpreter now detects this condition 
10065 and 
10066 simply returns zero as expected in all such cases. (BZ 395)
10067
10068 Fixed problem reports (Valery Podrezov) integrated:
10069 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
10070 - Allow interpreter to handle nested method declarations (BZ 5361)
10071
10072 Fixed problem reports (Fiodor Suietov) integrated:
10073 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
10074 355)
10075 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
10076 356)
10077 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
10078 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
10079 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
10080 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
10081 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
10082 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
10083 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
10084 365)
10085 - Status of the Global Initialization Handler call not used (BZ 366)
10086 - Incorrect object parameter to Global Initialization Handler (BZ 367)
10087
10088 Example Code and Data Size: These are the sizes for the OS-independent 
10089 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10090 debug version of the code includes the debug output trace mechanism and 
10091 has 
10092 a much larger code and data size.
10093
10094   Previous Release:
10095     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10096     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10097   Current Release:
10098     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
10099     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
10100
10101
10102 2) iASL Compiler/Disassembler and Tools:
10103
10104 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
10105 namespace identifiers with no collision with existing resource descriptor 
10106 macro names. This provides compatibility with other ASL compilers and is 
10107 most useful for disassembly/recompilation of existing tables without 
10108 parse 
10109 errors. (With assistance from Thomas Renninger)
10110
10111 Disassembler: fixed an incorrect disassembly problem with the 
10112 DataTableRegion and CopyObject operators. Fixed a possible fault during 
10113 disassembly of some Alias operators.
10114
10115 ----------------------------------------
10116 12 May 2006. Summary of changes for version 20060512:
10117
10118 1) ACPI CA Core Subsystem:
10119
10120 Replaced the AcpiOsQueueForExecution interface with a new interface named 
10121 AcpiOsExecute. The major difference is that the new interface does not 
10122 have 
10123 a Priority parameter, this appeared to be useless and has been replaced 
10124 by 
10125
10126 Type parameter. The Type tells the host what type of execution is being 
10127 requested, such as global lock handler, notify handler, GPE handler, etc. 
10128 This allows the host to queue and execute the request as appropriate for 
10129 the 
10130 request type, possibly using different work queues and different 
10131 priorities 
10132 for the various request types. This enables fixes for multithreading 
10133 deadlock problems such as BZ #5534, and will require changes to all 
10134 existing 
10135 OS interface layers. (Alexey Starikovskiy and Bob Moore)
10136
10137 Fixed a possible memory leak associated with the support for the so-
10138 called 
10139 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
10140 Suietov)
10141
10142 Fixed a problem with the Load() operator where a table load from an 
10143 operation region could overwrite an internal table buffer by up to 7 
10144 bytes 
10145 and cause alignment faults on IPF systems. (With assistance from Luming 
10146 Yu)
10147
10148 Example Code and Data Size: These are the sizes for the OS-independent 
10149 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10150 debug version of the code includes the debug output trace mechanism and 
10151 has 
10152 a much larger code and data size.
10153
10154   Previous Release:
10155     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10156     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10157   Current Release:
10158     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
10159     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
10160
10161
10162
10163 2) iASL Compiler/Disassembler and Tools:
10164
10165 Disassembler: Implemented support to cross reference the internal 
10166 namespace 
10167 and automatically generate ASL External() statements for symbols not 
10168 defined 
10169 within the current table being disassembled. This will simplify the 
10170 disassembly and recompilation of interdependent tables such as SSDTs 
10171 since 
10172 these statements will no longer have to be added manually.
10173
10174 Disassembler: Implemented experimental support to automatically detect 
10175 invocations of external control methods and generate appropriate 
10176 External() 
10177 statements. This is problematic because the AML cannot be correctly 
10178 parsed 
10179 until the number of arguments for each control method is known. 
10180 Currently, 
10181 standalone method invocations and invocations as the source operand of a 
10182 Store() statement are supported.
10183
10184 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
10185 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
10186 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
10187 more readable and likely closer to the original ASL source.
10188
10189 ----------------------------------------
10190 21 April 2006. Summary of changes for version 20060421:
10191
10192 1) ACPI CA Core Subsystem:
10193
10194 Removed a device initialization optimization introduced in 20051216 where 
10195 the _STA method was not run unless an _INI was also present for the same 
10196 device. This optimization could cause problems because it could allow 
10197 _INI 
10198 methods to be run within a not-present device subtree. (If a not-present 
10199 device had no _INI, _STA would not be run, the not-present status would 
10200 not 
10201 be discovered, and the children of the device would be incorrectly 
10202 traversed.)
10203
10204 Implemented a new _STA optimization where namespace subtrees that do not 
10205 contain _INI are identified and ignored during device initialization. 
10206 Selectively running _STA can significantly improve boot time on large 
10207 machines (with assistance from Len Brown.)
10208
10209 Implemented support for the device initialization case where the returned 
10210 _STA flags indicate a device not-present but functioning. In this case, 
10211 _INI 
10212 is not run, but the device children are examined for presence, as per the 
10213 ACPI specification.
10214
10215 Implemented an additional change to the IndexField support in order to 
10216 conform to MS behavior. The value written to the Index Register is not 
10217 simply a byte offset, it is a byte offset in units of the access width of 
10218 the parent Index Field. (Fiodor Suietov)
10219
10220 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
10221 interface is called during the creation of all AML operation regions, and 
10222 allows the host OS to exert control over what addresses it will allow the 
10223 AML code to access. Operation Regions whose addresses are disallowed will 
10224 cause a runtime exception when they are actually accessed (will not 
10225 affect 
10226 or abort table loading.) See oswinxf or osunixxf for an example 
10227 implementation.
10228
10229 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
10230 interface allows the host OS to match the various "optional" 
10231 interface/behavior strings for the _OSI predefined control method as 
10232 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
10233 for an example implementation.
10234
10235 Restructured and corrected various problems in the exception handling 
10236 code 
10237 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
10238 (with assistance from Takayoshi Kochi.)
10239
10240 Modified the Linux source converter to ignore quoted string literals 
10241 while 
10242 converting identifiers from mixed to lower case. This will correct 
10243 problems 
10244 with the disassembler and other areas where such strings must not be 
10245 modified.
10246
10247 The ACPI_FUNCTION_* macros no longer require quotes around the function 
10248 name. This allows the Linux source converter to convert the names, now 
10249 that 
10250 the converter ignores quoted strings.
10251
10252 Example Code and Data Size: These are the sizes for the OS-independent 
10253 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10254 debug version of the code includes the debug output trace mechanism and 
10255 has 
10256 a much larger code and data size.
10257
10258   Previous Release:
10259
10260     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10261     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10262   Current Release:
10263     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10264     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10265
10266
10267 2) iASL Compiler/Disassembler and Tools:
10268
10269 Implemented 3 new warnings for iASL, and implemented multiple warning 
10270 levels 
10271 (w2 flag).
10272
10273 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
10274 not 
10275 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
10276 check for the possible timeout, a warning is issued.
10277
10278 2) Useless operators: If an ASL operator does not specify an optional 
10279 target 
10280 operand and it also does not use the function return value from the 
10281 operator, a warning is issued since the operator effectively does 
10282 nothing.
10283
10284 3) Unreferenced objects: If a namespace object is created, but never 
10285 referenced, a warning is issued. This is a warning level 2 since there 
10286 are 
10287 cases where this is ok, such as when a secondary table is loaded that 
10288 uses 
10289 the unreferenced objects. Even so, care is taken to only flag objects 
10290 that 
10291 don't look like they will ever be used. For example, the reserved methods 
10292 (starting with an underscore) are usually not referenced because it is 
10293 expected that the OS will invoke them.
10294
10295 ----------------------------------------
10296 31 March 2006. Summary of changes for version 20060331:
10297
10298 1) ACPI CA Core Subsystem:
10299
10300 Implemented header file support for the following additional ACPI tables: 
10301 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
10302 support, 
10303 all current and known ACPI tables are now defined in the ACPICA headers 
10304 and 
10305 are available for use by device drivers and other software.
10306
10307 Implemented support to allow tables that contain ACPI names with invalid 
10308 characters to be loaded. Previously, this would cause the table load to 
10309 fail, but since there are several known cases of such tables on existing 
10310 machines, this change was made to enable ACPI support for them. Also, 
10311 this 
10312 matches the behavior of the Microsoft ACPI implementation.
10313
10314 Fixed a couple regressions introduced during the memory optimization in 
10315 the 
10316 20060317 release. The namespace node definition required additional 
10317 reorganization and an internal datatype that had been changed to 8-bit 
10318 was 
10319 restored to 32-bit. (Valery Podrezov)
10320
10321 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
10322 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
10323 null pointers are now trapped and ignored, matching the behavior of the 
10324 previous implementation before the deployment of AcpiOsReleaseObject.
10325 (Valery Podrezov, Fiodor Suietov)
10326
10327 Fixed a memory mapping leak during the deletion of a SystemMemory 
10328 operation 
10329 region where a cached memory mapping was not deleted. This became a 
10330 noticeable problem for operation regions that are defined within 
10331 frequently 
10332 used control methods. (Dana Meyers)
10333
10334 Reorganized the ACPI table header files into two main files: one for the 
10335 ACPI tables consumed by the ACPICA core, and another for the 
10336 miscellaneous 
10337 ACPI tables that are consumed by the drivers and other software. The 
10338 various 
10339 FADT definitions were merged into one common section and three different 
10340 tables (ACPI 1.0, 1.0+, and 2.0)
10341
10342 Example Code and Data Size: These are the sizes for the OS-independent 
10343 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10344 debug version of the code includes the debug output trace mechanism and 
10345 has 
10346 a much larger code and data size.
10347
10348   Previous Release:
10349     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10350     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10351   Current Release:
10352     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10353     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10354
10355
10356 2) iASL Compiler/Disassembler and Tools:
10357
10358 Disassembler: Implemented support to decode and format all non-AML ACPI 
10359 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
10360 added to the ACPICA headers, therefore all current and known ACPI tables 
10361 are 
10362 supported.
10363
10364 Disassembler: The change to allow ACPI names with invalid characters also 
10365 enables the disassembly of such tables. Invalid characters within names 
10366 are 
10367 changed to '*' to make the name printable; the iASL compiler will still 
10368 generate an error for such names, however, since this is an invalid ACPI 
10369 character.
10370
10371 Implemented an option for AcpiXtract (-a) to extract all tables found in 
10372 the 
10373 input file. The default invocation extracts only the DSDTs and SSDTs.
10374
10375 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
10376 makefile for the AcpiXtract utility.
10377
10378 ----------------------------------------
10379 17 March 2006. Summary of changes for version 20060317:
10380
10381 1) ACPI CA Core Subsystem:
10382
10383 Implemented the use of a cache object for all internal namespace nodes. 
10384 Since there are about 1000 static nodes in a typical system, this will 
10385 decrease memory use for cache implementations that minimize per-
10386 allocation 
10387 overhead (such as a slab allocator.)
10388
10389 Removed the reference count mechanism for internal namespace nodes, since 
10390 it 
10391 was deemed unnecessary. This reduces the size of each namespace node by 
10392 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
10393 case, 
10394 and 32 bytes for the 64-bit case.
10395
10396 Optimized several internal data structures to reduce object size on 64-
10397 bit 
10398 platforms by packing data within the 64-bit alignment. This includes the 
10399 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
10400 instances corresponding to the namespace objects.
10401
10402 Added two new strings for the predefined _OSI method: "Windows 2001.1 
10403 SP1" 
10404 and "Windows 2006".
10405
10406 Split the allocation tracking mechanism out to a separate file, from 
10407 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
10408 application-level code. Kernels may wish to not include uttrack.c in 
10409 distributions.
10410
10411 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
10412 associated 
10413 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
10414 macros.)
10415
10416 Code and Data Size: These are the sizes for the acpica.lib produced by 
10417 the 
10418 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10419 ACPI 
10420 driver or OSPM code. The debug version of the code includes the debug 
10421 output 
10422 trace mechanism and has a much larger code and data size. Note that these 
10423 values will vary depending on the efficiency of the compiler and the 
10424 compiler options used during generation.
10425
10426   Previous Release:
10427     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10428     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10429   Current Release:
10430     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10431     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10432
10433
10434 2) iASL Compiler/Disassembler and Tools:
10435
10436 Implemented an ANSI C version of the acpixtract utility. This version 
10437 will 
10438 automatically extract the DSDT and all SSDTs from the input acpidump text 
10439 file and dump the binary output to separate files. It can also display a 
10440 summary of the input file including the headers for each table found and 
10441 will extract any single ACPI table, with any signature. (See 
10442 source/tools/acpixtract)
10443
10444 ----------------------------------------
10445 10 March 2006. Summary of changes for version 20060310:
10446
10447 1) ACPI CA Core Subsystem:
10448
10449 Tagged all external interfaces to the subsystem with the new 
10450 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
10451 assist 
10452 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
10453 macro. The default definition is NULL.
10454
10455 Added the ACPI_THREAD_ID type for the return value from 
10456 AcpiOsGetThreadId. 
10457 This allows the host to define this as necessary to simplify kernel 
10458 integration. The default definition is ACPI_NATIVE_UINT.
10459
10460 Fixed two interpreter problems related to error processing, the deletion 
10461 of 
10462 objects, and placing invalid pointers onto the internal operator result 
10463 stack. BZ 6028, 6151 (Valery Podrezov)
10464
10465 Increased the reference count threshold where a warning is emitted for 
10466 large 
10467 reference counts in order to eliminate unnecessary warnings on systems 
10468 with 
10469 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
10470 0x800.
10471
10472 Due to universal disagreement as to the meaning of the 'c' in the 
10473 calloc() 
10474 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
10475 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
10476 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
10477 ACPI_FREE.
10478
10479 Code and Data Size: These are the sizes for the acpica.lib produced by 
10480 the 
10481 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10482 ACPI 
10483 driver or OSPM code. The debug version of the code includes the debug 
10484 output 
10485 trace mechanism and has a much larger code and data size. Note that these 
10486 values will vary depending on the efficiency of the compiler and the 
10487 compiler options used during generation.
10488
10489   Previous Release:
10490     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10491     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10492   Current Release:
10493     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10494     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10495
10496
10497 2) iASL Compiler/Disassembler:
10498
10499 Disassembler: implemented support for symbolic resource descriptor 
10500 references. If a CreateXxxxField operator references a fixed offset 
10501 within 
10502
10503 resource descriptor, a name is assigned to the descriptor and the offset 
10504 is 
10505 translated to the appropriate resource tag and pathname. The addition of 
10506 this support brings the disassembled code very close to the original ASL 
10507 source code and helps eliminate run-time errors when the disassembled 
10508 code 
10509 is modified (and recompiled) in such a way as to invalidate the original 
10510 fixed offsets.
10511
10512 Implemented support for a Descriptor Name as the last parameter to the 
10513 ASL 
10514 Register() macro. This parameter was inadvertently left out of the ACPI 
10515 specification, and will be added for ACPI 3.0b.
10516
10517 Fixed a problem where the use of the "_OSI" string (versus the full path 
10518 "\_OSI") caused an internal compiler error. ("No back ptr to op")
10519
10520 Fixed a problem with the error message that occurs when an invalid string 
10521 is 
10522 used for a _HID object (such as one with an embedded asterisk: 
10523 "*PNP010A".) 
10524 The correct message is now displayed.
10525
10526 ----------------------------------------
10527 17 February 2006. Summary of changes for version 20060217:
10528
10529 1) ACPI CA Core Subsystem:
10530
10531 Implemented a change to the IndexField support to match the behavior of 
10532 the 
10533 Microsoft AML interpreter. The value written to the Index register is now 
10534
10535 byte offset, no longer an index based upon the width of the Data 
10536 register. 
10537 This should fix IndexField problems seen on some machines where the Data 
10538 register is not exactly one byte wide. The ACPI specification will be 
10539 clarified on this point.
10540
10541 Fixed a problem where several resource descriptor types could overrun the 
10542 internal descriptor buffer due to size miscalculation: VendorShort, 
10543 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
10544 affect all platforms.
10545
10546 Fixed a problem where individual resource descriptors were misaligned 
10547 within 
10548 the internal buffer, causing alignment faults on IA64 platforms.
10549
10550 Code and Data Size: These are the sizes for the acpica.lib produced by 
10551 the 
10552 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10553 ACPI 
10554 driver or OSPM code. The debug version of the code includes the debug 
10555 output 
10556 trace mechanism and has a much larger code and data size. Note that these 
10557 values will vary depending on the efficiency of the compiler and the 
10558 compiler options used during generation.
10559
10560   Previous Release:
10561     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10562     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10563   Current Release:
10564     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10565     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10566
10567
10568 2) iASL Compiler/Disassembler:
10569
10570 Implemented support for new reserved names: _WDG and _WED are Microsoft 
10571 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
10572 defined method (Throttling Depth Limit.)
10573
10574 Fixed a problem where a zero-length VendorShort or VendorLong resource 
10575 descriptor was incorrectly emitted as a descriptor of length one.
10576
10577 ----------------------------------------
10578 10 February 2006. Summary of changes for version 20060210:
10579
10580 1) ACPI CA Core Subsystem:
10581
10582 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
10583 normal execution. These became apparent after the conversion from 
10584 ACPI_DEBUG_PRINT.
10585
10586 Fixed a problem where the CreateField operator could hang if the BitIndex 
10587 or 
10588 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
10589
10590 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
10591 failed with an exception. This also fixes a couple of related RefOf and 
10592 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
10593
10594 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
10595 of 
10596 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
10597 BZ 
10598 5480)
10599
10600 Implemented a memory cleanup at the end of the execution of each 
10601 iteration 
10602 of an AML While() loop, preventing the accumulation of outstanding 
10603 objects. 
10604 (Valery Podrezov, BZ 5427)
10605
10606 Eliminated a chunk of duplicate code in the object resolution code. 
10607 (Valery 
10608 Podrezov, BZ 5336)
10609
10610 Fixed several warnings during the 64-bit code generation.
10611
10612 The AcpiSrc source code conversion tool now inserts one line of 
10613 whitespace 
10614 after an if() statement that is followed immediately by a comment, 
10615 improving 
10616 readability of the Linux code.
10617
10618 Code and Data Size: The current and previous library sizes for the core 
10619 subsystem are shown below. These are the code and data sizes for the 
10620 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10621 These 
10622 values do not include any ACPI driver or OSPM code. The debug version of 
10623 the 
10624 code includes the debug output trace mechanism and has a much larger code 
10625 and data size. Note that these values will vary depending on the 
10626 efficiency 
10627 of the compiler and the compiler options used during generation.
10628
10629   Previous Release:
10630     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10631     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10632   Current Release:
10633     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10634     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10635
10636
10637 2) iASL Compiler/Disassembler:
10638
10639 Fixed a problem with the disassembly of a BankField operator with a 
10640 complex 
10641 expression for the BankValue parameter.
10642
10643 ----------------------------------------
10644 27 January 2006. Summary of changes for version 20060127:
10645
10646 1) ACPI CA Core Subsystem:
10647
10648 Implemented support in the Resource Manager to allow unresolved 
10649 namestring 
10650 references within resource package objects for the _PRT method. This 
10651 support 
10652 is in addition to the previously implemented unresolved reference support 
10653 within the AML parser. If the interpreter slack mode is enabled, these 
10654 unresolved references will be passed through to the caller as a NULL 
10655 package 
10656 entry.
10657
10658 Implemented and deployed new macros and functions for error and warning 
10659 messages across the subsystem. These macros are simpler and generate less 
10660 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
10661 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
10662 macros remain defined to allow ACPI drivers time to migrate to the new 
10663 macros.
10664
10665 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
10666 the 
10667 Acquire/Release Lock OSL interfaces.
10668
10669 Fixed a problem where Alias ASL operators are sometimes not correctly 
10670 resolved, in both the interpreter and the iASL compiler.
10671
10672 Fixed several problems with the implementation of the 
10673 ConcatenateResTemplate 
10674 ASL operator. As per the ACPI specification, zero length buffers are now 
10675 treated as a single EndTag. One-length buffers always cause a fatal 
10676 exception. Non-zero length buffers that do not end with a full 2-byte 
10677 EndTag 
10678 cause a fatal exception.
10679
10680 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
10681 interface. (With assistance from Thomas Renninger)
10682
10683 Code and Data Size: The current and previous library sizes for the core 
10684 subsystem are shown below. These are the code and data sizes for the 
10685 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10686 These 
10687 values do not include any ACPI driver or OSPM code. The debug version of 
10688 the 
10689 code includes the debug output trace mechanism and has a much larger code 
10690 and data size. Note that these values will vary depending on the 
10691 efficiency 
10692 of the compiler and the compiler options used during generation.
10693
10694   Previous Release:
10695     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10696     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10697   Current Release:
10698     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10699     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10700
10701
10702 2) iASL Compiler/Disassembler:
10703
10704 Fixed an internal error that was generated for any forward references to 
10705 ASL 
10706 Alias objects.
10707
10708 ----------------------------------------
10709 13 January 2006. Summary of changes for version 20060113:
10710
10711 1) ACPI CA Core Subsystem:
10712
10713 Added 2006 copyright to all module headers and signons. This affects 
10714 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
10715 utilities.
10716  
10717 Enhanced the ACPICA error reporting in order to simplify user migration 
10718 to 
10719 the non-debug version of ACPICA. Replaced all instances of the 
10720 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
10721 debug 
10722 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
10723 respectively. This preserves all error and warning messages in the non-
10724 debug 
10725 version of the ACPICA code (this has been referred to as the "debug lite" 
10726 option.) Over 200 cases were converted to create a total of over 380 
10727 error/warning messages across the ACPICA code. This increases the code 
10728 and 
10729 data size of the default non-debug version of the code somewhat (about 
10730 13K), 
10731 but all error/warning reporting may be disabled if desired (and code 
10732 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
10733 configuration option. The size of the debug version of ACPICA remains 
10734 about 
10735 the same.
10736
10737 Fixed a memory leak within the AML Debugger "Set" command. One object was 
10738 not properly deleted for every successful invocation of the command.
10739
10740 Code and Data Size: The current and previous library sizes for the core 
10741 subsystem are shown below. These are the code and data sizes for the 
10742 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10743 These 
10744 values do not include any ACPI driver or OSPM code. The debug version of 
10745 the 
10746 code includes the debug output trace mechanism and has a much larger code 
10747 and data size. Note that these values will vary depending on the 
10748 efficiency 
10749 of the compiler and the compiler options used during generation.
10750
10751   Previous Release:
10752     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10753     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10754   Current Release:
10755     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10756     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10757
10758
10759 2) iASL Compiler/Disassembler:
10760
10761 The compiler now officially supports the ACPI 3.0a specification that was 
10762 released on December 30, 2005. (Specification is available at 
10763 www.acpi.info)
10764
10765 ----------------------------------------
10766 16 December 2005. Summary of changes for version 20051216:
10767
10768 1) ACPI CA Core Subsystem:
10769
10770 Implemented optional support to allow unresolved names within ASL Package 
10771 objects. A null object is inserted in the package when a named reference 
10772 cannot be located in the current namespace. Enabled via the interpreter 
10773 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
10774 machines 
10775 that contain such code.
10776
10777 Implemented an optimization to the initialization sequence that can 
10778 improve 
10779 boot time. During ACPI device initialization, the _STA method is now run 
10780 if 
10781 and only if the _INI method exists. The _STA method is used to determine 
10782 if 
10783 the device is present; An _INI can only be run if _STA returns present, 
10784 but 
10785 it is a waste of time to run the _STA method if the _INI does not exist. 
10786 (Prototype and assistance from Dong Wei)
10787
10788 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
10789 is 
10790 available in the current compiler. Otherwise, the default (void *) cast 
10791 is 
10792 used as before.
10793
10794 Fixed some possible memory leaks found within the execution path of the 
10795 Break, Continue, If, and CreateField operators. (Valery Podrezov)
10796
10797 Fixed a problem introduced in the 20051202 release where an exception is 
10798 generated during method execution if a control method attempts to declare 
10799 another method.
10800
10801 Moved resource descriptor string constants that are used by both the AML 
10802 disassembler and AML debugger to the common utilities directory so that 
10803 these components are independent.
10804
10805 Implemented support in the AcpiExec utility (-e switch) to globally 
10806 ignore 
10807 exceptions during control method execution (method is not aborted.)
10808
10809 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
10810 generation.
10811
10812 Code and Data Size: The current and previous library sizes for the core 
10813 subsystem are shown below. These are the code and data sizes for the 
10814 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10815 These 
10816 values do not include any ACPI driver or OSPM code. The debug version of 
10817 the 
10818 code includes the debug output trace mechanism and has a much larger code 
10819 and data size. Note that these values will vary depending on the 
10820 efficiency 
10821 of the compiler and the compiler options used during generation.
10822
10823   Previous Release:
10824     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10825     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10826   Current Release:
10827     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10828     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10829
10830
10831 2) iASL Compiler/Disassembler:
10832
10833 Fixed a problem where a CPU stack overflow fault could occur if a 
10834 recursive 
10835 method call was made from within a Return statement.
10836
10837 ----------------------------------------
10838 02 December 2005. Summary of changes for version 20051202:
10839
10840 1) ACPI CA Core Subsystem:
10841
10842 Modified the parsing of control methods to no longer create namespace 
10843 objects during the first pass of the parse. Objects are now created only 
10844 during the execute phase, at the moment the namespace creation operator 
10845 is 
10846 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
10847 This 
10848 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
10849 reentrant control methods are protected by an AML mutex. The mutex will 
10850 now 
10851 correctly block multiple threads from attempting to create the same 
10852 object 
10853 more than once.
10854
10855 Increased the number of available Owner Ids for namespace object tracking 
10856 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
10857 on 
10858 some machines with a large number of ACPI tables (either static or 
10859 dynamic).
10860
10861 Fixed a problem with the AcpiExec utility where a fault could occur when 
10862 the 
10863 -b switch (batch mode) is used.
10864
10865 Enhanced the namespace dump routine to output the owner ID for each 
10866 namespace object.
10867
10868 Code and Data Size: The current and previous library sizes for the core 
10869 subsystem are shown below. These are the code and data sizes for the 
10870 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10871 These 
10872 values do not include any ACPI driver or OSPM code. The debug version of 
10873 the 
10874 code includes the debug output trace mechanism and has a much larger code 
10875 and data size. Note that these values will vary depending on the 
10876 efficiency 
10877 of the compiler and the compiler options used during generation.
10878
10879   Previous Release:
10880     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10881     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10882   Current Release:
10883     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10884     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10885
10886
10887 2) iASL Compiler/Disassembler:
10888
10889 Fixed a parse error during compilation of certain Switch/Case constructs. 
10890 To 
10891 simplify the parse, the grammar now allows for multiple Default 
10892 statements 
10893 and this error is now detected and flagged during the analysis phase.
10894
10895 Disassembler: The disassembly now includes the contents of the original 
10896 table header within a comment at the start of the file. This includes the 
10897 name and version of the original ASL compiler.
10898
10899 ----------------------------------------
10900 17 November 2005. Summary of changes for version 20051117:
10901
10902 1) ACPI CA Core Subsystem:
10903
10904 Fixed a problem in the AML parser where the method thread count could be 
10905 decremented below zero if any errors occurred during the method parse 
10906 phase. 
10907 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
10908 machines. 
10909 This also fixed a related regression with the mechanism that detects and 
10910 corrects methods that cannot properly handle reentrancy (related to the 
10911 deployment of the new OwnerId mechanism.)
10912
10913 Eliminated the pre-parsing of control methods (to detect errors) during 
10914 table load. Related to the problem above, this was causing unwind issues 
10915 if 
10916 any errors occurred during the parse, and it seemed to be overkill. A 
10917 table 
10918 load should not be aborted if there are problems with any single control 
10919 method, thus rendering this feature rather pointless.
10920
10921 Fixed a problem with the new table-driven resource manager where an 
10922 internal 
10923 buffer overflow could occur for small resource templates.
10924
10925 Implemented a new external interface, AcpiGetVendorResource. This 
10926 interface 
10927 will find and return a vendor-defined resource descriptor within a _CRS 
10928 or 
10929 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
10930 Helgaas.
10931
10932 Removed the length limit (200) on string objects as per the upcoming ACPI 
10933 3.0A specification. This affects the following areas of the interpreter: 
10934 1) 
10935 any implicit conversion of a Buffer to a String, 2) a String object 
10936 result 
10937 of the ASL Concatentate operator, 3) the String object result of the ASL 
10938 ToString operator.
10939
10940 Fixed a problem in the Windows OS interface layer (OSL) where a 
10941 WAIT_FOREVER 
10942 on a semaphore object would incorrectly timeout. This allows the 
10943 multithreading features of the AcpiExec utility to work properly under 
10944 Windows.
10945
10946 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
10947 the recently added file named "utresrc.c".
10948
10949 Code and Data Size: The current and previous library sizes for the core 
10950 subsystem are shown below. These are the code and data sizes for the 
10951 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10952 These 
10953 values do not include any ACPI driver or OSPM code. The debug version of 
10954 the 
10955 code includes the debug output trace mechanism and has a much larger code 
10956 and data size. Note that these values will vary depending on the 
10957 efficiency 
10958 of the compiler and the compiler options used during generation.
10959
10960   Previous Release:
10961     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
10962     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10963   Current Release:
10964     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10965     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10966
10967
10968 2) iASL Compiler/Disassembler:
10969
10970 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
10971 specification. For the iASL compiler, this means that string literals 
10972 within 
10973 the source ASL can be of any length. 
10974
10975 Enhanced the listing output to dump the AML code for resource descriptors 
10976 immediately after the ASL code for each descriptor, instead of in a block 
10977 at 
10978 the end of the entire resource template.
10979
10980 Enhanced the compiler debug output to dump the entire original parse tree 
10981 constructed during the parse phase, before any transforms are applied to 
10982 the 
10983 tree. The transformed tree is dumped also.
10984
10985 ----------------------------------------
10986 02 November 2005. Summary of changes for version 20051102:
10987
10988 1) ACPI CA Core Subsystem:
10989
10990 Modified the subsystem initialization sequence to improve GPE support. 
10991 The 
10992 GPE initialization has been split into two parts in order to defer 
10993 execution 
10994 of the _PRW methods (Power Resources for Wake) until after the hardware 
10995 is 
10996 fully initialized and the SCI handler is installed. This allows the _PRW 
10997 methods to access fields protected by the Global Lock. This will fix 
10998 systems 
10999 where a NO_GLOBAL_LOCK exception has been seen during initialization.
11000
11001 Converted the ACPI internal object disassemble and display code within 
11002 the 
11003 AML debugger to fully table-driven operation, reducing code size and 
11004 increasing maintainability.
11005
11006 Fixed a regression with the ConcatenateResTemplate() ASL operator 
11007 introduced 
11008 in the 20051021 release.
11009
11010 Implemented support for "local" internal ACPI object types within the 
11011 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
11012 These local types include RegionFields, BankFields, IndexFields, Alias, 
11013 and 
11014 reference objects.
11015
11016 Moved common AML resource handling code into a new file, "utresrc.c". 
11017 This 
11018 code is shared by both the Resource Manager and the AML Debugger.
11019
11020 Code and Data Size: The current and previous library sizes for the core 
11021 subsystem are shown below. These are the code and data sizes for the 
11022 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11023 These 
11024 values do not include any ACPI driver or OSPM code. The debug version of 
11025 the 
11026 code includes the debug output trace mechanism and has a much larger code 
11027 and data size. Note that these values will vary depending on the 
11028 efficiency 
11029 of the compiler and the compiler options used during generation.
11030
11031   Previous Release:
11032     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11033     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11034   Current Release:
11035     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
11036     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
11037
11038
11039 2) iASL Compiler/Disassembler:
11040
11041 Fixed a problem with very large initializer lists (more than 4000 
11042 elements) 
11043 for both Buffer and Package objects where the parse stack could overflow.
11044
11045 Enhanced the pre-compile source code scan for non-ASCII characters to 
11046 ignore 
11047 characters within comment fields. The scan is now always performed and is 
11048 no 
11049 longer optional, detecting invalid characters within a source file 
11050 immediately rather than during the parse phase or later.
11051
11052 Enhanced the ASL grammar definition to force early reductions on all 
11053 list-
11054 style grammar elements so that the overall parse stack usage is greatly 
11055 reduced. This should improve performance and reduce the possibility of 
11056 parse 
11057 stack overflow.
11058
11059 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
11060 Also, 
11061 with the addition of a %expected statement, the compiler generates from 
11062 source with no warnings.
11063
11064 Fixed a possible segment fault in the disassembler if the input filename 
11065 does not contain a "dot" extension (Thomas Renninger).
11066
11067 ----------------------------------------
11068 21 October 2005. Summary of changes for version 20051021:
11069
11070 1) ACPI CA Core Subsystem:
11071
11072 Implemented support for the EM64T and other x86-64 processors. This 
11073 essentially entails recognizing that these processors support non-aligned 
11074 memory transfers. Previously, all 64-bit processors were assumed to lack 
11075 hardware support for non-aligned transfers.
11076
11077 Completed conversion of the Resource Manager to nearly full table-driven 
11078 operation. Specifically, the resource conversion code (convert AML to 
11079 internal format and the reverse) and the debug code to dump internal 
11080 resource descriptors are fully table-driven, reducing code and data size 
11081 and 
11082 improving maintainability.
11083
11084 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
11085 word 
11086 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
11087 from 
11088 Alexey Starikovskiy)
11089
11090 Implemented support within the resource conversion code for the Type-
11091 Specific byte within the various ACPI 3.0 *WordSpace macros.
11092
11093 Fixed some issues within the resource conversion code for the type-
11094 specific 
11095 flags for both Memory and I/O address resource descriptors. For Memory, 
11096 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
11097 TTP flags into two separate fields.
11098
11099 Code and Data Size: The current and previous library sizes for the core 
11100 subsystem are shown below. These are the code and data sizes for the 
11101 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11102 These 
11103 values do not include any ACPI driver or OSPM code. The debug version of 
11104 the 
11105 code includes the debug output trace mechanism and has a much larger code 
11106 and data size. Note that these values will vary depending on the 
11107 efficiency 
11108 of the compiler and the compiler options used during generation.
11109
11110   Previous Release:
11111     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11112     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11113   Current Release:
11114     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
11115     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
11116
11117
11118
11119 2) iASL Compiler/Disassembler:
11120
11121 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
11122 the 
11123 corresponding ResourceSource string was not also present in a resource 
11124 descriptor declaration. This restriction caused problems with existing 
11125 AML/ASL code that includes the Index byte without the string. When such 
11126 AML 
11127 was disassembled, it could not be compiled without modification. Further, 
11128 the modified code created a resource template with a different size than 
11129 the 
11130 original, breaking code that used fixed offsets into the resource 
11131 template 
11132 buffer.
11133
11134 Removed a recent feature of the disassembler to ignore a lone 
11135 ResourceIndex 
11136 byte. This byte is now emitted if present so that the exact AML can be 
11137 reproduced when the disassembled code is recompiled.
11138
11139 Improved comments and text alignment for the resource descriptor code 
11140 emitted by the disassembler.
11141
11142 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
11143
11144 Register() resource descriptor.
11145
11146 ----------------------------------------
11147 30 September 2005. Summary of changes for version 20050930:
11148
11149 1) ACPI CA Core Subsystem:
11150
11151 Completed a major overhaul of the Resource Manager code - specifically, 
11152 optimizations in the area of the AML/internal resource conversion code. 
11153 The 
11154 code has been optimized to simplify and eliminate duplicated code, CPU 
11155 stack 
11156 use has been decreased by optimizing function parameters and local 
11157 variables, and naming conventions across the manager have been 
11158 standardized 
11159 for clarity and ease of maintenance (this includes function, parameter, 
11160 variable, and struct/typedef names.) The update may force changes in some 
11161 driver code, depending on how resources are handled by the host OS.
11162
11163 All Resource Manager dispatch and information tables have been moved to a 
11164 single location for clarity and ease of maintenance. One new file was 
11165 created, named "rsinfo.c".
11166
11167 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
11168 guarantee that the argument is not evaluated twice, making them less 
11169 prone 
11170 to macro side-effects. However, since there exists the possibility of 
11171 additional stack use if a particular compiler cannot optimize them (such 
11172 as 
11173 in the debug generation case), the original macros are optionally 
11174 available.  
11175 Note that some invocations of the return_VALUE macro may now cause size 
11176 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
11177 to 
11178 eliminate these. (From Randy Dunlap)
11179
11180 Implemented a new mechanism to enable debug tracing for individual 
11181 control 
11182 methods. A new external interface, AcpiDebugTrace, is provided to enable 
11183 this mechanism. The intent is to allow the host OS to easily enable and 
11184 disable tracing for problematic control methods. This interface can be 
11185 easily exposed to a user or debugger interface if desired. See the file 
11186 psxface.c for details.
11187
11188 AcpiUtCallocate will now return a valid pointer if a length of zero is 
11189 specified - a length of one is used and a warning is issued. This matches 
11190 the behavior of AcpiUtAllocate.
11191
11192 Code and Data Size: The current and previous library sizes for the core 
11193 subsystem are shown below. These are the code and data sizes for the 
11194 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11195 These 
11196 values do not include any ACPI driver or OSPM code. The debug version of 
11197 the 
11198 code includes the debug output trace mechanism and has a much larger code 
11199 and data size. Note that these values will vary depending on the 
11200 efficiency 
11201 of the compiler and the compiler options used during generation.
11202
11203   Previous Release:
11204     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11205     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11206   Current Release:
11207     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
11208     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
11209
11210
11211 2) iASL Compiler/Disassembler:
11212
11213 A remark is issued if the effective compile-time length of a package or 
11214 buffer is zero. Previously, this was a warning.
11215
11216 ----------------------------------------
11217 16 September 2005. Summary of changes for version 20050916:
11218
11219 1) ACPI CA Core Subsystem:
11220
11221 Fixed a problem within the Resource Manager where support for the Generic 
11222 Register descriptor was not fully implemented. This descriptor is now 
11223 fully 
11224 recognized, parsed, disassembled, and displayed.
11225
11226 Completely restructured the Resource Manager code to utilize table-driven 
11227 dispatch and lookup, eliminating many of the large switch() statements. 
11228 This 
11229 reduces overall subsystem code size and code complexity. Affects the 
11230 resource parsing and construction, disassembly, and debug dump output.
11231
11232 Cleaned up and restructured the debug dump output for all resource 
11233 descriptors. Improved readability of the output and reduced code size.
11234
11235 Fixed a problem where changes to internal data structures caused the 
11236 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
11237
11238 Code and Data Size: The current and previous library sizes for the core 
11239 subsystem are shown below. These are the code and data sizes for the 
11240 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
11241 These 
11242 values do not include any ACPI driver or OSPM code. The debug version of 
11243 the 
11244 code includes the debug output trace mechanism and has a much larger code 
11245 and data size. Note that these values will vary depending on the 
11246 efficiency 
11247 of the compiler and the compiler options used during generation.
11248
11249   Previous Release:
11250     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11251     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11252   Current Release:
11253     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11254     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11255
11256
11257 2) iASL Compiler/Disassembler:
11258
11259 Updated the disassembler to automatically insert an EndDependentFn() 
11260 macro 
11261 into the ASL stream if this macro is missing in the original AML code, 
11262 simplifying compilation of the resulting ASL module.
11263
11264 Fixed a problem in the disassembler where a disassembled ResourceSource 
11265 string (within a large resource descriptor) was not surrounded by quotes 
11266 and 
11267 not followed by a comma, causing errors when the resulting ASL module was 
11268 compiled. Also, escape sequences within a ResourceSource string are now 
11269 handled correctly (especially "\\")
11270
11271 ----------------------------------------
11272 02 September 2005. Summary of changes for version 20050902:
11273
11274 1) ACPI CA Core Subsystem:
11275
11276 Fixed a problem with the internal Owner ID allocation and deallocation 
11277 mechanisms for control method execution and recursive method invocation. 
11278 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
11279 messages seen on some systems. Recursive method invocation depth is 
11280 currently limited to 255. (Alexey Starikovskiy)
11281
11282 Completely eliminated all vestiges of support for the "module-level 
11283 executable code" until this support is fully implemented and debugged. 
11284 This 
11285 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
11286 some systems that invoke this support.
11287
11288 Fixed a problem within the resource manager code where the transaction 
11289 flags 
11290 for a 64-bit address descriptor were handled incorrectly in the type-
11291 specific flag byte.
11292
11293 Consolidated duplicate code within the address descriptor resource 
11294 manager 
11295 code, reducing overall subsystem code size.
11296
11297 Fixed a fault when using the AML debugger "disassemble" command to 
11298 disassemble individual control methods.
11299
11300 Removed references to the "release_current" directory within the Unix 
11301 release package.
11302
11303 Code and Data Size: The current and previous core subsystem library sizes 
11304 are shown below. These are the code and data sizes for the acpica.lib 
11305 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
11306 include any ACPI driver or OSPM code. The debug version of the code 
11307 includes 
11308 the debug output trace mechanism and has a much larger code and data 
11309 size. 
11310 Note that these values will vary depending on the efficiency of the 
11311 compiler 
11312 and the compiler options used during generation.
11313
11314   Previous Release:
11315     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11316     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11317   Current Release:
11318     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11319     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11320
11321
11322 2) iASL Compiler/Disassembler:
11323
11324 Implemented an error check for illegal duplicate values in the interrupt 
11325 and 
11326 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
11327 Interrupt().
11328
11329 Implemented error checking for the Irq() and IrqNoFlags() macros to 
11330 detect 
11331 too many values in the interrupt list (16 max) and invalid values in the 
11332 list (range 0 - 15)
11333
11334 The maximum length string literal within an ASL file is now restricted to 
11335 200 characters as per the ACPI specification.
11336
11337 Fixed a fault when using the -ln option (generate namespace listing).
11338
11339 Implemented an error check to determine if a DescriptorName within a 
11340 resource descriptor has already been used within the current scope.
11341
11342 ----------------------------------------
11343 15 August 2005.  Summary of changes for version 20050815:
11344  
11345 1) ACPI CA Core Subsystem:
11346  
11347 Implemented a full bytewise compare to determine if a table load request 
11348 is 
11349 attempting to load a duplicate table. The compare is performed if the 
11350 table 
11351 signatures and table lengths match. This will allow different tables with 
11352 the same OEM Table ID and revision to be loaded - probably against the 
11353 ACPI 
11354 specification, but discovered in the field nonetheless.
11355  
11356 Added the changes.txt logfile to each of the zipped release packages.
11357  
11358 Code and Data Size: Current and previous core subsystem library sizes are 
11359 shown below. These are the code and data sizes for the acpica.lib 
11360 produced 
11361 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11362 any ACPI driver or OSPM code. The debug version of the code includes the 
11363 debug output trace mechanism and has a much larger code and data size. 
11364 Note 
11365 that these values will vary depending on the efficiency of the compiler 
11366 and 
11367 the compiler options used during generation.
11368  
11369   Previous Release:
11370     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11371     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11372   Current Release:
11373     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11374     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11375  
11376  
11377 2) iASL Compiler/Disassembler:
11378  
11379 Fixed a problem where incorrect AML code could be generated for Package 
11380 objects if optimization is disabled (via the -oa switch).
11381  
11382 Fixed a problem with where incorrect AML code is generated for variable-
11383 length packages when the package length is not specified and the number 
11384 of 
11385 initializer values is greater than 255.
11386  
11387
11388 ----------------------------------------
11389 29 July 2005.  Summary of changes for version 20050729:
11390
11391 1) ACPI CA Core Subsystem:
11392
11393 Implemented support to ignore an attempt to install/load a particular 
11394 ACPI 
11395 table more than once. Apparently there exists BIOS code that repeatedly 
11396 attempts to load the same SSDT upon certain events. With assistance from 
11397 Venkatesh Pallipadi.
11398
11399 Restructured the main interface to the AML parser in order to correctly 
11400 handle all exceptional conditions. This will prevent leakage of the 
11401 OwnerId 
11402 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
11403 some 
11404 machines. With assistance from Alexey Starikovskiy.
11405
11406 Support for "module level code" has been disabled in this version due to 
11407
11408 number of issues that have appeared on various machines. The support can 
11409 be 
11410 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
11411 compilation. When the issues are fully resolved, the code will be enabled 
11412 by 
11413 default again.
11414
11415 Modified the internal functions for debug print support to define the 
11416 FunctionName parameter as a (const char *) for compatibility with 
11417 compiler 
11418 built-in macros such as __FUNCTION__, etc.
11419
11420 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
11421
11422 Implemented support to display an object count summary for the AML 
11423 Debugger 
11424 commands Object and Methods.
11425
11426 Code and Data Size: Current and previous core subsystem library sizes are 
11427 shown below. These are the code and data sizes for the acpica.lib 
11428 produced 
11429 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11430 any ACPI driver or OSPM code. The debug version of the code includes the 
11431 debug output trace mechanism and has a much larger code and data size. 
11432 Note 
11433 that these values will vary depending on the efficiency of the compiler 
11434 and 
11435 the compiler options used during generation.
11436
11437   Previous Release:
11438     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11439     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11440   Current Release:
11441     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11442     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11443
11444
11445 2) iASL Compiler/Disassembler:
11446
11447 Fixed a regression that appeared in the 20050708 version of the compiler 
11448 where an error message was inadvertently emitted for invocations of the 
11449 _OSI 
11450 reserved control method.
11451
11452 ----------------------------------------
11453 08 July 2005.  Summary of changes for version 20050708:
11454
11455 1) ACPI CA Core Subsystem:
11456
11457 The use of the CPU stack in the debug version of the subsystem has been 
11458 considerably reduced. Previously, a debug structure was declared in every 
11459 function that used the debug macros. This structure has been removed in 
11460 favor of declaring the individual elements as parameters to the debug 
11461 functions. This reduces the cumulative stack use during nested execution 
11462 of 
11463 ACPI function calls at the cost of a small increase in the code size of 
11464 the 
11465 debug version of the subsystem. With assistance from Alexey Starikovskiy 
11466 and 
11467 Len Brown.
11468
11469 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
11470 headers to define a macro that will return the current function name at 
11471 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
11472 by 
11473 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
11474 compiler-dependent header, the function name is saved on the CPU stack 
11475 (one 
11476 pointer per function.) This mechanism is used because apparently there 
11477 exists no standard ANSI-C defined macro that that returns the function 
11478 name.
11479
11480 Redesigned and reimplemented the "Owner ID" mechanism used to track 
11481 namespace objects created/deleted by ACPI tables and control method 
11482 execution. A bitmap is now used to allocate and free the IDs, thus 
11483 solving 
11484 the wraparound problem present in the previous implementation. The size 
11485 of 
11486 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
11487 Starikovskiy).
11488
11489 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
11490 bitfield 
11491 flag definitions within the headers for the predefined ACPI tables. These 
11492 have been replaced by UINT8_BIT in order to increase the code portability 
11493 of 
11494 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
11495 eliminate bitfields entirely because of a lack of portability.
11496
11497 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
11498 This 
11499 is a frequently used function and this improvement increases the 
11500 performance 
11501 of the entire subsystem (Alexey Starikovskiy).
11502
11503 Fixed several possible memory leaks and the inverse - premature object 
11504 deletion (Alexey Starikovskiy).
11505
11506 Code and Data Size: Current and previous core subsystem library sizes are 
11507 shown below. These are the code and data sizes for the acpica.lib 
11508 produced 
11509 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11510 any ACPI driver or OSPM code. The debug version of the code includes the 
11511 debug output trace mechanism and has a much larger code and data size. 
11512 Note 
11513 that these values will vary depending on the efficiency of the compiler 
11514 and 
11515 the compiler options used during generation.
11516
11517   Previous Release:
11518     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11519     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11520   Current Release:
11521     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11522     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11523
11524 ----------------------------------------
11525 24 June 2005.  Summary of changes for version 20050624:
11526
11527 1) ACPI CA Core Subsystem:
11528
11529 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
11530 the host-defined cache object. This allows the OSL implementation to 
11531 define 
11532 and type this object in any manner desired, simplifying the OSL 
11533 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
11534 Linux, and should be defined in the OS-specific header file for other 
11535 operating systems as required.
11536
11537 Changed the interface to AcpiOsAcquireObject to directly return the 
11538 requested object as the function return (instead of ACPI_STATUS.) This 
11539 change was made for performance reasons, since this is the purpose of the 
11540 interface in the first place. AcpiOsAcquireObject is now similar to the 
11541 AcpiOsAllocate interface.
11542
11543 Implemented a new AML debugger command named Businfo. This command 
11544 displays 
11545 information about all devices that have an associate _PRT object. The 
11546 _ADR, 
11547 _HID, _UID, and _CID are displayed for these devices.
11548
11549 Modified the initialization sequence in AcpiInitializeSubsystem to call 
11550 the 
11551 OSL interface AcpiOslInitialize first, before any local initialization. 
11552 This 
11553 change was required because the global initialization now calls OSL 
11554 interfaces.
11555
11556 Enhanced the Dump command to display the entire contents of Package 
11557 objects 
11558 (including all sub-objects and their values.) 
11559
11560 Restructured the code base to split some files because of size and/or 
11561 because the code logically belonged in a separate file. New files are 
11562 listed 
11563 below. All makefiles and project files included in the ACPI CA release 
11564 have 
11565 been updated.
11566     utilities/utcache.c           /* Local cache interfaces */
11567     utilities/utmutex.c           /* Local mutex support */
11568     utilities/utstate.c           /* State object support */
11569     interpreter/parser/psloop.c   /* Main AML parse loop */
11570
11571 Code and Data Size: Current and previous core subsystem library sizes are 
11572 shown below. These are the code and data sizes for the acpica.lib 
11573 produced 
11574 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11575 any ACPI driver or OSPM code. The debug version of the code includes the 
11576 debug output trace mechanism and has a much larger code and data size. 
11577 Note 
11578 that these values will vary depending on the efficiency of the compiler 
11579 and 
11580 the compiler options used during generation.
11581
11582   Previous Release:
11583     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11584     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11585   Current Release:
11586     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11587     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11588
11589
11590 2) iASL Compiler/Disassembler:
11591
11592 Fixed a regression introduced in version 20050513 where the use of a 
11593 Package 
11594 object within a Case() statement caused a compile time exception. The 
11595 original behavior has been restored (a Match() operator is emitted.)
11596
11597 ----------------------------------------
11598 17 June 2005.  Summary of changes for version 20050617:
11599
11600 1) ACPI CA Core Subsystem:
11601
11602 Moved the object cache operations into the OS interface layer (OSL) to 
11603 allow 
11604 the host OS to handle these operations if desired (for example, the Linux 
11605 OSL will invoke the slab allocator). This support is optional; the 
11606 compile 
11607 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
11608 cache 
11609 code in the ACPI CA core. The new OSL interfaces are shown below. See 
11610 utalloc.c for an example implementation, and acpiosxf.h for the exact 
11611 interface definitions. With assistance from Alexey Starikovskiy.
11612     AcpiOsCreateCache
11613     AcpiOsDeleteCache
11614     AcpiOsPurgeCache
11615     AcpiOsAcquireObject
11616     AcpiOsReleaseObject
11617
11618 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
11619 return 
11620 and restore a flags parameter. This fits better with many OS lock models. 
11621 Note: the current execution state (interrupt handler or not) is no longer 
11622 passed to these interfaces. If necessary, the OSL must determine this 
11623 state 
11624 by itself, a simple and fast operation. With assistance from Alexey 
11625 Starikovskiy.
11626
11627 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
11628 present if the revision of the RSDP was 2 or greater. According to the 
11629 ACPI 
11630 specification, the XSDT is optional in all cases, and the table manager 
11631 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
11632 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
11633 contain 
11634 only the RSDT.
11635
11636 Fixed an interpreter problem with the Mid() operator in the case of an 
11637 input 
11638 string where the resulting output string is of zero length. It now 
11639 correctly 
11640 returns a valid, null terminated string object instead of a string object 
11641 with a null pointer.
11642
11643 Fixed a problem with the control method argument handling to allow a 
11644 store 
11645 to an Arg object that already contains an object of type Device. The 
11646 Device 
11647 object is now correctly overwritten. Previously, an error was returned.
11648
11649
11650 Enhanced the debugger Find command to emit object values in addition to 
11651 the 
11652 found object pathnames. The output format is the same as the dump 
11653 namespace 
11654 command.
11655
11656 Enhanced the debugger Set command. It now has the ability to set the 
11657 value 
11658 of any Named integer object in the namespace (Previously, only method 
11659 locals 
11660 and args could be set.)
11661
11662 Code and Data Size: Current and previous core subsystem library sizes are 
11663 shown below. These are the code and data sizes for the acpica.lib 
11664 produced 
11665 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11666 any ACPI driver or OSPM code. The debug version of the code includes the 
11667 debug output trace mechanism and has a much larger code and data size. 
11668 Note 
11669 that these values will vary depending on the efficiency of the compiler 
11670 and 
11671 the compiler options used during generation.
11672
11673   Previous Release:
11674     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11675     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11676   Current Release:
11677     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11678     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11679
11680
11681 2) iASL Compiler/Disassembler:
11682
11683 Fixed a regression in the disassembler where if/else/while constructs 
11684 were 
11685 output incorrectly. This problem was introduced in the previous release 
11686 (20050526). This problem also affected the single-step disassembly in the 
11687 debugger.
11688
11689 Fixed a problem where compiling the reserved _OSI method would randomly 
11690 (but 
11691 rarely) produce compile errors.
11692
11693 Enhanced the disassembler to emit compilable code in the face of 
11694 incorrect 
11695 AML resource descriptors. If the optional ResourceSourceIndex is present, 
11696 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
11697 disassembly. Otherwise, the resulting code cannot be compiled without 
11698 errors.
11699
11700 ----------------------------------------
11701 26 May 2005.  Summary of changes for version 20050526:
11702
11703 1) ACPI CA Core Subsystem:
11704
11705 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
11706 the module level (not within a control method.) These opcodes are 
11707 executed 
11708 exactly once at the time the table is loaded. This type of code was legal 
11709 up 
11710 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
11711 in 
11712 order to provide backwards compatibility with earlier BIOS 
11713 implementations. 
11714 This eliminates the "Encountered executable code at module level" warning 
11715 that was previously generated upon detection of such code.
11716
11717 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
11718 inadvertently be generated during the lookup of namespace objects in the 
11719 second pass parse of ACPI tables and control methods. It appears that 
11720 this 
11721 problem could occur during the resolution of forward references to 
11722 namespace 
11723 objects.
11724
11725 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
11726 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
11727 allows the deadlock detection debug code to be compiled out in the normal 
11728 case, improving mutex performance (and overall subsystem performance) 
11729 considerably.
11730
11731 Implemented a handful of miscellaneous fixes for possible memory leaks on 
11732 error conditions and error handling control paths. These fixes were 
11733 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
11734
11735 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
11736 (tbxfroot.c) 
11737 to prevent a fault in this error case.
11738
11739 Code and Data Size: Current and previous core subsystem library sizes are 
11740 shown below. These are the code and data sizes for the acpica.lib 
11741 produced 
11742 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11743 any ACPI driver or OSPM code. The debug version of the code includes the 
11744 debug output trace mechanism and has a much larger code and data size. 
11745 Note 
11746 that these values will vary depending on the efficiency of the compiler 
11747 and 
11748 the compiler options used during generation.
11749
11750   Previous Release:
11751     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11752     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11753   Current Release:
11754     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11755     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11756
11757
11758 2) iASL Compiler/Disassembler:
11759
11760 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
11761 the module level (not within a control method.) These operators will be 
11762 executed once at the time the table is loaded. This type of code was 
11763 legal 
11764 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
11765 compiler in order to provide backwards compatibility with earlier BIOS 
11766 ASL 
11767 code.
11768
11769 The ACPI integer width (specified via the table revision ID or the -r 
11770 override, 32 or 64 bits) is now used internally during compile-time 
11771 constant 
11772 folding to ensure that constants are truncated to 32 bits if necessary. 
11773 Previously, the revision ID value was only emitted in the AML table 
11774 header.
11775
11776 An error message is now generated for the Mutex and Method operators if 
11777 the 
11778 SyncLevel parameter is outside the legal range of 0 through 15.
11779
11780 Fixed a problem with the Method operator ParameterTypes list handling 
11781 (ACPI 
11782 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
11783 error.  
11784 The actual underlying implementation of method argument typechecking is 
11785 still under development, however.
11786
11787 ----------------------------------------
11788 13 May 2005.  Summary of changes for version 20050513:
11789
11790 1) ACPI CA Core Subsystem:
11791
11792 Implemented support for PCI Express root bridges -- added support for 
11793 device 
11794 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
11795
11796 The interpreter now automatically truncates incoming 64-bit constants to 
11797 32 
11798 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
11799 This 
11800 also affects the iASL compiler constant folding. (Note: as per below, the 
11801 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
11802
11803 Fixed a problem where string and buffer objects with "static" pointers 
11804 (pointers to initialization data within an ACPI table) were not handled 
11805 consistently. The internal object copy operation now always copies the 
11806 data 
11807 to a newly allocated buffer, regardless of whether the source object is 
11808 static or not.
11809
11810 Fixed a problem with the FromBCD operator where an implicit result 
11811 conversion was improperly performed while storing the result to the 
11812 target 
11813 operand. Since this is an "explicit conversion" operator, the implicit 
11814 conversion should never be performed on the output.
11815
11816 Fixed a problem with the CopyObject operator where a copy to an existing 
11817 named object did not always completely overwrite the existing object 
11818 stored 
11819 at name. Specifically, a buffer-to-buffer copy did not delete the 
11820 existing 
11821 buffer.
11822
11823 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
11824 and 
11825 structs for consistency.
11826
11827 Code and Data Size: Current and previous core subsystem library sizes are 
11828 shown below. These are the code and data sizes for the acpica.lib 
11829 produced 
11830 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11831 any ACPI driver or OSPM code. The debug version of the code includes the 
11832 debug output trace mechanism and has a much larger code and data size. 
11833 Note 
11834 that these values will vary depending on the efficiency of the compiler 
11835 and 
11836 the compiler options used during generation.
11837
11838   Previous Release:
11839     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11840     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11841   Current Release: (Same sizes)
11842     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11843     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11844
11845
11846 2) iASL Compiler/Disassembler:
11847
11848 The compiler now emits a warning if an attempt is made to generate a 64-
11849 bit 
11850 integer constant from within a 32-bit ACPI table (Revision < 2). The 
11851 integer 
11852 is truncated to 32 bits.
11853
11854 Fixed a problem with large package objects: if the static length of the 
11855 package is greater than 255, the "variable length package" opcode is 
11856 emitted. Previously, this caused an error. This requires an update to the 
11857 ACPI spec, since it currently (incorrectly) states that packages larger 
11858 than 
11859 255 elements are not allowed.
11860
11861 The disassembler now correctly handles variable length packages and 
11862 packages 
11863 larger than 255 elements.
11864
11865 ----------------------------------------
11866 08 April 2005.  Summary of changes for version 20050408:
11867
11868 1) ACPI CA Core Subsystem:
11869
11870 Fixed three cases in the interpreter where an "index" argument to an ASL 
11871 function was still (internally) 32 bits instead of the required 64 bits. 
11872 This was the Index argument to the Index, Mid, and Match operators.
11873
11874 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
11875 is 
11876 not a POSIX-defined function and not present in most kernel-level C 
11877 libraries. All references to the C library strupr function have been 
11878 removed 
11879 from the headers.
11880
11881 Completed the deployment of static functions/prototypes. All prototypes 
11882 with 
11883 the static attribute have been moved from the headers to the owning C 
11884 file.
11885
11886 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
11887 utility). This option allows the utility to extract individual ACPI 
11888 tables 
11889 from the output of AcpiDmp. It provides the same functionality of the 
11890 acpixtract.pl perl script without the worry of setting the correct perl 
11891 options. AcpiBin runs on Windows and has not yet been generated/validated 
11892 in 
11893 the Linux/Unix environment (but should be soon).
11894  
11895 Updated and fixed the table dump option for AcpiBin (-d). This option 
11896 converts a single ACPI table to a hex/ascii file, similar to the output 
11897 of 
11898 AcpiDmp.
11899
11900 Code and Data Size: Current and previous core subsystem library sizes are 
11901 shown below. These are the code and data sizes for the acpica.lib 
11902 produced 
11903 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11904 any ACPI driver or OSPM code. The debug version of the code includes the 
11905 debug output trace mechanism and has a much larger code and data size. 
11906 Note 
11907 that these values will vary depending on the efficiency of the compiler 
11908 and 
11909 the compiler options used during generation.
11910
11911   Previous Release:
11912     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11913     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11914   Current Release:
11915     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11916     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11917
11918
11919 2) iASL Compiler/Disassembler:
11920
11921 Disassembler fix: Added a check to ensure that the table length found in 
11922 the 
11923 ACPI table header within the input file is not longer than the actual 
11924 input 
11925 file size. This indicates some kind of file or table corruption.
11926
11927 ----------------------------------------
11928 29 March 2005.  Summary of changes for version 20050329:
11929
11930 1) ACPI CA Core Subsystem:
11931
11932 An error is now generated if an attempt is made to create a Buffer Field 
11933 of 
11934 length zero (A CreateField with a length operand of zero.)
11935
11936 The interpreter now issues a warning whenever executable code at the 
11937 module 
11938 level is detected during ACPI table load. This will give some idea of the 
11939 prevalence of this type of code.
11940
11941 Implemented support for references to named objects (other than control 
11942 methods) within package objects.
11943
11944 Enhanced package object output for the debug object. Package objects are 
11945 now 
11946 completely dumped, showing all elements.
11947
11948 Enhanced miscellaneous object output for the debug object. Any object can 
11949 now be written to the debug object (for example, a device object can be 
11950 written, and the type of the object will be displayed.)
11951
11952 The "static" qualifier has been added to all local functions across both 
11953 the 
11954 core subsystem and the iASL compiler.
11955
11956 The number of "long" lines (> 80 chars) within the source has been 
11957 significantly reduced, by about 1/3.
11958
11959 Cleaned up all header files to ensure that all CA/iASL functions are 
11960 prototyped (even static functions) and the formatting is consistent.
11961
11962 Two new header files have been added, acopcode.h and acnames.h.
11963
11964 Removed several obsolete functions that were no longer used.
11965
11966 Code and Data Size: Current and previous core subsystem library sizes are 
11967 shown below. These are the code and data sizes for the acpica.lib 
11968 produced 
11969 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11970 any ACPI driver or OSPM code. The debug version of the code includes the 
11971 debug output trace mechanism and has a much larger code and data size. 
11972 Note 
11973 that these values will vary depending on the efficiency of the compiler 
11974 and 
11975 the compiler options used during generation.
11976
11977   Previous Release:
11978     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11979     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
11980   Current Release:
11981     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11982     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11983
11984
11985
11986 2) iASL Compiler/Disassembler:
11987
11988 Fixed a problem with the resource descriptor generation/support. For the 
11989 ResourceSourceIndex and the ResourceSource fields, both must be present, 
11990 or 
11991 both must be not present - can't have one without the other.
11992
11993 The compiler now returns non-zero from the main procedure if any errors 
11994 have 
11995 occurred during the compilation.
11996
11997
11998 ----------------------------------------
11999 09 March 2005.  Summary of changes for version 20050309:
12000
12001 1) ACPI CA Core Subsystem:
12002
12003 The string-to-buffer implicit conversion code has been modified again 
12004 after 
12005 a change to the ACPI specification.  In order to match the behavior of 
12006 the 
12007 other major ACPI implementation, the target buffer is no longer truncated 
12008 if 
12009 the source string is smaller than an existing target buffer. This change 
12010 requires an update to the ACPI spec, and should eliminate the recent 
12011 AE_AML_BUFFER_LIMIT issues.
12012
12013 The "implicit return" support was rewritten to a new algorithm that 
12014 solves 
12015 the general case. Rather than attempt to determine when a method is about 
12016 to 
12017 exit, the result of every ASL operator is saved momentarily until the 
12018 very 
12019 next ASL operator is executed. Therefore, no matter how the method exits, 
12020 there will always be a saved implicit return value. This feature is only 
12021 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
12022 eliminate 
12023 AE_AML_NO_RETURN_VALUE errors when enabled.
12024
12025 Implemented implicit conversion support for the predicate (operand) of 
12026 the 
12027 If, Else, and While operators. String and Buffer arguments are 
12028 automatically 
12029 converted to Integers.
12030
12031 Changed the string-to-integer conversion behavior to match the new ACPI 
12032 errata: "If no integer object exists, a new integer is created. The ASCII 
12033 string is interpreted as a hexadecimal constant. Each string character is 
12034 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
12035 with the first character as the most significant digit, and ending with 
12036 the 
12037 first non-hexadecimal character or end-of-string." This means that the 
12038 first 
12039 non-hex character terminates the conversion and this is the code that was 
12040 changed.
12041
12042 Fixed a problem where the ObjectType operator would fail (fault) when 
12043 used 
12044 on an Index of a Package which pointed to a null package element. The 
12045 operator now properly returns zero (Uninitialized) in this case.
12046
12047 Fixed a problem where the While operator used excessive memory by not 
12048 properly popping the result stack during execution. There was no memory 
12049 leak 
12050 after execution, however. (Code provided by Valery Podrezov.)
12051
12052 Fixed a problem where references to control methods within Package 
12053 objects 
12054 caused the method to be invoked, instead of producing a reference object 
12055 pointing to the method.
12056
12057 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
12058 to 
12059 improve performance and reduce code size. (Code provided by Alexey 
12060 Starikovskiy.)
12061
12062 Code and Data Size: Current and previous core subsystem library sizes are 
12063 shown below. These are the code and data sizes for the acpica.lib 
12064 produced 
12065 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12066 any ACPI driver or OSPM code. The debug version of the code includes the 
12067 debug output trace mechanism and has a much larger code and data size. 
12068 Note 
12069 that these values will vary depending on the efficiency of the compiler 
12070 and 
12071 the compiler options used during generation.
12072
12073   Previous Release:
12074     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12075     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12076   Current Release:
12077     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12078     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
12079
12080
12081 2) iASL Compiler/Disassembler:
12082
12083 Fixed a problem with the Return operator with no arguments. Since the AML 
12084 grammar for the byte encoding requires an operand for the Return opcode, 
12085 the 
12086 compiler now emits a Return(Zero) for this case.  An ACPI specification 
12087 update has been written for this case.
12088
12089 For tables other than the DSDT, namepath optimization is automatically 
12090 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
12091 the 
12092 compiler has no knowledge of where, and thus cannot optimize namepaths.
12093
12094 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
12095 inadvertently omitted from the ACPI specification, and will require an 
12096 update to the spec.
12097
12098 The source file scan for ASCII characters is now optional (-a). This 
12099 change 
12100 was made because some vendors place non-ascii characters within comments. 
12101 However, the scan is simply a brute-force byte compare to ensure all 
12102 characters in the file are in the range 0x00 to 0x7F.
12103
12104 Fixed a problem with the CondRefOf operator where the compiler was 
12105 inappropriately checking for the existence of the target. Since the point 
12106 of 
12107 the operator is to check for the existence of the target at run-time, the 
12108 compiler no longer checks for the target existence.
12109
12110 Fixed a problem where errors generated from the internal AML interpreter 
12111 during constant folding were not handled properly, causing a fault.
12112
12113 Fixed a problem with overly aggressive range checking for the Stall 
12114 operator. The valid range (max 255) is now only checked if the operand is 
12115 of 
12116 type Integer. All other operand types cannot be statically checked.
12117
12118 Fixed a problem where control method references within the RefOf, 
12119 DeRefOf, 
12120 and ObjectType operators were not treated properly. They are now treated 
12121 as 
12122 actual references, not method invocations.
12123
12124 Fixed and enhanced the "list namespace" option (-ln). This option was 
12125 broken 
12126 a number of releases ago.
12127
12128 Improved error handling for the Field, IndexField, and BankField 
12129 operators. 
12130 The compiler now cleanly reports and recovers from errors in the field 
12131 component (FieldUnit) list.
12132
12133 Fixed a disassembler problem where the optional ResourceDescriptor fields 
12134 TRS and TTP were not always handled correctly.
12135
12136 Disassembler - Comments in output now use "//" instead of "/*"
12137
12138 ----------------------------------------
12139 28 February 2005.  Summary of changes for version 20050228:
12140
12141 1) ACPI CA Core Subsystem:
12142
12143 Fixed a problem where the result of an Index() operator (an object 
12144 reference) must increment the reference count on the target object for 
12145 the 
12146 life of the object reference.
12147
12148 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
12149 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
12150 WordSpace 
12151 resource descriptors.
12152
12153 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
12154 Space Descriptor" string, indicating interpreter support for the 
12155 descriptors 
12156 above.
12157
12158 Implemented header support for the new ACPI 3.0 FADT flag bits.
12159
12160 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
12161 PM1 
12162 status/enable registers.
12163
12164 Updated header support for the MADT processor local Apic struct and MADT 
12165 platform interrupt source struct for new ACPI 3.0 fields.
12166
12167 Implemented header support for the SRAT and SLIT ACPI tables.
12168
12169 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
12170 flag 
12171 at runtime.
12172
12173 Code and Data Size: Current and previous core subsystem library sizes are 
12174 shown below. These are the code and data sizes for the acpica.lib 
12175 produced 
12176 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12177 any ACPI driver or OSPM code. The debug version of the code includes the 
12178 debug output trace mechanism and has a much larger code and data size. 
12179 Note 
12180 that these values will vary depending on the efficiency of the compiler 
12181 and 
12182 the compiler options used during generation.
12183
12184   Previous Release:
12185     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12186     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12187   Current Release:
12188     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
12189     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
12190
12191
12192 2) iASL Compiler/Disassembler:
12193
12194 Fixed a problem with the internal 64-bit String-to-integer conversion 
12195 with 
12196 strings less than two characters long.
12197
12198 Fixed a problem with constant folding where the result of the Index() 
12199 operator can not be considered a constant. This means that Index() cannot 
12200 be 
12201 a type3 opcode and this will require an update to the ACPI specification.
12202
12203 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
12204 descriptor fields. These fields were inadvertently ignored and not output 
12205 in 
12206 the disassembly of the resource descriptor.
12207
12208
12209  ----------------------------------------
12210 11 February 2005.  Summary of changes for version 20050211:
12211
12212 1) ACPI CA Core Subsystem:
12213
12214 Implemented ACPI 3.0 support for implicit conversion within the Match() 
12215 operator. MatchObjects can now be of type integer, buffer, or string 
12216 instead 
12217 of just type integer.  Package elements are implicitly converted to the 
12218 type 
12219 of the MatchObject. This change aligns the behavior of Match() with the 
12220 behavior of the other logical operators (LLess(), etc.) It also requires 
12221 an 
12222 errata change to the ACPI specification as this support was intended for 
12223 ACPI 3.0, but was inadvertently omitted.
12224
12225 Fixed a problem with the internal implicit "to buffer" conversion. 
12226 Strings 
12227 that are converted to buffers will cause buffer truncation if the string 
12228 is 
12229 smaller than the target buffer. Integers that are converted to buffers 
12230 will 
12231 not cause buffer truncation, only zero extension (both as per the ACPI 
12232 spec.) The problem was introduced when code was added to truncate the 
12233 buffer, but this should not be performed in all cases, only the string 
12234 case.
12235
12236 Fixed a problem with the Buffer and Package operators where the 
12237 interpreter 
12238 would get confused if two such operators were used as operands to an ASL 
12239 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
12240 stack was not being popped after the execution of these operators, 
12241 resulting 
12242 in an AE_NO_RETURN_VALUE exception.
12243
12244 Fixed a problem with constructs of the form Store(Index(...),...). The 
12245 reference object returned from Index was inadvertently resolved to an 
12246 actual 
12247 value. This problem was introduced in version 20050114 when the behavior 
12248 of 
12249 Store() was modified to restrict the object types that can be used as the 
12250 source operand (to match the ACPI specification.)
12251
12252 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
12253
12254 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
12255
12256 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
12257
12258 Code and Data Size: Current and previous core subsystem library sizes are 
12259 shown below. These are the code and data sizes for the acpica.lib 
12260 produced 
12261 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12262 any ACPI driver or OSPM code. The debug version of the code includes the 
12263 debug output trace mechanism and has a much larger code and data size. 
12264 Note 
12265 that these values will vary depending on the efficiency of the compiler 
12266 and 
12267 the compiler options used during generation.
12268
12269   Previous Release:
12270     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
12271     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
12272   Current Release:
12273     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12274     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12275
12276
12277 2) iASL Compiler/Disassembler:
12278
12279 Fixed a code generation problem in the constant folding optimization code 
12280 where incorrect code was generated if a constant was reduced to a buffer 
12281 object (i.e., a reduced type 5 opcode.)
12282
12283 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
12284 incorrect return type in the internal opcode information table.
12285
12286 ----------------------------------------
12287 25 January 2005.  Summary of changes for version 20050125:
12288
12289 1) ACPI CA Core Subsystem:
12290
12291 Fixed a recently introduced problem with the Global Lock where the 
12292 underlying semaphore was not created.  This problem was introduced in 
12293 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
12294 Acquire() operation on _GL.
12295
12296 The local object cache is now optional, and is disabled by default. Both 
12297 AcpiExec and the iASL compiler enable the cache because they run in user 
12298 mode and this enhances their performance. #define 
12299 ACPI_ENABLE_OBJECT_CACHE 
12300 to enable the local cache.
12301
12302 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
12303 the 
12304 optional "implicit return" support where an error was returned if no 
12305 return 
12306 object was expected, but one was implicitly returned. AE_OK is now 
12307 returned 
12308 in this case and the implicitly returned object is deleted. 
12309 AcpiUtEvaluateObject is only occasionally used, and only to execute 
12310 reserved 
12311 methods such as _STA and _INI where the return type is known up front.
12312
12313 Fixed a few issues with the internal convert-to-integer code. It now 
12314 returns 
12315 an error if an attempt is made to convert a null string, a string of only 
12316 blanks/tabs, or a zero-length buffer. This affects both implicit 
12317 conversion 
12318 and explicit conversion via the ToInteger() operator.
12319
12320 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
12321 is 
12322 not needed for normal operation and should increase the performance of 
12323 the 
12324 entire subsystem. The code remains in case it is needed for debug 
12325 purposes 
12326 again.
12327
12328 The AcpiExec source and makefile are included in the Unix/Linux package 
12329 for 
12330 the first time.
12331
12332 Code and Data Size: Current and previous core subsystem library sizes are 
12333 shown below. These are the code and data sizes for the acpica.lib 
12334 produced 
12335 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12336 any ACPI driver or OSPM code. The debug version of the code includes the 
12337 debug output trace mechanism and has a much larger code and data size. 
12338 Note 
12339 that these values will vary depending on the efficiency of the compiler 
12340 and 
12341 the compiler options used during generation.
12342
12343   Previous Release:
12344     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12345     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12346   Current Release:
12347     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
12348     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
12349
12350 2) iASL Compiler/Disassembler:
12351
12352 Switch/Case support: A warning is now issued if the type of the Switch 
12353 value 
12354 cannot be determined at compile time. For example, Switch(Arg0) will 
12355 generate the warning, and the type is assumed to be an integer. As per 
12356 the 
12357 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
12358 the 
12359 warning.
12360
12361 Switch/Case support: Implemented support for buffer and string objects as 
12362 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
12363 buffers and strings.
12364
12365 Switch/Case support: The emitted code for the LEqual() comparisons now 
12366 uses 
12367 the switch value as the first operand, not the second. The case value is 
12368 now 
12369 the second operand, and this allows the case value to be implicitly 
12370 converted to the type of the switch value, not the other way around.
12371
12372 Switch/Case support: Temporary variables are now emitted immediately 
12373 within 
12374 the control method, not at the global level. This means that there are 
12375 now 
12376 36 temps available per-method, not 36 temps per-module as was the case 
12377 with 
12378 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
12379
12380 ----------------------------------------
12381 14 January 2005.  Summary of changes for version 20050114:
12382
12383 Added 2005 copyright to all module headers.  This affects every module in 
12384 the core subsystem, iASL compiler, and the utilities.
12385
12386 1) ACPI CA Core Subsystem:
12387
12388 Fixed an issue with the String-to-Buffer conversion code where the string 
12389 null terminator was not included in the buffer after conversion, but 
12390 there 
12391 is existing ASL that assumes the string null terminator is included. This 
12392 is 
12393 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
12394 introduced in the previous version when the code was updated to correctly 
12395 set the converted buffer size as per the ACPI specification. The ACPI 
12396 spec 
12397 is ambiguous and will be updated to specify that the null terminator must 
12398 be 
12399 included in the converted buffer. This also affects the ToBuffer() ASL 
12400 operator.
12401
12402 Fixed a problem with the Mid() ASL/AML operator where it did not work 
12403 correctly on Buffer objects. Newly created sub-buffers were not being 
12404 marked 
12405 as initialized.
12406
12407
12408 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
12409 performed on the OemId and OemTableId table header fields.  These fields 
12410 are 
12411 not null terminated, so strncmp is now used instead of strcmp.
12412
12413 Implemented a restriction on the Store() ASL/AML operator to align the 
12414 behavior with the ACPI specification.  Previously, any object could be 
12415 used 
12416 as the source operand.  Now, the only objects that may be used are 
12417 Integers, 
12418 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
12419 necessary, the original behavior can be restored by enabling the 
12420 EnableInterpreterSlack flag.
12421
12422 Enhanced the optional "implicit return" support to allow an implicit 
12423 return 
12424 value from methods that are invoked externally via the AcpiEvaluateObject 
12425 interface.  This enables implicit returns from the _STA and _INI methods, 
12426 for example.
12427
12428 Changed the Revision() ASL/AML operator to return the current version of 
12429 the 
12430 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
12431 returned 
12432 the supported ACPI version (This is the function of the _REV method).
12433
12434 Updated the _REV predefined method to return the currently supported 
12435 version 
12436 of ACPI, now 3.
12437
12438 Implemented batch mode option for the AcpiExec utility (-b).
12439
12440 Code and Data Size: Current and previous core subsystem library sizes are 
12441 shown below. These are the code and data sizes for the acpica.lib 
12442 produced 
12443 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12444 any ACPI driver or OSPM code. The debug version of the code includes the 
12445 debug output trace mechanism and has a much larger code and data size. 
12446 Note 
12447 that these values will vary depending on the efficiency of the compiler 
12448 and 
12449 the compiler options used during generation.
12450
12451   Previous Release:
12452     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12453     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12454   Current Release:
12455     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12456     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12457
12458 ----------------------------------------
12459 10 December 2004.  Summary of changes for version 20041210:
12460
12461 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
12462 ACPI CA core subsystem.
12463
12464 1) ACPI CA Core Subsystem:
12465
12466 Fixed a problem in the ToDecimalString operator where the resulting 
12467 string 
12468 length was incorrectly calculated. The length is now calculated exactly, 
12469 eliminating incorrect AE_STRING_LIMIT exceptions.
12470
12471 Fixed a problem in the ToHexString operator to allow a maximum 200 
12472 character 
12473 string to be produced.
12474
12475 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
12476 copy 
12477 routine where the length of the resulting buffer was not truncated to the 
12478 new size (if the target buffer already existed).
12479
12480 Code and Data Size: Current and previous core subsystem library sizes are 
12481 shown below. These are the code and data sizes for the acpica.lib 
12482 produced 
12483 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12484 any ACPI driver or OSPM code. The debug version of the code includes the 
12485 debug output trace mechanism and has a much larger code and data size. 
12486 Note 
12487 that these values will vary depending on the efficiency of the compiler 
12488 and 
12489 the compiler options used during generation.
12490
12491   Previous Release:
12492     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12493     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12494   Current Release:
12495     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12496     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12497
12498
12499 2) iASL Compiler/Disassembler:
12500
12501 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
12502 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
12503 Includes support in the disassembler.
12504
12505 Implemented support for the new (ACPI 3.0) parameter to the Register 
12506 macro, 
12507 AccessSize.
12508
12509 Fixed a problem where the _HE resource name for the Interrupt macro was 
12510 referencing bit 0 instead of bit 1.
12511
12512 Implemented check for maximum 255 interrupts in the Interrupt macro.
12513
12514 Fixed a problem with the predefined resource descriptor names where 
12515 incorrect AML code was generated if the offset within the resource buffer 
12516 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
12517 but did not update the surrounding package lengths.
12518
12519 Changes to the Dma macro:  All channels within the channel list must be 
12520 in 
12521 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
12522 optional (default is BusMaster).
12523
12524 Implemented check for maximum 7 data bytes for the VendorShort macro.
12525
12526 The ReadWrite parameter is now optional for the Memory32 and similar 
12527 macros.
12528
12529 ----------------------------------------
12530 03 December 2004.  Summary of changes for version 20041203:
12531
12532 1) ACPI CA Core Subsystem:
12533
12534 The low-level field insertion/extraction code (exfldio) has been 
12535 completely 
12536 rewritten to eliminate unnecessary complexity, bugs, and boundary 
12537 conditions.
12538
12539 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
12540 ToDecimalString 
12541 operators where the input operand could be inadvertently deleted if no 
12542 conversion was necessary (e.g., if the input to ToInteger was an Integer 
12543 object.)
12544
12545 Fixed a problem with the ToDecimalString and ToHexString where an 
12546 incorrect 
12547 exception code was returned if the resulting string would be > 200 chars.  
12548 AE_STRING_LIMIT is now returned.
12549
12550 Fixed a problem with the Concatenate operator where AE_OK was always 
12551 returned, even if the operation failed.
12552
12553 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
12554 semaphores to be allocated.
12555
12556 Code and Data Size: Current and previous core subsystem library sizes are 
12557 shown below. These are the code and data sizes for the acpica.lib 
12558 produced 
12559 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12560 any ACPI driver or OSPM code. The debug version of the code includes the 
12561 debug output trace mechanism and has a much larger code and data size. 
12562 Note 
12563 that these values will vary depending on the efficiency of the compiler 
12564 and 
12565 the compiler options used during generation.
12566
12567   Previous Release:
12568     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12569     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12570   Current Release:
12571     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12572     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12573
12574
12575 2) iASL Compiler/Disassembler:
12576
12577 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
12578 recently introduced in 20041119.
12579
12580 Fixed a problem with the ToUUID macro where the upper nybble of each 
12581 buffer 
12582 byte was inadvertently set to zero.
12583
12584 ----------------------------------------
12585 19 November 2004.  Summary of changes for version 20041119:
12586
12587 1) ACPI CA Core Subsystem:
12588
12589 Fixed a problem in the internal ConvertToInteger routine where new 
12590 integers 
12591 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
12592 converts 
12593 buffers and strings to integers.
12594
12595 Implemented support to store a value to an Index() on a String object. 
12596 This 
12597 is an ACPI 2.0 feature that had not yet been implemented.
12598
12599 Implemented new behavior for storing objects to individual package 
12600 elements 
12601 (via the Index() operator). The previous behavior was to invoke the 
12602 implicit 
12603 conversion rules if an object was already present at the index.  The new 
12604 behavior is to simply delete any existing object and directly store the 
12605 new 
12606 object. Although the ACPI specification seems unclear on this subject, 
12607 other 
12608 ACPI implementations behave in this manner.  (This is the root of the 
12609 AE_BAD_HEX_CONSTANT issue.)
12610
12611 Modified the RSDP memory scan mechanism to support the extended checksum 
12612 for 
12613 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
12614 RSDP signature is found with a valid checksum.
12615
12616 Code and Data Size: Current and previous core subsystem library sizes are 
12617 shown below. These are the code and data sizes for the acpica.lib 
12618 produced 
12619 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12620 any ACPI driver or OSPM code. The debug version of the code includes the 
12621 debug output trace mechanism and has a much larger code and data size. 
12622 Note 
12623 that these values will vary depending on the efficiency of the compiler 
12624 and 
12625 the compiler options used during generation.
12626
12627   Previous Release:
12628     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12629     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12630   Current Release:
12631     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12632     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12633
12634
12635 2) iASL Compiler/Disassembler:
12636
12637 Fixed a missing semicolon in the aslcompiler.y file.
12638
12639 ----------------------------------------
12640 05 November 2004.  Summary of changes for version 20041105:
12641
12642 1) ACPI CA Core Subsystem:
12643
12644 Implemented support for FADT revision 2.  This was an interim table 
12645 (between 
12646 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
12647
12648 Implemented optional support to allow uninitialized LocalX and ArgX 
12649 variables in a control method.  The variables are initialized to an 
12650 Integer 
12651 object with a value of zero.  This support is enabled by setting the 
12652 AcpiGbl_EnableInterpreterSlack flag to TRUE.
12653
12654 Implemented support for Integer objects for the SizeOf operator.  Either 
12655
12656 or 8 is returned, depending on the current integer size (32-bit or 64-
12657 bit, 
12658 depending on the parent table revision).
12659
12660 Fixed a problem in the implementation of the SizeOf and ObjectType 
12661 operators 
12662 where the operand was resolved to a value too early, causing incorrect 
12663 return values for some objects.
12664
12665 Fixed some possible memory leaks during exceptional conditions.
12666
12667 Code and Data Size: Current and previous core subsystem library sizes are 
12668 shown below. These are the code and data sizes for the acpica.lib 
12669 produced 
12670 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12671 any ACPI driver or OSPM code. The debug version of the code includes the 
12672 debug output trace mechanism and has a much larger code and data size. 
12673 Note 
12674 that these values will vary depending on the efficiency of the compiler 
12675 and 
12676 the compiler options used during generation.
12677
12678   Previous Release:
12679     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12680     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12681   Current Release:
12682     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12683     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12684
12685
12686 2) iASL Compiler/Disassembler:
12687
12688 Implemented support for all ACPI 3.0 reserved names and methods.
12689
12690 Implemented all ACPI 3.0 grammar elements in the front-end, including 
12691 support for semicolons.
12692
12693 Implemented the ACPI 3.0 Function() and ToUUID() macros
12694
12695 Fixed a problem in the disassembler where a Scope() operator would not be 
12696 emitted properly if the target of the scope was in another table.
12697
12698 ----------------------------------------
12699 15 October 2004.  Summary of changes for version 20041015:
12700
12701 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
12702 evaluation to test/verify the following areas. Other suggestions are 
12703 welcome. This will result in an increase in the frequency of releases and 
12704 the number of bug fixes in the next few months.
12705   - Functional tests for all ASL/AML operators
12706   - All implicit/explicit type conversions
12707   - Bit fields and operation regions
12708   - 64-bit math support and 32-bit-only "truncated" math support
12709   - Exceptional conditions, both compiler and interpreter
12710   - Dynamic object deletion and memory leaks
12711   - ACPI 3.0 support when implemented
12712   - External interfaces to the ACPI subsystem
12713
12714
12715 1) ACPI CA Core Subsystem:
12716
12717 Fixed two alignment issues on 64-bit platforms - within debug statements 
12718 in 
12719 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
12720 Address 
12721 field within the non-aligned ACPI generic address structure.
12722
12723 Fixed a problem in the Increment and Decrement operators where incorrect 
12724 operand resolution could result in the inadvertent modification of the 
12725 original integer when the integer is passed into another method as an 
12726 argument and the arg is then incremented/decremented.
12727
12728 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
12729 bit 
12730 BCD number were truncated during conversion.
12731
12732 Fixed a problem in the ToDecimal operator where the length of the 
12733 resulting 
12734 string could be set incorrectly too long if the input operand was a 
12735 Buffer 
12736 object.
12737
12738 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
12739 (0) 
12740 within a buffer would prematurely terminate a compare between buffer 
12741 objects.
12742
12743 Added a check for string overflow (>200 characters as per the ACPI 
12744 specification) during the Concatenate operator with two string operands.
12745
12746 Code and Data Size: Current and previous core subsystem library sizes are 
12747 shown below. These are the code and data sizes for the acpica.lib 
12748 produced 
12749 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12750 any ACPI driver or OSPM code. The debug version of the code includes the 
12751 debug output trace mechanism and has a much larger code and data size. 
12752 Note 
12753 that these values will vary depending on the efficiency of the compiler 
12754 and 
12755 the compiler options used during generation.
12756
12757   Previous Release:
12758     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12759     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12760   Current Release:
12761     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12762     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12763
12764
12765
12766 2) iASL Compiler/Disassembler:
12767
12768 Allow the use of the ObjectType operator on uninitialized Locals and Args 
12769 (returns 0 as per the ACPI specification).
12770
12771 Fixed a problem where the compiler would fault if there was a syntax 
12772 error 
12773 in the FieldName of all of the various CreateXXXField operators.
12774
12775 Disallow the use of lower case letters within the EISAID macro, as per 
12776 the 
12777 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
12778 Where 
12779 U is an uppercase letter and N is a hex digit.
12780
12781
12782 ----------------------------------------
12783 06 October 2004.  Summary of changes for version 20041006:
12784
12785 1) ACPI CA Core Subsystem:
12786
12787 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
12788 implements a 64-bit timer with 100 nanosecond granularity.
12789
12790 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
12791 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
12792 implement 
12793 the timer with the best clock available. Also, it keeps the core 
12794 subsystem 
12795 out of the clock handling business, since the host OS (usually) performs 
12796 this function.
12797
12798 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
12799 functions use a 64-bit address which is part of the packed ACPI Generic 
12800 Address Structure. Since the structure is non-aligned, the alignment 
12801 macros 
12802 are now used to extract the address to a local variable before use.
12803
12804 Fixed a problem where the ToInteger operator assumed all input strings 
12805 were 
12806 hexadecimal. The operator now handles both decimal strings and hex 
12807 strings 
12808 (prefixed with "0x").
12809
12810 Fixed a problem where the string length in the string object created as a 
12811 result of the internal ConvertToString procedure could be incorrect. This 
12812 potentially affected all implicit conversions and also the 
12813 ToDecimalString 
12814 and ToHexString operators.
12815
12816 Fixed two problems in the ToString operator. If the length parameter was 
12817 zero, an incorrect string object was created and the value of the input 
12818 length parameter was inadvertently changed from zero to Ones.
12819
12820 Fixed a problem where the optional ResourceSource string in the 
12821 ExtendedIRQ 
12822 resource macro was ignored.
12823
12824 Simplified the interfaces to the internal division functions, reducing 
12825 code 
12826 size and complexity.
12827
12828 Code and Data Size: Current and previous core subsystem library sizes are 
12829 shown below. These are the code and data sizes for the acpica.lib 
12830 produced 
12831 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12832 any ACPI driver or OSPM code. The debug version of the code includes the 
12833 debug output trace mechanism and has a much larger code and data size. 
12834 Note 
12835 that these values will vary depending on the efficiency of the compiler 
12836 and 
12837 the compiler options used during generation.
12838
12839   Previous Release:
12840     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12841     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12842   Current Release:
12843     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12844     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12845
12846
12847 2) iASL Compiler/Disassembler:
12848
12849 Implemented support for the ACPI 3.0 Timer operator.
12850
12851 Fixed a problem where the Default() operator was inadvertently ignored in 
12852
12853 Switch/Case block.  This was a problem in the translation of the Switch 
12854 statement to If...Else pairs.
12855
12856 Added support to allow a standalone Return operator, with no parentheses 
12857 (or 
12858 operands).
12859
12860 Fixed a problem with code generation for the ElseIf operator where the 
12861 translated Else...If parse tree was improperly constructed leading to the 
12862 loss of some code.
12863
12864 ----------------------------------------
12865 22 September 2004.  Summary of changes for version 20040922:
12866
12867 1) ACPI CA Core Subsystem:
12868
12869 Fixed a problem with the implementation of the LNot() operator where 
12870 "Ones" 
12871 was not returned for the TRUE case. Changed the code to return Ones 
12872 instead 
12873 of (!Arg) which was usually 1. This change affects iASL constant folding 
12874 for 
12875 this operator also.
12876
12877 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
12878 not 
12879 initialized properly -- Now zero the entire buffer in this case where the 
12880 buffer already exists.
12881
12882 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
12883 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
12884 related code considerably. This will require changes/updates to all OS 
12885 interface layers (OSLs.)
12886
12887 Implemented a new external interface, AcpiInstallExceptionHandler, to 
12888 allow 
12889 a system exception handler to be installed. This handler is invoked upon 
12890 any 
12891 run-time exception that occurs during control method execution.
12892
12893 Added support for the DSDT in AcpiTbFindTable. This allows the 
12894 DataTableRegion() operator to access the local copy of the DSDT.
12895
12896 Code and Data Size: Current and previous core subsystem library sizes are 
12897 shown below. These are the code and data sizes for the acpica.lib 
12898 produced 
12899 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12900 any ACPI driver or OSPM code. The debug version of the code includes the 
12901 debug output trace mechanism and has a much larger code and data size. 
12902 Note 
12903 that these values will vary depending on the efficiency of the compiler 
12904 and 
12905 the compiler options used during generation.
12906
12907   Previous Release:
12908     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12909     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12910   Current Release:
12911     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12912     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12913
12914
12915 2) iASL Compiler/Disassembler:
12916
12917 Fixed a problem with constant folding and the LNot operator. LNot was 
12918 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
12919 This 
12920 could result in the generation of an incorrect folded/reduced constant.
12921
12922 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
12923 longer occurs if such a comment is at the very end of the input ASL 
12924 source 
12925 file.
12926
12927 Implemented the "-r" option to override the Revision in the table header. 
12928 The initial use of this option will be to simplify the evaluation of the 
12929 AML 
12930 interpreter by allowing a single ASL source module to be compiled for 
12931 either 
12932 32-bit or 64-bit integers.
12933
12934
12935 ----------------------------------------
12936 27 August 2004.  Summary of changes for version 20040827:
12937
12938 1) ACPI CA Core Subsystem:
12939
12940 - Implemented support for implicit object conversion in the non-numeric 
12941 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
12942 and 
12943 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
12944 the second operand is implicitly converted on the fly to match the type 
12945 of 
12946 the first operand.  For example:
12947
12948     LEqual (Source1, Source2)
12949
12950 Source1 and Source2 must each evaluate to an integer, a string, or a 
12951 buffer. 
12952 The data type of Source1 dictates the required type of Source2. Source2 
12953 is 
12954 implicitly converted if necessary to match the type of Source1.
12955
12956 - Updated and corrected the behavior of the string conversion support.  
12957 The 
12958 rules concerning conversion of buffers to strings (according to the ACPI 
12959 specification) are as follows:
12960
12961 ToDecimalString - explicit byte-wise conversion of buffer to string of 
12962 decimal values (0-255) separated by commas. ToHexString - explicit byte-
12963 wise 
12964 conversion of buffer to string of hex values (0-FF) separated by commas. 
12965 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
12966 byte 
12967 copy with no transform except NULL terminated. Any other implicit buffer-
12968 to-
12969 string conversion - byte-wise conversion of buffer to string of hex 
12970 values 
12971 (0-FF) separated by spaces.
12972
12973 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
12974
12975 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
12976 was 
12977 one byte too short in the case of a node in the root scope.  This could 
12978 cause a fault during debug output.
12979
12980 - Code and Data Size: Current and previous core subsystem library sizes 
12981 are 
12982 shown below.  These are the code and data sizes for the acpica.lib 
12983 produced 
12984 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12985 any ACPI driver or OSPM code.  The debug version of the code includes the 
12986 debug output trace mechanism and has a much larger code and data size.  
12987 Note 
12988 that these values will vary depending on the efficiency of the compiler 
12989 and 
12990 the compiler options used during generation.
12991
12992   Previous Release:
12993     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
12994     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
12995   Current Release:
12996     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12997     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12998
12999
13000 2) iASL Compiler/Disassembler:
13001
13002 - Fixed a Linux generation error.
13003
13004
13005 ----------------------------------------
13006 16 August 2004.  Summary of changes for version 20040816:
13007
13008 1) ACPI CA Core Subsystem:
13009
13010 Designed and implemented support within the AML interpreter for the so-
13011 called "implicit return".  This support returns the result of the last 
13012 ASL 
13013 operation within a control method, in the absence of an explicit Return() 
13014 operator.  A few machines depend on this behavior, even though it is not 
13015 explicitly supported by the ASL language.  It is optional support that 
13016 can 
13017 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
13018
13019 Removed support for the PCI_Config address space from the internal low 
13020 level 
13021 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
13022 support was not used internally, and would not work correctly anyway 
13023 because 
13024 the PCI bus number and segment number were not supported.  There are 
13025 separate interfaces for PCI configuration space access because of the 
13026 unique 
13027 interface.
13028
13029 Code and Data Size: Current and previous core subsystem library sizes are 
13030 shown below.  These are the code and data sizes for the acpica.lib 
13031 produced 
13032 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13033 any ACPI driver or OSPM code.  The debug version of the code includes the 
13034 debug output trace mechanism and has a much larger code and data size.  
13035 Note 
13036 that these values will vary depending on the efficiency of the compiler 
13037 and 
13038 the compiler options used during generation.
13039
13040   Previous Release:
13041     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13042     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13043   Current Release:
13044     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
13045     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
13046
13047
13048 2) iASL Compiler/Disassembler:
13049
13050 Fixed a problem where constants in ASL expressions at the root level (not 
13051 within a control method) could be inadvertently truncated during code 
13052 generation.  This problem was introduced in the 20040715 release.
13053
13054
13055 ----------------------------------------
13056 15 July 2004.  Summary of changes for version 20040715:
13057
13058 1) ACPI CA Core Subsystem:
13059
13060 Restructured the internal HW GPE interfaces to pass/track the current 
13061 state 
13062 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
13063 increase flexibility of the interfaces.
13064
13065 Implemented a "lexicographical compare" for String and Buffer objects 
13066 within 
13067 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
13068
13069 as per further clarification to the ACPI specification.  Behavior is 
13070 similar 
13071 to C library "strcmp".
13072
13073 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
13074 external function.  In the 32-bit non-debug case, the stack use has been 
13075 reduced from 168 bytes to 32 bytes.
13076
13077 Deployed a new run-time configuration flag, 
13078 AcpiGbl_EnableInterpreterSlack, 
13079 whose purpose is to allow the AML interpreter to forgive certain bad AML 
13080 constructs.  Default setting is FALSE.
13081
13082 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
13083 IO 
13084 support code.  If enabled, it allows field access to go beyond the end of 
13085
13086 region definition if the field is within the region length rounded up to 
13087 the 
13088 next access width boundary (a common coding error.)
13089
13090 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
13091 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
13092 these 
13093 symbols are lowercased by the latest version of the AcpiSrc tool.
13094
13095 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
13096 rename "Register" to simply "Reg" to prevent certain compilers from 
13097 complaining.
13098
13099 Code and Data Size: Current and previous core subsystem library sizes are 
13100 shown below.  These are the code and data sizes for the acpica.lib 
13101 produced 
13102 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13103 any ACPI driver or OSPM code.  The debug version of the code includes the 
13104 debug output trace mechanism and has a much larger code and data size.  
13105 Note 
13106 that these values will vary depending on the efficiency of the compiler 
13107 and 
13108 the compiler options used during generation.
13109
13110   Previous Release:
13111     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13112     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13113   Current Release:
13114     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
13115     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
13116
13117
13118 2) iASL Compiler/Disassembler:
13119
13120 Implemented full support for Package objects within the Case() operator.  
13121 Note: The Break() operator is currently not supported within Case blocks 
13122 (TermLists) as there is some question about backward compatibility with 
13123 ACPI 
13124 1.0 interpreters.
13125
13126
13127 Fixed a problem where complex terms were not supported properly within 
13128 the 
13129 Switch() operator.
13130
13131 Eliminated extraneous warning for compiler-emitted reserved names of the 
13132 form "_T_x".  (Used in Switch/Case operators.)
13133
13134 Eliminated optimization messages for "_T_x" objects and small constants 
13135 within the DefinitionBlock operator.
13136
13137
13138 ----------------------------------------
13139 15 June 2004.  Summary of changes for version 20040615:
13140
13141 1) ACPI CA Core Subsystem:
13142
13143 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13144 the 
13145 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13146 LLessEqual.
13147
13148 All directory names in the entire source package are lower case, as they 
13149 were in earlier releases.
13150
13151 Implemented "Disassemble" command in the AML debugger that will 
13152 disassemble 
13153 a single control method.
13154
13155 Code and Data Size: Current and previous core subsystem library sizes are 
13156 shown below.  These are the code and data sizes for the acpica.lib 
13157 produced 
13158 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13159 any ACPI driver or OSPM code.  The debug version of the code includes the 
13160 debug output trace mechanism and has a much larger code and data size.  
13161 Note 
13162 that these values will vary depending on the efficiency of the compiler 
13163 and 
13164 the compiler options used during generation.
13165
13166   Previous Release:
13167     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13168     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13169
13170   Current Release:
13171     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
13172     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
13173
13174
13175 2) iASL Compiler/Disassembler:
13176
13177 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
13178 the 
13179 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
13180 LLessEqual.
13181
13182 All directory names in the entire source package are lower case, as they 
13183 were in earlier releases.
13184
13185 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
13186 not found.
13187
13188 Fixed an issue with the Windows version of the compiler where later 
13189 versions 
13190 of Windows place the FADT in the registry under the name "FADT" and not 
13191 "FACP" as earlier versions did.  This applies when using the -g or -
13192 d<nofilename> options.  The compiler now looks for both strings as 
13193 necessary.
13194
13195 Fixed a problem with compiler namepath optimization where a namepath 
13196 within 
13197 the Scope() operator could not be optimized if the namepath was a subpath 
13198 of 
13199 the current scope path.
13200
13201 ----------------------------------------
13202 27 May 2004.  Summary of changes for version 20040527:
13203
13204 1) ACPI CA Core Subsystem:
13205
13206 Completed a new design and implementation for EBDA (Extended BIOS Data 
13207 Area) 
13208 support in the RSDP scan code.  The original code improperly scanned for 
13209 the 
13210 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
13211 method 
13212 is to first obtain the EBDA pointer from within the BIOS data area, then 
13213 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
13214 if 
13215 any machines that place the RSDP in the EBDA, however.
13216
13217 Integrated a fix for a possible fault during evaluation of BufferField 
13218 arguments.  Obsolete code that was causing the problem was removed.
13219
13220 Found and fixed a problem in the Field Support Code where data could be 
13221 corrupted on a bit field read that starts on an aligned boundary but does 
13222 not end on an aligned boundary.  Merged the read/write "datum length" 
13223 calculation code into a common procedure.
13224
13225 Rolled in a couple of changes to the FreeBSD-specific header.
13226
13227
13228 Code and Data Size: Current and previous core subsystem library sizes are 
13229 shown below.  These are the code and data sizes for the acpica.lib 
13230 produced 
13231 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13232 any ACPI driver or OSPM code.  The debug version of the code includes the 
13233 debug output trace mechanism and has a much larger code and data size.  
13234 Note 
13235 that these values will vary depending on the efficiency of the compiler 
13236 and 
13237 the compiler options used during generation.
13238
13239   Previous Release:
13240     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13241     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13242   Current Release:
13243     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13244     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13245
13246
13247 2) iASL Compiler/Disassembler:
13248
13249 Fixed a generation warning produced by some overly-verbose compilers for 
13250
13251 64-bit constant.
13252
13253 ----------------------------------------
13254 14 May 2004.  Summary of changes for version 20040514:
13255
13256 1) ACPI CA Core Subsystem:
13257
13258 Fixed a problem where hardware GPE enable bits sometimes not set properly 
13259 during and after GPE method execution.  Result of 04/27 changes.
13260
13261 Removed extra "clear all GPEs" when sleeping/waking.
13262
13263 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
13264 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
13265 to 
13266 the new AcpiEv* calls as appropriate.
13267
13268 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
13269 is 
13270 now "Microsoft Windows NT" for maximum compatibility.  However this can 
13271 be 
13272 changed by modifying the acconfig.h file.
13273
13274 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
13275 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
13276
13277 Run _INI methods on ThermalZone objects.  This is against the ACPI 
13278 specification, but there is apparently ASL code in the field that has 
13279 these 
13280 _INI methods, and apparently "other" AML interpreters execute them.
13281
13282 Performed a full 16/32/64 bit lint that resulted in some small changes.
13283
13284 Added a sleep simulation command to the AML debugger to test sleep code. 
13285
13286 Code and Data Size: Current and previous core subsystem library sizes are 
13287 shown below.  These are the code and data sizes for the acpica.lib 
13288 produced 
13289 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13290 any ACPI driver or OSPM code.  The debug version of the code includes the 
13291 debug output trace mechanism and has a much larger code and data size.  
13292 Note 
13293 that these values will vary depending on the efficiency of the compiler 
13294 and 
13295 the compiler options used during generation.
13296
13297   Previous Release:
13298     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13299     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13300   Current Release:
13301     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13302     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13303
13304 ----------------------------------------
13305 27 April 2004.  Summary of changes for version 20040427:
13306
13307 1) ACPI CA Core Subsystem:
13308
13309 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
13310 now three types of GPEs:  wake-only, runtime-only, and combination 
13311 wake/run.  
13312 The only GPEs allowed to be combination wake/run are for button-style 
13313 devices such as a control-method power button, control-method sleep 
13314 button, 
13315 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
13316 not 
13317 referenced by any _PRW methods are marked for "runtime" and hardware 
13318 enabled.  Any GPE that is referenced by a _PRW method is marked for 
13319 "wake" 
13320 (and disabled at runtime).  However, at sleep time, only those GPEs that 
13321 have been specifically enabled for wake via the AcpiEnableGpe interface 
13322 will 
13323 actually be hardware enabled.
13324
13325 A new external interface has been added, AcpiSetGpeType(), that is meant 
13326 to 
13327 be used by device drivers to force a GPE to a particular type.  It will 
13328 be 
13329 especially useful for the drivers for the button devices mentioned above.
13330
13331 Completed restructuring of the ACPI CA initialization sequence so that 
13332 default operation region handlers are installed before GPEs are 
13333 initialized 
13334 and the _PRW methods are executed.  This will prevent errors when the 
13335 _PRW 
13336 methods attempt to access system memory or I/O space.
13337
13338 GPE enable/disable no longer reads the GPE enable register.  We now keep 
13339 the 
13340 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
13341 thus no longer depend on the hardware to maintain these bits.
13342
13343 Always clear the wake status and fixed/GPE status bits before sleep, even 
13344 for state S5.
13345
13346 Improved the AML debugger output for displaying the GPE blocks and their 
13347 current status.
13348
13349 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
13350 where 
13351 x = 0,1,2,3,4.
13352
13353 Fixed a problem where the physical address was incorrectly calculated 
13354 when 
13355 the Load() operator was used to directly load from an Operation Region 
13356 (vs. 
13357 loading from a Field object.)  Also added check for minimum table length 
13358 for 
13359 this case.
13360
13361 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
13362 mutex release.
13363
13364 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
13365 consistency with the other fields returned.
13366
13367 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
13368 structure for each GPE in the system, so the size of this structure is 
13369 important.
13370
13371 CPU stack requirement reduction:  Cleaned up the method execution and 
13372 object 
13373 evaluation paths so that now a parameter structure is passed, instead of 
13374 copying the various method parameters over and over again.
13375
13376 In evregion.c:  Correctly exit and reenter the interpreter region if and 
13377 only if dispatching an operation region request to a user-installed 
13378 handler.  
13379 Do not exit/reenter when dispatching to a default handler (e.g., default 
13380 system memory or I/O handlers)
13381
13382
13383 Notes for updating drivers for the new GPE support.  The following 
13384 changes 
13385 must be made to ACPI-related device drivers that are attached to one or 
13386 more 
13387 GPEs: (This information will be added to the ACPI CA Programmer 
13388 Reference.)
13389
13390 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
13391 must 
13392 explicitly call AcpiEnableGpe.
13393 2) There is a new interface called AcpiSetGpeType. This should be called 
13394 before enabling the GPE.  Also, this interface will automatically disable 
13395 the GPE if it is currently enabled.
13396 3) AcpiEnableGpe no longer supports a GPE type flag.
13397
13398 Specific drivers that must be changed:
13399 1) EC driver:
13400     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
13401 AeGpeHandler, NULL);
13402     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
13403     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
13404
13405 2) Button Drivers (Power, Lid, Sleep):
13406 Run _PRW method under parent device
13407 If _PRW exists: /* This is a control-method button */
13408     Extract GPE number and possibly GpeDevice
13409     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
13410     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
13411
13412 For all other devices that have _PRWs, we automatically set the GPE type 
13413 to 
13414 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
13415 This 
13416 must be done on a selective basis, usually requiring some kind of user 
13417 app 
13418 to allow the user to pick the wake devices.
13419
13420
13421 Code and Data Size: Current and previous core subsystem library sizes are 
13422 shown below.  These are the code and data sizes for the acpica.lib 
13423 produced 
13424 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13425 any ACPI driver or OSPM code.  The debug version of the code includes the 
13426 debug output trace mechanism and has a much larger code and data size.  
13427 Note 
13428 that these values will vary depending on the efficiency of the compiler 
13429 and 
13430 the compiler options used during generation.
13431
13432   Previous Release:
13433     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13434     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13435   Current Release:
13436
13437     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13438     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13439
13440
13441
13442 ----------------------------------------
13443 02 April 2004.  Summary of changes for version 20040402:
13444
13445 1) ACPI CA Core Subsystem:
13446
13447 Fixed an interpreter problem where an indirect store through an ArgX 
13448 parameter was incorrectly applying the "implicit conversion rules" during 
13449 the store.  From the ACPI specification: "If the target is a method local 
13450 or 
13451 argument (LocalX or ArgX), no conversion is performed and the result is 
13452 stored directly to the target".  The new behavior is to disable implicit 
13453 conversion during ALL stores to an ArgX.
13454
13455 Changed the behavior of the _PRW method scan to ignore any and all errors 
13456 returned by a given _PRW.  This prevents the scan from aborting from the 
13457 failure of any single _PRW.
13458
13459 Moved the runtime configuration parameters from the global init procedure 
13460 to 
13461 static variables in acglobal.h.  This will allow the host to override the 
13462 default values easily.
13463
13464 Code and Data Size: Current and previous core subsystem library sizes are 
13465 shown below.  These are the code and data sizes for the acpica.lib 
13466 produced 
13467 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13468 any ACPI driver or OSPM code.  The debug version of the code includes the 
13469 debug output trace mechanism and has a much larger code and data size.  
13470 Note 
13471 that these values will vary depending on the efficiency of the compiler 
13472 and 
13473 the compiler options used during generation.
13474
13475   Previous Release:
13476     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13477     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13478   Current Release:
13479     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13480     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13481
13482
13483 2) iASL Compiler/Disassembler:
13484
13485 iASL now fully disassembles SSDTs.  However, External() statements are 
13486 not 
13487 generated automatically for unresolved symbols at this time.  This is a 
13488 planned feature for future implementation.
13489
13490 Fixed a scoping problem in the disassembler that occurs when the type of 
13491 the 
13492 target of a Scope() operator is overridden.  This problem caused an 
13493 incorrectly nested internal namespace to be constructed.
13494
13495 Any warnings or errors that are emitted during disassembly are now 
13496 commented 
13497 out automatically so that the resulting file can be recompiled without 
13498 any 
13499 hand editing.
13500
13501 ----------------------------------------
13502 26 March 2004.  Summary of changes for version 20040326:
13503
13504 1) ACPI CA Core Subsystem:
13505
13506 Implemented support for "wake" GPEs via interaction between GPEs and the 
13507 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
13508 identified as a WAKE GPE and by default will no longer be enabled at 
13509 runtime.  Previously, we were blindly enabling all GPEs with a 
13510 corresponding 
13511 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
13512 We 
13513 believe this has been the cause of thousands of "spurious" GPEs on some 
13514 systems.
13515
13516 This new GPE behavior is can be reverted to the original behavior (enable 
13517 ALL GPEs at runtime) via a runtime flag.
13518
13519 Fixed a problem where aliased control methods could not access objects 
13520 properly.  The proper scope within the namespace was not initialized 
13521 (transferred to the target of the aliased method) before executing the 
13522 target method.
13523
13524 Fixed a potential race condition on internal object deletion on the 
13525 return 
13526 object in AcpiEvaluateObject. 
13527
13528 Integrated a fix for resource descriptors where both _MEM and _MTP were 
13529 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
13530 wide, 0x0F instead of 0x03.)
13531
13532 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
13533 preventing 
13534
13535 fault in some cases.
13536
13537 Updated Notify() values for debug statements in evmisc.c
13538
13539 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
13540
13541 Code and Data Size: Current and previous core subsystem library sizes are 
13542 shown below.  These are the code and data sizes for the acpica.lib 
13543 produced 
13544 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13545 any ACPI driver or OSPM code.  The debug version of the code includes the 
13546 debug output trace mechanism and has a much larger code and data size.  
13547 Note 
13548 that these values will vary depending on the efficiency of the compiler 
13549 and 
13550 the compiler options used during generation.
13551
13552   Previous Release:
13553
13554     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13555     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13556   Current Release:
13557     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13558     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13559
13560 ----------------------------------------
13561 11 March 2004.  Summary of changes for version 20040311:
13562
13563 1) ACPI CA Core Subsystem:
13564
13565 Fixed a problem where errors occurring during the parse phase of control 
13566 method execution did not abort cleanly.  For example, objects created and 
13567 installed in the namespace were not deleted.  This caused all subsequent 
13568 invocations of the method to return the AE_ALREADY_EXISTS exception.
13569
13570 Implemented a mechanism to force a control method to "Serialized" 
13571 execution 
13572 if the method attempts to create namespace objects. (The root of the 
13573 AE_ALREADY_EXISTS problem.)
13574
13575 Implemented support for the predefined _OSI "internal" control method.  
13576 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
13577 and 
13578 "Windows 2001.1", and can be easily upgraded for new strings as 
13579 necessary.  
13580 This feature will allow "other" operating systems to execute the fully 
13581 tested, "Windows" code path through the ASL code
13582
13583 Global Lock Support:  Now allows multiple acquires and releases with any 
13584 internal thread.  Removed concept of "owning thread" for this special 
13585 mutex.
13586
13587 Fixed two functions that were inappropriately declaring large objects on 
13588 the 
13589 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
13590 during 
13591 method execution considerably.
13592
13593 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
13594 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
13595
13596 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
13597 defined on the machine.
13598
13599 Implemented two runtime options:  One to force all control method 
13600 execution 
13601 to "Serialized" to mimic Windows behavior, another to disable _OSI 
13602 support 
13603 if it causes problems on a given machine.
13604
13605 Code and Data Size: Current and previous core subsystem library sizes are 
13606 shown below.  These are the code and data sizes for the acpica.lib 
13607 produced 
13608 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13609 any ACPI driver or OSPM code.  The debug version of the code includes the 
13610 debug output trace mechanism and has a much larger code and data size.  
13611 Note 
13612 that these values will vary depending on the efficiency of the compiler 
13613 and 
13614 the compiler options used during generation.
13615
13616   Previous Release:
13617     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13618     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13619   Current Release:
13620     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13621     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13622
13623 2) iASL Compiler/Disassembler:
13624
13625 Fixed an array size problem for FreeBSD that would cause the compiler to 
13626 fault.
13627
13628 ----------------------------------------
13629 20 February 2004.  Summary of changes for version 20040220:
13630
13631
13632 1) ACPI CA Core Subsystem:
13633
13634 Implemented execution of _SxD methods for Device objects in the 
13635 GetObjectInfo interface.
13636
13637 Fixed calls to _SST method to pass the correct arguments.
13638
13639 Added a call to _SST on wake to restore to "working" state.
13640
13641 Check for End-Of-Buffer failure case in the WalkResources interface.
13642
13643 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
13644 structures to the beginning of the file.
13645
13646 After wake, clear GPE status register(s) before enabling GPEs.
13647
13648 After wake, clear/enable power button.  (Perhaps we should clear/enable 
13649 all 
13650 fixed events upon wake.)
13651
13652 Fixed a couple of possible memory leaks in the Namespace manager.
13653
13654 Integrated latest acnetbsd.h file.
13655
13656 ----------------------------------------
13657 11 February 2004.  Summary of changes for version 20040211:
13658
13659
13660 1) ACPI CA Core Subsystem:
13661
13662 Completed investigation and implementation of the call-by-reference 
13663 mechanism for control method arguments.
13664
13665 Fixed a problem where a store of an object into an indexed package could 
13666 fail if the store occurs within a different method than the method that 
13667 created the package.
13668
13669 Fixed a problem where the ToDecimal operator could return incorrect 
13670 results.
13671
13672 Fixed a problem where the CopyObject operator could fail on some of the 
13673 more 
13674 obscure objects (e.g., Reference objects.)
13675
13676 Improved the output of the Debug object to display buffer, package, and 
13677 index objects.
13678
13679 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
13680 return 
13681 the expected result.
13682
13683 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
13684 ACPI_AML_INTERNAL exception.
13685
13686 Integrated latest version of acfreebsd.h
13687
13688 ----------------------------------------
13689 16 January 2004.  Summary of changes for version 20040116:
13690
13691 The purpose of this release is primarily to update the copyright years in 
13692 each module, thus causing a huge number of diffs.  There are a few small 
13693 functional changes, however.
13694
13695 1) ACPI CA Core Subsystem:
13696
13697 Improved error messages when there is a problem finding one or more of 
13698 the 
13699 required base ACPI tables
13700
13701 Reintroduced the definition of APIC_HEADER in actbl.h
13702
13703 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
13704
13705 Removed extraneous reference to NewObj in dsmthdat.c
13706
13707 2) iASL compiler
13708
13709 Fixed a problem introduced in December that disabled the correct 
13710 disassembly 
13711 of Resource Templates
13712
13713
13714 ----------------------------------------
13715 03 December 2003.  Summary of changes for version 20031203:
13716
13717 1) ACPI CA Core Subsystem:
13718
13719 Changed the initialization of Operation Regions during subsystem
13720 init to perform two entire walks of the ACPI namespace; The first
13721 to initialize the regions themselves, the second to execute the
13722 _REG methods.  This fixed some interdependencies across _REG
13723 methods found on some machines.
13724
13725 Fixed a problem where a Store(Local0, Local1) could simply update
13726 the object reference count, and not create a new copy of the
13727 object if the Local1 is uninitialized.
13728
13729 Implemented support for the _SST reserved method during sleep
13730 transitions.
13731
13732 Implemented support to clear the SLP_TYP and SLP_EN bits when
13733 waking up, this is apparently required by some machines.
13734
13735 When sleeping, clear the wake status only if SleepState is not S5.
13736
13737 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
13738 pointer arithmetic advanced a string pointer too far.
13739
13740 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
13741 could be returned if the requested table has not been loaded.
13742
13743 Within the support for IRQ resources, restructured the handling of
13744 the active and edge/level bits.
13745
13746 Fixed a few problems in AcpiPsxExecute() where memory could be
13747 leaked under certain error conditions.
13748
13749 Improved error messages for the cases where the ACPI mode could
13750 not be entered.
13751
13752 Code and Data Size: Current and previous core subsystem library
13753 sizes are shown below.  These are the code and data sizes for the
13754 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13755 these values do not include any ACPI driver or OSPM code.  The
13756 debug version of the code includes the debug output trace
13757 mechanism and has a much larger code and data size.  Note that
13758 these values will vary depending on the efficiency of the compiler
13759 and the compiler options used during generation.
13760
13761   Previous Release (20031029):
13762     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13763     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13764   Current Release:
13765     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13766     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13767
13768 2) iASL Compiler/Disassembler:
13769
13770 Implemented a fix for the iASL disassembler where a bad index was
13771 generated.  This was most noticeable on 64-bit platforms
13772
13773
13774 ----------------------------------------
13775 29 October 2003.  Summary of changes for version 20031029:
13776
13777 1) ACPI CA Core Subsystem:
13778
13779
13780 Fixed a problem where a level-triggered GPE with an associated
13781 _Lxx control method was incorrectly cleared twice.
13782
13783 Fixed a problem with the Field support code where an access can
13784 occur beyond the end-of-region if the field is non-aligned but
13785 extends to the very end of the parent region (resulted in an
13786 AE_AML_REGION_LIMIT exception.)
13787
13788 Fixed a problem with ACPI Fixed Events where an RT Clock handler
13789 would not get invoked on an RTC event.  The RTC event bitmasks for
13790 the PM1 registers were not being initialized properly.
13791
13792 Implemented support for executing _STA and _INI methods for
13793 Processor objects.  Although this is currently not part of the
13794 ACPI specification, there is existing ASL code that depends on the
13795 init-time execution of these methods.
13796
13797 Implemented and deployed a GetDescriptorName function to decode
13798 the various types of internal descriptors.  Guards against null
13799 descriptors during debug output also.
13800
13801 Implemented and deployed a GetNodeName function to extract the 4-
13802 character namespace node name.  This function simplifies the debug
13803 and error output, as well as guarding against null pointers during
13804 output.
13805
13806 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
13807 simplify the debug and error output of 64-bit integers.  This
13808 macro replaces the HIDWORD and LODWORD macros for dumping these
13809 integers.
13810
13811 Updated the implementation of the Stall() operator to only call
13812 AcpiOsStall(), and also return an error if the operand is larger
13813 than 255.  This preserves the required behavior of not
13814 relinquishing the processor, as would happen if AcpiOsSleep() was
13815 called for "long stalls".
13816
13817 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
13818 initialized are now treated as NOOPs.
13819
13820 Cleaned up a handful of warnings during 64-bit generation.
13821
13822 Fixed a reported error where and incorrect GPE number was passed
13823 to the GPE dispatch handler.  This value is only used for error
13824 output, however.  Used this opportunity to clean up and streamline
13825 the GPE dispatch code.
13826
13827 Code and Data Size: Current and previous core subsystem library
13828 sizes are shown below.  These are the code and data sizes for the
13829 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13830 these values do not include any ACPI driver or OSPM code.  The
13831
13832 debug version of the code includes the debug output trace
13833 mechanism and has a much larger code and data size.  Note that
13834 these values will vary depending on the efficiency of the compiler
13835 and the compiler options used during generation.
13836
13837   Previous Release (20031002):
13838     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13839     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13840   Current Release:
13841     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13842     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13843
13844
13845 2) iASL Compiler/Disassembler:
13846
13847 Updated the iASL compiler to return an error if the operand to the
13848 Stall() operator is larger than 255.
13849
13850
13851 ----------------------------------------
13852 02 October 2003.  Summary of changes for version 20031002:
13853
13854
13855 1) ACPI CA Core Subsystem:
13856
13857 Fixed a problem with Index Fields where the index was not
13858 incremented for fields that require multiple writes to the
13859 index/data registers (Fields that are wider than the data
13860 register.)
13861
13862 Fixed a problem with all Field objects where a write could go
13863 beyond the end-of-field if the field was larger than the access
13864 granularity and therefore required multiple writes to complete the
13865 request.  An extra write beyond the end of the field could happen
13866 inadvertently.
13867
13868 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
13869 would incorrectly be returned if the width of the Data Register
13870 was larger than the specified field access width.
13871
13872 Completed fixes for LoadTable() and Unload() and verified their
13873 operation.  Implemented full support for the "DdbHandle" object
13874 throughout the ACPI CA subsystem.
13875
13876 Implemented full support for the MADT and ECDT tables in the ACPI
13877 CA header files.  Even though these tables are not directly
13878 consumed by ACPI CA, the header definitions are useful for ACPI
13879 device drivers.
13880
13881 Integrated resource descriptor fixes posted to the Linux ACPI
13882 list.  This included checks for minimum descriptor length, and
13883 support for trailing NULL strings within descriptors that have
13884 optional string elements.
13885
13886 Code and Data Size: Current and previous core subsystem library
13887 sizes are shown below.  These are the code and data sizes for the
13888 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13889 these values do not include any ACPI driver or OSPM code.  The
13890 debug version of the code includes the debug output trace
13891 mechanism and has a much larger code and data size.  Note that
13892 these values will vary depending on the efficiency of the compiler
13893 and the compiler options used during generation.
13894
13895   Previous Release (20030918):
13896     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13897     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13898   Current Release:
13899     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13900     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13901
13902
13903 2) iASL Compiler:
13904
13905 Implemented detection of non-ASCII characters within the input
13906 source ASL file.  This catches attempts to compile binary (AML)
13907 files early in the compile, with an informative error message.
13908
13909 Fixed a problem where the disassembler would fault if the output
13910 filename could not be generated or if the output file could not be
13911 opened.
13912
13913 ----------------------------------------
13914 18 September 2003.  Summary of changes for version 20030918:
13915
13916
13917 1) ACPI CA Core Subsystem:
13918
13919 Found and fixed a longstanding problem with the late execution of
13920 the various deferred AML opcodes (such as Operation Regions,
13921 Buffer Fields, Buffers, and Packages).  If the name string
13922 specified for the name of the new object placed the object in a
13923 scope other than the current scope, the initialization/execution
13924 of the opcode failed.  The solution to this problem was to
13925 implement a mechanism where the late execution of such opcodes
13926 does not attempt to lookup/create the name a second time in an
13927 incorrect scope.  This fixes the "region size computed
13928 incorrectly" problem.
13929
13930 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
13931 Global Lock AE_BAD_PARAMETER error.
13932
13933 Fixed several 64-bit issues with prototypes, casting and data
13934 types.
13935
13936 Removed duplicate prototype from acdisasm.h
13937
13938 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
13939
13940 Code and Data Size: Current and previous core subsystem library
13941 sizes are shown below.  These are the code and data sizes for the
13942 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13943 these values do not include any ACPI driver or OSPM code.  The
13944 debug version of the code includes the debug output trace
13945 mechanism and has a much larger code and data size.  Note that
13946 these values will vary depending on the efficiency of the compiler
13947 and the compiler options used during generation.
13948
13949   Previous Release:
13950
13951     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
13952     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
13953   Current Release:
13954     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13955     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13956
13957
13958 2) Linux:
13959
13960 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
13961 correct sleep time in seconds.
13962
13963 ----------------------------------------
13964 14 July 2003.  Summary of changes for version 20030619:
13965
13966 1) ACPI CA Core Subsystem:
13967
13968 Parse SSDTs in order discovered, as opposed to reverse order
13969 (Hrvoje Habjanic)
13970
13971 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
13972 Klausner,
13973    Nate Lawson)
13974
13975
13976 2) Linux:
13977
13978 Dynamically allocate SDT list (suggested by Andi Kleen)
13979
13980 proc function return value cleanups (Andi Kleen)
13981
13982 Correctly handle NMI watchdog during long stalls (Andrew Morton)
13983
13984 Make it so acpismp=force works (reported by Andrew Morton)
13985
13986
13987 ----------------------------------------
13988 19 June 2003.  Summary of changes for version 20030619:
13989
13990 1) ACPI CA Core Subsystem:
13991
13992 Fix To/FromBCD, eliminating the need for an arch-specific #define.
13993
13994 Do not acquire a semaphore in the S5 shutdown path.
13995
13996 Fix ex_digits_needed for 0. (Takayoshi Kochi)
13997
13998 Fix sleep/stall code reversal. (Andi Kleen)
13999
14000 Revert a change having to do with control method calling
14001 semantics.
14002
14003 2) Linux:
14004
14005 acpiphp update (Takayoshi Kochi)
14006
14007 Export acpi_disabled for sonypi (Stelian Pop)
14008
14009 Mention acpismp=force in config help
14010
14011 Re-add acpitable.c and acpismp=force. This improves backwards
14012
14013 compatibility and also cleans up the code to a significant degree.
14014
14015 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
14016
14017 ----------------------------------------
14018 22 May 2003.  Summary of changes for version 20030522:
14019
14020 1) ACPI CA Core Subsystem:
14021
14022 Found and fixed a reported problem where an AE_NOT_FOUND error
14023 occurred occasionally during _BST evaluation.  This turned out to
14024 be an Owner ID allocation issue where a called method did not get
14025 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
14026 ID UINT16 would wraparound so that the ID would be the same as the
14027 caller's and the called method would delete the caller's
14028 namespace.
14029
14030 Implemented extended error reporting for control methods that are
14031 aborted due to a run-time exception.  Output includes the exact
14032 AML instruction that caused the method abort, a dump of the method
14033 locals and arguments at the time of the abort, and a trace of all
14034 nested control method calls.
14035
14036 Modified the interpreter to allow the creation of buffers of zero
14037 length from the AML code. Implemented new code to ensure that no
14038 attempt is made to actually allocate a memory buffer (of length
14039 zero) - instead, a simple buffer object with a NULL buffer pointer
14040 and length zero is created.  A warning is no longer issued when
14041 the AML attempts to create a zero-length buffer.
14042
14043 Implemented a workaround for the "leading asterisk issue" in
14044 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
14045 asterisk is automatically removed if present in any HID, UID, or
14046 CID strings.  The iASL compiler will still flag this asterisk as
14047 an error, however.
14048
14049 Implemented full support for _CID methods that return a package of
14050 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
14051 now additionally returns a device _CID list if present.  This
14052 required a change to the external interface in order to pass an
14053 ACPI_BUFFER object as a parameter since the _CID list is of
14054 variable length.
14055
14056 Fixed a problem with the new AE_SAME_HANDLER exception where
14057 handler initialization code did not know about this exception.
14058
14059 Code and Data Size: Current and previous core subsystem library
14060 sizes are shown below.  These are the code and data sizes for the
14061 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14062 these values do not include any ACPI driver or OSPM code.  The
14063 debug version of the code includes the debug output trace
14064 mechanism and has a much larger code and data size.  Note that
14065 these values will vary depending on the efficiency of the compiler
14066 and the compiler options used during generation.
14067
14068   Previous Release (20030509):
14069     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14070     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14071   Current Release:
14072     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
14073     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
14074
14075
14076 2) Linux:
14077
14078 Fixed a bug in which we would reinitialize the ACPI interrupt
14079 after it was already working, thus disabling all ACPI and the IRQs
14080 for any other device sharing the interrupt. (Thanks to Stian
14081 Jordet)
14082
14083 Toshiba driver update (John Belmonte)
14084
14085 Return only 0 or 1 for our interrupt handler status (Andrew
14086 Morton)
14087
14088
14089 3) iASL Compiler:
14090
14091 Fixed a reported problem where multiple (nested) ElseIf()
14092 statements were not handled correctly by the compiler, resulting
14093 in incorrect warnings and incorrect AML code.  This was a problem
14094 in both the ASL parser and the code generator.
14095
14096
14097 4) Documentation:
14098
14099 Added changes to existing interfaces, new exception codes, and new
14100 text concerning reference count object management versus garbage
14101 collection.
14102
14103 ----------------------------------------
14104 09 May 2003.  Summary of changes for version 20030509.
14105
14106
14107 1) ACPI CA Core Subsystem:
14108
14109 Changed the subsystem initialization sequence to hold off
14110 installation of address space handlers until the hardware has been
14111 initialized and the system has entered ACPI mode.  This is because
14112 the installation of space handlers can cause _REG methods to be
14113 run.  Previously, the _REG methods could potentially be run before
14114 ACPI mode was enabled.
14115
14116 Fixed some memory leak issues related to address space handler and
14117 notify handler installation.  There were some problems with the
14118 reference count mechanism caused by the fact that the handler
14119 objects are shared across several namespace objects.
14120
14121 Fixed a reported problem where reference counts within the
14122 namespace were not properly updated when named objects created by
14123 method execution were deleted.
14124
14125 Fixed a reported problem where multiple SSDTs caused a deletion
14126 issue during subsystem termination.  Restructured the table data
14127 structures to simplify the linked lists and the related code.
14128
14129 Fixed a problem where the table ID associated with secondary
14130 tables (SSDTs) was not being propagated into the namespace objects
14131 created by those tables.  This would only present a problem for
14132 tables that are unloaded at run-time, however.
14133
14134 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
14135 type as the length parameter (instead of UINT32).
14136
14137 Solved a long-standing problem where an ALREADY_EXISTS error
14138 appears on various systems.  This problem could happen when there
14139 are multiple PCI_Config operation regions under a single PCI root
14140 bus.  This doesn't happen very frequently, but there are some
14141 systems that do this in the ASL.
14142
14143 Fixed a reported problem where the internal DeleteNode function
14144 was incorrectly handling the case where a namespace node was the
14145 first in the parent's child list, and had additional peers (not
14146 the only child, but first in the list of children.)
14147
14148 Code and Data Size: Current core subsystem library sizes are shown
14149 below.  These are the code and data sizes for the acpica.lib
14150 produced by the Microsoft Visual C++ 6.0 compiler, and these
14151 values do not include any ACPI driver or OSPM code.  The debug
14152 version of the code includes the debug output trace mechanism and
14153 has a much larger code and data size.  Note that these values will
14154 vary depending on the efficiency of the compiler and the compiler
14155 options used during generation.
14156
14157   Previous Release
14158     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14159     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14160   Current Release:
14161     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
14162     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
14163
14164
14165 2) Linux:
14166
14167 Allow ":" in OS override string (Ducrot Bruno)
14168
14169 Kobject fix (Greg KH)
14170
14171
14172 3 iASL Compiler/Disassembler:
14173
14174 Fixed a problem in the generation of the C source code files (AML
14175 is emitted in C source statements for BIOS inclusion) where the
14176 Ascii dump that appears within a C comment at the end of each line
14177 could cause a compile time error if the AML sequence happens to
14178 have an open comment or close comment sequence embedded.
14179
14180
14181 ----------------------------------------
14182 24 April 2003.  Summary of changes for version 20030424.
14183
14184
14185 1) ACPI CA Core Subsystem:
14186
14187 Support for big-endian systems has been implemented.  Most of the
14188 support has been invisibly added behind big-endian versions of the
14189 ACPI_MOVE_* macros.
14190
14191 Fixed a problem in AcpiHwDisableGpeBlock() and
14192 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
14193 low level hardware write routine.  The offset parameter was
14194 actually eliminated from the low level read/write routines because
14195 they had become obsolete.
14196
14197 Fixed a problem where a handler object was deleted twice during
14198 the removal of a fixed event handler.
14199
14200
14201 2) Linux:
14202
14203 A fix for SMP systems with link devices was contributed by
14204
14205 Compaq's Dan Zink.
14206
14207 (2.5) Return whether we handled the interrupt in our IRQ handler.
14208 (Linux ISRs no longer return void, so we can propagate the handler
14209 return value from the ACPI CA core back to the OS.)
14210
14211
14212
14213 3) Documentation:
14214
14215 The ACPI CA Programmer Reference has been updated to reflect new
14216 interfaces and changes to existing interfaces.
14217
14218 ----------------------------------------
14219 28 March 2003.  Summary of changes for version 20030328.
14220
14221 1) ACPI CA Core Subsystem:
14222
14223 The GPE Block Device support has been completed.  New interfaces
14224 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
14225 interfaces (enable, disable, clear, getstatus) have been split
14226 into separate interfaces for Fixed Events and General Purpose
14227 Events (GPEs) in order to support GPE Block Devices properly.
14228
14229 Fixed a problem where the error message "Failed to acquire
14230 semaphore" would appear during operations on the embedded
14231 controller (EC).
14232
14233 Code and Data Size: Current core subsystem library sizes are shown
14234 below.  These are the code and data sizes for the acpica.lib
14235 produced by the Microsoft Visual C++ 6.0 compiler, and these
14236 values do not include any ACPI driver or OSPM code.  The debug
14237 version of the code includes the debug output trace mechanism and
14238 has a much larger code and data size.  Note that these values will
14239 vary depending on the efficiency of the compiler and the compiler
14240 options used during generation.
14241
14242   Previous Release
14243     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14244     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14245   Current Release:
14246     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14247     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14248
14249
14250 ----------------------------------------
14251 28 February 2003.  Summary of changes for version 20030228.
14252
14253
14254 1) ACPI CA Core Subsystem:
14255
14256 The GPE handling and dispatch code has been completely overhauled
14257 in preparation for support of GPE Block Devices (ID ACPI0006).
14258 This affects internal data structures and code only; there should
14259 be no differences visible externally.  One new file has been
14260 added, evgpeblk.c
14261
14262 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
14263 fields that are used to determine the GPE block lengths.  The
14264 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
14265 structures are ignored.  This is per the ACPI specification but it
14266 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
14267 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
14268
14269 In the SCI interrupt handler, removed the read of the PM1_CONTROL
14270 register to look at the SCI_EN bit.  On some machines, this read
14271 causes an SMI event and greatly slows down SCI events.  (This may
14272 in fact be the cause of slow battery status response on some
14273 systems.)
14274
14275 Fixed a problem where a store of a NULL string to a package object
14276 could cause the premature deletion of the object.  This was seen
14277 during execution of the battery _BIF method on some systems,
14278 resulting in no battery data being returned.
14279
14280 Added AcpiWalkResources interface to simplify parsing of resource
14281 lists.
14282
14283 Code and Data Size: Current core subsystem library sizes are shown
14284 below.  These are the code and data sizes for the acpica.lib
14285 produced by the Microsoft Visual C++ 6.0 compiler, and these
14286 values do not include any ACPI driver or OSPM code.  The debug
14287 version of the code includes the debug output trace mechanism and
14288 has a much larger code and data size.  Note that these values will
14289 vary depending on the efficiency of the compiler and the compiler
14290 options used during generation.
14291
14292   Previous Release
14293     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14294     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14295   Current Release:
14296     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14297     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14298
14299
14300 2) Linux
14301
14302 S3 fixes (Ole Rohne)
14303
14304 Update ACPI PHP driver with to use new acpi_walk_resource API
14305 (Bjorn Helgaas)
14306
14307 Add S4BIOS support (Pavel Machek)
14308
14309 Map in entire table before performing checksum (John Stultz)
14310
14311 Expand the mem= cmdline to allow the specification of reserved and
14312 ACPI DATA blocks (Pavel Machek)
14313
14314 Never use ACPI on VISWS
14315
14316 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
14317
14318 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
14319 causing us to think that some systems support C2 when they really
14320 don't.
14321
14322 Do not count processor objects for non-present CPUs (Thanks to
14323 Dominik Brodowski)
14324
14325
14326 3) iASL Compiler:
14327
14328 Fixed a problem where ASL include files could not be found and
14329 opened.
14330
14331 Added support for the _PDC reserved name.
14332
14333
14334 ----------------------------------------
14335 22 January 2003.  Summary of changes for version 20030122.
14336
14337
14338 1) ACPI CA Core Subsystem:
14339
14340 Added a check for constructs of the form:  Store (Local0, Local0)
14341 where Local0 is not initialized.  Apparently, some BIOS
14342 programmers believe that this is a NOOP.  Since this store doesn't
14343 do anything anyway, the new prototype behavior will ignore this
14344 error.  This is a case where we can relax the strict checking in
14345 the interpreter in the name of compatibility.
14346
14347
14348 2) Linux
14349
14350 The AcpiSrc Source Conversion Utility has been released with the
14351 Linux package for the first time.  This is the utility that is
14352 used to convert the ACPI CA base source code to the Linux version.
14353
14354 (Both) Handle P_BLK lengths shorter than 6 more gracefully
14355
14356 (Both) Move more headers to include/acpi, and delete an unused
14357 header.
14358
14359 (Both) Move drivers/acpi/include directory to include/acpi
14360
14361 (Both) Boot functions don't use cmdline, so don't pass it around
14362
14363 (Both) Remove include of unused header (Adrian Bunk)
14364
14365 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
14366 the
14367 former now also includes the latter, acpiphp.h only needs the one,
14368 now.
14369
14370 (2.5) Make it possible to select method of bios restoring after S3
14371 resume. [=> no more ugly ifdefs] (Pavel Machek)
14372
14373 (2.5) Make proc write interfaces work (Pavel Machek)
14374
14375 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
14376
14377 (2.5) Break out ACPI Perf code into its own module, under cpufreq
14378 (Dominik Brodowski)
14379
14380 (2.4) S4BIOS support (Ducrot Bruno)
14381
14382 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
14383 Visinoni)
14384
14385
14386 3) iASL Compiler:
14387
14388 Added support to disassemble SSDT and PSDTs.
14389
14390 Implemented support to obtain SSDTs from the Windows registry if
14391 available.
14392
14393
14394 ----------------------------------------
14395 09 January 2003.  Summary of changes for version 20030109.
14396
14397 1) ACPI CA Core Subsystem:
14398
14399 Changed the behavior of the internal Buffer-to-String conversion
14400 function.  The current ACPI specification states that the contents
14401 of the buffer are "converted to a string of two-character
14402 hexadecimal numbers, each separated by a space".  Unfortunately,
14403 this definition is not backwards compatible with existing ACPI 1.0
14404 implementations (although the behavior was not defined in the ACPI
14405 1.0 specification).  The new behavior simply copies data from the
14406 buffer to the string until a null character is found or the end of
14407 the buffer is reached.  The new String object is always null
14408 terminated.  This problem was seen during the generation of _BIF
14409 battery data where incorrect strings were returned for battery
14410 type, etc.  This will also require an errata to the ACPI
14411 specification.
14412
14413 Renamed all instances of NATIVE_UINT and NATIVE_INT to
14414 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
14415
14416 Copyright in all module headers (both Linux and non-Linux) has be
14417 updated to 2003.
14418
14419 Code and Data Size: Current core subsystem library sizes are shown
14420 below.  These are the code and data sizes for the acpica.lib
14421 produced by the Microsoft Visual C++ 6.0 compiler, and these
14422 values do not include any ACPI driver or OSPM code.  The debug
14423 version of the code includes the debug output trace mechanism and
14424 has a much larger code and data size.  Note that these values will
14425 vary depending on the efficiency of the compiler and the compiler
14426 options used during generation.
14427
14428   Previous Release
14429     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14430     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14431   Current Release:
14432     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14433     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14434
14435
14436 2) Linux
14437
14438 Fixed an oops on module insertion/removal (Matthew Tippett)
14439
14440 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
14441
14442 (2.5) Replace pr_debug (Randy Dunlap)
14443
14444 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
14445
14446 (Both) Eliminate spawning of thread from timer callback, in favor
14447 of schedule_work()
14448
14449 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
14450
14451 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
14452
14453 (Both) Add missing statics to button.c (Pavel Machek)
14454
14455 Several changes have been made to the source code translation
14456 utility that generates the Linux Code in order to make the code
14457 more "Linux-like":
14458
14459 All typedefs on structs and unions have been removed in keeping
14460 with the Linux coding style.
14461
14462 Removed the non-Linux SourceSafe module revision number from each
14463 module header.
14464
14465 Completed major overhaul of symbols to be lowercased for linux.
14466 Doubled the number of symbols that are lowercased.
14467
14468 Fixed a problem where identifiers within procedure headers and
14469 within quotes were not fully lower cased (they were left with a
14470 starting capital.)
14471
14472 Some C macros whose only purpose is to allow the generation of 16-
14473 bit code are now completely removed in the Linux code, increasing
14474 readability and maintainability.
14475
14476 ----------------------------------------
14477
14478 12 December 2002.  Summary of changes for version 20021212.
14479
14480
14481 1) ACPI CA Core Subsystem:
14482
14483 Fixed a problem where the creation of a zero-length AML Buffer
14484 would cause a fault.
14485
14486 Fixed a problem where a Buffer object that pointed to a static AML
14487 buffer (in an ACPI table) could inadvertently be deleted, causing
14488 memory corruption.
14489
14490 Fixed a problem where a user buffer (passed in to the external
14491 ACPI CA interfaces) could be overwritten if the buffer was too
14492 small to complete the operation, causing memory corruption.
14493
14494 Fixed a problem in the Buffer-to-String conversion code where a
14495 string of length one was always returned, regardless of the size
14496 of the input Buffer object.
14497
14498 Removed the NATIVE_CHAR data type across the entire source due to
14499 lack of need and lack of consistent use.
14500
14501 Code and Data Size: Current core subsystem library sizes are shown
14502 below.  These are the code and data sizes for the acpica.lib
14503 produced by the Microsoft Visual C++ 6.0 compiler, and these
14504 values do not include any ACPI driver or OSPM code.  The debug
14505 version of the code includes the debug output trace mechanism and
14506 has a much larger code and data size.  Note that these values will
14507 vary depending on the efficiency of the compiler and the compiler
14508 options used during generation.
14509
14510   Previous Release
14511     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14512     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14513   Current Release:
14514     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14515     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14516
14517
14518 ----------------------------------------
14519 05 December 2002.  Summary of changes for version 20021205.
14520
14521 1) ACPI CA Core Subsystem:
14522
14523 Fixed a problem where a store to a String or Buffer object could
14524 cause corruption of the DSDT if the object type being stored was
14525 the same as the target object type and the length of the object
14526 being stored was equal to or smaller than the original (existing)
14527 target object.  This was seen to cause corruption of battery _BIF
14528 buffers if the _BIF method modified the buffer on the fly.
14529
14530 Fixed a problem where an internal error was generated if a control
14531 method invocation was used in an OperationRegion, Buffer, or
14532 Package declaration.  This was caused by the deferred parsing of
14533 the control method and thus the deferred creation of the internal
14534 method object.  The solution to this problem was to create the
14535 internal method object at the moment the method is encountered in
14536 the first pass - so that subsequent references to the method will
14537 able to obtain the required parameter count and thus properly
14538 parse the method invocation.  This problem presented itself as an
14539 AE_AML_INTERNAL during the pass 1 parse phase during table load.
14540
14541 Fixed a problem where the internal String object copy routine did
14542 not always allocate sufficient memory for the target String object
14543 and caused memory corruption.  This problem was seen to cause
14544 "Allocation already present in list!" errors as memory allocation
14545 became corrupted.
14546
14547 Implemented a new function for the evaluation of namespace objects
14548 that allows the specification of the allowable return object
14549 types.  This simplifies a lot of code that checks for a return
14550 object of one or more specific objects returned from the
14551 evaluation (such as _STA, etc.)  This may become and external
14552 function if it would be useful to ACPI-related drivers.
14553
14554 Completed another round of prefixing #defines with "ACPI_" for
14555 clarity.
14556
14557 Completed additional code restructuring to allow more modular
14558 linking for iASL compiler and AcpiExec.  Several files were split
14559 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
14560
14561 Implemented an abort mechanism to terminate an executing control
14562 method via the AML debugger.  This feature is useful for debugging
14563 control methods that depend (wait) for specific hardware
14564 responses.
14565
14566 Code and Data Size: Current core subsystem library sizes are shown
14567 below.  These are the code and data sizes for the acpica.lib
14568 produced by the Microsoft Visual C++ 6.0 compiler, and these
14569 values do not include any ACPI driver or OSPM code.  The debug
14570 version of the code includes the debug output trace mechanism and
14571 has a much larger code and data size.  Note that these values will
14572 vary depending on the efficiency of the compiler and the compiler
14573 options used during generation.
14574
14575   Previous Release
14576     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14577     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14578   Current Release:
14579     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14580     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14581
14582
14583 2) iASL Compiler/Disassembler
14584
14585 Fixed a compiler code generation problem for "Interrupt" Resource
14586 Descriptors.  If specified in the ASL, the optional "Resource
14587 Source Index" and "Resource Source" fields were not inserted into
14588 the correct location within the AML resource descriptor, creating
14589 an invalid descriptor.
14590
14591 Fixed a disassembler problem for "Interrupt" resource descriptors.
14592 The optional "Resource Source Index" and "Resource Source" fields
14593 were ignored.
14594
14595
14596 ----------------------------------------
14597 22 November 2002.  Summary of changes for version 20021122.
14598
14599
14600 1) ACPI CA Core Subsystem:
14601
14602 Fixed a reported problem where an object stored to a Method Local
14603 or Arg was not copied to a new object during the store - the
14604 object pointer was simply copied to the Local/Arg.  This caused
14605 all subsequent operations on the Local/Arg to also affect the
14606 original source of the store operation.
14607
14608 Fixed a problem where a store operation to a Method Local or Arg
14609 was not completed properly if the Local/Arg contained a reference
14610 (from RefOf) to a named field.  The general-purpose store-to-
14611 namespace-node code is now used so that this case is handled
14612 automatically.
14613
14614 Fixed a problem where the internal object copy routine would cause
14615 a protection fault if the object being copied was a Package and
14616 contained either 1) a NULL package element or 2) a nested sub-
14617 package.
14618
14619 Fixed a problem with the GPE initialization that resulted from an
14620 ambiguity in the ACPI specification.  One section of the
14621 specification states that both the address and length of the GPE
14622 block must be zero if the block is not supported.  Another section
14623 implies that only the address need be zero if the block is not
14624 supported.  The code has been changed so that both the address and
14625 the length must be non-zero to indicate a valid GPE block (i.e.,
14626 if either the address or the length is zero, the GPE block is
14627 invalid.)
14628
14629 Code and Data Size: Current core subsystem library sizes are shown
14630 below.  These are the code and data sizes for the acpica.lib
14631 produced by the Microsoft Visual C++ 6.0 compiler, and these
14632 values do not include any ACPI driver or OSPM code.  The debug
14633 version of the code includes the debug output trace mechanism and
14634 has a much larger code and data size.  Note that these values will
14635 vary depending on the efficiency of the compiler and the compiler
14636 options used during generation.
14637
14638   Previous Release
14639     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14640     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14641   Current Release:
14642     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14643     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14644
14645
14646 2) Linux
14647
14648 Cleaned up EC driver. Exported an external EC read/write
14649 interface. By going through this, other drivers (most notably
14650 sonypi) will be able to serialize access to the EC.
14651
14652
14653 3) iASL Compiler/Disassembler
14654
14655 Implemented support to optionally generate include files for both
14656 ASM and C (the -i switch).  This simplifies BIOS development by
14657 automatically creating include files that contain external
14658 declarations for the symbols that are created within the
14659
14660 (optionally generated) ASM and C AML source files.
14661
14662
14663 ----------------------------------------
14664 15 November 2002.  Summary of changes for version 20021115.
14665
14666 1) ACPI CA Core Subsystem:
14667
14668 Fixed a memory leak problem where an error during resolution of
14669
14670 method arguments during a method invocation from another method
14671 failed to cleanup properly by deleting all successfully resolved
14672 argument objects.
14673
14674 Fixed a problem where the target of the Index() operator was not
14675 correctly constructed if the source object was a package.  This
14676 problem has not been detected because the use of a target operand
14677 with Index() is very rare.
14678
14679 Fixed a problem with the Index() operator where an attempt was
14680 made to delete the operand objects twice.
14681
14682 Fixed a problem where an attempt was made to delete an operand
14683 twice during execution of the CondRefOf() operator if the target
14684 did not exist.
14685
14686 Implemented the first of perhaps several internal create object
14687 functions that create and initialize a specific object type.  This
14688 consolidates duplicated code wherever the object is created, thus
14689 shrinking the size of the subsystem.
14690
14691 Implemented improved debug/error messages for errors that occur
14692 during nested method invocations.  All executing method pathnames
14693 are displayed (with the error) as the call stack is unwound - thus
14694 simplifying debug.
14695
14696 Fixed a problem introduced in the 10/02 release that caused
14697 premature deletion of a buffer object if a buffer was used as an
14698 ASL operand where an integer operand is required (Thus causing an
14699 implicit object conversion from Buffer to Integer.)  The change in
14700 the 10/02 release was attempting to fix a memory leak (albeit
14701 incorrectly.)
14702
14703 Code and Data Size: Current core subsystem library sizes are shown
14704 below.  These are the code and data sizes for the acpica.lib
14705 produced by the Microsoft Visual C++ 6.0 compiler, and these
14706 values do not include any ACPI driver or OSPM code.  The debug
14707 version of the code includes the debug output trace mechanism and
14708 has a much larger code and data size.  Note that these values will
14709 vary depending on the efficiency of the compiler and the compiler
14710 options used during generation.
14711
14712   Previous Release
14713     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14714     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14715   Current Release:
14716     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14717     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14718
14719
14720 2) Linux
14721
14722 Changed the implementation of the ACPI semaphores to use down()
14723 instead of down_interruptable().  It is important that the
14724 execution of ACPI control methods not be interrupted by signals.
14725 Methods must run to completion, or the system may be left in an
14726 unknown/unstable state.
14727
14728 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
14729 (Shawn Starr)
14730
14731
14732 3) iASL Compiler/Disassembler
14733
14734
14735 Changed the default location of output files.  All output files
14736 are now placed in the current directory by default instead of in
14737 the directory of the source file.  This change may affect some
14738 existing makefiles, but it brings the behavior of the compiler in
14739 line with other similar tools.  The location of the output files
14740 can be overridden with the -p command line switch.
14741
14742
14743 ----------------------------------------
14744 11 November 2002.  Summary of changes for version 20021111.
14745
14746
14747 0) ACPI Specification 2.0B is released and is now available at:
14748 http://www.acpi.info/index.html
14749
14750
14751 1) ACPI CA Core Subsystem:
14752
14753 Implemented support for the ACPI 2.0 SMBus Operation Regions.
14754 This includes the early detection and handoff of the request to
14755 the SMBus region handler (avoiding all of the complex field
14756 support code), and support for the bidirectional return packet
14757 from an SMBus write operation.  This paves the way for the
14758 development of SMBus drivers in each host operating system.
14759
14760 Fixed a problem where the semaphore WAIT_FOREVER constant was
14761 defined as 32 bits, but must be 16 bits according to the ACPI
14762 specification.  This had the side effect of causing ASL
14763 Mutex/Event timeouts even though the ASL code requested a wait
14764 forever.  Changed all internal references to the ACPI timeout
14765 parameter to 16 bits to prevent future problems.  Changed the name
14766 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
14767
14768 Code and Data Size: Current core subsystem library sizes are shown
14769 below.  These are the code and data sizes for the acpica.lib
14770 produced by the Microsoft Visual C++ 6.0 compiler, and these
14771 values do not include any ACPI driver or OSPM code.  The debug
14772 version of the code includes the debug output trace mechanism and
14773 has a much larger code and data size.  Note that these values will
14774 vary depending on the efficiency of the compiler and the compiler
14775 options used during generation.
14776
14777   Previous Release
14778     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14779     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14780   Current Release:
14781     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14782     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14783
14784
14785 2) Linux
14786
14787 Module loading/unloading fixes (John Cagle)
14788
14789
14790 3) iASL Compiler/Disassembler
14791
14792 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
14793
14794 Implemented support for the disassembly of all SMBus protocol
14795 keywords (SMBQuick, SMBWord, etc.)
14796
14797 ----------------------------------------
14798 01 November 2002.  Summary of changes for version 20021101.
14799
14800
14801 1) ACPI CA Core Subsystem:
14802
14803 Fixed a problem where platforms that have a GPE1 block but no GPE0
14804 block were not handled correctly.  This resulted in a "GPE
14805 overlap" error message.  GPE0 is no longer required.
14806
14807 Removed code added in the previous release that inserted nodes
14808 into the namespace in alphabetical order.  This caused some side-
14809 effects on various machines.  The root cause of the problem is
14810 still under investigation since in theory, the internal ordering
14811 of the namespace nodes should not matter.
14812
14813
14814 Enhanced error reporting for the case where a named object is not
14815 found during control method execution.  The full ACPI namepath
14816 (name reference) of the object that was not found is displayed in
14817 this case.
14818
14819 Note: as a result of the overhaul of the namespace object types in
14820 the previous release, the namespace nodes for the predefined
14821 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
14822 instead of ACPI_TYPE_ANY.  This simplifies the namespace
14823 management code but may affect code that walks the namespace tree
14824 looking for specific object types.
14825
14826 Code and Data Size: Current core subsystem library sizes are shown
14827 below.  These are the code and data sizes for the acpica.lib
14828 produced by the Microsoft Visual C++ 6.0 compiler, and these
14829 values do not include any ACPI driver or OSPM code.  The debug
14830 version of the code includes the debug output trace mechanism and
14831 has a much larger code and data size.  Note that these values will
14832 vary depending on the efficiency of the compiler and the compiler
14833 options used during generation.
14834
14835   Previous Release
14836     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14837     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14838   Current Release:
14839     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14840     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14841
14842
14843 2) Linux
14844
14845 Fixed a problem introduced in the previous release where the
14846 Processor and Thermal objects were not recognized and installed in
14847 /proc.  This was related to the scope type change described above.
14848
14849
14850 3) iASL Compiler/Disassembler
14851
14852 Implemented the -g option to get all of the required ACPI tables
14853 from the registry and save them to files (Windows version of the
14854 compiler only.)  The required tables are the FADT, FACS, and DSDT.
14855
14856 Added ACPI table checksum validation during table disassembly in
14857 order to catch corrupted tables.
14858
14859
14860 ----------------------------------------
14861 22 October 2002.  Summary of changes for version 20021022.
14862
14863 1) ACPI CA Core Subsystem:
14864
14865 Implemented a restriction on the Scope operator that the target
14866 must already exist in the namespace at the time the operator is
14867 encountered (during table load or method execution).  In other
14868 words, forward references are not allowed and Scope() cannot
14869 create a new object. This changes the previous behavior where the
14870 interpreter would create the name if not found.  This new behavior
14871 correctly enables the search-to-root algorithm during namespace
14872 lookup of the target name.  Because of this upsearch, this fixes
14873 the known Compaq _SB_.OKEC problem and makes both the AML
14874 interpreter and iASL compiler compatible with other ACPI
14875 implementations.
14876
14877 Completed a major overhaul of the internal ACPI object types for
14878 the ACPI Namespace and the associated operand objects.  Many of
14879 these types had become obsolete with the introduction of the two-
14880 pass namespace load.  This cleanup simplifies the code and makes
14881 the entire namespace load mechanism much clearer and easier to
14882 understand.
14883
14884 Improved debug output for tracking scope opening/closing to help
14885 diagnose scoping issues.  The old scope name as well as the new
14886 scope name are displayed.  Also improved error messages for
14887 problems with ASL Mutex objects and error messages for GPE
14888 problems.
14889
14890 Cleaned up the namespace dump code, removed obsolete code.
14891
14892 All string output (for all namespace/object dumps) now uses the
14893 common ACPI string output procedure which handles escapes properly
14894 and does not emit non-printable characters.
14895
14896 Fixed some issues with constants in the 64-bit version of the
14897 local C library (utclib.c)
14898
14899
14900 2) Linux
14901
14902 EC Driver:  No longer attempts to acquire the Global Lock at
14903 interrupt level.
14904
14905
14906 3) iASL Compiler/Disassembler
14907
14908 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
14909 2 opcodes outside of a control method.  This means that the
14910 "executable" operators (versus the "namespace" operators) cannot
14911 be used at the table level; they can only be used within a control
14912 method.
14913
14914 Implemented the restriction on the Scope() operator where the
14915 target must already exist in the namespace at the time the
14916 operator is encountered (during ASL compilation). In other words,
14917 forward references are not allowed and Scope() cannot create a new
14918 object.  This makes the iASL compiler compatible with other ACPI
14919 implementations and makes the Scope() implementation adhere to the
14920 ACPI specification.
14921
14922 Fixed a problem where namepath optimization for the Alias operator
14923 was optimizing the wrong path (of the two namepaths.)  This caused
14924 a "Missing alias link" error message.
14925
14926 Fixed a problem where an "unknown reserved name" warning could be
14927 incorrectly generated for names like "_SB" when the trailing
14928 underscore is not used in the original ASL.
14929
14930 Fixed a problem where the reserved name check did not handle
14931 NamePaths with multiple NameSegs correctly.  The first nameseg of
14932 the NamePath was examined instead of the last NameSeg.
14933
14934
14935 ----------------------------------------
14936
14937 02 October 2002.  Summary of changes for this release.
14938
14939
14940 1) ACPI CA Core Subsystem version 20021002:
14941
14942 Fixed a problem where a store/copy of a string to an existing
14943 string did not always set the string length properly in the String
14944 object.
14945
14946 Fixed a reported problem with the ToString operator where the
14947 behavior was identical to the ToHexString operator instead of just
14948 simply converting a raw buffer to a string data type.
14949
14950 Fixed a problem where CopyObject and the other "explicit"
14951 conversion operators were not updating the internal namespace node
14952 type as part of the store operation.
14953
14954 Fixed a memory leak during implicit source operand conversion
14955 where the original object was not deleted if it was converted to a
14956 new object of a different type.
14957
14958 Enhanced error messages for all problems associated with namespace
14959 lookups.  Common procedure generates and prints the lookup name as
14960 well as the formatted status.
14961
14962 Completed implementation of a new design for the Alias support
14963 within the namespace.  The existing design did not handle the case
14964 where a new object was assigned to one of the two names due to the
14965 use of an explicit conversion operator, resulting in the two names
14966 pointing to two different objects.  The new design simply points
14967 the Alias name to the original name node - not to the object.
14968 This results in a level of indirection that must be handled in the
14969 name resolution mechanism.
14970
14971 Code and Data Size: Current core subsystem library sizes are shown
14972 below.  These are the code and data sizes for the acpica.lib
14973 produced by the Microsoft Visual C++ 6.0 compiler, and these
14974 values do not include any ACPI driver or OSPM code.  The debug
14975 version of the code includes the debug output trace mechanism and
14976 has a larger code and data size.  Note that these values will vary
14977 depending on the efficiency of the compiler and the compiler
14978 options used during generation.
14979
14980   Previous Release
14981     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
14982     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
14983   Current Release:
14984     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14985     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14986
14987
14988 2) Linux
14989
14990 Initialize thermal driver's timer before it is used. (Knut
14991 Neumann)
14992
14993 Allow handling negative celsius values. (Kochi Takayoshi)
14994
14995 Fix thermal management and make trip points. R/W (Pavel Machek)
14996
14997 Fix /proc/acpi/sleep. (P. Christeas)
14998
14999 IA64 fixes. (David Mosberger)
15000
15001 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
15002
15003 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
15004 Brodowski)
15005
15006
15007 3) iASL Compiler/Disassembler
15008
15009 Clarified some warning/error messages.
15010
15011
15012 ----------------------------------------
15013 18 September 2002.  Summary of changes for this release.
15014
15015
15016 1) ACPI CA Core Subsystem version 20020918:
15017
15018 Fixed a reported problem with reference chaining (via the Index()
15019 and RefOf() operators) in the ObjectType() and SizeOf() operators.
15020 The definition of these operators includes the dereferencing of
15021 all chained references to return information on the base object.
15022
15023 Fixed a problem with stores to indexed package elements - the
15024 existing code would not complete the store if an "implicit
15025 conversion" was not performed.  In other words, if the existing
15026 object (package element) was to be replaced completely, the code
15027 didn't handle this case.
15028
15029 Relaxed typechecking on the ASL "Scope" operator to allow the
15030 target name to refer to an object of type Integer, String, or
15031 Buffer, in addition to the scoping object types (Device,
15032 predefined Scopes, Processor, PowerResource, and ThermalZone.)
15033 This allows existing AML code that has workarounds for a bug in
15034 Windows to function properly.  A warning is issued, however.  This
15035 affects both the AML interpreter and the iASL compiler. Below is
15036 an example of this type of ASL code:
15037
15038       Name(DEB,0x00)
15039       Scope(DEB)
15040       {
15041
15042 Fixed some reported problems with 64-bit integer support in the
15043 local implementation of C library functions (clib.c)
15044
15045
15046 2) Linux
15047
15048 Use ACPI fix map region instead of IOAPIC region, since it is
15049 undefined in non-SMP.
15050
15051 Ensure that the SCI has the proper polarity and trigger, even on
15052 systems that do not have an interrupt override entry in the MADT.
15053
15054 2.5 big driver reorganization (Pat Mochel)
15055
15056 Use early table mapping code from acpitable.c (Andi Kleen)
15057
15058 New blacklist entries (Andi Kleen)
15059
15060 Blacklist improvements. Split blacklist code out into a separate
15061 file. Move checking the blacklist to very early. Previously, we
15062 would use ACPI tables, and then halfway through init, check the
15063 blacklist -- too late. Now, it's early enough to completely fall-
15064 back to non-ACPI.
15065
15066
15067 3) iASL Compiler/Disassembler version 20020918:
15068
15069 Fixed a problem where the typechecking code didn't know that an
15070 alias could point to a method.  In other words, aliases were not
15071 being dereferenced during typechecking.
15072
15073
15074 ----------------------------------------
15075 29 August 2002.  Summary of changes for this release.
15076
15077 1) ACPI CA Core Subsystem Version 20020829:
15078
15079 If the target of a Scope() operator already exists, it must be an
15080 object type that actually opens a scope -- such as a Device,
15081 Method, Scope, etc.  This is a fatal runtime error.  Similar error
15082 check has been added to the iASL compiler also.
15083
15084 Tightened up the namespace load to disallow multiple names in the
15085 same scope.  This previously was allowed if both objects were of
15086 the same type.  (i.e., a lookup was the same as entering a new
15087 name).
15088
15089
15090 2) Linux
15091
15092 Ensure that the ACPI interrupt has the proper trigger and
15093 polarity.
15094
15095 local_irq_disable is extraneous. (Matthew Wilcox)
15096
15097 Make "acpi=off" actually do what it says, and not use the ACPI
15098 interpreter *or* the tables.
15099
15100 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
15101 Takayoshi)
15102
15103
15104 3) iASL Compiler/Disassembler  Version 20020829:
15105
15106 Implemented namepath optimization for name declarations.  For
15107 example, a declaration like "Method (\_SB_.ABCD)" would get
15108 optimized to "Method (ABCD)" if the declaration is within the
15109 \_SB_ scope.  This optimization is in addition to the named
15110 reference path optimization first released in the previous
15111 version. This would seem to complete all possible optimizations
15112 for namepaths within the ASL/AML.
15113
15114 If the target of a Scope() operator already exists, it must be an
15115 object type that actually opens a scope -- such as a Device,
15116 Method, Scope, etc.
15117
15118 Implemented a check and warning for unreachable code in the same
15119 block below a Return() statement.
15120
15121 Fixed a problem where the listing file was not generated if the
15122 compiler aborted if the maximum error count was exceeded (200).
15123
15124 Fixed a problem where the typechecking of method return values was
15125 broken.  This includes the check for a return value when the
15126 method is invoked as a TermArg (a return value is expected.)
15127
15128 Fixed a reported problem where EOF conditions during a quoted
15129 string or comment caused a fault.
15130
15131
15132 ----------------------------------------
15133 15 August 2002.  Summary of changes for this release.
15134
15135 1) ACPI CA Core Subsystem Version 20020815:
15136
15137 Fixed a reported problem where a Store to a method argument that
15138 contains a reference did not perform the indirect store correctly.
15139 This problem was created during the conversion to the new
15140 reference object model - the indirect store to a method argument
15141 code was not updated to reflect the new model.
15142
15143 Reworked the ACPI mode change code to better conform to ACPI 2.0,
15144 handle corner cases, and improve code legibility (Kochi Takayoshi)
15145
15146 Fixed a problem with the pathname parsing for the carat (^)
15147 prefix.  The heavy use of the carat operator by the new namepath
15148 optimization in the iASL compiler uncovered a problem with the AML
15149 interpreter handling of this prefix.  In the case where one or
15150 more carats precede a single nameseg, the nameseg was treated as
15151 standalone and the search rule (to root) was inadvertently
15152 applied.  This could cause both the iASL compiler and the
15153 interpreter to find the wrong object or to miss the error that
15154 should occur if the object does not exist at that exact pathname.
15155
15156 Found and fixed the problem where the HP Pavilion DSDT would not
15157 load.  This was a relatively minor tweak to the table loading code
15158 (a problem caused by the unexpected encounter with a method
15159 invocation not within a control method), but it does not solve the
15160 overall issue of the execution of AML code at the table level.
15161 This investigation is still ongoing.
15162
15163 Code and Data Size: Current core subsystem library sizes are shown
15164 below.  These are the code and data sizes for the acpica.lib
15165 produced by the Microsoft Visual C++ 6.0 compiler, and these
15166 values do not include any ACPI driver or OSPM code.  The debug
15167 version of the code includes the debug output trace mechanism and
15168 has a larger code and data size.  Note that these values will vary
15169 depending on the efficiency of the compiler and the compiler
15170 options used during generation.
15171
15172   Previous Release
15173     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15174     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15175   Current Release:
15176     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
15177     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
15178
15179
15180 2) Linux
15181
15182 Remove redundant slab.h include (Brad Hards)
15183
15184 Fix several bugs in thermal.c (Herbert Nachtnebel)
15185
15186 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
15187
15188 Change acpi_system_suspend to use updated irq functions (Pavel
15189 Machek)
15190
15191 Export acpi_get_firmware_table (Matthew Wilcox)
15192
15193 Use proper root proc entry for ACPI (Kochi Takayoshi)
15194
15195 Fix early-boot table parsing (Bjorn Helgaas)
15196
15197
15198 3) iASL Compiler/Disassembler
15199
15200 Reworked the compiler options to make them more consistent and to
15201 use two-letter options where appropriate.  We were running out of
15202 sensible letters.   This may break some makefiles, so check the
15203 current options list by invoking the compiler with no parameters.
15204
15205 Completed the design and implementation of the ASL namepath
15206 optimization option for the compiler.  This option optimizes all
15207 references to named objects to the shortest possible path.  The
15208 first attempt tries to utilize a single nameseg (4 characters) and
15209 the "search-to-root" algorithm used by the interpreter.  If that
15210 cannot be used (because either the name is not in the search path
15211 or there is a conflict with another object with the same name),
15212 the pathname is optimized using the carat prefix (usually a
15213 shorter string than specifying the entire path from the root.)
15214
15215 Implemented support to obtain the DSDT from the Windows registry
15216 (when the disassembly option is specified with no input file).
15217 Added this code as the implementation for AcpiOsTableOverride in
15218 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
15219 utility) to scan memory for the DSDT to the AcpiOsTableOverride
15220 function in the DOS OSL to make the disassembler truly OS
15221 independent.
15222
15223 Implemented a new option to disassemble and compile in one step.
15224 When used without an input filename, this option will grab the
15225 DSDT from the local machine, disassemble it, and compile it in one
15226 step.
15227
15228 Added a warning message for invalid escapes (a backslash followed
15229 by any character other than the allowable escapes).  This catches
15230 the quoted string error "\_SB_" (which should be "\\_SB_" ).
15231
15232 Also, there are numerous instances in the ACPI specification where
15233 this error occurs.
15234
15235 Added a compiler option to disable all optimizations.  This is
15236 basically the "compatibility mode" because by using this option,
15237 the AML code will come out exactly the same as other ASL
15238 compilers.
15239
15240 Added error messages for incorrectly ordered dependent resource
15241 functions.  This includes: missing EndDependentFn macro at end of
15242 dependent resource list, nested dependent function macros (both
15243 start and end), and missing StartDependentFn macro.  These are
15244 common errors that should be caught at compile time.
15245
15246 Implemented _OSI support for the disassembler and compiler.  _OSI
15247 must be included in the namespace for proper disassembly (because
15248 the disassembler must know the number of arguments.)
15249
15250 Added an "optimization" message type that is optional (off by
15251 default).  This message is used for all optimizations - including
15252 constant folding, integer optimization, and namepath optimization.
15253
15254 ----------------------------------------
15255 25 July 2002.  Summary of changes for this release.
15256
15257
15258 1) ACPI CA Core Subsystem Version 20020725:
15259
15260 The AML Disassembler has been enhanced to produce compilable ASL
15261 code and has been integrated into the iASL compiler (see below) as
15262 well as the single-step disassembly for the AML debugger and the
15263 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
15264 resource templates and macros are fully supported.  The
15265 disassembler has been tested on over 30 different AML files,
15266 producing identical AML when the resulting disassembled ASL file
15267 is recompiled with the same ASL compiler.
15268
15269 Modified the Resource Manager to allow zero interrupts and zero
15270 dma channels during the GetCurrentResources call.  This was
15271 causing problems on some platforms.
15272
15273 Added the AcpiOsRedirectOutput interface to the OSL to simplify
15274 output redirection for the AcpiOsPrintf and AcpiOsVprintf
15275 interfaces.
15276
15277 Code and Data Size: Current core subsystem library sizes are shown
15278 below.  These are the code and data sizes for the acpica.lib
15279 produced by the Microsoft Visual C++ 6.0 compiler, and these
15280 values do not include any ACPI driver or OSPM code.  The debug
15281 version of the code includes the debug output trace mechanism and
15282 has a larger code and data size.  Note that these values will vary
15283 depending on the efficiency of the compiler and the compiler
15284 options used during generation.
15285
15286   Previous Release
15287     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15288     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15289   Current Release:
15290     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15291     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15292
15293
15294 2) Linux
15295
15296 Fixed a panic in the EC driver (Dominik Brodowski)
15297
15298 Implemented checksum of the R/XSDT itself during Linux table scan
15299 (Richard Schaal)
15300
15301
15302 3) iASL compiler
15303
15304 The AML disassembler is integrated into the compiler.  The "-d"
15305 option invokes the disassembler  to completely disassemble an
15306 input AML file, producing as output a text ASL file with the
15307 extension ".dsl" (to avoid name collisions with existing .asl
15308 source files.)  A future enhancement will allow the disassembler
15309 to obtain the BIOS DSDT from the registry under Windows.
15310
15311 Fixed a problem with the VendorShort and VendorLong resource
15312 descriptors where an invalid AML sequence was created.
15313
15314 Implemented a fix for BufferData term in the ASL parser.  It was
15315 inadvertently defined twice, allowing invalid syntax to pass and
15316 causing reduction conflicts.
15317
15318 Fixed a problem where the Ones opcode could get converted to a
15319 value of zero if "Ones" was used where a byte, word or dword value
15320 was expected.  The 64-bit value is now truncated to the correct
15321 size with the correct value.
15322
15323
15324
15325 ----------------------------------------
15326 02 July 2002.  Summary of changes for this release.
15327
15328
15329 1) ACPI CA Core Subsystem Version 20020702:
15330
15331 The Table Manager code has been restructured to add several new
15332 features.  Tables that are not required by the core subsystem
15333 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
15334 validated in any way and are returned from AcpiGetFirmwareTable if
15335 requested.  The AcpiOsTableOverride interface is now called for
15336 each table that is loaded by the subsystem in order to allow the
15337 host to override any table it chooses.  Previously, only the DSDT
15338 could be overridden.  Added one new files, tbrsdt.c and
15339 tbgetall.c.
15340
15341 Fixed a problem with the conversion of internal package objects to
15342 external objects (when a package is returned from a control
15343 method.)  The return buffer length was set to zero instead of the
15344 proper length of the package object.
15345
15346 Fixed a reported problem with the use of the RefOf and DeRefOf
15347 operators when passing reference arguments to control methods.  A
15348 new type of Reference object is used internally for references
15349 produced by the RefOf operator.
15350
15351 Added additional error messages in the Resource Manager to explain
15352 AE_BAD_DATA errors when they occur during resource parsing.
15353
15354 Split the AcpiEnableSubsystem into two primitives to enable a
15355 finer granularity initialization sequence.  These two calls should
15356 be called in this order: AcpiEnableSubsystem (flags),
15357 AcpiInitializeObjects (flags).  The flags parameter remains the
15358 same.
15359
15360
15361 2) Linux
15362
15363 Updated the ACPI utilities module to understand the new style of
15364 fully resolved package objects that are now returned from the core
15365 subsystem.  This eliminates errors of the form:
15366
15367     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
15368     acpi_utils-0430 [145] acpi_evaluate_reference:
15369         Invalid element in package (not a device reference)
15370
15371 The method evaluation utility uses the new buffer allocation
15372 scheme instead of calling AcpiEvaluate Object twice.
15373
15374 Added support for ECDT. This allows the use of the Embedded
15375
15376 Controller before the namespace has been fully initialized, which
15377 is necessary for ACPI 2.0 support, and for some laptops to
15378 initialize properly. (Laptops using ECDT are still rare, so only
15379 limited testing was performed of the added functionality.)
15380
15381 Fixed memory leaks in the EC driver.
15382
15383 Eliminated a brittle code structure in acpi_bus_init().
15384
15385 Eliminated the acpi_evaluate() helper function in utils.c. It is
15386 no longer needed since acpi_evaluate_object can optionally
15387 allocate memory for the return object.
15388
15389 Implemented fix for keyboard hang when getting battery readings on
15390 some systems (Stephen White)
15391
15392 PCI IRQ routing update (Dominik Brodowski)
15393
15394 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
15395 support
15396
15397 ----------------------------------------
15398 11 June 2002.  Summary of changes for this release.
15399
15400
15401 1) ACPI CA Core Subsystem Version 20020611:
15402
15403 Fixed a reported problem where constants such as Zero and One
15404 appearing within _PRT packages were not handled correctly within
15405 the resource manager code.  Originally reported against the ASL
15406 compiler because the code generator now optimizes integers to
15407 their minimal AML representation (i.e. AML constants if possible.)
15408 The _PRT code now handles all AML constant opcodes correctly
15409 (Zero, One, Ones, Revision).
15410
15411 Fixed a problem with the Concatenate operator in the AML
15412 interpreter where a buffer result object was incorrectly marked as
15413 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
15414
15415 All package sub-objects are now fully resolved before they are
15416 returned from the external ACPI interfaces.  This means that name
15417 strings are resolved to object handles, and constant operators
15418 (Zero, One, Ones, Revision) are resolved to Integers.
15419
15420 Implemented immediate resolution of the AML Constant opcodes
15421 (Zero, One, Ones, Revision) to Integer objects upon detection
15422 within the AML stream. This has simplified and reduced the
15423 generated code size of the subsystem by eliminating about 10
15424 switch statements for these constants (which previously were
15425 contained in Reference objects.)  The complicating issues are that
15426 the Zero opcode is used as a "placeholder" for unspecified
15427 optional target operands and stores to constants are defined to be
15428 no-ops.
15429
15430 Code and Data Size: Current core subsystem library sizes are shown
15431 below. These are the code and data sizes for the acpica.lib
15432 produced by the Microsoft Visual C++ 6.0 compiler, and these
15433 values do not include any ACPI driver or OSPM code.  The debug
15434 version of the code includes the debug output trace mechanism and
15435 has a larger code and data size.  Note that these values will vary
15436 depending on the efficiency of the compiler and the compiler
15437 options used during generation.
15438
15439   Previous Release
15440     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15441     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15442   Current Release:
15443     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15444     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15445
15446
15447 2) Linux
15448
15449
15450 Added preliminary support for obtaining _TRA data for PCI root
15451 bridges (Bjorn Helgaas).
15452
15453
15454 3) iASL Compiler Version X2046:
15455
15456 Fixed a problem where the "_DDN" reserved name was defined to be a
15457 control method with one argument.  There are no arguments, and
15458 _DDN does not have to be a control method.
15459
15460 Fixed a problem with the Linux version of the compiler where the
15461 source lines printed with error messages were the wrong lines.
15462 This turned out to be the "LF versus CR/LF" difference between
15463 Windows and Unix.  This appears to be the longstanding issue
15464 concerning listing output and error messages.
15465
15466 Fixed a problem with the Linux version of compiler where opcode
15467 names within error messages were wrong.  This was caused by a
15468 slight difference in the output of the Flex tool on Linux versus
15469 Windows.
15470
15471 Fixed a problem with the Linux compiler where the hex output files
15472 contained some garbage data caused by an internal buffer overrun.
15473
15474
15475 ----------------------------------------
15476 17 May 2002.  Summary of changes for this release.
15477
15478
15479 1) ACPI CA Core Subsystem Version 20020517:
15480
15481 Implemented a workaround to an BIOS bug discovered on the HP
15482 OmniBook where the FADT revision number and the table size are
15483 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
15484 behavior is to fallback to using only the ACPI 1.0 fields of the
15485 FADT if the table is too small to be a ACPI 2.0 table as claimed
15486 by the revision number.  Although this is a BIOS bug, this is a
15487 case where the workaround is simple enough and with no side
15488 effects, so it seemed prudent to add it.  A warning message is
15489 issued, however.
15490
15491 Implemented minimum size checks for the fixed-length ACPI tables -
15492 - the FADT and FACS, as well as consistency checks between the
15493 revision number and the table size.
15494
15495 Fixed a reported problem in the table override support where the
15496 new table pointer was incorrectly treated as a physical address
15497 instead of a logical address.
15498
15499 Eliminated the use of the AE_AML_ERROR exception and replaced it
15500 with more descriptive codes.
15501
15502 Fixed a problem where an exception would occur if an ASL Field was
15503 defined with no named Field Units underneath it (used by some
15504 index fields).
15505
15506 Code and Data Size: Current core subsystem library sizes are shown
15507 below.  These are the code and data sizes for the acpica.lib
15508 produced by the Microsoft Visual C++ 6.0 compiler, and these
15509 values do not include any ACPI driver or OSPM code.  The debug
15510 version of the code includes the debug output trace mechanism and
15511 has a larger code and data size.  Note that these values will vary
15512 depending on the efficiency of the compiler and the compiler
15513 options used during generation.
15514
15515   Previous Release
15516     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15517     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15518   Current Release:
15519     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15520     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15521
15522
15523
15524 2) Linux
15525
15526 Much work done on ACPI init (MADT and PCI IRQ routing support).
15527 (Paul D. and Dominik Brodowski)
15528
15529 Fix PCI IRQ-related panic on boot (Sam Revitch)
15530
15531 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
15532
15533 Fix "MHz" typo (Dominik Brodowski)
15534
15535 Fix RTC year 2000 issue (Dominik Brodowski)
15536
15537 Preclude multiple button proc entries (Eric Brunet)
15538
15539 Moved arch-specific code out of include/platform/aclinux.h
15540
15541 3) iASL Compiler Version X2044:
15542
15543 Implemented error checking for the string used in the EISAID macro
15544 (Usually used in the definition of the _HID object.)  The code now
15545 strictly enforces the PnP format - exactly 7 characters, 3
15546 uppercase letters and 4 hex digits.
15547
15548 If a raw string is used in the definition of the _HID object
15549 (instead of the EISAID macro), the string must contain all
15550 alphanumeric characters (e.g., "*PNP0011" is not allowed because
15551 of the asterisk.)
15552
15553 Implemented checking for invalid use of ACPI reserved names for
15554 most of the name creation operators (Name, Device, Event, Mutex,
15555 OperationRegion, PowerResource, Processor, and ThermalZone.)
15556 Previously, this check was only performed for control methods.
15557
15558 Implemented an additional check on the Name operator to emit an
15559 error if a reserved name that must be implemented in ASL as a
15560 control method is used.  We know that a reserved name must be a
15561 method if it is defined with input arguments.
15562
15563 The warning emitted when a namespace object reference is not found
15564 during the cross reference phase has been changed into an error.
15565 The "External" directive should be used for names defined in other
15566 modules.
15567
15568
15569 4) Tools and Utilities
15570
15571 The 16-bit tools (adump16 and aexec16) have been regenerated and
15572 tested.
15573
15574 Fixed a problem with the output of both acpidump and adump16 where
15575 the indentation of closing parentheses and brackets was not
15576
15577 aligned properly with the parent block.
15578
15579
15580 ----------------------------------------
15581 03 May 2002.  Summary of changes for this release.
15582
15583
15584 1) ACPI CA Core Subsystem Version 20020503:
15585
15586 Added support a new OSL interface that allows the host operating
15587
15588 system software to override the DSDT found in the firmware -
15589 AcpiOsTableOverride.  With this interface, the OSL can examine the
15590 version of the firmware DSDT and replace it with a different one
15591 if desired.
15592
15593 Added new external interfaces for accessing ACPI registers from
15594 device drivers and other system software - AcpiGetRegister and
15595 AcpiSetRegister.  This was simply an externalization of the
15596 existing AcpiHwBitRegister interfaces.
15597
15598 Fixed a regression introduced in the previous build where the
15599 ASL/AML CreateField operator always returned an error,
15600 "destination must be a NS Node".
15601
15602 Extended the maximum time (before failure) to successfully enable
15603 ACPI mode to 3 seconds.
15604
15605 Code and Data Size: Current core subsystem library sizes are shown
15606 below.  These are the code and data sizes for the acpica.lib
15607 produced by the Microsoft Visual C++ 6.0 compiler, and these
15608 values do not include any ACPI driver or OSPM code.  The debug
15609 version of the code includes the debug output trace mechanism and
15610 has a larger code and data size.  Note that these values will vary
15611 depending on the efficiency of the compiler and the compiler
15612 options used during generation.
15613
15614   Previous Release
15615     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15616     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15617   Current Release:
15618     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15619     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15620
15621
15622 2) Linux
15623
15624 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
15625 free. While 3 out of 4 of our in-house systems work fine, the last
15626 one still hangs when testing the LAPIC timer.
15627
15628 Renamed many files in 2.5 kernel release to omit "acpi_" from the
15629 name.
15630
15631 Added warning on boot for Presario 711FR.
15632
15633 Sleep improvements (Pavel Machek)
15634
15635 ACPI can now be built without CONFIG_PCI enabled.
15636
15637 IA64: Fixed memory map functions (JI Lee)
15638
15639
15640 3) iASL Compiler Version X2043:
15641
15642 Added support to allow the compiler to be integrated into the MS
15643 VC++ development environment for one-button compilation of single
15644 files or entire projects -- with error-to-source-line mapping.
15645
15646 Implemented support for compile-time constant folding for the
15647 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
15648 specification.  This allows the ASL writer to use expressions
15649 instead of Integer/Buffer/String constants in terms that must
15650 evaluate to constants at compile time and will also simplify the
15651 emitted AML in any such sub-expressions that can be folded
15652 (evaluated at compile-time.)  This increases the size of the
15653 compiler significantly because a portion of the ACPI CA AML
15654 interpreter is included within the compiler in order to pre-
15655 evaluate constant expressions.
15656
15657
15658 Fixed a problem with the "Unicode" ASL macro that caused the
15659 compiler to fault.  (This macro is used in conjunction with the
15660 _STR reserved name.)
15661
15662 Implemented an AML opcode optimization to use the Zero, One, and
15663 Ones opcodes where possible to further reduce the size of integer
15664 constants and thus reduce the overall size of the generated AML
15665 code.
15666
15667 Implemented error checking for new reserved terms for ACPI version
15668 2.0A.
15669
15670 Implemented the -qr option to display the current list of ACPI
15671 reserved names known to the compiler.
15672
15673 Implemented the -qc option to display the current list of ASL
15674 operators that are allowed within constant expressions and can
15675 therefore be folded at compile time if the operands are constants.
15676
15677
15678 4) Documentation
15679
15680 Updated the Programmer's Reference for new interfaces, data types,
15681 and memory allocation model options.
15682
15683 Updated the iASL Compiler User Reference to apply new format and
15684 add information about new features and options.
15685
15686 ----------------------------------------
15687 19 April 2002.  Summary of changes for this release.
15688
15689 1) ACPI CA Core Subsystem Version 20020419:
15690
15691 The source code base for the Core Subsystem has been completely
15692 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
15693 versions.  The Lint option files used are included in the
15694 /acpi/generate/lint directory.
15695
15696 Implemented enhanced status/error checking across the entire
15697 Hardware manager subsystem.  Any hardware errors (reported from
15698 the OSL) are now bubbled up and will abort a running control
15699 method.
15700
15701
15702 Fixed a problem where the per-ACPI-table integer width (32 or 64)
15703 was stored only with control method nodes, causing a fault when
15704 non-control method code was executed during table loading.  The
15705 solution implemented uses a global variable to indicate table
15706 width across the entire ACPI subsystem.  Therefore, ACPI CA does
15707 not support mixed integer widths across different ACPI tables
15708 (DSDT, SSDT).
15709
15710 Fixed a problem where NULL extended fields (X fields) in an ACPI
15711 2.0 ACPI FADT caused the table load to fail.  Although the
15712 existing ACPI specification is a bit fuzzy on this topic, the new
15713 behavior is to fall back on a ACPI 1.0 field if the corresponding
15714 ACPI 2.0 X field is zero (even though the table revision indicates
15715 a full ACPI 2.0 table.)  The ACPI specification will be updated to
15716 clarify this issue.
15717
15718 Fixed a problem with the SystemMemory operation region handler
15719 where memory was always accessed byte-wise even if the AML-
15720 specified access width was larger than a byte.  This caused
15721 problems on systems with memory-mapped I/O.  Memory is now
15722 accessed with the width specified.  On systems that do not support
15723 non-aligned transfers, a check is made to guarantee proper address
15724 alignment before proceeding in order to avoid an AML-caused
15725 alignment fault within the kernel.
15726
15727
15728 Fixed a problem with the ExtendedIrq resource where only one byte
15729 of the 4-byte Irq field was extracted.
15730
15731 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
15732 function was out of date and required a rewrite.
15733
15734 Code and Data Size: Current core subsystem library sizes are shown
15735 below.  These are the code and data sizes for the acpica.lib
15736 produced by the Microsoft Visual C++ 6.0 compiler, and these
15737 values do not include any ACPI driver or OSPM code.  The debug
15738 version of the code includes the debug output trace mechanism and
15739 has a larger code and data size.  Note that these values will vary
15740 depending on the efficiency of the compiler and the compiler
15741 options used during generation.
15742
15743   Previous Release
15744     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15745     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15746   Current Release:
15747     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15748     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15749
15750
15751 2) Linux
15752
15753 PCI IRQ routing fixes (Dominik Brodowski)
15754
15755
15756 3) iASL Compiler Version X2042:
15757
15758 Implemented an additional compile-time error check for a field
15759 unit whose size + minimum access width would cause a run-time
15760 access beyond the end-of-region.  Previously, only the field size
15761 itself was checked.
15762
15763 The Core subsystem and iASL compiler now share a common parse
15764 object in preparation for compile-time evaluation of the type
15765 3/4/5 ASL operators.
15766
15767
15768 ----------------------------------------
15769 Summary of changes for this release: 03_29_02
15770
15771 1) ACPI CA Core Subsystem Version 20020329:
15772
15773 Implemented support for late evaluation of TermArg operands to
15774 Buffer and Package objects.  This allows complex expressions to be
15775 used in the declarations of these object types.
15776
15777 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
15778 1.0, if the field was larger than 32 bits, it was returned as a
15779 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
15780 the field is returned as a buffer only if the field is larger than
15781 64 bits.  The TableRevision is now considered when making this
15782 conversion to avoid incompatibility with existing ASL code.
15783
15784 Implemented logical addressing for AcpiOsGetRootPointer.  This
15785 allows an RSDP with either a logical or physical address.  With
15786 this support, the host OS can now override all ACPI tables with
15787 one logical RSDP.  Includes implementation of  "typed" pointer
15788 support to allow a common data type for both physical and logical
15789 pointers internally.  This required a change to the
15790 AcpiOsGetRootPointer interface.
15791
15792 Implemented the use of ACPI 2.0 Generic Address Structures for all
15793 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
15794 mapped I/O for these ACPI features.
15795
15796 Initialization now ignores not only non-required tables (All
15797 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
15798 not validate the table headers of unrecognized tables.
15799
15800 Fixed a problem where a notify handler could only be
15801 installed/removed on an object of type Device.  All "notify"
15802
15803 objects are now supported -- Devices, Processor, Power, and
15804 Thermal.
15805
15806 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
15807 critical information is returned when this debug level is enabled.
15808
15809 Code and Data Size: Current core subsystem library sizes are shown
15810 below.  These are the code and data sizes for the acpica.lib
15811 produced by the Microsoft Visual C++ 6.0 compiler, and these
15812 values do not include any ACPI driver or OSPM code.  The debug
15813 version of the code includes the debug output trace mechanism and
15814 has a larger code and data size.  Note that these values will vary
15815 depending on the efficiency of the compiler and the compiler
15816 options used during generation.
15817
15818   Previous Release
15819     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
15820     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
15821   Current Release:
15822     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15823     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15824
15825
15826 2) Linux:
15827
15828 The processor driver (acpi_processor.c) now fully supports ACPI
15829 2.0-based processor performance control (e.g. Intel(R)
15830 SpeedStep(TM) technology) Note that older laptops that only have
15831 the Intel "applet" interface are not supported through this.  The
15832 'limit' and 'performance' interface (/proc) are fully functional.
15833 [Note that basic policy for controlling performance state
15834 transitions will be included in the next version of ospmd.]  The
15835 idle handler was modified to more aggressively use C2, and PIIX4
15836 errata handling underwent a complete overhaul (big thanks to
15837 Dominik Brodowski).
15838
15839 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
15840 based devices in the ACPI namespace are now dynamically bound
15841 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
15842 This allows, among other things, ACPI to resolve bus numbers for
15843 subordinate PCI bridges.
15844
15845 Enhanced PCI IRQ routing to get the proper bus number for _PRT
15846 entries defined underneath PCI bridges.
15847
15848 Added IBM 600E to bad bios list due to invalid _ADR value for
15849 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
15850
15851 In the process of adding full MADT support (e.g. IOAPIC) for IA32
15852 (acpi.c, mpparse.c) -- stay tuned.
15853
15854 Added back visual differentiation between fixed-feature and
15855 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
15856 button/power/PWRF) to simplify button identification.
15857
15858 We no longer use -Wno-unused when compiling debug. Please ignore
15859 any "_THIS_MODULE defined but not used" messages.
15860
15861 Can now shut down the system using "magic sysrq" key.
15862
15863
15864 3) iASL Compiler version 2041:
15865
15866 Fixed a problem where conversion errors for hex/octal/decimal
15867 constants were not reported.
15868
15869 Implemented a fix for the General Register template Address field.
15870 This field was 8 bits when it should be 64.
15871
15872 Fixed a problem where errors/warnings were no longer being emitted
15873 within the listing output file.
15874
15875 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
15876 exactly 4 characters, alphanumeric only.
15877
15878
15879
15880
15881 ----------------------------------------
15882 Summary of changes for this release: 03_08_02
15883
15884
15885 1) ACPI CA Core Subsystem Version 20020308:
15886
15887 Fixed a problem with AML Fields where the use of the "AccessAny"
15888 keyword could cause an interpreter error due to attempting to read
15889 or write beyond the end of the parent Operation Region.
15890
15891 Fixed a problem in the SystemMemory Operation Region handler where
15892 an attempt was made to map memory beyond the end of the region.
15893 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
15894 errors on some Linux systems.
15895
15896 Fixed a problem where the interpreter/namespace "search to root"
15897 algorithm was not functioning for some object types.  Relaxed the
15898 internal restriction on the search to allow upsearches for all
15899 external object types as well as most internal types.
15900
15901
15902 2) Linux:
15903
15904 We now use safe_halt() macro versus individual calls to sti | hlt.
15905
15906 Writing to the processor limit interface should now work. "echo 1"
15907 will increase the limit, 2 will decrease, and 0 will reset to the
15908
15909 default.
15910
15911
15912 3) ASL compiler:
15913
15914 Fixed segfault on Linux version.
15915
15916
15917 ----------------------------------------
15918 Summary of changes for this release: 02_25_02
15919
15920 1) ACPI CA Core Subsystem:
15921
15922
15923 Fixed a problem where the GPE bit masks were not initialized
15924 properly, causing erratic GPE behavior.
15925
15926 Implemented limited support for multiple calling conventions.  The
15927 code can be generated with either the VPL (variable parameter
15928 list, or "C") convention, or the FPL (fixed parameter list, or
15929 "Pascal") convention.  The core subsystem is about 3.4% smaller
15930 when generated with FPL.
15931
15932
15933 2) Linux
15934
15935 Re-add some /proc/acpi/event functionality that was lost during
15936 the rewrite
15937
15938 Resolved issue with /proc events for fixed-feature buttons showing
15939 up as the system device.
15940
15941 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
15942
15943 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
15944
15945 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
15946
15947 Fixed limit interface & usage to fix bugs with passive cooling
15948 hysterisis.
15949
15950 Restructured PRT support.
15951
15952
15953 ----------------------------------------
15954 Summary of changes for this label: 02_14_02
15955
15956
15957 1) ACPI CA Core Subsystem:
15958
15959 Implemented support in AcpiLoadTable to allow loading of FACS and
15960 FADT tables.
15961
15962 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
15963 been removed.  All 64-bit platforms should be migrated to the ACPI
15964 2.0 tables.  The actbl71.h header has been removed from the source
15965 tree.
15966
15967 All C macros defined within the subsystem have been prefixed with
15968 "ACPI_" to avoid collision with other system include files.
15969
15970 Removed the return value for the two AcpiOsPrint interfaces, since
15971 it is never used and causes lint warnings for ignoring the return
15972 value.
15973
15974 Added error checking to all internal mutex acquire and release
15975 calls.  Although a failure from one of these interfaces is
15976 probably a fatal system error, these checks will cause the
15977 immediate abort of the currently executing method or interface.
15978
15979 Fixed a problem where the AcpiSetCurrentResources interface could
15980 fault.  This was a side effect of the deployment of the new memory
15981 allocation model.
15982
15983 Fixed a couple of problems with the Global Lock support introduced
15984 in the last major build.  The "common" (1.0/2.0) internal FACS was
15985 being overwritten with the FACS signature and clobbering the
15986 Global Lock pointer.  Also, the actual firmware FACS was being
15987 unmapped after construction of the "common" FACS, preventing
15988 access to the actual Global Lock field within it.  The "common"
15989 internal FACS is no longer installed as an actual ACPI table; it
15990 is used simply as a global.
15991
15992 Code and Data Size: Current core subsystem library sizes are shown
15993 below.  These are the code and data sizes for the acpica.lib
15994 produced by the Microsoft Visual C++ 6.0 compiler, and these
15995 values do not include any ACPI driver or OSPM code.  The debug
15996 version of the code includes the debug output trace mechanism and
15997 has a larger code and data size.  Note that these values will vary
15998 depending on the efficiency of the compiler and the compiler
15999 options used during generation.
16000
16001   Previous Release (02_07_01)
16002     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16003     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16004   Current Release:
16005     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
16006     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
16007
16008
16009 2) Linux
16010
16011 Updated Linux-specific code for core macro and OSL interface
16012 changes described above.
16013
16014 Improved /proc/acpi/event. It now can be opened only once and has
16015 proper poll functionality.
16016
16017 Fixed and restructured power management (acpi_bus).
16018
16019 Only create /proc "view by type" when devices of that class exist.
16020
16021 Fixed "charging/discharging" bug (and others) in acpi_battery.
16022
16023 Improved thermal zone code.
16024
16025
16026 3) ASL Compiler, version X2039:
16027
16028
16029 Implemented the new compiler restriction on ASL String hex/octal
16030 escapes to non-null, ASCII values.  An error results if an invalid
16031 value is used.  (This will require an ACPI 2.0 specification
16032 change.)
16033
16034 AML object labels that are output to the optional C and ASM source
16035 are now prefixed with both the ACPI table signature and table ID
16036 to help guarantee uniqueness within a large BIOS project.
16037
16038
16039 ----------------------------------------
16040 Summary of changes for this label: 02_01_02
16041
16042 1) ACPI CA Core Subsystem:
16043
16044 ACPI 2.0 support is complete in the entire Core Subsystem and the
16045 ASL compiler. All new ACPI 2.0 operators are implemented and all
16046 other changes for ACPI 2.0 support are complete.  With
16047 simultaneous code and data optimizations throughout the subsystem,
16048 ACPI 2.0 support has been implemented with almost no additional
16049 cost in terms of code and data size.
16050
16051 Implemented a new mechanism for allocation of return buffers.  If
16052 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
16053 be allocated on behalf of the caller.  Consolidated all return
16054 buffer validation and allocation to a common procedure.  Return
16055 buffers will be allocated via the primary OSL allocation interface
16056 since it appears that a separate pool is not needed by most users.
16057 If a separate pool is required for these buffers, the caller can
16058 still use the original mechanism and pre-allocate the buffer(s).
16059
16060 Implemented support for string operands within the DerefOf
16061 operator.
16062
16063 Restructured the Hardware and Event managers to be table driven,
16064 simplifying the source code and reducing the amount of generated
16065 code.
16066
16067 Split the common read/write low-level ACPI register bitfield
16068 procedure into a separate read and write, simplifying the code
16069 considerably.
16070
16071 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
16072 used only a handful of times and didn't have enough critical mass
16073 for a separate interface.  Replaced with a common calloc procedure
16074 in the core.
16075
16076 Fixed a reported problem with the GPE number mapping mechanism
16077 that allows GPE1 numbers to be non-contiguous with GPE0.
16078 Reorganized the GPE information and shrunk a large array that was
16079 originally large enough to hold info for all possible GPEs (256)
16080 to simply large enough to hold all GPEs up to the largest GPE
16081 number on the machine.
16082
16083 Fixed a reported problem with resource structure alignment on 64-
16084 bit platforms.
16085
16086 Changed the AcpiEnableEvent and AcpiDisableEvent external
16087 interfaces to not require any flags for the common case of
16088 enabling/disabling a GPE.
16089
16090 Implemented support to allow a "Notify" on a Processor object.
16091
16092 Most TBDs in comments within the source code have been resolved
16093 and eliminated.
16094
16095
16096 Fixed a problem in the interpreter where a standalone parent
16097 prefix (^) was not handled correctly in the interpreter and
16098 debugger.
16099
16100 Removed obsolete and unnecessary GPE save/restore code.
16101
16102 Implemented Field support in the ASL Load operator.  This allows a
16103 table to be loaded from a named field, in addition to loading a
16104 table directly from an Operation Region.
16105
16106 Implemented timeout and handle support in the external Global Lock
16107 interfaces.
16108
16109 Fixed a problem in the AcpiDump utility where pathnames were no
16110 longer being generated correctly during the dump of named objects.
16111
16112 Modified the AML debugger to give a full display of if/while
16113 predicates instead of just one AML opcode at a time.  (The
16114 predicate can have several nested ASL statements.)  The old method
16115 was confusing during single stepping.
16116
16117 Code and Data Size: Current core subsystem library sizes are shown
16118 below. These are the code and data sizes for the acpica.lib
16119 produced by the Microsoft Visual C++ 6.0 compiler, and these
16120 values do not include any ACPI driver or OSPM code.  The debug
16121 version of the code includes the debug output trace mechanism and
16122 has a larger code and data size.  Note that these values will vary
16123 depending on the efficiency of the compiler and the compiler
16124 options used during generation.
16125
16126   Previous Release (12_18_01)
16127      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16128      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16129    Current Release:
16130      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
16131      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
16132
16133 2) Linux
16134
16135  Implemented fix for PIIX reverse throttling errata (Processor
16136 driver)
16137
16138 Added new Limit interface (Processor and Thermal drivers)
16139
16140 New thermal policy (Thermal driver)
16141
16142 Many updates to /proc
16143
16144 Battery "low" event support (Battery driver)
16145
16146 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
16147
16148 IA32 - IA64 initialization unification, no longer experimental
16149
16150 Menuconfig options redesigned
16151
16152 3) ASL Compiler, version X2037:
16153
16154 Implemented several new output features to simplify integration of
16155 AML code into  firmware: 1) Output the AML in C source code with
16156 labels for each named ASL object.  The    original ASL source code
16157 is interleaved as C comments. 2) Output the AML in ASM source code
16158 with labels and interleaved ASL    source. 3) Output the AML in
16159 raw hex table form, in either C or ASM.
16160
16161 Implemented support for optional string parameters to the
16162 LoadTable operator.
16163
16164 Completed support for embedded escape sequences within string
16165 literals.  The compiler now supports all single character escapes
16166 as well as the Octal and Hex escapes.  Note: the insertion of a
16167 null byte into a string literal (via the hex/octal escape) causes
16168 the string to be immediately terminated.  A warning is issued.
16169
16170 Fixed a problem where incorrect AML was generated for the case
16171 where an ASL namepath consists of a single parent prefix (
16172
16173 ) with no trailing name segments.
16174
16175 The compiler has been successfully generated with a 64-bit C
16176 compiler.
16177
16178
16179
16180
16181 ----------------------------------------
16182 Summary of changes for this label: 12_18_01
16183
16184 1) Linux
16185
16186 Enhanced blacklist with reason and severity fields. Any table's
16187 signature may now be used to identify a blacklisted system.
16188
16189 Call _PIC control method to inform the firmware which interrupt
16190 model the OS is using. Turn on any disabled link devices.
16191
16192 Cleaned up busmgr /proc error handling (Andreas Dilger)
16193
16194  2) ACPI CA Core Subsystem:
16195
16196 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
16197 while loop)
16198
16199 Completed implementation of the ACPI 2.0 "Continue",
16200 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
16201 operators.  All new ACPI 2.0 operators are now implemented in both
16202 the ASL compiler and the AML interpreter.  The only remaining ACPI
16203 2.0 task is support for the String data type in the DerefOf
16204 operator.  Fixed a problem with AcquireMutex where the status code
16205 was lost if the caller had to actually wait for the mutex.
16206
16207 Increased the maximum ASL Field size from 64K bits to 4G bits.
16208
16209 Completed implementation of the external Global Lock interfaces --
16210 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
16211 Handler parameters were added.
16212
16213 Completed another pass at removing warnings and issues when
16214 compiling with 64-bit compilers.  The code now compiles cleanly
16215 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
16216 add and subtract (diff) macros have changed considerably.
16217
16218
16219 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
16220 64-bit platforms, 32-bits on all others.  This type is used
16221 wherever memory allocation and/or the C sizeof() operator is used,
16222 and affects the OSL memory allocation interfaces AcpiOsAllocate
16223 and AcpiOsCallocate.
16224
16225 Implemented sticky user breakpoints in the AML debugger.
16226
16227 Code and Data Size: Current core subsystem library sizes are shown
16228 below. These are the code and data sizes for the acpica.lib
16229 produced by the Microsoft Visual C++ 6.0 compiler, and these
16230 values do not include any ACPI driver or OSPM code.  The debug
16231 version of the code includes the debug output trace mechanism and
16232 has a larger code and data size. Note that these values will vary
16233 depending on the efficiency of the compiler and the compiler
16234 options used during generation.
16235
16236   Previous Release (12_05_01)
16237      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16238      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16239    Current Release:
16240      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16241      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16242
16243  3) ASL Compiler, version X2034:
16244
16245 Now checks for (and generates an error if detected) the use of a
16246 Break or Continue statement without an enclosing While statement.
16247
16248
16249 Successfully generated the compiler with the Intel 64-bit C
16250 compiler.
16251
16252  ----------------------------------------
16253 Summary of changes for this label: 12_05_01
16254
16255  1) ACPI CA Core Subsystem:
16256
16257 The ACPI 2.0 CopyObject operator is fully implemented.  This
16258 operator creates a new copy of an object (and is also used to
16259 bypass the "implicit conversion" mechanism of the Store operator.)
16260
16261 The ACPI 2.0 semantics for the SizeOf operator are fully
16262 implemented.  The change is that performing a SizeOf on a
16263 reference object causes an automatic dereference of the object to
16264 tha actual value before the size is evaluated. This behavior was
16265 undefined in ACPI 1.0.
16266
16267 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
16268 have been implemented.  The interrupt polarity and mode are now
16269 independently set.
16270
16271 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
16272 appearing in Package objects were not properly converted to
16273 integers when the internal Package was converted to an external
16274 object (via the AcpiEvaluateObject interface.)
16275
16276 Fixed a problem with the namespace object deletion mechanism for
16277 objects created by control methods.  There were two parts to this
16278 problem: 1) Objects created during the initialization phase method
16279 parse were not being deleted, and 2) The object owner ID mechanism
16280 to track objects was broken.
16281
16282 Fixed a problem where the use of the ASL Scope operator within a
16283 control method would result in an invalid opcode exception.
16284
16285 Fixed a problem introduced in the previous label where the buffer
16286 length required for the _PRT structure was not being returned
16287 correctly.
16288
16289 Code and Data Size: Current core subsystem library sizes are shown
16290 below. These are the code and data sizes for the acpica.lib
16291 produced by the Microsoft Visual C++ 6.0 compiler, and these
16292 values do not include any ACPI driver or OSPM code.  The debug
16293 version of the code includes the debug output trace mechanism and
16294 has a larger code and data size.  Note that these values will vary
16295 depending on the efficiency of the compiler and the compiler
16296 options used during generation.
16297
16298   Previous Release (11_20_01)
16299      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16300      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16301
16302   Current Release:
16303      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16304      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16305
16306  2) Linux:
16307
16308 Updated all files to apply cleanly against 2.4.16.
16309
16310 Added basic PCI Interrupt Routing Table (PRT) support for IA32
16311 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
16312 version supports both static and dyanmic PRT entries, but dynamic
16313 entries are treated as if they were static (not yet
16314 reconfigurable).  Architecture- specific code to use this data is
16315 absent on IA32 but should be available shortly.
16316
16317 Changed the initialization sequence to start the ACPI interpreter
16318 (acpi_init) prior to initialization of the PCI driver (pci_init)
16319 in init/main.c.  This ordering is required to support PRT and
16320 facilitate other (future) enhancement.  A side effect is that the
16321 ACPI bus driver and certain device drivers can no longer be loaded
16322 as modules.
16323
16324 Modified the 'make menuconfig' options to allow PCI Interrupt
16325 Routing support to be included without the ACPI Bus and other
16326 device drivers.
16327
16328  3) ASL Compiler, version X2033:
16329
16330 Fixed some issues with the use of the new CopyObject and
16331 DataTableRegion operators.  Both are fully functional.
16332
16333  ----------------------------------------
16334 Summary of changes for this label: 11_20_01
16335
16336  20 November 2001.  Summary of changes for this release.
16337
16338  1) ACPI CA Core Subsystem:
16339
16340 Updated Index support to match ACPI 2.0 semantics.  Storing a
16341 Integer, String, or Buffer to an Index of a Buffer will store only
16342 the least-significant byte of the source to the Indexed buffer
16343 byte.  Multiple writes are not performed.
16344
16345 Fixed a problem where the access type used in an AccessAs ASL
16346 operator was not recorded correctly into the field object.
16347
16348 Fixed a problem where ASL Event objects were created in a
16349 signalled state. Events are now created in an unsignalled state.
16350
16351 The internal object cache is now purged after table loading and
16352 initialization to reduce the use of dynamic kernel memory -- on
16353 the assumption that object use is greatest during the parse phase
16354 of the entire table (versus the run-time use of individual control
16355 methods.)
16356
16357 ACPI 2.0 variable-length packages are now fully operational.
16358
16359 Code and Data Size: Code and Data optimizations have permitted new
16360 feature development with an actual reduction in the library size.
16361 Current core subsystem library sizes are shown below.  These are
16362 the code and data sizes for the acpica.lib produced by the
16363 Microsoft Visual C++ 6.0 compiler, and these values do not include
16364 any ACPI driver or OSPM code.  The debug version of the code
16365 includes the debug output trace mechanism and has a larger code
16366 and data size.  Note that these values will vary depending on the
16367 efficiency of the compiler and the compiler options used during
16368 generation.
16369
16370   Previous Release (11_09_01):
16371      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16372      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16373
16374   Current Release:
16375      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16376      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16377
16378  2) Linux:
16379
16380 Enhanced the ACPI boot-time initialization code to allow the use
16381 of Local APIC tables for processor enumeration on IA-32, and to
16382 pave the way for a fully MPS-free boot (on SMP systems) in the
16383 near future.  This functionality replaces
16384 arch/i386/kernel/acpitables.c, which was introduced in an earlier
16385 2.4.15-preX release.  To enable this feature you must add
16386 "acpi_boot=on" to the kernel command line -- see the help entry
16387 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
16388 the works...
16389
16390 Restructured the configuration options to allow boot-time table
16391 parsing support without inclusion of the ACPI Interpreter (and
16392 other) code.
16393
16394 NOTE: This release does not include fixes for the reported events,
16395 power-down, and thermal passive cooling issues (coming soon).
16396
16397  3) ASL Compiler:
16398
16399 Added additional typechecking for Fields within restricted access
16400 Operation Regions.  All fields within EC and CMOS regions must be
16401 declared with ByteAcc. All fields withing SMBus regions must be
16402 declared with the BufferAcc access type.
16403
16404 Fixed a problem where the listing file output of control methods
16405 no longer interleaved the actual AML code with the ASL source
16406 code.
16407
16408
16409
16410
16411 ----------------------------------------
16412 Summary of changes for this label: 11_09_01
16413
16414 1) ACPI CA Core Subsystem:
16415
16416 Implemented ACPI 2.0-defined support for writes to fields with a
16417 Buffer, String, or Integer source operand that is smaller than the
16418 target field. In these cases, the source operand is zero-extended
16419 to fill the target field.
16420
16421 Fixed a problem where a Field starting bit offset (within the
16422 parent operation region) was calculated incorrectly if the
16423
16424 alignment of the field differed from the access width.  This
16425 affected CreateWordField, CreateDwordField, CreateQwordField, and
16426 possibly other fields that use the "AccessAny" keyword.
16427
16428 Fixed a problem introduced in the 11_02_01 release where indirect
16429 stores through method arguments did not operate correctly.
16430
16431 2) Linux:
16432
16433 Implemented boot-time ACPI table parsing support
16434 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
16435 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
16436 legacy BIOS interfaces (e.g. MPS) for the configuration of system
16437 processors, memory, and interrupts during setup_arch().  Note that
16438 this patch does not include the required architecture-specific
16439 changes required to apply this information -- subsequent patches
16440 will be posted for both IA32 and IA64 to achieve this.
16441
16442 Added low-level sleep support for IA32 platforms, courtesy of Pat
16443 Mochel. This allows IA32 systems to transition to/from various
16444 sleeping states (e.g. S1, S3), although the lack of a centralized
16445 driver model and power-manageable drivers will prevent its
16446 (successful) use on most systems.
16447
16448 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
16449 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
16450 tables" option, etc.
16451
16452 Increased the default timeout for the EC driver from 1ms to 10ms
16453 (1000 cycles of 10us) to try to address AE_TIME errors during EC
16454 transactions.
16455
16456  ----------------------------------------
16457 Summary of changes for this label: 11_02_01
16458
16459 1) ACPI CA Core Subsystem:
16460
16461 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
16462 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
16463 implemented.
16464
16465 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
16466 changes to support ACPI 2.0 Qword field access.  Read/Write
16467 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
16468 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
16469 the value parameter for the address space handler interface is now
16470 an ACPI_INTEGER.  OSL implementations of these interfaces must now
16471 handle the case where the Width parameter is 64.
16472
16473 Index Fields: Fixed a problem where unaligned bit assembly and
16474 disassembly for IndexFields was not supported correctly.
16475
16476 Index and Bank Fields:  Nested Index and Bank Fields are now
16477 supported. During field access, a check is performed to ensure
16478 that the value written to an Index or Bank register is not out of
16479 the range of the register.  The Index (or Bank) register is
16480 written before each access to the field data. Future support will
16481 include allowing individual IndexFields to be wider than the
16482 DataRegister width.
16483
16484 Fields: Fixed a problem where the AML interpreter was incorrectly
16485 attempting to write beyond the end of a Field/OpRegion.  This was
16486 a boundary case that occurred when a DWORD field was written to a
16487 BYTE access OpRegion, forcing multiple writes and causing the
16488 interpreter to write one datum too many.
16489
16490 Fields: Fixed a problem with Field/OpRegion access where the
16491 starting bit address of a field was incorrectly calculated if the
16492 current access type was wider than a byte (WordAcc, DwordAcc, or
16493 QwordAcc).
16494
16495 Fields: Fixed a problem where forward references to individual
16496 FieldUnits (individual Field names within a Field definition) were
16497 not resolved during the AML table load.
16498
16499 Fields: Fixed a problem where forward references from a Field
16500 definition to the parent Operation Region definition were not
16501 resolved during the AML table load.
16502
16503 Fields: Duplicate FieldUnit names within a scope are now detected
16504 during AML table load.
16505
16506 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
16507 returned an incorrect name for the root node.
16508
16509 Code and Data Size: Code and Data optimizations have permitted new
16510 feature development with an actual reduction in the library size.
16511 Current core subsystem library sizes are shown below.  These are
16512 the code and data sizes for the acpica.lib produced by the
16513 Microsoft Visual C++ 6.0 compiler, and these values do not include
16514 any ACPI driver or OSPM code.  The debug version of the code
16515 includes the debug output trace mechanism and has a larger code
16516 and data size.  Note that these values will vary depending on the
16517 efficiency of the compiler and the compiler options used during
16518 generation.
16519
16520   Previous Release (10_18_01):
16521      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16522      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16523
16524   Current Release:
16525      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16526      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16527
16528  2) Linux:
16529
16530 Improved /proc processor output (Pavel Machek) Re-added
16531 MODULE_LICENSE("GPL") to all modules.
16532
16533  3) ASL Compiler version X2030:
16534
16535 Duplicate FieldUnit names within a scope are now detected and
16536 flagged as errors.
16537
16538  4) Documentation:
16539
16540 Programmer Reference updated to reflect OSL and address space
16541 handler interface changes described above.
16542
16543 ----------------------------------------
16544 Summary of changes for this label: 10_18_01
16545
16546 ACPI CA Core Subsystem:
16547
16548 Fixed a problem with the internal object reference count mechanism
16549 that occasionally caused premature object deletion. This resolves
16550 all of the outstanding problem reports where an object is deleted
16551 in the middle of an interpreter evaluation.  Although this problem
16552 only showed up in rather obscure cases, the solution to the
16553 problem involved an adjustment of all reference counts involving
16554 objects attached to namespace nodes.
16555
16556 Fixed a problem with Field support in the interpreter where
16557 writing to an aligned field whose length is an exact multiple (2
16558 or greater) of the field access granularity would cause an attempt
16559 to write beyond the end of the field.
16560
16561 The top level AML opcode execution functions within the
16562 interpreter have been renamed with a more meaningful and
16563 consistent naming convention.  The modules exmonad.c and
16564 exdyadic.c were eliminated.  New modules are exoparg1.c,
16565 exoparg2.c, exoparg3.c, and exoparg6.c.
16566
16567 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
16568
16569 Fixed a problem where the AML debugger was causing some internal
16570 objects to not be deleted during subsystem termination.
16571
16572 Fixed a problem with the external AcpiEvaluateObject interface
16573 where the subsystem would fault if the named object to be
16574 evaluated refered to a constant such as Zero, Ones, etc.
16575
16576 Fixed a problem with IndexFields and BankFields where the
16577 subsystem would fault if the index, data, or bank registers were
16578 not defined in the same scope as the field itself.
16579
16580 Added printf format string checking for compilers that support
16581 this feature.  Corrected more than 50 instances of issues with
16582 format specifiers within invocations of ACPI_DEBUG_PRINT
16583 throughout the core subsystem code.
16584
16585 The ASL "Revision" operator now returns the ACPI support level
16586 implemented in the core - the value "2" since the ACPI 2.0 support
16587 is more than 50% implemented.
16588
16589 Enhanced the output of the AML debugger "dump namespace" command
16590 to output in a more human-readable form.
16591
16592 Current core subsystem library code sizes are shown below.  These
16593
16594 are the code and data sizes for the acpica.lib produced by the
16595 Microsoft Visual C++ 6.0 compiler, and these values do not include
16596 any ACPI driver or OSPM code.  The debug version of the code
16597 includes the full debug trace mechanism -- leading to a much
16598
16599 larger code and data size.  Note that these values will vary
16600 depending on the efficiency of the compiler and the compiler
16601 options used during generation.
16602
16603      Previous Label (09_20_01):
16604      Non-Debug Version:    65K Code,     5K Data,     70K Total
16605      Debug Version:       138K Code,    58K Data,    196K Total
16606
16607      This Label:
16608
16609      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16610      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16611
16612 Linux:
16613
16614 Implemented a "Bad BIOS Blacklist" to track machines that have
16615 known ASL/AML problems.
16616
16617 Enhanced the /proc interface for the thermal zone driver and added
16618 support for _HOT (the critical suspend trip point).  The 'info'
16619 file now includes threshold/policy information, and allows setting
16620 of _SCP (cooling preference) and _TZP (polling frequency) values
16621 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
16622 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
16623 preference to the passive/quiet mode (if supported by the ASL).
16624
16625 Implemented a workaround for a gcc bug that resuted in an OOPs
16626 when loading the control method battery driver.
16627
16628  ----------------------------------------
16629 Summary of changes for this label: 09_20_01
16630
16631  ACPI CA Core Subsystem:
16632
16633 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
16634 modified to allow individual GPE levels to be flagged as wake-
16635 enabled (i.e., these GPEs are to remain enabled when the platform
16636 sleeps.)
16637
16638 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
16639 support wake-enabled GPEs.  This means that upon entering the
16640 sleep state, all GPEs that are not wake-enabled are disabled.
16641 When leaving the sleep state, these GPEs are reenabled.
16642
16643 A local double-precision divide/modulo module has been added to
16644 enhance portability to OS kernels where a 64-bit math library is
16645 not available.  The new module is "utmath.c".
16646
16647 Several optimizations have been made to reduce the use of CPU
16648 stack.  Originally over 2K, the maximum stack usage is now below
16649 2K at 1860  bytes (1.82k)
16650
16651 Fixed a problem with the AcpiGetFirmwareTable interface where the
16652 root table pointer was not mapped into a logical address properly.
16653
16654 Fixed a problem where a NULL pointer was being dereferenced in the
16655 interpreter code for the ASL Notify operator.
16656
16657 Fixed a problem where the use of the ASL Revision operator
16658 returned an error. This operator now returns the current version
16659 of the ACPI CA core subsystem.
16660
16661 Fixed a problem where objects passed as control method parameters
16662 to AcpiEvaluateObject were always deleted at method termination.
16663 However, these objects may end up being stored into the namespace
16664 by the called method.  The object reference count mechanism was
16665 applied to these objects instead of a force delete.
16666
16667 Fixed a problem where static strings or buffers (contained in the
16668 AML code) that are declared as package elements within the ASL
16669 code could cause a fault because the interpreter would attempt to
16670 delete them.  These objects are now marked with the "static
16671 object" flag to prevent any attempt to delete them.
16672
16673 Implemented an interpreter optimization to use operands directly
16674 from the state object instead of extracting the operands to local
16675 variables.  This reduces stack use and code size, and improves
16676 performance.
16677
16678 The module exxface.c was eliminated as it was an unnecessary extra
16679 layer of code.
16680
16681 Current core subsystem library code sizes are shown below.  These
16682 are the code and data sizes for the acpica.lib produced by the
16683 Microsoft Visual C++ 6.0 compiler, and these values do not include
16684 any ACPI driver or OSPM code.  The debug version of the code
16685 includes the full debug trace mechanism -- leading to a much
16686 larger code and data size.  Note that these values will vary
16687 depending on the efficiency of the compiler and the compiler
16688 options used during generation.
16689
16690   Non-Debug Version:  65K Code,   5K Data,   70K Total
16691 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
16692 Total  (Previously 195K)
16693
16694 Linux:
16695
16696 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
16697 Integer objects are now 64 bits wide
16698
16699 All Acpi data types and structures are now in lower case.  Only
16700 Acpi macros are upper case for differentiation.
16701
16702  Documentation:
16703
16704 Changes to the external interfaces as described above.
16705
16706  ----------------------------------------
16707 Summary of changes for this label: 08_31_01
16708
16709  ACPI CA Core Subsystem:
16710
16711 A bug with interpreter implementation of the ASL Divide operator
16712 was found and fixed.  The implicit function return value (not the
16713 explicit store operands) was returning the remainder instead of
16714 the quotient.  This was a longstanding bug and it fixes several
16715 known outstanding issues on various platforms.
16716
16717 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
16718 been further optimized for size.  There are 700 invocations of the
16719 DEBUG_PRINT macro alone, so each optimization reduces the size of
16720 the debug version of the subsystem significantly.
16721
16722 A stack trace mechanism has been implemented.  The maximum stack
16723 usage is about 2K on 32-bit platforms.  The debugger command "stat
16724 stack" will display the current maximum stack usage.
16725
16726 All public symbols and global variables within the subsystem are
16727 now prefixed with the string "Acpi".  This keeps all of the
16728 symbols grouped together in a kernel map, and avoids conflicts
16729 with other kernel subsystems.
16730
16731 Most of the internal fixed lookup tables have been moved into the
16732 code segment via the const operator.
16733
16734 Several enhancements have been made to the interpreter to both
16735 reduce the code size and improve performance.
16736
16737 Current core subsystem library code sizes are shown below.  These
16738 are the code and data sizes for the acpica.lib produced by the
16739 Microsoft Visual C++ 6.0 compiler, and these values do not include
16740 any ACPI driver or OSPM code.  The debug version of the code
16741 includes the full debug trace mechanism which contains over 700
16742 invocations of the DEBUG_PRINT macro, 500 function entry macro
16743 invocations, and over 900 function exit macro invocations --
16744 leading to a much larger code and data size.  Note that these
16745 values will vary depending on the efficiency of the compiler and
16746 the compiler options used during generation.
16747
16748         Non-Debug Version:  64K Code,   5K Data,   69K Total
16749 Debug Version:     137K Code,  58K Data,  195K Total
16750
16751  Linux:
16752
16753 Implemented wbinvd() macro, pending a kernel-wide definition.
16754
16755 Fixed /proc/acpi/event to handle poll() and short reads.
16756
16757  ASL Compiler, version X2026:
16758
16759 Fixed a problem introduced in the previous label where the AML
16760
16761 code emitted for package objects produced packages with zero
16762 length.
16763
16764  ----------------------------------------
16765 Summary of changes for this label: 08_16_01
16766
16767 ACPI CA Core Subsystem:
16768
16769 The following ACPI 2.0 ASL operators have been implemented in the
16770 AML interpreter (These are already supported by the Intel ASL
16771 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
16772 ToBuffer.  Support for 64-bit AML constants is implemented in the
16773 AML parser, debugger, and disassembler.
16774
16775 The internal memory tracking mechanism (leak detection code) has
16776 been upgraded to reduce the memory overhead (a separate tracking
16777 block is no longer allocated for each memory allocation), and now
16778 supports all of the internal object caches.
16779
16780 The data structures and code for the internal object caches have
16781 been coelesced and optimized so that there is a single cache and
16782 memory list data structure and a single group of functions that
16783 implement generic cache management.  This has reduced the code
16784 size in both the debug and release versions of the subsystem.
16785
16786 The DEBUG_PRINT macro(s) have been optimized for size and replaced
16787 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
16788 different, because it generates a single call to an internal
16789 function.  This results in a savings of about 90 bytes per
16790 invocation, resulting in an overall code and data savings of about
16791 16% in the debug version of the subsystem.
16792
16793  Linux:
16794
16795 Fixed C3 disk corruption problems and re-enabled C3 on supporting
16796 machines.
16797
16798 Integrated low-level sleep code by Patrick Mochel.
16799
16800 Further tweaked source code Linuxization.
16801
16802 Other minor fixes.
16803
16804  ASL Compiler:
16805
16806 Support for ACPI 2.0 variable length packages is fixed/completed.
16807
16808 Fixed a problem where the optional length parameter for the ACPI
16809 2.0 ToString operator.
16810
16811 Fixed multiple extraneous error messages when a syntax error is
16812 detected within the declaration line of a control method.
16813
16814  ----------------------------------------
16815 Summary of changes for this label: 07_17_01
16816
16817 ACPI CA Core Subsystem:
16818
16819 Added a new interface named AcpiGetFirmwareTable to obtain any
16820 ACPI table via the ACPI signature.  The interface can be called at
16821 any time during kernel initialization, even before the kernel
16822 virtual memory manager is initialized and paging is enabled.  This
16823 allows kernel subsystems to obtain ACPI tables very early, even
16824 before the ACPI CA subsystem is initialized.
16825
16826 Fixed a problem where Fields defined with the AnyAcc attribute
16827 could be resolved to the incorrect address under the following
16828 conditions: 1) the field width is larger than 8 bits and 2) the
16829 parent operation region is not defined on a DWORD boundary.
16830
16831 Fixed a problem where the interpreter is not being locked during
16832 namespace initialization (during execution of the _INI control
16833 methods), causing an error when an attempt is made to release it
16834 later.
16835
16836 ACPI 2.0 support in the AML Interpreter has begun and will be
16837 ongoing throughout the rest of this year.  In this label, The Mod
16838 operator is implemented.
16839
16840 Added a new data type to contain full PCI addresses named
16841 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
16842 and Function values.
16843
16844  Linux:
16845
16846 Enhanced the Linux version of the source code to change most
16847 capitalized ACPI type names to lowercase. For example, all
16848 instances of ACPI_STATUS are changed to acpi_status.  This will
16849 result in a large diff, but the change is strictly cosmetic and
16850 aligns the CA code closer to the Linux coding standard.
16851
16852 OSL Interfaces:
16853
16854 The interfaces to the PCI configuration space have been changed to
16855 add the PCI Segment number and to split the single 32-bit combined
16856 DeviceFunction field into two 16-bit fields.  This was
16857 accomplished by moving the four values that define an address in
16858 PCI configuration space (segment, bus, device, and function) to
16859 the new ACPI_PCI_ID structure.
16860
16861 The changes to the PCI configuration space interfaces led to a
16862 reexamination of the complete set of address space access
16863 interfaces for PCI, I/O, and Memory.  The previously existing 18
16864 interfaces have proven difficult to maintain (any small change
16865 must be propagated across at least 6 interfaces) and do not easily
16866 allow for future expansion to 64 bits if necessary.  Also, on some
16867 systems, it would not be appropriate to demultiplex the access
16868 width (8, 16, 32,or 64) before calling the OSL if the
16869 corresponding native OS interfaces contain a similar access width
16870 parameter.  For these reasons, the 18 address space interfaces
16871 have been replaced by these 6 new ones:
16872
16873 AcpiOsReadPciConfiguration
16874 AcpiOsWritePciConfiguration
16875 AcpiOsReadMemory
16876 AcpiOsWriteMemory
16877 AcpiOsReadPort
16878 AcpiOsWritePort
16879
16880 Added a new interface named AcpiOsGetRootPointer to allow the OSL
16881 to perform the platform and/or OS-specific actions necessary to
16882 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
16883 interface will simply call down to the CA core to perform the low-
16884 memory search for the table.  On IA-64, the RSDP is obtained from
16885 EFI.  Migrating this interface to the OSL allows the CA core to
16886
16887 remain OS and platform independent.
16888
16889 Added a new interface named AcpiOsSignal to provide a generic
16890 "function code and pointer" interface for various miscellaneous
16891 signals and notifications that must be made to the host OS.   The
16892 first such signals are intended to support the ASL Fatal and
16893 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
16894 interface has been obsoleted.
16895
16896 The definition of the AcpiFormatException interface has been
16897 changed to simplify its use.  The caller no longer must supply a
16898 buffer to the call; A pointer to a const string is now returned
16899 directly.  This allows the call to be easily used in printf
16900 statements, etc. since the caller does not have to manage a local
16901 buffer.
16902
16903
16904  ASL Compiler, Version X2025:
16905
16906 The ACPI 2.0 Switch/Case/Default operators have been implemented
16907 and are fully functional.  They will work with all ACPI 1.0
16908 interpreters, since the operators are simply translated to If/Else
16909 pairs.
16910
16911 The ACPI 2.0 ElseIf operator is implemented and will also work
16912 with 1.0 interpreters, for the same reason.
16913
16914 Implemented support for ACPI 2.0 variable-length packages.  These
16915 packages have a separate opcode, and their size is determined by
16916 the interpreter at run-time.
16917
16918 Documentation The ACPI CA Programmer Reference has been updated to
16919 reflect the new interfaces and changes to existing interfaces.
16920
16921  ------------------------------------------
16922 Summary of changes for this label: 06_15_01
16923
16924  ACPI CA Core Subsystem:
16925
16926 Fixed a problem where a DWORD-accessed field within a Buffer
16927 object would get its byte address inadvertently rounded down to
16928 the nearest DWORD.  Buffers are always Byte-accessible.
16929
16930  ASL Compiler, version X2024:
16931
16932 Fixed a problem where the Switch() operator would either fault or
16933 hang the compiler.  Note however, that the AML code for this ACPI
16934 2.0 operator is not yet implemented.
16935
16936 Compiler uses the new AcpiOsGetTimer interface to obtain compile
16937 timings.
16938
16939 Implementation of the CreateField operator automatically converts
16940 a reference to a named field within a resource descriptor from a
16941 byte offset to a bit offset if required.
16942
16943 Added some missing named fields from the resource descriptor
16944 support. These are the names that are automatically created by the
16945 compiler to reference fields within a descriptor.  They are only
16946 valid at compile time and are not passed through to the AML
16947 interpreter.
16948
16949 Resource descriptor named fields are now typed as Integers and
16950 subject to compile-time typechecking when used in expressions.
16951
16952  ------------------------------------------
16953 Summary of changes for this label: 05_18_01
16954
16955  ACPI CA Core Subsystem:
16956
16957 Fixed a couple of problems in the Field support code where bits
16958 from adjacent fields could be returned along with the proper field
16959 bits. Restructured the field support code to improve performance,
16960 readability and maintainability.
16961
16962 New DEBUG_PRINTP macro automatically inserts the procedure name
16963 into the output, saving hundreds of copies of procedure name
16964 strings within the source, shrinking the memory footprint of the
16965 debug version of the core subsystem.
16966
16967  Source Code Structure:
16968
16969 The source code directory tree was restructured to reflect the
16970 current organization of the component architecture.  Some files
16971 and directories have been moved and/or renamed.
16972
16973  Linux:
16974
16975 Fixed leaking kacpidpc processes.
16976
16977 Fixed queueing event data even when /proc/acpi/event is not
16978 opened.
16979
16980  ASL Compiler, version X2020:
16981
16982 Memory allocation performance enhancement - over 24X compile time
16983 improvement on large ASL files.  Parse nodes and namestring
16984 buffers are now allocated from a large internal compiler buffer.
16985
16986 The temporary .SRC file is deleted unless the "-s" option is
16987 specified
16988
16989 The "-d" debug output option now sends all output to the .DBG file
16990 instead of the console.
16991
16992 "External" second parameter is now optional
16993
16994 "ElseIf" syntax now properly allows the predicate
16995
16996 Last operand to "Load" now recognized as a Target operand
16997
16998 Debug object can now be used anywhere as a normal object.
16999
17000 ResourceTemplate now returns an object of type BUFFER
17001
17002 EISAID now returns an object of type INTEGER
17003
17004 "Index" now works with a STRING operand
17005
17006 "LoadTable" now accepts optional parameters
17007
17008 "ToString" length parameter is now optional
17009
17010 "Interrupt (ResourceType," parse error fixed.
17011
17012 "Register" with a user-defined region space parse error fixed
17013
17014 Escaped backslash at the end of a string ("\\") scan/parse error
17015 fixed
17016
17017 "Revision" is now an object of type INTEGER.
17018
17019
17020
17021 ------------------------------------------
17022 Summary of changes for this label: 05_02_01
17023
17024 Linux:
17025
17026 /proc/acpi/event now blocks properly.
17027
17028 Removed /proc/sys/acpi. You can still dump your DSDT from
17029 /proc/acpi/dsdt.
17030
17031  ACPI CA Core Subsystem:
17032
17033 Fixed a problem introduced in the previous label where some of the
17034 "small" resource descriptor types were not recognized.
17035
17036 Improved error messages for the case where an ASL Field is outside
17037 the range of the parent operation region.
17038
17039  ASL Compiler, version X2018:
17040
17041
17042 Added error detection for ASL Fields that extend beyond the length
17043 of the parent operation region (only if the length of the region
17044 is known at compile time.)  This includes fields that have a
17045 minimum access width that is smaller than the parent region, and
17046 individual field units that are partially or entirely beyond the
17047 extent of the parent.
17048
17049
17050
17051 ------------------------------------------
17052 Summary of changes for this label: 04_27_01
17053
17054  ACPI CA Core Subsystem:
17055
17056 Fixed a problem where the namespace mutex could be released at the
17057 wrong time during execution of AcpiRemoveAddressSpaceHandler.
17058
17059 Added optional thread ID output for debug traces, to simplify
17060 debugging of multiple threads.  Added context switch notification
17061 when the debug code realizes that a different thread is now
17062 executing ACPI code.
17063
17064 Some additional external data types have been prefixed with the
17065 string "ACPI_" for consistency.  This may effect existing code.
17066 The data types affected are the external callback typedefs - e.g.,
17067
17068 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
17069
17070  Linux:
17071
17072 Fixed an issue with the OSL semaphore implementation where a
17073 thread was waking up with an error from receiving a SIGCHLD
17074 signal.
17075
17076 Linux version of ACPI CA now uses the system C library for string
17077 manipulation routines instead of a local implementation.
17078
17079 Cleaned up comments and removed TBDs.
17080
17081  ASL Compiler, version X2017:
17082
17083 Enhanced error detection and reporting for all file I/O
17084 operations.
17085
17086  Documentation:
17087
17088 Programmer Reference updated to version 1.06.
17089
17090
17091
17092 ------------------------------------------
17093 Summary of changes for this label: 04_13_01
17094
17095  ACPI CA Core Subsystem:
17096
17097 Restructured support for BufferFields and RegionFields.
17098 BankFields support is now fully operational.  All known 32-bit
17099 limitations on field sizes have been removed.  Both BufferFields
17100 and (Operation) RegionFields are now supported by the same field
17101 management code.
17102
17103 Resource support now supports QWORD address and IO resources. The
17104 16/32/64 bit address structures and the Extended IRQ structure
17105 have been changed to properly handle Source Resource strings.
17106
17107 A ThreadId of -1 is now used to indicate a "mutex not acquired"
17108 condition internally and must never be returned by AcpiOsThreadId.
17109 This reserved value was changed from 0 since Unix systems allow a
17110 thread ID of 0.
17111
17112 Linux:
17113
17114 Driver code reorganized to enhance portability
17115
17116 Added a kernel configuration option to control ACPI_DEBUG
17117
17118 Fixed the EC driver to honor _GLK.
17119
17120 ASL Compiler, version X2016:
17121
17122 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
17123 address space was set to 0, not 0x7f as it should be.
17124
17125  ------------------------------------------
17126 Summary of changes for this label: 03_13_01
17127
17128  ACPI CA Core Subsystem:
17129
17130 During ACPI initialization, the _SB_._INI method is now run if
17131 present.
17132
17133 Notify handler fix - notifies are deferred until the parent method
17134 completes execution.  This fixes the "mutex already acquired"
17135 issue seen occasionally.
17136
17137 Part of the "implicit conversion" rules in ACPI 2.0 have been
17138 found to cause compatibility problems with existing ASL/AML.  The
17139 convert "result-to-target-type" implementation has been removed
17140 for stores to method Args and Locals.  Source operand conversion
17141 is still fully implemented.  Possible changes to ACPI 2.0
17142 specification pending.
17143
17144 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
17145 length.
17146
17147 Fix for compiler warnings for 64-bit compiles.
17148
17149  Linux:
17150
17151 /proc output aligned for easier parsing.
17152
17153 Release-version compile problem fixed.
17154
17155 New kernel configuration options documented in Configure.help.
17156
17157 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
17158 context" message.
17159
17160  OSPM:
17161
17162 Power resource driver integrated with bus manager.
17163
17164 Fixed kernel fault during active cooling for thermal zones.
17165
17166 Source Code:
17167
17168 The source code tree has been restructured.
17169
17170
17171
17172 ------------------------------------------
17173 Summary of changes for this label: 03_02_01
17174
17175  Linux OS Services Layer (OSL):
17176
17177 Major revision of all Linux-specific code.
17178
17179 Modularized all ACPI-specific drivers.
17180
17181 Added new thermal zone and power resource drivers.
17182
17183 Revamped /proc interface (new functionality is under /proc/acpi).
17184
17185 New kernel configuration options.
17186
17187  Linux known issues:
17188
17189 New kernel configuration options not documented in Configure.help
17190 yet.
17191
17192
17193 Module dependencies not currently implemented. If used, they
17194 should be loaded in this order: busmgr, power, ec, system,
17195 processor, battery, ac_adapter, button, thermal.
17196
17197 Modules will not load if CONFIG_MODVERSION is set.
17198
17199 IBM 600E - entering S5 may reboot instead of shutting down.
17200
17201 IBM 600E - Sleep button may generate "Invalid <NULL> context"
17202 message.
17203
17204 Some systems may fail with "execution mutex already acquired"
17205 message.
17206
17207  ACPI CA Core Subsystem:
17208
17209 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
17210 for the  deadlock detection code. Defined to return a non-zero, 32-
17211 bit thread ID for the currently executing thread.  May be a non-
17212 zero constant integer on single-thread systems.
17213
17214 Implemented deadlock detection for internal subsystem mutexes.  We
17215 may add conditional compilation for this code (debug only) later.
17216
17217 ASL/AML Mutex object semantics are now fully supported.  This
17218 includes multiple acquires/releases by owner and support for the
17219
17220 Mutex SyncLevel parameter.
17221
17222 A new "Force Release" mechanism automatically frees all ASL
17223 Mutexes that have been acquired but not released when a thread
17224 exits the interpreter.  This forces conformance to the ACPI spec
17225 ("All mutexes must be released when an invocation exits") and
17226 prevents deadlocked ASL threads.  This mechanism can be expanded
17227 (later) to monitor other resource acquisitions if OEM ASL code
17228 continues to misbehave (which it will).
17229
17230 Several new ACPI exception codes have been added for the Mutex
17231 support.
17232
17233 Recursive method calls are now allowed and supported (the ACPI
17234 spec does in fact allow recursive method calls.)  The number of
17235 recursive calls is subject to the restrictions imposed by the
17236 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
17237 parameter.
17238
17239 Implemented support for the SyncLevel parameter for control
17240 methods (ACPI 2.0 feature)
17241
17242 Fixed a deadlock problem when multiple threads attempted to use
17243 the interpreter.
17244
17245 Fixed a problem where the string length of a String package
17246 element was not always set in a package returned from
17247 AcpiEvaluateObject.
17248
17249 Fixed a problem where the length of a String package element was
17250 not always included in the length of the overall package returned
17251 from AcpiEvaluateObject.
17252
17253 Added external interfaces (Acpi*) to the ACPI debug memory
17254 manager.  This manager keeps a list of all outstanding
17255 allocations, and can therefore detect memory leaks and attempts to
17256 free memory blocks more than once. Useful for code such as the
17257 power manager, etc.  May not be appropriate for device drivers.
17258 Performance with the debug code enabled is slow.
17259
17260 The ACPI Global Lock is now an optional hardware element.
17261
17262  ASL Compiler Version X2015:
17263
17264 Integrated changes to allow the compiler to be generated on
17265 multiple platforms.
17266
17267 Linux makefile added to generate the compiler on Linux
17268
17269  Source Code:
17270
17271 All platform-specific headers have been moved to their own
17272 subdirectory, Include/Platform.
17273
17274 New source file added, Interpreter/ammutex.c
17275
17276 New header file, Include/acstruct.h
17277
17278  Documentation:
17279
17280 The programmer reference has been updated for the following new
17281 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
17282
17283  ------------------------------------------
17284 Summary of changes for this label: 02_08_01
17285
17286 Core ACPI CA Subsystem: Fixed a problem where an error was
17287 incorrectly returned if the return resource buffer was larger than
17288 the actual data (in the resource interfaces).
17289
17290 References to named objects within packages are resolved to the
17291
17292 full pathname string before packages are returned directly (via
17293 the AcpiEvaluateObject interface) or indirectly via the resource
17294 interfaces.
17295
17296 Linux OS Services Layer (OSL):
17297
17298 Improved /proc battery interface.
17299
17300
17301 Added C-state debugging output and other miscellaneous fixes.
17302
17303 ASL Compiler Version X2014:
17304
17305 All defined method arguments can now be used as local variables,
17306 including the ones that are not actually passed in as parameters.
17307 The compiler tracks initialization of the arguments and issues an
17308 exception if they are used without prior assignment (just like
17309 locals).
17310
17311 The -o option now specifies a filename prefix that is used for all
17312 output files, including the AML output file.  Otherwise, the
17313 default behavior is as follows:  1) the AML goes to the file
17314 specified in the DSDT.  2) all other output files use the input
17315 source filename as the base.
17316
17317  ------------------------------------------
17318 Summary of changes for this label: 01_25_01
17319
17320 Core ACPI CA Subsystem: Restructured the implementation of object
17321 store support within the  interpreter.  This includes support for
17322 the Store operator as well  as any ASL operators that include a
17323 target operand.
17324
17325 Partially implemented support for Implicit Result-to-Target
17326 conversion. This is when a result object is converted on the fly
17327 to the type of  an existing target object.  Completion of this
17328 support is pending  further analysis of the ACPI specification
17329 concerning this matter.
17330
17331 CPU-specific code has been removed from the subsystem (hardware
17332 directory).
17333
17334 New Power Management Timer functions added
17335
17336 Linux OS Services Layer (OSL): Moved system state transition code
17337 to the core, fixed it, and modified  Linux OSL accordingly.
17338
17339 Fixed C2 and C3 latency calculations.
17340
17341
17342 We no longer use the compilation date for the version message on
17343 initialization, but retrieve the version from AcpiGetSystemInfo().
17344
17345 Incorporated for fix Sony VAIO machines.
17346
17347 Documentation:  The Programmer Reference has been updated and
17348 reformatted.
17349
17350
17351 ASL Compiler:  Version X2013: Fixed a problem where the line
17352 numbering and error reporting could get out  of sync in the
17353 presence of multiple include files.
17354
17355  ------------------------------------------
17356 Summary of changes for this label: 01_15_01
17357
17358 Core ACPI CA Subsystem:
17359
17360 Implemented support for type conversions in the execution of the
17361 ASL  Concatenate operator (The second operand is converted to
17362 match the type  of the first operand before concatenation.)
17363
17364 Support for implicit source operand conversion is partially
17365 implemented.   The ASL source operand types Integer, Buffer, and
17366 String are freely  interchangeable for most ASL operators and are
17367 converted by the interpreter  on the fly as required.  Implicit
17368 Target operand conversion (where the  result is converted to the
17369 target type before storing) is not yet implemented.
17370
17371 Support for 32-bit and 64-bit BCD integers is implemented.
17372
17373 Problem fixed where a field read on an aligned field could cause a
17374 read  past the end of the field.
17375
17376 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
17377 does not return a value, but the caller expects one.  (The ASL
17378 compiler flags this as a warning.)
17379
17380 ASL Compiler:
17381
17382 Version X2011:
17383 1. Static typechecking of all operands is implemented. This
17384 prevents the use of invalid objects (such as using a Package where
17385 an Integer is required) at compile time instead of at interpreter
17386 run-time.
17387 2. The ASL source line is printed with ALL errors and warnings.
17388 3. Bug fix for source EOF without final linefeed.
17389 4. Debug option is split into a parse trace and a namespace trace.
17390 5. Namespace output option (-n) includes initial values for
17391 integers and strings.
17392 6. Parse-only option added for quick syntax checking.
17393 7. Compiler checks for duplicate ACPI name declarations
17394
17395 Version X2012:
17396 1. Relaxed typechecking to allow interchangeability between
17397 strings, integers, and buffers.  These types are now converted by
17398 the interpreter at runtime.
17399 2. Compiler reports time taken by each internal subsystem in the
17400 debug         output file.
17401
17402
17403  ------------------------------------------
17404 Summary of changes for this label: 12_14_00
17405
17406 ASL Compiler:
17407
17408 This is the first official release of the compiler. Since the
17409 compiler requires elements of the Core Subsystem, this label
17410 synchronizes everything.
17411
17412 ------------------------------------------
17413 Summary of changes for this label: 12_08_00
17414
17415
17416 Fixed a problem where named references within the ASL definition
17417 of both OperationRegions and CreateXXXFields did not work
17418 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17419 initialization of the region/field. This is similar (but not
17420 related internally) to the problem that was fixed in the last
17421 label.
17422
17423 Implemented both 32-bit and 64-bit support for the BCD ASL
17424 functions ToBCD and FromBCD.
17425
17426 Updated all legal headers to include "2000" in the copyright
17427 years.
17428
17429  ------------------------------------------
17430 Summary of changes for this label: 12_01_00
17431
17432 Fixed a problem where method invocations within the ASL definition
17433 of both OperationRegions and CreateXXXFields did not work
17434 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17435 initialization of the region/field:
17436
17437   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
17438 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
17439 (0x3005)
17440
17441 Fixed a problem where operators with more than one nested
17442 subexpression would fail.  The symptoms were varied, by mostly
17443 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
17444 problem that has gone unnoticed until now.
17445
17446   Subtract (Add (1,2), Multiply (3,4))
17447
17448 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
17449 previous build (The prefix part of a relative path was handled
17450 incorrectly).
17451
17452 Fixed a problem where Operation Region initialization failed if
17453 the operation region name was a "namepath" instead of a simple
17454 "nameseg". Symptom was an AE_NO_OPERAND error.
17455
17456 Fixed a problem where an assignment to a local variable via the
17457 indirect RefOf mechanism only worked for the first such
17458 assignment.  Subsequent assignments were ignored.
17459
17460  ------------------------------------------
17461 Summary of changes for this label: 11_15_00
17462
17463 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
17464 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
17465 the AML  interpreter does NOT have support for the new 2.0 ASL
17466 grammar terms at this time.
17467
17468 All ACPI hardware access is via the GAS structures in the ACPI 2.0
17469 FADT.
17470
17471 All physical memory addresses across all platforms are now 64 bits
17472 wide. Logical address width remains dependent on the platform
17473 (i.e., "void *").
17474
17475 AcpiOsMapMemory interface changed to a 64-bit physical address.
17476
17477 The AML interpreter integer size is now 64 bits, as per the ACPI
17478 2.0 specification.
17479
17480 For backwards compatibility with ACPI 1.0, ACPI tables with a
17481 revision number less than 2 use 32-bit integers only.
17482
17483 Fixed a problem where the evaluation of OpRegion operands did not
17484 always resolve them to numbers properly.
17485
17486 ------------------------------------------
17487 Summary of changes for this label: 10_20_00
17488
17489 Fix for CBN_._STA issue.  This fix will allow correct access to
17490 CBN_ OpRegions when the _STA returns 0x8.
17491
17492 Support to convert ACPI constants (Ones, Zeros, One) to actual
17493 values before a package object is returned
17494
17495 Fix for method call as predicate to if/while construct causing
17496 incorrect if/while behavior
17497
17498 Fix for Else block package lengths sometimes calculated wrong (if
17499 block > 63 bytes)
17500
17501 Fix for Processor object length field, was always zero
17502
17503 Table load abort if FACP sanity check fails
17504
17505 Fix for problem with Scope(name) if name already exists
17506
17507 Warning emitted if a named object referenced cannot be found
17508 (resolved) during method execution.
17509
17510
17511
17512
17513
17514 ------------------------------------------
17515 Summary of changes for this label: 9_29_00
17516
17517 New table initialization interfaces: AcpiInitializeSubsystem no
17518 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
17519 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
17520 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
17521 AcpiLoadTables
17522
17523 Note: These interface changes require changes to all existing OSDs
17524
17525 The PCI_Config default address space handler is always installed
17526 at the root namespace object.
17527
17528 -------------------------------------------
17529 Summary of changes for this label: 09_15_00
17530
17531 The new initialization architecture is implemented.  New
17532 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
17533 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
17534
17535 (Namespace is automatically loaded when a table is loaded)
17536
17537 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
17538 52 bytes to 32 bytes.  There is usually one of these for every
17539 namespace object, so the memory savings is significant.
17540
17541 Implemented just-in-time evaluation of the CreateField operators.
17542
17543 Bug fixes for IA-64 support have been integrated.
17544
17545 Additional code review comments have been implemented
17546
17547 The so-called "third pass parse" has been replaced by a final walk
17548 through the namespace to initialize all operation regions (address
17549 spaces) and fields that have not yet been initialized during the
17550 execution of the various _INI and REG methods.
17551
17552 New file - namespace/nsinit.c
17553
17554 -------------------------------------------
17555 Summary of changes for this label: 09_01_00
17556
17557 Namespace manager data structures have been reworked to change the
17558 primary  object from a table to a single object.  This has
17559 resulted in dynamic memory  savings of 3X within the namespace and
17560 2X overall in the ACPI CA subsystem.
17561
17562 Fixed problem where the call to AcpiEvFindPciRootBuses was
17563 inadvertently left  commented out.
17564
17565 Reduced the warning count when generating the source with the GCC
17566 compiler.
17567
17568 Revision numbers added to each module header showing the
17569 SourceSafe version of the file.  Please refer to this version
17570 number when giving us feedback or comments on individual modules.
17571
17572 The main object types within the subsystem have been renamed to
17573 clarify their  purpose:
17574
17575 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
17576 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
17577 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
17578
17579 NOTE: no changes to the initialization sequence are included in
17580 this label.
17581
17582 -------------------------------------------
17583 Summary of changes for this label: 08_23_00
17584
17585 Fixed problem where TerminateControlMethod was being called
17586 multiple times per  method
17587
17588 Fixed debugger problem where single stepping caused a semaphore to
17589 be  oversignalled
17590
17591 Improved performance through additional parse object caching -
17592 added  ACPI_EXTENDED_OP type
17593
17594 -------------------------------------------
17595 Summary of changes for this label: 08_10_00
17596
17597 Parser/Interpreter integration:  Eliminated the creation of
17598 complete parse trees  for ACPI tables and control methods.
17599 Instead, parse subtrees are created and  then deleted as soon as
17600 they are processed (Either entered into the namespace or  executed
17601 by the interpreter).  This reduces the use of dynamic kernel
17602 memory  significantly. (about 10X)
17603
17604 Exception codes broken into classes and renumbered.  Be sure to
17605 recompile all  code that includes acexcep.h.  Hopefully we won't
17606 have to renumber the codes  again now that they are split into
17607 classes (environment, programmer, AML code,  ACPI table, and
17608 internal).
17609
17610 Fixed some additional alignment issues in the Resource Manager
17611 subcomponent
17612
17613 Implemented semaphore tracking in the AcpiExec utility, and fixed
17614 several places  where mutexes/semaphores were being unlocked
17615 without a corresponding lock  operation.  There are no known
17616 semaphore or mutex "leaks" at this time.
17617
17618 Fixed the case where an ASL Return operator is used to return an
17619 unnamed  package.
17620
17621 -------------------------------------------
17622 Summary of changes for this label: 07_28_00
17623
17624 Fixed a problem with the way addresses were calculated in
17625 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
17626 manifested itself when a Field was  created with WordAccess or
17627 DwordAccess, but the field unit defined within the  Field was less
17628
17629 than a Word or Dword.
17630
17631 Fixed a problem in AmlDumpOperands() module's loop to pull
17632 operands off of the  operand stack to display information. The
17633 problem manifested itself as a TLB  error on 64-bit systems when
17634 accessing an operand stack with two or more  operands.
17635
17636 Fixed a problem with the PCI configuration space handlers where
17637 context was  getting confused between accesses. This required a
17638 change to the generic address  space handler and address space
17639 setup definitions. Handlers now get both a  global handler context
17640 (this is the one passed in by the user when executing
17641 AcpiInstallAddressSpaceHandler() and a specific region context
17642 that is unique to  each region (For example, the _ADR, _SEG and
17643 _BBN values associated with a  specific region). The generic
17644 function definitions have changed to the  following:
17645
17646 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
17647 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
17648 *HandlerContext, // This used to be void *Context void
17649 *RegionContext); // This is an additional parameter
17650
17651 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
17652 RegionHandle, UINT32 Function, void *HandlerContext,  void
17653 **RegionContext); // This used to be **ReturnContext
17654
17655 -------------------------------------------
17656 Summary of changes for this label: 07_21_00
17657
17658 Major file consolidation and rename.  All files within the
17659 interpreter have been  renamed as well as most header files.  This
17660 was done to prevent collisions with  existing files in the host
17661 OSs -- filenames such as "config.h" and "global.h"  seem to be
17662 quite common.  The VC project files have been updated.  All
17663 makefiles  will require modification.
17664
17665 The parser/interpreter integration continues in Phase 5 with the
17666 implementation  of a complete 2-pass parse (the AML is parsed
17667 twice) for each table;  This  avoids the construction of a huge
17668 parse tree and therefore reduces the amount of  dynamic memory
17669 required by the subsystem.  Greater use of the parse object cache
17670 means that performance is unaffected.
17671
17672 Many comments from the two code reviews have been rolled in.
17673
17674 The 64-bit alignment support is complete.
17675
17676 -------------------------------------------
17677 Summary of changes for this label: 06_30_00
17678
17679 With a nod and a tip of the hat to the technology of yesteryear,
17680 we've added  support in the source code for 80 column output
17681 devices.  The code is now mostly  constrained to 80 columns or
17682 less to support environments and editors that 1)  cannot display
17683 or print more than 80 characters on a single line, and 2) cannot
17684 disable line wrapping.
17685
17686 A major restructuring of the namespace data structure has been
17687 completed.  The  result is 1) cleaner and more
17688 understandable/maintainable code, and 2) a  significant reduction
17689 in the dynamic memory requirement for each named ACPI  object
17690 (almost half).
17691
17692 -------------------------------------------
17693 Summary of changes for this label: 06_23_00
17694
17695 Linux support has been added.  In order to obtain approval to get
17696 the ACPI CA  subsystem into the Linux kernel, we've had to make
17697 quite a few changes to the  base subsystem that will affect all
17698 users (all the changes are generic and OS- independent).  The
17699 effects of these global changes have been somewhat far  reaching.
17700 Files have been merged and/or renamed and interfaces have been
17701 renamed.   The major changes are described below.
17702
17703 Osd* interfaces renamed to AcpiOs* to eliminate namespace
17704 pollution/confusion  within our target kernels.  All OSD
17705 interfaces must be modified to match the new  naming convention.
17706
17707 Files merged across the subsystem.  A number of the smaller source
17708 and header  files have been merged to reduce the file count and
17709 increase the density of the  existing files.  There are too many
17710 to list here.  In general, makefiles that  call out individual
17711 files will require rebuilding.
17712
17713 Interpreter files renamed.  All interpreter files now have the
17714 prefix am*  instead of ie* and is*.
17715
17716 Header files renamed:  The acapi.h file is now acpixf.h.  The
17717 acpiosd.h file is  now acpiosxf.h.  We are removing references to
17718 the acronym "API" since it is  somewhat windowsy. The new name is
17719 "external interface" or xface or xf in the  filenames.j
17720
17721
17722 All manifest constants have been forced to upper case (some were
17723 mixed case.)   Also, the string "ACPI_" has been prepended to many
17724 (not all) of the constants,  typedefs, and structs.
17725
17726 The globals "DebugLevel" and "DebugLayer" have been renamed
17727 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
17728
17729 All other globals within the subsystem are now prefixed with
17730 "AcpiGbl_" Internal procedures within the subsystem are now
17731 prefixed with "Acpi" (with only  a few exceptions).  The original
17732 two-letter abbreviation for the subcomponent  remains after "Acpi"
17733 - for example, CmCallocate became AcpiCmCallocate.
17734
17735 Added a source code translation/conversion utility.  Used to
17736 generate the Linux  source code, it can be modified to generate
17737 other types of source as well. Can  also be used to cleanup
17738 existing source by removing extraneous spaces and blank  lines.
17739 Found in tools/acpisrc/*
17740
17741 OsdUnMapMemory was renamed to OsdUnmapMemory and then
17742 AcpiOsUnmapMemory.  (UnMap  became Unmap).
17743
17744 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
17745 When set to  one, this indicates that the caller wants to use the
17746
17747 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
17748 both types.  However, implementers of this  call may want to use
17749 different OS primitives depending on the type of semaphore
17750 requested.  For example, some operating systems provide separate
17751
17752 "mutex" and  "semaphore" interfaces - where the mutex interface is
17753 much faster because it  doesn't have all the overhead of a full
17754 semaphore implementation.
17755
17756 Fixed a deadlock problem where a method that accesses the PCI
17757 address space can  block forever if it is the first access to the
17758 space.
17759
17760 -------------------------------------------
17761 Summary of changes for this label: 06_02_00
17762
17763 Support for environments that cannot handle unaligned data
17764 accesses (e.g.  firmware and OS environments devoid of alignment
17765 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
17766 been added (via configurable macros) in  these three areas: -
17767 Transfer of data from the raw AML byte stream is done via byte
17768 moves instead of    word/dword/qword moves. - External objects are
17769 aligned within the user buffer, including package   elements (sub-
17770 objects). - Conversion of name strings to UINT32 Acpi Names is now
17771 done byte-wise.
17772
17773 The Store operator was modified to mimic Microsoft's
17774 implementation when storing  to a Buffer Field.
17775
17776 Added a check of the BM_STS bit before entering C3.
17777
17778 The methods subdirectory has been obsoleted and removed.  A new
17779 file, cmeval.c  subsumes the functionality.
17780
17781 A 16-bit (DOS) version of AcpiExec has been developed.  The
17782 makefile is under  the acpiexec directory.