xref: /dragonfly/sys/contrib/dev/acpica/changes.txt (revision 6700dd34)
1----------------------------------------
231 August 2017. Summary of changes for version 20170831:
3
4
51) ACPICA kernel-resident subsystem:
6
7Implemented internal support for full 64-bit addresses that appear in all
8Generic Address Structure (GAS) structures. Previously, only the lower 32
9bits were used. Affects the use of GAS structures in the FADT and other
10tables, as well as the GAS structures passed to the AcpiRead and
11AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
12
13Added header support for the PDTT ACPI table (Processor Debug Trigger
14Table). Full support in the iASL Data Table Compiler and disassembler is
15forthcoming.
16
17
182) iASL Compiler/Disassembler and Tools:
19
20iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor
21Properties Topology Table) where a flag bit was specified in the wrong
22bit position ("Line Size Valid", bit 6).
23
24iASL: Implemented support for Octal integer constants as defined by the
25ASL language grammar, per the ACPI specification. Any integer constant
26that starts with a zero is an octal constant. For example,
27    Store (037777, Local0) /* Octal constant */
28    Store (0x3FFF, Local0) /* Hex equivalent */
29    Store (16383,  Local0) /* Decimal equivalent */
30
31iASL: Improved overflow detection for 64-bit string conversions during
32compilation of integer constants. "Overflow" in this case means a string
33that represents an integer that is too large to fit into a 64-bit value.
34Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to
35the low-order 32 bits with a warning, as previously implemented. Several
36new exceptions are defined that indicate a 64-bit overflow, as well as
37the base (radix) that was used during the attempted conversion. Examples:
38    Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
39    Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
40    Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
41
42iASL: Added a warning for the case where a ResourceTemplate is declared
43with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In
44this case, the resulting template is created with a single END_TAG
45descriptor, which is essentially useless.
46
47iASL: Expanded the -vw option (ignore specific warnings/remarks) to
48include compilation error codes as well.
49
50----------------------------------------
5128 July 2017. Summary of changes for version 20170728:
52
53
541) ACPICA kernel-resident subsystem:
55
56Fixed a regression seen with small resource descriptors that could cause
57an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
58
59AML interpreter: Implemented a new feature that allows forward references
60from individual named references within package objects that are
61contained within blocks of "module-level code". This provides
62compatibility with other ACPI implementations and supports existing
63firmware that depends on this feature. Example:
64
65    Name (ABCD, 1)
66    If (ABCD)                       /* An If() at module-level */
67    {
68        Name (PKG1, Package()
69        {
70            INT1                    /* Forward reference to object INT1
71*/
72        })
73        Name (INT1, 0x1234)
74    }
75
76AML Interpreter: Fixed a problem with the Alias() operator where aliases
77to some ASL objects were not handled properly. Objects affected are:
78Mutex, Event, and OperationRegion.
79
80AML Debugger: Enhanced to properly handle AML Alias objects. These
81objects have one level of indirection which was not fully supported by
82the debugger.
83
84Table Manager: Added support to detect and ignore duplicate SSDTs within
85the XSDT/RSDT. This error in the XSDT has been seen in the field.
86
87EFI and EDK2 support:
88    Enabled /WX flag for MSVC builds
89    Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
90    Added local support for 64-bit multiply and shift operations
91    Added support to compile acpidump.efi on Windows
92    Added OSL function stubs for interfaces not used under EFI
93
94Added additional support for the _DMA predefined name. _DMA returns a
95buffer containing a resource template. This change add support within the
96resource manager (AcpiWalkResourceBuffer) to walk and parse this list of
97resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
98
99
1002) iASL Compiler/Disassembler and Tools:
101
102iASL: Fixed a problem where the internal input line buffer(s) could
103overflow if there are very long lines in the input ASL source code file.
104Implemented buffer management that automatically increases the size of
105the buffers as necessary.
106
107iASL: Added an option (-vx) to "expect" particular remarks, warnings and
108errors. If the specified exception is not raised during compilation, the
109compiler emits an error. This is intended to support the ASL test suite,
110but may be useful in other contexts.
111
112iASL: Implemented a new predefined macro, __METHOD__, which returns a
113string containing the name of the current control method that is being
114compiled.
115
116iASL: Implemented debugger and table compiler support for the SDEI ACPI
117table (Software Delegated Exception Interface). James Morse
118<james.morse@arm.com>
119
120Unix/Linux makefiles: Added an option to disable compile optimizations.
121The disable occurs when the NOOPT flag is set to TRUE.
122theracermaster@gmail.com
123
124Acpidump: Added support for multiple DSDT and FACS tables. This can occur
125when there are different tables for 32-bit versus 64-bit.
126
127Enhanced error reporting for the ASL test suite (ASLTS) by removing
128unnecessary/verbose text, and emit the actual line number where an error
129has occurred. These changes are intended to improve the usefulness of the
130test suite.
131
132----------------------------------------
13329 June 2017. Summary of changes for version 20170629:
134
135
1361) ACPICA kernel-resident subsystem:
137
138Tables: Implemented a deferred ACPI table verification. This is useful
139for operating systems where the tables cannot be verified in the early
140initialization stage due to early memory mapping limitations on some
141architectures. Lv Zheng.
142
143Tables: Removed the signature validation for dynamically loaded tables.
144Provides compatibility with other ACPI implementations. Previously, only
145SSDT tables were allowed, as per the ACPI specification. Now, any table
146signature can be used via the Load() operator. Lv Zheng.
147
148Tables: Fixed several mutex issues that could cause errors during table
149acquisition. Lv Zheng.
150
151Tables: Fixed a problem where an ACPI warning could be generated if a
152null pointer was passed to the AcpiPutTable interface. Lv Zheng.
153
154Tables: Added a mechanism to handle imbalances for the AcpiGetTable and
155AcpiPutTable interfaces. This applies to the "late stage" table loading
156when the use of AcpiPutTable is no longer required (since the system
157memory manager is fully running and available). Lv Zheng.
158
159Fixed/Reverted a regression during processing of resource descriptors
160that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG
161exception in this case.
162
163Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the
164I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
165
166Interpreter: Fixed a possible fault if an Alias operator with an invalid
167or duplicate target is encountered during Alias creation in
168AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
169
170Added an option to use designated initializers for function pointers.
171Kees Cook <keescook@google.com>
172
173
1742) iASL Compiler/Disassembler and Tools:
175
176iASL: Allow compilation of External declarations with target pathnames
177that refer to existing named objects within the table. Erik Schmauss.
178
179iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a
180FieldUnit name also is declared via External in the same table. Erik
181Schmauss.
182
183iASL: Allow existing scope names within pathnames used in External
184statements. For example:
185    External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
186    Device (ABCD)
187
188iASL: IORT ACPI table: Implemented changes required to decode the new
189Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table
190compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
191
192Disassembler: Don't abort disassembly on errors from External()
193statements. Erik Schmauss.
194
195Disassembler: fixed a possible fault when one of the Create*Field
196operators references a Resource Template. ACPICA Bugzilla 1396.
197
198iASL: In the source code, resolved some naming inconsistences across the
199parsing support. Fixes confusion between "Parse Op" and "Parse Node".
200Adds a new file, aslparseop.c
201
202----------------------------------------
20331 May 2017. Summary of changes for version 20170531:
204
205
2060) ACPI 6.2 support:
207
208The ACPI specification version 6.2 has been released and is available at
209http://uefi.org/specifications
210
211This version of ACPICA fully supports the ACPI 6.2 specification. Changes
212are summarized below.
213
214New ACPI tables (Table Compiler/Disassembler/Templates):
215    HMAT (Heterogeneous Memory Attributes Table)
216    WSMT (Windows SMM Security Mitigation Table)
217    PPTT (Processor Properties Topology Table)
218
219New subtables for existing ACPI tables:
220    HEST (New subtable, Arch-deferred machine check)
221    SRAT (New subtable, Arch-specific affinity structure)
222    PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
223
224Simple updates for existing ACPI tables:
225    BGRT (two new flag bits)
226    HEST (New bit defined for several subtables, GHES_ASSIST)
227
228New Resource Descriptors and Resource macros (Compiler/Disassembler):
229    PinConfig()
230    PinFunction()
231    PinGroup()
232    PinGroupConfig()
233    PinGroupFunction()
234    New type for hardware error notification (section 18.3.2.9)
235
236New predefined names/methods (Compiler/Interpreter):
237    _HMA (Heterogeneous Memory Attributes)
238    _LSI (Label Storage Information)
239    _LSR (Label Storage Read)
240    _LSW (Label Storage Write)
241
242ASL grammar/macro changes (Compiler):
243    For() ASL macro, implemented with the AML while operator
244    Extensions to Concatenate operator
245    Support for multiple definition blocks in same ASL file
246    Clarification for Buffer operator
247    Allow executable AML code underneath all scopes (Devices, etc.)
248    Clarification/change for the _OSI return value
249    ASL grammar update for reference operators
250    Allow a zero-length string for AML filename in DefinitionBlock
251
252Miscellaneous:
253    New device object notification value
254    Remove a notify value (0x0C) for graceful shutdown
255    New UUIDs for processor/cache properties and
256        physical package property
257    New _HID, ACPI0014 (Wireless Power Calibration Device)
258
259
2601) ACPICA kernel-resident subsystem:
261
262Added support to disable ACPI events on hardware-reduced platforms.
263Eliminates error messages of the form "Could not enable fixed event". Lv
264Zheng
265
266Fixed a problem using Device/Thermal objects with the ObjectType and
267DerefOf ASL operators. This support had not been fully/properly
268implemented.
269
270Fixed a problem where if a Buffer object containing a resource template
271was longer than the actual resource template, an error was generated --
272even though the AML is legal. This case has been seen in the field.
273
274Fixed a problem with the header definition of the MADT PCAT_COMPAT flag.
275The values for DUAL_PIC and MULTIPLE_APIC were reversed.
276
277Added header file changes for the TPM2 ACPI table. Update to new version
278of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
279
280Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex.
281These interfaces are intended to be used only in conjunction with the
282predefined _DLM method (Device Lock Method). "This object appears in a
283device scope when AML access to the device must be synchronized with the
284OS environment".
285
286Example Code and Data Size: These are the sizes for the OS-independent
287acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
288debug version of the code includes the debug output trace mechanism and
289has a much larger code and data size.
290
291  Current Release:
292    Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
293    Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
294  Previous Release:
295    Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
296    Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
297
298
2992) iASL Compiler/Disassembler and Tools:
300
301iASL: Fixed a problem where an External() declaration could not refer to
302a Field Unit. Erik Schmauss.
303
304Disassembler: Improved support for the Switch/Case operators. This
305feature will disassemble AML code back to the original Switch operators
306when possible, instead of an If..Else sequence. David Box
307
308iASL and disassembler: Improved the handling of multiple extraneous
309parentheses for both ASL input and disassembled ASL output.
310
311Improved the behavior of the iASL compiler and disassembler to detect
312improper use of external declarations
313
314Disassembler: Now aborts immediately upon detection of an unknown AML
315opcode. The AML parser has no real way to recover from this, and can
316result in the creation of an ill-formed parse tree that causes errors
317later during the disassembly.
318
319All tools: Fixed a problem where the Unix application OSL did not handle
320control-c correctly. For example, a control-c could incorrectly wake the
321debugger.
322
323AcpiExec: Improved the Control-C handling and added a handler for
324segmentation faults (SIGSEGV). Supports both Windows and Unix-like
325environments.
326
327Reduced the verbosity of the generic unix makefiles. Previously, each
328compilation displayed the full set of compiler options. This has been
329eliminated as the options are easily inspected within the makefiles. Each
330compilation now results in a single line of output.
331
332----------------------------------------
33303 March 2017. Summary of changes for version 20170303:
334
335
3360) ACPICA licensing:
337
338The licensing information at the start of each source code module has
339been updated. In addition to the Intel license, the dual GPLv2/BSD
340license has been added for completeness. Now, a single version of the
341source code should be suitable for all ACPICA customers. This is the
342major change for this release since it affects all source code modules.
343
344
3451) ACPICA kernel-resident subsystem:
346
347Fixed two issues with the common asltypes.h header that could cause
348problems in some environments: (Kim Jung-uk)
349    Removed typedef for YY_BUFFER_STATE ?
350       Fixes an error with earlier versions of Flex.
351    Removed use of FILE typedef (which is only defined in stdio.h)
352
353
3542) iASL Compiler/Disassembler and Tools:
355
356Disassembler: fixed a regression introduced in 20170224. A fix for a
357memory leak related to resource descriptor tags (names) could fault when
358the disassembler was generated with 64-bit compilers.
359
360The ASLTS test suite has been updated to implement a new testing
361architecture. During generation of the suite from ASL source, both the
362ASL and ASL+ compilers are now validated, as well as the disassembler
363itself (Erik Schmauss). The architecture executes as follows:
364
365    For every ASL source module:
366        Compile (legacy ASL compilation)
367        Disassemble the resulting AML to ASL+ source code
368        Compile the new ASL+ module
369        Perform a binary compare on the legacy AML and the new ASL+ AML
370    The ASLTS suite then executes normally using the AML binaries.
371
372----------------------------------------
37324 February 2017. Summary of changes for version 20170224:
374
375
3761) ACPICA kernel-resident subsystem:
377
378Interpreter: Fixed two issues with the control method return value auto-
379repair feature, where an attempt to double-delete an internal object
380could result in an ACPICA warning (for _CID repair and others). No fault
381occurs, however, because the attempted deletion (actually a release to an
382internal cache) is detected and ignored via object poisoning.
383
384Debugger: Fixed an AML interpreter mutex issue during the single stepping
385of control methods. If certain debugger commands are executed during
386stepping, a mutex aquire/release error could occur. Lv Zheng.
387
388Fixed some issues generating ACPICA with the Intel C compiler by
389restoring the original behavior and compiler-specific include file in
390acenv.h. Lv Zheng.
391
392Example Code and Data Size: These are the sizes for the OS-independent
393acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
394debug version of the code includes the debug output trace mechanism and
395has a much larger code and data size.
396
397  Current Release:
398    Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
399    Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
400  Previous Release:
401    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
402    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
403
404
4052) iASL Compiler/Disassembler and Tools:
406
407iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion
408tool has been designed, implemented, and included in this release. The
409key feature of this utility is that the original comments within the
410input ASL file are preserved during the conversion process, and included
411within the converted ASL+ file -- thus creating a transparent conversion
412of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
413
414    Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with
415converted code
416
417iASL/Disassembler: Improved the detection and correct disassembly of
418Switch/Case operators. This feature detects sequences of if/elseif/else
419operators that originated from ASL Switch/Case/Default operators and
420emits the original operators. David Box.
421
422iASL: Improved the IORT ACPI table support in the following areas. Lv
423Zheng:
424    Clear MappingOffset if the MappingCount is zero.
425    Fix the disassembly of the SMMU GSU interrupt offset.
426    Update the template file for the IORT table.
427
428Disassembler: Enhanced the detection and disassembly of resource
429template/descriptor within a Buffer object. An EndTag descriptor is now
430required to have a zero second byte, since all known ASL compilers emit
431this. This helps eliminate incorrect decisions when a buffer is
432disassembled (false positives on resource templates).
433
434----------------------------------------
43519 January 2017. Summary of changes for version 20170119:
436
437
4381) General ACPICA software:
439
440Entire source code base: Added the 2017 copyright to all source code
441legal/licensing module headers and utility/tool signons. This includes
442the standard Linux dual-license header. This affects virtually every file
443in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and
444the ACPICA test suite.
445
446
4472) iASL Compiler/Disassembler and Tools:
448
449iASL: Removed/fixed an inadvertent remark when a method argument
450containing a reference is used as a target operand within the method (and
451never used as a simple argument), as in the example below. Jeffrey Hugo.
452
453    dsdt.asl   1507:    Store(0x1, Arg0)
454    Remark   2146 -                ^ Method Argument is never used (Arg0)
455
456All tools: Removed the bit width of the compiler that generated the tool
457from the common signon for all user space tools. This proved to be
458confusing and unnecessary. This includes similar removal of HARDWARE_NAME
459from the generic makefiles (Thomas Petazzoni). Example below.
460
461    Old:
462    ASL+ Optimizing Compiler version 20170119-32
463    ASL+ Optimizing Compiler version 20170119-64
464
465    New:
466    ASL+ Optimizing Compiler version 20170119
467
468----------------------------------------
46922 December 2016. Summary of changes for version 20161222:
470
471
4721) ACPICA kernel-resident subsystem:
473
474AML Debugger: Implemented a new mechanism to simplify and enhance
475debugger integration into all environments, including kernel debuggers
476and user-space utilities, as well as remote debug services. This
477mechanism essentially consists of new OSL interfaces to support debugger
478initialization/termination, as well as wait/notify interfaces to perform
479the debugger handshake with the host. Lv Zheng.
480
481    New OSL interfaces:
482        AcpiOsInitializeDebugger (void)
483        AcpiOsTerminateDebugger (void)
484        AcpiOsWaitCommandReady (void)
485        AcpiOsNotifyCommandComplete (void)
486
487    New OS services layer:
488        osgendbg.c -- Example implementation, and used for AcpiExec
489
490Update for Generic Address Space (GAS) support: Although the AccessWidth
491and/or BitOffset fields of the GAS are not often used, this change now
492fully supports these fields. This affects the internal support for FADT
493registers, registers in other ACPI data tables, and the AcpiRead and
494AcpiWrite public interfaces. Lv Zheng.
495
496Sleep support: In order to simplify integration of ACPI sleep for the
497various host operating systems, a new OSL interface has been introduced.
498AcpiOsEnterSleep allows the host to perform any required operations
499before the final write to the sleep control register(s) is performed by
500ACPICA. Lv Zheng.
501
502    New OSL interface:
503        AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
504
505    Called from these internal interfaces:
506        AcpiHwLegacySleep
507        AcpiHwExtendedSleep
508
509EFI support: Added a very small EFI/ACPICA example application. Provides
510a simple demo for EFI integration, as well as assisting with resolution
511of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
512
513    source/tools/efihello/efihello.c
514
515Local C library: Implemented several new functions to enhance ACPICA
516portability, for environments where these clib functions are not
517available (such as EFI). Lv Zheng:
518    putchar
519    getchar
520    strpbrk
521    strtok
522    memmove
523
524Fixed a regression where occasionally a valid resource descriptor was
525incorrectly detected as invalid at runtime, and a
526AE_AML_NO_RESOURCE_END_TAG was returned.
527
528Fixed a problem with the recently implemented support that enables
529control method invocations as Target operands to many ASL operators.
530Warnings of this form: "Needed type [Reference], found [Processor]" were
531seen at runtime for some method invocations.
532
533Example Code and Data Size: These are the sizes for the OS-independent
534acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
535debug version of the code includes the debug output trace mechanism and
536has a much larger code and data size.
537
538  Current Release:
539    Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
540    Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
541  Previous Release:
542    Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
543    Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
544
545
5462) iASL Compiler/Disassembler and Tools:
547
548Disassembler: Enhanced output by adding the capability to detect and
549disassemble ASL Switch/Case statements back to the original ASL source
550code instead of if/else blocks. David Box.
551
552AcpiHelp: Split a large file into separate files based upon
553functionality/purpose. New files are:
554    ahaml.c
555    ahasl.c
556
557----------------------------------------
55817 November 2016. Summary of changes for version 20161117:
559
560
5611) ACPICA kernel-resident subsystem:
562
563Table Manager: Fixed a regression introduced in 20160729, "FADT support
564cleanup". This was an attempt to remove all references in the source to
565the FADT version 2, which never was a legal version number. It was
566skipped because it was an early version of 64-bit support that was
567eventually abandoned for the current 64-bit support.
568
569Interpreter: Fixed a problem where runtime implicit conversion was
570incorrectly disabled for the ASL operators below. This brings the
571behavior into compliance with the ACPI specification:
572    FromBCD
573    ToBCD
574    ToDecimalString
575    ToHexString
576    ToInteger
577    ToBuffer
578
579Table Manager: Added a new public interface, AcpiPutTable, used to
580release and free an ACPI table returned by AcpiGetTable and related
581interfaces. Lv Zheng.
582
583Example Code and Data Size: These are the sizes for the OS-independent
584acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
585debug version of the code includes the debug output trace mechanism and
586has a much larger code and data size.
587
588  Current Release:
589    Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
590    Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
591  Previous Release:
592    Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
593    Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
594
595
5962) iASL Compiler/Disassembler and Tools:
597
598Disassembler: Fixed a regression for disassembly of Resource Template.
599Detection of templates in the AML stream missed some types of templates.
600
601iASL: Fixed a problem where an Access Size error was returned for the PCC
602address space when the AccessSize of the GAS register is greater than a
603DWORD. Hoan Tran.
604
605iASL: Implemented several grammar changes for the operators below. These
606changes are slated for the next version of the ACPI specification:
607    RefOf        - Disallow method invocation as an operand
608    CondRefOf    - Disallow method invocation as an operand
609    DerefOf      - Disallow operands that use the result from operators
610that
611                   do not return a reference (Changed TermArg to
612SuperName).
613
614iASL: Control method invocations are now allowed for Target operands, as
615per the ACPI specification. Removed error for using a control method
616invocation as a Target operand.
617
618Disassembler: Improved detection of Resource Templates, Unicode, and
619Strings within Buffer objects. These subtypes do not contain a specific
620opcode to indicate the originating ASL code, and they must be detected by
621other means within the disassembler.
622
623iASL: Implemented an optimization improvement for 32-bit ACPI tables
624(DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode
625only after 64-bit to 32-bit truncation. A truncation warning message is
626still emitted, however.
627
628AcpiXtract: Implemented handling for both types of line terminators (LF
629or CR/LF) so that it can accept AcpiDump output files from any system.
630Peter Wu.
631
632AcpiBin: Added two new options for comparing AML files:
633    -a: compare and display ALL mismatches
634    -o: start compare at this offset into the second file
635
636----------------------------------------
63730 September 2016. Summary of changes for version 20160930:
638
639
6401) ACPICA kernel-resident subsystem:
641
642Fixed a regression in the internal AcpiTbFindTable function where a non
643AE_OK exception could inadvertently be returned even if the function did
644not fail. This problem affects the following operators:
645    DataTableRegion
646    LoadTable
647
648Fixed a regression in the LoadTable operator where a load to any
649namespace location other than the root no longer worked properly.
650
651Increased the maximum loop count value that will result in the
652AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to
653prevent infinite loops within the AML interpreter and thus the host OS
654kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to
6551,048,575).
656
657Moved the AcpiGbl_MaxLoopIterations configuration variable to the public
658acpixf.h file. This allows hosts to easily configure the maximum loop
659count at runtime.
660
661Removed an illegal character in the strtoul64.c file. This character
662caused errors with some C compilers.
663
664Example Code and Data Size: These are the sizes for the OS-independent
665acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
666debug version of the code includes the debug output trace mechanism and
667has a much larger code and data size.
668
669  Current Release:
670    Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
671    Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
672  Previous Release:
673    Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
674    Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
675
676
6772) iASL Compiler/Disassembler and Tools:
678
679Disassembler: Fixed a problem with the conversion of Else{If{ blocks into
680the simpler ASL ElseIf keyword. During the conversion, a trailing If
681block could be lost and missing from the disassembled output.
682
683iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+,
684the missing rule caused a parse error when using the Index operator as an
685operand to ObjectType. This construct now compiles properly. Example:
686    ObjectType(PKG1[4]).
687
688iASL: Correctly handle unresolved symbols in the hardware map file (-lm
689option). Previously, unresolved symbols could cause a protection fault.
690Such symbols are now marked as unresolved in the map file.
691
692iASL: Implemented support to allow control method invocations as an
693operand to the ASL DeRefOf operator. Example:
694    DeRefOf(MTH1(Local0))
695
696Disassembler: Improved support for the ToPLD ASL macro. Detection of a
697possible _PLD buffer now includes examination of both the normal buffer
698length (16 or 20) as well as the surrounding AML package length.
699
700Disassembler: Fixed a problem with the decoding of complex expressions
701within the Divide operator for ASL+. For the case where both the quotient
702and remainder targets are specified, the entire statement cannot be
703disassembled. Previously, the output incorrectly contained a mix of ASL-
704and ASL+ operators. This mixed statement causes a syntax error when
705compiled. Example:
706    Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly
707disassembled to:
708    Divide (INT1 + 6, 128, RSLT, QUOT)
709
710iASL/Tools: Added support to process AML and non-AML ACPI tables
711consistently. For the disassembler and AcpiExec, allow all types of ACPI
712tables (AML and data tables). For the iASL -e option, allow only AML
713tables (DSDT/SSDT).
714
715----------------------------------------
71631 August 2016. Summary of changes for version 20160831:
717
718
7191) ACPICA kernel-resident subsystem:
720
721Improve support for the so-called "module-level code", which is defined
722to be math, logical and control AML opcodes that appear outside of any
723control method. This change improves the support by adding more opcodes
724that can be executed in the manner. Some other issues have been solved,
725and the ASL grammar changes to support such code under all scope
726operators (Device, etc.) are complete. Lv Zheng.
727
728UEFI support: these OSL functions have been implemented. This is an
729additional step toward supporting the AcpiExec utility natively (with
730full hardware access) under UEFI. Marcelo Ferreira.
731    AcpiOsReadPciConfiguration
732    AcpiOsWritePciConfiguration
733
734Fixed a possible mutex error during control method auto-serialization. Lv
735Zheng.
736
737Updated support for the Generic Address Structure by fully implementing
738all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv
739Zheng.
740
741Updated the return value for the internal _OSI method. Instead of
7420xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF
743for 64-bit ACPI tables. This fixes an incompatibility with other ACPI
744implementations, and will be reflected and clarified in the next version
745of the ACPI specification.
746
747Implemented two new table events that can be passed to an ACPICA table
748handler. These events are used to indicate a table installation or
749uninstallation. These events are used in addition to existed table load
750and unload events. Lv Zheng.
751
752Implemented a cleanup for all internal string-to-integer conversions.
753Consolidate multiple versions of this functionality and limit possible
754bases to either 10 or 16 to simplify the code. Adds a new file,
755utstrtoul64.
756
757Cleanup the inclusion order of the various compiler-specific headers.
758This simplifies build configuration management. The compiler-specific
759headers are now split out from the host-specific headers. Lv Zheng.
760
761Example Code and Data Size: These are the sizes for the OS-independent
762acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
763debug version of the code includes the debug output trace mechanism and
764has a much larger code and data size.
765
766  Current Release:
767    Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
768    Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
769
770
7712) iASL Compiler/Disassembler and Tools:
772
773iASL/AcpiExec: Added a command line option to display the build date/time
774of the tool (-vd). This can be useful to verify that the correct version
775of the tools are being used.
776
777AML Debugger: Implemented a new subcommand ("execute predef") to execute
778all predefined control methods and names within the current namespace.
779This can be useful for debugging problems with ACPI tables and the ACPI
780namespace.
781
782----------------------------------------
78329 July 2016. Summary of changes for version 20160729:
784
785
7861) ACPICA kernel-resident subsystem:
787
788Implemented basic UEFI support for the various ACPICA tools. This
789includes:
7901) An OSL to implement the various AcpiOs* interfaces on UEFI.
7912) Support to obtain the ACPI tables on UEFI.
7923) Local implementation of required C library functions not available on
793UEFI.
7944) A front-end (main) function for the tools for UEFI-related
795initialization.
796
797The initial deployment of this support is the AcpiDump utility executing
798as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit").
799Current environments supported are Linux/Unix. MSVC generation is not
800supported at this time. See the generate/efi/README file for build
801instructions. Lv Zheng.
802
803Future plans include porting the AcpiExec utility to execute natively on
804the platform with I/O and memory access. This will allow viewing/dump of
805the platform namespace and native execution of ACPI control methods that
806access the actual hardware. To fully implement this support, the OSL
807functions below must be implemented with UEFI interfaces. Any community
808help in the implementation of these functions would be appreciated:
809    AcpiOsReadPort
810    AcpiOsWritePort
811    AcpiOsReadMemory
812    AcpiOsWriteMemory
813    AcpiOsReadPciConfiguration
814    AcpiOsWritePciConfiguration
815
816Restructured and standardized the C library configuration for ACPICA,
817resulting in the various configuration options below. This includes a
818global restructuring of the compiler-dependent and platform-dependent
819include files. These changes may affect the existing platform-dependent
820configuration files on some hosts. Lv Zheng.
821
822The current C library configuration options appear below. For any issues,
823it may be helpful to examine the existing compiler-dependent and
824platform-dependent files as examples. Lv Zheng.
825
8261) Linux kernel:
827    ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
828library.
829    ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
8302) Unix/Windows/BSD applications:
831    ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C
832library.
833    ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
8343) UEFI applications:
835    ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
836library.
837    ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
8384) UEFI applications (EDK2/StdLib):
839    ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
840    ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
841
842
843AML interpreter: "module-level code" support. Allows for execution of so-
844called "executable" AML code (math/logical operations, etc.) outside of
845control methods not just at the module level (top level) but also within
846any scope declared outside of a control method - Scope{}, Device{},
847Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng.
848
849Simplified the configuration of the "maximum AML loops" global option by
850adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be
851modified at runtime.
852
853
854Example Code and Data Size: These are the sizes for the OS-independent
855acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
856debug version of the code includes the debug output trace mechanism and
857has a much larger code and data size.
858
859  Current Release:
860    Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
861    Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
862
863
8642) iASL Compiler/Disassembler and Tools:
865
866iASL: Add full support for the RASF ACPI table (RAS Features Table).
867Includes disassembler, data table compiler, and header support.
868
869iASL Expand "module-level code" support. Allows for
870compilation/disassembly of so-called "executable" AML code (math/logical
871operations, etc.) outside of control methods not just at the module level
872(top level) but also within any scope declared outside of a control
873method - Scope{}, Device{}, Processor{}, PowerResource{}, and
874ThermalZone{}.
875
876AcpiDump: Added support for dumping all SSDTs on newer versions of
877Windows. These tables are now easily available -- SSDTs are not available
878through the registry on older versions.
879
880----------------------------------------
88127 May 2016. Summary of changes for version 20160527:
882
883
8841) ACPICA kernel-resident subsystem:
885
886Temporarily reverted the new arbitrary bit length/alignment support in
887AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
888a number of regressions with the new code that need to be fully resolved
889and tested before this support can be finally integrated into ACPICA.
890Apologies for any inconveniences these issues may have caused.
891
892The ACPI message macros are not configurable (ACPI_MSG_ERROR,
893ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
894and ACPI_MSG_BIOS_WARNING). Lv Zheng.
895
896Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
897option. Adds a new return macro, return_STR. Junk-uk Kim.
898
899Example Code and Data Size: These are the sizes for the OS-independent
900acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
901debug version of the code includes the debug output trace mechanism and
902has a much larger code and data size.
903
904  Current Release:
905    Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
906    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
907  Previous Release:
908    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
909    Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
910
911----------------------------------------
91222 April 2016. Summary of changes for version 20160422:
913
9141) ACPICA kernel-resident subsystem:
915
916Fixed a regression in the GAS (generic address structure) arbitrary bit
917support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior
918and incorrect return values. Lv Zheng. ACPICA BZ 1270.
919
920ACPI 6.0: Added support for new/renamed resource macros. One new argument
921was added to each of these macros, and the original name has been
922deprecated. The AML disassembler will always disassemble to the new
923names. Support for the new macros was added to iASL, disassembler,
924resource manager, and the acpihelp utility. ACPICA BZ 1274.
925
926    I2cSerialBus  -> I2cSerialBusV2
927    SpiSerialBus  -> SpiSerialBusV2
928    UartSerialBus -> UartSerialBusV2
929
930ACPI 6.0: Added support for a new integer field that was appended to the
931package object returned by the _BIX method. This adds iASL compile-time
932and AML runtime error checking. ACPICA BZ 1273.
933
934ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm
935Subspace Type2" (Headers, Disassembler, and data table compiler).
936
937Example Code and Data Size: These are the sizes for the OS-independent
938acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
939debug version of the code includes the debug output trace mechanism and
940has a much larger code and data size.
941
942  Current Release:
943    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
944    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
945  Previous Release:
946    Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
947    Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
948
949
9502) iASL Compiler/Disassembler and Tools:
951
952iASL: Implemented an ASL grammar extension to allow/enable executable
953"module-level code" to be created and executed under the various
954operators that create new scopes. This type of AML code is already
955supported in all known AML interpreters, and the grammar change will
956appear in the next version of the ACPI specification. Simplifies the
957conditional runtime creation of named objects under these object types:
958
959    Device
960    PowerResource
961    Processor
962    Scope
963    ThermalZone
964
965iASL: Implemented a new ASL extension, a "For" loop macro to add greater
966ease-of-use to the ASL language. The syntax is similar to the
967corresponding C operator, and is implemented with the existing AML While
968opcode -- thus requiring no changes to existing AML interpreters.
969
970    For (Initialize, Predicate, Update) {TermList}
971
972Grammar:
973    ForTerm :=
974        For (
975            Initializer    // Nothing | TermArg => ComputationalData
976            Predicate      // Nothing | TermArg => ComputationalData
977            Update         // Nothing | TermArg => ComputationalData
978        ) {TermList}
979
980
981iASL: The _HID/_ADR detection and validation has been enhanced to search
982under conditionals in order to allow these objects to be conditionally
983created at runtime.
984
985iASL: Fixed several issues with the constant folding feature. The
986improvement allows better detection and resolution of statements that can
987be folded at compile time. ACPICA BZ 1266.
988
989iASL/Disassembler: Fixed a couple issues with the Else{If{}...}
990conversion to the ASL ElseIf operator where incorrect ASL code could be
991generated.
992
993iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where
994sometimes an extra (and extraneous) set of parentheses were emitted for
995some combinations of operators. Although this did not cause any problems
996with recompilation of the disassembled code, it made the code more
997difficult to read. David Box. ACPICA BZ 1231.
998
999iASL: Changed to ignore the unreferenced detection for predefined names
1000of resource descriptor elements, when the resource descriptor is
1001created/defined within a control method.
1002
1003iASL: Disassembler: Fix a possible fault with externally declared Buffer
1004objects.
1005
1006----------------------------------------
100718 March 2016. Summary of changes for version 20160318:
1008
10091) ACPICA kernel-resident subsystem:
1010
1011Added support for arbitrary bit lengths and bit offsets for registers
1012defined by the Generic Address Structure. Previously, only aligned bit
1013lengths of 8/16/32/64 were supported. This was sufficient for many years,
1014but recently some machines have been seen that require arbitrary bit-
1015level support. ACPICA BZ 1240. Lv Zheng.
1016
1017Fixed an issue where the \_SB._INI method sometimes must be evaluated
1018before any _REG methods are evaluated. Lv Zheng.
1019
1020Implemented several changes related to ACPI table support
1021(Headers/Disassembler/TableCompiler):
1022NFIT: For ACPI 6.1, updated to add some additional new fields and
1023constants.
1024FADT: Updated a warning message and set compliance to ACPI 6.1 (Version
10256).
1026DMAR: Added new constants per the 10/2014 DMAR spec.
1027IORT: Added new subtable per the 10/2015 IORT spec.
1028HEST: For ACPI 6.1, added new constants and new subtable.
1029DBG2: Added new constants per the 12/2015 DBG2 spec.
1030FPDT: Fixed several incorrect fields, add the FPDT boot record structure.
1031ACPICA BZ 1249.
1032ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
1033
1034Updated header support for the DMAR table to match the current version of
1035the related spec.
1036
1037Added extensions to the ASL Concatenate operator to allow any ACPI object
1038to be passed as an operand. Any object other than Integer/String/Buffer
1039simply returns a string containing the object type. This extends the
1040usefulness of the Printf macros. Previously, Concatenate would abort the
1041control method if a non-data object was encountered.
1042
1043ACPICA source code: Deployed the C "const" keyword across the source code
1044where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
1045
1046Example Code and Data Size: These are the sizes for the OS-independent
1047acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1048debug version of the code includes the debug output trace mechanism and
1049has a much larger code and data size.
1050
1051  Current Release:
1052    Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1053    Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1054  Previous Release:
1055    Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1056    Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1057
1058
10592) iASL Compiler/Disassembler and Tools:
1060
1061iASL/Disassembler: Improved the heuristic used to determine the number of
1062arguments for an externally defined control method (a method in another
1063table). Although this is an improvement, there is no deterministic way to
1064"guess" the number of method arguments. Only the ACPI 6.0 External opcode
1065will completely solve this problem as it is deployed (automatically) in
1066newer BIOS code.
1067
1068iASL/Disassembler: Fixed an ordering issue for emitted External() ASL
1069statements that could cause errors when the disassembled file is
1070compiled. ACPICA BZ 1243. David Box.
1071
1072iASL: Fixed a regression caused by the merger of the two versions of the
1073local strtoul64. Because of a dependency on a global variable, strtoul64
1074could return an error for integers greater than a 32-bit value. ACPICA BZ
10751260.
1076
1077iASL: Fixed a regression where a fault could occur for an ASL Return
1078statement if it invokes a control method that is not resolved. ACPICA BZ
10791264.
1080
1081AcpiXtract: Improved input file validation: detection of binary files and
1082non-acpidump text files.
1083
1084----------------------------------------
108512 February 2016. Summary of changes for version 20160212:
1086
10871) ACPICA kernel-resident subsystem:
1088
1089Implemented full support for the ACPI 6.1 specification (released in
1090January). This version of the specification is available at:
1091http://www.uefi.org/specifications
1092
1093Only a relatively small number of changes were required in ACPICA to
1094support ACPI 6.1, in these areas:
1095- New predefined names
1096- New _HID values
1097- A new subtable for HEST
1098- A few other header changes for new values
1099
1100Ensure \_SB_._INI is executed before any _REG methods are executed. There
1101appears to be existing BIOS code that relies on this behavior. Lv Zheng.
1102
1103Reverted a change made in version 20151218 which enabled method
1104invocations to be targets of various ASL operators (SuperName and Target
1105grammar elements). While the new behavior is supported by the ACPI
1106specification, other AML interpreters do not support this behavior and
1107never will. The ACPI specification will be updated for ACPI 6.2 to remove
1108this support. Therefore, the change was reverted to the original ACPICA
1109behavior.
1110
1111ACPICA now supports the GCC 6 compiler.
1112
1113Current Release: (Note: build changes increased sizes)
1114    Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1115    Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1116Previous Release:
1117    Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1118    Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
1119
1120
11212) iASL Compiler/Disassembler and Tools:
1122
1123Completed full support for the ACPI 6.0 External() AML opcode. The
1124compiler emits an external AML opcode for each ASL External statement.
1125This opcode is used by the disassembler to assist with the disassembly of
1126external control methods by specifying the required number of arguments
1127for the method. AML interpreters do not use this opcode. To ensure that
1128interpreters do not even see the opcode, a block of one or more external
1129opcodes is surrounded by an "If(0)" construct. As this feature becomes
1130commonly deployed in BIOS code, the ability of disassemblers to correctly
1131disassemble AML code will be greatly improved. David Box.
1132
1133iASL: Implemented support for an optional cross-reference output file.
1134The -lx option will create a the cross-reference file with the suffix
1135"xrf". Three different types of cross-reference are created in this file:
1136- List of object references made from within each control method
1137- Invocation (caller) list for each user-defined control method
1138- List of references to each non-method object in the namespace
1139
1140iASL: Method invocations as ASL Target operands are now disallowed and
1141flagged as errors in preparation for ACPI 6.2 (see the description of the
1142problem above).
1143
1144----------------------------------------
11458 January 2016. Summary of changes for version 20160108:
1146
11471) ACPICA kernel-resident subsystem:
1148
1149Updated all ACPICA copyrights and signons to 2016: Added the 2016
1150copyright to all source code module headers and utility/tool signons.
1151This includes the standard Linux dual-license header. This affects
1152virtually every file in the ACPICA core subsystem, iASL compiler, all
1153ACPICA utilities, and the ACPICA test suite.
1154
1155Fixed a regression introduced in version 20151218 concerning the
1156execution of so-called module-level ASL/AML code. Namespace objects
1157created under a module-level If() construct were not properly/fully
1158entered into the namespace and could cause an interpreter fault when
1159accessed.
1160
1161Example Code and Data Size: These are the sizes for the OS-independent
1162acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1163debug version of the code includes the debug output trace mechanism and
1164has a much larger code and data size.
1165
1166Current Release:
1167    Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1168    Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
1169  Previous Release:
1170    Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1171    Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1172
1173
11742) iASL Compiler/Disassembler and Tools:
1175
1176Fixed a problem with the compilation of the GpioIo and GpioInt resource
1177descriptors. The _PIN field name was incorrectly defined to be an array
1178of 32-bit values, but the _PIN values are in fact 16 bits each. This
1179would cause incorrect bit width warnings when using Word (16-bit) fields
1180to access the descriptors.
1181
1182
1183----------------------------------------
118418 December 2015. Summary of changes for version 20151218:
1185
11861) ACPICA kernel-resident subsystem:
1187
1188Implemented per-AML-table execution of "module-level code" as individual
1189ACPI tables are loaded into the namespace during ACPICA initialization.
1190In other words, any module-level code within an AML table is executed
1191immediately after the table is loaded, instead of batched and executed
1192after all of the tables have been loaded. This provides compatibility
1193with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
1194David Box.
1195
1196To fully support the feature above, the default operation region handlers
1197for the SystemMemory, SystemIO, and PCI_Config address spaces are now
1198installed before any ACPI tables are loaded. This enables module-level
1199code to access these address spaces during the table load and module-
1200level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
1201Box.
1202
1203Implemented several changes to the internal _REG support in conjunction
1204with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
1205utilities for the changes above. Although these tools were changed, host
1206operating systems that simply use the default handlers for SystemMemory,
1207SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
1208
1209For example, in the code below, DEV1 is conditionally added to the
1210namespace by the DSDT via module-level code that accesses an operation
1211region. The SSDT references DEV1 via the Scope operator. DEV1 must be
1212created immediately after the DSDT is loaded in order for the SSDT to
1213successfully reference DEV1. Previously, this code would cause an
1214AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
1215fully supported by ACPICA.
1216
1217    DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
1218    {
1219        OperationRegion (OPR1, SystemMemory, 0x400, 32)
1220        Field (OPR1, AnyAcc, NoLock, Preserve)
1221        {
1222            FLD1, 1
1223        }
1224        If (FLD1)
1225        {
1226            Device (\DEV1)
1227            {
1228            }
1229        }
1230    }
1231    DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
1232    {
1233        External (\DEV1, DeviceObj)
1234        Scope (\DEV1)
1235        {
1236        }
1237    }
1238
1239Fixed an AML interpreter problem where control method invocations were
1240not handled correctly when the invocation was itself a SuperName argument
1241to another ASL operator. In these cases, the method was not invoked.
1242ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
1243argument:
1244    Store
1245    Acquire, Wait
1246    CondRefOf, RefOf
1247    Decrement, Increment
1248    Load, Unload
1249    Notify
1250    Signal, Release, Reset
1251    SizeOf
1252
1253Implemented automatic String-to-ObjectReference conversion support for
1254packages returned by predefined names (such as _DEP). A common BIOS error
1255is to add double quotes around an ObjectReference namepath, which turns
1256the reference into an unexpected string object. This support detects the
1257problem and corrects it before the package is returned to the caller that
1258invoked the method. Lv Zheng.
1259
1260Implemented extensions to the Concatenate operator. Concatenate now
1261accepts any type of object, it is not restricted to simply
1262Integer/String/Buffer. For objects other than these 3 basic data types,
1263the argument is treated as a string containing the name of the object
1264type. This expands the utility of Concatenate and the Printf/Fprintf
1265macros. ACPICA BZ 1222.
1266
1267Cleaned up the output of the ASL Debug object. The timer() value is now
1268optional and no longer emitted by default. Also, the basic data types of
1269Integer/String/Buffer are simply emitted as their values, without a data
1270type string -- since the data type is obvious from the output. ACPICA BZ
12711221.
1272
1273Example Code and Data Size: These are the sizes for the OS-independent
1274acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1275debug version of the code includes the debug output trace mechanism and
1276has a much larger code and data size.
1277
1278  Current Release:
1279    Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1280    Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1281  Previous Release:
1282    Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1283    Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1284
1285
12862) iASL Compiler/Disassembler and Tools:
1287
1288iASL: Fixed some issues with the ASL Include() operator. This operator
1289was incorrectly defined in the iASL parser rules, causing a new scope to
1290be opened for the code within the include file. This could lead to
1291several issues, including allowing ASL code that is technically illegal
1292and not supported by AML interpreters. Note, this does not affect the
1293related #include preprocessor operator. ACPICA BZ 1212.
1294
1295iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
1296operator is essentially an ASL macro since there is no AML opcode
1297associated with it. The code emitted by the iASL compiler for ElseIf is
1298an Else opcode followed immediately by an If opcode. The disassembler
1299will now emit an ElseIf if it finds an Else immediately followed by an
1300If. This simplifies the decoded ASL, especially for deeply nested
1301If..Else and large Switch constructs. Thus, the disassembled code more
1302closely follows the original source ASL. ACPICA BZ 1211. Example:
1303
1304    Old disassembly:
1305        Else
1306        {
1307            If (Arg0 == 0x02)
1308            {
1309                Local0 = 0x05
1310            }
1311        }
1312
1313    New disassembly:
1314        ElseIf (Arg0 == 0x02)
1315        {
1316            Local0 = 0x05
1317        }
1318
1319AcpiExec: Added support for the new module level code behavior and the
1320early region installation. This required a small change to the
1321initialization, since AcpiExec must install its own operation region
1322handlers.
1323
1324AcpiExec: Added support to make the debug object timer optional. Default
1325is timer disabled. This cleans up the debug object output -- the timer
1326data is rarely used.
1327
1328AcpiExec: Multiple ACPI tables are now loaded in the order that they
1329appear on the command line. This can be important when there are
1330interdependencies/references between the tables.
1331
1332iASL/Templates. Add support to generate template files with multiple
1333SSDTs within a single output file. Also added ommand line support to
1334specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
13351223, 1225.
1336
1337
1338----------------------------------------
133924 November 2015. Summary of changes for version 20151124:
1340
13411) ACPICA kernel-resident subsystem:
1342
1343Fixed a possible regression for a previous update to FADT handling. The
1344FADT no longer has a fixed table ID, causing some issues with code that
1345was hardwired to a specific ID. Lv Zheng.
1346
1347Fixed a problem where the method auto-serialization could interfere with
1348the current SyncLevel. This change makes the auto-serialization support
1349transparent to the SyncLevel support and management.
1350
1351Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
1352interface is intended for early access to the namespace during the
1353initial namespace device discovery walk. The _SUB method has been seen to
1354access operation regions in some cases, causing errors because the
1355operation regions are not fully initialized.
1356
1357AML Debugger: Fixed some issues with the terminate/quit/exit commands
1358that can cause faults. Lv Zheng.
1359
1360AML Debugger: Add thread ID support so that single-step mode only applies
1361to the AML Debugger thread. This prevents runtime errors within some
1362kernels. Lv Zheng.
1363
1364Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
1365methods that are invoked by this interface are optional, removed warnings
1366emitted for the case where one or more of these methods do not exist.
1367ACPICA BZ 1208, original change by Prarit Bhargava.
1368
1369Made a major pass through the entire ACPICA source code base to
1370standardize formatting that has diverged a bit over time. There are no
1371functional changes, but this will of course cause quite a few code
1372differences from the previous ACPICA release.
1373
1374Example Code and Data Size: These are the sizes for the OS-independent
1375acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1376debug version of the code includes the debug output trace mechanism and
1377has a much larger code and data size.
1378
1379  Current Release:
1380    Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1381    Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1382  Previous Release:
1383    Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1384    Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1385
1386
13872) iASL Compiler/Disassembler and Tools:
1388
1389iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
1390definition blocks within a single ASL file and the resulting AML file.
1391Support for this type of file was also added to the various tools that
1392use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
1393example code below shows two definition blocks within the same file:
1394
1395    DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
13960x12345678)
1397    {
1398    }
1399    DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
1400    {
1401    }
1402
1403iASL: Enhanced typechecking for the Name() operator. All expressions for
1404the value of the named object must be reduced/folded to a single constant
1405at compile time, as per the ACPI specification (the AML definition of
1406Name()).
1407
1408iASL: Fixed some code indentation issues for the -ic and -ia options (C
1409and assembly headers). Now all emitted code correctly begins in column 1.
1410
1411iASL: Added an error message for an attempt to open a Scope() on an
1412object defined in an SSDT. The DSDT is always loaded into the namespace
1413first, so any attempt to open a Scope on an SSDT object will fail at
1414runtime.
1415
1416
1417----------------------------------------
141830 September 2015. Summary of changes for version 20150930:
1419
14201) ACPICA kernel-resident subsystem:
1421
1422Debugger: Implemented several changes and bug fixes to assist support for
1423the in-kernel version of the AML debugger. Lv Zheng.
1424- Fix the "predefined" command for in-kernel debugger.
1425- Do not enter debug command loop for the help and version commands.
1426- Disallow "execute" command during execution/single-step of a method.
1427
1428Interpreter: Updated runtime typechecking for all operators that have
1429target operands. The operand is resolved and validated that it is legal.
1430For example, the target cannot be a non-data object such as a Device,
1431Mutex, ThermalZone, etc., as per the ACPI specification.
1432
1433Debugger: Fixed the double-mutex user I/O handshake to work when local
1434deadlock detection is enabled.
1435
1436Debugger: limited display of method locals and arguments (LocalX and
1437ArgX) to only those that have actually been initialized. This prevents
1438lines of extraneous output.
1439
1440Updated the definition of the NFIT table to correct the bit polarity of
1441one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
1442
1443Example Code and Data Size: These are the sizes for the OS-independent
1444acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1445debug version of the code includes the debug output trace mechanism and
1446has a much larger code and data size.
1447
1448  Current Release:
1449    Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1450    Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1451  Previous Release:
1452    Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1453    Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1454
1455
14562) iASL Compiler/Disassembler and Tools:
1457
1458iASL: Improved the compile-time typechecking for operands of many of the
1459ASL operators:
1460
1461-- Added an option to disable compiler operand/operator typechecking (-
1462ot).
1463
1464-- For the following operators, the TermArg operands are now validated
1465when possible to be Integer data objects: BankField, OperationRegion,
1466DataTableRegion, Buffer, and Package.
1467
1468-- Store (Source, Target): Both the source and target operands are
1469resolved and checked that the operands are both legal. For example,
1470neither operand can be a non-data object such as a Device, Mutex,
1471ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
1472operator can be used to store an object to any type of target object.
1473
1474-- Store (Source, Target): If the source is a Package object, the target
1475must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
1476is a Package, the source must also be a Package.
1477
1478-- Store (Source, Target): A warning is issued if the source and target
1479resolve to the identical named object.
1480
1481-- Store (Source, <method invocation>): An error is generated for the
1482target method invocation, as this construct is not supported by the AML
1483interpreter.
1484
1485-- For all ASL math and logic operators, the target operand must be a
1486data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
1487includes the function return value also.
1488
1489-- External declarations are also included in the typechecking where
1490possible. External objects defined using the UnknownObj keyword cannot be
1491typechecked, however.
1492
1493iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
1494operator:
1495- Legacy code: Index(PKG1, 3)
1496- New ASL+ code: PKG1[3]
1497This completes the ACPI 6.0 ASL+ support as it was the only operator not
1498supported.
1499
1500iASL: Fixed the file suffix for the preprocessor output file (.i). Two
1501spaces were inadvertently appended to the filename, causing file access
1502and deletion problems on some systems.
1503
1504ASL Test Suite (ASLTS): Updated the master makefile to generate all
1505possible compiler output files when building the test suite -- thus
1506exercising these features of the compiler. These files are automatically
1507deleted when the test suite exits.
1508
1509
1510----------------------------------------
151118 August 2015. Summary of changes for version 20150818:
1512
15131) ACPICA kernel-resident subsystem:
1514
1515Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
1516Zheng. ACPICA BZ 1186.
1517
1518Completed development to ensure that the ACPICA Disassembler and Debugger
1519are fully standalone components of ACPICA. Removed cross-component
1520dependences. Lv Zheng.
1521
1522The max-number-of-AML-loops is now runtime configurable (previously was
1523compile-time only). This is essentially a loop timeout to force-abort
1524infinite AML loops. ACPCIA BZ 1192.
1525
1526Debugger: Cleanup output to dump ACPI names and namepaths without any
1527trailing underscores. Lv Zheng. ACPICA BZ 1135.
1528
1529Removed unnecessary conditional compilations across the Debugger and
1530Disassembler components where entire modules could be left uncompiled.
1531
1532The aapits test is deprecated and has been removed from the ACPICA git
1533tree. The test has never been completed and has not been maintained, thus
1534becoming rather useless. ACPICA BZ 1015, 794.
1535
1536A batch of small changes to close bugzilla and other reports:
1537- Remove duplicate code for _PLD processing. ACPICA BZ 1176.
1538- Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
1539- iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
1540- ACPI table support: general cleanup and simplification. Lv Zheng, Bob
1541Moore.
1542- ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
1543ACPICA BZ 1184.
1544- Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
1545operators.
1546- Debugger: Split debugger initialization/termination interfaces. Lv
1547Zheng.
1548- AcpiExec: Emit OemTableId for SSDTs during the load phase for table
1549identification.
1550- AcpiExec: Add debug message during _REG method phase during table
1551load/init.
1552- AcpiNames: Fix a regression where some output was missing and no longer
1553emitted.
1554- Debugger: General cleanup and simplification. Lv Zheng.
1555- Disassembler: Cleanup use of several global option variables. Lv Zheng.
1556
1557Example Code and Data Size: These are the sizes for the OS-independent
1558acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1559debug version of the code includes the debug output trace mechanism and
1560has a much larger code and data size.
1561
1562  Current Release:
1563    Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1564    Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1565  Previous Release:
1566    Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1567    Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1568
1569
15702) iASL Compiler/Disassembler and Tools:
1571
1572AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
1573were not handled properly and caused load errors. Now, properly invoke
1574and use the ACPICA auto-reallocate mechanism for ACPI table data
1575structures. ACPICA BZ 1188
1576
1577AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
1578BZ 1190.
1579
1580AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
1581AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
1582executed during initialization. ACPICA BZ 1187, 1189.
1583
1584iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
1585that corresponds to each disassembled ASL statement, to simplify
1586debugging. ACPICA BZ 1191.
1587
1588Debugger: Add option to the "objects" command to display a summary of the
1589current namespace objects (Object type and count). This is displayed if
1590the command is entered with no arguments.
1591
1592AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
1593
1594
1595----------------------------------------
159617 July 2015. Summary of changes for version 20150717:
1597
15981) ACPICA kernel-resident subsystem:
1599
1600Improved the partitioning between the Debugger and Disassembler
1601components. This allows the Debugger to be used standalone within kernel
1602code without the Disassembler (which is used for single stepping also).
1603This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
1604
1605Debugger: Implemented a new command to trace the execution of control
1606methods (Trace). This is especially useful for the in-kernel version of
1607the debugger when file I/O may not be available for method trace output.
1608See the ACPICA reference for more information. Lv Zheng.
1609
1610Moved all C library prototypes (used for the local versions of these
1611functions when requested) to a new header, acclib.h
1612Cleaned up the use of non-ANSI C library functions. These functions are
1613implemented locally in ACPICA. Moved all such functions to a common
1614source file, utnonansi.c
1615
1616Debugger: Fixed a problem with the "!!" command (get last command
1617executed) where the debugger could enter an infinite loop and eventually
1618crash.
1619
1620Removed the use of local macros that were used for some of the standard C
1621library functions to automatically cast input parameters. This mostly
1622affected the is* functions where the input parameter is defined to be an
1623int. This required a few modifications to the main ACPICA source code to
1624provide casting for these functions and eliminate possible compiler
1625warnings for these parameters.
1626
1627Across the source code, added additional status/error checking to resolve
1628issues discovered by static source code analysis tools such as Coverity.
1629
1630Example Code and Data Size: These are the sizes for the OS-independent
1631acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1632debug version of the code includes the debug output trace mechanism and
1633has a much larger code and data size.
1634
1635  Current Release:
1636    Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1637    Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1638  Previous Release:
1639    Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1640    Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
1641
1642
16432) iASL Compiler/Disassembler and Tools:
1644
1645iASL: Fixed a regression where the device map file feature no longer
1646worked properly when used in conjunction with the disassembler. It only
1647worked properly with the compiler itself.
1648
1649iASL: Implemented a new warning for method LocalX variables that are set
1650but never used (similar to a C compiler such as gcc). This also applies
1651to ArgX variables that are not defined by the parent method, and are
1652instead (legally) used as local variables.
1653
1654iASL/Preprocessor: Finished the pass-through of line numbers from the
1655preprocessor to the compiler. This ensures that compiler errors/warnings
1656have the correct original line numbers and filenames, regardless of any
1657#include files.
1658
1659iASL/Preprocessor: Fixed a couple of issues with comment handling and the
1660pass-through of comments to the preprocessor output file (which becomes
1661the compiler input file). Also fixed a problem with // comments that
1662appear after a math expression.
1663
1664iASL: Added support for the TCPA server table to the table compiler and
1665template generator. (The client table was already previously supported)
1666
1667iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
1668identify the iASL compiler.
1669
1670Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
1671multiple times. The new names are ACPI_SIGN_NEGATIVE and
1672ACPI_SIGN_POSITIVE.
1673
1674AcpiHelp: Update to expand help messages for the iASL preprocessor
1675directives.
1676
1677
1678----------------------------------------
167919 June 2015. Summary of changes for version 20150619:
1680
1681Two regressions in version 20150616 have been addressed:
1682
1683Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
1684etc.) This update changes ACPICA to only use the standard headers for
1685functions, or the prototypes for the local versions of the C library
1686functions. Across the source code, this required some additional casts
1687for some Clib invocations for portability. Moved all local prototypes to
1688a new file, acclib.h
1689
1690Fixes several problems with recent changes to the handling of the FACS
1691table that could cause some systems not to boot.
1692
1693
1694----------------------------------------
169516 June 2015. Summary of changes for version 20150616:
1696
1697
16981) ACPICA kernel-resident subsystem:
1699
1700Across the entire ACPICA source code base, the various macros for the C
1701library functions (such as ACPI_STRLEN, etc.) have been removed and
1702replaced by the standard C library names (strlen, etc.) The original
1703purpose for these macros is no longer applicable. This simplification
1704reduces the number of macros used in the ACPICA source code
1705significantly, improving readability and maintainability.
1706
1707Implemented support for a new ACPI table, the OSDT. This table, the
1708"override" SDT, can be loaded directly by the host OS at boot time. It
1709enables the replacement of existing namespace objects that were installed
1710via the DSDT and/or SSDTs. The primary purpose for this is to replace
1711buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
1712for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
1713Moore.
1714
1715Added support for systems with (improperly) two FACS tables -- a "32-bit"
1716table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
1717X field). This change will support both automatically. There continues to
1718be systems found with this issue. This support requires a change to the
1719AcpiSetFirmwareWakingVector interface. Also, a public global variable has
1720been added to allow the host to select which FACS is desired
1721(AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
1722details Lv Zheng.
1723
1724Added a new feature to allow for systems that do not contain an FACS.
1725Although this is already supported on hardware-reduced platforms, the
1726feature has been extended for all platforms. The reasoning is that we do
1727not want to abort the entire ACPICA initialization just because the
1728system is seriously buggy and has no FACS.
1729
1730Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
1731not correctly transcribed from the ACPI specification in ACPICA version
173220150515.
1733
1734Implemented support for the _CLS object in the AcpiGetObjectInfo external
1735interface.
1736
1737Updated the definitions of the TCPA and TPM2 ACPI tables to the more
1738recent TCG ACPI Specification, December 14, 2014. Table disassembler and
1739compiler also updated. Note: The TCPA "server" table is not supported by
1740the disassembler/table-compiler at this time.
1741
1742ACPI 6.0: Added definitions for the new GIC version field in the MADT.
1743
1744Example Code and Data Size: These are the sizes for the OS-independent
1745acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1746debug version of the code includes the debug output trace mechanism and
1747has a much larger code and data size.
1748
1749  Current Release:
1750    Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1751    Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
1752  Previous Release:
1753    Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
1754    Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
1755
1756
17572) iASL Compiler/Disassembler and Tools:
1758
1759Disassembler: Fixed a problem with the new symbolic operator disassembler
1760where incorrect ASL code could be emitted in some cases for the "non-
1761commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
1762ShiftRight. The actual problem cases seem to be rather unusual in common
1763ASL code, however. David Box.
1764
1765Modified the linux version of acpidump to obtain ACPI tables from not
1766just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
1767Zheng.
1768
1769iASL: Fixed a problem where the user preprocessor output file (.i)
1770contained extra data that was not expected. The compiler was using this
1771file as a temporary file and passed through #line directives in order to
1772keep compiler error messages in sync with the input file and line number
1773across multiple include files. The (.i) is no longer a temporary file as
1774the compiler uses a new, different file for the original purpose.
1775
1776iASL: Fixed a problem where comments within the original ASL source code
1777file were not passed through to the preprocessor output file, nor any
1778listing files.
1779
1780iASL: Fixed some issues for the handling of the "#include" preprocessor
1781directive and the similar (but not the same) "Include" ASL operator.
1782
1783iASL: Add support for the new OSDT in both the disassembler and compiler.
1784
1785iASL: Fixed a problem with the constant folding support where a Buffer
1786object could be incorrectly generated (incorrectly formed) during a
1787conversion to a Store() operator.
1788
1789AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
1790description text for the _REV predefined name. _REV now permanently
1791returns 2, as per the ACPI 6.0 specification.
1792
1793Debugger: Enhanced the output of the Debug ASL object for references
1794produced by the Index operator. For Buffers and strings, only output the
1795actual byte pointed to by the index. For packages, only print the single
1796package element decoded by the index. Previously, the entire
1797buffer/string/package was emitted.
1798
1799iASL/Table-compiler: Fixed a regression where the "generic" data types
1800were no longer recognized, causing errors.
1801
1802
1803----------------------------------------
180415 May 2015. Summary of changes for version 20150515:
1805
1806This release implements most of ACPI 6.0 as described below.
1807
18081) ACPICA kernel-resident subsystem:
1809
1810Implemented runtime argument checking and return value checking for all
1811new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
1812_MTL, _PRR, _RDI, _RST, _TFP, _TSN.
1813
1814Example Code and Data Size: These are the sizes for the OS-independent
1815acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1816debug version of the code includes the debug output trace mechanism and
1817has a much larger code and data size.
1818
1819  Current Release:
1820    Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
1821    Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
1822  Previous Release:
1823    Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
1824    Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
1825
1826
18272) iASL Compiler/Disassembler and Tools:
1828
1829iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
1830names (argument count validation and return value typechecking.)
1831
1832iASL disassembler and table compiler: implemented support for all new
1833ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
1834
1835iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
1836tables: FADT, MADT.
1837
1838iASL preprocessor: Added a new directive to enable inclusion of binary
1839blobs into ASL code. The new directive is #includebuffer. It takes a
1840binary file as input and emits a named ascii buffer object into the ASL
1841code.
1842
1843AcpiHelp: Added support for all new ACPI 6.0 predefined names.
1844
1845AcpiHelp: Added a new option, -d, to display all iASL preprocessor
1846directives.
1847
1848AcpiHelp: Added a new option, -t, to display all known/supported ACPI
1849tables.
1850
1851
1852----------------------------------------
185310 April 2015. Summary of changes for version 20150410:
1854
1855Reverted a change introduced in version 20150408 that caused
1856a regression in the disassembler where incorrect operator
1857symbols could be emitted.
1858
1859
1860----------------------------------------
186108 April 2015. Summary of changes for version 20150408:
1862
1863
18641) ACPICA kernel-resident subsystem:
1865
1866Permanently set the return value for the _REV predefined name. It now
1867returns 2 (was 5). This matches other ACPI implementations. _REV will be
1868deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
1869for ACPI 2.0 and later. It should never be used to differentiate or
1870identify operating systems.
1871
1872Added the "Windows 2015" string to the _OSI support. ACPICA will now
1873return TRUE to a query with this string.
1874
1875Fixed several issues with the local version of the printf function.
1876
1877Added the C99 compiler option (-std=c99) to the Unix makefiles.
1878
1879  Current Release:
1880    Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
1881    Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
1882  Previous Release:
1883    Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
1884    Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
1885
1886
18872) iASL Compiler/Disassembler and Tools:
1888
1889iASL: Implemented an enhancement to the constant folding feature to
1890transform the parse tree to a simple Store operation whenever possible:
1891    Add (2, 3, X) ==> is converted to: Store (5, X)
1892    X = 2 + 3     ==> is converted to: Store (5, X)
1893
1894Updated support for the SLIC table (Software Licensing Description Table)
1895in both the Data Table compiler and the disassembler. The SLIC table
1896support now conforms to "Microsoft Software Licensing Tables (SLIC and
1897MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
1898following the ACPI header is now defined to be "Proprietary Data", and as
1899such, can only be entered or displayed as a hex data block.
1900
1901Implemented full support for the MSDM table as described in the document
1902above. Note: The format of MSDM is similar to SLIC. Any MSDM data
1903following the ACPI header is defined to be "Proprietary Data", and can
1904only be entered or displayed as a hex data block.
1905
1906Implemented the -Pn option for the iASL Table Compiler (was only
1907implemented for the ASL compiler). This option disables the iASL
1908preprocessor.
1909
1910Disassembler: For disassembly of Data Tables, added a comment field
1911around the Ascii equivalent data that is emitted as part of the "Raw
1912Table Data" block. This prevents the iASL Preprocessor from possible
1913confusion if/when the table is compiled.
1914
1915Disassembler: Added an option (-df) to force the disassembler to assume
1916that the table being disassembled contains valid AML. This feature is
1917useful for disassembling AML files that contain ACPI signatures other
1918than DSDT or SSDT (such as OEMx or other signatures).
1919
1920Changes for the EFI version of the tools:
19211) Fixed a build error/issue
19222) Fixed a cast warning
1923
1924iASL: Fixed a path issue with the __FILE__ operator by making the
1925directory prefix optional within the internal SplitInputFilename
1926function.
1927
1928Debugger: Removed some unused global variables.
1929
1930Tests: Updated the makefile for proper generation of the AAPITS suite.
1931
1932
1933----------------------------------------
193404 February 2015. Summary of changes for version 20150204:
1935
1936ACPICA kernel-resident subsystem:
1937
1938Updated all ACPICA copyrights and signons to 2014. Added the 2014
1939copyright to all module headers and signons, including the standard Linux
1940header. This affects virtually every file in the ACPICA core subsystem,
1941iASL compiler, all ACPICA utilities, and the test suites.
1942
1943Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
1944A raw gpe handling mechanism was created to allow better handling of GPE
1945storms that aren't easily managed by the normal handler. The raw handler
1946allows disabling/renabling of the the GPE so that interrupt storms can be
1947avoided in cases where events cannot be timely serviced. In this
1948scenario, handlers should use the AcpiSetGpe() API to disable/enable the
1949GPE. This API will leave the reference counts undisturbed, thereby
1950preventing unintentional clearing of the GPE when the intent in only to
1951temporarily disable it. Raw handlers allow enabling and disabling of a
1952GPE by removing GPE register locking. As such, raw handlers much provide
1953their own locks while using GPE API's to protect access to GPE data
1954structures.
1955Lv Zheng
1956
1957Events: Always modify GPE registers under the GPE lock.
1958Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
1959values. Reported as bug by joe.liu@apple.com.
1960
1961Unix makefiles: Separate option to disable optimizations and
1962_FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
1963NOOPT disable option and creates a separate flag (NOFORTIFY) for this
1964purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
1965errors when building ACPICA. This allows disabling the option without
1966also having to disable optimazations.
1967David Box
1968
1969  Current Release:
1970    Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1971    Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
1972
1973--
1974--------------------------------------
197507 November 2014. Summary of changes for version 20141107:
1976
1977This release is available at https://acpica.org/downloads
1978
1979This release introduces and implements language extensions to ASL that
1980provide support for symbolic ("C-style") operators and expressions. These
1981language extensions are known collectively as ASL+.
1982
1983
19841) iASL Compiler/Disassembler and Tools:
1985
1986Disassembler: Fixed a problem with disassembly of the UartSerialBus
1987macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
1988Box.
1989
1990Disassembler: Fixed the Unicode macro support to add escape sequences.
1991All non-printable ASCII values are emitted as escape sequences, as well
1992as the standard escapes for quote and backslash. Ensures that the
1993disassembled macro can be correctly recompiled.
1994
1995iASL: Added Printf/Fprintf macros for formatted output. These macros are
1996translated to existing AML Concatenate and Store operations. Printf
1997writes to the ASL Debug object. Fprintf allows the specification of an
1998ASL name as the target. Only a single format specifier is required, %o,
1999since the AML interpreter dynamically converts objects to the required
2000type. David E. Box.
2001
2002    (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2003                 (Concatenate (Concatenate (Concatenate ("", Arg0),
2004                 ": Unexpected value for "), Arg1), ", "), Arg2),
2005                 " at line "), Arg3), Debug)
2006
2007    (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
2008                 Arg0, Arg1, Arg2, Arg3)
2009
2010    (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2011                 ("", Arg1), ": "), Arg0), " Successful"), STR1)
2012
2013    (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
2014
2015iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
2016ASL parse tree before the AML code is generated. This allows blocks of
2017ASL code to be removed in order to help locate and identify problem
2018devices and/or code. David E. Box.
2019
2020AcpiExec: Added support (-fi) for an optional namespace object
2021initialization file. This file specifies initial values for namespace
2022objects as necessary for debugging and testing different ASL code paths
2023that may be taken as a result of BIOS options.
2024
2025
20262) Overview of symbolic operator support for ASL (ASL+)
2027-------------------------------------------------------
2028
2029As an extension to the ASL language, iASL implements support for symbolic
2030(C-style) operators for math and logical expressions. This can greatly
2031simplify ASL code as well as improve both readability and
2032maintainability. These language extensions can exist concurrently with
2033all legacy ASL code and expressions.
2034
2035The symbolic extensions are 100% compatible with existing AML
2036interpreters, since no new AML opcodes are created. To implement the
2037extensions, the iASL compiler transforms the symbolic expressions into
2038the legacy ASL/AML equivalents at compile time.
2039
2040Full symbolic expressions are supported, along with the standard C
2041precedence and associativity rules.
2042
2043Full disassembler support for the symbolic expressions is provided, and
2044creates an automatic migration path for existing ASL code to ASL+ code
2045via the disassembly process. By default, the disassembler now emits ASL+
2046code with symbolic expressions. An option (-dl) is provided to force the
2047disassembler to emit legacy ASL code if desired.
2048
2049Below is the complete list of the currently supported symbolic operators
2050with examples. See the iASL User Guide for additional information.
2051
2052
2053ASL+ Syntax      Legacy ASL Equivalent
2054-----------      ---------------------
2055
2056    // Math operators
2057
2058Z = X + Y        Add (X, Y, Z)
2059Z = X - Y        Subtract (X, Y, Z)
2060Z = X * Y        Multiply (X, Y, Z)
2061Z = X / Y        Divide (X, Y, , Z)
2062Z = X % Y        Mod (X, Y, Z)
2063Z = X << Y       ShiftLeft (X, Y, Z)
2064Z = X >> Y       ShiftRight (X, Y, Z)
2065Z = X & Y        And (X, Y, Z)
2066Z = X | Y        Or (X, Y, Z)
2067Z = X ^ Y        Xor (X, Y, Z)
2068Z = ~X           Not (X, Z)
2069X++              Increment (X)
2070X--              Decrement (X)
2071
2072    // Logical operators
2073
2074(X == Y)         LEqual (X, Y)
2075(X != Y)         LNotEqual (X, Y)
2076(X < Y)          LLess (X, Y)
2077(X > Y)          LGreater (X, Y)
2078(X <= Y)         LLessEqual (X, Y)
2079(X >= Y)         LGreaterEqual (X, Y)
2080(X && Y)         LAnd (X, Y)
2081(X || Y)         LOr (X, Y)
2082(!X)             LNot (X)
2083
2084    // Assignment and compound assignment operations
2085
2086X = Y           Store (Y, X)
2087X += Y          Add (X, Y, X)
2088X -= Y          Subtract (X, Y, X)
2089X *= Y          Multiply (X, Y, X)
2090X /= Y          Divide (X, Y, , X)
2091X %= Y          Mod (X, Y, X)
2092X <<= Y         ShiftLeft (X, Y, X)
2093X >>= Y         ShiftRight (X, Y, X)
2094X &= Y          And (X, Y, X)
2095X |= Y          Or (X, Y, X)
2096X ^= Y          Xor (X, Y, X)
2097
2098
20993) ASL+ Examples:
2100-----------------
2101
2102Legacy ASL:
2103        If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
2104            And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
21050x03FB),
2106            0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
2107        {
2108            And (MEMB, 0xFFFFFFF0, SRMB)
2109            Store (MEMB, Local2)
2110            Store (PDBM, Local1)
2111            And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
2112            Store (SRMB, MEMB)
2113            Or (PDBM, 0x02, PDBM)
2114        }
2115
2116ASL+ version:
2117        If (((R510 & 0x03FB) == 0x02E0) ||
2118            ((R520 & 0x03FB) == 0x02E0) ||
2119            ((R530 & 0x03FB) == 0x02E0) ||
2120            ((R540 & 0x03FB) == 0x02E0))
2121        {
2122            SRMB = (MEMB & 0xFFFFFFF0)
2123            Local2 = MEMB
2124            Local1 = PDBM
2125            PDBM &= 0xFFFFFFFFFFFFFFF9
2126            MEMB = SRMB
2127            PDBM |= 0x02
2128        }
2129
2130Legacy ASL:
2131        Store (0x1234, Local1)
2132        Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2133        Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2134        Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2135        Store (Index (PKG1, 0x03), Local6)
2136        Store (Add (Local3, Local2), Debug)
2137        Add (Local1, 0x0F, Local2)
2138        Add (Local1, Multiply (Local2, Local3), Local2)
2139        Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2140
2141ASL+ version:
2142        Local1 = 0x1234
2143        Local3 = (((Local1 + TEST) + 0x20) * Local2)
2144        Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2145        Local3 = (Local1 + (TEST + (0x20 * Local2)))
2146        Local6 = Index (PKG1, 0x03)
2147        Debug = (Local3 + Local2)
2148        Local2 = (Local1 + 0x0F)
2149        Local2 = (Local1 + (Local2 * Local3))
2150        Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2151
2152
2153----------------------------------------
215426 September 2014. Summary of changes for version 20140926:
2155
21561) ACPICA kernel-resident subsystem:
2157
2158Updated the GPIO operation region handler interface (GeneralPurposeIo).
2159In order to support GPIO Connection objects with multiple pins, along
2160with the related Field objects, the following changes to the interface
2161have been made: The Address is now defined to be the offset in bits of
2162the field unit from the previous invocation of a Connection. It can be
2163viewed as a "Pin Number Index" into the connection resource descriptor.
2164The BitWidth is the exact bit width of the field. It is usually one bit,
2165but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
2166additional information and examples.
2167
2168GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
2169corresponding _Lxx/_Exx methods are disabled (they may have been enabled
2170by the firmware), so that they cannot fire until they are enabled via
2171AcpiUpdateAllGpes. Rafael J. Wysocki.
2172
2173Added a new return flag for the Event/GPE status interfaces --
2174AcpiGetEventStatus and AcpiGetGpeStatus. The new
2175ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
2176GPE currently has a handler associated with it, and can thus actually
2177affect the system. Lv Zheng.
2178
2179Example Code and Data Size: These are the sizes for the OS-independent
2180acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2181debug version of the code includes the debug output trace mechanism and
2182has a much larger code and data size.
2183
2184  Current Release:
2185    Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2186    Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2187  Previous Release:
2188    Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2189    Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2190
21912) iASL Compiler/Disassembler and Tools:
2192
2193iASL: Fixed a memory allocation/free regression introduced in 20140828
2194that could cause the compiler to crash. This was introduced inadvertently
2195during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
21961113.
2197
2198iASL: Removed two error messages that have been found to create false
2199positives, until they can be fixed and fully validated (ACPICA BZ 1112):
22001) Illegal forward reference within a method
22012) Illegal reference across two methods
2202
2203iASL: Implemented a new option (-lm) to create a hardware mapping file
2204that summarizes all GPIO, I2C, SPI, and UART connections. This option
2205works for both the compiler and disassembler. See the iASL compiler user
2206guide for additional information and examples (section 6.4.6).
2207
2208AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
2209version 2. This corrects the AE_BAD_HEADER exception seen on systems with
2210a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
2211
2212AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
2213unless STDIN is actually a terminal. Assists with batch-mode processing.
2214ACPICA BZ 1114.
2215
2216Disassembler/AcpiHelp: Added another large group of recognized _HID
2217values.
2218
2219
2220----------------------------------------
222128 August 2014. Summary of changes for version 20140828:
2222
22231) ACPICA kernel-resident subsystem:
2224
2225Fixed a problem related to the internal use of the Timer() operator where
2226a 64-bit divide could cause an attempted link to a double-precision math
2227library. This divide is not actually necessary, so the code was
2228restructured to eliminate it. Lv Zheng.
2229
2230ACPI 5.1: Added support for the runtime validation of the _DSD package
2231(similar to the iASL support).
2232
2233ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
2234SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
2235
2236Example Code and Data Size: These are the sizes for the OS-independent
2237acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2238debug version of the code includes the debug output trace mechanism and
2239has a much larger code and data size.
2240
2241  Current Release:
2242    Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2243    Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2244  Previous Release:
2245    Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
2246    Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2247
22482) iASL Compiler/Disassembler and Tools:
2249
2250AcpiExec: Fixed a problem on unix systems where the original terminal
2251state was not always properly restored upon exit. Seen when using the -v
2252option. ACPICA BZ 1104.
2253
2254iASL: Fixed a problem with the validation of the ranges/length within the
2255Memory24 resource descriptor. There was a boundary condition when the
2256range was equal to the (length -1) caused by the fact that these values
2257are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
2258
2259Disassembler: Fixed a problem with the GpioInt descriptor interrupt
2260polarity
2261flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
2262is
2263now supported properly.
2264
2265ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
2266in the disassembler, data table compiler, and table template generator.
2267
2268iASL: Added a requirement for Device() objects that one of either a _HID
2269or _ADR must exist within the scope of a Device, as per the ACPI
2270specification. Remove a similar requirement that was incorrectly in place
2271for the _DSD object.
2272
2273iASL: Added error detection for illegal named references within control
2274methods that would cause runtime failures. Now trapped as errors are: 1)
2275References to objects within a non-parent control method. 2) Forward
2276references (within a method) -- for control methods, AML interpreters use
2277a one-pass parse of control methods. ACPICA BZ 1008.
2278
2279iASL: Added error checking for dependencies related to the _PSx power
2280methods. ACPICA BZ 1029.
22811) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
2282_PS3.
22832) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
2284scope.
2285
2286iASL and table compiler: Cleanup miscellaneous memory leaks by fully
2287deploying the existing object and string caches and adding new caches for
2288the table compiler.
2289
2290iASL: Split the huge parser source file into multiple subfiles to improve
2291manageability. Generation now requires the M4 macro preprocessor, which
2292is part of the Bison distribution on both unix and windows platforms.
2293
2294AcpiSrc: Fixed and removed all extraneous warnings generated during
2295entire ACPICA source code scan and/or conversion.
2296
2297
2298----------------------------------------
2299
230024 July 2014. Summary of changes for version 20140724:
2301
2302The ACPI 5.1 specification has been released and is available at:
2303http://uefi.org/specs/access
2304
2305
23060) ACPI 5.1 support in ACPICA:
2307
2308ACPI 5.1 is fully supported in ACPICA as of this release.
2309
2310New predefined names. Support includes iASL and runtime ACPICA
2311validation.
2312    _CCA (Cache Coherency Attribute).
2313    _DSD (Device-Specific Data). David Box.
2314
2315Modifications to existing ACPI tables. Support includes headers, iASL
2316Data Table compiler, disassembler, and the template generator.
2317    FADT - New fields and flags. Graeme Gregory.
2318    GTDT - One new subtable and new fields. Tomasz Nowicki.
2319    MADT - Two new subtables. Tomasz Nowicki.
2320    PCCT - One new subtable.
2321
2322Miscellaneous.
2323    New notification type for System Resource Affinity change events.
2324
2325
23261) ACPICA kernel-resident subsystem:
2327
2328Fixed a regression introduced in 20140627 where a fault can happen during
2329the deletion of Alias AML namespace objects. The problem affected both
2330the core ACPICA and the ACPICA tools including iASL and AcpiExec.
2331
2332Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
2333simple mechanism to enable wake GPEs that have no associated handler or
2334control method. Rafael Wysocki.
2335
2336Updated the AcpiEnableGpe interface to disallow the enable if there is no
2337handler or control method associated with the particular GPE. This will
2338help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
2339
2340Updated GPE handling and dispatch by disabling the GPE before clearing
2341the status bit for edge-triggered GPEs. Lv Zheng.
2342
2343Added Timer() support to the AML Debug object. The current timer value is
2344now displayed with each invocation of (Store to) the debug object to
2345enable simple generation of execution times for AML code (method
2346execution for example.) ACPICA BZ 1093.
2347
2348Example Code and Data Size: These are the sizes for the OS-independent
2349acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2350debug version of the code includes the debug output trace mechanism and
2351has a much larger code and data size.
2352
2353  Current Release:
2354    Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
2355    Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2356  Previous Release:
2357    Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2358    Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2359
2360
23612) iASL Compiler/Disassembler and Tools:
2362
2363Fixed an issue with the recently added local printf implementation,
2364concerning width/precision specifiers that could cause incorrect output.
2365Lv Zheng. ACPICA BZ 1094.
2366
2367Disassembler: Added support to detect buffers that contain UUIDs and
2368disassemble them to an invocation of the ToUUID operator. Also emit
2369commented descriptions of known ACPI-related UUIDs.
2370
2371AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
2372-u. Adds three new files.
2373
2374iASL: Update table compiler and disassembler for DMAR table changes that
2375were introduced in September 2013. With assistance by David Woodhouse.
2376
2377----------------------------------------
237827 June 2014. Summary of changes for version 20140627:
2379
23801) ACPICA kernel-resident subsystem:
2381
2382Formatted Output: Implemented local versions of standard formatted output
2383utilities such as printf, etc. Over time, it has been discovered that
2384there are in fact many portability issues with printf, and the addition
2385of this feature will fix/prevent these issues once and for all. Some
2386known issues are summarized below:
2387
23881) Output of 64-bit values is not portable. For example, UINT64 is %ull
2389for the Linux kernel and is %uI64 for some MSVC versions.
23902) Invoking printf consistently in a manner that is portable across both
239132-bit and 64-bit platforms is difficult at best in many situations.
23923) The output format for pointers varies from system to system (leading
2393zeros especially), and leads to inconsistent output from ACPICA across
2394platforms.
23954) Certain platform-specific printf formats may conflict with ACPICA use.
23965) If there is no local C library available, ACPICA now has local support
2397for printf.
2398
2399-- To address these printf issues in a complete manner, ACPICA now
2400directly implements a small subset of printf format specifiers, only
2401those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
2402
2403Implemented support for ACPICA generation within the EFI environment.
2404Initially, the AcpiDump utility is supported in the UEFI shell
2405environment. Lv Zheng.
2406
2407Added a new external interface, AcpiLogError, to improve ACPICA
2408portability. This allows the host to redirect error messages from the
2409ACPICA utilities. Lv Zheng.
2410
2411Added and deployed new OSL file I/O interfaces to improve ACPICA
2412portability:
2413  AcpiOsOpenFile
2414  AcpiOsCloseFile
2415  AcpiOsReadFile
2416  AcpiOsWriteFile
2417  AcpiOsGetFileOffset
2418  AcpiOsSetFileOffset
2419There are C library implementations of these functions in the new file
2420service_layers/oslibcfs.c -- however, the functions can be implemented by
2421the local host in any way necessary. Lv Zheng.
2422
2423Implemented a mechanism to disable/enable ACPI table checksum validation
2424at runtime. This can be useful when loading tables very early during OS
2425initialization when it may not be possible to map the entire table in
2426order to compute the checksum. Lv Zheng.
2427
2428Fixed a buffer allocation issue for the Generic Serial Bus support.
2429Originally, a fixed buffer length was used. This change allows for
2430variable-length buffers based upon the protocol indicated by the field
2431access attributes. Reported by Lan Tianyu. Lv Zheng.
2432
2433Fixed a problem where an object detached from a namespace node was not
2434properly terminated/cleared and could cause a circular list problem if
2435reattached. ACPICA BZ 1063. David Box.
2436
2437Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
2438
2439Fixed a possible memory leak in an error return path within the function
2440AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
2441
2442Example Code and Data Size: These are the sizes for the OS-independent
2443acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2444debug version of the code includes the debug output trace mechanism and
2445has a much larger code and data size.
2446
2447  Current Release:
2448    Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2449    Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2450  Previous Release:
2451    Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2452    Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2453
2454
24552) iASL Compiler/Disassembler and Tools:
2456
2457Disassembler: Add dump of ASCII equivalent text within a comment at the
2458end of each line of the output for the Buffer() ASL operator.
2459
2460AcpiDump: Miscellaneous changes:
2461  Fixed repetitive table dump in -n mode.
2462  For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
2463the ACPI 2.0 GUID fails.
2464
2465iASL: Fixed a problem where the compiler could fault if incorrectly given
2466an acpidump output file as input. ACPICA BZ 1088. David Box.
2467
2468AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
2469they are invoked without any arguments.
2470
2471Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
24721086. Colin Ian King.
2473
2474Disassembler: Cleaned up a block of code that extracts a parent Op
2475object. Added a comment that explains that the parent is guaranteed to be
2476valid in this case. ACPICA BZ 1069.
2477
2478
2479----------------------------------------
248024 April 2014. Summary of changes for version 20140424:
2481
24821) ACPICA kernel-resident subsystem:
2483
2484Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
2485Some of these tables are known to contain a trailing NULL entry. Lv
2486Zheng.
2487
2488Removed an extraneous error message for the case where there are a large
2489number of system GPEs (> 124). This was the "32-bit FADT register is too
2490long to convert to GAS struct" message, which is irrelevant for GPEs
2491since the GPEx_BLK_LEN fields of the FADT are always used instead of the
2492(limited capacity) GAS bit length. Also, several changes to ensure proper
2493support for GPE numbers > 255, where some "GPE number" fields were 8-bits
2494internally.
2495
2496Implemented and deployed additional configuration support for the public
2497ACPICA external interfaces. Entire classes of interfaces can now be
2498easily modified or configured out, replaced by stubbed inline functions
2499by default. Lv Zheng.
2500
2501Moved all public ACPICA runtime configuration globals to the public
2502ACPICA external interface file for convenience. Also, removed some
2503obsolete/unused globals. See the file acpixf.h. Lv Zheng.
2504
2505Documentation: Added a new section to the ACPICA reference describing the
2506maximum number of GPEs that can be supported by the FADT-defined GPEs in
2507block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
2508reference.
2509
2510Example Code and Data Size: These are the sizes for the OS-independent
2511acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2512debug version of the code includes the debug output trace mechanism and
2513has a much larger code and data size.
2514
2515  Current Release:
2516    Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2517    Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2518  Previous Release:
2519    Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2520    Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2521
2522
25232) iASL Compiler/Disassembler and Tools:
2524
2525iASL and disassembler: Add full support for the LPIT table (Low Power
2526Idle Table). Includes support in the disassembler, data table compiler,
2527and template generator.
2528
2529AcpiDump utility:
25301) Add option to force the use of the RSDT (over the XSDT).
25312) Improve validation of the RSDP signature (use 8 chars instead of 4).
2532
2533iASL: Add check for predefined packages that are too large.  For
2534predefined names that contain subpackages, check if each subpackage is
2535too large. (Check for too small already exists.)
2536
2537Debugger: Updated the GPE command (which simulates a GPE by executing the
2538GPE code paths in ACPICA). The GPE device is now optional, and defaults
2539to the GPE 0/1 FADT-defined blocks.
2540
2541Unix application OSL: Update line-editing support. Add additional error
2542checking and take care not to reset terminal attributes on exit if they
2543were never set. This should help guarantee that the terminal is always
2544left in the previous state on program exit.
2545
2546
2547----------------------------------------
254825 March 2014. Summary of changes for version 20140325:
2549
25501) ACPICA kernel-resident subsystem:
2551
2552Updated the auto-serialize feature for control methods. This feature
2553automatically serializes all methods that create named objects in order
2554to prevent runtime errors. The update adds support to ignore the
2555currently executing AML SyncLevel when invoking such a method, in order
2556to prevent disruption of any existing SyncLevel priorities that may exist
2557in the AML code. Although the use of SyncLevels is relatively rare, this
2558change fixes a regression where an AE_AML_MUTEX_ORDER exception can
2559appear on some machines starting with the 20140214 release.
2560
2561Added a new external interface to allow the host to install ACPI tables
2562very early, before the namespace is even created. AcpiInstallTable gives
2563the host additional flexibility for ACPI table management. Tables can be
2564installed directly by the host as if they had originally appeared in the
2565XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
2566(anything except the DSDT and FACS). Adds a new file, tbdata.c, along
2567with additional internal restructuring and cleanup. See the ACPICA
2568Reference for interface details. Lv Zheng.
2569
2570Added validation of the checksum for all incoming dynamically loaded
2571tables (via external interfaces or via AML Load/LoadTable operators). Lv
2572Zheng.
2573
2574Updated the use of the AcpiOsWaitEventsComplete interface during Notify
2575and GPE handler removal. Restructured calls to eliminate possible race
2576conditions. Lv Zheng.
2577
2578Added a warning for the use/execution of the ASL/AML Unload (table)
2579operator. This will help detect and identify machines that use this
2580operator if and when it is ever used. This operator has never been seen
2581in the field and the usage model and possible side-effects of the drastic
2582runtime action of a full table removal are unknown.
2583
2584Reverted the use of #pragma push/pop which was introduced in the 20140214
2585release. It appears that push and pop are not implemented by enough
2586compilers to make the use of this feature feasible for ACPICA at this
2587time. However, these operators may be deployed in a future ACPICA
2588release.
2589
2590Added the missing EXPORT_SYMBOL macros for the install and remove SCI
2591handler interfaces.
2592
2593Source code generation:
25941) Disabled the use of the "strchr" macro for the gcc-specific
2595generation. For some versions of gcc, this macro can periodically expose
2596a compiler bug which in turn causes compile-time error(s).
25972) Added support for PPC64 compilation. Colin Ian King.
2598
2599Example Code and Data Size: These are the sizes for the OS-independent
2600acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2601debug version of the code includes the debug output trace mechanism and
2602has a much larger code and data size.
2603
2604  Current Release:
2605    Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2606    Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2607  Previous Release:
2608    Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
2609    Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
2610
2611
26122) iASL Compiler/Disassembler and Tools:
2613
2614Disassembler: Added several new features to improve the readability of
2615the resulting ASL code. Extra information is emitted within comment
2616fields in the ASL code:
26171) Known _HID/_CID values are decoded to descriptive text.
26182) Standard values for the Notify() operator are decoded to descriptive
2619text.
26203) Target operands are expanded to full pathnames (in a comment) when
2621possible.
2622
2623Disassembler: Miscellaneous updates for extern() handling:
26241) Abort compiler if file specified by -fe option does not exist.
26252) Silence unnecessary warnings about argument count mismatches.
26263) Update warning messages concerning unresolved method externals.
26274) Emit "UnknownObj" keyword for externals whose type cannot be
2628determined.
2629
2630AcpiHelp utility:
26311) Added the -a option to display both the ASL syntax and the AML
2632encoding for an input ASL operator. This effectively displays all known
2633information about an ASL operator with one AcpiHelp invocation.
26342) Added substring match support (similar to a wildcard) for the -i
2635(_HID/PNP IDs) option.
2636
2637iASL/Disassembler: Since this tool does not yet support execution on big-
2638endian machines, added detection of endianness and an error message if
2639execution is attempted on big-endian. Support for big-endian within iASL
2640is a feature that is on the ACPICA to-be-done list.
2641
2642AcpiBin utility:
26431) Remove option to extract binary files from an acpidump; this function
2644is made obsolete by the AcpiXtract utility.
26452) General cleanup of open files and allocated buffers.
2646
2647
2648----------------------------------------
264914 February 2014. Summary of changes for version 20140214:
2650
26511) ACPICA kernel-resident subsystem:
2652
2653Implemented a new mechanism to proactively prevent problems with ill-
2654behaved reentrant control methods that create named ACPI objects. This
2655behavior is illegal as per the ACPI specification, but is nonetheless
2656frequently seen in the field. Previously, this could lead to an
2657AE_ALREADY_EXISTS exception if the method was actually entered by more
2658than one thread. This new mechanism detects such methods at table load
2659time and marks them "serialized" to prevent reentrancy. A new global
2660option, AcpiGbl_AutoSerializeMethods, has been added to disable this
2661feature if desired. This mechanism and global option obsoletes and
2662supersedes the previous AcpiGbl_SerializeAllMethods option.
2663
2664Added the "Windows 2013" string to the _OSI support. ACPICA will now
2665respond TRUE to _OSI queries with this string. It is the stated policy of
2666ACPICA to add new strings to the _OSI support as soon as possible after
2667they are defined. See the full ACPICA _OSI policy which has been added to
2668the utilities/utosi.c file.
2669
2670Hardened/updated the _PRT return value auto-repair code:
26711) Do not abort the repair on a single subpackage failure, continue to
2672check all subpackages.
26732) Add check for the minimum subpackage length (4).
26743) Properly handle extraneous NULL package elements.
2675
2676Added support to avoid the possibility of infinite loops when traversing
2677object linked lists. Never allow an infinite loop, even in the face of
2678corrupted object lists.
2679
2680ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
2681pack(pop) directives to ensure that the ACPICA headers are independent of
2682compiler settings or other host headers.
2683
2684Example Code and Data Size: These are the sizes for the OS-independent
2685acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2686debug version of the code includes the debug output trace mechanism and
2687has a much larger code and data size.
2688
2689  Current Release:
2690    Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
2691    Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
2692  Previous Release:
2693    Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
2694    Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
2695
2696
26972) iASL Compiler/Disassembler and Tools:
2698
2699iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
2700first reserved field was incorrectly forced to have a value of zero. This
2701change correctly forces the field to have a value of one. ACPICA BZ 1081.
2702
2703Debugger: Added missing support for the "Extra" and "Data" subobjects
2704when displaying object data.
2705
2706Debugger: Added support to display entire object linked lists when
2707displaying object data.
2708
2709iASL: Removed the obsolete -g option to obtain ACPI tables from the
2710Windows registry. This feature has been superseded by the acpidump
2711utility.
2712
2713
2714----------------------------------------
271514 January 2014. Summary of changes for version 20140114:
2716
27171) ACPICA kernel-resident subsystem:
2718
2719Updated all ACPICA copyrights and signons to 2014. Added the 2014
2720copyright to all module headers and signons, including the standard Linux
2721header. This affects virtually every file in the ACPICA core subsystem,
2722iASL compiler, all ACPICA utilities, and the test suites.
2723
2724Improved parameter validation for AcpiInstallGpeBlock. Added the
2725following checks:
27261) The incoming device handle refers to type ACPI_TYPE_DEVICE.
27272) There is not already a GPE block attached to the device.
2728Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
2729device.
2730
2731Correctly support "references" in the ACPI_OBJECT. This change fixes the
2732support to allow references (namespace nodes) to be passed as arguments
2733to control methods via the evaluate object interface. This is probably
2734most useful for testing purposes, however.
2735
2736Improved support for 32/64 bit physical addresses in printf()-like
2737output. This change improves the support for physical addresses in printf
2738debug statements and other output on both 32-bit and 64-bit hosts. It
2739consistently outputs the appropriate number of bytes for each host. The
2740%p specifier is unsatisfactory since it does not emit uniform output on
2741all hosts/clib implementations (on some, leading zeros are not supported,
2742leading to difficult-to-read output).
2743
2744Example Code and Data Size: These are the sizes for the OS-independent
2745acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2746debug version of the code includes the debug output trace mechanism and
2747has a much larger code and data size.
2748
2749  Current Release:
2750    Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
2751    Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
2752  Previous Release:
2753    Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
2754    Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
2755
2756
27572) iASL Compiler/Disassembler and Tools:
2758
2759iASL: Fix a possible fault when using the Connection() operator. Fixes a
2760problem if the parent Field definition for the Connection operator refers
2761to an operation region that does not exist. ACPICA BZ 1064.
2762
2763AcpiExec: Load of local test tables is now optional. The utility has the
2764capability to load some various tables to test features of ACPICA.
2765However, there are enough of them that the output of the utility became
2766confusing. With this change, only the required local tables are displayed
2767(RSDP, XSDT, etc.) along with the actual tables loaded via the command
2768line specification. This makes the default output simler and easier to
2769understand. The -el command line option restores the original behavior
2770for testing purposes.
2771
2772AcpiExec: Added support for overlapping operation regions. This change
2773expands the simulation of operation regions by supporting regions that
2774overlap within the given address space. Supports SystemMemory and
2775SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
2776
2777AcpiExec: Added region handler support for PCI_Config and EC spaces. This
2778allows AcpiExec to simulate these address spaces, similar to the current
2779support for SystemMemory and SystemIO.
2780
2781Debugger: Added new command to read/write/compare all namespace objects.
2782The command "test objects" will exercise the entire namespace by writing
2783new values to each data object, and ensuring that the write was
2784successful. The original value is then restored and verified.
2785
2786Debugger: Added the "test predefined" command. This change makes this
2787test public and puts it under the new "test" command. The test executes
2788each and every predefined name within the current namespace.
2789
2790
2791----------------------------------------
279218 December 2013. Summary of changes for version 20131218:
2793
2794Global note: The ACPI 5.0A specification was released this month. There
2795are no changes needed for ACPICA since this release of ACPI is an
2796errata/clarification release. The specification is available at
2797acpi.info.
2798
2799
28001) ACPICA kernel-resident subsystem:
2801
2802Added validation of the XSDT root table if it is present. Some older
2803platforms contain an XSDT that is ill-formed or otherwise invalid (such
2804as containing some or all entries that are NULL pointers). This change
2805adds a new function to validate the XSDT before actually using it. If the
2806XSDT is found to be invalid, ACPICA will now automatically fall back to
2807using the RSDT instead. Original implementation by Zhao Yakui. Ported to
2808ACPICA and enhanced by Lv Zheng and Bob Moore.
2809
2810Added a runtime option to ignore the XSDT and force the use of the RSDT.
2811This change adds a runtime option that will force ACPICA to use the RSDT
2812instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
2813requires that an XSDT be used instead of the RSDT, the XSDT has been
2814found to be corrupt or ill-formed on some machines. Lv Zheng.
2815
2816Added a runtime option to favor 32-bit FADT register addresses over the
281764-bit addresses. This change adds an option to favor 32-bit FADT
2818addresses when there is a conflict between the 32-bit and 64-bit versions
2819of the same register. The default behavior is to use the 64-bit version
2820in accordance with the ACPI specification. This can now be overridden via
2821the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
2822
2823During the change above, the internal "Convert FADT" and "Verify FADT"
2824functions have been merged to simplify the code, making it easier to
2825understand and maintain. ACPICA BZ 933.
2826
2827Improve exception reporting and handling for GPE block installation.
2828Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
2829status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
2830
2831Added helper macros to extract bus/segment numbers from the HEST table.
2832This change adds two macros to extract the encoded bus and segment
2833numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
2834Betty Dall <betty.dall@hp.com>
2835
2836Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
2837by ACPICA. It is not a public macro, so it should have no effect on
2838existing OSV code. Lv Zheng.
2839
2840Example Code and Data Size: These are the sizes for the OS-independent
2841acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2842debug version of the code includes the debug output trace mechanism and
2843has a much larger code and data size.
2844
2845  Current Release:
2846    Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
2847    Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
2848  Previous Release:
2849    Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
2850    Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
2851
2852
28532) iASL Compiler/Disassembler and Tools:
2854
2855Disassembler: Improved pathname support for emitted External()
2856statements. This change adds full pathname support for external names
2857that have been resolved internally by the inclusion of additional ACPI
2858tables (via the iASL -e option). Without this change, the disassembler
2859can emit multiple externals for the same object, or it become confused
2860when the Scope() operator is used on an external object. Overall, greatly
2861improves the ability to actually recompile the emitted ASL code when
2862objects a referenced across multiple ACPI tables. Reported by Michael
2863Tsirkin (mst@redhat.com).
2864
2865Tests/ASLTS: Updated functional control suite to execute with no errors.
2866David Box. Fixed several errors related to the testing of the interpreter
2867slack mode. Lv Zheng.
2868
2869iASL: Added support to detect names that are declared within a control
2870method, but are unused (these are temporary names that are only valid
2871during the time the method is executing). A remark is issued for these
2872cases. ACPICA BZ 1022.
2873
2874iASL: Added full support for the DBG2 table. Adds full disassembler,
2875table compiler, and template generator support for the DBG2 table (Debug
2876Port 2 table).
2877
2878iASL: Added full support for the PCCT table, update the table definition.
2879Updates the PCCT table definition in the actbl3.h header and adds table
2880compiler and template generator support.
2881
2882iASL: Added an option to emit only error messages (no warnings/remarks).
2883The -ve option will enable only error messages, warnings and remarks are
2884suppressed. This can simplify debugging when only the errors are
2885important, such as when an ACPI table is disassembled and there are many
2886warnings and remarks -- but only the actual errors are of real interest.
2887
2888Example ACPICA code (source/tools/examples): Updated the example code so
2889that it builds to an actual working program, not just example code. Added
2890ACPI tables and execution of an example control method in the DSDT. Added
2891makefile support for Unix generation.
2892
2893
2894----------------------------------------
289515 November 2013. Summary of changes for version 20131115:
2896
2897This release is available at https://acpica.org/downloads
2898
2899
29001) ACPICA kernel-resident subsystem:
2901
2902Resource Manager: Fixed loop termination for the "get AML length"
2903function. The loop previously had an error termination on a NULL resource
2904pointer, which can never happen since the loop simply increments a valid
2905resource pointer. This fix changes the loop to terminate with an error on
2906an invalid end-of-buffer condition. The problem can be seen as an
2907infinite loop by callers to AcpiSetCurrentResources with an invalid or
2908corrupted resource descriptor, or a resource descriptor that is missing
2909an END_TAG descriptor. Reported by Dan Carpenter
2910<dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
2911
2912Table unload and ACPICA termination: Delete all attached data objects
2913during namespace node deletion. This fix updates namespace node deletion
2914to delete the entire list of attached objects (attached via
2915AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
29161024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
2917
2918ACPICA termination: Added support to delete all objects attached to the
2919root namespace node. This fix deletes any and all objects that have been
2920attached to the root node via AcpiAttachData. Previously, none of these
2921objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
2922
2923Debug output: Do not emit the function nesting level for the in-kernel
2924build. The nesting level is really only useful during a single-thread
2925execution. Therefore, only enable this output for the AcpiExec utility.
2926Also, only emit the thread ID when executing under AcpiExec (Context
2927switches are still always detected and a message is emitted). ACPICA BZ
2928972.
2929
2930Example Code and Data Size: These are the sizes for the OS-independent
2931acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2932debug version of the code includes the debug output trace mechanism and
2933has a much larger code and data size.
2934
2935  Current Release:
2936    Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
2937    Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
2938  Previous Release:
2939    Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
2940    Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
2941
2942
29432) iASL Compiler/Disassembler and Tools:
2944
2945AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
2946correct portable POSIX header for terminal control functions.
2947
2948Disassembler: Fixed control method invocation issues related to the use
2949of the CondRefOf() operator. The problem is seen in the disassembly where
2950control method invocations may not be disassembled properly if the
2951control method name has been used previously as an argument to CondRefOf.
2952The solution is to not attempt to emit an external declaration for the
2953CondRefOf target (it is not necessary in the first place). This prevents
2954disassembler object type confusion. ACPICA BZ 988.
2955
2956Unix Makefiles: Added an option to disable compiler optimizations and the
2957_FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
2958with optimizations (reportedly, gcc 4.4 for example). This change adds a
2959command line option for make (NOOPT) that disables all compiler
2960optimizations and the _FORTIFY_SOURCE compiler flag. The default
2961optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
29621034. Lv Zheng, Bob Moore.
2963
2964Tests/ASLTS: Added options to specify individual test cases and modes.
2965This allows testers running aslts.sh to optionally specify individual
2966test modes and test cases. Also added an option to disable the forced
2967generation of the ACPICA tools from source if desired. Lv Zheng.
2968
2969----------------------------------------
297027 September 2013. Summary of changes for version 20130927:
2971
2972This release is available at https://acpica.org/downloads
2973
2974
29751) ACPICA kernel-resident subsystem:
2976
2977Fixed a problem with store operations to reference objects. This change
2978fixes a problem where a Store operation to an ArgX object that contained
2979a
2980reference to a field object did not complete the automatic dereference
2981and
2982then write to the actual field object. Instead, the object type of the
2983field object was inadvertently changed to match the type of the source
2984operand. The new behavior will actually write to the field object (buffer
2985field or field unit), thus matching the correct ACPI-defined behavior.
2986
2987Implemented support to allow the host to redefine individual OSL
2988prototypes. This change enables the host to redefine OSL prototypes found
2989in the acpiosxf.h file. This allows the host to implement OSL interfaces
2990with a macro or inlined function. Further, it allows the host to add any
2991additional required modifiers such as __iomem, __init, __exit, etc., as
2992necessary on a per-interface basis. Enables maximum flexibility for the
2993OSL interfaces. Lv Zheng.
2994
2995Hardcoded the access width for the FADT-defined reset register. The ACPI
2996specification requires the reset register width to be 8 bits. ACPICA now
2997hardcodes the width to 8 and ignores the FADT width value. This provides
2998compatibility with other ACPI implementations that have allowed BIOS code
2999with bad register width values to go unnoticed. Matthew Garett, Bob
3000Moore,
3001Lv Zheng.
3002
3003Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
3004used
3005in the OSL header (acpiosxf). The change modifies the position of this
3006macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
3007build issues if the OSL defines the implementation of the interface to be
3008an inline stub function. Lv Zheng.
3009
3010Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
3011initialization interfaces. This change adds a new macro for the main init
3012and terminate external interfaces in order to support hosts that require
3013additional or different processing for these functions. Changed from
3014ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
3015Zheng, Bob Moore.
3016
3017Cleaned up the memory allocation macros for configurability. In the
3018common
3019case, the ACPI_ALLOCATE and related macros now resolve directly to their
3020respective AcpiOs* OSL interfaces. Two options:
30211) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
3022default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
30232) For AcpiExec (and for debugging), the macros can optionally be
3024resolved
3025to the local ACPICA interfaces that track each allocation (local tracking
3026is used to immediately detect memory leaks).
3027Lv Zheng.
3028
3029Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
3030to predefine this macro to either TRUE or FALSE during the system build.
3031
3032Replaced __FUNCTION_ with __func__ in the gcc-specific header.
3033
3034Example Code and Data Size: These are the sizes for the OS-independent
3035acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3036debug version of the code includes the debug output trace mechanism and
3037has a much larger code and data size.
3038
3039  Current Release:
3040    Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3041    Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3042  Previous Release:
3043    Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3044    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3045
3046
30472) iASL Compiler/Disassembler and Tools:
3048
3049iASL: Implemented wildcard support for the -e option. This simplifies use
3050when there are many SSDTs that must be included to resolve external
3051method
3052declarations. ACPICA BZ 1041. Example:
3053    iasl -e ssdt*.dat -d dsdt.dat
3054
3055AcpiExec: Add history/line-editing for Unix/Linux systems. This change
3056adds a portable module that implements full history and limited line
3057editing for Unix and Linux systems. It does not use readline() due to
3058portability issues. Instead it uses the POSIX termio interface to put the
3059terminal in raw input mode so that the various special keys can be
3060trapped
3061(such as up/down-arrow for history support and left/right-arrow for line
3062editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
3063
3064AcpiXtract: Add support to handle (ignore) "empty" lines containing only
3065one or more spaces. This provides compatible with early or different
3066versions of the AcpiDump utility. ACPICA BZ 1044.
3067
3068AcpiDump: Do not ignore tables that contain only an ACPI table header.
3069Apparently, some BIOSs create SSDTs that contain an ACPI table header but
3070no other data. This change adds support to dump these tables. Any tables
3071shorter than the length of an ACPI table header remain in error (an error
3072message is emitted). Reported by Yi Li.
3073
3074Debugger: Echo actual command along with the "unknown command" message.
3075
3076----------------------------------------
307723 August 2013. Summary of changes for version 20130823:
3078
30791) ACPICA kernel-resident subsystem:
3080
3081Implemented support for host-installed System Control Interrupt (SCI)
3082handlers. Certain ACPI functionality requires the host to handle raw
3083SCIs. For example, the "SCI Doorbell" that is defined for memory power
3084state support requires the host device driver to handle SCIs to examine
3085if the doorbell has been activated. Multiple SCI handlers can be
3086installed to allow for future expansion. New external interfaces are
3087AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
3088details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
3089
3090Operation region support: Never locally free the handler "context"
3091pointer. This change removes some dangerous code that attempts to free
3092the handler context pointer in some (rare) circumstances. The owner of
3093the handler owns this pointer and the ACPICA code should never touch it.
3094Although not seen to be an issue in any kernel, it did show up as a
3095problem (fault) under AcpiExec. Also, set the internal storage field for
3096the context pointer to zero when the region is deactivated, simply for
3097sanity. David Box. ACPICA BZ 1039.
3098
3099AcpiRead: On error, do not modify the return value target location. If an
3100error happens in the middle of a split 32/32 64-bit I/O operation, do not
3101modify the target of the return value pointer. Makes the code consistent
3102with the rest of ACPICA. Bjorn Helgaas.
3103
3104Example Code and Data Size: These are the sizes for the OS-independent
3105acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3106debug version of the code includes the debug output trace mechanism and
3107has a much larger code and data size.
3108
3109  Current Release:
3110    Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3111    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3112  Previous Release:
3113    Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3114    Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
3115
3116
31172) iASL Compiler/Disassembler and Tools:
3118
3119AcpiDump: Implemented several new features and fixed some problems:
31201) Added support to dump the RSDP, RSDT, and XSDT tables.
31212) Added support for multiple table instances (SSDT, UEFI).
31223) Added option to dump "customized" (overridden) tables (-c).
31234) Fixed a problem where some table filenames were improperly
3124constructed.
31255) Improved some error messages, removed some unnecessary messages.
3126
3127iASL: Implemented additional support for disassembly of ACPI tables that
3128contain invocations of external control methods. The -fe<file> option
3129allows the import of a file that specifies the external methods along
3130with the required number of arguments for each -- allowing for the
3131correct disassembly of the table. This is a workaround for a limitation
3132of AML code where the disassembler often cannot determine the number of
3133arguments required for an external control method and generates incorrect
3134ASL code. See the iASL reference for details. ACPICA BZ 1030.
3135
3136Debugger: Implemented a new command (paths) that displays the full
3137pathnames (namepaths) and object types of all objects in the namespace.
3138This is an alternative to the namespace command.
3139
3140Debugger: Implemented a new command (sci) that invokes the SCI dispatch
3141mechanism and any installed handlers.
3142
3143iASL: Fixed a possible segfault for "too many parent prefixes" condition.
3144This can occur if there are too many parent prefixes in a namepath (for
3145example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3146
3147Application OSLs: Set the return value for the PCI read functions. These
3148functions simply return AE_OK, but should set the return value to zero
3149also. This change implements this. ACPICA BZ 1038.
3150
3151Debugger: Prevent possible command line buffer overflow. Increase the
3152size of a couple of the debugger line buffers, and ensure that overflow
3153cannot happen. ACPICA BZ 1037.
3154
3155iASL: Changed to abort immediately on serious errors during the parsing
3156phase. Due to the nature of ASL, there is no point in attempting to
3157compile these types of errors, and they typically end up causing a
3158cascade of hundreds of errors which obscure the original problem.
3159
3160----------------------------------------
316125 July 2013. Summary of changes for version 20130725:
3162
31631) ACPICA kernel-resident subsystem:
3164
3165Fixed a problem with the DerefOf operator where references to FieldUnits
3166and BufferFields incorrectly returned the parent object, not the actual
3167value of the object. After this change, a dereference of a FieldUnit
3168reference results in a read operation on the field to get the value, and
3169likewise, the appropriate BufferField value is extracted from the target
3170buffer.
3171
3172Fixed a problem where the _WAK method could cause a fault under these
3173circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
3174method returned no value. The problem is rarely seen because most kernels
3175run ACPICA in slack mode.
3176
3177For the DerefOf operator, a fatal error now results if an attempt is made
3178to dereference a reference (created by the Index operator) to a NULL
3179package element. Provides compatibility with other ACPI implementations,
3180and this behavior will be added to a future version of the ACPI
3181specification.
3182
3183The ACPI Power Management Timer (defined in the FADT) is now optional.
3184This provides compatibility with other ACPI implementations and will
3185appear in the next version of the ACPI specification. If there is no PM
3186Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
3187zero in the FADT indicates no PM timer.
3188
3189Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
3190allows the host to globally enable/disable all vendor strings, all
3191feature strings, or both. Intended to be primarily used for debugging
3192purposes only. Lv Zheng.
3193
3194Expose the collected _OSI data to the host via a global variable. This
3195data tracks the highest level vendor ID that has been invoked by the BIOS
3196so that the host (and potentially ACPICA itself) can change behaviors
3197based upon the age of the BIOS.
3198
3199Example Code and Data Size: These are the sizes for the OS-independent
3200acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3201debug version of the code includes the debug output trace mechanism and
3202has a much larger code and data size.
3203
3204  Current Release:
3205    Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3206    Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3207  Previous Release:
3208    Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3209    Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3210
3211
32122) iASL Compiler/Disassembler and Tools:
3213
3214iASL: Created the following enhancements for the -so option (create
3215offset table):
32161)Add offsets for the last nameseg in each namepath for every supported
3217object type
32182)Add support for Processor, Device, Thermal Zone, and Scope objects
32193)Add the actual AML opcode for the parent object of every supported
3220object type
32214)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
3222
3223Disassembler: Emit all unresolved external symbols in a single block.
3224These are external references to control methods that could not be
3225resolved, and thus, the disassembler had to make a guess at the number of
3226arguments to parse.
3227
3228iASL: The argument to the -T option (create table template) is now
3229optional. If not specified, the default table is a DSDT, typically the
3230most common case.
3231
3232----------------------------------------
323326 June 2013. Summary of changes for version 20130626:
3234
32351) ACPICA kernel-resident subsystem:
3236
3237Fixed an issue with runtime repair of the _CST object. Null or invalid
3238elements were not always removed properly. Lv Zheng.
3239
3240Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
3241FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
3242the maximum number of GPEs is 1016. Use of multiple GPE block devices
3243makes the system-wide number of GPEs essentially unlimited.
3244
3245Example Code and Data Size: These are the sizes for the OS-independent
3246acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3247debug version of the code includes the debug output trace mechanism and
3248has a much larger code and data size.
3249
3250  Current Release:
3251    Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3252    Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3253  Previous Release:
3254    Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3255    Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3256
3257
32582) iASL Compiler/Disassembler and Tools:
3259
3260Portable AcpiDump: Implemented full support for the Linux and FreeBSD
3261hosts. Now supports Linux, FreeBSD, and Windows.
3262
3263Disassembler: Added some missing types for the HEST and EINJ tables: "Set
3264Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
3265
3266iASL/Preprocessor: Implemented full support for nested
3267#if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
3268
3269Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
3270max. The original purpose of this constraint was to limit the amount of
3271debug output. However, the string function in question (UtPrintString) is
3272now used for the disassembler also, where 256 bytes is insufficient.
3273Reported by RehabMan@GitHub.
3274
3275iASL/DataTables: Fixed some problems and issues with compilation of DMAR
3276tables. ACPICA BZ 999. Lv Zheng.
3277
3278iASL: Fixed a couple of error exit issues that could result in a "Could
3279not delete <file>" message during ASL compilation.
3280
3281AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
3282the actual signatures for these tables are "FACP" and "APIC",
3283respectively.
3284
3285AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
3286tables are allowed to have multiple instances.
3287
3288----------------------------------------
328917 May 2013. Summary of changes for version 20130517:
3290
32911) ACPICA kernel-resident subsystem:
3292
3293Fixed a regression introduced in version 20130328 for _INI methods. This
3294change fixes a problem introduced in 20130328 where _INI methods are no
3295longer executed properly because of a memory block that was not
3296initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
3297<tomasz.nowicki@linaro.org>.
3298
3299Fixed a possible problem with the new extended sleep registers in the
3300ACPI
33015.0 FADT. Do not use these registers (even if populated) unless the HW-
3302reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
33031020. Lv Zheng.
3304
3305Implemented return value repair code for _CST predefined objects: Sort
3306the
3307list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
3308
3309Implemented a debug-only option to disable loading of SSDTs from the
3310RSDT/XSDT during ACPICA initialization. This can be useful for debugging
3311ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
3312acglobal.h - ACPICA BZ 1005. Lv Zheng.
3313
3314Fixed some issues in the ACPICA initialization and termination code:
3315Tomasz Nowicki <tomasz.nowicki@linaro.org>
33161) Clear events initialized flag upon event component termination. ACPICA
3317BZ 1013.
33182) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
33193) Delete global lock pending lock during termination. ACPICA BZ 1012.
33204) Clear debug buffer global on termination to prevent possible multiple
3321delete. ACPICA BZ 1010.
3322
3323Standardized all switch() blocks across the entire source base. After
3324many
3325years, different formatting for switch() had crept in. This change makes
3326the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
3327
3328Split some files to enhance ACPICA modularity and configurability:
33291) Split buffer dump routines into utilities/utbuffer.c
33302) Split internal error message routines into utilities/uterror.c
33313) Split table print utilities into tables/tbprint.c
33324) Split iASL command-line option processing into asloptions.c
3333
3334Makefile enhancements:
33351) Support for all new files above.
33362) Abort make on errors from any subcomponent. Chao Guan.
33373) Add build support for Apple Mac OS X. Liang Qi.
3338
3339Example Code and Data Size: These are the sizes for the OS-independent
3340acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3341debug version of the code includes the debug output trace mechanism and
3342has a much larger code and data size.
3343
3344  Current Release:
3345    Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3346    Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3347  Previous Release:
3348    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3349    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3350
3351
33522) iASL Compiler/Disassembler and Tools:
3353
3354New utility: Implemented an easily portable version of the acpidump
3355utility to extract ACPI tables from the system (or a file) in an ASCII
3356hex
3357dump format. The top-level code implements the various command line
3358options, file I/O, and table dump routines. To port to a new host, only
3359three functions need to be implemented to get tables -- since this
3360functionality is OS-dependent. See the tools/acpidump/apmain.c module and
3361the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
33621) The Windows version obtains the ACPI tables from the Registry.
33632) The Linux version is under development.
33643) Other hosts - If an OS-dependent module is submitted, it will be
3365distributed with ACPICA.
3366
3367iASL: Fixed a regression for -D preprocessor option (define symbol). A
3368restructuring/change to the initialization sequence caused this option to
3369no longer work properly.
3370
3371iASL: Implemented a mechanism to disable specific warnings and remarks.
3372Adds a new command line option, "-vw <messageid> as well as "#pragma
3373disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
3374
3375iASL: Fix for too-strict package object validation. The package object
3376validation for return values from the predefined names is a bit too
3377strict, it does not allow names references within the package (which will
3378be resolved at runtime.) These types of references cannot be validated at
3379compile time. This change ignores named references within package objects
3380for names that return or define static packages.
3381
3382Debugger: Fixed the 80-character command line limitation for the History
3383command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
3384
3385iASL: Added control method and package support for the -so option
3386(generates AML offset table for BIOS support.)
3387
3388iASL: issue a remark if a non-serialized method creates named objects. If
3389a thread blocks within the method for any reason, and another thread
3390enters the method, the method will fail because an attempt will be made
3391to
3392create the same (named) object twice. In this case, issue a remark that
3393the method should be marked serialized. NOTE: may become a warning later.
3394ACPICA BZ 909.
3395
3396----------------------------------------
339718 April 2013. Summary of changes for version 20130418:
3398
33991) ACPICA kernel-resident subsystem:
3400
3401Fixed a possible buffer overrun during some rare but specific field unit
3402read operations. This overrun can only happen if the DSDT version is 1 --
3403meaning that all AML integers are 32 bits -- and the field length is
3404between 33 and 55 bits long. During the read, an internal buffer object
3405is
3406created for the field unit because the field is larger than an integer
3407(32
3408bits). However, in this case, the buffer will be incorrectly written
3409beyond the end because the buffer length is less than the internal
3410minimum
3411of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
3412long, but a full 8 bytes will be written.
3413
3414Updated the Embedded Controller "orphan" _REG method support. This refers
3415to _REG methods under the EC device that have no corresponding operation
3416region. This is allowed by the ACPI specification. This update removes a
3417dependency on the existence an ECDT table. It will execute an orphan _REG
3418method as long as the operation region handler for the EC is installed at
3419the EC device node and not the namespace root. Rui Zhang (original
3420update), Bob Moore (update/integrate).
3421
3422Implemented run-time argument typechecking for all predefined ACPI names
3423(_STA, _BIF, etc.) This change performs object typechecking on all
3424incoming arguments for all predefined names executed via
3425AcpiEvaluateObject. This ensures that ACPI-related device drivers are
3426passing correct object types as well as the correct number of arguments
3427(therefore identifying any issues immediately). Also, the ASL/namespace
3428definition of the predefined name is checked against the ACPI
3429specification for the proper argument count. Adds one new file,
3430nsarguments.c
3431
3432Changed an exception code for the ASL UnLoad() operator. Changed the
3433exception code for the case where the input DdbHandle is invalid, from
3434AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
3435
3436Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
3437global makefile. The use of this flag causes compiler errors on earlier
3438versions of GCC, so it has been removed for compatibility.
3439
3440Miscellaneous cleanup:
34411) Removed some unused/obsolete macros
34422) Fixed a possible memory leak in the _OSI support
34433) Removed an unused variable in the predefined name support
34444) Windows OSL: remove obsolete reference to a memory list field
3445
3446Example Code and Data Size: These are the sizes for the OS-independent
3447acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3448debug version of the code includes the debug output trace mechanism and
3449has a much larger code and data size.
3450
3451  Current Release:
3452    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3453    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3454  Previous Release:
3455    Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3456    Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3457
3458
34592) iASL Compiler/Disassembler and Tools:
3460
3461AcpiExec: Added installation of a handler for the SystemCMOS address
3462space. This prevents control method abort if a method accesses this
3463space.
3464
3465AcpiExec: Added support for multiple EC devices, and now install EC
3466operation region handler(s) at the actual EC device instead of the
3467namespace root. This reflects the typical behavior of host operating
3468systems.
3469
3470AcpiExec: Updated to ensure that all operation region handlers are
3471installed before the _REG methods are executed. This prevents a _REG
3472method from aborting if it accesses an address space has no handler.
3473AcpiExec installs a handler for every possible address space.
3474
3475Debugger: Enhanced the "handlers" command to display non-root handlers.
3476This change enhances the handlers command to display handlers associated
3477with individual devices throughout the namespace, in addition to the
3478currently supported display of handlers associated with the root
3479namespace
3480node.
3481
3482ASL Test Suite: Several test suite errors have been identified and
3483resolved, reducing the total error count during execution. Chao Guan.
3484
3485----------------------------------------
348628 March 2013. Summary of changes for version 20130328:
3487
34881) ACPICA kernel-resident subsystem:
3489
3490Fixed several possible race conditions with the internal object reference
3491counting mechanism. Some of the external ACPICA interfaces update object
3492reference counts without holding the interpreter or namespace lock. This
3493change adds a spinlock to protect reference count updates on the internal
3494ACPICA objects. Reported by and with assistance from Andriy Gapon
3495(avg@FreeBSD.org).
3496
3497FADT support: Removed an extraneous warning for very large GPE register
3498sets. This change removes a size mismatch warning if the legacy length
3499field for a GPE register set is larger than the 64-bit GAS structure can
3500accommodate. GPE register sets can be larger than the 255-bit width
3501limitation of the GAS structure. Linn Crosetto (linn@hp.com).
3502
3503_OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
3504return from this interface. Handles a possible timeout case if
3505ACPI_WAIT_FOREVER is modified by the host to be a value less than
3506"forever". Jung-uk Kim.
3507
3508Predefined name support: Add allowed/required argument type information
3509to
3510the master predefined info table. This change adds the infrastructure to
3511enable typechecking on incoming arguments for all predefined
3512methods/objects. It does not actually contain the code that will fully
3513utilize this information, this is still under development. Also condenses
3514some duplicate code for the predefined names into a new module,
3515utilities/utpredef.c
3516
3517Example Code and Data Size: These are the sizes for the OS-independent
3518acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3519debug version of the code includes the debug output trace mechanism and
3520has a much larger code and data size.
3521
3522  Previous Release:
3523    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3524    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3525  Current Release:
3526    Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3527    Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3528
3529
35302) iASL Compiler/Disassembler and Tools:
3531
3532iASL: Implemented a new option to simplify the development of ACPI-
3533related
3534BIOS code. Adds support for a new "offset table" output file. The -so
3535option will create a C table containing the AML table offsets of various
3536named objects in the namespace so that BIOS code can modify them easily
3537at
3538boot time. This can simplify BIOS runtime code by eliminating expensive
3539searches for "magic values", enhancing boot times and adding greater
3540reliability. With assistance from Lee Hamel.
3541
3542iASL: Allow additional predefined names to return zero-length packages.
3543Now, all predefined names that are defined by the ACPI specification to
3544return a "variable-length package of packages" are allowed to return a
3545zero length top-level package. This allows the BIOS to tell the host that
3546the requested feature is not supported, and supports existing BIOS/ASL
3547code and practices.
3548
3549iASL: Changed the "result not used" warning to an error. This is the case
3550where an ASL operator is effectively a NOOP because the result of the
3551operation is not stored anywhere. For example:
3552    Add (4, Local0)
3553There is no target (missing 3rd argument), nor is the function return
3554value used. This is potentially a very serious problem -- since the code
3555was probably intended to do something, but for whatever reason, the value
3556was not stored. Therefore, this issue has been upgraded from a warning to
3557an error.
3558
3559AcpiHelp: Added allowable/required argument types to the predefined names
3560info display. This feature utilizes the recent update to the predefined
3561names table (above).
3562
3563----------------------------------------
356414 February 2013. Summary of changes for version 20130214:
3565
35661) ACPICA Kernel-resident Subsystem:
3567
3568Fixed a possible regression on some hosts: Reinstated the safe return
3569macros (return_ACPI_STATUS, etc.) that ensure that the argument is
3570evaluated only once. Although these macros are not needed for the ACPICA
3571code itself, they are often used by ACPI-related host device drivers
3572where
3573the safe feature may be necessary.
3574
3575Fixed several issues related to the ACPI 5.0 reduced hardware support
3576(SOC): Now ensure that if the platform declares itself as hardware-
3577reduced
3578via the FADT, the following functions become NOOPs (and always return
3579AE_OK) because ACPI is always enabled by definition on these machines:
3580  AcpiEnable
3581  AcpiDisable
3582  AcpiHwGetMode
3583  AcpiHwSetMode
3584
3585Dynamic Object Repair: Implemented additional runtime repairs for
3586predefined name return values. Both of these repairs can simplify code in
3587the related device drivers that invoke these methods:
35881) For the _STR and _MLS names, automatically repair/convert an ASCII
3589string to a Unicode buffer.
35902) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
3591a
3592lone end tag descriptor in the following cases: A Return(0) was executed,
3593a null buffer was returned, or no object at all was returned (non-slack
3594mode only). Adds a new file, nsconvert.c
3595ACPICA BZ 998. Bob Moore, Lv Zheng.
3596
3597Resource Manager: Added additional code to prevent possible infinite
3598loops
3599while traversing corrupted or ill-formed resource template buffers. Check
3600for zero-length resource descriptors in all code that loops through
3601resource templates (the length field is used to index through the
3602template). This change also hardens the external AcpiWalkResources and
3603AcpiWalkResourceBuffer interfaces.
3604
3605Local Cache Manager: Enhanced the main data structure to eliminate an
3606unnecessary mechanism to access the next object in the list. Actually
3607provides a small performance enhancement for hosts that use the local
3608ACPICA cache manager. Jung-uk Kim.
3609
3610Example Code and Data Size: These are the sizes for the OS-independent
3611acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3612debug version of the code includes the debug output trace mechanism and
3613has a much larger code and data size.
3614
3615  Previous Release:
3616    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
3617    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
3618  Current Release:
3619    Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3620    Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3621
3622
36232) iASL Compiler/Disassembler and Tools:
3624
3625iASL/Disassembler: Fixed several issues with the definition of the ACPI
36265.0 RASF table (RAS Feature Table). This change incorporates late changes
3627that were made to the ACPI 5.0 specification.
3628
3629iASL/Disassembler: Added full support for the following new ACPI tables:
3630  1) The MTMR table (MID Timer Table)
3631  2) The VRTC table (Virtual Real Time Clock Table).
3632Includes header file, disassembler, table compiler, and template support
3633for both tables.
3634
3635iASL: Implemented compile-time validation of package objects returned by
3636predefined names. This new feature validates static package objects
3637returned by the various predefined names defined to return packages. Both
3638object types and package lengths are validated, for both parent packages
3639and sub-packages, if any. The code is similar in structure and behavior
3640to
3641the runtime repair mechanism within the AML interpreter and uses the
3642existing predefined name information table. Adds a new file, aslprepkg.c.
3643ACPICA BZ 938.
3644
3645iASL: Implemented auto-detection of binary ACPI tables for disassembly.
3646This feature detects a binary file with a valid ACPI table header and
3647invokes the disassembler automatically. Eliminates the need to
3648specifically invoke the disassembler with the -d option. ACPICA BZ 862.
3649
3650iASL/Disassembler: Added several warnings for the case where there are
3651unresolved control methods during the disassembly. This can potentially
3652cause errors when the output file is compiled, because the disassembler
3653assumes zero method arguments in these cases (it cannot determine the
3654actual number of arguments without resolution/definition of the method).
3655
3656Debugger: Added support to display all resources with a single command.
3657Invocation of the resources command with no arguments will now display
3658all
3659resources within the current namespace.
3660
3661AcpiHelp: Added descriptive text for each ACPICA exception code displayed
3662via the -e option.
3663
3664----------------------------------------
366517 January 2013. Summary of changes for version 20130117:
3666
36671) ACPICA Kernel-resident Subsystem:
3668
3669Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
3670return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
3671objects to return a package containing one integer, most BIOS code
3672returns
3673two integers and the previous code reflects that. However, we also need
3674to
3675support BIOS code that actually implements to the ACPI spec, and this
3676change reflects this.
3677
3678Fixed two issues with the ACPI_DEBUG_PRINT macros:
36791) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
3680C compilers that require this support.
36812) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
3682ACPI_DEBUG is already used by many of the various hosts.
3683
3684Updated all ACPICA copyrights and signons to 2013. Added the 2013
3685copyright to all module headers and signons, including the standard Linux
3686header. This affects virtually every file in the ACPICA core subsystem,
3687iASL compiler, all ACPICA utilities, and the test suites.
3688
3689Example Code and Data Size: These are the sizes for the OS-independent
3690acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3691debug version of the code includes the debug output trace mechanism and
3692has a much larger code and data size.
3693
3694  Previous Release:
3695    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
3696    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
3697  Current Release:
3698    Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
3699    Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
3700
3701
37022) iASL Compiler/Disassembler and Tools:
3703
3704Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
3705prevent a possible fault on some hosts. Some C libraries modify the arg
3706pointer parameter to vfprintf making it difficult to call it twice in the
3707AcpiOsVprintf function. Use a local buffer to workaround this issue. This
3708does not affect the Windows OSL since the Win C library does not modify
3709the arg pointer. Chao Guan, Bob Moore.
3710
3711iASL: Fixed a possible infinite loop when the maximum error count is
3712reached. If an output file other than the .AML file is specified (such as
3713a listing file), and the maximum number of errors is reached, do not
3714attempt to flush data to the output file(s) as the compiler is aborting.
3715This can cause an infinite loop as the max error count code essentially
3716keeps calling itself.
3717
3718iASL/Disassembler: Added an option (-in) to ignore NOOP
3719opcodes/operators.
3720Implemented for both the compiler and the disassembler. Often, the NOOP
3721opcode is used as padding for packages that are changed dynamically by
3722the
3723BIOS. When disassembled and recompiled, these NOOPs will cause syntax
3724errors. This option causes the disassembler to ignore all NOOP opcodes
3725(0xA3), and it also causes the compiler to ignore all ASL source code
3726NOOP
3727statements as well.
3728
3729Debugger: Enhanced the Sleep command to execute all sleep states. This
3730change allows Sleep to be invoked with no arguments and causes the
3731debugger to execute all of the sleep states, 0-5, automatically.
3732
3733----------------------------------------
373420 December 2012. Summary of changes for version 20121220:
3735
37361) ACPICA Kernel-resident Subsystem:
3737
3738Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
3739alternate entry point for AcpiWalkResources and improves the usability of
3740the resource manager by accepting as input a buffer containing the output
3741of either a _CRS, _PRS, or _AEI method. The key functionality is that the
3742input buffer is not deleted by this interface so that it can be used by
3743the host later. See the ACPICA reference for details.
3744
3745Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
3746(DSDT version < 2). The constant will be truncated and this warning
3747reflects that behavior.
3748
3749Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
3750ExtendedInterrupt, and GpioInt descriptors. This change adds support to
3751both get and set the new wake bit in these descriptors, separately from
3752the existing share bit. Reported by Aaron Lu.
3753
3754Interpreter: Fix Store() when an implicit conversion is not possible. For
3755example, in the cases such as a store of a string to an existing package
3756object, implement the store as a CopyObject(). This is a small departure
3757from the ACPI specification which states that the control method should
3758be
3759aborted in this case. However, the ASLTS suite depends on this behavior.
3760
3761Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
3762macros: check if debug output is currently enabled as soon as possible to
3763minimize performance impact if debug is in fact not enabled.
3764
3765Source code restructuring: Cleanup to improve modularity. The following
3766new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
3767psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
3768Associated makefiles and project files have been updated.
3769
3770Changed an exception code for LoadTable operator. For the case where one
3771of the input strings is too long, change the returned exception code from
3772AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
3773
3774Fixed a possible memory leak in dispatcher error path. On error, delete
3775the mutex object created during method mutex creation. Reported by
3776tim.gardner@canonical.com.
3777
3778Example Code and Data Size: These are the sizes for the OS-independent
3779acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3780debug version of the code includes the debug output trace mechanism and
3781has a much larger code and data size.
3782
3783  Previous Release:
3784    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
3785    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3786  Current Release:
3787    Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
3788    Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
3789
3790
37912) iASL Compiler/Disassembler and Tools:
3792
3793iASL: Disallow a method call as argument to the ObjectType ASL operator.
3794This change tracks an errata to the ACPI 5.0 document. The AML grammar
3795will not allow the interpreter to differentiate between a method and a
3796method invocation when these are used as an argument to the ObjectType
3797operator. The ACPI specification change is to disallow a method
3798invocation
3799(UserTerm) for the ObjectType operator.
3800
3801Finish support for the TPM2 and CSRT tables in the headers, table
3802compiler, and disassembler.
3803
3804Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
3805always expires immediately if the semaphore is not available. The
3806original
3807code was using a relative-time timeout, but sem_timedwait requires the
3808use
3809of an absolute time.
3810
3811iASL: Added a remark if the Timer() operator is used within a 32-bit
3812table. This operator returns a 64-bit time value that will be truncated
3813within a 32-bit table.
3814
3815iASL Source code restructuring: Cleanup to improve modularity. The
3816following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
3817aslmethod.c, and aslfileio.c. Associated makefiles and project files have
3818been updated.
3819
3820
3821----------------------------------------
382214 November 2012. Summary of changes for version 20121114:
3823
38241) ACPICA Kernel-resident Subsystem:
3825
3826Implemented a performance enhancement for ACPI/AML Package objects. This
3827change greatly increases the performance of Package objects within the
3828interpreter. It changes the processing of reference counts for packages
3829by
3830optimizing for the most common case where the package sub-objects are
3831either Integers, Strings, or Buffers. Increases the overall performance
3832of
3833the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
38342X.)
3835Chao Guan. ACPICA BZ 943.
3836
3837Implemented and deployed common macros to extract flag bits from resource
3838descriptors. Improves readability and maintainability of the code. Fixes
3839a
3840problem with the UART serial bus descriptor for the number of data bits
3841flags (was incorrectly 2 bits, should be 3).
3842
3843Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
3844of the macros and changed the SETx macros to the style of (destination,
3845source). Also added ACPI_CASTx companion macros. Lv Zheng.
3846
3847Example Code and Data Size: These are the sizes for the OS-independent
3848acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3849debug version of the code includes the debug output trace mechanism and
3850has a much larger code and data size.
3851
3852  Previous Release:
3853    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
3854    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3855  Current Release:
3856    Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
3857    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3858
3859
38602) iASL Compiler/Disassembler and Tools:
3861
3862Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
3863adds the ShareAndWake and ExclusiveAndWake flags which were added to the
3864Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
3865
3866Disassembler: Fixed a problem with external declaration generation. Fixes
3867a problem where an incorrect pathname could be generated for an external
3868declaration if the original reference to the object includes leading
3869carats (^). ACPICA BZ 984.
3870
3871Debugger: Completed a major update for the Disassemble<method> command.
3872This command was out-of-date and did not properly disassemble control
3873methods that had any reasonable complexity. This fix brings the command
3874up
3875to the same level as the rest of the disassembler. Adds one new file,
3876dmdeferred.c, which is existing code that is now common with the main
3877disassembler and the debugger disassemble command. ACPICA MZ 978.
3878
3879iASL: Moved the parser entry prototype to avoid a duplicate declaration.
3880Newer versions of Bison emit this prototype, so moved the prototype out
3881of
3882the iASL header to where it is actually used in order to avoid a
3883duplicate
3884declaration.
3885
3886iASL/Tools: Standardized use of the stream I/O functions:
3887  1) Ensure check for I/O error after every fopen/fread/fwrite
3888  2) Ensure proper order of size/count arguments for fread/fwrite
3889  3) Use test of (Actual != Requested) after all fwrite, and most fread
3890  4) Standardize I/O error messages
3891Improves reliability and maintainability of the code. Bob Moore, Lv
3892Zheng.
3893ACPICA BZ 981.
3894
3895Disassembler: Prevent duplicate External() statements. During generation
3896of external statements, detect similar pathnames that are actually
3897duplicates such as these:
3898  External (\ABCD)
3899  External (ABCD)
3900Remove all leading '\' characters from pathnames during the external
3901statement generation so that duplicates will be detected and tossed.
3902ACPICA BZ 985.
3903
3904Tools: Replace low-level I/O with stream I/O functions. Replace
3905open/read/write/close with the stream I/O equivalents
3906fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
3907Moore.
3908
3909AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
3910name header so that AcpiXtract recognizes the output file/table.
3911
3912iASL: Remove obsolete -2 option flag. Originally intended to force the
3913compiler/disassembler into an ACPI 2.0 mode, this was never implemented
3914and the entire concept is now obsolete.
3915
3916----------------------------------------
391718 October 2012. Summary of changes for version 20121018:
3918
3919
39201) ACPICA Kernel-resident Subsystem:
3921
3922Updated support for the ACPI 5.0 MPST table. Fixes some problems
3923introduced by late changes to the table as it was added to the ACPI 5.0
3924specification. Includes header, disassembler, and data table compiler
3925support as well as a new version of the MPST template.
3926
3927AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
39285.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
3929methods: _HID, _CID, and _UID.
3930
3931Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
3932ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
3933name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
3934names for their various drivers. Affects the AcpiGetObjectInfo external
3935interface, and other internal interfaces as well.
3936
3937Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
3938This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
3939on machines that support non-aligned transfers. Optimizes for this case
3940rather than using a strncpy. With assistance from Zheng Lv.
3941
3942Resource Manager: Small fix for buffer size calculation. Fixed a one byte
3943error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
3944
3945Added a new debug print message for AML mutex objects that are force-
3946released. At control method termination, any currently acquired mutex
3947objects are force-released. Adds a new debug-only message for each one
3948that is released.
3949
3950Audited/updated all ACPICA return macros and the function debug depth
3951counter: 1) Ensure that all functions that use the various TRACE macros
3952also use the appropriate ACPICA return macros. 2) Ensure that all normal
3953return statements surround the return expression (value) with parens to
3954ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
3955Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
3956
3957Global source code changes/maintenance: All extra lines at the start and
3958end of each source file have been removed for consistency. Also, within
3959comments, all new sentences start with a single space instead of a double
3960space, again for consistency across the code base.
3961
3962Example Code and Data Size: These are the sizes for the OS-independent
3963acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3964debug version of the code includes the debug output trace mechanism and
3965has a much larger code and data size.
3966
3967  Previous Release:
3968    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
3969    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
3970  Current Release:
3971    Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
3972    Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3973
3974
39752) iASL Compiler/Disassembler and Tools:
3976
3977AcpiExec: Improved the algorithm used for memory leak/corruption
3978detection. Added some intelligence to the code that maintains the global
3979list of allocated memory. The list is now ordered by allocated memory
3980address, significantly improving performance. When running AcpiExec on
3981the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
3982on the platform and/or the environment. Note, this performance
3983enhancement affects the AcpiExec utility only, not the kernel-resident
3984ACPICA code.
3985
3986Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
3987the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
3988incorrect table offset reported for invalid opcodes. Report the original
398932-bit value for bad ACPI_NAMEs (as well as the repaired name.)
3990
3991Disassembler: Enhanced the -vt option to emit the binary table data in
3992hex format to assist with debugging.
3993
3994Fixed a potential filename buffer overflow in osunixdir.c. Increased the
3995size of file structure. Colin Ian King.
3996
3997----------------------------------------
399813 September 2012. Summary of changes for version 20120913:
3999
4000
40011) ACPICA Kernel-resident Subsystem:
4002
4003ACPI 5.0: Added two new notify types for the Hardware Error Notification
4004Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
4005and
4006MCE(6).
4007
4008Table Manager: Merged/removed duplicate code in the root table resize
4009functions. One function is external, the other is internal. Lv Zheng,
4010ACPICA
4011BZ 846.
4012
4013Makefiles: Completely removed the obsolete "Linux" makefiles under
4014acpica/generate/linux. These makefiles are obsolete and have been
4015replaced
4016by
4017the generic unix makefiles under acpica/generate/unix.
4018
4019Makefiles: Ensure that binary files always copied properly. Minor rule
4020change
4021to ensure that the final binary output files are always copied up to the
4022appropriate binary directory (bin32 or bin64.)
4023
4024Example Code and Data Size: These are the sizes for the OS-independent
4025acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4026debug
4027version of the code includes the debug output trace mechanism and has a
4028much
4029larger code and data size.
4030
4031  Previous Release:
4032    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4033    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4034  Current Release:
4035    Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4036    Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4037
4038
40392) iASL Compiler/Disassembler and Tools:
4040
4041Disassembler: Fixed a possible fault during the disassembly of resource
4042descriptors when a second parse is required because of the invocation of
4043external control methods within the table. With assistance from
4044adq@lidskialf.net. ACPICA BZ 976.
4045
4046iASL: Fixed a namepath optimization problem. An error can occur if the
4047parse
4048node that contains the namepath to be optimized does not have a parent
4049node
4050that is a named object. This change fixes the problem.
4051
4052iASL: Fixed a regression where the AML file is not deleted on errors. The
4053AML
4054output file should be deleted if there are any errors during the
4055compiler.
4056The
4057only exception is if the -f (force output) option is used. ACPICA BZ 974.
4058
4059iASL: Added a feature to automatically increase internal line buffer
4060sizes.
4061Via realloc(), automatically increase the internal line buffer sizes as
4062necessary to support very long source code lines. The current version of
4063the
4064preprocessor requires a buffer long enough to contain full source code
4065lines.
4066This change increases the line buffer(s) if the input lines go beyond the
4067current buffer size. This eliminates errors that occurred when a source
4068code
4069line was longer than the buffer.
4070
4071iASL: Fixed a problem with constant folding in method declarations. The
4072SyncLevel term is a ByteConstExpr, and incorrect code would be generated
4073if a
4074Type3 opcode was used.
4075
4076Debugger: Improved command help support. For incorrect argument count,
4077display
4078full help for the command. For help command itself, allow an argument to
4079specify a command.
4080
4081Test Suites: Several bug fixes for the ASLTS suite reduces the number of
4082errors during execution of the suite. Guan Chao.
4083
4084----------------------------------------
408516 August 2012. Summary of changes for version 20120816:
4086
4087
40881) ACPICA Kernel-resident Subsystem:
4089
4090Removed all use of the deprecated _GTS and _BFS predefined methods. The
4091_GTS
4092(Going To Sleep) and _BFS (Back From Sleep) methods are essentially
4093deprecated and will probably be removed from the ACPI specification.
4094Windows
4095does not invoke them, and reportedly never will. The final nail in the
4096coffin
4097is that the ACPI specification states that these methods must be run with
4098interrupts off, which is not going to happen in a kernel interpreter.
4099Note:
4100Linux has removed all use of the methods also. It was discovered that
4101invoking these functions caused failures on some machines, probably
4102because
4103they were never tested since Windows does not call them. Affects two
4104external
4105interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
4106ACPICA BZ 969.
4107
4108Implemented support for complex bit-packed buffers returned from the _PLD
4109(Physical Location of Device) predefined method. Adds a new external
4110interface, AcpiDecodePldBuffer that parses the buffer into a more usable
4111C
4112structure. Note: C Bitfields cannot be used for this type of predefined
4113structure since the memory layout of individual bitfields is not defined
4114by
4115the C language. In addition, there are endian concerns where a compiler
4116will
4117change the bitfield ordering based on the machine type. The new ACPICA
4118interface eliminates these issues, and should be called after _PLD is
4119executed. ACPICA BZ 954.
4120
4121Implemented a change to allow a scope change to root (via "Scope (\)")
4122during
4123execution of module-level ASL code (code that is executed at table load
4124time.) Lin Ming.
4125
4126Added the Windows8/Server2012 string for the _OSI method. This change
4127adds
4128a
4129new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
41302012.
4131
4132Added header support for the new ACPI tables DBG2 (Debug Port Table Type
41332)
4134and CSRT (Core System Resource Table).
4135
4136Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
4137names. This simplifies access to the buffers returned by these predefined
4138names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4139
4140GPE support: Removed an extraneous parameter from the various low-level
4141internal GPE functions. Tang Feng.
4142
4143Removed the linux makefiles from the unix packages. The generate/linux
4144makefiles are obsolete and have been removed from the unix tarball
4145release
4146packages. The replacement makefiles are under generate/unix, and there is
4147a
4148top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4149
4150Updates for Unix makefiles:
41511) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
41522) Update linker flags (move to end of command line) for AcpiExec
4153utility.
4154Guan Chao.
4155
4156Split ACPICA initialization functions to new file, utxfinit.c. Split from
4157utxface.c to improve modularity and reduce file size.
4158
4159Example Code and Data Size: These are the sizes for the OS-independent
4160acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4161debug version of the code includes the debug output trace mechanism and
4162has a
4163much larger code and data size.
4164
4165  Previous Release:
4166    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4167    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4168  Current Release:
4169    Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4170    Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4171
4172
41732) iASL Compiler/Disassembler and Tools:
4174
4175iASL: Fixed a problem with constant folding for fixed-length constant
4176expressions. The constant-folding code was not being invoked for constant
4177expressions that allow the use of type 3/4/5 opcodes to generate
4178constants
4179for expressions such as ByteConstExpr, WordConstExpr, etc. This could
4180result
4181in the generation of invalid AML bytecode. ACPICA BZ 970.
4182
4183iASL: Fixed a generation issue on newer versions of Bison. Newer versions
4184apparently automatically emit some of the necessary externals. This
4185change
4186handles these versions in order to eliminate generation warnings.
4187
4188Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
4189
4190Disassembler: Add support to decode _PLD buffers. The decoded buffer
4191appears
4192within comments in the output file.
4193
4194Debugger: Fixed a regression with the "Threads" command where
4195AE_BAD_PARAMETER was always returned.
4196
4197----------------------------------------
419811 July 2012. Summary of changes for version 20120711:
4199
42001) ACPICA Kernel-resident Subsystem:
4201
4202Fixed a possible fault in the return package object repair code. Fixes a
4203problem that can occur when a lone package object is wrapped with an
4204outer
4205package object in order to force conformance to the ACPI specification.
4206Can
4207affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
4208_DLM,
4209_CSD, _PSD, _TSD.
4210
4211Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
4212PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
4213ARB_DIS bit must be implemented in the host-dependent C3 processor power
4214state
4215support. Note, ARB_DIS is obsolete and only applies to older chipsets,
4216both
4217Intel and other vendors. (for Intel: ICH4-M and earlier)
4218
4219This change removes the code to disable/enable bus master arbitration
4220during
4221suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
4222causes
4223resume problems on some machines. The change has been in use for over
4224seven
4225years within Linux.
4226
4227Implemented two new external interfaces to support host-directed dynamic
4228ACPI
4229table load and unload. They are intended to simplify the host
4230implementation
4231of hot-plug support:
4232  AcpiLoadTable: Load an SSDT from a buffer into the namespace.
4233  AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
4234table.
4235See the ACPICA reference for additional details. Adds one new file,
4236components/tables/tbxfload.c
4237
4238Implemented and deployed two new interfaces for errors and warnings that
4239are
4240known to be caused by BIOS/firmware issues:
4241  AcpiBiosError: Prints "ACPI Firmware Error" message.
4242  AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
4243Deployed these new interfaces in the ACPICA Table Manager code for ACPI
4244table
4245and FADT errors. Additional deployment to be completed as appropriate in
4246the
4247future. The associated conditional macros are ACPI_BIOS_ERROR and
4248ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
4249ACPICA
4250BZ
4251843.
4252
4253Implicit notify support: ensure that no memory allocation occurs within a
4254critical region. This fix moves a memory allocation outside of the time
4255that a
4256spinlock is held. Fixes issues on systems that do not allow this
4257behavior.
4258Jung-uk Kim.
4259
4260Split exception code utilities and tables into a new file,
4261utilities/utexcep.c
4262
4263Example Code and Data Size: These are the sizes for the OS-independent
4264acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4265debug
4266version of the code includes the debug output trace mechanism and has a
4267much
4268larger code and data size.
4269
4270  Previous Release:
4271    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4272    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4273  Current Release:
4274    Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4275    Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4276
4277
42782) iASL Compiler/Disassembler and Tools:
4279
4280iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
4281of
42820. Jung-uk Kim.
4283
4284Debugger: Enhanced the "tables" command to emit additional information
4285about
4286the current set of ACPI tables, including the owner ID and flags decode.
4287
4288Debugger: Reimplemented the "unload" command to use the new
4289AcpiUnloadParentTable external interface. This command was disable
4290previously
4291due to need for an unload interface.
4292
4293AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
4294option
4295will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
4296
4297----------------------------------------
429820 June 2012. Summary of changes for version 20120620:
4299
4300
43011) ACPICA Kernel-resident Subsystem:
4302
4303Implemented support to expand the "implicit notify" feature to allow
4304multiple
4305devices to be notified by a single GPE. This feature automatically
4306generates a
4307runtime device notification in the absence of a BIOS-provided GPE control
4308method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
4309notify is
4310provided by ACPICA for Windows compatibility, and is a workaround for
4311BIOS
4312AML
4313code errors. See the description of the AcpiSetupGpeForWake interface in
4314the
4315APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
4316
4317Changed some comments and internal function names to simplify and ensure
4318correctness of the Linux code translation. No functional changes.
4319
4320Example Code and Data Size: These are the sizes for the OS-independent
4321acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4322debug
4323version of the code includes the debug output trace mechanism and has a
4324much
4325larger code and data size.
4326
4327  Previous Release:
4328    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4329    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4330  Current Release:
4331    Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4332    Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4333
4334
43352) iASL Compiler/Disassembler and Tools:
4336
4337Disassembler: Added support to emit short, commented descriptions for the
4338ACPI
4339predefined names in order to improve the readability of the disassembled
4340output. ACPICA BZ 959. Changes include:
4341  1) Emit descriptions for all standard predefined names (_INI, _STA,
4342_PRW,
4343etc.)
4344  2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
4345  3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
4346etc.)
4347
4348AcpiSrc: Fixed several long-standing Linux code translation issues.
4349Argument
4350descriptions in function headers are now translated properly to lower
4351case
4352and
4353underscores. ACPICA BZ 961. Also fixes translation problems such as
4354these:
4355(old -> new)
4356  i_aSL -> iASL
4357  00-7_f -> 00-7F
4358  16_k -> 16K
4359  local_fADT -> local_FADT
4360  execute_oSI -> execute_OSI
4361
4362iASL: Fixed a problem where null bytes were inadvertently emitted into
4363some
4364listing files.
4365
4366iASL: Added the existing debug options to the standard help screen. There
4367are
4368no longer two different help screens. ACPICA BZ 957.
4369
4370AcpiHelp: Fixed some typos in the various predefined name descriptions.
4371Also
4372expand some of the descriptions where appropriate.
4373
4374iASL: Fixed the -ot option (display compile times/statistics). Was not
4375working
4376properly for standard output; only worked for the debug file case.
4377
4378----------------------------------------
437918 May 2012. Summary of changes for version 20120518:
4380
4381
43821) ACPICA Core Subsystem:
4383
4384Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
4385defined
4386to block until asynchronous events such as notifies and GPEs have
4387completed.
4388Within ACPICA, it is only called before a notify or GPE handler is
4389removed/uninstalled. It also may be useful for the host OS within related
4390drivers such as the Embedded Controller driver. See the ACPICA reference
4391for
4392additional information. ACPICA BZ 868.
4393
4394ACPI Tables: Added a new error message for a possible overflow failure
4395during
4396the conversion of FADT 32-bit legacy register addresses to internal
4397common
439864-
4399bit GAS structure representation. The GAS has a one-byte "bit length"
4400field,
4401thus limiting the register length to 255 bits. ACPICA BZ 953.
4402
4403Example Code and Data Size: These are the sizes for the OS-independent
4404acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4405debug
4406version of the code includes the debug output trace mechanism and has a
4407much
4408larger code and data size.
4409
4410  Previous Release:
4411    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4412    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4413  Current Release:
4414    Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4415    Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4416
4417
44182) iASL Compiler/Disassembler and Tools:
4419
4420iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
4421macro.
4422This keyword was added late in the ACPI 5.0 release cycle and was not
4423implemented until now.
4424
4425Disassembler: Added support for Operation Region externals. Adds missing
4426support for operation regions that are defined in another table, and
4427referenced locally via a Field or BankField ASL operator. Now generates
4428the
4429correct External statement.
4430
4431Disassembler: Several additional fixes for the External() statement
4432generation
4433related to some ASL operators. Also, order the External() statements
4434alphabetically in the disassembler output. Fixes the External()
4435generation
4436for
4437the Create* field, Alias, and Scope operators:
4438 1) Create* buffer field operators - fix type mismatch warning on
4439disassembly
4440 2) Alias - implement missing External support
4441 3) Scope - fix to make sure all necessary externals are emitted.
4442
4443iASL: Improved pathname support. For include files, merge the prefix
4444pathname
4445with the file pathname and eliminate unnecessary components. Convert
4446backslashes in all pathnames to forward slashes, for readability. Include
4447file
4448pathname changes affect both #include and Include() type operators.
4449
4450iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
4451end
4452of a valid line by inserting a newline and then returning the EOF during
4453the
4454next call to GetNextLine. Prevents the line from being ignored due to EOF
4455condition.
4456
4457iASL: Implemented some changes to enhance the IDE support (-vi option.)
4458Error
4459and Warning messages are now correctly recognized for both the source
4460code
4461browser and the global error and warning counts.
4462
4463----------------------------------------
446420 April 2012. Summary of changes for version 20120420:
4465
4466
44671) ACPICA Core Subsystem:
4468
4469Implemented support for multiple notify handlers. This change adds
4470support
4471to
4472allow multiple system and device notify handlers on Device, Thermal Zone,
4473and
4474Processor objects. This can simplify the host OS notification
4475implementation.
4476Also re-worked and restructured the entire notify support code to
4477simplify
4478handler installation, handler removal, notify event queuing, and notify
4479dispatch to handler(s). Note: there can still only be two global notify
4480handlers - one for system notifies and one for device notifies. There are
4481no
4482changes to the existing handler install/remove interfaces. Lin Ming, Bob
4483Moore, Rafael Wysocki.
4484
4485Fixed a regression in the package repair code where the object reference
4486count was calculated incorrectly. Regression was introduced in the commit
4487"Support to add Package wrappers".
4488
4489Fixed a couple possible memory leaks in the AML parser, in the error
4490recovery
4491path. Jesper Juhl, Lin Ming.
4492
4493Example Code and Data Size: These are the sizes for the OS-independent
4494acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4495debug version of the code includes the debug output trace mechanism and
4496has a
4497much larger code and data size.
4498
4499  Previous Release:
4500    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4501    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4502  Current Release:
4503    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4504    Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4505
4506
45072) iASL Compiler/Disassembler and Tools:
4508
4509iASL: Fixed a problem with the resource descriptor support where the
4510length
4511of the StartDependentFn and StartDependentFnNoPrio descriptors were not
4512included in cumulative descriptor offset, resulting in incorrect values
4513for
4514resource tags within resource descriptors appearing after a
4515StartDependent*
4516descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
4517
4518iASL and Preprocessor: Implemented full support for the #line directive
4519to
4520correctly track original source file line numbers through the .i
4521preprocessor
4522output file - for error and warning messages.
4523
4524iASL: Expand the allowable byte constants for address space IDs.
4525Previously,
4526the allowable range was 0x80-0xFF (user-defined spaces), now the range is
45270x0A-0xFF to allow for custom and new IDs without changing the compiler.
4528
4529iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
4530
4531iASL: Add option to completely disable the preprocessor (-Pn).
4532
4533iASL: Now emit all error/warning messages to standard error (stderr) by
4534default (instead of the previous stdout).
4535
4536ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
4537Update
4538for resource descriptor offset fix above. Update/cleanup error output
4539routines. Enable and send iASL errors/warnings to an error logfile
4540(error.txt). Send all other iASL output to a logfile (compiler.txt).
4541Fixed
4542several extraneous "unrecognized operator" messages.
4543
4544----------------------------------------
454520 March 2012. Summary of changes for version 20120320:
4546
4547
45481) ACPICA Core Subsystem:
4549
4550Enhanced the sleep/wake interfaces to optionally execute the _GTS method
4551(Going To Sleep) and the _BFS method (Back From Sleep). Windows
4552apparently
4553does not execute these methods, and therefore these methods are often
4554untested. It has been seen on some systems where the execution of these
4555methods causes errors and also prevents the machine from entering S5. It
4556is
4557therefore suggested that host operating systems do not execute these
4558methods
4559by default. In the future, perhaps these methods can be optionally
4560executed
4561based on the age of the system and/or what is the newest version of
4562Windows
4563that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
4564and
4565AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
4566Ming.
4567
4568Fixed a problem where the length of the local/common FADT was set too
4569early.
4570The local FADT table length cannot be set to the common length until the
4571original length has been examined. There is code that checks the table
4572length
4573and sets various fields appropriately. This can affect older machines
4574with
4575early FADT versions. For example, this can cause inadvertent writes to
4576the
4577CST_CNT register. Julian Anastasov.
4578
4579Fixed a mapping issue related to a physical table override. Use the
4580deferred
4581mapping mechanism for tables loaded via the physical override OSL
4582interface.
4583This allows for early mapping before the virtual memory manager is
4584available.
4585Thomas Renninger, Bob Moore.
4586
4587Enhanced the automatic return-object repair code: Repair a common problem
4588with
4589predefined methods that are defined to return a variable-length Package
4590of
4591sub-objects. If there is only one sub-object, some BIOS ASL code
4592mistakenly
4593simply returns the single object instead of a Package with one sub-
4594object.
4595This new support will repair this error by wrapping a Package object
4596around
4597the original object, creating the correct and expected Package with one
4598sub-
4599object. Names that can be repaired in this manner include: _ALR, _CSD,
4600_HPX,
4601_MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
4602939.
4603
4604Changed the exception code returned for invalid ACPI paths passed as
4605parameters to external interfaces such as AcpiEvaluateObject. Was
4606AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
4607
4608Example Code and Data Size: These are the sizes for the OS-independent
4609acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4610debug
4611version of the code includes the debug output trace mechanism and has a
4612much
4613larger code and data size.
4614
4615  Previous Release:
4616    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
4617    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4618  Current Release:
4619    Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4620    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4621
4622
46232) iASL Compiler/Disassembler and Tools:
4624
4625iASL: Added the infrastructure and initial implementation of a integrated
4626C-
4627like preprocessor. This will simplify BIOS development process by
4628eliminating
4629the need for a separate preprocessing step during builds. On Windows, it
4630also
4631eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
4632features including full #define() macro support are still under
4633development.
4634These preprocessor directives are supported:
4635    #define
4636    #elif
4637    #else
4638    #endif
4639    #error
4640    #if
4641    #ifdef
4642    #ifndef
4643    #include
4644    #pragma message
4645    #undef
4646    #warning
4647In addition, these new command line options are supported:
4648    -D <symbol> Define symbol for preprocessor use
4649    -li         Create preprocessed output file (*.i)
4650    -P          Preprocess only and create preprocessor output file (*.i)
4651
4652Table Compiler: Fixed a problem where the equals operator within an
4653expression
4654did not work properly.
4655
4656Updated iASL to use the current versions of Bison/Flex. Updated the
4657Windows
4658project file to invoke these tools from the standard location. ACPICA BZ
4659904.
4660Versions supported:
4661    Flex for Windows:  V2.5.4
4662    Bison for Windows: V2.4.1
4663
4664----------------------------------------
466515 February 2012. Summary of changes for version 20120215:
4666
4667
46681) ACPICA Core Subsystem:
4669
4670There have been some major changes to the sleep/wake support code, as
4671described below (a - e).
4672
4673a) The AcpiLeaveSleepState has been split into two interfaces, similar to
4674AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
4675AcpiLeaveSleepStatePrep. This allows the host to perform actions between
4676the
4677time the _BFS method is called and the _WAK method is called. NOTE: all
4678hosts
4679must update their wake/resume code or else sleep/wake will not work
4680properly.
4681Rafael Wysocki.
4682
4683b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
4684_WAK
4685method. Some machines require that the GPEs are enabled before the _WAK
4686method
4687is executed. Thomas Renninger.
4688
4689c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
4690bit.
4691Some BIOS code assumes that WAK_STS will be cleared on resume and use it
4692to
4693determine whether the system is rebooting or resuming. Matthew Garrett.
4694
4695d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
4696Sleep) to
4697match the ACPI specification requirement. Rafael Wysocki.
4698
4699e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
4700registers within the V5 FADT. This support adds two new files:
4701hardware/hwesleep.c implements the support for the new registers. Moved
4702all
4703sleep/wake external interfaces to hardware/hwxfsleep.c.
4704
4705
4706Added a new OSL interface for ACPI table overrides,
4707AcpiOsPhysicalTableOverride. This interface allows the host to override a
4708table via a physical address, instead of the logical address required by
4709AcpiOsTableOverride. This simplifies the host implementation. Initial
4710implementation by Thomas Renninger. The ACPICA implementation creates a
4711single
4712shared function for table overrides that attempts both a logical and a
4713physical override.
4714
4715Expanded the OSL memory read/write interfaces to 64-bit data
4716(AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
4717transfer support for GAS register structures passed to AcpiRead and
4718AcpiWrite.
4719
4720Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
4721custom
4722build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
4723model.
4724See the ACPICA reference for details. ACPICA BZ 942. This option removes
4725about
472610% of the code and 5% of the static data, and the following hardware
4727ACPI
4728features become unavailable:
4729    PM Event and Control registers
4730    SCI interrupt (and handler)
4731    Fixed Events
4732    General Purpose Events (GPEs)
4733    Global Lock
4734    ACPI PM timer
4735    FACS table (Waking vectors and Global Lock)
4736
4737Updated the unix tarball directory structure to match the ACPICA git
4738source
4739tree. This ensures that the generic unix makefiles work properly (in
4740generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ
4741867.
4742
4743Updated the return value of the _REV predefined method to integer value 5
4744to
4745reflect ACPI 5.0 support.
4746
4747Moved the external ACPI PM timer interface prototypes to the public
4748acpixf.h
4749file where they belong.
4750
4751Example Code and Data Size: These are the sizes for the OS-independent
4752acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4753debug
4754version of the code includes the debug output trace mechanism and has a
4755much
4756larger code and data size.
4757
4758  Previous Release:
4759    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
4760    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
4761  Current Release:
4762    Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
4763    Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4764
4765
47662) iASL Compiler/Disassembler and Tools:
4767
4768Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
4769descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
4770incorrectly displayed.
4771
4772AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
4773specification.
4774
4775----------------------------------------
477611 January 2012. Summary of changes for version 20120111:
4777
4778
47791) ACPICA Core Subsystem:
4780
4781Implemented a new mechanism to allow host device drivers to check for
4782address
4783range conflicts with ACPI Operation Regions. Both SystemMemory and
4784SystemIO
4785address spaces are supported. A new external interface,
4786AcpiCheckAddressRange,
4787allows drivers to check an address range against the ACPI namespace. See
4788the
4789ACPICA reference for additional details. Adds one new file,
4790utilities/utaddress.c. Lin Ming, Bob Moore.
4791
4792Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
4793Control
4794and
4795Status registers, update the ACPI 5.0 flags, and update internal data
4796structures to handle an FADT larger than 256 bytes. The size of the ACPI
47975.0
4798FADT is 268 bytes.
4799
4800Updated all ACPICA copyrights and signons to 2012. Added the 2012
4801copyright to
4802all module headers and signons, including the standard Linux header. This
4803affects virtually every file in the ACPICA core subsystem, iASL compiler,
4804and
4805all ACPICA utilities.
4806
4807Example Code and Data Size: These are the sizes for the OS-independent
4808acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4809debug
4810version of the code includes the debug output trace mechanism and has a
4811much
4812larger code and data size.
4813
4814  Previous Release:
4815    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
4816    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
4817  Current Release:
4818    Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
4819    Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
4820
4821
48222) iASL Compiler/Disassembler and Tools:
4823
4824Disassembler: fixed a problem with the automatic resource tag generation
4825support. Fixes a problem where the resource tags are inadvertently not
4826constructed if the table being disassembled contains external references
4827to
4828control methods. Moved the actual construction of the tags to after the
4829final
4830namespace is constructed (after 2nd parse is invoked due to external
4831control
4832method references.) ACPICA BZ 941.
4833
4834Table Compiler: Make all "generic" operators caseless. These are the
4835operators
4836like UINT8, String, etc. Making these caseless improves ease-of-use.
4837ACPICA BZ
4838934.
4839
4840----------------------------------------
484123 November 2011. Summary of changes for version 20111123:
4842
48430) ACPI 5.0 Support:
4844
4845This release contains full support for the ACPI 5.0 specification, as
4846summarized below.
4847
4848Reduced Hardware Support:
4849-------------------------
4850
4851This support allows for ACPI systems without the usual ACPI hardware.
4852This
4853support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
4854will
4855not attempt to initialize or use any of the usual ACPI hardware. Note,
4856when
4857this flag is set, all of the following ACPI hardware is assumed to be not
4858present and is not initialized or accessed:
4859
4860    General Purpose Events (GPEs)
4861    Fixed Events (PM1a/PM1b and PM Control)
4862    Power Management Timer and Console Buttons (power/sleep)
4863    Real-time Clock Alarm
4864    Global Lock
4865    System Control Interrupt (SCI)
4866    The FACS is assumed to be non-existent
4867
4868ACPI Tables:
4869------------
4870
4871All new tables and updates to existing tables are fully supported in the
4872ACPICA headers (for use by device drivers), the disassembler, and the
4873iASL
4874Data Table Compiler. ACPI 5.0 defines these new tables:
4875
4876    BGRT        /* Boot Graphics Resource Table */
4877    DRTM        /* Dynamic Root of Trust for Measurement table */
4878    FPDT        /* Firmware Performance Data Table */
4879    GTDT        /* Generic Timer Description Table */
4880    MPST        /* Memory Power State Table */
4881    PCCT        /* Platform Communications Channel Table */
4882    PMTT        /* Platform Memory Topology Table */
4883    RASF        /* RAS Feature table */
4884
4885Operation Regions/SpaceIDs:
4886---------------------------
4887
4888All new operation regions are fully supported by the iASL compiler, the
4889disassembler, and the ACPICA runtime code (for dispatch to region
4890handlers.)
4891The new operation region Space IDs are:
4892
4893    GeneralPurposeIo
4894    GenericSerialBus
4895
4896Resource Descriptors:
4897---------------------
4898
4899All new ASL resource descriptors are fully supported by the iASL
4900compiler,
4901the
4902ASL/AML disassembler, and the ACPICA runtime Resource Manager code
4903(including
4904all new predefined resource tags). New descriptors are:
4905
4906    FixedDma
4907    GpioIo
4908    GpioInt
4909    I2cSerialBus
4910    SpiSerialBus
4911    UartSerialBus
4912
4913ASL/AML Operators, New and Modified:
4914------------------------------------
4915
4916One new operator is added, the Connection operator, which is used to
4917associate
4918a GeneralPurposeIo or GenericSerialBus resource descriptor with
4919individual
4920field objects within an operation region. Several new protocols are
4921associated
4922with the AccessAs operator. All are fully supported by the iASL compiler,
4923disassembler, and runtime ACPICA AML interpreter:
4924
4925    Connection                      // Declare Field Connection
4926attributes
4927    AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
4928    AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes
4929Protocol
4930    AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
4931    RawDataBuffer                       // Data type for Vendor Data
4932fields
4933
4934Predefined ASL/AML Objects:
4935---------------------------
4936
4937All new predefined objects/control-methods are supported by the iASL
4938compiler
4939and the ACPICA runtime validation/repair (arguments and return values.)
4940New
4941predefined names include the following:
4942
4943Standard Predefined Names (Objects or Control Methods):
4944    _AEI, _CLS, _CPC, _CWS, _DEP,
4945    _DLM, _EVT, _GCP, _CRT, _GWS,
4946    _HRV, _PRE, _PSE, _SRT, _SUB.
4947
4948Resource Tags (Names used to access individual fields within resource
4949descriptors):
4950    _DBT, _DPL, _DRS, _END, _FLC,
4951    _IOR, _LIN, _MOD, _PAR, _PHA,
4952    _PIN, _PPI, _POL, _RXL, _SLV,
4953    _SPE, _STB, _TXL, _VEN.
4954
4955ACPICA External Interfaces:
4956---------------------------
4957
4958Several new interfaces have been defined for use by ACPI-related device
4959drivers and other host OS services:
4960
4961AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
4962to
4963acquire and release AML mutexes that are defined in the DSDT/SSDT tables
4964provided by the BIOS. They are intended to be used in conjunction with
4965the
4966ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
4967mutual exclusion with the AML code/interpreter.
4968
4969AcpiGetEventResources: Returns the (formatted) resource descriptors as
4970defined
4971by the ACPI 5.0 _AEI object (ACPI Event Information).  This object
4972provides
4973resource descriptors associated with hardware-reduced platform events,
4974similar
4975to the AcpiGetCurrentResources interface.
4976
4977Operation Region Handlers: For General Purpose IO and Generic Serial Bus
4978operation regions, information about the Connection() object and any
4979optional
4980length information is passed to the region handler within the Context
4981parameter.
4982
4983AcpiBufferToResource: This interface converts a raw AML buffer containing
4984a
4985resource template or resource descriptor to the ACPI_RESOURCE internal
4986format
4987suitable for use by device drivers. Can be used by an operation region
4988handler
4989to convert the Connection() buffer object into a ACPI_RESOURCE.
4990
4991Miscellaneous/Tools/TestSuites:
4992-------------------------------
4993
4994Support for extended _HID names (Four alpha characters instead of three).
4995Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
4996Support for ACPI 5.0 features in the ASLTS test suite.
4997Fully updated documentation (ACPICA and iASL reference documents.)
4998
4999ACPI Table Definition Language:
5000-------------------------------
5001
5002Support for this language was implemented and released as a subsystem of
5003the
5004iASL compiler in 2010. (See the iASL compiler User Guide.)
5005
5006
5007Non-ACPI 5.0 changes for this release:
5008--------------------------------------
5009
50101) ACPICA Core Subsystem:
5011
5012Fix a problem with operation region declarations where a failure can
5013occur
5014if
5015the region name and an argument that evaluates to an object (such as the
5016region address) are in different namespace scopes. Lin Ming, ACPICA BZ
5017937.
5018
5019Do not abort an ACPI table load if an invalid space ID is found within.
5020This
5021will be caught later if the offending method is executed. ACPICA BZ 925.
5022
5023Fixed an issue with the FFixedHW space ID where the ID was not always
5024recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
5025
5026Fixed a problem with the 32-bit generation of the unix-specific OSL
5027(osunixxf.c). Lin Ming, ACPICA BZ 936.
5028
5029Several changes made to enable generation with the GCC 4.6 compiler.
5030ACPICA BZ
5031935.
5032
5033New error messages: Unsupported I/O requests (not 8/16/32 bit), and
5034Index/Bank
5035field registers out-of-range.
5036
50372) iASL Compiler/Disassembler and Tools:
5038
5039iASL: Implemented the __PATH__ operator, which returns the full pathname
5040of
5041the current source file.
5042
5043AcpiHelp: Automatically display expanded keyword information for all ASL
5044operators.
5045
5046Debugger: Add "Template" command to disassemble/dump resource template
5047buffers.
5048
5049Added a new master script to generate and execute the ASLTS test suite.
5050Automatically handles 32- and 64-bit generation. See tests/aslts.sh
5051
5052iASL: Fix problem with listing generation during processing of the
5053Switch()
5054operator where AML listing was disabled until the entire Switch block was
5055completed.
5056
5057iASL: Improve support for semicolon statement terminators. Fix "invalid
5058character" message for some cases when the semicolon is used. Semicolons
5059are
5060now allowed after every <Term> grammar element. ACPICA BZ 927.
5061
5062iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
5063923.
5064
5065Disassembler: Fix problem with disassembly of the DataTableRegion
5066operator
5067where an inadvertent "Unhandled deferred opcode" message could be
5068generated.
5069
50703) Example Code and Data Size
5071
5072These are the sizes for the OS-independent acpica.lib produced by the
5073Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
5074includes the debug output trace mechanism and has a much larger code and
5075data
5076size.
5077
5078  Previous Release:
5079    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5080    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5081  Current Release:
5082    Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5083    Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5084
5085----------------------------------------
508622 September 2011. Summary of changes for version 20110922:
5087
50880) ACPI 5.0 News:
5089
5090Support for ACPI 5.0 in ACPICA has been underway for several months and
5091will
5092be released at the same time that ACPI 5.0 is officially released.
5093
5094The ACPI 5.0 specification is on track for release in the next few
5095months.
5096
50971) ACPICA Core Subsystem:
5098
5099Fixed a problem where the maximum sleep time for the Sleep() operator was
5100intended to be limited to two seconds, but was inadvertently limited to
510120
5102seconds instead.
5103
5104Linux and Unix makefiles: Added header file dependencies to ensure
5105correct
5106generation of ACPICA core code and utilities. Also simplified the
5107makefiles
5108considerably through the use of the vpath variable to specify search
5109paths.
5110ACPICA BZ 924.
5111
51122) iASL Compiler/Disassembler and Tools:
5113
5114iASL: Implemented support to check the access length for all fields
5115created to
5116access named Resource Descriptor fields. For example, if a resource field
5117is
5118defined to be two bits, a warning is issued if a CreateXxxxField() is
5119used
5120with an incorrect bit length. This is implemented for all current
5121resource
5122descriptor names. ACPICA BZ 930.
5123
5124Disassembler: Fixed a byte ordering problem with the output of 24-bit and
512556-
5126bit integers.
5127
5128iASL: Fixed a couple of issues associated with variable-length package
5129objects. 1) properly handle constants like One, Ones, Zero -- do not make
5130a
5131VAR_PACKAGE when these are used as a package length. 2) Allow the
5132VAR_PACKAGE
5133opcode (in addition to PACKAGE) when validating object types for
5134predefined
5135names.
5136
5137iASL: Emit statistics for all output files (instead of just the ASL input
5138and
5139AML output). Includes listings, hex files, etc.
5140
5141iASL: Added -G option to the table compiler to allow the compilation of
5142custom
5143ACPI tables. The only part of a table that is required is the standard
514436-
5145byte
5146ACPI header.
5147
5148AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
5149headers),
5150which also adds correct 64-bit support. Also, now all output filenames
5151are
5152completely lower case.
5153
5154AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
5155loading table files. A warning is issued for any such tables. The only
5156exception is an FADT. This also fixes a possible fault when attempting to
5157load
5158non-AML tables. ACPICA BZ 932.
5159
5160AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
5161a
5162missing table terminator could cause a fault when using the -p option.
5163
5164AcpiSrc: Fixed a possible divide-by-zero fault when generating file
5165statistics.
5166
51673) Example Code and Data Size
5168
5169These are the sizes for the OS-independent acpica.lib produced by the
5170Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
5171includes the debug output trace mechanism and has a much larger code and
5172data
5173size.
5174
5175  Previous Release (VC 9.0):
5176    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5177    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5178  Current Release (VC 9.0):
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
5182
5183----------------------------------------
518423 June 2011. Summary of changes for version 20110623:
5185
51861) ACPI CA Core Subsystem:
5187
5188Updated the predefined name repair mechanism to not attempt repair of a
5189_TSS
5190return object if a _PSS object is present. We can only sort the _TSS
5191return
5192package if there is no _PSS within the same scope. This is because if
5193_PSS
5194is
5195present, the ACPI specification dictates that the _TSS Power Dissipation
5196field
5197is to be ignored, and therefore some BIOSs leave garbage values in the
5198_TSS
5199Power field(s). In this case, it is best to just return the _TSS package
5200as-
5201is. Reported by, and fixed with assistance from Fenghua Yu.
5202
5203Added an option to globally disable the control method return value
5204validation
5205and repair. This runtime option can be used to disable return value
5206repair
5207if
5208this is causing a problem on a particular machine. Also added an option
5209to
5210AcpiExec (-dr) to set this disable flag.
5211
5212All makefiles and project files: Major changes to improve generation of
5213ACPICA
5214tools. ACPICA BZ 912:
5215    Reduce default optimization levels to improve compatibility
5216    For Linux, add strict-aliasing=0 for gcc 4
5217    Cleanup and simplify use of command line defines
5218    Cleanup multithread library support
5219    Improve usage messages
5220
5221Linux-specific header: update handling of THREAD_ID and pthread. For the
522232-
5223bit case, improve casting to eliminate possible warnings, especially with
5224the
5225acpica tools.
5226
5227Example Code and Data Size: These are the sizes for the OS-independent
5228acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5229debug
5230version of the code includes the debug output trace mechanism and has a
5231much
5232larger code and data size.
5233
5234  Previous Release (VC 9.0):
5235    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5236    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5237  Current Release (VC 9.0):
5238    Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5239    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5240
52412) iASL Compiler/Disassembler and Tools:
5242
5243With this release, a new utility named "acpihelp" has been added to the
5244ACPICA
5245package. This utility summarizes the ACPI specification chapters for the
5246ASL
5247and AML languages. It generates under Linux/Unix as well as Windows, and
5248provides the following functionality:
5249    Find/display ASL operator(s) -- with description and syntax.
5250    Find/display ASL keyword(s) -- with exact spelling and descriptions.
5251    Find/display ACPI predefined name(s) -- with description, number
5252        of arguments, and the return value data type.
5253    Find/display AML opcode name(s) -- with opcode, arguments, and
5254grammar.
5255    Decode/display AML opcode -- with opcode name, arguments, and
5256grammar.
5257
5258Service Layers: Make multi-thread support configurable. Conditionally
5259compile
5260the multi-thread support so that threading libraries will not be linked
5261if
5262not
5263necessary. The only tool that requires multi-thread support is AcpiExec.
5264
5265iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
5266of
5267Bison appear to want the interface to yyerror to be a const char * (or at
5268least this is a problem when generating iASL on some systems.) ACPICA BZ
5269923
5270Pierre Lejeune.
5271
5272Tools: Fix for systems where O_BINARY is not defined. Only used for
5273Windows
5274versions of the tools.
5275
5276----------------------------------------
527727 May 2011. Summary of changes for version 20110527:
5278
52791) ACPI CA Core Subsystem:
5280
5281ASL Load() operator: Reinstate most restrictions on the incoming ACPI
5282table
5283signature. Now, only allow SSDT, OEMx, and a null signature. History:
5284    1) Originally, we checked the table signature for "SSDT" or "PSDT".
5285       (PSDT is now obsolete.)
5286    2) We added support for OEMx tables, signature "OEM" plus a fourth
5287       "don't care" character.
5288    3) Valid tables were encountered with a null signature, so we just
5289       gave up on validating the signature, (05/2008).
5290    4) We encountered non-AML tables such as the MADT, which caused
5291       interpreter errors and kernel faults. So now, we once again allow
5292       only SSDT, OEMx, and now, also a null signature. (05/2011).
5293
5294Added the missing _TDL predefined name to the global name list in order
5295to
5296enable validation. Affects both the core ACPICA code and the iASL
5297compiler.
5298
5299Example Code and Data Size: These are the sizes for the OS-independent
5300acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5301debug
5302version of the code includes the debug output trace mechanism and has a
5303much
5304larger code and data size.
5305
5306  Previous Release (VC 9.0):
5307    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5308    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5309  Current Release (VC 9.0):
5310    Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5311    Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5312
53132) iASL Compiler/Disassembler and Tools:
5314
5315Debugger/AcpiExec: Implemented support for "complex" method arguments on
5316the
5317debugger command line. This adds support beyond simple integers --
5318including
5319Strings, Buffers, and Packages. Includes support for nested packages.
5320Increased the default command line buffer size to accommodate these
5321arguments.
5322See the ACPICA reference for details and syntax. ACPICA BZ 917.
5323
5324Debugger/AcpiExec: Implemented support for "default" method arguments for
5325the
5326Execute/Debug command. Now, the debugger will always invoke a control
5327method
5328with the required number of arguments -- even if the command line
5329specifies
5330none or insufficient arguments. It uses default integer values for any
5331missing
5332arguments. Also fixes a bug where only six method arguments maximum were
5333supported instead of the required seven.
5334
5335Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
5336and
5337also return status in order to prevent buffer overruns. See the ACPICA
5338reference for details and syntax. ACPICA BZ 921
5339
5340iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
5341makefiles to simplify support for the two different but similar parser
5342generators, bison and yacc.
5343
5344Updated the generic unix makefile for gcc 4. The default gcc version is
5345now
5346expected to be 4 or greater, since options specific to gcc 4 are used.
5347
5348----------------------------------------
534913 April 2011. Summary of changes for version 20110413:
5350
53511) ACPI CA Core Subsystem:
5352
5353Implemented support to execute a so-called "orphan" _REG method under the
5354EC
5355device. This change will force the execution of a _REG method underneath
5356the
5357EC
5358device even if there is no corresponding operation region of type
5359EmbeddedControl. Fixes a problem seen on some machines and apparently is
5360compatible with Windows behavior. ACPICA BZ 875.
5361
5362Added more predefined methods that are eligible for automatic NULL
5363package
5364element removal. This change adds another group of predefined names to
5365the
5366list
5367of names that can be repaired by having NULL package elements dynamically
5368removed. This group are those methods that return a single variable-
5369length
5370package containing simple data types such as integers, buffers, strings.
5371This
5372includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
5373_PSL,
5374_Sx,
5375and _TZD. ACPICA BZ 914.
5376
5377Split and segregated all internal global lock functions to a new file,
5378evglock.c.
5379
5380Updated internal address SpaceID for DataTable regions. Moved this
5381internal
5382space
5383id in preparation for ACPI 5.0 changes that will include some new space
5384IDs.
5385This
5386change should not affect user/host code.
5387
5388Example Code and Data Size: These are the sizes for the OS-independent
5389acpica.lib
5390produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
5391version of
5392the code includes the debug output trace mechanism and has a much larger
5393code
5394and
5395data size.
5396
5397  Previous Release (VC 9.0):
5398    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5399    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5400  Current Release (VC 9.0):
5401    Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5402    Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5403
54042) iASL Compiler/Disassembler and Tools:
5405
5406iASL/DTC: Major update for new grammar features. Allow generic data types
5407in
5408custom ACPI tables. Field names are now optional. Any line can be split
5409to
5410multiple lines using the continuation char (\). Large buffers now use
5411line-
5412continuation character(s) and no colon on the continuation lines. See the
5413grammar
5414update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
5415Moore.
5416
5417iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
5418statements.
5419Since the parser stuffs a "zero" as the return value for these statements
5420(due
5421to
5422the underlying AML grammar), they were seen as "return with value" by the
5423iASL
5424semantic checking. They are now seen correctly as "null" return
5425statements.
5426
5427iASL: Check if a_REG declaration has a corresponding Operation Region.
5428Adds a
5429check for each _REG to ensure that there is in fact a corresponding
5430operation
5431region declaration in the same scope. If not, the _REG method is not very
5432useful
5433since it probably won't be executed. ACPICA BZ 915.
5434
5435iASL/DTC: Finish support for expression evaluation. Added a new
5436expression
5437parser
5438that implements c-style operator precedence and parenthesization. ACPICA
5439bugzilla
5440908.
5441
5442Disassembler/DTC: Remove support for () and <> style comments in data
5443tables.
5444Now
5445that DTC has full expression support, we don't want to have comment
5446strings
5447that
5448start with a parentheses or a less-than symbol. Now, only the standard /*
5449and
5450//
5451comments are supported, as well as the bracket [] comments.
5452
5453AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
5454"unusual"
5455headers in the acpidump file. Update the header validation to support
5456these
5457tables. Problem introduced in previous AcpiXtract version in the change
5458to
5459support "wrong checksum" error messages emitted by acpidump utility.
5460
5461iASL: Add a * option to generate all template files (as a synonym for
5462ALL)
5463as
5464in
5465"iasl -T *" or "iasl -T ALL".
5466
5467iASL/DTC: Do not abort compiler on fatal errors. We do not want to
5468completely
5469abort the compiler on "fatal" errors, simply should abort the current
5470compile.
5471This allows multiple compiles with a single (possibly wildcard) compiler
5472invocation.
5473
5474----------------------------------------
547516 March 2011. Summary of changes for version 20110316:
5476
54771) ACPI CA Core Subsystem:
5478
5479Fixed a problem caused by a _PRW method appearing at the namespace root
5480scope
5481during the setup of wake GPEs. A fault could occur if a _PRW directly
5482under
5483the
5484root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
5485
5486Implemented support for "spurious" Global Lock interrupts. On some
5487systems, a
5488global lock interrupt can occur without the pending flag being set. Upon
5489a
5490GL
5491interrupt, we now ensure that a thread is actually waiting for the lock
5492before
5493signaling GL availability. Rafael Wysocki, Bob Moore.
5494
5495Example Code and Data Size: These are the sizes for the OS-independent
5496acpica.lib
5497produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
5498version of
5499the code includes the debug output trace mechanism and has a much larger
5500code
5501and
5502data size.
5503
5504  Previous Release (VC 9.0):
5505    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5506    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5507  Current Release (VC 9.0):
5508    Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5509    Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5510
55112) iASL Compiler/Disassembler and Tools:
5512
5513Implemented full support for the "SLIC" ACPI table. Includes support in
5514the
5515header files, disassembler, table compiler, and template generator. Bob
5516Moore,
5517Lin Ming.
5518
5519AcpiXtract: Correctly handle embedded comments and messages from
5520AcpiDump.
5521Apparently some or all versions of acpidump will occasionally emit a
5522comment
5523like
5524"Wrong checksum", etc., into the dump file. This was causing problems for
5525AcpiXtract. ACPICA BZ 905.
5526
5527iASL: Fix the Linux makefile by removing an inadvertent double file
5528inclusion.
5529ACPICA BZ 913.
5530
5531AcpiExec: Update installation of operation region handlers. Install one
5532handler
5533for a user-defined address space. This is used by the ASL test suite
5534(ASLTS).
5535
5536----------------------------------------
553711 February 2011. Summary of changes for version 20110211:
5538
55391) ACPI CA Core Subsystem:
5540
5541Added a mechanism to defer _REG methods for some early-installed
5542handlers.
5543Most user handlers should be installed before call to
5544AcpiEnableSubsystem.
5545However, Event handlers and region handlers should be installed after
5546AcpiInitializeObjects. Override handlers for the "default" regions should
5547be
5548installed early, however. This change executes all _REG methods for the
5549default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
5550chicken/egg issues between them. ACPICA BZ 848.
5551
5552Implemented an optimization for GPE detection. This optimization will
5553simply
5554ignore GPE registers that contain no enabled GPEs -- there is no need to
5555read the register since this information is available internally. This
5556becomes more important on machines with a large GPE space. ACPICA
5557bugzilla
5558884. Lin Ming. Suggestion from Joe Liu.
5559
5560Removed all use of the highly unreliable FADT revision field. The
5561revision
5562number in the FADT has been found to be completely unreliable and cannot
5563be
5564trusted. Only the actual table length can be used to infer the version.
5565This
5566change updates the ACPICA core and the disassembler so that both no
5567longer
5568even look at the FADT version and instead depend solely upon the FADT
5569length.
5570
5571Fix an unresolved name issue for the no-debug and no-error-message source
5572generation cases. The _AcpiModuleName was left undefined in these cases,
5573but
5574it is actually needed as a parameter to some interfaces. Define
5575_AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
5576
5577Split several large files (makefiles and project files updated)
5578  utglobal.c   -> utdecode.c
5579  dbcomds.c    -> dbmethod.c dbnames.c
5580  dsopcode.c   -> dsargs.c dscontrol.c
5581  dsload.c     -> dsload2.c
5582  aslanalyze.c -> aslbtypes.c aslwalks.c
5583
5584Example Code and Data Size: These are the sizes for the OS-independent
5585acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5586debug version of the code includes the debug output trace mechanism and
5587has
5588a much larger code and data size.
5589
5590  Previous Release (VC 9.0):
5591    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5592    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5593  Current Release (VC 9.0):
5594    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5595    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5596
55972) iASL Compiler/Disassembler and Tools:
5598
5599iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
5600These are useful C-style macros with the standard definitions. ACPICA
5601bugzilla 898.
5602
5603iASL/DTC: Added support for integer expressions and labels. Support for
5604full
5605expressions for all integer fields in all ACPI tables. Support for labels
5606in
5607"generic" portions of tables such as UEFI. See the iASL reference manual.
5608
5609Debugger: Added a command to display the status of global handlers. The
5610"handlers" command will display op region, fixed event, and miscellaneous
5611global handlers. installation status -- and for op regions, whether
5612default
5613or user-installed handler will be used.
5614
5615iASL: Warn if reserved method incorrectly returns a value. Many
5616predefined
5617names are defined such that they do not return a value. If implemented as
5618a
5619method, issue a warning if such a name explicitly returns a value. ACPICA
5620Bugzilla 855.
5621
5622iASL: Added detection of GPE method name conflicts. Detects a conflict
5623where
5624there are two GPE methods of the form _Lxy and _Exy in the same scope.
5625(For
5626example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
5627
5628iASL/DTC: Fixed a couple input scanner issues with comments and line
5629numbers. Comment remover could get confused and miss a comment ending.
5630Fixed
5631a problem with line counter maintenance.
5632
5633iASL/DTC: Reduced the severity of some errors from fatal to error. There
5634is
5635no need to abort on simple errors within a field definition.
5636
5637Debugger: Simplified the output of the help command. All help output now
5638in
5639a single screen, instead of help subcommands. ACPICA Bugzilla 897.
5640
5641----------------------------------------
564212 January 2011. Summary of changes for version 20110112:
5643
56441) ACPI CA Core Subsystem:
5645
5646Fixed a race condition between method execution and namespace walks that
5647can
5648possibly cause a fault. The problem was apparently introduced in version
564920100528 as a result of a performance optimization that reduces the
5650number
5651of
5652namespace walks upon method exit by using the delete_namespace_subtree
5653function instead of the delete_namespace_by_owner function used
5654previously.
5655Bug is a missing namespace lock in the delete_namespace_subtree function.
5656dana.myers@oracle.com
5657
5658Fixed several issues and a possible fault with the automatic "serialized"
5659method support. History: This support changes a method to "serialized" on
5660the
5661fly if the method generates an AE_ALREADY_EXISTS error, indicating the
5662possibility that it cannot handle reentrancy. This fix repairs a couple
5663of
5664issues seen in the field, especially on machines with many cores:
5665
5666    1) Delete method children only upon the exit of the last thread,
5667       so as to not delete objects out from under other running threads
5668      (and possibly causing a fault.)
5669    2) Set the "serialized" bit for the method only upon the exit of the
5670       Last thread, so as to not cause deadlock when running threads
5671       attempt to exit.
5672    3) Cleanup the use of the AML "MethodFlags" and internal method flags
5673       so that there is no longer any confusion between the two.
5674
5675    Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
5676
5677Debugger: Now lock the namespace for duration of a namespace dump.
5678Prevents
5679issues if the namespace is changing dynamically underneath the debugger.
5680Especially affects temporary namespace nodes, since the debugger displays
5681these also.
5682
5683Updated the ordering of include files. The ACPICA headers should appear
5684before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
5685set
5686any necessary compiler-specific defines, etc. Affects the ACPI-related
5687tools
5688and utilities.
5689
5690Updated all ACPICA copyrights and signons to 2011. Added the 2011
5691copyright
5692to all module headers and signons, including the Linux header. This
5693affects
5694virtually every file in the ACPICA core subsystem, iASL compiler, and all
5695utilities.
5696
5697Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
5698project files for VC++ 6.0 are now obsolete. New project files can be
5699found
5700under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
5701details.
5702
5703Example Code and Data Size: These are the sizes for the OS-independent
5704acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5705debug version of the code includes the debug output trace mechanism and
5706has a
5707much larger code and data size.
5708
5709  Previous Release (VC 6.0):
5710    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
5711    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
5712  Current Release (VC 9.0):
5713    Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5714    Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5715
57162) iASL Compiler/Disassembler and Tools:
5717
5718iASL: Added generic data types to the Data Table compiler. Add "generic"
5719data
5720types such as UINT32, String, Unicode, etc., to simplify the generation
5721of
5722platform-defined tables such as UEFI. Lin Ming.
5723
5724iASL: Added listing support for the Data Table Compiler. Adds listing
5725support
5726(-l) to display actual binary output for each line of input code.
5727
5728----------------------------------------
572909 December 2010. Summary of changes for version 20101209:
5730
57311) ACPI CA Core Subsystem:
5732
5733Completed the major overhaul of the GPE support code that was begun in
5734July
57352010. Major features include: removal of _PRW execution in ACPICA (host
5736executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
5737changes to existing interfaces, simplification of GPE handler operation,
5738and
5739a handful of new interfaces:
5740
5741    AcpiUpdateAllGpes
5742    AcpiFinishGpe
5743    AcpiSetupGpeForWake
5744    AcpiSetGpeWakeMask
5745    One new file, evxfgpe.c to consolidate all external GPE interfaces.
5746
5747See the ACPICA Programmer Reference for full details and programming
5748information. See the new section 4.4 "General Purpose Event (GPE)
5749Support"
5750for a full overview, and section 8.7 "ACPI General Purpose Event
5751Management"
5752for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
5753Ming,
5754Bob Moore, Rafael Wysocki.
5755
5756Implemented a new GPE feature for Windows compatibility, the "Implicit
5757Wake
5758GPE Notify". This feature will automatically issue a Notify(2) on a
5759device
5760when a Wake GPE is received if there is no corresponding GPE method or
5761handler. ACPICA BZ 870.
5762
5763Fixed a problem with the Scope() operator during table parse and load
5764phase.
5765During load phase (table load or method execution), the scope operator
5766should
5767not enter the target into the namespace. Instead, it should open a new
5768scope
5769at the target location. Linux BZ 19462, ACPICA BZ 882.
5770
5771Example Code and Data Size: These are the sizes for the OS-independent
5772acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5773debug version of the code includes the debug output trace mechanism and
5774has a
5775much larger code and data size.
5776
5777  Previous Release:
5778    Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
5779    Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
5780  Current Release:
5781    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5782    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5783
57842) iASL Compiler/Disassembler and Tools:
5785
5786iASL: Relax the alphanumeric restriction on _CID strings. These strings
5787are
5788"bus-specific" per the ACPI specification, and therefore any characters
5789are
5790acceptable. The only checks that can be performed are for a null string
5791and
5792perhaps for a leading asterisk. ACPICA BZ 886.
5793
5794iASL: Fixed a problem where a syntax error that caused a premature EOF
5795condition on the source file emitted a very confusing error message. The
5796premature EOF is now detected correctly. ACPICA BZ 891.
5797
5798Disassembler: Decode the AccessSize within a Generic Address Structure
5799(byte
5800access, word access, etc.) Note, this field does not allow arbitrary bit
5801access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
5802
5803New: AcpiNames utility - Example namespace dump utility. Shows an example
5804of
5805ACPICA configuration for a minimal namespace dump utility. Uses table and
5806namespace managers, but no AML interpreter. Does not add any
5807functionality
5808over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
5809partition and configure ACPICA. ACPICA BZ 883.
5810
5811AML Debugger: Increased the debugger buffer size for method return
5812objects.
5813Was 4K, increased to 16K. Also enhanced error messages for debugger
5814method
5815execution, including the buffer overflow case.
5816
5817----------------------------------------
581813 October 2010. Summary of changes for version 20101013:
5819
58201) ACPI CA Core Subsystem:
5821
5822Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
5823now
5824clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
5825HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
5826
5827Changed the type of the predefined namespace object _TZ from ThermalZone
5828to
5829Device. This was found to be confusing to the host software that
5830processes
5831the various thermal zones, since _TZ is not really a ThermalZone.
5832However,
5833a
5834Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
5835Zhang.
5836
5837Added Windows Vista SP2 to the list of supported _OSI strings. The actual
5838string is "Windows 2006 SP2".
5839
5840Eliminated duplicate code in AcpiUtExecute* functions. Now that the
5841nsrepair
5842code automatically repairs _HID-related strings, this type of code is no
5843longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
5844878.
5845
5846Example Code and Data Size: These are the sizes for the OS-independent
5847acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5848debug version of the code includes the debug output trace mechanism and
5849has a
5850much larger code and data size.
5851
5852  Previous Release:
5853    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5854    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5855  Current Release:
5856    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5857    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5858
58592) iASL Compiler/Disassembler and Tools:
5860
5861iASL: Implemented additional compile-time validation for _HID strings.
5862The
5863non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
5864length
5865of
5866the string must be exactly seven or eight characters. For both _HID and
5867_CID
5868strings, all characters must be alphanumeric. ACPICA BZ 874.
5869
5870iASL: Allow certain "null" resource descriptors. Some BIOS code creates
5871descriptors that are mostly or all zeros, with the expectation that they
5872will
5873be filled in at runtime. iASL now allows this as long as there is a
5874"resource
5875tag" (name) associated with the descriptor, which gives the ASL a handle
5876needed to modify the descriptor. ACPICA BZ 873.
5877
5878Added single-thread support to the generic Unix application OSL.
5879Primarily
5880for iASL support, this change removes the use of semaphores in the
5881single-
5882threaded ACPICA tools/applications - increasing performance. The
5883_MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
5884option. ACPICA BZ 879.
5885
5886AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
5887support
5888for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
5889
5890iASL: Moved all compiler messages to a new file, aslmessages.h.
5891
5892----------------------------------------
589315 September 2010. Summary of changes for version 20100915:
5894
58951) ACPI CA Core Subsystem:
5896
5897Removed the AcpiOsDerivePciId OSL interface. The various host
5898implementations
5899of this function were not OS-dependent and are now obsolete and can be
5900removed from all host OSLs. This function has been replaced by
5901AcpiHwDerivePciId, which is now part of the ACPICA core code.
5902AcpiHwDerivePciId has been implemented without recursion. Adds one new
5903module, hwpci.c. ACPICA BZ 857.
5904
5905Implemented a dynamic repair for _HID and _CID strings. The following
5906problems are now repaired at runtime: 1) Remove a leading asterisk in the
5907string, and 2) the entire string is uppercased. Both repairs are in
5908accordance with the ACPI specification and will simplify host driver
5909code.
5910ACPICA BZ 871.
5911
5912The ACPI_THREAD_ID type is no longer configurable, internally it is now
5913always UINT64. This simplifies the ACPICA code, especially any printf
5914output.
5915UINT64 is the only common data type for all thread_id types across all
5916operating systems. It is now up to the host OSL to cast the native
5917thread_id
5918type to UINT64 before returning the value to ACPICA (via
5919AcpiOsGetThreadId).
5920Lin Ming, Bob Moore.
5921
5922Added the ACPI_INLINE type to enhance the ACPICA configuration. The
5923"inline"
5924keyword is not standard across compilers, and this type allows inline to
5925be
5926configured on a per-compiler basis. Lin Ming.
5927
5928Made the system global AcpiGbl_SystemAwakeAndRunning publically
5929available.
5930Added an extern for this boolean in acpixf.h. Some hosts utilize this
5931value
5932during suspend/restore operations. ACPICA BZ 869.
5933
5934All code that implements error/warning messages with the "ACPI:" prefix
5935has
5936been moved to a new module, utxferror.c.
5937
5938The UINT64_OVERLAY was moved to utmath.c, which is the only module where
5939it
5940is used. ACPICA BZ 829. Lin Ming, Bob Moore.
5941
5942Example Code and Data Size: These are the sizes for the OS-independent
5943acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5944debug version of the code includes the debug output trace mechanism and
5945has a
5946much larger code and data size.
5947
5948  Previous Release:
5949    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
5950    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
5951  Current Release:
5952    Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5953    Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5954
59552) iASL Compiler/Disassembler and Tools:
5956
5957iASL/Disassembler: Write ACPI errors to stderr instead of the output
5958file.
5959This keeps the output files free of random error messages that may
5960originate
5961from within the namespace/interpreter code. Used this opportunity to
5962merge
5963all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
5964866. Lin Ming, Bob Moore.
5965
5966Tools: update some printfs for ansi warnings on size_t. Handle width
5967change
5968of size_t on 32-bit versus 64-bit generations. Lin Ming.
5969
5970----------------------------------------
597106 August 2010. Summary of changes for version 20100806:
5972
59731) ACPI CA Core Subsystem:
5974
5975Designed and implemented a new host interface to the _OSI support code.
5976This
5977will allow the host to dynamically add or remove multiple _OSI strings,
5978as
5979well as install an optional handler that is called for each _OSI
5980invocation.
5981Also added a new AML debugger command, 'osi' to display and modify the
5982global
5983_OSI string table, and test support in the AcpiExec utility. See the
5984ACPICA
5985reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
5986New Functions:
5987    AcpiInstallInterface - Add an _OSI string.
5988    AcpiRemoveInterface - Delete an _OSI string.
5989    AcpiInstallInterfaceHandler - Install optional _OSI handler.
5990Obsolete Functions:
5991    AcpiOsValidateInterface - no longer used.
5992New Files:
5993    source/components/utilities/utosi.c
5994
5995Re-introduced the support to enable multi-byte transfers for Embedded
5996Controller (EC) operation regions. A reported problem was found to be a
5997bug
5998in the host OS, not in the multi-byte support. Previously, the maximum
5999data
6000size passed to the EC operation region handler was a single byte. There
6001are
6002often EC Fields larger than one byte that need to be transferred, and it
6003is
6004useful for the EC driver to lock these as a single transaction. This
6005change
6006enables single transfers larger than 8 bits. This effectively changes the
6007access to the EC space from ByteAcc to AnyAcc, and will probably require
6008changes to the host OS Embedded Controller driver to enable 16/32/64/256-
6009bit
6010transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
6011
6012Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
6013prototype in acpiosxf.h had the output value pointer as a (void *).
6014It should be a (UINT64 *). This may affect some host OSL code.
6015
6016Fixed a couple problems with the recently modified Linux makefiles for
6017iASL
6018and AcpiExec. These new makefiles place the generated object files in the
6019local directory so that there can be no collisions between the files that
6020are
6021shared between them that are compiled with different options.
6022
6023Example Code and Data Size: These are the sizes for the OS-independent
6024acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6025debug version of the code includes the debug output trace mechanism and
6026has a
6027much larger code and data size.
6028
6029  Previous Release:
6030    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6031    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6032  Current Release:
6033    Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6034    Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6035
60362) iASL Compiler/Disassembler and Tools:
6037
6038iASL/Disassembler: Added a new option (-da, "disassemble all") to load
6039the
6040namespace from and disassemble an entire group of AML files. Useful for
6041loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
6042and
6043disassembling with one simple command. ACPICA BZ 865. Lin Ming.
6044
6045iASL: Allow multiple invocations of -e option. This change allows
6046multiple
6047uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
6048834.
6049Lin Ming.
6050
6051----------------------------------------
605202 July 2010. Summary of changes for version 20100702:
6053
60541) ACPI CA Core Subsystem:
6055
6056Implemented several updates to the recently added GPE reference count
6057support. The model for "wake" GPEs is changing to give the host OS
6058complete
6059control of these GPEs. Eventually, the ACPICA core will not execute any
6060_PRW
6061methods, since the host already must execute them. Also, additional
6062changes
6063were made to help ensure that the reference counts are kept in proper
6064synchronization with reality. Rafael J. Wysocki.
6065
60661) Ensure that GPEs are not enabled twice during initialization.
60672) Ensure that GPE enable masks stay in sync with the reference count.
60683) Do not inadvertently enable GPEs when writing GPE registers.
60694) Remove the internal wake reference counter and add new AcpiGpeWakeup
6070interface. This interface will set or clear individual GPEs for wakeup.
60715) Remove GpeType argument from AcpiEnable and AcpiDisable. These
6072interfaces
6073are now used for "runtime" GPEs only.
6074
6075Changed the behavior of the GPE install/remove handler interfaces. The
6076GPE
6077is
6078no longer disabled during this process, as it was found to cause problems
6079on
6080some machines. Rafael J. Wysocki.
6081
6082Reverted a change introduced in version 20100528 to enable Embedded
6083Controller multi-byte transfers. This change was found to cause problems
6084with
6085Index Fields and possibly Bank Fields. It will be reintroduced when these
6086problems have been resolved.
6087
6088Fixed a problem with references to Alias objects within Package Objects.
6089A
6090reference to an Alias within the definition of a Package was not always
6091resolved properly. Aliases to objects like Processors, Thermal zones,
6092etc.
6093were resolved to the actual object instead of a reference to the object
6094as
6095it
6096should be. Package objects are only allowed to contain integer, string,
6097buffer, package, and reference objects. Redhat bugzilla 608648.
6098
6099Example Code and Data Size: These are the sizes for the OS-independent
6100acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6101debug version of the code includes the debug output trace mechanism and
6102has a
6103much larger code and data size.
6104
6105  Previous Release:
6106    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6107    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6108  Current Release:
6109    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6110    Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6111
61122) iASL Compiler/Disassembler and Tools:
6113
6114iASL: Implemented a new compiler subsystem to allow definition and
6115compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
6116These
6117are called "ACPI Data Tables", and the new compiler is the "Data Table
6118Compiler". This compiler is intended to simplify the existing error-prone
6119process of creating these tables for the BIOS, as well as allowing the
6120disassembly, modification, recompilation, and override of existing ACPI
6121data
6122tables. See the iASL User Guide for detailed information.
6123
6124iASL: Implemented a new Template Generator option in support of the new
6125Data
6126Table Compiler. This option will create examples of all known ACPI tables
6127that can be used as the basis for table development. See the iASL
6128documentation and the -T option.
6129
6130Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
6131Descriptor Table).
6132
6133Updated the Linux makefiles for iASL and AcpiExec to place the generated
6134object files in the local directory so that there can be no collisions
6135between the shared files between them that are generated with different
6136options.
6137
6138Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
6139Use
6140the #define __APPLE__ to enable this support.
6141
6142----------------------------------------
614328 May 2010. Summary of changes for version 20100528:
6144
6145Note: The ACPI 4.0a specification was released on April 5, 2010 and is
6146available at www.acpi.info. This is primarily an errata release.
6147
61481) ACPI CA Core Subsystem:
6149
6150Undefined ACPI tables: We are looking for the definitions for the
6151following
6152ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6153
6154Implemented support to enable multi-byte transfers for Embedded
6155Controller
6156(EC) operation regions. Previously, the maximum data size passed to the
6157EC
6158operation region handler was a single byte. There are often EC Fields
6159larger
6160than one byte that need to be transferred, and it is useful for the EC
6161driver
6162to lock these as a single transaction. This change enables single
6163transfers
6164larger than 8 bits. This effectively changes the access to the EC space
6165from
6166ByteAcc to AnyAcc, and will probably require changes to the host OS
6167Embedded
6168Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
6169bit
6170transfers. Alexey Starikovskiy, Lin Ming
6171
6172Implemented a performance enhancement for namespace search and access.
6173This
6174change enhances the performance of namespace searches and walks by adding
6175a
6176backpointer to the parent in each namespace node. On large namespaces,
6177this
6178change can improve overall ACPI performance by up to 9X. Adding a pointer
6179to
6180each namespace node increases the overall size of the internal namespace
6181by
6182about 5%, since each namespace entry usually consists of both a namespace
6183node and an ACPI operand object. However, this is the first growth of the
6184namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
6185
6186Implemented a performance optimization that reduces the number of
6187namespace
6188walks. On control method exit, only walk the namespace if the method is
6189known
6190to have created namespace objects outside of its local scope. Previously,
6191the
6192entire namespace was traversed on each control method exit. This change
6193can
6194improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
6195Moore.
6196
6197Added support to truncate I/O addresses to 16 bits for Windows
6198compatibility.
6199Some ASL code has been seen in the field that inadvertently has bits set
6200above bit 15. This feature is optional and is enabled if the BIOS
6201requests
6202any Windows OSI strings. It can also be enabled by the host OS. Matthew
6203Garrett, Bob Moore.
6204
6205Added support to limit the maximum time for the ASL Sleep() operator. To
6206prevent accidental deep sleeps, limit the maximum time that Sleep() will
6207actually sleep. Configurable, the default maximum is two seconds. ACPICA
6208bugzilla 854.
6209
6210Added run-time validation support for the _WDG and_WED Microsoft
6211predefined
6212methods. These objects are defined by "Windows Instrumentation", and are
6213not
6214part of the ACPI spec. ACPICA BZ 860.
6215
6216Expanded all statistic counters used during namespace and device
6217initialization from 16 to 32 bits in order to support very large
6218namespaces.
6219
6220Replaced all instances of %d in printf format specifiers with %u since
6221nearly
6222all integers in ACPICA are unsigned.
6223
6224Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
6225returned
6226as AE_NO_HANDLER.
6227
6228Example Code and Data Size: These are the sizes for the OS-independent
6229acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6230debug version of the code includes the debug output trace mechanism and
6231has a
6232much larger code and data size.
6233
6234  Previous Release:
6235    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6236    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6237  Current Release:
6238    Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6239    Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6240
62412) iASL Compiler/Disassembler and Tools:
6242
6243iASL: Added compiler support for the _WDG and_WED Microsoft predefined
6244methods. These objects are defined by "Windows Instrumentation", and are
6245not
6246part of the ACPI spec. ACPICA BZ 860.
6247
6248AcpiExec: added option to disable the memory tracking mechanism. The -dt
6249option will disable the tracking mechanism, which improves performance
6250considerably.
6251
6252AcpiExec: Restructured the command line options into -d (disable) and -e
6253(enable) options.
6254
6255----------------------------------------
625628 April 2010. Summary of changes for version 20100428:
6257
62581) ACPI CA Core Subsystem:
6259
6260Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
6261including FADT-based and GPE Block Devices, execute any _PRW methods in
6262the
6263new table, and process any _Lxx/_Exx GPE methods in the new table. Any
6264runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
6265immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
6266Devices. Provides compatibility with other ACPI implementations. Two new
6267files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
6268Moore.
6269
6270Fixed a regression introduced in version 20100331 within the table
6271manager
6272where initial table loading could fail. This was introduced in the fix
6273for
6274AcpiReallocateRootTable. Also, renamed some of fields in the table
6275manager
6276data structures to clarify their meaning and use.
6277
6278Fixed a possible allocation overrun during internal object copy in
6279AcpiUtCopySimpleObject. The original code did not correctly handle the
6280case
6281where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
6282847.
6283
6284Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
6285possible access beyond end-of-allocation. Also, now fully validate
6286descriptor
6287(size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
6288
6289Example Code and Data Size: These are the sizes for the OS-independent
6290acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6291debug version of the code includes the debug output trace mechanism and
6292has a
6293much larger code and data size.
6294
6295  Previous Release:
6296    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6297    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6298  Current Release:
6299    Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6300    Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6301
63022) iASL Compiler/Disassembler and Tools:
6303
6304iASL: Implemented Min/Max/Len/Gran validation for address resource
6305descriptors. This change implements validation for the address fields
6306that
6307are common to all address-type resource descriptors. These checks are
6308implemented: Checks for valid Min/Max, length within the Min/Max window,
6309valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
6310per
6311table 6-40 in the ACPI 4.0a specification. Also split the large
6312aslrestype1.c
6313and aslrestype2.c files into five new files. ACPICA BZ 840.
6314
6315iASL: Added support for the _Wxx predefined names. This support was
6316missing
6317and these names were not recognized by the compiler as valid predefined
6318names. ACPICA BZ 851.
6319
6320iASL: Added an error for all predefined names that are defined to return
6321no
6322value and thus must be implemented as Control Methods. These include all
6323of
6324the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
6325names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
6326
6327iASL: Implemented the -ts option to emit hex AML data in ASL format, as
6328an
6329ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
6330be
6331dynamically loaded via the Load() operator. Also cleaned up output for
6332the
6333-
6334ta and -tc options. ACPICA BZ 853.
6335
6336Tests: Added a new file with examples of extended iASL error checking.
6337Demonstrates the advanced error checking ability of the iASL compiler.
6338Available at tests/misc/badcode.asl.
6339
6340----------------------------------------
634131 March 2010. Summary of changes for version 20100331:
6342
63431) ACPI CA Core Subsystem:
6344
6345Completed a major update for the GPE support in order to improve support
6346for
6347shared GPEs and to simplify both host OS and ACPICA code. Added a
6348reference
6349count mechanism to support shared GPEs that require multiple device
6350drivers.
6351Several external interfaces have changed. One external interface has been
6352removed. One new external interface was added. Most of the GPE external
6353interfaces now use the GPE spinlock instead of the events mutex (and the
6354Flags parameter for many GPE interfaces has been removed.) See the
6355updated
6356ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
6357Rafael
6358Wysocki. ACPICA BZ 831.
6359
6360Changed:
6361    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
6362Removed:
6363    AcpiSetGpeType
6364New:
6365    AcpiSetGpe
6366
6367Implemented write support for DataTable operation regions. These regions
6368are
6369defined via the DataTableRegion() operator. Previously, only read support
6370was
6371implemented. The ACPI specification allows DataTableRegions to be
6372read/write,
6373however.
6374
6375Implemented a new subsystem option to force a copy of the DSDT to local
6376memory. Optionally copy the entire DSDT to local memory (instead of
6377simply
6378mapping it.) There are some (albeit very rare) BIOSs that corrupt or
6379replace
6380the original DSDT, creating the need for this option. Default is FALSE,
6381do
6382not copy the DSDT.
6383
6384Implemented detection of a corrupted or replaced DSDT. This change adds
6385support to detect a DSDT that has been corrupted and/or replaced from
6386outside
6387the OS (by firmware). This is typically catastrophic for the system, but
6388has
6389been seen on some machines. Once this problem has been detected, the DSDT
6390copy option can be enabled via system configuration. Lin Ming, Bob Moore.
6391
6392Fixed two problems with AcpiReallocateRootTable during the root table
6393copy.
6394When copying the root table to the new allocation, the length used was
6395incorrect. The new size was used instead of the current table size,
6396meaning
6397too much data was copied. Also, the count of available slots for ACPI
6398tables
6399was not set correctly. Alexey Starikovskiy, Bob Moore.
6400
6401Example Code and Data Size: These are the sizes for the OS-independent
6402acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6403debug version of the code includes the debug output trace mechanism and
6404has a
6405much larger code and data size.
6406
6407  Previous Release:
6408    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6409    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6410  Current Release:
6411    Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6412    Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6413
64142) iASL Compiler/Disassembler and Tools:
6415
6416iASL: Implement limited typechecking for values returned from predefined
6417control methods. The type of any returned static (unnamed) object is now
6418validated. For example, Return(1). ACPICA BZ 786.
6419
6420iASL: Fixed a predefined name object verification regression. Fixes a
6421problem
6422introduced in version 20100304. An error is incorrectly generated if a
6423predefined name is declared as a static named object with a value defined
6424using the keywords "Zero", "One", or "Ones". Lin Ming.
6425
6426iASL: Added Windows 7 support for the -g option (get local ACPI tables)
6427by
6428reducing the requested registry access rights. ACPICA BZ 842.
6429
6430Disassembler: fixed a possible fault when generating External()
6431statements.
6432Introduced in commit ae7d6fd: Properly handle externals with parent-
6433prefix
6434(carat). Fixes a string length allocation calculation. Lin Ming.
6435
6436----------------------------------------
643704 March 2010. Summary of changes for version 20100304:
6438
64391) ACPI CA Core Subsystem:
6440
6441Fixed a possible problem with the AML Mutex handling function
6442AcpiExReleaseMutex where the function could fault under the very rare
6443condition when the interpreter has blocked, the interpreter lock is
6444released,
6445the interpreter is then reentered via the same thread, and attempts to
6446acquire an AML mutex that was previously acquired. FreeBSD report 140979.
6447Lin
6448Ming.
6449
6450Implemented additional configuration support for the AML "Debug Object".
6451Output from the debug object can now be enabled via a global variable,
6452AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
6453debugging.
6454This debug output is now available in the release version of ACPICA
6455instead
6456of just the debug version. Also, the entire debug output module can now
6457be
6458configured out of the ACPICA build if desired. One new file added,
6459executer/exdebug.c. Lin Ming, Bob Moore.
6460
6461Added header support for the ACPI MCHI table (Management Controller Host
6462Interface Table). This table was added in ACPI 4.0, but the defining
6463document
6464has only recently become available.
6465
6466Standardized output of integer values for ACPICA warnings/errors. Always
6467use
64680x prefix for hex output, always use %u for unsigned integer decimal
6469output.
6470Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
6471400
6472invocations.) These invocations were converted from the original
6473ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
6474
6475Example Code and Data Size: These are the sizes for the OS-independent
6476acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6477debug version of the code includes the debug output trace mechanism and
6478has a
6479much larger code and data size.
6480
6481  Previous Release:
6482    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6483    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6484  Current Release:
6485    Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6486    Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6487
64882) iASL Compiler/Disassembler and Tools:
6489
6490iASL: Implemented typechecking support for static (non-control method)
6491predefined named objects that are declared with the Name() operator. For
6492example, the type of this object is now validated to be of type Integer:
6493Name(_BBN, 1). This change migrates the compiler to using the core
6494predefined
6495name table instead of maintaining a local version. Added a new file,
6496aslpredef.c. ACPICA BZ 832.
6497
6498Disassembler: Added support for the ACPI 4.0 MCHI table.
6499
6500----------------------------------------
650121 January 2010. Summary of changes for version 20100121:
6502
65031) ACPI CA Core Subsystem:
6504
6505Added the 2010 copyright to all module headers and signons. This affects
6506virtually every file in the ACPICA core subsystem, the iASL compiler, the
6507tools/utilities, and the test suites.
6508
6509Implemented a change to the AcpiGetDevices interface to eliminate
6510unnecessary
6511invocations of the _STA method. In the case where a specific _HID is
6512requested, do not run _STA until a _HID match is found. This eliminates
6513potentially dozens of _STA calls during a search for a particular
6514device/HID,
6515which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
6516
6517Implemented an additional repair for predefined method return values.
6518Attempt
6519to repair unexpected NULL elements within returned Package objects.
6520Create
6521an
6522Integer of value zero, a NULL String, or a zero-length Buffer as
6523appropriate.
6524ACPICA BZ 818. Lin Ming, Bob Moore.
6525
6526Removed the obsolete ACPI_INTEGER data type. This type was introduced as
6527the
6528code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
6529(with
653064-bit AML integers). It is now obsolete and this change removes it from
6531the
6532ACPICA code base, replaced by UINT64. The original typedef has been
6533retained
6534for now for compatibility with existing device driver code. ACPICA BZ
6535824.
6536
6537Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
6538in
6539the parse tree object.
6540
6541Added additional warning options for the gcc-4 generation. Updated the
6542source
6543accordingly. This includes some code restructuring to eliminate
6544unreachable
6545code, elimination of some gotos, elimination of unused return values,
6546some
6547additional casting, and removal of redundant declarations.
6548
6549Example Code and Data Size: These are the sizes for the OS-independent
6550acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6551debug version of the code includes the debug output trace mechanism and
6552has a
6553much larger code and data size.
6554
6555  Previous Release:
6556    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6557    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6558  Current Release:
6559    Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6560    Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6561
65622) iASL Compiler/Disassembler and Tools:
6563
6564No functional changes for this release.
6565
6566----------------------------------------
656714 December 2009. Summary of changes for version 20091214:
6568
65691) ACPI CA Core Subsystem:
6570
6571Enhanced automatic data type conversions for predefined name repairs.
6572This
6573change expands the automatic repairs/conversions for predefined name
6574return
6575values to make Integers, Strings, and Buffers fully interchangeable.
6576Also,
6577a
6578Buffer can be converted to a Package of Integers if necessary. The
6579nsrepair.c
6580module was completely restructured. Lin Ming, Bob Moore.
6581
6582Implemented automatic removal of null package elements during predefined
6583name
6584repairs. This change will automatically remove embedded and trailing NULL
6585package elements from returned package objects that are defined to
6586contain
6587a
6588variable number of sub-packages. The driver is then presented with a
6589package
6590with no null elements to deal with. ACPICA BZ 819.
6591
6592Implemented a repair for the predefined _FDE and _GTM names. The expected
6593return value for both names is a Buffer of 5 DWORDs. This repair fixes
6594two
6595possible problems (both seen in the field), where a package of integers
6596is
6597returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
6598Kim.
6599
6600Implemented additional module-level code support. This change will
6601properly
6602execute module-level code that is not at the root of the namespace (under
6603a
6604Device object, etc.). Now executes the code within the current scope
6605instead
6606of the root. ACPICA BZ 762. Lin Ming.
6607
6608Fixed possible mutex acquisition errors when running _REG methods. Fixes
6609a
6610problem where mutex errors can occur when running a _REG method that is
6611in
6612the same scope as a method-defined operation region or an operation
6613region
6614under a module-level IF block. This type of code is rare, so the problem
6615has
6616not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
6617
6618Fixed a possible memory leak during module-level code execution. An
6619object
6620could be leaked for each block of executed module-level code if the
6621interpreter slack mode is enabled This change deletes any implicitly
6622returned
6623object from the module-level code block. Lin Ming.
6624
6625Removed messages for successful predefined repair(s). The repair
6626mechanism
6627was considered too wordy. Now, messages are only unconditionally emitted
6628if
6629the return object cannot be repaired. Existing messages for successful
6630repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
6631827.
6632
6633Example Code and Data Size: These are the sizes for the OS-independent
6634acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6635debug version of the code includes the debug output trace mechanism and
6636has a
6637much larger code and data size.
6638
6639  Previous Release:
6640    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
6641    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
6642  Current Release:
6643    Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6644    Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6645
66462) iASL Compiler/Disassembler and Tools:
6647
6648iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
6649files
6650were no longer automatically removed at the termination of the compile.
6651
6652acpiexec: Implemented the -f option to specify default region fill value.
6653This option specifies the value used to initialize buffers that simulate
6654operation regions. Default value is zero. Useful for debugging problems
6655that
6656depend on a specific initial value for a region or field.
6657
6658----------------------------------------
665912 November 2009. Summary of changes for version 20091112:
6660
66611) ACPI CA Core Subsystem:
6662
6663Implemented a post-order callback to AcpiWalkNamespace. The existing
6664interface only has a pre-order callback. This change adds an additional
6665parameter for a post-order callback which will be more useful for bus
6666scans.
6667ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
6668
6669Modified the behavior of the operation region memory mapping cache for
6670SystemMemory. Ensure that the memory mappings created for operation
6671regions
6672do not cross 4K page boundaries. Crossing a page boundary while mapping
6673regions can cause kernel warnings on some hosts if the pages have
6674different
6675attributes. Such regions are probably BIOS bugs, and this is the
6676workaround.
6677Linux BZ 14445. Lin Ming.
6678
6679Implemented an automatic repair for predefined methods that must return
6680sorted lists. This change will repair (by sorting) packages returned by
6681_ALR,
6682_PSS, and _TSS. Drivers can now assume that the packages are correctly
6683sorted
6684and do not contain NULL package elements. Adds one new file,
6685namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
6686
6687Fixed a possible fault during predefined name validation if a return
6688Package
6689object contains NULL elements. Also adds a warning if a NULL element is
6690followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
6691may
6692include repair or removal of all such NULL elements where possible.
6693
6694Implemented additional module-level executable AML code support. This
6695change
6696will execute module-level code that is not at the root of the namespace
6697(under a Device object, etc.) at table load time. Module-level executable
6698AML
6699code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
6700
6701Implemented a new internal function to create Integer objects. This
6702function
6703simplifies miscellaneous object creation code. ACPICA BZ 823.
6704
6705Reduced the severity of predefined repair messages, Warning to Info.
6706Since
6707the object was successfully repaired, a warning is too severe. Reduced to
6708an
6709info message for now. These messages may eventually be changed to debug-
6710only.
6711ACPICA BZ 812.
6712
6713Example Code and Data Size: These are the sizes for the OS-independent
6714acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6715debug version of the code includes the debug output trace mechanism and
6716has a
6717much larger code and data size.
6718
6719  Previous Release:
6720    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
6721    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
6722  Current Release:
6723    Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
6724    Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
6725
67262) iASL Compiler/Disassembler and Tools:
6727
6728iASL: Implemented Switch() with While(1) so that Break works correctly.
6729This
6730change correctly implements the Switch operator with a surrounding
6731While(1)
6732so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
6733
6734iASL: Added a message if a package initializer list is shorter than
6735package
6736length. Adds a new remark for a Package() declaration if an initializer
6737list
6738exists, but is shorter than the declared length of the package. Although
6739technically legal, this is probably a coding error and it is seen in the
6740field. ACPICA BZ 815. Lin Ming, Bob Moore.
6741
6742iASL: Fixed a problem where the compiler could fault after the maximum
6743number
6744of errors was reached (200).
6745
6746acpixtract: Fixed a possible warning for pointer cast if the compiler
6747warning
6748level set very high.
6749
6750----------------------------------------
675113 October 2009. Summary of changes for version 20091013:
6752
67531) ACPI CA Core Subsystem:
6754
6755Fixed a problem where an Operation Region _REG method could be executed
6756more
6757than once. If a custom address space handler is installed by the host
6758before
6759the "initialize operation regions" phase of the ACPICA initialization,
6760any
6761_REG methods for that address space could be executed twice. This change
6762fixes the problem. ACPICA BZ 427. Lin Ming.
6763
6764Fixed a possible memory leak for the Scope() ASL operator. When the exact
6765invocation of "Scope(\)" is executed (change scope to root), one internal
6766operand object was leaked. Lin Ming.
6767
6768Implemented a run-time repair for the _MAT predefined method. If the _MAT
6769return value is defined as a Field object in the AML, and the field
6770size is less than or equal to the default width of an integer (32 or
677164),_MAT
6772can incorrectly return an Integer instead of a Buffer. ACPICA now
6773automatically repairs this problem. ACPICA BZ 810.
6774
6775Implemented a run-time repair for the _BIF and _BIX predefined methods.
6776The
6777"OEM Information" field is often incorrectly returned as an Integer with
6778value zero if the field is not supported by the platform. This is due to
6779an
6780ambiguity in the ACPI specification. The field should always be a string.
6781ACPICA now automatically repairs this problem by returning a NULL string
6782within the returned Package. ACPICA BZ 807.
6783
6784Example Code and Data Size: These are the sizes for the OS-independent
6785acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6786debug version of the code includes the debug output trace mechanism and
6787has a
6788much larger code and data size.
6789
6790  Previous Release:
6791    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
6792    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
6793  Current Release:
6794    Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
6795    Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
6796
67972) iASL Compiler/Disassembler and Tools:
6798
6799Disassembler: Fixed a problem where references to external symbols that
6800contained one or more parent-prefixes (carats) were not handled
6801correctly,
6802possibly causing a fault. ACPICA BZ 806. Lin Ming.
6803
6804Disassembler: Restructured the code so that all functions that handle
6805external symbols are in a single module. One new file is added,
6806common/dmextern.c.
6807
6808AML Debugger: Added a max count argument for the Batch command (which
6809executes multiple predefined methods within the namespace.)
6810
6811iASL: Updated the compiler documentation (User Reference.) Available at
6812http://www.acpica.org/documentation/. ACPICA BZ 750.
6813
6814AcpiXtract: Updated for Lint and other formatting changes. Close all open
6815files.
6816
6817----------------------------------------
681803 September 2009. Summary of changes for version 20090903:
6819
68201) ACPI CA Core Subsystem:
6821
6822For Windows Vista compatibility, added the automatic execution of an _INI
6823method located at the namespace root (\_INI). This method is executed at
6824table load time. This support is in addition to the automatic execution
6825of
6826\_SB._INI. Lin Ming.
6827
6828Fixed a possible memory leak in the interpreter for AML package objects
6829if
6830the package initializer list is longer than the defined size of the
6831package.
6832This apparently can only happen if the BIOS changes the package size on
6833the
6834fly (seen in a _PSS object), as ASL compilers do not allow this. The
6835interpreter will truncate the package to the defined size (and issue an
6836error
6837message), but previously could leave the extra objects undeleted if they
6838were
6839pre-created during the argument processing (such is the case if the
6840package
6841consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
6842
6843Fixed a problem seen when a Buffer or String is stored to itself via ASL.
6844This has been reported in the field. Previously, ACPICA would zero out
6845the
6846buffer/string. Now, the operation is treated as a noop. Provides Windows
6847compatibility. ACPICA BZ 803. Lin Ming.
6848
6849Removed an extraneous error message for ASL constructs of the form
6850Store(LocalX,LocalX) when LocalX is uninitialized. These curious
6851statements
6852are seen in many BIOSs and are once again treated as NOOPs and no error
6853is
6854emitted when they are encountered. ACPICA BZ 785.
6855
6856Fixed an extraneous warning message if a _DSM reserved method returns a
6857Package object. _DSM can return any type of object, so validation on the
6858return type cannot be performed. ACPICA BZ 802.
6859
6860Example Code and Data Size: These are the sizes for the OS-independent
6861acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6862debug version of the code includes the debug output trace mechanism and
6863has a
6864much larger code and data size.
6865
6866  Previous Release:
6867    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
6868    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
6869  Current Release:
6870    Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
6871    Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
6872
68732) iASL Compiler/Disassembler and Tools:
6874
6875iASL: Fixed a problem with the use of the Alias operator and Resource
6876Templates. The correct alias is now constructed and no error is emitted.
6877ACPICA BZ 738.
6878
6879iASL: Implemented the -I option to specify additional search directories
6880for
6881include files. Allows multiple additional search paths for include files.
6882Directories are searched in the order specified on the command line
6883(after
6884the local directory is searched.) ACPICA BZ 800.
6885
6886iASL: Fixed a problem where the full pathname for include files was not
6887emitted for warnings/errors. This caused the IDE support to not work
6888properly. ACPICA BZ 765.
6889
6890iASL: Implemented the -@ option to specify a Windows-style response file
6891containing additional command line options. ACPICA BZ 801.
6892
6893AcpiExec: Added support to load multiple AML files simultaneously (such
6894as
6895a
6896DSDT and multiple SSDTs). Also added support for wildcards within the AML
6897pathname. These features allow all machine tables to be easily loaded and
6898debugged together. ACPICA BZ 804.
6899
6900Disassembler: Added missing support for disassembly of HEST table Error
6901Bank
6902subtables.
6903
6904----------------------------------------
690530 July 2009. Summary of changes for version 20090730:
6906
6907The ACPI 4.0 implementation for ACPICA is complete with this release.
6908
69091) ACPI CA Core Subsystem:
6910
6911ACPI 4.0: Added header file support for all new and changed ACPI tables.
6912Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
6913new
6914for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
6915BERT,
6916EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
6917There
6918have been some ACPI 4.0 changes to other existing tables. Split the large
6919actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
6920
6921ACPI 4.0: Implemented predefined name validation for all new names. There
6922are
692331 new names in ACPI 4.0. The predefined validation module was split into
6924two
6925files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
6926
6927Implemented support for so-called "module-level executable code". This is
6928executable AML code that exists outside of any control method and is
6929intended
6930to be executed at table load time. Although illegal since ACPI 2.0, this
6931type
6932of code still exists and is apparently still being created. Blocks of
6933this
6934code are now detected and executed as intended. Currently, the code
6935blocks
6936must exist under either an If, Else, or While construct; these are the
6937typical cases seen in the field. ACPICA BZ 762. Lin Ming.
6938
6939Implemented an automatic dynamic repair for predefined names that return
6940nested Package objects. This applies to predefined names that are defined
6941to
6942return a variable-length Package of sub-packages. If the number of sub-
6943packages is one, BIOS code is occasionally seen that creates a simple
6944single
6945package with no sub-packages. This code attempts to fix the problem by
6946wrapping a new package object around the existing package. These methods
6947can
6948be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
6949BZ
6950790.
6951
6952Fixed a regression introduced in 20090625 for the AcpiGetDevices
6953interface.
6954The _HID/_CID matching was broken and no longer matched IDs correctly.
6955ACPICA
6956BZ 793.
6957
6958Fixed a problem with AcpiReset where the reset would silently fail if the
6959register was one of the protected I/O ports. AcpiReset now bypasses the
6960port
6961validation mechanism. This may eventually be driven into the
6962AcpiRead/Write
6963interfaces.
6964
6965Fixed a regression related to the recent update of the AcpiRead/Write
6966interfaces. A sleep/suspend could fail if the optional PM2 Control
6967register
6968does not exist during an attempt to write the Bus Master Arbitration bit.
6969(However, some hosts already delete the code that writes this bit, and
6970the
6971code may in fact be obsolete at this date.) ACPICA BZ 799.
6972
6973Fixed a problem where AcpiTerminate could fault if inadvertently called
6974twice
6975in succession. ACPICA BZ 795.
6976
6977Example Code and Data Size: These are the sizes for the OS-independent
6978acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6979debug version of the code includes the debug output trace mechanism and
6980has a
6981much larger code and data size.
6982
6983  Previous Release:
6984    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
6985    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
6986  Current Release:
6987    Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
6988    Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
6989
69902) iASL Compiler/Disassembler and Tools:
6991
6992ACPI 4.0: Implemented disassembler support for all new ACPI tables and
6993changes to existing tables. ACPICA BZ 775.
6994
6995----------------------------------------
699625 June 2009. Summary of changes for version 20090625:
6997
6998The ACPI 4.0 Specification was released on June 16 and is available at
6999www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
7000continue for the next few releases.
7001
70021) ACPI CA Core Subsystem:
7003
7004ACPI 4.0: Implemented interpreter support for the IPMI operation region
7005address space. Includes support for bi-directional data buffers and an
7006IPMI
7007address space handler (to be installed by an IPMI device driver.) ACPICA
7008BZ
7009773. Lin Ming.
7010
7011ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
7012Includes
7013support in both the header files and the disassembler.
7014
7015Completed a major update for the AcpiGetObjectInfo external interface.
7016Changes include:
7017 - Support for variable, unlimited length HID, UID, and CID strings.
7018 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
7019etc.)
7020 - Call the _SxW power methods on behalf of a device object.
7021 - Determine if a device is a PCI root bridge.
7022 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
7023These changes will require an update to all callers of this interface.
7024See
7025the updated ACPICA Programmer Reference for details. One new source file
7026has
7027been added - utilities/utids.c. ACPICA BZ 368, 780.
7028
7029Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
7030transfers. The Value parameter has been extended from 32 bits to 64 bits
7031in
7032order to support new ACPI 4.0 tables. These changes will require an
7033update
7034to
7035all callers of these interfaces. See the ACPICA Programmer Reference for
7036details. ACPICA BZ 768.
7037
7038Fixed several problems with AcpiAttachData. The handler was not invoked
7039when
7040the host node was deleted. The data sub-object was not automatically
7041deleted
7042when the host node was deleted. The interface to the handler had an
7043unused
7044parameter, this was removed. ACPICA BZ 778.
7045
7046Enhanced the function that dumps ACPI table headers. All non-printable
7047characters in the string fields are now replaced with '?' (Signature,
7048OemId,
7049OemTableId, and CompilerId.) ACPI tables with non-printable characters in
7050these fields are occasionally seen in the field. ACPICA BZ 788.
7051
7052Fixed a problem with predefined method repair code where the code that
7053attempts to repair/convert an object of incorrect type is only executed
7054on
7055the first time the predefined method is called. The mechanism that
7056disables
7057warnings on subsequent calls was interfering with the repair mechanism.
7058ACPICA BZ 781.
7059
7060Fixed a possible memory leak in the predefined validation/repair code
7061when
7062a
7063buffer is automatically converted to an expected string object.
7064
7065Removed obsolete 16-bit files from the distribution and from the current
7066git
7067tree head. ACPICA BZ 776.
7068
7069Example Code and Data Size: These are the sizes for the OS-independent
7070acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7071debug version of the code includes the debug output trace mechanism and
7072has a
7073much larger code and data size.
7074
7075  Previous Release:
7076    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7077    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7078  Current Release:
7079    Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7080    Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7081
70822) iASL Compiler/Disassembler and Tools:
7083
7084ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
7085operation region keyword. ACPICA BZ 771, 772. Lin Ming.
7086
7087ACPI 4.0: iASL - implemented compile-time validation support for all new
7088predefined names and control methods (31 total). ACPICA BZ 769.
7089
7090----------------------------------------
709121 May 2009. Summary of changes for version 20090521:
7092
70931) ACPI CA Core Subsystem:
7094
7095Disabled the preservation of the SCI enable bit in the PM1 control
7096register.
7097The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
7098to
7099be
7100a "preserved" bit - "OSPM always preserves this bit position", section
71014.7.3.2.1. However, some machines fail if this bit is in fact preserved
7102because the bit needs to be explicitly set by the OS as a workaround. No
7103machines fail if the bit is not preserved. Therefore, ACPICA no longer
7104attempts to preserve this bit.
7105
7106Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
7107incorrectly formed _PRT package could cause a fault. Added validation to
7108ensure that each package element is actually a sub-package.
7109
7110Implemented a new interface to install or override a single control
7111method,
7112AcpiInstallMethod. This interface is useful when debugging in order to
7113repair
7114an existing method or to install a missing method without having to
7115override
7116the entire ACPI table. See the ACPICA Programmer Reference for use and
7117examples. Lin Ming, Bob Moore.
7118
7119Fixed several reference count issues with the DdbHandle object that is
7120created from a Load or LoadTable operator. Prevent premature deletion of
7121the
7122object. Also, mark the object as invalid once the table has been
7123unloaded.
7124This is needed because the handle itself may not be deleted after the
7125table
7126unload, depending on whether it has been stored in a named object by the
7127caller. Lin Ming.
7128
7129Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
7130mutexes of the same sync level are acquired but then not released in
7131strict
7132opposite order, the internally maintained Current Sync Level becomes
7133confused
7134and can cause subsequent execution errors. ACPICA BZ 471.
7135
7136Changed the allowable release order for ASL mutex objects. The ACPI 4.0
7137specification has been changed to make the SyncLevel for mutex objects
7138more
7139useful. When releasing a mutex, the SyncLevel of the mutex must now be
7140the
7141same as the current sync level. This makes more sense than the previous
7142rule
7143(SyncLevel less than or equal). This change updates the code to match the
7144specification.
7145
7146Fixed a problem with the local version of the AcpiOsPurgeCache function.
7147The
7148(local) cache must be locked during all cache object deletions. Andrew
7149Baumann.
7150
7151Updated the Load operator to use operation region interfaces. This
7152replaces
7153direct memory mapping with region access calls. Now, all region accesses
7154go
7155through the installed region handler as they should.
7156
7157Simplified and optimized the NsGetNextNode function. Reduced parameter
7158count
7159and reduced code for this frequently used function.
7160
7161Example Code and Data Size: These are the sizes for the OS-independent
7162acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7163debug version of the code includes the debug output trace mechanism and
7164has a
7165much larger code and data size.
7166
7167  Previous Release:
7168    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7169    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7170  Current Release:
7171    Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7172    Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7173
71742) iASL Compiler/Disassembler and Tools:
7175
7176Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
7177problems
7178with sub-table disassembly and handling invalid sub-tables. Attempt
7179recovery
7180after an invalid sub-table ID.
7181
7182----------------------------------------
718322 April 2009. Summary of changes for version 20090422:
7184
71851) ACPI CA Core Subsystem:
7186
7187Fixed a compatibility issue with the recently released I/O port
7188protection
7189mechanism. For windows compatibility, 1) On a port protection violation,
7190simply ignore the request and do not return an exception (allow the
7191control
7192method to continue execution.) 2) If only part of the request overlaps a
7193protected port, read/write the individual ports that are not protected.
7194Linux
7195BZ 13036. Lin Ming
7196
7197Enhanced the execution of the ASL/AML BreakPoint operator so that it
7198actually
7199breaks into the AML debugger if the debugger is present. This matches the
7200ACPI-defined behavior.
7201
7202Fixed several possible warnings related to the use of the configurable
7203ACPI_THREAD_ID. This type can now be configured as either an integer or a
7204pointer with no warnings. Also fixes several warnings in printf-like
7205statements for the 64-bit build when the type is configured as a pointer.
7206ACPICA BZ 766, 767.
7207
7208Fixed a number of possible warnings when compiling with gcc 4+ (depending
7209on
7210warning options.) Examples include printf formats, aliasing, unused
7211globals,
7212missing prototypes, missing switch default statements, use of non-ANSI
7213library functions, use of non-ANSI constructs. See generate/unix/Makefile
7214for
7215a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
7216
7217Example Code and Data Size: These are the sizes for the OS-independent
7218acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7219debug version of the code includes the debug output trace mechanism and
7220has a
7221much larger code and data size.
7222
7223  Previous Release:
7224    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7225    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7226  Current Release:
7227    Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7228    Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7229
72302) iASL Compiler/Disassembler and Tools:
7231
7232iASL: Fixed a generation warning from Bison 2.3 and fixed several
7233warnings
7234on
7235the 64-bit build.
7236
7237iASL: Fixed a problem where the Unix/Linux versions of the compiler could
7238not
7239correctly digest Windows/DOS formatted files (with CR/LF).
7240
7241iASL: Added a new option for "quiet mode" (-va) that produces only the
7242compilation summary, not individual errors and warnings. Useful for large
7243batch compilations.
7244
7245AcpiExec: Implemented a new option (-z) to enable a forced
7246semaphore/mutex
7247timeout that can be used to detect hang conditions during execution of
7248AML
7249code (includes both internal semaphores and AML-defined mutexes and
7250events.)
7251
7252Added new makefiles for the generation of acpica in a generic unix-like
7253environment. These makefiles are intended to generate the acpica tools
7254and
7255utilities from the original acpica git source tree structure.
7256
7257Test Suites: Updated and cleaned up the documentation files. Updated the
7258copyrights to 2009, affecting all source files. Use the new version of
7259iASL
7260with quiet mode. Increased the number of available semaphores in the
7261Windows
7262OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
7263added
7264an alternate implementation of the semaphore timeout to allow aslts to
7265execute fully on Cygwin.
7266
7267----------------------------------------
726820 March 2009. Summary of changes for version 20090320:
7269
72701) ACPI CA Core Subsystem:
7271
7272Fixed a possible race condition between AcpiWalkNamespace and dynamic
7273table
7274unloads. Added a reader/writer locking mechanism to allow multiple
7275concurrent
7276namespace walks (readers), but block a dynamic table unload until it can
7277gain
7278exclusive write access to the namespace. This fixes a problem where a
7279table
7280unload could (possibly catastrophically) delete the portion of the
7281namespace
7282that is currently being examined by a walk. Adds a new file, utlock.c,
7283that
7284implements the reader/writer lock mechanism. ACPICA BZ 749.
7285
7286Fixed a regression introduced in version 20090220 where a change to the
7287FADT
7288handling could cause the ACPICA subsystem to access non-existent I/O
7289ports.
7290
7291Modified the handling of FADT register and table (FACS/DSDT) addresses.
7292The
7293FADT can contain both 32-bit and 64-bit versions of these addresses.
7294Previously, the 64-bit versions were favored, meaning that if both 32 and
729564
7296versions were valid, but not equal, the 64-bit version was used. This was
7297found to cause some machines to fail. Now, in this case, the 32-bit
7298version
7299is used instead. This now matches the Windows behavior.
7300
7301Implemented a new mechanism to protect certain I/O ports. Provides
7302Microsoft
7303compatibility and protects the standard PC I/O ports from access via AML
7304code. Adds a new file, hwvalid.c
7305
7306Fixed a possible extraneous warning message from the FADT support. The
7307message warns of a 32/64 length mismatch between the legacy and GAS
7308definitions for a register.
7309
7310Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
7311is
7312made obsolete by the port protection mechanism above. It was previously
7313used
7314to validate the entire address range of an operation region, which could
7315be
7316incorrect if the range included illegal ports, but fields within the
7317operation region did not actually access those ports. Validation is now
7318performed on a per-field basis instead of the entire region.
7319
7320Modified the handling of the PM1 Status Register ignored bit (bit 11.)
7321Ignored bits must be "preserved" according to the ACPI spec. Usually,
7322this
7323means a read/modify/write when writing to the register. However, for
7324status
7325registers, writing a one means clear the event. Writing a zero means
7326preserve
7327the event (do not clear.) This behavior is clarified in the ACPI 4.0
7328spec,
7329and the ACPICA code now simply always writes a zero to the ignored bit.
7330
7331Modified the handling of ignored bits for the PM1 A/B Control Registers.
7332As
7333per the ACPI specification, for the control registers, preserve
7334(read/modify/write) all bits that are defined as either reserved or
7335ignored.
7336
7337Updated the handling of write-only bits in the PM1 A/B Control Registers.
7338When reading the register, zero the write-only bits as per the ACPI spec.
7339ACPICA BZ 443. Lin Ming.
7340
7341Removed "Linux" from the list of supported _OSI strings. Linux no longer
7342wants to reply true to this request. The Windows strings are the only
7343paths
7344through the AML that are tested and known to work properly.
7345
7346  Previous Release:
7347    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7348    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7349  Current Release:
7350    Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7351    Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7352
73532) iASL Compiler/Disassembler and Tools:
7354
7355Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
7356and
7357aetables.c
7358
7359----------------------------------------
736020 February 2009. Summary of changes for version 20090220:
7361
73621) ACPI CA Core Subsystem:
7363
7364Optimized the ACPI register locking. Removed locking for reads from the
7365ACPI
7366bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
7367is
7368not required when reading the single-bit registers. The
7369AcpiGetRegisterUnlocked function is no longer needed and has been
7370removed.
7371This will improve performance for reads on these registers. ACPICA BZ
7372760.
7373
7374Fixed the parameter validation for AcpiRead/Write. Now return
7375AE_BAD_PARAMETER if the input register pointer is null, and
7376AE_BAD_ADDRESS
7377if
7378the register has an address of zero. Previously, these cases simply
7379returned
7380AE_OK. For optional registers such as PM1B status/enable/control, the
7381caller
7382should check for a valid register address before calling. ACPICA BZ 748.
7383
7384Renamed the external ACPI bit register access functions. Renamed
7385AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
7386functions. The new names are AcpiReadBitRegister and
7387AcpiWriteBitRegister.
7388Also, restructured the code for these functions by simplifying the code
7389path
7390and condensing duplicate code to reduce code size.
7391
7392Added new functions to transparently handle the possibly split PM1 A/B
7393registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
7394functions
7395now handle the split registers for PM1 Status, Enable, and Control.
7396ACPICA
7397BZ
7398746.
7399
7400Added a function to handle the PM1 control registers,
7401AcpiHwWritePm1Control.
7402This function writes both of the PM1 control registers (A/B). These
7403registers
7404are different than the PM1 A/B status and enable registers in that
7405different
7406values can be written to the A/B registers. Most notably, the SLP_TYP
7407bits
7408can be different, as per the values returned from the _Sx predefined
7409methods.
7410
7411Removed an extra register write within AcpiHwClearAcpiStatus. This
7412function
7413was writing an optional PM1B status register twice. The existing call to
7414the
7415low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
7416A/B
7417register. ACPICA BZ 751.
7418
7419Split out the PM1 Status registers from the FADT. Added new globals for
7420these
7421registers (A/B), similar to the way the PM1 Enable registers are handled.
7422Instead of overloading the FADT Event Register blocks. This makes the
7423code
7424clearer and less prone to error.
7425
7426Fixed the warning message for when the platform contains too many ACPI
7427tables
7428for the default size of the global root table data structure. The
7429calculation
7430for the truncation value was incorrect.
7431
7432Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
7433obsolete macro, since it is now a simple reference to ->common.type.
7434There
7435were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
7436
7437Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
7438TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
7439simply SLEEP_TYPE. ACPICA BZ 754.
7440
7441Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
7442function is only needed on 64-bit host operating systems and is thus not
7443included for 32-bit hosts.
7444
7445Debug output: print the input and result for invocations of the _OSI
7446reserved
7447control method via the ACPI_LV_INFO debug level. Also, reduced some of
7448the
7449verbosity of this debug level. Len Brown.
7450
7451Example Code and Data Size: These are the sizes for the OS-independent
7452acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7453debug version of the code includes the debug output trace mechanism and
7454has a
7455much larger code and data size.
7456
7457  Previous Release:
7458    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7459    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7460  Current Release:
7461    Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7462    Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7463
74642) iASL Compiler/Disassembler and Tools:
7465
7466Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
7467various legal performance profiles.
7468
7469----------------------------------------
747023 January 2009. Summary of changes for version 20090123:
7471
74721) ACPI CA Core Subsystem:
7473
7474Added the 2009 copyright to all module headers and signons. This affects
7475virtually every file in the ACPICA core subsystem, the iASL compiler, and
7476the tools/utilities.
7477
7478Implemented a change to allow the host to override any ACPI table,
7479including
7480dynamically loaded tables. Previously, only the DSDT could be replaced by
7481the
7482host. With this change, the AcpiOsTableOverride interface is called for
7483each
7484table found in the RSDT/XSDT during ACPICA initialization, and also
7485whenever
7486a table is dynamically loaded via the AML Load operator.
7487
7488Updated FADT flag definitions, especially the Boot Architecture flags.
7489
7490Debugger: For the Find command, automatically pad the input ACPI name
7491with
7492underscores if the name is shorter than 4 characters. This enables a
7493match
7494with the actual namespace entry which is itself padded with underscores.
7495
7496Example Code and Data Size: These are the sizes for the OS-independent
7497acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7498debug version of the code includes the debug output trace mechanism and
7499has a
7500much larger code and data size.
7501
7502  Previous Release:
7503    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7504    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7505  Current Release:
7506    Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7507    Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7508
75092) iASL Compiler/Disassembler and Tools:
7510
7511Fix build error under Bison-2.4.
7512
7513Dissasembler: Enhanced FADT support. Added decoding of the Boot
7514Architecture
7515flags. Now decode all flags, regardless of the FADT version. Flag output
7516includes the FADT version which first defined each flag.
7517
7518The iASL -g option now dumps the RSDT to a file (in addition to the FADT
7519and
7520DSDT). Windows only.
7521
7522----------------------------------------
752304 December 2008. Summary of changes for version 20081204:
7524
75251) ACPI CA Core Subsystem:
7526
7527The ACPICA Programmer Reference has been completely updated and revamped
7528for
7529this release. This includes updates to the external interfaces, OSL
7530interfaces, the overview sections, and the debugger reference.
7531
7532Several new ACPICA interfaces have been implemented and documented in the
7533programmer reference:
7534AcpiReset - Writes the reset value to the FADT-defined reset register.
7535AcpiDisableAllGpes - Disable all available GPEs.
7536AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
7537AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
7538AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
7539AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
7540AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
7541
7542Most of the public ACPI hardware-related interfaces have been moved to a
7543new
7544file, components/hardware/hwxface.c
7545
7546Enhanced the FADT parsing and low-level ACPI register access: The ACPI
7547register lengths within the FADT are now used, and the low level ACPI
7548register access no longer hardcodes the ACPI register lengths. Given that
7549there may be some risk in actually trusting the FADT register lengths, a
7550run-
7551time option was added to fall back to the default hardcoded lengths if
7552the
7553FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
7554option is set to true for now, and a warning is issued if a suspicious
7555FADT
7556register length is overridden with the default value.
7557
7558Fixed a reference count issue in NsRepairObject. This problem was
7559introduced
7560in version 20081031 as part of a fix to repair Buffer objects within
7561Packages. Lin Ming.
7562
7563Added semaphore support to the Linux/Unix application OS-services layer
7564(OSL). ACPICA BZ 448. Lin Ming.
7565
7566Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
7567will
7568be implemented in the OSL, or will binary semaphores be used instead.
7569
7570Example Code and Data Size: These are the sizes for the OS-independent
7571acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7572debug version of the code includes the debug output trace mechanism and
7573has a
7574much larger code and data size.
7575
7576  Previous Release:
7577    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
7578    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
7579  Current Release:
7580    Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7581    Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7582
75832) iASL Compiler/Disassembler and Tools:
7584
7585iASL: Completed the '-e' option to include additional ACPI tables in
7586order
7587to
7588aid with disassembly and External statement generation. ACPICA BZ 742.
7589Lin
7590Ming.
7591
7592iASL: Removed the "named object in while loop" error. The compiler cannot
7593determine how many times a loop will execute. ACPICA BZ 730.
7594
7595Disassembler: Implemented support for FADT revision 2 (MS extension).
7596ACPICA
7597BZ 743.
7598
7599Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
7600MCFG).
7601
7602----------------------------------------
760331 October 2008. Summary of changes for version 20081031:
7604
76051) ACPI CA Core Subsystem:
7606
7607Restructured the ACPICA header files into public/private. acpi.h now
7608includes
7609only the "public" acpica headers. All other acpica headers are "private"
7610and
7611should not be included by acpica users. One new file, accommon.h is used
7612to
7613include the commonly used private headers for acpica code generation.
7614Future
7615plans include moving all private headers to a new subdirectory.
7616
7617Implemented an automatic Buffer->String return value conversion for
7618predefined ACPI methods. For these methods (such as _BIF), added
7619automatic
7620conversion for return objects that are required to be a String, but a
7621Buffer
7622was found instead. This can happen when reading string battery data from
7623an
7624operation region, because it used to be difficult to convert the data
7625from
7626buffer to string from within the ASL. Ensures that the host OS is
7627provided
7628with a valid null-terminated string. Linux BZ 11822.
7629
7630Updated the FACS waking vector interfaces. Split
7631AcpiSetFirmwareWakingVector
7632into two: one for the 32-bit vector, another for the 64-bit vector. This
7633is
7634required because the host OS must setup the wake much differently for
7635each
7636vector (real vs. protected mode, etc.) and the interface itself should
7637not
7638be
7639deciding which vector to use. Also, eliminated the
7640GetFirmwareWakingVector
7641interface, as it served no purpose (only the firmware reads the vector,
7642OS
7643only writes the vector.) ACPICA BZ 731.
7644
7645Implemented a mechanism to escape infinite AML While() loops. Added a
7646loop
7647counter to force exit from AML While loops if the count becomes too
7648large.
7649This can occur in poorly written AML when the hardware does not respond
7650within a while loop and the loop does not implement a timeout. The
7651maximum
7652loop count is configurable. A new exception code is returned when a loop
7653is
7654broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
7655
7656Optimized the execution of AML While loops. Previously, a control state
7657object was allocated and freed for each execution of the loop. The
7658optimization is to simply reuse the control state for each iteration.
7659This
7660speeds up the raw loop execution time by about 5%.
7661
7662Enhanced the implicit return mechanism. For Windows compatibility, return
7663an
7664implicit integer of value zero for methods that contain no executable
7665code.
7666Such methods are seen in the field as stubs (presumably), and can cause
7667drivers to fail if they expect a return value. Lin Ming.
7668
7669Allow multiple backslashes as root prefixes in namepaths. In a fully
7670qualified namepath, allow multiple backslash prefixes. This can happen
7671(and
7672is seen in the field) because of the use of a double-backslash in strings
7673(since backslash is the escape character) causing confusion. ACPICA BZ
7674739
7675Lin Ming.
7676
7677Emit a warning if two different FACS or DSDT tables are discovered in the
7678FADT. Checks if there are two valid but different addresses for the FACS
7679and
7680DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
7681
7682Consolidated the method argument count validation code. Merged the code
7683that
7684validates control method argument counts into the predefined validation
7685module. Eliminates possible multiple warnings for incorrect argument
7686counts.
7687
7688Implemented ACPICA example code. Includes code for ACPICA initialization,
7689handler installation, and calling a control method. Available at
7690source/tools/examples.
7691
7692Added a global pointer for FACS table to simplify internal FACS access.
7693Use
7694the global pointer instead of using AcpiGetTableByIndex for each FACS
7695access.
7696This simplifies the code for the Global Lock and the Firmware Waking
7697Vector(s).
7698
7699Example Code and Data Size: These are the sizes for the OS-independent
7700acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7701debug version of the code includes the debug output trace mechanism and
7702has a
7703much larger code and data size.
7704
7705  Previous Release:
7706    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
7707    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
7708  Current Release:
7709    Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
7710    Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
7711
77122) iASL Compiler/Disassembler and Tools:
7713
7714iASL: Improved disassembly of external method calls. Added the -e option
7715to
7716allow the inclusion of additional ACPI tables to help with the
7717disassembly
7718of
7719method invocations and the generation of external declarations during the
7720disassembly. Certain external method invocations cannot be disassembled
7721properly without the actual declaration of the method. Use the -e option
7722to
7723include the table where the external method(s) are actually declared.
7724Most
7725useful for disassembling SSDTs that make method calls back to the master
7726DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl
7727-d
7728-e dsdt.aml ssdt1.aml
7729
7730iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
7731problem where the use of an alias within a namepath would result in a not
7732found error or cause the compiler to fault. Also now allows forward
7733references from the Alias operator itself. ACPICA BZ 738.
7734
7735----------------------------------------
773626 September 2008. Summary of changes for version 20080926:
7737
77381) ACPI CA Core Subsystem:
7739
7740Designed and implemented a mechanism to validate predefined ACPI methods
7741and
7742objects. This code validates the predefined ACPI objects (objects whose
7743names
7744start with underscore) that appear in the namespace, at the time they are
7745evaluated. The argument count and the type of the returned object are
7746validated against the ACPI specification. The purpose of this validation
7747is
7748to detect problems with the BIOS-implemented predefined ACPI objects
7749before
7750the results are returned to the ACPI-related drivers. Future enhancements
7751may
7752include actual repair of incorrect return objects where possible. Two new
7753files are nspredef.c and acpredef.h.
7754
7755Fixed a fault in the AML parser if a memory allocation fails during the
7756Op
7757completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
7758
7759Fixed an issue with implicit return compatibility. This change improves
7760the
7761implicit return mechanism to be more compatible with the MS interpreter.
7762Lin
7763Ming, ACPICA BZ 349.
7764
7765Implemented support for zero-length buffer-to-string conversions. Allow
7766zero
7767length strings during interpreter buffer-to-string conversions. For
7768example,
7769during the ToDecimalString and ToHexString operators, as well as implicit
7770conversions. Fiodor Suietov, ACPICA BZ 585.
7771
7772Fixed two possible memory leaks in the error exit paths of
7773AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
7774are
7775similar in that they use a stack of state objects in order to eliminate
7776recursion. The stack must be fully unwound and deallocated if an error
7777occurs. Lin Ming. ACPICA BZ 383.
7778
7779Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
7780global
7781ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
7782Moore ACPICA BZ 442.
7783
7784Removed the obsolete version number in module headers. Removed the
7785"$Revision" number that appeared in each module header. This version
7786number
7787was useful under SourceSafe and CVS, but has no meaning under git. It is
7788not
7789only incorrect, it could also be misleading.
7790
7791Example Code and Data Size: These are the sizes for the OS-independent
7792acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7793debug version of the code includes the debug output trace mechanism and
7794has a
7795much larger code and data size.
7796
7797  Previous Release:
7798    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7799    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
7800  Current Release:
7801    Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
7802    Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
7803
7804----------------------------------------
780529 August 2008. Summary of changes for version 20080829:
7806
78071) ACPI CA Core Subsystem:
7808
7809Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
7810Reference. Changes include the elimination of cheating on the Object
7811field
7812for the DdbHandle subtype, addition of a reference class field to
7813differentiate the various reference types (instead of an AML opcode), and
7814the
7815cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
7816
7817Reduce an error to a warning for an incorrect method argument count.
7818Previously aborted with an error if too few arguments were passed to a
7819control method via the external ACPICA interface. Now issue a warning
7820instead
7821and continue. Handles the case where the method inadvertently declares
7822too
7823many arguments, but does not actually use the extra ones. Applies mainly
7824to
7825the predefined methods. Lin Ming. Linux BZ 11032.
7826
7827Disallow the evaluation of named object types with no intrinsic value.
7828Return
7829AE_TYPE for objects that have no value and therefore evaluation is
7830undefined:
7831Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
7832of
7833these types were allowed, but an exception would be generated at some
7834point
7835during the evaluation. Now, the error is generated up front.
7836
7837Fixed a possible memory leak in the AcpiNsGetExternalPathname function
7838(nsnames.c). Fixes a leak in the error exit path.
7839
7840Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
7841debug
7842levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
7843ACPI_EXCEPTION
7844interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
7845ACPI_LV_EVENTS.
7846
7847Removed obsolete and/or unused exception codes from the acexcep.h header.
7848There is the possibility that certain device drivers may be affected if
7849they
7850use any of these exceptions.
7851
7852The ACPICA documentation has been added to the public git source tree,
7853under
7854acpica/documents. Included are the ACPICA programmer reference, the iASL
7855compiler reference, and the changes.txt release logfile.
7856
7857Example Code and Data Size: These are the sizes for the OS-independent
7858acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7859debug version of the code includes the debug output trace mechanism and
7860has a
7861much larger code and data size.
7862
7863  Previous Release:
7864    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7865    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
7866  Current Release:
7867    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7868    Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
7869
78702) iASL Compiler/Disassembler and Tools:
7871
7872Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
7873defines _SCP with 3 arguments. Previous versions defined it with only 1
7874argument. iASL now allows both definitions.
7875
7876iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
7877zero-
7878length subtables when disassembling ACPI tables. Also fixed a couple of
7879errors where a full 16-bit table type field was not extracted from the
7880input
7881properly.
7882
7883acpisrc: Improve comment counting mechanism for generating source code
7884statistics. Count first and last lines of multi-line comments as
7885whitespace,
7886not comment lines. Handle Linux legal header in addition to standard
7887acpica
7888header.
7889
7890----------------------------------------
7891
789229 July 2008. Summary of changes for version 20080729:
7893
78941) ACPI CA Core Subsystem:
7895
7896Fix a possible deadlock in the GPE dispatch. Remove call to
7897AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
7898attempt
7899to acquire the GPE lock but can deadlock since the GPE lock is already
7900held
7901at dispatch time. This code was introduced in version 20060831 as a
7902response
7903to Linux BZ 6881 and has since been removed from Linux.
7904
7905Add a function to dereference returned reference objects. Examines the
7906return
7907object from a call to AcpiEvaluateObject. Any Index or RefOf references
7908are
7909automatically dereferenced in an attempt to return something useful
7910(these
7911reference types cannot be converted into an external ACPI_OBJECT.)
7912Provides
7913MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
7914
7915x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
7916subtables for the MADT and one new subtable for the SRAT. Includes
7917disassembler and AcpiSrc support. Data from the Intel 64 Architecture
7918x2APIC
7919Specification, June 2008.
7920
7921Additional error checking for pathname utilities. Add error check after
7922all
7923calls to AcpiNsGetPathnameLength. Add status return from
7924AcpiNsBuildExternalPath and check after all calls. Add parameter
7925validation
7926to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
7927
7928Return status from the global init function AcpiUtGlobalInitialize. This
7929is
7930used by both the kernel subsystem and the utilities such as iASL
7931compiler.
7932The function could possibly fail when the caches are initialized. Yang
7933Yi.
7934
7935Add a function to decode reference object types to strings. Created for
7936improved error messages.
7937
7938Improve object conversion error messages. Better error messages during
7939object
7940conversion from internal to the external ACPI_OBJECT. Used for external
7941calls
7942to AcpiEvaluateObject.
7943
7944Example Code and Data Size: These are the sizes for the OS-independent
7945acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7946debug version of the code includes the debug output trace mechanism and
7947has a
7948much larger code and data size.
7949
7950  Previous Release:
7951    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
7952    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
7953  Current Release:
7954    Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7955    Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
7956
79572) iASL Compiler/Disassembler and Tools:
7958
7959Debugger: fix a possible hang when evaluating non-methods. Fixes a
7960problem
7961introduced in version 20080701. If the object being evaluated (via
7962execute
7963command) is not a method, the debugger can hang while trying to obtain
7964non-
7965existent parameters.
7966
7967iASL: relax error for using reserved "_T_x" identifiers. These names can
7968appear in a disassembled ASL file if they were emitted by the original
7969compiler. Instead of issuing an error or warning and forcing the user to
7970manually change these names, issue a remark instead.
7971
7972iASL: error if named object created in while loop. Emit an error if any
7973named
7974object is created within a While loop. If allowed, this code will
7975generate
7976a
7977run-time error on the second iteration of the loop when an attempt is
7978made
7979to
7980create the same named object twice. ACPICA bugzilla 730.
7981
7982iASL: Support absolute pathnames for include files. Add support for
7983absolute
7984pathnames within the Include operator. previously, only relative
7985pathnames
7986were supported.
7987
7988iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
7989Descriptor.
7990The ACPI spec requires one interrupt minimum. BZ 423
7991
7992iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
7993Handles the case for the Interrupt Resource Descriptor where
7994the ResourceSource argument is omitted but ResourceSourceIndex
7995is present. Now leave room for the Index. BZ 426
7996
7997iASL: Prevent error message if CondRefOf target does not exist. Fixes
7998cases
7999where an error message is emitted if the target does not exist. BZ 516
8000
8001iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
8002(get ACPI tables on Windows). This was apparently broken in version
800320070919.
8004
8005AcpiXtract: Handle EOF while extracting data. Correctly handle the case
8006where
8007the EOF happens immediately after the last table in the input file. Print
8008completion message. Previously, no message was displayed in this case.
8009
8010----------------------------------------
801101 July 2008. Summary of changes for version 20080701:
8012
80130) Git source tree / acpica.org
8014
8015Fixed a problem where a git-clone from http would not transfer the entire
8016source tree.
8017
80181) ACPI CA Core Subsystem:
8019
8020Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
8021enable bit. Now performs a read-change-write of the enable register
8022instead
8023of simply writing out the cached enable mask. This will prevent
8024inadvertent
8025enabling of GPEs if a rogue GPE is received during initialization (before
8026GPE
8027handlers are installed.)
8028
8029Implemented a copy for dynamically loaded tables. Previously, dynamically
8030loaded tables were simply mapped - but on some machines this memory is
8031corrupted after suspend. Now copy the table to a local buffer. For the
8032OpRegion case, added checksum verify. Use the table length from the table
8033header, not the region length. For the Buffer case, use the table length
8034also. Dennis Noordsij, Bob Moore. BZ 10734
8035
8036Fixed a problem where the same ACPI table could not be dynamically loaded
8037and
8038unloaded more than once. Without this change, a table cannot be loaded
8039again
8040once it has been loaded/unloaded one time. The current mechanism does not
8041unregister a table upon an unload. During a load, if the same table is
8042found,
8043this no longer returns an exception. BZ 722
8044
8045Fixed a problem where the wrong descriptor length was calculated for the
8046EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
8047EndTag
8048are calculated as 12 bytes long, but the actual length in the internal
8049descriptor is 16 because of the round-up to 8 on the 64-bit build.
8050Reported
8051by Linn Crosetto. BZ 728
8052
8053Fixed a possible memory leak in the Unload operator. The DdbHandle
8054returned
8055by Load() did not have its reference count decremented during unload,
8056leading
8057to a memory leak. Lin Ming. BZ 727
8058
8059Fixed a possible memory leak when deleting thermal/processor objects. Any
8060associated notify handlers (and objects) were not being deleted. Fiodor
8061Suietov. BZ 506
8062
8063Fixed the ordering of the ASCII names in the global mutex table to match
8064the
8065actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
8066only.
8067Vegard Nossum. BZ 726
8068
8069Enhanced the AcpiGetObjectInfo interface to return the number of required
8070arguments if the object is a control method. Added this call to the
8071debugger
8072so the proper number of default arguments are passed to a method. This
8073prevents a warning when executing methods from AcpiExec.
8074
8075Added a check for an invalid handle in AcpiGetObjectInfo. Return
8076AE_BAD_PARAMETER if input handle is invalid. BZ 474
8077
8078Fixed an extraneous warning from exconfig.c on the 64-bit build.
8079
8080Example Code and Data Size: These are the sizes for the OS-independent
8081acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8082debug version of the code includes the debug output trace mechanism and
8083has a
8084much larger code and data size.
8085
8086  Previous Release:
8087    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8088    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8089  Current Release:
8090    Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8091    Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8092
80932) iASL Compiler/Disassembler and Tools:
8094
8095iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
8096resource descriptor names.
8097
8098iASL: Detect invalid ASCII characters in input (windows version). Removed
8099the
8100"-CF" flag from the flex compile, enables correct detection of non-ASCII
8101characters in the input. BZ 441
8102
8103iASL: Eliminate warning when result of LoadTable is not used. Eliminate
8104the
8105"result of operation not used" warning when the DDB handle returned from
8106LoadTable is not used. The warning is not needed. BZ 590
8107
8108AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
8109method
8110to
8111pass address of table to the AML. Added option to disable OpRegion
8112simulation
8113to allow creation of an OpRegion with a real address that was passed to
8114_CFG.
8115All of this allows testing of the Load and Unload operators from
8116AcpiExec.
8117
8118Debugger: update tables command for unloaded tables. Handle unloaded
8119tables
8120and use the standard table header output routine.
8121
8122----------------------------------------
812309 June 2008. Summary of changes for version 20080609:
8124
81251) ACPI CA Core Subsystem:
8126
8127Implemented a workaround for reversed _PRT entries. A significant number
8128of
8129BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
8130change dynamically detects and repairs this problem. Provides
8131compatibility
8132with MS ACPI. BZ 6859
8133
8134Simplified the internal ACPI hardware interfaces to eliminate the locking
8135flag parameter from Register Read/Write. Added a new external interface,
8136AcpiGetRegisterUnlocked.
8137
8138Fixed a problem where the invocation of a GPE control method could hang.
8139This
8140was a regression introduced in 20080514. The new method argument count
8141validation mechanism can enter an infinite loop when a GPE method is
8142dispatched. Problem fixed by removing the obsolete code that passed GPE
8143block
8144information to the notify handler via the control method parameter
8145pointer.
8146
8147Fixed a problem where the _SST execution status was incorrectly returned
8148to
8149the caller of AcpiEnterSleepStatePrep. This was a regression introduced
8150in
815120080514. _SST is optional and a NOT_FOUND exception should never be
8152returned. BZ 716
8153
8154Fixed a problem where a deleted object could be accessed from within the
8155AML
8156parser. This was a regression introduced in version 20080123 as a fix for
8157the
8158Unload operator. Lin Ming. BZ 10669
8159
8160Cleaned up the debug operand dump mechanism. Eliminated unnecessary
8161operands
8162and eliminated the use of a negative index in a loop. Operands are now
8163displayed in the correct order, not backwards. This also fixes a
8164regression
8165introduced in 20080514 on 64-bit systems where the elimination of
8166ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
8167715
8168
8169Fixed a possible memory leak in EvPciConfigRegionSetup where the error
8170exit
8171path did not delete a locally allocated structure.
8172
8173Updated definitions for the DMAR and SRAT tables to synchronize with the
8174current specifications. Includes disassembler support.
8175
8176Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
8177loop termination value was used. Loop terminated on iteration early,
8178missing
8179one mutex. Linn Crosetto
8180
8181Example Code and Data Size: These are the sizes for the OS-independent
8182acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8183debug version of the code includes the debug output trace mechanism and
8184has a
8185much larger code and data size.
8186
8187  Previous Release:
8188    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8189    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8190  Current Release:
8191    Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8192    Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8193
81942) iASL Compiler/Disassembler and Tools:
8195
8196Disassembler: Implemented support for EisaId() within _CID objects. Now
8197disassemble integer _CID objects back to EisaId invocations, including
8198multiple integers within _CID packages. Includes single-step support for
8199debugger also.
8200
8201Disassembler: Added support for DMAR and SRAT table definition changes.
8202
8203----------------------------------------
820414 May 2008. Summary of changes for version 20080514:
8205
82061) ACPI CA Core Subsystem:
8207
8208Fixed a problem where GPEs were enabled too early during the ACPICA
8209initialization. This could lead to "handler not installed" errors on some
8210machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
8211This
8212ensures that all operation regions and devices throughout the namespace
8213have
8214been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
8215
8216Implemented a change to the enter sleep code. Moved execution of the _GTS
8217method to just before setting sleep enable bit. The execution was moved
8218from
8219AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
8220immediately before the SLP_EN bit is set, as per the ACPI specification.
8221Luming Yu, BZ 1653.
8222
8223Implemented a fix to disable unknown GPEs (2nd version). Now always
8224disable
8225the GPE, even if ACPICA thinks that that it is already disabled. It is
8226possible that the AML or some other code has enabled the GPE unbeknownst
8227to
8228the ACPICA code.
8229
8230Fixed a problem with the Field operator where zero-length fields would
8231return
8232an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
8233ASL
8234field declarations in Field(), BankField(), and IndexField(). BZ 10606.
8235
8236Implemented a fix for the Load operator, now load the table at the
8237namespace
8238root. This reverts a change introduced in version 20071019. The table is
8239now
8240loaded at the namespace root even though this goes against the ACPI
8241specification. This provides compatibility with other ACPI
8242implementations.
8243The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
8244Ming.
8245
8246Fixed a problem where ACPICA would not Load() tables with unusual
8247signatures.
8248Now ignore ACPI table signature for Load() operator. Only "SSDT" is
8249acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
8250Therefore, signature validation is worthless. Apparently MS ACPI accepts
8251such
8252signatures, ACPICA must be compatible. BZ 10454.
8253
8254Fixed a possible negative array index in AcpiUtValidateException. Added
8255NULL
8256fields to the exception string arrays to eliminate a -1 subtraction on
8257the
8258SubStatus field.
8259
8260Updated the debug tracking macros to reduce overall code and data size.
8261Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
8262instead of pointers to static strings. Jan Beulich and Bob Moore.
8263
8264Implemented argument count checking in control method invocation via
8265AcpiEvaluateObject. Now emit an error if too few arguments, warning if
8266too
8267many. This applies only to extern programmatic control method execution,
8268not
8269method-to-method calls within the AML. Lin Ming.
8270
8271Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
8272no
8273longer needed, especially with the removal of 16-bit support. It was
8274replaced
8275mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
8276bit
8277on
827832/64-bit platforms is required.
8279
8280Added the C const qualifier for appropriate string constants -- mostly
8281MODULE_NAME and printf format strings. Jan Beulich.
8282
8283Example Code and Data Size: These are the sizes for the OS-independent
8284acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8285debug version of the code includes the debug output trace mechanism and
8286has a
8287much larger code and data size.
8288
8289  Previous Release:
8290    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8291    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8292  Current Release:
8293    Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8294    Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8295
82962) iASL Compiler/Disassembler and Tools:
8297
8298Implemented ACPI table revision ID validation in the disassembler. Zero
8299is
8300always invalid. For DSDTs, the ID controls the interpreter integer width.
83011
8302means 32-bit and this is unusual. 2 or greater is 64-bit.
8303
8304----------------------------------------
830521 March 2008. Summary of changes for version 20080321:
8306
83071) ACPI CA Core Subsystem:
8308
8309Implemented an additional change to the GPE support in order to suppress
8310spurious or stray GPEs. The AcpiEvDisableGpe function will now
8311permanently
8312disable incoming GPEs that are neither enabled nor disabled -- meaning
8313that
8314the GPE is unknown to the system. This should prevent future interrupt
8315floods
8316from that GPE. BZ 6217 (Zhang Rui)
8317
8318Fixed a problem where NULL package elements were not returned to the
8319AcpiEvaluateObject interface correctly. The element was simply ignored
8320instead of returning a NULL ACPI_OBJECT package element, potentially
8321causing
8322a buffer overflow and/or confusing the caller who expected a fixed number
8323of
8324elements. BZ 10132 (Lin Ming, Bob Moore)
8325
8326Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
8327Dword,
8328Qword), Field, BankField, and IndexField operators when invoked from
8329inside
8330an executing control method. In this case, these operators created
8331namespace
8332nodes that were incorrectly left marked as permanent nodes instead of
8333temporary nodes. This could cause a problem if there is race condition
8334between an exiting control method and a running namespace walk. (Reported
8335by
8336Linn Crosetto)
8337
8338Fixed a problem where the CreateField and CreateXXXField operators would
8339incorrectly allow duplicate names (the name of the field) with no
8340exception
8341generated.
8342
8343Implemented several changes for Notify handling. Added support for new
8344Notify
8345values (ACPI 2.0+) and improved the Notify debug output. Notify on
8346PowerResource objects is no longer allowed, as per the ACPI
8347specification.
8348(Bob Moore, Zhang Rui)
8349
8350All Reference Objects returned via the AcpiEvaluateObject interface are
8351now
8352marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
8353for
8354NULL objects - either NULL package elements or unresolved named
8355references.
8356
8357Fixed a problem where an extraneous debug message was produced for
8358package
8359objects (when debugging enabled). The message "Package List length larger
8360than NumElements count" is now produced in the correct case, and is now
8361an
8362error message rather than a debug message. Added a debug message for the
8363opposite case, where NumElements is larger than the Package List (the
8364package
8365will be padded out with NULL elements as per the ACPI spec.)
8366
8367Implemented several improvements for the output of the ASL "Debug" object
8368to
8369clarify and keep all data for a given object on one output line.
8370
8371Fixed two size calculation issues with the variable-length Start
8372Dependent
8373resource descriptor.
8374
8375Example Code and Data Size: These are the sizes for the OS-independent
8376acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8377debug version of the code includes the debug output trace mechanism and
8378has
8379a much larger code and data size.
8380
8381  Previous Release:
8382    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8383    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8384  Current Release:
8385    Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8386    Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8387
83882) iASL Compiler/Disassembler and Tools:
8389
8390Fixed a problem with the use of the Switch operator where execution of
8391the
8392containing method by multiple concurrent threads could cause an
8393AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
8394actual Switch opcode, it must be simulated with local named temporary
8395variables and if/else pairs. The solution chosen was to mark any method
8396that
8397uses Switch as Serialized, thus preventing multiple thread entries. BZ
8398469.
8399
8400----------------------------------------
840113 February 2008. Summary of changes for version 20080213:
8402
84031) ACPI CA Core Subsystem:
8404
8405Implemented another MS compatibility design change for GPE/Notify
8406handling.
8407GPEs are now cleared/enabled asynchronously to allow all pending notifies
8408to
8409complete first. It is expected that the OSL will queue the enable request
8410behind all pending notify requests (may require changes to the local host
8411OSL
8412in AcpiOsExecute). Alexey Starikovskiy.
8413
8414Fixed a problem where buffer and package objects passed as arguments to a
8415control method via the external AcpiEvaluateObject interface could cause
8416an
8417AE_AML_INTERNAL exception depending on the order and type of operators
8418executed by the target control method.
8419
8420Fixed a problem where resource descriptor size optimization could cause a
8421problem when a _CRS resource template is passed to a _SRS method. The
8422_SRS
8423resource template must use the same descriptors (with the same size) as
8424returned from _CRS. This change affects the following resource
8425descriptors:
8426IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
84279487)
8428
8429Fixed a problem where a CopyObject to RegionField, BankField, and
8430IndexField
8431objects did not perform an implicit conversion as it should. These types
8432must
8433retain their initial type permanently as per the ACPI specification.
8434However,
8435a CopyObject to all other object types should not perform an implicit
8436conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
8437
8438Fixed a problem with the AcpiGetDevices interface where the mechanism to
8439match device CIDs did not examine the entire list of available CIDs, but
8440instead aborted on the first non-matching CID. Andrew Patterson.
8441
8442Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
8443was
8444inadvertently changed to return a 16-bit value instead of a 32-bit value,
8445truncating the upper dword of a 64-bit value. This macro is only used to
8446display debug output, so no incorrect calculations were made. Also,
8447reimplemented the macro so that a 64-bit shift is not performed by
8448inefficient compilers.
8449
8450Added missing va_end statements that should correspond with each va_start
8451statement.
8452
8453Example Code and Data Size: These are the sizes for the OS-independent
8454acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8455debug version of the code includes the debug output trace mechanism and
8456has
8457a much larger code and data size.
8458
8459  Previous Release:
8460    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8461    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8462  Current Release:
8463    Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8464    Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8465
84662) iASL Compiler/Disassembler and Tools:
8467
8468Implemented full disassembler support for the following new ACPI tables:
8469BERT, EINJ, and ERST. Implemented partial disassembler support for the
8470complicated HEST table. These tables support the Windows Hardware Error
8471Architecture (WHEA).
8472
8473----------------------------------------
847423 January 2008. Summary of changes for version 20080123:
8475
84761) ACPI CA Core Subsystem:
8477
8478Added the 2008 copyright to all module headers and signons. This affects
8479virtually every file in the ACPICA core subsystem, the iASL compiler, and
8480the tools/utilities.
8481
8482Fixed a problem with the SizeOf operator when used with Package and
8483Buffer
8484objects. These objects have deferred execution for some arguments, and
8485the
8486execution is now completed before the SizeOf is executed. This problem
8487caused
8488unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
8489BZ
84909558
8491
8492Implemented an enhancement to the interpreter "slack mode". In the
8493absence
8494of
8495an explicit return or an implicitly returned object from the last
8496executed
8497opcode, a control method will now implicitly return an integer of value 0
8498for
8499Microsoft compatibility. (Lin Ming) BZ 392
8500
8501Fixed a problem with the Load operator where an exception was not
8502returned
8503in
8504the case where the table is already loaded. (Lin Ming) BZ 463
8505
8506Implemented support for the use of DDBHandles as an Indexed Reference, as
8507per
8508the ACPI spec. (Lin Ming) BZ 486
8509
8510Implemented support for UserTerm (Method invocation) for the Unload
8511operator
8512as per the ACPI spec. (Lin Ming) BZ 580
8513
8514Fixed a problem with the LoadTable operator where the OemId and
8515OemTableId
8516input strings could cause unexpected failures if they were shorter than
8517the
8518maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
8519
8520Implemented support for UserTerm (Method invocation) for the Unload
8521operator
8522as per the ACPI spec. (Lin Ming) BZ 580
8523
8524Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
8525HEST,
8526IBFT, UEFI, WDAT. Disassembler support is forthcoming.
8527
8528Example Code and Data Size: These are the sizes for the OS-independent
8529acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8530debug version of the code includes the debug output trace mechanism and
8531has
8532a much larger code and data size.
8533
8534  Previous Release:
8535    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8536    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8537  Current Release:
8538    Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8539    Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8540
85412) iASL Compiler/Disassembler and Tools:
8542
8543Implemented support in the disassembler for checksum validation on
8544incoming
8545binary DSDTs and SSDTs. If incorrect, a message is displayed within the
8546table
8547header dump at the start of the disassembly.
8548
8549Implemented additional debugging information in the namespace listing
8550file
8551created during compilation. In addition to the namespace hierarchy, the
8552full
8553pathname to each namespace object is displayed.
8554
8555Fixed a problem with the disassembler where invalid ACPI tables could
8556cause
8557faults or infinite loops.
8558
8559Fixed an unexpected parse error when using the optional "parameter types"
8560list in a control method declaration. (Lin Ming) BZ 397
8561
8562Fixed a problem where two External declarations with the same name did
8563not
8564cause an error (Lin Ming) BZ 509
8565
8566Implemented support for full TermArgs (adding Argx, Localx and method
8567invocation) for the ParameterData parameter to the LoadTable operator.
8568(Lin
8569Ming) BZ 583,587
8570
8571----------------------------------------
857219 December 2007. Summary of changes for version 20071219:
8573
85741) ACPI CA Core Subsystem:
8575
8576Implemented full support for deferred execution for the TermArg string
8577arguments for DataTableRegion. This enables forward references and full
8578operand resolution for the three string arguments. Similar to
8579OperationRegion
8580deferred argument execution.) Lin Ming. BZ 430
8581
8582Implemented full argument resolution support for the BankValue argument
8583to
8584BankField. Previously, only constants were supported, now any TermArg may
8585be
8586used. Lin Ming BZ 387, 393
8587
8588Fixed a problem with AcpiGetDevices where the search of a branch of the
8589device tree could be terminated prematurely. In accordance with the ACPI
8590specification, the search down the current branch is terminated if a
8591device
8592is both not present and not functional (instead of just not present.)
8593Yakui
8594Zhao.
8595
8596Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
8597if
8598the underlying AML code changed the GPE enable registers. Now, any
8599unknown
8600incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
8601disabled
8602instead of simply ignored. Rui Zhang.
8603
8604Fixed a problem with Index Fields where the Index register was
8605incorrectly
8606limited to a maximum of 32 bits. Now any size may be used.
8607
8608Fixed a couple memory leaks associated with "implicit return" objects
8609when
8610the AML Interpreter slack mode is enabled. Lin Ming BZ 349
8611
8612Example Code and Data Size: These are the sizes for the OS-independent
8613acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8614debug version of the code includes the debug output trace mechanism and
8615has
8616a much larger code and data size.
8617
8618  Previous Release:
8619    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
8620    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
8621  Current Release:
8622    Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8623    Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8624
8625----------------------------------------
862614 November 2007. Summary of changes for version 20071114:
8627
86281) ACPI CA Core Subsystem:
8629
8630Implemented event counters for each of the Fixed Events, the ACPI SCI
8631(interrupt) itself, and control methods executed. Named
8632AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
8633These
8634should be useful for debugging and statistics.
8635
8636Implemented a new external interface, AcpiGetStatistics, to retrieve the
8637contents of the various event counters. Returns the current values for
8638AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
8639AcpiMethodCount. The interface can be expanded in the future if new
8640counters
8641are added. Device drivers should use this interface rather than access
8642the
8643counters directly.
8644
8645Fixed a problem with the FromBCD and ToBCD operators. With some
8646compilers,
8647the ShortDivide function worked incorrectly, causing problems with the
8648BCD
8649functions with large input values. A truncation from 64-bit to 32-bit
8650inadvertently occurred. Internal BZ 435. Lin Ming
8651
8652Fixed a problem with Index references passed as method arguments.
8653References
8654passed as arguments to control methods were dereferenced immediately
8655(before
8656control was passed to the called method). The references are now
8657correctly
8658passed directly to the called method. BZ 5389. Lin Ming
8659
8660Fixed a problem with CopyObject used in conjunction with the Index
8661operator.
8662The reference was incorrectly dereferenced before the copy. The reference
8663is
8664now correctly copied. BZ 5391. Lin Ming
8665
8666Fixed a problem with Control Method references within Package objects.
8667These
8668references are now correctly generated. This completes the package
8669construction overhaul that began in version 20071019.
8670
8671Example Code and Data Size: These are the sizes for the OS-independent
8672acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8673debug version of the code includes the debug output trace mechanism and
8674has
8675a much larger code and data size.
8676
8677  Previous Release:
8678    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
8679    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
8680  Current Release:
8681    Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
8682    Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
8683
8684
86852) iASL Compiler/Disassembler and Tools:
8686
8687The AcpiExec utility now installs handlers for all of the predefined
8688Operation Region types. New types supported are: PCI_Config, CMOS, and
8689PCIBARTarget.
8690
8691Fixed a problem with the 64-bit version of AcpiExec where the extended
8692(64-
8693bit) address fields for the DSDT and FACS within the FADT were not being
8694used, causing truncation of the upper 32-bits of these addresses. Lin
8695Ming
8696and Bob Moore
8697
8698----------------------------------------
869919 October 2007. Summary of changes for version 20071019:
8700
87011) ACPI CA Core Subsystem:
8702
8703Fixed a problem with the Alias operator when the target of the alias is a
8704named ASL operator that opens a new scope -- Scope, Device,
8705PowerResource,
8706Processor, and ThermalZone. In these cases, any children of the original
8707operator could not be accessed via the alias, potentially causing
8708unexpected
8709AE_NOT_FOUND exceptions. (BZ 9067)
8710
8711Fixed a problem with the Package operator where all named references were
8712created as object references and left otherwise unresolved. According to
8713the
8714ACPI specification, a Package can only contain Data Objects or references
8715to
8716control methods. The implication is that named references to Data Objects
8717(Integer, Buffer, String, Package, BufferField, Field) should be resolved
8718immediately upon package creation. This is the approach taken with this
8719change. References to all other named objects (Methods, Devices, Scopes,
8720etc.) are all now properly created as reference objects. (BZ 5328)
8721
8722Reverted a change to Notify handling that was introduced in version
872320070508. This version changed the Notify handling from asynchronous to
8724fully synchronous (Device driver Notify handling with respect to the
8725Notify
8726ASL operator). It was found that this change caused more problems than it
8727solved and was removed by most users.
8728
8729Fixed a problem with the Increment and Decrement operators where the type
8730of
8731the target object could be unexpectedly and incorrectly changed. (BZ 353)
8732Lin Ming.
8733
8734Fixed a problem with the Load and LoadTable operators where the table
8735location within the namespace was ignored. Instead, the table was always
8736loaded into the root or current scope. Lin Ming.
8737
8738Fixed a problem with the Load operator when loading a table from a buffer
8739object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
8740
8741Fixed a problem with the Debug object where a store of a DdbHandle
8742reference
8743object to the Debug object could cause a fault.
8744
8745Added a table checksum verification for the Load operator, in the case
8746where
8747the load is from a buffer. (BZ 578).
8748
8749Implemented additional parameter validation for the LoadTable operator.
8750The
8751length of the input strings SignatureString, OemIdString, and OemTableId
8752are
8753now checked for maximum lengths. (BZ 582) Lin Ming.
8754
8755Example Code and Data Size: These are the sizes for the OS-independent
8756acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8757debug version of the code includes the debug output trace mechanism and
8758has
8759a much larger code and data size.
8760
8761  Previous Release:
8762    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
8763    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
8764  Current Release:
8765    Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
8766    Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
8767
8768
87692) iASL Compiler/Disassembler:
8770
8771Fixed a problem where if a single file was specified and the file did not
8772exist, no error message was emitted. (Introduced with wildcard support in
8773version 20070917.)
8774
8775----------------------------------------
877619 September 2007. Summary of changes for version 20070919:
8777
87781) ACPI CA Core Subsystem:
8779
8780Designed and implemented new external interfaces to install and remove
8781handlers for ACPI table-related events. Current events that are defined
8782are
8783LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
8784they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
8785AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
8786
8787Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
8788(acpi_serialized option on Linux) could cause some systems to hang during
8789initialization. (Bob Moore) BZ 8171
8790
8791Fixed a problem where objects of certain types (Device, ThermalZone,
8792Processor, PowerResource) can be not found if they are declared and
8793referenced from within the same control method (Lin Ming) BZ 341
8794
8795Example Code and Data Size: These are the sizes for the OS-independent
8796acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8797debug version of the code includes the debug output trace mechanism and
8798has
8799a much larger code and data size.
8800
8801  Previous Release:
8802    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
8803    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
8804  Current Release:
8805    Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
8806    Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
8807
8808
88092) iASL Compiler/Disassembler:
8810
8811Implemented support to allow multiple files to be compiled/disassembled
8812in
8813a
8814single invocation. This includes command line wildcard support for both
8815the
8816Windows and Unix versions of the compiler. This feature simplifies the
8817disassembly and compilation of multiple ACPI tables in a single
8818directory.
8819
8820----------------------------------------
882108 May 2007. Summary of changes for version 20070508:
8822
88231) ACPI CA Core Subsystem:
8824
8825Implemented a Microsoft compatibility design change for the handling of
8826the
8827Notify AML operator. Previously, notify handlers were dispatched and
8828executed completely asynchronously in a deferred thread. The new design
8829still executes the notify handlers in a different thread, but the
8830original
8831thread that executed the Notify() now waits at a synchronization point
8832for
8833the notify handler to complete. Some machines depend on a synchronous
8834Notify
8835operator in order to operate correctly.
8836
8837Implemented support to allow Package objects to be passed as method
8838arguments to the external AcpiEvaluateObject interface. Previously, this
8839would return the AE_NOT_IMPLEMENTED exception. This feature had not been
8840implemented since there were no reserved control methods that required it
8841until recently.
8842
8843Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
8844that
8845contained invalid non-zero values in reserved fields could cause later
8846failures because these fields have meaning in later revisions of the
8847FADT.
8848For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
8849fields
8850are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
8851
8852Fixed a problem where the Global Lock handle was not properly updated if
8853a
8854thread that acquired the Global Lock via executing AML code then
8855attempted
8856to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
8857Joe
8858Liu.
8859
8860Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
8861could be corrupted if the interrupt being removed was at the head of the
8862list. Reported by Linn Crosetto.
8863
8864Example Code and Data Size: These are the sizes for the OS-independent
8865acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8866debug version of the code includes the debug output trace mechanism and
8867has
8868a much larger code and data size.
8869
8870  Previous Release:
8871    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8872    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
8873  Current Release:
8874    Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
8875    Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
8876
8877----------------------------------------
887820 March 2007. Summary of changes for version 20070320:
8879
88801) ACPI CA Core Subsystem:
8881
8882Implemented a change to the order of interpretation and evaluation of AML
8883operand objects within the AML interpreter. The interpreter now evaluates
8884operands in the order that they appear in the AML stream (and the
8885corresponding ASL code), instead of in the reverse order (after the
8886entire
8887operand list has been parsed). The previous behavior caused several
8888subtle
8889incompatibilities with the Microsoft AML interpreter as well as being
8890somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
8891
8892Implemented a change to the ACPI Global Lock support. All interfaces to
8893the
8894global lock now allow the same thread to acquire the lock multiple times.
8895This affects the AcpiAcquireGlobalLock external interface to the global
8896lock
8897as well as the internal use of the global lock to support AML fields -- a
8898control method that is holding the global lock can now simultaneously
8899access
8900AML fields that require global lock protection. Previously, in both
8901cases,
8902this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
8903to
8904AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
8905Controller. There is no change to the behavior of the AML Acquire
8906operator,
8907as this can already be used to acquire a mutex multiple times by the same
8908thread. BZ 8066. With assistance from Alexey Starikovskiy.
8909
8910Fixed a problem where invalid objects could be referenced in the AML
8911Interpreter after error conditions. During operand evaluation, ensure
8912that
8913the internal "Return Object" field is cleared on error and only valid
8914pointers are stored there. Caused occasional access to deleted objects
8915that
8916resulted in "large reference count" warning messages. Valery Podrezov.
8917
8918Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
8919on
8920deeply nested control method invocations. BZ 7873, local BZ 487. Valery
8921Podrezov.
8922
8923Fixed an internal problem with the handling of result objects on the
8924interpreter result stack. BZ 7872. Valery Podrezov.
8925
8926Removed obsolete code that handled the case where AML_NAME_OP is the
8927target
8928of a reference (Reference.Opcode). This code was no longer necessary. BZ
89297874. Valery Podrezov.
8930
8931Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
8932was
8933a
8934remnant from the previously discontinued 16-bit support.
8935
8936Example Code and Data Size: These are the sizes for the OS-independent
8937acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8938debug version of the code includes the debug output trace mechanism and
8939has
8940a much larger code and data size.
8941
8942  Previous Release:
8943    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8944    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
8945  Current Release:
8946    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8947    Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
8948
8949----------------------------------------
895026 January 2007. Summary of changes for version 20070126:
8951
89521) ACPI CA Core Subsystem:
8953
8954Added the 2007 copyright to all module headers and signons. This affects
8955virtually every file in the ACPICA core subsystem, the iASL compiler, and
8956the utilities.
8957
8958Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
8959during a table load. A bad pointer was passed in the case where the DSDT
8960is
8961overridden, causing a fault in this case.
8962
8963Example Code and Data Size: These are the sizes for the OS-independent
8964acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8965debug version of the code includes the debug output trace mechanism and
8966has
8967a much larger code and data size.
8968
8969  Previous Release:
8970    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8971    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
8972  Current Release:
8973    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8974    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
8975
8976----------------------------------------
897715 December 2006. Summary of changes for version 20061215:
8978
89791) ACPI CA Core Subsystem:
8980
8981Support for 16-bit ACPICA has been completely removed since it is no
8982longer
8983necessary and it clutters the code. All 16-bit macros, types, and
8984conditional compiles have been removed, cleaning up and simplifying the
8985code
8986across the entire subsystem. DOS support is no longer needed since the
8987bootable Linux firmware kit is now available.
8988
8989The handler for the Global Lock is now removed during AcpiTerminate to
8990enable a clean subsystem restart, via the implementation of the
8991AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
8992HP)
8993
8994Implemented enhancements to the multithreading support within the
8995debugger
8996to enable improved multithreading debugging and evaluation of the
8997subsystem.
8998(Valery Podrezov)
8999
9000Debugger: Enhanced the Statistics/Memory command to emit the total
9001(maximum)
9002memory used during the execution, as well as the maximum memory consumed
9003by
9004each of the various object types. (Valery Podrezov)
9005
9006Example Code and Data Size: These are the sizes for the OS-independent
9007acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9008debug version of the code includes the debug output trace mechanism and
9009has
9010a much larger code and data size.
9011
9012  Previous Release:
9013    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9014    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9015  Current Release:
9016    Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9017    Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9018
9019
90202) iASL Compiler/Disassembler and Tools:
9021
9022AcpiExec: Implemented a new option (-m) to display full memory use
9023statistics upon subsystem/program termination. (Valery Podrezov)
9024
9025----------------------------------------
902609 November 2006. Summary of changes for version 20061109:
9027
90281) ACPI CA Core Subsystem:
9029
9030Optimized the Load ASL operator in the case where the source operand is
9031an
9032operation region. Simply map the operation region memory, instead of
9033performing a bytewise read. (Region must be of type SystemMemory, see
9034below.)
9035
9036Fixed the Load ASL operator for the case where the source operand is a
9037region field. A buffer object is also allowed as the source operand. BZ
9038480
9039
9040Fixed a problem where the Load ASL operator allowed the source operand to
9041be
9042an operation region of any type. It is now restricted to regions of type
9043SystemMemory, as per the ACPI specification. BZ 481
9044
9045Additional cleanup and optimizations for the new Table Manager code.
9046
9047AcpiEnable will now fail if all of the required ACPI tables are not
9048loaded
9049(FADT, FACS, DSDT). BZ 477
9050
9051Added #pragma pack(8/4) to acobject.h to ensure that the structures in
9052this
9053header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
9054manually optimized to be aligned and will not work if it is byte-packed.
9055
9056Example Code and Data Size: These are the sizes for the OS-independent
9057acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9058debug version of the code includes the debug output trace mechanism and
9059has
9060a much larger code and data size.
9061
9062  Previous Release:
9063    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9064    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9065  Current Release:
9066    Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9067    Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9068
9069
90702) iASL Compiler/Disassembler and Tools:
9071
9072Fixed a problem where the presence of the _OSI predefined control method
9073within complex expressions could cause an internal compiler error.
9074
9075AcpiExec: Implemented full region support for multiple address spaces.
9076SpaceId is now part of the REGION object. BZ 429
9077
9078----------------------------------------
907911 October 2006. Summary of changes for version 20061011:
9080
90811) ACPI CA Core Subsystem:
9082
9083Completed an AML interpreter performance enhancement for control method
9084execution. Previously a 2-pass parse/execution, control methods are now
9085completely parsed and executed in a single pass. This improves overall
9086interpreter performance by ~25%, reduces code size, and reduces CPU stack
9087use. (Valery Podrezov + interpreter changes in version 20051202 that
9088eliminated namespace loading during the pass one parse.)
9089
9090Implemented _CID support for PCI Root Bridge detection. If the _HID does
9091not
9092match the predefined PCI Root Bridge IDs, the _CID list (if present) is
9093now
9094obtained and also checked for an ID match.
9095
9096Implemented additional support for the PCI _ADR execution: upsearch until
9097a
9098device scope is found before executing _ADR. This allows PCI_Config
9099operation regions to be declared locally within control methods
9100underneath
9101PCI device objects.
9102
9103Fixed a problem with a possible race condition between threads executing
9104AcpiWalkNamespace and the AML interpreter. This condition was removed by
9105modifying AcpiWalkNamespace to (by default) ignore all temporary
9106namespace
9107entries created during any concurrent control method execution. An
9108additional namespace race condition is known to exist between
9109AcpiWalkNamespace and the Load/Unload ASL operators and is still under
9110investigation.
9111
9112Restructured the AML ParseLoop function, breaking it into several
9113subfunctions in order to reduce CPU stack use and improve
9114maintainability.
9115(Mikhail Kouzmich)
9116
9117AcpiGetHandle: Fix for parameter validation to detect invalid
9118combinations
9119of prefix handle and pathname. BZ 478
9120
9121Example Code and Data Size: These are the sizes for the OS-independent
9122acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9123debug version of the code includes the debug output trace mechanism and
9124has
9125a much larger code and data size.
9126
9127  Previous Release:
9128    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9129    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9130  Current Release:
9131    Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9132    Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9133
91342) iASL Compiler/Disassembler and Tools:
9135
9136Ported the -g option (get local ACPI tables) to the new ACPICA Table
9137Manager
9138to restore original behavior.
9139
9140----------------------------------------
914127 September 2006. Summary of changes for version 20060927:
9142
91431) ACPI CA Core Subsystem:
9144
9145Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
9146These functions now use a spinlock for mutual exclusion and the interrupt
9147level indication flag is not needed.
9148
9149Fixed a problem with the Global Lock where the lock could appear to be
9150obtained before it is actually obtained. The global lock semaphore was
9151inadvertently created with one unit instead of zero units. (BZ 464)
9152Fiodor
9153Suietov.
9154
9155Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
9156during
9157a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9158
9159Example Code and Data Size: These are the sizes for the OS-independent
9160acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9161debug version of the code includes the debug output trace mechanism and
9162has
9163a much larger code and data size.
9164
9165  Previous Release:
9166    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9167    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9168  Current Release:
9169    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9170    Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9171
9172
91732) iASL Compiler/Disassembler and Tools:
9174
9175Fixed a compilation problem with the pre-defined Resource Descriptor
9176field
9177names where an "object does not exist" error could be incorrectly
9178generated
9179if the parent ResourceTemplate pathname places the template within a
9180different namespace scope than the current scope. (BZ 7212)
9181
9182Fixed a problem where the compiler could hang after syntax errors
9183detected
9184in an ElseIf construct. (BZ 453)
9185
9186Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
9187operator. An incorrect output filename was produced when this parameter
9188was
9189a null string (""). Now, the original input filename is used as the AML
9190output filename, with an ".aml" extension.
9191
9192Implemented a generic batch command mode for the AcpiExec utility
9193(execute
9194any AML debugger command) (Valery Podrezov).
9195
9196----------------------------------------
919712 September 2006. Summary of changes for version 20060912:
9198
91991) ACPI CA Core Subsystem:
9200
9201Enhanced the implementation of the "serialized mode" of the interpreter
9202(enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
9203specified, instead of creating a serialization semaphore per control
9204method,
9205the interpreter lock is simply no longer released before a blocking
9206operation during control method execution. This effectively makes the AML
9207Interpreter single-threaded. The overhead of a semaphore per-method is
9208eliminated.
9209
9210Fixed a regression where an error was no longer emitted if a control
9211method
9212attempts to create 2 objects of the same name. This once again returns
9213AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
9214that
9215will dynamically serialize the control method to possible prevent future
9216errors. (BZ 440)
9217
9218Integrated a fix for a problem with PCI Express HID detection in the PCI
9219Config Space setup procedure. (BZ 7145)
9220
9221Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
9222AcpiHwInitialize function - the FADT registers are now validated when the
9223table is loaded.
9224
9225Added two new warnings during FADT verification - 1) if the FADT is
9226larger
9227than the largest known FADT version, and 2) if there is a mismatch
9228between
9229a
923032-bit block address and the 64-bit X counterpart (when both are non-
9231zero.)
9232
9233Example Code and Data Size: These are the sizes for the OS-independent
9234acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9235debug version of the code includes the debug output trace mechanism and
9236has
9237a much larger code and data size.
9238
9239  Previous Release:
9240    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9241    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9242  Current Release:
9243    Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9244    Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9245
9246
92472) iASL Compiler/Disassembler and Tools:
9248
9249Fixed a problem with the implementation of the Switch() operator where
9250the
9251temporary variable was declared too close to the actual Switch, instead
9252of
9253at method level. This could cause a problem if the Switch() operator is
9254within a while loop, causing an error on the second iteration. (BZ 460)
9255
9256Disassembler - fix for error emitted for unknown type for target of scope
9257operator. Now, ignore it and continue.
9258
9259Disassembly of an FADT now verifies the input FADT and reports any errors
9260found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
9261
9262Disassembly of raw data buffers with byte initialization data now
9263prefixes
9264each output line with the current buffer offset.
9265
9266Disassembly of ASF! table now includes all variable-length data fields at
9267the end of some of the subtables.
9268
9269The disassembler now emits a comment if a buffer appears to be a
9270ResourceTemplate, but cannot be disassembled as such because the EndTag
9271does
9272not appear at the very end of the buffer.
9273
9274AcpiExec - Added the "-t" command line option to enable the serialized
9275mode
9276of the AML interpreter.
9277
9278----------------------------------------
927931 August 2006. Summary of changes for version 20060831:
9280
92811) ACPI CA Core Subsystem:
9282
9283Miscellaneous fixes for the Table Manager:
9284- Correctly initialize internal common FADT for all 64-bit "X" fields
9285- Fixed a couple table mapping issues during table load
9286- Fixed a couple alignment issues for IA64
9287- Initialize input array to zero in AcpiInitializeTables
9288- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
9289AcpiGetTableByIndex
9290
9291Change for GPE support: when a "wake" GPE is received, all wake GPEs are
9292now
9293immediately disabled to prevent the waking GPE from firing again and to
9294prevent other wake GPEs from interrupting the wake process.
9295
9296Added the AcpiGpeCount global that tracks the number of processed GPEs,
9297to
9298be used for debugging systems with a large number of ACPI interrupts.
9299
9300Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
9301both the ACPICA headers and the disassembler.
9302
9303Example Code and Data Size: These are the sizes for the OS-independent
9304acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9305debug version of the code includes the debug output trace mechanism and
9306has
9307a much larger code and data size.
9308
9309  Previous Release:
9310    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9311    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9312  Current Release:
9313    Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9314    Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9315
9316
93172) iASL Compiler/Disassembler and Tools:
9318
9319Disassembler support for the DMAR ACPI table.
9320
9321----------------------------------------
932223 August 2006. Summary of changes for version 20060823:
9323
93241) ACPI CA Core Subsystem:
9325
9326The Table Manager component has been completely redesigned and
9327reimplemented. The new design is much simpler, and reduces the overall
9328code
9329and data size of the kernel-resident ACPICA by approximately 5%. Also, it
9330is
9331now possible to obtain the ACPI tables very early during kernel
9332initialization, even before dynamic memory management is initialized.
9333(Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
9334
9335Obsolete ACPICA interfaces:
9336
9337- AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
9338init
9339time).
9340- AcpiLoadTable: Not needed.
9341- AcpiUnloadTable: Not needed.
9342
9343New ACPICA interfaces:
9344
9345- AcpiInitializeTables: Must be called before the table manager can be
9346used.
9347- AcpiReallocateRootTable: Used to transfer the root table to dynamically
9348allocated memory after it becomes available.
9349- AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
9350tables
9351in the RSDT/XSDT.
9352
9353Other ACPICA changes:
9354
9355- AcpiGetTableHeader returns the actual mapped table header, not a copy.
9356Use
9357AcpiOsUnmapMemory to free this mapping.
9358- AcpiGetTable returns the actual mapped table. The mapping is managed
9359internally and must not be deleted by the caller. Use of this interface
9360causes no additional dynamic memory allocation.
9361- AcpiFindRootPointer: Support for physical addressing has been
9362eliminated,
9363it appeared to be unused.
9364- The interface to AcpiOsMapMemory has changed to be consistent with the
9365other allocation interfaces.
9366- The interface to AcpiOsGetRootPointer has changed to eliminate
9367unnecessary
9368parameters.
9369- ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
937064-
9371bit platforms. Was previously 64 bits on all platforms.
9372- The interface to the ACPI Global Lock acquire/release macros have
9373changed
9374slightly since ACPICA no longer keeps a local copy of the FACS with a
9375constructed pointer to the actual global lock.
9376
9377Porting to the new table manager:
9378
9379- AcpiInitializeTables: Must be called once, and can be called anytime
9380during the OS initialization process. It allows the host to specify an
9381area
9382of memory to be used to store the internal version of the RSDT/XSDT (root
9383table). This allows the host to access ACPI tables before memory
9384management
9385is initialized and running.
9386- AcpiReallocateRootTable: Can be called after memory management is
9387running
9388to copy the root table to a dynamically allocated array, freeing up the
9389scratch memory specified in the call to AcpiInitializeTables.
9390- AcpiSubsystemInitialize: This existing interface is independent of the
9391Table Manager, and does not have to be called before the Table Manager
9392can
9393be used, it only must be called before the rest of ACPICA can be used.
9394- ACPI Tables: Some changes have been made to the names and structure of
9395the
9396actbl.h and actbl1.h header files and may require changes to existing
9397code.
9398For example, bitfields have been completely removed because of their lack
9399of
9400portability across C compilers.
9401- Update interfaces to the Global Lock acquire/release macros if local
9402versions are used. (see acwin.h)
9403
9404Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
9405
9406New files: tbfind.c
9407
9408Example Code and Data Size: These are the sizes for the OS-independent
9409acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9410debug version of the code includes the debug output trace mechanism and
9411has
9412a much larger code and data size.
9413
9414  Previous Release:
9415    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9416    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9417  Current Release:
9418    Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9419    Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9420
9421
94222) iASL Compiler/Disassembler and Tools:
9423
9424No changes for this release.
9425
9426----------------------------------------
942721 July 2006. Summary of changes for version 20060721:
9428
94291) ACPI CA Core Subsystem:
9430
9431The full source code for the ASL test suite used to validate the iASL
9432compiler and the ACPICA core subsystem is being released with the ACPICA
9433source for the first time. The source is contained in a separate package
9434and
9435consists of over 1100 files that exercise all ASL/AML operators. The
9436package
9437should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
9438Fiodor
9439Suietov)
9440
9441Completed a new design and implementation for support of the ACPI Global
9442Lock. On the OS side, the global lock is now treated as a standard AML
9443mutex. Previously, multiple OS threads could "acquire" the global lock
9444simultaneously. However, this could cause the BIOS to be starved out of
9445the
9446lock - especially in cases such as the Embedded Controller driver where
9447there is a tight coupling between the OS and the BIOS.
9448
9449Implemented an optimization for the ACPI Global Lock interrupt mechanism.
9450The Global Lock interrupt handler no longer queues the execution of a
9451separate thread to signal the global lock semaphore. Instead, the
9452semaphore
9453is signaled directly from the interrupt handler.
9454
9455Implemented support within the AML interpreter for package objects that
9456contain a larger AML length (package list length) than the package
9457element
9458count. In this case, the length of the package is truncated to match the
9459package element count. Some BIOS code apparently modifies the package
9460length
9461on the fly, and this change supports this behavior. Provides
9462compatibility
9463with the MS AML interpreter. (With assistance from Fiodor Suietov)
9464
9465Implemented a temporary fix for the BankValue parameter of a Bank Field
9466to
9467support all constant values, now including the Zero and One opcodes.
9468Evaluation of this parameter must eventually be converted to a full
9469TermArg
9470evaluation. A not-implemented error is now returned (temporarily) for
9471non-
9472constant values for this parameter.
9473
9474Fixed problem reports (Fiodor Suietov) integrated:
9475- Fix for premature object deletion after CopyObject on Operation Region
9476(BZ
9477350)
9478
9479Example Code and Data Size: These are the sizes for the OS-independent
9480acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9481debug version of the code includes the debug output trace mechanism and
9482has
9483a much larger code and data size.
9484
9485  Previous Release:
9486    Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
9487    Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
9488  Current Release:
9489    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9490    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9491
9492
94932) iASL Compiler/Disassembler and Tools:
9494
9495No changes for this release.
9496
9497----------------------------------------
949807 July 2006. Summary of changes for version 20060707:
9499
95001) ACPI CA Core Subsystem:
9501
9502Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
9503that do not allow the initialization of address pointers within packed
9504structures - even though the hardware itself may support misaligned
9505transfers. Some of the debug data structures are packed by default to
9506minimize size.
9507
9508Added an error message for the case where AcpiOsGetThreadId() returns
9509zero.
9510A non-zero value is required by the core ACPICA code to ensure the proper
9511operation of AML mutexes and recursive control methods.
9512
9513The DSDT is now the only ACPI table that determines whether the AML
9514interpreter is in 32-bit or 64-bit mode. Not really a functional change,
9515but
9516the hooks for per-table 32/64 switching have been removed from the code.
9517A
9518clarification to the ACPI specification is forthcoming in ACPI 3.0B.
9519
9520Fixed a possible leak of an OwnerID in the error path of
9521AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
9522deletion to a single place in AcpiTbUninstallTable to correct possible
9523leaks
9524when using the AcpiTbDeleteTablesByType interface (with assistance from
9525Lance Ortiz.)
9526
9527Fixed a problem with Serialized control methods where the semaphore
9528associated with the method could be over-signaled after multiple method
9529invocations.
9530
9531Fixed two issues with the locking of the internal namespace data
9532structure.
9533Both the Unload() operator and AcpiUnloadTable interface now lock the
9534namespace during the namespace deletion associated with the table unload
9535(with assistance from Linn Crosetto.)
9536
9537Fixed problem reports (Valery Podrezov) integrated:
9538- Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
9539
9540Fixed problem reports (Fiodor Suietov) integrated:
9541- Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
9542- On Address Space handler deletion, needless deactivation call (BZ 374)
9543- AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
9544375)
9545- Possible memory leak, Notify sub-objects of Processor, Power,
9546ThermalZone
9547(BZ 376)
9548- AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
9549- Minimum Length of RSDT should be validated (BZ 379)
9550- AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
9551Handler (BZ (380)
9552- AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
9553loaded
9554(BZ 381)
9555
9556Example Code and Data Size: These are the sizes for the OS-independent
9557acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9558debug version of the code includes the debug output trace mechanism and
9559has
9560a much larger code and data size.
9561
9562  Previous Release:
9563    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9564    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9565  Current Release:
9566    Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9567    Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9568
9569
95702) iASL Compiler/Disassembler and Tools:
9571
9572Fixed problem reports:
9573Compiler segfault when ASL contains a long (>1024) String declaration (BZ
9574436)
9575
9576----------------------------------------
957723 June 2006. Summary of changes for version 20060623:
9578
95791) ACPI CA Core Subsystem:
9580
9581Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
9582allows the type to be customized to the host OS for improved efficiency
9583(since a spinlock is usually a very small object.)
9584
9585Implemented support for "ignored" bits in the ACPI registers. According
9586to
9587the ACPI specification, these bits should be preserved when writing the
9588registers via a read/modify/write cycle. There are 3 bits preserved in
9589this
9590manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
9591
9592Implemented the initial deployment of new OSL mutex interfaces. Since
9593some
9594host operating systems have separate mutex and semaphore objects, this
9595feature was requested. The base code now uses mutexes (and the new mutex
9596interfaces) wherever a binary semaphore was used previously. However, for
9597the current release, the mutex interfaces are defined as macros to map
9598them
9599to the existing semaphore interfaces. Therefore, no OSL changes are
9600required
9601at this time. (See acpiosxf.h)
9602
9603Fixed several problems with the support for the control method SyncLevel
9604parameter. The SyncLevel now works according to the ACPI specification
9605and
9606in concert with the Mutex SyncLevel parameter, since the current
9607SyncLevel
9608is a property of the executing thread. Mutual exclusion for control
9609methods
9610is now implemented with a mutex instead of a semaphore.
9611
9612Fixed three instances of the use of the C shift operator in the bitfield
9613support code (exfldio.c) to avoid the use of a shift value larger than
9614the
9615target data width. The behavior of C compilers is undefined in this case
9616and
9617can cause unpredictable results, and therefore the case must be detected
9618and
9619avoided. (Fiodor Suietov)
9620
9621Added an info message whenever an SSDT or OEM table is loaded dynamically
9622via the Load() or LoadTable() ASL operators. This should improve
9623debugging
9624capability since it will show exactly what tables have been loaded
9625(beyond
9626the tables present in the RSDT/XSDT.)
9627
9628Example Code and Data Size: These are the sizes for the OS-independent
9629acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9630debug version of the code includes the debug output trace mechanism and
9631has
9632a much larger code and data size.
9633
9634  Previous Release:
9635    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
9636    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
9637  Current Release:
9638    Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9639    Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9640
9641
96422) iASL Compiler/Disassembler and Tools:
9643
9644No changes for this release.
9645
9646----------------------------------------
964708 June 2006. Summary of changes for version 20060608:
9648
96491) ACPI CA Core Subsystem:
9650
9651Converted the locking mutex used for the ACPI hardware to a spinlock.
9652This
9653change should eliminate all problems caused by attempting to acquire a
9654semaphore at interrupt level, and it means that all ACPICA external
9655interfaces that directly access the ACPI hardware can be safely called
9656from
9657interrupt level. OSL code that implements the semaphore interfaces should
9658be
9659able to eliminate any workarounds for being called at interrupt level.
9660
9661Fixed a regression introduced in 20060526 where the ACPI device
9662initialization could be prematurely aborted with an AE_NOT_FOUND if a
9663device
9664did not have an optional _INI method.
9665
9666Fixed an IndexField issue where a write to the Data Register should be
9667limited in size to the AccessSize (width) of the IndexField itself. (BZ
9668433,
9669Fiodor Suietov)
9670
9671Fixed problem reports (Valery Podrezov) integrated:
9672- Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
9673
9674Fixed problem reports (Fiodor Suietov) integrated:
9675- AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
9676
9677Removed four global mutexes that were obsolete and were no longer being
9678used.
9679
9680Example Code and Data Size: These are the sizes for the OS-independent
9681acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9682debug version of the code includes the debug output trace mechanism and
9683has
9684a much larger code and data size.
9685
9686  Previous Release:
9687    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
9688    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
9689  Current Release:
9690    Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
9691    Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
9692
9693
96942) iASL Compiler/Disassembler and Tools:
9695
9696Fixed a fault when using -g option (get tables from registry) on Windows
9697machines.
9698
9699Fixed problem reports integrated:
9700- Generate error if CreateField NumBits parameter is zero. (BZ 405)
9701- Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
9702Suietov)
9703- Global table revision override (-r) is ignored (BZ 413)
9704
9705----------------------------------------
970626 May 2006. Summary of changes for version 20060526:
9707
97081) ACPI CA Core Subsystem:
9709
9710Restructured, flattened, and simplified the internal interfaces for
9711namespace object evaluation - resulting in smaller code, less CPU stack
9712use,
9713and fewer interfaces. (With assistance from Mikhail Kouzmich)
9714
9715Fixed a problem with the CopyObject operator where the first parameter
9716was
9717not typed correctly for the parser, interpreter, compiler, and
9718disassembler.
9719Caused various errors and unexpected behavior.
9720
9721Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
9722produced incorrect results with some C compilers. Since the behavior of C
9723compilers when the shift value is larger than the datatype width is
9724apparently not well defined, the interpreter now detects this condition
9725and
9726simply returns zero as expected in all such cases. (BZ 395)
9727
9728Fixed problem reports (Valery Podrezov) integrated:
9729- Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
9730- Allow interpreter to handle nested method declarations (BZ 5361)
9731
9732Fixed problem reports (Fiodor Suietov) integrated:
9733- AcpiTerminate doesn't free debug memory allocation list objects (BZ
9734355)
9735- After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
9736356)
9737- AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
9738- Resource Manager should return AE_TYPE for non-device objects (BZ 358)
9739- Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
9740- Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
9741- Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
9742- Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
9743- AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
9744365)
9745- Status of the Global Initialization Handler call not used (BZ 366)
9746- Incorrect object parameter to Global Initialization Handler (BZ 367)
9747
9748Example Code and Data Size: These are the sizes for the OS-independent
9749acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9750debug version of the code includes the debug output trace mechanism and
9751has
9752a much larger code and data size.
9753
9754  Previous Release:
9755    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
9756    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
9757  Current Release:
9758    Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
9759    Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
9760
9761
97622) iASL Compiler/Disassembler and Tools:
9763
9764Modified the parser to allow the names IO, DMA, and IRQ to be used as
9765namespace identifiers with no collision with existing resource descriptor
9766macro names. This provides compatibility with other ASL compilers and is
9767most useful for disassembly/recompilation of existing tables without
9768parse
9769errors. (With assistance from Thomas Renninger)
9770
9771Disassembler: fixed an incorrect disassembly problem with the
9772DataTableRegion and CopyObject operators. Fixed a possible fault during
9773disassembly of some Alias operators.
9774
9775----------------------------------------
977612 May 2006. Summary of changes for version 20060512:
9777
97781) ACPI CA Core Subsystem:
9779
9780Replaced the AcpiOsQueueForExecution interface with a new interface named
9781AcpiOsExecute. The major difference is that the new interface does not
9782have
9783a Priority parameter, this appeared to be useless and has been replaced
9784by
9785a
9786Type parameter. The Type tells the host what type of execution is being
9787requested, such as global lock handler, notify handler, GPE handler, etc.
9788This allows the host to queue and execute the request as appropriate for
9789the
9790request type, possibly using different work queues and different
9791priorities
9792for the various request types. This enables fixes for multithreading
9793deadlock problems such as BZ #5534, and will require changes to all
9794existing
9795OS interface layers. (Alexey Starikovskiy and Bob Moore)
9796
9797Fixed a possible memory leak associated with the support for the so-
9798called
9799"implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
9800Suietov)
9801
9802Fixed a problem with the Load() operator where a table load from an
9803operation region could overwrite an internal table buffer by up to 7
9804bytes
9805and cause alignment faults on IPF systems. (With assistance from Luming
9806Yu)
9807
9808Example Code and Data Size: These are the sizes for the OS-independent
9809acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9810debug version of the code includes the debug output trace mechanism and
9811has
9812a much larger code and data size.
9813
9814  Previous Release:
9815    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
9816    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
9817  Current Release:
9818    Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
9819    Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
9820
9821
9822
98232) iASL Compiler/Disassembler and Tools:
9824
9825Disassembler: Implemented support to cross reference the internal
9826namespace
9827and automatically generate ASL External() statements for symbols not
9828defined
9829within the current table being disassembled. This will simplify the
9830disassembly and recompilation of interdependent tables such as SSDTs
9831since
9832these statements will no longer have to be added manually.
9833
9834Disassembler: Implemented experimental support to automatically detect
9835invocations of external control methods and generate appropriate
9836External()
9837statements. This is problematic because the AML cannot be correctly
9838parsed
9839until the number of arguments for each control method is known.
9840Currently,
9841standalone method invocations and invocations as the source operand of a
9842Store() statement are supported.
9843
9844Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
9845LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
9846LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
9847more readable and likely closer to the original ASL source.
9848
9849----------------------------------------
985021 April 2006. Summary of changes for version 20060421:
9851
98521) ACPI CA Core Subsystem:
9853
9854Removed a device initialization optimization introduced in 20051216 where
9855the _STA method was not run unless an _INI was also present for the same
9856device. This optimization could cause problems because it could allow
9857_INI
9858methods to be run within a not-present device subtree. (If a not-present
9859device had no _INI, _STA would not be run, the not-present status would
9860not
9861be discovered, and the children of the device would be incorrectly
9862traversed.)
9863
9864Implemented a new _STA optimization where namespace subtrees that do not
9865contain _INI are identified and ignored during device initialization.
9866Selectively running _STA can significantly improve boot time on large
9867machines (with assistance from Len Brown.)
9868
9869Implemented support for the device initialization case where the returned
9870_STA flags indicate a device not-present but functioning. In this case,
9871_INI
9872is not run, but the device children are examined for presence, as per the
9873ACPI specification.
9874
9875Implemented an additional change to the IndexField support in order to
9876conform to MS behavior. The value written to the Index Register is not
9877simply a byte offset, it is a byte offset in units of the access width of
9878the parent Index Field. (Fiodor Suietov)
9879
9880Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
9881interface is called during the creation of all AML operation regions, and
9882allows the host OS to exert control over what addresses it will allow the
9883AML code to access. Operation Regions whose addresses are disallowed will
9884cause a runtime exception when they are actually accessed (will not
9885affect
9886or abort table loading.) See oswinxf or osunixxf for an example
9887implementation.
9888
9889Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
9890interface allows the host OS to match the various "optional"
9891interface/behavior strings for the _OSI predefined control method as
9892appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
9893for an example implementation.
9894
9895Restructured and corrected various problems in the exception handling
9896code
9897paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
9898(with assistance from Takayoshi Kochi.)
9899
9900Modified the Linux source converter to ignore quoted string literals
9901while
9902converting identifiers from mixed to lower case. This will correct
9903problems
9904with the disassembler and other areas where such strings must not be
9905modified.
9906
9907The ACPI_FUNCTION_* macros no longer require quotes around the function
9908name. This allows the Linux source converter to convert the names, now
9909that
9910the converter ignores quoted strings.
9911
9912Example Code and Data Size: These are the sizes for the OS-independent
9913acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9914debug version of the code includes the debug output trace mechanism and
9915has
9916a much larger code and data size.
9917
9918  Previous Release:
9919
9920    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
9921    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
9922  Current Release:
9923    Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
9924    Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
9925
9926
99272) iASL Compiler/Disassembler and Tools:
9928
9929Implemented 3 new warnings for iASL, and implemented multiple warning
9930levels
9931(w2 flag).
9932
99331) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
9934not
9935WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
9936check for the possible timeout, a warning is issued.
9937
99382) Useless operators: If an ASL operator does not specify an optional
9939target
9940operand and it also does not use the function return value from the
9941operator, a warning is issued since the operator effectively does
9942nothing.
9943
99443) Unreferenced objects: If a namespace object is created, but never
9945referenced, a warning is issued. This is a warning level 2 since there
9946are
9947cases where this is ok, such as when a secondary table is loaded that
9948uses
9949the unreferenced objects. Even so, care is taken to only flag objects
9950that
9951don't look like they will ever be used. For example, the reserved methods
9952(starting with an underscore) are usually not referenced because it is
9953expected that the OS will invoke them.
9954
9955----------------------------------------
995631 March 2006. Summary of changes for version 20060331:
9957
99581) ACPI CA Core Subsystem:
9959
9960Implemented header file support for the following additional ACPI tables:
9961ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
9962support,
9963all current and known ACPI tables are now defined in the ACPICA headers
9964and
9965are available for use by device drivers and other software.
9966
9967Implemented support to allow tables that contain ACPI names with invalid
9968characters to be loaded. Previously, this would cause the table load to
9969fail, but since there are several known cases of such tables on existing
9970machines, this change was made to enable ACPI support for them. Also,
9971this
9972matches the behavior of the Microsoft ACPI implementation.
9973
9974Fixed a couple regressions introduced during the memory optimization in
9975the
997620060317 release. The namespace node definition required additional
9977reorganization and an internal datatype that had been changed to 8-bit
9978was
9979restored to 32-bit. (Valery Podrezov)
9980
9981Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
9982could be passed through to AcpiOsReleaseObject which is unexpected. Such
9983null pointers are now trapped and ignored, matching the behavior of the
9984previous implementation before the deployment of AcpiOsReleaseObject.
9985(Valery Podrezov, Fiodor Suietov)
9986
9987Fixed a memory mapping leak during the deletion of a SystemMemory
9988operation
9989region where a cached memory mapping was not deleted. This became a
9990noticeable problem for operation regions that are defined within
9991frequently
9992used control methods. (Dana Meyers)
9993
9994Reorganized the ACPI table header files into two main files: one for the
9995ACPI tables consumed by the ACPICA core, and another for the
9996miscellaneous
9997ACPI tables that are consumed by the drivers and other software. The
9998various
9999FADT definitions were merged into one common section and three different
10000tables (ACPI 1.0, 1.0+, and 2.0)
10001
10002Example Code and Data Size: These are the sizes for the OS-independent
10003acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10004debug version of the code includes the debug output trace mechanism and
10005has
10006a much larger code and data size.
10007
10008  Previous Release:
10009    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10010    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10011  Current Release:
10012    Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10013    Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10014
10015
100162) iASL Compiler/Disassembler and Tools:
10017
10018Disassembler: Implemented support to decode and format all non-AML ACPI
10019tables (tables other than DSDTs and SSDTs.) This includes the new tables
10020added to the ACPICA headers, therefore all current and known ACPI tables
10021are
10022supported.
10023
10024Disassembler: The change to allow ACPI names with invalid characters also
10025enables the disassembly of such tables. Invalid characters within names
10026are
10027changed to '*' to make the name printable; the iASL compiler will still
10028generate an error for such names, however, since this is an invalid ACPI
10029character.
10030
10031Implemented an option for AcpiXtract (-a) to extract all tables found in
10032the
10033input file. The default invocation extracts only the DSDTs and SSDTs.
10034
10035Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
10036makefile for the AcpiXtract utility.
10037
10038----------------------------------------
1003917 March 2006. Summary of changes for version 20060317:
10040
100411) ACPI CA Core Subsystem:
10042
10043Implemented the use of a cache object for all internal namespace nodes.
10044Since there are about 1000 static nodes in a typical system, this will
10045decrease memory use for cache implementations that minimize per-
10046allocation
10047overhead (such as a slab allocator.)
10048
10049Removed the reference count mechanism for internal namespace nodes, since
10050it
10051was deemed unnecessary. This reduces the size of each namespace node by
10052about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
10053case,
10054and 32 bytes for the 64-bit case.
10055
10056Optimized several internal data structures to reduce object size on 64-
10057bit
10058platforms by packing data within the 64-bit alignment. This includes the
10059frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
10060instances corresponding to the namespace objects.
10061
10062Added two new strings for the predefined _OSI method: "Windows 2001.1
10063SP1"
10064and "Windows 2006".
10065
10066Split the allocation tracking mechanism out to a separate file, from
10067utalloc.c to uttrack.c. This mechanism appears to be only useful for
10068application-level code. Kernels may wish to not include uttrack.c in
10069distributions.
10070
10071Removed all remnants of the obsolete ACPI_REPORT_* macros and the
10072associated
10073code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
10074macros.)
10075
10076Code and Data Size: These are the sizes for the acpica.lib produced by
10077the
10078Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
10079ACPI
10080driver or OSPM code. The debug version of the code includes the debug
10081output
10082trace mechanism and has a much larger code and data size. Note that these
10083values will vary depending on the efficiency of the compiler and the
10084compiler options used during generation.
10085
10086  Previous Release:
10087    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10088    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10089  Current Release:
10090    Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10091    Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10092
10093
100942) iASL Compiler/Disassembler and Tools:
10095
10096Implemented an ANSI C version of the acpixtract utility. This version
10097will
10098automatically extract the DSDT and all SSDTs from the input acpidump text
10099file and dump the binary output to separate files. It can also display a
10100summary of the input file including the headers for each table found and
10101will extract any single ACPI table, with any signature. (See
10102source/tools/acpixtract)
10103
10104----------------------------------------
1010510 March 2006. Summary of changes for version 20060310:
10106
101071) ACPI CA Core Subsystem:
10108
10109Tagged all external interfaces to the subsystem with the new
10110ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
10111assist
10112kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
10113macro. The default definition is NULL.
10114
10115Added the ACPI_THREAD_ID type for the return value from
10116AcpiOsGetThreadId.
10117This allows the host to define this as necessary to simplify kernel
10118integration. The default definition is ACPI_NATIVE_UINT.
10119
10120Fixed two interpreter problems related to error processing, the deletion
10121of
10122objects, and placing invalid pointers onto the internal operator result
10123stack. BZ 6028, 6151 (Valery Podrezov)
10124
10125Increased the reference count threshold where a warning is emitted for
10126large
10127reference counts in order to eliminate unnecessary warnings on systems
10128with
10129large namespaces (especially 64-bit.) Increased the value from 0x400 to
101300x800.
10131
10132Due to universal disagreement as to the meaning of the 'c' in the
10133calloc()
10134function, the ACPI_MEM_CALLOCATE macro has been renamed to
10135ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
10136ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
10137ACPI_FREE.
10138
10139Code and Data Size: These are the sizes for the acpica.lib produced by
10140the
10141Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
10142ACPI
10143driver or OSPM code. The debug version of the code includes the debug
10144output
10145trace mechanism and has a much larger code and data size. Note that these
10146values will vary depending on the efficiency of the compiler and the
10147compiler options used during generation.
10148
10149  Previous Release:
10150    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10151    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10152  Current Release:
10153    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10154    Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10155
10156
101572) iASL Compiler/Disassembler:
10158
10159Disassembler: implemented support for symbolic resource descriptor
10160references. If a CreateXxxxField operator references a fixed offset
10161within
10162a
10163resource descriptor, a name is assigned to the descriptor and the offset
10164is
10165translated to the appropriate resource tag and pathname. The addition of
10166this support brings the disassembled code very close to the original ASL
10167source code and helps eliminate run-time errors when the disassembled
10168code
10169is modified (and recompiled) in such a way as to invalidate the original
10170fixed offsets.
10171
10172Implemented support for a Descriptor Name as the last parameter to the
10173ASL
10174Register() macro. This parameter was inadvertently left out of the ACPI
10175specification, and will be added for ACPI 3.0b.
10176
10177Fixed a problem where the use of the "_OSI" string (versus the full path
10178"\_OSI") caused an internal compiler error. ("No back ptr to op")
10179
10180Fixed a problem with the error message that occurs when an invalid string
10181is
10182used for a _HID object (such as one with an embedded asterisk:
10183"*PNP010A".)
10184The correct message is now displayed.
10185
10186----------------------------------------
1018717 February 2006. Summary of changes for version 20060217:
10188
101891) ACPI CA Core Subsystem:
10190
10191Implemented a change to the IndexField support to match the behavior of
10192the
10193Microsoft AML interpreter. The value written to the Index register is now
10194a
10195byte offset, no longer an index based upon the width of the Data
10196register.
10197This should fix IndexField problems seen on some machines where the Data
10198register is not exactly one byte wide. The ACPI specification will be
10199clarified on this point.
10200
10201Fixed a problem where several resource descriptor types could overrun the
10202internal descriptor buffer due to size miscalculation: VendorShort,
10203VendorLong, and Interrupt. This was noticed on IA64 machines, but could
10204affect all platforms.
10205
10206Fixed a problem where individual resource descriptors were misaligned
10207within
10208the internal buffer, causing alignment faults on IA64 platforms.
10209
10210Code and Data Size: These are the sizes for the acpica.lib produced by
10211the
10212Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
10213ACPI
10214driver or OSPM code. The debug version of the code includes the debug
10215output
10216trace mechanism and has a much larger code and data size. Note that these
10217values will vary depending on the efficiency of the compiler and the
10218compiler options used during generation.
10219
10220  Previous Release:
10221    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10222    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10223  Current Release:
10224    Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10225    Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10226
10227
102282) iASL Compiler/Disassembler:
10229
10230Implemented support for new reserved names: _WDG and _WED are Microsoft
10231extensions for Windows Instrumentation Management, _TDL is a new ACPI-
10232defined method (Throttling Depth Limit.)
10233
10234Fixed a problem where a zero-length VendorShort or VendorLong resource
10235descriptor was incorrectly emitted as a descriptor of length one.
10236
10237----------------------------------------
1023810 February 2006. Summary of changes for version 20060210:
10239
102401) ACPI CA Core Subsystem:
10241
10242Removed a couple of extraneous ACPI_ERROR messages that appeared during
10243normal execution. These became apparent after the conversion from
10244ACPI_DEBUG_PRINT.
10245
10246Fixed a problem where the CreateField operator could hang if the BitIndex
10247or
10248NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
10249
10250Fixed a problem where a DeRefOf operation on a buffer object incorrectly
10251failed with an exception. This also fixes a couple of related RefOf and
10252DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
10253
10254Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
10255of
10256AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
10257BZ
102585480)
10259
10260Implemented a memory cleanup at the end of the execution of each
10261iteration
10262of an AML While() loop, preventing the accumulation of outstanding
10263objects.
10264(Valery Podrezov, BZ 5427)
10265
10266Eliminated a chunk of duplicate code in the object resolution code.
10267(Valery
10268Podrezov, BZ 5336)
10269
10270Fixed several warnings during the 64-bit code generation.
10271
10272The AcpiSrc source code conversion tool now inserts one line of
10273whitespace
10274after an if() statement that is followed immediately by a comment,
10275improving
10276readability of the Linux code.
10277
10278Code and Data Size: The current and previous library sizes for the core
10279subsystem are shown below. These are the code and data sizes for the
10280acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10281These
10282values do not include any ACPI driver or OSPM code. The debug version of
10283the
10284code includes the debug output trace mechanism and has a much larger code
10285and data size. Note that these values will vary depending on the
10286efficiency
10287of the compiler and the compiler options used during generation.
10288
10289  Previous Release:
10290    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10291    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10292  Current Release:
10293    Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10294    Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10295
10296
102972) iASL Compiler/Disassembler:
10298
10299Fixed a problem with the disassembly of a BankField operator with a
10300complex
10301expression for the BankValue parameter.
10302
10303----------------------------------------
1030427 January 2006. Summary of changes for version 20060127:
10305
103061) ACPI CA Core Subsystem:
10307
10308Implemented support in the Resource Manager to allow unresolved
10309namestring
10310references within resource package objects for the _PRT method. This
10311support
10312is in addition to the previously implemented unresolved reference support
10313within the AML parser. If the interpreter slack mode is enabled, these
10314unresolved references will be passed through to the caller as a NULL
10315package
10316entry.
10317
10318Implemented and deployed new macros and functions for error and warning
10319messages across the subsystem. These macros are simpler and generate less
10320code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
10321ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
10322macros remain defined to allow ACPI drivers time to migrate to the new
10323macros.
10324
10325Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
10326the
10327Acquire/Release Lock OSL interfaces.
10328
10329Fixed a problem where Alias ASL operators are sometimes not correctly
10330resolved, in both the interpreter and the iASL compiler.
10331
10332Fixed several problems with the implementation of the
10333ConcatenateResTemplate
10334ASL operator. As per the ACPI specification, zero length buffers are now
10335treated as a single EndTag. One-length buffers always cause a fatal
10336exception. Non-zero length buffers that do not end with a full 2-byte
10337EndTag
10338cause a fatal exception.
10339
10340Fixed a possible structure overwrite in the AcpiGetObjectInfo external
10341interface. (With assistance from Thomas Renninger)
10342
10343Code and Data Size: The current and previous library sizes for the core
10344subsystem are shown below. These are the code and data sizes for the
10345acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10346These
10347values do not include any ACPI driver or OSPM code. The debug version of
10348the
10349code includes the debug output trace mechanism and has a much larger code
10350and data size. Note that these values will vary depending on the
10351efficiency
10352of the compiler and the compiler options used during generation.
10353
10354  Previous Release:
10355    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10356    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10357  Current Release:
10358    Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10359    Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10360
10361
103622) iASL Compiler/Disassembler:
10363
10364Fixed an internal error that was generated for any forward references to
10365ASL
10366Alias objects.
10367
10368----------------------------------------
1036913 January 2006. Summary of changes for version 20060113:
10370
103711) ACPI CA Core Subsystem:
10372
10373Added 2006 copyright to all module headers and signons. This affects
10374virtually every file in the ACPICA core subsystem, iASL compiler, and the
10375utilities.
10376
10377Enhanced the ACPICA error reporting in order to simplify user migration
10378to
10379the non-debug version of ACPICA. Replaced all instances of the
10380ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
10381debug
10382levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
10383respectively. This preserves all error and warning messages in the non-
10384debug
10385version of the ACPICA code (this has been referred to as the "debug lite"
10386option.) Over 200 cases were converted to create a total of over 380
10387error/warning messages across the ACPICA code. This increases the code
10388and
10389data size of the default non-debug version of the code somewhat (about
1039013K),
10391but all error/warning reporting may be disabled if desired (and code
10392eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
10393configuration option. The size of the debug version of ACPICA remains
10394about
10395the same.
10396
10397Fixed a memory leak within the AML Debugger "Set" command. One object was
10398not properly deleted for every successful invocation of the command.
10399
10400Code and Data Size: The current and previous library sizes for the core
10401subsystem are shown below. These are the code and data sizes for the
10402acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10403These
10404values do not include any ACPI driver or OSPM code. The debug version of
10405the
10406code includes the debug output trace mechanism and has a much larger code
10407and data size. Note that these values will vary depending on the
10408efficiency
10409of the compiler and the compiler options used during generation.
10410
10411  Previous Release:
10412    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10413    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10414  Current Release:
10415    Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10416    Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10417
10418
104192) iASL Compiler/Disassembler:
10420
10421The compiler now officially supports the ACPI 3.0a specification that was
10422released on December 30, 2005. (Specification is available at
10423www.acpi.info)
10424
10425----------------------------------------
1042616 December 2005. Summary of changes for version 20051216:
10427
104281) ACPI CA Core Subsystem:
10429
10430Implemented optional support to allow unresolved names within ASL Package
10431objects. A null object is inserted in the package when a named reference
10432cannot be located in the current namespace. Enabled via the interpreter
10433slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
10434machines
10435that contain such code.
10436
10437Implemented an optimization to the initialization sequence that can
10438improve
10439boot time. During ACPI device initialization, the _STA method is now run
10440if
10441and only if the _INI method exists. The _STA method is used to determine
10442if
10443the device is present; An _INI can only be run if _STA returns present,
10444but
10445it is a waste of time to run the _STA method if the _INI does not exist.
10446(Prototype and assistance from Dong Wei)
10447
10448Implemented use of the C99 uintptr_t for the pointer casting macros if it
10449is
10450available in the current compiler. Otherwise, the default (void *) cast
10451is
10452used as before.
10453
10454Fixed some possible memory leaks found within the execution path of the
10455Break, Continue, If, and CreateField operators. (Valery Podrezov)
10456
10457Fixed a problem introduced in the 20051202 release where an exception is
10458generated during method execution if a control method attempts to declare
10459another method.
10460
10461Moved resource descriptor string constants that are used by both the AML
10462disassembler and AML debugger to the common utilities directory so that
10463these components are independent.
10464
10465Implemented support in the AcpiExec utility (-e switch) to globally
10466ignore
10467exceptions during control method execution (method is not aborted.)
10468
10469Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
10470generation.
10471
10472Code and Data Size: The current and previous library sizes for the core
10473subsystem are shown below. These are the code and data sizes for the
10474acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10475These
10476values do not include any ACPI driver or OSPM code. The debug version of
10477the
10478code includes the debug output trace mechanism and has a much larger code
10479and data size. Note that these values will vary depending on the
10480efficiency
10481of the compiler and the compiler options used during generation.
10482
10483  Previous Release:
10484    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10485    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10486  Current Release:
10487    Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10488    Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10489
10490
104912) iASL Compiler/Disassembler:
10492
10493Fixed a problem where a CPU stack overflow fault could occur if a
10494recursive
10495method call was made from within a Return statement.
10496
10497----------------------------------------
1049802 December 2005. Summary of changes for version 20051202:
10499
105001) ACPI CA Core Subsystem:
10501
10502Modified the parsing of control methods to no longer create namespace
10503objects during the first pass of the parse. Objects are now created only
10504during the execute phase, at the moment the namespace creation operator
10505is
10506encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
10507This
10508should eliminate ALREADY_EXISTS exceptions seen on some machines where
10509reentrant control methods are protected by an AML mutex. The mutex will
10510now
10511correctly block multiple threads from attempting to create the same
10512object
10513more than once.
10514
10515Increased the number of available Owner Ids for namespace object tracking
10516from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
10517on
10518some machines with a large number of ACPI tables (either static or
10519dynamic).
10520
10521Fixed a problem with the AcpiExec utility where a fault could occur when
10522the
10523-b switch (batch mode) is used.
10524
10525Enhanced the namespace dump routine to output the owner ID for each
10526namespace object.
10527
10528Code and Data Size: The current and previous library sizes for the core
10529subsystem are shown below. These are the code and data sizes for the
10530acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10531These
10532values do not include any ACPI driver or OSPM code. The debug version of
10533the
10534code includes the debug output trace mechanism and has a much larger code
10535and data size. Note that these values will vary depending on the
10536efficiency
10537of the compiler and the compiler options used during generation.
10538
10539  Previous Release:
10540    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10541    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10542  Current Release:
10543    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10544    Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10545
10546
105472) iASL Compiler/Disassembler:
10548
10549Fixed a parse error during compilation of certain Switch/Case constructs.
10550To
10551simplify the parse, the grammar now allows for multiple Default
10552statements
10553and this error is now detected and flagged during the analysis phase.
10554
10555Disassembler: The disassembly now includes the contents of the original
10556table header within a comment at the start of the file. This includes the
10557name and version of the original ASL compiler.
10558
10559----------------------------------------
1056017 November 2005. Summary of changes for version 20051117:
10561
105621) ACPI CA Core Subsystem:
10563
10564Fixed a problem in the AML parser where the method thread count could be
10565decremented below zero if any errors occurred during the method parse
10566phase.
10567This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
10568machines.
10569This also fixed a related regression with the mechanism that detects and
10570corrects methods that cannot properly handle reentrancy (related to the
10571deployment of the new OwnerId mechanism.)
10572
10573Eliminated the pre-parsing of control methods (to detect errors) during
10574table load. Related to the problem above, this was causing unwind issues
10575if
10576any errors occurred during the parse, and it seemed to be overkill. A
10577table
10578load should not be aborted if there are problems with any single control
10579method, thus rendering this feature rather pointless.
10580
10581Fixed a problem with the new table-driven resource manager where an
10582internal
10583buffer overflow could occur for small resource templates.
10584
10585Implemented a new external interface, AcpiGetVendorResource. This
10586interface
10587will find and return a vendor-defined resource descriptor within a _CRS
10588or
10589_PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
10590Helgaas.
10591
10592Removed the length limit (200) on string objects as per the upcoming ACPI
105933.0A specification. This affects the following areas of the interpreter:
105941)
10595any implicit conversion of a Buffer to a String, 2) a String object
10596result
10597of the ASL Concatentate operator, 3) the String object result of the ASL
10598ToString operator.
10599
10600Fixed a problem in the Windows OS interface layer (OSL) where a
10601WAIT_FOREVER
10602on a semaphore object would incorrectly timeout. This allows the
10603multithreading features of the AcpiExec utility to work properly under
10604Windows.
10605
10606Updated the Linux makefiles for the iASL compiler and AcpiExec to include
10607the recently added file named "utresrc.c".
10608
10609Code and Data Size: The current and previous library sizes for the core
10610subsystem are shown below. These are the code and data sizes for the
10611acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10612These
10613values do not include any ACPI driver or OSPM code. The debug version of
10614the
10615code includes the debug output trace mechanism and has a much larger code
10616and data size. Note that these values will vary depending on the
10617efficiency
10618of the compiler and the compiler options used during generation.
10619
10620  Previous Release:
10621    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
10622    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10623  Current Release:
10624    Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10625    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10626
10627
106282) iASL Compiler/Disassembler:
10629
10630Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
10631specification. For the iASL compiler, this means that string literals
10632within
10633the source ASL can be of any length.
10634
10635Enhanced the listing output to dump the AML code for resource descriptors
10636immediately after the ASL code for each descriptor, instead of in a block
10637at
10638the end of the entire resource template.
10639
10640Enhanced the compiler debug output to dump the entire original parse tree
10641constructed during the parse phase, before any transforms are applied to
10642the
10643tree. The transformed tree is dumped also.
10644
10645----------------------------------------
1064602 November 2005. Summary of changes for version 20051102:
10647
106481) ACPI CA Core Subsystem:
10649
10650Modified the subsystem initialization sequence to improve GPE support.
10651The
10652GPE initialization has been split into two parts in order to defer
10653execution
10654of the _PRW methods (Power Resources for Wake) until after the hardware
10655is
10656fully initialized and the SCI handler is installed. This allows the _PRW
10657methods to access fields protected by the Global Lock. This will fix
10658systems
10659where a NO_GLOBAL_LOCK exception has been seen during initialization.
10660
10661Converted the ACPI internal object disassemble and display code within
10662the
10663AML debugger to fully table-driven operation, reducing code size and
10664increasing maintainability.
10665
10666Fixed a regression with the ConcatenateResTemplate() ASL operator
10667introduced
10668in the 20051021 release.
10669
10670Implemented support for "local" internal ACPI object types within the
10671debugger "Object" command and the AcpiWalkNamespace external interfaces.
10672These local types include RegionFields, BankFields, IndexFields, Alias,
10673and
10674reference objects.
10675
10676Moved common AML resource handling code into a new file, "utresrc.c".
10677This
10678code is shared by both the Resource Manager and the AML Debugger.
10679
10680Code and Data Size: The current and previous library sizes for the core
10681subsystem are shown below. These are the code and data sizes for the
10682acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10683These
10684values do not include any ACPI driver or OSPM code. The debug version of
10685the
10686code includes the debug output trace mechanism and has a much larger code
10687and data size. Note that these values will vary depending on the
10688efficiency
10689of the compiler and the compiler options used during generation.
10690
10691  Previous Release:
10692    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
10693    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
10694  Current Release:
10695    Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
10696    Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10697
10698
106992) iASL Compiler/Disassembler:
10700
10701Fixed a problem with very large initializer lists (more than 4000
10702elements)
10703for both Buffer and Package objects where the parse stack could overflow.
10704
10705Enhanced the pre-compile source code scan for non-ASCII characters to
10706ignore
10707characters within comment fields. The scan is now always performed and is
10708no
10709longer optional, detecting invalid characters within a source file
10710immediately rather than during the parse phase or later.
10711
10712Enhanced the ASL grammar definition to force early reductions on all
10713list-
10714style grammar elements so that the overall parse stack usage is greatly
10715reduced. This should improve performance and reduce the possibility of
10716parse
10717stack overflow.
10718
10719Eliminated all reduce/reduce conflicts in the iASL parser generation.
10720Also,
10721with the addition of a %expected statement, the compiler generates from
10722source with no warnings.
10723
10724Fixed a possible segment fault in the disassembler if the input filename
10725does not contain a "dot" extension (Thomas Renninger).
10726
10727----------------------------------------
1072821 October 2005. Summary of changes for version 20051021:
10729
107301) ACPI CA Core Subsystem:
10731
10732Implemented support for the EM64T and other x86-64 processors. This
10733essentially entails recognizing that these processors support non-aligned
10734memory transfers. Previously, all 64-bit processors were assumed to lack
10735hardware support for non-aligned transfers.
10736
10737Completed conversion of the Resource Manager to nearly full table-driven
10738operation. Specifically, the resource conversion code (convert AML to
10739internal format and the reverse) and the debug code to dump internal
10740resource descriptors are fully table-driven, reducing code and data size
10741and
10742improving maintainability.
10743
10744The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
10745word
10746on 64-bit processors instead of a fixed 32-bit word. (With assistance
10747from
10748Alexey Starikovskiy)
10749
10750Implemented support within the resource conversion code for the Type-
10751Specific byte within the various ACPI 3.0 *WordSpace macros.
10752
10753Fixed some issues within the resource conversion code for the type-
10754specific
10755flags for both Memory and I/O address resource descriptors. For Memory,
10756implemented support for the MTP and TTP flags. For I/O, split the TRS and
10757TTP flags into two separate fields.
10758
10759Code and Data Size: The current and previous library sizes for the core
10760subsystem are shown below. These are the code and data sizes for the
10761acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10762These
10763values do not include any ACPI driver or OSPM code. The debug version of
10764the
10765code includes the debug output trace mechanism and has a much larger code
10766and data size. Note that these values will vary depending on the
10767efficiency
10768of the compiler and the compiler options used during generation.
10769
10770  Previous Release:
10771    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
10772    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
10773  Current Release:
10774    Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
10775    Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
10776
10777
10778
107792) iASL Compiler/Disassembler:
10780
10781Relaxed a compiler restriction that disallowed a ResourceIndex byte if
10782the
10783corresponding ResourceSource string was not also present in a resource
10784descriptor declaration. This restriction caused problems with existing
10785AML/ASL code that includes the Index byte without the string. When such
10786AML
10787was disassembled, it could not be compiled without modification. Further,
10788the modified code created a resource template with a different size than
10789the
10790original, breaking code that used fixed offsets into the resource
10791template
10792buffer.
10793
10794Removed a recent feature of the disassembler to ignore a lone
10795ResourceIndex
10796byte. This byte is now emitted if present so that the exact AML can be
10797reproduced when the disassembled code is recompiled.
10798
10799Improved comments and text alignment for the resource descriptor code
10800emitted by the disassembler.
10801
10802Implemented disassembler support for the ACPI 3.0 AccessSize field within
10803a
10804Register() resource descriptor.
10805
10806----------------------------------------
1080730 September 2005. Summary of changes for version 20050930:
10808
108091) ACPI CA Core Subsystem:
10810
10811Completed a major overhaul of the Resource Manager code - specifically,
10812optimizations in the area of the AML/internal resource conversion code.
10813The
10814code has been optimized to simplify and eliminate duplicated code, CPU
10815stack
10816use has been decreased by optimizing function parameters and local
10817variables, and naming conventions across the manager have been
10818standardized
10819for clarity and ease of maintenance (this includes function, parameter,
10820variable, and struct/typedef names.) The update may force changes in some
10821driver code, depending on how resources are handled by the host OS.
10822
10823All Resource Manager dispatch and information tables have been moved to a
10824single location for clarity and ease of maintenance. One new file was
10825created, named "rsinfo.c".
10826
10827The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
10828guarantee that the argument is not evaluated twice, making them less
10829prone
10830to macro side-effects. However, since there exists the possibility of
10831additional stack use if a particular compiler cannot optimize them (such
10832as
10833in the debug generation case), the original macros are optionally
10834available.
10835Note that some invocations of the return_VALUE macro may now cause size
10836mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
10837to
10838eliminate these. (From Randy Dunlap)
10839
10840Implemented a new mechanism to enable debug tracing for individual
10841control
10842methods. A new external interface, AcpiDebugTrace, is provided to enable
10843this mechanism. The intent is to allow the host OS to easily enable and
10844disable tracing for problematic control methods. This interface can be
10845easily exposed to a user or debugger interface if desired. See the file
10846psxface.c for details.
10847
10848AcpiUtCallocate will now return a valid pointer if a length of zero is
10849specified - a length of one is used and a warning is issued. This matches
10850the behavior of AcpiUtAllocate.
10851
10852Code and Data Size: The current and previous library sizes for the core
10853subsystem are shown below. These are the code and data sizes for the
10854acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10855These
10856values do not include any ACPI driver or OSPM code. The debug version of
10857the
10858code includes the debug output trace mechanism and has a much larger code
10859and data size. Note that these values will vary depending on the
10860efficiency
10861of the compiler and the compiler options used during generation.
10862
10863  Previous Release:
10864    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
10865    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
10866  Current Release:
10867    Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
10868    Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
10869
10870
108712) iASL Compiler/Disassembler:
10872
10873A remark is issued if the effective compile-time length of a package or
10874buffer is zero. Previously, this was a warning.
10875
10876----------------------------------------
1087716 September 2005. Summary of changes for version 20050916:
10878
108791) ACPI CA Core Subsystem:
10880
10881Fixed a problem within the Resource Manager where support for the Generic
10882Register descriptor was not fully implemented. This descriptor is now
10883fully
10884recognized, parsed, disassembled, and displayed.
10885
10886Completely restructured the Resource Manager code to utilize table-driven
10887dispatch and lookup, eliminating many of the large switch() statements.
10888This
10889reduces overall subsystem code size and code complexity. Affects the
10890resource parsing and construction, disassembly, and debug dump output.
10891
10892Cleaned up and restructured the debug dump output for all resource
10893descriptors. Improved readability of the output and reduced code size.
10894
10895Fixed a problem where changes to internal data structures caused the
10896optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
10897
10898Code and Data Size: The current and previous library sizes for the core
10899subsystem are shown below. These are the code and data sizes for the
10900acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10901These
10902values do not include any ACPI driver or OSPM code. The debug version of
10903the
10904code includes the debug output trace mechanism and has a much larger code
10905and data size. Note that these values will vary depending on the
10906efficiency
10907of the compiler and the compiler options used during generation.
10908
10909  Previous Release:
10910    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
10911    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
10912  Current Release:
10913    Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
10914    Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
10915
10916
109172) iASL Compiler/Disassembler:
10918
10919Updated the disassembler to automatically insert an EndDependentFn()
10920macro
10921into the ASL stream if this macro is missing in the original AML code,
10922simplifying compilation of the resulting ASL module.
10923
10924Fixed a problem in the disassembler where a disassembled ResourceSource
10925string (within a large resource descriptor) was not surrounded by quotes
10926and
10927not followed by a comma, causing errors when the resulting ASL module was
10928compiled. Also, escape sequences within a ResourceSource string are now
10929handled correctly (especially "\\")
10930
10931----------------------------------------
1093202 September 2005. Summary of changes for version 20050902:
10933
109341) ACPI CA Core Subsystem:
10935
10936Fixed a problem with the internal Owner ID allocation and deallocation
10937mechanisms for control method execution and recursive method invocation.
10938This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
10939messages seen on some systems. Recursive method invocation depth is
10940currently limited to 255. (Alexey Starikovskiy)
10941
10942Completely eliminated all vestiges of support for the "module-level
10943executable code" until this support is fully implemented and debugged.
10944This
10945should eliminate the NO_RETURN_VALUE exceptions seen during table load on
10946some systems that invoke this support.
10947
10948Fixed a problem within the resource manager code where the transaction
10949flags
10950for a 64-bit address descriptor were handled incorrectly in the type-
10951specific flag byte.
10952
10953Consolidated duplicate code within the address descriptor resource
10954manager
10955code, reducing overall subsystem code size.
10956
10957Fixed a fault when using the AML debugger "disassemble" command to
10958disassemble individual control methods.
10959
10960Removed references to the "release_current" directory within the Unix
10961release package.
10962
10963Code and Data Size: The current and previous core subsystem library sizes
10964are shown below. These are the code and data sizes for the acpica.lib
10965produced by the Microsoft Visual C++ 6.0 compiler. These values do not
10966include any ACPI driver or OSPM code. The debug version of the code
10967includes
10968the debug output trace mechanism and has a much larger code and data
10969size.
10970Note that these values will vary depending on the efficiency of the
10971compiler
10972and the compiler options used during generation.
10973
10974  Previous Release:
10975    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
10976    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
10977  Current Release:
10978    Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
10979    Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
10980
10981
109822) iASL Compiler/Disassembler:
10983
10984Implemented an error check for illegal duplicate values in the interrupt
10985and
10986dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
10987Interrupt().
10988
10989Implemented error checking for the Irq() and IrqNoFlags() macros to
10990detect
10991too many values in the interrupt list (16 max) and invalid values in the
10992list (range 0 - 15)
10993
10994The maximum length string literal within an ASL file is now restricted to
10995200 characters as per the ACPI specification.
10996
10997Fixed a fault when using the -ln option (generate namespace listing).
10998
10999Implemented an error check to determine if a DescriptorName within a
11000resource descriptor has already been used within the current scope.
11001
11002----------------------------------------
1100315 August 2005.  Summary of changes for version 20050815:
11004
110051) ACPI CA Core Subsystem:
11006
11007Implemented a full bytewise compare to determine if a table load request
11008is
11009attempting to load a duplicate table. The compare is performed if the
11010table
11011signatures and table lengths match. This will allow different tables with
11012the same OEM Table ID and revision to be loaded - probably against the
11013ACPI
11014specification, but discovered in the field nonetheless.
11015
11016Added the changes.txt logfile to each of the zipped release packages.
11017
11018Code and Data Size: Current and previous core subsystem library sizes are
11019shown below. These are the code and data sizes for the acpica.lib
11020produced
11021by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11022any ACPI driver or OSPM code. The debug version of the code includes the
11023debug output trace mechanism and has a much larger code and data size.
11024Note
11025that these values will vary depending on the efficiency of the compiler
11026and
11027the compiler options used during generation.
11028
11029  Previous Release:
11030    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11031    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11032  Current Release:
11033    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11034    Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11035
11036
110372) iASL Compiler/Disassembler:
11038
11039Fixed a problem where incorrect AML code could be generated for Package
11040objects if optimization is disabled (via the -oa switch).
11041
11042Fixed a problem with where incorrect AML code is generated for variable-
11043length packages when the package length is not specified and the number
11044of
11045initializer values is greater than 255.
11046
11047
11048----------------------------------------
1104929 July 2005.  Summary of changes for version 20050729:
11050
110511) ACPI CA Core Subsystem:
11052
11053Implemented support to ignore an attempt to install/load a particular
11054ACPI
11055table more than once. Apparently there exists BIOS code that repeatedly
11056attempts to load the same SSDT upon certain events. With assistance from
11057Venkatesh Pallipadi.
11058
11059Restructured the main interface to the AML parser in order to correctly
11060handle all exceptional conditions. This will prevent leakage of the
11061OwnerId
11062resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
11063some
11064machines. With assistance from Alexey Starikovskiy.
11065
11066Support for "module level code" has been disabled in this version due to
11067a
11068number of issues that have appeared on various machines. The support can
11069be
11070enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
11071compilation. When the issues are fully resolved, the code will be enabled
11072by
11073default again.
11074
11075Modified the internal functions for debug print support to define the
11076FunctionName parameter as a (const char *) for compatibility with
11077compiler
11078built-in macros such as __FUNCTION__, etc.
11079
11080Linted the entire ACPICA source tree for both 32-bit and 64-bit.
11081
11082Implemented support to display an object count summary for the AML
11083Debugger
11084commands Object and Methods.
11085
11086Code and Data Size: Current and previous core subsystem library sizes are
11087shown below. These are the code and data sizes for the acpica.lib
11088produced
11089by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11090any ACPI driver or OSPM code. The debug version of the code includes the
11091debug output trace mechanism and has a much larger code and data size.
11092Note
11093that these values will vary depending on the efficiency of the compiler
11094and
11095the compiler options used during generation.
11096
11097  Previous Release:
11098    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11099    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11100  Current Release:
11101    Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11102    Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11103
11104
111052) iASL Compiler/Disassembler:
11106
11107Fixed a regression that appeared in the 20050708 version of the compiler
11108where an error message was inadvertently emitted for invocations of the
11109_OSI
11110reserved control method.
11111
11112----------------------------------------
1111308 July 2005.  Summary of changes for version 20050708:
11114
111151) ACPI CA Core Subsystem:
11116
11117The use of the CPU stack in the debug version of the subsystem has been
11118considerably reduced. Previously, a debug structure was declared in every
11119function that used the debug macros. This structure has been removed in
11120favor of declaring the individual elements as parameters to the debug
11121functions. This reduces the cumulative stack use during nested execution
11122of
11123ACPI function calls at the cost of a small increase in the code size of
11124the
11125debug version of the subsystem. With assistance from Alexey Starikovskiy
11126and
11127Len Brown.
11128
11129Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
11130headers to define a macro that will return the current function name at
11131runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
11132by
11133the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
11134compiler-dependent header, the function name is saved on the CPU stack
11135(one
11136pointer per function.) This mechanism is used because apparently there
11137exists no standard ANSI-C defined macro that that returns the function
11138name.
11139
11140Redesigned and reimplemented the "Owner ID" mechanism used to track
11141namespace objects created/deleted by ACPI tables and control method
11142execution. A bitmap is now used to allocate and free the IDs, thus
11143solving
11144the wraparound problem present in the previous implementation. The size
11145of
11146the namespace node descriptor was reduced by 2 bytes as a result (Alexey
11147Starikovskiy).
11148
11149Removed the UINT32_BIT and UINT16_BIT types that were used for the
11150bitfield
11151flag definitions within the headers for the predefined ACPI tables. These
11152have been replaced by UINT8_BIT in order to increase the code portability
11153of
11154the subsystem. If the use of UINT8 remains a problem, we may be forced to
11155eliminate bitfields entirely because of a lack of portability.
11156
11157Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
11158This
11159is a frequently used function and this improvement increases the
11160performance
11161of the entire subsystem (Alexey Starikovskiy).
11162
11163Fixed several possible memory leaks and the inverse - premature object
11164deletion (Alexey Starikovskiy).
11165
11166Code and Data Size: Current and previous core subsystem library sizes are
11167shown below. These are the code and data sizes for the acpica.lib
11168produced
11169by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11170any ACPI driver or OSPM code. The debug version of the code includes the
11171debug output trace mechanism and has a much larger code and data size.
11172Note
11173that these values will vary depending on the efficiency of the compiler
11174and
11175the compiler options used during generation.
11176
11177  Previous Release:
11178    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11179    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11180  Current Release:
11181    Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11182    Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11183
11184----------------------------------------
1118524 June 2005.  Summary of changes for version 20050624:
11186
111871) ACPI CA Core Subsystem:
11188
11189Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
11190the host-defined cache object. This allows the OSL implementation to
11191define
11192and type this object in any manner desired, simplifying the OSL
11193implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
11194Linux, and should be defined in the OS-specific header file for other
11195operating systems as required.
11196
11197Changed the interface to AcpiOsAcquireObject to directly return the
11198requested object as the function return (instead of ACPI_STATUS.) This
11199change was made for performance reasons, since this is the purpose of the
11200interface in the first place. AcpiOsAcquireObject is now similar to the
11201AcpiOsAllocate interface.
11202
11203Implemented a new AML debugger command named Businfo. This command
11204displays
11205information about all devices that have an associate _PRT object. The
11206_ADR,
11207_HID, _UID, and _CID are displayed for these devices.
11208
11209Modified the initialization sequence in AcpiInitializeSubsystem to call
11210the
11211OSL interface AcpiOslInitialize first, before any local initialization.
11212This
11213change was required because the global initialization now calls OSL
11214interfaces.
11215
11216Enhanced the Dump command to display the entire contents of Package
11217objects
11218(including all sub-objects and their values.)
11219
11220Restructured the code base to split some files because of size and/or
11221because the code logically belonged in a separate file. New files are
11222listed
11223below. All makefiles and project files included in the ACPI CA release
11224have
11225been updated.
11226    utilities/utcache.c           /* Local cache interfaces */
11227    utilities/utmutex.c           /* Local mutex support */
11228    utilities/utstate.c           /* State object support */
11229    interpreter/parser/psloop.c   /* Main AML parse loop */
11230
11231Code and Data Size: Current and previous core subsystem library sizes are
11232shown below. These are the code and data sizes for the acpica.lib
11233produced
11234by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11235any ACPI driver or OSPM code. The debug version of the code includes the
11236debug output trace mechanism and has a much larger code and data size.
11237Note
11238that these values will vary depending on the efficiency of the compiler
11239and
11240the compiler options used during generation.
11241
11242  Previous Release:
11243    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11244    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11245  Current Release:
11246    Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11247    Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11248
11249
112502) iASL Compiler/Disassembler:
11251
11252Fixed a regression introduced in version 20050513 where the use of a
11253Package
11254object within a Case() statement caused a compile time exception. The
11255original behavior has been restored (a Match() operator is emitted.)
11256
11257----------------------------------------
1125817 June 2005.  Summary of changes for version 20050617:
11259
112601) ACPI CA Core Subsystem:
11261
11262Moved the object cache operations into the OS interface layer (OSL) to
11263allow
11264the host OS to handle these operations if desired (for example, the Linux
11265OSL will invoke the slab allocator). This support is optional; the
11266compile
11267time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
11268cache
11269code in the ACPI CA core. The new OSL interfaces are shown below. See
11270utalloc.c for an example implementation, and acpiosxf.h for the exact
11271interface definitions. With assistance from Alexey Starikovskiy.
11272    AcpiOsCreateCache
11273    AcpiOsDeleteCache
11274    AcpiOsPurgeCache
11275    AcpiOsAcquireObject
11276    AcpiOsReleaseObject
11277
11278Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
11279return
11280and restore a flags parameter. This fits better with many OS lock models.
11281Note: the current execution state (interrupt handler or not) is no longer
11282passed to these interfaces. If necessary, the OSL must determine this
11283state
11284by itself, a simple and fast operation. With assistance from Alexey
11285Starikovskiy.
11286
11287Fixed a problem in the ACPI table handling where a valid XSDT was assumed
11288present if the revision of the RSDP was 2 or greater. According to the
11289ACPI
11290specification, the XSDT is optional in all cases, and the table manager
11291therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
11292Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
11293contain
11294only the RSDT.
11295
11296Fixed an interpreter problem with the Mid() operator in the case of an
11297input
11298string where the resulting output string is of zero length. It now
11299correctly
11300returns a valid, null terminated string object instead of a string object
11301with a null pointer.
11302
11303Fixed a problem with the control method argument handling to allow a
11304store
11305to an Arg object that already contains an object of type Device. The
11306Device
11307object is now correctly overwritten. Previously, an error was returned.
11308
11309
11310Enhanced the debugger Find command to emit object values in addition to
11311the
11312found object pathnames. The output format is the same as the dump
11313namespace
11314command.
11315
11316Enhanced the debugger Set command. It now has the ability to set the
11317value
11318of any Named integer object in the namespace (Previously, only method
11319locals
11320and args could be set.)
11321
11322Code and Data Size: Current and previous core subsystem library sizes are
11323shown below. These are the code and data sizes for the acpica.lib
11324produced
11325by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11326any ACPI driver or OSPM code. The debug version of the code includes the
11327debug output trace mechanism and has a much larger code and data size.
11328Note
11329that these values will vary depending on the efficiency of the compiler
11330and
11331the compiler options used during generation.
11332
11333  Previous Release:
11334    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11335    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11336  Current Release:
11337    Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11338    Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11339
11340
113412) iASL Compiler/Disassembler:
11342
11343Fixed a regression in the disassembler where if/else/while constructs
11344were
11345output incorrectly. This problem was introduced in the previous release
11346(20050526). This problem also affected the single-step disassembly in the
11347debugger.
11348
11349Fixed a problem where compiling the reserved _OSI method would randomly
11350(but
11351rarely) produce compile errors.
11352
11353Enhanced the disassembler to emit compilable code in the face of
11354incorrect
11355AML resource descriptors. If the optional ResourceSourceIndex is present,
11356but the ResourceSource is not, do not emit the ResourceSourceIndex in the
11357disassembly. Otherwise, the resulting code cannot be compiled without
11358errors.
11359
11360----------------------------------------
1136126 May 2005.  Summary of changes for version 20050526:
11362
113631) ACPI CA Core Subsystem:
11364
11365Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
11366the module level (not within a control method.) These opcodes are
11367executed
11368exactly once at the time the table is loaded. This type of code was legal
11369up
11370until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
11371in
11372order to provide backwards compatibility with earlier BIOS
11373implementations.
11374This eliminates the "Encountered executable code at module level" warning
11375that was previously generated upon detection of such code.
11376
11377Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
11378inadvertently be generated during the lookup of namespace objects in the
11379second pass parse of ACPI tables and control methods. It appears that
11380this
11381problem could occur during the resolution of forward references to
11382namespace
11383objects.
11384
11385Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
11386corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
11387allows the deadlock detection debug code to be compiled out in the normal
11388case, improving mutex performance (and overall subsystem performance)
11389considerably.
11390
11391Implemented a handful of miscellaneous fixes for possible memory leaks on
11392error conditions and error handling control paths. These fixes were
11393suggested by FreeBSD and the Coverity Prevent source code analysis tool.
11394
11395Added a check for a null RSDT pointer in AcpiGetFirmwareTable
11396(tbxfroot.c)
11397to prevent a fault in this error case.
11398
11399Code and Data Size: Current and previous core subsystem library sizes are
11400shown below. These are the code and data sizes for the acpica.lib
11401produced
11402by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11403any ACPI driver or OSPM code. The debug version of the code includes the
11404debug output trace mechanism and has a much larger code and data size.
11405Note
11406that these values will vary depending on the efficiency of the compiler
11407and
11408the compiler options used during generation.
11409
11410  Previous Release:
11411    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11412    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11413  Current Release:
11414    Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11415    Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11416
11417
114182) iASL Compiler/Disassembler:
11419
11420Implemented support to allow Type 1 and Type 2 ASL operators to appear at
11421the module level (not within a control method.) These operators will be
11422executed once at the time the table is loaded. This type of code was
11423legal
11424up until the release of ACPI 2.0B (2002) and is now supported by the iASL
11425compiler in order to provide backwards compatibility with earlier BIOS
11426ASL
11427code.
11428
11429The ACPI integer width (specified via the table revision ID or the -r
11430override, 32 or 64 bits) is now used internally during compile-time
11431constant
11432folding to ensure that constants are truncated to 32 bits if necessary.
11433Previously, the revision ID value was only emitted in the AML table
11434header.
11435
11436An error message is now generated for the Mutex and Method operators if
11437the
11438SyncLevel parameter is outside the legal range of 0 through 15.
11439
11440Fixed a problem with the Method operator ParameterTypes list handling
11441(ACPI
114423.0). Previously, more than 2 types or 2 arguments generated a syntax
11443error.
11444The actual underlying implementation of method argument typechecking is
11445still under development, however.
11446
11447----------------------------------------
1144813 May 2005.  Summary of changes for version 20050513:
11449
114501) ACPI CA Core Subsystem:
11451
11452Implemented support for PCI Express root bridges -- added support for
11453device
11454PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
11455
11456The interpreter now automatically truncates incoming 64-bit constants to
1145732
11458bits if currently executing out of a 32-bit ACPI table (Revision < 2).
11459This
11460also affects the iASL compiler constant folding. (Note: as per below, the
11461iASL compiler no longer allows 64-bit constants within 32-bit tables.)
11462
11463Fixed a problem where string and buffer objects with "static" pointers
11464(pointers to initialization data within an ACPI table) were not handled
11465consistently. The internal object copy operation now always copies the
11466data
11467to a newly allocated buffer, regardless of whether the source object is
11468static or not.
11469
11470Fixed a problem with the FromBCD operator where an implicit result
11471conversion was improperly performed while storing the result to the
11472target
11473operand. Since this is an "explicit conversion" operator, the implicit
11474conversion should never be performed on the output.
11475
11476Fixed a problem with the CopyObject operator where a copy to an existing
11477named object did not always completely overwrite the existing object
11478stored
11479at name. Specifically, a buffer-to-buffer copy did not delete the
11480existing
11481buffer.
11482
11483Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
11484and
11485structs for consistency.
11486
11487Code and Data Size: Current and previous core subsystem library sizes are
11488shown below. These are the code and data sizes for the acpica.lib
11489produced
11490by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11491any ACPI driver or OSPM code. The debug version of the code includes the
11492debug output trace mechanism and has a much larger code and data size.
11493Note
11494that these values will vary depending on the efficiency of the compiler
11495and
11496the compiler options used during generation.
11497
11498  Previous Release:
11499    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11500    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11501  Current Release: (Same sizes)
11502    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11503    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11504
11505
115062) iASL Compiler/Disassembler:
11507
11508The compiler now emits a warning if an attempt is made to generate a 64-
11509bit
11510integer constant from within a 32-bit ACPI table (Revision < 2). The
11511integer
11512is truncated to 32 bits.
11513
11514Fixed a problem with large package objects: if the static length of the
11515package is greater than 255, the "variable length package" opcode is
11516emitted. Previously, this caused an error. This requires an update to the
11517ACPI spec, since it currently (incorrectly) states that packages larger
11518than
11519255 elements are not allowed.
11520
11521The disassembler now correctly handles variable length packages and
11522packages
11523larger than 255 elements.
11524
11525----------------------------------------
1152608 April 2005.  Summary of changes for version 20050408:
11527
115281) ACPI CA Core Subsystem:
11529
11530Fixed three cases in the interpreter where an "index" argument to an ASL
11531function was still (internally) 32 bits instead of the required 64 bits.
11532This was the Index argument to the Index, Mid, and Match operators.
11533
11534The "strupr" function is now permanently local (AcpiUtStrupr), since this
11535is
11536not a POSIX-defined function and not present in most kernel-level C
11537libraries. All references to the C library strupr function have been
11538removed
11539from the headers.
11540
11541Completed the deployment of static functions/prototypes. All prototypes
11542with
11543the static attribute have been moved from the headers to the owning C
11544file.
11545
11546Implemented an extract option (-e) for the AcpiBin utility (AML binary
11547utility). This option allows the utility to extract individual ACPI
11548tables
11549from the output of AcpiDmp. It provides the same functionality of the
11550acpixtract.pl perl script without the worry of setting the correct perl
11551options. AcpiBin runs on Windows and has not yet been generated/validated
11552in
11553the Linux/Unix environment (but should be soon).
11554
11555Updated and fixed the table dump option for AcpiBin (-d). This option
11556converts a single ACPI table to a hex/ascii file, similar to the output
11557of
11558AcpiDmp.
11559
11560Code and Data Size: Current and previous core subsystem library sizes are
11561shown below. These are the code and data sizes for the acpica.lib
11562produced
11563by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11564any ACPI driver or OSPM code. The debug version of the code includes the
11565debug output trace mechanism and has a much larger code and data size.
11566Note
11567that these values will vary depending on the efficiency of the compiler
11568and
11569the compiler options used during generation.
11570
11571  Previous Release:
11572    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11573    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11574  Current Release:
11575    Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11576    Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11577
11578
115792) iASL Compiler/Disassembler:
11580
11581Disassembler fix: Added a check to ensure that the table length found in
11582the
11583ACPI table header within the input file is not longer than the actual
11584input
11585file size. This indicates some kind of file or table corruption.
11586
11587----------------------------------------
1158829 March 2005.  Summary of changes for version 20050329:
11589
115901) ACPI CA Core Subsystem:
11591
11592An error is now generated if an attempt is made to create a Buffer Field
11593of
11594length zero (A CreateField with a length operand of zero.)
11595
11596The interpreter now issues a warning whenever executable code at the
11597module
11598level is detected during ACPI table load. This will give some idea of the
11599prevalence of this type of code.
11600
11601Implemented support for references to named objects (other than control
11602methods) within package objects.
11603
11604Enhanced package object output for the debug object. Package objects are
11605now
11606completely dumped, showing all elements.
11607
11608Enhanced miscellaneous object output for the debug object. Any object can
11609now be written to the debug object (for example, a device object can be
11610written, and the type of the object will be displayed.)
11611
11612The "static" qualifier has been added to all local functions across both
11613the
11614core subsystem and the iASL compiler.
11615
11616The number of "long" lines (> 80 chars) within the source has been
11617significantly reduced, by about 1/3.
11618
11619Cleaned up all header files to ensure that all CA/iASL functions are
11620prototyped (even static functions) and the formatting is consistent.
11621
11622Two new header files have been added, acopcode.h and acnames.h.
11623
11624Removed several obsolete functions that were no longer used.
11625
11626Code and Data Size: Current and previous core subsystem library sizes are
11627shown below. These are the code and data sizes for the acpica.lib
11628produced
11629by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11630any ACPI driver or OSPM code. The debug version of the code includes the
11631debug output trace mechanism and has a much larger code and data size.
11632Note
11633that these values will vary depending on the efficiency of the compiler
11634and
11635the compiler options used during generation.
11636
11637  Previous Release:
11638    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11639    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
11640  Current Release:
11641    Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11642    Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11643
11644
11645
116462) iASL Compiler/Disassembler:
11647
11648Fixed a problem with the resource descriptor generation/support. For the
11649ResourceSourceIndex and the ResourceSource fields, both must be present,
11650or
11651both must be not present - can't have one without the other.
11652
11653The compiler now returns non-zero from the main procedure if any errors
11654have
11655occurred during the compilation.
11656
11657
11658----------------------------------------
1165909 March 2005.  Summary of changes for version 20050309:
11660
116611) ACPI CA Core Subsystem:
11662
11663The string-to-buffer implicit conversion code has been modified again
11664after
11665a change to the ACPI specification.  In order to match the behavior of
11666the
11667other major ACPI implementation, the target buffer is no longer truncated
11668if
11669the source string is smaller than an existing target buffer. This change
11670requires an update to the ACPI spec, and should eliminate the recent
11671AE_AML_BUFFER_LIMIT issues.
11672
11673The "implicit return" support was rewritten to a new algorithm that
11674solves
11675the general case. Rather than attempt to determine when a method is about
11676to
11677exit, the result of every ASL operator is saved momentarily until the
11678very
11679next ASL operator is executed. Therefore, no matter how the method exits,
11680there will always be a saved implicit return value. This feature is only
11681enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
11682eliminate
11683AE_AML_NO_RETURN_VALUE errors when enabled.
11684
11685Implemented implicit conversion support for the predicate (operand) of
11686the
11687If, Else, and While operators. String and Buffer arguments are
11688automatically
11689converted to Integers.
11690
11691Changed the string-to-integer conversion behavior to match the new ACPI
11692errata: "If no integer object exists, a new integer is created. The ASCII
11693string is interpreted as a hexadecimal constant. Each string character is
11694interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
11695with the first character as the most significant digit, and ending with
11696the
11697first non-hexadecimal character or end-of-string." This means that the
11698first
11699non-hex character terminates the conversion and this is the code that was
11700changed.
11701
11702Fixed a problem where the ObjectType operator would fail (fault) when
11703used
11704on an Index of a Package which pointed to a null package element. The
11705operator now properly returns zero (Uninitialized) in this case.
11706
11707Fixed a problem where the While operator used excessive memory by not
11708properly popping the result stack during execution. There was no memory
11709leak
11710after execution, however. (Code provided by Valery Podrezov.)
11711
11712Fixed a problem where references to control methods within Package
11713objects
11714caused the method to be invoked, instead of producing a reference object
11715pointing to the method.
11716
11717Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
11718to
11719improve performance and reduce code size. (Code provided by Alexey
11720Starikovskiy.)
11721
11722Code and Data Size: Current and previous core subsystem library sizes are
11723shown below. These are the code and data sizes for the acpica.lib
11724produced
11725by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11726any ACPI driver or OSPM code. The debug version of the code includes the
11727debug output trace mechanism and has a much larger code and data size.
11728Note
11729that these values will vary depending on the efficiency of the compiler
11730and
11731the compiler options used during generation.
11732
11733  Previous Release:
11734    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11735    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
11736  Current Release:
11737    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11738    Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
11739
11740
117412) iASL Compiler/Disassembler:
11742
11743Fixed a problem with the Return operator with no arguments. Since the AML
11744grammar for the byte encoding requires an operand for the Return opcode,
11745the
11746compiler now emits a Return(Zero) for this case.  An ACPI specification
11747update has been written for this case.
11748
11749For tables other than the DSDT, namepath optimization is automatically
11750disabled. This is because SSDTs can be loaded anywhere in the namespace,
11751the
11752compiler has no knowledge of where, and thus cannot optimize namepaths.
11753
11754Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
11755inadvertently omitted from the ACPI specification, and will require an
11756update to the spec.
11757
11758The source file scan for ASCII characters is now optional (-a). This
11759change
11760was made because some vendors place non-ascii characters within comments.
11761However, the scan is simply a brute-force byte compare to ensure all
11762characters in the file are in the range 0x00 to 0x7F.
11763
11764Fixed a problem with the CondRefOf operator where the compiler was
11765inappropriately checking for the existence of the target. Since the point
11766of
11767the operator is to check for the existence of the target at run-time, the
11768compiler no longer checks for the target existence.
11769
11770Fixed a problem where errors generated from the internal AML interpreter
11771during constant folding were not handled properly, causing a fault.
11772
11773Fixed a problem with overly aggressive range checking for the Stall
11774operator. The valid range (max 255) is now only checked if the operand is
11775of
11776type Integer. All other operand types cannot be statically checked.
11777
11778Fixed a problem where control method references within the RefOf,
11779DeRefOf,
11780and ObjectType operators were not treated properly. They are now treated
11781as
11782actual references, not method invocations.
11783
11784Fixed and enhanced the "list namespace" option (-ln). This option was
11785broken
11786a number of releases ago.
11787
11788Improved error handling for the Field, IndexField, and BankField
11789operators.
11790The compiler now cleanly reports and recovers from errors in the field
11791component (FieldUnit) list.
11792
11793Fixed a disassembler problem where the optional ResourceDescriptor fields
11794TRS and TTP were not always handled correctly.
11795
11796Disassembler - Comments in output now use "//" instead of "/*"
11797
11798----------------------------------------
1179928 February 2005.  Summary of changes for version 20050228:
11800
118011) ACPI CA Core Subsystem:
11802
11803Fixed a problem where the result of an Index() operator (an object
11804reference) must increment the reference count on the target object for
11805the
11806life of the object reference.
11807
11808Implemented AML Interpreter and Debugger support for the new ACPI 3.0
11809Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
11810WordSpace
11811resource descriptors.
11812
11813Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
11814Space Descriptor" string, indicating interpreter support for the
11815descriptors
11816above.
11817
11818Implemented header support for the new ACPI 3.0 FADT flag bits.
11819
11820Implemented header support for the new ACPI 3.0 PCI Express bits for the
11821PM1
11822status/enable registers.
11823
11824Updated header support for the MADT processor local Apic struct and MADT
11825platform interrupt source struct for new ACPI 3.0 fields.
11826
11827Implemented header support for the SRAT and SLIT ACPI tables.
11828
11829Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
11830flag
11831at runtime.
11832
11833Code and Data Size: Current and previous core subsystem library sizes are
11834shown below. These are the code and data sizes for the acpica.lib
11835produced
11836by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11837any ACPI driver or OSPM code. The debug version of the code includes the
11838debug output trace mechanism and has a much larger code and data size.
11839Note
11840that these values will vary depending on the efficiency of the compiler
11841and
11842the compiler options used during generation.
11843
11844  Previous Release:
11845    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
11846    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
11847  Current Release:
11848    Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11849    Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
11850
11851
118522) iASL Compiler/Disassembler:
11853
11854Fixed a problem with the internal 64-bit String-to-integer conversion
11855with
11856strings less than two characters long.
11857
11858Fixed a problem with constant folding where the result of the Index()
11859operator can not be considered a constant. This means that Index() cannot
11860be
11861a type3 opcode and this will require an update to the ACPI specification.
11862
11863Disassembler: Implemented support for the TTP, MTP, and TRS resource
11864descriptor fields. These fields were inadvertently ignored and not output
11865in
11866the disassembly of the resource descriptor.
11867
11868
11869 ----------------------------------------
1187011 February 2005.  Summary of changes for version 20050211:
11871
118721) ACPI CA Core Subsystem:
11873
11874Implemented ACPI 3.0 support for implicit conversion within the Match()
11875operator. MatchObjects can now be of type integer, buffer, or string
11876instead
11877of just type integer.  Package elements are implicitly converted to the
11878type
11879of the MatchObject. This change aligns the behavior of Match() with the
11880behavior of the other logical operators (LLess(), etc.) It also requires
11881an
11882errata change to the ACPI specification as this support was intended for
11883ACPI 3.0, but was inadvertently omitted.
11884
11885Fixed a problem with the internal implicit "to buffer" conversion.
11886Strings
11887that are converted to buffers will cause buffer truncation if the string
11888is
11889smaller than the target buffer. Integers that are converted to buffers
11890will
11891not cause buffer truncation, only zero extension (both as per the ACPI
11892spec.) The problem was introduced when code was added to truncate the
11893buffer, but this should not be performed in all cases, only the string
11894case.
11895
11896Fixed a problem with the Buffer and Package operators where the
11897interpreter
11898would get confused if two such operators were used as operands to an ASL
11899operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
11900stack was not being popped after the execution of these operators,
11901resulting
11902in an AE_NO_RETURN_VALUE exception.
11903
11904Fixed a problem with constructs of the form Store(Index(...),...). The
11905reference object returned from Index was inadvertently resolved to an
11906actual
11907value. This problem was introduced in version 20050114 when the behavior
11908of
11909Store() was modified to restrict the object types that can be used as the
11910source operand (to match the ACPI specification.)
11911
11912Reduced excessive stack use within the AcpiGetObjectInfo procedure.
11913
11914Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
11915
11916Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
11917
11918Code and Data Size: Current and previous core subsystem library sizes are
11919shown below. These are the code and data sizes for the acpica.lib
11920produced
11921by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11922any ACPI driver or OSPM code. The debug version of the code includes the
11923debug output trace mechanism and has a much larger code and data size.
11924Note
11925that these values will vary depending on the efficiency of the compiler
11926and
11927the compiler options used during generation.
11928
11929  Previous Release:
11930    Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
11931    Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
11932  Current Release:
11933    Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
11934    Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
11935
11936
119372) iASL Compiler/Disassembler:
11938
11939Fixed a code generation problem in the constant folding optimization code
11940where incorrect code was generated if a constant was reduced to a buffer
11941object (i.e., a reduced type 5 opcode.)
11942
11943Fixed a typechecking problem for the ToBuffer operator. Caused by an
11944incorrect return type in the internal opcode information table.
11945
11946----------------------------------------
1194725 January 2005.  Summary of changes for version 20050125:
11948
119491) ACPI CA Core Subsystem:
11950
11951Fixed a recently introduced problem with the Global Lock where the
11952underlying semaphore was not created.  This problem was introduced in
11953version 20050114, and caused an AE_AML_NO_OPERAND exception during an
11954Acquire() operation on _GL.
11955
11956The local object cache is now optional, and is disabled by default. Both
11957AcpiExec and the iASL compiler enable the cache because they run in user
11958mode and this enhances their performance. #define
11959ACPI_ENABLE_OBJECT_CACHE
11960to enable the local cache.
11961
11962Fixed an issue in the internal function AcpiUtEvaluateObject concerning
11963the
11964optional "implicit return" support where an error was returned if no
11965return
11966object was expected, but one was implicitly returned. AE_OK is now
11967returned
11968in this case and the implicitly returned object is deleted.
11969AcpiUtEvaluateObject is only occasionally used, and only to execute
11970reserved
11971methods such as _STA and _INI where the return type is known up front.
11972
11973Fixed a few issues with the internal convert-to-integer code. It now
11974returns
11975an error if an attempt is made to convert a null string, a string of only
11976blanks/tabs, or a zero-length buffer. This affects both implicit
11977conversion
11978and explicit conversion via the ToInteger() operator.
11979
11980The internal debug code in AcpiUtAcquireMutex has been commented out. It
11981is
11982not needed for normal operation and should increase the performance of
11983the
11984entire subsystem. The code remains in case it is needed for debug
11985purposes
11986again.
11987
11988The AcpiExec source and makefile are included in the Unix/Linux package
11989for
11990the first time.
11991
11992Code and Data Size: Current and previous core subsystem library sizes are
11993shown below. These are the code and data sizes for the acpica.lib
11994produced
11995by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11996any ACPI driver or OSPM code. The debug version of the code includes the
11997debug output trace mechanism and has a much larger code and data size.
11998Note
11999that these values will vary depending on the efficiency of the compiler
12000and
12001the compiler options used during generation.
12002
12003  Previous Release:
12004    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12005    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12006  Current Release:
12007    Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
12008    Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
12009
120102) iASL Compiler/Disassembler:
12011
12012Switch/Case support: A warning is now issued if the type of the Switch
12013value
12014cannot be determined at compile time. For example, Switch(Arg0) will
12015generate the warning, and the type is assumed to be an integer. As per
12016the
12017ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
12018the
12019warning.
12020
12021Switch/Case support: Implemented support for buffer and string objects as
12022the switch value.  This is an ACPI 3.0 feature, now that LEqual supports
12023buffers and strings.
12024
12025Switch/Case support: The emitted code for the LEqual() comparisons now
12026uses
12027the switch value as the first operand, not the second. The case value is
12028now
12029the second operand, and this allows the case value to be implicitly
12030converted to the type of the switch value, not the other way around.
12031
12032Switch/Case support: Temporary variables are now emitted immediately
12033within
12034the control method, not at the global level. This means that there are
12035now
1203636 temps available per-method, not 36 temps per-module as was the case
12037with
12038the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
12039
12040----------------------------------------
1204114 January 2005.  Summary of changes for version 20050114:
12042
12043Added 2005 copyright to all module headers.  This affects every module in
12044the core subsystem, iASL compiler, and the utilities.
12045
120461) ACPI CA Core Subsystem:
12047
12048Fixed an issue with the String-to-Buffer conversion code where the string
12049null terminator was not included in the buffer after conversion, but
12050there
12051is existing ASL that assumes the string null terminator is included. This
12052is
12053the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
12054introduced in the previous version when the code was updated to correctly
12055set the converted buffer size as per the ACPI specification. The ACPI
12056spec
12057is ambiguous and will be updated to specify that the null terminator must
12058be
12059included in the converted buffer. This also affects the ToBuffer() ASL
12060operator.
12061
12062Fixed a problem with the Mid() ASL/AML operator where it did not work
12063correctly on Buffer objects. Newly created sub-buffers were not being
12064marked
12065as initialized.
12066
12067
12068Fixed a problem in AcpiTbFindTable where incorrect string compares were
12069performed on the OemId and OemTableId table header fields.  These fields
12070are
12071not null terminated, so strncmp is now used instead of strcmp.
12072
12073Implemented a restriction on the Store() ASL/AML operator to align the
12074behavior with the ACPI specification.  Previously, any object could be
12075used
12076as the source operand.  Now, the only objects that may be used are
12077Integers,
12078Buffers, Strings, Packages, Object References, and DDB Handles.  If
12079necessary, the original behavior can be restored by enabling the
12080EnableInterpreterSlack flag.
12081
12082Enhanced the optional "implicit return" support to allow an implicit
12083return
12084value from methods that are invoked externally via the AcpiEvaluateObject
12085interface.  This enables implicit returns from the _STA and _INI methods,
12086for example.
12087
12088Changed the Revision() ASL/AML operator to return the current version of
12089the
12090AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
12091returned
12092the supported ACPI version (This is the function of the _REV method).
12093
12094Updated the _REV predefined method to return the currently supported
12095version
12096of ACPI, now 3.
12097
12098Implemented batch mode option for the AcpiExec utility (-b).
12099
12100Code and Data Size: Current and previous core subsystem library sizes are
12101shown below. These are the code and data sizes for the acpica.lib
12102produced
12103by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12104any ACPI driver or OSPM code. The debug version of the code includes the
12105debug output trace mechanism and has a much larger code and data size.
12106Note
12107that these values will vary depending on the efficiency of the compiler
12108and
12109the compiler options used during generation.
12110
12111  Previous Release:
12112    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12113    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12114  Current Release:
12115    Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12116    Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12117
12118----------------------------------------
1211910 December 2004.  Summary of changes for version 20041210:
12120
12121ACPI 3.0 support is nearing completion in both the iASL compiler and the
12122ACPI CA core subsystem.
12123
121241) ACPI CA Core Subsystem:
12125
12126Fixed a problem in the ToDecimalString operator where the resulting
12127string
12128length was incorrectly calculated. The length is now calculated exactly,
12129eliminating incorrect AE_STRING_LIMIT exceptions.
12130
12131Fixed a problem in the ToHexString operator to allow a maximum 200
12132character
12133string to be produced.
12134
12135Fixed a problem in the internal string-to-buffer and buffer-to-buffer
12136copy
12137routine where the length of the resulting buffer was not truncated to the
12138new size (if the target buffer already existed).
12139
12140Code and Data Size: Current and previous core subsystem library sizes are
12141shown below. These are the code and data sizes for the acpica.lib
12142produced
12143by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12144any ACPI driver or OSPM code. The debug version of the code includes the
12145debug output trace mechanism and has a much larger code and data size.
12146Note
12147that these values will vary depending on the efficiency of the compiler
12148and
12149the compiler options used during generation.
12150
12151  Previous Release:
12152    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12153    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12154  Current Release:
12155    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12156    Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12157
12158
121592) iASL Compiler/Disassembler:
12160
12161Implemented the new ACPI 3.0 resource template macros - DWordSpace,
12162ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
12163Includes support in the disassembler.
12164
12165Implemented support for the new (ACPI 3.0) parameter to the Register
12166macro,
12167AccessSize.
12168
12169Fixed a problem where the _HE resource name for the Interrupt macro was
12170referencing bit 0 instead of bit 1.
12171
12172Implemented check for maximum 255 interrupts in the Interrupt macro.
12173
12174Fixed a problem with the predefined resource descriptor names where
12175incorrect AML code was generated if the offset within the resource buffer
12176was 0 or 1.  The optimizer shortened the AML code to a single byte opcode
12177but did not update the surrounding package lengths.
12178
12179Changes to the Dma macro:  All channels within the channel list must be
12180in
12181the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is
12182optional (default is BusMaster).
12183
12184Implemented check for maximum 7 data bytes for the VendorShort macro.
12185
12186The ReadWrite parameter is now optional for the Memory32 and similar
12187macros.
12188
12189----------------------------------------
1219003 December 2004.  Summary of changes for version 20041203:
12191
121921) ACPI CA Core Subsystem:
12193
12194The low-level field insertion/extraction code (exfldio) has been
12195completely
12196rewritten to eliminate unnecessary complexity, bugs, and boundary
12197conditions.
12198
12199Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
12200ToDecimalString
12201operators where the input operand could be inadvertently deleted if no
12202conversion was necessary (e.g., if the input to ToInteger was an Integer
12203object.)
12204
12205Fixed a problem with the ToDecimalString and ToHexString where an
12206incorrect
12207exception code was returned if the resulting string would be > 200 chars.
12208AE_STRING_LIMIT is now returned.
12209
12210Fixed a problem with the Concatenate operator where AE_OK was always
12211returned, even if the operation failed.
12212
12213Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
12214semaphores to be allocated.
12215
12216Code and Data Size: Current and previous core subsystem library sizes are
12217shown below. These are the code and data sizes for the acpica.lib
12218produced
12219by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12220any ACPI driver or OSPM code. The debug version of the code includes the
12221debug output trace mechanism and has a much larger code and data size.
12222Note
12223that these values will vary depending on the efficiency of the compiler
12224and
12225the compiler options used during generation.
12226
12227  Previous Release:
12228    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12229    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12230  Current Release:
12231    Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12232    Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12233
12234
122352) iASL Compiler/Disassembler:
12236
12237Fixed typechecking for the ObjectType and SizeOf operators.  Problem was
12238recently introduced in 20041119.
12239
12240Fixed a problem with the ToUUID macro where the upper nybble of each
12241buffer
12242byte was inadvertently set to zero.
12243
12244----------------------------------------
1224519 November 2004.  Summary of changes for version 20041119:
12246
122471) ACPI CA Core Subsystem:
12248
12249Fixed a problem in the internal ConvertToInteger routine where new
12250integers
12251were not truncated to 32 bits for 32-bit ACPI tables. This routine
12252converts
12253buffers and strings to integers.
12254
12255Implemented support to store a value to an Index() on a String object.
12256This
12257is an ACPI 2.0 feature that had not yet been implemented.
12258
12259Implemented new behavior for storing objects to individual package
12260elements
12261(via the Index() operator). The previous behavior was to invoke the
12262implicit
12263conversion rules if an object was already present at the index.  The new
12264behavior is to simply delete any existing object and directly store the
12265new
12266object. Although the ACPI specification seems unclear on this subject,
12267other
12268ACPI implementations behave in this manner.  (This is the root of the
12269AE_BAD_HEX_CONSTANT issue.)
12270
12271Modified the RSDP memory scan mechanism to support the extended checksum
12272for
12273ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
12274RSDP signature is found with a valid checksum.
12275
12276Code and Data Size: Current and previous core subsystem library sizes are
12277shown below. These are the code and data sizes for the acpica.lib
12278produced
12279by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12280any ACPI driver or OSPM code. The debug version of the code includes the
12281debug output trace mechanism and has a much larger code and data size.
12282Note
12283that these values will vary depending on the efficiency of the compiler
12284and
12285the compiler options used during generation.
12286
12287  Previous Release:
12288    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12289    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12290  Current Release:
12291    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12292    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12293
12294
122952) iASL Compiler/Disassembler:
12296
12297Fixed a missing semicolon in the aslcompiler.y file.
12298
12299----------------------------------------
1230005 November 2004.  Summary of changes for version 20041105:
12301
123021) ACPI CA Core Subsystem:
12303
12304Implemented support for FADT revision 2.  This was an interim table
12305(between
12306ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
12307
12308Implemented optional support to allow uninitialized LocalX and ArgX
12309variables in a control method.  The variables are initialized to an
12310Integer
12311object with a value of zero.  This support is enabled by setting the
12312AcpiGbl_EnableInterpreterSlack flag to TRUE.
12313
12314Implemented support for Integer objects for the SizeOf operator.  Either
123154
12316or 8 is returned, depending on the current integer size (32-bit or 64-
12317bit,
12318depending on the parent table revision).
12319
12320Fixed a problem in the implementation of the SizeOf and ObjectType
12321operators
12322where the operand was resolved to a value too early, causing incorrect
12323return values for some objects.
12324
12325Fixed some possible memory leaks during exceptional conditions.
12326
12327Code and Data Size: Current and previous core subsystem library sizes are
12328shown below. These are the code and data sizes for the acpica.lib
12329produced
12330by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12331any ACPI driver or OSPM code. The debug version of the code includes the
12332debug output trace mechanism and has a much larger code and data size.
12333Note
12334that these values will vary depending on the efficiency of the compiler
12335and
12336the compiler options used during generation.
12337
12338  Previous Release:
12339    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12340    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12341  Current Release:
12342    Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12343    Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12344
12345
123462) iASL Compiler/Disassembler:
12347
12348Implemented support for all ACPI 3.0 reserved names and methods.
12349
12350Implemented all ACPI 3.0 grammar elements in the front-end, including
12351support for semicolons.
12352
12353Implemented the ACPI 3.0 Function() and ToUUID() macros
12354
12355Fixed a problem in the disassembler where a Scope() operator would not be
12356emitted properly if the target of the scope was in another table.
12357
12358----------------------------------------
1235915 October 2004.  Summary of changes for version 20041015:
12360
12361Note:  ACPI CA is currently undergoing an in-depth and complete formal
12362evaluation to test/verify the following areas. Other suggestions are
12363welcome. This will result in an increase in the frequency of releases and
12364the number of bug fixes in the next few months.
12365  - Functional tests for all ASL/AML operators
12366  - All implicit/explicit type conversions
12367  - Bit fields and operation regions
12368  - 64-bit math support and 32-bit-only "truncated" math support
12369  - Exceptional conditions, both compiler and interpreter
12370  - Dynamic object deletion and memory leaks
12371  - ACPI 3.0 support when implemented
12372  - External interfaces to the ACPI subsystem
12373
12374
123751) ACPI CA Core Subsystem:
12376
12377Fixed two alignment issues on 64-bit platforms - within debug statements
12378in
12379AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
12380Address
12381field within the non-aligned ACPI generic address structure.
12382
12383Fixed a problem in the Increment and Decrement operators where incorrect
12384operand resolution could result in the inadvertent modification of the
12385original integer when the integer is passed into another method as an
12386argument and the arg is then incremented/decremented.
12387
12388Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
12389bit
12390BCD number were truncated during conversion.
12391
12392Fixed a problem in the ToDecimal operator where the length of the
12393resulting
12394string could be set incorrectly too long if the input operand was a
12395Buffer
12396object.
12397
12398Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
12399(0)
12400within a buffer would prematurely terminate a compare between buffer
12401objects.
12402
12403Added a check for string overflow (>200 characters as per the ACPI
12404specification) during the Concatenate operator with two string operands.
12405
12406Code and Data Size: Current and previous core subsystem library sizes are
12407shown below. These are the code and data sizes for the acpica.lib
12408produced
12409by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12410any ACPI driver or OSPM code. The debug version of the code includes the
12411debug output trace mechanism and has a much larger code and data size.
12412Note
12413that these values will vary depending on the efficiency of the compiler
12414and
12415the compiler options used during generation.
12416
12417  Previous Release:
12418    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12419    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12420  Current Release:
12421    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12422    Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12423
12424
12425
124262) iASL Compiler/Disassembler:
12427
12428Allow the use of the ObjectType operator on uninitialized Locals and Args
12429(returns 0 as per the ACPI specification).
12430
12431Fixed a problem where the compiler would fault if there was a syntax
12432error
12433in the FieldName of all of the various CreateXXXField operators.
12434
12435Disallow the use of lower case letters within the EISAID macro, as per
12436the
12437ACPI specification.  All EISAID strings must be of the form "UUUNNNN"
12438Where
12439U is an uppercase letter and N is a hex digit.
12440
12441
12442----------------------------------------
1244306 October 2004.  Summary of changes for version 20041006:
12444
124451) ACPI CA Core Subsystem:
12446
12447Implemented support for the ACPI 3.0 Timer operator. This ASL function
12448implements a 64-bit timer with 100 nanosecond granularity.
12449
12450Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
12451implement the ACPI 3.0 Timer operator.  This allows the host OS to
12452implement
12453the timer with the best clock available. Also, it keeps the core
12454subsystem
12455out of the clock handling business, since the host OS (usually) performs
12456this function.
12457
12458Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
12459functions use a 64-bit address which is part of the packed ACPI Generic
12460Address Structure. Since the structure is non-aligned, the alignment
12461macros
12462are now used to extract the address to a local variable before use.
12463
12464Fixed a problem where the ToInteger operator assumed all input strings
12465were
12466hexadecimal. The operator now handles both decimal strings and hex
12467strings
12468(prefixed with "0x").
12469
12470Fixed a problem where the string length in the string object created as a
12471result of the internal ConvertToString procedure could be incorrect. This
12472potentially affected all implicit conversions and also the
12473ToDecimalString
12474and ToHexString operators.
12475
12476Fixed two problems in the ToString operator. If the length parameter was
12477zero, an incorrect string object was created and the value of the input
12478length parameter was inadvertently changed from zero to Ones.
12479
12480Fixed a problem where the optional ResourceSource string in the
12481ExtendedIRQ
12482resource macro was ignored.
12483
12484Simplified the interfaces to the internal division functions, reducing
12485code
12486size and complexity.
12487
12488Code and Data Size: Current and previous core subsystem library sizes are
12489shown below. These are the code and data sizes for the acpica.lib
12490produced
12491by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12492any ACPI driver or OSPM code. The debug version of the code includes the
12493debug output trace mechanism and has a much larger code and data size.
12494Note
12495that these values will vary depending on the efficiency of the compiler
12496and
12497the compiler options used during generation.
12498
12499  Previous Release:
12500    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12501    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12502  Current Release:
12503    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12504    Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12505
12506
125072) iASL Compiler/Disassembler:
12508
12509Implemented support for the ACPI 3.0 Timer operator.
12510
12511Fixed a problem where the Default() operator was inadvertently ignored in
12512a
12513Switch/Case block.  This was a problem in the translation of the Switch
12514statement to If...Else pairs.
12515
12516Added support to allow a standalone Return operator, with no parentheses
12517(or
12518operands).
12519
12520Fixed a problem with code generation for the ElseIf operator where the
12521translated Else...If parse tree was improperly constructed leading to the
12522loss of some code.
12523
12524----------------------------------------
1252522 September 2004.  Summary of changes for version 20040922:
12526
125271) ACPI CA Core Subsystem:
12528
12529Fixed a problem with the implementation of the LNot() operator where
12530"Ones"
12531was not returned for the TRUE case. Changed the code to return Ones
12532instead
12533of (!Arg) which was usually 1. This change affects iASL constant folding
12534for
12535this operator also.
12536
12537Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
12538not
12539initialized properly -- Now zero the entire buffer in this case where the
12540buffer already exists.
12541
12542Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
12543Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
12544related code considerably. This will require changes/updates to all OS
12545interface layers (OSLs.)
12546
12547Implemented a new external interface, AcpiInstallExceptionHandler, to
12548allow
12549a system exception handler to be installed. This handler is invoked upon
12550any
12551run-time exception that occurs during control method execution.
12552
12553Added support for the DSDT in AcpiTbFindTable. This allows the
12554DataTableRegion() operator to access the local copy of the DSDT.
12555
12556Code and Data Size: Current and previous core subsystem library sizes are
12557shown below. These are the code and data sizes for the acpica.lib
12558produced
12559by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12560any ACPI driver or OSPM code. The debug version of the code includes the
12561debug output trace mechanism and has a much larger code and data size.
12562Note
12563that these values will vary depending on the efficiency of the compiler
12564and
12565the compiler options used during generation.
12566
12567  Previous Release:
12568    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12569    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12570  Current Release:
12571    Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12572    Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12573
12574
125752) iASL Compiler/Disassembler:
12576
12577Fixed a problem with constant folding and the LNot operator. LNot was
12578returning 1 in the TRUE case, not Ones as per the ACPI specification.
12579This
12580could result in the generation of an incorrect folded/reduced constant.
12581
12582End-Of-File is now allowed within a "//"-style comment.  A parse error no
12583longer occurs if such a comment is at the very end of the input ASL
12584source
12585file.
12586
12587Implemented the "-r" option to override the Revision in the table header.
12588The initial use of this option will be to simplify the evaluation of the
12589AML
12590interpreter by allowing a single ASL source module to be compiled for
12591either
1259232-bit or 64-bit integers.
12593
12594
12595----------------------------------------
1259627 August 2004.  Summary of changes for version 20040827:
12597
125981) ACPI CA Core Subsystem:
12599
12600- Implemented support for implicit object conversion in the non-numeric
12601logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
12602and
12603LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used;
12604the second operand is implicitly converted on the fly to match the type
12605of
12606the first operand.  For example:
12607
12608    LEqual (Source1, Source2)
12609
12610Source1 and Source2 must each evaluate to an integer, a string, or a
12611buffer.
12612The data type of Source1 dictates the required type of Source2. Source2
12613is
12614implicitly converted if necessary to match the type of Source1.
12615
12616- Updated and corrected the behavior of the string conversion support.
12617The
12618rules concerning conversion of buffers to strings (according to the ACPI
12619specification) are as follows:
12620
12621ToDecimalString - explicit byte-wise conversion of buffer to string of
12622decimal values (0-255) separated by commas. ToHexString - explicit byte-
12623wise
12624conversion of buffer to string of hex values (0-FF) separated by commas.
12625ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
12626byte
12627copy with no transform except NULL terminated. Any other implicit buffer-
12628to-
12629string conversion - byte-wise conversion of buffer to string of hex
12630values
12631(0-FF) separated by spaces.
12632
12633- Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
12634
12635- Fixed a problem in AcpiNsGetPathnameLength where the returned length
12636was
12637one byte too short in the case of a node in the root scope.  This could
12638cause a fault during debug output.
12639
12640- Code and Data Size: Current and previous core subsystem library sizes
12641are
12642shown below.  These are the code and data sizes for the acpica.lib
12643produced
12644by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12645any ACPI driver or OSPM code.  The debug version of the code includes the
12646debug output trace mechanism and has a much larger code and data size.
12647Note
12648that these values will vary depending on the efficiency of the compiler
12649and
12650the compiler options used during generation.
12651
12652  Previous Release:
12653    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
12654    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
12655  Current Release:
12656    Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12657    Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12658
12659
126602) iASL Compiler/Disassembler:
12661
12662- Fixed a Linux generation error.
12663
12664
12665----------------------------------------
1266616 August 2004.  Summary of changes for version 20040816:
12667
126681) ACPI CA Core Subsystem:
12669
12670Designed and implemented support within the AML interpreter for the so-
12671called "implicit return".  This support returns the result of the last
12672ASL
12673operation within a control method, in the absence of an explicit Return()
12674operator.  A few machines depend on this behavior, even though it is not
12675explicitly supported by the ASL language.  It is optional support that
12676can
12677be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
12678
12679Removed support for the PCI_Config address space from the internal low
12680level
12681hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This
12682support was not used internally, and would not work correctly anyway
12683because
12684the PCI bus number and segment number were not supported.  There are
12685separate interfaces for PCI configuration space access because of the
12686unique
12687interface.
12688
12689Code and Data Size: Current and previous core subsystem library sizes are
12690shown below.  These are the code and data sizes for the acpica.lib
12691produced
12692by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12693any ACPI driver or OSPM code.  The debug version of the code includes the
12694debug output trace mechanism and has a much larger code and data size.
12695Note
12696that these values will vary depending on the efficiency of the compiler
12697and
12698the compiler options used during generation.
12699
12700  Previous Release:
12701    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12702    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
12703  Current Release:
12704    Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
12705    Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
12706
12707
127082) iASL Compiler/Disassembler:
12709
12710Fixed a problem where constants in ASL expressions at the root level (not
12711within a control method) could be inadvertently truncated during code
12712generation.  This problem was introduced in the 20040715 release.
12713
12714
12715----------------------------------------
1271615 July 2004.  Summary of changes for version 20040715:
12717
127181) ACPI CA Core Subsystem:
12719
12720Restructured the internal HW GPE interfaces to pass/track the current
12721state
12722of interrupts (enabled/disabled) in order to avoid possible deadlock and
12723increase flexibility of the interfaces.
12724
12725Implemented a "lexicographical compare" for String and Buffer objects
12726within
12727the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
12728-
12729as per further clarification to the ACPI specification.  Behavior is
12730similar
12731to C library "strcmp".
12732
12733Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
12734external function.  In the 32-bit non-debug case, the stack use has been
12735reduced from 168 bytes to 32 bytes.
12736
12737Deployed a new run-time configuration flag,
12738AcpiGbl_EnableInterpreterSlack,
12739whose purpose is to allow the AML interpreter to forgive certain bad AML
12740constructs.  Default setting is FALSE.
12741
12742Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
12743IO
12744support code.  If enabled, it allows field access to go beyond the end of
12745a
12746region definition if the field is within the region length rounded up to
12747the
12748next access width boundary (a common coding error.)
12749
12750Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
12751ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also,
12752these
12753symbols are lowercased by the latest version of the AcpiSrc tool.
12754
12755The prototypes for the PCI interfaces in acpiosxf.h have been updated to
12756rename "Register" to simply "Reg" to prevent certain compilers from
12757complaining.
12758
12759Code and Data Size: Current and previous core subsystem library sizes are
12760shown below.  These are the code and data sizes for the acpica.lib
12761produced
12762by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12763any ACPI driver or OSPM code.  The debug version of the code includes the
12764debug output trace mechanism and has a much larger code and data size.
12765Note
12766that these values will vary depending on the efficiency of the compiler
12767and
12768the compiler options used during generation.
12769
12770  Previous Release:
12771    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12772    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
12773  Current Release:
12774    Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12775    Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
12776
12777
127782) iASL Compiler/Disassembler:
12779
12780Implemented full support for Package objects within the Case() operator.
12781Note: The Break() operator is currently not supported within Case blocks
12782(TermLists) as there is some question about backward compatibility with
12783ACPI
127841.0 interpreters.
12785
12786
12787Fixed a problem where complex terms were not supported properly within
12788the
12789Switch() operator.
12790
12791Eliminated extraneous warning for compiler-emitted reserved names of the
12792form "_T_x".  (Used in Switch/Case operators.)
12793
12794Eliminated optimization messages for "_T_x" objects and small constants
12795within the DefinitionBlock operator.
12796
12797
12798----------------------------------------
1279915 June 2004.  Summary of changes for version 20040615:
12800
128011) ACPI CA Core Subsystem:
12802
12803Implemented support for Buffer and String objects (as per ACPI 2.0) for
12804the
12805following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
12806LLessEqual.
12807
12808All directory names in the entire source package are lower case, as they
12809were in earlier releases.
12810
12811Implemented "Disassemble" command in the AML debugger that will
12812disassemble
12813a single control method.
12814
12815Code and Data Size: Current and previous core subsystem library sizes are
12816shown below.  These are the code and data sizes for the acpica.lib
12817produced
12818by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12819any ACPI driver or OSPM code.  The debug version of the code includes the
12820debug output trace mechanism and has a much larger code and data size.
12821Note
12822that these values will vary depending on the efficiency of the compiler
12823and
12824the compiler options used during generation.
12825
12826  Previous Release:
12827    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
12828    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
12829
12830  Current Release:
12831    Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12832    Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
12833
12834
128352) iASL Compiler/Disassembler:
12836
12837Implemented support for Buffer and String objects (as per ACPI 2.0) for
12838the
12839following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and
12840LLessEqual.
12841
12842All directory names in the entire source package are lower case, as they
12843were in earlier releases.
12844
12845Fixed a fault when using the -g or -d<nofilename> options if the FADT was
12846not found.
12847
12848Fixed an issue with the Windows version of the compiler where later
12849versions
12850of Windows place the FADT in the registry under the name "FADT" and not
12851"FACP" as earlier versions did.  This applies when using the -g or -
12852d<nofilename> options.  The compiler now looks for both strings as
12853necessary.
12854
12855Fixed a problem with compiler namepath optimization where a namepath
12856within
12857the Scope() operator could not be optimized if the namepath was a subpath
12858of
12859the current scope path.
12860
12861----------------------------------------
1286227 May 2004.  Summary of changes for version 20040527:
12863
128641) ACPI CA Core Subsystem:
12865
12866Completed a new design and implementation for EBDA (Extended BIOS Data
12867Area)
12868support in the RSDP scan code.  The original code improperly scanned for
12869the
12870EBDA by simply scanning from memory location 0 to 0x400.  The correct
12871method
12872is to first obtain the EBDA pointer from within the BIOS data area, then
12873scan 1K of memory starting at the EBDA pointer.  There appear to be few
12874if
12875any machines that place the RSDP in the EBDA, however.
12876
12877Integrated a fix for a possible fault during evaluation of BufferField
12878arguments.  Obsolete code that was causing the problem was removed.
12879
12880Found and fixed a problem in the Field Support Code where data could be
12881corrupted on a bit field read that starts on an aligned boundary but does
12882not end on an aligned boundary.  Merged the read/write "datum length"
12883calculation code into a common procedure.
12884
12885Rolled in a couple of changes to the FreeBSD-specific header.
12886
12887
12888Code and Data Size: Current and previous core subsystem library sizes are
12889shown below.  These are the code and data sizes for the acpica.lib
12890produced
12891by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12892any ACPI driver or OSPM code.  The debug version of the code includes the
12893debug output trace mechanism and has a much larger code and data size.
12894Note
12895that these values will vary depending on the efficiency of the compiler
12896and
12897the compiler options used during generation.
12898
12899  Previous Release:
12900    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
12901    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
12902  Current Release:
12903    Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
12904    Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
12905
12906
129072) iASL Compiler/Disassembler:
12908
12909Fixed a generation warning produced by some overly-verbose compilers for
12910a
1291164-bit constant.
12912
12913----------------------------------------
1291414 May 2004.  Summary of changes for version 20040514:
12915
129161) ACPI CA Core Subsystem:
12917
12918Fixed a problem where hardware GPE enable bits sometimes not set properly
12919during and after GPE method execution.  Result of 04/27 changes.
12920
12921Removed extra "clear all GPEs" when sleeping/waking.
12922
12923Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
12924AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
12925to
12926the new AcpiEv* calls as appropriate.
12927
12928ACPI_OS_NAME was removed from the OS-specific headers.  The default name
12929is
12930now "Microsoft Windows NT" for maximum compatibility.  However this can
12931be
12932changed by modifying the acconfig.h file.
12933
12934Allow a single invocation of AcpiInstallNotifyHandler for a handler that
12935traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag.
12936
12937Run _INI methods on ThermalZone objects.  This is against the ACPI
12938specification, but there is apparently ASL code in the field that has
12939these
12940_INI methods, and apparently "other" AML interpreters execute them.
12941
12942Performed a full 16/32/64 bit lint that resulted in some small changes.
12943
12944Added a sleep simulation command to the AML debugger to test sleep code.
12945
12946Code and Data Size: Current and previous core subsystem library sizes are
12947shown below.  These are the code and data sizes for the acpica.lib
12948produced
12949by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12950any ACPI driver or OSPM code.  The debug version of the code includes the
12951debug output trace mechanism and has a much larger code and data size.
12952Note
12953that these values will vary depending on the efficiency of the compiler
12954and
12955the compiler options used during generation.
12956
12957  Previous Release:
12958    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
12959    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
12960  Current Release:
12961    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
12962    Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
12963
12964----------------------------------------
1296527 April 2004.  Summary of changes for version 20040427:
12966
129671) ACPI CA Core Subsystem:
12968
12969Completed a major overhaul of the GPE handling within ACPI CA.  There are
12970now three types of GPEs:  wake-only, runtime-only, and combination
12971wake/run.
12972The only GPEs allowed to be combination wake/run are for button-style
12973devices such as a control-method power button, control-method sleep
12974button,
12975or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are
12976not
12977referenced by any _PRW methods are marked for "runtime" and hardware
12978enabled.  Any GPE that is referenced by a _PRW method is marked for
12979"wake"
12980(and disabled at runtime).  However, at sleep time, only those GPEs that
12981have been specifically enabled for wake via the AcpiEnableGpe interface
12982will
12983actually be hardware enabled.
12984
12985A new external interface has been added, AcpiSetGpeType(), that is meant
12986to
12987be used by device drivers to force a GPE to a particular type.  It will
12988be
12989especially useful for the drivers for the button devices mentioned above.
12990
12991Completed restructuring of the ACPI CA initialization sequence so that
12992default operation region handlers are installed before GPEs are
12993initialized
12994and the _PRW methods are executed.  This will prevent errors when the
12995_PRW
12996methods attempt to access system memory or I/O space.
12997
12998GPE enable/disable no longer reads the GPE enable register.  We now keep
12999the
13000enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We
13001thus no longer depend on the hardware to maintain these bits.
13002
13003Always clear the wake status and fixed/GPE status bits before sleep, even
13004for state S5.
13005
13006Improved the AML debugger output for displaying the GPE blocks and their
13007current status.
13008
13009Added new strings for the _OSI method, of the form "Windows 2001 SPx"
13010where
13011x = 0,1,2,3,4.
13012
13013Fixed a problem where the physical address was incorrectly calculated
13014when
13015the Load() operator was used to directly load from an Operation Region
13016(vs.
13017loading from a Field object.)  Also added check for minimum table length
13018for
13019this case.
13020
13021Fix for multiple mutex acquisition.  Restore original thread SyncLevel on
13022mutex release.
13023
13024Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
13025consistency with the other fields returned.
13026
13027Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such
13028structure for each GPE in the system, so the size of this structure is
13029important.
13030
13031CPU stack requirement reduction:  Cleaned up the method execution and
13032object
13033evaluation paths so that now a parameter structure is passed, instead of
13034copying the various method parameters over and over again.
13035
13036In evregion.c:  Correctly exit and reenter the interpreter region if and
13037only if dispatching an operation region request to a user-installed
13038handler.
13039Do not exit/reenter when dispatching to a default handler (e.g., default
13040system memory or I/O handlers)
13041
13042
13043Notes for updating drivers for the new GPE support.  The following
13044changes
13045must be made to ACPI-related device drivers that are attached to one or
13046more
13047GPEs: (This information will be added to the ACPI CA Programmer
13048Reference.)
13049
130501) AcpiInstallGpeHandler no longer automatically enables the GPE, you
13051must
13052explicitly call AcpiEnableGpe.
130532) There is a new interface called AcpiSetGpeType. This should be called
13054before enabling the GPE.  Also, this interface will automatically disable
13055the GPE if it is currently enabled.
130563) AcpiEnableGpe no longer supports a GPE type flag.
13057
13058Specific drivers that must be changed:
130591) EC driver:
13060    AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
13061AeGpeHandler, NULL);
13062    AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
13063    AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
13064
130652) Button Drivers (Power, Lid, Sleep):
13066Run _PRW method under parent device
13067If _PRW exists: /* This is a control-method button */
13068    Extract GPE number and possibly GpeDevice
13069    AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
13070    AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
13071
13072For all other devices that have _PRWs, we automatically set the GPE type
13073to
13074ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
13075This
13076must be done on a selective basis, usually requiring some kind of user
13077app
13078to allow the user to pick the wake devices.
13079
13080
13081Code and Data Size: Current and previous core subsystem library sizes are
13082shown below.  These are the code and data sizes for the acpica.lib
13083produced
13084by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13085any ACPI driver or OSPM code.  The debug version of the code includes the
13086debug output trace mechanism and has a much larger code and data size.
13087Note
13088that these values will vary depending on the efficiency of the compiler
13089and
13090the compiler options used during generation.
13091
13092  Previous Release:
13093    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13094    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13095  Current Release:
13096
13097    Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13098    Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13099
13100
13101
13102----------------------------------------
1310302 April 2004.  Summary of changes for version 20040402:
13104
131051) ACPI CA Core Subsystem:
13106
13107Fixed an interpreter problem where an indirect store through an ArgX
13108parameter was incorrectly applying the "implicit conversion rules" during
13109the store.  From the ACPI specification: "If the target is a method local
13110or
13111argument (LocalX or ArgX), no conversion is performed and the result is
13112stored directly to the target".  The new behavior is to disable implicit
13113conversion during ALL stores to an ArgX.
13114
13115Changed the behavior of the _PRW method scan to ignore any and all errors
13116returned by a given _PRW.  This prevents the scan from aborting from the
13117failure of any single _PRW.
13118
13119Moved the runtime configuration parameters from the global init procedure
13120to
13121static variables in acglobal.h.  This will allow the host to override the
13122default values easily.
13123
13124Code and Data Size: Current and previous core subsystem library sizes are
13125shown below.  These are the code and data sizes for the acpica.lib
13126produced
13127by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13128any ACPI driver or OSPM code.  The debug version of the code includes the
13129debug output trace mechanism and has a much larger code and data size.
13130Note
13131that these values will vary depending on the efficiency of the compiler
13132and
13133the compiler options used during generation.
13134
13135  Previous Release:
13136    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13137    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13138  Current Release:
13139    Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13140    Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13141
13142
131432) iASL Compiler/Disassembler:
13144
13145iASL now fully disassembles SSDTs.  However, External() statements are
13146not
13147generated automatically for unresolved symbols at this time.  This is a
13148planned feature for future implementation.
13149
13150Fixed a scoping problem in the disassembler that occurs when the type of
13151the
13152target of a Scope() operator is overridden.  This problem caused an
13153incorrectly nested internal namespace to be constructed.
13154
13155Any warnings or errors that are emitted during disassembly are now
13156commented
13157out automatically so that the resulting file can be recompiled without
13158any
13159hand editing.
13160
13161----------------------------------------
1316226 March 2004.  Summary of changes for version 20040326:
13163
131641) ACPI CA Core Subsystem:
13165
13166Implemented support for "wake" GPEs via interaction between GPEs and the
13167_PRW methods.  Every GPE that is pointed to by one or more _PRWs is
13168identified as a WAKE GPE and by default will no longer be enabled at
13169runtime.  Previously, we were blindly enabling all GPEs with a
13170corresponding
13171_Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
13172We
13173believe this has been the cause of thousands of "spurious" GPEs on some
13174systems.
13175
13176This new GPE behavior is can be reverted to the original behavior (enable
13177ALL GPEs at runtime) via a runtime flag.
13178
13179Fixed a problem where aliased control methods could not access objects
13180properly.  The proper scope within the namespace was not initialized
13181(transferred to the target of the aliased method) before executing the
13182target method.
13183
13184Fixed a potential race condition on internal object deletion on the
13185return
13186object in AcpiEvaluateObject.
13187
13188Integrated a fix for resource descriptors where both _MEM and _MTP were
13189being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too
13190wide, 0x0F instead of 0x03.)
13191
13192Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
13193preventing
13194a
13195fault in some cases.
13196
13197Updated Notify() values for debug statements in evmisc.c
13198
13199Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
13200
13201Code and Data Size: Current and previous core subsystem library sizes are
13202shown below.  These are the code and data sizes for the acpica.lib
13203produced
13204by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13205any ACPI driver or OSPM code.  The debug version of the code includes the
13206debug output trace mechanism and has a much larger code and data size.
13207Note
13208that these values will vary depending on the efficiency of the compiler
13209and
13210the compiler options used during generation.
13211
13212  Previous Release:
13213
13214    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13215    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13216  Current Release:
13217    Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13218    Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13219
13220----------------------------------------
1322111 March 2004.  Summary of changes for version 20040311:
13222
132231) ACPI CA Core Subsystem:
13224
13225Fixed a problem where errors occurring during the parse phase of control
13226method execution did not abort cleanly.  For example, objects created and
13227installed in the namespace were not deleted.  This caused all subsequent
13228invocations of the method to return the AE_ALREADY_EXISTS exception.
13229
13230Implemented a mechanism to force a control method to "Serialized"
13231execution
13232if the method attempts to create namespace objects. (The root of the
13233AE_ALREADY_EXISTS problem.)
13234
13235Implemented support for the predefined _OSI "internal" control method.
13236Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
13237and
13238"Windows 2001.1", and can be easily upgraded for new strings as
13239necessary.
13240This feature will allow "other" operating systems to execute the fully
13241tested, "Windows" code path through the ASL code
13242
13243Global Lock Support:  Now allows multiple acquires and releases with any
13244internal thread.  Removed concept of "owning thread" for this special
13245mutex.
13246
13247Fixed two functions that were inappropriately declaring large objects on
13248the
13249CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage
13250during
13251method execution considerably.
13252
13253Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
13254S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
13255
13256Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
13257defined on the machine.
13258
13259Implemented two runtime options:  One to force all control method
13260execution
13261to "Serialized" to mimic Windows behavior, another to disable _OSI
13262support
13263if it causes problems on a given machine.
13264
13265Code and Data Size: Current and previous core subsystem library sizes are
13266shown below.  These are the code and data sizes for the acpica.lib
13267produced
13268by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13269any ACPI driver or OSPM code.  The debug version of the code includes the
13270debug output trace mechanism and has a much larger code and data size.
13271Note
13272that these values will vary depending on the efficiency of the compiler
13273and
13274the compiler options used during generation.
13275
13276  Previous Release:
13277    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13278    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13279  Current Release:
13280    Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13281    Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13282
132832) iASL Compiler/Disassembler:
13284
13285Fixed an array size problem for FreeBSD that would cause the compiler to
13286fault.
13287
13288----------------------------------------
1328920 February 2004.  Summary of changes for version 20040220:
13290
13291
132921) ACPI CA Core Subsystem:
13293
13294Implemented execution of _SxD methods for Device objects in the
13295GetObjectInfo interface.
13296
13297Fixed calls to _SST method to pass the correct arguments.
13298
13299Added a call to _SST on wake to restore to "working" state.
13300
13301Check for End-Of-Buffer failure case in the WalkResources interface.
13302
13303Integrated fix for 64-bit alignment issue in acglobal.h by moving two
13304structures to the beginning of the file.
13305
13306After wake, clear GPE status register(s) before enabling GPEs.
13307
13308After wake, clear/enable power button.  (Perhaps we should clear/enable
13309all
13310fixed events upon wake.)
13311
13312Fixed a couple of possible memory leaks in the Namespace manager.
13313
13314Integrated latest acnetbsd.h file.
13315
13316----------------------------------------
1331711 February 2004.  Summary of changes for version 20040211:
13318
13319
133201) ACPI CA Core Subsystem:
13321
13322Completed investigation and implementation of the call-by-reference
13323mechanism for control method arguments.
13324
13325Fixed a problem where a store of an object into an indexed package could
13326fail if the store occurs within a different method than the method that
13327created the package.
13328
13329Fixed a problem where the ToDecimal operator could return incorrect
13330results.
13331
13332Fixed a problem where the CopyObject operator could fail on some of the
13333more
13334obscure objects (e.g., Reference objects.)
13335
13336Improved the output of the Debug object to display buffer, package, and
13337index objects.
13338
13339Fixed a problem where constructs of the form "RefOf (ArgX)" did not
13340return
13341the expected result.
13342
13343Added permanent ACPI_REPORT_ERROR macros for all instances of the
13344ACPI_AML_INTERNAL exception.
13345
13346Integrated latest version of acfreebsd.h
13347
13348----------------------------------------
1334916 January 2004.  Summary of changes for version 20040116:
13350
13351The purpose of this release is primarily to update the copyright years in
13352each module, thus causing a huge number of diffs.  There are a few small
13353functional changes, however.
13354
133551) ACPI CA Core Subsystem:
13356
13357Improved error messages when there is a problem finding one or more of
13358the
13359required base ACPI tables
13360
13361Reintroduced the definition of APIC_HEADER in actbl.h
13362
13363Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
13364
13365Removed extraneous reference to NewObj in dsmthdat.c
13366
133672) iASL compiler
13368
13369Fixed a problem introduced in December that disabled the correct
13370disassembly
13371of Resource Templates
13372
13373
13374----------------------------------------
1337503 December 2003.  Summary of changes for version 20031203:
13376
133771) ACPI CA Core Subsystem:
13378
13379Changed the initialization of Operation Regions during subsystem
13380init to perform two entire walks of the ACPI namespace; The first
13381to initialize the regions themselves, the second to execute the
13382_REG methods.  This fixed some interdependencies across _REG
13383methods found on some machines.
13384
13385Fixed a problem where a Store(Local0, Local1) could simply update
13386the object reference count, and not create a new copy of the
13387object if the Local1 is uninitialized.
13388
13389Implemented support for the _SST reserved method during sleep
13390transitions.
13391
13392Implemented support to clear the SLP_TYP and SLP_EN bits when
13393waking up, this is apparently required by some machines.
13394
13395When sleeping, clear the wake status only if SleepState is not S5.
13396
13397Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
13398pointer arithmetic advanced a string pointer too far.
13399
13400Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
13401could be returned if the requested table has not been loaded.
13402
13403Within the support for IRQ resources, restructured the handling of
13404the active and edge/level bits.
13405
13406Fixed a few problems in AcpiPsxExecute() where memory could be
13407leaked under certain error conditions.
13408
13409Improved error messages for the cases where the ACPI mode could
13410not be entered.
13411
13412Code and Data Size: Current and previous core subsystem library
13413sizes are shown below.  These are the code and data sizes for the
13414acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13415these values do not include any ACPI driver or OSPM code.  The
13416debug version of the code includes the debug output trace
13417mechanism and has a much larger code and data size.  Note that
13418these values will vary depending on the efficiency of the compiler
13419and the compiler options used during generation.
13420
13421  Previous Release (20031029):
13422    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13423    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13424  Current Release:
13425    Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13426    Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13427
134282) iASL Compiler/Disassembler:
13429
13430Implemented a fix for the iASL disassembler where a bad index was
13431generated.  This was most noticeable on 64-bit platforms
13432
13433
13434----------------------------------------
1343529 October 2003.  Summary of changes for version 20031029:
13436
134371) ACPI CA Core Subsystem:
13438
13439
13440Fixed a problem where a level-triggered GPE with an associated
13441_Lxx control method was incorrectly cleared twice.
13442
13443Fixed a problem with the Field support code where an access can
13444occur beyond the end-of-region if the field is non-aligned but
13445extends to the very end of the parent region (resulted in an
13446AE_AML_REGION_LIMIT exception.)
13447
13448Fixed a problem with ACPI Fixed Events where an RT Clock handler
13449would not get invoked on an RTC event.  The RTC event bitmasks for
13450the PM1 registers were not being initialized properly.
13451
13452Implemented support for executing _STA and _INI methods for
13453Processor objects.  Although this is currently not part of the
13454ACPI specification, there is existing ASL code that depends on the
13455init-time execution of these methods.
13456
13457Implemented and deployed a GetDescriptorName function to decode
13458the various types of internal descriptors.  Guards against null
13459descriptors during debug output also.
13460
13461Implemented and deployed a GetNodeName function to extract the 4-
13462character namespace node name.  This function simplifies the debug
13463and error output, as well as guarding against null pointers during
13464output.
13465
13466Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
13467simplify the debug and error output of 64-bit integers.  This
13468macro replaces the HIDWORD and LODWORD macros for dumping these
13469integers.
13470
13471Updated the implementation of the Stall() operator to only call
13472AcpiOsStall(), and also return an error if the operand is larger
13473than 255.  This preserves the required behavior of not
13474relinquishing the processor, as would happen if AcpiOsSleep() was
13475called for "long stalls".
13476
13477Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
13478initialized are now treated as NOOPs.
13479
13480Cleaned up a handful of warnings during 64-bit generation.
13481
13482Fixed a reported error where and incorrect GPE number was passed
13483to the GPE dispatch handler.  This value is only used for error
13484output, however.  Used this opportunity to clean up and streamline
13485the GPE dispatch code.
13486
13487Code and Data Size: Current and previous core subsystem library
13488sizes are shown below.  These are the code and data sizes for the
13489acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13490these values do not include any ACPI driver or OSPM code.  The
13491
13492debug version of the code includes the debug output trace
13493mechanism and has a much larger code and data size.  Note that
13494these values will vary depending on the efficiency of the compiler
13495and the compiler options used during generation.
13496
13497  Previous Release (20031002):
13498    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13499    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13500  Current Release:
13501    Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13502    Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13503
13504
135052) iASL Compiler/Disassembler:
13506
13507Updated the iASL compiler to return an error if the operand to the
13508Stall() operator is larger than 255.
13509
13510
13511----------------------------------------
1351202 October 2003.  Summary of changes for version 20031002:
13513
13514
135151) ACPI CA Core Subsystem:
13516
13517Fixed a problem with Index Fields where the index was not
13518incremented for fields that require multiple writes to the
13519index/data registers (Fields that are wider than the data
13520register.)
13521
13522Fixed a problem with all Field objects where a write could go
13523beyond the end-of-field if the field was larger than the access
13524granularity and therefore required multiple writes to complete the
13525request.  An extra write beyond the end of the field could happen
13526inadvertently.
13527
13528Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
13529would incorrectly be returned if the width of the Data Register
13530was larger than the specified field access width.
13531
13532Completed fixes for LoadTable() and Unload() and verified their
13533operation.  Implemented full support for the "DdbHandle" object
13534throughout the ACPI CA subsystem.
13535
13536Implemented full support for the MADT and ECDT tables in the ACPI
13537CA header files.  Even though these tables are not directly
13538consumed by ACPI CA, the header definitions are useful for ACPI
13539device drivers.
13540
13541Integrated resource descriptor fixes posted to the Linux ACPI
13542list.  This included checks for minimum descriptor length, and
13543support for trailing NULL strings within descriptors that have
13544optional string elements.
13545
13546Code and Data Size: Current and previous core subsystem library
13547sizes are shown below.  These are the code and data sizes for the
13548acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13549these values do not include any ACPI driver or OSPM code.  The
13550debug version of the code includes the debug output trace
13551mechanism and has a much larger code and data size.  Note that
13552these values will vary depending on the efficiency of the compiler
13553and the compiler options used during generation.
13554
13555  Previous Release (20030918):
13556    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13557    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13558  Current Release:
13559    Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13560    Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13561
13562
135632) iASL Compiler:
13564
13565Implemented detection of non-ASCII characters within the input
13566source ASL file.  This catches attempts to compile binary (AML)
13567files early in the compile, with an informative error message.
13568
13569Fixed a problem where the disassembler would fault if the output
13570filename could not be generated or if the output file could not be
13571opened.
13572
13573----------------------------------------
1357418 September 2003.  Summary of changes for version 20030918:
13575
13576
135771) ACPI CA Core Subsystem:
13578
13579Found and fixed a longstanding problem with the late execution of
13580the various deferred AML opcodes (such as Operation Regions,
13581Buffer Fields, Buffers, and Packages).  If the name string
13582specified for the name of the new object placed the object in a
13583scope other than the current scope, the initialization/execution
13584of the opcode failed.  The solution to this problem was to
13585implement a mechanism where the late execution of such opcodes
13586does not attempt to lookup/create the name a second time in an
13587incorrect scope.  This fixes the "region size computed
13588incorrectly" problem.
13589
13590Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
13591Global Lock AE_BAD_PARAMETER error.
13592
13593Fixed several 64-bit issues with prototypes, casting and data
13594types.
13595
13596Removed duplicate prototype from acdisasm.h
13597
13598Fixed an issue involving EC Operation Region Detach (Shaohua Li)
13599
13600Code and Data Size: Current and previous core subsystem library
13601sizes are shown below.  These are the code and data sizes for the
13602acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13603these values do not include any ACPI driver or OSPM code.  The
13604debug version of the code includes the debug output trace
13605mechanism and has a much larger code and data size.  Note that
13606these values will vary depending on the efficiency of the compiler
13607and the compiler options used during generation.
13608
13609  Previous Release:
13610
13611    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
13612    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
13613  Current Release:
13614    Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13615    Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13616
13617
136182) Linux:
13619
13620Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
13621correct sleep time in seconds.
13622
13623----------------------------------------
1362414 July 2003.  Summary of changes for version 20030619:
13625
136261) ACPI CA Core Subsystem:
13627
13628Parse SSDTs in order discovered, as opposed to reverse order
13629(Hrvoje Habjanic)
13630
13631Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
13632Klausner,
13633   Nate Lawson)
13634
13635
136362) Linux:
13637
13638Dynamically allocate SDT list (suggested by Andi Kleen)
13639
13640proc function return value cleanups (Andi Kleen)
13641
13642Correctly handle NMI watchdog during long stalls (Andrew Morton)
13643
13644Make it so acpismp=force works (reported by Andrew Morton)
13645
13646
13647----------------------------------------
1364819 June 2003.  Summary of changes for version 20030619:
13649
136501) ACPI CA Core Subsystem:
13651
13652Fix To/FromBCD, eliminating the need for an arch-specific #define.
13653
13654Do not acquire a semaphore in the S5 shutdown path.
13655
13656Fix ex_digits_needed for 0. (Takayoshi Kochi)
13657
13658Fix sleep/stall code reversal. (Andi Kleen)
13659
13660Revert a change having to do with control method calling
13661semantics.
13662
136632) Linux:
13664
13665acpiphp update (Takayoshi Kochi)
13666
13667Export acpi_disabled for sonypi (Stelian Pop)
13668
13669Mention acpismp=force in config help
13670
13671Re-add acpitable.c and acpismp=force. This improves backwards
13672
13673compatibility and also cleans up the code to a significant degree.
13674
13675Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
13676
13677----------------------------------------
1367822 May 2003.  Summary of changes for version 20030522:
13679
136801) ACPI CA Core Subsystem:
13681
13682Found and fixed a reported problem where an AE_NOT_FOUND error
13683occurred occasionally during _BST evaluation.  This turned out to
13684be an Owner ID allocation issue where a called method did not get
13685a new ID assigned to it.  Eventually, (after 64k calls), the Owner
13686ID UINT16 would wraparound so that the ID would be the same as the
13687caller's and the called method would delete the caller's
13688namespace.
13689
13690Implemented extended error reporting for control methods that are
13691aborted due to a run-time exception.  Output includes the exact
13692AML instruction that caused the method abort, a dump of the method
13693locals and arguments at the time of the abort, and a trace of all
13694nested control method calls.
13695
13696Modified the interpreter to allow the creation of buffers of zero
13697length from the AML code. Implemented new code to ensure that no
13698attempt is made to actually allocate a memory buffer (of length
13699zero) - instead, a simple buffer object with a NULL buffer pointer
13700and length zero is created.  A warning is no longer issued when
13701the AML attempts to create a zero-length buffer.
13702
13703Implemented a workaround for the "leading asterisk issue" in
13704_HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
13705asterisk is automatically removed if present in any HID, UID, or
13706CID strings.  The iASL compiler will still flag this asterisk as
13707an error, however.
13708
13709Implemented full support for _CID methods that return a package of
13710multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
13711now additionally returns a device _CID list if present.  This
13712required a change to the external interface in order to pass an
13713ACPI_BUFFER object as a parameter since the _CID list is of
13714variable length.
13715
13716Fixed a problem with the new AE_SAME_HANDLER exception where
13717handler initialization code did not know about this exception.
13718
13719Code and Data Size: Current and previous core subsystem library
13720sizes are shown below.  These are the code and data sizes for the
13721acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13722these values do not include any ACPI driver or OSPM code.  The
13723debug version of the code includes the debug output trace
13724mechanism and has a much larger code and data size.  Note that
13725these values will vary depending on the efficiency of the compiler
13726and the compiler options used during generation.
13727
13728  Previous Release (20030509):
13729    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
13730    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
13731  Current Release:
13732    Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
13733    Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
13734
13735
137362) Linux:
13737
13738Fixed a bug in which we would reinitialize the ACPI interrupt
13739after it was already working, thus disabling all ACPI and the IRQs
13740for any other device sharing the interrupt. (Thanks to Stian
13741Jordet)
13742
13743Toshiba driver update (John Belmonte)
13744
13745Return only 0 or 1 for our interrupt handler status (Andrew
13746Morton)
13747
13748
137493) iASL Compiler:
13750
13751Fixed a reported problem where multiple (nested) ElseIf()
13752statements were not handled correctly by the compiler, resulting
13753in incorrect warnings and incorrect AML code.  This was a problem
13754in both the ASL parser and the code generator.
13755
13756
137574) Documentation:
13758
13759Added changes to existing interfaces, new exception codes, and new
13760text concerning reference count object management versus garbage
13761collection.
13762
13763----------------------------------------
1376409 May 2003.  Summary of changes for version 20030509.
13765
13766
137671) ACPI CA Core Subsystem:
13768
13769Changed the subsystem initialization sequence to hold off
13770installation of address space handlers until the hardware has been
13771initialized and the system has entered ACPI mode.  This is because
13772the installation of space handlers can cause _REG methods to be
13773run.  Previously, the _REG methods could potentially be run before
13774ACPI mode was enabled.
13775
13776Fixed some memory leak issues related to address space handler and
13777notify handler installation.  There were some problems with the
13778reference count mechanism caused by the fact that the handler
13779objects are shared across several namespace objects.
13780
13781Fixed a reported problem where reference counts within the
13782namespace were not properly updated when named objects created by
13783method execution were deleted.
13784
13785Fixed a reported problem where multiple SSDTs caused a deletion
13786issue during subsystem termination.  Restructured the table data
13787structures to simplify the linked lists and the related code.
13788
13789Fixed a problem where the table ID associated with secondary
13790tables (SSDTs) was not being propagated into the namespace objects
13791created by those tables.  This would only present a problem for
13792tables that are unloaded at run-time, however.
13793
13794Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
13795type as the length parameter (instead of UINT32).
13796
13797Solved a long-standing problem where an ALREADY_EXISTS error
13798appears on various systems.  This problem could happen when there
13799are multiple PCI_Config operation regions under a single PCI root
13800bus.  This doesn't happen very frequently, but there are some
13801systems that do this in the ASL.
13802
13803Fixed a reported problem where the internal DeleteNode function
13804was incorrectly handling the case where a namespace node was the
13805first in the parent's child list, and had additional peers (not
13806the only child, but first in the list of children.)
13807
13808Code and Data Size: Current core subsystem library sizes are shown
13809below.  These are the code and data sizes for the acpica.lib
13810produced by the Microsoft Visual C++ 6.0 compiler, and these
13811values do not include any ACPI driver or OSPM code.  The debug
13812version of the code includes the debug output trace mechanism and
13813has a much larger code and data size.  Note that these values will
13814vary depending on the efficiency of the compiler and the compiler
13815options used during generation.
13816
13817  Previous Release
13818    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
13819    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
13820  Current Release:
13821    Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
13822    Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
13823
13824
138252) Linux:
13826
13827Allow ":" in OS override string (Ducrot Bruno)
13828
13829Kobject fix (Greg KH)
13830
13831
138323 iASL Compiler/Disassembler:
13833
13834Fixed a problem in the generation of the C source code files (AML
13835is emitted in C source statements for BIOS inclusion) where the
13836Ascii dump that appears within a C comment at the end of each line
13837could cause a compile time error if the AML sequence happens to
13838have an open comment or close comment sequence embedded.
13839
13840
13841----------------------------------------
1384224 April 2003.  Summary of changes for version 20030424.
13843
13844
138451) ACPI CA Core Subsystem:
13846
13847Support for big-endian systems has been implemented.  Most of the
13848support has been invisibly added behind big-endian versions of the
13849ACPI_MOVE_* macros.
13850
13851Fixed a problem in AcpiHwDisableGpeBlock() and
13852AcpiHwClearGpeBlock() where an incorrect offset was passed to the
13853low level hardware write routine.  The offset parameter was
13854actually eliminated from the low level read/write routines because
13855they had become obsolete.
13856
13857Fixed a problem where a handler object was deleted twice during
13858the removal of a fixed event handler.
13859
13860
138612) Linux:
13862
13863A fix for SMP systems with link devices was contributed by
13864
13865Compaq's Dan Zink.
13866
13867(2.5) Return whether we handled the interrupt in our IRQ handler.
13868(Linux ISRs no longer return void, so we can propagate the handler
13869return value from the ACPI CA core back to the OS.)
13870
13871
13872
138733) Documentation:
13874
13875The ACPI CA Programmer Reference has been updated to reflect new
13876interfaces and changes to existing interfaces.
13877
13878----------------------------------------
1387928 March 2003.  Summary of changes for version 20030328.
13880
138811) ACPI CA Core Subsystem:
13882
13883The GPE Block Device support has been completed.  New interfaces
13884are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
13885interfaces (enable, disable, clear, getstatus) have been split
13886into separate interfaces for Fixed Events and General Purpose
13887Events (GPEs) in order to support GPE Block Devices properly.
13888
13889Fixed a problem where the error message "Failed to acquire
13890semaphore" would appear during operations on the embedded
13891controller (EC).
13892
13893Code and Data Size: Current core subsystem library sizes are shown
13894below.  These are the code and data sizes for the acpica.lib
13895produced by the Microsoft Visual C++ 6.0 compiler, and these
13896values do not include any ACPI driver or OSPM code.  The debug
13897version of the code includes the debug output trace mechanism and
13898has a much larger code and data size.  Note that these values will
13899vary depending on the efficiency of the compiler and the compiler
13900options used during generation.
13901
13902  Previous Release
13903    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
13904    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
13905  Current Release:
13906    Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
13907    Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
13908
13909
13910----------------------------------------
1391128 February 2003.  Summary of changes for version 20030228.
13912
13913
139141) ACPI CA Core Subsystem:
13915
13916The GPE handling and dispatch code has been completely overhauled
13917in preparation for support of GPE Block Devices (ID ACPI0006).
13918This affects internal data structures and code only; there should
13919be no differences visible externally.  One new file has been
13920added, evgpeblk.c
13921
13922The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
13923fields that are used to determine the GPE block lengths.  The
13924REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
13925structures are ignored.  This is per the ACPI specification but it
13926isn't very clear.  The full 256 Block 0/1 GPEs are now supported
13927(the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
13928
13929In the SCI interrupt handler, removed the read of the PM1_CONTROL
13930register to look at the SCI_EN bit.  On some machines, this read
13931causes an SMI event and greatly slows down SCI events.  (This may
13932in fact be the cause of slow battery status response on some
13933systems.)
13934
13935Fixed a problem where a store of a NULL string to a package object
13936could cause the premature deletion of the object.  This was seen
13937during execution of the battery _BIF method on some systems,
13938resulting in no battery data being returned.
13939
13940Added AcpiWalkResources interface to simplify parsing of resource
13941lists.
13942
13943Code and Data Size: Current core subsystem library sizes are shown
13944below.  These are the code and data sizes for the acpica.lib
13945produced by the Microsoft Visual C++ 6.0 compiler, and these
13946values do not include any ACPI driver or OSPM code.  The debug
13947version of the code includes the debug output trace mechanism and
13948has a much larger code and data size.  Note that these values will
13949vary depending on the efficiency of the compiler and the compiler
13950options used during generation.
13951
13952  Previous Release
13953    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
13954    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
13955  Current Release:
13956    Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
13957    Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
13958
13959
139602) Linux
13961
13962S3 fixes (Ole Rohne)
13963
13964Update ACPI PHP driver with to use new acpi_walk_resource API
13965(Bjorn Helgaas)
13966
13967Add S4BIOS support (Pavel Machek)
13968
13969Map in entire table before performing checksum (John Stultz)
13970
13971Expand the mem= cmdline to allow the specification of reserved and
13972ACPI DATA blocks (Pavel Machek)
13973
13974Never use ACPI on VISWS
13975
13976Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
13977
13978Revert a change that allowed P_BLK lengths to be 4 or 5. This is
13979causing us to think that some systems support C2 when they really
13980don't.
13981
13982Do not count processor objects for non-present CPUs (Thanks to
13983Dominik Brodowski)
13984
13985
139863) iASL Compiler:
13987
13988Fixed a problem where ASL include files could not be found and
13989opened.
13990
13991Added support for the _PDC reserved name.
13992
13993
13994----------------------------------------
1399522 January 2003.  Summary of changes for version 20030122.
13996
13997
139981) ACPI CA Core Subsystem:
13999
14000Added a check for constructs of the form:  Store (Local0, Local0)
14001where Local0 is not initialized.  Apparently, some BIOS
14002programmers believe that this is a NOOP.  Since this store doesn't
14003do anything anyway, the new prototype behavior will ignore this
14004error.  This is a case where we can relax the strict checking in
14005the interpreter in the name of compatibility.
14006
14007
140082) Linux
14009
14010The AcpiSrc Source Conversion Utility has been released with the
14011Linux package for the first time.  This is the utility that is
14012used to convert the ACPI CA base source code to the Linux version.
14013
14014(Both) Handle P_BLK lengths shorter than 6 more gracefully
14015
14016(Both) Move more headers to include/acpi, and delete an unused
14017header.
14018
14019(Both) Move drivers/acpi/include directory to include/acpi
14020
14021(Both) Boot functions don't use cmdline, so don't pass it around
14022
14023(Both) Remove include of unused header (Adrian Bunk)
14024
14025(Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
14026the
14027former now also includes the latter, acpiphp.h only needs the one,
14028now.
14029
14030(2.5) Make it possible to select method of bios restoring after S3
14031resume. [=> no more ugly ifdefs] (Pavel Machek)
14032
14033(2.5) Make proc write interfaces work (Pavel Machek)
14034
14035(2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
14036
14037(2.5) Break out ACPI Perf code into its own module, under cpufreq
14038(Dominik Brodowski)
14039
14040(2.4) S4BIOS support (Ducrot Bruno)
14041
14042(2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
14043Visinoni)
14044
14045
140463) iASL Compiler:
14047
14048Added support to disassemble SSDT and PSDTs.
14049
14050Implemented support to obtain SSDTs from the Windows registry if
14051available.
14052
14053
14054----------------------------------------
1405509 January 2003.  Summary of changes for version 20030109.
14056
140571) ACPI CA Core Subsystem:
14058
14059Changed the behavior of the internal Buffer-to-String conversion
14060function.  The current ACPI specification states that the contents
14061of the buffer are "converted to a string of two-character
14062hexadecimal numbers, each separated by a space".  Unfortunately,
14063this definition is not backwards compatible with existing ACPI 1.0
14064implementations (although the behavior was not defined in the ACPI
140651.0 specification).  The new behavior simply copies data from the
14066buffer to the string until a null character is found or the end of
14067the buffer is reached.  The new String object is always null
14068terminated.  This problem was seen during the generation of _BIF
14069battery data where incorrect strings were returned for battery
14070type, etc.  This will also require an errata to the ACPI
14071specification.
14072
14073Renamed all instances of NATIVE_UINT and NATIVE_INT to
14074ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
14075
14076Copyright in all module headers (both Linux and non-Linux) has be
14077updated to 2003.
14078
14079Code and Data Size: Current core subsystem library sizes are shown
14080below.  These are the code and data sizes for the acpica.lib
14081produced by the Microsoft Visual C++ 6.0 compiler, and these
14082values do not include any ACPI driver or OSPM code.  The debug
14083version of the code includes the debug output trace mechanism and
14084has a much larger code and data size.  Note that these values will
14085vary depending on the efficiency of the compiler and the compiler
14086options used during generation.
14087
14088  Previous Release
14089    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14090    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14091  Current Release:
14092    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14093    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14094
14095
140962) Linux
14097
14098Fixed an oops on module insertion/removal (Matthew Tippett)
14099
14100(2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
14101
14102(2.5) Replace pr_debug (Randy Dunlap)
14103
14104(2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
14105
14106(Both) Eliminate spawning of thread from timer callback, in favor
14107of schedule_work()
14108
14109(Both) Show Lid status in /proc (Zdenek OGAR Skalak)
14110
14111(Both) Added define for Fixed Function HW region (Matthew Wilcox)
14112
14113(Both) Add missing statics to button.c (Pavel Machek)
14114
14115Several changes have been made to the source code translation
14116utility that generates the Linux Code in order to make the code
14117more "Linux-like":
14118
14119All typedefs on structs and unions have been removed in keeping
14120with the Linux coding style.
14121
14122Removed the non-Linux SourceSafe module revision number from each
14123module header.
14124
14125Completed major overhaul of symbols to be lowercased for linux.
14126Doubled the number of symbols that are lowercased.
14127
14128Fixed a problem where identifiers within procedure headers and
14129within quotes were not fully lower cased (they were left with a
14130starting capital.)
14131
14132Some C macros whose only purpose is to allow the generation of 16-
14133bit code are now completely removed in the Linux code, increasing
14134readability and maintainability.
14135
14136----------------------------------------
14137
1413812 December 2002.  Summary of changes for version 20021212.
14139
14140
141411) ACPI CA Core Subsystem:
14142
14143Fixed a problem where the creation of a zero-length AML Buffer
14144would cause a fault.
14145
14146Fixed a problem where a Buffer object that pointed to a static AML
14147buffer (in an ACPI table) could inadvertently be deleted, causing
14148memory corruption.
14149
14150Fixed a problem where a user buffer (passed in to the external
14151ACPI CA interfaces) could be overwritten if the buffer was too
14152small to complete the operation, causing memory corruption.
14153
14154Fixed a problem in the Buffer-to-String conversion code where a
14155string of length one was always returned, regardless of the size
14156of the input Buffer object.
14157
14158Removed the NATIVE_CHAR data type across the entire source due to
14159lack of need and lack of consistent use.
14160
14161Code and Data Size: Current core subsystem library sizes are shown
14162below.  These are the code and data sizes for the acpica.lib
14163produced by the Microsoft Visual C++ 6.0 compiler, and these
14164values do not include any ACPI driver or OSPM code.  The debug
14165version of the code includes the debug output trace mechanism and
14166has a much larger code and data size.  Note that these values will
14167vary depending on the efficiency of the compiler and the compiler
14168options used during generation.
14169
14170  Previous Release
14171    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14172    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14173  Current Release:
14174    Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14175    Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14176
14177
14178----------------------------------------
1417905 December 2002.  Summary of changes for version 20021205.
14180
141811) ACPI CA Core Subsystem:
14182
14183Fixed a problem where a store to a String or Buffer object could
14184cause corruption of the DSDT if the object type being stored was
14185the same as the target object type and the length of the object
14186being stored was equal to or smaller than the original (existing)
14187target object.  This was seen to cause corruption of battery _BIF
14188buffers if the _BIF method modified the buffer on the fly.
14189
14190Fixed a problem where an internal error was generated if a control
14191method invocation was used in an OperationRegion, Buffer, or
14192Package declaration.  This was caused by the deferred parsing of
14193the control method and thus the deferred creation of the internal
14194method object.  The solution to this problem was to create the
14195internal method object at the moment the method is encountered in
14196the first pass - so that subsequent references to the method will
14197able to obtain the required parameter count and thus properly
14198parse the method invocation.  This problem presented itself as an
14199AE_AML_INTERNAL during the pass 1 parse phase during table load.
14200
14201Fixed a problem where the internal String object copy routine did
14202not always allocate sufficient memory for the target String object
14203and caused memory corruption.  This problem was seen to cause
14204"Allocation already present in list!" errors as memory allocation
14205became corrupted.
14206
14207Implemented a new function for the evaluation of namespace objects
14208that allows the specification of the allowable return object
14209types.  This simplifies a lot of code that checks for a return
14210object of one or more specific objects returned from the
14211evaluation (such as _STA, etc.)  This may become and external
14212function if it would be useful to ACPI-related drivers.
14213
14214Completed another round of prefixing #defines with "ACPI_" for
14215clarity.
14216
14217Completed additional code restructuring to allow more modular
14218linking for iASL compiler and AcpiExec.  Several files were split
14219creating new files.  New files:  nsparse.c dsinit.c evgpe.c
14220
14221Implemented an abort mechanism to terminate an executing control
14222method via the AML debugger.  This feature is useful for debugging
14223control methods that depend (wait) for specific hardware
14224responses.
14225
14226Code and Data Size: Current core subsystem library sizes are shown
14227below.  These are the code and data sizes for the acpica.lib
14228produced by the Microsoft Visual C++ 6.0 compiler, and these
14229values do not include any ACPI driver or OSPM code.  The debug
14230version of the code includes the debug output trace mechanism and
14231has a much larger code and data size.  Note that these values will
14232vary depending on the efficiency of the compiler and the compiler
14233options used during generation.
14234
14235  Previous Release
14236    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14237    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14238  Current Release:
14239    Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14240    Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14241
14242
142432) iASL Compiler/Disassembler
14244
14245Fixed a compiler code generation problem for "Interrupt" Resource
14246Descriptors.  If specified in the ASL, the optional "Resource
14247Source Index" and "Resource Source" fields were not inserted into
14248the correct location within the AML resource descriptor, creating
14249an invalid descriptor.
14250
14251Fixed a disassembler problem for "Interrupt" resource descriptors.
14252The optional "Resource Source Index" and "Resource Source" fields
14253were ignored.
14254
14255
14256----------------------------------------
1425722 November 2002.  Summary of changes for version 20021122.
14258
14259
142601) ACPI CA Core Subsystem:
14261
14262Fixed a reported problem where an object stored to a Method Local
14263or Arg was not copied to a new object during the store - the
14264object pointer was simply copied to the Local/Arg.  This caused
14265all subsequent operations on the Local/Arg to also affect the
14266original source of the store operation.
14267
14268Fixed a problem where a store operation to a Method Local or Arg
14269was not completed properly if the Local/Arg contained a reference
14270(from RefOf) to a named field.  The general-purpose store-to-
14271namespace-node code is now used so that this case is handled
14272automatically.
14273
14274Fixed a problem where the internal object copy routine would cause
14275a protection fault if the object being copied was a Package and
14276contained either 1) a NULL package element or 2) a nested sub-
14277package.
14278
14279Fixed a problem with the GPE initialization that resulted from an
14280ambiguity in the ACPI specification.  One section of the
14281specification states that both the address and length of the GPE
14282block must be zero if the block is not supported.  Another section
14283implies that only the address need be zero if the block is not
14284supported.  The code has been changed so that both the address and
14285the length must be non-zero to indicate a valid GPE block (i.e.,
14286if either the address or the length is zero, the GPE block is
14287invalid.)
14288
14289Code and Data Size: Current core subsystem library sizes are shown
14290below.  These are the code and data sizes for the acpica.lib
14291produced by the Microsoft Visual C++ 6.0 compiler, and these
14292values do not include any ACPI driver or OSPM code.  The debug
14293version of the code includes the debug output trace mechanism and
14294has a much larger code and data size.  Note that these values will
14295vary depending on the efficiency of the compiler and the compiler
14296options used during generation.
14297
14298  Previous Release
14299    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14300    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14301  Current Release:
14302    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14303    Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14304
14305
143062) Linux
14307
14308Cleaned up EC driver. Exported an external EC read/write
14309interface. By going through this, other drivers (most notably
14310sonypi) will be able to serialize access to the EC.
14311
14312
143133) iASL Compiler/Disassembler
14314
14315Implemented support to optionally generate include files for both
14316ASM and C (the -i switch).  This simplifies BIOS development by
14317automatically creating include files that contain external
14318declarations for the symbols that are created within the
14319
14320(optionally generated) ASM and C AML source files.
14321
14322
14323----------------------------------------
1432415 November 2002.  Summary of changes for version 20021115.
14325
143261) ACPI CA Core Subsystem:
14327
14328Fixed a memory leak problem where an error during resolution of
14329
14330method arguments during a method invocation from another method
14331failed to cleanup properly by deleting all successfully resolved
14332argument objects.
14333
14334Fixed a problem where the target of the Index() operator was not
14335correctly constructed if the source object was a package.  This
14336problem has not been detected because the use of a target operand
14337with Index() is very rare.
14338
14339Fixed a problem with the Index() operator where an attempt was
14340made to delete the operand objects twice.
14341
14342Fixed a problem where an attempt was made to delete an operand
14343twice during execution of the CondRefOf() operator if the target
14344did not exist.
14345
14346Implemented the first of perhaps several internal create object
14347functions that create and initialize a specific object type.  This
14348consolidates duplicated code wherever the object is created, thus
14349shrinking the size of the subsystem.
14350
14351Implemented improved debug/error messages for errors that occur
14352during nested method invocations.  All executing method pathnames
14353are displayed (with the error) as the call stack is unwound - thus
14354simplifying debug.
14355
14356Fixed a problem introduced in the 10/02 release that caused
14357premature deletion of a buffer object if a buffer was used as an
14358ASL operand where an integer operand is required (Thus causing an
14359implicit object conversion from Buffer to Integer.)  The change in
14360the 10/02 release was attempting to fix a memory leak (albeit
14361incorrectly.)
14362
14363Code and Data Size: Current core subsystem library sizes are shown
14364below.  These are the code and data sizes for the acpica.lib
14365produced by the Microsoft Visual C++ 6.0 compiler, and these
14366values do not include any ACPI driver or OSPM code.  The debug
14367version of the code includes the debug output trace mechanism and
14368has a much larger code and data size.  Note that these values will
14369vary depending on the efficiency of the compiler and the compiler
14370options used during generation.
14371
14372  Previous Release
14373    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14374    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14375  Current Release:
14376    Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14377    Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14378
14379
143802) Linux
14381
14382Changed the implementation of the ACPI semaphores to use down()
14383instead of down_interruptable().  It is important that the
14384execution of ACPI control methods not be interrupted by signals.
14385Methods must run to completion, or the system may be left in an
14386unknown/unstable state.
14387
14388Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
14389(Shawn Starr)
14390
14391
143923) iASL Compiler/Disassembler
14393
14394
14395Changed the default location of output files.  All output files
14396are now placed in the current directory by default instead of in
14397the directory of the source file.  This change may affect some
14398existing makefiles, but it brings the behavior of the compiler in
14399line with other similar tools.  The location of the output files
14400can be overridden with the -p command line switch.
14401
14402
14403----------------------------------------
1440411 November 2002.  Summary of changes for version 20021111.
14405
14406
144070) ACPI Specification 2.0B is released and is now available at:
14408http://www.acpi.info/index.html
14409
14410
144111) ACPI CA Core Subsystem:
14412
14413Implemented support for the ACPI 2.0 SMBus Operation Regions.
14414This includes the early detection and handoff of the request to
14415the SMBus region handler (avoiding all of the complex field
14416support code), and support for the bidirectional return packet
14417from an SMBus write operation.  This paves the way for the
14418development of SMBus drivers in each host operating system.
14419
14420Fixed a problem where the semaphore WAIT_FOREVER constant was
14421defined as 32 bits, but must be 16 bits according to the ACPI
14422specification.  This had the side effect of causing ASL
14423Mutex/Event timeouts even though the ASL code requested a wait
14424forever.  Changed all internal references to the ACPI timeout
14425parameter to 16 bits to prevent future problems.  Changed the name
14426of WAIT_FOREVER to ACPI_WAIT_FOREVER.
14427
14428Code and Data Size: Current core subsystem library sizes are shown
14429below.  These are the code and data sizes for the acpica.lib
14430produced by the Microsoft Visual C++ 6.0 compiler, and these
14431values do not include any ACPI driver or OSPM code.  The debug
14432version of the code includes the debug output trace mechanism and
14433has a much larger code and data size.  Note that these values will
14434vary depending on the efficiency of the compiler and the compiler
14435options used during generation.
14436
14437  Previous Release
14438    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14439    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14440  Current Release:
14441    Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14442    Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14443
14444
144452) Linux
14446
14447Module loading/unloading fixes (John Cagle)
14448
14449
144503) iASL Compiler/Disassembler
14451
14452Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
14453
14454Implemented support for the disassembly of all SMBus protocol
14455keywords (SMBQuick, SMBWord, etc.)
14456
14457----------------------------------------
1445801 November 2002.  Summary of changes for version 20021101.
14459
14460
144611) ACPI CA Core Subsystem:
14462
14463Fixed a problem where platforms that have a GPE1 block but no GPE0
14464block were not handled correctly.  This resulted in a "GPE
14465overlap" error message.  GPE0 is no longer required.
14466
14467Removed code added in the previous release that inserted nodes
14468into the namespace in alphabetical order.  This caused some side-
14469effects on various machines.  The root cause of the problem is
14470still under investigation since in theory, the internal ordering
14471of the namespace nodes should not matter.
14472
14473
14474Enhanced error reporting for the case where a named object is not
14475found during control method execution.  The full ACPI namepath
14476(name reference) of the object that was not found is displayed in
14477this case.
14478
14479Note: as a result of the overhaul of the namespace object types in
14480the previous release, the namespace nodes for the predefined
14481scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
14482instead of ACPI_TYPE_ANY.  This simplifies the namespace
14483management code but may affect code that walks the namespace tree
14484looking for specific object types.
14485
14486Code and Data Size: Current core subsystem library sizes are shown
14487below.  These are the code and data sizes for the acpica.lib
14488produced by the Microsoft Visual C++ 6.0 compiler, and these
14489values do not include any ACPI driver or OSPM code.  The debug
14490version of the code includes the debug output trace mechanism and
14491has a much larger code and data size.  Note that these values will
14492vary depending on the efficiency of the compiler and the compiler
14493options used during generation.
14494
14495  Previous Release
14496    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14497    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14498  Current Release:
14499    Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14500    Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14501
14502
145032) Linux
14504
14505Fixed a problem introduced in the previous release where the
14506Processor and Thermal objects were not recognized and installed in
14507/proc.  This was related to the scope type change described above.
14508
14509
145103) iASL Compiler/Disassembler
14511
14512Implemented the -g option to get all of the required ACPI tables
14513from the registry and save them to files (Windows version of the
14514compiler only.)  The required tables are the FADT, FACS, and DSDT.
14515
14516Added ACPI table checksum validation during table disassembly in
14517order to catch corrupted tables.
14518
14519
14520----------------------------------------
1452122 October 2002.  Summary of changes for version 20021022.
14522
145231) ACPI CA Core Subsystem:
14524
14525Implemented a restriction on the Scope operator that the target
14526must already exist in the namespace at the time the operator is
14527encountered (during table load or method execution).  In other
14528words, forward references are not allowed and Scope() cannot
14529create a new object. This changes the previous behavior where the
14530interpreter would create the name if not found.  This new behavior
14531correctly enables the search-to-root algorithm during namespace
14532lookup of the target name.  Because of this upsearch, this fixes
14533the known Compaq _SB_.OKEC problem and makes both the AML
14534interpreter and iASL compiler compatible with other ACPI
14535implementations.
14536
14537Completed a major overhaul of the internal ACPI object types for
14538the ACPI Namespace and the associated operand objects.  Many of
14539these types had become obsolete with the introduction of the two-
14540pass namespace load.  This cleanup simplifies the code and makes
14541the entire namespace load mechanism much clearer and easier to
14542understand.
14543
14544Improved debug output for tracking scope opening/closing to help
14545diagnose scoping issues.  The old scope name as well as the new
14546scope name are displayed.  Also improved error messages for
14547problems with ASL Mutex objects and error messages for GPE
14548problems.
14549
14550Cleaned up the namespace dump code, removed obsolete code.
14551
14552All string output (for all namespace/object dumps) now uses the
14553common ACPI string output procedure which handles escapes properly
14554and does not emit non-printable characters.
14555
14556Fixed some issues with constants in the 64-bit version of the
14557local C library (utclib.c)
14558
14559
145602) Linux
14561
14562EC Driver:  No longer attempts to acquire the Global Lock at
14563interrupt level.
14564
14565
145663) iASL Compiler/Disassembler
14567
14568Implemented ACPI 2.0B grammar change that disallows all Type 1 and
145692 opcodes outside of a control method.  This means that the
14570"executable" operators (versus the "namespace" operators) cannot
14571be used at the table level; they can only be used within a control
14572method.
14573
14574Implemented the restriction on the Scope() operator where the
14575target must already exist in the namespace at the time the
14576operator is encountered (during ASL compilation). In other words,
14577forward references are not allowed and Scope() cannot create a new
14578object.  This makes the iASL compiler compatible with other ACPI
14579implementations and makes the Scope() implementation adhere to the
14580ACPI specification.
14581
14582Fixed a problem where namepath optimization for the Alias operator
14583was optimizing the wrong path (of the two namepaths.)  This caused
14584a "Missing alias link" error message.
14585
14586Fixed a problem where an "unknown reserved name" warning could be
14587incorrectly generated for names like "_SB" when the trailing
14588underscore is not used in the original ASL.
14589
14590Fixed a problem where the reserved name check did not handle
14591NamePaths with multiple NameSegs correctly.  The first nameseg of
14592the NamePath was examined instead of the last NameSeg.
14593
14594
14595----------------------------------------
14596
1459702 October 2002.  Summary of changes for this release.
14598
14599
146001) ACPI CA Core Subsystem version 20021002:
14601
14602Fixed a problem where a store/copy of a string to an existing
14603string did not always set the string length properly in the String
14604object.
14605
14606Fixed a reported problem with the ToString operator where the
14607behavior was identical to the ToHexString operator instead of just
14608simply converting a raw buffer to a string data type.
14609
14610Fixed a problem where CopyObject and the other "explicit"
14611conversion operators were not updating the internal namespace node
14612type as part of the store operation.
14613
14614Fixed a memory leak during implicit source operand conversion
14615where the original object was not deleted if it was converted to a
14616new object of a different type.
14617
14618Enhanced error messages for all problems associated with namespace
14619lookups.  Common procedure generates and prints the lookup name as
14620well as the formatted status.
14621
14622Completed implementation of a new design for the Alias support
14623within the namespace.  The existing design did not handle the case
14624where a new object was assigned to one of the two names due to the
14625use of an explicit conversion operator, resulting in the two names
14626pointing to two different objects.  The new design simply points
14627the Alias name to the original name node - not to the object.
14628This results in a level of indirection that must be handled in the
14629name resolution mechanism.
14630
14631Code and Data Size: Current core subsystem library sizes are shown
14632below.  These are the code and data sizes for the acpica.lib
14633produced by the Microsoft Visual C++ 6.0 compiler, and these
14634values do not include any ACPI driver or OSPM code.  The debug
14635version of the code includes the debug output trace mechanism and
14636has a larger code and data size.  Note that these values will vary
14637depending on the efficiency of the compiler and the compiler
14638options used during generation.
14639
14640  Previous Release
14641    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
14642    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
14643  Current Release:
14644    Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14645    Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14646
14647
146482) Linux
14649
14650Initialize thermal driver's timer before it is used. (Knut
14651Neumann)
14652
14653Allow handling negative celsius values. (Kochi Takayoshi)
14654
14655Fix thermal management and make trip points. R/W (Pavel Machek)
14656
14657Fix /proc/acpi/sleep. (P. Christeas)
14658
14659IA64 fixes. (David Mosberger)
14660
14661Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
14662
14663Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
14664Brodowski)
14665
14666
146673) iASL Compiler/Disassembler
14668
14669Clarified some warning/error messages.
14670
14671
14672----------------------------------------
1467318 September 2002.  Summary of changes for this release.
14674
14675
146761) ACPI CA Core Subsystem version 20020918:
14677
14678Fixed a reported problem with reference chaining (via the Index()
14679and RefOf() operators) in the ObjectType() and SizeOf() operators.
14680The definition of these operators includes the dereferencing of
14681all chained references to return information on the base object.
14682
14683Fixed a problem with stores to indexed package elements - the
14684existing code would not complete the store if an "implicit
14685conversion" was not performed.  In other words, if the existing
14686object (package element) was to be replaced completely, the code
14687didn't handle this case.
14688
14689Relaxed typechecking on the ASL "Scope" operator to allow the
14690target name to refer to an object of type Integer, String, or
14691Buffer, in addition to the scoping object types (Device,
14692predefined Scopes, Processor, PowerResource, and ThermalZone.)
14693This allows existing AML code that has workarounds for a bug in
14694Windows to function properly.  A warning is issued, however.  This
14695affects both the AML interpreter and the iASL compiler. Below is
14696an example of this type of ASL code:
14697
14698      Name(DEB,0x00)
14699      Scope(DEB)
14700      {
14701
14702Fixed some reported problems with 64-bit integer support in the
14703local implementation of C library functions (clib.c)
14704
14705
147062) Linux
14707
14708Use ACPI fix map region instead of IOAPIC region, since it is
14709undefined in non-SMP.
14710
14711Ensure that the SCI has the proper polarity and trigger, even on
14712systems that do not have an interrupt override entry in the MADT.
14713
147142.5 big driver reorganization (Pat Mochel)
14715
14716Use early table mapping code from acpitable.c (Andi Kleen)
14717
14718New blacklist entries (Andi Kleen)
14719
14720Blacklist improvements. Split blacklist code out into a separate
14721file. Move checking the blacklist to very early. Previously, we
14722would use ACPI tables, and then halfway through init, check the
14723blacklist -- too late. Now, it's early enough to completely fall-
14724back to non-ACPI.
14725
14726
147273) iASL Compiler/Disassembler version 20020918:
14728
14729Fixed a problem where the typechecking code didn't know that an
14730alias could point to a method.  In other words, aliases were not
14731being dereferenced during typechecking.
14732
14733
14734----------------------------------------
1473529 August 2002.  Summary of changes for this release.
14736
147371) ACPI CA Core Subsystem Version 20020829:
14738
14739If the target of a Scope() operator already exists, it must be an
14740object type that actually opens a scope -- such as a Device,
14741Method, Scope, etc.  This is a fatal runtime error.  Similar error
14742check has been added to the iASL compiler also.
14743
14744Tightened up the namespace load to disallow multiple names in the
14745same scope.  This previously was allowed if both objects were of
14746the same type.  (i.e., a lookup was the same as entering a new
14747name).
14748
14749
147502) Linux
14751
14752Ensure that the ACPI interrupt has the proper trigger and
14753polarity.
14754
14755local_irq_disable is extraneous. (Matthew Wilcox)
14756
14757Make "acpi=off" actually do what it says, and not use the ACPI
14758interpreter *or* the tables.
14759
14760Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
14761Takayoshi)
14762
14763
147643) iASL Compiler/Disassembler  Version 20020829:
14765
14766Implemented namepath optimization for name declarations.  For
14767example, a declaration like "Method (\_SB_.ABCD)" would get
14768optimized to "Method (ABCD)" if the declaration is within the
14769\_SB_ scope.  This optimization is in addition to the named
14770reference path optimization first released in the previous
14771version. This would seem to complete all possible optimizations
14772for namepaths within the ASL/AML.
14773
14774If the target of a Scope() operator already exists, it must be an
14775object type that actually opens a scope -- such as a Device,
14776Method, Scope, etc.
14777
14778Implemented a check and warning for unreachable code in the same
14779block below a Return() statement.
14780
14781Fixed a problem where the listing file was not generated if the
14782compiler aborted if the maximum error count was exceeded (200).
14783
14784Fixed a problem where the typechecking of method return values was
14785broken.  This includes the check for a return value when the
14786method is invoked as a TermArg (a return value is expected.)
14787
14788Fixed a reported problem where EOF conditions during a quoted
14789string or comment caused a fault.
14790
14791
14792----------------------------------------
1479315 August 2002.  Summary of changes for this release.
14794
147951) ACPI CA Core Subsystem Version 20020815:
14796
14797Fixed a reported problem where a Store to a method argument that
14798contains a reference did not perform the indirect store correctly.
14799This problem was created during the conversion to the new
14800reference object model - the indirect store to a method argument
14801code was not updated to reflect the new model.
14802
14803Reworked the ACPI mode change code to better conform to ACPI 2.0,
14804handle corner cases, and improve code legibility (Kochi Takayoshi)
14805
14806Fixed a problem with the pathname parsing for the carat (^)
14807prefix.  The heavy use of the carat operator by the new namepath
14808optimization in the iASL compiler uncovered a problem with the AML
14809interpreter handling of this prefix.  In the case where one or
14810more carats precede a single nameseg, the nameseg was treated as
14811standalone and the search rule (to root) was inadvertently
14812applied.  This could cause both the iASL compiler and the
14813interpreter to find the wrong object or to miss the error that
14814should occur if the object does not exist at that exact pathname.
14815
14816Found and fixed the problem where the HP Pavilion DSDT would not
14817load.  This was a relatively minor tweak to the table loading code
14818(a problem caused by the unexpected encounter with a method
14819invocation not within a control method), but it does not solve the
14820overall issue of the execution of AML code at the table level.
14821This investigation is still ongoing.
14822
14823Code and Data Size: Current core subsystem library sizes are shown
14824below.  These are the code and data sizes for the acpica.lib
14825produced by the Microsoft Visual C++ 6.0 compiler, and these
14826values do not include any ACPI driver or OSPM code.  The debug
14827version of the code includes the debug output trace mechanism and
14828has a larger code and data size.  Note that these values will vary
14829depending on the efficiency of the compiler and the compiler
14830options used during generation.
14831
14832  Previous Release
14833    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
14834    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
14835  Current Release:
14836    Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
14837    Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
14838
14839
148402) Linux
14841
14842Remove redundant slab.h include (Brad Hards)
14843
14844Fix several bugs in thermal.c (Herbert Nachtnebel)
14845
14846Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
14847
14848Change acpi_system_suspend to use updated irq functions (Pavel
14849Machek)
14850
14851Export acpi_get_firmware_table (Matthew Wilcox)
14852
14853Use proper root proc entry for ACPI (Kochi Takayoshi)
14854
14855Fix early-boot table parsing (Bjorn Helgaas)
14856
14857
148583) iASL Compiler/Disassembler
14859
14860Reworked the compiler options to make them more consistent and to
14861use two-letter options where appropriate.  We were running out of
14862sensible letters.   This may break some makefiles, so check the
14863current options list by invoking the compiler with no parameters.
14864
14865Completed the design and implementation of the ASL namepath
14866optimization option for the compiler.  This option optimizes all
14867references to named objects to the shortest possible path.  The
14868first attempt tries to utilize a single nameseg (4 characters) and
14869the "search-to-root" algorithm used by the interpreter.  If that
14870cannot be used (because either the name is not in the search path
14871or there is a conflict with another object with the same name),
14872the pathname is optimized using the carat prefix (usually a
14873shorter string than specifying the entire path from the root.)
14874
14875Implemented support to obtain the DSDT from the Windows registry
14876(when the disassembly option is specified with no input file).
14877Added this code as the implementation for AcpiOsTableOverride in
14878the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
14879utility) to scan memory for the DSDT to the AcpiOsTableOverride
14880function in the DOS OSL to make the disassembler truly OS
14881independent.
14882
14883Implemented a new option to disassemble and compile in one step.
14884When used without an input filename, this option will grab the
14885DSDT from the local machine, disassemble it, and compile it in one
14886step.
14887
14888Added a warning message for invalid escapes (a backslash followed
14889by any character other than the allowable escapes).  This catches
14890the quoted string error "\_SB_" (which should be "\\_SB_" ).
14891
14892Also, there are numerous instances in the ACPI specification where
14893this error occurs.
14894
14895Added a compiler option to disable all optimizations.  This is
14896basically the "compatibility mode" because by using this option,
14897the AML code will come out exactly the same as other ASL
14898compilers.
14899
14900Added error messages for incorrectly ordered dependent resource
14901functions.  This includes: missing EndDependentFn macro at end of
14902dependent resource list, nested dependent function macros (both
14903start and end), and missing StartDependentFn macro.  These are
14904common errors that should be caught at compile time.
14905
14906Implemented _OSI support for the disassembler and compiler.  _OSI
14907must be included in the namespace for proper disassembly (because
14908the disassembler must know the number of arguments.)
14909
14910Added an "optimization" message type that is optional (off by
14911default).  This message is used for all optimizations - including
14912constant folding, integer optimization, and namepath optimization.
14913
14914----------------------------------------
1491525 July 2002.  Summary of changes for this release.
14916
14917
149181) ACPI CA Core Subsystem Version 20020725:
14919
14920The AML Disassembler has been enhanced to produce compilable ASL
14921code and has been integrated into the iASL compiler (see below) as
14922well as the single-step disassembly for the AML debugger and the
14923disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
14924resource templates and macros are fully supported.  The
14925disassembler has been tested on over 30 different AML files,
14926producing identical AML when the resulting disassembled ASL file
14927is recompiled with the same ASL compiler.
14928
14929Modified the Resource Manager to allow zero interrupts and zero
14930dma channels during the GetCurrentResources call.  This was
14931causing problems on some platforms.
14932
14933Added the AcpiOsRedirectOutput interface to the OSL to simplify
14934output redirection for the AcpiOsPrintf and AcpiOsVprintf
14935interfaces.
14936
14937Code and Data Size: Current core subsystem library sizes are shown
14938below.  These are the code and data sizes for the acpica.lib
14939produced by the Microsoft Visual C++ 6.0 compiler, and these
14940values do not include any ACPI driver or OSPM code.  The debug
14941version of the code includes the debug output trace mechanism and
14942has a larger code and data size.  Note that these values will vary
14943depending on the efficiency of the compiler and the compiler
14944options used during generation.
14945
14946  Previous Release
14947    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
14948    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
14949  Current Release:
14950    Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
14951    Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
14952
14953
149542) Linux
14955
14956Fixed a panic in the EC driver (Dominik Brodowski)
14957
14958Implemented checksum of the R/XSDT itself during Linux table scan
14959(Richard Schaal)
14960
14961
149623) iASL compiler
14963
14964The AML disassembler is integrated into the compiler.  The "-d"
14965option invokes the disassembler  to completely disassemble an
14966input AML file, producing as output a text ASL file with the
14967extension ".dsl" (to avoid name collisions with existing .asl
14968source files.)  A future enhancement will allow the disassembler
14969to obtain the BIOS DSDT from the registry under Windows.
14970
14971Fixed a problem with the VendorShort and VendorLong resource
14972descriptors where an invalid AML sequence was created.
14973
14974Implemented a fix for BufferData term in the ASL parser.  It was
14975inadvertently defined twice, allowing invalid syntax to pass and
14976causing reduction conflicts.
14977
14978Fixed a problem where the Ones opcode could get converted to a
14979value of zero if "Ones" was used where a byte, word or dword value
14980was expected.  The 64-bit value is now truncated to the correct
14981size with the correct value.
14982
14983
14984
14985----------------------------------------
1498602 July 2002.  Summary of changes for this release.
14987
14988
149891) ACPI CA Core Subsystem Version 20020702:
14990
14991The Table Manager code has been restructured to add several new
14992features.  Tables that are not required by the core subsystem
14993(other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
14994validated in any way and are returned from AcpiGetFirmwareTable if
14995requested.  The AcpiOsTableOverride interface is now called for
14996each table that is loaded by the subsystem in order to allow the
14997host to override any table it chooses.  Previously, only the DSDT
14998could be overridden.  Added one new files, tbrsdt.c and
14999tbgetall.c.
15000
15001Fixed a problem with the conversion of internal package objects to
15002external objects (when a package is returned from a control
15003method.)  The return buffer length was set to zero instead of the
15004proper length of the package object.
15005
15006Fixed a reported problem with the use of the RefOf and DeRefOf
15007operators when passing reference arguments to control methods.  A
15008new type of Reference object is used internally for references
15009produced by the RefOf operator.
15010
15011Added additional error messages in the Resource Manager to explain
15012AE_BAD_DATA errors when they occur during resource parsing.
15013
15014Split the AcpiEnableSubsystem into two primitives to enable a
15015finer granularity initialization sequence.  These two calls should
15016be called in this order: AcpiEnableSubsystem (flags),
15017AcpiInitializeObjects (flags).  The flags parameter remains the
15018same.
15019
15020
150212) Linux
15022
15023Updated the ACPI utilities module to understand the new style of
15024fully resolved package objects that are now returned from the core
15025subsystem.  This eliminates errors of the form:
15026
15027    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
15028    acpi_utils-0430 [145] acpi_evaluate_reference:
15029        Invalid element in package (not a device reference)
15030
15031The method evaluation utility uses the new buffer allocation
15032scheme instead of calling AcpiEvaluate Object twice.
15033
15034Added support for ECDT. This allows the use of the Embedded
15035
15036Controller before the namespace has been fully initialized, which
15037is necessary for ACPI 2.0 support, and for some laptops to
15038initialize properly. (Laptops using ECDT are still rare, so only
15039limited testing was performed of the added functionality.)
15040
15041Fixed memory leaks in the EC driver.
15042
15043Eliminated a brittle code structure in acpi_bus_init().
15044
15045Eliminated the acpi_evaluate() helper function in utils.c. It is
15046no longer needed since acpi_evaluate_object can optionally
15047allocate memory for the return object.
15048
15049Implemented fix for keyboard hang when getting battery readings on
15050some systems (Stephen White)
15051
15052PCI IRQ routing update (Dominik Brodowski)
15053
15054Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
15055support
15056
15057----------------------------------------
1505811 June 2002.  Summary of changes for this release.
15059
15060
150611) ACPI CA Core Subsystem Version 20020611:
15062
15063Fixed a reported problem where constants such as Zero and One
15064appearing within _PRT packages were not handled correctly within
15065the resource manager code.  Originally reported against the ASL
15066compiler because the code generator now optimizes integers to
15067their minimal AML representation (i.e. AML constants if possible.)
15068The _PRT code now handles all AML constant opcodes correctly
15069(Zero, One, Ones, Revision).
15070
15071Fixed a problem with the Concatenate operator in the AML
15072interpreter where a buffer result object was incorrectly marked as
15073not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
15074
15075All package sub-objects are now fully resolved before they are
15076returned from the external ACPI interfaces.  This means that name
15077strings are resolved to object handles, and constant operators
15078(Zero, One, Ones, Revision) are resolved to Integers.
15079
15080Implemented immediate resolution of the AML Constant opcodes
15081(Zero, One, Ones, Revision) to Integer objects upon detection
15082within the AML stream. This has simplified and reduced the
15083generated code size of the subsystem by eliminating about 10
15084switch statements for these constants (which previously were
15085contained in Reference objects.)  The complicating issues are that
15086the Zero opcode is used as a "placeholder" for unspecified
15087optional target operands and stores to constants are defined to be
15088no-ops.
15089
15090Code and Data Size: Current core subsystem library sizes are shown
15091below. These are the code and data sizes for the acpica.lib
15092produced by the Microsoft Visual C++ 6.0 compiler, and these
15093values do not include any ACPI driver or OSPM code.  The debug
15094version of the code includes the debug output trace mechanism and
15095has a larger code and data size.  Note that these values will vary
15096depending on the efficiency of the compiler and the compiler
15097options used during generation.
15098
15099  Previous Release
15100    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15101    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15102  Current Release:
15103    Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15104    Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15105
15106
151072) Linux
15108
15109
15110Added preliminary support for obtaining _TRA data for PCI root
15111bridges (Bjorn Helgaas).
15112
15113
151143) iASL Compiler Version X2046:
15115
15116Fixed a problem where the "_DDN" reserved name was defined to be a
15117control method with one argument.  There are no arguments, and
15118_DDN does not have to be a control method.
15119
15120Fixed a problem with the Linux version of the compiler where the
15121source lines printed with error messages were the wrong lines.
15122This turned out to be the "LF versus CR/LF" difference between
15123Windows and Unix.  This appears to be the longstanding issue
15124concerning listing output and error messages.
15125
15126Fixed a problem with the Linux version of compiler where opcode
15127names within error messages were wrong.  This was caused by a
15128slight difference in the output of the Flex tool on Linux versus
15129Windows.
15130
15131Fixed a problem with the Linux compiler where the hex output files
15132contained some garbage data caused by an internal buffer overrun.
15133
15134
15135----------------------------------------
1513617 May 2002.  Summary of changes for this release.
15137
15138
151391) ACPI CA Core Subsystem Version 20020517:
15140
15141Implemented a workaround to an BIOS bug discovered on the HP
15142OmniBook where the FADT revision number and the table size are
15143inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
15144behavior is to fallback to using only the ACPI 1.0 fields of the
15145FADT if the table is too small to be a ACPI 2.0 table as claimed
15146by the revision number.  Although this is a BIOS bug, this is a
15147case where the workaround is simple enough and with no side
15148effects, so it seemed prudent to add it.  A warning message is
15149issued, however.
15150
15151Implemented minimum size checks for the fixed-length ACPI tables -
15152- the FADT and FACS, as well as consistency checks between the
15153revision number and the table size.
15154
15155Fixed a reported problem in the table override support where the
15156new table pointer was incorrectly treated as a physical address
15157instead of a logical address.
15158
15159Eliminated the use of the AE_AML_ERROR exception and replaced it
15160with more descriptive codes.
15161
15162Fixed a problem where an exception would occur if an ASL Field was
15163defined with no named Field Units underneath it (used by some
15164index fields).
15165
15166Code and Data Size: Current core subsystem library sizes are shown
15167below.  These are the code and data sizes for the acpica.lib
15168produced by the Microsoft Visual C++ 6.0 compiler, and these
15169values do not include any ACPI driver or OSPM code.  The debug
15170version of the code includes the debug output trace mechanism and
15171has a larger code and data size.  Note that these values will vary
15172depending on the efficiency of the compiler and the compiler
15173options used during generation.
15174
15175  Previous Release
15176    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15177    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15178  Current Release:
15179    Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15180    Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15181
15182
15183
151842) Linux
15185
15186Much work done on ACPI init (MADT and PCI IRQ routing support).
15187(Paul D. and Dominik Brodowski)
15188
15189Fix PCI IRQ-related panic on boot (Sam Revitch)
15190
15191Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
15192
15193Fix "MHz" typo (Dominik Brodowski)
15194
15195Fix RTC year 2000 issue (Dominik Brodowski)
15196
15197Preclude multiple button proc entries (Eric Brunet)
15198
15199Moved arch-specific code out of include/platform/aclinux.h
15200
152013) iASL Compiler Version X2044:
15202
15203Implemented error checking for the string used in the EISAID macro
15204(Usually used in the definition of the _HID object.)  The code now
15205strictly enforces the PnP format - exactly 7 characters, 3
15206uppercase letters and 4 hex digits.
15207
15208If a raw string is used in the definition of the _HID object
15209(instead of the EISAID macro), the string must contain all
15210alphanumeric characters (e.g., "*PNP0011" is not allowed because
15211of the asterisk.)
15212
15213Implemented checking for invalid use of ACPI reserved names for
15214most of the name creation operators (Name, Device, Event, Mutex,
15215OperationRegion, PowerResource, Processor, and ThermalZone.)
15216Previously, this check was only performed for control methods.
15217
15218Implemented an additional check on the Name operator to emit an
15219error if a reserved name that must be implemented in ASL as a
15220control method is used.  We know that a reserved name must be a
15221method if it is defined with input arguments.
15222
15223The warning emitted when a namespace object reference is not found
15224during the cross reference phase has been changed into an error.
15225The "External" directive should be used for names defined in other
15226modules.
15227
15228
152294) Tools and Utilities
15230
15231The 16-bit tools (adump16 and aexec16) have been regenerated and
15232tested.
15233
15234Fixed a problem with the output of both acpidump and adump16 where
15235the indentation of closing parentheses and brackets was not
15236
15237aligned properly with the parent block.
15238
15239
15240----------------------------------------
1524103 May 2002.  Summary of changes for this release.
15242
15243
152441) ACPI CA Core Subsystem Version 20020503:
15245
15246Added support a new OSL interface that allows the host operating
15247
15248system software to override the DSDT found in the firmware -
15249AcpiOsTableOverride.  With this interface, the OSL can examine the
15250version of the firmware DSDT and replace it with a different one
15251if desired.
15252
15253Added new external interfaces for accessing ACPI registers from
15254device drivers and other system software - AcpiGetRegister and
15255AcpiSetRegister.  This was simply an externalization of the
15256existing AcpiHwBitRegister interfaces.
15257
15258Fixed a regression introduced in the previous build where the
15259ASL/AML CreateField operator always returned an error,
15260"destination must be a NS Node".
15261
15262Extended the maximum time (before failure) to successfully enable
15263ACPI mode to 3 seconds.
15264
15265Code and Data Size: Current core subsystem library sizes are shown
15266below.  These are the code and data sizes for the acpica.lib
15267produced by the Microsoft Visual C++ 6.0 compiler, and these
15268values do not include any ACPI driver or OSPM code.  The debug
15269version of the code includes the debug output trace mechanism and
15270has a larger code and data size.  Note that these values will vary
15271depending on the efficiency of the compiler and the compiler
15272options used during generation.
15273
15274  Previous Release
15275    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15276    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15277  Current Release:
15278    Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15279    Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15280
15281
152822) Linux
15283
15284Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
15285free. While 3 out of 4 of our in-house systems work fine, the last
15286one still hangs when testing the LAPIC timer.
15287
15288Renamed many files in 2.5 kernel release to omit "acpi_" from the
15289name.
15290
15291Added warning on boot for Presario 711FR.
15292
15293Sleep improvements (Pavel Machek)
15294
15295ACPI can now be built without CONFIG_PCI enabled.
15296
15297IA64: Fixed memory map functions (JI Lee)
15298
15299
153003) iASL Compiler Version X2043:
15301
15302Added support to allow the compiler to be integrated into the MS
15303VC++ development environment for one-button compilation of single
15304files or entire projects -- with error-to-source-line mapping.
15305
15306Implemented support for compile-time constant folding for the
15307Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
15308specification.  This allows the ASL writer to use expressions
15309instead of Integer/Buffer/String constants in terms that must
15310evaluate to constants at compile time and will also simplify the
15311emitted AML in any such sub-expressions that can be folded
15312(evaluated at compile-time.)  This increases the size of the
15313compiler significantly because a portion of the ACPI CA AML
15314interpreter is included within the compiler in order to pre-
15315evaluate constant expressions.
15316
15317
15318Fixed a problem with the "Unicode" ASL macro that caused the
15319compiler to fault.  (This macro is used in conjunction with the
15320_STR reserved name.)
15321
15322Implemented an AML opcode optimization to use the Zero, One, and
15323Ones opcodes where possible to further reduce the size of integer
15324constants and thus reduce the overall size of the generated AML
15325code.
15326
15327Implemented error checking for new reserved terms for ACPI version
153282.0A.
15329
15330Implemented the -qr option to display the current list of ACPI
15331reserved names known to the compiler.
15332
15333Implemented the -qc option to display the current list of ASL
15334operators that are allowed within constant expressions and can
15335therefore be folded at compile time if the operands are constants.
15336
15337
153384) Documentation
15339
15340Updated the Programmer's Reference for new interfaces, data types,
15341and memory allocation model options.
15342
15343Updated the iASL Compiler User Reference to apply new format and
15344add information about new features and options.
15345
15346----------------------------------------
1534719 April 2002.  Summary of changes for this release.
15348
153491) ACPI CA Core Subsystem Version 20020419:
15350
15351The source code base for the Core Subsystem has been completely
15352cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
15353versions.  The Lint option files used are included in the
15354/acpi/generate/lint directory.
15355
15356Implemented enhanced status/error checking across the entire
15357Hardware manager subsystem.  Any hardware errors (reported from
15358the OSL) are now bubbled up and will abort a running control
15359method.
15360
15361
15362Fixed a problem where the per-ACPI-table integer width (32 or 64)
15363was stored only with control method nodes, causing a fault when
15364non-control method code was executed during table loading.  The
15365solution implemented uses a global variable to indicate table
15366width across the entire ACPI subsystem.  Therefore, ACPI CA does
15367not support mixed integer widths across different ACPI tables
15368(DSDT, SSDT).
15369
15370Fixed a problem where NULL extended fields (X fields) in an ACPI
153712.0 ACPI FADT caused the table load to fail.  Although the
15372existing ACPI specification is a bit fuzzy on this topic, the new
15373behavior is to fall back on a ACPI 1.0 field if the corresponding
15374ACPI 2.0 X field is zero (even though the table revision indicates
15375a full ACPI 2.0 table.)  The ACPI specification will be updated to
15376clarify this issue.
15377
15378Fixed a problem with the SystemMemory operation region handler
15379where memory was always accessed byte-wise even if the AML-
15380specified access width was larger than a byte.  This caused
15381problems on systems with memory-mapped I/O.  Memory is now
15382accessed with the width specified.  On systems that do not support
15383non-aligned transfers, a check is made to guarantee proper address
15384alignment before proceeding in order to avoid an AML-caused
15385alignment fault within the kernel.
15386
15387
15388Fixed a problem with the ExtendedIrq resource where only one byte
15389of the 4-byte Irq field was extracted.
15390
15391Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
15392function was out of date and required a rewrite.
15393
15394Code and Data Size: Current core subsystem library sizes are shown
15395below.  These are the code and data sizes for the acpica.lib
15396produced by the Microsoft Visual C++ 6.0 compiler, and these
15397values do not include any ACPI driver or OSPM code.  The debug
15398version of the code includes the debug output trace mechanism and
15399has a larger code and data size.  Note that these values will vary
15400depending on the efficiency of the compiler and the compiler
15401options used during generation.
15402
15403  Previous Release
15404    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15405    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15406  Current Release:
15407    Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15408    Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15409
15410
154112) Linux
15412
15413PCI IRQ routing fixes (Dominik Brodowski)
15414
15415
154163) iASL Compiler Version X2042:
15417
15418Implemented an additional compile-time error check for a field
15419unit whose size + minimum access width would cause a run-time
15420access beyond the end-of-region.  Previously, only the field size
15421itself was checked.
15422
15423The Core subsystem and iASL compiler now share a common parse
15424object in preparation for compile-time evaluation of the type
154253/4/5 ASL operators.
15426
15427
15428----------------------------------------
15429Summary of changes for this release: 03_29_02
15430
154311) ACPI CA Core Subsystem Version 20020329:
15432
15433Implemented support for late evaluation of TermArg operands to
15434Buffer and Package objects.  This allows complex expressions to be
15435used in the declarations of these object types.
15436
15437Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
154381.0, if the field was larger than 32 bits, it was returned as a
15439buffer - otherwise it was returned as an integer.  In ACPI 2.0,
15440the field is returned as a buffer only if the field is larger than
1544164 bits.  The TableRevision is now considered when making this
15442conversion to avoid incompatibility with existing ASL code.
15443
15444Implemented logical addressing for AcpiOsGetRootPointer.  This
15445allows an RSDP with either a logical or physical address.  With
15446this support, the host OS can now override all ACPI tables with
15447one logical RSDP.  Includes implementation of  "typed" pointer
15448support to allow a common data type for both physical and logical
15449pointers internally.  This required a change to the
15450AcpiOsGetRootPointer interface.
15451
15452Implemented the use of ACPI 2.0 Generic Address Structures for all
15453GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
15454mapped I/O for these ACPI features.
15455
15456Initialization now ignores not only non-required tables (All
15457tables other than the FADT, FACS, DSDT, and SSDTs), but also does
15458not validate the table headers of unrecognized tables.
15459
15460Fixed a problem where a notify handler could only be
15461installed/removed on an object of type Device.  All "notify"
15462
15463objects are now supported -- Devices, Processor, Power, and
15464Thermal.
15465
15466Removed most verbosity from the ACPI_DB_INFO debug level.  Only
15467critical information is returned when this debug level is enabled.
15468
15469Code and Data Size: Current core subsystem library sizes are shown
15470below.  These are the code and data sizes for the acpica.lib
15471produced by the Microsoft Visual C++ 6.0 compiler, and these
15472values do not include any ACPI driver or OSPM code.  The debug
15473version of the code includes the debug output trace mechanism and
15474has a larger code and data size.  Note that these values will vary
15475depending on the efficiency of the compiler and the compiler
15476options used during generation.
15477
15478  Previous Release
15479    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
15480    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
15481  Current Release:
15482    Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15483    Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15484
15485
154862) Linux:
15487
15488The processor driver (acpi_processor.c) now fully supports ACPI
154892.0-based processor performance control (e.g. Intel(R)
15490SpeedStep(TM) technology) Note that older laptops that only have
15491the Intel "applet" interface are not supported through this.  The
15492'limit' and 'performance' interface (/proc) are fully functional.
15493[Note that basic policy for controlling performance state
15494transitions will be included in the next version of ospmd.]  The
15495idle handler was modified to more aggressively use C2, and PIIX4
15496errata handling underwent a complete overhaul (big thanks to
15497Dominik Brodowski).
15498
15499Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
15500based devices in the ACPI namespace are now dynamically bound
15501(associated) with their PCI counterparts (e.g. PCI1->01:00.0).
15502This allows, among other things, ACPI to resolve bus numbers for
15503subordinate PCI bridges.
15504
15505Enhanced PCI IRQ routing to get the proper bus number for _PRT
15506entries defined underneath PCI bridges.
15507
15508Added IBM 600E to bad bios list due to invalid _ADR value for
15509PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
15510
15511In the process of adding full MADT support (e.g. IOAPIC) for IA32
15512(acpi.c, mpparse.c) -- stay tuned.
15513
15514Added back visual differentiation between fixed-feature and
15515control-method buttons in dmesg.  Buttons are also subtyped (e.g.
15516button/power/PWRF) to simplify button identification.
15517
15518We no longer use -Wno-unused when compiling debug. Please ignore
15519any "_THIS_MODULE defined but not used" messages.
15520
15521Can now shut down the system using "magic sysrq" key.
15522
15523
155243) iASL Compiler version 2041:
15525
15526Fixed a problem where conversion errors for hex/octal/decimal
15527constants were not reported.
15528
15529Implemented a fix for the General Register template Address field.
15530This field was 8 bits when it should be 64.
15531
15532Fixed a problem where errors/warnings were no longer being emitted
15533within the listing output file.
15534
15535Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
15536exactly 4 characters, alphanumeric only.
15537
15538
15539
15540
15541----------------------------------------
15542Summary of changes for this release: 03_08_02
15543
15544
155451) ACPI CA Core Subsystem Version 20020308:
15546
15547Fixed a problem with AML Fields where the use of the "AccessAny"
15548keyword could cause an interpreter error due to attempting to read
15549or write beyond the end of the parent Operation Region.
15550
15551Fixed a problem in the SystemMemory Operation Region handler where
15552an attempt was made to map memory beyond the end of the region.
15553This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
15554errors on some Linux systems.
15555
15556Fixed a problem where the interpreter/namespace "search to root"
15557algorithm was not functioning for some object types.  Relaxed the
15558internal restriction on the search to allow upsearches for all
15559external object types as well as most internal types.
15560
15561
155622) Linux:
15563
15564We now use safe_halt() macro versus individual calls to sti | hlt.
15565
15566Writing to the processor limit interface should now work. "echo 1"
15567will increase the limit, 2 will decrease, and 0 will reset to the
15568
15569default.
15570
15571
155723) ASL compiler:
15573
15574Fixed segfault on Linux version.
15575
15576
15577----------------------------------------
15578Summary of changes for this release: 02_25_02
15579
155801) ACPI CA Core Subsystem:
15581
15582
15583Fixed a problem where the GPE bit masks were not initialized
15584properly, causing erratic GPE behavior.
15585
15586Implemented limited support for multiple calling conventions.  The
15587code can be generated with either the VPL (variable parameter
15588list, or "C") convention, or the FPL (fixed parameter list, or
15589"Pascal") convention.  The core subsystem is about 3.4% smaller
15590when generated with FPL.
15591
15592
155932) Linux
15594
15595Re-add some /proc/acpi/event functionality that was lost during
15596the rewrite
15597
15598Resolved issue with /proc events for fixed-feature buttons showing
15599up as the system device.
15600
15601Fixed checks on C2/C3 latencies to be inclusive of maximum values.
15602
15603Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
15604
15605Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
15606
15607Fixed limit interface & usage to fix bugs with passive cooling
15608hysterisis.
15609
15610Restructured PRT support.
15611
15612
15613----------------------------------------
15614Summary of changes for this label: 02_14_02
15615
15616
156171) ACPI CA Core Subsystem:
15618
15619Implemented support in AcpiLoadTable to allow loading of FACS and
15620FADT tables.
15621
15622Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
15623been removed.  All 64-bit platforms should be migrated to the ACPI
156242.0 tables.  The actbl71.h header has been removed from the source
15625tree.
15626
15627All C macros defined within the subsystem have been prefixed with
15628"ACPI_" to avoid collision with other system include files.
15629
15630Removed the return value for the two AcpiOsPrint interfaces, since
15631it is never used and causes lint warnings for ignoring the return
15632value.
15633
15634Added error checking to all internal mutex acquire and release
15635calls.  Although a failure from one of these interfaces is
15636probably a fatal system error, these checks will cause the
15637immediate abort of the currently executing method or interface.
15638
15639Fixed a problem where the AcpiSetCurrentResources interface could
15640fault.  This was a side effect of the deployment of the new memory
15641allocation model.
15642
15643Fixed a couple of problems with the Global Lock support introduced
15644in the last major build.  The "common" (1.0/2.0) internal FACS was
15645being overwritten with the FACS signature and clobbering the
15646Global Lock pointer.  Also, the actual firmware FACS was being
15647unmapped after construction of the "common" FACS, preventing
15648access to the actual Global Lock field within it.  The "common"
15649internal FACS is no longer installed as an actual ACPI table; it
15650is used simply as a global.
15651
15652Code and Data Size: Current core subsystem library sizes are shown
15653below.  These are the code and data sizes for the acpica.lib
15654produced by the Microsoft Visual C++ 6.0 compiler, and these
15655values do not include any ACPI driver or OSPM code.  The debug
15656version of the code includes the debug output trace mechanism and
15657has a larger code and data size.  Note that these values will vary
15658depending on the efficiency of the compiler and the compiler
15659options used during generation.
15660
15661  Previous Release (02_07_01)
15662    Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
15663    Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
15664  Current Release:
15665    Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
15666    Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
15667
15668
156692) Linux
15670
15671Updated Linux-specific code for core macro and OSL interface
15672changes described above.
15673
15674Improved /proc/acpi/event. It now can be opened only once and has
15675proper poll functionality.
15676
15677Fixed and restructured power management (acpi_bus).
15678
15679Only create /proc "view by type" when devices of that class exist.
15680
15681Fixed "charging/discharging" bug (and others) in acpi_battery.
15682
15683Improved thermal zone code.
15684
15685
156863) ASL Compiler, version X2039:
15687
15688
15689Implemented the new compiler restriction on ASL String hex/octal
15690escapes to non-null, ASCII values.  An error results if an invalid
15691value is used.  (This will require an ACPI 2.0 specification
15692change.)
15693
15694AML object labels that are output to the optional C and ASM source
15695are now prefixed with both the ACPI table signature and table ID
15696to help guarantee uniqueness within a large BIOS project.
15697
15698
15699----------------------------------------
15700Summary of changes for this label: 02_01_02
15701
157021) ACPI CA Core Subsystem:
15703
15704ACPI 2.0 support is complete in the entire Core Subsystem and the
15705ASL compiler. All new ACPI 2.0 operators are implemented and all
15706other changes for ACPI 2.0 support are complete.  With
15707simultaneous code and data optimizations throughout the subsystem,
15708ACPI 2.0 support has been implemented with almost no additional
15709cost in terms of code and data size.
15710
15711Implemented a new mechanism for allocation of return buffers.  If
15712the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
15713be allocated on behalf of the caller.  Consolidated all return
15714buffer validation and allocation to a common procedure.  Return
15715buffers will be allocated via the primary OSL allocation interface
15716since it appears that a separate pool is not needed by most users.
15717If a separate pool is required for these buffers, the caller can
15718still use the original mechanism and pre-allocate the buffer(s).
15719
15720Implemented support for string operands within the DerefOf
15721operator.
15722
15723Restructured the Hardware and Event managers to be table driven,
15724simplifying the source code and reducing the amount of generated
15725code.
15726
15727Split the common read/write low-level ACPI register bitfield
15728procedure into a separate read and write, simplifying the code
15729considerably.
15730
15731Obsoleted the AcpiOsCallocate OSL interface.  This interface was
15732used only a handful of times and didn't have enough critical mass
15733for a separate interface.  Replaced with a common calloc procedure
15734in the core.
15735
15736Fixed a reported problem with the GPE number mapping mechanism
15737that allows GPE1 numbers to be non-contiguous with GPE0.
15738Reorganized the GPE information and shrunk a large array that was
15739originally large enough to hold info for all possible GPEs (256)
15740to simply large enough to hold all GPEs up to the largest GPE
15741number on the machine.
15742
15743Fixed a reported problem with resource structure alignment on 64-
15744bit platforms.
15745
15746Changed the AcpiEnableEvent and AcpiDisableEvent external
15747interfaces to not require any flags for the common case of
15748enabling/disabling a GPE.
15749
15750Implemented support to allow a "Notify" on a Processor object.
15751
15752Most TBDs in comments within the source code have been resolved
15753and eliminated.
15754
15755
15756Fixed a problem in the interpreter where a standalone parent
15757prefix (^) was not handled correctly in the interpreter and
15758debugger.
15759
15760Removed obsolete and unnecessary GPE save/restore code.
15761
15762Implemented Field support in the ASL Load operator.  This allows a
15763table to be loaded from a named field, in addition to loading a
15764table directly from an Operation Region.
15765
15766Implemented timeout and handle support in the external Global Lock
15767interfaces.
15768
15769Fixed a problem in the AcpiDump utility where pathnames were no
15770longer being generated correctly during the dump of named objects.
15771
15772Modified the AML debugger to give a full display of if/while
15773predicates instead of just one AML opcode at a time.  (The
15774predicate can have several nested ASL statements.)  The old method
15775was confusing during single stepping.
15776
15777Code and Data Size: Current core subsystem library sizes are shown
15778below. These are the code and data sizes for the acpica.lib
15779produced by the Microsoft Visual C++ 6.0 compiler, and these
15780values do not include any ACPI driver or OSPM code.  The debug
15781version of the code includes the debug output trace mechanism and
15782has a larger code and data size.  Note that these values will vary
15783depending on the efficiency of the compiler and the compiler
15784options used during generation.
15785
15786  Previous Release (12_18_01)
15787     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
15788     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
15789   Current Release:
15790     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
15791     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
15792
157932) Linux
15794
15795 Implemented fix for PIIX reverse throttling errata (Processor
15796driver)
15797
15798Added new Limit interface (Processor and Thermal drivers)
15799
15800New thermal policy (Thermal driver)
15801
15802Many updates to /proc
15803
15804Battery "low" event support (Battery driver)
15805
15806Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
15807
15808IA32 - IA64 initialization unification, no longer experimental
15809
15810Menuconfig options redesigned
15811
158123) ASL Compiler, version X2037:
15813
15814Implemented several new output features to simplify integration of
15815AML code into  firmware: 1) Output the AML in C source code with
15816labels for each named ASL object.  The    original ASL source code
15817is interleaved as C comments. 2) Output the AML in ASM source code
15818with labels and interleaved ASL    source. 3) Output the AML in
15819raw hex table form, in either C or ASM.
15820
15821Implemented support for optional string parameters to the
15822LoadTable operator.
15823
15824Completed support for embedded escape sequences within string
15825literals.  The compiler now supports all single character escapes
15826as well as the Octal and Hex escapes.  Note: the insertion of a
15827null byte into a string literal (via the hex/octal escape) causes
15828the string to be immediately terminated.  A warning is issued.
15829
15830Fixed a problem where incorrect AML was generated for the case
15831where an ASL namepath consists of a single parent prefix (
15832
15833) with no trailing name segments.
15834
15835The compiler has been successfully generated with a 64-bit C
15836compiler.
15837
15838
15839
15840
15841----------------------------------------
15842Summary of changes for this label: 12_18_01
15843
158441) Linux
15845
15846Enhanced blacklist with reason and severity fields. Any table's
15847signature may now be used to identify a blacklisted system.
15848
15849Call _PIC control method to inform the firmware which interrupt
15850model the OS is using. Turn on any disabled link devices.
15851
15852Cleaned up busmgr /proc error handling (Andreas Dilger)
15853
15854 2) ACPI CA Core Subsystem:
15855
15856Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
15857while loop)
15858
15859Completed implementation of the ACPI 2.0 "Continue",
15860"ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
15861operators.  All new ACPI 2.0 operators are now implemented in both
15862the ASL compiler and the AML interpreter.  The only remaining ACPI
158632.0 task is support for the String data type in the DerefOf
15864operator.  Fixed a problem with AcquireMutex where the status code
15865was lost if the caller had to actually wait for the mutex.
15866
15867Increased the maximum ASL Field size from 64K bits to 4G bits.
15868
15869Completed implementation of the external Global Lock interfaces --
15870AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
15871Handler parameters were added.
15872
15873Completed another pass at removing warnings and issues when
15874compiling with 64-bit compilers.  The code now compiles cleanly
15875with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
15876add and subtract (diff) macros have changed considerably.
15877
15878
15879Created and deployed a new ACPI_SIZE type that is 64-bits wide on
1588064-bit platforms, 32-bits on all others.  This type is used
15881wherever memory allocation and/or the C sizeof() operator is used,
15882and affects the OSL memory allocation interfaces AcpiOsAllocate
15883and AcpiOsCallocate.
15884
15885Implemented sticky user breakpoints in the AML debugger.
15886
15887Code and Data Size: Current core subsystem library sizes are shown
15888below. These are the code and data sizes for the acpica.lib
15889produced by the Microsoft Visual C++ 6.0 compiler, and these
15890values do not include any ACPI driver or OSPM code.  The debug
15891version of the code includes the debug output trace mechanism and
15892has a larger code and data size. Note that these values will vary
15893depending on the efficiency of the compiler and the compiler
15894options used during generation.
15895
15896  Previous Release (12_05_01)
15897     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
15898     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
15899   Current Release:
15900     Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
15901     Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
15902
15903 3) ASL Compiler, version X2034:
15904
15905Now checks for (and generates an error if detected) the use of a
15906Break or Continue statement without an enclosing While statement.
15907
15908
15909Successfully generated the compiler with the Intel 64-bit C
15910compiler.
15911
15912 ----------------------------------------
15913Summary of changes for this label: 12_05_01
15914
15915 1) ACPI CA Core Subsystem:
15916
15917The ACPI 2.0 CopyObject operator is fully implemented.  This
15918operator creates a new copy of an object (and is also used to
15919bypass the "implicit conversion" mechanism of the Store operator.)
15920
15921The ACPI 2.0 semantics for the SizeOf operator are fully
15922implemented.  The change is that performing a SizeOf on a
15923reference object causes an automatic dereference of the object to
15924tha actual value before the size is evaluated. This behavior was
15925undefined in ACPI 1.0.
15926
15927The ACPI 2.0 semantics for the Extended IRQ resource descriptor
15928have been implemented.  The interrupt polarity and mode are now
15929independently set.
15930
15931Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
15932appearing in Package objects were not properly converted to
15933integers when the internal Package was converted to an external
15934object (via the AcpiEvaluateObject interface.)
15935
15936Fixed a problem with the namespace object deletion mechanism for
15937objects created by control methods.  There were two parts to this
15938problem: 1) Objects created during the initialization phase method
15939parse were not being deleted, and 2) The object owner ID mechanism
15940to track objects was broken.
15941
15942Fixed a problem where the use of the ASL Scope operator within a
15943control method would result in an invalid opcode exception.
15944
15945Fixed a problem introduced in the previous label where the buffer
15946length required for the _PRT structure was not being returned
15947correctly.
15948
15949Code and Data Size: Current core subsystem library sizes are shown
15950below. These are the code and data sizes for the acpica.lib
15951produced by the Microsoft Visual C++ 6.0 compiler, and these
15952values do not include any ACPI driver or OSPM code.  The debug
15953version of the code includes the debug output trace mechanism and
15954has a larger code and data size.  Note that these values will vary
15955depending on the efficiency of the compiler and the compiler
15956options used during generation.
15957
15958  Previous Release (11_20_01)
15959     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
15960     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
15961
15962  Current Release:
15963     Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
15964     Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
15965
15966 2) Linux:
15967
15968Updated all files to apply cleanly against 2.4.16.
15969
15970Added basic PCI Interrupt Routing Table (PRT) support for IA32
15971(acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
15972version supports both static and dyanmic PRT entries, but dynamic
15973entries are treated as if they were static (not yet
15974reconfigurable).  Architecture- specific code to use this data is
15975absent on IA32 but should be available shortly.
15976
15977Changed the initialization sequence to start the ACPI interpreter
15978(acpi_init) prior to initialization of the PCI driver (pci_init)
15979in init/main.c.  This ordering is required to support PRT and
15980facilitate other (future) enhancement.  A side effect is that the
15981ACPI bus driver and certain device drivers can no longer be loaded
15982as modules.
15983
15984Modified the 'make menuconfig' options to allow PCI Interrupt
15985Routing support to be included without the ACPI Bus and other
15986device drivers.
15987
15988 3) ASL Compiler, version X2033:
15989
15990Fixed some issues with the use of the new CopyObject and
15991DataTableRegion operators.  Both are fully functional.
15992
15993 ----------------------------------------
15994Summary of changes for this label: 11_20_01
15995
15996 20 November 2001.  Summary of changes for this release.
15997
15998 1) ACPI CA Core Subsystem:
15999
16000Updated Index support to match ACPI 2.0 semantics.  Storing a
16001Integer, String, or Buffer to an Index of a Buffer will store only
16002the least-significant byte of the source to the Indexed buffer
16003byte.  Multiple writes are not performed.
16004
16005Fixed a problem where the access type used in an AccessAs ASL
16006operator was not recorded correctly into the field object.
16007
16008Fixed a problem where ASL Event objects were created in a
16009signalled state. Events are now created in an unsignalled state.
16010
16011The internal object cache is now purged after table loading and
16012initialization to reduce the use of dynamic kernel memory -- on
16013the assumption that object use is greatest during the parse phase
16014of the entire table (versus the run-time use of individual control
16015methods.)
16016
16017ACPI 2.0 variable-length packages are now fully operational.
16018
16019Code and Data Size: Code and Data optimizations have permitted new
16020feature development with an actual reduction in the library size.
16021Current core subsystem library sizes are shown below.  These are
16022the code and data sizes for the acpica.lib produced by the
16023Microsoft Visual C++ 6.0 compiler, and these values do not include
16024any ACPI driver or OSPM code.  The debug version of the code
16025includes the debug output trace mechanism and has a larger code
16026and data size.  Note that these values will vary depending on the
16027efficiency of the compiler and the compiler options used during
16028generation.
16029
16030  Previous Release (11_09_01):
16031     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16032     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16033
16034  Current Release:
16035     Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16036     Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16037
16038 2) Linux:
16039
16040Enhanced the ACPI boot-time initialization code to allow the use
16041of Local APIC tables for processor enumeration on IA-32, and to
16042pave the way for a fully MPS-free boot (on SMP systems) in the
16043near future.  This functionality replaces
16044arch/i386/kernel/acpitables.c, which was introduced in an earlier
160452.4.15-preX release.  To enable this feature you must add
16046"acpi_boot=on" to the kernel command line -- see the help entry
16047for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
16048the works...
16049
16050Restructured the configuration options to allow boot-time table
16051parsing support without inclusion of the ACPI Interpreter (and
16052other) code.
16053
16054NOTE: This release does not include fixes for the reported events,
16055power-down, and thermal passive cooling issues (coming soon).
16056
16057 3) ASL Compiler:
16058
16059Added additional typechecking for Fields within restricted access
16060Operation Regions.  All fields within EC and CMOS regions must be
16061declared with ByteAcc. All fields withing SMBus regions must be
16062declared with the BufferAcc access type.
16063
16064Fixed a problem where the listing file output of control methods
16065no longer interleaved the actual AML code with the ASL source
16066code.
16067
16068
16069
16070
16071----------------------------------------
16072Summary of changes for this label: 11_09_01
16073
160741) ACPI CA Core Subsystem:
16075
16076Implemented ACPI 2.0-defined support for writes to fields with a
16077Buffer, String, or Integer source operand that is smaller than the
16078target field. In these cases, the source operand is zero-extended
16079to fill the target field.
16080
16081Fixed a problem where a Field starting bit offset (within the
16082parent operation region) was calculated incorrectly if the
16083
16084alignment of the field differed from the access width.  This
16085affected CreateWordField, CreateDwordField, CreateQwordField, and
16086possibly other fields that use the "AccessAny" keyword.
16087
16088Fixed a problem introduced in the 11_02_01 release where indirect
16089stores through method arguments did not operate correctly.
16090
160912) Linux:
16092
16093Implemented boot-time ACPI table parsing support
16094(CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
16095facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
16096legacy BIOS interfaces (e.g. MPS) for the configuration of system
16097processors, memory, and interrupts during setup_arch().  Note that
16098this patch does not include the required architecture-specific
16099changes required to apply this information -- subsequent patches
16100will be posted for both IA32 and IA64 to achieve this.
16101
16102Added low-level sleep support for IA32 platforms, courtesy of Pat
16103Mochel. This allows IA32 systems to transition to/from various
16104sleeping states (e.g. S1, S3), although the lack of a centralized
16105driver model and power-manageable drivers will prevent its
16106(successful) use on most systems.
16107
16108Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
16109submenu, unified IA32 and IA64 options, added new "Boot using ACPI
16110tables" option, etc.
16111
16112Increased the default timeout for the EC driver from 1ms to 10ms
16113(1000 cycles of 10us) to try to address AE_TIME errors during EC
16114transactions.
16115
16116 ----------------------------------------
16117Summary of changes for this label: 11_02_01
16118
161191) ACPI CA Core Subsystem:
16120
16121ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
16122(QWordAcc keyword). All ACPI 2.0 64-bit support is now
16123implemented.
16124
16125OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
16126changes to support ACPI 2.0 Qword field access.  Read/Write
16127PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
16128accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
16129the value parameter for the address space handler interface is now
16130an ACPI_INTEGER.  OSL implementations of these interfaces must now
16131handle the case where the Width parameter is 64.
16132
16133Index Fields: Fixed a problem where unaligned bit assembly and
16134disassembly for IndexFields was not supported correctly.
16135
16136Index and Bank Fields:  Nested Index and Bank Fields are now
16137supported. During field access, a check is performed to ensure
16138that the value written to an Index or Bank register is not out of
16139the range of the register.  The Index (or Bank) register is
16140written before each access to the field data. Future support will
16141include allowing individual IndexFields to be wider than the
16142DataRegister width.
16143
16144Fields: Fixed a problem where the AML interpreter was incorrectly
16145attempting to write beyond the end of a Field/OpRegion.  This was
16146a boundary case that occurred when a DWORD field was written to a
16147BYTE access OpRegion, forcing multiple writes and causing the
16148interpreter to write one datum too many.
16149
16150Fields: Fixed a problem with Field/OpRegion access where the
16151starting bit address of a field was incorrectly calculated if the
16152current access type was wider than a byte (WordAcc, DwordAcc, or
16153QwordAcc).
16154
16155Fields: Fixed a problem where forward references to individual
16156FieldUnits (individual Field names within a Field definition) were
16157not resolved during the AML table load.
16158
16159Fields: Fixed a problem where forward references from a Field
16160definition to the parent Operation Region definition were not
16161resolved during the AML table load.
16162
16163Fields: Duplicate FieldUnit names within a scope are now detected
16164during AML table load.
16165
16166Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
16167returned an incorrect name for the root node.
16168
16169Code and Data Size: Code and Data optimizations have permitted new
16170feature development with an actual reduction in the library size.
16171Current core subsystem library sizes are shown below.  These are
16172the code and data sizes for the acpica.lib produced by the
16173Microsoft Visual C++ 6.0 compiler, and these values do not include
16174any ACPI driver or OSPM code.  The debug version of the code
16175includes the debug output trace mechanism and has a larger code
16176and data size.  Note that these values will vary depending on the
16177efficiency of the compiler and the compiler options used during
16178generation.
16179
16180  Previous Release (10_18_01):
16181     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16182     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16183
16184  Current Release:
16185     Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16186     Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16187
16188 2) Linux:
16189
16190Improved /proc processor output (Pavel Machek) Re-added
16191MODULE_LICENSE("GPL") to all modules.
16192
16193 3) ASL Compiler version X2030:
16194
16195Duplicate FieldUnit names within a scope are now detected and
16196flagged as errors.
16197
16198 4) Documentation:
16199
16200Programmer Reference updated to reflect OSL and address space
16201handler interface changes described above.
16202
16203----------------------------------------
16204Summary of changes for this label: 10_18_01
16205
16206ACPI CA Core Subsystem:
16207
16208Fixed a problem with the internal object reference count mechanism
16209that occasionally caused premature object deletion. This resolves
16210all of the outstanding problem reports where an object is deleted
16211in the middle of an interpreter evaluation.  Although this problem
16212only showed up in rather obscure cases, the solution to the
16213problem involved an adjustment of all reference counts involving
16214objects attached to namespace nodes.
16215
16216Fixed a problem with Field support in the interpreter where
16217writing to an aligned field whose length is an exact multiple (2
16218or greater) of the field access granularity would cause an attempt
16219to write beyond the end of the field.
16220
16221The top level AML opcode execution functions within the
16222interpreter have been renamed with a more meaningful and
16223consistent naming convention.  The modules exmonad.c and
16224exdyadic.c were eliminated.  New modules are exoparg1.c,
16225exoparg2.c, exoparg3.c, and exoparg6.c.
16226
16227Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
16228
16229Fixed a problem where the AML debugger was causing some internal
16230objects to not be deleted during subsystem termination.
16231
16232Fixed a problem with the external AcpiEvaluateObject interface
16233where the subsystem would fault if the named object to be
16234evaluated refered to a constant such as Zero, Ones, etc.
16235
16236Fixed a problem with IndexFields and BankFields where the
16237subsystem would fault if the index, data, or bank registers were
16238not defined in the same scope as the field itself.
16239
16240Added printf format string checking for compilers that support
16241this feature.  Corrected more than 50 instances of issues with
16242format specifiers within invocations of ACPI_DEBUG_PRINT
16243throughout the core subsystem code.
16244
16245The ASL "Revision" operator now returns the ACPI support level
16246implemented in the core - the value "2" since the ACPI 2.0 support
16247is more than 50% implemented.
16248
16249Enhanced the output of the AML debugger "dump namespace" command
16250to output in a more human-readable form.
16251
16252Current core subsystem library code sizes are shown below.  These
16253
16254are the code and data sizes for the acpica.lib produced by the
16255Microsoft Visual C++ 6.0 compiler, and these values do not include
16256any ACPI driver or OSPM code.  The debug version of the code
16257includes the full debug trace mechanism -- leading to a much
16258
16259larger code and data size.  Note that these values will vary
16260depending on the efficiency of the compiler and the compiler
16261options used during generation.
16262
16263     Previous Label (09_20_01):
16264     Non-Debug Version:    65K Code,     5K Data,     70K Total
16265     Debug Version:       138K Code,    58K Data,    196K Total
16266
16267     This Label:
16268
16269     Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16270     Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16271
16272Linux:
16273
16274Implemented a "Bad BIOS Blacklist" to track machines that have
16275known ASL/AML problems.
16276
16277Enhanced the /proc interface for the thermal zone driver and added
16278support for _HOT (the critical suspend trip point).  The 'info'
16279file now includes threshold/policy information, and allows setting
16280of _SCP (cooling preference) and _TZP (polling frequency) values
16281to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
16282frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
16283preference to the passive/quiet mode (if supported by the ASL).
16284
16285Implemented a workaround for a gcc bug that resuted in an OOPs
16286when loading the control method battery driver.
16287
16288 ----------------------------------------
16289Summary of changes for this label: 09_20_01
16290
16291 ACPI CA Core Subsystem:
16292
16293The AcpiEnableEvent and AcpiDisableEvent interfaces have been
16294modified to allow individual GPE levels to be flagged as wake-
16295enabled (i.e., these GPEs are to remain enabled when the platform
16296sleeps.)
16297
16298The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
16299support wake-enabled GPEs.  This means that upon entering the
16300sleep state, all GPEs that are not wake-enabled are disabled.
16301When leaving the sleep state, these GPEs are reenabled.
16302
16303A local double-precision divide/modulo module has been added to
16304enhance portability to OS kernels where a 64-bit math library is
16305not available.  The new module is "utmath.c".
16306
16307Several optimizations have been made to reduce the use of CPU
16308stack.  Originally over 2K, the maximum stack usage is now below
163092K at 1860  bytes (1.82k)
16310
16311Fixed a problem with the AcpiGetFirmwareTable interface where the
16312root table pointer was not mapped into a logical address properly.
16313
16314Fixed a problem where a NULL pointer was being dereferenced in the
16315interpreter code for the ASL Notify operator.
16316
16317Fixed a problem where the use of the ASL Revision operator
16318returned an error. This operator now returns the current version
16319of the ACPI CA core subsystem.
16320
16321Fixed a problem where objects passed as control method parameters
16322to AcpiEvaluateObject were always deleted at method termination.
16323However, these objects may end up being stored into the namespace
16324by the called method.  The object reference count mechanism was
16325applied to these objects instead of a force delete.
16326
16327Fixed a problem where static strings or buffers (contained in the
16328AML code) that are declared as package elements within the ASL
16329code could cause a fault because the interpreter would attempt to
16330delete them.  These objects are now marked with the "static
16331object" flag to prevent any attempt to delete them.
16332
16333Implemented an interpreter optimization to use operands directly
16334from the state object instead of extracting the operands to local
16335variables.  This reduces stack use and code size, and improves
16336performance.
16337
16338The module exxface.c was eliminated as it was an unnecessary extra
16339layer of code.
16340
16341Current core subsystem library code sizes are shown below.  These
16342are the code and data sizes for the acpica.lib produced by the
16343Microsoft Visual C++ 6.0 compiler, and these values do not include
16344any ACPI driver or OSPM code.  The debug version of the code
16345includes the full debug trace mechanism -- leading to a much
16346larger code and data size.  Note that these values will vary
16347depending on the efficiency of the compiler and the compiler
16348options used during generation.
16349
16350  Non-Debug Version:  65K Code,   5K Data,   70K Total
16351(Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
16352Total  (Previously 195K)
16353
16354Linux:
16355
16356Support for ACPI 2.0 64-bit integers has been added.   All ACPI
16357Integer objects are now 64 bits wide
16358
16359All Acpi data types and structures are now in lower case.  Only
16360Acpi macros are upper case for differentiation.
16361
16362 Documentation:
16363
16364Changes to the external interfaces as described above.
16365
16366 ----------------------------------------
16367Summary of changes for this label: 08_31_01
16368
16369 ACPI CA Core Subsystem:
16370
16371A bug with interpreter implementation of the ASL Divide operator
16372was found and fixed.  The implicit function return value (not the
16373explicit store operands) was returning the remainder instead of
16374the quotient.  This was a longstanding bug and it fixes several
16375known outstanding issues on various platforms.
16376
16377The ACPI_DEBUG_PRINT and function trace entry/exit macros have
16378been further optimized for size.  There are 700 invocations of the
16379DEBUG_PRINT macro alone, so each optimization reduces the size of
16380the debug version of the subsystem significantly.
16381
16382A stack trace mechanism has been implemented.  The maximum stack
16383usage is about 2K on 32-bit platforms.  The debugger command "stat
16384stack" will display the current maximum stack usage.
16385
16386All public symbols and global variables within the subsystem are
16387now prefixed with the string "Acpi".  This keeps all of the
16388symbols grouped together in a kernel map, and avoids conflicts
16389with other kernel subsystems.
16390
16391Most of the internal fixed lookup tables have been moved into the
16392code segment via the const operator.
16393
16394Several enhancements have been made to the interpreter to both
16395reduce the code size and improve performance.
16396
16397Current core subsystem library code sizes are shown below.  These
16398are the code and data sizes for the acpica.lib produced by the
16399Microsoft Visual C++ 6.0 compiler, and these values do not include
16400any ACPI driver or OSPM code.  The debug version of the code
16401includes the full debug trace mechanism which contains over 700
16402invocations of the DEBUG_PRINT macro, 500 function entry macro
16403invocations, and over 900 function exit macro invocations --
16404leading to a much larger code and data size.  Note that these
16405values will vary depending on the efficiency of the compiler and
16406the compiler options used during generation.
16407
16408        Non-Debug Version:  64K Code,   5K Data,   69K Total
16409Debug Version:     137K Code,  58K Data,  195K Total
16410
16411 Linux:
16412
16413Implemented wbinvd() macro, pending a kernel-wide definition.
16414
16415Fixed /proc/acpi/event to handle poll() and short reads.
16416
16417 ASL Compiler, version X2026:
16418
16419Fixed a problem introduced in the previous label where the AML
16420
16421code emitted for package objects produced packages with zero
16422length.
16423
16424 ----------------------------------------
16425Summary of changes for this label: 08_16_01
16426
16427ACPI CA Core Subsystem:
16428
16429The following ACPI 2.0 ASL operators have been implemented in the
16430AML interpreter (These are already supported by the Intel ASL
16431compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
16432ToBuffer.  Support for 64-bit AML constants is implemented in the
16433AML parser, debugger, and disassembler.
16434
16435The internal memory tracking mechanism (leak detection code) has
16436been upgraded to reduce the memory overhead (a separate tracking
16437block is no longer allocated for each memory allocation), and now
16438supports all of the internal object caches.
16439
16440The data structures and code for the internal object caches have
16441been coelesced and optimized so that there is a single cache and
16442memory list data structure and a single group of functions that
16443implement generic cache management.  This has reduced the code
16444size in both the debug and release versions of the subsystem.
16445
16446The DEBUG_PRINT macro(s) have been optimized for size and replaced
16447by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
16448different, because it generates a single call to an internal
16449function.  This results in a savings of about 90 bytes per
16450invocation, resulting in an overall code and data savings of about
1645116% in the debug version of the subsystem.
16452
16453 Linux:
16454
16455Fixed C3 disk corruption problems and re-enabled C3 on supporting
16456machines.
16457
16458Integrated low-level sleep code by Patrick Mochel.
16459
16460Further tweaked source code Linuxization.
16461
16462Other minor fixes.
16463
16464 ASL Compiler:
16465
16466Support for ACPI 2.0 variable length packages is fixed/completed.
16467
16468Fixed a problem where the optional length parameter for the ACPI
164692.0 ToString operator.
16470
16471Fixed multiple extraneous error messages when a syntax error is
16472detected within the declaration line of a control method.
16473
16474 ----------------------------------------
16475Summary of changes for this label: 07_17_01
16476
16477ACPI CA Core Subsystem:
16478
16479Added a new interface named AcpiGetFirmwareTable to obtain any
16480ACPI table via the ACPI signature.  The interface can be called at
16481any time during kernel initialization, even before the kernel
16482virtual memory manager is initialized and paging is enabled.  This
16483allows kernel subsystems to obtain ACPI tables very early, even
16484before the ACPI CA subsystem is initialized.
16485
16486Fixed a problem where Fields defined with the AnyAcc attribute
16487could be resolved to the incorrect address under the following
16488conditions: 1) the field width is larger than 8 bits and 2) the
16489parent operation region is not defined on a DWORD boundary.
16490
16491Fixed a problem where the interpreter is not being locked during
16492namespace initialization (during execution of the _INI control
16493methods), causing an error when an attempt is made to release it
16494later.
16495
16496ACPI 2.0 support in the AML Interpreter has begun and will be
16497ongoing throughout the rest of this year.  In this label, The Mod
16498operator is implemented.
16499
16500Added a new data type to contain full PCI addresses named
16501ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
16502and Function values.
16503
16504 Linux:
16505
16506Enhanced the Linux version of the source code to change most
16507capitalized ACPI type names to lowercase. For example, all
16508instances of ACPI_STATUS are changed to acpi_status.  This will
16509result in a large diff, but the change is strictly cosmetic and
16510aligns the CA code closer to the Linux coding standard.
16511
16512OSL Interfaces:
16513
16514The interfaces to the PCI configuration space have been changed to
16515add the PCI Segment number and to split the single 32-bit combined
16516DeviceFunction field into two 16-bit fields.  This was
16517accomplished by moving the four values that define an address in
16518PCI configuration space (segment, bus, device, and function) to
16519the new ACPI_PCI_ID structure.
16520
16521The changes to the PCI configuration space interfaces led to a
16522reexamination of the complete set of address space access
16523interfaces for PCI, I/O, and Memory.  The previously existing 18
16524interfaces have proven difficult to maintain (any small change
16525must be propagated across at least 6 interfaces) and do not easily
16526allow for future expansion to 64 bits if necessary.  Also, on some
16527systems, it would not be appropriate to demultiplex the access
16528width (8, 16, 32,or 64) before calling the OSL if the
16529corresponding native OS interfaces contain a similar access width
16530parameter.  For these reasons, the 18 address space interfaces
16531have been replaced by these 6 new ones:
16532
16533AcpiOsReadPciConfiguration
16534AcpiOsWritePciConfiguration
16535AcpiOsReadMemory
16536AcpiOsWriteMemory
16537AcpiOsReadPort
16538AcpiOsWritePort
16539
16540Added a new interface named AcpiOsGetRootPointer to allow the OSL
16541to perform the platform and/or OS-specific actions necessary to
16542obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
16543interface will simply call down to the CA core to perform the low-
16544memory search for the table.  On IA-64, the RSDP is obtained from
16545EFI.  Migrating this interface to the OSL allows the CA core to
16546
16547remain OS and platform independent.
16548
16549Added a new interface named AcpiOsSignal to provide a generic
16550"function code and pointer" interface for various miscellaneous
16551signals and notifications that must be made to the host OS.   The
16552first such signals are intended to support the ASL Fatal and
16553Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
16554interface has been obsoleted.
16555
16556The definition of the AcpiFormatException interface has been
16557changed to simplify its use.  The caller no longer must supply a
16558buffer to the call; A pointer to a const string is now returned
16559directly.  This allows the call to be easily used in printf
16560statements, etc. since the caller does not have to manage a local
16561buffer.
16562
16563
16564 ASL Compiler, Version X2025:
16565
16566The ACPI 2.0 Switch/Case/Default operators have been implemented
16567and are fully functional.  They will work with all ACPI 1.0
16568interpreters, since the operators are simply translated to If/Else
16569pairs.
16570
16571The ACPI 2.0 ElseIf operator is implemented and will also work
16572with 1.0 interpreters, for the same reason.
16573
16574Implemented support for ACPI 2.0 variable-length packages.  These
16575packages have a separate opcode, and their size is determined by
16576the interpreter at run-time.
16577
16578Documentation The ACPI CA Programmer Reference has been updated to
16579reflect the new interfaces and changes to existing interfaces.
16580
16581 ------------------------------------------
16582Summary of changes for this label: 06_15_01
16583
16584 ACPI CA Core Subsystem:
16585
16586Fixed a problem where a DWORD-accessed field within a Buffer
16587object would get its byte address inadvertently rounded down to
16588the nearest DWORD.  Buffers are always Byte-accessible.
16589
16590 ASL Compiler, version X2024:
16591
16592Fixed a problem where the Switch() operator would either fault or
16593hang the compiler.  Note however, that the AML code for this ACPI
165942.0 operator is not yet implemented.
16595
16596Compiler uses the new AcpiOsGetTimer interface to obtain compile
16597timings.
16598
16599Implementation of the CreateField operator automatically converts
16600a reference to a named field within a resource descriptor from a
16601byte offset to a bit offset if required.
16602
16603Added some missing named fields from the resource descriptor
16604support. These are the names that are automatically created by the
16605compiler to reference fields within a descriptor.  They are only
16606valid at compile time and are not passed through to the AML
16607interpreter.
16608
16609Resource descriptor named fields are now typed as Integers and
16610subject to compile-time typechecking when used in expressions.
16611
16612 ------------------------------------------
16613Summary of changes for this label: 05_18_01
16614
16615 ACPI CA Core Subsystem:
16616
16617Fixed a couple of problems in the Field support code where bits
16618from adjacent fields could be returned along with the proper field
16619bits. Restructured the field support code to improve performance,
16620readability and maintainability.
16621
16622New DEBUG_PRINTP macro automatically inserts the procedure name
16623into the output, saving hundreds of copies of procedure name
16624strings within the source, shrinking the memory footprint of the
16625debug version of the core subsystem.
16626
16627 Source Code Structure:
16628
16629The source code directory tree was restructured to reflect the
16630current organization of the component architecture.  Some files
16631and directories have been moved and/or renamed.
16632
16633 Linux:
16634
16635Fixed leaking kacpidpc processes.
16636
16637Fixed queueing event data even when /proc/acpi/event is not
16638opened.
16639
16640 ASL Compiler, version X2020:
16641
16642Memory allocation performance enhancement - over 24X compile time
16643improvement on large ASL files.  Parse nodes and namestring
16644buffers are now allocated from a large internal compiler buffer.
16645
16646The temporary .SRC file is deleted unless the "-s" option is
16647specified
16648
16649The "-d" debug output option now sends all output to the .DBG file
16650instead of the console.
16651
16652"External" second parameter is now optional
16653
16654"ElseIf" syntax now properly allows the predicate
16655
16656Last operand to "Load" now recognized as a Target operand
16657
16658Debug object can now be used anywhere as a normal object.
16659
16660ResourceTemplate now returns an object of type BUFFER
16661
16662EISAID now returns an object of type INTEGER
16663
16664"Index" now works with a STRING operand
16665
16666"LoadTable" now accepts optional parameters
16667
16668"ToString" length parameter is now optional
16669
16670"Interrupt (ResourceType," parse error fixed.
16671
16672"Register" with a user-defined region space parse error fixed
16673
16674Escaped backslash at the end of a string ("\\") scan/parse error
16675fixed
16676
16677"Revision" is now an object of type INTEGER.
16678
16679
16680
16681------------------------------------------
16682Summary of changes for this label: 05_02_01
16683
16684Linux:
16685
16686/proc/acpi/event now blocks properly.
16687
16688Removed /proc/sys/acpi. You can still dump your DSDT from
16689/proc/acpi/dsdt.
16690
16691 ACPI CA Core Subsystem:
16692
16693Fixed a problem introduced in the previous label where some of the
16694"small" resource descriptor types were not recognized.
16695
16696Improved error messages for the case where an ASL Field is outside
16697the range of the parent operation region.
16698
16699 ASL Compiler, version X2018:
16700
16701
16702Added error detection for ASL Fields that extend beyond the length
16703of the parent operation region (only if the length of the region
16704is known at compile time.)  This includes fields that have a
16705minimum access width that is smaller than the parent region, and
16706individual field units that are partially or entirely beyond the
16707extent of the parent.
16708
16709
16710
16711------------------------------------------
16712Summary of changes for this label: 04_27_01
16713
16714 ACPI CA Core Subsystem:
16715
16716Fixed a problem where the namespace mutex could be released at the
16717wrong time during execution of AcpiRemoveAddressSpaceHandler.
16718
16719Added optional thread ID output for debug traces, to simplify
16720debugging of multiple threads.  Added context switch notification
16721when the debug code realizes that a different thread is now
16722executing ACPI code.
16723
16724Some additional external data types have been prefixed with the
16725string "ACPI_" for consistency.  This may effect existing code.
16726The data types affected are the external callback typedefs - e.g.,
16727
16728WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
16729
16730 Linux:
16731
16732Fixed an issue with the OSL semaphore implementation where a
16733thread was waking up with an error from receiving a SIGCHLD
16734signal.
16735
16736Linux version of ACPI CA now uses the system C library for string
16737manipulation routines instead of a local implementation.
16738
16739Cleaned up comments and removed TBDs.
16740
16741 ASL Compiler, version X2017:
16742
16743Enhanced error detection and reporting for all file I/O
16744operations.
16745
16746 Documentation:
16747
16748Programmer Reference updated to version 1.06.
16749
16750
16751
16752------------------------------------------
16753Summary of changes for this label: 04_13_01
16754
16755 ACPI CA Core Subsystem:
16756
16757Restructured support for BufferFields and RegionFields.
16758BankFields support is now fully operational.  All known 32-bit
16759limitations on field sizes have been removed.  Both BufferFields
16760and (Operation) RegionFields are now supported by the same field
16761management code.
16762
16763Resource support now supports QWORD address and IO resources. The
1676416/32/64 bit address structures and the Extended IRQ structure
16765have been changed to properly handle Source Resource strings.
16766
16767A ThreadId of -1 is now used to indicate a "mutex not acquired"
16768condition internally and must never be returned by AcpiOsThreadId.
16769This reserved value was changed from 0 since Unix systems allow a
16770thread ID of 0.
16771
16772Linux:
16773
16774Driver code reorganized to enhance portability
16775
16776Added a kernel configuration option to control ACPI_DEBUG
16777
16778Fixed the EC driver to honor _GLK.
16779
16780ASL Compiler, version X2016:
16781
16782Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
16783address space was set to 0, not 0x7f as it should be.
16784
16785 ------------------------------------------
16786Summary of changes for this label: 03_13_01
16787
16788 ACPI CA Core Subsystem:
16789
16790During ACPI initialization, the _SB_._INI method is now run if
16791present.
16792
16793Notify handler fix - notifies are deferred until the parent method
16794completes execution.  This fixes the "mutex already acquired"
16795issue seen occasionally.
16796
16797Part of the "implicit conversion" rules in ACPI 2.0 have been
16798found to cause compatibility problems with existing ASL/AML.  The
16799convert "result-to-target-type" implementation has been removed
16800for stores to method Args and Locals.  Source operand conversion
16801is still fully implemented.  Possible changes to ACPI 2.0
16802specification pending.
16803
16804Fix to AcpiRsCalculatePciRoutingTableLength to return correct
16805length.
16806
16807Fix for compiler warnings for 64-bit compiles.
16808
16809 Linux:
16810
16811/proc output aligned for easier parsing.
16812
16813Release-version compile problem fixed.
16814
16815New kernel configuration options documented in Configure.help.
16816
16817IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
16818context" message.
16819
16820 OSPM:
16821
16822Power resource driver integrated with bus manager.
16823
16824Fixed kernel fault during active cooling for thermal zones.
16825
16826Source Code:
16827
16828The source code tree has been restructured.
16829
16830
16831
16832------------------------------------------
16833Summary of changes for this label: 03_02_01
16834
16835 Linux OS Services Layer (OSL):
16836
16837Major revision of all Linux-specific code.
16838
16839Modularized all ACPI-specific drivers.
16840
16841Added new thermal zone and power resource drivers.
16842
16843Revamped /proc interface (new functionality is under /proc/acpi).
16844
16845New kernel configuration options.
16846
16847 Linux known issues:
16848
16849New kernel configuration options not documented in Configure.help
16850yet.
16851
16852
16853Module dependencies not currently implemented. If used, they
16854should be loaded in this order: busmgr, power, ec, system,
16855processor, battery, ac_adapter, button, thermal.
16856
16857Modules will not load if CONFIG_MODVERSION is set.
16858
16859IBM 600E - entering S5 may reboot instead of shutting down.
16860
16861IBM 600E - Sleep button may generate "Invalid <NULL> context"
16862message.
16863
16864Some systems may fail with "execution mutex already acquired"
16865message.
16866
16867 ACPI CA Core Subsystem:
16868
16869Added a new OSL Interface, AcpiOsGetThreadId.  This was required
16870for the  deadlock detection code. Defined to return a non-zero, 32-
16871bit thread ID for the currently executing thread.  May be a non-
16872zero constant integer on single-thread systems.
16873
16874Implemented deadlock detection for internal subsystem mutexes.  We
16875may add conditional compilation for this code (debug only) later.
16876
16877ASL/AML Mutex object semantics are now fully supported.  This
16878includes multiple acquires/releases by owner and support for the
16879
16880Mutex SyncLevel parameter.
16881
16882A new "Force Release" mechanism automatically frees all ASL
16883Mutexes that have been acquired but not released when a thread
16884exits the interpreter.  This forces conformance to the ACPI spec
16885("All mutexes must be released when an invocation exits") and
16886prevents deadlocked ASL threads.  This mechanism can be expanded
16887(later) to monitor other resource acquisitions if OEM ASL code
16888continues to misbehave (which it will).
16889
16890Several new ACPI exception codes have been added for the Mutex
16891support.
16892
16893Recursive method calls are now allowed and supported (the ACPI
16894spec does in fact allow recursive method calls.)  The number of
16895recursive calls is subject to the restrictions imposed by the
16896SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
16897parameter.
16898
16899Implemented support for the SyncLevel parameter for control
16900methods (ACPI 2.0 feature)
16901
16902Fixed a deadlock problem when multiple threads attempted to use
16903the interpreter.
16904
16905Fixed a problem where the string length of a String package
16906element was not always set in a package returned from
16907AcpiEvaluateObject.
16908
16909Fixed a problem where the length of a String package element was
16910not always included in the length of the overall package returned
16911from AcpiEvaluateObject.
16912
16913Added external interfaces (Acpi*) to the ACPI debug memory
16914manager.  This manager keeps a list of all outstanding
16915allocations, and can therefore detect memory leaks and attempts to
16916free memory blocks more than once. Useful for code such as the
16917power manager, etc.  May not be appropriate for device drivers.
16918Performance with the debug code enabled is slow.
16919
16920The ACPI Global Lock is now an optional hardware element.
16921
16922 ASL Compiler Version X2015:
16923
16924Integrated changes to allow the compiler to be generated on
16925multiple platforms.
16926
16927Linux makefile added to generate the compiler on Linux
16928
16929 Source Code:
16930
16931All platform-specific headers have been moved to their own
16932subdirectory, Include/Platform.
16933
16934New source file added, Interpreter/ammutex.c
16935
16936New header file, Include/acstruct.h
16937
16938 Documentation:
16939
16940The programmer reference has been updated for the following new
16941interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
16942
16943 ------------------------------------------
16944Summary of changes for this label: 02_08_01
16945
16946Core ACPI CA Subsystem: Fixed a problem where an error was
16947incorrectly returned if the return resource buffer was larger than
16948the actual data (in the resource interfaces).
16949
16950References to named objects within packages are resolved to the
16951
16952full pathname string before packages are returned directly (via
16953the AcpiEvaluateObject interface) or indirectly via the resource
16954interfaces.
16955
16956Linux OS Services Layer (OSL):
16957
16958Improved /proc battery interface.
16959
16960
16961Added C-state debugging output and other miscellaneous fixes.
16962
16963ASL Compiler Version X2014:
16964
16965All defined method arguments can now be used as local variables,
16966including the ones that are not actually passed in as parameters.
16967The compiler tracks initialization of the arguments and issues an
16968exception if they are used without prior assignment (just like
16969locals).
16970
16971The -o option now specifies a filename prefix that is used for all
16972output files, including the AML output file.  Otherwise, the
16973default behavior is as follows:  1) the AML goes to the file
16974specified in the DSDT.  2) all other output files use the input
16975source filename as the base.
16976
16977 ------------------------------------------
16978Summary of changes for this label: 01_25_01
16979
16980Core ACPI CA Subsystem: Restructured the implementation of object
16981store support within the  interpreter.  This includes support for
16982the Store operator as well  as any ASL operators that include a
16983target operand.
16984
16985Partially implemented support for Implicit Result-to-Target
16986conversion. This is when a result object is converted on the fly
16987to the type of  an existing target object.  Completion of this
16988support is pending  further analysis of the ACPI specification
16989concerning this matter.
16990
16991CPU-specific code has been removed from the subsystem (hardware
16992directory).
16993
16994New Power Management Timer functions added
16995
16996Linux OS Services Layer (OSL): Moved system state transition code
16997to the core, fixed it, and modified  Linux OSL accordingly.
16998
16999Fixed C2 and C3 latency calculations.
17000
17001
17002We no longer use the compilation date for the version message on
17003initialization, but retrieve the version from AcpiGetSystemInfo().
17004
17005Incorporated for fix Sony VAIO machines.
17006
17007Documentation:  The Programmer Reference has been updated and
17008reformatted.
17009
17010
17011ASL Compiler:  Version X2013: Fixed a problem where the line
17012numbering and error reporting could get out  of sync in the
17013presence of multiple include files.
17014
17015 ------------------------------------------
17016Summary of changes for this label: 01_15_01
17017
17018Core ACPI CA Subsystem:
17019
17020Implemented support for type conversions in the execution of the
17021ASL  Concatenate operator (The second operand is converted to
17022match the type  of the first operand before concatenation.)
17023
17024Support for implicit source operand conversion is partially
17025implemented.   The ASL source operand types Integer, Buffer, and
17026String are freely  interchangeable for most ASL operators and are
17027converted by the interpreter  on the fly as required.  Implicit
17028Target operand conversion (where the  result is converted to the
17029target type before storing) is not yet implemented.
17030
17031Support for 32-bit and 64-bit BCD integers is implemented.
17032
17033Problem fixed where a field read on an aligned field could cause a
17034read  past the end of the field.
17035
17036New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
17037does not return a value, but the caller expects one.  (The ASL
17038compiler flags this as a warning.)
17039
17040ASL Compiler:
17041
17042Version X2011:
170431. Static typechecking of all operands is implemented. This
17044prevents the use of invalid objects (such as using a Package where
17045an Integer is required) at compile time instead of at interpreter
17046run-time.
170472. The ASL source line is printed with ALL errors and warnings.
170483. Bug fix for source EOF without final linefeed.
170494. Debug option is split into a parse trace and a namespace trace.
170505. Namespace output option (-n) includes initial values for
17051integers and strings.
170526. Parse-only option added for quick syntax checking.
170537. Compiler checks for duplicate ACPI name declarations
17054
17055Version X2012:
170561. Relaxed typechecking to allow interchangeability between
17057strings, integers, and buffers.  These types are now converted by
17058the interpreter at runtime.
170592. Compiler reports time taken by each internal subsystem in the
17060debug         output file.
17061
17062
17063 ------------------------------------------
17064Summary of changes for this label: 12_14_00
17065
17066ASL Compiler:
17067
17068This is the first official release of the compiler. Since the
17069compiler requires elements of the Core Subsystem, this label
17070synchronizes everything.
17071
17072------------------------------------------
17073Summary of changes for this label: 12_08_00
17074
17075
17076Fixed a problem where named references within the ASL definition
17077of both OperationRegions and CreateXXXFields did not work
17078properly.  The symptom was an AE_AML_OPERAND_TYPE during
17079initialization of the region/field. This is similar (but not
17080related internally) to the problem that was fixed in the last
17081label.
17082
17083Implemented both 32-bit and 64-bit support for the BCD ASL
17084functions ToBCD and FromBCD.
17085
17086Updated all legal headers to include "2000" in the copyright
17087years.
17088
17089 ------------------------------------------
17090Summary of changes for this label: 12_01_00
17091
17092Fixed a problem where method invocations within the ASL definition
17093of both OperationRegions and CreateXXXFields did not work
17094properly.  The symptom was an AE_AML_OPERAND_TYPE during
17095initialization of the region/field:
17096
17097  nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
17098[DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
17099(0x3005)
17100
17101Fixed a problem where operators with more than one nested
17102subexpression would fail.  The symptoms were varied, by mostly
17103AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
17104problem that has gone unnoticed until now.
17105
17106  Subtract (Add (1,2), Multiply (3,4))
17107
17108Fixed a problem where AcpiGetHandle didn't quite get fixed in the
17109previous build (The prefix part of a relative path was handled
17110incorrectly).
17111
17112Fixed a problem where Operation Region initialization failed if
17113the operation region name was a "namepath" instead of a simple
17114"nameseg". Symptom was an AE_NO_OPERAND error.
17115
17116Fixed a problem where an assignment to a local variable via the
17117indirect RefOf mechanism only worked for the first such
17118assignment.  Subsequent assignments were ignored.
17119
17120 ------------------------------------------
17121Summary of changes for this label: 11_15_00
17122
17123ACPI 2.0 table support with backwards support for ACPI 1.0 and the
171240.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
17125the AML  interpreter does NOT have support for the new 2.0 ASL
17126grammar terms at this time.
17127
17128All ACPI hardware access is via the GAS structures in the ACPI 2.0
17129FADT.
17130
17131All physical memory addresses across all platforms are now 64 bits
17132wide. Logical address width remains dependent on the platform
17133(i.e., "void *").
17134
17135AcpiOsMapMemory interface changed to a 64-bit physical address.
17136
17137The AML interpreter integer size is now 64 bits, as per the ACPI
171382.0 specification.
17139
17140For backwards compatibility with ACPI 1.0, ACPI tables with a
17141revision number less than 2 use 32-bit integers only.
17142
17143Fixed a problem where the evaluation of OpRegion operands did not
17144always resolve them to numbers properly.
17145
17146------------------------------------------
17147Summary of changes for this label: 10_20_00
17148
17149Fix for CBN_._STA issue.  This fix will allow correct access to
17150CBN_ OpRegions when the _STA returns 0x8.
17151
17152Support to convert ACPI constants (Ones, Zeros, One) to actual
17153values before a package object is returned
17154
17155Fix for method call as predicate to if/while construct causing
17156incorrect if/while behavior
17157
17158Fix for Else block package lengths sometimes calculated wrong (if
17159block > 63 bytes)
17160
17161Fix for Processor object length field, was always zero
17162
17163Table load abort if FACP sanity check fails
17164
17165Fix for problem with Scope(name) if name already exists
17166
17167Warning emitted if a named object referenced cannot be found
17168(resolved) during method execution.
17169
17170
17171
17172
17173
17174------------------------------------------
17175Summary of changes for this label: 9_29_00
17176
17177New table initialization interfaces: AcpiInitializeSubsystem no
17178longer has any parameters AcpiFindRootPointer - Find the RSDP (if
17179necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
17180>RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
17181AcpiLoadTables
17182
17183Note: These interface changes require changes to all existing OSDs
17184
17185The PCI_Config default address space handler is always installed
17186at the root namespace object.
17187
17188-------------------------------------------
17189Summary of changes for this label: 09_15_00
17190
17191The new initialization architecture is implemented.  New
17192interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
17193AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
17194
17195(Namespace is automatically loaded when a table is loaded)
17196
17197The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
1719852 bytes to 32 bytes.  There is usually one of these for every
17199namespace object, so the memory savings is significant.
17200
17201Implemented just-in-time evaluation of the CreateField operators.
17202
17203Bug fixes for IA-64 support have been integrated.
17204
17205Additional code review comments have been implemented
17206
17207The so-called "third pass parse" has been replaced by a final walk
17208through the namespace to initialize all operation regions (address
17209spaces) and fields that have not yet been initialized during the
17210execution of the various _INI and REG methods.
17211
17212New file - namespace/nsinit.c
17213
17214-------------------------------------------
17215Summary of changes for this label: 09_01_00
17216
17217Namespace manager data structures have been reworked to change the
17218primary  object from a table to a single object.  This has
17219resulted in dynamic memory  savings of 3X within the namespace and
172202X overall in the ACPI CA subsystem.
17221
17222Fixed problem where the call to AcpiEvFindPciRootBuses was
17223inadvertently left  commented out.
17224
17225Reduced the warning count when generating the source with the GCC
17226compiler.
17227
17228Revision numbers added to each module header showing the
17229SourceSafe version of the file.  Please refer to this version
17230number when giving us feedback or comments on individual modules.
17231
17232The main object types within the subsystem have been renamed to
17233clarify their  purpose:
17234
17235ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
17236ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
17237ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
17238
17239NOTE: no changes to the initialization sequence are included in
17240this label.
17241
17242-------------------------------------------
17243Summary of changes for this label: 08_23_00
17244
17245Fixed problem where TerminateControlMethod was being called
17246multiple times per  method
17247
17248Fixed debugger problem where single stepping caused a semaphore to
17249be  oversignalled
17250
17251Improved performance through additional parse object caching -
17252added  ACPI_EXTENDED_OP type
17253
17254-------------------------------------------
17255Summary of changes for this label: 08_10_00
17256
17257Parser/Interpreter integration:  Eliminated the creation of
17258complete parse trees  for ACPI tables and control methods.
17259Instead, parse subtrees are created and  then deleted as soon as
17260they are processed (Either entered into the namespace or  executed
17261by the interpreter).  This reduces the use of dynamic kernel
17262memory  significantly. (about 10X)
17263
17264Exception codes broken into classes and renumbered.  Be sure to
17265recompile all  code that includes acexcep.h.  Hopefully we won't
17266have to renumber the codes  again now that they are split into
17267classes (environment, programmer, AML code,  ACPI table, and
17268internal).
17269
17270Fixed some additional alignment issues in the Resource Manager
17271subcomponent
17272
17273Implemented semaphore tracking in the AcpiExec utility, and fixed
17274several places  where mutexes/semaphores were being unlocked
17275without a corresponding lock  operation.  There are no known
17276semaphore or mutex "leaks" at this time.
17277
17278Fixed the case where an ASL Return operator is used to return an
17279unnamed  package.
17280
17281-------------------------------------------
17282Summary of changes for this label: 07_28_00
17283
17284Fixed a problem with the way addresses were calculated in
17285AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
17286manifested itself when a Field was  created with WordAccess or
17287DwordAccess, but the field unit defined within the  Field was less
17288
17289than a Word or Dword.
17290
17291Fixed a problem in AmlDumpOperands() module's loop to pull
17292operands off of the  operand stack to display information. The
17293problem manifested itself as a TLB  error on 64-bit systems when
17294accessing an operand stack with two or more  operands.
17295
17296Fixed a problem with the PCI configuration space handlers where
17297context was  getting confused between accesses. This required a
17298change to the generic address  space handler and address space
17299setup definitions. Handlers now get both a  global handler context
17300(this is the one passed in by the user when executing
17301AcpiInstallAddressSpaceHandler() and a specific region context
17302that is unique to  each region (For example, the _ADR, _SEG and
17303_BBN values associated with a  specific region). The generic
17304function definitions have changed to the  following:
17305
17306typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
17307UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
17308*HandlerContext, // This used to be void *Context void
17309*RegionContext); // This is an additional parameter
17310
17311typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
17312RegionHandle, UINT32 Function, void *HandlerContext,  void
17313**RegionContext); // This used to be **ReturnContext
17314
17315-------------------------------------------
17316Summary of changes for this label: 07_21_00
17317
17318Major file consolidation and rename.  All files within the
17319interpreter have been  renamed as well as most header files.  This
17320was done to prevent collisions with  existing files in the host
17321OSs -- filenames such as "config.h" and "global.h"  seem to be
17322quite common.  The VC project files have been updated.  All
17323makefiles  will require modification.
17324
17325The parser/interpreter integration continues in Phase 5 with the
17326implementation  of a complete 2-pass parse (the AML is parsed
17327twice) for each table;  This  avoids the construction of a huge
17328parse tree and therefore reduces the amount of  dynamic memory
17329required by the subsystem.  Greater use of the parse object cache
17330means that performance is unaffected.
17331
17332Many comments from the two code reviews have been rolled in.
17333
17334The 64-bit alignment support is complete.
17335
17336-------------------------------------------
17337Summary of changes for this label: 06_30_00
17338
17339With a nod and a tip of the hat to the technology of yesteryear,
17340we've added  support in the source code for 80 column output
17341devices.  The code is now mostly  constrained to 80 columns or
17342less to support environments and editors that 1)  cannot display
17343or print more than 80 characters on a single line, and 2) cannot
17344disable line wrapping.
17345
17346A major restructuring of the namespace data structure has been
17347completed.  The  result is 1) cleaner and more
17348understandable/maintainable code, and 2) a  significant reduction
17349in the dynamic memory requirement for each named ACPI  object
17350(almost half).
17351
17352-------------------------------------------
17353Summary of changes for this label: 06_23_00
17354
17355Linux support has been added.  In order to obtain approval to get
17356the ACPI CA  subsystem into the Linux kernel, we've had to make
17357quite a few changes to the  base subsystem that will affect all
17358users (all the changes are generic and OS- independent).  The
17359effects of these global changes have been somewhat far  reaching.
17360Files have been merged and/or renamed and interfaces have been
17361renamed.   The major changes are described below.
17362
17363Osd* interfaces renamed to AcpiOs* to eliminate namespace
17364pollution/confusion  within our target kernels.  All OSD
17365interfaces must be modified to match the new  naming convention.
17366
17367Files merged across the subsystem.  A number of the smaller source
17368and header  files have been merged to reduce the file count and
17369increase the density of the  existing files.  There are too many
17370to list here.  In general, makefiles that  call out individual
17371files will require rebuilding.
17372
17373Interpreter files renamed.  All interpreter files now have the
17374prefix am*  instead of ie* and is*.
17375
17376Header files renamed:  The acapi.h file is now acpixf.h.  The
17377acpiosd.h file is  now acpiosxf.h.  We are removing references to
17378the acronym "API" since it is  somewhat windowsy. The new name is
17379"external interface" or xface or xf in the  filenames.j
17380
17381
17382All manifest constants have been forced to upper case (some were
17383mixed case.)   Also, the string "ACPI_" has been prepended to many
17384(not all) of the constants,  typedefs, and structs.
17385
17386The globals "DebugLevel" and "DebugLayer" have been renamed
17387"AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
17388
17389All other globals within the subsystem are now prefixed with
17390"AcpiGbl_" Internal procedures within the subsystem are now
17391prefixed with "Acpi" (with only  a few exceptions).  The original
17392two-letter abbreviation for the subcomponent  remains after "Acpi"
17393- for example, CmCallocate became AcpiCmCallocate.
17394
17395Added a source code translation/conversion utility.  Used to
17396generate the Linux  source code, it can be modified to generate
17397other types of source as well. Can  also be used to cleanup
17398existing source by removing extraneous spaces and blank  lines.
17399Found in tools/acpisrc/*
17400
17401OsdUnMapMemory was renamed to OsdUnmapMemory and then
17402AcpiOsUnmapMemory.  (UnMap  became Unmap).
17403
17404A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
17405When set to  one, this indicates that the caller wants to use the
17406
17407semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
17408both types.  However, implementers of this  call may want to use
17409different OS primitives depending on the type of semaphore
17410requested.  For example, some operating systems provide separate
17411
17412"mutex" and  "semaphore" interfaces - where the mutex interface is
17413much faster because it  doesn't have all the overhead of a full
17414semaphore implementation.
17415
17416Fixed a deadlock problem where a method that accesses the PCI
17417address space can  block forever if it is the first access to the
17418space.
17419
17420-------------------------------------------
17421Summary of changes for this label: 06_02_00
17422
17423Support for environments that cannot handle unaligned data
17424accesses (e.g.  firmware and OS environments devoid of alignment
17425handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
17426been added (via configurable macros) in  these three areas: -
17427Transfer of data from the raw AML byte stream is done via byte
17428moves instead of    word/dword/qword moves. - External objects are
17429aligned within the user buffer, including package   elements (sub-
17430objects). - Conversion of name strings to UINT32 Acpi Names is now
17431done byte-wise.
17432
17433The Store operator was modified to mimic Microsoft's
17434implementation when storing  to a Buffer Field.
17435
17436Added a check of the BM_STS bit before entering C3.
17437
17438The methods subdirectory has been obsoleted and removed.  A new
17439file, cmeval.c  subsumes the functionality.
17440
17441A 16-bit (DOS) version of AcpiExec has been developed.  The
17442makefile is under  the acpiexec directory.
17443