xref: /freebsd/sys/contrib/dev/acpica/changes.txt (revision 38069501)
1----------------------------------------
229 September 2017. Summary of changes for version 20170929:
3
4
51) ACPICA kernel-resident subsystem:
6
7Redesigned and implemented an improved ASL While() loop timeout
8mechanism. This mechanism is used to prevent infinite loops in the kernel
9AML interpreter caused by either non-responsive hardware or incorrect AML
10code. The new implementation uses AcpiOsGetTimer instead of a simple
11maximum loop count, and is thus more accurate and constant across
12different machines. The default timeout is currently 30 seconds, but this
13may be adjusted later.
14
15Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to
16better reflect the new implementation of the loop timeout mechanism.
17
18Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support
19and to fix an off-by-one error. Jung-uk Kim.
20
21Fixed an EFI build problem by updating the makefiles to for a new file
22that was added, utstrsuppt.c
23
24
252) iASL Compiler/Disassembler and Tools:
26
27Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This
28includes support in the table disassembler, compiler, and template
29generator.
30
31iASL: Added an exception for an illegal type of recursive method
32invocation. If a method creates named objects, the first recursive call
33will fail at runtime. This change adds an error detection at compile time
34to catch the problem up front. Note: Marking such a method as
35"serialized" will not help with this problem, because the same thread can
36acquire the method mutex more than once. Example compiler and runtime
37output:
38
39    Method (MTH1)
40    {
41        Name (INT1, 1)
42        MTH1 ()
43    }
44
45    dsdt.asl     22: MTH1 ()
46    Error    6152 -  ^ Illegal recursive call to method
47                       that creates named objects (MTH1)
48
49Previous runtime exception:
50    ACPI Error: [INT1] Namespace lookup failure,
51    AE_ALREADY_EXISTS (20170831/dswload2-465)
52
53iASL: Updated support for External() opcodes to improve namespace
54management and error detection. These changes are related to issues seen
55with multiple-segment namespace pathnames within External declarations,
56such as below:
57
58    External(\_SB.PCI0.GFX0, DeviceObj)
59    External(\_SB.PCI0.GFX0.ALSI)
60
61iASL: Implemented support for multi-line error/warning messages. This
62enables more detailed and helpful error messages as below, from the
63initial deployment for the duplicate names error:
64
65    DSDT.iiii   1692:       Device(PEG2) {
66    Error    6074 -                  ^ Name already exists in scope
67(PEG2)
68
69        Original name creation/declaration below:
70        DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
71
72AcpiXtract: Added additional flexibility to support differing input hex
73dump formats. Specifically, hex dumps that contain partial disassembly
74and/or comments within the ACPI table data definition. There exist some
75dump utilities seen in the field that create this type of hex dump (such
76as Simics). For example:
77
78    DSDT @ 0xdfffd0c0 (10999 bytes)
79        Signature DSDT
80        Length 10999
81        Revision 1
82        Checksum 0xf3 (Ok)
83        OEM_ID BXPC
84        OEM_table_id BXDSDT
85        OEM_revision 1
86        Creator_id 1280593481
87        Creator_revision 537399345
88      0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
89      ...
90      2af0: 5f 4c 30 46 00 a4 01
91
92Test suite: Miscellaneous changes/fixes:
93    More cleanup and simplification of makefiles
94    Continue compilation of test cases after a compile failure
95    Do not perform binary compare unless both files actually exist
96
97iASL: Performed some code/module restructuring. Moved all memory
98allocation functions to new modules. Two new files, aslallocate.c and
99aslcache.c
100
101----------------------------------------
10231 August 2017. Summary of changes for version 20170831:
103
104
1051) ACPICA kernel-resident subsystem:
106
107Implemented internal support for full 64-bit addresses that appear in all
108Generic Address Structure (GAS) structures. Previously, only the lower 32
109bits were used. Affects the use of GAS structures in the FADT and other
110tables, as well as the GAS structures passed to the AcpiRead and
111AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
112
113Added header support for the PDTT ACPI table (Processor Debug Trigger
114Table). Full support in the iASL Data Table Compiler and disassembler is
115forthcoming.
116
117
1182) iASL Compiler/Disassembler and Tools:
119
120iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor
121Properties Topology Table) where a flag bit was specified in the wrong
122bit position ("Line Size Valid", bit 6).
123
124iASL: Implemented support for Octal integer constants as defined by the
125ASL language grammar, per the ACPI specification. Any integer constant
126that starts with a zero is an octal constant. For example,
127    Store (037777, Local0) /* Octal constant */
128    Store (0x3FFF, Local0) /* Hex equivalent */
129    Store (16383,  Local0) /* Decimal equivalent */
130
131iASL: Improved overflow detection for 64-bit string conversions during
132compilation of integer constants. "Overflow" in this case means a string
133that represents an integer that is too large to fit into a 64-bit value.
134Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to
135the low-order 32 bits with a warning, as previously implemented. Several
136new exceptions are defined that indicate a 64-bit overflow, as well as
137the base (radix) that was used during the attempted conversion. Examples:
138    Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
139    Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
140    Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
141
142iASL: Added a warning for the case where a ResourceTemplate is declared
143with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In
144this case, the resulting template is created with a single END_TAG
145descriptor, which is essentially useless.
146
147iASL: Expanded the -vw option (ignore specific warnings/remarks) to
148include compilation error codes as well.
149
150----------------------------------------
15128 July 2017. Summary of changes for version 20170728:
152
153
1541) ACPICA kernel-resident subsystem:
155
156Fixed a regression seen with small resource descriptors that could cause
157an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
158
159AML interpreter: Implemented a new feature that allows forward references
160from individual named references within package objects that are
161contained within blocks of "module-level code". This provides
162compatibility with other ACPI implementations and supports existing
163firmware that depends on this feature. Example:
164
165    Name (ABCD, 1)
166    If (ABCD)                       /* An If() at module-level */
167    {
168        Name (PKG1, Package()
169        {
170            INT1                    /* Forward reference to object INT1
171*/
172        })
173        Name (INT1, 0x1234)
174    }
175
176AML Interpreter: Fixed a problem with the Alias() operator where aliases
177to some ASL objects were not handled properly. Objects affected are:
178Mutex, Event, and OperationRegion.
179
180AML Debugger: Enhanced to properly handle AML Alias objects. These
181objects have one level of indirection which was not fully supported by
182the debugger.
183
184Table Manager: Added support to detect and ignore duplicate SSDTs within
185the XSDT/RSDT. This error in the XSDT has been seen in the field.
186
187EFI and EDK2 support:
188    Enabled /WX flag for MSVC builds
189    Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
190    Added local support for 64-bit multiply and shift operations
191    Added support to compile acpidump.efi on Windows
192    Added OSL function stubs for interfaces not used under EFI
193
194Added additional support for the _DMA predefined name. _DMA returns a
195buffer containing a resource template. This change add support within the
196resource manager (AcpiWalkResourceBuffer) to walk and parse this list of
197resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
198
199
2002) iASL Compiler/Disassembler and Tools:
201
202iASL: Fixed a problem where the internal input line buffer(s) could
203overflow if there are very long lines in the input ASL source code file.
204Implemented buffer management that automatically increases the size of
205the buffers as necessary.
206
207iASL: Added an option (-vx) to "expect" particular remarks, warnings and
208errors. If the specified exception is not raised during compilation, the
209compiler emits an error. This is intended to support the ASL test suite,
210but may be useful in other contexts.
211
212iASL: Implemented a new predefined macro, __METHOD__, which returns a
213string containing the name of the current control method that is being
214compiled.
215
216iASL: Implemented debugger and table compiler support for the SDEI ACPI
217table (Software Delegated Exception Interface). James Morse
218<james.morse@arm.com>
219
220Unix/Linux makefiles: Added an option to disable compile optimizations.
221The disable occurs when the NOOPT flag is set to TRUE.
222theracermaster@gmail.com
223
224Acpidump: Added support for multiple DSDT and FACS tables. This can occur
225when there are different tables for 32-bit versus 64-bit.
226
227Enhanced error reporting for the ASL test suite (ASLTS) by removing
228unnecessary/verbose text, and emit the actual line number where an error
229has occurred. These changes are intended to improve the usefulness of the
230test suite.
231
232----------------------------------------
23329 June 2017. Summary of changes for version 20170629:
234
235
2361) ACPICA kernel-resident subsystem:
237
238Tables: Implemented a deferred ACPI table verification. This is useful
239for operating systems where the tables cannot be verified in the early
240initialization stage due to early memory mapping limitations on some
241architectures. Lv Zheng.
242
243Tables: Removed the signature validation for dynamically loaded tables.
244Provides compatibility with other ACPI implementations. Previously, only
245SSDT tables were allowed, as per the ACPI specification. Now, any table
246signature can be used via the Load() operator. Lv Zheng.
247
248Tables: Fixed several mutex issues that could cause errors during table
249acquisition. Lv Zheng.
250
251Tables: Fixed a problem where an ACPI warning could be generated if a
252null pointer was passed to the AcpiPutTable interface. Lv Zheng.
253
254Tables: Added a mechanism to handle imbalances for the AcpiGetTable and
255AcpiPutTable interfaces. This applies to the "late stage" table loading
256when the use of AcpiPutTable is no longer required (since the system
257memory manager is fully running and available). Lv Zheng.
258
259Fixed/Reverted a regression during processing of resource descriptors
260that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG
261exception in this case.
262
263Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the
264I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
265
266Interpreter: Fixed a possible fault if an Alias operator with an invalid
267or duplicate target is encountered during Alias creation in
268AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
269
270Added an option to use designated initializers for function pointers.
271Kees Cook <keescook@google.com>
272
273
2742) iASL Compiler/Disassembler and Tools:
275
276iASL: Allow compilation of External declarations with target pathnames
277that refer to existing named objects within the table. Erik Schmauss.
278
279iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a
280FieldUnit name also is declared via External in the same table. Erik
281Schmauss.
282
283iASL: Allow existing scope names within pathnames used in External
284statements. For example:
285    External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
286    Device (ABCD)
287
288iASL: IORT ACPI table: Implemented changes required to decode the new
289Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table
290compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
291
292Disassembler: Don't abort disassembly on errors from External()
293statements. Erik Schmauss.
294
295Disassembler: fixed a possible fault when one of the Create*Field
296operators references a Resource Template. ACPICA Bugzilla 1396.
297
298iASL: In the source code, resolved some naming inconsistences across the
299parsing support. Fixes confusion between "Parse Op" and "Parse Node".
300Adds a new file, aslparseop.c
301
302----------------------------------------
30331 May 2017. Summary of changes for version 20170531:
304
305
3060) ACPI 6.2 support:
307
308The ACPI specification version 6.2 has been released and is available at
309http://uefi.org/specifications
310
311This version of ACPICA fully supports the ACPI 6.2 specification. Changes
312are summarized below.
313
314New ACPI tables (Table Compiler/Disassembler/Templates):
315    HMAT (Heterogeneous Memory Attributes Table)
316    WSMT (Windows SMM Security Mitigation Table)
317    PPTT (Processor Properties Topology Table)
318
319New subtables for existing ACPI tables:
320    HEST (New subtable, Arch-deferred machine check)
321    SRAT (New subtable, Arch-specific affinity structure)
322    PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
323
324Simple updates for existing ACPI tables:
325    BGRT (two new flag bits)
326    HEST (New bit defined for several subtables, GHES_ASSIST)
327
328New Resource Descriptors and Resource macros (Compiler/Disassembler):
329    PinConfig()
330    PinFunction()
331    PinGroup()
332    PinGroupConfig()
333    PinGroupFunction()
334    New type for hardware error notification (section 18.3.2.9)
335
336New predefined names/methods (Compiler/Interpreter):
337    _HMA (Heterogeneous Memory Attributes)
338    _LSI (Label Storage Information)
339    _LSR (Label Storage Read)
340    _LSW (Label Storage Write)
341
342ASL grammar/macro changes (Compiler):
343    For() ASL macro, implemented with the AML while operator
344    Extensions to Concatenate operator
345    Support for multiple definition blocks in same ASL file
346    Clarification for Buffer operator
347    Allow executable AML code underneath all scopes (Devices, etc.)
348    Clarification/change for the _OSI return value
349    ASL grammar update for reference operators
350    Allow a zero-length string for AML filename in DefinitionBlock
351
352Miscellaneous:
353    New device object notification value
354    Remove a notify value (0x0C) for graceful shutdown
355    New UUIDs for processor/cache properties and
356        physical package property
357    New _HID, ACPI0014 (Wireless Power Calibration Device)
358
359
3601) ACPICA kernel-resident subsystem:
361
362Added support to disable ACPI events on hardware-reduced platforms.
363Eliminates error messages of the form "Could not enable fixed event". Lv
364Zheng
365
366Fixed a problem using Device/Thermal objects with the ObjectType and
367DerefOf ASL operators. This support had not been fully/properly
368implemented.
369
370Fixed a problem where if a Buffer object containing a resource template
371was longer than the actual resource template, an error was generated --
372even though the AML is legal. This case has been seen in the field.
373
374Fixed a problem with the header definition of the MADT PCAT_COMPAT flag.
375The values for DUAL_PIC and MULTIPLE_APIC were reversed.
376
377Added header file changes for the TPM2 ACPI table. Update to new version
378of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
379
380Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex.
381These interfaces are intended to be used only in conjunction with the
382predefined _DLM method (Device Lock Method). "This object appears in a
383device scope when AML access to the device must be synchronized with the
384OS environment".
385
386Example Code and Data Size: These are the sizes for the OS-independent
387acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
388debug version of the code includes the debug output trace mechanism and
389has a much larger code and data size.
390
391  Current Release:
392    Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
393    Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
394  Previous Release:
395    Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
396    Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
397
398
3992) iASL Compiler/Disassembler and Tools:
400
401iASL: Fixed a problem where an External() declaration could not refer to
402a Field Unit. Erik Schmauss.
403
404Disassembler: Improved support for the Switch/Case operators. This
405feature will disassemble AML code back to the original Switch operators
406when possible, instead of an If..Else sequence. David Box
407
408iASL and disassembler: Improved the handling of multiple extraneous
409parentheses for both ASL input and disassembled ASL output.
410
411Improved the behavior of the iASL compiler and disassembler to detect
412improper use of external declarations
413
414Disassembler: Now aborts immediately upon detection of an unknown AML
415opcode. The AML parser has no real way to recover from this, and can
416result in the creation of an ill-formed parse tree that causes errors
417later during the disassembly.
418
419All tools: Fixed a problem where the Unix application OSL did not handle
420control-c correctly. For example, a control-c could incorrectly wake the
421debugger.
422
423AcpiExec: Improved the Control-C handling and added a handler for
424segmentation faults (SIGSEGV). Supports both Windows and Unix-like
425environments.
426
427Reduced the verbosity of the generic unix makefiles. Previously, each
428compilation displayed the full set of compiler options. This has been
429eliminated as the options are easily inspected within the makefiles. Each
430compilation now results in a single line of output.
431
432----------------------------------------
43303 March 2017. Summary of changes for version 20170303:
434
435
4360) ACPICA licensing:
437
438The licensing information at the start of each source code module has
439been updated. In addition to the Intel license, the dual GPLv2/BSD
440license has been added for completeness. Now, a single version of the
441source code should be suitable for all ACPICA customers. This is the
442major change for this release since it affects all source code modules.
443
444
4451) ACPICA kernel-resident subsystem:
446
447Fixed two issues with the common asltypes.h header that could cause
448problems in some environments: (Kim Jung-uk)
449    Removed typedef for YY_BUFFER_STATE ?
450       Fixes an error with earlier versions of Flex.
451    Removed use of FILE typedef (which is only defined in stdio.h)
452
453
4542) iASL Compiler/Disassembler and Tools:
455
456Disassembler: fixed a regression introduced in 20170224. A fix for a
457memory leak related to resource descriptor tags (names) could fault when
458the disassembler was generated with 64-bit compilers.
459
460The ASLTS test suite has been updated to implement a new testing
461architecture. During generation of the suite from ASL source, both the
462ASL and ASL+ compilers are now validated, as well as the disassembler
463itself (Erik Schmauss). The architecture executes as follows:
464
465    For every ASL source module:
466        Compile (legacy ASL compilation)
467        Disassemble the resulting AML to ASL+ source code
468        Compile the new ASL+ module
469        Perform a binary compare on the legacy AML and the new ASL+ AML
470    The ASLTS suite then executes normally using the AML binaries.
471
472----------------------------------------
47324 February 2017. Summary of changes for version 20170224:
474
475
4761) ACPICA kernel-resident subsystem:
477
478Interpreter: Fixed two issues with the control method return value auto-
479repair feature, where an attempt to double-delete an internal object
480could result in an ACPICA warning (for _CID repair and others). No fault
481occurs, however, because the attempted deletion (actually a release to an
482internal cache) is detected and ignored via object poisoning.
483
484Debugger: Fixed an AML interpreter mutex issue during the single stepping
485of control methods. If certain debugger commands are executed during
486stepping, a mutex aquire/release error could occur. Lv Zheng.
487
488Fixed some issues generating ACPICA with the Intel C compiler by
489restoring the original behavior and compiler-specific include file in
490acenv.h. Lv Zheng.
491
492Example Code and Data Size: These are the sizes for the OS-independent
493acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
494debug version of the code includes the debug output trace mechanism and
495has a much larger code and data size.
496
497  Current Release:
498    Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
499    Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
500  Previous Release:
501    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
502    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
503
504
5052) iASL Compiler/Disassembler and Tools:
506
507iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion
508tool has been designed, implemented, and included in this release. The
509key feature of this utility is that the original comments within the
510input ASL file are preserved during the conversion process, and included
511within the converted ASL+ file -- thus creating a transparent conversion
512of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
513
514    Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with
515converted code
516
517iASL/Disassembler: Improved the detection and correct disassembly of
518Switch/Case operators. This feature detects sequences of if/elseif/else
519operators that originated from ASL Switch/Case/Default operators and
520emits the original operators. David Box.
521
522iASL: Improved the IORT ACPI table support in the following areas. Lv
523Zheng:
524    Clear MappingOffset if the MappingCount is zero.
525    Fix the disassembly of the SMMU GSU interrupt offset.
526    Update the template file for the IORT table.
527
528Disassembler: Enhanced the detection and disassembly of resource
529template/descriptor within a Buffer object. An EndTag descriptor is now
530required to have a zero second byte, since all known ASL compilers emit
531this. This helps eliminate incorrect decisions when a buffer is
532disassembled (false positives on resource templates).
533
534----------------------------------------
53519 January 2017. Summary of changes for version 20170119:
536
537
5381) General ACPICA software:
539
540Entire source code base: Added the 2017 copyright to all source code
541legal/licensing module headers and utility/tool signons. This includes
542the standard Linux dual-license header. This affects virtually every file
543in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and
544the ACPICA test suite.
545
546
5472) iASL Compiler/Disassembler and Tools:
548
549iASL: Removed/fixed an inadvertent remark when a method argument
550containing a reference is used as a target operand within the method (and
551never used as a simple argument), as in the example below. Jeffrey Hugo.
552
553    dsdt.asl   1507:    Store(0x1, Arg0)
554    Remark   2146 -                ^ Method Argument is never used (Arg0)
555
556All tools: Removed the bit width of the compiler that generated the tool
557from the common signon for all user space tools. This proved to be
558confusing and unnecessary. This includes similar removal of HARDWARE_NAME
559from the generic makefiles (Thomas Petazzoni). Example below.
560
561    Old:
562    ASL+ Optimizing Compiler version 20170119-32
563    ASL+ Optimizing Compiler version 20170119-64
564
565    New:
566    ASL+ Optimizing Compiler version 20170119
567
568----------------------------------------
56922 December 2016. Summary of changes for version 20161222:
570
571
5721) ACPICA kernel-resident subsystem:
573
574AML Debugger: Implemented a new mechanism to simplify and enhance
575debugger integration into all environments, including kernel debuggers
576and user-space utilities, as well as remote debug services. This
577mechanism essentially consists of new OSL interfaces to support debugger
578initialization/termination, as well as wait/notify interfaces to perform
579the debugger handshake with the host. Lv Zheng.
580
581    New OSL interfaces:
582        AcpiOsInitializeDebugger (void)
583        AcpiOsTerminateDebugger (void)
584        AcpiOsWaitCommandReady (void)
585        AcpiOsNotifyCommandComplete (void)
586
587    New OS services layer:
588        osgendbg.c -- Example implementation, and used for AcpiExec
589
590Update for Generic Address Space (GAS) support: Although the AccessWidth
591and/or BitOffset fields of the GAS are not often used, this change now
592fully supports these fields. This affects the internal support for FADT
593registers, registers in other ACPI data tables, and the AcpiRead and
594AcpiWrite public interfaces. Lv Zheng.
595
596Sleep support: In order to simplify integration of ACPI sleep for the
597various host operating systems, a new OSL interface has been introduced.
598AcpiOsEnterSleep allows the host to perform any required operations
599before the final write to the sleep control register(s) is performed by
600ACPICA. Lv Zheng.
601
602    New OSL interface:
603        AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
604
605    Called from these internal interfaces:
606        AcpiHwLegacySleep
607        AcpiHwExtendedSleep
608
609EFI support: Added a very small EFI/ACPICA example application. Provides
610a simple demo for EFI integration, as well as assisting with resolution
611of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
612
613    source/tools/efihello/efihello.c
614
615Local C library: Implemented several new functions to enhance ACPICA
616portability, for environments where these clib functions are not
617available (such as EFI). Lv Zheng:
618    putchar
619    getchar
620    strpbrk
621    strtok
622    memmove
623
624Fixed a regression where occasionally a valid resource descriptor was
625incorrectly detected as invalid at runtime, and a
626AE_AML_NO_RESOURCE_END_TAG was returned.
627
628Fixed a problem with the recently implemented support that enables
629control method invocations as Target operands to many ASL operators.
630Warnings of this form: "Needed type [Reference], found [Processor]" were
631seen at runtime for some method invocations.
632
633Example Code and Data Size: These are the sizes for the OS-independent
634acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
635debug version of the code includes the debug output trace mechanism and
636has a much larger code and data size.
637
638  Current Release:
639    Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
640    Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
641  Previous Release:
642    Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
643    Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
644
645
6462) iASL Compiler/Disassembler and Tools:
647
648Disassembler: Enhanced output by adding the capability to detect and
649disassemble ASL Switch/Case statements back to the original ASL source
650code instead of if/else blocks. David Box.
651
652AcpiHelp: Split a large file into separate files based upon
653functionality/purpose. New files are:
654    ahaml.c
655    ahasl.c
656
657----------------------------------------
65817 November 2016. Summary of changes for version 20161117:
659
660
6611) ACPICA kernel-resident subsystem:
662
663Table Manager: Fixed a regression introduced in 20160729, "FADT support
664cleanup". This was an attempt to remove all references in the source to
665the FADT version 2, which never was a legal version number. It was
666skipped because it was an early version of 64-bit support that was
667eventually abandoned for the current 64-bit support.
668
669Interpreter: Fixed a problem where runtime implicit conversion was
670incorrectly disabled for the ASL operators below. This brings the
671behavior into compliance with the ACPI specification:
672    FromBCD
673    ToBCD
674    ToDecimalString
675    ToHexString
676    ToInteger
677    ToBuffer
678
679Table Manager: Added a new public interface, AcpiPutTable, used to
680release and free an ACPI table returned by AcpiGetTable and related
681interfaces. Lv Zheng.
682
683Example Code and Data Size: These are the sizes for the OS-independent
684acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
685debug version of the code includes the debug output trace mechanism and
686has a much larger code and data size.
687
688  Current Release:
689    Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
690    Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
691  Previous Release:
692    Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
693    Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
694
695
6962) iASL Compiler/Disassembler and Tools:
697
698Disassembler: Fixed a regression for disassembly of Resource Template.
699Detection of templates in the AML stream missed some types of templates.
700
701iASL: Fixed a problem where an Access Size error was returned for the PCC
702address space when the AccessSize of the GAS register is greater than a
703DWORD. Hoan Tran.
704
705iASL: Implemented several grammar changes for the operators below. These
706changes are slated for the next version of the ACPI specification:
707    RefOf        - Disallow method invocation as an operand
708    CondRefOf    - Disallow method invocation as an operand
709    DerefOf      - Disallow operands that use the result from operators
710that
711                   do not return a reference (Changed TermArg to
712SuperName).
713
714iASL: Control method invocations are now allowed for Target operands, as
715per the ACPI specification. Removed error for using a control method
716invocation as a Target operand.
717
718Disassembler: Improved detection of Resource Templates, Unicode, and
719Strings within Buffer objects. These subtypes do not contain a specific
720opcode to indicate the originating ASL code, and they must be detected by
721other means within the disassembler.
722
723iASL: Implemented an optimization improvement for 32-bit ACPI tables
724(DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode
725only after 64-bit to 32-bit truncation. A truncation warning message is
726still emitted, however.
727
728AcpiXtract: Implemented handling for both types of line terminators (LF
729or CR/LF) so that it can accept AcpiDump output files from any system.
730Peter Wu.
731
732AcpiBin: Added two new options for comparing AML files:
733    -a: compare and display ALL mismatches
734    -o: start compare at this offset into the second file
735
736----------------------------------------
73730 September 2016. Summary of changes for version 20160930:
738
739
7401) ACPICA kernel-resident subsystem:
741
742Fixed a regression in the internal AcpiTbFindTable function where a non
743AE_OK exception could inadvertently be returned even if the function did
744not fail. This problem affects the following operators:
745    DataTableRegion
746    LoadTable
747
748Fixed a regression in the LoadTable operator where a load to any
749namespace location other than the root no longer worked properly.
750
751Increased the maximum loop count value that will result in the
752AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to
753prevent infinite loops within the AML interpreter and thus the host OS
754kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to
7551,048,575).
756
757Moved the AcpiGbl_MaxLoopIterations configuration variable to the public
758acpixf.h file. This allows hosts to easily configure the maximum loop
759count at runtime.
760
761Removed an illegal character in the strtoul64.c file. This character
762caused errors with some C compilers.
763
764Example Code and Data Size: These are the sizes for the OS-independent
765acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
766debug version of the code includes the debug output trace mechanism and
767has a much larger code and data size.
768
769  Current Release:
770    Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
771    Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
772  Previous Release:
773    Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
774    Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
775
776
7772) iASL Compiler/Disassembler and Tools:
778
779Disassembler: Fixed a problem with the conversion of Else{If{ blocks into
780the simpler ASL ElseIf keyword. During the conversion, a trailing If
781block could be lost and missing from the disassembled output.
782
783iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+,
784the missing rule caused a parse error when using the Index operator as an
785operand to ObjectType. This construct now compiles properly. Example:
786    ObjectType(PKG1[4]).
787
788iASL: Correctly handle unresolved symbols in the hardware map file (-lm
789option). Previously, unresolved symbols could cause a protection fault.
790Such symbols are now marked as unresolved in the map file.
791
792iASL: Implemented support to allow control method invocations as an
793operand to the ASL DeRefOf operator. Example:
794    DeRefOf(MTH1(Local0))
795
796Disassembler: Improved support for the ToPLD ASL macro. Detection of a
797possible _PLD buffer now includes examination of both the normal buffer
798length (16 or 20) as well as the surrounding AML package length.
799
800Disassembler: Fixed a problem with the decoding of complex expressions
801within the Divide operator for ASL+. For the case where both the quotient
802and remainder targets are specified, the entire statement cannot be
803disassembled. Previously, the output incorrectly contained a mix of ASL-
804and ASL+ operators. This mixed statement causes a syntax error when
805compiled. Example:
806    Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly
807disassembled to:
808    Divide (INT1 + 6, 128, RSLT, QUOT)
809
810iASL/Tools: Added support to process AML and non-AML ACPI tables
811consistently. For the disassembler and AcpiExec, allow all types of ACPI
812tables (AML and data tables). For the iASL -e option, allow only AML
813tables (DSDT/SSDT).
814
815----------------------------------------
81631 August 2016. Summary of changes for version 20160831:
817
818
8191) ACPICA kernel-resident subsystem:
820
821Improve support for the so-called "module-level code", which is defined
822to be math, logical and control AML opcodes that appear outside of any
823control method. This change improves the support by adding more opcodes
824that can be executed in the manner. Some other issues have been solved,
825and the ASL grammar changes to support such code under all scope
826operators (Device, etc.) are complete. Lv Zheng.
827
828UEFI support: these OSL functions have been implemented. This is an
829additional step toward supporting the AcpiExec utility natively (with
830full hardware access) under UEFI. Marcelo Ferreira.
831    AcpiOsReadPciConfiguration
832    AcpiOsWritePciConfiguration
833
834Fixed a possible mutex error during control method auto-serialization. Lv
835Zheng.
836
837Updated support for the Generic Address Structure by fully implementing
838all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv
839Zheng.
840
841Updated the return value for the internal _OSI method. Instead of
8420xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF
843for 64-bit ACPI tables. This fixes an incompatibility with other ACPI
844implementations, and will be reflected and clarified in the next version
845of the ACPI specification.
846
847Implemented two new table events that can be passed to an ACPICA table
848handler. These events are used to indicate a table installation or
849uninstallation. These events are used in addition to existed table load
850and unload events. Lv Zheng.
851
852Implemented a cleanup for all internal string-to-integer conversions.
853Consolidate multiple versions of this functionality and limit possible
854bases to either 10 or 16 to simplify the code. Adds a new file,
855utstrtoul64.
856
857Cleanup the inclusion order of the various compiler-specific headers.
858This simplifies build configuration management. The compiler-specific
859headers are now split out from the host-specific headers. Lv Zheng.
860
861Example Code and Data Size: These are the sizes for the OS-independent
862acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
863debug version of the code includes the debug output trace mechanism and
864has a much larger code and data size.
865
866  Current Release:
867    Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
868    Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
869
870
8712) iASL Compiler/Disassembler and Tools:
872
873iASL/AcpiExec: Added a command line option to display the build date/time
874of the tool (-vd). This can be useful to verify that the correct version
875of the tools are being used.
876
877AML Debugger: Implemented a new subcommand ("execute predef") to execute
878all predefined control methods and names within the current namespace.
879This can be useful for debugging problems with ACPI tables and the ACPI
880namespace.
881
882----------------------------------------
88329 July 2016. Summary of changes for version 20160729:
884
885
8861) ACPICA kernel-resident subsystem:
887
888Implemented basic UEFI support for the various ACPICA tools. This
889includes:
8901) An OSL to implement the various AcpiOs* interfaces on UEFI.
8912) Support to obtain the ACPI tables on UEFI.
8923) Local implementation of required C library functions not available on
893UEFI.
8944) A front-end (main) function for the tools for UEFI-related
895initialization.
896
897The initial deployment of this support is the AcpiDump utility executing
898as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit").
899Current environments supported are Linux/Unix. MSVC generation is not
900supported at this time. See the generate/efi/README file for build
901instructions. Lv Zheng.
902
903Future plans include porting the AcpiExec utility to execute natively on
904the platform with I/O and memory access. This will allow viewing/dump of
905the platform namespace and native execution of ACPI control methods that
906access the actual hardware. To fully implement this support, the OSL
907functions below must be implemented with UEFI interfaces. Any community
908help in the implementation of these functions would be appreciated:
909    AcpiOsReadPort
910    AcpiOsWritePort
911    AcpiOsReadMemory
912    AcpiOsWriteMemory
913    AcpiOsReadPciConfiguration
914    AcpiOsWritePciConfiguration
915
916Restructured and standardized the C library configuration for ACPICA,
917resulting in the various configuration options below. This includes a
918global restructuring of the compiler-dependent and platform-dependent
919include files. These changes may affect the existing platform-dependent
920configuration files on some hosts. Lv Zheng.
921
922The current C library configuration options appear below. For any issues,
923it may be helpful to examine the existing compiler-dependent and
924platform-dependent files as examples. Lv Zheng.
925
9261) Linux kernel:
927    ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
928library.
929    ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
9302) Unix/Windows/BSD applications:
931    ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C
932library.
933    ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
9343) UEFI applications:
935    ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
936library.
937    ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
9384) UEFI applications (EDK2/StdLib):
939    ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
940    ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
941
942
943AML interpreter: "module-level code" support. Allows for execution of so-
944called "executable" AML code (math/logical operations, etc.) outside of
945control methods not just at the module level (top level) but also within
946any scope declared outside of a control method - Scope{}, Device{},
947Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng.
948
949Simplified the configuration of the "maximum AML loops" global option by
950adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be
951modified at runtime.
952
953
954Example Code and Data Size: These are the sizes for the OS-independent
955acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
956debug version of the code includes the debug output trace mechanism and
957has a much larger code and data size.
958
959  Current Release:
960    Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
961    Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
962
963
9642) iASL Compiler/Disassembler and Tools:
965
966iASL: Add full support for the RASF ACPI table (RAS Features Table).
967Includes disassembler, data table compiler, and header support.
968
969iASL Expand "module-level code" support. Allows for
970compilation/disassembly of so-called "executable" AML code (math/logical
971operations, etc.) outside of control methods not just at the module level
972(top level) but also within any scope declared outside of a control
973method - Scope{}, Device{}, Processor{}, PowerResource{}, and
974ThermalZone{}.
975
976AcpiDump: Added support for dumping all SSDTs on newer versions of
977Windows. These tables are now easily available -- SSDTs are not available
978through the registry on older versions.
979
980----------------------------------------
98127 May 2016. Summary of changes for version 20160527:
982
983
9841) ACPICA kernel-resident subsystem:
985
986Temporarily reverted the new arbitrary bit length/alignment support in
987AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
988a number of regressions with the new code that need to be fully resolved
989and tested before this support can be finally integrated into ACPICA.
990Apologies for any inconveniences these issues may have caused.
991
992The ACPI message macros are not configurable (ACPI_MSG_ERROR,
993ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
994and ACPI_MSG_BIOS_WARNING). Lv Zheng.
995
996Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
997option. Adds a new return macro, return_STR. Junk-uk Kim.
998
999Example Code and Data Size: These are the sizes for the OS-independent
1000acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1001debug version of the code includes the debug output trace mechanism and
1002has a much larger code and data size.
1003
1004  Current Release:
1005    Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
1006    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1007  Previous Release:
1008    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1009    Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
1010
1011----------------------------------------
101222 April 2016. Summary of changes for version 20160422:
1013
10141) ACPICA kernel-resident subsystem:
1015
1016Fixed a regression in the GAS (generic address structure) arbitrary bit
1017support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior
1018and incorrect return values. Lv Zheng. ACPICA BZ 1270.
1019
1020ACPI 6.0: Added support for new/renamed resource macros. One new argument
1021was added to each of these macros, and the original name has been
1022deprecated. The AML disassembler will always disassemble to the new
1023names. Support for the new macros was added to iASL, disassembler,
1024resource manager, and the acpihelp utility. ACPICA BZ 1274.
1025
1026    I2cSerialBus  -> I2cSerialBusV2
1027    SpiSerialBus  -> SpiSerialBusV2
1028    UartSerialBus -> UartSerialBusV2
1029
1030ACPI 6.0: Added support for a new integer field that was appended to the
1031package object returned by the _BIX method. This adds iASL compile-time
1032and AML runtime error checking. ACPICA BZ 1273.
1033
1034ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm
1035Subspace Type2" (Headers, Disassembler, and data table compiler).
1036
1037Example Code and Data Size: These are the sizes for the OS-independent
1038acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1039debug version of the code includes the debug output trace mechanism and
1040has a much larger code and data size.
1041
1042  Current Release:
1043    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1044    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
1045  Previous Release:
1046    Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1047    Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1048
1049
10502) iASL Compiler/Disassembler and Tools:
1051
1052iASL: Implemented an ASL grammar extension to allow/enable executable
1053"module-level code" to be created and executed under the various
1054operators that create new scopes. This type of AML code is already
1055supported in all known AML interpreters, and the grammar change will
1056appear in the next version of the ACPI specification. Simplifies the
1057conditional runtime creation of named objects under these object types:
1058
1059    Device
1060    PowerResource
1061    Processor
1062    Scope
1063    ThermalZone
1064
1065iASL: Implemented a new ASL extension, a "For" loop macro to add greater
1066ease-of-use to the ASL language. The syntax is similar to the
1067corresponding C operator, and is implemented with the existing AML While
1068opcode -- thus requiring no changes to existing AML interpreters.
1069
1070    For (Initialize, Predicate, Update) {TermList}
1071
1072Grammar:
1073    ForTerm :=
1074        For (
1075            Initializer    // Nothing | TermArg => ComputationalData
1076            Predicate      // Nothing | TermArg => ComputationalData
1077            Update         // Nothing | TermArg => ComputationalData
1078        ) {TermList}
1079
1080
1081iASL: The _HID/_ADR detection and validation has been enhanced to search
1082under conditionals in order to allow these objects to be conditionally
1083created at runtime.
1084
1085iASL: Fixed several issues with the constant folding feature. The
1086improvement allows better detection and resolution of statements that can
1087be folded at compile time. ACPICA BZ 1266.
1088
1089iASL/Disassembler: Fixed a couple issues with the Else{If{}...}
1090conversion to the ASL ElseIf operator where incorrect ASL code could be
1091generated.
1092
1093iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where
1094sometimes an extra (and extraneous) set of parentheses were emitted for
1095some combinations of operators. Although this did not cause any problems
1096with recompilation of the disassembled code, it made the code more
1097difficult to read. David Box. ACPICA BZ 1231.
1098
1099iASL: Changed to ignore the unreferenced detection for predefined names
1100of resource descriptor elements, when the resource descriptor is
1101created/defined within a control method.
1102
1103iASL: Disassembler: Fix a possible fault with externally declared Buffer
1104objects.
1105
1106----------------------------------------
110718 March 2016. Summary of changes for version 20160318:
1108
11091) ACPICA kernel-resident subsystem:
1110
1111Added support for arbitrary bit lengths and bit offsets for registers
1112defined by the Generic Address Structure. Previously, only aligned bit
1113lengths of 8/16/32/64 were supported. This was sufficient for many years,
1114but recently some machines have been seen that require arbitrary bit-
1115level support. ACPICA BZ 1240. Lv Zheng.
1116
1117Fixed an issue where the \_SB._INI method sometimes must be evaluated
1118before any _REG methods are evaluated. Lv Zheng.
1119
1120Implemented several changes related to ACPI table support
1121(Headers/Disassembler/TableCompiler):
1122NFIT: For ACPI 6.1, updated to add some additional new fields and
1123constants.
1124FADT: Updated a warning message and set compliance to ACPI 6.1 (Version
11256).
1126DMAR: Added new constants per the 10/2014 DMAR spec.
1127IORT: Added new subtable per the 10/2015 IORT spec.
1128HEST: For ACPI 6.1, added new constants and new subtable.
1129DBG2: Added new constants per the 12/2015 DBG2 spec.
1130FPDT: Fixed several incorrect fields, add the FPDT boot record structure.
1131ACPICA BZ 1249.
1132ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
1133
1134Updated header support for the DMAR table to match the current version of
1135the related spec.
1136
1137Added extensions to the ASL Concatenate operator to allow any ACPI object
1138to be passed as an operand. Any object other than Integer/String/Buffer
1139simply returns a string containing the object type. This extends the
1140usefulness of the Printf macros. Previously, Concatenate would abort the
1141control method if a non-data object was encountered.
1142
1143ACPICA source code: Deployed the C "const" keyword across the source code
1144where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
1145
1146Example Code and Data Size: These are the sizes for the OS-independent
1147acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1148debug version of the code includes the debug output trace mechanism and
1149has a much larger code and data size.
1150
1151  Current Release:
1152    Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1153    Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1154  Previous Release:
1155    Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1156    Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1157
1158
11592) iASL Compiler/Disassembler and Tools:
1160
1161iASL/Disassembler: Improved the heuristic used to determine the number of
1162arguments for an externally defined control method (a method in another
1163table). Although this is an improvement, there is no deterministic way to
1164"guess" the number of method arguments. Only the ACPI 6.0 External opcode
1165will completely solve this problem as it is deployed (automatically) in
1166newer BIOS code.
1167
1168iASL/Disassembler: Fixed an ordering issue for emitted External() ASL
1169statements that could cause errors when the disassembled file is
1170compiled. ACPICA BZ 1243. David Box.
1171
1172iASL: Fixed a regression caused by the merger of the two versions of the
1173local strtoul64. Because of a dependency on a global variable, strtoul64
1174could return an error for integers greater than a 32-bit value. ACPICA BZ
11751260.
1176
1177iASL: Fixed a regression where a fault could occur for an ASL Return
1178statement if it invokes a control method that is not resolved. ACPICA BZ
11791264.
1180
1181AcpiXtract: Improved input file validation: detection of binary files and
1182non-acpidump text files.
1183
1184----------------------------------------
118512 February 2016. Summary of changes for version 20160212:
1186
11871) ACPICA kernel-resident subsystem:
1188
1189Implemented full support for the ACPI 6.1 specification (released in
1190January). This version of the specification is available at:
1191http://www.uefi.org/specifications
1192
1193Only a relatively small number of changes were required in ACPICA to
1194support ACPI 6.1, in these areas:
1195- New predefined names
1196- New _HID values
1197- A new subtable for HEST
1198- A few other header changes for new values
1199
1200Ensure \_SB_._INI is executed before any _REG methods are executed. There
1201appears to be existing BIOS code that relies on this behavior. Lv Zheng.
1202
1203Reverted a change made in version 20151218 which enabled method
1204invocations to be targets of various ASL operators (SuperName and Target
1205grammar elements). While the new behavior is supported by the ACPI
1206specification, other AML interpreters do not support this behavior and
1207never will. The ACPI specification will be updated for ACPI 6.2 to remove
1208this support. Therefore, the change was reverted to the original ACPICA
1209behavior.
1210
1211ACPICA now supports the GCC 6 compiler.
1212
1213Current Release: (Note: build changes increased sizes)
1214    Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1215    Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1216Previous Release:
1217    Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1218    Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
1219
1220
12212) iASL Compiler/Disassembler and Tools:
1222
1223Completed full support for the ACPI 6.0 External() AML opcode. The
1224compiler emits an external AML opcode for each ASL External statement.
1225This opcode is used by the disassembler to assist with the disassembly of
1226external control methods by specifying the required number of arguments
1227for the method. AML interpreters do not use this opcode. To ensure that
1228interpreters do not even see the opcode, a block of one or more external
1229opcodes is surrounded by an "If(0)" construct. As this feature becomes
1230commonly deployed in BIOS code, the ability of disassemblers to correctly
1231disassemble AML code will be greatly improved. David Box.
1232
1233iASL: Implemented support for an optional cross-reference output file.
1234The -lx option will create a the cross-reference file with the suffix
1235"xrf". Three different types of cross-reference are created in this file:
1236- List of object references made from within each control method
1237- Invocation (caller) list for each user-defined control method
1238- List of references to each non-method object in the namespace
1239
1240iASL: Method invocations as ASL Target operands are now disallowed and
1241flagged as errors in preparation for ACPI 6.2 (see the description of the
1242problem above).
1243
1244----------------------------------------
12458 January 2016. Summary of changes for version 20160108:
1246
12471) ACPICA kernel-resident subsystem:
1248
1249Updated all ACPICA copyrights and signons to 2016: Added the 2016
1250copyright to all source code module headers and utility/tool signons.
1251This includes the standard Linux dual-license header. This affects
1252virtually every file in the ACPICA core subsystem, iASL compiler, all
1253ACPICA utilities, and the ACPICA test suite.
1254
1255Fixed a regression introduced in version 20151218 concerning the
1256execution of so-called module-level ASL/AML code. Namespace objects
1257created under a module-level If() construct were not properly/fully
1258entered into the namespace and could cause an interpreter fault when
1259accessed.
1260
1261Example Code and Data Size: These are the sizes for the OS-independent
1262acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1263debug version of the code includes the debug output trace mechanism and
1264has a much larger code and data size.
1265
1266Current Release:
1267    Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1268    Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
1269  Previous Release:
1270    Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1271    Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1272
1273
12742) iASL Compiler/Disassembler and Tools:
1275
1276Fixed a problem with the compilation of the GpioIo and GpioInt resource
1277descriptors. The _PIN field name was incorrectly defined to be an array
1278of 32-bit values, but the _PIN values are in fact 16 bits each. This
1279would cause incorrect bit width warnings when using Word (16-bit) fields
1280to access the descriptors.
1281
1282
1283----------------------------------------
128418 December 2015. Summary of changes for version 20151218:
1285
12861) ACPICA kernel-resident subsystem:
1287
1288Implemented per-AML-table execution of "module-level code" as individual
1289ACPI tables are loaded into the namespace during ACPICA initialization.
1290In other words, any module-level code within an AML table is executed
1291immediately after the table is loaded, instead of batched and executed
1292after all of the tables have been loaded. This provides compatibility
1293with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
1294David Box.
1295
1296To fully support the feature above, the default operation region handlers
1297for the SystemMemory, SystemIO, and PCI_Config address spaces are now
1298installed before any ACPI tables are loaded. This enables module-level
1299code to access these address spaces during the table load and module-
1300level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
1301Box.
1302
1303Implemented several changes to the internal _REG support in conjunction
1304with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
1305utilities for the changes above. Although these tools were changed, host
1306operating systems that simply use the default handlers for SystemMemory,
1307SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
1308
1309For example, in the code below, DEV1 is conditionally added to the
1310namespace by the DSDT via module-level code that accesses an operation
1311region. The SSDT references DEV1 via the Scope operator. DEV1 must be
1312created immediately after the DSDT is loaded in order for the SSDT to
1313successfully reference DEV1. Previously, this code would cause an
1314AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
1315fully supported by ACPICA.
1316
1317    DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
1318    {
1319        OperationRegion (OPR1, SystemMemory, 0x400, 32)
1320        Field (OPR1, AnyAcc, NoLock, Preserve)
1321        {
1322            FLD1, 1
1323        }
1324        If (FLD1)
1325        {
1326            Device (\DEV1)
1327            {
1328            }
1329        }
1330    }
1331    DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
1332    {
1333        External (\DEV1, DeviceObj)
1334        Scope (\DEV1)
1335        {
1336        }
1337    }
1338
1339Fixed an AML interpreter problem where control method invocations were
1340not handled correctly when the invocation was itself a SuperName argument
1341to another ASL operator. In these cases, the method was not invoked.
1342ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
1343argument:
1344    Store
1345    Acquire, Wait
1346    CondRefOf, RefOf
1347    Decrement, Increment
1348    Load, Unload
1349    Notify
1350    Signal, Release, Reset
1351    SizeOf
1352
1353Implemented automatic String-to-ObjectReference conversion support for
1354packages returned by predefined names (such as _DEP). A common BIOS error
1355is to add double quotes around an ObjectReference namepath, which turns
1356the reference into an unexpected string object. This support detects the
1357problem and corrects it before the package is returned to the caller that
1358invoked the method. Lv Zheng.
1359
1360Implemented extensions to the Concatenate operator. Concatenate now
1361accepts any type of object, it is not restricted to simply
1362Integer/String/Buffer. For objects other than these 3 basic data types,
1363the argument is treated as a string containing the name of the object
1364type. This expands the utility of Concatenate and the Printf/Fprintf
1365macros. ACPICA BZ 1222.
1366
1367Cleaned up the output of the ASL Debug object. The timer() value is now
1368optional and no longer emitted by default. Also, the basic data types of
1369Integer/String/Buffer are simply emitted as their values, without a data
1370type string -- since the data type is obvious from the output. ACPICA BZ
13711221.
1372
1373Example Code and Data Size: These are the sizes for the OS-independent
1374acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1375debug version of the code includes the debug output trace mechanism and
1376has a much larger code and data size.
1377
1378  Current Release:
1379    Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1380    Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1381  Previous Release:
1382    Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1383    Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1384
1385
13862) iASL Compiler/Disassembler and Tools:
1387
1388iASL: Fixed some issues with the ASL Include() operator. This operator
1389was incorrectly defined in the iASL parser rules, causing a new scope to
1390be opened for the code within the include file. This could lead to
1391several issues, including allowing ASL code that is technically illegal
1392and not supported by AML interpreters. Note, this does not affect the
1393related #include preprocessor operator. ACPICA BZ 1212.
1394
1395iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
1396operator is essentially an ASL macro since there is no AML opcode
1397associated with it. The code emitted by the iASL compiler for ElseIf is
1398an Else opcode followed immediately by an If opcode. The disassembler
1399will now emit an ElseIf if it finds an Else immediately followed by an
1400If. This simplifies the decoded ASL, especially for deeply nested
1401If..Else and large Switch constructs. Thus, the disassembled code more
1402closely follows the original source ASL. ACPICA BZ 1211. Example:
1403
1404    Old disassembly:
1405        Else
1406        {
1407            If (Arg0 == 0x02)
1408            {
1409                Local0 = 0x05
1410            }
1411        }
1412
1413    New disassembly:
1414        ElseIf (Arg0 == 0x02)
1415        {
1416            Local0 = 0x05
1417        }
1418
1419AcpiExec: Added support for the new module level code behavior and the
1420early region installation. This required a small change to the
1421initialization, since AcpiExec must install its own operation region
1422handlers.
1423
1424AcpiExec: Added support to make the debug object timer optional. Default
1425is timer disabled. This cleans up the debug object output -- the timer
1426data is rarely used.
1427
1428AcpiExec: Multiple ACPI tables are now loaded in the order that they
1429appear on the command line. This can be important when there are
1430interdependencies/references between the tables.
1431
1432iASL/Templates. Add support to generate template files with multiple
1433SSDTs within a single output file. Also added ommand line support to
1434specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
14351223, 1225.
1436
1437
1438----------------------------------------
143924 November 2015. Summary of changes for version 20151124:
1440
14411) ACPICA kernel-resident subsystem:
1442
1443Fixed a possible regression for a previous update to FADT handling. The
1444FADT no longer has a fixed table ID, causing some issues with code that
1445was hardwired to a specific ID. Lv Zheng.
1446
1447Fixed a problem where the method auto-serialization could interfere with
1448the current SyncLevel. This change makes the auto-serialization support
1449transparent to the SyncLevel support and management.
1450
1451Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
1452interface is intended for early access to the namespace during the
1453initial namespace device discovery walk. The _SUB method has been seen to
1454access operation regions in some cases, causing errors because the
1455operation regions are not fully initialized.
1456
1457AML Debugger: Fixed some issues with the terminate/quit/exit commands
1458that can cause faults. Lv Zheng.
1459
1460AML Debugger: Add thread ID support so that single-step mode only applies
1461to the AML Debugger thread. This prevents runtime errors within some
1462kernels. Lv Zheng.
1463
1464Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
1465methods that are invoked by this interface are optional, removed warnings
1466emitted for the case where one or more of these methods do not exist.
1467ACPICA BZ 1208, original change by Prarit Bhargava.
1468
1469Made a major pass through the entire ACPICA source code base to
1470standardize formatting that has diverged a bit over time. There are no
1471functional changes, but this will of course cause quite a few code
1472differences from the previous ACPICA release.
1473
1474Example Code and Data Size: These are the sizes for the OS-independent
1475acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1476debug version of the code includes the debug output trace mechanism and
1477has a much larger code and data size.
1478
1479  Current Release:
1480    Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1481    Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1482  Previous Release:
1483    Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1484    Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1485
1486
14872) iASL Compiler/Disassembler and Tools:
1488
1489iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
1490definition blocks within a single ASL file and the resulting AML file.
1491Support for this type of file was also added to the various tools that
1492use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
1493example code below shows two definition blocks within the same file:
1494
1495    DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
14960x12345678)
1497    {
1498    }
1499    DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
1500    {
1501    }
1502
1503iASL: Enhanced typechecking for the Name() operator. All expressions for
1504the value of the named object must be reduced/folded to a single constant
1505at compile time, as per the ACPI specification (the AML definition of
1506Name()).
1507
1508iASL: Fixed some code indentation issues for the -ic and -ia options (C
1509and assembly headers). Now all emitted code correctly begins in column 1.
1510
1511iASL: Added an error message for an attempt to open a Scope() on an
1512object defined in an SSDT. The DSDT is always loaded into the namespace
1513first, so any attempt to open a Scope on an SSDT object will fail at
1514runtime.
1515
1516
1517----------------------------------------
151830 September 2015. Summary of changes for version 20150930:
1519
15201) ACPICA kernel-resident subsystem:
1521
1522Debugger: Implemented several changes and bug fixes to assist support for
1523the in-kernel version of the AML debugger. Lv Zheng.
1524- Fix the "predefined" command for in-kernel debugger.
1525- Do not enter debug command loop for the help and version commands.
1526- Disallow "execute" command during execution/single-step of a method.
1527
1528Interpreter: Updated runtime typechecking for all operators that have
1529target operands. The operand is resolved and validated that it is legal.
1530For example, the target cannot be a non-data object such as a Device,
1531Mutex, ThermalZone, etc., as per the ACPI specification.
1532
1533Debugger: Fixed the double-mutex user I/O handshake to work when local
1534deadlock detection is enabled.
1535
1536Debugger: limited display of method locals and arguments (LocalX and
1537ArgX) to only those that have actually been initialized. This prevents
1538lines of extraneous output.
1539
1540Updated the definition of the NFIT table to correct the bit polarity of
1541one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
1542
1543Example Code and Data Size: These are the sizes for the OS-independent
1544acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1545debug version of the code includes the debug output trace mechanism and
1546has a much larger code and data size.
1547
1548  Current Release:
1549    Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1550    Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1551  Previous Release:
1552    Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1553    Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1554
1555
15562) iASL Compiler/Disassembler and Tools:
1557
1558iASL: Improved the compile-time typechecking for operands of many of the
1559ASL operators:
1560
1561-- Added an option to disable compiler operand/operator typechecking (-
1562ot).
1563
1564-- For the following operators, the TermArg operands are now validated
1565when possible to be Integer data objects: BankField, OperationRegion,
1566DataTableRegion, Buffer, and Package.
1567
1568-- Store (Source, Target): Both the source and target operands are
1569resolved and checked that the operands are both legal. For example,
1570neither operand can be a non-data object such as a Device, Mutex,
1571ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
1572operator can be used to store an object to any type of target object.
1573
1574-- Store (Source, Target): If the source is a Package object, the target
1575must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
1576is a Package, the source must also be a Package.
1577
1578-- Store (Source, Target): A warning is issued if the source and target
1579resolve to the identical named object.
1580
1581-- Store (Source, <method invocation>): An error is generated for the
1582target method invocation, as this construct is not supported by the AML
1583interpreter.
1584
1585-- For all ASL math and logic operators, the target operand must be a
1586data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
1587includes the function return value also.
1588
1589-- External declarations are also included in the typechecking where
1590possible. External objects defined using the UnknownObj keyword cannot be
1591typechecked, however.
1592
1593iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
1594operator:
1595- Legacy code: Index(PKG1, 3)
1596- New ASL+ code: PKG1[3]
1597This completes the ACPI 6.0 ASL+ support as it was the only operator not
1598supported.
1599
1600iASL: Fixed the file suffix for the preprocessor output file (.i). Two
1601spaces were inadvertently appended to the filename, causing file access
1602and deletion problems on some systems.
1603
1604ASL Test Suite (ASLTS): Updated the master makefile to generate all
1605possible compiler output files when building the test suite -- thus
1606exercising these features of the compiler. These files are automatically
1607deleted when the test suite exits.
1608
1609
1610----------------------------------------
161118 August 2015. Summary of changes for version 20150818:
1612
16131) ACPICA kernel-resident subsystem:
1614
1615Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
1616Zheng. ACPICA BZ 1186.
1617
1618Completed development to ensure that the ACPICA Disassembler and Debugger
1619are fully standalone components of ACPICA. Removed cross-component
1620dependences. Lv Zheng.
1621
1622The max-number-of-AML-loops is now runtime configurable (previously was
1623compile-time only). This is essentially a loop timeout to force-abort
1624infinite AML loops. ACPCIA BZ 1192.
1625
1626Debugger: Cleanup output to dump ACPI names and namepaths without any
1627trailing underscores. Lv Zheng. ACPICA BZ 1135.
1628
1629Removed unnecessary conditional compilations across the Debugger and
1630Disassembler components where entire modules could be left uncompiled.
1631
1632The aapits test is deprecated and has been removed from the ACPICA git
1633tree. The test has never been completed and has not been maintained, thus
1634becoming rather useless. ACPICA BZ 1015, 794.
1635
1636A batch of small changes to close bugzilla and other reports:
1637- Remove duplicate code for _PLD processing. ACPICA BZ 1176.
1638- Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
1639- iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
1640- ACPI table support: general cleanup and simplification. Lv Zheng, Bob
1641Moore.
1642- ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
1643ACPICA BZ 1184.
1644- Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
1645operators.
1646- Debugger: Split debugger initialization/termination interfaces. Lv
1647Zheng.
1648- AcpiExec: Emit OemTableId for SSDTs during the load phase for table
1649identification.
1650- AcpiExec: Add debug message during _REG method phase during table
1651load/init.
1652- AcpiNames: Fix a regression where some output was missing and no longer
1653emitted.
1654- Debugger: General cleanup and simplification. Lv Zheng.
1655- Disassembler: Cleanup use of several global option variables. Lv Zheng.
1656
1657Example Code and Data Size: These are the sizes for the OS-independent
1658acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1659debug version of the code includes the debug output trace mechanism and
1660has a much larger code and data size.
1661
1662  Current Release:
1663    Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1664    Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1665  Previous Release:
1666    Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1667    Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1668
1669
16702) iASL Compiler/Disassembler and Tools:
1671
1672AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
1673were not handled properly and caused load errors. Now, properly invoke
1674and use the ACPICA auto-reallocate mechanism for ACPI table data
1675structures. ACPICA BZ 1188
1676
1677AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
1678BZ 1190.
1679
1680AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
1681AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
1682executed during initialization. ACPICA BZ 1187, 1189.
1683
1684iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
1685that corresponds to each disassembled ASL statement, to simplify
1686debugging. ACPICA BZ 1191.
1687
1688Debugger: Add option to the "objects" command to display a summary of the
1689current namespace objects (Object type and count). This is displayed if
1690the command is entered with no arguments.
1691
1692AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
1693
1694
1695----------------------------------------
169617 July 2015. Summary of changes for version 20150717:
1697
16981) ACPICA kernel-resident subsystem:
1699
1700Improved the partitioning between the Debugger and Disassembler
1701components. This allows the Debugger to be used standalone within kernel
1702code without the Disassembler (which is used for single stepping also).
1703This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
1704
1705Debugger: Implemented a new command to trace the execution of control
1706methods (Trace). This is especially useful for the in-kernel version of
1707the debugger when file I/O may not be available for method trace output.
1708See the ACPICA reference for more information. Lv Zheng.
1709
1710Moved all C library prototypes (used for the local versions of these
1711functions when requested) to a new header, acclib.h
1712Cleaned up the use of non-ANSI C library functions. These functions are
1713implemented locally in ACPICA. Moved all such functions to a common
1714source file, utnonansi.c
1715
1716Debugger: Fixed a problem with the "!!" command (get last command
1717executed) where the debugger could enter an infinite loop and eventually
1718crash.
1719
1720Removed the use of local macros that were used for some of the standard C
1721library functions to automatically cast input parameters. This mostly
1722affected the is* functions where the input parameter is defined to be an
1723int. This required a few modifications to the main ACPICA source code to
1724provide casting for these functions and eliminate possible compiler
1725warnings for these parameters.
1726
1727Across the source code, added additional status/error checking to resolve
1728issues discovered by static source code analysis tools such as Coverity.
1729
1730Example Code and Data Size: These are the sizes for the OS-independent
1731acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1732debug version of the code includes the debug output trace mechanism and
1733has a much larger code and data size.
1734
1735  Current Release:
1736    Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1737    Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1738  Previous Release:
1739    Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1740    Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
1741
1742
17432) iASL Compiler/Disassembler and Tools:
1744
1745iASL: Fixed a regression where the device map file feature no longer
1746worked properly when used in conjunction with the disassembler. It only
1747worked properly with the compiler itself.
1748
1749iASL: Implemented a new warning for method LocalX variables that are set
1750but never used (similar to a C compiler such as gcc). This also applies
1751to ArgX variables that are not defined by the parent method, and are
1752instead (legally) used as local variables.
1753
1754iASL/Preprocessor: Finished the pass-through of line numbers from the
1755preprocessor to the compiler. This ensures that compiler errors/warnings
1756have the correct original line numbers and filenames, regardless of any
1757#include files.
1758
1759iASL/Preprocessor: Fixed a couple of issues with comment handling and the
1760pass-through of comments to the preprocessor output file (which becomes
1761the compiler input file). Also fixed a problem with // comments that
1762appear after a math expression.
1763
1764iASL: Added support for the TCPA server table to the table compiler and
1765template generator. (The client table was already previously supported)
1766
1767iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
1768identify the iASL compiler.
1769
1770Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
1771multiple times. The new names are ACPI_SIGN_NEGATIVE and
1772ACPI_SIGN_POSITIVE.
1773
1774AcpiHelp: Update to expand help messages for the iASL preprocessor
1775directives.
1776
1777
1778----------------------------------------
177919 June 2015. Summary of changes for version 20150619:
1780
1781Two regressions in version 20150616 have been addressed:
1782
1783Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
1784etc.) This update changes ACPICA to only use the standard headers for
1785functions, or the prototypes for the local versions of the C library
1786functions. Across the source code, this required some additional casts
1787for some Clib invocations for portability. Moved all local prototypes to
1788a new file, acclib.h
1789
1790Fixes several problems with recent changes to the handling of the FACS
1791table that could cause some systems not to boot.
1792
1793
1794----------------------------------------
179516 June 2015. Summary of changes for version 20150616:
1796
1797
17981) ACPICA kernel-resident subsystem:
1799
1800Across the entire ACPICA source code base, the various macros for the C
1801library functions (such as ACPI_STRLEN, etc.) have been removed and
1802replaced by the standard C library names (strlen, etc.) The original
1803purpose for these macros is no longer applicable. This simplification
1804reduces the number of macros used in the ACPICA source code
1805significantly, improving readability and maintainability.
1806
1807Implemented support for a new ACPI table, the OSDT. This table, the
1808"override" SDT, can be loaded directly by the host OS at boot time. It
1809enables the replacement of existing namespace objects that were installed
1810via the DSDT and/or SSDTs. The primary purpose for this is to replace
1811buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
1812for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
1813Moore.
1814
1815Added support for systems with (improperly) two FACS tables -- a "32-bit"
1816table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
1817X field). This change will support both automatically. There continues to
1818be systems found with this issue. This support requires a change to the
1819AcpiSetFirmwareWakingVector interface. Also, a public global variable has
1820been added to allow the host to select which FACS is desired
1821(AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
1822details Lv Zheng.
1823
1824Added a new feature to allow for systems that do not contain an FACS.
1825Although this is already supported on hardware-reduced platforms, the
1826feature has been extended for all platforms. The reasoning is that we do
1827not want to abort the entire ACPICA initialization just because the
1828system is seriously buggy and has no FACS.
1829
1830Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
1831not correctly transcribed from the ACPI specification in ACPICA version
183220150515.
1833
1834Implemented support for the _CLS object in the AcpiGetObjectInfo external
1835interface.
1836
1837Updated the definitions of the TCPA and TPM2 ACPI tables to the more
1838recent TCG ACPI Specification, December 14, 2014. Table disassembler and
1839compiler also updated. Note: The TCPA "server" table is not supported by
1840the disassembler/table-compiler at this time.
1841
1842ACPI 6.0: Added definitions for the new GIC version field in the MADT.
1843
1844Example Code and Data Size: These are the sizes for the OS-independent
1845acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1846debug version of the code includes the debug output trace mechanism and
1847has a much larger code and data size.
1848
1849  Current Release:
1850    Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1851    Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
1852  Previous Release:
1853    Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
1854    Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
1855
1856
18572) iASL Compiler/Disassembler and Tools:
1858
1859Disassembler: Fixed a problem with the new symbolic operator disassembler
1860where incorrect ASL code could be emitted in some cases for the "non-
1861commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
1862ShiftRight. The actual problem cases seem to be rather unusual in common
1863ASL code, however. David Box.
1864
1865Modified the linux version of acpidump to obtain ACPI tables from not
1866just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
1867Zheng.
1868
1869iASL: Fixed a problem where the user preprocessor output file (.i)
1870contained extra data that was not expected. The compiler was using this
1871file as a temporary file and passed through #line directives in order to
1872keep compiler error messages in sync with the input file and line number
1873across multiple include files. The (.i) is no longer a temporary file as
1874the compiler uses a new, different file for the original purpose.
1875
1876iASL: Fixed a problem where comments within the original ASL source code
1877file were not passed through to the preprocessor output file, nor any
1878listing files.
1879
1880iASL: Fixed some issues for the handling of the "#include" preprocessor
1881directive and the similar (but not the same) "Include" ASL operator.
1882
1883iASL: Add support for the new OSDT in both the disassembler and compiler.
1884
1885iASL: Fixed a problem with the constant folding support where a Buffer
1886object could be incorrectly generated (incorrectly formed) during a
1887conversion to a Store() operator.
1888
1889AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
1890description text for the _REV predefined name. _REV now permanently
1891returns 2, as per the ACPI 6.0 specification.
1892
1893Debugger: Enhanced the output of the Debug ASL object for references
1894produced by the Index operator. For Buffers and strings, only output the
1895actual byte pointed to by the index. For packages, only print the single
1896package element decoded by the index. Previously, the entire
1897buffer/string/package was emitted.
1898
1899iASL/Table-compiler: Fixed a regression where the "generic" data types
1900were no longer recognized, causing errors.
1901
1902
1903----------------------------------------
190415 May 2015. Summary of changes for version 20150515:
1905
1906This release implements most of ACPI 6.0 as described below.
1907
19081) ACPICA kernel-resident subsystem:
1909
1910Implemented runtime argument checking and return value checking for all
1911new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
1912_MTL, _PRR, _RDI, _RST, _TFP, _TSN.
1913
1914Example Code and Data Size: These are the sizes for the OS-independent
1915acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1916debug version of the code includes the debug output trace mechanism and
1917has a much larger code and data size.
1918
1919  Current Release:
1920    Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
1921    Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
1922  Previous Release:
1923    Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
1924    Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
1925
1926
19272) iASL Compiler/Disassembler and Tools:
1928
1929iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
1930names (argument count validation and return value typechecking.)
1931
1932iASL disassembler and table compiler: implemented support for all new
1933ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
1934
1935iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
1936tables: FADT, MADT.
1937
1938iASL preprocessor: Added a new directive to enable inclusion of binary
1939blobs into ASL code. The new directive is #includebuffer. It takes a
1940binary file as input and emits a named ascii buffer object into the ASL
1941code.
1942
1943AcpiHelp: Added support for all new ACPI 6.0 predefined names.
1944
1945AcpiHelp: Added a new option, -d, to display all iASL preprocessor
1946directives.
1947
1948AcpiHelp: Added a new option, -t, to display all known/supported ACPI
1949tables.
1950
1951
1952----------------------------------------
195310 April 2015. Summary of changes for version 20150410:
1954
1955Reverted a change introduced in version 20150408 that caused
1956a regression in the disassembler where incorrect operator
1957symbols could be emitted.
1958
1959
1960----------------------------------------
196108 April 2015. Summary of changes for version 20150408:
1962
1963
19641) ACPICA kernel-resident subsystem:
1965
1966Permanently set the return value for the _REV predefined name. It now
1967returns 2 (was 5). This matches other ACPI implementations. _REV will be
1968deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
1969for ACPI 2.0 and later. It should never be used to differentiate or
1970identify operating systems.
1971
1972Added the "Windows 2015" string to the _OSI support. ACPICA will now
1973return TRUE to a query with this string.
1974
1975Fixed several issues with the local version of the printf function.
1976
1977Added the C99 compiler option (-std=c99) to the Unix makefiles.
1978
1979  Current Release:
1980    Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
1981    Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
1982  Previous Release:
1983    Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
1984    Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
1985
1986
19872) iASL Compiler/Disassembler and Tools:
1988
1989iASL: Implemented an enhancement to the constant folding feature to
1990transform the parse tree to a simple Store operation whenever possible:
1991    Add (2, 3, X) ==> is converted to: Store (5, X)
1992    X = 2 + 3     ==> is converted to: Store (5, X)
1993
1994Updated support for the SLIC table (Software Licensing Description Table)
1995in both the Data Table compiler and the disassembler. The SLIC table
1996support now conforms to "Microsoft Software Licensing Tables (SLIC and
1997MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
1998following the ACPI header is now defined to be "Proprietary Data", and as
1999such, can only be entered or displayed as a hex data block.
2000
2001Implemented full support for the MSDM table as described in the document
2002above. Note: The format of MSDM is similar to SLIC. Any MSDM data
2003following the ACPI header is defined to be "Proprietary Data", and can
2004only be entered or displayed as a hex data block.
2005
2006Implemented the -Pn option for the iASL Table Compiler (was only
2007implemented for the ASL compiler). This option disables the iASL
2008preprocessor.
2009
2010Disassembler: For disassembly of Data Tables, added a comment field
2011around the Ascii equivalent data that is emitted as part of the "Raw
2012Table Data" block. This prevents the iASL Preprocessor from possible
2013confusion if/when the table is compiled.
2014
2015Disassembler: Added an option (-df) to force the disassembler to assume
2016that the table being disassembled contains valid AML. This feature is
2017useful for disassembling AML files that contain ACPI signatures other
2018than DSDT or SSDT (such as OEMx or other signatures).
2019
2020Changes for the EFI version of the tools:
20211) Fixed a build error/issue
20222) Fixed a cast warning
2023
2024iASL: Fixed a path issue with the __FILE__ operator by making the
2025directory prefix optional within the internal SplitInputFilename
2026function.
2027
2028Debugger: Removed some unused global variables.
2029
2030Tests: Updated the makefile for proper generation of the AAPITS suite.
2031
2032
2033----------------------------------------
203404 February 2015. Summary of changes for version 20150204:
2035
2036ACPICA kernel-resident subsystem:
2037
2038Updated all ACPICA copyrights and signons to 2014. Added the 2014
2039copyright to all module headers and signons, including the standard Linux
2040header. This affects virtually every file in the ACPICA core subsystem,
2041iASL compiler, all ACPICA utilities, and the test suites.
2042
2043Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
2044A raw gpe handling mechanism was created to allow better handling of GPE
2045storms that aren't easily managed by the normal handler. The raw handler
2046allows disabling/renabling of the the GPE so that interrupt storms can be
2047avoided in cases where events cannot be timely serviced. In this
2048scenario, handlers should use the AcpiSetGpe() API to disable/enable the
2049GPE. This API will leave the reference counts undisturbed, thereby
2050preventing unintentional clearing of the GPE when the intent in only to
2051temporarily disable it. Raw handlers allow enabling and disabling of a
2052GPE by removing GPE register locking. As such, raw handlers much provide
2053their own locks while using GPE API's to protect access to GPE data
2054structures.
2055Lv Zheng
2056
2057Events: Always modify GPE registers under the GPE lock.
2058Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
2059values. Reported as bug by joe.liu@apple.com.
2060
2061Unix makefiles: Separate option to disable optimizations and
2062_FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
2063NOOPT disable option and creates a separate flag (NOFORTIFY) for this
2064purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
2065errors when building ACPICA. This allows disabling the option without
2066also having to disable optimazations.
2067David Box
2068
2069  Current Release:
2070    Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2071    Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
2072
2073--
2074--------------------------------------
207507 November 2014. Summary of changes for version 20141107:
2076
2077This release is available at https://acpica.org/downloads
2078
2079This release introduces and implements language extensions to ASL that
2080provide support for symbolic ("C-style") operators and expressions. These
2081language extensions are known collectively as ASL+.
2082
2083
20841) iASL Compiler/Disassembler and Tools:
2085
2086Disassembler: Fixed a problem with disassembly of the UartSerialBus
2087macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
2088Box.
2089
2090Disassembler: Fixed the Unicode macro support to add escape sequences.
2091All non-printable ASCII values are emitted as escape sequences, as well
2092as the standard escapes for quote and backslash. Ensures that the
2093disassembled macro can be correctly recompiled.
2094
2095iASL: Added Printf/Fprintf macros for formatted output. These macros are
2096translated to existing AML Concatenate and Store operations. Printf
2097writes to the ASL Debug object. Fprintf allows the specification of an
2098ASL name as the target. Only a single format specifier is required, %o,
2099since the AML interpreter dynamically converts objects to the required
2100type. David E. Box.
2101
2102    (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2103                 (Concatenate (Concatenate (Concatenate ("", Arg0),
2104                 ": Unexpected value for "), Arg1), ", "), Arg2),
2105                 " at line "), Arg3), Debug)
2106
2107    (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
2108                 Arg0, Arg1, Arg2, Arg3)
2109
2110    (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2111                 ("", Arg1), ": "), Arg0), " Successful"), STR1)
2112
2113    (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
2114
2115iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
2116ASL parse tree before the AML code is generated. This allows blocks of
2117ASL code to be removed in order to help locate and identify problem
2118devices and/or code. David E. Box.
2119
2120AcpiExec: Added support (-fi) for an optional namespace object
2121initialization file. This file specifies initial values for namespace
2122objects as necessary for debugging and testing different ASL code paths
2123that may be taken as a result of BIOS options.
2124
2125
21262) Overview of symbolic operator support for ASL (ASL+)
2127-------------------------------------------------------
2128
2129As an extension to the ASL language, iASL implements support for symbolic
2130(C-style) operators for math and logical expressions. This can greatly
2131simplify ASL code as well as improve both readability and
2132maintainability. These language extensions can exist concurrently with
2133all legacy ASL code and expressions.
2134
2135The symbolic extensions are 100% compatible with existing AML
2136interpreters, since no new AML opcodes are created. To implement the
2137extensions, the iASL compiler transforms the symbolic expressions into
2138the legacy ASL/AML equivalents at compile time.
2139
2140Full symbolic expressions are supported, along with the standard C
2141precedence and associativity rules.
2142
2143Full disassembler support for the symbolic expressions is provided, and
2144creates an automatic migration path for existing ASL code to ASL+ code
2145via the disassembly process. By default, the disassembler now emits ASL+
2146code with symbolic expressions. An option (-dl) is provided to force the
2147disassembler to emit legacy ASL code if desired.
2148
2149Below is the complete list of the currently supported symbolic operators
2150with examples. See the iASL User Guide for additional information.
2151
2152
2153ASL+ Syntax      Legacy ASL Equivalent
2154-----------      ---------------------
2155
2156    // Math operators
2157
2158Z = X + Y        Add (X, Y, Z)
2159Z = X - Y        Subtract (X, Y, Z)
2160Z = X * Y        Multiply (X, Y, Z)
2161Z = X / Y        Divide (X, Y, , Z)
2162Z = X % Y        Mod (X, Y, Z)
2163Z = X << Y       ShiftLeft (X, Y, Z)
2164Z = X >> Y       ShiftRight (X, Y, Z)
2165Z = X & Y        And (X, Y, Z)
2166Z = X | Y        Or (X, Y, Z)
2167Z = X ^ Y        Xor (X, Y, Z)
2168Z = ~X           Not (X, Z)
2169X++              Increment (X)
2170X--              Decrement (X)
2171
2172    // Logical operators
2173
2174(X == Y)         LEqual (X, Y)
2175(X != Y)         LNotEqual (X, Y)
2176(X < Y)          LLess (X, Y)
2177(X > Y)          LGreater (X, Y)
2178(X <= Y)         LLessEqual (X, Y)
2179(X >= Y)         LGreaterEqual (X, Y)
2180(X && Y)         LAnd (X, Y)
2181(X || Y)         LOr (X, Y)
2182(!X)             LNot (X)
2183
2184    // Assignment and compound assignment operations
2185
2186X = Y           Store (Y, X)
2187X += Y          Add (X, Y, X)
2188X -= Y          Subtract (X, Y, X)
2189X *= Y          Multiply (X, Y, X)
2190X /= Y          Divide (X, Y, , X)
2191X %= Y          Mod (X, Y, X)
2192X <<= Y         ShiftLeft (X, Y, X)
2193X >>= Y         ShiftRight (X, Y, X)
2194X &= Y          And (X, Y, X)
2195X |= Y          Or (X, Y, X)
2196X ^= Y          Xor (X, Y, X)
2197
2198
21993) ASL+ Examples:
2200-----------------
2201
2202Legacy ASL:
2203        If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
2204            And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
22050x03FB),
2206            0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
2207        {
2208            And (MEMB, 0xFFFFFFF0, SRMB)
2209            Store (MEMB, Local2)
2210            Store (PDBM, Local1)
2211            And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
2212            Store (SRMB, MEMB)
2213            Or (PDBM, 0x02, PDBM)
2214        }
2215
2216ASL+ version:
2217        If (((R510 & 0x03FB) == 0x02E0) ||
2218            ((R520 & 0x03FB) == 0x02E0) ||
2219            ((R530 & 0x03FB) == 0x02E0) ||
2220            ((R540 & 0x03FB) == 0x02E0))
2221        {
2222            SRMB = (MEMB & 0xFFFFFFF0)
2223            Local2 = MEMB
2224            Local1 = PDBM
2225            PDBM &= 0xFFFFFFFFFFFFFFF9
2226            MEMB = SRMB
2227            PDBM |= 0x02
2228        }
2229
2230Legacy ASL:
2231        Store (0x1234, Local1)
2232        Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2233        Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2234        Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2235        Store (Index (PKG1, 0x03), Local6)
2236        Store (Add (Local3, Local2), Debug)
2237        Add (Local1, 0x0F, Local2)
2238        Add (Local1, Multiply (Local2, Local3), Local2)
2239        Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2240
2241ASL+ version:
2242        Local1 = 0x1234
2243        Local3 = (((Local1 + TEST) + 0x20) * Local2)
2244        Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2245        Local3 = (Local1 + (TEST + (0x20 * Local2)))
2246        Local6 = Index (PKG1, 0x03)
2247        Debug = (Local3 + Local2)
2248        Local2 = (Local1 + 0x0F)
2249        Local2 = (Local1 + (Local2 * Local3))
2250        Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2251
2252
2253----------------------------------------
225426 September 2014. Summary of changes for version 20140926:
2255
22561) ACPICA kernel-resident subsystem:
2257
2258Updated the GPIO operation region handler interface (GeneralPurposeIo).
2259In order to support GPIO Connection objects with multiple pins, along
2260with the related Field objects, the following changes to the interface
2261have been made: The Address is now defined to be the offset in bits of
2262the field unit from the previous invocation of a Connection. It can be
2263viewed as a "Pin Number Index" into the connection resource descriptor.
2264The BitWidth is the exact bit width of the field. It is usually one bit,
2265but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
2266additional information and examples.
2267
2268GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
2269corresponding _Lxx/_Exx methods are disabled (they may have been enabled
2270by the firmware), so that they cannot fire until they are enabled via
2271AcpiUpdateAllGpes. Rafael J. Wysocki.
2272
2273Added a new return flag for the Event/GPE status interfaces --
2274AcpiGetEventStatus and AcpiGetGpeStatus. The new
2275ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
2276GPE currently has a handler associated with it, and can thus actually
2277affect the system. Lv Zheng.
2278
2279Example Code and Data Size: These are the sizes for the OS-independent
2280acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2281debug version of the code includes the debug output trace mechanism and
2282has a much larger code and data size.
2283
2284  Current Release:
2285    Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2286    Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2287  Previous Release:
2288    Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2289    Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2290
22912) iASL Compiler/Disassembler and Tools:
2292
2293iASL: Fixed a memory allocation/free regression introduced in 20140828
2294that could cause the compiler to crash. This was introduced inadvertently
2295during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
22961113.
2297
2298iASL: Removed two error messages that have been found to create false
2299positives, until they can be fixed and fully validated (ACPICA BZ 1112):
23001) Illegal forward reference within a method
23012) Illegal reference across two methods
2302
2303iASL: Implemented a new option (-lm) to create a hardware mapping file
2304that summarizes all GPIO, I2C, SPI, and UART connections. This option
2305works for both the compiler and disassembler. See the iASL compiler user
2306guide for additional information and examples (section 6.4.6).
2307
2308AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
2309version 2. This corrects the AE_BAD_HEADER exception seen on systems with
2310a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
2311
2312AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
2313unless STDIN is actually a terminal. Assists with batch-mode processing.
2314ACPICA BZ 1114.
2315
2316Disassembler/AcpiHelp: Added another large group of recognized _HID
2317values.
2318
2319
2320----------------------------------------
232128 August 2014. Summary of changes for version 20140828:
2322
23231) ACPICA kernel-resident subsystem:
2324
2325Fixed a problem related to the internal use of the Timer() operator where
2326a 64-bit divide could cause an attempted link to a double-precision math
2327library. This divide is not actually necessary, so the code was
2328restructured to eliminate it. Lv Zheng.
2329
2330ACPI 5.1: Added support for the runtime validation of the _DSD package
2331(similar to the iASL support).
2332
2333ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
2334SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
2335
2336Example Code and Data Size: These are the sizes for the OS-independent
2337acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2338debug version of the code includes the debug output trace mechanism and
2339has a much larger code and data size.
2340
2341  Current Release:
2342    Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2343    Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2344  Previous Release:
2345    Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
2346    Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2347
23482) iASL Compiler/Disassembler and Tools:
2349
2350AcpiExec: Fixed a problem on unix systems where the original terminal
2351state was not always properly restored upon exit. Seen when using the -v
2352option. ACPICA BZ 1104.
2353
2354iASL: Fixed a problem with the validation of the ranges/length within the
2355Memory24 resource descriptor. There was a boundary condition when the
2356range was equal to the (length -1) caused by the fact that these values
2357are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
2358
2359Disassembler: Fixed a problem with the GpioInt descriptor interrupt
2360polarity
2361flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
2362is
2363now supported properly.
2364
2365ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
2366in the disassembler, data table compiler, and table template generator.
2367
2368iASL: Added a requirement for Device() objects that one of either a _HID
2369or _ADR must exist within the scope of a Device, as per the ACPI
2370specification. Remove a similar requirement that was incorrectly in place
2371for the _DSD object.
2372
2373iASL: Added error detection for illegal named references within control
2374methods that would cause runtime failures. Now trapped as errors are: 1)
2375References to objects within a non-parent control method. 2) Forward
2376references (within a method) -- for control methods, AML interpreters use
2377a one-pass parse of control methods. ACPICA BZ 1008.
2378
2379iASL: Added error checking for dependencies related to the _PSx power
2380methods. ACPICA BZ 1029.
23811) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
2382_PS3.
23832) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
2384scope.
2385
2386iASL and table compiler: Cleanup miscellaneous memory leaks by fully
2387deploying the existing object and string caches and adding new caches for
2388the table compiler.
2389
2390iASL: Split the huge parser source file into multiple subfiles to improve
2391manageability. Generation now requires the M4 macro preprocessor, which
2392is part of the Bison distribution on both unix and windows platforms.
2393
2394AcpiSrc: Fixed and removed all extraneous warnings generated during
2395entire ACPICA source code scan and/or conversion.
2396
2397
2398----------------------------------------
2399
240024 July 2014. Summary of changes for version 20140724:
2401
2402The ACPI 5.1 specification has been released and is available at:
2403http://uefi.org/specs/access
2404
2405
24060) ACPI 5.1 support in ACPICA:
2407
2408ACPI 5.1 is fully supported in ACPICA as of this release.
2409
2410New predefined names. Support includes iASL and runtime ACPICA
2411validation.
2412    _CCA (Cache Coherency Attribute).
2413    _DSD (Device-Specific Data). David Box.
2414
2415Modifications to existing ACPI tables. Support includes headers, iASL
2416Data Table compiler, disassembler, and the template generator.
2417    FADT - New fields and flags. Graeme Gregory.
2418    GTDT - One new subtable and new fields. Tomasz Nowicki.
2419    MADT - Two new subtables. Tomasz Nowicki.
2420    PCCT - One new subtable.
2421
2422Miscellaneous.
2423    New notification type for System Resource Affinity change events.
2424
2425
24261) ACPICA kernel-resident subsystem:
2427
2428Fixed a regression introduced in 20140627 where a fault can happen during
2429the deletion of Alias AML namespace objects. The problem affected both
2430the core ACPICA and the ACPICA tools including iASL and AcpiExec.
2431
2432Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
2433simple mechanism to enable wake GPEs that have no associated handler or
2434control method. Rafael Wysocki.
2435
2436Updated the AcpiEnableGpe interface to disallow the enable if there is no
2437handler or control method associated with the particular GPE. This will
2438help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
2439
2440Updated GPE handling and dispatch by disabling the GPE before clearing
2441the status bit for edge-triggered GPEs. Lv Zheng.
2442
2443Added Timer() support to the AML Debug object. The current timer value is
2444now displayed with each invocation of (Store to) the debug object to
2445enable simple generation of execution times for AML code (method
2446execution for example.) ACPICA BZ 1093.
2447
2448Example Code and Data Size: These are the sizes for the OS-independent
2449acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2450debug version of the code includes the debug output trace mechanism and
2451has a much larger code and data size.
2452
2453  Current Release:
2454    Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
2455    Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2456  Previous Release:
2457    Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2458    Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2459
2460
24612) iASL Compiler/Disassembler and Tools:
2462
2463Fixed an issue with the recently added local printf implementation,
2464concerning width/precision specifiers that could cause incorrect output.
2465Lv Zheng. ACPICA BZ 1094.
2466
2467Disassembler: Added support to detect buffers that contain UUIDs and
2468disassemble them to an invocation of the ToUUID operator. Also emit
2469commented descriptions of known ACPI-related UUIDs.
2470
2471AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
2472-u. Adds three new files.
2473
2474iASL: Update table compiler and disassembler for DMAR table changes that
2475were introduced in September 2013. With assistance by David Woodhouse.
2476
2477----------------------------------------
247827 June 2014. Summary of changes for version 20140627:
2479
24801) ACPICA kernel-resident subsystem:
2481
2482Formatted Output: Implemented local versions of standard formatted output
2483utilities such as printf, etc. Over time, it has been discovered that
2484there are in fact many portability issues with printf, and the addition
2485of this feature will fix/prevent these issues once and for all. Some
2486known issues are summarized below:
2487
24881) Output of 64-bit values is not portable. For example, UINT64 is %ull
2489for the Linux kernel and is %uI64 for some MSVC versions.
24902) Invoking printf consistently in a manner that is portable across both
249132-bit and 64-bit platforms is difficult at best in many situations.
24923) The output format for pointers varies from system to system (leading
2493zeros especially), and leads to inconsistent output from ACPICA across
2494platforms.
24954) Certain platform-specific printf formats may conflict with ACPICA use.
24965) If there is no local C library available, ACPICA now has local support
2497for printf.
2498
2499-- To address these printf issues in a complete manner, ACPICA now
2500directly implements a small subset of printf format specifiers, only
2501those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
2502
2503Implemented support for ACPICA generation within the EFI environment.
2504Initially, the AcpiDump utility is supported in the UEFI shell
2505environment. Lv Zheng.
2506
2507Added a new external interface, AcpiLogError, to improve ACPICA
2508portability. This allows the host to redirect error messages from the
2509ACPICA utilities. Lv Zheng.
2510
2511Added and deployed new OSL file I/O interfaces to improve ACPICA
2512portability:
2513  AcpiOsOpenFile
2514  AcpiOsCloseFile
2515  AcpiOsReadFile
2516  AcpiOsWriteFile
2517  AcpiOsGetFileOffset
2518  AcpiOsSetFileOffset
2519There are C library implementations of these functions in the new file
2520service_layers/oslibcfs.c -- however, the functions can be implemented by
2521the local host in any way necessary. Lv Zheng.
2522
2523Implemented a mechanism to disable/enable ACPI table checksum validation
2524at runtime. This can be useful when loading tables very early during OS
2525initialization when it may not be possible to map the entire table in
2526order to compute the checksum. Lv Zheng.
2527
2528Fixed a buffer allocation issue for the Generic Serial Bus support.
2529Originally, a fixed buffer length was used. This change allows for
2530variable-length buffers based upon the protocol indicated by the field
2531access attributes. Reported by Lan Tianyu. Lv Zheng.
2532
2533Fixed a problem where an object detached from a namespace node was not
2534properly terminated/cleared and could cause a circular list problem if
2535reattached. ACPICA BZ 1063. David Box.
2536
2537Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
2538
2539Fixed a possible memory leak in an error return path within the function
2540AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
2541
2542Example Code and Data Size: These are the sizes for the OS-independent
2543acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2544debug version of the code includes the debug output trace mechanism and
2545has a much larger code and data size.
2546
2547  Current Release:
2548    Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2549    Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2550  Previous Release:
2551    Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2552    Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2553
2554
25552) iASL Compiler/Disassembler and Tools:
2556
2557Disassembler: Add dump of ASCII equivalent text within a comment at the
2558end of each line of the output for the Buffer() ASL operator.
2559
2560AcpiDump: Miscellaneous changes:
2561  Fixed repetitive table dump in -n mode.
2562  For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
2563the ACPI 2.0 GUID fails.
2564
2565iASL: Fixed a problem where the compiler could fault if incorrectly given
2566an acpidump output file as input. ACPICA BZ 1088. David Box.
2567
2568AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
2569they are invoked without any arguments.
2570
2571Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
25721086. Colin Ian King.
2573
2574Disassembler: Cleaned up a block of code that extracts a parent Op
2575object. Added a comment that explains that the parent is guaranteed to be
2576valid in this case. ACPICA BZ 1069.
2577
2578
2579----------------------------------------
258024 April 2014. Summary of changes for version 20140424:
2581
25821) ACPICA kernel-resident subsystem:
2583
2584Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
2585Some of these tables are known to contain a trailing NULL entry. Lv
2586Zheng.
2587
2588Removed an extraneous error message for the case where there are a large
2589number of system GPEs (> 124). This was the "32-bit FADT register is too
2590long to convert to GAS struct" message, which is irrelevant for GPEs
2591since the GPEx_BLK_LEN fields of the FADT are always used instead of the
2592(limited capacity) GAS bit length. Also, several changes to ensure proper
2593support for GPE numbers > 255, where some "GPE number" fields were 8-bits
2594internally.
2595
2596Implemented and deployed additional configuration support for the public
2597ACPICA external interfaces. Entire classes of interfaces can now be
2598easily modified or configured out, replaced by stubbed inline functions
2599by default. Lv Zheng.
2600
2601Moved all public ACPICA runtime configuration globals to the public
2602ACPICA external interface file for convenience. Also, removed some
2603obsolete/unused globals. See the file acpixf.h. Lv Zheng.
2604
2605Documentation: Added a new section to the ACPICA reference describing the
2606maximum number of GPEs that can be supported by the FADT-defined GPEs in
2607block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
2608reference.
2609
2610Example Code and Data Size: These are the sizes for the OS-independent
2611acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2612debug version of the code includes the debug output trace mechanism and
2613has a much larger code and data size.
2614
2615  Current Release:
2616    Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2617    Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2618  Previous Release:
2619    Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2620    Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2621
2622
26232) iASL Compiler/Disassembler and Tools:
2624
2625iASL and disassembler: Add full support for the LPIT table (Low Power
2626Idle Table). Includes support in the disassembler, data table compiler,
2627and template generator.
2628
2629AcpiDump utility:
26301) Add option to force the use of the RSDT (over the XSDT).
26312) Improve validation of the RSDP signature (use 8 chars instead of 4).
2632
2633iASL: Add check for predefined packages that are too large.  For
2634predefined names that contain subpackages, check if each subpackage is
2635too large. (Check for too small already exists.)
2636
2637Debugger: Updated the GPE command (which simulates a GPE by executing the
2638GPE code paths in ACPICA). The GPE device is now optional, and defaults
2639to the GPE 0/1 FADT-defined blocks.
2640
2641Unix application OSL: Update line-editing support. Add additional error
2642checking and take care not to reset terminal attributes on exit if they
2643were never set. This should help guarantee that the terminal is always
2644left in the previous state on program exit.
2645
2646
2647----------------------------------------
264825 March 2014. Summary of changes for version 20140325:
2649
26501) ACPICA kernel-resident subsystem:
2651
2652Updated the auto-serialize feature for control methods. This feature
2653automatically serializes all methods that create named objects in order
2654to prevent runtime errors. The update adds support to ignore the
2655currently executing AML SyncLevel when invoking such a method, in order
2656to prevent disruption of any existing SyncLevel priorities that may exist
2657in the AML code. Although the use of SyncLevels is relatively rare, this
2658change fixes a regression where an AE_AML_MUTEX_ORDER exception can
2659appear on some machines starting with the 20140214 release.
2660
2661Added a new external interface to allow the host to install ACPI tables
2662very early, before the namespace is even created. AcpiInstallTable gives
2663the host additional flexibility for ACPI table management. Tables can be
2664installed directly by the host as if they had originally appeared in the
2665XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
2666(anything except the DSDT and FACS). Adds a new file, tbdata.c, along
2667with additional internal restructuring and cleanup. See the ACPICA
2668Reference for interface details. Lv Zheng.
2669
2670Added validation of the checksum for all incoming dynamically loaded
2671tables (via external interfaces or via AML Load/LoadTable operators). Lv
2672Zheng.
2673
2674Updated the use of the AcpiOsWaitEventsComplete interface during Notify
2675and GPE handler removal. Restructured calls to eliminate possible race
2676conditions. Lv Zheng.
2677
2678Added a warning for the use/execution of the ASL/AML Unload (table)
2679operator. This will help detect and identify machines that use this
2680operator if and when it is ever used. This operator has never been seen
2681in the field and the usage model and possible side-effects of the drastic
2682runtime action of a full table removal are unknown.
2683
2684Reverted the use of #pragma push/pop which was introduced in the 20140214
2685release. It appears that push and pop are not implemented by enough
2686compilers to make the use of this feature feasible for ACPICA at this
2687time. However, these operators may be deployed in a future ACPICA
2688release.
2689
2690Added the missing EXPORT_SYMBOL macros for the install and remove SCI
2691handler interfaces.
2692
2693Source code generation:
26941) Disabled the use of the "strchr" macro for the gcc-specific
2695generation. For some versions of gcc, this macro can periodically expose
2696a compiler bug which in turn causes compile-time error(s).
26972) Added support for PPC64 compilation. Colin Ian King.
2698
2699Example Code and Data Size: These are the sizes for the OS-independent
2700acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2701debug version of the code includes the debug output trace mechanism and
2702has a much larger code and data size.
2703
2704  Current Release:
2705    Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2706    Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2707  Previous Release:
2708    Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
2709    Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
2710
2711
27122) iASL Compiler/Disassembler and Tools:
2713
2714Disassembler: Added several new features to improve the readability of
2715the resulting ASL code. Extra information is emitted within comment
2716fields in the ASL code:
27171) Known _HID/_CID values are decoded to descriptive text.
27182) Standard values for the Notify() operator are decoded to descriptive
2719text.
27203) Target operands are expanded to full pathnames (in a comment) when
2721possible.
2722
2723Disassembler: Miscellaneous updates for extern() handling:
27241) Abort compiler if file specified by -fe option does not exist.
27252) Silence unnecessary warnings about argument count mismatches.
27263) Update warning messages concerning unresolved method externals.
27274) Emit "UnknownObj" keyword for externals whose type cannot be
2728determined.
2729
2730AcpiHelp utility:
27311) Added the -a option to display both the ASL syntax and the AML
2732encoding for an input ASL operator. This effectively displays all known
2733information about an ASL operator with one AcpiHelp invocation.
27342) Added substring match support (similar to a wildcard) for the -i
2735(_HID/PNP IDs) option.
2736
2737iASL/Disassembler: Since this tool does not yet support execution on big-
2738endian machines, added detection of endianness and an error message if
2739execution is attempted on big-endian. Support for big-endian within iASL
2740is a feature that is on the ACPICA to-be-done list.
2741
2742AcpiBin utility:
27431) Remove option to extract binary files from an acpidump; this function
2744is made obsolete by the AcpiXtract utility.
27452) General cleanup of open files and allocated buffers.
2746
2747
2748----------------------------------------
274914 February 2014. Summary of changes for version 20140214:
2750
27511) ACPICA kernel-resident subsystem:
2752
2753Implemented a new mechanism to proactively prevent problems with ill-
2754behaved reentrant control methods that create named ACPI objects. This
2755behavior is illegal as per the ACPI specification, but is nonetheless
2756frequently seen in the field. Previously, this could lead to an
2757AE_ALREADY_EXISTS exception if the method was actually entered by more
2758than one thread. This new mechanism detects such methods at table load
2759time and marks them "serialized" to prevent reentrancy. A new global
2760option, AcpiGbl_AutoSerializeMethods, has been added to disable this
2761feature if desired. This mechanism and global option obsoletes and
2762supersedes the previous AcpiGbl_SerializeAllMethods option.
2763
2764Added the "Windows 2013" string to the _OSI support. ACPICA will now
2765respond TRUE to _OSI queries with this string. It is the stated policy of
2766ACPICA to add new strings to the _OSI support as soon as possible after
2767they are defined. See the full ACPICA _OSI policy which has been added to
2768the utilities/utosi.c file.
2769
2770Hardened/updated the _PRT return value auto-repair code:
27711) Do not abort the repair on a single subpackage failure, continue to
2772check all subpackages.
27732) Add check for the minimum subpackage length (4).
27743) Properly handle extraneous NULL package elements.
2775
2776Added support to avoid the possibility of infinite loops when traversing
2777object linked lists. Never allow an infinite loop, even in the face of
2778corrupted object lists.
2779
2780ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
2781pack(pop) directives to ensure that the ACPICA headers are independent of
2782compiler settings or other host headers.
2783
2784Example Code and Data Size: These are the sizes for the OS-independent
2785acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2786debug version of the code includes the debug output trace mechanism and
2787has a much larger code and data size.
2788
2789  Current Release:
2790    Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
2791    Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
2792  Previous Release:
2793    Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
2794    Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
2795
2796
27972) iASL Compiler/Disassembler and Tools:
2798
2799iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
2800first reserved field was incorrectly forced to have a value of zero. This
2801change correctly forces the field to have a value of one. ACPICA BZ 1081.
2802
2803Debugger: Added missing support for the "Extra" and "Data" subobjects
2804when displaying object data.
2805
2806Debugger: Added support to display entire object linked lists when
2807displaying object data.
2808
2809iASL: Removed the obsolete -g option to obtain ACPI tables from the
2810Windows registry. This feature has been superseded by the acpidump
2811utility.
2812
2813
2814----------------------------------------
281514 January 2014. Summary of changes for version 20140114:
2816
28171) ACPICA kernel-resident subsystem:
2818
2819Updated all ACPICA copyrights and signons to 2014. Added the 2014
2820copyright to all module headers and signons, including the standard Linux
2821header. This affects virtually every file in the ACPICA core subsystem,
2822iASL compiler, all ACPICA utilities, and the test suites.
2823
2824Improved parameter validation for AcpiInstallGpeBlock. Added the
2825following checks:
28261) The incoming device handle refers to type ACPI_TYPE_DEVICE.
28272) There is not already a GPE block attached to the device.
2828Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
2829device.
2830
2831Correctly support "references" in the ACPI_OBJECT. This change fixes the
2832support to allow references (namespace nodes) to be passed as arguments
2833to control methods via the evaluate object interface. This is probably
2834most useful for testing purposes, however.
2835
2836Improved support for 32/64 bit physical addresses in printf()-like
2837output. This change improves the support for physical addresses in printf
2838debug statements and other output on both 32-bit and 64-bit hosts. It
2839consistently outputs the appropriate number of bytes for each host. The
2840%p specifier is unsatisfactory since it does not emit uniform output on
2841all hosts/clib implementations (on some, leading zeros are not supported,
2842leading to difficult-to-read output).
2843
2844Example Code and Data Size: These are the sizes for the OS-independent
2845acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2846debug version of the code includes the debug output trace mechanism and
2847has a much larger code and data size.
2848
2849  Current Release:
2850    Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
2851    Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
2852  Previous Release:
2853    Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
2854    Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
2855
2856
28572) iASL Compiler/Disassembler and Tools:
2858
2859iASL: Fix a possible fault when using the Connection() operator. Fixes a
2860problem if the parent Field definition for the Connection operator refers
2861to an operation region that does not exist. ACPICA BZ 1064.
2862
2863AcpiExec: Load of local test tables is now optional. The utility has the
2864capability to load some various tables to test features of ACPICA.
2865However, there are enough of them that the output of the utility became
2866confusing. With this change, only the required local tables are displayed
2867(RSDP, XSDT, etc.) along with the actual tables loaded via the command
2868line specification. This makes the default output simler and easier to
2869understand. The -el command line option restores the original behavior
2870for testing purposes.
2871
2872AcpiExec: Added support for overlapping operation regions. This change
2873expands the simulation of operation regions by supporting regions that
2874overlap within the given address space. Supports SystemMemory and
2875SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
2876
2877AcpiExec: Added region handler support for PCI_Config and EC spaces. This
2878allows AcpiExec to simulate these address spaces, similar to the current
2879support for SystemMemory and SystemIO.
2880
2881Debugger: Added new command to read/write/compare all namespace objects.
2882The command "test objects" will exercise the entire namespace by writing
2883new values to each data object, and ensuring that the write was
2884successful. The original value is then restored and verified.
2885
2886Debugger: Added the "test predefined" command. This change makes this
2887test public and puts it under the new "test" command. The test executes
2888each and every predefined name within the current namespace.
2889
2890
2891----------------------------------------
289218 December 2013. Summary of changes for version 20131218:
2893
2894Global note: The ACPI 5.0A specification was released this month. There
2895are no changes needed for ACPICA since this release of ACPI is an
2896errata/clarification release. The specification is available at
2897acpi.info.
2898
2899
29001) ACPICA kernel-resident subsystem:
2901
2902Added validation of the XSDT root table if it is present. Some older
2903platforms contain an XSDT that is ill-formed or otherwise invalid (such
2904as containing some or all entries that are NULL pointers). This change
2905adds a new function to validate the XSDT before actually using it. If the
2906XSDT is found to be invalid, ACPICA will now automatically fall back to
2907using the RSDT instead. Original implementation by Zhao Yakui. Ported to
2908ACPICA and enhanced by Lv Zheng and Bob Moore.
2909
2910Added a runtime option to ignore the XSDT and force the use of the RSDT.
2911This change adds a runtime option that will force ACPICA to use the RSDT
2912instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
2913requires that an XSDT be used instead of the RSDT, the XSDT has been
2914found to be corrupt or ill-formed on some machines. Lv Zheng.
2915
2916Added a runtime option to favor 32-bit FADT register addresses over the
291764-bit addresses. This change adds an option to favor 32-bit FADT
2918addresses when there is a conflict between the 32-bit and 64-bit versions
2919of the same register. The default behavior is to use the 64-bit version
2920in accordance with the ACPI specification. This can now be overridden via
2921the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
2922
2923During the change above, the internal "Convert FADT" and "Verify FADT"
2924functions have been merged to simplify the code, making it easier to
2925understand and maintain. ACPICA BZ 933.
2926
2927Improve exception reporting and handling for GPE block installation.
2928Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
2929status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
2930
2931Added helper macros to extract bus/segment numbers from the HEST table.
2932This change adds two macros to extract the encoded bus and segment
2933numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
2934Betty Dall <betty.dall@hp.com>
2935
2936Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
2937by ACPICA. It is not a public macro, so it should have no effect on
2938existing OSV code. Lv Zheng.
2939
2940Example Code and Data Size: These are the sizes for the OS-independent
2941acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2942debug version of the code includes the debug output trace mechanism and
2943has a much larger code and data size.
2944
2945  Current Release:
2946    Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
2947    Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
2948  Previous Release:
2949    Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
2950    Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
2951
2952
29532) iASL Compiler/Disassembler and Tools:
2954
2955Disassembler: Improved pathname support for emitted External()
2956statements. This change adds full pathname support for external names
2957that have been resolved internally by the inclusion of additional ACPI
2958tables (via the iASL -e option). Without this change, the disassembler
2959can emit multiple externals for the same object, or it become confused
2960when the Scope() operator is used on an external object. Overall, greatly
2961improves the ability to actually recompile the emitted ASL code when
2962objects a referenced across multiple ACPI tables. Reported by Michael
2963Tsirkin (mst@redhat.com).
2964
2965Tests/ASLTS: Updated functional control suite to execute with no errors.
2966David Box. Fixed several errors related to the testing of the interpreter
2967slack mode. Lv Zheng.
2968
2969iASL: Added support to detect names that are declared within a control
2970method, but are unused (these are temporary names that are only valid
2971during the time the method is executing). A remark is issued for these
2972cases. ACPICA BZ 1022.
2973
2974iASL: Added full support for the DBG2 table. Adds full disassembler,
2975table compiler, and template generator support for the DBG2 table (Debug
2976Port 2 table).
2977
2978iASL: Added full support for the PCCT table, update the table definition.
2979Updates the PCCT table definition in the actbl3.h header and adds table
2980compiler and template generator support.
2981
2982iASL: Added an option to emit only error messages (no warnings/remarks).
2983The -ve option will enable only error messages, warnings and remarks are
2984suppressed. This can simplify debugging when only the errors are
2985important, such as when an ACPI table is disassembled and there are many
2986warnings and remarks -- but only the actual errors are of real interest.
2987
2988Example ACPICA code (source/tools/examples): Updated the example code so
2989that it builds to an actual working program, not just example code. Added
2990ACPI tables and execution of an example control method in the DSDT. Added
2991makefile support for Unix generation.
2992
2993
2994----------------------------------------
299515 November 2013. Summary of changes for version 20131115:
2996
2997This release is available at https://acpica.org/downloads
2998
2999
30001) ACPICA kernel-resident subsystem:
3001
3002Resource Manager: Fixed loop termination for the "get AML length"
3003function. The loop previously had an error termination on a NULL resource
3004pointer, which can never happen since the loop simply increments a valid
3005resource pointer. This fix changes the loop to terminate with an error on
3006an invalid end-of-buffer condition. The problem can be seen as an
3007infinite loop by callers to AcpiSetCurrentResources with an invalid or
3008corrupted resource descriptor, or a resource descriptor that is missing
3009an END_TAG descriptor. Reported by Dan Carpenter
3010<dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
3011
3012Table unload and ACPICA termination: Delete all attached data objects
3013during namespace node deletion. This fix updates namespace node deletion
3014to delete the entire list of attached objects (attached via
3015AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
30161024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
3017
3018ACPICA termination: Added support to delete all objects attached to the
3019root namespace node. This fix deletes any and all objects that have been
3020attached to the root node via AcpiAttachData. Previously, none of these
3021objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
3022
3023Debug output: Do not emit the function nesting level for the in-kernel
3024build. The nesting level is really only useful during a single-thread
3025execution. Therefore, only enable this output for the AcpiExec utility.
3026Also, only emit the thread ID when executing under AcpiExec (Context
3027switches are still always detected and a message is emitted). ACPICA BZ
3028972.
3029
3030Example Code and Data Size: These are the sizes for the OS-independent
3031acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3032debug version of the code includes the debug output trace mechanism and
3033has a much larger code and data size.
3034
3035  Current Release:
3036    Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
3037    Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
3038  Previous Release:
3039    Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3040    Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3041
3042
30432) iASL Compiler/Disassembler and Tools:
3044
3045AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
3046correct portable POSIX header for terminal control functions.
3047
3048Disassembler: Fixed control method invocation issues related to the use
3049of the CondRefOf() operator. The problem is seen in the disassembly where
3050control method invocations may not be disassembled properly if the
3051control method name has been used previously as an argument to CondRefOf.
3052The solution is to not attempt to emit an external declaration for the
3053CondRefOf target (it is not necessary in the first place). This prevents
3054disassembler object type confusion. ACPICA BZ 988.
3055
3056Unix Makefiles: Added an option to disable compiler optimizations and the
3057_FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
3058with optimizations (reportedly, gcc 4.4 for example). This change adds a
3059command line option for make (NOOPT) that disables all compiler
3060optimizations and the _FORTIFY_SOURCE compiler flag. The default
3061optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
30621034. Lv Zheng, Bob Moore.
3063
3064Tests/ASLTS: Added options to specify individual test cases and modes.
3065This allows testers running aslts.sh to optionally specify individual
3066test modes and test cases. Also added an option to disable the forced
3067generation of the ACPICA tools from source if desired. Lv Zheng.
3068
3069----------------------------------------
307027 September 2013. Summary of changes for version 20130927:
3071
3072This release is available at https://acpica.org/downloads
3073
3074
30751) ACPICA kernel-resident subsystem:
3076
3077Fixed a problem with store operations to reference objects. This change
3078fixes a problem where a Store operation to an ArgX object that contained
3079a
3080reference to a field object did not complete the automatic dereference
3081and
3082then write to the actual field object. Instead, the object type of the
3083field object was inadvertently changed to match the type of the source
3084operand. The new behavior will actually write to the field object (buffer
3085field or field unit), thus matching the correct ACPI-defined behavior.
3086
3087Implemented support to allow the host to redefine individual OSL
3088prototypes. This change enables the host to redefine OSL prototypes found
3089in the acpiosxf.h file. This allows the host to implement OSL interfaces
3090with a macro or inlined function. Further, it allows the host to add any
3091additional required modifiers such as __iomem, __init, __exit, etc., as
3092necessary on a per-interface basis. Enables maximum flexibility for the
3093OSL interfaces. Lv Zheng.
3094
3095Hardcoded the access width for the FADT-defined reset register. The ACPI
3096specification requires the reset register width to be 8 bits. ACPICA now
3097hardcodes the width to 8 and ignores the FADT width value. This provides
3098compatibility with other ACPI implementations that have allowed BIOS code
3099with bad register width values to go unnoticed. Matthew Garett, Bob
3100Moore,
3101Lv Zheng.
3102
3103Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
3104used
3105in the OSL header (acpiosxf). The change modifies the position of this
3106macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
3107build issues if the OSL defines the implementation of the interface to be
3108an inline stub function. Lv Zheng.
3109
3110Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
3111initialization interfaces. This change adds a new macro for the main init
3112and terminate external interfaces in order to support hosts that require
3113additional or different processing for these functions. Changed from
3114ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
3115Zheng, Bob Moore.
3116
3117Cleaned up the memory allocation macros for configurability. In the
3118common
3119case, the ACPI_ALLOCATE and related macros now resolve directly to their
3120respective AcpiOs* OSL interfaces. Two options:
31211) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
3122default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
31232) For AcpiExec (and for debugging), the macros can optionally be
3124resolved
3125to the local ACPICA interfaces that track each allocation (local tracking
3126is used to immediately detect memory leaks).
3127Lv Zheng.
3128
3129Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
3130to predefine this macro to either TRUE or FALSE during the system build.
3131
3132Replaced __FUNCTION_ with __func__ in the gcc-specific header.
3133
3134Example Code and Data Size: These are the sizes for the OS-independent
3135acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3136debug version of the code includes the debug output trace mechanism and
3137has a much larger code and data size.
3138
3139  Current Release:
3140    Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3141    Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3142  Previous Release:
3143    Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3144    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3145
3146
31472) iASL Compiler/Disassembler and Tools:
3148
3149iASL: Implemented wildcard support for the -e option. This simplifies use
3150when there are many SSDTs that must be included to resolve external
3151method
3152declarations. ACPICA BZ 1041. Example:
3153    iasl -e ssdt*.dat -d dsdt.dat
3154
3155AcpiExec: Add history/line-editing for Unix/Linux systems. This change
3156adds a portable module that implements full history and limited line
3157editing for Unix and Linux systems. It does not use readline() due to
3158portability issues. Instead it uses the POSIX termio interface to put the
3159terminal in raw input mode so that the various special keys can be
3160trapped
3161(such as up/down-arrow for history support and left/right-arrow for line
3162editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
3163
3164AcpiXtract: Add support to handle (ignore) "empty" lines containing only
3165one or more spaces. This provides compatible with early or different
3166versions of the AcpiDump utility. ACPICA BZ 1044.
3167
3168AcpiDump: Do not ignore tables that contain only an ACPI table header.
3169Apparently, some BIOSs create SSDTs that contain an ACPI table header but
3170no other data. This change adds support to dump these tables. Any tables
3171shorter than the length of an ACPI table header remain in error (an error
3172message is emitted). Reported by Yi Li.
3173
3174Debugger: Echo actual command along with the "unknown command" message.
3175
3176----------------------------------------
317723 August 2013. Summary of changes for version 20130823:
3178
31791) ACPICA kernel-resident subsystem:
3180
3181Implemented support for host-installed System Control Interrupt (SCI)
3182handlers. Certain ACPI functionality requires the host to handle raw
3183SCIs. For example, the "SCI Doorbell" that is defined for memory power
3184state support requires the host device driver to handle SCIs to examine
3185if the doorbell has been activated. Multiple SCI handlers can be
3186installed to allow for future expansion. New external interfaces are
3187AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
3188details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
3189
3190Operation region support: Never locally free the handler "context"
3191pointer. This change removes some dangerous code that attempts to free
3192the handler context pointer in some (rare) circumstances. The owner of
3193the handler owns this pointer and the ACPICA code should never touch it.
3194Although not seen to be an issue in any kernel, it did show up as a
3195problem (fault) under AcpiExec. Also, set the internal storage field for
3196the context pointer to zero when the region is deactivated, simply for
3197sanity. David Box. ACPICA BZ 1039.
3198
3199AcpiRead: On error, do not modify the return value target location. If an
3200error happens in the middle of a split 32/32 64-bit I/O operation, do not
3201modify the target of the return value pointer. Makes the code consistent
3202with the rest of ACPICA. Bjorn Helgaas.
3203
3204Example Code and Data Size: These are the sizes for the OS-independent
3205acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3206debug version of the code includes the debug output trace mechanism and
3207has a much larger code and data size.
3208
3209  Current Release:
3210    Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3211    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3212  Previous Release:
3213    Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3214    Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
3215
3216
32172) iASL Compiler/Disassembler and Tools:
3218
3219AcpiDump: Implemented several new features and fixed some problems:
32201) Added support to dump the RSDP, RSDT, and XSDT tables.
32212) Added support for multiple table instances (SSDT, UEFI).
32223) Added option to dump "customized" (overridden) tables (-c).
32234) Fixed a problem where some table filenames were improperly
3224constructed.
32255) Improved some error messages, removed some unnecessary messages.
3226
3227iASL: Implemented additional support for disassembly of ACPI tables that
3228contain invocations of external control methods. The -fe<file> option
3229allows the import of a file that specifies the external methods along
3230with the required number of arguments for each -- allowing for the
3231correct disassembly of the table. This is a workaround for a limitation
3232of AML code where the disassembler often cannot determine the number of
3233arguments required for an external control method and generates incorrect
3234ASL code. See the iASL reference for details. ACPICA BZ 1030.
3235
3236Debugger: Implemented a new command (paths) that displays the full
3237pathnames (namepaths) and object types of all objects in the namespace.
3238This is an alternative to the namespace command.
3239
3240Debugger: Implemented a new command (sci) that invokes the SCI dispatch
3241mechanism and any installed handlers.
3242
3243iASL: Fixed a possible segfault for "too many parent prefixes" condition.
3244This can occur if there are too many parent prefixes in a namepath (for
3245example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3246
3247Application OSLs: Set the return value for the PCI read functions. These
3248functions simply return AE_OK, but should set the return value to zero
3249also. This change implements this. ACPICA BZ 1038.
3250
3251Debugger: Prevent possible command line buffer overflow. Increase the
3252size of a couple of the debugger line buffers, and ensure that overflow
3253cannot happen. ACPICA BZ 1037.
3254
3255iASL: Changed to abort immediately on serious errors during the parsing
3256phase. Due to the nature of ASL, there is no point in attempting to
3257compile these types of errors, and they typically end up causing a
3258cascade of hundreds of errors which obscure the original problem.
3259
3260----------------------------------------
326125 July 2013. Summary of changes for version 20130725:
3262
32631) ACPICA kernel-resident subsystem:
3264
3265Fixed a problem with the DerefOf operator where references to FieldUnits
3266and BufferFields incorrectly returned the parent object, not the actual
3267value of the object. After this change, a dereference of a FieldUnit
3268reference results in a read operation on the field to get the value, and
3269likewise, the appropriate BufferField value is extracted from the target
3270buffer.
3271
3272Fixed a problem where the _WAK method could cause a fault under these
3273circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
3274method returned no value. The problem is rarely seen because most kernels
3275run ACPICA in slack mode.
3276
3277For the DerefOf operator, a fatal error now results if an attempt is made
3278to dereference a reference (created by the Index operator) to a NULL
3279package element. Provides compatibility with other ACPI implementations,
3280and this behavior will be added to a future version of the ACPI
3281specification.
3282
3283The ACPI Power Management Timer (defined in the FADT) is now optional.
3284This provides compatibility with other ACPI implementations and will
3285appear in the next version of the ACPI specification. If there is no PM
3286Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
3287zero in the FADT indicates no PM timer.
3288
3289Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
3290allows the host to globally enable/disable all vendor strings, all
3291feature strings, or both. Intended to be primarily used for debugging
3292purposes only. Lv Zheng.
3293
3294Expose the collected _OSI data to the host via a global variable. This
3295data tracks the highest level vendor ID that has been invoked by the BIOS
3296so that the host (and potentially ACPICA itself) can change behaviors
3297based upon the age of the BIOS.
3298
3299Example Code and Data Size: These are the sizes for the OS-independent
3300acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3301debug version of the code includes the debug output trace mechanism and
3302has a much larger code and data size.
3303
3304  Current Release:
3305    Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3306    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3307  Previous Release:
3308    Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3309    Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3310
3311
33122) iASL Compiler/Disassembler and Tools:
3313
3314iASL: Created the following enhancements for the -so option (create
3315offset table):
33161)Add offsets for the last nameseg in each namepath for every supported
3317object type
33182)Add support for Processor, Device, Thermal Zone, and Scope objects
33193)Add the actual AML opcode for the parent object of every supported
3320object type
33214)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
3322
3323Disassembler: Emit all unresolved external symbols in a single block.
3324These are external references to control methods that could not be
3325resolved, and thus, the disassembler had to make a guess at the number of
3326arguments to parse.
3327
3328iASL: The argument to the -T option (create table template) is now
3329optional. If not specified, the default table is a DSDT, typically the
3330most common case.
3331
3332----------------------------------------
333326 June 2013. Summary of changes for version 20130626:
3334
33351) ACPICA kernel-resident subsystem:
3336
3337Fixed an issue with runtime repair of the _CST object. Null or invalid
3338elements were not always removed properly. Lv Zheng.
3339
3340Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
3341FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
3342the maximum number of GPEs is 1016. Use of multiple GPE block devices
3343makes the system-wide number of GPEs essentially unlimited.
3344
3345Example Code and Data Size: These are the sizes for the OS-independent
3346acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3347debug version of the code includes the debug output trace mechanism and
3348has a much larger code and data size.
3349
3350  Current Release:
3351    Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3352    Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3353  Previous Release:
3354    Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3355    Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3356
3357
33582) iASL Compiler/Disassembler and Tools:
3359
3360Portable AcpiDump: Implemented full support for the Linux and FreeBSD
3361hosts. Now supports Linux, FreeBSD, and Windows.
3362
3363Disassembler: Added some missing types for the HEST and EINJ tables: "Set
3364Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
3365
3366iASL/Preprocessor: Implemented full support for nested
3367#if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
3368
3369Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
3370max. The original purpose of this constraint was to limit the amount of
3371debug output. However, the string function in question (UtPrintString) is
3372now used for the disassembler also, where 256 bytes is insufficient.
3373Reported by RehabMan@GitHub.
3374
3375iASL/DataTables: Fixed some problems and issues with compilation of DMAR
3376tables. ACPICA BZ 999. Lv Zheng.
3377
3378iASL: Fixed a couple of error exit issues that could result in a "Could
3379not delete <file>" message during ASL compilation.
3380
3381AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
3382the actual signatures for these tables are "FACP" and "APIC",
3383respectively.
3384
3385AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
3386tables are allowed to have multiple instances.
3387
3388----------------------------------------
338917 May 2013. Summary of changes for version 20130517:
3390
33911) ACPICA kernel-resident subsystem:
3392
3393Fixed a regression introduced in version 20130328 for _INI methods. This
3394change fixes a problem introduced in 20130328 where _INI methods are no
3395longer executed properly because of a memory block that was not
3396initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
3397<tomasz.nowicki@linaro.org>.
3398
3399Fixed a possible problem with the new extended sleep registers in the
3400ACPI
34015.0 FADT. Do not use these registers (even if populated) unless the HW-
3402reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
34031020. Lv Zheng.
3404
3405Implemented return value repair code for _CST predefined objects: Sort
3406the
3407list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
3408
3409Implemented a debug-only option to disable loading of SSDTs from the
3410RSDT/XSDT during ACPICA initialization. This can be useful for debugging
3411ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
3412acglobal.h - ACPICA BZ 1005. Lv Zheng.
3413
3414Fixed some issues in the ACPICA initialization and termination code:
3415Tomasz Nowicki <tomasz.nowicki@linaro.org>
34161) Clear events initialized flag upon event component termination. ACPICA
3417BZ 1013.
34182) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
34193) Delete global lock pending lock during termination. ACPICA BZ 1012.
34204) Clear debug buffer global on termination to prevent possible multiple
3421delete. ACPICA BZ 1010.
3422
3423Standardized all switch() blocks across the entire source base. After
3424many
3425years, different formatting for switch() had crept in. This change makes
3426the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
3427
3428Split some files to enhance ACPICA modularity and configurability:
34291) Split buffer dump routines into utilities/utbuffer.c
34302) Split internal error message routines into utilities/uterror.c
34313) Split table print utilities into tables/tbprint.c
34324) Split iASL command-line option processing into asloptions.c
3433
3434Makefile enhancements:
34351) Support for all new files above.
34362) Abort make on errors from any subcomponent. Chao Guan.
34373) Add build support for Apple Mac OS X. Liang Qi.
3438
3439Example Code and Data Size: These are the sizes for the OS-independent
3440acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3441debug version of the code includes the debug output trace mechanism and
3442has a much larger code and data size.
3443
3444  Current Release:
3445    Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3446    Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3447  Previous Release:
3448    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3449    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3450
3451
34522) iASL Compiler/Disassembler and Tools:
3453
3454New utility: Implemented an easily portable version of the acpidump
3455utility to extract ACPI tables from the system (or a file) in an ASCII
3456hex
3457dump format. The top-level code implements the various command line
3458options, file I/O, and table dump routines. To port to a new host, only
3459three functions need to be implemented to get tables -- since this
3460functionality is OS-dependent. See the tools/acpidump/apmain.c module and
3461the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
34621) The Windows version obtains the ACPI tables from the Registry.
34632) The Linux version is under development.
34643) Other hosts - If an OS-dependent module is submitted, it will be
3465distributed with ACPICA.
3466
3467iASL: Fixed a regression for -D preprocessor option (define symbol). A
3468restructuring/change to the initialization sequence caused this option to
3469no longer work properly.
3470
3471iASL: Implemented a mechanism to disable specific warnings and remarks.
3472Adds a new command line option, "-vw <messageid> as well as "#pragma
3473disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
3474
3475iASL: Fix for too-strict package object validation. The package object
3476validation for return values from the predefined names is a bit too
3477strict, it does not allow names references within the package (which will
3478be resolved at runtime.) These types of references cannot be validated at
3479compile time. This change ignores named references within package objects
3480for names that return or define static packages.
3481
3482Debugger: Fixed the 80-character command line limitation for the History
3483command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
3484
3485iASL: Added control method and package support for the -so option
3486(generates AML offset table for BIOS support.)
3487
3488iASL: issue a remark if a non-serialized method creates named objects. If
3489a thread blocks within the method for any reason, and another thread
3490enters the method, the method will fail because an attempt will be made
3491to
3492create the same (named) object twice. In this case, issue a remark that
3493the method should be marked serialized. NOTE: may become a warning later.
3494ACPICA BZ 909.
3495
3496----------------------------------------
349718 April 2013. Summary of changes for version 20130418:
3498
34991) ACPICA kernel-resident subsystem:
3500
3501Fixed a possible buffer overrun during some rare but specific field unit
3502read operations. This overrun can only happen if the DSDT version is 1 --
3503meaning that all AML integers are 32 bits -- and the field length is
3504between 33 and 55 bits long. During the read, an internal buffer object
3505is
3506created for the field unit because the field is larger than an integer
3507(32
3508bits). However, in this case, the buffer will be incorrectly written
3509beyond the end because the buffer length is less than the internal
3510minimum
3511of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
3512long, but a full 8 bytes will be written.
3513
3514Updated the Embedded Controller "orphan" _REG method support. This refers
3515to _REG methods under the EC device that have no corresponding operation
3516region. This is allowed by the ACPI specification. This update removes a
3517dependency on the existence an ECDT table. It will execute an orphan _REG
3518method as long as the operation region handler for the EC is installed at
3519the EC device node and not the namespace root. Rui Zhang (original
3520update), Bob Moore (update/integrate).
3521
3522Implemented run-time argument typechecking for all predefined ACPI names
3523(_STA, _BIF, etc.) This change performs object typechecking on all
3524incoming arguments for all predefined names executed via
3525AcpiEvaluateObject. This ensures that ACPI-related device drivers are
3526passing correct object types as well as the correct number of arguments
3527(therefore identifying any issues immediately). Also, the ASL/namespace
3528definition of the predefined name is checked against the ACPI
3529specification for the proper argument count. Adds one new file,
3530nsarguments.c
3531
3532Changed an exception code for the ASL UnLoad() operator. Changed the
3533exception code for the case where the input DdbHandle is invalid, from
3534AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
3535
3536Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
3537global makefile. The use of this flag causes compiler errors on earlier
3538versions of GCC, so it has been removed for compatibility.
3539
3540Miscellaneous cleanup:
35411) Removed some unused/obsolete macros
35422) Fixed a possible memory leak in the _OSI support
35433) Removed an unused variable in the predefined name support
35444) Windows OSL: remove obsolete reference to a memory list field
3545
3546Example Code and Data Size: These are the sizes for the OS-independent
3547acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3548debug version of the code includes the debug output trace mechanism and
3549has a much larger code and data size.
3550
3551  Current Release:
3552    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3553    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3554  Previous Release:
3555    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3556    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3557
3558
35592) iASL Compiler/Disassembler and Tools:
3560
3561AcpiExec: Added installation of a handler for the SystemCMOS address
3562space. This prevents control method abort if a method accesses this
3563space.
3564
3565AcpiExec: Added support for multiple EC devices, and now install EC
3566operation region handler(s) at the actual EC device instead of the
3567namespace root. This reflects the typical behavior of host operating
3568systems.
3569
3570AcpiExec: Updated to ensure that all operation region handlers are
3571installed before the _REG methods are executed. This prevents a _REG
3572method from aborting if it accesses an address space has no handler.
3573AcpiExec installs a handler for every possible address space.
3574
3575Debugger: Enhanced the "handlers" command to display non-root handlers.
3576This change enhances the handlers command to display handlers associated
3577with individual devices throughout the namespace, in addition to the
3578currently supported display of handlers associated with the root
3579namespace
3580node.
3581
3582ASL Test Suite: Several test suite errors have been identified and
3583resolved, reducing the total error count during execution. Chao Guan.
3584
3585----------------------------------------
358628 March 2013. Summary of changes for version 20130328:
3587
35881) ACPICA kernel-resident subsystem:
3589
3590Fixed several possible race conditions with the internal object reference
3591counting mechanism. Some of the external ACPICA interfaces update object
3592reference counts without holding the interpreter or namespace lock. This
3593change adds a spinlock to protect reference count updates on the internal
3594ACPICA objects. Reported by and with assistance from Andriy Gapon
3595(avg@FreeBSD.org).
3596
3597FADT support: Removed an extraneous warning for very large GPE register
3598sets. This change removes a size mismatch warning if the legacy length
3599field for a GPE register set is larger than the 64-bit GAS structure can
3600accommodate. GPE register sets can be larger than the 255-bit width
3601limitation of the GAS structure. Linn Crosetto (linn@hp.com).
3602
3603_OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
3604return from this interface. Handles a possible timeout case if
3605ACPI_WAIT_FOREVER is modified by the host to be a value less than
3606"forever". Jung-uk Kim.
3607
3608Predefined name support: Add allowed/required argument type information
3609to
3610the master predefined info table. This change adds the infrastructure to
3611enable typechecking on incoming arguments for all predefined
3612methods/objects. It does not actually contain the code that will fully
3613utilize this information, this is still under development. Also condenses
3614some duplicate code for the predefined names into a new module,
3615utilities/utpredef.c
3616
3617Example Code and Data Size: These are the sizes for the OS-independent
3618acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3619debug version of the code includes the debug output trace mechanism and
3620has a much larger code and data size.
3621
3622  Previous Release:
3623    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3624    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3625  Current Release:
3626    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3627    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3628
3629
36302) iASL Compiler/Disassembler and Tools:
3631
3632iASL: Implemented a new option to simplify the development of ACPI-
3633related
3634BIOS code. Adds support for a new "offset table" output file. The -so
3635option will create a C table containing the AML table offsets of various
3636named objects in the namespace so that BIOS code can modify them easily
3637at
3638boot time. This can simplify BIOS runtime code by eliminating expensive
3639searches for "magic values", enhancing boot times and adding greater
3640reliability. With assistance from Lee Hamel.
3641
3642iASL: Allow additional predefined names to return zero-length packages.
3643Now, all predefined names that are defined by the ACPI specification to
3644return a "variable-length package of packages" are allowed to return a
3645zero length top-level package. This allows the BIOS to tell the host that
3646the requested feature is not supported, and supports existing BIOS/ASL
3647code and practices.
3648
3649iASL: Changed the "result not used" warning to an error. This is the case
3650where an ASL operator is effectively a NOOP because the result of the
3651operation is not stored anywhere. For example:
3652    Add (4, Local0)
3653There is no target (missing 3rd argument), nor is the function return
3654value used. This is potentially a very serious problem -- since the code
3655was probably intended to do something, but for whatever reason, the value
3656was not stored. Therefore, this issue has been upgraded from a warning to
3657an error.
3658
3659AcpiHelp: Added allowable/required argument types to the predefined names
3660info display. This feature utilizes the recent update to the predefined
3661names table (above).
3662
3663----------------------------------------
366414 February 2013. Summary of changes for version 20130214:
3665
36661) ACPICA Kernel-resident Subsystem:
3667
3668Fixed a possible regression on some hosts: Reinstated the safe return
3669macros (return_ACPI_STATUS, etc.) that ensure that the argument is
3670evaluated only once. Although these macros are not needed for the ACPICA
3671code itself, they are often used by ACPI-related host device drivers
3672where
3673the safe feature may be necessary.
3674
3675Fixed several issues related to the ACPI 5.0 reduced hardware support
3676(SOC): Now ensure that if the platform declares itself as hardware-
3677reduced
3678via the FADT, the following functions become NOOPs (and always return
3679AE_OK) because ACPI is always enabled by definition on these machines:
3680  AcpiEnable
3681  AcpiDisable
3682  AcpiHwGetMode
3683  AcpiHwSetMode
3684
3685Dynamic Object Repair: Implemented additional runtime repairs for
3686predefined name return values. Both of these repairs can simplify code in
3687the related device drivers that invoke these methods:
36881) For the _STR and _MLS names, automatically repair/convert an ASCII
3689string to a Unicode buffer.
36902) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
3691a
3692lone end tag descriptor in the following cases: A Return(0) was executed,
3693a null buffer was returned, or no object at all was returned (non-slack
3694mode only). Adds a new file, nsconvert.c
3695ACPICA BZ 998. Bob Moore, Lv Zheng.
3696
3697Resource Manager: Added additional code to prevent possible infinite
3698loops
3699while traversing corrupted or ill-formed resource template buffers. Check
3700for zero-length resource descriptors in all code that loops through
3701resource templates (the length field is used to index through the
3702template). This change also hardens the external AcpiWalkResources and
3703AcpiWalkResourceBuffer interfaces.
3704
3705Local Cache Manager: Enhanced the main data structure to eliminate an
3706unnecessary mechanism to access the next object in the list. Actually
3707provides a small performance enhancement for hosts that use the local
3708ACPICA cache manager. Jung-uk Kim.
3709
3710Example Code and Data Size: These are the sizes for the OS-independent
3711acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3712debug version of the code includes the debug output trace mechanism and
3713has a much larger code and data size.
3714
3715  Previous Release:
3716    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
3717    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
3718  Current Release:
3719    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3720    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3721
3722
37232) iASL Compiler/Disassembler and Tools:
3724
3725iASL/Disassembler: Fixed several issues with the definition of the ACPI
37265.0 RASF table (RAS Feature Table). This change incorporates late changes
3727that were made to the ACPI 5.0 specification.
3728
3729iASL/Disassembler: Added full support for the following new ACPI tables:
3730  1) The MTMR table (MID Timer Table)
3731  2) The VRTC table (Virtual Real Time Clock Table).
3732Includes header file, disassembler, table compiler, and template support
3733for both tables.
3734
3735iASL: Implemented compile-time validation of package objects returned by
3736predefined names. This new feature validates static package objects
3737returned by the various predefined names defined to return packages. Both
3738object types and package lengths are validated, for both parent packages
3739and sub-packages, if any. The code is similar in structure and behavior
3740to
3741the runtime repair mechanism within the AML interpreter and uses the
3742existing predefined name information table. Adds a new file, aslprepkg.c.
3743ACPICA BZ 938.
3744
3745iASL: Implemented auto-detection of binary ACPI tables for disassembly.
3746This feature detects a binary file with a valid ACPI table header and
3747invokes the disassembler automatically. Eliminates the need to
3748specifically invoke the disassembler with the -d option. ACPICA BZ 862.
3749
3750iASL/Disassembler: Added several warnings for the case where there are
3751unresolved control methods during the disassembly. This can potentially
3752cause errors when the output file is compiled, because the disassembler
3753assumes zero method arguments in these cases (it cannot determine the
3754actual number of arguments without resolution/definition of the method).
3755
3756Debugger: Added support to display all resources with a single command.
3757Invocation of the resources command with no arguments will now display
3758all
3759resources within the current namespace.
3760
3761AcpiHelp: Added descriptive text for each ACPICA exception code displayed
3762via the -e option.
3763
3764----------------------------------------
376517 January 2013. Summary of changes for version 20130117:
3766
37671) ACPICA Kernel-resident Subsystem:
3768
3769Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
3770return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
3771objects to return a package containing one integer, most BIOS code
3772returns
3773two integers and the previous code reflects that. However, we also need
3774to
3775support BIOS code that actually implements to the ACPI spec, and this
3776change reflects this.
3777
3778Fixed two issues with the ACPI_DEBUG_PRINT macros:
37791) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
3780C compilers that require this support.
37812) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
3782ACPI_DEBUG is already used by many of the various hosts.
3783
3784Updated all ACPICA copyrights and signons to 2013. Added the 2013
3785copyright to all module headers and signons, including the standard Linux
3786header. This affects virtually every file in the ACPICA core subsystem,
3787iASL compiler, all ACPICA utilities, and the test suites.
3788
3789Example Code and Data Size: These are the sizes for the OS-independent
3790acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3791debug version of the code includes the debug output trace mechanism and
3792has a much larger code and data size.
3793
3794  Previous Release:
3795    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
3796    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
3797  Current Release:
3798    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
3799    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
3800
3801
38022) iASL Compiler/Disassembler and Tools:
3803
3804Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
3805prevent a possible fault on some hosts. Some C libraries modify the arg
3806pointer parameter to vfprintf making it difficult to call it twice in the
3807AcpiOsVprintf function. Use a local buffer to workaround this issue. This
3808does not affect the Windows OSL since the Win C library does not modify
3809the arg pointer. Chao Guan, Bob Moore.
3810
3811iASL: Fixed a possible infinite loop when the maximum error count is
3812reached. If an output file other than the .AML file is specified (such as
3813a listing file), and the maximum number of errors is reached, do not
3814attempt to flush data to the output file(s) as the compiler is aborting.
3815This can cause an infinite loop as the max error count code essentially
3816keeps calling itself.
3817
3818iASL/Disassembler: Added an option (-in) to ignore NOOP
3819opcodes/operators.
3820Implemented for both the compiler and the disassembler. Often, the NOOP
3821opcode is used as padding for packages that are changed dynamically by
3822the
3823BIOS. When disassembled and recompiled, these NOOPs will cause syntax
3824errors. This option causes the disassembler to ignore all NOOP opcodes
3825(0xA3), and it also causes the compiler to ignore all ASL source code
3826NOOP
3827statements as well.
3828
3829Debugger: Enhanced the Sleep command to execute all sleep states. This
3830change allows Sleep to be invoked with no arguments and causes the
3831debugger to execute all of the sleep states, 0-5, automatically.
3832
3833----------------------------------------
383420 December 2012. Summary of changes for version 20121220:
3835
38361) ACPICA Kernel-resident Subsystem:
3837
3838Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
3839alternate entry point for AcpiWalkResources and improves the usability of
3840the resource manager by accepting as input a buffer containing the output
3841of either a _CRS, _PRS, or _AEI method. The key functionality is that the
3842input buffer is not deleted by this interface so that it can be used by
3843the host later. See the ACPICA reference for details.
3844
3845Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
3846(DSDT version < 2). The constant will be truncated and this warning
3847reflects that behavior.
3848
3849Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
3850ExtendedInterrupt, and GpioInt descriptors. This change adds support to
3851both get and set the new wake bit in these descriptors, separately from
3852the existing share bit. Reported by Aaron Lu.
3853
3854Interpreter: Fix Store() when an implicit conversion is not possible. For
3855example, in the cases such as a store of a string to an existing package
3856object, implement the store as a CopyObject(). This is a small departure
3857from the ACPI specification which states that the control method should
3858be
3859aborted in this case. However, the ASLTS suite depends on this behavior.
3860
3861Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
3862macros: check if debug output is currently enabled as soon as possible to
3863minimize performance impact if debug is in fact not enabled.
3864
3865Source code restructuring: Cleanup to improve modularity. The following
3866new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
3867psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
3868Associated makefiles and project files have been updated.
3869
3870Changed an exception code for LoadTable operator. For the case where one
3871of the input strings is too long, change the returned exception code from
3872AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
3873
3874Fixed a possible memory leak in dispatcher error path. On error, delete
3875the mutex object created during method mutex creation. Reported by
3876tim.gardner@canonical.com.
3877
3878Example Code and Data Size: These are the sizes for the OS-independent
3879acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3880debug version of the code includes the debug output trace mechanism and
3881has a much larger code and data size.
3882
3883  Previous Release:
3884    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
3885    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3886  Current Release:
3887    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
3888    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
3889
3890
38912) iASL Compiler/Disassembler and Tools:
3892
3893iASL: Disallow a method call as argument to the ObjectType ASL operator.
3894This change tracks an errata to the ACPI 5.0 document. The AML grammar
3895will not allow the interpreter to differentiate between a method and a
3896method invocation when these are used as an argument to the ObjectType
3897operator. The ACPI specification change is to disallow a method
3898invocation
3899(UserTerm) for the ObjectType operator.
3900
3901Finish support for the TPM2 and CSRT tables in the headers, table
3902compiler, and disassembler.
3903
3904Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
3905always expires immediately if the semaphore is not available. The
3906original
3907code was using a relative-time timeout, but sem_timedwait requires the
3908use
3909of an absolute time.
3910
3911iASL: Added a remark if the Timer() operator is used within a 32-bit
3912table. This operator returns a 64-bit time value that will be truncated
3913within a 32-bit table.
3914
3915iASL Source code restructuring: Cleanup to improve modularity. The
3916following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
3917aslmethod.c, and aslfileio.c. Associated makefiles and project files have
3918been updated.
3919
3920
3921----------------------------------------
392214 November 2012. Summary of changes for version 20121114:
3923
39241) ACPICA Kernel-resident Subsystem:
3925
3926Implemented a performance enhancement for ACPI/AML Package objects. This
3927change greatly increases the performance of Package objects within the
3928interpreter. It changes the processing of reference counts for packages
3929by
3930optimizing for the most common case where the package sub-objects are
3931either Integers, Strings, or Buffers. Increases the overall performance
3932of
3933the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
39342X.)
3935Chao Guan. ACPICA BZ 943.
3936
3937Implemented and deployed common macros to extract flag bits from resource
3938descriptors. Improves readability and maintainability of the code. Fixes
3939a
3940problem with the UART serial bus descriptor for the number of data bits
3941flags (was incorrectly 2 bits, should be 3).
3942
3943Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
3944of the macros and changed the SETx macros to the style of (destination,
3945source). Also added ACPI_CASTx companion macros. Lv Zheng.
3946
3947Example Code and Data Size: These are the sizes for the OS-independent
3948acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3949debug version of the code includes the debug output trace mechanism and
3950has a much larger code and data size.
3951
3952  Previous Release:
3953    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
3954    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3955  Current Release:
3956    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
3957    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3958
3959
39602) iASL Compiler/Disassembler and Tools:
3961
3962Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
3963adds the ShareAndWake and ExclusiveAndWake flags which were added to the
3964Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
3965
3966Disassembler: Fixed a problem with external declaration generation. Fixes
3967a problem where an incorrect pathname could be generated for an external
3968declaration if the original reference to the object includes leading
3969carats (^). ACPICA BZ 984.
3970
3971Debugger: Completed a major update for the Disassemble<method> command.
3972This command was out-of-date and did not properly disassemble control
3973methods that had any reasonable complexity. This fix brings the command
3974up
3975to the same level as the rest of the disassembler. Adds one new file,
3976dmdeferred.c, which is existing code that is now common with the main
3977disassembler and the debugger disassemble command. ACPICA MZ 978.
3978
3979iASL: Moved the parser entry prototype to avoid a duplicate declaration.
3980Newer versions of Bison emit this prototype, so moved the prototype out
3981of
3982the iASL header to where it is actually used in order to avoid a
3983duplicate
3984declaration.
3985
3986iASL/Tools: Standardized use of the stream I/O functions:
3987  1) Ensure check for I/O error after every fopen/fread/fwrite
3988  2) Ensure proper order of size/count arguments for fread/fwrite
3989  3) Use test of (Actual != Requested) after all fwrite, and most fread
3990  4) Standardize I/O error messages
3991Improves reliability and maintainability of the code. Bob Moore, Lv
3992Zheng.
3993ACPICA BZ 981.
3994
3995Disassembler: Prevent duplicate External() statements. During generation
3996of external statements, detect similar pathnames that are actually
3997duplicates such as these:
3998  External (\ABCD)
3999  External (ABCD)
4000Remove all leading '\' characters from pathnames during the external
4001statement generation so that duplicates will be detected and tossed.
4002ACPICA BZ 985.
4003
4004Tools: Replace low-level I/O with stream I/O functions. Replace
4005open/read/write/close with the stream I/O equivalents
4006fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
4007Moore.
4008
4009AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
4010name header so that AcpiXtract recognizes the output file/table.
4011
4012iASL: Remove obsolete -2 option flag. Originally intended to force the
4013compiler/disassembler into an ACPI 2.0 mode, this was never implemented
4014and the entire concept is now obsolete.
4015
4016----------------------------------------
401718 October 2012. Summary of changes for version 20121018:
4018
4019
40201) ACPICA Kernel-resident Subsystem:
4021
4022Updated support for the ACPI 5.0 MPST table. Fixes some problems
4023introduced by late changes to the table as it was added to the ACPI 5.0
4024specification. Includes header, disassembler, and data table compiler
4025support as well as a new version of the MPST template.
4026
4027AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
40285.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
4029methods: _HID, _CID, and _UID.
4030
4031Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
4032ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
4033name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
4034names for their various drivers. Affects the AcpiGetObjectInfo external
4035interface, and other internal interfaces as well.
4036
4037Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
4038This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
4039on machines that support non-aligned transfers. Optimizes for this case
4040rather than using a strncpy. With assistance from Zheng Lv.
4041
4042Resource Manager: Small fix for buffer size calculation. Fixed a one byte
4043error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
4044
4045Added a new debug print message for AML mutex objects that are force-
4046released. At control method termination, any currently acquired mutex
4047objects are force-released. Adds a new debug-only message for each one
4048that is released.
4049
4050Audited/updated all ACPICA return macros and the function debug depth
4051counter: 1) Ensure that all functions that use the various TRACE macros
4052also use the appropriate ACPICA return macros. 2) Ensure that all normal
4053return statements surround the return expression (value) with parens to
4054ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
4055Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
4056
4057Global source code changes/maintenance: All extra lines at the start and
4058end of each source file have been removed for consistency. Also, within
4059comments, all new sentences start with a single space instead of a double
4060space, again for consistency across the code base.
4061
4062Example Code and Data Size: These are the sizes for the OS-independent
4063acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4064debug version of the code includes the debug output trace mechanism and
4065has a much larger code and data size.
4066
4067  Previous Release:
4068    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4069    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4070  Current Release:
4071    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
4072    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
4073
4074
40752) iASL Compiler/Disassembler and Tools:
4076
4077AcpiExec: Improved the algorithm used for memory leak/corruption
4078detection. Added some intelligence to the code that maintains the global
4079list of allocated memory. The list is now ordered by allocated memory
4080address, significantly improving performance. When running AcpiExec on
4081the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
4082on the platform and/or the environment. Note, this performance
4083enhancement affects the AcpiExec utility only, not the kernel-resident
4084ACPICA code.
4085
4086Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
4087the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
4088incorrect table offset reported for invalid opcodes. Report the original
408932-bit value for bad ACPI_NAMEs (as well as the repaired name.)
4090
4091Disassembler: Enhanced the -vt option to emit the binary table data in
4092hex format to assist with debugging.
4093
4094Fixed a potential filename buffer overflow in osunixdir.c. Increased the
4095size of file structure. Colin Ian King.
4096
4097----------------------------------------
409813 September 2012. Summary of changes for version 20120913:
4099
4100
41011) ACPICA Kernel-resident Subsystem:
4102
4103ACPI 5.0: Added two new notify types for the Hardware Error Notification
4104Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
4105and
4106MCE(6).
4107
4108Table Manager: Merged/removed duplicate code in the root table resize
4109functions. One function is external, the other is internal. Lv Zheng,
4110ACPICA
4111BZ 846.
4112
4113Makefiles: Completely removed the obsolete "Linux" makefiles under
4114acpica/generate/linux. These makefiles are obsolete and have been
4115replaced
4116by
4117the generic unix makefiles under acpica/generate/unix.
4118
4119Makefiles: Ensure that binary files always copied properly. Minor rule
4120change
4121to ensure that the final binary output files are always copied up to the
4122appropriate binary directory (bin32 or bin64.)
4123
4124Example Code and Data Size: These are the sizes for the OS-independent
4125acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4126debug
4127version of the code includes the debug output trace mechanism and has a
4128much
4129larger code and data size.
4130
4131  Previous Release:
4132    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4133    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4134  Current Release:
4135    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4136    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4137
4138
41392) iASL Compiler/Disassembler and Tools:
4140
4141Disassembler: Fixed a possible fault during the disassembly of resource
4142descriptors when a second parse is required because of the invocation of
4143external control methods within the table. With assistance from
4144adq@lidskialf.net. ACPICA BZ 976.
4145
4146iASL: Fixed a namepath optimization problem. An error can occur if the
4147parse
4148node that contains the namepath to be optimized does not have a parent
4149node
4150that is a named object. This change fixes the problem.
4151
4152iASL: Fixed a regression where the AML file is not deleted on errors. The
4153AML
4154output file should be deleted if there are any errors during the
4155compiler.
4156The
4157only exception is if the -f (force output) option is used. ACPICA BZ 974.
4158
4159iASL: Added a feature to automatically increase internal line buffer
4160sizes.
4161Via realloc(), automatically increase the internal line buffer sizes as
4162necessary to support very long source code lines. The current version of
4163the
4164preprocessor requires a buffer long enough to contain full source code
4165lines.
4166This change increases the line buffer(s) if the input lines go beyond the
4167current buffer size. This eliminates errors that occurred when a source
4168code
4169line was longer than the buffer.
4170
4171iASL: Fixed a problem with constant folding in method declarations. The
4172SyncLevel term is a ByteConstExpr, and incorrect code would be generated
4173if a
4174Type3 opcode was used.
4175
4176Debugger: Improved command help support. For incorrect argument count,
4177display
4178full help for the command. For help command itself, allow an argument to
4179specify a command.
4180
4181Test Suites: Several bug fixes for the ASLTS suite reduces the number of
4182errors during execution of the suite. Guan Chao.
4183
4184----------------------------------------
418516 August 2012. Summary of changes for version 20120816:
4186
4187
41881) ACPICA Kernel-resident Subsystem:
4189
4190Removed all use of the deprecated _GTS and _BFS predefined methods. The
4191_GTS
4192(Going To Sleep) and _BFS (Back From Sleep) methods are essentially
4193deprecated and will probably be removed from the ACPI specification.
4194Windows
4195does not invoke them, and reportedly never will. The final nail in the
4196coffin
4197is that the ACPI specification states that these methods must be run with
4198interrupts off, which is not going to happen in a kernel interpreter.
4199Note:
4200Linux has removed all use of the methods also. It was discovered that
4201invoking these functions caused failures on some machines, probably
4202because
4203they were never tested since Windows does not call them. Affects two
4204external
4205interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
4206ACPICA BZ 969.
4207
4208Implemented support for complex bit-packed buffers returned from the _PLD
4209(Physical Location of Device) predefined method. Adds a new external
4210interface, AcpiDecodePldBuffer that parses the buffer into a more usable
4211C
4212structure. Note: C Bitfields cannot be used for this type of predefined
4213structure since the memory layout of individual bitfields is not defined
4214by
4215the C language. In addition, there are endian concerns where a compiler
4216will
4217change the bitfield ordering based on the machine type. The new ACPICA
4218interface eliminates these issues, and should be called after _PLD is
4219executed. ACPICA BZ 954.
4220
4221Implemented a change to allow a scope change to root (via "Scope (\)")
4222during
4223execution of module-level ASL code (code that is executed at table load
4224time.) Lin Ming.
4225
4226Added the Windows8/Server2012 string for the _OSI method. This change
4227adds
4228a
4229new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
42302012.
4231
4232Added header support for the new ACPI tables DBG2 (Debug Port Table Type
42332)
4234and CSRT (Core System Resource Table).
4235
4236Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
4237names. This simplifies access to the buffers returned by these predefined
4238names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4239
4240GPE support: Removed an extraneous parameter from the various low-level
4241internal GPE functions. Tang Feng.
4242
4243Removed the linux makefiles from the unix packages. The generate/linux
4244makefiles are obsolete and have been removed from the unix tarball
4245release
4246packages. The replacement makefiles are under generate/unix, and there is
4247a
4248top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4249
4250Updates for Unix makefiles:
42511) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
42522) Update linker flags (move to end of command line) for AcpiExec
4253utility.
4254Guan Chao.
4255
4256Split ACPICA initialization functions to new file, utxfinit.c. Split from
4257utxface.c to improve modularity and reduce file size.
4258
4259Example Code and Data Size: These are the sizes for the OS-independent
4260acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4261debug version of the code includes the debug output trace mechanism and
4262has a
4263much larger code and data size.
4264
4265  Previous Release:
4266    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4267    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4268  Current Release:
4269    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4270    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4271
4272
42732) iASL Compiler/Disassembler and Tools:
4274
4275iASL: Fixed a problem with constant folding for fixed-length constant
4276expressions. The constant-folding code was not being invoked for constant
4277expressions that allow the use of type 3/4/5 opcodes to generate
4278constants
4279for expressions such as ByteConstExpr, WordConstExpr, etc. This could
4280result
4281in the generation of invalid AML bytecode. ACPICA BZ 970.
4282
4283iASL: Fixed a generation issue on newer versions of Bison. Newer versions
4284apparently automatically emit some of the necessary externals. This
4285change
4286handles these versions in order to eliminate generation warnings.
4287
4288Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
4289
4290Disassembler: Add support to decode _PLD buffers. The decoded buffer
4291appears
4292within comments in the output file.
4293
4294Debugger: Fixed a regression with the "Threads" command where
4295AE_BAD_PARAMETER was always returned.
4296
4297----------------------------------------
429811 July 2012. Summary of changes for version 20120711:
4299
43001) ACPICA Kernel-resident Subsystem:
4301
4302Fixed a possible fault in the return package object repair code. Fixes a
4303problem that can occur when a lone package object is wrapped with an
4304outer
4305package object in order to force conformance to the ACPI specification.
4306Can
4307affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
4308_DLM,
4309_CSD, _PSD, _TSD.
4310
4311Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
4312PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
4313ARB_DIS bit must be implemented in the host-dependent C3 processor power
4314state
4315support. Note, ARB_DIS is obsolete and only applies to older chipsets,
4316both
4317Intel and other vendors. (for Intel: ICH4-M and earlier)
4318
4319This change removes the code to disable/enable bus master arbitration
4320during
4321suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
4322causes
4323resume problems on some machines. The change has been in use for over
4324seven
4325years within Linux.
4326
4327Implemented two new external interfaces to support host-directed dynamic
4328ACPI
4329table load and unload. They are intended to simplify the host
4330implementation
4331of hot-plug support:
4332  AcpiLoadTable: Load an SSDT from a buffer into the namespace.
4333  AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
4334table.
4335See the ACPICA reference for additional details. Adds one new file,
4336components/tables/tbxfload.c
4337
4338Implemented and deployed two new interfaces for errors and warnings that
4339are
4340known to be caused by BIOS/firmware issues:
4341  AcpiBiosError: Prints "ACPI Firmware Error" message.
4342  AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
4343Deployed these new interfaces in the ACPICA Table Manager code for ACPI
4344table
4345and FADT errors. Additional deployment to be completed as appropriate in
4346the
4347future. The associated conditional macros are ACPI_BIOS_ERROR and
4348ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
4349ACPICA
4350BZ
4351843.
4352
4353Implicit notify support: ensure that no memory allocation occurs within a
4354critical region. This fix moves a memory allocation outside of the time
4355that a
4356spinlock is held. Fixes issues on systems that do not allow this
4357behavior.
4358Jung-uk Kim.
4359
4360Split exception code utilities and tables into a new file,
4361utilities/utexcep.c
4362
4363Example Code and Data Size: These are the sizes for the OS-independent
4364acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4365debug
4366version of the code includes the debug output trace mechanism and has a
4367much
4368larger code and data size.
4369
4370  Previous Release:
4371    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4372    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4373  Current Release:
4374    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4375    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4376
4377
43782) iASL Compiler/Disassembler and Tools:
4379
4380iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
4381of
43820. Jung-uk Kim.
4383
4384Debugger: Enhanced the "tables" command to emit additional information
4385about
4386the current set of ACPI tables, including the owner ID and flags decode.
4387
4388Debugger: Reimplemented the "unload" command to use the new
4389AcpiUnloadParentTable external interface. This command was disable
4390previously
4391due to need for an unload interface.
4392
4393AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
4394option
4395will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
4396
4397----------------------------------------
439820 June 2012. Summary of changes for version 20120620:
4399
4400
44011) ACPICA Kernel-resident Subsystem:
4402
4403Implemented support to expand the "implicit notify" feature to allow
4404multiple
4405devices to be notified by a single GPE. This feature automatically
4406generates a
4407runtime device notification in the absence of a BIOS-provided GPE control
4408method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
4409notify is
4410provided by ACPICA for Windows compatibility, and is a workaround for
4411BIOS
4412AML
4413code errors. See the description of the AcpiSetupGpeForWake interface in
4414the
4415APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
4416
4417Changed some comments and internal function names to simplify and ensure
4418correctness of the Linux code translation. No functional changes.
4419
4420Example Code and Data Size: These are the sizes for the OS-independent
4421acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4422debug
4423version of the code includes the debug output trace mechanism and has a
4424much
4425larger code and data size.
4426
4427  Previous Release:
4428    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4429    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4430  Current Release:
4431    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4432    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4433
4434
44352) iASL Compiler/Disassembler and Tools:
4436
4437Disassembler: Added support to emit short, commented descriptions for the
4438ACPI
4439predefined names in order to improve the readability of the disassembled
4440output. ACPICA BZ 959. Changes include:
4441  1) Emit descriptions for all standard predefined names (_INI, _STA,
4442_PRW,
4443etc.)
4444  2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
4445  3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
4446etc.)
4447
4448AcpiSrc: Fixed several long-standing Linux code translation issues.
4449Argument
4450descriptions in function headers are now translated properly to lower
4451case
4452and
4453underscores. ACPICA BZ 961. Also fixes translation problems such as
4454these:
4455(old -> new)
4456  i_aSL -> iASL
4457  00-7_f -> 00-7F
4458  16_k -> 16K
4459  local_fADT -> local_FADT
4460  execute_oSI -> execute_OSI
4461
4462iASL: Fixed a problem where null bytes were inadvertently emitted into
4463some
4464listing files.
4465
4466iASL: Added the existing debug options to the standard help screen. There
4467are
4468no longer two different help screens. ACPICA BZ 957.
4469
4470AcpiHelp: Fixed some typos in the various predefined name descriptions.
4471Also
4472expand some of the descriptions where appropriate.
4473
4474iASL: Fixed the -ot option (display compile times/statistics). Was not
4475working
4476properly for standard output; only worked for the debug file case.
4477
4478----------------------------------------
447918 May 2012. Summary of changes for version 20120518:
4480
4481
44821) ACPICA Core Subsystem:
4483
4484Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
4485defined
4486to block until asynchronous events such as notifies and GPEs have
4487completed.
4488Within ACPICA, it is only called before a notify or GPE handler is
4489removed/uninstalled. It also may be useful for the host OS within related
4490drivers such as the Embedded Controller driver. See the ACPICA reference
4491for
4492additional information. ACPICA BZ 868.
4493
4494ACPI Tables: Added a new error message for a possible overflow failure
4495during
4496the conversion of FADT 32-bit legacy register addresses to internal
4497common
449864-
4499bit GAS structure representation. The GAS has a one-byte "bit length"
4500field,
4501thus limiting the register length to 255 bits. ACPICA BZ 953.
4502
4503Example Code and Data Size: These are the sizes for the OS-independent
4504acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4505debug
4506version of the code includes the debug output trace mechanism and has a
4507much
4508larger code and data size.
4509
4510  Previous Release:
4511    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4512    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4513  Current Release:
4514    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4515    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4516
4517
45182) iASL Compiler/Disassembler and Tools:
4519
4520iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
4521macro.
4522This keyword was added late in the ACPI 5.0 release cycle and was not
4523implemented until now.
4524
4525Disassembler: Added support for Operation Region externals. Adds missing
4526support for operation regions that are defined in another table, and
4527referenced locally via a Field or BankField ASL operator. Now generates
4528the
4529correct External statement.
4530
4531Disassembler: Several additional fixes for the External() statement
4532generation
4533related to some ASL operators. Also, order the External() statements
4534alphabetically in the disassembler output. Fixes the External()
4535generation
4536for
4537the Create* field, Alias, and Scope operators:
4538 1) Create* buffer field operators - fix type mismatch warning on
4539disassembly
4540 2) Alias - implement missing External support
4541 3) Scope - fix to make sure all necessary externals are emitted.
4542
4543iASL: Improved pathname support. For include files, merge the prefix
4544pathname
4545with the file pathname and eliminate unnecessary components. Convert
4546backslashes in all pathnames to forward slashes, for readability. Include
4547file
4548pathname changes affect both #include and Include() type operators.
4549
4550iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
4551end
4552of a valid line by inserting a newline and then returning the EOF during
4553the
4554next call to GetNextLine. Prevents the line from being ignored due to EOF
4555condition.
4556
4557iASL: Implemented some changes to enhance the IDE support (-vi option.)
4558Error
4559and Warning messages are now correctly recognized for both the source
4560code
4561browser and the global error and warning counts.
4562
4563----------------------------------------
456420 April 2012. Summary of changes for version 20120420:
4565
4566
45671) ACPICA Core Subsystem:
4568
4569Implemented support for multiple notify handlers. This change adds
4570support
4571to
4572allow multiple system and device notify handlers on Device, Thermal Zone,
4573and
4574Processor objects. This can simplify the host OS notification
4575implementation.
4576Also re-worked and restructured the entire notify support code to
4577simplify
4578handler installation, handler removal, notify event queuing, and notify
4579dispatch to handler(s). Note: there can still only be two global notify
4580handlers - one for system notifies and one for device notifies. There are
4581no
4582changes to the existing handler install/remove interfaces. Lin Ming, Bob
4583Moore, Rafael Wysocki.
4584
4585Fixed a regression in the package repair code where the object reference
4586count was calculated incorrectly. Regression was introduced in the commit
4587"Support to add Package wrappers".
4588
4589Fixed a couple possible memory leaks in the AML parser, in the error
4590recovery
4591path. Jesper Juhl, Lin Ming.
4592
4593Example Code and Data Size: These are the sizes for the OS-independent
4594acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4595debug version of the code includes the debug output trace mechanism and
4596has a
4597much larger code and data size.
4598
4599  Previous Release:
4600    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4601    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4602  Current Release:
4603    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4604    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4605
4606
46072) iASL Compiler/Disassembler and Tools:
4608
4609iASL: Fixed a problem with the resource descriptor support where the
4610length
4611of the StartDependentFn and StartDependentFnNoPrio descriptors were not
4612included in cumulative descriptor offset, resulting in incorrect values
4613for
4614resource tags within resource descriptors appearing after a
4615StartDependent*
4616descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
4617
4618iASL and Preprocessor: Implemented full support for the #line directive
4619to
4620correctly track original source file line numbers through the .i
4621preprocessor
4622output file - for error and warning messages.
4623
4624iASL: Expand the allowable byte constants for address space IDs.
4625Previously,
4626the allowable range was 0x80-0xFF (user-defined spaces), now the range is
46270x0A-0xFF to allow for custom and new IDs without changing the compiler.
4628
4629iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
4630
4631iASL: Add option to completely disable the preprocessor (-Pn).
4632
4633iASL: Now emit all error/warning messages to standard error (stderr) by
4634default (instead of the previous stdout).
4635
4636ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
4637Update
4638for resource descriptor offset fix above. Update/cleanup error output
4639routines. Enable and send iASL errors/warnings to an error logfile
4640(error.txt). Send all other iASL output to a logfile (compiler.txt).
4641Fixed
4642several extraneous "unrecognized operator" messages.
4643
4644----------------------------------------
464520 March 2012. Summary of changes for version 20120320:
4646
4647
46481) ACPICA Core Subsystem:
4649
4650Enhanced the sleep/wake interfaces to optionally execute the _GTS method
4651(Going To Sleep) and the _BFS method (Back From Sleep). Windows
4652apparently
4653does not execute these methods, and therefore these methods are often
4654untested. It has been seen on some systems where the execution of these
4655methods causes errors and also prevents the machine from entering S5. It
4656is
4657therefore suggested that host operating systems do not execute these
4658methods
4659by default. In the future, perhaps these methods can be optionally
4660executed
4661based on the age of the system and/or what is the newest version of
4662Windows
4663that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
4664and
4665AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
4666Ming.
4667
4668Fixed a problem where the length of the local/common FADT was set too
4669early.
4670The local FADT table length cannot be set to the common length until the
4671original length has been examined. There is code that checks the table
4672length
4673and sets various fields appropriately. This can affect older machines
4674with
4675early FADT versions. For example, this can cause inadvertent writes to
4676the
4677CST_CNT register. Julian Anastasov.
4678
4679Fixed a mapping issue related to a physical table override. Use the
4680deferred
4681mapping mechanism for tables loaded via the physical override OSL
4682interface.
4683This allows for early mapping before the virtual memory manager is
4684available.
4685Thomas Renninger, Bob Moore.
4686
4687Enhanced the automatic return-object repair code: Repair a common problem
4688with
4689predefined methods that are defined to return a variable-length Package
4690of
4691sub-objects. If there is only one sub-object, some BIOS ASL code
4692mistakenly
4693simply returns the single object instead of a Package with one sub-
4694object.
4695This new support will repair this error by wrapping a Package object
4696around
4697the original object, creating the correct and expected Package with one
4698sub-
4699object. Names that can be repaired in this manner include: _ALR, _CSD,
4700_HPX,
4701_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
4702939.
4703
4704Changed the exception code returned for invalid ACPI paths passed as
4705parameters to external interfaces such as AcpiEvaluateObject. Was
4706AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
4707
4708Example Code and Data Size: These are the sizes for the OS-independent
4709acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4710debug
4711version of the code includes the debug output trace mechanism and has a
4712much
4713larger code and data size.
4714
4715  Previous Release:
4716    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
4717    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4718  Current Release:
4719    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4720    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4721
4722
47232) iASL Compiler/Disassembler and Tools:
4724
4725iASL: Added the infrastructure and initial implementation of a integrated
4726C-
4727like preprocessor. This will simplify BIOS development process by
4728eliminating
4729the need for a separate preprocessing step during builds. On Windows, it
4730also
4731eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
4732features including full #define() macro support are still under
4733development.
4734These preprocessor directives are supported:
4735    #define
4736    #elif
4737    #else
4738    #endif
4739    #error
4740    #if
4741    #ifdef
4742    #ifndef
4743    #include
4744    #pragma message
4745    #undef
4746    #warning
4747In addition, these new command line options are supported:
4748    -D <symbol> Define symbol for preprocessor use
4749    -li         Create preprocessed output file (*.i)
4750    -P          Preprocess only and create preprocessor output file (*.i)
4751
4752Table Compiler: Fixed a problem where the equals operator within an
4753expression
4754did not work properly.
4755
4756Updated iASL to use the current versions of Bison/Flex. Updated the
4757Windows
4758project file to invoke these tools from the standard location. ACPICA BZ
4759904.
4760Versions supported:
4761    Flex for Windows:  V2.5.4
4762    Bison for Windows: V2.4.1
4763
4764----------------------------------------
476515 February 2012. Summary of changes for version 20120215:
4766
4767
47681) ACPICA Core Subsystem:
4769
4770There have been some major changes to the sleep/wake support code, as
4771described below (a - e).
4772
4773a) The AcpiLeaveSleepState has been split into two interfaces, similar to
4774AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
4775AcpiLeaveSleepStatePrep. This allows the host to perform actions between
4776the
4777time the _BFS method is called and the _WAK method is called. NOTE: all
4778hosts
4779must update their wake/resume code or else sleep/wake will not work
4780properly.
4781Rafael Wysocki.
4782
4783b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
4784_WAK
4785method. Some machines require that the GPEs are enabled before the _WAK
4786method
4787is executed. Thomas Renninger.
4788
4789c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
4790bit.
4791Some BIOS code assumes that WAK_STS will be cleared on resume and use it
4792to
4793determine whether the system is rebooting or resuming. Matthew Garrett.
4794
4795d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
4796Sleep) to
4797match the ACPI specification requirement. Rafael Wysocki.
4798
4799e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
4800registers within the V5 FADT. This support adds two new files:
4801hardware/hwesleep.c implements the support for the new registers. Moved
4802all
4803sleep/wake external interfaces to hardware/hwxfsleep.c.
4804
4805
4806Added a new OSL interface for ACPI table overrides,
4807AcpiOsPhysicalTableOverride. This interface allows the host to override a
4808table via a physical address, instead of the logical address required by
4809AcpiOsTableOverride. This simplifies the host implementation. Initial
4810implementation by Thomas Renninger. The ACPICA implementation creates a
4811single
4812shared function for table overrides that attempts both a logical and a
4813physical override.
4814
4815Expanded the OSL memory read/write interfaces to 64-bit data
4816(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
4817transfer support for GAS register structures passed to AcpiRead and
4818AcpiWrite.
4819
4820Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
4821custom
4822build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
4823model.
4824See the ACPICA reference for details. ACPICA BZ 942. This option removes
4825about
482610% of the code and 5% of the static data, and the following hardware
4827ACPI
4828features become unavailable:
4829    PM Event and Control registers
4830    SCI interrupt (and handler)
4831    Fixed Events
4832    General Purpose Events (GPEs)
4833    Global Lock
4834    ACPI PM timer
4835    FACS table (Waking vectors and Global Lock)
4836
4837Updated the unix tarball directory structure to match the ACPICA git
4838source
4839tree. This ensures that the generic unix makefiles work properly (in
4840generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ
4841867.
4842
4843Updated the return value of the _REV predefined method to integer value 5
4844to
4845reflect ACPI 5.0 support.
4846
4847Moved the external ACPI PM timer interface prototypes to the public
4848acpixf.h
4849file where they belong.
4850
4851Example Code and Data Size: These are the sizes for the OS-independent
4852acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4853debug
4854version of the code includes the debug output trace mechanism and has a
4855much
4856larger code and data size.
4857
4858  Previous Release:
4859    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
4860    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
4861  Current Release:
4862    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
4863    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4864
4865
48662) iASL Compiler/Disassembler and Tools:
4867
4868Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
4869descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
4870incorrectly displayed.
4871
4872AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
4873specification.
4874
4875----------------------------------------
487611 January 2012. Summary of changes for version 20120111:
4877
4878
48791) ACPICA Core Subsystem:
4880
4881Implemented a new mechanism to allow host device drivers to check for
4882address
4883range conflicts with ACPI Operation Regions. Both SystemMemory and
4884SystemIO
4885address spaces are supported. A new external interface,
4886AcpiCheckAddressRange,
4887allows drivers to check an address range against the ACPI namespace. See
4888the
4889ACPICA reference for additional details. Adds one new file,
4890utilities/utaddress.c. Lin Ming, Bob Moore.
4891
4892Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
4893Control
4894and
4895Status registers, update the ACPI 5.0 flags, and update internal data
4896structures to handle an FADT larger than 256 bytes. The size of the ACPI
48975.0
4898FADT is 268 bytes.
4899
4900Updated all ACPICA copyrights and signons to 2012. Added the 2012
4901copyright to
4902all module headers and signons, including the standard Linux header. This
4903affects virtually every file in the ACPICA core subsystem, iASL compiler,
4904and
4905all ACPICA utilities.
4906
4907Example Code and Data Size: These are the sizes for the OS-independent
4908acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4909debug
4910version of the code includes the debug output trace mechanism and has a
4911much
4912larger code and data size.
4913
4914  Previous Release:
4915    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
4916    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
4917  Current Release:
4918    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
4919    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
4920
4921
49222) iASL Compiler/Disassembler and Tools:
4923
4924Disassembler: fixed a problem with the automatic resource tag generation
4925support. Fixes a problem where the resource tags are inadvertently not
4926constructed if the table being disassembled contains external references
4927to
4928control methods. Moved the actual construction of the tags to after the
4929final
4930namespace is constructed (after 2nd parse is invoked due to external
4931control
4932method references.) ACPICA BZ 941.
4933
4934Table Compiler: Make all "generic" operators caseless. These are the
4935operators
4936like UINT8, String, etc. Making these caseless improves ease-of-use.
4937ACPICA BZ
4938934.
4939
4940----------------------------------------
494123 November 2011. Summary of changes for version 20111123:
4942
49430) ACPI 5.0 Support:
4944
4945This release contains full support for the ACPI 5.0 specification, as
4946summarized below.
4947
4948Reduced Hardware Support:
4949-------------------------
4950
4951This support allows for ACPI systems without the usual ACPI hardware.
4952This
4953support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
4954will
4955not attempt to initialize or use any of the usual ACPI hardware. Note,
4956when
4957this flag is set, all of the following ACPI hardware is assumed to be not
4958present and is not initialized or accessed:
4959
4960    General Purpose Events (GPEs)
4961    Fixed Events (PM1a/PM1b and PM Control)
4962    Power Management Timer and Console Buttons (power/sleep)
4963    Real-time Clock Alarm
4964    Global Lock
4965    System Control Interrupt (SCI)
4966    The FACS is assumed to be non-existent
4967
4968ACPI Tables:
4969------------
4970
4971All new tables and updates to existing tables are fully supported in the
4972ACPICA headers (for use by device drivers), the disassembler, and the
4973iASL
4974Data Table Compiler. ACPI 5.0 defines these new tables:
4975
4976    BGRT        /* Boot Graphics Resource Table */
4977    DRTM        /* Dynamic Root of Trust for Measurement table */
4978    FPDT        /* Firmware Performance Data Table */
4979    GTDT        /* Generic Timer Description Table */
4980    MPST        /* Memory Power State Table */
4981    PCCT        /* Platform Communications Channel Table */
4982    PMTT        /* Platform Memory Topology Table */
4983    RASF        /* RAS Feature table */
4984
4985Operation Regions/SpaceIDs:
4986---------------------------
4987
4988All new operation regions are fully supported by the iASL compiler, the
4989disassembler, and the ACPICA runtime code (for dispatch to region
4990handlers.)
4991The new operation region Space IDs are:
4992
4993    GeneralPurposeIo
4994    GenericSerialBus
4995
4996Resource Descriptors:
4997---------------------
4998
4999All new ASL resource descriptors are fully supported by the iASL
5000compiler,
5001the
5002ASL/AML disassembler, and the ACPICA runtime Resource Manager code
5003(including
5004all new predefined resource tags). New descriptors are:
5005
5006    FixedDma
5007    GpioIo
5008    GpioInt
5009    I2cSerialBus
5010    SpiSerialBus
5011    UartSerialBus
5012
5013ASL/AML Operators, New and Modified:
5014------------------------------------
5015
5016One new operator is added, the Connection operator, which is used to
5017associate
5018a GeneralPurposeIo or GenericSerialBus resource descriptor with
5019individual
5020field objects within an operation region. Several new protocols are
5021associated
5022with the AccessAs operator. All are fully supported by the iASL compiler,
5023disassembler, and runtime ACPICA AML interpreter:
5024
5025    Connection                      // Declare Field Connection
5026attributes
5027    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
5028    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes
5029Protocol
5030    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
5031    RawDataBuffer                       // Data type for Vendor Data
5032fields
5033
5034Predefined ASL/AML Objects:
5035---------------------------
5036
5037All new predefined objects/control-methods are supported by the iASL
5038compiler
5039and the ACPICA runtime validation/repair (arguments and return values.)
5040New
5041predefined names include the following:
5042
5043Standard Predefined Names (Objects or Control Methods):
5044    _AEI, _CLS, _CPC, _CWS, _DEP,
5045    _DLM, _EVT, _GCP, _CRT, _GWS,
5046    _HRV, _PRE, _PSE, _SRT, _SUB.
5047
5048Resource Tags (Names used to access individual fields within resource
5049descriptors):
5050    _DBT, _DPL, _DRS, _END, _FLC,
5051    _IOR, _LIN, _MOD, _PAR, _PHA,
5052    _PIN, _PPI, _POL, _RXL, _SLV,
5053    _SPE, _STB, _TXL, _VEN.
5054
5055ACPICA External Interfaces:
5056---------------------------
5057
5058Several new interfaces have been defined for use by ACPI-related device
5059drivers and other host OS services:
5060
5061AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
5062to
5063acquire and release AML mutexes that are defined in the DSDT/SSDT tables
5064provided by the BIOS. They are intended to be used in conjunction with
5065the
5066ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
5067mutual exclusion with the AML code/interpreter.
5068
5069AcpiGetEventResources: Returns the (formatted) resource descriptors as
5070defined
5071by the ACPI 5.0 _AEI object (ACPI Event Information).  This object
5072provides
5073resource descriptors associated with hardware-reduced platform events,
5074similar
5075to the AcpiGetCurrentResources interface.
5076
5077Operation Region Handlers: For General Purpose IO and Generic Serial Bus
5078operation regions, information about the Connection() object and any
5079optional
5080length information is passed to the region handler within the Context
5081parameter.
5082
5083AcpiBufferToResource: This interface converts a raw AML buffer containing
5084a
5085resource template or resource descriptor to the ACPI_RESOURCE internal
5086format
5087suitable for use by device drivers. Can be used by an operation region
5088handler
5089to convert the Connection() buffer object into a ACPI_RESOURCE.
5090
5091Miscellaneous/Tools/TestSuites:
5092-------------------------------
5093
5094Support for extended _HID names (Four alpha characters instead of three).
5095Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
5096Support for ACPI 5.0 features in the ASLTS test suite.
5097Fully updated documentation (ACPICA and iASL reference documents.)
5098
5099ACPI Table Definition Language:
5100-------------------------------
5101
5102Support for this language was implemented and released as a subsystem of
5103the
5104iASL compiler in 2010. (See the iASL compiler User Guide.)
5105
5106
5107Non-ACPI 5.0 changes for this release:
5108--------------------------------------
5109
51101) ACPICA Core Subsystem:
5111
5112Fix a problem with operation region declarations where a failure can
5113occur
5114if
5115the region name and an argument that evaluates to an object (such as the
5116region address) are in different namespace scopes. Lin Ming, ACPICA BZ
5117937.
5118
5119Do not abort an ACPI table load if an invalid space ID is found within.
5120This
5121will be caught later if the offending method is executed. ACPICA BZ 925.
5122
5123Fixed an issue with the FFixedHW space ID where the ID was not always
5124recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
5125
5126Fixed a problem with the 32-bit generation of the unix-specific OSL
5127(osunixxf.c). Lin Ming, ACPICA BZ 936.
5128
5129Several changes made to enable generation with the GCC 4.6 compiler.
5130ACPICA BZ
5131935.
5132
5133New error messages: Unsupported I/O requests (not 8/16/32 bit), and
5134Index/Bank
5135field registers out-of-range.
5136
51372) iASL Compiler/Disassembler and Tools:
5138
5139iASL: Implemented the __PATH__ operator, which returns the full pathname
5140of
5141the current source file.
5142
5143AcpiHelp: Automatically display expanded keyword information for all ASL
5144operators.
5145
5146Debugger: Add "Template" command to disassemble/dump resource template
5147buffers.
5148
5149Added a new master script to generate and execute the ASLTS test suite.
5150Automatically handles 32- and 64-bit generation. See tests/aslts.sh
5151
5152iASL: Fix problem with listing generation during processing of the
5153Switch()
5154operator where AML listing was disabled until the entire Switch block was
5155completed.
5156
5157iASL: Improve support for semicolon statement terminators. Fix "invalid
5158character" message for some cases when the semicolon is used. Semicolons
5159are
5160now allowed after every <Term> grammar element. ACPICA BZ 927.
5161
5162iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
5163923.
5164
5165Disassembler: Fix problem with disassembly of the DataTableRegion
5166operator
5167where an inadvertent "Unhandled deferred opcode" message could be
5168generated.
5169
51703) Example Code and Data Size
5171
5172These are the sizes for the OS-independent acpica.lib produced by the
5173Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
5174includes the debug output trace mechanism and has a much larger code and
5175data
5176size.
5177
5178  Previous Release:
5179    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5180    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5181  Current Release:
5182    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5183    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5184
5185----------------------------------------
518622 September 2011. Summary of changes for version 20110922:
5187
51880) ACPI 5.0 News:
5189
5190Support for ACPI 5.0 in ACPICA has been underway for several months and
5191will
5192be released at the same time that ACPI 5.0 is officially released.
5193
5194The ACPI 5.0 specification is on track for release in the next few
5195months.
5196
51971) ACPICA Core Subsystem:
5198
5199Fixed a problem where the maximum sleep time for the Sleep() operator was
5200intended to be limited to two seconds, but was inadvertently limited to
520120
5202seconds instead.
5203
5204Linux and Unix makefiles: Added header file dependencies to ensure
5205correct
5206generation of ACPICA core code and utilities. Also simplified the
5207makefiles
5208considerably through the use of the vpath variable to specify search
5209paths.
5210ACPICA BZ 924.
5211
52122) iASL Compiler/Disassembler and Tools:
5213
5214iASL: Implemented support to check the access length for all fields
5215created to
5216access named Resource Descriptor fields. For example, if a resource field
5217is
5218defined to be two bits, a warning is issued if a CreateXxxxField() is
5219used
5220with an incorrect bit length. This is implemented for all current
5221resource
5222descriptor names. ACPICA BZ 930.
5223
5224Disassembler: Fixed a byte ordering problem with the output of 24-bit and
522556-
5226bit integers.
5227
5228iASL: Fixed a couple of issues associated with variable-length package
5229objects. 1) properly handle constants like One, Ones, Zero -- do not make
5230a
5231VAR_PACKAGE when these are used as a package length. 2) Allow the
5232VAR_PACKAGE
5233opcode (in addition to PACKAGE) when validating object types for
5234predefined
5235names.
5236
5237iASL: Emit statistics for all output files (instead of just the ASL input
5238and
5239AML output). Includes listings, hex files, etc.
5240
5241iASL: Added -G option to the table compiler to allow the compilation of
5242custom
5243ACPI tables. The only part of a table that is required is the standard
524436-
5245byte
5246ACPI header.
5247
5248AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
5249headers),
5250which also adds correct 64-bit support. Also, now all output filenames
5251are
5252completely lower case.
5253
5254AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
5255loading table files. A warning is issued for any such tables. The only
5256exception is an FADT. This also fixes a possible fault when attempting to
5257load
5258non-AML tables. ACPICA BZ 932.
5259
5260AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
5261a
5262missing table terminator could cause a fault when using the -p option.
5263
5264AcpiSrc: Fixed a possible divide-by-zero fault when generating file
5265statistics.
5266
52673) Example Code and Data Size
5268
5269These are the sizes for the OS-independent acpica.lib produced by the
5270Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
5271includes the debug output trace mechanism and has a much larger code and
5272data
5273size.
5274
5275  Previous Release (VC 9.0):
5276    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5277    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5278  Current Release (VC 9.0):
5279    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5280    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5281
5282
5283----------------------------------------
528423 June 2011. Summary of changes for version 20110623:
5285
52861) ACPI CA Core Subsystem:
5287
5288Updated the predefined name repair mechanism to not attempt repair of a
5289_TSS
5290return object if a _PSS object is present. We can only sort the _TSS
5291return
5292package if there is no _PSS within the same scope. This is because if
5293_PSS
5294is
5295present, the ACPI specification dictates that the _TSS Power Dissipation
5296field
5297is to be ignored, and therefore some BIOSs leave garbage values in the
5298_TSS
5299Power field(s). In this case, it is best to just return the _TSS package
5300as-
5301is. Reported by, and fixed with assistance from Fenghua Yu.
5302
5303Added an option to globally disable the control method return value
5304validation
5305and repair. This runtime option can be used to disable return value
5306repair
5307if
5308this is causing a problem on a particular machine. Also added an option
5309to
5310AcpiExec (-dr) to set this disable flag.
5311
5312All makefiles and project files: Major changes to improve generation of
5313ACPICA
5314tools. ACPICA BZ 912:
5315    Reduce default optimization levels to improve compatibility
5316    For Linux, add strict-aliasing=0 for gcc 4
5317    Cleanup and simplify use of command line defines
5318    Cleanup multithread library support
5319    Improve usage messages
5320
5321Linux-specific header: update handling of THREAD_ID and pthread. For the
532232-
5323bit case, improve casting to eliminate possible warnings, especially with
5324the
5325acpica tools.
5326
5327Example Code and Data Size: These are the sizes for the OS-independent
5328acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5329debug
5330version of the code includes the debug output trace mechanism and has a
5331much
5332larger code and data size.
5333
5334  Previous Release (VC 9.0):
5335    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5336    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5337  Current Release (VC 9.0):
5338    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5339    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5340
53412) iASL Compiler/Disassembler and Tools:
5342
5343With this release, a new utility named "acpihelp" has been added to the
5344ACPICA
5345package. This utility summarizes the ACPI specification chapters for the
5346ASL
5347and AML languages. It generates under Linux/Unix as well as Windows, and
5348provides the following functionality:
5349    Find/display ASL operator(s) -- with description and syntax.
5350    Find/display ASL keyword(s) -- with exact spelling and descriptions.
5351    Find/display ACPI predefined name(s) -- with description, number
5352        of arguments, and the return value data type.
5353    Find/display AML opcode name(s) -- with opcode, arguments, and
5354grammar.
5355    Decode/display AML opcode -- with opcode name, arguments, and
5356grammar.
5357
5358Service Layers: Make multi-thread support configurable. Conditionally
5359compile
5360the multi-thread support so that threading libraries will not be linked
5361if
5362not
5363necessary. The only tool that requires multi-thread support is AcpiExec.
5364
5365iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
5366of
5367Bison appear to want the interface to yyerror to be a const char * (or at
5368least this is a problem when generating iASL on some systems.) ACPICA BZ
5369923
5370Pierre Lejeune.
5371
5372Tools: Fix for systems where O_BINARY is not defined. Only used for
5373Windows
5374versions of the tools.
5375
5376----------------------------------------
537727 May 2011. Summary of changes for version 20110527:
5378
53791) ACPI CA Core Subsystem:
5380
5381ASL Load() operator: Reinstate most restrictions on the incoming ACPI
5382table
5383signature. Now, only allow SSDT, OEMx, and a null signature. History:
5384    1) Originally, we checked the table signature for "SSDT" or "PSDT".
5385       (PSDT is now obsolete.)
5386    2) We added support for OEMx tables, signature "OEM" plus a fourth
5387       "don't care" character.
5388    3) Valid tables were encountered with a null signature, so we just
5389       gave up on validating the signature, (05/2008).
5390    4) We encountered non-AML tables such as the MADT, which caused
5391       interpreter errors and kernel faults. So now, we once again allow
5392       only SSDT, OEMx, and now, also a null signature. (05/2011).
5393
5394Added the missing _TDL predefined name to the global name list in order
5395to
5396enable validation. Affects both the core ACPICA code and the iASL
5397compiler.
5398
5399Example Code and Data Size: These are the sizes for the OS-independent
5400acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5401debug
5402version of the code includes the debug output trace mechanism and has a
5403much
5404larger code and data size.
5405
5406  Previous Release (VC 9.0):
5407    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5408    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5409  Current Release (VC 9.0):
5410    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5411    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5412
54132) iASL Compiler/Disassembler and Tools:
5414
5415Debugger/AcpiExec: Implemented support for "complex" method arguments on
5416the
5417debugger command line. This adds support beyond simple integers --
5418including
5419Strings, Buffers, and Packages. Includes support for nested packages.
5420Increased the default command line buffer size to accommodate these
5421arguments.
5422See the ACPICA reference for details and syntax. ACPICA BZ 917.
5423
5424Debugger/AcpiExec: Implemented support for "default" method arguments for
5425the
5426Execute/Debug command. Now, the debugger will always invoke a control
5427method
5428with the required number of arguments -- even if the command line
5429specifies
5430none or insufficient arguments. It uses default integer values for any
5431missing
5432arguments. Also fixes a bug where only six method arguments maximum were
5433supported instead of the required seven.
5434
5435Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
5436and
5437also return status in order to prevent buffer overruns. See the ACPICA
5438reference for details and syntax. ACPICA BZ 921
5439
5440iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
5441makefiles to simplify support for the two different but similar parser
5442generators, bison and yacc.
5443
5444Updated the generic unix makefile for gcc 4. The default gcc version is
5445now
5446expected to be 4 or greater, since options specific to gcc 4 are used.
5447
5448----------------------------------------
544913 April 2011. Summary of changes for version 20110413:
5450
54511) ACPI CA Core Subsystem:
5452
5453Implemented support to execute a so-called "orphan" _REG method under the
5454EC
5455device. This change will force the execution of a _REG method underneath
5456the
5457EC
5458device even if there is no corresponding operation region of type
5459EmbeddedControl. Fixes a problem seen on some machines and apparently is
5460compatible with Windows behavior. ACPICA BZ 875.
5461
5462Added more predefined methods that are eligible for automatic NULL
5463package
5464element removal. This change adds another group of predefined names to
5465the
5466list
5467of names that can be repaired by having NULL package elements dynamically
5468removed. This group are those methods that return a single variable-
5469length
5470package containing simple data types such as integers, buffers, strings.
5471This
5472includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
5473_PSL,
5474_Sx,
5475and _TZD. ACPICA BZ 914.
5476
5477Split and segregated all internal global lock functions to a new file,
5478evglock.c.
5479
5480Updated internal address SpaceID for DataTable regions. Moved this
5481internal
5482space
5483id in preparation for ACPI 5.0 changes that will include some new space
5484IDs.
5485This
5486change should not affect user/host code.
5487
5488Example Code and Data Size: These are the sizes for the OS-independent
5489acpica.lib
5490produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
5491version of
5492the code includes the debug output trace mechanism and has a much larger
5493code
5494and
5495data size.
5496
5497  Previous Release (VC 9.0):
5498    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5499    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5500  Current Release (VC 9.0):
5501    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5502    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5503
55042) iASL Compiler/Disassembler and Tools:
5505
5506iASL/DTC: Major update for new grammar features. Allow generic data types
5507in
5508custom ACPI tables. Field names are now optional. Any line can be split
5509to
5510multiple lines using the continuation char (\). Large buffers now use
5511line-
5512continuation character(s) and no colon on the continuation lines. See the
5513grammar
5514update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
5515Moore.
5516
5517iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
5518statements.
5519Since the parser stuffs a "zero" as the return value for these statements
5520(due
5521to
5522the underlying AML grammar), they were seen as "return with value" by the
5523iASL
5524semantic checking. They are now seen correctly as "null" return
5525statements.
5526
5527iASL: Check if a_REG declaration has a corresponding Operation Region.
5528Adds a
5529check for each _REG to ensure that there is in fact a corresponding
5530operation
5531region declaration in the same scope. If not, the _REG method is not very
5532useful
5533since it probably won't be executed. ACPICA BZ 915.
5534
5535iASL/DTC: Finish support for expression evaluation. Added a new
5536expression
5537parser
5538that implements c-style operator precedence and parenthesization. ACPICA
5539bugzilla
5540908.
5541
5542Disassembler/DTC: Remove support for () and <> style comments in data
5543tables.
5544Now
5545that DTC has full expression support, we don't want to have comment
5546strings
5547that
5548start with a parentheses or a less-than symbol. Now, only the standard /*
5549and
5550//
5551comments are supported, as well as the bracket [] comments.
5552
5553AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
5554"unusual"
5555headers in the acpidump file. Update the header validation to support
5556these
5557tables. Problem introduced in previous AcpiXtract version in the change
5558to
5559support "wrong checksum" error messages emitted by acpidump utility.
5560
5561iASL: Add a * option to generate all template files (as a synonym for
5562ALL)
5563as
5564in
5565"iasl -T *" or "iasl -T ALL".
5566
5567iASL/DTC: Do not abort compiler on fatal errors. We do not want to
5568completely
5569abort the compiler on "fatal" errors, simply should abort the current
5570compile.
5571This allows multiple compiles with a single (possibly wildcard) compiler
5572invocation.
5573
5574----------------------------------------
557516 March 2011. Summary of changes for version 20110316:
5576
55771) ACPI CA Core Subsystem:
5578
5579Fixed a problem caused by a _PRW method appearing at the namespace root
5580scope
5581during the setup of wake GPEs. A fault could occur if a _PRW directly
5582under
5583the
5584root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
5585
5586Implemented support for "spurious" Global Lock interrupts. On some
5587systems, a
5588global lock interrupt can occur without the pending flag being set. Upon
5589a
5590GL
5591interrupt, we now ensure that a thread is actually waiting for the lock
5592before
5593signaling GL availability. Rafael Wysocki, Bob Moore.
5594
5595Example Code and Data Size: These are the sizes for the OS-independent
5596acpica.lib
5597produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
5598version of
5599the code includes the debug output trace mechanism and has a much larger
5600code
5601and
5602data size.
5603
5604  Previous Release (VC 9.0):
5605    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5606    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5607  Current Release (VC 9.0):
5608    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5609    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5610
56112) iASL Compiler/Disassembler and Tools:
5612
5613Implemented full support for the "SLIC" ACPI table. Includes support in
5614the
5615header files, disassembler, table compiler, and template generator. Bob
5616Moore,
5617Lin Ming.
5618
5619AcpiXtract: Correctly handle embedded comments and messages from
5620AcpiDump.
5621Apparently some or all versions of acpidump will occasionally emit a
5622comment
5623like
5624"Wrong checksum", etc., into the dump file. This was causing problems for
5625AcpiXtract. ACPICA BZ 905.
5626
5627iASL: Fix the Linux makefile by removing an inadvertent double file
5628inclusion.
5629ACPICA BZ 913.
5630
5631AcpiExec: Update installation of operation region handlers. Install one
5632handler
5633for a user-defined address space. This is used by the ASL test suite
5634(ASLTS).
5635
5636----------------------------------------
563711 February 2011. Summary of changes for version 20110211:
5638
56391) ACPI CA Core Subsystem:
5640
5641Added a mechanism to defer _REG methods for some early-installed
5642handlers.
5643Most user handlers should be installed before call to
5644AcpiEnableSubsystem.
5645However, Event handlers and region handlers should be installed after
5646AcpiInitializeObjects. Override handlers for the "default" regions should
5647be
5648installed early, however. This change executes all _REG methods for the
5649default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
5650chicken/egg issues between them. ACPICA BZ 848.
5651
5652Implemented an optimization for GPE detection. This optimization will
5653simply
5654ignore GPE registers that contain no enabled GPEs -- there is no need to
5655read the register since this information is available internally. This
5656becomes more important on machines with a large GPE space. ACPICA
5657bugzilla
5658884. Lin Ming. Suggestion from Joe Liu.
5659
5660Removed all use of the highly unreliable FADT revision field. The
5661revision
5662number in the FADT has been found to be completely unreliable and cannot
5663be
5664trusted. Only the actual table length can be used to infer the version.
5665This
5666change updates the ACPICA core and the disassembler so that both no
5667longer
5668even look at the FADT version and instead depend solely upon the FADT
5669length.
5670
5671Fix an unresolved name issue for the no-debug and no-error-message source
5672generation cases. The _AcpiModuleName was left undefined in these cases,
5673but
5674it is actually needed as a parameter to some interfaces. Define
5675_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
5676
5677Split several large files (makefiles and project files updated)
5678  utglobal.c   -> utdecode.c
5679  dbcomds.c    -> dbmethod.c dbnames.c
5680  dsopcode.c   -> dsargs.c dscontrol.c
5681  dsload.c     -> dsload2.c
5682  aslanalyze.c -> aslbtypes.c aslwalks.c
5683
5684Example Code and Data Size: These are the sizes for the OS-independent
5685acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5686debug version of the code includes the debug output trace mechanism and
5687has
5688a much larger code and data size.
5689
5690  Previous Release (VC 9.0):
5691    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5692    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5693  Current Release (VC 9.0):
5694    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5695    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5696
56972) iASL Compiler/Disassembler and Tools:
5698
5699iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
5700These are useful C-style macros with the standard definitions. ACPICA
5701bugzilla 898.
5702
5703iASL/DTC: Added support for integer expressions and labels. Support for
5704full
5705expressions for all integer fields in all ACPI tables. Support for labels
5706in
5707"generic" portions of tables such as UEFI. See the iASL reference manual.
5708
5709Debugger: Added a command to display the status of global handlers. The
5710"handlers" command will display op region, fixed event, and miscellaneous
5711global handlers. installation status -- and for op regions, whether
5712default
5713or user-installed handler will be used.
5714
5715iASL: Warn if reserved method incorrectly returns a value. Many
5716predefined
5717names are defined such that they do not return a value. If implemented as
5718a
5719method, issue a warning if such a name explicitly returns a value. ACPICA
5720Bugzilla 855.
5721
5722iASL: Added detection of GPE method name conflicts. Detects a conflict
5723where
5724there are two GPE methods of the form _Lxy and _Exy in the same scope.
5725(For
5726example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
5727
5728iASL/DTC: Fixed a couple input scanner issues with comments and line
5729numbers. Comment remover could get confused and miss a comment ending.
5730Fixed
5731a problem with line counter maintenance.
5732
5733iASL/DTC: Reduced the severity of some errors from fatal to error. There
5734is
5735no need to abort on simple errors within a field definition.
5736
5737Debugger: Simplified the output of the help command. All help output now
5738in
5739a single screen, instead of help subcommands. ACPICA Bugzilla 897.
5740
5741----------------------------------------
574212 January 2011. Summary of changes for version 20110112:
5743
57441) ACPI CA Core Subsystem:
5745
5746Fixed a race condition between method execution and namespace walks that
5747can
5748possibly cause a fault. The problem was apparently introduced in version
574920100528 as a result of a performance optimization that reduces the
5750number
5751of
5752namespace walks upon method exit by using the delete_namespace_subtree
5753function instead of the delete_namespace_by_owner function used
5754previously.
5755Bug is a missing namespace lock in the delete_namespace_subtree function.
5756dana.myers@oracle.com
5757
5758Fixed several issues and a possible fault with the automatic "serialized"
5759method support. History: This support changes a method to "serialized" on
5760the
5761fly if the method generates an AE_ALREADY_EXISTS error, indicating the
5762possibility that it cannot handle reentrancy. This fix repairs a couple
5763of
5764issues seen in the field, especially on machines with many cores:
5765
5766    1) Delete method children only upon the exit of the last thread,
5767       so as to not delete objects out from under other running threads
5768      (and possibly causing a fault.)
5769    2) Set the "serialized" bit for the method only upon the exit of the
5770       Last thread, so as to not cause deadlock when running threads
5771       attempt to exit.
5772    3) Cleanup the use of the AML "MethodFlags" and internal method flags
5773       so that there is no longer any confusion between the two.
5774
5775    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
5776
5777Debugger: Now lock the namespace for duration of a namespace dump.
5778Prevents
5779issues if the namespace is changing dynamically underneath the debugger.
5780Especially affects temporary namespace nodes, since the debugger displays
5781these also.
5782
5783Updated the ordering of include files. The ACPICA headers should appear
5784before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
5785set
5786any necessary compiler-specific defines, etc. Affects the ACPI-related
5787tools
5788and utilities.
5789
5790Updated all ACPICA copyrights and signons to 2011. Added the 2011
5791copyright
5792to all module headers and signons, including the Linux header. This
5793affects
5794virtually every file in the ACPICA core subsystem, iASL compiler, and all
5795utilities.
5796
5797Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
5798project files for VC++ 6.0 are now obsolete. New project files can be
5799found
5800under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
5801details.
5802
5803Example Code and Data Size: These are the sizes for the OS-independent
5804acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5805debug version of the code includes the debug output trace mechanism and
5806has a
5807much larger code and data size.
5808
5809  Previous Release (VC 6.0):
5810    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
5811    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
5812  Current Release (VC 9.0):
5813    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5814    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5815
58162) iASL Compiler/Disassembler and Tools:
5817
5818iASL: Added generic data types to the Data Table compiler. Add "generic"
5819data
5820types such as UINT32, String, Unicode, etc., to simplify the generation
5821of
5822platform-defined tables such as UEFI. Lin Ming.
5823
5824iASL: Added listing support for the Data Table Compiler. Adds listing
5825support
5826(-l) to display actual binary output for each line of input code.
5827
5828----------------------------------------
582909 December 2010. Summary of changes for version 20101209:
5830
58311) ACPI CA Core Subsystem:
5832
5833Completed the major overhaul of the GPE support code that was begun in
5834July
58352010. Major features include: removal of _PRW execution in ACPICA (host
5836executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
5837changes to existing interfaces, simplification of GPE handler operation,
5838and
5839a handful of new interfaces:
5840
5841    AcpiUpdateAllGpes
5842    AcpiFinishGpe
5843    AcpiSetupGpeForWake
5844    AcpiSetGpeWakeMask
5845    One new file, evxfgpe.c to consolidate all external GPE interfaces.
5846
5847See the ACPICA Programmer Reference for full details and programming
5848information. See the new section 4.4 "General Purpose Event (GPE)
5849Support"
5850for a full overview, and section 8.7 "ACPI General Purpose Event
5851Management"
5852for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
5853Ming,
5854Bob Moore, Rafael Wysocki.
5855
5856Implemented a new GPE feature for Windows compatibility, the "Implicit
5857Wake
5858GPE Notify". This feature will automatically issue a Notify(2) on a
5859device
5860when a Wake GPE is received if there is no corresponding GPE method or
5861handler. ACPICA BZ 870.
5862
5863Fixed a problem with the Scope() operator during table parse and load
5864phase.
5865During load phase (table load or method execution), the scope operator
5866should
5867not enter the target into the namespace. Instead, it should open a new
5868scope
5869at the target location. Linux BZ 19462, ACPICA BZ 882.
5870
5871Example Code and Data Size: These are the sizes for the OS-independent
5872acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5873debug version of the code includes the debug output trace mechanism and
5874has a
5875much larger code and data size.
5876
5877  Previous Release:
5878    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
5879    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
5880  Current Release:
5881    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5882    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5883
58842) iASL Compiler/Disassembler and Tools:
5885
5886iASL: Relax the alphanumeric restriction on _CID strings. These strings
5887are
5888"bus-specific" per the ACPI specification, and therefore any characters
5889are
5890acceptable. The only checks that can be performed are for a null string
5891and
5892perhaps for a leading asterisk. ACPICA BZ 886.
5893
5894iASL: Fixed a problem where a syntax error that caused a premature EOF
5895condition on the source file emitted a very confusing error message. The
5896premature EOF is now detected correctly. ACPICA BZ 891.
5897
5898Disassembler: Decode the AccessSize within a Generic Address Structure
5899(byte
5900access, word access, etc.) Note, this field does not allow arbitrary bit
5901access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
5902
5903New: AcpiNames utility - Example namespace dump utility. Shows an example
5904of
5905ACPICA configuration for a minimal namespace dump utility. Uses table and
5906namespace managers, but no AML interpreter. Does not add any
5907functionality
5908over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
5909partition and configure ACPICA. ACPICA BZ 883.
5910
5911AML Debugger: Increased the debugger buffer size for method return
5912objects.
5913Was 4K, increased to 16K. Also enhanced error messages for debugger
5914method
5915execution, including the buffer overflow case.
5916
5917----------------------------------------
591813 October 2010. Summary of changes for version 20101013:
5919
59201) ACPI CA Core Subsystem:
5921
5922Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
5923now
5924clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
5925HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
5926
5927Changed the type of the predefined namespace object _TZ from ThermalZone
5928to
5929Device. This was found to be confusing to the host software that
5930processes
5931the various thermal zones, since _TZ is not really a ThermalZone.
5932However,
5933a
5934Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
5935Zhang.
5936
5937Added Windows Vista SP2 to the list of supported _OSI strings. The actual
5938string is "Windows 2006 SP2".
5939
5940Eliminated duplicate code in AcpiUtExecute* functions. Now that the
5941nsrepair
5942code automatically repairs _HID-related strings, this type of code is no
5943longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
5944878.
5945
5946Example Code and Data Size: These are the sizes for the OS-independent
5947acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5948debug version of the code includes the debug output trace mechanism and
5949has a
5950much larger code and data size.
5951
5952  Previous Release:
5953    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5954    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5955  Current Release:
5956    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5957    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5958
59592) iASL Compiler/Disassembler and Tools:
5960
5961iASL: Implemented additional compile-time validation for _HID strings.
5962The
5963non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
5964length
5965of
5966the string must be exactly seven or eight characters. For both _HID and
5967_CID
5968strings, all characters must be alphanumeric. ACPICA BZ 874.
5969
5970iASL: Allow certain "null" resource descriptors. Some BIOS code creates
5971descriptors that are mostly or all zeros, with the expectation that they
5972will
5973be filled in at runtime. iASL now allows this as long as there is a
5974"resource
5975tag" (name) associated with the descriptor, which gives the ASL a handle
5976needed to modify the descriptor. ACPICA BZ 873.
5977
5978Added single-thread support to the generic Unix application OSL.
5979Primarily
5980for iASL support, this change removes the use of semaphores in the
5981single-
5982threaded ACPICA tools/applications - increasing performance. The
5983_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
5984option. ACPICA BZ 879.
5985
5986AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
5987support
5988for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
5989
5990iASL: Moved all compiler messages to a new file, aslmessages.h.
5991
5992----------------------------------------
599315 September 2010. Summary of changes for version 20100915:
5994
59951) ACPI CA Core Subsystem:
5996
5997Removed the AcpiOsDerivePciId OSL interface. The various host
5998implementations
5999of this function were not OS-dependent and are now obsolete and can be
6000removed from all host OSLs. This function has been replaced by
6001AcpiHwDerivePciId, which is now part of the ACPICA core code.
6002AcpiHwDerivePciId has been implemented without recursion. Adds one new
6003module, hwpci.c. ACPICA BZ 857.
6004
6005Implemented a dynamic repair for _HID and _CID strings. The following
6006problems are now repaired at runtime: 1) Remove a leading asterisk in the
6007string, and 2) the entire string is uppercased. Both repairs are in
6008accordance with the ACPI specification and will simplify host driver
6009code.
6010ACPICA BZ 871.
6011
6012The ACPI_THREAD_ID type is no longer configurable, internally it is now
6013always UINT64. This simplifies the ACPICA code, especially any printf
6014output.
6015UINT64 is the only common data type for all thread_id types across all
6016operating systems. It is now up to the host OSL to cast the native
6017thread_id
6018type to UINT64 before returning the value to ACPICA (via
6019AcpiOsGetThreadId).
6020Lin Ming, Bob Moore.
6021
6022Added the ACPI_INLINE type to enhance the ACPICA configuration. The
6023"inline"
6024keyword is not standard across compilers, and this type allows inline to
6025be
6026configured on a per-compiler basis. Lin Ming.
6027
6028Made the system global AcpiGbl_SystemAwakeAndRunning publically
6029available.
6030Added an extern for this boolean in acpixf.h. Some hosts utilize this
6031value
6032during suspend/restore operations. ACPICA BZ 869.
6033
6034All code that implements error/warning messages with the "ACPI:" prefix
6035has
6036been moved to a new module, utxferror.c.
6037
6038The UINT64_OVERLAY was moved to utmath.c, which is the only module where
6039it
6040is used. ACPICA BZ 829. Lin Ming, Bob Moore.
6041
6042Example Code and Data Size: These are the sizes for the OS-independent
6043acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6044debug version of the code includes the debug output trace mechanism and
6045has a
6046much larger code and data size.
6047
6048  Previous Release:
6049    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6050    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6051  Current Release:
6052    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
6053    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
6054
60552) iASL Compiler/Disassembler and Tools:
6056
6057iASL/Disassembler: Write ACPI errors to stderr instead of the output
6058file.
6059This keeps the output files free of random error messages that may
6060originate
6061from within the namespace/interpreter code. Used this opportunity to
6062merge
6063all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
6064866. Lin Ming, Bob Moore.
6065
6066Tools: update some printfs for ansi warnings on size_t. Handle width
6067change
6068of size_t on 32-bit versus 64-bit generations. Lin Ming.
6069
6070----------------------------------------
607106 August 2010. Summary of changes for version 20100806:
6072
60731) ACPI CA Core Subsystem:
6074
6075Designed and implemented a new host interface to the _OSI support code.
6076This
6077will allow the host to dynamically add or remove multiple _OSI strings,
6078as
6079well as install an optional handler that is called for each _OSI
6080invocation.
6081Also added a new AML debugger command, 'osi' to display and modify the
6082global
6083_OSI string table, and test support in the AcpiExec utility. See the
6084ACPICA
6085reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
6086New Functions:
6087    AcpiInstallInterface - Add an _OSI string.
6088    AcpiRemoveInterface - Delete an _OSI string.
6089    AcpiInstallInterfaceHandler - Install optional _OSI handler.
6090Obsolete Functions:
6091    AcpiOsValidateInterface - no longer used.
6092New Files:
6093    source/components/utilities/utosi.c
6094
6095Re-introduced the support to enable multi-byte transfers for Embedded
6096Controller (EC) operation regions. A reported problem was found to be a
6097bug
6098in the host OS, not in the multi-byte support. Previously, the maximum
6099data
6100size passed to the EC operation region handler was a single byte. There
6101are
6102often EC Fields larger than one byte that need to be transferred, and it
6103is
6104useful for the EC driver to lock these as a single transaction. This
6105change
6106enables single transfers larger than 8 bits. This effectively changes the
6107access to the EC space from ByteAcc to AnyAcc, and will probably require
6108changes to the host OS Embedded Controller driver to enable 16/32/64/256-
6109bit
6110transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
6111
6112Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
6113prototype in acpiosxf.h had the output value pointer as a (void *).
6114It should be a (UINT64 *). This may affect some host OSL code.
6115
6116Fixed a couple problems with the recently modified Linux makefiles for
6117iASL
6118and AcpiExec. These new makefiles place the generated object files in the
6119local directory so that there can be no collisions between the files that
6120are
6121shared between them that are compiled with different options.
6122
6123Example Code and Data Size: These are the sizes for the OS-independent
6124acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6125debug version of the code includes the debug output trace mechanism and
6126has a
6127much larger code and data size.
6128
6129  Previous Release:
6130    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6131    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6132  Current Release:
6133    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6134    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6135
61362) iASL Compiler/Disassembler and Tools:
6137
6138iASL/Disassembler: Added a new option (-da, "disassemble all") to load
6139the
6140namespace from and disassemble an entire group of AML files. Useful for
6141loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
6142and
6143disassembling with one simple command. ACPICA BZ 865. Lin Ming.
6144
6145iASL: Allow multiple invocations of -e option. This change allows
6146multiple
6147uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
6148834.
6149Lin Ming.
6150
6151----------------------------------------
615202 July 2010. Summary of changes for version 20100702:
6153
61541) ACPI CA Core Subsystem:
6155
6156Implemented several updates to the recently added GPE reference count
6157support. The model for "wake" GPEs is changing to give the host OS
6158complete
6159control of these GPEs. Eventually, the ACPICA core will not execute any
6160_PRW
6161methods, since the host already must execute them. Also, additional
6162changes
6163were made to help ensure that the reference counts are kept in proper
6164synchronization with reality. Rafael J. Wysocki.
6165
61661) Ensure that GPEs are not enabled twice during initialization.
61672) Ensure that GPE enable masks stay in sync with the reference count.
61683) Do not inadvertently enable GPEs when writing GPE registers.
61694) Remove the internal wake reference counter and add new AcpiGpeWakeup
6170interface. This interface will set or clear individual GPEs for wakeup.
61715) Remove GpeType argument from AcpiEnable and AcpiDisable. These
6172interfaces
6173are now used for "runtime" GPEs only.
6174
6175Changed the behavior of the GPE install/remove handler interfaces. The
6176GPE
6177is
6178no longer disabled during this process, as it was found to cause problems
6179on
6180some machines. Rafael J. Wysocki.
6181
6182Reverted a change introduced in version 20100528 to enable Embedded
6183Controller multi-byte transfers. This change was found to cause problems
6184with
6185Index Fields and possibly Bank Fields. It will be reintroduced when these
6186problems have been resolved.
6187
6188Fixed a problem with references to Alias objects within Package Objects.
6189A
6190reference to an Alias within the definition of a Package was not always
6191resolved properly. Aliases to objects like Processors, Thermal zones,
6192etc.
6193were resolved to the actual object instead of a reference to the object
6194as
6195it
6196should be. Package objects are only allowed to contain integer, string,
6197buffer, package, and reference objects. Redhat bugzilla 608648.
6198
6199Example Code and Data Size: These are the sizes for the OS-independent
6200acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6201debug version of the code includes the debug output trace mechanism and
6202has a
6203much larger code and data size.
6204
6205  Previous Release:
6206    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6207    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6208  Current Release:
6209    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6210    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6211
62122) iASL Compiler/Disassembler and Tools:
6213
6214iASL: Implemented a new compiler subsystem to allow definition and
6215compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
6216These
6217are called "ACPI Data Tables", and the new compiler is the "Data Table
6218Compiler". This compiler is intended to simplify the existing error-prone
6219process of creating these tables for the BIOS, as well as allowing the
6220disassembly, modification, recompilation, and override of existing ACPI
6221data
6222tables. See the iASL User Guide for detailed information.
6223
6224iASL: Implemented a new Template Generator option in support of the new
6225Data
6226Table Compiler. This option will create examples of all known ACPI tables
6227that can be used as the basis for table development. See the iASL
6228documentation and the -T option.
6229
6230Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
6231Descriptor Table).
6232
6233Updated the Linux makefiles for iASL and AcpiExec to place the generated
6234object files in the local directory so that there can be no collisions
6235between the shared files between them that are generated with different
6236options.
6237
6238Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
6239Use
6240the #define __APPLE__ to enable this support.
6241
6242----------------------------------------
624328 May 2010. Summary of changes for version 20100528:
6244
6245Note: The ACPI 4.0a specification was released on April 5, 2010 and is
6246available at www.acpi.info. This is primarily an errata release.
6247
62481) ACPI CA Core Subsystem:
6249
6250Undefined ACPI tables: We are looking for the definitions for the
6251following
6252ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6253
6254Implemented support to enable multi-byte transfers for Embedded
6255Controller
6256(EC) operation regions. Previously, the maximum data size passed to the
6257EC
6258operation region handler was a single byte. There are often EC Fields
6259larger
6260than one byte that need to be transferred, and it is useful for the EC
6261driver
6262to lock these as a single transaction. This change enables single
6263transfers
6264larger than 8 bits. This effectively changes the access to the EC space
6265from
6266ByteAcc to AnyAcc, and will probably require changes to the host OS
6267Embedded
6268Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
6269bit
6270transfers. Alexey Starikovskiy, Lin Ming
6271
6272Implemented a performance enhancement for namespace search and access.
6273This
6274change enhances the performance of namespace searches and walks by adding
6275a
6276backpointer to the parent in each namespace node. On large namespaces,
6277this
6278change can improve overall ACPI performance by up to 9X. Adding a pointer
6279to
6280each namespace node increases the overall size of the internal namespace
6281by
6282about 5%, since each namespace entry usually consists of both a namespace
6283node and an ACPI operand object. However, this is the first growth of the
6284namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
6285
6286Implemented a performance optimization that reduces the number of
6287namespace
6288walks. On control method exit, only walk the namespace if the method is
6289known
6290to have created namespace objects outside of its local scope. Previously,
6291the
6292entire namespace was traversed on each control method exit. This change
6293can
6294improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
6295Moore.
6296
6297Added support to truncate I/O addresses to 16 bits for Windows
6298compatibility.
6299Some ASL code has been seen in the field that inadvertently has bits set
6300above bit 15. This feature is optional and is enabled if the BIOS
6301requests
6302any Windows OSI strings. It can also be enabled by the host OS. Matthew
6303Garrett, Bob Moore.
6304
6305Added support to limit the maximum time for the ASL Sleep() operator. To
6306prevent accidental deep sleeps, limit the maximum time that Sleep() will
6307actually sleep. Configurable, the default maximum is two seconds. ACPICA
6308bugzilla 854.
6309
6310Added run-time validation support for the _WDG and_WED Microsoft
6311predefined
6312methods. These objects are defined by "Windows Instrumentation", and are
6313not
6314part of the ACPI spec. ACPICA BZ 860.
6315
6316Expanded all statistic counters used during namespace and device
6317initialization from 16 to 32 bits in order to support very large
6318namespaces.
6319
6320Replaced all instances of %d in printf format specifiers with %u since
6321nearly
6322all integers in ACPICA are unsigned.
6323
6324Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
6325returned
6326as AE_NO_HANDLER.
6327
6328Example Code and Data Size: These are the sizes for the OS-independent
6329acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6330debug version of the code includes the debug output trace mechanism and
6331has a
6332much larger code and data size.
6333
6334  Previous Release:
6335    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6336    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6337  Current Release:
6338    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6339    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6340
63412) iASL Compiler/Disassembler and Tools:
6342
6343iASL: Added compiler support for the _WDG and_WED Microsoft predefined
6344methods. These objects are defined by "Windows Instrumentation", and are
6345not
6346part of the ACPI spec. ACPICA BZ 860.
6347
6348AcpiExec: added option to disable the memory tracking mechanism. The -dt
6349option will disable the tracking mechanism, which improves performance
6350considerably.
6351
6352AcpiExec: Restructured the command line options into -d (disable) and -e
6353(enable) options.
6354
6355----------------------------------------
635628 April 2010. Summary of changes for version 20100428:
6357
63581) ACPI CA Core Subsystem:
6359
6360Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
6361including FADT-based and GPE Block Devices, execute any _PRW methods in
6362the
6363new table, and process any _Lxx/_Exx GPE methods in the new table. Any
6364runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
6365immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
6366Devices. Provides compatibility with other ACPI implementations. Two new
6367files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
6368Moore.
6369
6370Fixed a regression introduced in version 20100331 within the table
6371manager
6372where initial table loading could fail. This was introduced in the fix
6373for
6374AcpiReallocateRootTable. Also, renamed some of fields in the table
6375manager
6376data structures to clarify their meaning and use.
6377
6378Fixed a possible allocation overrun during internal object copy in
6379AcpiUtCopySimpleObject. The original code did not correctly handle the
6380case
6381where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
6382847.
6383
6384Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
6385possible access beyond end-of-allocation. Also, now fully validate
6386descriptor
6387(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
6388
6389Example Code and Data Size: These are the sizes for the OS-independent
6390acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6391debug version of the code includes the debug output trace mechanism and
6392has a
6393much larger code and data size.
6394
6395  Previous Release:
6396    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6397    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6398  Current Release:
6399    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6400    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6401
64022) iASL Compiler/Disassembler and Tools:
6403
6404iASL: Implemented Min/Max/Len/Gran validation for address resource
6405descriptors. This change implements validation for the address fields
6406that
6407are common to all address-type resource descriptors. These checks are
6408implemented: Checks for valid Min/Max, length within the Min/Max window,
6409valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
6410per
6411table 6-40 in the ACPI 4.0a specification. Also split the large
6412aslrestype1.c
6413and aslrestype2.c files into five new files. ACPICA BZ 840.
6414
6415iASL: Added support for the _Wxx predefined names. This support was
6416missing
6417and these names were not recognized by the compiler as valid predefined
6418names. ACPICA BZ 851.
6419
6420iASL: Added an error for all predefined names that are defined to return
6421no
6422value and thus must be implemented as Control Methods. These include all
6423of
6424the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
6425names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
6426
6427iASL: Implemented the -ts option to emit hex AML data in ASL format, as
6428an
6429ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
6430be
6431dynamically loaded via the Load() operator. Also cleaned up output for
6432the
6433-
6434ta and -tc options. ACPICA BZ 853.
6435
6436Tests: Added a new file with examples of extended iASL error checking.
6437Demonstrates the advanced error checking ability of the iASL compiler.
6438Available at tests/misc/badcode.asl.
6439
6440----------------------------------------
644131 March 2010. Summary of changes for version 20100331:
6442
64431) ACPI CA Core Subsystem:
6444
6445Completed a major update for the GPE support in order to improve support
6446for
6447shared GPEs and to simplify both host OS and ACPICA code. Added a
6448reference
6449count mechanism to support shared GPEs that require multiple device
6450drivers.
6451Several external interfaces have changed. One external interface has been
6452removed. One new external interface was added. Most of the GPE external
6453interfaces now use the GPE spinlock instead of the events mutex (and the
6454Flags parameter for many GPE interfaces has been removed.) See the
6455updated
6456ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
6457Rafael
6458Wysocki. ACPICA BZ 831.
6459
6460Changed:
6461    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
6462Removed:
6463    AcpiSetGpeType
6464New:
6465    AcpiSetGpe
6466
6467Implemented write support for DataTable operation regions. These regions
6468are
6469defined via the DataTableRegion() operator. Previously, only read support
6470was
6471implemented. The ACPI specification allows DataTableRegions to be
6472read/write,
6473however.
6474
6475Implemented a new subsystem option to force a copy of the DSDT to local
6476memory. Optionally copy the entire DSDT to local memory (instead of
6477simply
6478mapping it.) There are some (albeit very rare) BIOSs that corrupt or
6479replace
6480the original DSDT, creating the need for this option. Default is FALSE,
6481do
6482not copy the DSDT.
6483
6484Implemented detection of a corrupted or replaced DSDT. This change adds
6485support to detect a DSDT that has been corrupted and/or replaced from
6486outside
6487the OS (by firmware). This is typically catastrophic for the system, but
6488has
6489been seen on some machines. Once this problem has been detected, the DSDT
6490copy option can be enabled via system configuration. Lin Ming, Bob Moore.
6491
6492Fixed two problems with AcpiReallocateRootTable during the root table
6493copy.
6494When copying the root table to the new allocation, the length used was
6495incorrect. The new size was used instead of the current table size,
6496meaning
6497too much data was copied. Also, the count of available slots for ACPI
6498tables
6499was not set correctly. Alexey Starikovskiy, Bob Moore.
6500
6501Example Code and Data Size: These are the sizes for the OS-independent
6502acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6503debug version of the code includes the debug output trace mechanism and
6504has a
6505much larger code and data size.
6506
6507  Previous Release:
6508    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6509    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6510  Current Release:
6511    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6512    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6513
65142) iASL Compiler/Disassembler and Tools:
6515
6516iASL: Implement limited typechecking for values returned from predefined
6517control methods. The type of any returned static (unnamed) object is now
6518validated. For example, Return(1). ACPICA BZ 786.
6519
6520iASL: Fixed a predefined name object verification regression. Fixes a
6521problem
6522introduced in version 20100304. An error is incorrectly generated if a
6523predefined name is declared as a static named object with a value defined
6524using the keywords "Zero", "One", or "Ones". Lin Ming.
6525
6526iASL: Added Windows 7 support for the -g option (get local ACPI tables)
6527by
6528reducing the requested registry access rights. ACPICA BZ 842.
6529
6530Disassembler: fixed a possible fault when generating External()
6531statements.
6532Introduced in commit ae7d6fd: Properly handle externals with parent-
6533prefix
6534(carat). Fixes a string length allocation calculation. Lin Ming.
6535
6536----------------------------------------
653704 March 2010. Summary of changes for version 20100304:
6538
65391) ACPI CA Core Subsystem:
6540
6541Fixed a possible problem with the AML Mutex handling function
6542AcpiExReleaseMutex where the function could fault under the very rare
6543condition when the interpreter has blocked, the interpreter lock is
6544released,
6545the interpreter is then reentered via the same thread, and attempts to
6546acquire an AML mutex that was previously acquired. FreeBSD report 140979.
6547Lin
6548Ming.
6549
6550Implemented additional configuration support for the AML "Debug Object".
6551Output from the debug object can now be enabled via a global variable,
6552AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
6553debugging.
6554This debug output is now available in the release version of ACPICA
6555instead
6556of just the debug version. Also, the entire debug output module can now
6557be
6558configured out of the ACPICA build if desired. One new file added,
6559executer/exdebug.c. Lin Ming, Bob Moore.
6560
6561Added header support for the ACPI MCHI table (Management Controller Host
6562Interface Table). This table was added in ACPI 4.0, but the defining
6563document
6564has only recently become available.
6565
6566Standardized output of integer values for ACPICA warnings/errors. Always
6567use
65680x prefix for hex output, always use %u for unsigned integer decimal
6569output.
6570Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
6571400
6572invocations.) These invocations were converted from the original
6573ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
6574
6575Example Code and Data Size: These are the sizes for the OS-independent
6576acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6577debug version of the code includes the debug output trace mechanism and
6578has a
6579much larger code and data size.
6580
6581  Previous Release:
6582    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6583    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6584  Current Release:
6585    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6586    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6587
65882) iASL Compiler/Disassembler and Tools:
6589
6590iASL: Implemented typechecking support for static (non-control method)
6591predefined named objects that are declared with the Name() operator. For
6592example, the type of this object is now validated to be of type Integer:
6593Name(_BBN, 1). This change migrates the compiler to using the core
6594predefined
6595name table instead of maintaining a local version. Added a new file,
6596aslpredef.c. ACPICA BZ 832.
6597
6598Disassembler: Added support for the ACPI 4.0 MCHI table.
6599
6600----------------------------------------
660121 January 2010. Summary of changes for version 20100121:
6602
66031) ACPI CA Core Subsystem:
6604
6605Added the 2010 copyright to all module headers and signons. This affects
6606virtually every file in the ACPICA core subsystem, the iASL compiler, the
6607tools/utilities, and the test suites.
6608
6609Implemented a change to the AcpiGetDevices interface to eliminate
6610unnecessary
6611invocations of the _STA method. In the case where a specific _HID is
6612requested, do not run _STA until a _HID match is found. This eliminates
6613potentially dozens of _STA calls during a search for a particular
6614device/HID,
6615which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
6616
6617Implemented an additional repair for predefined method return values.
6618Attempt
6619to repair unexpected NULL elements within returned Package objects.
6620Create
6621an
6622Integer of value zero, a NULL String, or a zero-length Buffer as
6623appropriate.
6624ACPICA BZ 818. Lin Ming, Bob Moore.
6625
6626Removed the obsolete ACPI_INTEGER data type. This type was introduced as
6627the
6628code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
6629(with
663064-bit AML integers). It is now obsolete and this change removes it from
6631the
6632ACPICA code base, replaced by UINT64. The original typedef has been
6633retained
6634for now for compatibility with existing device driver code. ACPICA BZ
6635824.
6636
6637Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
6638in
6639the parse tree object.
6640
6641Added additional warning options for the gcc-4 generation. Updated the
6642source
6643accordingly. This includes some code restructuring to eliminate
6644unreachable
6645code, elimination of some gotos, elimination of unused return values,
6646some
6647additional casting, and removal of redundant declarations.
6648
6649Example Code and Data Size: These are the sizes for the OS-independent
6650acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6651debug version of the code includes the debug output trace mechanism and
6652has a
6653much larger code and data size.
6654
6655  Previous Release:
6656    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6657    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6658  Current Release:
6659    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6660    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6661
66622) iASL Compiler/Disassembler and Tools:
6663
6664No functional changes for this release.
6665
6666----------------------------------------
666714 December 2009. Summary of changes for version 20091214:
6668
66691) ACPI CA Core Subsystem:
6670
6671Enhanced automatic data type conversions for predefined name repairs.
6672This
6673change expands the automatic repairs/conversions for predefined name
6674return
6675values to make Integers, Strings, and Buffers fully interchangeable.
6676Also,
6677a
6678Buffer can be converted to a Package of Integers if necessary. The
6679nsrepair.c
6680module was completely restructured. Lin Ming, Bob Moore.
6681
6682Implemented automatic removal of null package elements during predefined
6683name
6684repairs. This change will automatically remove embedded and trailing NULL
6685package elements from returned package objects that are defined to
6686contain
6687a
6688variable number of sub-packages. The driver is then presented with a
6689package
6690with no null elements to deal with. ACPICA BZ 819.
6691
6692Implemented a repair for the predefined _FDE and _GTM names. The expected
6693return value for both names is a Buffer of 5 DWORDs. This repair fixes
6694two
6695possible problems (both seen in the field), where a package of integers
6696is
6697returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
6698Kim.
6699
6700Implemented additional module-level code support. This change will
6701properly
6702execute module-level code that is not at the root of the namespace (under
6703a
6704Device object, etc.). Now executes the code within the current scope
6705instead
6706of the root. ACPICA BZ 762. Lin Ming.
6707
6708Fixed possible mutex acquisition errors when running _REG methods. Fixes
6709a
6710problem where mutex errors can occur when running a _REG method that is
6711in
6712the same scope as a method-defined operation region or an operation
6713region
6714under a module-level IF block. This type of code is rare, so the problem
6715has
6716not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
6717
6718Fixed a possible memory leak during module-level code execution. An
6719object
6720could be leaked for each block of executed module-level code if the
6721interpreter slack mode is enabled This change deletes any implicitly
6722returned
6723object from the module-level code block. Lin Ming.
6724
6725Removed messages for successful predefined repair(s). The repair
6726mechanism
6727was considered too wordy. Now, messages are only unconditionally emitted
6728if
6729the return object cannot be repaired. Existing messages for successful
6730repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
6731827.
6732
6733Example Code and Data Size: These are the sizes for the OS-independent
6734acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6735debug version of the code includes the debug output trace mechanism and
6736has a
6737much larger code and data size.
6738
6739  Previous Release:
6740    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
6741    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
6742  Current Release:
6743    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6744    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6745
67462) iASL Compiler/Disassembler and Tools:
6747
6748iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
6749files
6750were no longer automatically removed at the termination of the compile.
6751
6752acpiexec: Implemented the -f option to specify default region fill value.
6753This option specifies the value used to initialize buffers that simulate
6754operation regions. Default value is zero. Useful for debugging problems
6755that
6756depend on a specific initial value for a region or field.
6757
6758----------------------------------------
675912 November 2009. Summary of changes for version 20091112:
6760
67611) ACPI CA Core Subsystem:
6762
6763Implemented a post-order callback to AcpiWalkNamespace. The existing
6764interface only has a pre-order callback. This change adds an additional
6765parameter for a post-order callback which will be more useful for bus
6766scans.
6767ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
6768
6769Modified the behavior of the operation region memory mapping cache for
6770SystemMemory. Ensure that the memory mappings created for operation
6771regions
6772do not cross 4K page boundaries. Crossing a page boundary while mapping
6773regions can cause kernel warnings on some hosts if the pages have
6774different
6775attributes. Such regions are probably BIOS bugs, and this is the
6776workaround.
6777Linux BZ 14445. Lin Ming.
6778
6779Implemented an automatic repair for predefined methods that must return
6780sorted lists. This change will repair (by sorting) packages returned by
6781_ALR,
6782_PSS, and _TSS. Drivers can now assume that the packages are correctly
6783sorted
6784and do not contain NULL package elements. Adds one new file,
6785namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
6786
6787Fixed a possible fault during predefined name validation if a return
6788Package
6789object contains NULL elements. Also adds a warning if a NULL element is
6790followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
6791may
6792include repair or removal of all such NULL elements where possible.
6793
6794Implemented additional module-level executable AML code support. This
6795change
6796will execute module-level code that is not at the root of the namespace
6797(under a Device object, etc.) at table load time. Module-level executable
6798AML
6799code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
6800
6801Implemented a new internal function to create Integer objects. This
6802function
6803simplifies miscellaneous object creation code. ACPICA BZ 823.
6804
6805Reduced the severity of predefined repair messages, Warning to Info.
6806Since
6807the object was successfully repaired, a warning is too severe. Reduced to
6808an
6809info message for now. These messages may eventually be changed to debug-
6810only.
6811ACPICA BZ 812.
6812
6813Example Code and Data Size: These are the sizes for the OS-independent
6814acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6815debug version of the code includes the debug output trace mechanism and
6816has a
6817much larger code and data size.
6818
6819  Previous Release:
6820    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
6821    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
6822  Current Release:
6823    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
6824    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
6825
68262) iASL Compiler/Disassembler and Tools:
6827
6828iASL: Implemented Switch() with While(1) so that Break works correctly.
6829This
6830change correctly implements the Switch operator with a surrounding
6831While(1)
6832so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
6833
6834iASL: Added a message if a package initializer list is shorter than
6835package
6836length. Adds a new remark for a Package() declaration if an initializer
6837list
6838exists, but is shorter than the declared length of the package. Although
6839technically legal, this is probably a coding error and it is seen in the
6840field. ACPICA BZ 815. Lin Ming, Bob Moore.
6841
6842iASL: Fixed a problem where the compiler could fault after the maximum
6843number
6844of errors was reached (200).
6845
6846acpixtract: Fixed a possible warning for pointer cast if the compiler
6847warning
6848level set very high.
6849
6850----------------------------------------
685113 October 2009. Summary of changes for version 20091013:
6852
68531) ACPI CA Core Subsystem:
6854
6855Fixed a problem where an Operation Region _REG method could be executed
6856more
6857than once. If a custom address space handler is installed by the host
6858before
6859the "initialize operation regions" phase of the ACPICA initialization,
6860any
6861_REG methods for that address space could be executed twice. This change
6862fixes the problem. ACPICA BZ 427. Lin Ming.
6863
6864Fixed a possible memory leak for the Scope() ASL operator. When the exact
6865invocation of "Scope(\)" is executed (change scope to root), one internal
6866operand object was leaked. Lin Ming.
6867
6868Implemented a run-time repair for the _MAT predefined method. If the _MAT
6869return value is defined as a Field object in the AML, and the field
6870size is less than or equal to the default width of an integer (32 or
687164),_MAT
6872can incorrectly return an Integer instead of a Buffer. ACPICA now
6873automatically repairs this problem. ACPICA BZ 810.
6874
6875Implemented a run-time repair for the _BIF and _BIX predefined methods.
6876The
6877"OEM Information" field is often incorrectly returned as an Integer with
6878value zero if the field is not supported by the platform. This is due to
6879an
6880ambiguity in the ACPI specification. The field should always be a string.
6881ACPICA now automatically repairs this problem by returning a NULL string
6882within the returned Package. ACPICA BZ 807.
6883
6884Example Code and Data Size: These are the sizes for the OS-independent
6885acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6886debug version of the code includes the debug output trace mechanism and
6887has a
6888much larger code and data size.
6889
6890  Previous Release:
6891    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
6892    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
6893  Current Release:
6894    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
6895    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
6896
68972) iASL Compiler/Disassembler and Tools:
6898
6899Disassembler: Fixed a problem where references to external symbols that
6900contained one or more parent-prefixes (carats) were not handled
6901correctly,
6902possibly causing a fault. ACPICA BZ 806. Lin Ming.
6903
6904Disassembler: Restructured the code so that all functions that handle
6905external symbols are in a single module. One new file is added,
6906common/dmextern.c.
6907
6908AML Debugger: Added a max count argument for the Batch command (which
6909executes multiple predefined methods within the namespace.)
6910
6911iASL: Updated the compiler documentation (User Reference.) Available at
6912http://www.acpica.org/documentation/. ACPICA BZ 750.
6913
6914AcpiXtract: Updated for Lint and other formatting changes. Close all open
6915files.
6916
6917----------------------------------------
691803 September 2009. Summary of changes for version 20090903:
6919
69201) ACPI CA Core Subsystem:
6921
6922For Windows Vista compatibility, added the automatic execution of an _INI
6923method located at the namespace root (\_INI). This method is executed at
6924table load time. This support is in addition to the automatic execution
6925of
6926\_SB._INI. Lin Ming.
6927
6928Fixed a possible memory leak in the interpreter for AML package objects
6929if
6930the package initializer list is longer than the defined size of the
6931package.
6932This apparently can only happen if the BIOS changes the package size on
6933the
6934fly (seen in a _PSS object), as ASL compilers do not allow this. The
6935interpreter will truncate the package to the defined size (and issue an
6936error
6937message), but previously could leave the extra objects undeleted if they
6938were
6939pre-created during the argument processing (such is the case if the
6940package
6941consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
6942
6943Fixed a problem seen when a Buffer or String is stored to itself via ASL.
6944This has been reported in the field. Previously, ACPICA would zero out
6945the
6946buffer/string. Now, the operation is treated as a noop. Provides Windows
6947compatibility. ACPICA BZ 803. Lin Ming.
6948
6949Removed an extraneous error message for ASL constructs of the form
6950Store(LocalX,LocalX) when LocalX is uninitialized. These curious
6951statements
6952are seen in many BIOSs and are once again treated as NOOPs and no error
6953is
6954emitted when they are encountered. ACPICA BZ 785.
6955
6956Fixed an extraneous warning message if a _DSM reserved method returns a
6957Package object. _DSM can return any type of object, so validation on the
6958return type cannot be performed. ACPICA BZ 802.
6959
6960Example Code and Data Size: These are the sizes for the OS-independent
6961acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6962debug version of the code includes the debug output trace mechanism and
6963has a
6964much larger code and data size.
6965
6966  Previous Release:
6967    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
6968    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
6969  Current Release:
6970    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
6971    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
6972
69732) iASL Compiler/Disassembler and Tools:
6974
6975iASL: Fixed a problem with the use of the Alias operator and Resource
6976Templates. The correct alias is now constructed and no error is emitted.
6977ACPICA BZ 738.
6978
6979iASL: Implemented the -I option to specify additional search directories
6980for
6981include files. Allows multiple additional search paths for include files.
6982Directories are searched in the order specified on the command line
6983(after
6984the local directory is searched.) ACPICA BZ 800.
6985
6986iASL: Fixed a problem where the full pathname for include files was not
6987emitted for warnings/errors. This caused the IDE support to not work
6988properly. ACPICA BZ 765.
6989
6990iASL: Implemented the -@ option to specify a Windows-style response file
6991containing additional command line options. ACPICA BZ 801.
6992
6993AcpiExec: Added support to load multiple AML files simultaneously (such
6994as
6995a
6996DSDT and multiple SSDTs). Also added support for wildcards within the AML
6997pathname. These features allow all machine tables to be easily loaded and
6998debugged together. ACPICA BZ 804.
6999
7000Disassembler: Added missing support for disassembly of HEST table Error
7001Bank
7002subtables.
7003
7004----------------------------------------
700530 July 2009. Summary of changes for version 20090730:
7006
7007The ACPI 4.0 implementation for ACPICA is complete with this release.
7008
70091) ACPI CA Core Subsystem:
7010
7011ACPI 4.0: Added header file support for all new and changed ACPI tables.
7012Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
7013new
7014for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
7015BERT,
7016EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
7017There
7018have been some ACPI 4.0 changes to other existing tables. Split the large
7019actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
7020
7021ACPI 4.0: Implemented predefined name validation for all new names. There
7022are
702331 new names in ACPI 4.0. The predefined validation module was split into
7024two
7025files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
7026
7027Implemented support for so-called "module-level executable code". This is
7028executable AML code that exists outside of any control method and is
7029intended
7030to be executed at table load time. Although illegal since ACPI 2.0, this
7031type
7032of code still exists and is apparently still being created. Blocks of
7033this
7034code are now detected and executed as intended. Currently, the code
7035blocks
7036must exist under either an If, Else, or While construct; these are the
7037typical cases seen in the field. ACPICA BZ 762. Lin Ming.
7038
7039Implemented an automatic dynamic repair for predefined names that return
7040nested Package objects. This applies to predefined names that are defined
7041to
7042return a variable-length Package of sub-packages. If the number of sub-
7043packages is one, BIOS code is occasionally seen that creates a simple
7044single
7045package with no sub-packages. This code attempts to fix the problem by
7046wrapping a new package object around the existing package. These methods
7047can
7048be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
7049BZ
7050790.
7051
7052Fixed a regression introduced in 20090625 for the AcpiGetDevices
7053interface.
7054The _HID/_CID matching was broken and no longer matched IDs correctly.
7055ACPICA
7056BZ 793.
7057
7058Fixed a problem with AcpiReset where the reset would silently fail if the
7059register was one of the protected I/O ports. AcpiReset now bypasses the
7060port
7061validation mechanism. This may eventually be driven into the
7062AcpiRead/Write
7063interfaces.
7064
7065Fixed a regression related to the recent update of the AcpiRead/Write
7066interfaces. A sleep/suspend could fail if the optional PM2 Control
7067register
7068does not exist during an attempt to write the Bus Master Arbitration bit.
7069(However, some hosts already delete the code that writes this bit, and
7070the
7071code may in fact be obsolete at this date.) ACPICA BZ 799.
7072
7073Fixed a problem where AcpiTerminate could fault if inadvertently called
7074twice
7075in succession. ACPICA BZ 795.
7076
7077Example Code and Data Size: These are the sizes for the OS-independent
7078acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7079debug version of the code includes the debug output trace mechanism and
7080has a
7081much larger code and data size.
7082
7083  Previous Release:
7084    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7085    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7086  Current Release:
7087    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
7088    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
7089
70902) iASL Compiler/Disassembler and Tools:
7091
7092ACPI 4.0: Implemented disassembler support for all new ACPI tables and
7093changes to existing tables. ACPICA BZ 775.
7094
7095----------------------------------------
709625 June 2009. Summary of changes for version 20090625:
7097
7098The ACPI 4.0 Specification was released on June 16 and is available at
7099www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
7100continue for the next few releases.
7101
71021) ACPI CA Core Subsystem:
7103
7104ACPI 4.0: Implemented interpreter support for the IPMI operation region
7105address space. Includes support for bi-directional data buffers and an
7106IPMI
7107address space handler (to be installed by an IPMI device driver.) ACPICA
7108BZ
7109773. Lin Ming.
7110
7111ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
7112Includes
7113support in both the header files and the disassembler.
7114
7115Completed a major update for the AcpiGetObjectInfo external interface.
7116Changes include:
7117 - Support for variable, unlimited length HID, UID, and CID strings.
7118 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
7119etc.)
7120 - Call the _SxW power methods on behalf of a device object.
7121 - Determine if a device is a PCI root bridge.
7122 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
7123These changes will require an update to all callers of this interface.
7124See
7125the updated ACPICA Programmer Reference for details. One new source file
7126has
7127been added - utilities/utids.c. ACPICA BZ 368, 780.
7128
7129Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
7130transfers. The Value parameter has been extended from 32 bits to 64 bits
7131in
7132order to support new ACPI 4.0 tables. These changes will require an
7133update
7134to
7135all callers of these interfaces. See the ACPICA Programmer Reference for
7136details. ACPICA BZ 768.
7137
7138Fixed several problems with AcpiAttachData. The handler was not invoked
7139when
7140the host node was deleted. The data sub-object was not automatically
7141deleted
7142when the host node was deleted. The interface to the handler had an
7143unused
7144parameter, this was removed. ACPICA BZ 778.
7145
7146Enhanced the function that dumps ACPI table headers. All non-printable
7147characters in the string fields are now replaced with '?' (Signature,
7148OemId,
7149OemTableId, and CompilerId.) ACPI tables with non-printable characters in
7150these fields are occasionally seen in the field. ACPICA BZ 788.
7151
7152Fixed a problem with predefined method repair code where the code that
7153attempts to repair/convert an object of incorrect type is only executed
7154on
7155the first time the predefined method is called. The mechanism that
7156disables
7157warnings on subsequent calls was interfering with the repair mechanism.
7158ACPICA BZ 781.
7159
7160Fixed a possible memory leak in the predefined validation/repair code
7161when
7162a
7163buffer is automatically converted to an expected string object.
7164
7165Removed obsolete 16-bit files from the distribution and from the current
7166git
7167tree head. ACPICA BZ 776.
7168
7169Example Code and Data Size: These are the sizes for the OS-independent
7170acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7171debug version of the code includes the debug output trace mechanism and
7172has a
7173much larger code and data size.
7174
7175  Previous Release:
7176    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7177    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7178  Current Release:
7179    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7180    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7181
71822) iASL Compiler/Disassembler and Tools:
7183
7184ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
7185operation region keyword. ACPICA BZ 771, 772. Lin Ming.
7186
7187ACPI 4.0: iASL - implemented compile-time validation support for all new
7188predefined names and control methods (31 total). ACPICA BZ 769.
7189
7190----------------------------------------
719121 May 2009. Summary of changes for version 20090521:
7192
71931) ACPI CA Core Subsystem:
7194
7195Disabled the preservation of the SCI enable bit in the PM1 control
7196register.
7197The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
7198to
7199be
7200a "preserved" bit - "OSPM always preserves this bit position", section
72014.7.3.2.1. However, some machines fail if this bit is in fact preserved
7202because the bit needs to be explicitly set by the OS as a workaround. No
7203machines fail if the bit is not preserved. Therefore, ACPICA no longer
7204attempts to preserve this bit.
7205
7206Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
7207incorrectly formed _PRT package could cause a fault. Added validation to
7208ensure that each package element is actually a sub-package.
7209
7210Implemented a new interface to install or override a single control
7211method,
7212AcpiInstallMethod. This interface is useful when debugging in order to
7213repair
7214an existing method or to install a missing method without having to
7215override
7216the entire ACPI table. See the ACPICA Programmer Reference for use and
7217examples. Lin Ming, Bob Moore.
7218
7219Fixed several reference count issues with the DdbHandle object that is
7220created from a Load or LoadTable operator. Prevent premature deletion of
7221the
7222object. Also, mark the object as invalid once the table has been
7223unloaded.
7224This is needed because the handle itself may not be deleted after the
7225table
7226unload, depending on whether it has been stored in a named object by the
7227caller. Lin Ming.
7228
7229Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
7230mutexes of the same sync level are acquired but then not released in
7231strict
7232opposite order, the internally maintained Current Sync Level becomes
7233confused
7234and can cause subsequent execution errors. ACPICA BZ 471.
7235
7236Changed the allowable release order for ASL mutex objects. The ACPI 4.0
7237specification has been changed to make the SyncLevel for mutex objects
7238more
7239useful. When releasing a mutex, the SyncLevel of the mutex must now be
7240the
7241same as the current sync level. This makes more sense than the previous
7242rule
7243(SyncLevel less than or equal). This change updates the code to match the
7244specification.
7245
7246Fixed a problem with the local version of the AcpiOsPurgeCache function.
7247The
7248(local) cache must be locked during all cache object deletions. Andrew
7249Baumann.
7250
7251Updated the Load operator to use operation region interfaces. This
7252replaces
7253direct memory mapping with region access calls. Now, all region accesses
7254go
7255through the installed region handler as they should.
7256
7257Simplified and optimized the NsGetNextNode function. Reduced parameter
7258count
7259and reduced code for this frequently used function.
7260
7261Example Code and Data Size: These are the sizes for the OS-independent
7262acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7263debug version of the code includes the debug output trace mechanism and
7264has a
7265much larger code and data size.
7266
7267  Previous Release:
7268    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7269    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7270  Current Release:
7271    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7272    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7273
72742) iASL Compiler/Disassembler and Tools:
7275
7276Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
7277problems
7278with sub-table disassembly and handling invalid sub-tables. Attempt
7279recovery
7280after an invalid sub-table ID.
7281
7282----------------------------------------
728322 April 2009. Summary of changes for version 20090422:
7284
72851) ACPI CA Core Subsystem:
7286
7287Fixed a compatibility issue with the recently released I/O port
7288protection
7289mechanism. For windows compatibility, 1) On a port protection violation,
7290simply ignore the request and do not return an exception (allow the
7291control
7292method to continue execution.) 2) If only part of the request overlaps a
7293protected port, read/write the individual ports that are not protected.
7294Linux
7295BZ 13036. Lin Ming
7296
7297Enhanced the execution of the ASL/AML BreakPoint operator so that it
7298actually
7299breaks into the AML debugger if the debugger is present. This matches the
7300ACPI-defined behavior.
7301
7302Fixed several possible warnings related to the use of the configurable
7303ACPI_THREAD_ID. This type can now be configured as either an integer or a
7304pointer with no warnings. Also fixes several warnings in printf-like
7305statements for the 64-bit build when the type is configured as a pointer.
7306ACPICA BZ 766, 767.
7307
7308Fixed a number of possible warnings when compiling with gcc 4+ (depending
7309on
7310warning options.) Examples include printf formats, aliasing, unused
7311globals,
7312missing prototypes, missing switch default statements, use of non-ANSI
7313library functions, use of non-ANSI constructs. See generate/unix/Makefile
7314for
7315a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
7316
7317Example Code and Data Size: These are the sizes for the OS-independent
7318acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7319debug version of the code includes the debug output trace mechanism and
7320has a
7321much larger code and data size.
7322
7323  Previous Release:
7324    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7325    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7326  Current Release:
7327    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7328    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7329
73302) iASL Compiler/Disassembler and Tools:
7331
7332iASL: Fixed a generation warning from Bison 2.3 and fixed several
7333warnings
7334on
7335the 64-bit build.
7336
7337iASL: Fixed a problem where the Unix/Linux versions of the compiler could
7338not
7339correctly digest Windows/DOS formatted files (with CR/LF).
7340
7341iASL: Added a new option for "quiet mode" (-va) that produces only the
7342compilation summary, not individual errors and warnings. Useful for large
7343batch compilations.
7344
7345AcpiExec: Implemented a new option (-z) to enable a forced
7346semaphore/mutex
7347timeout that can be used to detect hang conditions during execution of
7348AML
7349code (includes both internal semaphores and AML-defined mutexes and
7350events.)
7351
7352Added new makefiles for the generation of acpica in a generic unix-like
7353environment. These makefiles are intended to generate the acpica tools
7354and
7355utilities from the original acpica git source tree structure.
7356
7357Test Suites: Updated and cleaned up the documentation files. Updated the
7358copyrights to 2009, affecting all source files. Use the new version of
7359iASL
7360with quiet mode. Increased the number of available semaphores in the
7361Windows
7362OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
7363added
7364an alternate implementation of the semaphore timeout to allow aslts to
7365execute fully on Cygwin.
7366
7367----------------------------------------
736820 March 2009. Summary of changes for version 20090320:
7369
73701) ACPI CA Core Subsystem:
7371
7372Fixed a possible race condition between AcpiWalkNamespace and dynamic
7373table
7374unloads. Added a reader/writer locking mechanism to allow multiple
7375concurrent
7376namespace walks (readers), but block a dynamic table unload until it can
7377gain
7378exclusive write access to the namespace. This fixes a problem where a
7379table
7380unload could (possibly catastrophically) delete the portion of the
7381namespace
7382that is currently being examined by a walk. Adds a new file, utlock.c,
7383that
7384implements the reader/writer lock mechanism. ACPICA BZ 749.
7385
7386Fixed a regression introduced in version 20090220 where a change to the
7387FADT
7388handling could cause the ACPICA subsystem to access non-existent I/O
7389ports.
7390
7391Modified the handling of FADT register and table (FACS/DSDT) addresses.
7392The
7393FADT can contain both 32-bit and 64-bit versions of these addresses.
7394Previously, the 64-bit versions were favored, meaning that if both 32 and
739564
7396versions were valid, but not equal, the 64-bit version was used. This was
7397found to cause some machines to fail. Now, in this case, the 32-bit
7398version
7399is used instead. This now matches the Windows behavior.
7400
7401Implemented a new mechanism to protect certain I/O ports. Provides
7402Microsoft
7403compatibility and protects the standard PC I/O ports from access via AML
7404code. Adds a new file, hwvalid.c
7405
7406Fixed a possible extraneous warning message from the FADT support. The
7407message warns of a 32/64 length mismatch between the legacy and GAS
7408definitions for a register.
7409
7410Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
7411is
7412made obsolete by the port protection mechanism above. It was previously
7413used
7414to validate the entire address range of an operation region, which could
7415be
7416incorrect if the range included illegal ports, but fields within the
7417operation region did not actually access those ports. Validation is now
7418performed on a per-field basis instead of the entire region.
7419
7420Modified the handling of the PM1 Status Register ignored bit (bit 11.)
7421Ignored bits must be "preserved" according to the ACPI spec. Usually,
7422this
7423means a read/modify/write when writing to the register. However, for
7424status
7425registers, writing a one means clear the event. Writing a zero means
7426preserve
7427the event (do not clear.) This behavior is clarified in the ACPI 4.0
7428spec,
7429and the ACPICA code now simply always writes a zero to the ignored bit.
7430
7431Modified the handling of ignored bits for the PM1 A/B Control Registers.
7432As
7433per the ACPI specification, for the control registers, preserve
7434(read/modify/write) all bits that are defined as either reserved or
7435ignored.
7436
7437Updated the handling of write-only bits in the PM1 A/B Control Registers.
7438When reading the register, zero the write-only bits as per the ACPI spec.
7439ACPICA BZ 443. Lin Ming.
7440
7441Removed "Linux" from the list of supported _OSI strings. Linux no longer
7442wants to reply true to this request. The Windows strings are the only
7443paths
7444through the AML that are tested and known to work properly.
7445
7446  Previous Release:
7447    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7448    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7449  Current Release:
7450    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7451    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7452
74532) iASL Compiler/Disassembler and Tools:
7454
7455Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
7456and
7457aetables.c
7458
7459----------------------------------------
746020 February 2009. Summary of changes for version 20090220:
7461
74621) ACPI CA Core Subsystem:
7463
7464Optimized the ACPI register locking. Removed locking for reads from the
7465ACPI
7466bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
7467is
7468not required when reading the single-bit registers. The
7469AcpiGetRegisterUnlocked function is no longer needed and has been
7470removed.
7471This will improve performance for reads on these registers. ACPICA BZ
7472760.
7473
7474Fixed the parameter validation for AcpiRead/Write. Now return
7475AE_BAD_PARAMETER if the input register pointer is null, and
7476AE_BAD_ADDRESS
7477if
7478the register has an address of zero. Previously, these cases simply
7479returned
7480AE_OK. For optional registers such as PM1B status/enable/control, the
7481caller
7482should check for a valid register address before calling. ACPICA BZ 748.
7483
7484Renamed the external ACPI bit register access functions. Renamed
7485AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
7486functions. The new names are AcpiReadBitRegister and
7487AcpiWriteBitRegister.
7488Also, restructured the code for these functions by simplifying the code
7489path
7490and condensing duplicate code to reduce code size.
7491
7492Added new functions to transparently handle the possibly split PM1 A/B
7493registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
7494functions
7495now handle the split registers for PM1 Status, Enable, and Control.
7496ACPICA
7497BZ
7498746.
7499
7500Added a function to handle the PM1 control registers,
7501AcpiHwWritePm1Control.
7502This function writes both of the PM1 control registers (A/B). These
7503registers
7504are different than the PM1 A/B status and enable registers in that
7505different
7506values can be written to the A/B registers. Most notably, the SLP_TYP
7507bits
7508can be different, as per the values returned from the _Sx predefined
7509methods.
7510
7511Removed an extra register write within AcpiHwClearAcpiStatus. This
7512function
7513was writing an optional PM1B status register twice. The existing call to
7514the
7515low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
7516A/B
7517register. ACPICA BZ 751.
7518
7519Split out the PM1 Status registers from the FADT. Added new globals for
7520these
7521registers (A/B), similar to the way the PM1 Enable registers are handled.
7522Instead of overloading the FADT Event Register blocks. This makes the
7523code
7524clearer and less prone to error.
7525
7526Fixed the warning message for when the platform contains too many ACPI
7527tables
7528for the default size of the global root table data structure. The
7529calculation
7530for the truncation value was incorrect.
7531
7532Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
7533obsolete macro, since it is now a simple reference to ->common.type.
7534There
7535were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
7536
7537Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
7538TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
7539simply SLEEP_TYPE. ACPICA BZ 754.
7540
7541Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
7542function is only needed on 64-bit host operating systems and is thus not
7543included for 32-bit hosts.
7544
7545Debug output: print the input and result for invocations of the _OSI
7546reserved
7547control method via the ACPI_LV_INFO debug level. Also, reduced some of
7548the
7549verbosity of this debug level. Len Brown.
7550
7551Example Code and Data Size: These are the sizes for the OS-independent
7552acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7553debug version of the code includes the debug output trace mechanism and
7554has a
7555much larger code and data size.
7556
7557  Previous Release:
7558    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7559    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7560  Current Release:
7561    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7562    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7563
75642) iASL Compiler/Disassembler and Tools:
7565
7566Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
7567various legal performance profiles.
7568
7569----------------------------------------
757023 January 2009. Summary of changes for version 20090123:
7571
75721) ACPI CA Core Subsystem:
7573
7574Added the 2009 copyright to all module headers and signons. This affects
7575virtually every file in the ACPICA core subsystem, the iASL compiler, and
7576the tools/utilities.
7577
7578Implemented a change to allow the host to override any ACPI table,
7579including
7580dynamically loaded tables. Previously, only the DSDT could be replaced by
7581the
7582host. With this change, the AcpiOsTableOverride interface is called for
7583each
7584table found in the RSDT/XSDT during ACPICA initialization, and also
7585whenever
7586a table is dynamically loaded via the AML Load operator.
7587
7588Updated FADT flag definitions, especially the Boot Architecture flags.
7589
7590Debugger: For the Find command, automatically pad the input ACPI name
7591with
7592underscores if the name is shorter than 4 characters. This enables a
7593match
7594with the actual namespace entry which is itself padded with underscores.
7595
7596Example Code and Data Size: These are the sizes for the OS-independent
7597acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7598debug version of the code includes the debug output trace mechanism and
7599has a
7600much larger code and data size.
7601
7602  Previous Release:
7603    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7604    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7605  Current Release:
7606    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7607    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7608
76092) iASL Compiler/Disassembler and Tools:
7610
7611Fix build error under Bison-2.4.
7612
7613Dissasembler: Enhanced FADT support. Added decoding of the Boot
7614Architecture
7615flags. Now decode all flags, regardless of the FADT version. Flag output
7616includes the FADT version which first defined each flag.
7617
7618The iASL -g option now dumps the RSDT to a file (in addition to the FADT
7619and
7620DSDT). Windows only.
7621
7622----------------------------------------
762304 December 2008. Summary of changes for version 20081204:
7624
76251) ACPI CA Core Subsystem:
7626
7627The ACPICA Programmer Reference has been completely updated and revamped
7628for
7629this release. This includes updates to the external interfaces, OSL
7630interfaces, the overview sections, and the debugger reference.
7631
7632Several new ACPICA interfaces have been implemented and documented in the
7633programmer reference:
7634AcpiReset - Writes the reset value to the FADT-defined reset register.
7635AcpiDisableAllGpes - Disable all available GPEs.
7636AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
7637AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
7638AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
7639AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
7640AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
7641
7642Most of the public ACPI hardware-related interfaces have been moved to a
7643new
7644file, components/hardware/hwxface.c
7645
7646Enhanced the FADT parsing and low-level ACPI register access: The ACPI
7647register lengths within the FADT are now used, and the low level ACPI
7648register access no longer hardcodes the ACPI register lengths. Given that
7649there may be some risk in actually trusting the FADT register lengths, a
7650run-
7651time option was added to fall back to the default hardcoded lengths if
7652the
7653FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
7654option is set to true for now, and a warning is issued if a suspicious
7655FADT
7656register length is overridden with the default value.
7657
7658Fixed a reference count issue in NsRepairObject. This problem was
7659introduced
7660in version 20081031 as part of a fix to repair Buffer objects within
7661Packages. Lin Ming.
7662
7663Added semaphore support to the Linux/Unix application OS-services layer
7664(OSL). ACPICA BZ 448. Lin Ming.
7665
7666Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
7667will
7668be implemented in the OSL, or will binary semaphores be used instead.
7669
7670Example Code and Data Size: These are the sizes for the OS-independent
7671acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7672debug version of the code includes the debug output trace mechanism and
7673has a
7674much larger code and data size.
7675
7676  Previous Release:
7677    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
7678    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
7679  Current Release:
7680    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7681    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7682
76832) iASL Compiler/Disassembler and Tools:
7684
7685iASL: Completed the '-e' option to include additional ACPI tables in
7686order
7687to
7688aid with disassembly and External statement generation. ACPICA BZ 742.
7689Lin
7690Ming.
7691
7692iASL: Removed the "named object in while loop" error. The compiler cannot
7693determine how many times a loop will execute. ACPICA BZ 730.
7694
7695Disassembler: Implemented support for FADT revision 2 (MS extension).
7696ACPICA
7697BZ 743.
7698
7699Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
7700MCFG).
7701
7702----------------------------------------
770331 October 2008. Summary of changes for version 20081031:
7704
77051) ACPI CA Core Subsystem:
7706
7707Restructured the ACPICA header files into public/private. acpi.h now
7708includes
7709only the "public" acpica headers. All other acpica headers are "private"
7710and
7711should not be included by acpica users. One new file, accommon.h is used
7712to
7713include the commonly used private headers for acpica code generation.
7714Future
7715plans include moving all private headers to a new subdirectory.
7716
7717Implemented an automatic Buffer->String return value conversion for
7718predefined ACPI methods. For these methods (such as _BIF), added
7719automatic
7720conversion for return objects that are required to be a String, but a
7721Buffer
7722was found instead. This can happen when reading string battery data from
7723an
7724operation region, because it used to be difficult to convert the data
7725from
7726buffer to string from within the ASL. Ensures that the host OS is
7727provided
7728with a valid null-terminated string. Linux BZ 11822.
7729
7730Updated the FACS waking vector interfaces. Split
7731AcpiSetFirmwareWakingVector
7732into two: one for the 32-bit vector, another for the 64-bit vector. This
7733is
7734required because the host OS must setup the wake much differently for
7735each
7736vector (real vs. protected mode, etc.) and the interface itself should
7737not
7738be
7739deciding which vector to use. Also, eliminated the
7740GetFirmwareWakingVector
7741interface, as it served no purpose (only the firmware reads the vector,
7742OS
7743only writes the vector.) ACPICA BZ 731.
7744
7745Implemented a mechanism to escape infinite AML While() loops. Added a
7746loop
7747counter to force exit from AML While loops if the count becomes too
7748large.
7749This can occur in poorly written AML when the hardware does not respond
7750within a while loop and the loop does not implement a timeout. The
7751maximum
7752loop count is configurable. A new exception code is returned when a loop
7753is
7754broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
7755
7756Optimized the execution of AML While loops. Previously, a control state
7757object was allocated and freed for each execution of the loop. The
7758optimization is to simply reuse the control state for each iteration.
7759This
7760speeds up the raw loop execution time by about 5%.
7761
7762Enhanced the implicit return mechanism. For Windows compatibility, return
7763an
7764implicit integer of value zero for methods that contain no executable
7765code.
7766Such methods are seen in the field as stubs (presumably), and can cause
7767drivers to fail if they expect a return value. Lin Ming.
7768
7769Allow multiple backslashes as root prefixes in namepaths. In a fully
7770qualified namepath, allow multiple backslash prefixes. This can happen
7771(and
7772is seen in the field) because of the use of a double-backslash in strings
7773(since backslash is the escape character) causing confusion. ACPICA BZ
7774739
7775Lin Ming.
7776
7777Emit a warning if two different FACS or DSDT tables are discovered in the
7778FADT. Checks if there are two valid but different addresses for the FACS
7779and
7780DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
7781
7782Consolidated the method argument count validation code. Merged the code
7783that
7784validates control method argument counts into the predefined validation
7785module. Eliminates possible multiple warnings for incorrect argument
7786counts.
7787
7788Implemented ACPICA example code. Includes code for ACPICA initialization,
7789handler installation, and calling a control method. Available at
7790source/tools/examples.
7791
7792Added a global pointer for FACS table to simplify internal FACS access.
7793Use
7794the global pointer instead of using AcpiGetTableByIndex for each FACS
7795access.
7796This simplifies the code for the Global Lock and the Firmware Waking
7797Vector(s).
7798
7799Example Code and Data Size: These are the sizes for the OS-independent
7800acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7801debug version of the code includes the debug output trace mechanism and
7802has a
7803much larger code and data size.
7804
7805  Previous Release:
7806    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
7807    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
7808  Current Release:
7809    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
7810    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
7811
78122) iASL Compiler/Disassembler and Tools:
7813
7814iASL: Improved disassembly of external method calls. Added the -e option
7815to
7816allow the inclusion of additional ACPI tables to help with the
7817disassembly
7818of
7819method invocations and the generation of external declarations during the
7820disassembly. Certain external method invocations cannot be disassembled
7821properly without the actual declaration of the method. Use the -e option
7822to
7823include the table where the external method(s) are actually declared.
7824Most
7825useful for disassembling SSDTs that make method calls back to the master
7826DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl
7827-d
7828-e dsdt.aml ssdt1.aml
7829
7830iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
7831problem where the use of an alias within a namepath would result in a not
7832found error or cause the compiler to fault. Also now allows forward
7833references from the Alias operator itself. ACPICA BZ 738.
7834
7835----------------------------------------
783626 September 2008. Summary of changes for version 20080926:
7837
78381) ACPI CA Core Subsystem:
7839
7840Designed and implemented a mechanism to validate predefined ACPI methods
7841and
7842objects. This code validates the predefined ACPI objects (objects whose
7843names
7844start with underscore) that appear in the namespace, at the time they are
7845evaluated. The argument count and the type of the returned object are
7846validated against the ACPI specification. The purpose of this validation
7847is
7848to detect problems with the BIOS-implemented predefined ACPI objects
7849before
7850the results are returned to the ACPI-related drivers. Future enhancements
7851may
7852include actual repair of incorrect return objects where possible. Two new
7853files are nspredef.c and acpredef.h.
7854
7855Fixed a fault in the AML parser if a memory allocation fails during the
7856Op
7857completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
7858
7859Fixed an issue with implicit return compatibility. This change improves
7860the
7861implicit return mechanism to be more compatible with the MS interpreter.
7862Lin
7863Ming, ACPICA BZ 349.
7864
7865Implemented support for zero-length buffer-to-string conversions. Allow
7866zero
7867length strings during interpreter buffer-to-string conversions. For
7868example,
7869during the ToDecimalString and ToHexString operators, as well as implicit
7870conversions. Fiodor Suietov, ACPICA BZ 585.
7871
7872Fixed two possible memory leaks in the error exit paths of
7873AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
7874are
7875similar in that they use a stack of state objects in order to eliminate
7876recursion. The stack must be fully unwound and deallocated if an error
7877occurs. Lin Ming. ACPICA BZ 383.
7878
7879Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
7880global
7881ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
7882Moore ACPICA BZ 442.
7883
7884Removed the obsolete version number in module headers. Removed the
7885"$Revision" number that appeared in each module header. This version
7886number
7887was useful under SourceSafe and CVS, but has no meaning under git. It is
7888not
7889only incorrect, it could also be misleading.
7890
7891Example Code and Data Size: These are the sizes for the OS-independent
7892acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7893debug version of the code includes the debug output trace mechanism and
7894has a
7895much larger code and data size.
7896
7897  Previous Release:
7898    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7899    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
7900  Current Release:
7901    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
7902    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
7903
7904----------------------------------------
790529 August 2008. Summary of changes for version 20080829:
7906
79071) ACPI CA Core Subsystem:
7908
7909Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
7910Reference. Changes include the elimination of cheating on the Object
7911field
7912for the DdbHandle subtype, addition of a reference class field to
7913differentiate the various reference types (instead of an AML opcode), and
7914the
7915cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
7916
7917Reduce an error to a warning for an incorrect method argument count.
7918Previously aborted with an error if too few arguments were passed to a
7919control method via the external ACPICA interface. Now issue a warning
7920instead
7921and continue. Handles the case where the method inadvertently declares
7922too
7923many arguments, but does not actually use the extra ones. Applies mainly
7924to
7925the predefined methods. Lin Ming. Linux BZ 11032.
7926
7927Disallow the evaluation of named object types with no intrinsic value.
7928Return
7929AE_TYPE for objects that have no value and therefore evaluation is
7930undefined:
7931Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
7932of
7933these types were allowed, but an exception would be generated at some
7934point
7935during the evaluation. Now, the error is generated up front.
7936
7937Fixed a possible memory leak in the AcpiNsGetExternalPathname function
7938(nsnames.c). Fixes a leak in the error exit path.
7939
7940Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
7941debug
7942levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
7943ACPI_EXCEPTION
7944interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
7945ACPI_LV_EVENTS.
7946
7947Removed obsolete and/or unused exception codes from the acexcep.h header.
7948There is the possibility that certain device drivers may be affected if
7949they
7950use any of these exceptions.
7951
7952The ACPICA documentation has been added to the public git source tree,
7953under
7954acpica/documents. Included are the ACPICA programmer reference, the iASL
7955compiler reference, and the changes.txt release logfile.
7956
7957Example Code and Data Size: These are the sizes for the OS-independent
7958acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7959debug version of the code includes the debug output trace mechanism and
7960has a
7961much larger code and data size.
7962
7963  Previous Release:
7964    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7965    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
7966  Current Release:
7967    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7968    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
7969
79702) iASL Compiler/Disassembler and Tools:
7971
7972Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
7973defines _SCP with 3 arguments. Previous versions defined it with only 1
7974argument. iASL now allows both definitions.
7975
7976iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
7977zero-
7978length subtables when disassembling ACPI tables. Also fixed a couple of
7979errors where a full 16-bit table type field was not extracted from the
7980input
7981properly.
7982
7983acpisrc: Improve comment counting mechanism for generating source code
7984statistics. Count first and last lines of multi-line comments as
7985whitespace,
7986not comment lines. Handle Linux legal header in addition to standard
7987acpica
7988header.
7989
7990----------------------------------------
7991
799229 July 2008. Summary of changes for version 20080729:
7993
79941) ACPI CA Core Subsystem:
7995
7996Fix a possible deadlock in the GPE dispatch. Remove call to
7997AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
7998attempt
7999to acquire the GPE lock but can deadlock since the GPE lock is already
8000held
8001at dispatch time. This code was introduced in version 20060831 as a
8002response
8003to Linux BZ 6881 and has since been removed from Linux.
8004
8005Add a function to dereference returned reference objects. Examines the
8006return
8007object from a call to AcpiEvaluateObject. Any Index or RefOf references
8008are
8009automatically dereferenced in an attempt to return something useful
8010(these
8011reference types cannot be converted into an external ACPI_OBJECT.)
8012Provides
8013MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
8014
8015x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
8016subtables for the MADT and one new subtable for the SRAT. Includes
8017disassembler and AcpiSrc support. Data from the Intel 64 Architecture
8018x2APIC
8019Specification, June 2008.
8020
8021Additional error checking for pathname utilities. Add error check after
8022all
8023calls to AcpiNsGetPathnameLength. Add status return from
8024AcpiNsBuildExternalPath and check after all calls. Add parameter
8025validation
8026to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
8027
8028Return status from the global init function AcpiUtGlobalInitialize. This
8029is
8030used by both the kernel subsystem and the utilities such as iASL
8031compiler.
8032The function could possibly fail when the caches are initialized. Yang
8033Yi.
8034
8035Add a function to decode reference object types to strings. Created for
8036improved error messages.
8037
8038Improve object conversion error messages. Better error messages during
8039object
8040conversion from internal to the external ACPI_OBJECT. Used for external
8041calls
8042to AcpiEvaluateObject.
8043
8044Example Code and Data Size: These are the sizes for the OS-independent
8045acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8046debug version of the code includes the debug output trace mechanism and
8047has a
8048much larger code and data size.
8049
8050  Previous Release:
8051    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8052    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8053  Current Release:
8054    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
8055    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
8056
80572) iASL Compiler/Disassembler and Tools:
8058
8059Debugger: fix a possible hang when evaluating non-methods. Fixes a
8060problem
8061introduced in version 20080701. If the object being evaluated (via
8062execute
8063command) is not a method, the debugger can hang while trying to obtain
8064non-
8065existent parameters.
8066
8067iASL: relax error for using reserved "_T_x" identifiers. These names can
8068appear in a disassembled ASL file if they were emitted by the original
8069compiler. Instead of issuing an error or warning and forcing the user to
8070manually change these names, issue a remark instead.
8071
8072iASL: error if named object created in while loop. Emit an error if any
8073named
8074object is created within a While loop. If allowed, this code will
8075generate
8076a
8077run-time error on the second iteration of the loop when an attempt is
8078made
8079to
8080create the same named object twice. ACPICA bugzilla 730.
8081
8082iASL: Support absolute pathnames for include files. Add support for
8083absolute
8084pathnames within the Include operator. previously, only relative
8085pathnames
8086were supported.
8087
8088iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
8089Descriptor.
8090The ACPI spec requires one interrupt minimum. BZ 423
8091
8092iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
8093Handles the case for the Interrupt Resource Descriptor where
8094the ResourceSource argument is omitted but ResourceSourceIndex
8095is present. Now leave room for the Index. BZ 426
8096
8097iASL: Prevent error message if CondRefOf target does not exist. Fixes
8098cases
8099where an error message is emitted if the target does not exist. BZ 516
8100
8101iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
8102(get ACPI tables on Windows). This was apparently broken in version
810320070919.
8104
8105AcpiXtract: Handle EOF while extracting data. Correctly handle the case
8106where
8107the EOF happens immediately after the last table in the input file. Print
8108completion message. Previously, no message was displayed in this case.
8109
8110----------------------------------------
811101 July 2008. Summary of changes for version 20080701:
8112
81130) Git source tree / acpica.org
8114
8115Fixed a problem where a git-clone from http would not transfer the entire
8116source tree.
8117
81181) ACPI CA Core Subsystem:
8119
8120Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
8121enable bit. Now performs a read-change-write of the enable register
8122instead
8123of simply writing out the cached enable mask. This will prevent
8124inadvertent
8125enabling of GPEs if a rogue GPE is received during initialization (before
8126GPE
8127handlers are installed.)
8128
8129Implemented a copy for dynamically loaded tables. Previously, dynamically
8130loaded tables were simply mapped - but on some machines this memory is
8131corrupted after suspend. Now copy the table to a local buffer. For the
8132OpRegion case, added checksum verify. Use the table length from the table
8133header, not the region length. For the Buffer case, use the table length
8134also. Dennis Noordsij, Bob Moore. BZ 10734
8135
8136Fixed a problem where the same ACPI table could not be dynamically loaded
8137and
8138unloaded more than once. Without this change, a table cannot be loaded
8139again
8140once it has been loaded/unloaded one time. The current mechanism does not
8141unregister a table upon an unload. During a load, if the same table is
8142found,
8143this no longer returns an exception. BZ 722
8144
8145Fixed a problem where the wrong descriptor length was calculated for the
8146EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
8147EndTag
8148are calculated as 12 bytes long, but the actual length in the internal
8149descriptor is 16 because of the round-up to 8 on the 64-bit build.
8150Reported
8151by Linn Crosetto. BZ 728
8152
8153Fixed a possible memory leak in the Unload operator. The DdbHandle
8154returned
8155by Load() did not have its reference count decremented during unload,
8156leading
8157to a memory leak. Lin Ming. BZ 727
8158
8159Fixed a possible memory leak when deleting thermal/processor objects. Any
8160associated notify handlers (and objects) were not being deleted. Fiodor
8161Suietov. BZ 506
8162
8163Fixed the ordering of the ASCII names in the global mutex table to match
8164the
8165actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
8166only.
8167Vegard Nossum. BZ 726
8168
8169Enhanced the AcpiGetObjectInfo interface to return the number of required
8170arguments if the object is a control method. Added this call to the
8171debugger
8172so the proper number of default arguments are passed to a method. This
8173prevents a warning when executing methods from AcpiExec.
8174
8175Added a check for an invalid handle in AcpiGetObjectInfo. Return
8176AE_BAD_PARAMETER if input handle is invalid. BZ 474
8177
8178Fixed an extraneous warning from exconfig.c on the 64-bit build.
8179
8180Example Code and Data Size: These are the sizes for the OS-independent
8181acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8182debug version of the code includes the debug output trace mechanism and
8183has a
8184much larger code and data size.
8185
8186  Previous Release:
8187    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8188    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8189  Current Release:
8190    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8191    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8192
81932) iASL Compiler/Disassembler and Tools:
8194
8195iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
8196resource descriptor names.
8197
8198iASL: Detect invalid ASCII characters in input (windows version). Removed
8199the
8200"-CF" flag from the flex compile, enables correct detection of non-ASCII
8201characters in the input. BZ 441
8202
8203iASL: Eliminate warning when result of LoadTable is not used. Eliminate
8204the
8205"result of operation not used" warning when the DDB handle returned from
8206LoadTable is not used. The warning is not needed. BZ 590
8207
8208AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
8209method
8210to
8211pass address of table to the AML. Added option to disable OpRegion
8212simulation
8213to allow creation of an OpRegion with a real address that was passed to
8214_CFG.
8215All of this allows testing of the Load and Unload operators from
8216AcpiExec.
8217
8218Debugger: update tables command for unloaded tables. Handle unloaded
8219tables
8220and use the standard table header output routine.
8221
8222----------------------------------------
822309 June 2008. Summary of changes for version 20080609:
8224
82251) ACPI CA Core Subsystem:
8226
8227Implemented a workaround for reversed _PRT entries. A significant number
8228of
8229BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
8230change dynamically detects and repairs this problem. Provides
8231compatibility
8232with MS ACPI. BZ 6859
8233
8234Simplified the internal ACPI hardware interfaces to eliminate the locking
8235flag parameter from Register Read/Write. Added a new external interface,
8236AcpiGetRegisterUnlocked.
8237
8238Fixed a problem where the invocation of a GPE control method could hang.
8239This
8240was a regression introduced in 20080514. The new method argument count
8241validation mechanism can enter an infinite loop when a GPE method is
8242dispatched. Problem fixed by removing the obsolete code that passed GPE
8243block
8244information to the notify handler via the control method parameter
8245pointer.
8246
8247Fixed a problem where the _SST execution status was incorrectly returned
8248to
8249the caller of AcpiEnterSleepStatePrep. This was a regression introduced
8250in
825120080514. _SST is optional and a NOT_FOUND exception should never be
8252returned. BZ 716
8253
8254Fixed a problem where a deleted object could be accessed from within the
8255AML
8256parser. This was a regression introduced in version 20080123 as a fix for
8257the
8258Unload operator. Lin Ming. BZ 10669
8259
8260Cleaned up the debug operand dump mechanism. Eliminated unnecessary
8261operands
8262and eliminated the use of a negative index in a loop. Operands are now
8263displayed in the correct order, not backwards. This also fixes a
8264regression
8265introduced in 20080514 on 64-bit systems where the elimination of
8266ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
8267715
8268
8269Fixed a possible memory leak in EvPciConfigRegionSetup where the error
8270exit
8271path did not delete a locally allocated structure.
8272
8273Updated definitions for the DMAR and SRAT tables to synchronize with the
8274current specifications. Includes disassembler support.
8275
8276Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
8277loop termination value was used. Loop terminated on iteration early,
8278missing
8279one mutex. Linn Crosetto
8280
8281Example Code and Data Size: These are the sizes for the OS-independent
8282acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8283debug version of the code includes the debug output trace mechanism and
8284has a
8285much larger code and data size.
8286
8287  Previous Release:
8288    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8289    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8290  Current Release:
8291    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8292    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8293
82942) iASL Compiler/Disassembler and Tools:
8295
8296Disassembler: Implemented support for EisaId() within _CID objects. Now
8297disassemble integer _CID objects back to EisaId invocations, including
8298multiple integers within _CID packages. Includes single-step support for
8299debugger also.
8300
8301Disassembler: Added support for DMAR and SRAT table definition changes.
8302
8303----------------------------------------
830414 May 2008. Summary of changes for version 20080514:
8305
83061) ACPI CA Core Subsystem:
8307
8308Fixed a problem where GPEs were enabled too early during the ACPICA
8309initialization. This could lead to "handler not installed" errors on some
8310machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
8311This
8312ensures that all operation regions and devices throughout the namespace
8313have
8314been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
8315
8316Implemented a change to the enter sleep code. Moved execution of the _GTS
8317method to just before setting sleep enable bit. The execution was moved
8318from
8319AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
8320immediately before the SLP_EN bit is set, as per the ACPI specification.
8321Luming Yu, BZ 1653.
8322
8323Implemented a fix to disable unknown GPEs (2nd version). Now always
8324disable
8325the GPE, even if ACPICA thinks that that it is already disabled. It is
8326possible that the AML or some other code has enabled the GPE unbeknownst
8327to
8328the ACPICA code.
8329
8330Fixed a problem with the Field operator where zero-length fields would
8331return
8332an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
8333ASL
8334field declarations in Field(), BankField(), and IndexField(). BZ 10606.
8335
8336Implemented a fix for the Load operator, now load the table at the
8337namespace
8338root. This reverts a change introduced in version 20071019. The table is
8339now
8340loaded at the namespace root even though this goes against the ACPI
8341specification. This provides compatibility with other ACPI
8342implementations.
8343The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
8344Ming.
8345
8346Fixed a problem where ACPICA would not Load() tables with unusual
8347signatures.
8348Now ignore ACPI table signature for Load() operator. Only "SSDT" is
8349acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
8350Therefore, signature validation is worthless. Apparently MS ACPI accepts
8351such
8352signatures, ACPICA must be compatible. BZ 10454.
8353
8354Fixed a possible negative array index in AcpiUtValidateException. Added
8355NULL
8356fields to the exception string arrays to eliminate a -1 subtraction on
8357the
8358SubStatus field.
8359
8360Updated the debug tracking macros to reduce overall code and data size.
8361Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
8362instead of pointers to static strings. Jan Beulich and Bob Moore.
8363
8364Implemented argument count checking in control method invocation via
8365AcpiEvaluateObject. Now emit an error if too few arguments, warning if
8366too
8367many. This applies only to extern programmatic control method execution,
8368not
8369method-to-method calls within the AML. Lin Ming.
8370
8371Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
8372no
8373longer needed, especially with the removal of 16-bit support. It was
8374replaced
8375mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
8376bit
8377on
837832/64-bit platforms is required.
8379
8380Added the C const qualifier for appropriate string constants -- mostly
8381MODULE_NAME and printf format strings. Jan Beulich.
8382
8383Example Code and Data Size: These are the sizes for the OS-independent
8384acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8385debug version of the code includes the debug output trace mechanism and
8386has a
8387much larger code and data size.
8388
8389  Previous Release:
8390    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8391    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8392  Current Release:
8393    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8394    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8395
83962) iASL Compiler/Disassembler and Tools:
8397
8398Implemented ACPI table revision ID validation in the disassembler. Zero
8399is
8400always invalid. For DSDTs, the ID controls the interpreter integer width.
84011
8402means 32-bit and this is unusual. 2 or greater is 64-bit.
8403
8404----------------------------------------
840521 March 2008. Summary of changes for version 20080321:
8406
84071) ACPI CA Core Subsystem:
8408
8409Implemented an additional change to the GPE support in order to suppress
8410spurious or stray GPEs. The AcpiEvDisableGpe function will now
8411permanently
8412disable incoming GPEs that are neither enabled nor disabled -- meaning
8413that
8414the GPE is unknown to the system. This should prevent future interrupt
8415floods
8416from that GPE. BZ 6217 (Zhang Rui)
8417
8418Fixed a problem where NULL package elements were not returned to the
8419AcpiEvaluateObject interface correctly. The element was simply ignored
8420instead of returning a NULL ACPI_OBJECT package element, potentially
8421causing
8422a buffer overflow and/or confusing the caller who expected a fixed number
8423of
8424elements. BZ 10132 (Lin Ming, Bob Moore)
8425
8426Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
8427Dword,
8428Qword), Field, BankField, and IndexField operators when invoked from
8429inside
8430an executing control method. In this case, these operators created
8431namespace
8432nodes that were incorrectly left marked as permanent nodes instead of
8433temporary nodes. This could cause a problem if there is race condition
8434between an exiting control method and a running namespace walk. (Reported
8435by
8436Linn Crosetto)
8437
8438Fixed a problem where the CreateField and CreateXXXField operators would
8439incorrectly allow duplicate names (the name of the field) with no
8440exception
8441generated.
8442
8443Implemented several changes for Notify handling. Added support for new
8444Notify
8445values (ACPI 2.0+) and improved the Notify debug output. Notify on
8446PowerResource objects is no longer allowed, as per the ACPI
8447specification.
8448(Bob Moore, Zhang Rui)
8449
8450All Reference Objects returned via the AcpiEvaluateObject interface are
8451now
8452marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
8453for
8454NULL objects - either NULL package elements or unresolved named
8455references.
8456
8457Fixed a problem where an extraneous debug message was produced for
8458package
8459objects (when debugging enabled). The message "Package List length larger
8460than NumElements count" is now produced in the correct case, and is now
8461an
8462error message rather than a debug message. Added a debug message for the
8463opposite case, where NumElements is larger than the Package List (the
8464package
8465will be padded out with NULL elements as per the ACPI spec.)
8466
8467Implemented several improvements for the output of the ASL "Debug" object
8468to
8469clarify and keep all data for a given object on one output line.
8470
8471Fixed two size calculation issues with the variable-length Start
8472Dependent
8473resource descriptor.
8474
8475Example Code and Data Size: These are the sizes for the OS-independent
8476acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8477debug version of the code includes the debug output trace mechanism and
8478has
8479a much larger code and data size.
8480
8481  Previous Release:
8482    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8483    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8484  Current Release:
8485    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8486    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8487
84882) iASL Compiler/Disassembler and Tools:
8489
8490Fixed a problem with the use of the Switch operator where execution of
8491the
8492containing method by multiple concurrent threads could cause an
8493AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
8494actual Switch opcode, it must be simulated with local named temporary
8495variables and if/else pairs. The solution chosen was to mark any method
8496that
8497uses Switch as Serialized, thus preventing multiple thread entries. BZ
8498469.
8499
8500----------------------------------------
850113 February 2008. Summary of changes for version 20080213:
8502
85031) ACPI CA Core Subsystem:
8504
8505Implemented another MS compatibility design change for GPE/Notify
8506handling.
8507GPEs are now cleared/enabled asynchronously to allow all pending notifies
8508to
8509complete first. It is expected that the OSL will queue the enable request
8510behind all pending notify requests (may require changes to the local host
8511OSL
8512in AcpiOsExecute). Alexey Starikovskiy.
8513
8514Fixed a problem where buffer and package objects passed as arguments to a
8515control method via the external AcpiEvaluateObject interface could cause
8516an
8517AE_AML_INTERNAL exception depending on the order and type of operators
8518executed by the target control method.
8519
8520Fixed a problem where resource descriptor size optimization could cause a
8521problem when a _CRS resource template is passed to a _SRS method. The
8522_SRS
8523resource template must use the same descriptors (with the same size) as
8524returned from _CRS. This change affects the following resource
8525descriptors:
8526IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
85279487)
8528
8529Fixed a problem where a CopyObject to RegionField, BankField, and
8530IndexField
8531objects did not perform an implicit conversion as it should. These types
8532must
8533retain their initial type permanently as per the ACPI specification.
8534However,
8535a CopyObject to all other object types should not perform an implicit
8536conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
8537
8538Fixed a problem with the AcpiGetDevices interface where the mechanism to
8539match device CIDs did not examine the entire list of available CIDs, but
8540instead aborted on the first non-matching CID. Andrew Patterson.
8541
8542Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
8543was
8544inadvertently changed to return a 16-bit value instead of a 32-bit value,
8545truncating the upper dword of a 64-bit value. This macro is only used to
8546display debug output, so no incorrect calculations were made. Also,
8547reimplemented the macro so that a 64-bit shift is not performed by
8548inefficient compilers.
8549
8550Added missing va_end statements that should correspond with each va_start
8551statement.
8552
8553Example Code and Data Size: These are the sizes for the OS-independent
8554acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8555debug version of the code includes the debug output trace mechanism and
8556has
8557a much larger code and data size.
8558
8559  Previous Release:
8560    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8561    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8562  Current Release:
8563    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8564    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8565
85662) iASL Compiler/Disassembler and Tools:
8567
8568Implemented full disassembler support for the following new ACPI tables:
8569BERT, EINJ, and ERST. Implemented partial disassembler support for the
8570complicated HEST table. These tables support the Windows Hardware Error
8571Architecture (WHEA).
8572
8573----------------------------------------
857423 January 2008. Summary of changes for version 20080123:
8575
85761) ACPI CA Core Subsystem:
8577
8578Added the 2008 copyright to all module headers and signons. This affects
8579virtually every file in the ACPICA core subsystem, the iASL compiler, and
8580the tools/utilities.
8581
8582Fixed a problem with the SizeOf operator when used with Package and
8583Buffer
8584objects. These objects have deferred execution for some arguments, and
8585the
8586execution is now completed before the SizeOf is executed. This problem
8587caused
8588unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
8589BZ
85909558
8591
8592Implemented an enhancement to the interpreter "slack mode". In the
8593absence
8594of
8595an explicit return or an implicitly returned object from the last
8596executed
8597opcode, a control method will now implicitly return an integer of value 0
8598for
8599Microsoft compatibility. (Lin Ming) BZ 392
8600
8601Fixed a problem with the Load operator where an exception was not
8602returned
8603in
8604the case where the table is already loaded. (Lin Ming) BZ 463
8605
8606Implemented support for the use of DDBHandles as an Indexed Reference, as
8607per
8608the ACPI spec. (Lin Ming) BZ 486
8609
8610Implemented support for UserTerm (Method invocation) for the Unload
8611operator
8612as per the ACPI spec. (Lin Ming) BZ 580
8613
8614Fixed a problem with the LoadTable operator where the OemId and
8615OemTableId
8616input strings could cause unexpected failures if they were shorter than
8617the
8618maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
8619
8620Implemented support for UserTerm (Method invocation) for the Unload
8621operator
8622as per the ACPI spec. (Lin Ming) BZ 580
8623
8624Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
8625HEST,
8626IBFT, UEFI, WDAT. Disassembler support is forthcoming.
8627
8628Example Code and Data Size: These are the sizes for the OS-independent
8629acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8630debug version of the code includes the debug output trace mechanism and
8631has
8632a much larger code and data size.
8633
8634  Previous Release:
8635    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8636    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8637  Current Release:
8638    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8639    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8640
86412) iASL Compiler/Disassembler and Tools:
8642
8643Implemented support in the disassembler for checksum validation on
8644incoming
8645binary DSDTs and SSDTs. If incorrect, a message is displayed within the
8646table
8647header dump at the start of the disassembly.
8648
8649Implemented additional debugging information in the namespace listing
8650file
8651created during compilation. In addition to the namespace hierarchy, the
8652full
8653pathname to each namespace object is displayed.
8654
8655Fixed a problem with the disassembler where invalid ACPI tables could
8656cause
8657faults or infinite loops.
8658
8659Fixed an unexpected parse error when using the optional "parameter types"
8660list in a control method declaration. (Lin Ming) BZ 397
8661
8662Fixed a problem where two External declarations with the same name did
8663not
8664cause an error (Lin Ming) BZ 509
8665
8666Implemented support for full TermArgs (adding Argx, Localx and method
8667invocation) for the ParameterData parameter to the LoadTable operator.
8668(Lin
8669Ming) BZ 583,587
8670
8671----------------------------------------
867219 December 2007. Summary of changes for version 20071219:
8673
86741) ACPI CA Core Subsystem:
8675
8676Implemented full support for deferred execution for the TermArg string
8677arguments for DataTableRegion. This enables forward references and full
8678operand resolution for the three string arguments. Similar to
8679OperationRegion
8680deferred argument execution.) Lin Ming. BZ 430
8681
8682Implemented full argument resolution support for the BankValue argument
8683to
8684BankField. Previously, only constants were supported, now any TermArg may
8685be
8686used. Lin Ming BZ 387, 393
8687
8688Fixed a problem with AcpiGetDevices where the search of a branch of the
8689device tree could be terminated prematurely. In accordance with the ACPI
8690specification, the search down the current branch is terminated if a
8691device
8692is both not present and not functional (instead of just not present.)
8693Yakui
8694Zhao.
8695
8696Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
8697if
8698the underlying AML code changed the GPE enable registers. Now, any
8699unknown
8700incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
8701disabled
8702instead of simply ignored. Rui Zhang.
8703
8704Fixed a problem with Index Fields where the Index register was
8705incorrectly
8706limited to a maximum of 32 bits. Now any size may be used.
8707
8708Fixed a couple memory leaks associated with "implicit return" objects
8709when
8710the AML Interpreter slack mode is enabled. Lin Ming BZ 349
8711
8712Example Code and Data Size: These are the sizes for the OS-independent
8713acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8714debug version of the code includes the debug output trace mechanism and
8715has
8716a much larger code and data size.
8717
8718  Previous Release:
8719    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
8720    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
8721  Current Release:
8722    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8723    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8724
8725----------------------------------------
872614 November 2007. Summary of changes for version 20071114:
8727
87281) ACPI CA Core Subsystem:
8729
8730Implemented event counters for each of the Fixed Events, the ACPI SCI
8731(interrupt) itself, and control methods executed. Named
8732AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
8733These
8734should be useful for debugging and statistics.
8735
8736Implemented a new external interface, AcpiGetStatistics, to retrieve the
8737contents of the various event counters. Returns the current values for
8738AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
8739AcpiMethodCount. The interface can be expanded in the future if new
8740counters
8741are added. Device drivers should use this interface rather than access
8742the
8743counters directly.
8744
8745Fixed a problem with the FromBCD and ToBCD operators. With some
8746compilers,
8747the ShortDivide function worked incorrectly, causing problems with the
8748BCD
8749functions with large input values. A truncation from 64-bit to 32-bit
8750inadvertently occurred. Internal BZ 435. Lin Ming
8751
8752Fixed a problem with Index references passed as method arguments.
8753References
8754passed as arguments to control methods were dereferenced immediately
8755(before
8756control was passed to the called method). The references are now
8757correctly
8758passed directly to the called method. BZ 5389. Lin Ming
8759
8760Fixed a problem with CopyObject used in conjunction with the Index
8761operator.
8762The reference was incorrectly dereferenced before the copy. The reference
8763is
8764now correctly copied. BZ 5391. Lin Ming
8765
8766Fixed a problem with Control Method references within Package objects.
8767These
8768references are now correctly generated. This completes the package
8769construction overhaul that began in version 20071019.
8770
8771Example Code and Data Size: These are the sizes for the OS-independent
8772acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8773debug version of the code includes the debug output trace mechanism and
8774has
8775a much larger code and data size.
8776
8777  Previous Release:
8778    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
8779    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
8780  Current Release:
8781    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
8782    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
8783
8784
87852) iASL Compiler/Disassembler and Tools:
8786
8787The AcpiExec utility now installs handlers for all of the predefined
8788Operation Region types. New types supported are: PCI_Config, CMOS, and
8789PCIBARTarget.
8790
8791Fixed a problem with the 64-bit version of AcpiExec where the extended
8792(64-
8793bit) address fields for the DSDT and FACS within the FADT were not being
8794used, causing truncation of the upper 32-bits of these addresses. Lin
8795Ming
8796and Bob Moore
8797
8798----------------------------------------
879919 October 2007. Summary of changes for version 20071019:
8800
88011) ACPI CA Core Subsystem:
8802
8803Fixed a problem with the Alias operator when the target of the alias is a
8804named ASL operator that opens a new scope -- Scope, Device,
8805PowerResource,
8806Processor, and ThermalZone. In these cases, any children of the original
8807operator could not be accessed via the alias, potentially causing
8808unexpected
8809AE_NOT_FOUND exceptions. (BZ 9067)
8810
8811Fixed a problem with the Package operator where all named references were
8812created as object references and left otherwise unresolved. According to
8813the
8814ACPI specification, a Package can only contain Data Objects or references
8815to
8816control methods. The implication is that named references to Data Objects
8817(Integer, Buffer, String, Package, BufferField, Field) should be resolved
8818immediately upon package creation. This is the approach taken with this
8819change. References to all other named objects (Methods, Devices, Scopes,
8820etc.) are all now properly created as reference objects. (BZ 5328)
8821
8822Reverted a change to Notify handling that was introduced in version
882320070508. This version changed the Notify handling from asynchronous to
8824fully synchronous (Device driver Notify handling with respect to the
8825Notify
8826ASL operator). It was found that this change caused more problems than it
8827solved and was removed by most users.
8828
8829Fixed a problem with the Increment and Decrement operators where the type
8830of
8831the target object could be unexpectedly and incorrectly changed. (BZ 353)
8832Lin Ming.
8833
8834Fixed a problem with the Load and LoadTable operators where the table
8835location within the namespace was ignored. Instead, the table was always
8836loaded into the root or current scope. Lin Ming.
8837
8838Fixed a problem with the Load operator when loading a table from a buffer
8839object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
8840
8841Fixed a problem with the Debug object where a store of a DdbHandle
8842reference
8843object to the Debug object could cause a fault.
8844
8845Added a table checksum verification for the Load operator, in the case
8846where
8847the load is from a buffer. (BZ 578).
8848
8849Implemented additional parameter validation for the LoadTable operator.
8850The
8851length of the input strings SignatureString, OemIdString, and OemTableId
8852are
8853now checked for maximum lengths. (BZ 582) Lin Ming.
8854
8855Example Code and Data Size: These are the sizes for the OS-independent
8856acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8857debug version of the code includes the debug output trace mechanism and
8858has
8859a much larger code and data size.
8860
8861  Previous Release:
8862    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
8863    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
8864  Current Release:
8865    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
8866    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
8867
8868
88692) iASL Compiler/Disassembler:
8870
8871Fixed a problem where if a single file was specified and the file did not
8872exist, no error message was emitted. (Introduced with wildcard support in
8873version 20070917.)
8874
8875----------------------------------------
887619 September 2007. Summary of changes for version 20070919:
8877
88781) ACPI CA Core Subsystem:
8879
8880Designed and implemented new external interfaces to install and remove
8881handlers for ACPI table-related events. Current events that are defined
8882are
8883LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
8884they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
8885AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
8886
8887Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
8888(acpi_serialized option on Linux) could cause some systems to hang during
8889initialization. (Bob Moore) BZ 8171
8890
8891Fixed a problem where objects of certain types (Device, ThermalZone,
8892Processor, PowerResource) can be not found if they are declared and
8893referenced from within the same control method (Lin Ming) BZ 341
8894
8895Example Code and Data Size: These are the sizes for the OS-independent
8896acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8897debug version of the code includes the debug output trace mechanism and
8898has
8899a much larger code and data size.
8900
8901  Previous Release:
8902    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
8903    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
8904  Current Release:
8905    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
8906    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
8907
8908
89092) iASL Compiler/Disassembler:
8910
8911Implemented support to allow multiple files to be compiled/disassembled
8912in
8913a
8914single invocation. This includes command line wildcard support for both
8915the
8916Windows and Unix versions of the compiler. This feature simplifies the
8917disassembly and compilation of multiple ACPI tables in a single
8918directory.
8919
8920----------------------------------------
892108 May 2007. Summary of changes for version 20070508:
8922
89231) ACPI CA Core Subsystem:
8924
8925Implemented a Microsoft compatibility design change for the handling of
8926the
8927Notify AML operator. Previously, notify handlers were dispatched and
8928executed completely asynchronously in a deferred thread. The new design
8929still executes the notify handlers in a different thread, but the
8930original
8931thread that executed the Notify() now waits at a synchronization point
8932for
8933the notify handler to complete. Some machines depend on a synchronous
8934Notify
8935operator in order to operate correctly.
8936
8937Implemented support to allow Package objects to be passed as method
8938arguments to the external AcpiEvaluateObject interface. Previously, this
8939would return the AE_NOT_IMPLEMENTED exception. This feature had not been
8940implemented since there were no reserved control methods that required it
8941until recently.
8942
8943Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
8944that
8945contained invalid non-zero values in reserved fields could cause later
8946failures because these fields have meaning in later revisions of the
8947FADT.
8948For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
8949fields
8950are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
8951
8952Fixed a problem where the Global Lock handle was not properly updated if
8953a
8954thread that acquired the Global Lock via executing AML code then
8955attempted
8956to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
8957Joe
8958Liu.
8959
8960Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
8961could be corrupted if the interrupt being removed was at the head of the
8962list. Reported by Linn Crosetto.
8963
8964Example Code and Data Size: These are the sizes for the OS-independent
8965acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8966debug version of the code includes the debug output trace mechanism and
8967has
8968a much larger code and data size.
8969
8970  Previous Release:
8971    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8972    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
8973  Current Release:
8974    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
8975    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
8976
8977----------------------------------------
897820 March 2007. Summary of changes for version 20070320:
8979
89801) ACPI CA Core Subsystem:
8981
8982Implemented a change to the order of interpretation and evaluation of AML
8983operand objects within the AML interpreter. The interpreter now evaluates
8984operands in the order that they appear in the AML stream (and the
8985corresponding ASL code), instead of in the reverse order (after the
8986entire
8987operand list has been parsed). The previous behavior caused several
8988subtle
8989incompatibilities with the Microsoft AML interpreter as well as being
8990somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
8991
8992Implemented a change to the ACPI Global Lock support. All interfaces to
8993the
8994global lock now allow the same thread to acquire the lock multiple times.
8995This affects the AcpiAcquireGlobalLock external interface to the global
8996lock
8997as well as the internal use of the global lock to support AML fields -- a
8998control method that is holding the global lock can now simultaneously
8999access
9000AML fields that require global lock protection. Previously, in both
9001cases,
9002this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
9003to
9004AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
9005Controller. There is no change to the behavior of the AML Acquire
9006operator,
9007as this can already be used to acquire a mutex multiple times by the same
9008thread. BZ 8066. With assistance from Alexey Starikovskiy.
9009
9010Fixed a problem where invalid objects could be referenced in the AML
9011Interpreter after error conditions. During operand evaluation, ensure
9012that
9013the internal "Return Object" field is cleared on error and only valid
9014pointers are stored there. Caused occasional access to deleted objects
9015that
9016resulted in "large reference count" warning messages. Valery Podrezov.
9017
9018Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
9019on
9020deeply nested control method invocations. BZ 7873, local BZ 487. Valery
9021Podrezov.
9022
9023Fixed an internal problem with the handling of result objects on the
9024interpreter result stack. BZ 7872. Valery Podrezov.
9025
9026Removed obsolete code that handled the case where AML_NAME_OP is the
9027target
9028of a reference (Reference.Opcode). This code was no longer necessary. BZ
90297874. Valery Podrezov.
9030
9031Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
9032was
9033a
9034remnant from the previously discontinued 16-bit support.
9035
9036Example Code and Data Size: These are the sizes for the OS-independent
9037acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9038debug version of the code includes the debug output trace mechanism and
9039has
9040a much larger code and data size.
9041
9042  Previous Release:
9043    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9044    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9045  Current Release:
9046    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9047    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
9048
9049----------------------------------------
905026 January 2007. Summary of changes for version 20070126:
9051
90521) ACPI CA Core Subsystem:
9053
9054Added the 2007 copyright to all module headers and signons. This affects
9055virtually every file in the ACPICA core subsystem, the iASL compiler, and
9056the utilities.
9057
9058Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
9059during a table load. A bad pointer was passed in the case where the DSDT
9060is
9061overridden, causing a fault in this case.
9062
9063Example Code and Data Size: These are the sizes for the OS-independent
9064acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9065debug version of the code includes the debug output trace mechanism and
9066has
9067a much larger code and data size.
9068
9069  Previous Release:
9070    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9071    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9072  Current Release:
9073    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9074    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9075
9076----------------------------------------
907715 December 2006. Summary of changes for version 20061215:
9078
90791) ACPI CA Core Subsystem:
9080
9081Support for 16-bit ACPICA has been completely removed since it is no
9082longer
9083necessary and it clutters the code. All 16-bit macros, types, and
9084conditional compiles have been removed, cleaning up and simplifying the
9085code
9086across the entire subsystem. DOS support is no longer needed since the
9087bootable Linux firmware kit is now available.
9088
9089The handler for the Global Lock is now removed during AcpiTerminate to
9090enable a clean subsystem restart, via the implementation of the
9091AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
9092HP)
9093
9094Implemented enhancements to the multithreading support within the
9095debugger
9096to enable improved multithreading debugging and evaluation of the
9097subsystem.
9098(Valery Podrezov)
9099
9100Debugger: Enhanced the Statistics/Memory command to emit the total
9101(maximum)
9102memory used during the execution, as well as the maximum memory consumed
9103by
9104each of the various object types. (Valery Podrezov)
9105
9106Example Code and Data Size: These are the sizes for the OS-independent
9107acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9108debug version of the code includes the debug output trace mechanism and
9109has
9110a much larger code and data size.
9111
9112  Previous Release:
9113    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9114    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9115  Current Release:
9116    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9117    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9118
9119
91202) iASL Compiler/Disassembler and Tools:
9121
9122AcpiExec: Implemented a new option (-m) to display full memory use
9123statistics upon subsystem/program termination. (Valery Podrezov)
9124
9125----------------------------------------
912609 November 2006. Summary of changes for version 20061109:
9127
91281) ACPI CA Core Subsystem:
9129
9130Optimized the Load ASL operator in the case where the source operand is
9131an
9132operation region. Simply map the operation region memory, instead of
9133performing a bytewise read. (Region must be of type SystemMemory, see
9134below.)
9135
9136Fixed the Load ASL operator for the case where the source operand is a
9137region field. A buffer object is also allowed as the source operand. BZ
9138480
9139
9140Fixed a problem where the Load ASL operator allowed the source operand to
9141be
9142an operation region of any type. It is now restricted to regions of type
9143SystemMemory, as per the ACPI specification. BZ 481
9144
9145Additional cleanup and optimizations for the new Table Manager code.
9146
9147AcpiEnable will now fail if all of the required ACPI tables are not
9148loaded
9149(FADT, FACS, DSDT). BZ 477
9150
9151Added #pragma pack(8/4) to acobject.h to ensure that the structures in
9152this
9153header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
9154manually optimized to be aligned and will not work if it is byte-packed.
9155
9156Example Code and Data Size: These are the sizes for the OS-independent
9157acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9158debug version of the code includes the debug output trace mechanism and
9159has
9160a much larger code and data size.
9161
9162  Previous Release:
9163    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9164    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9165  Current Release:
9166    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9167    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9168
9169
91702) iASL Compiler/Disassembler and Tools:
9171
9172Fixed a problem where the presence of the _OSI predefined control method
9173within complex expressions could cause an internal compiler error.
9174
9175AcpiExec: Implemented full region support for multiple address spaces.
9176SpaceId is now part of the REGION object. BZ 429
9177
9178----------------------------------------
917911 October 2006. Summary of changes for version 20061011:
9180
91811) ACPI CA Core Subsystem:
9182
9183Completed an AML interpreter performance enhancement for control method
9184execution. Previously a 2-pass parse/execution, control methods are now
9185completely parsed and executed in a single pass. This improves overall
9186interpreter performance by ~25%, reduces code size, and reduces CPU stack
9187use. (Valery Podrezov + interpreter changes in version 20051202 that
9188eliminated namespace loading during the pass one parse.)
9189
9190Implemented _CID support for PCI Root Bridge detection. If the _HID does
9191not
9192match the predefined PCI Root Bridge IDs, the _CID list (if present) is
9193now
9194obtained and also checked for an ID match.
9195
9196Implemented additional support for the PCI _ADR execution: upsearch until
9197a
9198device scope is found before executing _ADR. This allows PCI_Config
9199operation regions to be declared locally within control methods
9200underneath
9201PCI device objects.
9202
9203Fixed a problem with a possible race condition between threads executing
9204AcpiWalkNamespace and the AML interpreter. This condition was removed by
9205modifying AcpiWalkNamespace to (by default) ignore all temporary
9206namespace
9207entries created during any concurrent control method execution. An
9208additional namespace race condition is known to exist between
9209AcpiWalkNamespace and the Load/Unload ASL operators and is still under
9210investigation.
9211
9212Restructured the AML ParseLoop function, breaking it into several
9213subfunctions in order to reduce CPU stack use and improve
9214maintainability.
9215(Mikhail Kouzmich)
9216
9217AcpiGetHandle: Fix for parameter validation to detect invalid
9218combinations
9219of prefix handle and pathname. BZ 478
9220
9221Example Code and Data Size: These are the sizes for the OS-independent
9222acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9223debug version of the code includes the debug output trace mechanism and
9224has
9225a much larger code and data size.
9226
9227  Previous Release:
9228    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9229    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9230  Current Release:
9231    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9232    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9233
92342) iASL Compiler/Disassembler and Tools:
9235
9236Ported the -g option (get local ACPI tables) to the new ACPICA Table
9237Manager
9238to restore original behavior.
9239
9240----------------------------------------
924127 September 2006. Summary of changes for version 20060927:
9242
92431) ACPI CA Core Subsystem:
9244
9245Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
9246These functions now use a spinlock for mutual exclusion and the interrupt
9247level indication flag is not needed.
9248
9249Fixed a problem with the Global Lock where the lock could appear to be
9250obtained before it is actually obtained. The global lock semaphore was
9251inadvertently created with one unit instead of zero units. (BZ 464)
9252Fiodor
9253Suietov.
9254
9255Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
9256during
9257a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9258
9259Example Code and Data Size: These are the sizes for the OS-independent
9260acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9261debug version of the code includes the debug output trace mechanism and
9262has
9263a much larger code and data size.
9264
9265  Previous Release:
9266    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9267    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9268  Current Release:
9269    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9270    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9271
9272
92732) iASL Compiler/Disassembler and Tools:
9274
9275Fixed a compilation problem with the pre-defined Resource Descriptor
9276field
9277names where an "object does not exist" error could be incorrectly
9278generated
9279if the parent ResourceTemplate pathname places the template within a
9280different namespace scope than the current scope. (BZ 7212)
9281
9282Fixed a problem where the compiler could hang after syntax errors
9283detected
9284in an ElseIf construct. (BZ 453)
9285
9286Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
9287operator. An incorrect output filename was produced when this parameter
9288was
9289a null string (""). Now, the original input filename is used as the AML
9290output filename, with an ".aml" extension.
9291
9292Implemented a generic batch command mode for the AcpiExec utility
9293(execute
9294any AML debugger command) (Valery Podrezov).
9295
9296----------------------------------------
929712 September 2006. Summary of changes for version 20060912:
9298
92991) ACPI CA Core Subsystem:
9300
9301Enhanced the implementation of the "serialized mode" of the interpreter
9302(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
9303specified, instead of creating a serialization semaphore per control
9304method,
9305the interpreter lock is simply no longer released before a blocking
9306operation during control method execution. This effectively makes the AML
9307Interpreter single-threaded. The overhead of a semaphore per-method is
9308eliminated.
9309
9310Fixed a regression where an error was no longer emitted if a control
9311method
9312attempts to create 2 objects of the same name. This once again returns
9313AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
9314that
9315will dynamically serialize the control method to possible prevent future
9316errors. (BZ 440)
9317
9318Integrated a fix for a problem with PCI Express HID detection in the PCI
9319Config Space setup procedure. (BZ 7145)
9320
9321Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
9322AcpiHwInitialize function - the FADT registers are now validated when the
9323table is loaded.
9324
9325Added two new warnings during FADT verification - 1) if the FADT is
9326larger
9327than the largest known FADT version, and 2) if there is a mismatch
9328between
9329a
933032-bit block address and the 64-bit X counterpart (when both are non-
9331zero.)
9332
9333Example Code and Data Size: These are the sizes for the OS-independent
9334acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9335debug version of the code includes the debug output trace mechanism and
9336has
9337a much larger code and data size.
9338
9339  Previous Release:
9340    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9341    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9342  Current Release:
9343    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9344    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9345
9346
93472) iASL Compiler/Disassembler and Tools:
9348
9349Fixed a problem with the implementation of the Switch() operator where
9350the
9351temporary variable was declared too close to the actual Switch, instead
9352of
9353at method level. This could cause a problem if the Switch() operator is
9354within a while loop, causing an error on the second iteration. (BZ 460)
9355
9356Disassembler - fix for error emitted for unknown type for target of scope
9357operator. Now, ignore it and continue.
9358
9359Disassembly of an FADT now verifies the input FADT and reports any errors
9360found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
9361
9362Disassembly of raw data buffers with byte initialization data now
9363prefixes
9364each output line with the current buffer offset.
9365
9366Disassembly of ASF! table now includes all variable-length data fields at
9367the end of some of the subtables.
9368
9369The disassembler now emits a comment if a buffer appears to be a
9370ResourceTemplate, but cannot be disassembled as such because the EndTag
9371does
9372not appear at the very end of the buffer.
9373
9374AcpiExec - Added the "-t" command line option to enable the serialized
9375mode
9376of the AML interpreter.
9377
9378----------------------------------------
937931 August 2006. Summary of changes for version 20060831:
9380
93811) ACPI CA Core Subsystem:
9382
9383Miscellaneous fixes for the Table Manager:
9384- Correctly initialize internal common FADT for all 64-bit "X" fields
9385- Fixed a couple table mapping issues during table load
9386- Fixed a couple alignment issues for IA64
9387- Initialize input array to zero in AcpiInitializeTables
9388- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
9389AcpiGetTableByIndex
9390
9391Change for GPE support: when a "wake" GPE is received, all wake GPEs are
9392now
9393immediately disabled to prevent the waking GPE from firing again and to
9394prevent other wake GPEs from interrupting the wake process.
9395
9396Added the AcpiGpeCount global that tracks the number of processed GPEs,
9397to
9398be used for debugging systems with a large number of ACPI interrupts.
9399
9400Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
9401both the ACPICA headers and the disassembler.
9402
9403Example Code and Data Size: These are the sizes for the OS-independent
9404acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9405debug version of the code includes the debug output trace mechanism and
9406has
9407a much larger code and data size.
9408
9409  Previous Release:
9410    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9411    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9412  Current Release:
9413    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9414    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9415
9416
94172) iASL Compiler/Disassembler and Tools:
9418
9419Disassembler support for the DMAR ACPI table.
9420
9421----------------------------------------
942223 August 2006. Summary of changes for version 20060823:
9423
94241) ACPI CA Core Subsystem:
9425
9426The Table Manager component has been completely redesigned and
9427reimplemented. The new design is much simpler, and reduces the overall
9428code
9429and data size of the kernel-resident ACPICA by approximately 5%. Also, it
9430is
9431now possible to obtain the ACPI tables very early during kernel
9432initialization, even before dynamic memory management is initialized.
9433(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
9434
9435Obsolete ACPICA interfaces:
9436
9437- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
9438init
9439time).
9440- AcpiLoadTable: Not needed.
9441- AcpiUnloadTable: Not needed.
9442
9443New ACPICA interfaces:
9444
9445- AcpiInitializeTables: Must be called before the table manager can be
9446used.
9447- AcpiReallocateRootTable: Used to transfer the root table to dynamically
9448allocated memory after it becomes available.
9449- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
9450tables
9451in the RSDT/XSDT.
9452
9453Other ACPICA changes:
9454
9455- AcpiGetTableHeader returns the actual mapped table header, not a copy.
9456Use
9457AcpiOsUnmapMemory to free this mapping.
9458- AcpiGetTable returns the actual mapped table. The mapping is managed
9459internally and must not be deleted by the caller. Use of this interface
9460causes no additional dynamic memory allocation.
9461- AcpiFindRootPointer: Support for physical addressing has been
9462eliminated,
9463it appeared to be unused.
9464- The interface to AcpiOsMapMemory has changed to be consistent with the
9465other allocation interfaces.
9466- The interface to AcpiOsGetRootPointer has changed to eliminate
9467unnecessary
9468parameters.
9469- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
947064-
9471bit platforms. Was previously 64 bits on all platforms.
9472- The interface to the ACPI Global Lock acquire/release macros have
9473changed
9474slightly since ACPICA no longer keeps a local copy of the FACS with a
9475constructed pointer to the actual global lock.
9476
9477Porting to the new table manager:
9478
9479- AcpiInitializeTables: Must be called once, and can be called anytime
9480during the OS initialization process. It allows the host to specify an
9481area
9482of memory to be used to store the internal version of the RSDT/XSDT (root
9483table). This allows the host to access ACPI tables before memory
9484management
9485is initialized and running.
9486- AcpiReallocateRootTable: Can be called after memory management is
9487running
9488to copy the root table to a dynamically allocated array, freeing up the
9489scratch memory specified in the call to AcpiInitializeTables.
9490- AcpiSubsystemInitialize: This existing interface is independent of the
9491Table Manager, and does not have to be called before the Table Manager
9492can
9493be used, it only must be called before the rest of ACPICA can be used.
9494- ACPI Tables: Some changes have been made to the names and structure of
9495the
9496actbl.h and actbl1.h header files and may require changes to existing
9497code.
9498For example, bitfields have been completely removed because of their lack
9499of
9500portability across C compilers.
9501- Update interfaces to the Global Lock acquire/release macros if local
9502versions are used. (see acwin.h)
9503
9504Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
9505
9506New files: tbfind.c
9507
9508Example Code and Data Size: These are the sizes for the OS-independent
9509acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9510debug version of the code includes the debug output trace mechanism and
9511has
9512a much larger code and data size.
9513
9514  Previous Release:
9515    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9516    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9517  Current Release:
9518    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9519    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9520
9521
95222) iASL Compiler/Disassembler and Tools:
9523
9524No changes for this release.
9525
9526----------------------------------------
952721 July 2006. Summary of changes for version 20060721:
9528
95291) ACPI CA Core Subsystem:
9530
9531The full source code for the ASL test suite used to validate the iASL
9532compiler and the ACPICA core subsystem is being released with the ACPICA
9533source for the first time. The source is contained in a separate package
9534and
9535consists of over 1100 files that exercise all ASL/AML operators. The
9536package
9537should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
9538Fiodor
9539Suietov)
9540
9541Completed a new design and implementation for support of the ACPI Global
9542Lock. On the OS side, the global lock is now treated as a standard AML
9543mutex. Previously, multiple OS threads could "acquire" the global lock
9544simultaneously. However, this could cause the BIOS to be starved out of
9545the
9546lock - especially in cases such as the Embedded Controller driver where
9547there is a tight coupling between the OS and the BIOS.
9548
9549Implemented an optimization for the ACPI Global Lock interrupt mechanism.
9550The Global Lock interrupt handler no longer queues the execution of a
9551separate thread to signal the global lock semaphore. Instead, the
9552semaphore
9553is signaled directly from the interrupt handler.
9554
9555Implemented support within the AML interpreter for package objects that
9556contain a larger AML length (package list length) than the package
9557element
9558count. In this case, the length of the package is truncated to match the
9559package element count. Some BIOS code apparently modifies the package
9560length
9561on the fly, and this change supports this behavior. Provides
9562compatibility
9563with the MS AML interpreter. (With assistance from Fiodor Suietov)
9564
9565Implemented a temporary fix for the BankValue parameter of a Bank Field
9566to
9567support all constant values, now including the Zero and One opcodes.
9568Evaluation of this parameter must eventually be converted to a full
9569TermArg
9570evaluation. A not-implemented error is now returned (temporarily) for
9571non-
9572constant values for this parameter.
9573
9574Fixed problem reports (Fiodor Suietov) integrated:
9575- Fix for premature object deletion after CopyObject on Operation Region
9576(BZ
9577350)
9578
9579Example Code and Data Size: These are the sizes for the OS-independent
9580acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9581debug version of the code includes the debug output trace mechanism and
9582has
9583a much larger code and data size.
9584
9585  Previous Release:
9586    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
9587    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
9588  Current Release:
9589    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9590    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9591
9592
95932) iASL Compiler/Disassembler and Tools:
9594
9595No changes for this release.
9596
9597----------------------------------------
959807 July 2006. Summary of changes for version 20060707:
9599
96001) ACPI CA Core Subsystem:
9601
9602Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
9603that do not allow the initialization of address pointers within packed
9604structures - even though the hardware itself may support misaligned
9605transfers. Some of the debug data structures are packed by default to
9606minimize size.
9607
9608Added an error message for the case where AcpiOsGetThreadId() returns
9609zero.
9610A non-zero value is required by the core ACPICA code to ensure the proper
9611operation of AML mutexes and recursive control methods.
9612
9613The DSDT is now the only ACPI table that determines whether the AML
9614interpreter is in 32-bit or 64-bit mode. Not really a functional change,
9615but
9616the hooks for per-table 32/64 switching have been removed from the code.
9617A
9618clarification to the ACPI specification is forthcoming in ACPI 3.0B.
9619
9620Fixed a possible leak of an OwnerID in the error path of
9621AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
9622deletion to a single place in AcpiTbUninstallTable to correct possible
9623leaks
9624when using the AcpiTbDeleteTablesByType interface (with assistance from
9625Lance Ortiz.)
9626
9627Fixed a problem with Serialized control methods where the semaphore
9628associated with the method could be over-signaled after multiple method
9629invocations.
9630
9631Fixed two issues with the locking of the internal namespace data
9632structure.
9633Both the Unload() operator and AcpiUnloadTable interface now lock the
9634namespace during the namespace deletion associated with the table unload
9635(with assistance from Linn Crosetto.)
9636
9637Fixed problem reports (Valery Podrezov) integrated:
9638- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
9639
9640Fixed problem reports (Fiodor Suietov) integrated:
9641- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
9642- On Address Space handler deletion, needless deactivation call (BZ 374)
9643- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
9644375)
9645- Possible memory leak, Notify sub-objects of Processor, Power,
9646ThermalZone
9647(BZ 376)
9648- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
9649- Minimum Length of RSDT should be validated (BZ 379)
9650- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
9651Handler (BZ (380)
9652- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
9653loaded
9654(BZ 381)
9655
9656Example Code and Data Size: These are the sizes for the OS-independent
9657acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9658debug version of the code includes the debug output trace mechanism and
9659has
9660a much larger code and data size.
9661
9662  Previous Release:
9663    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9664    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9665  Current Release:
9666    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9667    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9668
9669
96702) iASL Compiler/Disassembler and Tools:
9671
9672Fixed problem reports:
9673Compiler segfault when ASL contains a long (>1024) String declaration (BZ
9674436)
9675
9676----------------------------------------
967723 June 2006. Summary of changes for version 20060623:
9678
96791) ACPI CA Core Subsystem:
9680
9681Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
9682allows the type to be customized to the host OS for improved efficiency
9683(since a spinlock is usually a very small object.)
9684
9685Implemented support for "ignored" bits in the ACPI registers. According
9686to
9687the ACPI specification, these bits should be preserved when writing the
9688registers via a read/modify/write cycle. There are 3 bits preserved in
9689this
9690manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
9691
9692Implemented the initial deployment of new OSL mutex interfaces. Since
9693some
9694host operating systems have separate mutex and semaphore objects, this
9695feature was requested. The base code now uses mutexes (and the new mutex
9696interfaces) wherever a binary semaphore was used previously. However, for
9697the current release, the mutex interfaces are defined as macros to map
9698them
9699to the existing semaphore interfaces. Therefore, no OSL changes are
9700required
9701at this time. (See acpiosxf.h)
9702
9703Fixed several problems with the support for the control method SyncLevel
9704parameter. The SyncLevel now works according to the ACPI specification
9705and
9706in concert with the Mutex SyncLevel parameter, since the current
9707SyncLevel
9708is a property of the executing thread. Mutual exclusion for control
9709methods
9710is now implemented with a mutex instead of a semaphore.
9711
9712Fixed three instances of the use of the C shift operator in the bitfield
9713support code (exfldio.c) to avoid the use of a shift value larger than
9714the
9715target data width. The behavior of C compilers is undefined in this case
9716and
9717can cause unpredictable results, and therefore the case must be detected
9718and
9719avoided. (Fiodor Suietov)
9720
9721Added an info message whenever an SSDT or OEM table is loaded dynamically
9722via the Load() or LoadTable() ASL operators. This should improve
9723debugging
9724capability since it will show exactly what tables have been loaded
9725(beyond
9726the tables present in the RSDT/XSDT.)
9727
9728Example Code and Data Size: These are the sizes for the OS-independent
9729acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9730debug version of the code includes the debug output trace mechanism and
9731has
9732a much larger code and data size.
9733
9734  Previous Release:
9735    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
9736    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
9737  Current Release:
9738    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9739    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9740
9741
97422) iASL Compiler/Disassembler and Tools:
9743
9744No changes for this release.
9745
9746----------------------------------------
974708 June 2006. Summary of changes for version 20060608:
9748
97491) ACPI CA Core Subsystem:
9750
9751Converted the locking mutex used for the ACPI hardware to a spinlock.
9752This
9753change should eliminate all problems caused by attempting to acquire a
9754semaphore at interrupt level, and it means that all ACPICA external
9755interfaces that directly access the ACPI hardware can be safely called
9756from
9757interrupt level. OSL code that implements the semaphore interfaces should
9758be
9759able to eliminate any workarounds for being called at interrupt level.
9760
9761Fixed a regression introduced in 20060526 where the ACPI device
9762initialization could be prematurely aborted with an AE_NOT_FOUND if a
9763device
9764did not have an optional _INI method.
9765
9766Fixed an IndexField issue where a write to the Data Register should be
9767limited in size to the AccessSize (width) of the IndexField itself. (BZ
9768433,
9769Fiodor Suietov)
9770
9771Fixed problem reports (Valery Podrezov) integrated:
9772- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
9773
9774Fixed problem reports (Fiodor Suietov) integrated:
9775- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
9776
9777Removed four global mutexes that were obsolete and were no longer being
9778used.
9779
9780Example Code and Data Size: These are the sizes for the OS-independent
9781acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9782debug version of the code includes the debug output trace mechanism and
9783has
9784a much larger code and data size.
9785
9786  Previous Release:
9787    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
9788    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
9789  Current Release:
9790    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
9791    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
9792
9793
97942) iASL Compiler/Disassembler and Tools:
9795
9796Fixed a fault when using -g option (get tables from registry) on Windows
9797machines.
9798
9799Fixed problem reports integrated:
9800- Generate error if CreateField NumBits parameter is zero. (BZ 405)
9801- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
9802Suietov)
9803- Global table revision override (-r) is ignored (BZ 413)
9804
9805----------------------------------------
980626 May 2006. Summary of changes for version 20060526:
9807
98081) ACPI CA Core Subsystem:
9809
9810Restructured, flattened, and simplified the internal interfaces for
9811namespace object evaluation - resulting in smaller code, less CPU stack
9812use,
9813and fewer interfaces. (With assistance from Mikhail Kouzmich)
9814
9815Fixed a problem with the CopyObject operator where the first parameter
9816was
9817not typed correctly for the parser, interpreter, compiler, and
9818disassembler.
9819Caused various errors and unexpected behavior.
9820
9821Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
9822produced incorrect results with some C compilers. Since the behavior of C
9823compilers when the shift value is larger than the datatype width is
9824apparently not well defined, the interpreter now detects this condition
9825and
9826simply returns zero as expected in all such cases. (BZ 395)
9827
9828Fixed problem reports (Valery Podrezov) integrated:
9829- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
9830- Allow interpreter to handle nested method declarations (BZ 5361)
9831
9832Fixed problem reports (Fiodor Suietov) integrated:
9833- AcpiTerminate doesn't free debug memory allocation list objects (BZ
9834355)
9835- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
9836356)
9837- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
9838- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
9839- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
9840- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
9841- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
9842- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
9843- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
9844365)
9845- Status of the Global Initialization Handler call not used (BZ 366)
9846- Incorrect object parameter to Global Initialization Handler (BZ 367)
9847
9848Example Code and Data Size: These are the sizes for the OS-independent
9849acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9850debug version of the code includes the debug output trace mechanism and
9851has
9852a much larger code and data size.
9853
9854  Previous Release:
9855    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
9856    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
9857  Current Release:
9858    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
9859    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
9860
9861
98622) iASL Compiler/Disassembler and Tools:
9863
9864Modified the parser to allow the names IO, DMA, and IRQ to be used as
9865namespace identifiers with no collision with existing resource descriptor
9866macro names. This provides compatibility with other ASL compilers and is
9867most useful for disassembly/recompilation of existing tables without
9868parse
9869errors. (With assistance from Thomas Renninger)
9870
9871Disassembler: fixed an incorrect disassembly problem with the
9872DataTableRegion and CopyObject operators. Fixed a possible fault during
9873disassembly of some Alias operators.
9874
9875----------------------------------------
987612 May 2006. Summary of changes for version 20060512:
9877
98781) ACPI CA Core Subsystem:
9879
9880Replaced the AcpiOsQueueForExecution interface with a new interface named
9881AcpiOsExecute. The major difference is that the new interface does not
9882have
9883a Priority parameter, this appeared to be useless and has been replaced
9884by
9885a
9886Type parameter. The Type tells the host what type of execution is being
9887requested, such as global lock handler, notify handler, GPE handler, etc.
9888This allows the host to queue and execute the request as appropriate for
9889the
9890request type, possibly using different work queues and different
9891priorities
9892for the various request types. This enables fixes for multithreading
9893deadlock problems such as BZ #5534, and will require changes to all
9894existing
9895OS interface layers. (Alexey Starikovskiy and Bob Moore)
9896
9897Fixed a possible memory leak associated with the support for the so-
9898called
9899"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
9900Suietov)
9901
9902Fixed a problem with the Load() operator where a table load from an
9903operation region could overwrite an internal table buffer by up to 7
9904bytes
9905and cause alignment faults on IPF systems. (With assistance from Luming
9906Yu)
9907
9908Example Code and Data Size: These are the sizes for the OS-independent
9909acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9910debug version of the code includes the debug output trace mechanism and
9911has
9912a much larger code and data size.
9913
9914  Previous Release:
9915    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
9916    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
9917  Current Release:
9918    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
9919    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
9920
9921
9922
99232) iASL Compiler/Disassembler and Tools:
9924
9925Disassembler: Implemented support to cross reference the internal
9926namespace
9927and automatically generate ASL External() statements for symbols not
9928defined
9929within the current table being disassembled. This will simplify the
9930disassembly and recompilation of interdependent tables such as SSDTs
9931since
9932these statements will no longer have to be added manually.
9933
9934Disassembler: Implemented experimental support to automatically detect
9935invocations of external control methods and generate appropriate
9936External()
9937statements. This is problematic because the AML cannot be correctly
9938parsed
9939until the number of arguments for each control method is known.
9940Currently,
9941standalone method invocations and invocations as the source operand of a
9942Store() statement are supported.
9943
9944Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
9945LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
9946LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
9947more readable and likely closer to the original ASL source.
9948
9949----------------------------------------
995021 April 2006. Summary of changes for version 20060421:
9951
99521) ACPI CA Core Subsystem:
9953
9954Removed a device initialization optimization introduced in 20051216 where
9955the _STA method was not run unless an _INI was also present for the same
9956device. This optimization could cause problems because it could allow
9957_INI
9958methods to be run within a not-present device subtree. (If a not-present
9959device had no _INI, _STA would not be run, the not-present status would
9960not
9961be discovered, and the children of the device would be incorrectly
9962traversed.)
9963
9964Implemented a new _STA optimization where namespace subtrees that do not
9965contain _INI are identified and ignored during device initialization.
9966Selectively running _STA can significantly improve boot time on large
9967machines (with assistance from Len Brown.)
9968
9969Implemented support for the device initialization case where the returned
9970_STA flags indicate a device not-present but functioning. In this case,
9971_INI
9972is not run, but the device children are examined for presence, as per the
9973ACPI specification.
9974
9975Implemented an additional change to the IndexField support in order to
9976conform to MS behavior. The value written to the Index Register is not
9977simply a byte offset, it is a byte offset in units of the access width of
9978the parent Index Field. (Fiodor Suietov)
9979
9980Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
9981interface is called during the creation of all AML operation regions, and
9982allows the host OS to exert control over what addresses it will allow the
9983AML code to access. Operation Regions whose addresses are disallowed will
9984cause a runtime exception when they are actually accessed (will not
9985affect
9986or abort table loading.) See oswinxf or osunixxf for an example
9987implementation.
9988
9989Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
9990interface allows the host OS to match the various "optional"
9991interface/behavior strings for the _OSI predefined control method as
9992appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
9993for an example implementation.
9994
9995Restructured and corrected various problems in the exception handling
9996code
9997paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
9998(with assistance from Takayoshi Kochi.)
9999
10000Modified the Linux source converter to ignore quoted string literals
10001while
10002converting identifiers from mixed to lower case. This will correct
10003problems
10004with the disassembler and other areas where such strings must not be
10005modified.
10006
10007The ACPI_FUNCTION_* macros no longer require quotes around the function
10008name. This allows the Linux source converter to convert the names, now
10009that
10010the converter ignores quoted strings.
10011
10012Example Code and Data Size: These are the sizes for the OS-independent
10013acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10014debug version of the code includes the debug output trace mechanism and
10015has
10016a much larger code and data size.
10017
10018  Previous Release:
10019
10020    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10021    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10022  Current Release:
10023    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
10024    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
10025
10026
100272) iASL Compiler/Disassembler and Tools:
10028
10029Implemented 3 new warnings for iASL, and implemented multiple warning
10030levels
10031(w2 flag).
10032
100331) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
10034not
10035WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
10036check for the possible timeout, a warning is issued.
10037
100382) Useless operators: If an ASL operator does not specify an optional
10039target
10040operand and it also does not use the function return value from the
10041operator, a warning is issued since the operator effectively does
10042nothing.
10043
100443) Unreferenced objects: If a namespace object is created, but never
10045referenced, a warning is issued. This is a warning level 2 since there
10046are
10047cases where this is ok, such as when a secondary table is loaded that
10048uses
10049the unreferenced objects. Even so, care is taken to only flag objects
10050that
10051don't look like they will ever be used. For example, the reserved methods
10052(starting with an underscore) are usually not referenced because it is
10053expected that the OS will invoke them.
10054
10055----------------------------------------
1005631 March 2006. Summary of changes for version 20060331:
10057
100581) ACPI CA Core Subsystem:
10059
10060Implemented header file support for the following additional ACPI tables:
10061ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
10062support,
10063all current and known ACPI tables are now defined in the ACPICA headers
10064and
10065are available for use by device drivers and other software.
10066
10067Implemented support to allow tables that contain ACPI names with invalid
10068characters to be loaded. Previously, this would cause the table load to
10069fail, but since there are several known cases of such tables on existing
10070machines, this change was made to enable ACPI support for them. Also,
10071this
10072matches the behavior of the Microsoft ACPI implementation.
10073
10074Fixed a couple regressions introduced during the memory optimization in
10075the
1007620060317 release. The namespace node definition required additional
10077reorganization and an internal datatype that had been changed to 8-bit
10078was
10079restored to 32-bit. (Valery Podrezov)
10080
10081Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
10082could be passed through to AcpiOsReleaseObject which is unexpected. Such
10083null pointers are now trapped and ignored, matching the behavior of the
10084previous implementation before the deployment of AcpiOsReleaseObject.
10085(Valery Podrezov, Fiodor Suietov)
10086
10087Fixed a memory mapping leak during the deletion of a SystemMemory
10088operation
10089region where a cached memory mapping was not deleted. This became a
10090noticeable problem for operation regions that are defined within
10091frequently
10092used control methods. (Dana Meyers)
10093
10094Reorganized the ACPI table header files into two main files: one for the
10095ACPI tables consumed by the ACPICA core, and another for the
10096miscellaneous
10097ACPI tables that are consumed by the drivers and other software. The
10098various
10099FADT definitions were merged into one common section and three different
10100tables (ACPI 1.0, 1.0+, and 2.0)
10101
10102Example Code and Data Size: These are the sizes for the OS-independent
10103acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10104debug version of the code includes the debug output trace mechanism and
10105has
10106a much larger code and data size.
10107
10108  Previous Release:
10109    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10110    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10111  Current Release:
10112    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10113    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10114
10115
101162) iASL Compiler/Disassembler and Tools:
10117
10118Disassembler: Implemented support to decode and format all non-AML ACPI
10119tables (tables other than DSDTs and SSDTs.) This includes the new tables
10120added to the ACPICA headers, therefore all current and known ACPI tables
10121are
10122supported.
10123
10124Disassembler: The change to allow ACPI names with invalid characters also
10125enables the disassembly of such tables. Invalid characters within names
10126are
10127changed to '*' to make the name printable; the iASL compiler will still
10128generate an error for such names, however, since this is an invalid ACPI
10129character.
10130
10131Implemented an option for AcpiXtract (-a) to extract all tables found in
10132the
10133input file. The default invocation extracts only the DSDTs and SSDTs.
10134
10135Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
10136makefile for the AcpiXtract utility.
10137
10138----------------------------------------
1013917 March 2006. Summary of changes for version 20060317:
10140
101411) ACPI CA Core Subsystem:
10142
10143Implemented the use of a cache object for all internal namespace nodes.
10144Since there are about 1000 static nodes in a typical system, this will
10145decrease memory use for cache implementations that minimize per-
10146allocation
10147overhead (such as a slab allocator.)
10148
10149Removed the reference count mechanism for internal namespace nodes, since
10150it
10151was deemed unnecessary. This reduces the size of each namespace node by
10152about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
10153case,
10154and 32 bytes for the 64-bit case.
10155
10156Optimized several internal data structures to reduce object size on 64-
10157bit
10158platforms by packing data within the 64-bit alignment. This includes the
10159frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
10160instances corresponding to the namespace objects.
10161
10162Added two new strings for the predefined _OSI method: "Windows 2001.1
10163SP1"
10164and "Windows 2006".
10165
10166Split the allocation tracking mechanism out to a separate file, from
10167utalloc.c to uttrack.c. This mechanism appears to be only useful for
10168application-level code. Kernels may wish to not include uttrack.c in
10169distributions.
10170
10171Removed all remnants of the obsolete ACPI_REPORT_* macros and the
10172associated
10173code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
10174macros.)
10175
10176Code and Data Size: These are the sizes for the acpica.lib produced by
10177the
10178Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
10179ACPI
10180driver or OSPM code. The debug version of the code includes the debug
10181output
10182trace mechanism and has a much larger code and data size. Note that these
10183values will vary depending on the efficiency of the compiler and the
10184compiler options used during generation.
10185
10186  Previous Release:
10187    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10188    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10189  Current Release:
10190    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10191    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10192
10193
101942) iASL Compiler/Disassembler and Tools:
10195
10196Implemented an ANSI C version of the acpixtract utility. This version
10197will
10198automatically extract the DSDT and all SSDTs from the input acpidump text
10199file and dump the binary output to separate files. It can also display a
10200summary of the input file including the headers for each table found and
10201will extract any single ACPI table, with any signature. (See
10202source/tools/acpixtract)
10203
10204----------------------------------------
1020510 March 2006. Summary of changes for version 20060310:
10206
102071) ACPI CA Core Subsystem:
10208
10209Tagged all external interfaces to the subsystem with the new
10210ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
10211assist
10212kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
10213macro. The default definition is NULL.
10214
10215Added the ACPI_THREAD_ID type for the return value from
10216AcpiOsGetThreadId.
10217This allows the host to define this as necessary to simplify kernel
10218integration. The default definition is ACPI_NATIVE_UINT.
10219
10220Fixed two interpreter problems related to error processing, the deletion
10221of
10222objects, and placing invalid pointers onto the internal operator result
10223stack. BZ 6028, 6151 (Valery Podrezov)
10224
10225Increased the reference count threshold where a warning is emitted for
10226large
10227reference counts in order to eliminate unnecessary warnings on systems
10228with
10229large namespaces (especially 64-bit.) Increased the value from 0x400 to
102300x800.
10231
10232Due to universal disagreement as to the meaning of the 'c' in the
10233calloc()
10234function, the ACPI_MEM_CALLOCATE macro has been renamed to
10235ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
10236ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
10237ACPI_FREE.
10238
10239Code and Data Size: These are the sizes for the acpica.lib produced by
10240the
10241Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
10242ACPI
10243driver or OSPM code. The debug version of the code includes the debug
10244output
10245trace mechanism and has a much larger code and data size. Note that these
10246values will vary depending on the efficiency of the compiler and the
10247compiler options used during generation.
10248
10249  Previous Release:
10250    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10251    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10252  Current Release:
10253    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10254    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10255
10256
102572) iASL Compiler/Disassembler:
10258
10259Disassembler: implemented support for symbolic resource descriptor
10260references. If a CreateXxxxField operator references a fixed offset
10261within
10262a
10263resource descriptor, a name is assigned to the descriptor and the offset
10264is
10265translated to the appropriate resource tag and pathname. The addition of
10266this support brings the disassembled code very close to the original ASL
10267source code and helps eliminate run-time errors when the disassembled
10268code
10269is modified (and recompiled) in such a way as to invalidate the original
10270fixed offsets.
10271
10272Implemented support for a Descriptor Name as the last parameter to the
10273ASL
10274Register() macro. This parameter was inadvertently left out of the ACPI
10275specification, and will be added for ACPI 3.0b.
10276
10277Fixed a problem where the use of the "_OSI" string (versus the full path
10278"\_OSI") caused an internal compiler error. ("No back ptr to op")
10279
10280Fixed a problem with the error message that occurs when an invalid string
10281is
10282used for a _HID object (such as one with an embedded asterisk:
10283"*PNP010A".)
10284The correct message is now displayed.
10285
10286----------------------------------------
1028717 February 2006. Summary of changes for version 20060217:
10288
102891) ACPI CA Core Subsystem:
10290
10291Implemented a change to the IndexField support to match the behavior of
10292the
10293Microsoft AML interpreter. The value written to the Index register is now
10294a
10295byte offset, no longer an index based upon the width of the Data
10296register.
10297This should fix IndexField problems seen on some machines where the Data
10298register is not exactly one byte wide. The ACPI specification will be
10299clarified on this point.
10300
10301Fixed a problem where several resource descriptor types could overrun the
10302internal descriptor buffer due to size miscalculation: VendorShort,
10303VendorLong, and Interrupt. This was noticed on IA64 machines, but could
10304affect all platforms.
10305
10306Fixed a problem where individual resource descriptors were misaligned
10307within
10308the internal buffer, causing alignment faults on IA64 platforms.
10309
10310Code and Data Size: These are the sizes for the acpica.lib produced by
10311the
10312Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
10313ACPI
10314driver or OSPM code. The debug version of the code includes the debug
10315output
10316trace mechanism and has a much larger code and data size. Note that these
10317values will vary depending on the efficiency of the compiler and the
10318compiler options used during generation.
10319
10320  Previous Release:
10321    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10322    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10323  Current Release:
10324    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10325    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10326
10327
103282) iASL Compiler/Disassembler:
10329
10330Implemented support for new reserved names: _WDG and _WED are Microsoft
10331extensions for Windows Instrumentation Management, _TDL is a new ACPI-
10332defined method (Throttling Depth Limit.)
10333
10334Fixed a problem where a zero-length VendorShort or VendorLong resource
10335descriptor was incorrectly emitted as a descriptor of length one.
10336
10337----------------------------------------
1033810 February 2006. Summary of changes for version 20060210:
10339
103401) ACPI CA Core Subsystem:
10341
10342Removed a couple of extraneous ACPI_ERROR messages that appeared during
10343normal execution. These became apparent after the conversion from
10344ACPI_DEBUG_PRINT.
10345
10346Fixed a problem where the CreateField operator could hang if the BitIndex
10347or
10348NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
10349
10350Fixed a problem where a DeRefOf operation on a buffer object incorrectly
10351failed with an exception. This also fixes a couple of related RefOf and
10352DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
10353
10354Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
10355of
10356AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
10357BZ
103585480)
10359
10360Implemented a memory cleanup at the end of the execution of each
10361iteration
10362of an AML While() loop, preventing the accumulation of outstanding
10363objects.
10364(Valery Podrezov, BZ 5427)
10365
10366Eliminated a chunk of duplicate code in the object resolution code.
10367(Valery
10368Podrezov, BZ 5336)
10369
10370Fixed several warnings during the 64-bit code generation.
10371
10372The AcpiSrc source code conversion tool now inserts one line of
10373whitespace
10374after an if() statement that is followed immediately by a comment,
10375improving
10376readability of the Linux code.
10377
10378Code and Data Size: The current and previous library sizes for the core
10379subsystem are shown below. These are the code and data sizes for the
10380acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10381These
10382values do not include any ACPI driver or OSPM code. The debug version of
10383the
10384code includes the debug output trace mechanism and has a much larger code
10385and data size. Note that these values will vary depending on the
10386efficiency
10387of the compiler and the compiler options used during generation.
10388
10389  Previous Release:
10390    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10391    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10392  Current Release:
10393    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10394    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10395
10396
103972) iASL Compiler/Disassembler:
10398
10399Fixed a problem with the disassembly of a BankField operator with a
10400complex
10401expression for the BankValue parameter.
10402
10403----------------------------------------
1040427 January 2006. Summary of changes for version 20060127:
10405
104061) ACPI CA Core Subsystem:
10407
10408Implemented support in the Resource Manager to allow unresolved
10409namestring
10410references within resource package objects for the _PRT method. This
10411support
10412is in addition to the previously implemented unresolved reference support
10413within the AML parser. If the interpreter slack mode is enabled, these
10414unresolved references will be passed through to the caller as a NULL
10415package
10416entry.
10417
10418Implemented and deployed new macros and functions for error and warning
10419messages across the subsystem. These macros are simpler and generate less
10420code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
10421ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
10422macros remain defined to allow ACPI drivers time to migrate to the new
10423macros.
10424
10425Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
10426the
10427Acquire/Release Lock OSL interfaces.
10428
10429Fixed a problem where Alias ASL operators are sometimes not correctly
10430resolved, in both the interpreter and the iASL compiler.
10431
10432Fixed several problems with the implementation of the
10433ConcatenateResTemplate
10434ASL operator. As per the ACPI specification, zero length buffers are now
10435treated as a single EndTag. One-length buffers always cause a fatal
10436exception. Non-zero length buffers that do not end with a full 2-byte
10437EndTag
10438cause a fatal exception.
10439
10440Fixed a possible structure overwrite in the AcpiGetObjectInfo external
10441interface. (With assistance from Thomas Renninger)
10442
10443Code and Data Size: The current and previous library sizes for the core
10444subsystem are shown below. These are the code and data sizes for the
10445acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10446These
10447values do not include any ACPI driver or OSPM code. The debug version of
10448the
10449code includes the debug output trace mechanism and has a much larger code
10450and data size. Note that these values will vary depending on the
10451efficiency
10452of the compiler and the compiler options used during generation.
10453
10454  Previous Release:
10455    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10456    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10457  Current Release:
10458    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10459    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10460
10461
104622) iASL Compiler/Disassembler:
10463
10464Fixed an internal error that was generated for any forward references to
10465ASL
10466Alias objects.
10467
10468----------------------------------------
1046913 January 2006. Summary of changes for version 20060113:
10470
104711) ACPI CA Core Subsystem:
10472
10473Added 2006 copyright to all module headers and signons. This affects
10474virtually every file in the ACPICA core subsystem, iASL compiler, and the
10475utilities.
10476
10477Enhanced the ACPICA error reporting in order to simplify user migration
10478to
10479the non-debug version of ACPICA. Replaced all instances of the
10480ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
10481debug
10482levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
10483respectively. This preserves all error and warning messages in the non-
10484debug
10485version of the ACPICA code (this has been referred to as the "debug lite"
10486option.) Over 200 cases were converted to create a total of over 380
10487error/warning messages across the ACPICA code. This increases the code
10488and
10489data size of the default non-debug version of the code somewhat (about
1049013K),
10491but all error/warning reporting may be disabled if desired (and code
10492eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
10493configuration option. The size of the debug version of ACPICA remains
10494about
10495the same.
10496
10497Fixed a memory leak within the AML Debugger "Set" command. One object was
10498not properly deleted for every successful invocation of the command.
10499
10500Code and Data Size: The current and previous library sizes for the core
10501subsystem are shown below. These are the code and data sizes for the
10502acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10503These
10504values do not include any ACPI driver or OSPM code. The debug version of
10505the
10506code includes the debug output trace mechanism and has a much larger code
10507and data size. Note that these values will vary depending on the
10508efficiency
10509of the compiler and the compiler options used during generation.
10510
10511  Previous Release:
10512    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10513    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10514  Current Release:
10515    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10516    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10517
10518
105192) iASL Compiler/Disassembler:
10520
10521The compiler now officially supports the ACPI 3.0a specification that was
10522released on December 30, 2005. (Specification is available at
10523www.acpi.info)
10524
10525----------------------------------------
1052616 December 2005. Summary of changes for version 20051216:
10527
105281) ACPI CA Core Subsystem:
10529
10530Implemented optional support to allow unresolved names within ASL Package
10531objects. A null object is inserted in the package when a named reference
10532cannot be located in the current namespace. Enabled via the interpreter
10533slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
10534machines
10535that contain such code.
10536
10537Implemented an optimization to the initialization sequence that can
10538improve
10539boot time. During ACPI device initialization, the _STA method is now run
10540if
10541and only if the _INI method exists. The _STA method is used to determine
10542if
10543the device is present; An _INI can only be run if _STA returns present,
10544but
10545it is a waste of time to run the _STA method if the _INI does not exist.
10546(Prototype and assistance from Dong Wei)
10547
10548Implemented use of the C99 uintptr_t for the pointer casting macros if it
10549is
10550available in the current compiler. Otherwise, the default (void *) cast
10551is
10552used as before.
10553
10554Fixed some possible memory leaks found within the execution path of the
10555Break, Continue, If, and CreateField operators. (Valery Podrezov)
10556
10557Fixed a problem introduced in the 20051202 release where an exception is
10558generated during method execution if a control method attempts to declare
10559another method.
10560
10561Moved resource descriptor string constants that are used by both the AML
10562disassembler and AML debugger to the common utilities directory so that
10563these components are independent.
10564
10565Implemented support in the AcpiExec utility (-e switch) to globally
10566ignore
10567exceptions during control method execution (method is not aborted.)
10568
10569Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
10570generation.
10571
10572Code and Data Size: The current and previous library sizes for the core
10573subsystem are shown below. These are the code and data sizes for the
10574acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10575These
10576values do not include any ACPI driver or OSPM code. The debug version of
10577the
10578code includes the debug output trace mechanism and has a much larger code
10579and data size. Note that these values will vary depending on the
10580efficiency
10581of the compiler and the compiler options used during generation.
10582
10583  Previous Release:
10584    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10585    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10586  Current Release:
10587    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10588    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10589
10590
105912) iASL Compiler/Disassembler:
10592
10593Fixed a problem where a CPU stack overflow fault could occur if a
10594recursive
10595method call was made from within a Return statement.
10596
10597----------------------------------------
1059802 December 2005. Summary of changes for version 20051202:
10599
106001) ACPI CA Core Subsystem:
10601
10602Modified the parsing of control methods to no longer create namespace
10603objects during the first pass of the parse. Objects are now created only
10604during the execute phase, at the moment the namespace creation operator
10605is
10606encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
10607This
10608should eliminate ALREADY_EXISTS exceptions seen on some machines where
10609reentrant control methods are protected by an AML mutex. The mutex will
10610now
10611correctly block multiple threads from attempting to create the same
10612object
10613more than once.
10614
10615Increased the number of available Owner Ids for namespace object tracking
10616from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
10617on
10618some machines with a large number of ACPI tables (either static or
10619dynamic).
10620
10621Fixed a problem with the AcpiExec utility where a fault could occur when
10622the
10623-b switch (batch mode) is used.
10624
10625Enhanced the namespace dump routine to output the owner ID for each
10626namespace object.
10627
10628Code and Data Size: The current and previous library sizes for the core
10629subsystem are shown below. These are the code and data sizes for the
10630acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10631These
10632values do not include any ACPI driver or OSPM code. The debug version of
10633the
10634code includes the debug output trace mechanism and has a much larger code
10635and data size. Note that these values will vary depending on the
10636efficiency
10637of the compiler and the compiler options used during generation.
10638
10639  Previous Release:
10640    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10641    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10642  Current Release:
10643    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10644    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10645
10646
106472) iASL Compiler/Disassembler:
10648
10649Fixed a parse error during compilation of certain Switch/Case constructs.
10650To
10651simplify the parse, the grammar now allows for multiple Default
10652statements
10653and this error is now detected and flagged during the analysis phase.
10654
10655Disassembler: The disassembly now includes the contents of the original
10656table header within a comment at the start of the file. This includes the
10657name and version of the original ASL compiler.
10658
10659----------------------------------------
1066017 November 2005. Summary of changes for version 20051117:
10661
106621) ACPI CA Core Subsystem:
10663
10664Fixed a problem in the AML parser where the method thread count could be
10665decremented below zero if any errors occurred during the method parse
10666phase.
10667This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
10668machines.
10669This also fixed a related regression with the mechanism that detects and
10670corrects methods that cannot properly handle reentrancy (related to the
10671deployment of the new OwnerId mechanism.)
10672
10673Eliminated the pre-parsing of control methods (to detect errors) during
10674table load. Related to the problem above, this was causing unwind issues
10675if
10676any errors occurred during the parse, and it seemed to be overkill. A
10677table
10678load should not be aborted if there are problems with any single control
10679method, thus rendering this feature rather pointless.
10680
10681Fixed a problem with the new table-driven resource manager where an
10682internal
10683buffer overflow could occur for small resource templates.
10684
10685Implemented a new external interface, AcpiGetVendorResource. This
10686interface
10687will find and return a vendor-defined resource descriptor within a _CRS
10688or
10689_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
10690Helgaas.
10691
10692Removed the length limit (200) on string objects as per the upcoming ACPI
106933.0A specification. This affects the following areas of the interpreter:
106941)
10695any implicit conversion of a Buffer to a String, 2) a String object
10696result
10697of the ASL Concatentate operator, 3) the String object result of the ASL
10698ToString operator.
10699
10700Fixed a problem in the Windows OS interface layer (OSL) where a
10701WAIT_FOREVER
10702on a semaphore object would incorrectly timeout. This allows the
10703multithreading features of the AcpiExec utility to work properly under
10704Windows.
10705
10706Updated the Linux makefiles for the iASL compiler and AcpiExec to include
10707the recently added file named "utresrc.c".
10708
10709Code and Data Size: The current and previous library sizes for the core
10710subsystem are shown below. These are the code and data sizes for the
10711acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10712These
10713values do not include any ACPI driver or OSPM code. The debug version of
10714the
10715code includes the debug output trace mechanism and has a much larger code
10716and data size. Note that these values will vary depending on the
10717efficiency
10718of the compiler and the compiler options used during generation.
10719
10720  Previous Release:
10721    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
10722    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10723  Current Release:
10724    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10725    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10726
10727
107282) iASL Compiler/Disassembler:
10729
10730Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
10731specification. For the iASL compiler, this means that string literals
10732within
10733the source ASL can be of any length.
10734
10735Enhanced the listing output to dump the AML code for resource descriptors
10736immediately after the ASL code for each descriptor, instead of in a block
10737at
10738the end of the entire resource template.
10739
10740Enhanced the compiler debug output to dump the entire original parse tree
10741constructed during the parse phase, before any transforms are applied to
10742the
10743tree. The transformed tree is dumped also.
10744
10745----------------------------------------
1074602 November 2005. Summary of changes for version 20051102:
10747
107481) ACPI CA Core Subsystem:
10749
10750Modified the subsystem initialization sequence to improve GPE support.
10751The
10752GPE initialization has been split into two parts in order to defer
10753execution
10754of the _PRW methods (Power Resources for Wake) until after the hardware
10755is
10756fully initialized and the SCI handler is installed. This allows the _PRW
10757methods to access fields protected by the Global Lock. This will fix
10758systems
10759where a NO_GLOBAL_LOCK exception has been seen during initialization.
10760
10761Converted the ACPI internal object disassemble and display code within
10762the
10763AML debugger to fully table-driven operation, reducing code size and
10764increasing maintainability.
10765
10766Fixed a regression with the ConcatenateResTemplate() ASL operator
10767introduced
10768in the 20051021 release.
10769
10770Implemented support for "local" internal ACPI object types within the
10771debugger "Object" command and the AcpiWalkNamespace external interfaces.
10772These local types include RegionFields, BankFields, IndexFields, Alias,
10773and
10774reference objects.
10775
10776Moved common AML resource handling code into a new file, "utresrc.c".
10777This
10778code is shared by both the Resource Manager and the AML Debugger.
10779
10780Code and Data Size: The current and previous library sizes for the core
10781subsystem are shown below. These are the code and data sizes for the
10782acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10783These
10784values do not include any ACPI driver or OSPM code. The debug version of
10785the
10786code includes the debug output trace mechanism and has a much larger code
10787and data size. Note that these values will vary depending on the
10788efficiency
10789of the compiler and the compiler options used during generation.
10790
10791  Previous Release:
10792    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
10793    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
10794  Current Release:
10795    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
10796    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10797
10798
107992) iASL Compiler/Disassembler:
10800
10801Fixed a problem with very large initializer lists (more than 4000
10802elements)
10803for both Buffer and Package objects where the parse stack could overflow.
10804
10805Enhanced the pre-compile source code scan for non-ASCII characters to
10806ignore
10807characters within comment fields. The scan is now always performed and is
10808no
10809longer optional, detecting invalid characters within a source file
10810immediately rather than during the parse phase or later.
10811
10812Enhanced the ASL grammar definition to force early reductions on all
10813list-
10814style grammar elements so that the overall parse stack usage is greatly
10815reduced. This should improve performance and reduce the possibility of
10816parse
10817stack overflow.
10818
10819Eliminated all reduce/reduce conflicts in the iASL parser generation.
10820Also,
10821with the addition of a %expected statement, the compiler generates from
10822source with no warnings.
10823
10824Fixed a possible segment fault in the disassembler if the input filename
10825does not contain a "dot" extension (Thomas Renninger).
10826
10827----------------------------------------
1082821 October 2005. Summary of changes for version 20051021:
10829
108301) ACPI CA Core Subsystem:
10831
10832Implemented support for the EM64T and other x86-64 processors. This
10833essentially entails recognizing that these processors support non-aligned
10834memory transfers. Previously, all 64-bit processors were assumed to lack
10835hardware support for non-aligned transfers.
10836
10837Completed conversion of the Resource Manager to nearly full table-driven
10838operation. Specifically, the resource conversion code (convert AML to
10839internal format and the reverse) and the debug code to dump internal
10840resource descriptors are fully table-driven, reducing code and data size
10841and
10842improving maintainability.
10843
10844The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
10845word
10846on 64-bit processors instead of a fixed 32-bit word. (With assistance
10847from
10848Alexey Starikovskiy)
10849
10850Implemented support within the resource conversion code for the Type-
10851Specific byte within the various ACPI 3.0 *WordSpace macros.
10852
10853Fixed some issues within the resource conversion code for the type-
10854specific
10855flags for both Memory and I/O address resource descriptors. For Memory,
10856implemented support for the MTP and TTP flags. For I/O, split the TRS and
10857TTP flags into two separate fields.
10858
10859Code and Data Size: The current and previous library sizes for the core
10860subsystem are shown below. These are the code and data sizes for the
10861acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10862These
10863values do not include any ACPI driver or OSPM code. The debug version of
10864the
10865code includes the debug output trace mechanism and has a much larger code
10866and data size. Note that these values will vary depending on the
10867efficiency
10868of the compiler and the compiler options used during generation.
10869
10870  Previous Release:
10871    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
10872    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
10873  Current Release:
10874    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
10875    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
10876
10877
10878
108792) iASL Compiler/Disassembler:
10880
10881Relaxed a compiler restriction that disallowed a ResourceIndex byte if
10882the
10883corresponding ResourceSource string was not also present in a resource
10884descriptor declaration. This restriction caused problems with existing
10885AML/ASL code that includes the Index byte without the string. When such
10886AML
10887was disassembled, it could not be compiled without modification. Further,
10888the modified code created a resource template with a different size than
10889the
10890original, breaking code that used fixed offsets into the resource
10891template
10892buffer.
10893
10894Removed a recent feature of the disassembler to ignore a lone
10895ResourceIndex
10896byte. This byte is now emitted if present so that the exact AML can be
10897reproduced when the disassembled code is recompiled.
10898
10899Improved comments and text alignment for the resource descriptor code
10900emitted by the disassembler.
10901
10902Implemented disassembler support for the ACPI 3.0 AccessSize field within
10903a
10904Register() resource descriptor.
10905
10906----------------------------------------
1090730 September 2005. Summary of changes for version 20050930:
10908
109091) ACPI CA Core Subsystem:
10910
10911Completed a major overhaul of the Resource Manager code - specifically,
10912optimizations in the area of the AML/internal resource conversion code.
10913The
10914code has been optimized to simplify and eliminate duplicated code, CPU
10915stack
10916use has been decreased by optimizing function parameters and local
10917variables, and naming conventions across the manager have been
10918standardized
10919for clarity and ease of maintenance (this includes function, parameter,
10920variable, and struct/typedef names.) The update may force changes in some
10921driver code, depending on how resources are handled by the host OS.
10922
10923All Resource Manager dispatch and information tables have been moved to a
10924single location for clarity and ease of maintenance. One new file was
10925created, named "rsinfo.c".
10926
10927The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
10928guarantee that the argument is not evaluated twice, making them less
10929prone
10930to macro side-effects. However, since there exists the possibility of
10931additional stack use if a particular compiler cannot optimize them (such
10932as
10933in the debug generation case), the original macros are optionally
10934available.
10935Note that some invocations of the return_VALUE macro may now cause size
10936mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
10937to
10938eliminate these. (From Randy Dunlap)
10939
10940Implemented a new mechanism to enable debug tracing for individual
10941control
10942methods. A new external interface, AcpiDebugTrace, is provided to enable
10943this mechanism. The intent is to allow the host OS to easily enable and
10944disable tracing for problematic control methods. This interface can be
10945easily exposed to a user or debugger interface if desired. See the file
10946psxface.c for details.
10947
10948AcpiUtCallocate will now return a valid pointer if a length of zero is
10949specified - a length of one is used and a warning is issued. This matches
10950the behavior of AcpiUtAllocate.
10951
10952Code and Data Size: The current and previous library sizes for the core
10953subsystem are shown below. These are the code and data sizes for the
10954acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10955These
10956values do not include any ACPI driver or OSPM code. The debug version of
10957the
10958code includes the debug output trace mechanism and has a much larger code
10959and data size. Note that these values will vary depending on the
10960efficiency
10961of the compiler and the compiler options used during generation.
10962
10963  Previous Release:
10964    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
10965    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
10966  Current Release:
10967    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
10968    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
10969
10970
109712) iASL Compiler/Disassembler:
10972
10973A remark is issued if the effective compile-time length of a package or
10974buffer is zero. Previously, this was a warning.
10975
10976----------------------------------------
1097716 September 2005. Summary of changes for version 20050916:
10978
109791) ACPI CA Core Subsystem:
10980
10981Fixed a problem within the Resource Manager where support for the Generic
10982Register descriptor was not fully implemented. This descriptor is now
10983fully
10984recognized, parsed, disassembled, and displayed.
10985
10986Completely restructured the Resource Manager code to utilize table-driven
10987dispatch and lookup, eliminating many of the large switch() statements.
10988This
10989reduces overall subsystem code size and code complexity. Affects the
10990resource parsing and construction, disassembly, and debug dump output.
10991
10992Cleaned up and restructured the debug dump output for all resource
10993descriptors. Improved readability of the output and reduced code size.
10994
10995Fixed a problem where changes to internal data structures caused the
10996optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
10997
10998Code and Data Size: The current and previous library sizes for the core
10999subsystem are shown below. These are the code and data sizes for the
11000acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11001These
11002values do not include any ACPI driver or OSPM code. The debug version of
11003the
11004code includes the debug output trace mechanism and has a much larger code
11005and data size. Note that these values will vary depending on the
11006efficiency
11007of the compiler and the compiler options used during generation.
11008
11009  Previous Release:
11010    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11011    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11012  Current Release:
11013    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
11014    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
11015
11016
110172) iASL Compiler/Disassembler:
11018
11019Updated the disassembler to automatically insert an EndDependentFn()
11020macro
11021into the ASL stream if this macro is missing in the original AML code,
11022simplifying compilation of the resulting ASL module.
11023
11024Fixed a problem in the disassembler where a disassembled ResourceSource
11025string (within a large resource descriptor) was not surrounded by quotes
11026and
11027not followed by a comma, causing errors when the resulting ASL module was
11028compiled. Also, escape sequences within a ResourceSource string are now
11029handled correctly (especially "\\")
11030
11031----------------------------------------
1103202 September 2005. Summary of changes for version 20050902:
11033
110341) ACPI CA Core Subsystem:
11035
11036Fixed a problem with the internal Owner ID allocation and deallocation
11037mechanisms for control method execution and recursive method invocation.
11038This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
11039messages seen on some systems. Recursive method invocation depth is
11040currently limited to 255. (Alexey Starikovskiy)
11041
11042Completely eliminated all vestiges of support for the "module-level
11043executable code" until this support is fully implemented and debugged.
11044This
11045should eliminate the NO_RETURN_VALUE exceptions seen during table load on
11046some systems that invoke this support.
11047
11048Fixed a problem within the resource manager code where the transaction
11049flags
11050for a 64-bit address descriptor were handled incorrectly in the type-
11051specific flag byte.
11052
11053Consolidated duplicate code within the address descriptor resource
11054manager
11055code, reducing overall subsystem code size.
11056
11057Fixed a fault when using the AML debugger "disassemble" command to
11058disassemble individual control methods.
11059
11060Removed references to the "release_current" directory within the Unix
11061release package.
11062
11063Code and Data Size: The current and previous core subsystem library sizes
11064are shown below. These are the code and data sizes for the acpica.lib
11065produced by the Microsoft Visual C++ 6.0 compiler. These values do not
11066include any ACPI driver or OSPM code. The debug version of the code
11067includes
11068the debug output trace mechanism and has a much larger code and data
11069size.
11070Note that these values will vary depending on the efficiency of the
11071compiler
11072and the compiler options used during generation.
11073
11074  Previous Release:
11075    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11076    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11077  Current Release:
11078    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
11079    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
11080
11081
110822) iASL Compiler/Disassembler:
11083
11084Implemented an error check for illegal duplicate values in the interrupt
11085and
11086dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
11087Interrupt().
11088
11089Implemented error checking for the Irq() and IrqNoFlags() macros to
11090detect
11091too many values in the interrupt list (16 max) and invalid values in the
11092list (range 0 - 15)
11093
11094The maximum length string literal within an ASL file is now restricted to
11095200 characters as per the ACPI specification.
11096
11097Fixed a fault when using the -ln option (generate namespace listing).
11098
11099Implemented an error check to determine if a DescriptorName within a
11100resource descriptor has already been used within the current scope.
11101
11102----------------------------------------
1110315 August 2005.  Summary of changes for version 20050815:
11104
111051) ACPI CA Core Subsystem:
11106
11107Implemented a full bytewise compare to determine if a table load request
11108is
11109attempting to load a duplicate table. The compare is performed if the
11110table
11111signatures and table lengths match. This will allow different tables with
11112the same OEM Table ID and revision to be loaded - probably against the
11113ACPI
11114specification, but discovered in the field nonetheless.
11115
11116Added the changes.txt logfile to each of the zipped release packages.
11117
11118Code and Data Size: Current and previous core subsystem library sizes are
11119shown below. These are the code and data sizes for the acpica.lib
11120produced
11121by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11122any ACPI driver or OSPM code. The debug version of the code includes the
11123debug output trace mechanism and has a much larger code and data size.
11124Note
11125that these values will vary depending on the efficiency of the compiler
11126and
11127the compiler options used during generation.
11128
11129  Previous Release:
11130    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11131    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11132  Current Release:
11133    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11134    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11135
11136
111372) iASL Compiler/Disassembler:
11138
11139Fixed a problem where incorrect AML code could be generated for Package
11140objects if optimization is disabled (via the -oa switch).
11141
11142Fixed a problem with where incorrect AML code is generated for variable-
11143length packages when the package length is not specified and the number
11144of
11145initializer values is greater than 255.
11146
11147
11148----------------------------------------
1114929 July 2005.  Summary of changes for version 20050729:
11150
111511) ACPI CA Core Subsystem:
11152
11153Implemented support to ignore an attempt to install/load a particular
11154ACPI
11155table more than once. Apparently there exists BIOS code that repeatedly
11156attempts to load the same SSDT upon certain events. With assistance from
11157Venkatesh Pallipadi.
11158
11159Restructured the main interface to the AML parser in order to correctly
11160handle all exceptional conditions. This will prevent leakage of the
11161OwnerId
11162resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
11163some
11164machines. With assistance from Alexey Starikovskiy.
11165
11166Support for "module level code" has been disabled in this version due to
11167a
11168number of issues that have appeared on various machines. The support can
11169be
11170enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
11171compilation. When the issues are fully resolved, the code will be enabled
11172by
11173default again.
11174
11175Modified the internal functions for debug print support to define the
11176FunctionName parameter as a (const char *) for compatibility with
11177compiler
11178built-in macros such as __FUNCTION__, etc.
11179
11180Linted the entire ACPICA source tree for both 32-bit and 64-bit.
11181
11182Implemented support to display an object count summary for the AML
11183Debugger
11184commands Object and Methods.
11185
11186Code and Data Size: Current and previous core subsystem library sizes are
11187shown below. These are the code and data sizes for the acpica.lib
11188produced
11189by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11190any ACPI driver or OSPM code. The debug version of the code includes the
11191debug output trace mechanism and has a much larger code and data size.
11192Note
11193that these values will vary depending on the efficiency of the compiler
11194and
11195the compiler options used during generation.
11196
11197  Previous Release:
11198    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11199    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11200  Current Release:
11201    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11202    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11203
11204
112052) iASL Compiler/Disassembler:
11206
11207Fixed a regression that appeared in the 20050708 version of the compiler
11208where an error message was inadvertently emitted for invocations of the
11209_OSI
11210reserved control method.
11211
11212----------------------------------------
1121308 July 2005.  Summary of changes for version 20050708:
11214
112151) ACPI CA Core Subsystem:
11216
11217The use of the CPU stack in the debug version of the subsystem has been
11218considerably reduced. Previously, a debug structure was declared in every
11219function that used the debug macros. This structure has been removed in
11220favor of declaring the individual elements as parameters to the debug
11221functions. This reduces the cumulative stack use during nested execution
11222of
11223ACPI function calls at the cost of a small increase in the code size of
11224the
11225debug version of the subsystem. With assistance from Alexey Starikovskiy
11226and
11227Len Brown.
11228
11229Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
11230headers to define a macro that will return the current function name at
11231runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
11232by
11233the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
11234compiler-dependent header, the function name is saved on the CPU stack
11235(one
11236pointer per function.) This mechanism is used because apparently there
11237exists no standard ANSI-C defined macro that that returns the function
11238name.
11239
11240Redesigned and reimplemented the "Owner ID" mechanism used to track
11241namespace objects created/deleted by ACPI tables and control method
11242execution. A bitmap is now used to allocate and free the IDs, thus
11243solving
11244the wraparound problem present in the previous implementation. The size
11245of
11246the namespace node descriptor was reduced by 2 bytes as a result (Alexey
11247Starikovskiy).
11248
11249Removed the UINT32_BIT and UINT16_BIT types that were used for the
11250bitfield
11251flag definitions within the headers for the predefined ACPI tables. These
11252have been replaced by UINT8_BIT in order to increase the code portability
11253of
11254the subsystem. If the use of UINT8 remains a problem, we may be forced to
11255eliminate bitfields entirely because of a lack of portability.
11256
11257Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
11258This
11259is a frequently used function and this improvement increases the
11260performance
11261of the entire subsystem (Alexey Starikovskiy).
11262
11263Fixed several possible memory leaks and the inverse - premature object
11264deletion (Alexey Starikovskiy).
11265
11266Code and Data Size: Current and previous core subsystem library sizes are
11267shown below. These are the code and data sizes for the acpica.lib
11268produced
11269by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11270any ACPI driver or OSPM code. The debug version of the code includes the
11271debug output trace mechanism and has a much larger code and data size.
11272Note
11273that these values will vary depending on the efficiency of the compiler
11274and
11275the compiler options used during generation.
11276
11277  Previous Release:
11278    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11279    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11280  Current Release:
11281    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11282    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11283
11284----------------------------------------
1128524 June 2005.  Summary of changes for version 20050624:
11286
112871) ACPI CA Core Subsystem:
11288
11289Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
11290the host-defined cache object. This allows the OSL implementation to
11291define
11292and type this object in any manner desired, simplifying the OSL
11293implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
11294Linux, and should be defined in the OS-specific header file for other
11295operating systems as required.
11296
11297Changed the interface to AcpiOsAcquireObject to directly return the
11298requested object as the function return (instead of ACPI_STATUS.) This
11299change was made for performance reasons, since this is the purpose of the
11300interface in the first place. AcpiOsAcquireObject is now similar to the
11301AcpiOsAllocate interface.
11302
11303Implemented a new AML debugger command named Businfo. This command
11304displays
11305information about all devices that have an associate _PRT object. The
11306_ADR,
11307_HID, _UID, and _CID are displayed for these devices.
11308
11309Modified the initialization sequence in AcpiInitializeSubsystem to call
11310the
11311OSL interface AcpiOslInitialize first, before any local initialization.
11312This
11313change was required because the global initialization now calls OSL
11314interfaces.
11315
11316Enhanced the Dump command to display the entire contents of Package
11317objects
11318(including all sub-objects and their values.)
11319
11320Restructured the code base to split some files because of size and/or
11321because the code logically belonged in a separate file. New files are
11322listed
11323below. All makefiles and project files included in the ACPI CA release
11324have
11325been updated.
11326    utilities/utcache.c           /* Local cache interfaces */
11327    utilities/utmutex.c           /* Local mutex support */
11328    utilities/utstate.c           /* State object support */
11329    interpreter/parser/psloop.c   /* Main AML parse loop */
11330
11331Code and Data Size: Current and previous core subsystem library sizes are
11332shown below. These are the code and data sizes for the acpica.lib
11333produced
11334by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11335any ACPI driver or OSPM code. The debug version of the code includes the
11336debug output trace mechanism and has a much larger code and data size.
11337Note
11338that these values will vary depending on the efficiency of the compiler
11339and
11340the compiler options used during generation.
11341
11342  Previous Release:
11343    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11344    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11345  Current Release:
11346    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11347    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11348
11349
113502) iASL Compiler/Disassembler:
11351
11352Fixed a regression introduced in version 20050513 where the use of a
11353Package
11354object within a Case() statement caused a compile time exception. The
11355original behavior has been restored (a Match() operator is emitted.)
11356
11357----------------------------------------
1135817 June 2005.  Summary of changes for version 20050617:
11359
113601) ACPI CA Core Subsystem:
11361
11362Moved the object cache operations into the OS interface layer (OSL) to
11363allow
11364the host OS to handle these operations if desired (for example, the Linux
11365OSL will invoke the slab allocator). This support is optional; the
11366compile
11367time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
11368cache
11369code in the ACPI CA core. The new OSL interfaces are shown below. See
11370utalloc.c for an example implementation, and acpiosxf.h for the exact
11371interface definitions. With assistance from Alexey Starikovskiy.
11372    AcpiOsCreateCache
11373    AcpiOsDeleteCache
11374    AcpiOsPurgeCache
11375    AcpiOsAcquireObject
11376    AcpiOsReleaseObject
11377
11378Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
11379return
11380and restore a flags parameter. This fits better with many OS lock models.
11381Note: the current execution state (interrupt handler or not) is no longer
11382passed to these interfaces. If necessary, the OSL must determine this
11383state
11384by itself, a simple and fast operation. With assistance from Alexey
11385Starikovskiy.
11386
11387Fixed a problem in the ACPI table handling where a valid XSDT was assumed
11388present if the revision of the RSDP was 2 or greater. According to the
11389ACPI
11390specification, the XSDT is optional in all cases, and the table manager
11391therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
11392Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
11393contain
11394only the RSDT.
11395
11396Fixed an interpreter problem with the Mid() operator in the case of an
11397input
11398string where the resulting output string is of zero length. It now
11399correctly
11400returns a valid, null terminated string object instead of a string object
11401with a null pointer.
11402
11403Fixed a problem with the control method argument handling to allow a
11404store
11405to an Arg object that already contains an object of type Device. The
11406Device
11407object is now correctly overwritten. Previously, an error was returned.
11408
11409
11410Enhanced the debugger Find command to emit object values in addition to
11411the
11412found object pathnames. The output format is the same as the dump
11413namespace
11414command.
11415
11416Enhanced the debugger Set command. It now has the ability to set the
11417value
11418of any Named integer object in the namespace (Previously, only method
11419locals
11420and args could be set.)
11421
11422Code and Data Size: Current and previous core subsystem library sizes are
11423shown below. These are the code and data sizes for the acpica.lib
11424produced
11425by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11426any ACPI driver or OSPM code. The debug version of the code includes the
11427debug output trace mechanism and has a much larger code and data size.
11428Note
11429that these values will vary depending on the efficiency of the compiler
11430and
11431the compiler options used during generation.
11432
11433  Previous Release:
11434    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11435    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11436  Current Release:
11437    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11438    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11439
11440
114412) iASL Compiler/Disassembler:
11442
11443Fixed a regression in the disassembler where if/else/while constructs
11444were
11445output incorrectly. This problem was introduced in the previous release
11446(20050526). This problem also affected the single-step disassembly in the
11447debugger.
11448
11449Fixed a problem where compiling the reserved _OSI method would randomly
11450(but
11451rarely) produce compile errors.
11452
11453Enhanced the disassembler to emit compilable code in the face of
11454incorrect
11455AML resource descriptors. If the optional ResourceSourceIndex is present,
11456but the ResourceSource is not, do not emit the ResourceSourceIndex in the
11457disassembly. Otherwise, the resulting code cannot be compiled without
11458errors.
11459
11460----------------------------------------
1146126 May 2005.  Summary of changes for version 20050526:
11462
114631) ACPI CA Core Subsystem:
11464
11465Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
11466the module level (not within a control method.) These opcodes are
11467executed
11468exactly once at the time the table is loaded. This type of code was legal
11469up
11470until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
11471in
11472order to provide backwards compatibility with earlier BIOS
11473implementations.
11474This eliminates the "Encountered executable code at module level" warning
11475that was previously generated upon detection of such code.
11476
11477Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
11478inadvertently be generated during the lookup of namespace objects in the
11479second pass parse of ACPI tables and control methods. It appears that
11480this
11481problem could occur during the resolution of forward references to
11482namespace
11483objects.
11484
11485Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
11486corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
11487allows the deadlock detection debug code to be compiled out in the normal
11488case, improving mutex performance (and overall subsystem performance)
11489considerably.
11490
11491Implemented a handful of miscellaneous fixes for possible memory leaks on
11492error conditions and error handling control paths. These fixes were
11493suggested by FreeBSD and the Coverity Prevent source code analysis tool.
11494
11495Added a check for a null RSDT pointer in AcpiGetFirmwareTable
11496(tbxfroot.c)
11497to prevent a fault in this error case.
11498
11499Code and Data Size: Current and previous core subsystem library sizes are
11500shown below. These are the code and data sizes for the acpica.lib
11501produced
11502by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11503any ACPI driver or OSPM code. The debug version of the code includes the
11504debug output trace mechanism and has a much larger code and data size.
11505Note
11506that these values will vary depending on the efficiency of the compiler
11507and
11508the compiler options used during generation.
11509
11510  Previous Release:
11511    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11512    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11513  Current Release:
11514    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11515    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11516
11517
115182) iASL Compiler/Disassembler:
11519
11520Implemented support to allow Type 1 and Type 2 ASL operators to appear at
11521the module level (not within a control method.) These operators will be
11522executed once at the time the table is loaded. This type of code was
11523legal
11524up until the release of ACPI 2.0B (2002) and is now supported by the iASL
11525compiler in order to provide backwards compatibility with earlier BIOS
11526ASL
11527code.
11528
11529The ACPI integer width (specified via the table revision ID or the -r
11530override, 32 or 64 bits) is now used internally during compile-time
11531constant
11532folding to ensure that constants are truncated to 32 bits if necessary.
11533Previously, the revision ID value was only emitted in the AML table
11534header.
11535
11536An error message is now generated for the Mutex and Method operators if
11537the
11538SyncLevel parameter is outside the legal range of 0 through 15.
11539
11540Fixed a problem with the Method operator ParameterTypes list handling
11541(ACPI
115423.0). Previously, more than 2 types or 2 arguments generated a syntax
11543error.
11544The actual underlying implementation of method argument typechecking is
11545still under development, however.
11546
11547----------------------------------------
1154813 May 2005.  Summary of changes for version 20050513:
11549
115501) ACPI CA Core Subsystem:
11551
11552Implemented support for PCI Express root bridges -- added support for
11553device
11554PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
11555
11556The interpreter now automatically truncates incoming 64-bit constants to
1155732
11558bits if currently executing out of a 32-bit ACPI table (Revision < 2).
11559This
11560also affects the iASL compiler constant folding. (Note: as per below, the
11561iASL compiler no longer allows 64-bit constants within 32-bit tables.)
11562
11563Fixed a problem where string and buffer objects with "static" pointers
11564(pointers to initialization data within an ACPI table) were not handled
11565consistently. The internal object copy operation now always copies the
11566data
11567to a newly allocated buffer, regardless of whether the source object is
11568static or not.
11569
11570Fixed a problem with the FromBCD operator where an implicit result
11571conversion was improperly performed while storing the result to the
11572target
11573operand. Since this is an "explicit conversion" operator, the implicit
11574conversion should never be performed on the output.
11575
11576Fixed a problem with the CopyObject operator where a copy to an existing
11577named object did not always completely overwrite the existing object
11578stored
11579at name. Specifically, a buffer-to-buffer copy did not delete the
11580existing
11581buffer.
11582
11583Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
11584and
11585structs for consistency.
11586
11587Code and Data Size: Current and previous core subsystem library sizes are
11588shown below. These are the code and data sizes for the acpica.lib
11589produced
11590by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11591any ACPI driver or OSPM code. The debug version of the code includes the
11592debug output trace mechanism and has a much larger code and data size.
11593Note
11594that these values will vary depending on the efficiency of the compiler
11595and
11596the compiler options used during generation.
11597
11598  Previous Release:
11599    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11600    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11601  Current Release: (Same sizes)
11602    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11603    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11604
11605
116062) iASL Compiler/Disassembler:
11607
11608The compiler now emits a warning if an attempt is made to generate a 64-
11609bit
11610integer constant from within a 32-bit ACPI table (Revision < 2). The
11611integer
11612is truncated to 32 bits.
11613
11614Fixed a problem with large package objects: if the static length of the
11615package is greater than 255, the "variable length package" opcode is
11616emitted. Previously, this caused an error. This requires an update to the
11617ACPI spec, since it currently (incorrectly) states that packages larger
11618than
11619255 elements are not allowed.
11620
11621The disassembler now correctly handles variable length packages and
11622packages
11623larger than 255 elements.
11624
11625----------------------------------------
1162608 April 2005.  Summary of changes for version 20050408:
11627
116281) ACPI CA Core Subsystem:
11629
11630Fixed three cases in the interpreter where an "index" argument to an ASL
11631function was still (internally) 32 bits instead of the required 64 bits.
11632This was the Index argument to the Index, Mid, and Match operators.
11633
11634The "strupr" function is now permanently local (AcpiUtStrupr), since this
11635is
11636not a POSIX-defined function and not present in most kernel-level C
11637libraries. All references to the C library strupr function have been
11638removed
11639from the headers.
11640
11641Completed the deployment of static functions/prototypes. All prototypes
11642with
11643the static attribute have been moved from the headers to the owning C
11644file.
11645
11646Implemented an extract option (-e) for the AcpiBin utility (AML binary
11647utility). This option allows the utility to extract individual ACPI
11648tables
11649from the output of AcpiDmp. It provides the same functionality of the
11650acpixtract.pl perl script without the worry of setting the correct perl
11651options. AcpiBin runs on Windows and has not yet been generated/validated
11652in
11653the Linux/Unix environment (but should be soon).
11654
11655Updated and fixed the table dump option for AcpiBin (-d). This option
11656converts a single ACPI table to a hex/ascii file, similar to the output
11657of
11658AcpiDmp.
11659
11660Code and Data Size: Current and previous core subsystem library sizes are
11661shown below. These are the code and data sizes for the acpica.lib
11662produced
11663by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11664any ACPI driver or OSPM code. The debug version of the code includes the
11665debug output trace mechanism and has a much larger code and data size.
11666Note
11667that these values will vary depending on the efficiency of the compiler
11668and
11669the compiler options used during generation.
11670
11671  Previous Release:
11672    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11673    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11674  Current Release:
11675    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11676    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11677
11678
116792) iASL Compiler/Disassembler:
11680
11681Disassembler fix: Added a check to ensure that the table length found in
11682the
11683ACPI table header within the input file is not longer than the actual
11684input
11685file size. This indicates some kind of file or table corruption.
11686
11687----------------------------------------
1168829 March 2005.  Summary of changes for version 20050329:
11689
116901) ACPI CA Core Subsystem:
11691
11692An error is now generated if an attempt is made to create a Buffer Field
11693of
11694length zero (A CreateField with a length operand of zero.)
11695
11696The interpreter now issues a warning whenever executable code at the
11697module
11698level is detected during ACPI table load. This will give some idea of the
11699prevalence of this type of code.
11700
11701Implemented support for references to named objects (other than control
11702methods) within package objects.
11703
11704Enhanced package object output for the debug object. Package objects are
11705now
11706completely dumped, showing all elements.
11707
11708Enhanced miscellaneous object output for the debug object. Any object can
11709now be written to the debug object (for example, a device object can be
11710written, and the type of the object will be displayed.)
11711
11712The "static" qualifier has been added to all local functions across both
11713the
11714core subsystem and the iASL compiler.
11715
11716The number of "long" lines (> 80 chars) within the source has been
11717significantly reduced, by about 1/3.
11718
11719Cleaned up all header files to ensure that all CA/iASL functions are
11720prototyped (even static functions) and the formatting is consistent.
11721
11722Two new header files have been added, acopcode.h and acnames.h.
11723
11724Removed several obsolete functions that were no longer used.
11725
11726Code and Data Size: Current and previous core subsystem library sizes are
11727shown below. These are the code and data sizes for the acpica.lib
11728produced
11729by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11730any ACPI driver or OSPM code. The debug version of the code includes the
11731debug output trace mechanism and has a much larger code and data size.
11732Note
11733that these values will vary depending on the efficiency of the compiler
11734and
11735the compiler options used during generation.
11736
11737  Previous Release:
11738    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11739    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
11740  Current Release:
11741    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11742    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11743
11744
11745
117462) iASL Compiler/Disassembler:
11747
11748Fixed a problem with the resource descriptor generation/support. For the
11749ResourceSourceIndex and the ResourceSource fields, both must be present,
11750or
11751both must be not present - can't have one without the other.
11752
11753The compiler now returns non-zero from the main procedure if any errors
11754have
11755occurred during the compilation.
11756
11757
11758----------------------------------------
1175909 March 2005.  Summary of changes for version 20050309:
11760
117611) ACPI CA Core Subsystem:
11762
11763The string-to-buffer implicit conversion code has been modified again
11764after
11765a change to the ACPI specification.  In order to match the behavior of
11766the
11767other major ACPI implementation, the target buffer is no longer truncated
11768if
11769the source string is smaller than an existing target buffer. This change
11770requires an update to the ACPI spec, and should eliminate the recent
11771AE_AML_BUFFER_LIMIT issues.
11772
11773The "implicit return" support was rewritten to a new algorithm that
11774solves
11775the general case. Rather than attempt to determine when a method is about
11776to
11777exit, the result of every ASL operator is saved momentarily until the
11778very
11779next ASL operator is executed. Therefore, no matter how the method exits,
11780there will always be a saved implicit return value. This feature is only
11781enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
11782eliminate
11783AE_AML_NO_RETURN_VALUE errors when enabled.
11784
11785Implemented implicit conversion support for the predicate (operand) of
11786the
11787If, Else, and While operators. String and Buffer arguments are
11788automatically
11789converted to Integers.
11790
11791Changed the string-to-integer conversion behavior to match the new ACPI
11792errata: "If no integer object exists, a new integer is created. The ASCII
11793string is interpreted as a hexadecimal constant. Each string character is
11794interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
11795with the first character as the most significant digit, and ending with
11796the
11797first non-hexadecimal character or end-of-string." This means that the
11798first
11799non-hex character terminates the conversion and this is the code that was
11800changed.
11801
11802Fixed a problem where the ObjectType operator would fail (fault) when
11803used
11804on an Index of a Package which pointed to a null package element. The
11805operator now properly returns zero (Uninitialized) in this case.
11806
11807Fixed a problem where the While operator used excessive memory by not
11808properly popping the result stack during execution. There was no memory
11809leak
11810after execution, however. (Code provided by Valery Podrezov.)
11811
11812Fixed a problem where references to control methods within Package
11813objects
11814caused the method to be invoked, instead of producing a reference object
11815pointing to the method.
11816
11817Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
11818to
11819improve performance and reduce code size. (Code provided by Alexey
11820Starikovskiy.)
11821
11822Code and Data Size: Current and previous core subsystem library sizes are
11823shown below. These are the code and data sizes for the acpica.lib
11824produced
11825by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11826any ACPI driver or OSPM code. The debug version of the code includes the
11827debug output trace mechanism and has a much larger code and data size.
11828Note
11829that these values will vary depending on the efficiency of the compiler
11830and
11831the compiler options used during generation.
11832
11833  Previous Release:
11834    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11835    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
11836  Current Release:
11837    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11838    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
11839
11840
118412) iASL Compiler/Disassembler:
11842
11843Fixed a problem with the Return operator with no arguments. Since the AML
11844grammar for the byte encoding requires an operand for the Return opcode,
11845the
11846compiler now emits a Return(Zero) for this case.  An ACPI specification
11847update has been written for this case.
11848
11849For tables other than the DSDT, namepath optimization is automatically
11850disabled. This is because SSDTs can be loaded anywhere in the namespace,
11851the
11852compiler has no knowledge of where, and thus cannot optimize namepaths.
11853
11854Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
11855inadvertently omitted from the ACPI specification, and will require an
11856update to the spec.
11857
11858The source file scan for ASCII characters is now optional (-a). This
11859change
11860was made because some vendors place non-ascii characters within comments.
11861However, the scan is simply a brute-force byte compare to ensure all
11862characters in the file are in the range 0x00 to 0x7F.
11863
11864Fixed a problem with the CondRefOf operator where the compiler was
11865inappropriately checking for the existence of the target. Since the point
11866of
11867the operator is to check for the existence of the target at run-time, the
11868compiler no longer checks for the target existence.
11869
11870Fixed a problem where errors generated from the internal AML interpreter
11871during constant folding were not handled properly, causing a fault.
11872
11873Fixed a problem with overly aggressive range checking for the Stall
11874operator. The valid range (max 255) is now only checked if the operand is
11875of
11876type Integer. All other operand types cannot be statically checked.
11877
11878Fixed a problem where control method references within the RefOf,
11879DeRefOf,
11880and ObjectType operators were not treated properly. They are now treated
11881as
11882actual references, not method invocations.
11883
11884Fixed and enhanced the "list namespace" option (-ln). This option was
11885broken
11886a number of releases ago.
11887
11888Improved error handling for the Field, IndexField, and BankField
11889operators.
11890The compiler now cleanly reports and recovers from errors in the field
11891component (FieldUnit) list.
11892
11893Fixed a disassembler problem where the optional ResourceDescriptor fields
11894TRS and TTP were not always handled correctly.
11895
11896Disassembler - Comments in output now use "//" instead of "/*"
11897
11898----------------------------------------
1189928 February 2005.  Summary of changes for version 20050228:
11900
119011) ACPI CA Core Subsystem:
11902
11903Fixed a problem where the result of an Index() operator (an object
11904reference) must increment the reference count on the target object for
11905the
11906life of the object reference.
11907
11908Implemented AML Interpreter and Debugger support for the new ACPI 3.0
11909Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
11910WordSpace
11911resource descriptors.
11912
11913Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
11914Space Descriptor" string, indicating interpreter support for the
11915descriptors
11916above.
11917
11918Implemented header support for the new ACPI 3.0 FADT flag bits.
11919
11920Implemented header support for the new ACPI 3.0 PCI Express bits for the
11921PM1
11922status/enable registers.
11923
11924Updated header support for the MADT processor local Apic struct and MADT
11925platform interrupt source struct for new ACPI 3.0 fields.
11926
11927Implemented header support for the SRAT and SLIT ACPI tables.
11928
11929Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
11930flag
11931at runtime.
11932
11933Code and Data Size: Current and previous core subsystem library sizes are
11934shown below. These are the code and data sizes for the acpica.lib
11935produced
11936by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11937any ACPI driver or OSPM code. The debug version of the code includes the
11938debug output trace mechanism and has a much larger code and data size.
11939Note
11940that these values will vary depending on the efficiency of the compiler
11941and
11942the compiler options used during generation.
11943
11944  Previous Release:
11945    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
11946    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
11947  Current Release:
11948    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11949    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
11950
11951
119522) iASL Compiler/Disassembler:
11953
11954Fixed a problem with the internal 64-bit String-to-integer conversion
11955with
11956strings less than two characters long.
11957
11958Fixed a problem with constant folding where the result of the Index()
11959operator can not be considered a constant. This means that Index() cannot
11960be
11961a type3 opcode and this will require an update to the ACPI specification.
11962
11963Disassembler: Implemented support for the TTP, MTP, and TRS resource
11964descriptor fields. These fields were inadvertently ignored and not output
11965in
11966the disassembly of the resource descriptor.
11967
11968
11969 ----------------------------------------
1197011 February 2005.  Summary of changes for version 20050211:
11971
119721) ACPI CA Core Subsystem:
11973
11974Implemented ACPI 3.0 support for implicit conversion within the Match()
11975operator. MatchObjects can now be of type integer, buffer, or string
11976instead
11977of just type integer.  Package elements are implicitly converted to the
11978type
11979of the MatchObject. This change aligns the behavior of Match() with the
11980behavior of the other logical operators (LLess(), etc.) It also requires
11981an
11982errata change to the ACPI specification as this support was intended for
11983ACPI 3.0, but was inadvertently omitted.
11984
11985Fixed a problem with the internal implicit "to buffer" conversion.
11986Strings
11987that are converted to buffers will cause buffer truncation if the string
11988is
11989smaller than the target buffer. Integers that are converted to buffers
11990will
11991not cause buffer truncation, only zero extension (both as per the ACPI
11992spec.) The problem was introduced when code was added to truncate the
11993buffer, but this should not be performed in all cases, only the string
11994case.
11995
11996Fixed a problem with the Buffer and Package operators where the
11997interpreter
11998would get confused if two such operators were used as operands to an ASL
11999operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
12000stack was not being popped after the execution of these operators,
12001resulting
12002in an AE_NO_RETURN_VALUE exception.
12003
12004Fixed a problem with constructs of the form Store(Index(...),...). The
12005reference object returned from Index was inadvertently resolved to an
12006actual
12007value. This problem was introduced in version 20050114 when the behavior
12008of
12009Store() was modified to restrict the object types that can be used as the
12010source operand (to match the ACPI specification.)
12011
12012Reduced excessive stack use within the AcpiGetObjectInfo procedure.
12013
12014Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
12015
12016Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
12017
12018Code and Data Size: Current and previous core subsystem library sizes are
12019shown below. These are the code and data sizes for the acpica.lib
12020produced
12021by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12022any ACPI driver or OSPM code. The debug version of the code includes the
12023debug output trace mechanism and has a much larger code and data size.
12024Note
12025that these values will vary depending on the efficiency of the compiler
12026and
12027the compiler options used during generation.
12028
12029  Previous Release:
12030    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
12031    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
12032  Current Release:
12033    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
12034    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
12035
12036
120372) iASL Compiler/Disassembler:
12038
12039Fixed a code generation problem in the constant folding optimization code
12040where incorrect code was generated if a constant was reduced to a buffer
12041object (i.e., a reduced type 5 opcode.)
12042
12043Fixed a typechecking problem for the ToBuffer operator. Caused by an
12044incorrect return type in the internal opcode information table.
12045
12046----------------------------------------
1204725 January 2005.  Summary of changes for version 20050125:
12048
120491) ACPI CA Core Subsystem:
12050
12051Fixed a recently introduced problem with the Global Lock where the
12052underlying semaphore was not created.  This problem was introduced in
12053version 20050114, and caused an AE_AML_NO_OPERAND exception during an
12054Acquire() operation on _GL.
12055
12056The local object cache is now optional, and is disabled by default. Both
12057AcpiExec and the iASL compiler enable the cache because they run in user
12058mode and this enhances their performance. #define
12059ACPI_ENABLE_OBJECT_CACHE
12060to enable the local cache.
12061
12062Fixed an issue in the internal function AcpiUtEvaluateObject concerning
12063the
12064optional "implicit return" support where an error was returned if no
12065return
12066object was expected, but one was implicitly returned. AE_OK is now
12067returned
12068in this case and the implicitly returned object is deleted.
12069AcpiUtEvaluateObject is only occasionally used, and only to execute
12070reserved
12071methods such as _STA and _INI where the return type is known up front.
12072
12073Fixed a few issues with the internal convert-to-integer code. It now
12074returns
12075an error if an attempt is made to convert a null string, a string of only
12076blanks/tabs, or a zero-length buffer. This affects both implicit
12077conversion
12078and explicit conversion via the ToInteger() operator.
12079
12080The internal debug code in AcpiUtAcquireMutex has been commented out. It
12081is
12082not needed for normal operation and should increase the performance of
12083the
12084entire subsystem. The code remains in case it is needed for debug
12085purposes
12086again.
12087
12088The AcpiExec source and makefile are included in the Unix/Linux package
12089for
12090the first time.
12091
12092Code and Data Size: Current and previous core subsystem library sizes are
12093shown below. These are the code and data sizes for the acpica.lib
12094produced
12095by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12096any ACPI driver or OSPM code. The debug version of the code includes the
12097debug output trace mechanism and has a much larger code and data size.
12098Note
12099that these values will vary depending on the efficiency of the compiler
12100and
12101the compiler options used during generation.
12102
12103  Previous Release:
12104    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12105    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12106  Current Release:
12107    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
12108    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
12109
121102) iASL Compiler/Disassembler:
12111
12112Switch/Case support: A warning is now issued if the type of the Switch
12113value
12114cannot be determined at compile time. For example, Switch(Arg0) will
12115generate the warning, and the type is assumed to be an integer. As per
12116the
12117ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
12118the
12119warning.
12120
12121Switch/Case support: Implemented support for buffer and string objects as
12122the switch value.  This is an ACPI 3.0 feature, now that LEqual supports
12123buffers and strings.
12124
12125Switch/Case support: The emitted code for the LEqual() comparisons now
12126uses
12127the switch value as the first operand, not the second. The case value is
12128now
12129the second operand, and this allows the case value to be implicitly
12130converted to the type of the switch value, not the other way around.
12131
12132Switch/Case support: Temporary variables are now emitted immediately
12133within
12134the control method, not at the global level. This means that there are
12135now
1213636 temps available per-method, not 36 temps per-module as was the case
12137with
12138the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
12139
12140----------------------------------------
1214114 January 2005.  Summary of changes for version 20050114:
12142
12143Added 2005 copyright to all module headers.  This affects every module in
12144the core subsystem, iASL compiler, and the utilities.
12145
121461) ACPI CA Core Subsystem:
12147
12148Fixed an issue with the String-to-Buffer conversion code where the string
12149null terminator was not included in the buffer after conversion, but
12150there
12151is existing ASL that assumes the string null terminator is included. This
12152is
12153the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
12154introduced in the previous version when the code was updated to correctly
12155set the converted buffer size as per the ACPI specification. The ACPI
12156spec
12157is ambiguous and will be updated to specify that the null terminator must
12158be
12159included in the converted buffer. This also affects the ToBuffer() ASL
12160operator.
12161
12162Fixed a problem with the Mid() ASL/AML operator where it did not work
12163correctly on Buffer objects. Newly created sub-buffers were not being
12164marked
12165as initialized.
12166
12167
12168Fixed a problem in AcpiTbFindTable where incorrect string compares were
12169performed on the OemId and OemTableId table header fields.  These fields
12170are
12171not null terminated, so strncmp is now used instead of strcmp.
12172
12173Implemented a restriction on the Store() ASL/AML operator to align the
12174behavior with the ACPI specification.  Previously, any object could be
12175used
12176as the source operand.  Now, the only objects that may be used are
12177Integers,
12178Buffers, Strings, Packages, Object References, and DDB Handles.  If
12179necessary, the original behavior can be restored by enabling the
12180EnableInterpreterSlack flag.
12181
12182Enhanced the optional "implicit return" support to allow an implicit
12183return
12184value from methods that are invoked externally via the AcpiEvaluateObject
12185interface.  This enables implicit returns from the _STA and _INI methods,
12186for example.
12187
12188Changed the Revision() ASL/AML operator to return the current version of
12189the
12190AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
12191returned
12192the supported ACPI version (This is the function of the _REV method).
12193
12194Updated the _REV predefined method to return the currently supported
12195version
12196of ACPI, now 3.
12197
12198Implemented batch mode option for the AcpiExec utility (-b).
12199
12200Code and Data Size: Current and previous core subsystem library sizes are
12201shown below. These are the code and data sizes for the acpica.lib
12202produced
12203by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12204any ACPI driver or OSPM code. The debug version of the code includes the
12205debug output trace mechanism and has a much larger code and data size.
12206Note
12207that these values will vary depending on the efficiency of the compiler
12208and
12209the compiler options used during generation.
12210
12211  Previous Release:
12212    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12213    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12214  Current Release:
12215    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12216    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12217
12218----------------------------------------
1221910 December 2004.  Summary of changes for version 20041210:
12220
12221ACPI 3.0 support is nearing completion in both the iASL compiler and the
12222ACPI CA core subsystem.
12223
122241) ACPI CA Core Subsystem:
12225
12226Fixed a problem in the ToDecimalString operator where the resulting
12227string
12228length was incorrectly calculated. The length is now calculated exactly,
12229eliminating incorrect AE_STRING_LIMIT exceptions.
12230
12231Fixed a problem in the ToHexString operator to allow a maximum 200
12232character
12233string to be produced.
12234
12235Fixed a problem in the internal string-to-buffer and buffer-to-buffer
12236copy
12237routine where the length of the resulting buffer was not truncated to the
12238new size (if the target buffer already existed).
12239
12240Code and Data Size: Current and previous core subsystem library sizes are
12241shown below. These are the code and data sizes for the acpica.lib
12242produced
12243by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12244any ACPI driver or OSPM code. The debug version of the code includes the
12245debug output trace mechanism and has a much larger code and data size.
12246Note
12247that these values will vary depending on the efficiency of the compiler
12248and
12249the compiler options used during generation.
12250
12251  Previous Release:
12252    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12253    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12254  Current Release:
12255    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12256    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12257
12258
122592) iASL Compiler/Disassembler:
12260
12261Implemented the new ACPI 3.0 resource template macros - DWordSpace,
12262ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
12263Includes support in the disassembler.
12264
12265Implemented support for the new (ACPI 3.0) parameter to the Register
12266macro,
12267AccessSize.
12268
12269Fixed a problem where the _HE resource name for the Interrupt macro was
12270referencing bit 0 instead of bit 1.
12271
12272Implemented check for maximum 255 interrupts in the Interrupt macro.
12273
12274Fixed a problem with the predefined resource descriptor names where
12275incorrect AML code was generated if the offset within the resource buffer
12276was 0 or 1.  The optimizer shortened the AML code to a single byte opcode
12277but did not update the surrounding package lengths.
12278
12279Changes to the Dma macro:  All channels within the channel list must be
12280in
12281the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is
12282optional (default is BusMaster).
12283
12284Implemented check for maximum 7 data bytes for the VendorShort macro.
12285
12286The ReadWrite parameter is now optional for the Memory32 and similar
12287macros.
12288
12289----------------------------------------
1229003 December 2004.  Summary of changes for version 20041203:
12291
122921) ACPI CA Core Subsystem:
12293
12294The low-level field insertion/extraction code (exfldio) has been
12295completely
12296rewritten to eliminate unnecessary complexity, bugs, and boundary
12297conditions.
12298
12299Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
12300ToDecimalString
12301operators where the input operand could be inadvertently deleted if no
12302conversion was necessary (e.g., if the input to ToInteger was an Integer
12303object.)
12304
12305Fixed a problem with the ToDecimalString and ToHexString where an
12306incorrect
12307exception code was returned if the resulting string would be > 200 chars.
12308AE_STRING_LIMIT is now returned.
12309
12310Fixed a problem with the Concatenate operator where AE_OK was always
12311returned, even if the operation failed.
12312
12313Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
12314semaphores to be allocated.
12315
12316Code and Data Size: Current and previous core subsystem library sizes are
12317shown below. These are the code and data sizes for the acpica.lib
12318produced
12319by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12320any ACPI driver or OSPM code. The debug version of the code includes the
12321debug output trace mechanism and has a much larger code and data size.
12322Note
12323that these values will vary depending on the efficiency of the compiler
12324and
12325the compiler options used during generation.
12326
12327  Previous Release:
12328    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12329    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12330  Current Release:
12331    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12332    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12333
12334
123352) iASL Compiler/Disassembler:
12336
12337Fixed typechecking for the ObjectType and SizeOf operators.  Problem was
12338recently introduced in 20041119.
12339
12340Fixed a problem with the ToUUID macro where the upper nybble of each
12341buffer
12342byte was inadvertently set to zero.
12343
12344----------------------------------------
1234519 November 2004.  Summary of changes for version 20041119:
12346
123471) ACPI CA Core Subsystem:
12348
12349Fixed a problem in the internal ConvertToInteger routine where new
12350integers
12351were not truncated to 32 bits for 32-bit ACPI tables. This routine
12352converts
12353buffers and strings to integers.
12354
12355Implemented support to store a value to an Index() on a String object.
12356This
12357is an ACPI 2.0 feature that had not yet been implemented.
12358
12359Implemented new behavior for storing objects to individual package
12360elements
12361(via the Index() operator). The previous behavior was to invoke the
12362implicit
12363conversion rules if an object was already present at the index.  The new
12364behavior is to simply delete any existing object and directly store the
12365new
12366object. Although the ACPI specification seems unclear on this subject,
12367other
12368ACPI implementations behave in this manner.  (This is the root of the
12369AE_BAD_HEX_CONSTANT issue.)
12370
12371Modified the RSDP memory scan mechanism to support the extended checksum
12372for
12373ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
12374RSDP signature is found with a valid checksum.
12375
12376Code and Data Size: Current and previous core subsystem library sizes are
12377shown below. These are the code and data sizes for the acpica.lib
12378produced
12379by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12380any ACPI driver or OSPM code. The debug version of the code includes the
12381debug output trace mechanism and has a much larger code and data size.
12382Note
12383that these values will vary depending on the efficiency of the compiler
12384and
12385the compiler options used during generation.
12386
12387  Previous Release:
12388    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12389    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12390  Current Release:
12391    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12392    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12393
12394
123952) iASL Compiler/Disassembler:
12396
12397Fixed a missing semicolon in the aslcompiler.y file.
12398
12399----------------------------------------
1240005 November 2004.  Summary of changes for version 20041105:
12401
124021) ACPI CA Core Subsystem:
12403
12404Implemented support for FADT revision 2.  This was an interim table
12405(between
12406ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
12407
12408Implemented optional support to allow uninitialized LocalX and ArgX
12409variables in a control method.  The variables are initialized to an
12410Integer
12411object with a value of zero.  This support is enabled by setting the
12412AcpiGbl_EnableInterpreterSlack flag to TRUE.
12413
12414Implemented support for Integer objects for the SizeOf operator.  Either
124154
12416or 8 is returned, depending on the current integer size (32-bit or 64-
12417bit,
12418depending on the parent table revision).
12419
12420Fixed a problem in the implementation of the SizeOf and ObjectType
12421operators
12422where the operand was resolved to a value too early, causing incorrect
12423return values for some objects.
12424
12425Fixed some possible memory leaks during exceptional conditions.
12426
12427Code and Data Size: Current and previous core subsystem library sizes are
12428shown below. These are the code and data sizes for the acpica.lib
12429produced
12430by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12431any ACPI driver or OSPM code. The debug version of the code includes the
12432debug output trace mechanism and has a much larger code and data size.
12433Note
12434that these values will vary depending on the efficiency of the compiler
12435and
12436the compiler options used during generation.
12437
12438  Previous Release:
12439    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12440    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12441  Current Release:
12442    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12443    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12444
12445
124462) iASL Compiler/Disassembler:
12447
12448Implemented support for all ACPI 3.0 reserved names and methods.
12449
12450Implemented all ACPI 3.0 grammar elements in the front-end, including
12451support for semicolons.
12452
12453Implemented the ACPI 3.0 Function() and ToUUID() macros
12454
12455Fixed a problem in the disassembler where a Scope() operator would not be
12456emitted properly if the target of the scope was in another table.
12457
12458----------------------------------------
1245915 October 2004.  Summary of changes for version 20041015:
12460
12461Note:  ACPI CA is currently undergoing an in-depth and complete formal
12462evaluation to test/verify the following areas. Other suggestions are
12463welcome. This will result in an increase in the frequency of releases and
12464the number of bug fixes in the next few months.
12465  - Functional tests for all ASL/AML operators
12466  - All implicit/explicit type conversions
12467  - Bit fields and operation regions
12468  - 64-bit math support and 32-bit-only "truncated" math support
12469  - Exceptional conditions, both compiler and interpreter
12470  - Dynamic object deletion and memory leaks
12471  - ACPI 3.0 support when implemented
12472  - External interfaces to the ACPI subsystem
12473
12474
124751) ACPI CA Core Subsystem:
12476
12477Fixed two alignment issues on 64-bit platforms - within debug statements
12478in
12479AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
12480Address
12481field within the non-aligned ACPI generic address structure.
12482
12483Fixed a problem in the Increment and Decrement operators where incorrect
12484operand resolution could result in the inadvertent modification of the
12485original integer when the integer is passed into another method as an
12486argument and the arg is then incremented/decremented.
12487
12488Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
12489bit
12490BCD number were truncated during conversion.
12491
12492Fixed a problem in the ToDecimal operator where the length of the
12493resulting
12494string could be set incorrectly too long if the input operand was a
12495Buffer
12496object.
12497
12498Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
12499(0)
12500within a buffer would prematurely terminate a compare between buffer
12501objects.
12502
12503Added a check for string overflow (>200 characters as per the ACPI
12504specification) during the Concatenate operator with two string operands.
12505
12506Code and Data Size: Current and previous core subsystem library sizes are
12507shown below. These are the code and data sizes for the acpica.lib
12508produced
12509by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12510any ACPI driver or OSPM code. The debug version of the code includes the
12511debug output trace mechanism and has a much larger code and data size.
12512Note
12513that these values will vary depending on the efficiency of the compiler
12514and
12515the compiler options used during generation.
12516
12517  Previous Release:
12518    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12519    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12520  Current Release:
12521    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12522    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12523
12524
12525
125262) iASL Compiler/Disassembler:
12527
12528Allow the use of the ObjectType operator on uninitialized Locals and Args
12529(returns 0 as per the ACPI specification).
12530
12531Fixed a problem where the compiler would fault if there was a syntax
12532error
12533in the FieldName of all of the various CreateXXXField operators.
12534
12535Disallow the use of lower case letters within the EISAID macro, as per
12536the
12537ACPI specification.  All EISAID strings must be of the form "UUUNNNN"
12538Where
12539U is an uppercase letter and N is a hex digit.
12540
12541
12542----------------------------------------
1254306 October 2004.  Summary of changes for version 20041006:
12544
125451) ACPI CA Core Subsystem:
12546
12547Implemented support for the ACPI 3.0 Timer operator. This ASL function
12548implements a 64-bit timer with 100 nanosecond granularity.
12549
12550Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
12551implement the ACPI 3.0 Timer operator.  This allows the host OS to
12552implement
12553the timer with the best clock available. Also, it keeps the core
12554subsystem
12555out of the clock handling business, since the host OS (usually) performs
12556this function.
12557
12558Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
12559functions use a 64-bit address which is part of the packed ACPI Generic
12560Address Structure. Since the structure is non-aligned, the alignment
12561macros
12562are now used to extract the address to a local variable before use.
12563
12564Fixed a problem where the ToInteger operator assumed all input strings
12565were
12566hexadecimal. The operator now handles both decimal strings and hex
12567strings
12568(prefixed with "0x").
12569
12570Fixed a problem where the string length in the string object created as a
12571result of the internal ConvertToString procedure could be incorrect. This
12572potentially affected all implicit conversions and also the
12573ToDecimalString
12574and ToHexString operators.
12575
12576Fixed two problems in the ToString operator. If the length parameter was
12577zero, an incorrect string object was created and the value of the input
12578length parameter was inadvertently changed from zero to Ones.
12579
12580Fixed a problem where the optional ResourceSource string in the
12581ExtendedIRQ
12582resource macro was ignored.
12583
12584Simplified the interfaces to the internal division functions, reducing
12585code
12586size and complexity.
12587
12588Code and Data Size: Current and previous core subsystem library sizes are
12589shown below. These are the code and data sizes for the acpica.lib
12590produced
12591by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12592any ACPI driver or OSPM code. The debug version of the code includes the
12593debug output trace mechanism and has a much larger code and data size.
12594Note
12595that these values will vary depending on the efficiency of the compiler
12596and
12597the compiler options used during generation.
12598
12599  Previous Release:
12600    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12601    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12602  Current Release:
12603    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12604    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12605
12606
126072) iASL Compiler/Disassembler:
12608
12609Implemented support for the ACPI 3.0 Timer operator.
12610
12611Fixed a problem where the Default() operator was inadvertently ignored in
12612a
12613Switch/Case block.  This was a problem in the translation of the Switch
12614statement to If...Else pairs.
12615
12616Added support to allow a standalone Return operator, with no parentheses
12617(or
12618operands).
12619
12620Fixed a problem with code generation for the ElseIf operator where the
12621translated Else...If parse tree was improperly constructed leading to the
12622loss of some code.
12623
12624----------------------------------------
1262522 September 2004.  Summary of changes for version 20040922:
12626
126271) ACPI CA Core Subsystem:
12628
12629Fixed a problem with the implementation of the LNot() operator where
12630"Ones"
12631was not returned for the TRUE case. Changed the code to return Ones
12632instead
12633of (!Arg) which was usually 1. This change affects iASL constant folding
12634for
12635this operator also.
12636
12637Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
12638not
12639initialized properly -- Now zero the entire buffer in this case where the
12640buffer already exists.
12641
12642Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
12643Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
12644related code considerably. This will require changes/updates to all OS
12645interface layers (OSLs.)
12646
12647Implemented a new external interface, AcpiInstallExceptionHandler, to
12648allow
12649a system exception handler to be installed. This handler is invoked upon
12650any
12651run-time exception that occurs during control method execution.
12652
12653Added support for the DSDT in AcpiTbFindTable. This allows the
12654DataTableRegion() operator to access the local copy of the DSDT.
12655
12656Code and Data Size: Current and previous core subsystem library sizes are
12657shown below. These are the code and data sizes for the acpica.lib
12658produced
12659by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12660any ACPI driver or OSPM code. The debug version of the code includes the
12661debug output trace mechanism and has a much larger code and data size.
12662Note
12663that these values will vary depending on the efficiency of the compiler
12664and
12665the compiler options used during generation.
12666
12667  Previous Release:
12668    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12669    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12670  Current Release:
12671    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12672    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12673
12674
126752) iASL Compiler/Disassembler:
12676
12677Fixed a problem with constant folding and the LNot operator. LNot was
12678returning 1 in the TRUE case, not Ones as per the ACPI specification.
12679This
12680could result in the generation of an incorrect folded/reduced constant.
12681
12682End-Of-File is now allowed within a "//"-style comment.  A parse error no
12683longer occurs if such a comment is at the very end of the input ASL
12684source
12685file.
12686
12687Implemented the "-r" option to override the Revision in the table header.
12688The initial use of this option will be to simplify the evaluation of the
12689AML
12690interpreter by allowing a single ASL source module to be compiled for
12691either
1269232-bit or 64-bit integers.
12693
12694
12695----------------------------------------
1269627 August 2004.  Summary of changes for version 20040827:
12697
126981) ACPI CA Core Subsystem:
12699
12700- Implemented support for implicit object conversion in the non-numeric
12701logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
12702and
12703LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used;
12704the second operand is implicitly converted on the fly to match the type
12705of
12706the first operand.  For example:
12707
12708    LEqual (Source1, Source2)
12709
12710Source1 and Source2 must each evaluate to an integer, a string, or a
12711buffer.
12712The data type of Source1 dictates the required type of Source2. Source2
12713is
12714implicitly converted if necessary to match the type of Source1.
12715
12716- Updated and corrected the behavior of the string conversion support.
12717The
12718rules concerning conversion of buffers to strings (according to the ACPI
12719specification) are as follows:
12720
12721ToDecimalString - explicit byte-wise conversion of buffer to string of
12722decimal values (0-255) separated by commas. ToHexString - explicit byte-
12723wise
12724conversion of buffer to string of hex values (0-FF) separated by commas.
12725ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
12726byte
12727copy with no transform except NULL terminated. Any other implicit buffer-
12728to-
12729string conversion - byte-wise conversion of buffer to string of hex
12730values
12731(0-FF) separated by spaces.
12732
12733- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
12734
12735- Fixed a problem in AcpiNsGetPathnameLength where the returned length
12736was
12737one byte too short in the case of a node in the root scope.  This could
12738cause a fault during debug output.
12739
12740- Code and Data Size: Current and previous core subsystem library sizes
12741are
12742shown below.  These are the code and data sizes for the acpica.lib
12743produced
12744by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12745any ACPI driver or OSPM code.  The debug version of the code includes the
12746debug output trace mechanism and has a much larger code and data size.
12747Note
12748that these values will vary depending on the efficiency of the compiler
12749and
12750the compiler options used during generation.
12751
12752  Previous Release:
12753    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
12754    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
12755  Current Release:
12756    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12757    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12758
12759
127602) iASL Compiler/Disassembler:
12761
12762- Fixed a Linux generation error.
12763
12764
12765----------------------------------------
1276616 August 2004.  Summary of changes for version 20040816:
12767
127681) ACPI CA Core Subsystem:
12769
12770Designed and implemented support within the AML interpreter for the so-
12771called "implicit return".  This support returns the result of the last
12772ASL
12773operation within a control method, in the absence of an explicit Return()
12774operator.  A few machines depend on this behavior, even though it is not
12775explicitly supported by the ASL language.  It is optional support that
12776can
12777be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
12778
12779Removed support for the PCI_Config address space from the internal low
12780level
12781hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This
12782support was not used internally, and would not work correctly anyway
12783because
12784the PCI bus number and segment number were not supported.  There are
12785separate interfaces for PCI configuration space access because of the
12786unique
12787interface.
12788
12789Code and Data Size: Current and previous core subsystem library sizes are
12790shown below.  These are the code and data sizes for the acpica.lib
12791produced
12792by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12793any ACPI driver or OSPM code.  The debug version of the code includes the
12794debug output trace mechanism and has a much larger code and data size.
12795Note
12796that these values will vary depending on the efficiency of the compiler
12797and
12798the compiler options used during generation.
12799
12800  Previous Release:
12801    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12802    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
12803  Current Release:
12804    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
12805    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
12806
12807
128082) iASL Compiler/Disassembler:
12809
12810Fixed a problem where constants in ASL expressions at the root level (not
12811within a control method) could be inadvertently truncated during code
12812generation.  This problem was introduced in the 20040715 release.
12813
12814
12815----------------------------------------
1281615 July 2004.  Summary of changes for version 20040715:
12817
128181) ACPI CA Core Subsystem:
12819
12820Restructured the internal HW GPE interfaces to pass/track the current
12821state
12822of interrupts (enabled/disabled) in order to avoid possible deadlock and
12823increase flexibility of the interfaces.
12824
12825Implemented a "lexicographical compare" for String and Buffer objects
12826within
12827the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
12828-
12829as per further clarification to the ACPI specification.  Behavior is
12830similar
12831to C library "strcmp".
12832
12833Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
12834external function.  In the 32-bit non-debug case, the stack use has been
12835reduced from 168 bytes to 32 bytes.
12836
12837Deployed a new run-time configuration flag,
12838AcpiGbl_EnableInterpreterSlack,
12839whose purpose is to allow the AML interpreter to forgive certain bad AML
12840constructs.  Default setting is FALSE.
12841
12842Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
12843IO
12844support code.  If enabled, it allows field access to go beyond the end of
12845a
12846region definition if the field is within the region length rounded up to
12847the
12848next access width boundary (a common coding error.)
12849
12850Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
12851ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also,
12852these
12853symbols are lowercased by the latest version of the AcpiSrc tool.
12854
12855The prototypes for the PCI interfaces in acpiosxf.h have been updated to
12856rename "Register" to simply "Reg" to prevent certain compilers from
12857complaining.
12858
12859Code and Data Size: Current and previous core subsystem library sizes are
12860shown below.  These are the code and data sizes for the acpica.lib
12861produced
12862by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12863any ACPI driver or OSPM code.  The debug version of the code includes the
12864debug output trace mechanism and has a much larger code and data size.
12865Note
12866that these values will vary depending on the efficiency of the compiler
12867and
12868the compiler options used during generation.
12869
12870  Previous Release:
12871    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12872    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
12873  Current Release:
12874    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12875    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
12876
12877
128782) iASL Compiler/Disassembler:
12879
12880Implemented full support for Package objects within the Case() operator.
12881Note: The Break() operator is currently not supported within Case blocks
12882(TermLists) as there is some question about backward compatibility with
12883ACPI
128841.0 interpreters.
12885
12886
12887Fixed a problem where complex terms were not supported properly within
12888the
12889Switch() operator.
12890
12891Eliminated extraneous warning for compiler-emitted reserved names of the
12892form "_T_x".  (Used in Switch/Case operators.)
12893
12894Eliminated optimization messages for "_T_x" objects and small constants
12895within the DefinitionBlock operator.
12896
12897
12898----------------------------------------
1289915 June 2004.  Summary of changes for version 20040615:
12900
129011) ACPI CA Core Subsystem:
12902
12903Implemented support for Buffer and String objects (as per ACPI 2.0) for
12904the
12905following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
12906LLessEqual.
12907
12908All directory names in the entire source package are lower case, as they
12909were in earlier releases.
12910
12911Implemented "Disassemble" command in the AML debugger that will
12912disassemble
12913a single control method.
12914
12915Code and Data Size: Current and previous core subsystem library sizes are
12916shown below.  These are the code and data sizes for the acpica.lib
12917produced
12918by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12919any ACPI driver or OSPM code.  The debug version of the code includes the
12920debug output trace mechanism and has a much larger code and data size.
12921Note
12922that these values will vary depending on the efficiency of the compiler
12923and
12924the compiler options used during generation.
12925
12926  Previous Release:
12927    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
12928    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
12929
12930  Current Release:
12931    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12932    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
12933
12934
129352) iASL Compiler/Disassembler:
12936
12937Implemented support for Buffer and String objects (as per ACPI 2.0) for
12938the
12939following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
12940LLessEqual.
12941
12942All directory names in the entire source package are lower case, as they
12943were in earlier releases.
12944
12945Fixed a fault when using the -g or -d<nofilename> options if the FADT was
12946not found.
12947
12948Fixed an issue with the Windows version of the compiler where later
12949versions
12950of Windows place the FADT in the registry under the name "FADT" and not
12951"FACP" as earlier versions did.  This applies when using the -g or -
12952d<nofilename> options.  The compiler now looks for both strings as
12953necessary.
12954
12955Fixed a problem with compiler namepath optimization where a namepath
12956within
12957the Scope() operator could not be optimized if the namepath was a subpath
12958of
12959the current scope path.
12960
12961----------------------------------------
1296227 May 2004.  Summary of changes for version 20040527:
12963
129641) ACPI CA Core Subsystem:
12965
12966Completed a new design and implementation for EBDA (Extended BIOS Data
12967Area)
12968support in the RSDP scan code.  The original code improperly scanned for
12969the
12970EBDA by simply scanning from memory location 0 to 0x400.  The correct
12971method
12972is to first obtain the EBDA pointer from within the BIOS data area, then
12973scan 1K of memory starting at the EBDA pointer.  There appear to be few
12974if
12975any machines that place the RSDP in the EBDA, however.
12976
12977Integrated a fix for a possible fault during evaluation of BufferField
12978arguments.  Obsolete code that was causing the problem was removed.
12979
12980Found and fixed a problem in the Field Support Code where data could be
12981corrupted on a bit field read that starts on an aligned boundary but does
12982not end on an aligned boundary.  Merged the read/write "datum length"
12983calculation code into a common procedure.
12984
12985Rolled in a couple of changes to the FreeBSD-specific header.
12986
12987
12988Code and Data Size: Current and previous core subsystem library sizes are
12989shown below.  These are the code and data sizes for the acpica.lib
12990produced
12991by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12992any ACPI driver or OSPM code.  The debug version of the code includes the
12993debug output trace mechanism and has a much larger code and data size.
12994Note
12995that these values will vary depending on the efficiency of the compiler
12996and
12997the compiler options used during generation.
12998
12999  Previous Release:
13000    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13001    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13002  Current Release:
13003    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
13004    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
13005
13006
130072) iASL Compiler/Disassembler:
13008
13009Fixed a generation warning produced by some overly-verbose compilers for
13010a
1301164-bit constant.
13012
13013----------------------------------------
1301414 May 2004.  Summary of changes for version 20040514:
13015
130161) ACPI CA Core Subsystem:
13017
13018Fixed a problem where hardware GPE enable bits sometimes not set properly
13019during and after GPE method execution.  Result of 04/27 changes.
13020
13021Removed extra "clear all GPEs" when sleeping/waking.
13022
13023Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
13024AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
13025to
13026the new AcpiEv* calls as appropriate.
13027
13028ACPI_OS_NAME was removed from the OS-specific headers.  The default name
13029is
13030now "Microsoft Windows NT" for maximum compatibility.  However this can
13031be
13032changed by modifying the acconfig.h file.
13033
13034Allow a single invocation of AcpiInstallNotifyHandler for a handler that
13035traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag.
13036
13037Run _INI methods on ThermalZone objects.  This is against the ACPI
13038specification, but there is apparently ASL code in the field that has
13039these
13040_INI methods, and apparently "other" AML interpreters execute them.
13041
13042Performed a full 16/32/64 bit lint that resulted in some small changes.
13043
13044Added a sleep simulation command to the AML debugger to test sleep code.
13045
13046Code and Data Size: Current and previous core subsystem library sizes are
13047shown below.  These are the code and data sizes for the acpica.lib
13048produced
13049by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13050any ACPI driver or OSPM code.  The debug version of the code includes the
13051debug output trace mechanism and has a much larger code and data size.
13052Note
13053that these values will vary depending on the efficiency of the compiler
13054and
13055the compiler options used during generation.
13056
13057  Previous Release:
13058    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13059    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13060  Current Release:
13061    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13062    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
13063
13064----------------------------------------
1306527 April 2004.  Summary of changes for version 20040427:
13066
130671) ACPI CA Core Subsystem:
13068
13069Completed a major overhaul of the GPE handling within ACPI CA.  There are
13070now three types of GPEs:  wake-only, runtime-only, and combination
13071wake/run.
13072The only GPEs allowed to be combination wake/run are for button-style
13073devices such as a control-method power button, control-method sleep
13074button,
13075or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are
13076not
13077referenced by any _PRW methods are marked for "runtime" and hardware
13078enabled.  Any GPE that is referenced by a _PRW method is marked for
13079"wake"
13080(and disabled at runtime).  However, at sleep time, only those GPEs that
13081have been specifically enabled for wake via the AcpiEnableGpe interface
13082will
13083actually be hardware enabled.
13084
13085A new external interface has been added, AcpiSetGpeType(), that is meant
13086to
13087be used by device drivers to force a GPE to a particular type.  It will
13088be
13089especially useful for the drivers for the button devices mentioned above.
13090
13091Completed restructuring of the ACPI CA initialization sequence so that
13092default operation region handlers are installed before GPEs are
13093initialized
13094and the _PRW methods are executed.  This will prevent errors when the
13095_PRW
13096methods attempt to access system memory or I/O space.
13097
13098GPE enable/disable no longer reads the GPE enable register.  We now keep
13099the
13100enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We
13101thus no longer depend on the hardware to maintain these bits.
13102
13103Always clear the wake status and fixed/GPE status bits before sleep, even
13104for state S5.
13105
13106Improved the AML debugger output for displaying the GPE blocks and their
13107current status.
13108
13109Added new strings for the _OSI method, of the form "Windows 2001 SPx"
13110where
13111x = 0,1,2,3,4.
13112
13113Fixed a problem where the physical address was incorrectly calculated
13114when
13115the Load() operator was used to directly load from an Operation Region
13116(vs.
13117loading from a Field object.)  Also added check for minimum table length
13118for
13119this case.
13120
13121Fix for multiple mutex acquisition.  Restore original thread SyncLevel on
13122mutex release.
13123
13124Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
13125consistency with the other fields returned.
13126
13127Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such
13128structure for each GPE in the system, so the size of this structure is
13129important.
13130
13131CPU stack requirement reduction:  Cleaned up the method execution and
13132object
13133evaluation paths so that now a parameter structure is passed, instead of
13134copying the various method parameters over and over again.
13135
13136In evregion.c:  Correctly exit and reenter the interpreter region if and
13137only if dispatching an operation region request to a user-installed
13138handler.
13139Do not exit/reenter when dispatching to a default handler (e.g., default
13140system memory or I/O handlers)
13141
13142
13143Notes for updating drivers for the new GPE support.  The following
13144changes
13145must be made to ACPI-related device drivers that are attached to one or
13146more
13147GPEs: (This information will be added to the ACPI CA Programmer
13148Reference.)
13149
131501) AcpiInstallGpeHandler no longer automatically enables the GPE, you
13151must
13152explicitly call AcpiEnableGpe.
131532) There is a new interface called AcpiSetGpeType. This should be called
13154before enabling the GPE.  Also, this interface will automatically disable
13155the GPE if it is currently enabled.
131563) AcpiEnableGpe no longer supports a GPE type flag.
13157
13158Specific drivers that must be changed:
131591) EC driver:
13160    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
13161AeGpeHandler, NULL);
13162    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
13163    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
13164
131652) Button Drivers (Power, Lid, Sleep):
13166Run _PRW method under parent device
13167If _PRW exists: /* This is a control-method button */
13168    Extract GPE number and possibly GpeDevice
13169    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
13170    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
13171
13172For all other devices that have _PRWs, we automatically set the GPE type
13173to
13174ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
13175This
13176must be done on a selective basis, usually requiring some kind of user
13177app
13178to allow the user to pick the wake devices.
13179
13180
13181Code and Data Size: Current and previous core subsystem library sizes are
13182shown below.  These are the code and data sizes for the acpica.lib
13183produced
13184by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13185any ACPI driver or OSPM code.  The debug version of the code includes the
13186debug output trace mechanism and has a much larger code and data size.
13187Note
13188that these values will vary depending on the efficiency of the compiler
13189and
13190the compiler options used during generation.
13191
13192  Previous Release:
13193    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13194    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13195  Current Release:
13196
13197    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13198    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13199
13200
13201
13202----------------------------------------
1320302 April 2004.  Summary of changes for version 20040402:
13204
132051) ACPI CA Core Subsystem:
13206
13207Fixed an interpreter problem where an indirect store through an ArgX
13208parameter was incorrectly applying the "implicit conversion rules" during
13209the store.  From the ACPI specification: "If the target is a method local
13210or
13211argument (LocalX or ArgX), no conversion is performed and the result is
13212stored directly to the target".  The new behavior is to disable implicit
13213conversion during ALL stores to an ArgX.
13214
13215Changed the behavior of the _PRW method scan to ignore any and all errors
13216returned by a given _PRW.  This prevents the scan from aborting from the
13217failure of any single _PRW.
13218
13219Moved the runtime configuration parameters from the global init procedure
13220to
13221static variables in acglobal.h.  This will allow the host to override the
13222default values easily.
13223
13224Code and Data Size: Current and previous core subsystem library sizes are
13225shown below.  These are the code and data sizes for the acpica.lib
13226produced
13227by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13228any ACPI driver or OSPM code.  The debug version of the code includes the
13229debug output trace mechanism and has a much larger code and data size.
13230Note
13231that these values will vary depending on the efficiency of the compiler
13232and
13233the compiler options used during generation.
13234
13235  Previous Release:
13236    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13237    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13238  Current Release:
13239    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13240    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13241
13242
132432) iASL Compiler/Disassembler:
13244
13245iASL now fully disassembles SSDTs.  However, External() statements are
13246not
13247generated automatically for unresolved symbols at this time.  This is a
13248planned feature for future implementation.
13249
13250Fixed a scoping problem in the disassembler that occurs when the type of
13251the
13252target of a Scope() operator is overridden.  This problem caused an
13253incorrectly nested internal namespace to be constructed.
13254
13255Any warnings or errors that are emitted during disassembly are now
13256commented
13257out automatically so that the resulting file can be recompiled without
13258any
13259hand editing.
13260
13261----------------------------------------
1326226 March 2004.  Summary of changes for version 20040326:
13263
132641) ACPI CA Core Subsystem:
13265
13266Implemented support for "wake" GPEs via interaction between GPEs and the
13267_PRW methods.  Every GPE that is pointed to by one or more _PRWs is
13268identified as a WAKE GPE and by default will no longer be enabled at
13269runtime.  Previously, we were blindly enabling all GPEs with a
13270corresponding
13271_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
13272We
13273believe this has been the cause of thousands of "spurious" GPEs on some
13274systems.
13275
13276This new GPE behavior is can be reverted to the original behavior (enable
13277ALL GPEs at runtime) via a runtime flag.
13278
13279Fixed a problem where aliased control methods could not access objects
13280properly.  The proper scope within the namespace was not initialized
13281(transferred to the target of the aliased method) before executing the
13282target method.
13283
13284Fixed a potential race condition on internal object deletion on the
13285return
13286object in AcpiEvaluateObject.
13287
13288Integrated a fix for resource descriptors where both _MEM and _MTP were
13289being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too
13290wide, 0x0F instead of 0x03.)
13291
13292Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
13293preventing
13294a
13295fault in some cases.
13296
13297Updated Notify() values for debug statements in evmisc.c
13298
13299Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
13300
13301Code and Data Size: Current and previous core subsystem library sizes are
13302shown below.  These are the code and data sizes for the acpica.lib
13303produced
13304by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13305any ACPI driver or OSPM code.  The debug version of the code includes the
13306debug output trace mechanism and has a much larger code and data size.
13307Note
13308that these values will vary depending on the efficiency of the compiler
13309and
13310the compiler options used during generation.
13311
13312  Previous Release:
13313
13314    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13315    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13316  Current Release:
13317    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13318    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13319
13320----------------------------------------
1332111 March 2004.  Summary of changes for version 20040311:
13322
133231) ACPI CA Core Subsystem:
13324
13325Fixed a problem where errors occurring during the parse phase of control
13326method execution did not abort cleanly.  For example, objects created and
13327installed in the namespace were not deleted.  This caused all subsequent
13328invocations of the method to return the AE_ALREADY_EXISTS exception.
13329
13330Implemented a mechanism to force a control method to "Serialized"
13331execution
13332if the method attempts to create namespace objects. (The root of the
13333AE_ALREADY_EXISTS problem.)
13334
13335Implemented support for the predefined _OSI "internal" control method.
13336Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
13337and
13338"Windows 2001.1", and can be easily upgraded for new strings as
13339necessary.
13340This feature will allow "other" operating systems to execute the fully
13341tested, "Windows" code path through the ASL code
13342
13343Global Lock Support:  Now allows multiple acquires and releases with any
13344internal thread.  Removed concept of "owning thread" for this special
13345mutex.
13346
13347Fixed two functions that were inappropriately declaring large objects on
13348the
13349CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage
13350during
13351method execution considerably.
13352
13353Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
13354S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
13355
13356Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
13357defined on the machine.
13358
13359Implemented two runtime options:  One to force all control method
13360execution
13361to "Serialized" to mimic Windows behavior, another to disable _OSI
13362support
13363if it causes problems on a given machine.
13364
13365Code and Data Size: Current and previous core subsystem library sizes are
13366shown below.  These are the code and data sizes for the acpica.lib
13367produced
13368by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13369any ACPI driver or OSPM code.  The debug version of the code includes the
13370debug output trace mechanism and has a much larger code and data size.
13371Note
13372that these values will vary depending on the efficiency of the compiler
13373and
13374the compiler options used during generation.
13375
13376  Previous Release:
13377    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13378    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13379  Current Release:
13380    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13381    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13382
133832) iASL Compiler/Disassembler:
13384
13385Fixed an array size problem for FreeBSD that would cause the compiler to
13386fault.
13387
13388----------------------------------------
1338920 February 2004.  Summary of changes for version 20040220:
13390
13391
133921) ACPI CA Core Subsystem:
13393
13394Implemented execution of _SxD methods for Device objects in the
13395GetObjectInfo interface.
13396
13397Fixed calls to _SST method to pass the correct arguments.
13398
13399Added a call to _SST on wake to restore to "working" state.
13400
13401Check for End-Of-Buffer failure case in the WalkResources interface.
13402
13403Integrated fix for 64-bit alignment issue in acglobal.h by moving two
13404structures to the beginning of the file.
13405
13406After wake, clear GPE status register(s) before enabling GPEs.
13407
13408After wake, clear/enable power button.  (Perhaps we should clear/enable
13409all
13410fixed events upon wake.)
13411
13412Fixed a couple of possible memory leaks in the Namespace manager.
13413
13414Integrated latest acnetbsd.h file.
13415
13416----------------------------------------
1341711 February 2004.  Summary of changes for version 20040211:
13418
13419
134201) ACPI CA Core Subsystem:
13421
13422Completed investigation and implementation of the call-by-reference
13423mechanism for control method arguments.
13424
13425Fixed a problem where a store of an object into an indexed package could
13426fail if the store occurs within a different method than the method that
13427created the package.
13428
13429Fixed a problem where the ToDecimal operator could return incorrect
13430results.
13431
13432Fixed a problem where the CopyObject operator could fail on some of the
13433more
13434obscure objects (e.g., Reference objects.)
13435
13436Improved the output of the Debug object to display buffer, package, and
13437index objects.
13438
13439Fixed a problem where constructs of the form "RefOf (ArgX)" did not
13440return
13441the expected result.
13442
13443Added permanent ACPI_REPORT_ERROR macros for all instances of the
13444ACPI_AML_INTERNAL exception.
13445
13446Integrated latest version of acfreebsd.h
13447
13448----------------------------------------
1344916 January 2004.  Summary of changes for version 20040116:
13450
13451The purpose of this release is primarily to update the copyright years in
13452each module, thus causing a huge number of diffs.  There are a few small
13453functional changes, however.
13454
134551) ACPI CA Core Subsystem:
13456
13457Improved error messages when there is a problem finding one or more of
13458the
13459required base ACPI tables
13460
13461Reintroduced the definition of APIC_HEADER in actbl.h
13462
13463Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
13464
13465Removed extraneous reference to NewObj in dsmthdat.c
13466
134672) iASL compiler
13468
13469Fixed a problem introduced in December that disabled the correct
13470disassembly
13471of Resource Templates
13472
13473
13474----------------------------------------
1347503 December 2003.  Summary of changes for version 20031203:
13476
134771) ACPI CA Core Subsystem:
13478
13479Changed the initialization of Operation Regions during subsystem
13480init to perform two entire walks of the ACPI namespace; The first
13481to initialize the regions themselves, the second to execute the
13482_REG methods.  This fixed some interdependencies across _REG
13483methods found on some machines.
13484
13485Fixed a problem where a Store(Local0, Local1) could simply update
13486the object reference count, and not create a new copy of the
13487object if the Local1 is uninitialized.
13488
13489Implemented support for the _SST reserved method during sleep
13490transitions.
13491
13492Implemented support to clear the SLP_TYP and SLP_EN bits when
13493waking up, this is apparently required by some machines.
13494
13495When sleeping, clear the wake status only if SleepState is not S5.
13496
13497Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
13498pointer arithmetic advanced a string pointer too far.
13499
13500Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
13501could be returned if the requested table has not been loaded.
13502
13503Within the support for IRQ resources, restructured the handling of
13504the active and edge/level bits.
13505
13506Fixed a few problems in AcpiPsxExecute() where memory could be
13507leaked under certain error conditions.
13508
13509Improved error messages for the cases where the ACPI mode could
13510not be entered.
13511
13512Code and Data Size: Current and previous core subsystem library
13513sizes are shown below.  These are the code and data sizes for the
13514acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13515these values do not include any ACPI driver or OSPM code.  The
13516debug version of the code includes the debug output trace
13517mechanism and has a much larger code and data size.  Note that
13518these values will vary depending on the efficiency of the compiler
13519and the compiler options used during generation.
13520
13521  Previous Release (20031029):
13522    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13523    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13524  Current Release:
13525    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13526    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13527
135282) iASL Compiler/Disassembler:
13529
13530Implemented a fix for the iASL disassembler where a bad index was
13531generated.  This was most noticeable on 64-bit platforms
13532
13533
13534----------------------------------------
1353529 October 2003.  Summary of changes for version 20031029:
13536
135371) ACPI CA Core Subsystem:
13538
13539
13540Fixed a problem where a level-triggered GPE with an associated
13541_Lxx control method was incorrectly cleared twice.
13542
13543Fixed a problem with the Field support code where an access can
13544occur beyond the end-of-region if the field is non-aligned but
13545extends to the very end of the parent region (resulted in an
13546AE_AML_REGION_LIMIT exception.)
13547
13548Fixed a problem with ACPI Fixed Events where an RT Clock handler
13549would not get invoked on an RTC event.  The RTC event bitmasks for
13550the PM1 registers were not being initialized properly.
13551
13552Implemented support for executing _STA and _INI methods for
13553Processor objects.  Although this is currently not part of the
13554ACPI specification, there is existing ASL code that depends on the
13555init-time execution of these methods.
13556
13557Implemented and deployed a GetDescriptorName function to decode
13558the various types of internal descriptors.  Guards against null
13559descriptors during debug output also.
13560
13561Implemented and deployed a GetNodeName function to extract the 4-
13562character namespace node name.  This function simplifies the debug
13563and error output, as well as guarding against null pointers during
13564output.
13565
13566Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
13567simplify the debug and error output of 64-bit integers.  This
13568macro replaces the HIDWORD and LODWORD macros for dumping these
13569integers.
13570
13571Updated the implementation of the Stall() operator to only call
13572AcpiOsStall(), and also return an error if the operand is larger
13573than 255.  This preserves the required behavior of not
13574relinquishing the processor, as would happen if AcpiOsSleep() was
13575called for "long stalls".
13576
13577Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
13578initialized are now treated as NOOPs.
13579
13580Cleaned up a handful of warnings during 64-bit generation.
13581
13582Fixed a reported error where and incorrect GPE number was passed
13583to the GPE dispatch handler.  This value is only used for error
13584output, however.  Used this opportunity to clean up and streamline
13585the GPE dispatch code.
13586
13587Code and Data Size: Current and previous core subsystem library
13588sizes are shown below.  These are the code and data sizes for the
13589acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13590these values do not include any ACPI driver or OSPM code.  The
13591
13592debug version of the code includes the debug output trace
13593mechanism and has a much larger code and data size.  Note that
13594these values will vary depending on the efficiency of the compiler
13595and the compiler options used during generation.
13596
13597  Previous Release (20031002):
13598    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13599    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13600  Current Release:
13601    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13602    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13603
13604
136052) iASL Compiler/Disassembler:
13606
13607Updated the iASL compiler to return an error if the operand to the
13608Stall() operator is larger than 255.
13609
13610
13611----------------------------------------
1361202 October 2003.  Summary of changes for version 20031002:
13613
13614
136151) ACPI CA Core Subsystem:
13616
13617Fixed a problem with Index Fields where the index was not
13618incremented for fields that require multiple writes to the
13619index/data registers (Fields that are wider than the data
13620register.)
13621
13622Fixed a problem with all Field objects where a write could go
13623beyond the end-of-field if the field was larger than the access
13624granularity and therefore required multiple writes to complete the
13625request.  An extra write beyond the end of the field could happen
13626inadvertently.
13627
13628Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
13629would incorrectly be returned if the width of the Data Register
13630was larger than the specified field access width.
13631
13632Completed fixes for LoadTable() and Unload() and verified their
13633operation.  Implemented full support for the "DdbHandle" object
13634throughout the ACPI CA subsystem.
13635
13636Implemented full support for the MADT and ECDT tables in the ACPI
13637CA header files.  Even though these tables are not directly
13638consumed by ACPI CA, the header definitions are useful for ACPI
13639device drivers.
13640
13641Integrated resource descriptor fixes posted to the Linux ACPI
13642list.  This included checks for minimum descriptor length, and
13643support for trailing NULL strings within descriptors that have
13644optional string elements.
13645
13646Code and Data Size: Current and previous core subsystem library
13647sizes are shown below.  These are the code and data sizes for the
13648acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13649these values do not include any ACPI driver or OSPM code.  The
13650debug version of the code includes the debug output trace
13651mechanism and has a much larger code and data size.  Note that
13652these values will vary depending on the efficiency of the compiler
13653and the compiler options used during generation.
13654
13655  Previous Release (20030918):
13656    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13657    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13658  Current Release:
13659    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13660    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13661
13662
136632) iASL Compiler:
13664
13665Implemented detection of non-ASCII characters within the input
13666source ASL file.  This catches attempts to compile binary (AML)
13667files early in the compile, with an informative error message.
13668
13669Fixed a problem where the disassembler would fault if the output
13670filename could not be generated or if the output file could not be
13671opened.
13672
13673----------------------------------------
1367418 September 2003.  Summary of changes for version 20030918:
13675
13676
136771) ACPI CA Core Subsystem:
13678
13679Found and fixed a longstanding problem with the late execution of
13680the various deferred AML opcodes (such as Operation Regions,
13681Buffer Fields, Buffers, and Packages).  If the name string
13682specified for the name of the new object placed the object in a
13683scope other than the current scope, the initialization/execution
13684of the opcode failed.  The solution to this problem was to
13685implement a mechanism where the late execution of such opcodes
13686does not attempt to lookup/create the name a second time in an
13687incorrect scope.  This fixes the "region size computed
13688incorrectly" problem.
13689
13690Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
13691Global Lock AE_BAD_PARAMETER error.
13692
13693Fixed several 64-bit issues with prototypes, casting and data
13694types.
13695
13696Removed duplicate prototype from acdisasm.h
13697
13698Fixed an issue involving EC Operation Region Detach (Shaohua Li)
13699
13700Code and Data Size: Current and previous core subsystem library
13701sizes are shown below.  These are the code and data sizes for the
13702acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13703these values do not include any ACPI driver or OSPM code.  The
13704debug version of the code includes the debug output trace
13705mechanism and has a much larger code and data size.  Note that
13706these values will vary depending on the efficiency of the compiler
13707and the compiler options used during generation.
13708
13709  Previous Release:
13710
13711    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
13712    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
13713  Current Release:
13714    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13715    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13716
13717
137182) Linux:
13719
13720Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
13721correct sleep time in seconds.
13722
13723----------------------------------------
1372414 July 2003.  Summary of changes for version 20030619:
13725
137261) ACPI CA Core Subsystem:
13727
13728Parse SSDTs in order discovered, as opposed to reverse order
13729(Hrvoje Habjanic)
13730
13731Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
13732Klausner,
13733   Nate Lawson)
13734
13735
137362) Linux:
13737
13738Dynamically allocate SDT list (suggested by Andi Kleen)
13739
13740proc function return value cleanups (Andi Kleen)
13741
13742Correctly handle NMI watchdog during long stalls (Andrew Morton)
13743
13744Make it so acpismp=force works (reported by Andrew Morton)
13745
13746
13747----------------------------------------
1374819 June 2003.  Summary of changes for version 20030619:
13749
137501) ACPI CA Core Subsystem:
13751
13752Fix To/FromBCD, eliminating the need for an arch-specific #define.
13753
13754Do not acquire a semaphore in the S5 shutdown path.
13755
13756Fix ex_digits_needed for 0. (Takayoshi Kochi)
13757
13758Fix sleep/stall code reversal. (Andi Kleen)
13759
13760Revert a change having to do with control method calling
13761semantics.
13762
137632) Linux:
13764
13765acpiphp update (Takayoshi Kochi)
13766
13767Export acpi_disabled for sonypi (Stelian Pop)
13768
13769Mention acpismp=force in config help
13770
13771Re-add acpitable.c and acpismp=force. This improves backwards
13772
13773compatibility and also cleans up the code to a significant degree.
13774
13775Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
13776
13777----------------------------------------
1377822 May 2003.  Summary of changes for version 20030522:
13779
137801) ACPI CA Core Subsystem:
13781
13782Found and fixed a reported problem where an AE_NOT_FOUND error
13783occurred occasionally during _BST evaluation.  This turned out to
13784be an Owner ID allocation issue where a called method did not get
13785a new ID assigned to it.  Eventually, (after 64k calls), the Owner
13786ID UINT16 would wraparound so that the ID would be the same as the
13787caller's and the called method would delete the caller's
13788namespace.
13789
13790Implemented extended error reporting for control methods that are
13791aborted due to a run-time exception.  Output includes the exact
13792AML instruction that caused the method abort, a dump of the method
13793locals and arguments at the time of the abort, and a trace of all
13794nested control method calls.
13795
13796Modified the interpreter to allow the creation of buffers of zero
13797length from the AML code. Implemented new code to ensure that no
13798attempt is made to actually allocate a memory buffer (of length
13799zero) - instead, a simple buffer object with a NULL buffer pointer
13800and length zero is created.  A warning is no longer issued when
13801the AML attempts to create a zero-length buffer.
13802
13803Implemented a workaround for the "leading asterisk issue" in
13804_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
13805asterisk is automatically removed if present in any HID, UID, or
13806CID strings.  The iASL compiler will still flag this asterisk as
13807an error, however.
13808
13809Implemented full support for _CID methods that return a package of
13810multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
13811now additionally returns a device _CID list if present.  This
13812required a change to the external interface in order to pass an
13813ACPI_BUFFER object as a parameter since the _CID list is of
13814variable length.
13815
13816Fixed a problem with the new AE_SAME_HANDLER exception where
13817handler initialization code did not know about this exception.
13818
13819Code and Data Size: Current and previous core subsystem library
13820sizes are shown below.  These are the code and data sizes for the
13821acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13822these values do not include any ACPI driver or OSPM code.  The
13823debug version of the code includes the debug output trace
13824mechanism and has a much larger code and data size.  Note that
13825these values will vary depending on the efficiency of the compiler
13826and the compiler options used during generation.
13827
13828  Previous Release (20030509):
13829    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
13830    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
13831  Current Release:
13832    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
13833    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
13834
13835
138362) Linux:
13837
13838Fixed a bug in which we would reinitialize the ACPI interrupt
13839after it was already working, thus disabling all ACPI and the IRQs
13840for any other device sharing the interrupt. (Thanks to Stian
13841Jordet)
13842
13843Toshiba driver update (John Belmonte)
13844
13845Return only 0 or 1 for our interrupt handler status (Andrew
13846Morton)
13847
13848
138493) iASL Compiler:
13850
13851Fixed a reported problem where multiple (nested) ElseIf()
13852statements were not handled correctly by the compiler, resulting
13853in incorrect warnings and incorrect AML code.  This was a problem
13854in both the ASL parser and the code generator.
13855
13856
138574) Documentation:
13858
13859Added changes to existing interfaces, new exception codes, and new
13860text concerning reference count object management versus garbage
13861collection.
13862
13863----------------------------------------
1386409 May 2003.  Summary of changes for version 20030509.
13865
13866
138671) ACPI CA Core Subsystem:
13868
13869Changed the subsystem initialization sequence to hold off
13870installation of address space handlers until the hardware has been
13871initialized and the system has entered ACPI mode.  This is because
13872the installation of space handlers can cause _REG methods to be
13873run.  Previously, the _REG methods could potentially be run before
13874ACPI mode was enabled.
13875
13876Fixed some memory leak issues related to address space handler and
13877notify handler installation.  There were some problems with the
13878reference count mechanism caused by the fact that the handler
13879objects are shared across several namespace objects.
13880
13881Fixed a reported problem where reference counts within the
13882namespace were not properly updated when named objects created by
13883method execution were deleted.
13884
13885Fixed a reported problem where multiple SSDTs caused a deletion
13886issue during subsystem termination.  Restructured the table data
13887structures to simplify the linked lists and the related code.
13888
13889Fixed a problem where the table ID associated with secondary
13890tables (SSDTs) was not being propagated into the namespace objects
13891created by those tables.  This would only present a problem for
13892tables that are unloaded at run-time, however.
13893
13894Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
13895type as the length parameter (instead of UINT32).
13896
13897Solved a long-standing problem where an ALREADY_EXISTS error
13898appears on various systems.  This problem could happen when there
13899are multiple PCI_Config operation regions under a single PCI root
13900bus.  This doesn't happen very frequently, but there are some
13901systems that do this in the ASL.
13902
13903Fixed a reported problem where the internal DeleteNode function
13904was incorrectly handling the case where a namespace node was the
13905first in the parent's child list, and had additional peers (not
13906the only child, but first in the list of children.)
13907
13908Code and Data Size: Current core subsystem library sizes are shown
13909below.  These are the code and data sizes for the acpica.lib
13910produced by the Microsoft Visual C++ 6.0 compiler, and these
13911values do not include any ACPI driver or OSPM code.  The debug
13912version of the code includes the debug output trace mechanism and
13913has a much larger code and data size.  Note that these values will
13914vary depending on the efficiency of the compiler and the compiler
13915options used during generation.
13916
13917  Previous Release
13918    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
13919    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
13920  Current Release:
13921    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
13922    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
13923
13924
139252) Linux:
13926
13927Allow ":" in OS override string (Ducrot Bruno)
13928
13929Kobject fix (Greg KH)
13930
13931
139323 iASL Compiler/Disassembler:
13933
13934Fixed a problem in the generation of the C source code files (AML
13935is emitted in C source statements for BIOS inclusion) where the
13936Ascii dump that appears within a C comment at the end of each line
13937could cause a compile time error if the AML sequence happens to
13938have an open comment or close comment sequence embedded.
13939
13940
13941----------------------------------------
1394224 April 2003.  Summary of changes for version 20030424.
13943
13944
139451) ACPI CA Core Subsystem:
13946
13947Support for big-endian systems has been implemented.  Most of the
13948support has been invisibly added behind big-endian versions of the
13949ACPI_MOVE_* macros.
13950
13951Fixed a problem in AcpiHwDisableGpeBlock() and
13952AcpiHwClearGpeBlock() where an incorrect offset was passed to the
13953low level hardware write routine.  The offset parameter was
13954actually eliminated from the low level read/write routines because
13955they had become obsolete.
13956
13957Fixed a problem where a handler object was deleted twice during
13958the removal of a fixed event handler.
13959
13960
139612) Linux:
13962
13963A fix for SMP systems with link devices was contributed by
13964
13965Compaq's Dan Zink.
13966
13967(2.5) Return whether we handled the interrupt in our IRQ handler.
13968(Linux ISRs no longer return void, so we can propagate the handler
13969return value from the ACPI CA core back to the OS.)
13970
13971
13972
139733) Documentation:
13974
13975The ACPI CA Programmer Reference has been updated to reflect new
13976interfaces and changes to existing interfaces.
13977
13978----------------------------------------
1397928 March 2003.  Summary of changes for version 20030328.
13980
139811) ACPI CA Core Subsystem:
13982
13983The GPE Block Device support has been completed.  New interfaces
13984are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
13985interfaces (enable, disable, clear, getstatus) have been split
13986into separate interfaces for Fixed Events and General Purpose
13987Events (GPEs) in order to support GPE Block Devices properly.
13988
13989Fixed a problem where the error message "Failed to acquire
13990semaphore" would appear during operations on the embedded
13991controller (EC).
13992
13993Code and Data Size: Current core subsystem library sizes are shown
13994below.  These are the code and data sizes for the acpica.lib
13995produced by the Microsoft Visual C++ 6.0 compiler, and these
13996values do not include any ACPI driver or OSPM code.  The debug
13997version of the code includes the debug output trace mechanism and
13998has a much larger code and data size.  Note that these values will
13999vary depending on the efficiency of the compiler and the compiler
14000options used during generation.
14001
14002  Previous Release
14003    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14004    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14005  Current Release:
14006    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
14007    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
14008
14009
14010----------------------------------------
1401128 February 2003.  Summary of changes for version 20030228.
14012
14013
140141) ACPI CA Core Subsystem:
14015
14016The GPE handling and dispatch code has been completely overhauled
14017in preparation for support of GPE Block Devices (ID ACPI0006).
14018This affects internal data structures and code only; there should
14019be no differences visible externally.  One new file has been
14020added, evgpeblk.c
14021
14022The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
14023fields that are used to determine the GPE block lengths.  The
14024REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
14025structures are ignored.  This is per the ACPI specification but it
14026isn't very clear.  The full 256 Block 0/1 GPEs are now supported
14027(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
14028
14029In the SCI interrupt handler, removed the read of the PM1_CONTROL
14030register to look at the SCI_EN bit.  On some machines, this read
14031causes an SMI event and greatly slows down SCI events.  (This may
14032in fact be the cause of slow battery status response on some
14033systems.)
14034
14035Fixed a problem where a store of a NULL string to a package object
14036could cause the premature deletion of the object.  This was seen
14037during execution of the battery _BIF method on some systems,
14038resulting in no battery data being returned.
14039
14040Added AcpiWalkResources interface to simplify parsing of resource
14041lists.
14042
14043Code and Data Size: Current core subsystem library sizes are shown
14044below.  These are the code and data sizes for the acpica.lib
14045produced by the Microsoft Visual C++ 6.0 compiler, and these
14046values do not include any ACPI driver or OSPM code.  The debug
14047version of the code includes the debug output trace mechanism and
14048has a much larger code and data size.  Note that these values will
14049vary depending on the efficiency of the compiler and the compiler
14050options used during generation.
14051
14052  Previous Release
14053    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14054    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14055  Current Release:
14056    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
14057    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
14058
14059
140602) Linux
14061
14062S3 fixes (Ole Rohne)
14063
14064Update ACPI PHP driver with to use new acpi_walk_resource API
14065(Bjorn Helgaas)
14066
14067Add S4BIOS support (Pavel Machek)
14068
14069Map in entire table before performing checksum (John Stultz)
14070
14071Expand the mem= cmdline to allow the specification of reserved and
14072ACPI DATA blocks (Pavel Machek)
14073
14074Never use ACPI on VISWS
14075
14076Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
14077
14078Revert a change that allowed P_BLK lengths to be 4 or 5. This is
14079causing us to think that some systems support C2 when they really
14080don't.
14081
14082Do not count processor objects for non-present CPUs (Thanks to
14083Dominik Brodowski)
14084
14085
140863) iASL Compiler:
14087
14088Fixed a problem where ASL include files could not be found and
14089opened.
14090
14091Added support for the _PDC reserved name.
14092
14093
14094----------------------------------------
1409522 January 2003.  Summary of changes for version 20030122.
14096
14097
140981) ACPI CA Core Subsystem:
14099
14100Added a check for constructs of the form:  Store (Local0, Local0)
14101where Local0 is not initialized.  Apparently, some BIOS
14102programmers believe that this is a NOOP.  Since this store doesn't
14103do anything anyway, the new prototype behavior will ignore this
14104error.  This is a case where we can relax the strict checking in
14105the interpreter in the name of compatibility.
14106
14107
141082) Linux
14109
14110The AcpiSrc Source Conversion Utility has been released with the
14111Linux package for the first time.  This is the utility that is
14112used to convert the ACPI CA base source code to the Linux version.
14113
14114(Both) Handle P_BLK lengths shorter than 6 more gracefully
14115
14116(Both) Move more headers to include/acpi, and delete an unused
14117header.
14118
14119(Both) Move drivers/acpi/include directory to include/acpi
14120
14121(Both) Boot functions don't use cmdline, so don't pass it around
14122
14123(Both) Remove include of unused header (Adrian Bunk)
14124
14125(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
14126the
14127former now also includes the latter, acpiphp.h only needs the one,
14128now.
14129
14130(2.5) Make it possible to select method of bios restoring after S3
14131resume. [=> no more ugly ifdefs] (Pavel Machek)
14132
14133(2.5) Make proc write interfaces work (Pavel Machek)
14134
14135(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
14136
14137(2.5) Break out ACPI Perf code into its own module, under cpufreq
14138(Dominik Brodowski)
14139
14140(2.4) S4BIOS support (Ducrot Bruno)
14141
14142(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
14143Visinoni)
14144
14145
141463) iASL Compiler:
14147
14148Added support to disassemble SSDT and PSDTs.
14149
14150Implemented support to obtain SSDTs from the Windows registry if
14151available.
14152
14153
14154----------------------------------------
1415509 January 2003.  Summary of changes for version 20030109.
14156
141571) ACPI CA Core Subsystem:
14158
14159Changed the behavior of the internal Buffer-to-String conversion
14160function.  The current ACPI specification states that the contents
14161of the buffer are "converted to a string of two-character
14162hexadecimal numbers, each separated by a space".  Unfortunately,
14163this definition is not backwards compatible with existing ACPI 1.0
14164implementations (although the behavior was not defined in the ACPI
141651.0 specification).  The new behavior simply copies data from the
14166buffer to the string until a null character is found or the end of
14167the buffer is reached.  The new String object is always null
14168terminated.  This problem was seen during the generation of _BIF
14169battery data where incorrect strings were returned for battery
14170type, etc.  This will also require an errata to the ACPI
14171specification.
14172
14173Renamed all instances of NATIVE_UINT and NATIVE_INT to
14174ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
14175
14176Copyright in all module headers (both Linux and non-Linux) has be
14177updated to 2003.
14178
14179Code and Data Size: Current core subsystem library sizes are shown
14180below.  These are the code and data sizes for the acpica.lib
14181produced by the Microsoft Visual C++ 6.0 compiler, and these
14182values do not include any ACPI driver or OSPM code.  The debug
14183version of the code includes the debug output trace mechanism and
14184has a much larger code and data size.  Note that these values will
14185vary depending on the efficiency of the compiler and the compiler
14186options used during generation.
14187
14188  Previous Release
14189    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14190    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14191  Current Release:
14192    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14193    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14194
14195
141962) Linux
14197
14198Fixed an oops on module insertion/removal (Matthew Tippett)
14199
14200(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
14201
14202(2.5) Replace pr_debug (Randy Dunlap)
14203
14204(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
14205
14206(Both) Eliminate spawning of thread from timer callback, in favor
14207of schedule_work()
14208
14209(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
14210
14211(Both) Added define for Fixed Function HW region (Matthew Wilcox)
14212
14213(Both) Add missing statics to button.c (Pavel Machek)
14214
14215Several changes have been made to the source code translation
14216utility that generates the Linux Code in order to make the code
14217more "Linux-like":
14218
14219All typedefs on structs and unions have been removed in keeping
14220with the Linux coding style.
14221
14222Removed the non-Linux SourceSafe module revision number from each
14223module header.
14224
14225Completed major overhaul of symbols to be lowercased for linux.
14226Doubled the number of symbols that are lowercased.
14227
14228Fixed a problem where identifiers within procedure headers and
14229within quotes were not fully lower cased (they were left with a
14230starting capital.)
14231
14232Some C macros whose only purpose is to allow the generation of 16-
14233bit code are now completely removed in the Linux code, increasing
14234readability and maintainability.
14235
14236----------------------------------------
14237
1423812 December 2002.  Summary of changes for version 20021212.
14239
14240
142411) ACPI CA Core Subsystem:
14242
14243Fixed a problem where the creation of a zero-length AML Buffer
14244would cause a fault.
14245
14246Fixed a problem where a Buffer object that pointed to a static AML
14247buffer (in an ACPI table) could inadvertently be deleted, causing
14248memory corruption.
14249
14250Fixed a problem where a user buffer (passed in to the external
14251ACPI CA interfaces) could be overwritten if the buffer was too
14252small to complete the operation, causing memory corruption.
14253
14254Fixed a problem in the Buffer-to-String conversion code where a
14255string of length one was always returned, regardless of the size
14256of the input Buffer object.
14257
14258Removed the NATIVE_CHAR data type across the entire source due to
14259lack of need and lack of consistent use.
14260
14261Code and Data Size: Current core subsystem library sizes are shown
14262below.  These are the code and data sizes for the acpica.lib
14263produced by the Microsoft Visual C++ 6.0 compiler, and these
14264values do not include any ACPI driver or OSPM code.  The debug
14265version of the code includes the debug output trace mechanism and
14266has a much larger code and data size.  Note that these values will
14267vary depending on the efficiency of the compiler and the compiler
14268options used during generation.
14269
14270  Previous Release
14271    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14272    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14273  Current Release:
14274    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14275    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14276
14277
14278----------------------------------------
1427905 December 2002.  Summary of changes for version 20021205.
14280
142811) ACPI CA Core Subsystem:
14282
14283Fixed a problem where a store to a String or Buffer object could
14284cause corruption of the DSDT if the object type being stored was
14285the same as the target object type and the length of the object
14286being stored was equal to or smaller than the original (existing)
14287target object.  This was seen to cause corruption of battery _BIF
14288buffers if the _BIF method modified the buffer on the fly.
14289
14290Fixed a problem where an internal error was generated if a control
14291method invocation was used in an OperationRegion, Buffer, or
14292Package declaration.  This was caused by the deferred parsing of
14293the control method and thus the deferred creation of the internal
14294method object.  The solution to this problem was to create the
14295internal method object at the moment the method is encountered in
14296the first pass - so that subsequent references to the method will
14297able to obtain the required parameter count and thus properly
14298parse the method invocation.  This problem presented itself as an
14299AE_AML_INTERNAL during the pass 1 parse phase during table load.
14300
14301Fixed a problem where the internal String object copy routine did
14302not always allocate sufficient memory for the target String object
14303and caused memory corruption.  This problem was seen to cause
14304"Allocation already present in list!" errors as memory allocation
14305became corrupted.
14306
14307Implemented a new function for the evaluation of namespace objects
14308that allows the specification of the allowable return object
14309types.  This simplifies a lot of code that checks for a return
14310object of one or more specific objects returned from the
14311evaluation (such as _STA, etc.)  This may become and external
14312function if it would be useful to ACPI-related drivers.
14313
14314Completed another round of prefixing #defines with "ACPI_" for
14315clarity.
14316
14317Completed additional code restructuring to allow more modular
14318linking for iASL compiler and AcpiExec.  Several files were split
14319creating new files.  New files:  nsparse.c dsinit.c evgpe.c
14320
14321Implemented an abort mechanism to terminate an executing control
14322method via the AML debugger.  This feature is useful for debugging
14323control methods that depend (wait) for specific hardware
14324responses.
14325
14326Code and Data Size: Current core subsystem library sizes are shown
14327below.  These are the code and data sizes for the acpica.lib
14328produced by the Microsoft Visual C++ 6.0 compiler, and these
14329values do not include any ACPI driver or OSPM code.  The debug
14330version of the code includes the debug output trace mechanism and
14331has a much larger code and data size.  Note that these values will
14332vary depending on the efficiency of the compiler and the compiler
14333options used during generation.
14334
14335  Previous Release
14336    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14337    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14338  Current Release:
14339    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14340    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14341
14342
143432) iASL Compiler/Disassembler
14344
14345Fixed a compiler code generation problem for "Interrupt" Resource
14346Descriptors.  If specified in the ASL, the optional "Resource
14347Source Index" and "Resource Source" fields were not inserted into
14348the correct location within the AML resource descriptor, creating
14349an invalid descriptor.
14350
14351Fixed a disassembler problem for "Interrupt" resource descriptors.
14352The optional "Resource Source Index" and "Resource Source" fields
14353were ignored.
14354
14355
14356----------------------------------------
1435722 November 2002.  Summary of changes for version 20021122.
14358
14359
143601) ACPI CA Core Subsystem:
14361
14362Fixed a reported problem where an object stored to a Method Local
14363or Arg was not copied to a new object during the store - the
14364object pointer was simply copied to the Local/Arg.  This caused
14365all subsequent operations on the Local/Arg to also affect the
14366original source of the store operation.
14367
14368Fixed a problem where a store operation to a Method Local or Arg
14369was not completed properly if the Local/Arg contained a reference
14370(from RefOf) to a named field.  The general-purpose store-to-
14371namespace-node code is now used so that this case is handled
14372automatically.
14373
14374Fixed a problem where the internal object copy routine would cause
14375a protection fault if the object being copied was a Package and
14376contained either 1) a NULL package element or 2) a nested sub-
14377package.
14378
14379Fixed a problem with the GPE initialization that resulted from an
14380ambiguity in the ACPI specification.  One section of the
14381specification states that both the address and length of the GPE
14382block must be zero if the block is not supported.  Another section
14383implies that only the address need be zero if the block is not
14384supported.  The code has been changed so that both the address and
14385the length must be non-zero to indicate a valid GPE block (i.e.,
14386if either the address or the length is zero, the GPE block is
14387invalid.)
14388
14389Code and Data Size: Current core subsystem library sizes are shown
14390below.  These are the code and data sizes for the acpica.lib
14391produced by the Microsoft Visual C++ 6.0 compiler, and these
14392values do not include any ACPI driver or OSPM code.  The debug
14393version of the code includes the debug output trace mechanism and
14394has a much larger code and data size.  Note that these values will
14395vary depending on the efficiency of the compiler and the compiler
14396options used during generation.
14397
14398  Previous Release
14399    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14400    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14401  Current Release:
14402    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14403    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14404
14405
144062) Linux
14407
14408Cleaned up EC driver. Exported an external EC read/write
14409interface. By going through this, other drivers (most notably
14410sonypi) will be able to serialize access to the EC.
14411
14412
144133) iASL Compiler/Disassembler
14414
14415Implemented support to optionally generate include files for both
14416ASM and C (the -i switch).  This simplifies BIOS development by
14417automatically creating include files that contain external
14418declarations for the symbols that are created within the
14419
14420(optionally generated) ASM and C AML source files.
14421
14422
14423----------------------------------------
1442415 November 2002.  Summary of changes for version 20021115.
14425
144261) ACPI CA Core Subsystem:
14427
14428Fixed a memory leak problem where an error during resolution of
14429
14430method arguments during a method invocation from another method
14431failed to cleanup properly by deleting all successfully resolved
14432argument objects.
14433
14434Fixed a problem where the target of the Index() operator was not
14435correctly constructed if the source object was a package.  This
14436problem has not been detected because the use of a target operand
14437with Index() is very rare.
14438
14439Fixed a problem with the Index() operator where an attempt was
14440made to delete the operand objects twice.
14441
14442Fixed a problem where an attempt was made to delete an operand
14443twice during execution of the CondRefOf() operator if the target
14444did not exist.
14445
14446Implemented the first of perhaps several internal create object
14447functions that create and initialize a specific object type.  This
14448consolidates duplicated code wherever the object is created, thus
14449shrinking the size of the subsystem.
14450
14451Implemented improved debug/error messages for errors that occur
14452during nested method invocations.  All executing method pathnames
14453are displayed (with the error) as the call stack is unwound - thus
14454simplifying debug.
14455
14456Fixed a problem introduced in the 10/02 release that caused
14457premature deletion of a buffer object if a buffer was used as an
14458ASL operand where an integer operand is required (Thus causing an
14459implicit object conversion from Buffer to Integer.)  The change in
14460the 10/02 release was attempting to fix a memory leak (albeit
14461incorrectly.)
14462
14463Code and Data Size: Current core subsystem library sizes are shown
14464below.  These are the code and data sizes for the acpica.lib
14465produced by the Microsoft Visual C++ 6.0 compiler, and these
14466values do not include any ACPI driver or OSPM code.  The debug
14467version of the code includes the debug output trace mechanism and
14468has a much larger code and data size.  Note that these values will
14469vary depending on the efficiency of the compiler and the compiler
14470options used during generation.
14471
14472  Previous Release
14473    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14474    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14475  Current Release:
14476    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14477    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14478
14479
144802) Linux
14481
14482Changed the implementation of the ACPI semaphores to use down()
14483instead of down_interruptable().  It is important that the
14484execution of ACPI control methods not be interrupted by signals.
14485Methods must run to completion, or the system may be left in an
14486unknown/unstable state.
14487
14488Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
14489(Shawn Starr)
14490
14491
144923) iASL Compiler/Disassembler
14493
14494
14495Changed the default location of output files.  All output files
14496are now placed in the current directory by default instead of in
14497the directory of the source file.  This change may affect some
14498existing makefiles, but it brings the behavior of the compiler in
14499line with other similar tools.  The location of the output files
14500can be overridden with the -p command line switch.
14501
14502
14503----------------------------------------
1450411 November 2002.  Summary of changes for version 20021111.
14505
14506
145070) ACPI Specification 2.0B is released and is now available at:
14508http://www.acpi.info/index.html
14509
14510
145111) ACPI CA Core Subsystem:
14512
14513Implemented support for the ACPI 2.0 SMBus Operation Regions.
14514This includes the early detection and handoff of the request to
14515the SMBus region handler (avoiding all of the complex field
14516support code), and support for the bidirectional return packet
14517from an SMBus write operation.  This paves the way for the
14518development of SMBus drivers in each host operating system.
14519
14520Fixed a problem where the semaphore WAIT_FOREVER constant was
14521defined as 32 bits, but must be 16 bits according to the ACPI
14522specification.  This had the side effect of causing ASL
14523Mutex/Event timeouts even though the ASL code requested a wait
14524forever.  Changed all internal references to the ACPI timeout
14525parameter to 16 bits to prevent future problems.  Changed the name
14526of WAIT_FOREVER to ACPI_WAIT_FOREVER.
14527
14528Code and Data Size: Current core subsystem library sizes are shown
14529below.  These are the code and data sizes for the acpica.lib
14530produced by the Microsoft Visual C++ 6.0 compiler, and these
14531values do not include any ACPI driver or OSPM code.  The debug
14532version of the code includes the debug output trace mechanism and
14533has a much larger code and data size.  Note that these values will
14534vary depending on the efficiency of the compiler and the compiler
14535options used during generation.
14536
14537  Previous Release
14538    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14539    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14540  Current Release:
14541    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14542    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14543
14544
145452) Linux
14546
14547Module loading/unloading fixes (John Cagle)
14548
14549
145503) iASL Compiler/Disassembler
14551
14552Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
14553
14554Implemented support for the disassembly of all SMBus protocol
14555keywords (SMBQuick, SMBWord, etc.)
14556
14557----------------------------------------
1455801 November 2002.  Summary of changes for version 20021101.
14559
14560
145611) ACPI CA Core Subsystem:
14562
14563Fixed a problem where platforms that have a GPE1 block but no GPE0
14564block were not handled correctly.  This resulted in a "GPE
14565overlap" error message.  GPE0 is no longer required.
14566
14567Removed code added in the previous release that inserted nodes
14568into the namespace in alphabetical order.  This caused some side-
14569effects on various machines.  The root cause of the problem is
14570still under investigation since in theory, the internal ordering
14571of the namespace nodes should not matter.
14572
14573
14574Enhanced error reporting for the case where a named object is not
14575found during control method execution.  The full ACPI namepath
14576(name reference) of the object that was not found is displayed in
14577this case.
14578
14579Note: as a result of the overhaul of the namespace object types in
14580the previous release, the namespace nodes for the predefined
14581scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
14582instead of ACPI_TYPE_ANY.  This simplifies the namespace
14583management code but may affect code that walks the namespace tree
14584looking for specific object types.
14585
14586Code and Data Size: Current core subsystem library sizes are shown
14587below.  These are the code and data sizes for the acpica.lib
14588produced by the Microsoft Visual C++ 6.0 compiler, and these
14589values do not include any ACPI driver or OSPM code.  The debug
14590version of the code includes the debug output trace mechanism and
14591has a much larger code and data size.  Note that these values will
14592vary depending on the efficiency of the compiler and the compiler
14593options used during generation.
14594
14595  Previous Release
14596    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14597    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14598  Current Release:
14599    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14600    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14601
14602
146032) Linux
14604
14605Fixed a problem introduced in the previous release where the
14606Processor and Thermal objects were not recognized and installed in
14607/proc.  This was related to the scope type change described above.
14608
14609
146103) iASL Compiler/Disassembler
14611
14612Implemented the -g option to get all of the required ACPI tables
14613from the registry and save them to files (Windows version of the
14614compiler only.)  The required tables are the FADT, FACS, and DSDT.
14615
14616Added ACPI table checksum validation during table disassembly in
14617order to catch corrupted tables.
14618
14619
14620----------------------------------------
1462122 October 2002.  Summary of changes for version 20021022.
14622
146231) ACPI CA Core Subsystem:
14624
14625Implemented a restriction on the Scope operator that the target
14626must already exist in the namespace at the time the operator is
14627encountered (during table load or method execution).  In other
14628words, forward references are not allowed and Scope() cannot
14629create a new object. This changes the previous behavior where the
14630interpreter would create the name if not found.  This new behavior
14631correctly enables the search-to-root algorithm during namespace
14632lookup of the target name.  Because of this upsearch, this fixes
14633the known Compaq _SB_.OKEC problem and makes both the AML
14634interpreter and iASL compiler compatible with other ACPI
14635implementations.
14636
14637Completed a major overhaul of the internal ACPI object types for
14638the ACPI Namespace and the associated operand objects.  Many of
14639these types had become obsolete with the introduction of the two-
14640pass namespace load.  This cleanup simplifies the code and makes
14641the entire namespace load mechanism much clearer and easier to
14642understand.
14643
14644Improved debug output for tracking scope opening/closing to help
14645diagnose scoping issues.  The old scope name as well as the new
14646scope name are displayed.  Also improved error messages for
14647problems with ASL Mutex objects and error messages for GPE
14648problems.
14649
14650Cleaned up the namespace dump code, removed obsolete code.
14651
14652All string output (for all namespace/object dumps) now uses the
14653common ACPI string output procedure which handles escapes properly
14654and does not emit non-printable characters.
14655
14656Fixed some issues with constants in the 64-bit version of the
14657local C library (utclib.c)
14658
14659
146602) Linux
14661
14662EC Driver:  No longer attempts to acquire the Global Lock at
14663interrupt level.
14664
14665
146663) iASL Compiler/Disassembler
14667
14668Implemented ACPI 2.0B grammar change that disallows all Type 1 and
146692 opcodes outside of a control method.  This means that the
14670"executable" operators (versus the "namespace" operators) cannot
14671be used at the table level; they can only be used within a control
14672method.
14673
14674Implemented the restriction on the Scope() operator where the
14675target must already exist in the namespace at the time the
14676operator is encountered (during ASL compilation). In other words,
14677forward references are not allowed and Scope() cannot create a new
14678object.  This makes the iASL compiler compatible with other ACPI
14679implementations and makes the Scope() implementation adhere to the
14680ACPI specification.
14681
14682Fixed a problem where namepath optimization for the Alias operator
14683was optimizing the wrong path (of the two namepaths.)  This caused
14684a "Missing alias link" error message.
14685
14686Fixed a problem where an "unknown reserved name" warning could be
14687incorrectly generated for names like "_SB" when the trailing
14688underscore is not used in the original ASL.
14689
14690Fixed a problem where the reserved name check did not handle
14691NamePaths with multiple NameSegs correctly.  The first nameseg of
14692the NamePath was examined instead of the last NameSeg.
14693
14694
14695----------------------------------------
14696
1469702 October 2002.  Summary of changes for this release.
14698
14699
147001) ACPI CA Core Subsystem version 20021002:
14701
14702Fixed a problem where a store/copy of a string to an existing
14703string did not always set the string length properly in the String
14704object.
14705
14706Fixed a reported problem with the ToString operator where the
14707behavior was identical to the ToHexString operator instead of just
14708simply converting a raw buffer to a string data type.
14709
14710Fixed a problem where CopyObject and the other "explicit"
14711conversion operators were not updating the internal namespace node
14712type as part of the store operation.
14713
14714Fixed a memory leak during implicit source operand conversion
14715where the original object was not deleted if it was converted to a
14716new object of a different type.
14717
14718Enhanced error messages for all problems associated with namespace
14719lookups.  Common procedure generates and prints the lookup name as
14720well as the formatted status.
14721
14722Completed implementation of a new design for the Alias support
14723within the namespace.  The existing design did not handle the case
14724where a new object was assigned to one of the two names due to the
14725use of an explicit conversion operator, resulting in the two names
14726pointing to two different objects.  The new design simply points
14727the Alias name to the original name node - not to the object.
14728This results in a level of indirection that must be handled in the
14729name resolution mechanism.
14730
14731Code and Data Size: Current core subsystem library sizes are shown
14732below.  These are the code and data sizes for the acpica.lib
14733produced by the Microsoft Visual C++ 6.0 compiler, and these
14734values do not include any ACPI driver or OSPM code.  The debug
14735version of the code includes the debug output trace mechanism and
14736has a larger code and data size.  Note that these values will vary
14737depending on the efficiency of the compiler and the compiler
14738options used during generation.
14739
14740  Previous Release
14741    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
14742    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
14743  Current Release:
14744    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14745    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14746
14747
147482) Linux
14749
14750Initialize thermal driver's timer before it is used. (Knut
14751Neumann)
14752
14753Allow handling negative celsius values. (Kochi Takayoshi)
14754
14755Fix thermal management and make trip points. R/W (Pavel Machek)
14756
14757Fix /proc/acpi/sleep. (P. Christeas)
14758
14759IA64 fixes. (David Mosberger)
14760
14761Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
14762
14763Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
14764Brodowski)
14765
14766
147673) iASL Compiler/Disassembler
14768
14769Clarified some warning/error messages.
14770
14771
14772----------------------------------------
1477318 September 2002.  Summary of changes for this release.
14774
14775
147761) ACPI CA Core Subsystem version 20020918:
14777
14778Fixed a reported problem with reference chaining (via the Index()
14779and RefOf() operators) in the ObjectType() and SizeOf() operators.
14780The definition of these operators includes the dereferencing of
14781all chained references to return information on the base object.
14782
14783Fixed a problem with stores to indexed package elements - the
14784existing code would not complete the store if an "implicit
14785conversion" was not performed.  In other words, if the existing
14786object (package element) was to be replaced completely, the code
14787didn't handle this case.
14788
14789Relaxed typechecking on the ASL "Scope" operator to allow the
14790target name to refer to an object of type Integer, String, or
14791Buffer, in addition to the scoping object types (Device,
14792predefined Scopes, Processor, PowerResource, and ThermalZone.)
14793This allows existing AML code that has workarounds for a bug in
14794Windows to function properly.  A warning is issued, however.  This
14795affects both the AML interpreter and the iASL compiler. Below is
14796an example of this type of ASL code:
14797
14798      Name(DEB,0x00)
14799      Scope(DEB)
14800      {
14801
14802Fixed some reported problems with 64-bit integer support in the
14803local implementation of C library functions (clib.c)
14804
14805
148062) Linux
14807
14808Use ACPI fix map region instead of IOAPIC region, since it is
14809undefined in non-SMP.
14810
14811Ensure that the SCI has the proper polarity and trigger, even on
14812systems that do not have an interrupt override entry in the MADT.
14813
148142.5 big driver reorganization (Pat Mochel)
14815
14816Use early table mapping code from acpitable.c (Andi Kleen)
14817
14818New blacklist entries (Andi Kleen)
14819
14820Blacklist improvements. Split blacklist code out into a separate
14821file. Move checking the blacklist to very early. Previously, we
14822would use ACPI tables, and then halfway through init, check the
14823blacklist -- too late. Now, it's early enough to completely fall-
14824back to non-ACPI.
14825
14826
148273) iASL Compiler/Disassembler version 20020918:
14828
14829Fixed a problem where the typechecking code didn't know that an
14830alias could point to a method.  In other words, aliases were not
14831being dereferenced during typechecking.
14832
14833
14834----------------------------------------
1483529 August 2002.  Summary of changes for this release.
14836
148371) ACPI CA Core Subsystem Version 20020829:
14838
14839If the target of a Scope() operator already exists, it must be an
14840object type that actually opens a scope -- such as a Device,
14841Method, Scope, etc.  This is a fatal runtime error.  Similar error
14842check has been added to the iASL compiler also.
14843
14844Tightened up the namespace load to disallow multiple names in the
14845same scope.  This previously was allowed if both objects were of
14846the same type.  (i.e., a lookup was the same as entering a new
14847name).
14848
14849
148502) Linux
14851
14852Ensure that the ACPI interrupt has the proper trigger and
14853polarity.
14854
14855local_irq_disable is extraneous. (Matthew Wilcox)
14856
14857Make "acpi=off" actually do what it says, and not use the ACPI
14858interpreter *or* the tables.
14859
14860Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
14861Takayoshi)
14862
14863
148643) iASL Compiler/Disassembler  Version 20020829:
14865
14866Implemented namepath optimization for name declarations.  For
14867example, a declaration like "Method (\_SB_.ABCD)" would get
14868optimized to "Method (ABCD)" if the declaration is within the
14869\_SB_ scope.  This optimization is in addition to the named
14870reference path optimization first released in the previous
14871version. This would seem to complete all possible optimizations
14872for namepaths within the ASL/AML.
14873
14874If the target of a Scope() operator already exists, it must be an
14875object type that actually opens a scope -- such as a Device,
14876Method, Scope, etc.
14877
14878Implemented a check and warning for unreachable code in the same
14879block below a Return() statement.
14880
14881Fixed a problem where the listing file was not generated if the
14882compiler aborted if the maximum error count was exceeded (200).
14883
14884Fixed a problem where the typechecking of method return values was
14885broken.  This includes the check for a return value when the
14886method is invoked as a TermArg (a return value is expected.)
14887
14888Fixed a reported problem where EOF conditions during a quoted
14889string or comment caused a fault.
14890
14891
14892----------------------------------------
1489315 August 2002.  Summary of changes for this release.
14894
148951) ACPI CA Core Subsystem Version 20020815:
14896
14897Fixed a reported problem where a Store to a method argument that
14898contains a reference did not perform the indirect store correctly.
14899This problem was created during the conversion to the new
14900reference object model - the indirect store to a method argument
14901code was not updated to reflect the new model.
14902
14903Reworked the ACPI mode change code to better conform to ACPI 2.0,
14904handle corner cases, and improve code legibility (Kochi Takayoshi)
14905
14906Fixed a problem with the pathname parsing for the carat (^)
14907prefix.  The heavy use of the carat operator by the new namepath
14908optimization in the iASL compiler uncovered a problem with the AML
14909interpreter handling of this prefix.  In the case where one or
14910more carats precede a single nameseg, the nameseg was treated as
14911standalone and the search rule (to root) was inadvertently
14912applied.  This could cause both the iASL compiler and the
14913interpreter to find the wrong object or to miss the error that
14914should occur if the object does not exist at that exact pathname.
14915
14916Found and fixed the problem where the HP Pavilion DSDT would not
14917load.  This was a relatively minor tweak to the table loading code
14918(a problem caused by the unexpected encounter with a method
14919invocation not within a control method), but it does not solve the
14920overall issue of the execution of AML code at the table level.
14921This investigation is still ongoing.
14922
14923Code and Data Size: Current core subsystem library sizes are shown
14924below.  These are the code and data sizes for the acpica.lib
14925produced by the Microsoft Visual C++ 6.0 compiler, and these
14926values do not include any ACPI driver or OSPM code.  The debug
14927version of the code includes the debug output trace mechanism and
14928has a larger code and data size.  Note that these values will vary
14929depending on the efficiency of the compiler and the compiler
14930options used during generation.
14931
14932  Previous Release
14933    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
14934    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
14935  Current Release:
14936    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
14937    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
14938
14939
149402) Linux
14941
14942Remove redundant slab.h include (Brad Hards)
14943
14944Fix several bugs in thermal.c (Herbert Nachtnebel)
14945
14946Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
14947
14948Change acpi_system_suspend to use updated irq functions (Pavel
14949Machek)
14950
14951Export acpi_get_firmware_table (Matthew Wilcox)
14952
14953Use proper root proc entry for ACPI (Kochi Takayoshi)
14954
14955Fix early-boot table parsing (Bjorn Helgaas)
14956
14957
149583) iASL Compiler/Disassembler
14959
14960Reworked the compiler options to make them more consistent and to
14961use two-letter options where appropriate.  We were running out of
14962sensible letters.   This may break some makefiles, so check the
14963current options list by invoking the compiler with no parameters.
14964
14965Completed the design and implementation of the ASL namepath
14966optimization option for the compiler.  This option optimizes all
14967references to named objects to the shortest possible path.  The
14968first attempt tries to utilize a single nameseg (4 characters) and
14969the "search-to-root" algorithm used by the interpreter.  If that
14970cannot be used (because either the name is not in the search path
14971or there is a conflict with another object with the same name),
14972the pathname is optimized using the carat prefix (usually a
14973shorter string than specifying the entire path from the root.)
14974
14975Implemented support to obtain the DSDT from the Windows registry
14976(when the disassembly option is specified with no input file).
14977Added this code as the implementation for AcpiOsTableOverride in
14978the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
14979utility) to scan memory for the DSDT to the AcpiOsTableOverride
14980function in the DOS OSL to make the disassembler truly OS
14981independent.
14982
14983Implemented a new option to disassemble and compile in one step.
14984When used without an input filename, this option will grab the
14985DSDT from the local machine, disassemble it, and compile it in one
14986step.
14987
14988Added a warning message for invalid escapes (a backslash followed
14989by any character other than the allowable escapes).  This catches
14990the quoted string error "\_SB_" (which should be "\\_SB_" ).
14991
14992Also, there are numerous instances in the ACPI specification where
14993this error occurs.
14994
14995Added a compiler option to disable all optimizations.  This is
14996basically the "compatibility mode" because by using this option,
14997the AML code will come out exactly the same as other ASL
14998compilers.
14999
15000Added error messages for incorrectly ordered dependent resource
15001functions.  This includes: missing EndDependentFn macro at end of
15002dependent resource list, nested dependent function macros (both
15003start and end), and missing StartDependentFn macro.  These are
15004common errors that should be caught at compile time.
15005
15006Implemented _OSI support for the disassembler and compiler.  _OSI
15007must be included in the namespace for proper disassembly (because
15008the disassembler must know the number of arguments.)
15009
15010Added an "optimization" message type that is optional (off by
15011default).  This message is used for all optimizations - including
15012constant folding, integer optimization, and namepath optimization.
15013
15014----------------------------------------
1501525 July 2002.  Summary of changes for this release.
15016
15017
150181) ACPI CA Core Subsystem Version 20020725:
15019
15020The AML Disassembler has been enhanced to produce compilable ASL
15021code and has been integrated into the iASL compiler (see below) as
15022well as the single-step disassembly for the AML debugger and the
15023disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
15024resource templates and macros are fully supported.  The
15025disassembler has been tested on over 30 different AML files,
15026producing identical AML when the resulting disassembled ASL file
15027is recompiled with the same ASL compiler.
15028
15029Modified the Resource Manager to allow zero interrupts and zero
15030dma channels during the GetCurrentResources call.  This was
15031causing problems on some platforms.
15032
15033Added the AcpiOsRedirectOutput interface to the OSL to simplify
15034output redirection for the AcpiOsPrintf and AcpiOsVprintf
15035interfaces.
15036
15037Code and Data Size: Current core subsystem library sizes are shown
15038below.  These are the code and data sizes for the acpica.lib
15039produced by the Microsoft Visual C++ 6.0 compiler, and these
15040values do not include any ACPI driver or OSPM code.  The debug
15041version of the code includes the debug output trace mechanism and
15042has a larger code and data size.  Note that these values will vary
15043depending on the efficiency of the compiler and the compiler
15044options used during generation.
15045
15046  Previous Release
15047    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15048    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15049  Current Release:
15050    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
15051    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
15052
15053
150542) Linux
15055
15056Fixed a panic in the EC driver (Dominik Brodowski)
15057
15058Implemented checksum of the R/XSDT itself during Linux table scan
15059(Richard Schaal)
15060
15061
150623) iASL compiler
15063
15064The AML disassembler is integrated into the compiler.  The "-d"
15065option invokes the disassembler  to completely disassemble an
15066input AML file, producing as output a text ASL file with the
15067extension ".dsl" (to avoid name collisions with existing .asl
15068source files.)  A future enhancement will allow the disassembler
15069to obtain the BIOS DSDT from the registry under Windows.
15070
15071Fixed a problem with the VendorShort and VendorLong resource
15072descriptors where an invalid AML sequence was created.
15073
15074Implemented a fix for BufferData term in the ASL parser.  It was
15075inadvertently defined twice, allowing invalid syntax to pass and
15076causing reduction conflicts.
15077
15078Fixed a problem where the Ones opcode could get converted to a
15079value of zero if "Ones" was used where a byte, word or dword value
15080was expected.  The 64-bit value is now truncated to the correct
15081size with the correct value.
15082
15083
15084
15085----------------------------------------
1508602 July 2002.  Summary of changes for this release.
15087
15088
150891) ACPI CA Core Subsystem Version 20020702:
15090
15091The Table Manager code has been restructured to add several new
15092features.  Tables that are not required by the core subsystem
15093(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
15094validated in any way and are returned from AcpiGetFirmwareTable if
15095requested.  The AcpiOsTableOverride interface is now called for
15096each table that is loaded by the subsystem in order to allow the
15097host to override any table it chooses.  Previously, only the DSDT
15098could be overridden.  Added one new files, tbrsdt.c and
15099tbgetall.c.
15100
15101Fixed a problem with the conversion of internal package objects to
15102external objects (when a package is returned from a control
15103method.)  The return buffer length was set to zero instead of the
15104proper length of the package object.
15105
15106Fixed a reported problem with the use of the RefOf and DeRefOf
15107operators when passing reference arguments to control methods.  A
15108new type of Reference object is used internally for references
15109produced by the RefOf operator.
15110
15111Added additional error messages in the Resource Manager to explain
15112AE_BAD_DATA errors when they occur during resource parsing.
15113
15114Split the AcpiEnableSubsystem into two primitives to enable a
15115finer granularity initialization sequence.  These two calls should
15116be called in this order: AcpiEnableSubsystem (flags),
15117AcpiInitializeObjects (flags).  The flags parameter remains the
15118same.
15119
15120
151212) Linux
15122
15123Updated the ACPI utilities module to understand the new style of
15124fully resolved package objects that are now returned from the core
15125subsystem.  This eliminates errors of the form:
15126
15127    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
15128    acpi_utils-0430 [145] acpi_evaluate_reference:
15129        Invalid element in package (not a device reference)
15130
15131The method evaluation utility uses the new buffer allocation
15132scheme instead of calling AcpiEvaluate Object twice.
15133
15134Added support for ECDT. This allows the use of the Embedded
15135
15136Controller before the namespace has been fully initialized, which
15137is necessary for ACPI 2.0 support, and for some laptops to
15138initialize properly. (Laptops using ECDT are still rare, so only
15139limited testing was performed of the added functionality.)
15140
15141Fixed memory leaks in the EC driver.
15142
15143Eliminated a brittle code structure in acpi_bus_init().
15144
15145Eliminated the acpi_evaluate() helper function in utils.c. It is
15146no longer needed since acpi_evaluate_object can optionally
15147allocate memory for the return object.
15148
15149Implemented fix for keyboard hang when getting battery readings on
15150some systems (Stephen White)
15151
15152PCI IRQ routing update (Dominik Brodowski)
15153
15154Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
15155support
15156
15157----------------------------------------
1515811 June 2002.  Summary of changes for this release.
15159
15160
151611) ACPI CA Core Subsystem Version 20020611:
15162
15163Fixed a reported problem where constants such as Zero and One
15164appearing within _PRT packages were not handled correctly within
15165the resource manager code.  Originally reported against the ASL
15166compiler because the code generator now optimizes integers to
15167their minimal AML representation (i.e. AML constants if possible.)
15168The _PRT code now handles all AML constant opcodes correctly
15169(Zero, One, Ones, Revision).
15170
15171Fixed a problem with the Concatenate operator in the AML
15172interpreter where a buffer result object was incorrectly marked as
15173not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
15174
15175All package sub-objects are now fully resolved before they are
15176returned from the external ACPI interfaces.  This means that name
15177strings are resolved to object handles, and constant operators
15178(Zero, One, Ones, Revision) are resolved to Integers.
15179
15180Implemented immediate resolution of the AML Constant opcodes
15181(Zero, One, Ones, Revision) to Integer objects upon detection
15182within the AML stream. This has simplified and reduced the
15183generated code size of the subsystem by eliminating about 10
15184switch statements for these constants (which previously were
15185contained in Reference objects.)  The complicating issues are that
15186the Zero opcode is used as a "placeholder" for unspecified
15187optional target operands and stores to constants are defined to be
15188no-ops.
15189
15190Code and Data Size: Current core subsystem library sizes are shown
15191below. These are the code and data sizes for the acpica.lib
15192produced by the Microsoft Visual C++ 6.0 compiler, and these
15193values do not include any ACPI driver or OSPM code.  The debug
15194version of the code includes the debug output trace mechanism and
15195has a larger code and data size.  Note that these values will vary
15196depending on the efficiency of the compiler and the compiler
15197options used during generation.
15198
15199  Previous Release
15200    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15201    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15202  Current Release:
15203    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15204    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15205
15206
152072) Linux
15208
15209
15210Added preliminary support for obtaining _TRA data for PCI root
15211bridges (Bjorn Helgaas).
15212
15213
152143) iASL Compiler Version X2046:
15215
15216Fixed a problem where the "_DDN" reserved name was defined to be a
15217control method with one argument.  There are no arguments, and
15218_DDN does not have to be a control method.
15219
15220Fixed a problem with the Linux version of the compiler where the
15221source lines printed with error messages were the wrong lines.
15222This turned out to be the "LF versus CR/LF" difference between
15223Windows and Unix.  This appears to be the longstanding issue
15224concerning listing output and error messages.
15225
15226Fixed a problem with the Linux version of compiler where opcode
15227names within error messages were wrong.  This was caused by a
15228slight difference in the output of the Flex tool on Linux versus
15229Windows.
15230
15231Fixed a problem with the Linux compiler where the hex output files
15232contained some garbage data caused by an internal buffer overrun.
15233
15234
15235----------------------------------------
1523617 May 2002.  Summary of changes for this release.
15237
15238
152391) ACPI CA Core Subsystem Version 20020517:
15240
15241Implemented a workaround to an BIOS bug discovered on the HP
15242OmniBook where the FADT revision number and the table size are
15243inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
15244behavior is to fallback to using only the ACPI 1.0 fields of the
15245FADT if the table is too small to be a ACPI 2.0 table as claimed
15246by the revision number.  Although this is a BIOS bug, this is a
15247case where the workaround is simple enough and with no side
15248effects, so it seemed prudent to add it.  A warning message is
15249issued, however.
15250
15251Implemented minimum size checks for the fixed-length ACPI tables -
15252- the FADT and FACS, as well as consistency checks between the
15253revision number and the table size.
15254
15255Fixed a reported problem in the table override support where the
15256new table pointer was incorrectly treated as a physical address
15257instead of a logical address.
15258
15259Eliminated the use of the AE_AML_ERROR exception and replaced it
15260with more descriptive codes.
15261
15262Fixed a problem where an exception would occur if an ASL Field was
15263defined with no named Field Units underneath it (used by some
15264index fields).
15265
15266Code and Data Size: Current core subsystem library sizes are shown
15267below.  These are the code and data sizes for the acpica.lib
15268produced by the Microsoft Visual C++ 6.0 compiler, and these
15269values do not include any ACPI driver or OSPM code.  The debug
15270version of the code includes the debug output trace mechanism and
15271has a larger code and data size.  Note that these values will vary
15272depending on the efficiency of the compiler and the compiler
15273options used during generation.
15274
15275  Previous Release
15276    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15277    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15278  Current Release:
15279    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15280    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15281
15282
15283
152842) Linux
15285
15286Much work done on ACPI init (MADT and PCI IRQ routing support).
15287(Paul D. and Dominik Brodowski)
15288
15289Fix PCI IRQ-related panic on boot (Sam Revitch)
15290
15291Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
15292
15293Fix "MHz" typo (Dominik Brodowski)
15294
15295Fix RTC year 2000 issue (Dominik Brodowski)
15296
15297Preclude multiple button proc entries (Eric Brunet)
15298
15299Moved arch-specific code out of include/platform/aclinux.h
15300
153013) iASL Compiler Version X2044:
15302
15303Implemented error checking for the string used in the EISAID macro
15304(Usually used in the definition of the _HID object.)  The code now
15305strictly enforces the PnP format - exactly 7 characters, 3
15306uppercase letters and 4 hex digits.
15307
15308If a raw string is used in the definition of the _HID object
15309(instead of the EISAID macro), the string must contain all
15310alphanumeric characters (e.g., "*PNP0011" is not allowed because
15311of the asterisk.)
15312
15313Implemented checking for invalid use of ACPI reserved names for
15314most of the name creation operators (Name, Device, Event, Mutex,
15315OperationRegion, PowerResource, Processor, and ThermalZone.)
15316Previously, this check was only performed for control methods.
15317
15318Implemented an additional check on the Name operator to emit an
15319error if a reserved name that must be implemented in ASL as a
15320control method is used.  We know that a reserved name must be a
15321method if it is defined with input arguments.
15322
15323The warning emitted when a namespace object reference is not found
15324during the cross reference phase has been changed into an error.
15325The "External" directive should be used for names defined in other
15326modules.
15327
15328
153294) Tools and Utilities
15330
15331The 16-bit tools (adump16 and aexec16) have been regenerated and
15332tested.
15333
15334Fixed a problem with the output of both acpidump and adump16 where
15335the indentation of closing parentheses and brackets was not
15336
15337aligned properly with the parent block.
15338
15339
15340----------------------------------------
1534103 May 2002.  Summary of changes for this release.
15342
15343
153441) ACPI CA Core Subsystem Version 20020503:
15345
15346Added support a new OSL interface that allows the host operating
15347
15348system software to override the DSDT found in the firmware -
15349AcpiOsTableOverride.  With this interface, the OSL can examine the
15350version of the firmware DSDT and replace it with a different one
15351if desired.
15352
15353Added new external interfaces for accessing ACPI registers from
15354device drivers and other system software - AcpiGetRegister and
15355AcpiSetRegister.  This was simply an externalization of the
15356existing AcpiHwBitRegister interfaces.
15357
15358Fixed a regression introduced in the previous build where the
15359ASL/AML CreateField operator always returned an error,
15360"destination must be a NS Node".
15361
15362Extended the maximum time (before failure) to successfully enable
15363ACPI mode to 3 seconds.
15364
15365Code and Data Size: Current core subsystem library sizes are shown
15366below.  These are the code and data sizes for the acpica.lib
15367produced by the Microsoft Visual C++ 6.0 compiler, and these
15368values do not include any ACPI driver or OSPM code.  The debug
15369version of the code includes the debug output trace mechanism and
15370has a larger code and data size.  Note that these values will vary
15371depending on the efficiency of the compiler and the compiler
15372options used during generation.
15373
15374  Previous Release
15375    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15376    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15377  Current Release:
15378    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15379    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15380
15381
153822) Linux
15383
15384Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
15385free. While 3 out of 4 of our in-house systems work fine, the last
15386one still hangs when testing the LAPIC timer.
15387
15388Renamed many files in 2.5 kernel release to omit "acpi_" from the
15389name.
15390
15391Added warning on boot for Presario 711FR.
15392
15393Sleep improvements (Pavel Machek)
15394
15395ACPI can now be built without CONFIG_PCI enabled.
15396
15397IA64: Fixed memory map functions (JI Lee)
15398
15399
154003) iASL Compiler Version X2043:
15401
15402Added support to allow the compiler to be integrated into the MS
15403VC++ development environment for one-button compilation of single
15404files or entire projects -- with error-to-source-line mapping.
15405
15406Implemented support for compile-time constant folding for the
15407Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
15408specification.  This allows the ASL writer to use expressions
15409instead of Integer/Buffer/String constants in terms that must
15410evaluate to constants at compile time and will also simplify the
15411emitted AML in any such sub-expressions that can be folded
15412(evaluated at compile-time.)  This increases the size of the
15413compiler significantly because a portion of the ACPI CA AML
15414interpreter is included within the compiler in order to pre-
15415evaluate constant expressions.
15416
15417
15418Fixed a problem with the "Unicode" ASL macro that caused the
15419compiler to fault.  (This macro is used in conjunction with the
15420_STR reserved name.)
15421
15422Implemented an AML opcode optimization to use the Zero, One, and
15423Ones opcodes where possible to further reduce the size of integer
15424constants and thus reduce the overall size of the generated AML
15425code.
15426
15427Implemented error checking for new reserved terms for ACPI version
154282.0A.
15429
15430Implemented the -qr option to display the current list of ACPI
15431reserved names known to the compiler.
15432
15433Implemented the -qc option to display the current list of ASL
15434operators that are allowed within constant expressions and can
15435therefore be folded at compile time if the operands are constants.
15436
15437
154384) Documentation
15439
15440Updated the Programmer's Reference for new interfaces, data types,
15441and memory allocation model options.
15442
15443Updated the iASL Compiler User Reference to apply new format and
15444add information about new features and options.
15445
15446----------------------------------------
1544719 April 2002.  Summary of changes for this release.
15448
154491) ACPI CA Core Subsystem Version 20020419:
15450
15451The source code base for the Core Subsystem has been completely
15452cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
15453versions.  The Lint option files used are included in the
15454/acpi/generate/lint directory.
15455
15456Implemented enhanced status/error checking across the entire
15457Hardware manager subsystem.  Any hardware errors (reported from
15458the OSL) are now bubbled up and will abort a running control
15459method.
15460
15461
15462Fixed a problem where the per-ACPI-table integer width (32 or 64)
15463was stored only with control method nodes, causing a fault when
15464non-control method code was executed during table loading.  The
15465solution implemented uses a global variable to indicate table
15466width across the entire ACPI subsystem.  Therefore, ACPI CA does
15467not support mixed integer widths across different ACPI tables
15468(DSDT, SSDT).
15469
15470Fixed a problem where NULL extended fields (X fields) in an ACPI
154712.0 ACPI FADT caused the table load to fail.  Although the
15472existing ACPI specification is a bit fuzzy on this topic, the new
15473behavior is to fall back on a ACPI 1.0 field if the corresponding
15474ACPI 2.0 X field is zero (even though the table revision indicates
15475a full ACPI 2.0 table.)  The ACPI specification will be updated to
15476clarify this issue.
15477
15478Fixed a problem with the SystemMemory operation region handler
15479where memory was always accessed byte-wise even if the AML-
15480specified access width was larger than a byte.  This caused
15481problems on systems with memory-mapped I/O.  Memory is now
15482accessed with the width specified.  On systems that do not support
15483non-aligned transfers, a check is made to guarantee proper address
15484alignment before proceeding in order to avoid an AML-caused
15485alignment fault within the kernel.
15486
15487
15488Fixed a problem with the ExtendedIrq resource where only one byte
15489of the 4-byte Irq field was extracted.
15490
15491Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
15492function was out of date and required a rewrite.
15493
15494Code and Data Size: Current core subsystem library sizes are shown
15495below.  These are the code and data sizes for the acpica.lib
15496produced by the Microsoft Visual C++ 6.0 compiler, and these
15497values do not include any ACPI driver or OSPM code.  The debug
15498version of the code includes the debug output trace mechanism and
15499has a larger code and data size.  Note that these values will vary
15500depending on the efficiency of the compiler and the compiler
15501options used during generation.
15502
15503  Previous Release
15504    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15505    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15506  Current Release:
15507    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15508    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15509
15510
155112) Linux
15512
15513PCI IRQ routing fixes (Dominik Brodowski)
15514
15515
155163) iASL Compiler Version X2042:
15517
15518Implemented an additional compile-time error check for a field
15519unit whose size + minimum access width would cause a run-time
15520access beyond the end-of-region.  Previously, only the field size
15521itself was checked.
15522
15523The Core subsystem and iASL compiler now share a common parse
15524object in preparation for compile-time evaluation of the type
155253/4/5 ASL operators.
15526
15527
15528----------------------------------------
15529Summary of changes for this release: 03_29_02
15530
155311) ACPI CA Core Subsystem Version 20020329:
15532
15533Implemented support for late evaluation of TermArg operands to
15534Buffer and Package objects.  This allows complex expressions to be
15535used in the declarations of these object types.
15536
15537Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
155381.0, if the field was larger than 32 bits, it was returned as a
15539buffer - otherwise it was returned as an integer.  In ACPI 2.0,
15540the field is returned as a buffer only if the field is larger than
1554164 bits.  The TableRevision is now considered when making this
15542conversion to avoid incompatibility with existing ASL code.
15543
15544Implemented logical addressing for AcpiOsGetRootPointer.  This
15545allows an RSDP with either a logical or physical address.  With
15546this support, the host OS can now override all ACPI tables with
15547one logical RSDP.  Includes implementation of  "typed" pointer
15548support to allow a common data type for both physical and logical
15549pointers internally.  This required a change to the
15550AcpiOsGetRootPointer interface.
15551
15552Implemented the use of ACPI 2.0 Generic Address Structures for all
15553GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
15554mapped I/O for these ACPI features.
15555
15556Initialization now ignores not only non-required tables (All
15557tables other than the FADT, FACS, DSDT, and SSDTs), but also does
15558not validate the table headers of unrecognized tables.
15559
15560Fixed a problem where a notify handler could only be
15561installed/removed on an object of type Device.  All "notify"
15562
15563objects are now supported -- Devices, Processor, Power, and
15564Thermal.
15565
15566Removed most verbosity from the ACPI_DB_INFO debug level.  Only
15567critical information is returned when this debug level is enabled.
15568
15569Code and Data Size: Current core subsystem library sizes are shown
15570below.  These are the code and data sizes for the acpica.lib
15571produced by the Microsoft Visual C++ 6.0 compiler, and these
15572values do not include any ACPI driver or OSPM code.  The debug
15573version of the code includes the debug output trace mechanism and
15574has a larger code and data size.  Note that these values will vary
15575depending on the efficiency of the compiler and the compiler
15576options used during generation.
15577
15578  Previous Release
15579    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
15580    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
15581  Current Release:
15582    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15583    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15584
15585
155862) Linux:
15587
15588The processor driver (acpi_processor.c) now fully supports ACPI
155892.0-based processor performance control (e.g. Intel(R)
15590SpeedStep(TM) technology) Note that older laptops that only have
15591the Intel "applet" interface are not supported through this.  The
15592'limit' and 'performance' interface (/proc) are fully functional.
15593[Note that basic policy for controlling performance state
15594transitions will be included in the next version of ospmd.]  The
15595idle handler was modified to more aggressively use C2, and PIIX4
15596errata handling underwent a complete overhaul (big thanks to
15597Dominik Brodowski).
15598
15599Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
15600based devices in the ACPI namespace are now dynamically bound
15601(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
15602This allows, among other things, ACPI to resolve bus numbers for
15603subordinate PCI bridges.
15604
15605Enhanced PCI IRQ routing to get the proper bus number for _PRT
15606entries defined underneath PCI bridges.
15607
15608Added IBM 600E to bad bios list due to invalid _ADR value for
15609PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
15610
15611In the process of adding full MADT support (e.g. IOAPIC) for IA32
15612(acpi.c, mpparse.c) -- stay tuned.
15613
15614Added back visual differentiation between fixed-feature and
15615control-method buttons in dmesg.  Buttons are also subtyped (e.g.
15616button/power/PWRF) to simplify button identification.
15617
15618We no longer use -Wno-unused when compiling debug. Please ignore
15619any "_THIS_MODULE defined but not used" messages.
15620
15621Can now shut down the system using "magic sysrq" key.
15622
15623
156243) iASL Compiler version 2041:
15625
15626Fixed a problem where conversion errors for hex/octal/decimal
15627constants were not reported.
15628
15629Implemented a fix for the General Register template Address field.
15630This field was 8 bits when it should be 64.
15631
15632Fixed a problem where errors/warnings were no longer being emitted
15633within the listing output file.
15634
15635Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
15636exactly 4 characters, alphanumeric only.
15637
15638
15639
15640
15641----------------------------------------
15642Summary of changes for this release: 03_08_02
15643
15644
156451) ACPI CA Core Subsystem Version 20020308:
15646
15647Fixed a problem with AML Fields where the use of the "AccessAny"
15648keyword could cause an interpreter error due to attempting to read
15649or write beyond the end of the parent Operation Region.
15650
15651Fixed a problem in the SystemMemory Operation Region handler where
15652an attempt was made to map memory beyond the end of the region.
15653This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
15654errors on some Linux systems.
15655
15656Fixed a problem where the interpreter/namespace "search to root"
15657algorithm was not functioning for some object types.  Relaxed the
15658internal restriction on the search to allow upsearches for all
15659external object types as well as most internal types.
15660
15661
156622) Linux:
15663
15664We now use safe_halt() macro versus individual calls to sti | hlt.
15665
15666Writing to the processor limit interface should now work. "echo 1"
15667will increase the limit, 2 will decrease, and 0 will reset to the
15668
15669default.
15670
15671
156723) ASL compiler:
15673
15674Fixed segfault on Linux version.
15675
15676
15677----------------------------------------
15678Summary of changes for this release: 02_25_02
15679
156801) ACPI CA Core Subsystem:
15681
15682
15683Fixed a problem where the GPE bit masks were not initialized
15684properly, causing erratic GPE behavior.
15685
15686Implemented limited support for multiple calling conventions.  The
15687code can be generated with either the VPL (variable parameter
15688list, or "C") convention, or the FPL (fixed parameter list, or
15689"Pascal") convention.  The core subsystem is about 3.4% smaller
15690when generated with FPL.
15691
15692
156932) Linux
15694
15695Re-add some /proc/acpi/event functionality that was lost during
15696the rewrite
15697
15698Resolved issue with /proc events for fixed-feature buttons showing
15699up as the system device.
15700
15701Fixed checks on C2/C3 latencies to be inclusive of maximum values.
15702
15703Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
15704
15705Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
15706
15707Fixed limit interface & usage to fix bugs with passive cooling
15708hysterisis.
15709
15710Restructured PRT support.
15711
15712
15713----------------------------------------
15714Summary of changes for this label: 02_14_02
15715
15716
157171) ACPI CA Core Subsystem:
15718
15719Implemented support in AcpiLoadTable to allow loading of FACS and
15720FADT tables.
15721
15722Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
15723been removed.  All 64-bit platforms should be migrated to the ACPI
157242.0 tables.  The actbl71.h header has been removed from the source
15725tree.
15726
15727All C macros defined within the subsystem have been prefixed with
15728"ACPI_" to avoid collision with other system include files.
15729
15730Removed the return value for the two AcpiOsPrint interfaces, since
15731it is never used and causes lint warnings for ignoring the return
15732value.
15733
15734Added error checking to all internal mutex acquire and release
15735calls.  Although a failure from one of these interfaces is
15736probably a fatal system error, these checks will cause the
15737immediate abort of the currently executing method or interface.
15738
15739Fixed a problem where the AcpiSetCurrentResources interface could
15740fault.  This was a side effect of the deployment of the new memory
15741allocation model.
15742
15743Fixed a couple of problems with the Global Lock support introduced
15744in the last major build.  The "common" (1.0/2.0) internal FACS was
15745being overwritten with the FACS signature and clobbering the
15746Global Lock pointer.  Also, the actual firmware FACS was being
15747unmapped after construction of the "common" FACS, preventing
15748access to the actual Global Lock field within it.  The "common"
15749internal FACS is no longer installed as an actual ACPI table; it
15750is used simply as a global.
15751
15752Code and Data Size: Current core subsystem library sizes are shown
15753below.  These are the code and data sizes for the acpica.lib
15754produced by the Microsoft Visual C++ 6.0 compiler, and these
15755values do not include any ACPI driver or OSPM code.  The debug
15756version of the code includes the debug output trace mechanism and
15757has a larger code and data size.  Note that these values will vary
15758depending on the efficiency of the compiler and the compiler
15759options used during generation.
15760
15761  Previous Release (02_07_01)
15762    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
15763    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
15764  Current Release:
15765    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
15766    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
15767
15768
157692) Linux
15770
15771Updated Linux-specific code for core macro and OSL interface
15772changes described above.
15773
15774Improved /proc/acpi/event. It now can be opened only once and has
15775proper poll functionality.
15776
15777Fixed and restructured power management (acpi_bus).
15778
15779Only create /proc "view by type" when devices of that class exist.
15780
15781Fixed "charging/discharging" bug (and others) in acpi_battery.
15782
15783Improved thermal zone code.
15784
15785
157863) ASL Compiler, version X2039:
15787
15788
15789Implemented the new compiler restriction on ASL String hex/octal
15790escapes to non-null, ASCII values.  An error results if an invalid
15791value is used.  (This will require an ACPI 2.0 specification
15792change.)
15793
15794AML object labels that are output to the optional C and ASM source
15795are now prefixed with both the ACPI table signature and table ID
15796to help guarantee uniqueness within a large BIOS project.
15797
15798
15799----------------------------------------
15800Summary of changes for this label: 02_01_02
15801
158021) ACPI CA Core Subsystem:
15803
15804ACPI 2.0 support is complete in the entire Core Subsystem and the
15805ASL compiler. All new ACPI 2.0 operators are implemented and all
15806other changes for ACPI 2.0 support are complete.  With
15807simultaneous code and data optimizations throughout the subsystem,
15808ACPI 2.0 support has been implemented with almost no additional
15809cost in terms of code and data size.
15810
15811Implemented a new mechanism for allocation of return buffers.  If
15812the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
15813be allocated on behalf of the caller.  Consolidated all return
15814buffer validation and allocation to a common procedure.  Return
15815buffers will be allocated via the primary OSL allocation interface
15816since it appears that a separate pool is not needed by most users.
15817If a separate pool is required for these buffers, the caller can
15818still use the original mechanism and pre-allocate the buffer(s).
15819
15820Implemented support for string operands within the DerefOf
15821operator.
15822
15823Restructured the Hardware and Event managers to be table driven,
15824simplifying the source code and reducing the amount of generated
15825code.
15826
15827Split the common read/write low-level ACPI register bitfield
15828procedure into a separate read and write, simplifying the code
15829considerably.
15830
15831Obsoleted the AcpiOsCallocate OSL interface.  This interface was
15832used only a handful of times and didn't have enough critical mass
15833for a separate interface.  Replaced with a common calloc procedure
15834in the core.
15835
15836Fixed a reported problem with the GPE number mapping mechanism
15837that allows GPE1 numbers to be non-contiguous with GPE0.
15838Reorganized the GPE information and shrunk a large array that was
15839originally large enough to hold info for all possible GPEs (256)
15840to simply large enough to hold all GPEs up to the largest GPE
15841number on the machine.
15842
15843Fixed a reported problem with resource structure alignment on 64-
15844bit platforms.
15845
15846Changed the AcpiEnableEvent and AcpiDisableEvent external
15847interfaces to not require any flags for the common case of
15848enabling/disabling a GPE.
15849
15850Implemented support to allow a "Notify" on a Processor object.
15851
15852Most TBDs in comments within the source code have been resolved
15853and eliminated.
15854
15855
15856Fixed a problem in the interpreter where a standalone parent
15857prefix (^) was not handled correctly in the interpreter and
15858debugger.
15859
15860Removed obsolete and unnecessary GPE save/restore code.
15861
15862Implemented Field support in the ASL Load operator.  This allows a
15863table to be loaded from a named field, in addition to loading a
15864table directly from an Operation Region.
15865
15866Implemented timeout and handle support in the external Global Lock
15867interfaces.
15868
15869Fixed a problem in the AcpiDump utility where pathnames were no
15870longer being generated correctly during the dump of named objects.
15871
15872Modified the AML debugger to give a full display of if/while
15873predicates instead of just one AML opcode at a time.  (The
15874predicate can have several nested ASL statements.)  The old method
15875was confusing during single stepping.
15876
15877Code and Data Size: Current core subsystem library sizes are shown
15878below. These are the code and data sizes for the acpica.lib
15879produced by the Microsoft Visual C++ 6.0 compiler, and these
15880values do not include any ACPI driver or OSPM code.  The debug
15881version of the code includes the debug output trace mechanism and
15882has a larger code and data size.  Note that these values will vary
15883depending on the efficiency of the compiler and the compiler
15884options used during generation.
15885
15886  Previous Release (12_18_01)
15887     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
15888     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
15889   Current Release:
15890     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
15891     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
15892
158932) Linux
15894
15895 Implemented fix for PIIX reverse throttling errata (Processor
15896driver)
15897
15898Added new Limit interface (Processor and Thermal drivers)
15899
15900New thermal policy (Thermal driver)
15901
15902Many updates to /proc
15903
15904Battery "low" event support (Battery driver)
15905
15906Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
15907
15908IA32 - IA64 initialization unification, no longer experimental
15909
15910Menuconfig options redesigned
15911
159123) ASL Compiler, version X2037:
15913
15914Implemented several new output features to simplify integration of
15915AML code into  firmware: 1) Output the AML in C source code with
15916labels for each named ASL object.  The    original ASL source code
15917is interleaved as C comments. 2) Output the AML in ASM source code
15918with labels and interleaved ASL    source. 3) Output the AML in
15919raw hex table form, in either C or ASM.
15920
15921Implemented support for optional string parameters to the
15922LoadTable operator.
15923
15924Completed support for embedded escape sequences within string
15925literals.  The compiler now supports all single character escapes
15926as well as the Octal and Hex escapes.  Note: the insertion of a
15927null byte into a string literal (via the hex/octal escape) causes
15928the string to be immediately terminated.  A warning is issued.
15929
15930Fixed a problem where incorrect AML was generated for the case
15931where an ASL namepath consists of a single parent prefix (
15932
15933) with no trailing name segments.
15934
15935The compiler has been successfully generated with a 64-bit C
15936compiler.
15937
15938
15939
15940
15941----------------------------------------
15942Summary of changes for this label: 12_18_01
15943
159441) Linux
15945
15946Enhanced blacklist with reason and severity fields. Any table's
15947signature may now be used to identify a blacklisted system.
15948
15949Call _PIC control method to inform the firmware which interrupt
15950model the OS is using. Turn on any disabled link devices.
15951
15952Cleaned up busmgr /proc error handling (Andreas Dilger)
15953
15954 2) ACPI CA Core Subsystem:
15955
15956Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
15957while loop)
15958
15959Completed implementation of the ACPI 2.0 "Continue",
15960"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
15961operators.  All new ACPI 2.0 operators are now implemented in both
15962the ASL compiler and the AML interpreter.  The only remaining ACPI
159632.0 task is support for the String data type in the DerefOf
15964operator.  Fixed a problem with AcquireMutex where the status code
15965was lost if the caller had to actually wait for the mutex.
15966
15967Increased the maximum ASL Field size from 64K bits to 4G bits.
15968
15969Completed implementation of the external Global Lock interfaces --
15970AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
15971Handler parameters were added.
15972
15973Completed another pass at removing warnings and issues when
15974compiling with 64-bit compilers.  The code now compiles cleanly
15975with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
15976add and subtract (diff) macros have changed considerably.
15977
15978
15979Created and deployed a new ACPI_SIZE type that is 64-bits wide on
1598064-bit platforms, 32-bits on all others.  This type is used
15981wherever memory allocation and/or the C sizeof() operator is used,
15982and affects the OSL memory allocation interfaces AcpiOsAllocate
15983and AcpiOsCallocate.
15984
15985Implemented sticky user breakpoints in the AML debugger.
15986
15987Code and Data Size: Current core subsystem library sizes are shown
15988below. These are the code and data sizes for the acpica.lib
15989produced by the Microsoft Visual C++ 6.0 compiler, and these
15990values do not include any ACPI driver or OSPM code.  The debug
15991version of the code includes the debug output trace mechanism and
15992has a larger code and data size. Note that these values will vary
15993depending on the efficiency of the compiler and the compiler
15994options used during generation.
15995
15996  Previous Release (12_05_01)
15997     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
15998     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
15999   Current Release:
16000     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
16001     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
16002
16003 3) ASL Compiler, version X2034:
16004
16005Now checks for (and generates an error if detected) the use of a
16006Break or Continue statement without an enclosing While statement.
16007
16008
16009Successfully generated the compiler with the Intel 64-bit C
16010compiler.
16011
16012 ----------------------------------------
16013Summary of changes for this label: 12_05_01
16014
16015 1) ACPI CA Core Subsystem:
16016
16017The ACPI 2.0 CopyObject operator is fully implemented.  This
16018operator creates a new copy of an object (and is also used to
16019bypass the "implicit conversion" mechanism of the Store operator.)
16020
16021The ACPI 2.0 semantics for the SizeOf operator are fully
16022implemented.  The change is that performing a SizeOf on a
16023reference object causes an automatic dereference of the object to
16024tha actual value before the size is evaluated. This behavior was
16025undefined in ACPI 1.0.
16026
16027The ACPI 2.0 semantics for the Extended IRQ resource descriptor
16028have been implemented.  The interrupt polarity and mode are now
16029independently set.
16030
16031Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
16032appearing in Package objects were not properly converted to
16033integers when the internal Package was converted to an external
16034object (via the AcpiEvaluateObject interface.)
16035
16036Fixed a problem with the namespace object deletion mechanism for
16037objects created by control methods.  There were two parts to this
16038problem: 1) Objects created during the initialization phase method
16039parse were not being deleted, and 2) The object owner ID mechanism
16040to track objects was broken.
16041
16042Fixed a problem where the use of the ASL Scope operator within a
16043control method would result in an invalid opcode exception.
16044
16045Fixed a problem introduced in the previous label where the buffer
16046length required for the _PRT structure was not being returned
16047correctly.
16048
16049Code and Data Size: Current core subsystem library sizes are shown
16050below. These are the code and data sizes for the acpica.lib
16051produced by the Microsoft Visual C++ 6.0 compiler, and these
16052values do not include any ACPI driver or OSPM code.  The debug
16053version of the code includes the debug output trace mechanism and
16054has a larger code and data size.  Note that these values will vary
16055depending on the efficiency of the compiler and the compiler
16056options used during generation.
16057
16058  Previous Release (11_20_01)
16059     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16060     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16061
16062  Current Release:
16063     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
16064     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
16065
16066 2) Linux:
16067
16068Updated all files to apply cleanly against 2.4.16.
16069
16070Added basic PCI Interrupt Routing Table (PRT) support for IA32
16071(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
16072version supports both static and dyanmic PRT entries, but dynamic
16073entries are treated as if they were static (not yet
16074reconfigurable).  Architecture- specific code to use this data is
16075absent on IA32 but should be available shortly.
16076
16077Changed the initialization sequence to start the ACPI interpreter
16078(acpi_init) prior to initialization of the PCI driver (pci_init)
16079in init/main.c.  This ordering is required to support PRT and
16080facilitate other (future) enhancement.  A side effect is that the
16081ACPI bus driver and certain device drivers can no longer be loaded
16082as modules.
16083
16084Modified the 'make menuconfig' options to allow PCI Interrupt
16085Routing support to be included without the ACPI Bus and other
16086device drivers.
16087
16088 3) ASL Compiler, version X2033:
16089
16090Fixed some issues with the use of the new CopyObject and
16091DataTableRegion operators.  Both are fully functional.
16092
16093 ----------------------------------------
16094Summary of changes for this label: 11_20_01
16095
16096 20 November 2001.  Summary of changes for this release.
16097
16098 1) ACPI CA Core Subsystem:
16099
16100Updated Index support to match ACPI 2.0 semantics.  Storing a
16101Integer, String, or Buffer to an Index of a Buffer will store only
16102the least-significant byte of the source to the Indexed buffer
16103byte.  Multiple writes are not performed.
16104
16105Fixed a problem where the access type used in an AccessAs ASL
16106operator was not recorded correctly into the field object.
16107
16108Fixed a problem where ASL Event objects were created in a
16109signalled state. Events are now created in an unsignalled state.
16110
16111The internal object cache is now purged after table loading and
16112initialization to reduce the use of dynamic kernel memory -- on
16113the assumption that object use is greatest during the parse phase
16114of the entire table (versus the run-time use of individual control
16115methods.)
16116
16117ACPI 2.0 variable-length packages are now fully operational.
16118
16119Code and Data Size: Code and Data optimizations have permitted new
16120feature development with an actual reduction in the library size.
16121Current core subsystem library sizes are shown below.  These are
16122the code and data sizes for the acpica.lib produced by the
16123Microsoft Visual C++ 6.0 compiler, and these values do not include
16124any ACPI driver or OSPM code.  The debug version of the code
16125includes the debug output trace mechanism and has a larger code
16126and data size.  Note that these values will vary depending on the
16127efficiency of the compiler and the compiler options used during
16128generation.
16129
16130  Previous Release (11_09_01):
16131     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16132     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16133
16134  Current Release:
16135     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16136     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16137
16138 2) Linux:
16139
16140Enhanced the ACPI boot-time initialization code to allow the use
16141of Local APIC tables for processor enumeration on IA-32, and to
16142pave the way for a fully MPS-free boot (on SMP systems) in the
16143near future.  This functionality replaces
16144arch/i386/kernel/acpitables.c, which was introduced in an earlier
161452.4.15-preX release.  To enable this feature you must add
16146"acpi_boot=on" to the kernel command line -- see the help entry
16147for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
16148the works...
16149
16150Restructured the configuration options to allow boot-time table
16151parsing support without inclusion of the ACPI Interpreter (and
16152other) code.
16153
16154NOTE: This release does not include fixes for the reported events,
16155power-down, and thermal passive cooling issues (coming soon).
16156
16157 3) ASL Compiler:
16158
16159Added additional typechecking for Fields within restricted access
16160Operation Regions.  All fields within EC and CMOS regions must be
16161declared with ByteAcc. All fields withing SMBus regions must be
16162declared with the BufferAcc access type.
16163
16164Fixed a problem where the listing file output of control methods
16165no longer interleaved the actual AML code with the ASL source
16166code.
16167
16168
16169
16170
16171----------------------------------------
16172Summary of changes for this label: 11_09_01
16173
161741) ACPI CA Core Subsystem:
16175
16176Implemented ACPI 2.0-defined support for writes to fields with a
16177Buffer, String, or Integer source operand that is smaller than the
16178target field. In these cases, the source operand is zero-extended
16179to fill the target field.
16180
16181Fixed a problem where a Field starting bit offset (within the
16182parent operation region) was calculated incorrectly if the
16183
16184alignment of the field differed from the access width.  This
16185affected CreateWordField, CreateDwordField, CreateQwordField, and
16186possibly other fields that use the "AccessAny" keyword.
16187
16188Fixed a problem introduced in the 11_02_01 release where indirect
16189stores through method arguments did not operate correctly.
16190
161912) Linux:
16192
16193Implemented boot-time ACPI table parsing support
16194(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
16195facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
16196legacy BIOS interfaces (e.g. MPS) for the configuration of system
16197processors, memory, and interrupts during setup_arch().  Note that
16198this patch does not include the required architecture-specific
16199changes required to apply this information -- subsequent patches
16200will be posted for both IA32 and IA64 to achieve this.
16201
16202Added low-level sleep support for IA32 platforms, courtesy of Pat
16203Mochel. This allows IA32 systems to transition to/from various
16204sleeping states (e.g. S1, S3), although the lack of a centralized
16205driver model and power-manageable drivers will prevent its
16206(successful) use on most systems.
16207
16208Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
16209submenu, unified IA32 and IA64 options, added new "Boot using ACPI
16210tables" option, etc.
16211
16212Increased the default timeout for the EC driver from 1ms to 10ms
16213(1000 cycles of 10us) to try to address AE_TIME errors during EC
16214transactions.
16215
16216 ----------------------------------------
16217Summary of changes for this label: 11_02_01
16218
162191) ACPI CA Core Subsystem:
16220
16221ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
16222(QWordAcc keyword). All ACPI 2.0 64-bit support is now
16223implemented.
16224
16225OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
16226changes to support ACPI 2.0 Qword field access.  Read/Write
16227PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
16228accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
16229the value parameter for the address space handler interface is now
16230an ACPI_INTEGER.  OSL implementations of these interfaces must now
16231handle the case where the Width parameter is 64.
16232
16233Index Fields: Fixed a problem where unaligned bit assembly and
16234disassembly for IndexFields was not supported correctly.
16235
16236Index and Bank Fields:  Nested Index and Bank Fields are now
16237supported. During field access, a check is performed to ensure
16238that the value written to an Index or Bank register is not out of
16239the range of the register.  The Index (or Bank) register is
16240written before each access to the field data. Future support will
16241include allowing individual IndexFields to be wider than the
16242DataRegister width.
16243
16244Fields: Fixed a problem where the AML interpreter was incorrectly
16245attempting to write beyond the end of a Field/OpRegion.  This was
16246a boundary case that occurred when a DWORD field was written to a
16247BYTE access OpRegion, forcing multiple writes and causing the
16248interpreter to write one datum too many.
16249
16250Fields: Fixed a problem with Field/OpRegion access where the
16251starting bit address of a field was incorrectly calculated if the
16252current access type was wider than a byte (WordAcc, DwordAcc, or
16253QwordAcc).
16254
16255Fields: Fixed a problem where forward references to individual
16256FieldUnits (individual Field names within a Field definition) were
16257not resolved during the AML table load.
16258
16259Fields: Fixed a problem where forward references from a Field
16260definition to the parent Operation Region definition were not
16261resolved during the AML table load.
16262
16263Fields: Duplicate FieldUnit names within a scope are now detected
16264during AML table load.
16265
16266Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
16267returned an incorrect name for the root node.
16268
16269Code and Data Size: Code and Data optimizations have permitted new
16270feature development with an actual reduction in the library size.
16271Current core subsystem library sizes are shown below.  These are
16272the code and data sizes for the acpica.lib produced by the
16273Microsoft Visual C++ 6.0 compiler, and these values do not include
16274any ACPI driver or OSPM code.  The debug version of the code
16275includes the debug output trace mechanism and has a larger code
16276and data size.  Note that these values will vary depending on the
16277efficiency of the compiler and the compiler options used during
16278generation.
16279
16280  Previous Release (10_18_01):
16281     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16282     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16283
16284  Current Release:
16285     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16286     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16287
16288 2) Linux:
16289
16290Improved /proc processor output (Pavel Machek) Re-added
16291MODULE_LICENSE("GPL") to all modules.
16292
16293 3) ASL Compiler version X2030:
16294
16295Duplicate FieldUnit names within a scope are now detected and
16296flagged as errors.
16297
16298 4) Documentation:
16299
16300Programmer Reference updated to reflect OSL and address space
16301handler interface changes described above.
16302
16303----------------------------------------
16304Summary of changes for this label: 10_18_01
16305
16306ACPI CA Core Subsystem:
16307
16308Fixed a problem with the internal object reference count mechanism
16309that occasionally caused premature object deletion. This resolves
16310all of the outstanding problem reports where an object is deleted
16311in the middle of an interpreter evaluation.  Although this problem
16312only showed up in rather obscure cases, the solution to the
16313problem involved an adjustment of all reference counts involving
16314objects attached to namespace nodes.
16315
16316Fixed a problem with Field support in the interpreter where
16317writing to an aligned field whose length is an exact multiple (2
16318or greater) of the field access granularity would cause an attempt
16319to write beyond the end of the field.
16320
16321The top level AML opcode execution functions within the
16322interpreter have been renamed with a more meaningful and
16323consistent naming convention.  The modules exmonad.c and
16324exdyadic.c were eliminated.  New modules are exoparg1.c,
16325exoparg2.c, exoparg3.c, and exoparg6.c.
16326
16327Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
16328
16329Fixed a problem where the AML debugger was causing some internal
16330objects to not be deleted during subsystem termination.
16331
16332Fixed a problem with the external AcpiEvaluateObject interface
16333where the subsystem would fault if the named object to be
16334evaluated refered to a constant such as Zero, Ones, etc.
16335
16336Fixed a problem with IndexFields and BankFields where the
16337subsystem would fault if the index, data, or bank registers were
16338not defined in the same scope as the field itself.
16339
16340Added printf format string checking for compilers that support
16341this feature.  Corrected more than 50 instances of issues with
16342format specifiers within invocations of ACPI_DEBUG_PRINT
16343throughout the core subsystem code.
16344
16345The ASL "Revision" operator now returns the ACPI support level
16346implemented in the core - the value "2" since the ACPI 2.0 support
16347is more than 50% implemented.
16348
16349Enhanced the output of the AML debugger "dump namespace" command
16350to output in a more human-readable form.
16351
16352Current core subsystem library code sizes are shown below.  These
16353
16354are the code and data sizes for the acpica.lib produced by the
16355Microsoft Visual C++ 6.0 compiler, and these values do not include
16356any ACPI driver or OSPM code.  The debug version of the code
16357includes the full debug trace mechanism -- leading to a much
16358
16359larger code and data size.  Note that these values will vary
16360depending on the efficiency of the compiler and the compiler
16361options used during generation.
16362
16363     Previous Label (09_20_01):
16364     Non-Debug Version:    65K Code,     5K Data,     70K Total
16365     Debug Version:       138K Code,    58K Data,    196K Total
16366
16367     This Label:
16368
16369     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16370     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16371
16372Linux:
16373
16374Implemented a "Bad BIOS Blacklist" to track machines that have
16375known ASL/AML problems.
16376
16377Enhanced the /proc interface for the thermal zone driver and added
16378support for _HOT (the critical suspend trip point).  The 'info'
16379file now includes threshold/policy information, and allows setting
16380of _SCP (cooling preference) and _TZP (polling frequency) values
16381to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
16382frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
16383preference to the passive/quiet mode (if supported by the ASL).
16384
16385Implemented a workaround for a gcc bug that resuted in an OOPs
16386when loading the control method battery driver.
16387
16388 ----------------------------------------
16389Summary of changes for this label: 09_20_01
16390
16391 ACPI CA Core Subsystem:
16392
16393The AcpiEnableEvent and AcpiDisableEvent interfaces have been
16394modified to allow individual GPE levels to be flagged as wake-
16395enabled (i.e., these GPEs are to remain enabled when the platform
16396sleeps.)
16397
16398The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
16399support wake-enabled GPEs.  This means that upon entering the
16400sleep state, all GPEs that are not wake-enabled are disabled.
16401When leaving the sleep state, these GPEs are reenabled.
16402
16403A local double-precision divide/modulo module has been added to
16404enhance portability to OS kernels where a 64-bit math library is
16405not available.  The new module is "utmath.c".
16406
16407Several optimizations have been made to reduce the use of CPU
16408stack.  Originally over 2K, the maximum stack usage is now below
164092K at 1860  bytes (1.82k)
16410
16411Fixed a problem with the AcpiGetFirmwareTable interface where the
16412root table pointer was not mapped into a logical address properly.
16413
16414Fixed a problem where a NULL pointer was being dereferenced in the
16415interpreter code for the ASL Notify operator.
16416
16417Fixed a problem where the use of the ASL Revision operator
16418returned an error. This operator now returns the current version
16419of the ACPI CA core subsystem.
16420
16421Fixed a problem where objects passed as control method parameters
16422to AcpiEvaluateObject were always deleted at method termination.
16423However, these objects may end up being stored into the namespace
16424by the called method.  The object reference count mechanism was
16425applied to these objects instead of a force delete.
16426
16427Fixed a problem where static strings or buffers (contained in the
16428AML code) that are declared as package elements within the ASL
16429code could cause a fault because the interpreter would attempt to
16430delete them.  These objects are now marked with the "static
16431object" flag to prevent any attempt to delete them.
16432
16433Implemented an interpreter optimization to use operands directly
16434from the state object instead of extracting the operands to local
16435variables.  This reduces stack use and code size, and improves
16436performance.
16437
16438The module exxface.c was eliminated as it was an unnecessary extra
16439layer of code.
16440
16441Current core subsystem library code sizes are shown below.  These
16442are the code and data sizes for the acpica.lib produced by the
16443Microsoft Visual C++ 6.0 compiler, and these values do not include
16444any ACPI driver or OSPM code.  The debug version of the code
16445includes the full debug trace mechanism -- leading to a much
16446larger code and data size.  Note that these values will vary
16447depending on the efficiency of the compiler and the compiler
16448options used during generation.
16449
16450  Non-Debug Version:  65K Code,   5K Data,   70K Total
16451(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
16452Total  (Previously 195K)
16453
16454Linux:
16455
16456Support for ACPI 2.0 64-bit integers has been added.   All ACPI
16457Integer objects are now 64 bits wide
16458
16459All Acpi data types and structures are now in lower case.  Only
16460Acpi macros are upper case for differentiation.
16461
16462 Documentation:
16463
16464Changes to the external interfaces as described above.
16465
16466 ----------------------------------------
16467Summary of changes for this label: 08_31_01
16468
16469 ACPI CA Core Subsystem:
16470
16471A bug with interpreter implementation of the ASL Divide operator
16472was found and fixed.  The implicit function return value (not the
16473explicit store operands) was returning the remainder instead of
16474the quotient.  This was a longstanding bug and it fixes several
16475known outstanding issues on various platforms.
16476
16477The ACPI_DEBUG_PRINT and function trace entry/exit macros have
16478been further optimized for size.  There are 700 invocations of the
16479DEBUG_PRINT macro alone, so each optimization reduces the size of
16480the debug version of the subsystem significantly.
16481
16482A stack trace mechanism has been implemented.  The maximum stack
16483usage is about 2K on 32-bit platforms.  The debugger command "stat
16484stack" will display the current maximum stack usage.
16485
16486All public symbols and global variables within the subsystem are
16487now prefixed with the string "Acpi".  This keeps all of the
16488symbols grouped together in a kernel map, and avoids conflicts
16489with other kernel subsystems.
16490
16491Most of the internal fixed lookup tables have been moved into the
16492code segment via the const operator.
16493
16494Several enhancements have been made to the interpreter to both
16495reduce the code size and improve performance.
16496
16497Current core subsystem library code sizes are shown below.  These
16498are the code and data sizes for the acpica.lib produced by the
16499Microsoft Visual C++ 6.0 compiler, and these values do not include
16500any ACPI driver or OSPM code.  The debug version of the code
16501includes the full debug trace mechanism which contains over 700
16502invocations of the DEBUG_PRINT macro, 500 function entry macro
16503invocations, and over 900 function exit macro invocations --
16504leading to a much larger code and data size.  Note that these
16505values will vary depending on the efficiency of the compiler and
16506the compiler options used during generation.
16507
16508        Non-Debug Version:  64K Code,   5K Data,   69K Total
16509Debug Version:     137K Code,  58K Data,  195K Total
16510
16511 Linux:
16512
16513Implemented wbinvd() macro, pending a kernel-wide definition.
16514
16515Fixed /proc/acpi/event to handle poll() and short reads.
16516
16517 ASL Compiler, version X2026:
16518
16519Fixed a problem introduced in the previous label where the AML
16520
16521code emitted for package objects produced packages with zero
16522length.
16523
16524 ----------------------------------------
16525Summary of changes for this label: 08_16_01
16526
16527ACPI CA Core Subsystem:
16528
16529The following ACPI 2.0 ASL operators have been implemented in the
16530AML interpreter (These are already supported by the Intel ASL
16531compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
16532ToBuffer.  Support for 64-bit AML constants is implemented in the
16533AML parser, debugger, and disassembler.
16534
16535The internal memory tracking mechanism (leak detection code) has
16536been upgraded to reduce the memory overhead (a separate tracking
16537block is no longer allocated for each memory allocation), and now
16538supports all of the internal object caches.
16539
16540The data structures and code for the internal object caches have
16541been coelesced and optimized so that there is a single cache and
16542memory list data structure and a single group of functions that
16543implement generic cache management.  This has reduced the code
16544size in both the debug and release versions of the subsystem.
16545
16546The DEBUG_PRINT macro(s) have been optimized for size and replaced
16547by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
16548different, because it generates a single call to an internal
16549function.  This results in a savings of about 90 bytes per
16550invocation, resulting in an overall code and data savings of about
1655116% in the debug version of the subsystem.
16552
16553 Linux:
16554
16555Fixed C3 disk corruption problems and re-enabled C3 on supporting
16556machines.
16557
16558Integrated low-level sleep code by Patrick Mochel.
16559
16560Further tweaked source code Linuxization.
16561
16562Other minor fixes.
16563
16564 ASL Compiler:
16565
16566Support for ACPI 2.0 variable length packages is fixed/completed.
16567
16568Fixed a problem where the optional length parameter for the ACPI
165692.0 ToString operator.
16570
16571Fixed multiple extraneous error messages when a syntax error is
16572detected within the declaration line of a control method.
16573
16574 ----------------------------------------
16575Summary of changes for this label: 07_17_01
16576
16577ACPI CA Core Subsystem:
16578
16579Added a new interface named AcpiGetFirmwareTable to obtain any
16580ACPI table via the ACPI signature.  The interface can be called at
16581any time during kernel initialization, even before the kernel
16582virtual memory manager is initialized and paging is enabled.  This
16583allows kernel subsystems to obtain ACPI tables very early, even
16584before the ACPI CA subsystem is initialized.
16585
16586Fixed a problem where Fields defined with the AnyAcc attribute
16587could be resolved to the incorrect address under the following
16588conditions: 1) the field width is larger than 8 bits and 2) the
16589parent operation region is not defined on a DWORD boundary.
16590
16591Fixed a problem where the interpreter is not being locked during
16592namespace initialization (during execution of the _INI control
16593methods), causing an error when an attempt is made to release it
16594later.
16595
16596ACPI 2.0 support in the AML Interpreter has begun and will be
16597ongoing throughout the rest of this year.  In this label, The Mod
16598operator is implemented.
16599
16600Added a new data type to contain full PCI addresses named
16601ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
16602and Function values.
16603
16604 Linux:
16605
16606Enhanced the Linux version of the source code to change most
16607capitalized ACPI type names to lowercase. For example, all
16608instances of ACPI_STATUS are changed to acpi_status.  This will
16609result in a large diff, but the change is strictly cosmetic and
16610aligns the CA code closer to the Linux coding standard.
16611
16612OSL Interfaces:
16613
16614The interfaces to the PCI configuration space have been changed to
16615add the PCI Segment number and to split the single 32-bit combined
16616DeviceFunction field into two 16-bit fields.  This was
16617accomplished by moving the four values that define an address in
16618PCI configuration space (segment, bus, device, and function) to
16619the new ACPI_PCI_ID structure.
16620
16621The changes to the PCI configuration space interfaces led to a
16622reexamination of the complete set of address space access
16623interfaces for PCI, I/O, and Memory.  The previously existing 18
16624interfaces have proven difficult to maintain (any small change
16625must be propagated across at least 6 interfaces) and do not easily
16626allow for future expansion to 64 bits if necessary.  Also, on some
16627systems, it would not be appropriate to demultiplex the access
16628width (8, 16, 32,or 64) before calling the OSL if the
16629corresponding native OS interfaces contain a similar access width
16630parameter.  For these reasons, the 18 address space interfaces
16631have been replaced by these 6 new ones:
16632
16633AcpiOsReadPciConfiguration
16634AcpiOsWritePciConfiguration
16635AcpiOsReadMemory
16636AcpiOsWriteMemory
16637AcpiOsReadPort
16638AcpiOsWritePort
16639
16640Added a new interface named AcpiOsGetRootPointer to allow the OSL
16641to perform the platform and/or OS-specific actions necessary to
16642obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
16643interface will simply call down to the CA core to perform the low-
16644memory search for the table.  On IA-64, the RSDP is obtained from
16645EFI.  Migrating this interface to the OSL allows the CA core to
16646
16647remain OS and platform independent.
16648
16649Added a new interface named AcpiOsSignal to provide a generic
16650"function code and pointer" interface for various miscellaneous
16651signals and notifications that must be made to the host OS.   The
16652first such signals are intended to support the ASL Fatal and
16653Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
16654interface has been obsoleted.
16655
16656The definition of the AcpiFormatException interface has been
16657changed to simplify its use.  The caller no longer must supply a
16658buffer to the call; A pointer to a const string is now returned
16659directly.  This allows the call to be easily used in printf
16660statements, etc. since the caller does not have to manage a local
16661buffer.
16662
16663
16664 ASL Compiler, Version X2025:
16665
16666The ACPI 2.0 Switch/Case/Default operators have been implemented
16667and are fully functional.  They will work with all ACPI 1.0
16668interpreters, since the operators are simply translated to If/Else
16669pairs.
16670
16671The ACPI 2.0 ElseIf operator is implemented and will also work
16672with 1.0 interpreters, for the same reason.
16673
16674Implemented support for ACPI 2.0 variable-length packages.  These
16675packages have a separate opcode, and their size is determined by
16676the interpreter at run-time.
16677
16678Documentation The ACPI CA Programmer Reference has been updated to
16679reflect the new interfaces and changes to existing interfaces.
16680
16681 ------------------------------------------
16682Summary of changes for this label: 06_15_01
16683
16684 ACPI CA Core Subsystem:
16685
16686Fixed a problem where a DWORD-accessed field within a Buffer
16687object would get its byte address inadvertently rounded down to
16688the nearest DWORD.  Buffers are always Byte-accessible.
16689
16690 ASL Compiler, version X2024:
16691
16692Fixed a problem where the Switch() operator would either fault or
16693hang the compiler.  Note however, that the AML code for this ACPI
166942.0 operator is not yet implemented.
16695
16696Compiler uses the new AcpiOsGetTimer interface to obtain compile
16697timings.
16698
16699Implementation of the CreateField operator automatically converts
16700a reference to a named field within a resource descriptor from a
16701byte offset to a bit offset if required.
16702
16703Added some missing named fields from the resource descriptor
16704support. These are the names that are automatically created by the
16705compiler to reference fields within a descriptor.  They are only
16706valid at compile time and are not passed through to the AML
16707interpreter.
16708
16709Resource descriptor named fields are now typed as Integers and
16710subject to compile-time typechecking when used in expressions.
16711
16712 ------------------------------------------
16713Summary of changes for this label: 05_18_01
16714
16715 ACPI CA Core Subsystem:
16716
16717Fixed a couple of problems in the Field support code where bits
16718from adjacent fields could be returned along with the proper field
16719bits. Restructured the field support code to improve performance,
16720readability and maintainability.
16721
16722New DEBUG_PRINTP macro automatically inserts the procedure name
16723into the output, saving hundreds of copies of procedure name
16724strings within the source, shrinking the memory footprint of the
16725debug version of the core subsystem.
16726
16727 Source Code Structure:
16728
16729The source code directory tree was restructured to reflect the
16730current organization of the component architecture.  Some files
16731and directories have been moved and/or renamed.
16732
16733 Linux:
16734
16735Fixed leaking kacpidpc processes.
16736
16737Fixed queueing event data even when /proc/acpi/event is not
16738opened.
16739
16740 ASL Compiler, version X2020:
16741
16742Memory allocation performance enhancement - over 24X compile time
16743improvement on large ASL files.  Parse nodes and namestring
16744buffers are now allocated from a large internal compiler buffer.
16745
16746The temporary .SRC file is deleted unless the "-s" option is
16747specified
16748
16749The "-d" debug output option now sends all output to the .DBG file
16750instead of the console.
16751
16752"External" second parameter is now optional
16753
16754"ElseIf" syntax now properly allows the predicate
16755
16756Last operand to "Load" now recognized as a Target operand
16757
16758Debug object can now be used anywhere as a normal object.
16759
16760ResourceTemplate now returns an object of type BUFFER
16761
16762EISAID now returns an object of type INTEGER
16763
16764"Index" now works with a STRING operand
16765
16766"LoadTable" now accepts optional parameters
16767
16768"ToString" length parameter is now optional
16769
16770"Interrupt (ResourceType," parse error fixed.
16771
16772"Register" with a user-defined region space parse error fixed
16773
16774Escaped backslash at the end of a string ("\\") scan/parse error
16775fixed
16776
16777"Revision" is now an object of type INTEGER.
16778
16779
16780
16781------------------------------------------
16782Summary of changes for this label: 05_02_01
16783
16784Linux:
16785
16786/proc/acpi/event now blocks properly.
16787
16788Removed /proc/sys/acpi. You can still dump your DSDT from
16789/proc/acpi/dsdt.
16790
16791 ACPI CA Core Subsystem:
16792
16793Fixed a problem introduced in the previous label where some of the
16794"small" resource descriptor types were not recognized.
16795
16796Improved error messages for the case where an ASL Field is outside
16797the range of the parent operation region.
16798
16799 ASL Compiler, version X2018:
16800
16801
16802Added error detection for ASL Fields that extend beyond the length
16803of the parent operation region (only if the length of the region
16804is known at compile time.)  This includes fields that have a
16805minimum access width that is smaller than the parent region, and
16806individual field units that are partially or entirely beyond the
16807extent of the parent.
16808
16809
16810
16811------------------------------------------
16812Summary of changes for this label: 04_27_01
16813
16814 ACPI CA Core Subsystem:
16815
16816Fixed a problem where the namespace mutex could be released at the
16817wrong time during execution of AcpiRemoveAddressSpaceHandler.
16818
16819Added optional thread ID output for debug traces, to simplify
16820debugging of multiple threads.  Added context switch notification
16821when the debug code realizes that a different thread is now
16822executing ACPI code.
16823
16824Some additional external data types have been prefixed with the
16825string "ACPI_" for consistency.  This may effect existing code.
16826The data types affected are the external callback typedefs - e.g.,
16827
16828WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
16829
16830 Linux:
16831
16832Fixed an issue with the OSL semaphore implementation where a
16833thread was waking up with an error from receiving a SIGCHLD
16834signal.
16835
16836Linux version of ACPI CA now uses the system C library for string
16837manipulation routines instead of a local implementation.
16838
16839Cleaned up comments and removed TBDs.
16840
16841 ASL Compiler, version X2017:
16842
16843Enhanced error detection and reporting for all file I/O
16844operations.
16845
16846 Documentation:
16847
16848Programmer Reference updated to version 1.06.
16849
16850
16851
16852------------------------------------------
16853Summary of changes for this label: 04_13_01
16854
16855 ACPI CA Core Subsystem:
16856
16857Restructured support for BufferFields and RegionFields.
16858BankFields support is now fully operational.  All known 32-bit
16859limitations on field sizes have been removed.  Both BufferFields
16860and (Operation) RegionFields are now supported by the same field
16861management code.
16862
16863Resource support now supports QWORD address and IO resources. The
1686416/32/64 bit address structures and the Extended IRQ structure
16865have been changed to properly handle Source Resource strings.
16866
16867A ThreadId of -1 is now used to indicate a "mutex not acquired"
16868condition internally and must never be returned by AcpiOsThreadId.
16869This reserved value was changed from 0 since Unix systems allow a
16870thread ID of 0.
16871
16872Linux:
16873
16874Driver code reorganized to enhance portability
16875
16876Added a kernel configuration option to control ACPI_DEBUG
16877
16878Fixed the EC driver to honor _GLK.
16879
16880ASL Compiler, version X2016:
16881
16882Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
16883address space was set to 0, not 0x7f as it should be.
16884
16885 ------------------------------------------
16886Summary of changes for this label: 03_13_01
16887
16888 ACPI CA Core Subsystem:
16889
16890During ACPI initialization, the _SB_._INI method is now run if
16891present.
16892
16893Notify handler fix - notifies are deferred until the parent method
16894completes execution.  This fixes the "mutex already acquired"
16895issue seen occasionally.
16896
16897Part of the "implicit conversion" rules in ACPI 2.0 have been
16898found to cause compatibility problems with existing ASL/AML.  The
16899convert "result-to-target-type" implementation has been removed
16900for stores to method Args and Locals.  Source operand conversion
16901is still fully implemented.  Possible changes to ACPI 2.0
16902specification pending.
16903
16904Fix to AcpiRsCalculatePciRoutingTableLength to return correct
16905length.
16906
16907Fix for compiler warnings for 64-bit compiles.
16908
16909 Linux:
16910
16911/proc output aligned for easier parsing.
16912
16913Release-version compile problem fixed.
16914
16915New kernel configuration options documented in Configure.help.
16916
16917IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
16918context" message.
16919
16920 OSPM:
16921
16922Power resource driver integrated with bus manager.
16923
16924Fixed kernel fault during active cooling for thermal zones.
16925
16926Source Code:
16927
16928The source code tree has been restructured.
16929
16930
16931
16932------------------------------------------
16933Summary of changes for this label: 03_02_01
16934
16935 Linux OS Services Layer (OSL):
16936
16937Major revision of all Linux-specific code.
16938
16939Modularized all ACPI-specific drivers.
16940
16941Added new thermal zone and power resource drivers.
16942
16943Revamped /proc interface (new functionality is under /proc/acpi).
16944
16945New kernel configuration options.
16946
16947 Linux known issues:
16948
16949New kernel configuration options not documented in Configure.help
16950yet.
16951
16952
16953Module dependencies not currently implemented. If used, they
16954should be loaded in this order: busmgr, power, ec, system,
16955processor, battery, ac_adapter, button, thermal.
16956
16957Modules will not load if CONFIG_MODVERSION is set.
16958
16959IBM 600E - entering S5 may reboot instead of shutting down.
16960
16961IBM 600E - Sleep button may generate "Invalid <NULL> context"
16962message.
16963
16964Some systems may fail with "execution mutex already acquired"
16965message.
16966
16967 ACPI CA Core Subsystem:
16968
16969Added a new OSL Interface, AcpiOsGetThreadId.  This was required
16970for the  deadlock detection code. Defined to return a non-zero, 32-
16971bit thread ID for the currently executing thread.  May be a non-
16972zero constant integer on single-thread systems.
16973
16974Implemented deadlock detection for internal subsystem mutexes.  We
16975may add conditional compilation for this code (debug only) later.
16976
16977ASL/AML Mutex object semantics are now fully supported.  This
16978includes multiple acquires/releases by owner and support for the
16979
16980Mutex SyncLevel parameter.
16981
16982A new "Force Release" mechanism automatically frees all ASL
16983Mutexes that have been acquired but not released when a thread
16984exits the interpreter.  This forces conformance to the ACPI spec
16985("All mutexes must be released when an invocation exits") and
16986prevents deadlocked ASL threads.  This mechanism can be expanded
16987(later) to monitor other resource acquisitions if OEM ASL code
16988continues to misbehave (which it will).
16989
16990Several new ACPI exception codes have been added for the Mutex
16991support.
16992
16993Recursive method calls are now allowed and supported (the ACPI
16994spec does in fact allow recursive method calls.)  The number of
16995recursive calls is subject to the restrictions imposed by the
16996SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
16997parameter.
16998
16999Implemented support for the SyncLevel parameter for control
17000methods (ACPI 2.0 feature)
17001
17002Fixed a deadlock problem when multiple threads attempted to use
17003the interpreter.
17004
17005Fixed a problem where the string length of a String package
17006element was not always set in a package returned from
17007AcpiEvaluateObject.
17008
17009Fixed a problem where the length of a String package element was
17010not always included in the length of the overall package returned
17011from AcpiEvaluateObject.
17012
17013Added external interfaces (Acpi*) to the ACPI debug memory
17014manager.  This manager keeps a list of all outstanding
17015allocations, and can therefore detect memory leaks and attempts to
17016free memory blocks more than once. Useful for code such as the
17017power manager, etc.  May not be appropriate for device drivers.
17018Performance with the debug code enabled is slow.
17019
17020The ACPI Global Lock is now an optional hardware element.
17021
17022 ASL Compiler Version X2015:
17023
17024Integrated changes to allow the compiler to be generated on
17025multiple platforms.
17026
17027Linux makefile added to generate the compiler on Linux
17028
17029 Source Code:
17030
17031All platform-specific headers have been moved to their own
17032subdirectory, Include/Platform.
17033
17034New source file added, Interpreter/ammutex.c
17035
17036New header file, Include/acstruct.h
17037
17038 Documentation:
17039
17040The programmer reference has been updated for the following new
17041interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
17042
17043 ------------------------------------------
17044Summary of changes for this label: 02_08_01
17045
17046Core ACPI CA Subsystem: Fixed a problem where an error was
17047incorrectly returned if the return resource buffer was larger than
17048the actual data (in the resource interfaces).
17049
17050References to named objects within packages are resolved to the
17051
17052full pathname string before packages are returned directly (via
17053the AcpiEvaluateObject interface) or indirectly via the resource
17054interfaces.
17055
17056Linux OS Services Layer (OSL):
17057
17058Improved /proc battery interface.
17059
17060
17061Added C-state debugging output and other miscellaneous fixes.
17062
17063ASL Compiler Version X2014:
17064
17065All defined method arguments can now be used as local variables,
17066including the ones that are not actually passed in as parameters.
17067The compiler tracks initialization of the arguments and issues an
17068exception if they are used without prior assignment (just like
17069locals).
17070
17071The -o option now specifies a filename prefix that is used for all
17072output files, including the AML output file.  Otherwise, the
17073default behavior is as follows:  1) the AML goes to the file
17074specified in the DSDT.  2) all other output files use the input
17075source filename as the base.
17076
17077 ------------------------------------------
17078Summary of changes for this label: 01_25_01
17079
17080Core ACPI CA Subsystem: Restructured the implementation of object
17081store support within the  interpreter.  This includes support for
17082the Store operator as well  as any ASL operators that include a
17083target operand.
17084
17085Partially implemented support for Implicit Result-to-Target
17086conversion. This is when a result object is converted on the fly
17087to the type of  an existing target object.  Completion of this
17088support is pending  further analysis of the ACPI specification
17089concerning this matter.
17090
17091CPU-specific code has been removed from the subsystem (hardware
17092directory).
17093
17094New Power Management Timer functions added
17095
17096Linux OS Services Layer (OSL): Moved system state transition code
17097to the core, fixed it, and modified  Linux OSL accordingly.
17098
17099Fixed C2 and C3 latency calculations.
17100
17101
17102We no longer use the compilation date for the version message on
17103initialization, but retrieve the version from AcpiGetSystemInfo().
17104
17105Incorporated for fix Sony VAIO machines.
17106
17107Documentation:  The Programmer Reference has been updated and
17108reformatted.
17109
17110
17111ASL Compiler:  Version X2013: Fixed a problem where the line
17112numbering and error reporting could get out  of sync in the
17113presence of multiple include files.
17114
17115 ------------------------------------------
17116Summary of changes for this label: 01_15_01
17117
17118Core ACPI CA Subsystem:
17119
17120Implemented support for type conversions in the execution of the
17121ASL  Concatenate operator (The second operand is converted to
17122match the type  of the first operand before concatenation.)
17123
17124Support for implicit source operand conversion is partially
17125implemented.   The ASL source operand types Integer, Buffer, and
17126String are freely  interchangeable for most ASL operators and are
17127converted by the interpreter  on the fly as required.  Implicit
17128Target operand conversion (where the  result is converted to the
17129target type before storing) is not yet implemented.
17130
17131Support for 32-bit and 64-bit BCD integers is implemented.
17132
17133Problem fixed where a field read on an aligned field could cause a
17134read  past the end of the field.
17135
17136New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
17137does not return a value, but the caller expects one.  (The ASL
17138compiler flags this as a warning.)
17139
17140ASL Compiler:
17141
17142Version X2011:
171431. Static typechecking of all operands is implemented. This
17144prevents the use of invalid objects (such as using a Package where
17145an Integer is required) at compile time instead of at interpreter
17146run-time.
171472. The ASL source line is printed with ALL errors and warnings.
171483. Bug fix for source EOF without final linefeed.
171494. Debug option is split into a parse trace and a namespace trace.
171505. Namespace output option (-n) includes initial values for
17151integers and strings.
171526. Parse-only option added for quick syntax checking.
171537. Compiler checks for duplicate ACPI name declarations
17154
17155Version X2012:
171561. Relaxed typechecking to allow interchangeability between
17157strings, integers, and buffers.  These types are now converted by
17158the interpreter at runtime.
171592. Compiler reports time taken by each internal subsystem in the
17160debug         output file.
17161
17162
17163 ------------------------------------------
17164Summary of changes for this label: 12_14_00
17165
17166ASL Compiler:
17167
17168This is the first official release of the compiler. Since the
17169compiler requires elements of the Core Subsystem, this label
17170synchronizes everything.
17171
17172------------------------------------------
17173Summary of changes for this label: 12_08_00
17174
17175
17176Fixed a problem where named references within the ASL definition
17177of both OperationRegions and CreateXXXFields did not work
17178properly.  The symptom was an AE_AML_OPERAND_TYPE during
17179initialization of the region/field. This is similar (but not
17180related internally) to the problem that was fixed in the last
17181label.
17182
17183Implemented both 32-bit and 64-bit support for the BCD ASL
17184functions ToBCD and FromBCD.
17185
17186Updated all legal headers to include "2000" in the copyright
17187years.
17188
17189 ------------------------------------------
17190Summary of changes for this label: 12_01_00
17191
17192Fixed a problem where method invocations within the ASL definition
17193of both OperationRegions and CreateXXXFields did not work
17194properly.  The symptom was an AE_AML_OPERAND_TYPE during
17195initialization of the region/field:
17196
17197  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
17198[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
17199(0x3005)
17200
17201Fixed a problem where operators with more than one nested
17202subexpression would fail.  The symptoms were varied, by mostly
17203AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
17204problem that has gone unnoticed until now.
17205
17206  Subtract (Add (1,2), Multiply (3,4))
17207
17208Fixed a problem where AcpiGetHandle didn't quite get fixed in the
17209previous build (The prefix part of a relative path was handled
17210incorrectly).
17211
17212Fixed a problem where Operation Region initialization failed if
17213the operation region name was a "namepath" instead of a simple
17214"nameseg". Symptom was an AE_NO_OPERAND error.
17215
17216Fixed a problem where an assignment to a local variable via the
17217indirect RefOf mechanism only worked for the first such
17218assignment.  Subsequent assignments were ignored.
17219
17220 ------------------------------------------
17221Summary of changes for this label: 11_15_00
17222
17223ACPI 2.0 table support with backwards support for ACPI 1.0 and the
172240.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
17225the AML  interpreter does NOT have support for the new 2.0 ASL
17226grammar terms at this time.
17227
17228All ACPI hardware access is via the GAS structures in the ACPI 2.0
17229FADT.
17230
17231All physical memory addresses across all platforms are now 64 bits
17232wide. Logical address width remains dependent on the platform
17233(i.e., "void *").
17234
17235AcpiOsMapMemory interface changed to a 64-bit physical address.
17236
17237The AML interpreter integer size is now 64 bits, as per the ACPI
172382.0 specification.
17239
17240For backwards compatibility with ACPI 1.0, ACPI tables with a
17241revision number less than 2 use 32-bit integers only.
17242
17243Fixed a problem where the evaluation of OpRegion operands did not
17244always resolve them to numbers properly.
17245
17246------------------------------------------
17247Summary of changes for this label: 10_20_00
17248
17249Fix for CBN_._STA issue.  This fix will allow correct access to
17250CBN_ OpRegions when the _STA returns 0x8.
17251
17252Support to convert ACPI constants (Ones, Zeros, One) to actual
17253values before a package object is returned
17254
17255Fix for method call as predicate to if/while construct causing
17256incorrect if/while behavior
17257
17258Fix for Else block package lengths sometimes calculated wrong (if
17259block > 63 bytes)
17260
17261Fix for Processor object length field, was always zero
17262
17263Table load abort if FACP sanity check fails
17264
17265Fix for problem with Scope(name) if name already exists
17266
17267Warning emitted if a named object referenced cannot be found
17268(resolved) during method execution.
17269
17270
17271
17272
17273
17274------------------------------------------
17275Summary of changes for this label: 9_29_00
17276
17277New table initialization interfaces: AcpiInitializeSubsystem no
17278longer has any parameters AcpiFindRootPointer - Find the RSDP (if
17279necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
17280>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
17281AcpiLoadTables
17282
17283Note: These interface changes require changes to all existing OSDs
17284
17285The PCI_Config default address space handler is always installed
17286at the root namespace object.
17287
17288-------------------------------------------
17289Summary of changes for this label: 09_15_00
17290
17291The new initialization architecture is implemented.  New
17292interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
17293AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
17294
17295(Namespace is automatically loaded when a table is loaded)
17296
17297The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1729852 bytes to 32 bytes.  There is usually one of these for every
17299namespace object, so the memory savings is significant.
17300
17301Implemented just-in-time evaluation of the CreateField operators.
17302
17303Bug fixes for IA-64 support have been integrated.
17304
17305Additional code review comments have been implemented
17306
17307The so-called "third pass parse" has been replaced by a final walk
17308through the namespace to initialize all operation regions (address
17309spaces) and fields that have not yet been initialized during the
17310execution of the various _INI and REG methods.
17311
17312New file - namespace/nsinit.c
17313
17314-------------------------------------------
17315Summary of changes for this label: 09_01_00
17316
17317Namespace manager data structures have been reworked to change the
17318primary  object from a table to a single object.  This has
17319resulted in dynamic memory  savings of 3X within the namespace and
173202X overall in the ACPI CA subsystem.
17321
17322Fixed problem where the call to AcpiEvFindPciRootBuses was
17323inadvertently left  commented out.
17324
17325Reduced the warning count when generating the source with the GCC
17326compiler.
17327
17328Revision numbers added to each module header showing the
17329SourceSafe version of the file.  Please refer to this version
17330number when giving us feedback or comments on individual modules.
17331
17332The main object types within the subsystem have been renamed to
17333clarify their  purpose:
17334
17335ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
17336ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
17337ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
17338
17339NOTE: no changes to the initialization sequence are included in
17340this label.
17341
17342-------------------------------------------
17343Summary of changes for this label: 08_23_00
17344
17345Fixed problem where TerminateControlMethod was being called
17346multiple times per  method
17347
17348Fixed debugger problem where single stepping caused a semaphore to
17349be  oversignalled
17350
17351Improved performance through additional parse object caching -
17352added  ACPI_EXTENDED_OP type
17353
17354-------------------------------------------
17355Summary of changes for this label: 08_10_00
17356
17357Parser/Interpreter integration:  Eliminated the creation of
17358complete parse trees  for ACPI tables and control methods.
17359Instead, parse subtrees are created and  then deleted as soon as
17360they are processed (Either entered into the namespace or  executed
17361by the interpreter).  This reduces the use of dynamic kernel
17362memory  significantly. (about 10X)
17363
17364Exception codes broken into classes and renumbered.  Be sure to
17365recompile all  code that includes acexcep.h.  Hopefully we won't
17366have to renumber the codes  again now that they are split into
17367classes (environment, programmer, AML code,  ACPI table, and
17368internal).
17369
17370Fixed some additional alignment issues in the Resource Manager
17371subcomponent
17372
17373Implemented semaphore tracking in the AcpiExec utility, and fixed
17374several places  where mutexes/semaphores were being unlocked
17375without a corresponding lock  operation.  There are no known
17376semaphore or mutex "leaks" at this time.
17377
17378Fixed the case where an ASL Return operator is used to return an
17379unnamed  package.
17380
17381-------------------------------------------
17382Summary of changes for this label: 07_28_00
17383
17384Fixed a problem with the way addresses were calculated in
17385AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
17386manifested itself when a Field was  created with WordAccess or
17387DwordAccess, but the field unit defined within the  Field was less
17388
17389than a Word or Dword.
17390
17391Fixed a problem in AmlDumpOperands() module's loop to pull
17392operands off of the  operand stack to display information. The
17393problem manifested itself as a TLB  error on 64-bit systems when
17394accessing an operand stack with two or more  operands.
17395
17396Fixed a problem with the PCI configuration space handlers where
17397context was  getting confused between accesses. This required a
17398change to the generic address  space handler and address space
17399setup definitions. Handlers now get both a  global handler context
17400(this is the one passed in by the user when executing
17401AcpiInstallAddressSpaceHandler() and a specific region context
17402that is unique to  each region (For example, the _ADR, _SEG and
17403_BBN values associated with a  specific region). The generic
17404function definitions have changed to the  following:
17405
17406typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
17407UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
17408*HandlerContext, // This used to be void *Context void
17409*RegionContext); // This is an additional parameter
17410
17411typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
17412RegionHandle, UINT32 Function, void *HandlerContext,  void
17413**RegionContext); // This used to be **ReturnContext
17414
17415-------------------------------------------
17416Summary of changes for this label: 07_21_00
17417
17418Major file consolidation and rename.  All files within the
17419interpreter have been  renamed as well as most header files.  This
17420was done to prevent collisions with  existing files in the host
17421OSs -- filenames such as "config.h" and "global.h"  seem to be
17422quite common.  The VC project files have been updated.  All
17423makefiles  will require modification.
17424
17425The parser/interpreter integration continues in Phase 5 with the
17426implementation  of a complete 2-pass parse (the AML is parsed
17427twice) for each table;  This  avoids the construction of a huge
17428parse tree and therefore reduces the amount of  dynamic memory
17429required by the subsystem.  Greater use of the parse object cache
17430means that performance is unaffected.
17431
17432Many comments from the two code reviews have been rolled in.
17433
17434The 64-bit alignment support is complete.
17435
17436-------------------------------------------
17437Summary of changes for this label: 06_30_00
17438
17439With a nod and a tip of the hat to the technology of yesteryear,
17440we've added  support in the source code for 80 column output
17441devices.  The code is now mostly  constrained to 80 columns or
17442less to support environments and editors that 1)  cannot display
17443or print more than 80 characters on a single line, and 2) cannot
17444disable line wrapping.
17445
17446A major restructuring of the namespace data structure has been
17447completed.  The  result is 1) cleaner and more
17448understandable/maintainable code, and 2) a  significant reduction
17449in the dynamic memory requirement for each named ACPI  object
17450(almost half).
17451
17452-------------------------------------------
17453Summary of changes for this label: 06_23_00
17454
17455Linux support has been added.  In order to obtain approval to get
17456the ACPI CA  subsystem into the Linux kernel, we've had to make
17457quite a few changes to the  base subsystem that will affect all
17458users (all the changes are generic and OS- independent).  The
17459effects of these global changes have been somewhat far  reaching.
17460Files have been merged and/or renamed and interfaces have been
17461renamed.   The major changes are described below.
17462
17463Osd* interfaces renamed to AcpiOs* to eliminate namespace
17464pollution/confusion  within our target kernels.  All OSD
17465interfaces must be modified to match the new  naming convention.
17466
17467Files merged across the subsystem.  A number of the smaller source
17468and header  files have been merged to reduce the file count and
17469increase the density of the  existing files.  There are too many
17470to list here.  In general, makefiles that  call out individual
17471files will require rebuilding.
17472
17473Interpreter files renamed.  All interpreter files now have the
17474prefix am*  instead of ie* and is*.
17475
17476Header files renamed:  The acapi.h file is now acpixf.h.  The
17477acpiosd.h file is  now acpiosxf.h.  We are removing references to
17478the acronym "API" since it is  somewhat windowsy. The new name is
17479"external interface" or xface or xf in the  filenames.j
17480
17481
17482All manifest constants have been forced to upper case (some were
17483mixed case.)   Also, the string "ACPI_" has been prepended to many
17484(not all) of the constants,  typedefs, and structs.
17485
17486The globals "DebugLevel" and "DebugLayer" have been renamed
17487"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
17488
17489All other globals within the subsystem are now prefixed with
17490"AcpiGbl_" Internal procedures within the subsystem are now
17491prefixed with "Acpi" (with only  a few exceptions).  The original
17492two-letter abbreviation for the subcomponent  remains after "Acpi"
17493- for example, CmCallocate became AcpiCmCallocate.
17494
17495Added a source code translation/conversion utility.  Used to
17496generate the Linux  source code, it can be modified to generate
17497other types of source as well. Can  also be used to cleanup
17498existing source by removing extraneous spaces and blank  lines.
17499Found in tools/acpisrc/*
17500
17501OsdUnMapMemory was renamed to OsdUnmapMemory and then
17502AcpiOsUnmapMemory.  (UnMap  became Unmap).
17503
17504A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
17505When set to  one, this indicates that the caller wants to use the
17506
17507semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
17508both types.  However, implementers of this  call may want to use
17509different OS primitives depending on the type of semaphore
17510requested.  For example, some operating systems provide separate
17511
17512"mutex" and  "semaphore" interfaces - where the mutex interface is
17513much faster because it  doesn't have all the overhead of a full
17514semaphore implementation.
17515
17516Fixed a deadlock problem where a method that accesses the PCI
17517address space can  block forever if it is the first access to the
17518space.
17519
17520-------------------------------------------
17521Summary of changes for this label: 06_02_00
17522
17523Support for environments that cannot handle unaligned data
17524accesses (e.g.  firmware and OS environments devoid of alignment
17525handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
17526been added (via configurable macros) in  these three areas: -
17527Transfer of data from the raw AML byte stream is done via byte
17528moves instead of    word/dword/qword moves. - External objects are
17529aligned within the user buffer, including package   elements (sub-
17530objects). - Conversion of name strings to UINT32 Acpi Names is now
17531done byte-wise.
17532
17533The Store operator was modified to mimic Microsoft's
17534implementation when storing  to a Buffer Field.
17535
17536Added a check of the BM_STS bit before entering C3.
17537
17538The methods subdirectory has been obsoleted and removed.  A new
17539file, cmeval.c  subsumes the functionality.
17540
17541A 16-bit (DOS) version of AcpiExec has been developed.  The
17542makefile is under  the acpiexec directory.
17543